/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `BankAccountBalance` 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.js" import type * as Prisma from "../internal/prismaNamespace.js" /** * Model BankAccountBalance * */ export type BankAccountBalanceModel = runtime.Types.Result.DefaultSelection export type AggregateBankAccountBalance = { _count: BankAccountBalanceCountAggregateOutputType | null _avg: BankAccountBalanceAvgAggregateOutputType | null _sum: BankAccountBalanceSumAggregateOutputType | null _min: BankAccountBalanceMinAggregateOutputType | null _max: BankAccountBalanceMaxAggregateOutputType | null } export type BankAccountBalanceAvgAggregateOutputType = { bankAccountId: number | null balance: runtime.Decimal | null } export type BankAccountBalanceSumAggregateOutputType = { bankAccountId: number | null balance: runtime.Decimal | null } export type BankAccountBalanceMinAggregateOutputType = { bankAccountId: number | null balance: runtime.Decimal | null updatedAt: Date | null } export type BankAccountBalanceMaxAggregateOutputType = { bankAccountId: number | null balance: runtime.Decimal | null updatedAt: Date | null } export type BankAccountBalanceCountAggregateOutputType = { bankAccountId: number balance: number updatedAt: number _all: number } export type BankAccountBalanceAvgAggregateInputType = { bankAccountId?: true balance?: true } export type BankAccountBalanceSumAggregateInputType = { bankAccountId?: true balance?: true } export type BankAccountBalanceMinAggregateInputType = { bankAccountId?: true balance?: true updatedAt?: true } export type BankAccountBalanceMaxAggregateInputType = { bankAccountId?: true balance?: true updatedAt?: true } export type BankAccountBalanceCountAggregateInputType = { bankAccountId?: true balance?: true updatedAt?: true _all?: true } export type BankAccountBalanceAggregateArgs = { /** * Filter which BankAccountBalance to aggregate. */ where?: Prisma.BankAccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankAccountBalances to fetch. */ orderBy?: Prisma.BankAccountBalanceOrderByWithRelationInput | Prisma.BankAccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.BankAccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankAccountBalances 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` BankAccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned BankAccountBalances **/ _count?: true | BankAccountBalanceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: BankAccountBalanceAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: BankAccountBalanceSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BankAccountBalanceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BankAccountBalanceMaxAggregateInputType } export type GetBankAccountBalanceAggregateType = { [P in keyof T & keyof AggregateBankAccountBalance]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type BankAccountBalanceGroupByArgs = { where?: Prisma.BankAccountBalanceWhereInput orderBy?: Prisma.BankAccountBalanceOrderByWithAggregationInput | Prisma.BankAccountBalanceOrderByWithAggregationInput[] by: Prisma.BankAccountBalanceScalarFieldEnum[] | Prisma.BankAccountBalanceScalarFieldEnum having?: Prisma.BankAccountBalanceScalarWhereWithAggregatesInput take?: number skip?: number _count?: BankAccountBalanceCountAggregateInputType | true _avg?: BankAccountBalanceAvgAggregateInputType _sum?: BankAccountBalanceSumAggregateInputType _min?: BankAccountBalanceMinAggregateInputType _max?: BankAccountBalanceMaxAggregateInputType } export type BankAccountBalanceGroupByOutputType = { bankAccountId: number balance: runtime.Decimal updatedAt: Date _count: BankAccountBalanceCountAggregateOutputType | null _avg: BankAccountBalanceAvgAggregateOutputType | null _sum: BankAccountBalanceSumAggregateOutputType | null _min: BankAccountBalanceMinAggregateOutputType | null _max: BankAccountBalanceMaxAggregateOutputType | null } type GetBankAccountBalanceGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof BankAccountBalanceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type BankAccountBalanceWhereInput = { AND?: Prisma.BankAccountBalanceWhereInput | Prisma.BankAccountBalanceWhereInput[] OR?: Prisma.BankAccountBalanceWhereInput[] NOT?: Prisma.BankAccountBalanceWhereInput | Prisma.BankAccountBalanceWhereInput[] bankAccountId?: Prisma.IntFilter<"BankAccountBalance"> | number balance?: Prisma.DecimalFilter<"BankAccountBalance"> | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFilter<"BankAccountBalance"> | Date | string bankAccount?: Prisma.XOR } export type BankAccountBalanceOrderByWithRelationInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder updatedAt?: Prisma.SortOrder bankAccount?: Prisma.BankAccountOrderByWithRelationInput } export type BankAccountBalanceWhereUniqueInput = Prisma.AtLeast<{ bankAccountId?: number AND?: Prisma.BankAccountBalanceWhereInput | Prisma.BankAccountBalanceWhereInput[] OR?: Prisma.BankAccountBalanceWhereInput[] NOT?: Prisma.BankAccountBalanceWhereInput | Prisma.BankAccountBalanceWhereInput[] balance?: Prisma.DecimalFilter<"BankAccountBalance"> | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFilter<"BankAccountBalance"> | Date | string bankAccount?: Prisma.XOR }, "bankAccountId"> export type BankAccountBalanceOrderByWithAggregationInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.BankAccountBalanceCountOrderByAggregateInput _avg?: Prisma.BankAccountBalanceAvgOrderByAggregateInput _max?: Prisma.BankAccountBalanceMaxOrderByAggregateInput _min?: Prisma.BankAccountBalanceMinOrderByAggregateInput _sum?: Prisma.BankAccountBalanceSumOrderByAggregateInput } export type BankAccountBalanceScalarWhereWithAggregatesInput = { AND?: Prisma.BankAccountBalanceScalarWhereWithAggregatesInput | Prisma.BankAccountBalanceScalarWhereWithAggregatesInput[] OR?: Prisma.BankAccountBalanceScalarWhereWithAggregatesInput[] NOT?: Prisma.BankAccountBalanceScalarWhereWithAggregatesInput | Prisma.BankAccountBalanceScalarWhereWithAggregatesInput[] bankAccountId?: Prisma.IntWithAggregatesFilter<"BankAccountBalance"> | number balance?: Prisma.DecimalWithAggregatesFilter<"BankAccountBalance"> | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BankAccountBalance"> | Date | string } export type BankAccountBalanceCreateInput = { balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string bankAccount: Prisma.BankAccountCreateNestedOneWithoutBankAccountBalancesInput } export type BankAccountBalanceUncheckedCreateInput = { bankAccountId: number balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string } export type BankAccountBalanceUpdateInput = { balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string bankAccount?: Prisma.BankAccountUpdateOneRequiredWithoutBankAccountBalancesNestedInput } export type BankAccountBalanceUncheckedUpdateInput = { bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceCreateManyInput = { bankAccountId: number balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string } export type BankAccountBalanceUpdateManyMutationInput = { balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceUncheckedUpdateManyInput = { bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceListRelationFilter = { every?: Prisma.BankAccountBalanceWhereInput some?: Prisma.BankAccountBalanceWhereInput none?: Prisma.BankAccountBalanceWhereInput } export type BankAccountBalanceOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type BankAccountBalanceCountOrderByAggregateInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BankAccountBalanceAvgOrderByAggregateInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder } export type BankAccountBalanceMaxOrderByAggregateInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BankAccountBalanceMinOrderByAggregateInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BankAccountBalanceSumOrderByAggregateInput = { bankAccountId?: Prisma.SortOrder balance?: Prisma.SortOrder } export type BankAccountBalanceCreateNestedManyWithoutBankAccountInput = { create?: Prisma.XOR | Prisma.BankAccountBalanceCreateWithoutBankAccountInput[] | Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput[] connectOrCreate?: Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput | Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput[] createMany?: Prisma.BankAccountBalanceCreateManyBankAccountInputEnvelope connect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] } export type BankAccountBalanceUncheckedCreateNestedManyWithoutBankAccountInput = { create?: Prisma.XOR | Prisma.BankAccountBalanceCreateWithoutBankAccountInput[] | Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput[] connectOrCreate?: Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput | Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput[] createMany?: Prisma.BankAccountBalanceCreateManyBankAccountInputEnvelope connect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] } export type BankAccountBalanceUpdateManyWithoutBankAccountNestedInput = { create?: Prisma.XOR | Prisma.BankAccountBalanceCreateWithoutBankAccountInput[] | Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput[] connectOrCreate?: Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput | Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput[] upsert?: Prisma.BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput | Prisma.BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput[] createMany?: Prisma.BankAccountBalanceCreateManyBankAccountInputEnvelope set?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] disconnect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] delete?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] connect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] update?: Prisma.BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput | Prisma.BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput[] updateMany?: Prisma.BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput | Prisma.BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput[] deleteMany?: Prisma.BankAccountBalanceScalarWhereInput | Prisma.BankAccountBalanceScalarWhereInput[] } export type BankAccountBalanceUncheckedUpdateManyWithoutBankAccountNestedInput = { create?: Prisma.XOR | Prisma.BankAccountBalanceCreateWithoutBankAccountInput[] | Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput[] connectOrCreate?: Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput | Prisma.BankAccountBalanceCreateOrConnectWithoutBankAccountInput[] upsert?: Prisma.BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput | Prisma.BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput[] createMany?: Prisma.BankAccountBalanceCreateManyBankAccountInputEnvelope set?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] disconnect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] delete?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] connect?: Prisma.BankAccountBalanceWhereUniqueInput | Prisma.BankAccountBalanceWhereUniqueInput[] update?: Prisma.BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput | Prisma.BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput[] updateMany?: Prisma.BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput | Prisma.BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput[] deleteMany?: Prisma.BankAccountBalanceScalarWhereInput | Prisma.BankAccountBalanceScalarWhereInput[] } export type BankAccountBalanceCreateWithoutBankAccountInput = { balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string } export type BankAccountBalanceUncheckedCreateWithoutBankAccountInput = { balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string } export type BankAccountBalanceCreateOrConnectWithoutBankAccountInput = { where: Prisma.BankAccountBalanceWhereUniqueInput create: Prisma.XOR } export type BankAccountBalanceCreateManyBankAccountInputEnvelope = { data: Prisma.BankAccountBalanceCreateManyBankAccountInput | Prisma.BankAccountBalanceCreateManyBankAccountInput[] skipDuplicates?: boolean } export type BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput = { where: Prisma.BankAccountBalanceWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput = { where: Prisma.BankAccountBalanceWhereUniqueInput data: Prisma.XOR } export type BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput = { where: Prisma.BankAccountBalanceScalarWhereInput data: Prisma.XOR } export type BankAccountBalanceScalarWhereInput = { AND?: Prisma.BankAccountBalanceScalarWhereInput | Prisma.BankAccountBalanceScalarWhereInput[] OR?: Prisma.BankAccountBalanceScalarWhereInput[] NOT?: Prisma.BankAccountBalanceScalarWhereInput | Prisma.BankAccountBalanceScalarWhereInput[] bankAccountId?: Prisma.IntFilter<"BankAccountBalance"> | number balance?: Prisma.DecimalFilter<"BankAccountBalance"> | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFilter<"BankAccountBalance"> | Date | string } export type BankAccountBalanceCreateManyBankAccountInput = { balance: runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Date | string } export type BankAccountBalanceUpdateWithoutBankAccountInput = { balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceUncheckedUpdateWithoutBankAccountInput = { balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceUncheckedUpdateManyWithoutBankAccountInput = { balance?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BankAccountBalanceSelect = runtime.Types.Extensions.GetSelect<{ bankAccountId?: boolean balance?: boolean updatedAt?: boolean bankAccount?: boolean | Prisma.BankAccountDefaultArgs }, ExtArgs["result"]["bankAccountBalance"]> export type BankAccountBalanceSelectScalar = { bankAccountId?: boolean balance?: boolean updatedAt?: boolean } export type BankAccountBalanceOmit = runtime.Types.Extensions.GetOmit<"bankAccountId" | "balance" | "updatedAt", ExtArgs["result"]["bankAccountBalance"]> export type BankAccountBalanceInclude = { bankAccount?: boolean | Prisma.BankAccountDefaultArgs } export type $BankAccountBalancePayload = { name: "BankAccountBalance" objects: { bankAccount: Prisma.$BankAccountPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ bankAccountId: number balance: runtime.Decimal updatedAt: Date }, ExtArgs["result"]["bankAccountBalance"]> composites: {} } export type BankAccountBalanceGetPayload = runtime.Types.Result.GetResult export type BankAccountBalanceCountArgs = Omit & { select?: BankAccountBalanceCountAggregateInputType | true } export interface BankAccountBalanceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['BankAccountBalance'], meta: { name: 'BankAccountBalance' } } /** * Find zero or one BankAccountBalance that matches the filter. * @param {BankAccountBalanceFindUniqueArgs} args - Arguments to find a BankAccountBalance * @example * // Get one BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one BankAccountBalance that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BankAccountBalanceFindUniqueOrThrowArgs} args - Arguments to find a BankAccountBalance * @example * // Get one BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first BankAccountBalance 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 {BankAccountBalanceFindFirstArgs} args - Arguments to find a BankAccountBalance * @example * // Get one BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first BankAccountBalance 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 {BankAccountBalanceFindFirstOrThrowArgs} args - Arguments to find a BankAccountBalance * @example * // Get one BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more BankAccountBalances 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 {BankAccountBalanceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all BankAccountBalances * const bankAccountBalances = await prisma.bankAccountBalance.findMany() * * // Get first 10 BankAccountBalances * const bankAccountBalances = await prisma.bankAccountBalance.findMany({ take: 10 }) * * // Only select the `bankAccountId` * const bankAccountBalanceWithBankAccountIdOnly = await prisma.bankAccountBalance.findMany({ select: { bankAccountId: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a BankAccountBalance. * @param {BankAccountBalanceCreateArgs} args - Arguments to create a BankAccountBalance. * @example * // Create one BankAccountBalance * const BankAccountBalance = await prisma.bankAccountBalance.create({ * data: { * // ... data to create a BankAccountBalance * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many BankAccountBalances. * @param {BankAccountBalanceCreateManyArgs} args - Arguments to create many BankAccountBalances. * @example * // Create many BankAccountBalances * const bankAccountBalance = await prisma.bankAccountBalance.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a BankAccountBalance. * @param {BankAccountBalanceDeleteArgs} args - Arguments to delete one BankAccountBalance. * @example * // Delete one BankAccountBalance * const BankAccountBalance = await prisma.bankAccountBalance.delete({ * where: { * // ... filter to delete one BankAccountBalance * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one BankAccountBalance. * @param {BankAccountBalanceUpdateArgs} args - Arguments to update one BankAccountBalance. * @example * // Update one BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more BankAccountBalances. * @param {BankAccountBalanceDeleteManyArgs} args - Arguments to filter BankAccountBalances to delete. * @example * // Delete a few BankAccountBalances * const { count } = await prisma.bankAccountBalance.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more BankAccountBalances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankAccountBalanceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many BankAccountBalances * const bankAccountBalance = await prisma.bankAccountBalance.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one BankAccountBalance. * @param {BankAccountBalanceUpsertArgs} args - Arguments to update or create a BankAccountBalance. * @example * // Update or create a BankAccountBalance * const bankAccountBalance = await prisma.bankAccountBalance.upsert({ * create: { * // ... data to create a BankAccountBalance * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the BankAccountBalance we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__BankAccountBalanceClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of BankAccountBalances. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankAccountBalanceCountArgs} args - Arguments to filter BankAccountBalances to count. * @example * // Count the number of BankAccountBalances * const count = await prisma.bankAccountBalance.count({ * where: { * // ... the filter for the BankAccountBalances we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a BankAccountBalance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankAccountBalanceAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by BankAccountBalance. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BankAccountBalanceGroupByArgs} 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 BankAccountBalanceGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: BankAccountBalanceGroupByArgs['orderBy'] } : { orderBy?: BankAccountBalanceGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetBankAccountBalanceGroupByPayload : Prisma.PrismaPromise /** * Fields of the BankAccountBalance model */ readonly fields: BankAccountBalanceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for BankAccountBalance. * 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__BankAccountBalanceClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" bankAccount = {}>(args?: Prisma.Subset>): Prisma.Prisma__BankAccountClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the BankAccountBalance model */ export interface BankAccountBalanceFieldRefs { readonly bankAccountId: Prisma.FieldRef<"BankAccountBalance", 'Int'> readonly balance: Prisma.FieldRef<"BankAccountBalance", 'Decimal'> readonly updatedAt: Prisma.FieldRef<"BankAccountBalance", 'DateTime'> } // Custom InputTypes /** * BankAccountBalance findUnique */ export type BankAccountBalanceFindUniqueArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter, which BankAccountBalance to fetch. */ where: Prisma.BankAccountBalanceWhereUniqueInput } /** * BankAccountBalance findUniqueOrThrow */ export type BankAccountBalanceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter, which BankAccountBalance to fetch. */ where: Prisma.BankAccountBalanceWhereUniqueInput } /** * BankAccountBalance findFirst */ export type BankAccountBalanceFindFirstArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter, which BankAccountBalance to fetch. */ where?: Prisma.BankAccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankAccountBalances to fetch. */ orderBy?: Prisma.BankAccountBalanceOrderByWithRelationInput | Prisma.BankAccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BankAccountBalances. */ cursor?: Prisma.BankAccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankAccountBalances 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` BankAccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BankAccountBalances. */ distinct?: Prisma.BankAccountBalanceScalarFieldEnum | Prisma.BankAccountBalanceScalarFieldEnum[] } /** * BankAccountBalance findFirstOrThrow */ export type BankAccountBalanceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter, which BankAccountBalance to fetch. */ where?: Prisma.BankAccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankAccountBalances to fetch. */ orderBy?: Prisma.BankAccountBalanceOrderByWithRelationInput | Prisma.BankAccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for BankAccountBalances. */ cursor?: Prisma.BankAccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankAccountBalances 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` BankAccountBalances. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of BankAccountBalances. */ distinct?: Prisma.BankAccountBalanceScalarFieldEnum | Prisma.BankAccountBalanceScalarFieldEnum[] } /** * BankAccountBalance findMany */ export type BankAccountBalanceFindManyArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter, which BankAccountBalances to fetch. */ where?: Prisma.BankAccountBalanceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of BankAccountBalances to fetch. */ orderBy?: Prisma.BankAccountBalanceOrderByWithRelationInput | Prisma.BankAccountBalanceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing BankAccountBalances. */ cursor?: Prisma.BankAccountBalanceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` BankAccountBalances 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` BankAccountBalances. */ skip?: number distinct?: Prisma.BankAccountBalanceScalarFieldEnum | Prisma.BankAccountBalanceScalarFieldEnum[] } /** * BankAccountBalance create */ export type BankAccountBalanceCreateArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * The data needed to create a BankAccountBalance. */ data: Prisma.XOR } /** * BankAccountBalance createMany */ export type BankAccountBalanceCreateManyArgs = { /** * The data used to create many BankAccountBalances. */ data: Prisma.BankAccountBalanceCreateManyInput | Prisma.BankAccountBalanceCreateManyInput[] skipDuplicates?: boolean } /** * BankAccountBalance update */ export type BankAccountBalanceUpdateArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * The data needed to update a BankAccountBalance. */ data: Prisma.XOR /** * Choose, which BankAccountBalance to update. */ where: Prisma.BankAccountBalanceWhereUniqueInput } /** * BankAccountBalance updateMany */ export type BankAccountBalanceUpdateManyArgs = { /** * The data used to update BankAccountBalances. */ data: Prisma.XOR /** * Filter which BankAccountBalances to update */ where?: Prisma.BankAccountBalanceWhereInput /** * Limit how many BankAccountBalances to update. */ limit?: number } /** * BankAccountBalance upsert */ export type BankAccountBalanceUpsertArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * The filter to search for the BankAccountBalance to update in case it exists. */ where: Prisma.BankAccountBalanceWhereUniqueInput /** * In case the BankAccountBalance found by the `where` argument doesn't exist, create a new BankAccountBalance with this data. */ create: Prisma.XOR /** * In case the BankAccountBalance was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * BankAccountBalance delete */ export type BankAccountBalanceDeleteArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null /** * Filter which BankAccountBalance to delete. */ where: Prisma.BankAccountBalanceWhereUniqueInput } /** * BankAccountBalance deleteMany */ export type BankAccountBalanceDeleteManyArgs = { /** * Filter which BankAccountBalances to delete */ where?: Prisma.BankAccountBalanceWhereInput /** * Limit how many BankAccountBalances to delete. */ limit?: number } /** * BankAccountBalance without action */ export type BankAccountBalanceDefaultArgs = { /** * Select specific fields to fetch from the BankAccountBalance */ select?: Prisma.BankAccountBalanceSelect | null /** * Omit specific fields from the BankAccountBalance */ omit?: Prisma.BankAccountBalanceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BankAccountBalanceInclude | null }