
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `Bank` model and its related types.
 *
 * 🟢 You can import this file directly.
 */
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model Bank
 * 
 */
export type BankModel = runtime.Types.Result.DefaultSelection<Prisma.$BankPayload>

export type AggregateBank = {
  _count: BankCountAggregateOutputType | null
  _min: BankMinAggregateOutputType | null
  _max: BankMaxAggregateOutputType | null
}

export type BankMinAggregateOutputType = {
  id: string | null
  code: string | null
  name: string | null
  status: $Enums.SettingStatus | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type BankMaxAggregateOutputType = {
  id: string | null
  code: string | null
  name: string | null
  status: $Enums.SettingStatus | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type BankCountAggregateOutputType = {
  id: number
  code: number
  name: number
  status: number
  createdAt: number
  modifiedAt: number
  _all: number
}


export type BankMinAggregateInputType = {
  id?: true
  code?: true
  name?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
}

export type BankMaxAggregateInputType = {
  id?: true
  code?: true
  name?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
}

export type BankCountAggregateInputType = {
  id?: true
  code?: true
  name?: true
  status?: true
  createdAt?: true
  modifiedAt?: true
  _all?: true
}

export type BankAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Bank to aggregate.
   */
  where?: Prisma.BankWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Banks to fetch.
   */
  orderBy?: Prisma.BankOrderByWithRelationInput | Prisma.BankOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.BankWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Banks from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` Banks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned Banks
  **/
  _count?: true | BankCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: BankMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: BankMaxAggregateInputType
}

export type GetBankAggregateType<T extends BankAggregateArgs> = {
      [P in keyof T & keyof AggregateBank]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateBank[P]>
    : Prisma.GetScalarType<T[P], AggregateBank[P]>
}




export type BankGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.BankWhereInput
  orderBy?: Prisma.BankOrderByWithAggregationInput | Prisma.BankOrderByWithAggregationInput[]
  by: Prisma.BankScalarFieldEnum[] | Prisma.BankScalarFieldEnum
  having?: Prisma.BankScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: BankCountAggregateInputType | true
  _min?: BankMinAggregateInputType
  _max?: BankMaxAggregateInputType
}

export type BankGroupByOutputType = {
  id: string
  code: string
  name: string
  status: $Enums.SettingStatus
  createdAt: Date
  modifiedAt: Date
  _count: BankCountAggregateOutputType | null
  _min: BankMinAggregateOutputType | null
  _max: BankMaxAggregateOutputType | null
}

type GetBankGroupByPayload<T extends BankGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<BankGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof BankGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], BankGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], BankGroupByOutputType[P]>
      }
    >
  >



export type BankWhereInput = {
  AND?: Prisma.BankWhereInput | Prisma.BankWhereInput[]
  OR?: Prisma.BankWhereInput[]
  NOT?: Prisma.BankWhereInput | Prisma.BankWhereInput[]
  id?: Prisma.UuidFilter<"Bank"> | string
  code?: Prisma.StringFilter<"Bank"> | string
  name?: Prisma.StringFilter<"Bank"> | string
  status?: Prisma.EnumSettingStatusFilter<"Bank"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFilter<"Bank"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"Bank"> | Date | string
  transactions?: Prisma.TransactionListRelationFilter
}

export type BankOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  transactions?: Prisma.TransactionOrderByRelationAggregateInput
}

export type BankWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  code?: string
  AND?: Prisma.BankWhereInput | Prisma.BankWhereInput[]
  OR?: Prisma.BankWhereInput[]
  NOT?: Prisma.BankWhereInput | Prisma.BankWhereInput[]
  name?: Prisma.StringFilter<"Bank"> | string
  status?: Prisma.EnumSettingStatusFilter<"Bank"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFilter<"Bank"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"Bank"> | Date | string
  transactions?: Prisma.TransactionListRelationFilter
}, "id" | "code">

export type BankOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  _count?: Prisma.BankCountOrderByAggregateInput
  _max?: Prisma.BankMaxOrderByAggregateInput
  _min?: Prisma.BankMinOrderByAggregateInput
}

export type BankScalarWhereWithAggregatesInput = {
  AND?: Prisma.BankScalarWhereWithAggregatesInput | Prisma.BankScalarWhereWithAggregatesInput[]
  OR?: Prisma.BankScalarWhereWithAggregatesInput[]
  NOT?: Prisma.BankScalarWhereWithAggregatesInput | Prisma.BankScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"Bank"> | string
  code?: Prisma.StringWithAggregatesFilter<"Bank"> | string
  name?: Prisma.StringWithAggregatesFilter<"Bank"> | string
  status?: Prisma.EnumSettingStatusWithAggregatesFilter<"Bank"> | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Bank"> | Date | string
  modifiedAt?: Prisma.DateTimeWithAggregatesFilter<"Bank"> | Date | string
}

export type BankCreateInput = {
  id?: string
  code: string
  name: string
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
  transactions?: Prisma.TransactionCreateNestedManyWithoutBankInput
}

export type BankUncheckedCreateInput = {
  id?: string
  code: string
  name: string
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
  transactions?: Prisma.TransactionUncheckedCreateNestedManyWithoutBankInput
}

export type BankUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  transactions?: Prisma.TransactionUpdateManyWithoutBankNestedInput
}

export type BankUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  transactions?: Prisma.TransactionUncheckedUpdateManyWithoutBankNestedInput
}

export type BankCreateManyInput = {
  id?: string
  code: string
  name: string
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type BankUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type BankUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type BankCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type BankMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type BankMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  status?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type BankNullableScalarRelationFilter = {
  is?: Prisma.BankWhereInput | null
  isNot?: Prisma.BankWhereInput | null
}

export type BankCreateNestedOneWithoutTransactionsInput = {
  create?: Prisma.XOR<Prisma.BankCreateWithoutTransactionsInput, Prisma.BankUncheckedCreateWithoutTransactionsInput>
  connectOrCreate?: Prisma.BankCreateOrConnectWithoutTransactionsInput
  connect?: Prisma.BankWhereUniqueInput
}

export type BankUpdateOneWithoutTransactionsNestedInput = {
  create?: Prisma.XOR<Prisma.BankCreateWithoutTransactionsInput, Prisma.BankUncheckedCreateWithoutTransactionsInput>
  connectOrCreate?: Prisma.BankCreateOrConnectWithoutTransactionsInput
  upsert?: Prisma.BankUpsertWithoutTransactionsInput
  disconnect?: Prisma.BankWhereInput | boolean
  delete?: Prisma.BankWhereInput | boolean
  connect?: Prisma.BankWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.BankUpdateToOneWithWhereWithoutTransactionsInput, Prisma.BankUpdateWithoutTransactionsInput>, Prisma.BankUncheckedUpdateWithoutTransactionsInput>
}

export type BankCreateWithoutTransactionsInput = {
  id?: string
  code: string
  name: string
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type BankUncheckedCreateWithoutTransactionsInput = {
  id?: string
  code: string
  name: string
  status?: $Enums.SettingStatus
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type BankCreateOrConnectWithoutTransactionsInput = {
  where: Prisma.BankWhereUniqueInput
  create: Prisma.XOR<Prisma.BankCreateWithoutTransactionsInput, Prisma.BankUncheckedCreateWithoutTransactionsInput>
}

export type BankUpsertWithoutTransactionsInput = {
  update: Prisma.XOR<Prisma.BankUpdateWithoutTransactionsInput, Prisma.BankUncheckedUpdateWithoutTransactionsInput>
  create: Prisma.XOR<Prisma.BankCreateWithoutTransactionsInput, Prisma.BankUncheckedCreateWithoutTransactionsInput>
  where?: Prisma.BankWhereInput
}

export type BankUpdateToOneWithWhereWithoutTransactionsInput = {
  where?: Prisma.BankWhereInput
  data: Prisma.XOR<Prisma.BankUpdateWithoutTransactionsInput, Prisma.BankUncheckedUpdateWithoutTransactionsInput>
}

export type BankUpdateWithoutTransactionsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type BankUncheckedUpdateWithoutTransactionsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type BankCountOutputType
 */

export type BankCountOutputType = {
  transactions: number
}

export type BankCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  transactions?: boolean | BankCountOutputTypeCountTransactionsArgs
}

/**
 * BankCountOutputType without action
 */
export type BankCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the BankCountOutputType
   */
  select?: Prisma.BankCountOutputTypeSelect<ExtArgs> | null
}

/**
 * BankCountOutputType without action
 */
export type BankCountOutputTypeCountTransactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.TransactionWhereInput
}


export type BankSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
  transactions?: boolean | Prisma.Bank$transactionsArgs<ExtArgs>
  _count?: boolean | Prisma.BankCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["bank"]>

export type BankSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}, ExtArgs["result"]["bank"]>

export type BankSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}, ExtArgs["result"]["bank"]>

export type BankSelectScalar = {
  id?: boolean
  code?: boolean
  name?: boolean
  status?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}

export type BankOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "name" | "status" | "createdAt" | "modifiedAt", ExtArgs["result"]["bank"]>
export type BankInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  transactions?: boolean | Prisma.Bank$transactionsArgs<ExtArgs>
  _count?: boolean | Prisma.BankCountOutputTypeDefaultArgs<ExtArgs>
}
export type BankIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
export type BankIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}

export type $BankPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "Bank"
  objects: {
    transactions: Prisma.$TransactionPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    code: string
    name: string
    status: $Enums.SettingStatus
    createdAt: Date
    modifiedAt: Date
  }, ExtArgs["result"]["bank"]>
  composites: {}
}

export type BankGetPayload<S extends boolean | null | undefined | BankDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BankPayload, S>

export type BankCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<BankFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: BankCountAggregateInputType | true
  }

export interface BankDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Bank'], meta: { name: 'Bank' } }
  /**
   * Find zero or one Bank that matches the filter.
   * @param {BankFindUniqueArgs} args - Arguments to find a Bank
   * @example
   * // Get one Bank
   * const bank = await prisma.bank.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends BankFindUniqueArgs>(args: Prisma.SelectSubset<T, BankFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Bank that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {BankFindUniqueOrThrowArgs} args - Arguments to find a Bank
   * @example
   * // Get one Bank
   * const bank = await prisma.bank.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends BankFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BankFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Bank that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankFindFirstArgs} args - Arguments to find a Bank
   * @example
   * // Get one Bank
   * const bank = await prisma.bank.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends BankFindFirstArgs>(args?: Prisma.SelectSubset<T, BankFindFirstArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Bank that matches the filter or
   * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankFindFirstOrThrowArgs} args - Arguments to find a Bank
   * @example
   * // Get one Bank
   * const bank = await prisma.bank.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends BankFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BankFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Banks that matches the filter.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Banks
   * const banks = await prisma.bank.findMany()
   * 
   * // Get first 10 Banks
   * const banks = await prisma.bank.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const bankWithIdOnly = await prisma.bank.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends BankFindManyArgs>(args?: Prisma.SelectSubset<T, BankFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Bank.
   * @param {BankCreateArgs} args - Arguments to create a Bank.
   * @example
   * // Create one Bank
   * const Bank = await prisma.bank.create({
   *   data: {
   *     // ... data to create a Bank
   *   }
   * })
   * 
   */
  create<T extends BankCreateArgs>(args: Prisma.SelectSubset<T, BankCreateArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Banks.
   * @param {BankCreateManyArgs} args - Arguments to create many Banks.
   * @example
   * // Create many Banks
   * const bank = await prisma.bank.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends BankCreateManyArgs>(args?: Prisma.SelectSubset<T, BankCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many Banks and returns the data saved in the database.
   * @param {BankCreateManyAndReturnArgs} args - Arguments to create many Banks.
   * @example
   * // Create many Banks
   * const bank = await prisma.bank.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Banks and only return the `id`
   * const bankWithIdOnly = await prisma.bank.createManyAndReturn({
   *   select: { id: true },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  createManyAndReturn<T extends BankCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BankCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a Bank.
   * @param {BankDeleteArgs} args - Arguments to delete one Bank.
   * @example
   * // Delete one Bank
   * const Bank = await prisma.bank.delete({
   *   where: {
   *     // ... filter to delete one Bank
   *   }
   * })
   * 
   */
  delete<T extends BankDeleteArgs>(args: Prisma.SelectSubset<T, BankDeleteArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Bank.
   * @param {BankUpdateArgs} args - Arguments to update one Bank.
   * @example
   * // Update one Bank
   * const bank = await prisma.bank.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends BankUpdateArgs>(args: Prisma.SelectSubset<T, BankUpdateArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Banks.
   * @param {BankDeleteManyArgs} args - Arguments to filter Banks to delete.
   * @example
   * // Delete a few Banks
   * const { count } = await prisma.bank.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends BankDeleteManyArgs>(args?: Prisma.SelectSubset<T, BankDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Banks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Banks
   * const bank = await prisma.bank.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends BankUpdateManyArgs>(args: Prisma.SelectSubset<T, BankUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Banks and returns the data updated in the database.
   * @param {BankUpdateManyAndReturnArgs} args - Arguments to update many Banks.
   * @example
   * // Update many Banks
   * const bank = await prisma.bank.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Banks and only return the `id`
   * const bankWithIdOnly = await prisma.bank.updateManyAndReturn({
   *   select: { id: true },
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * 
   */
  updateManyAndReturn<T extends BankUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BankUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one Bank.
   * @param {BankUpsertArgs} args - Arguments to update or create a Bank.
   * @example
   * // Update or create a Bank
   * const bank = await prisma.bank.upsert({
   *   create: {
   *     // ... data to create a Bank
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Bank we want to update
   *   }
   * })
   */
  upsert<T extends BankUpsertArgs>(args: Prisma.SelectSubset<T, BankUpsertArgs<ExtArgs>>): Prisma.Prisma__BankClient<runtime.Types.Result.GetResult<Prisma.$BankPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Banks.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankCountArgs} args - Arguments to filter Banks to count.
   * @example
   * // Count the number of Banks
   * const count = await prisma.bank.count({
   *   where: {
   *     // ... the filter for the Banks we want to count
   *   }
   * })
  **/
  count<T extends BankCountArgs>(
    args?: Prisma.Subset<T, BankCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], BankCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Bank.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
   * @example
   * // Ordered by age ascending
   * // Where email contains prisma.io
   * // Limited to the 10 users
   * const aggregations = await prisma.user.aggregate({
   *   _avg: {
   *     age: true,
   *   },
   *   where: {
   *     email: {
   *       contains: "prisma.io",
   *     },
   *   },
   *   orderBy: {
   *     age: "asc",
   *   },
   *   take: 10,
   * })
  **/
  aggregate<T extends BankAggregateArgs>(args: Prisma.Subset<T, BankAggregateArgs>): Prisma.PrismaPromise<GetBankAggregateType<T>>

  /**
   * Group by Bank.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {BankGroupByArgs} args - Group by arguments.
   * @example
   * // Group by city, order by createdAt, get count
   * const result = await prisma.user.groupBy({
   *   by: ['city', 'createdAt'],
   *   orderBy: {
   *     createdAt: true
   *   },
   *   _count: {
   *     _all: true
   *   },
   * })
   * 
  **/
  groupBy<
    T extends BankGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: BankGroupByArgs['orderBy'] }
      : { orderBy?: BankGroupByArgs['orderBy'] },
    OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
    ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
    ByValid extends Prisma.Has<ByFields, OrderFields>,
    HavingFields extends Prisma.GetHavingFields<T['having']>,
    HavingValid extends Prisma.Has<ByFields, HavingFields>,
    ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
    InputErrors extends ByEmpty extends Prisma.True
    ? `Error: "by" must not be empty.`
    : HavingValid extends Prisma.False
    ? {
        [P in HavingFields]: P extends ByFields
          ? never
          : P extends string
          ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
          : [
              Error,
              'Field ',
              P,
              ` in "having" needs to be provided in "by"`,
            ]
      }[HavingFields]
    : 'take' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "take", you also need to provide "orderBy"'
    : 'skip' extends Prisma.Keys<T>
    ? 'orderBy' extends Prisma.Keys<T>
      ? ByValid extends Prisma.True
        ? {}
        : {
            [P in OrderFields]: P extends ByFields
              ? never
              : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
          }[OrderFields]
      : 'Error: If you provide "skip", you also need to provide "orderBy"'
    : ByValid extends Prisma.True
    ? {}
    : {
        [P in OrderFields]: P extends ByFields
          ? never
          : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
      }[OrderFields]
  >(args: Prisma.SubsetIntersection<T, BankGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBankGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the Bank model
 */
readonly fields: BankFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for Bank.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__BankClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  transactions<T extends Prisma.Bank$transactionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Bank$transactionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TransactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the Bank model
 */
export interface BankFieldRefs {
  readonly id: Prisma.FieldRef<"Bank", 'String'>
  readonly code: Prisma.FieldRef<"Bank", 'String'>
  readonly name: Prisma.FieldRef<"Bank", 'String'>
  readonly status: Prisma.FieldRef<"Bank", 'SettingStatus'>
  readonly createdAt: Prisma.FieldRef<"Bank", 'DateTime'>
  readonly modifiedAt: Prisma.FieldRef<"Bank", 'DateTime'>
}
    

// Custom InputTypes
/**
 * Bank findUnique
 */
export type BankFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter, which Bank to fetch.
   */
  where: Prisma.BankWhereUniqueInput
}

/**
 * Bank findUniqueOrThrow
 */
export type BankFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter, which Bank to fetch.
   */
  where: Prisma.BankWhereUniqueInput
}

/**
 * Bank findFirst
 */
export type BankFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter, which Bank to fetch.
   */
  where?: Prisma.BankWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Banks to fetch.
   */
  orderBy?: Prisma.BankOrderByWithRelationInput | Prisma.BankOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Banks.
   */
  cursor?: Prisma.BankWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Banks from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` Banks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Banks.
   */
  distinct?: Prisma.BankScalarFieldEnum | Prisma.BankScalarFieldEnum[]
}

/**
 * Bank findFirstOrThrow
 */
export type BankFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter, which Bank to fetch.
   */
  where?: Prisma.BankWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Banks to fetch.
   */
  orderBy?: Prisma.BankOrderByWithRelationInput | Prisma.BankOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Banks.
   */
  cursor?: Prisma.BankWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Banks from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` Banks.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Banks.
   */
  distinct?: Prisma.BankScalarFieldEnum | Prisma.BankScalarFieldEnum[]
}

/**
 * Bank findMany
 */
export type BankFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter, which Banks to fetch.
   */
  where?: Prisma.BankWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Banks to fetch.
   */
  orderBy?: Prisma.BankOrderByWithRelationInput | Prisma.BankOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing Banks.
   */
  cursor?: Prisma.BankWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Banks from the position of the cursor.
   */
  take?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Skip the first `n` Banks.
   */
  skip?: number
  distinct?: Prisma.BankScalarFieldEnum | Prisma.BankScalarFieldEnum[]
}

/**
 * Bank create
 */
export type BankCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * The data needed to create a Bank.
   */
  data: Prisma.XOR<Prisma.BankCreateInput, Prisma.BankUncheckedCreateInput>
}

/**
 * Bank createMany
 */
export type BankCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many Banks.
   */
  data: Prisma.BankCreateManyInput | Prisma.BankCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Bank createManyAndReturn
 */
export type BankCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * The data used to create many Banks.
   */
  data: Prisma.BankCreateManyInput | Prisma.BankCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Bank update
 */
export type BankUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * The data needed to update a Bank.
   */
  data: Prisma.XOR<Prisma.BankUpdateInput, Prisma.BankUncheckedUpdateInput>
  /**
   * Choose, which Bank to update.
   */
  where: Prisma.BankWhereUniqueInput
}

/**
 * Bank updateMany
 */
export type BankUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update Banks.
   */
  data: Prisma.XOR<Prisma.BankUpdateManyMutationInput, Prisma.BankUncheckedUpdateManyInput>
  /**
   * Filter which Banks to update
   */
  where?: Prisma.BankWhereInput
  /**
   * Limit how many Banks to update.
   */
  limit?: number
}

/**
 * Bank updateManyAndReturn
 */
export type BankUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * The data used to update Banks.
   */
  data: Prisma.XOR<Prisma.BankUpdateManyMutationInput, Prisma.BankUncheckedUpdateManyInput>
  /**
   * Filter which Banks to update
   */
  where?: Prisma.BankWhereInput
  /**
   * Limit how many Banks to update.
   */
  limit?: number
}

/**
 * Bank upsert
 */
export type BankUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * The filter to search for the Bank to update in case it exists.
   */
  where: Prisma.BankWhereUniqueInput
  /**
   * In case the Bank found by the `where` argument doesn't exist, create a new Bank with this data.
   */
  create: Prisma.XOR<Prisma.BankCreateInput, Prisma.BankUncheckedCreateInput>
  /**
   * In case the Bank was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.BankUpdateInput, Prisma.BankUncheckedUpdateInput>
}

/**
 * Bank delete
 */
export type BankDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
  /**
   * Filter which Bank to delete.
   */
  where: Prisma.BankWhereUniqueInput
}

/**
 * Bank deleteMany
 */
export type BankDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Banks to delete
   */
  where?: Prisma.BankWhereInput
  /**
   * Limit how many Banks to delete.
   */
  limit?: number
}

/**
 * Bank.transactions
 */
export type Bank$transactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Transaction
   */
  select?: Prisma.TransactionSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Transaction
   */
  omit?: Prisma.TransactionOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.TransactionInclude<ExtArgs> | null
  where?: Prisma.TransactionWhereInput
  orderBy?: Prisma.TransactionOrderByWithRelationInput | Prisma.TransactionOrderByWithRelationInput[]
  cursor?: Prisma.TransactionWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.TransactionScalarFieldEnum | Prisma.TransactionScalarFieldEnum[]
}

/**
 * Bank without action
 */
export type BankDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Bank
   */
  select?: Prisma.BankSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Bank
   */
  omit?: Prisma.BankOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.BankInclude<ExtArgs> | null
}
