1196 lines
49 KiB
TypeScript
1196 lines
49 KiB
TypeScript
|
|
|
||
|
|
/* !!! 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<Prisma.$BankAccountBalancePayload>
|
||
|
|
|
||
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* 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<T extends BankAccountBalanceAggregateArgs> = {
|
||
|
|
[P in keyof T & keyof AggregateBankAccountBalance]: P extends '_count' | 'count'
|
||
|
|
? T[P] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], AggregateBankAccountBalance[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], AggregateBankAccountBalance[P]>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type BankAccountBalanceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
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<T extends BankAccountBalanceGroupByArgs> = Prisma.PrismaPromise<
|
||
|
|
Array<
|
||
|
|
Prisma.PickEnumerable<BankAccountBalanceGroupByOutputType, T['by']> &
|
||
|
|
{
|
||
|
|
[P in ((keyof T) & (keyof BankAccountBalanceGroupByOutputType))]: P extends '_count'
|
||
|
|
? T[P] extends boolean
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], BankAccountBalanceGroupByOutputType[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], BankAccountBalanceGroupByOutputType[P]>
|
||
|
|
}
|
||
|
|
>
|
||
|
|
>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
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<Prisma.BankAccountScalarRelationFilter, Prisma.BankAccountWhereInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
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<Prisma.BankAccountScalarRelationFilter, Prisma.BankAccountWhereInput>
|
||
|
|
}, "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> | 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> | 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> | 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> | 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<Prisma.BankAccountBalanceCreateWithoutBankAccountInput, Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceCreateManyBankAccountInputEnvelope = {
|
||
|
|
data: Prisma.BankAccountBalanceCreateManyBankAccountInput | Prisma.BankAccountBalanceCreateManyBankAccountInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceUpsertWithWhereUniqueWithoutBankAccountInput = {
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
update: Prisma.XOR<Prisma.BankAccountBalanceUpdateWithoutBankAccountInput, Prisma.BankAccountBalanceUncheckedUpdateWithoutBankAccountInput>
|
||
|
|
create: Prisma.XOR<Prisma.BankAccountBalanceCreateWithoutBankAccountInput, Prisma.BankAccountBalanceUncheckedCreateWithoutBankAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceUpdateWithWhereUniqueWithoutBankAccountInput = {
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
data: Prisma.XOR<Prisma.BankAccountBalanceUpdateWithoutBankAccountInput, Prisma.BankAccountBalanceUncheckedUpdateWithoutBankAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceUpdateManyWithWhereWithoutBankAccountInput = {
|
||
|
|
where: Prisma.BankAccountBalanceScalarWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.BankAccountBalanceUpdateManyMutationInput, Prisma.BankAccountBalanceUncheckedUpdateManyWithoutBankAccountInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||
|
|
bankAccountId?: boolean
|
||
|
|
balance?: boolean
|
||
|
|
updatedAt?: boolean
|
||
|
|
bankAccount?: boolean | Prisma.BankAccountDefaultArgs<ExtArgs>
|
||
|
|
}, ExtArgs["result"]["bankAccountBalance"]>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type BankAccountBalanceSelectScalar = {
|
||
|
|
bankAccountId?: boolean
|
||
|
|
balance?: boolean
|
||
|
|
updatedAt?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"bankAccountId" | "balance" | "updatedAt", ExtArgs["result"]["bankAccountBalance"]>
|
||
|
|
export type BankAccountBalanceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
bankAccount?: boolean | Prisma.BankAccountDefaultArgs<ExtArgs>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type $BankAccountBalancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
name: "BankAccountBalance"
|
||
|
|
objects: {
|
||
|
|
bankAccount: Prisma.$BankAccountPayload<ExtArgs>
|
||
|
|
}
|
||
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||
|
|
bankAccountId: number
|
||
|
|
balance: runtime.Decimal
|
||
|
|
updatedAt: Date
|
||
|
|
}, ExtArgs["result"]["bankAccountBalance"]>
|
||
|
|
composites: {}
|
||
|
|
}
|
||
|
|
|
||
|
|
export type BankAccountBalanceGetPayload<S extends boolean | null | undefined | BankAccountBalanceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload, S>
|
||
|
|
|
||
|
|
export type BankAccountBalanceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
||
|
|
Omit<BankAccountBalanceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
||
|
|
select?: BankAccountBalanceCountAggregateInputType | true
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface BankAccountBalanceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
||
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends BankAccountBalanceFindUniqueArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceFindFirstArgs>(args?: Prisma.SelectSubset<T, BankAccountBalanceFindFirstArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BankAccountBalanceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceFindManyArgs>(args?: Prisma.SelectSubset<T, BankAccountBalanceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceCreateArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceCreateArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceCreateManyArgs>(args?: Prisma.SelectSubset<T, BankAccountBalanceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 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<T extends BankAccountBalanceDeleteArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceDeleteArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceUpdateArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceUpdateArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceDeleteManyArgs>(args?: Prisma.SelectSubset<T, BankAccountBalanceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 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<T extends BankAccountBalanceUpdateManyArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 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<T extends BankAccountBalanceUpsertArgs>(args: Prisma.SelectSubset<T, BankAccountBalanceUpsertArgs<ExtArgs>>): Prisma.Prisma__BankAccountBalanceClient<runtime.Types.Result.GetResult<Prisma.$BankAccountBalancePayload<ExtArgs>, 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<T extends BankAccountBalanceCountArgs>(
|
||
|
|
args?: Prisma.Subset<T, BankAccountBalanceCountArgs>,
|
||
|
|
): Prisma.PrismaPromise<
|
||
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
||
|
|
? T['select'] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T['select'], BankAccountBalanceCountAggregateOutputType>
|
||
|
|
: 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<T extends BankAccountBalanceAggregateArgs>(args: Prisma.Subset<T, BankAccountBalanceAggregateArgs>): Prisma.PrismaPromise<GetBankAccountBalanceAggregateType<T>>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 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<T>>,
|
||
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
||
|
|
>,
|
||
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
||
|
|
? { orderBy: BankAccountBalanceGroupByArgs['orderBy'] }
|
||
|
|
: { orderBy?: BankAccountBalanceGroupByArgs['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, BankAccountBalanceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBankAccountBalanceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
||
|
|
/**
|
||
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||
|
|
bankAccount<T extends Prisma.BankAccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankAccountDefaultArgs<ExtArgs>>): Prisma.Prisma__BankAccountClient<runtime.Types.Result.GetResult<Prisma.$BankAccountPayload<ExtArgs>, 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<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 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which BankAccountBalance to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance findUniqueOrThrow
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter, which BankAccountBalance to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance findFirst
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* The data needed to create a BankAccountBalance.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.BankAccountBalanceCreateInput, Prisma.BankAccountBalanceUncheckedCreateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance createMany
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to create many BankAccountBalances.
|
||
|
|
*/
|
||
|
|
data: Prisma.BankAccountBalanceCreateManyInput | Prisma.BankAccountBalanceCreateManyInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance update
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* The data needed to update a BankAccountBalance.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.BankAccountBalanceUpdateInput, Prisma.BankAccountBalanceUncheckedUpdateInput>
|
||
|
|
/**
|
||
|
|
* Choose, which BankAccountBalance to update.
|
||
|
|
*/
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance updateMany
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to update BankAccountBalances.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.BankAccountBalanceUpdateManyMutationInput, Prisma.BankAccountBalanceUncheckedUpdateManyInput>
|
||
|
|
/**
|
||
|
|
* Filter which BankAccountBalances to update
|
||
|
|
*/
|
||
|
|
where?: Prisma.BankAccountBalanceWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many BankAccountBalances to update.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance upsert
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | 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<Prisma.BankAccountBalanceCreateInput, Prisma.BankAccountBalanceUncheckedCreateInput>
|
||
|
|
/**
|
||
|
|
* In case the BankAccountBalance was found with the provided `where` argument, update it with this data.
|
||
|
|
*/
|
||
|
|
update: Prisma.XOR<Prisma.BankAccountBalanceUpdateInput, Prisma.BankAccountBalanceUncheckedUpdateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance delete
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Filter which BankAccountBalance to delete.
|
||
|
|
*/
|
||
|
|
where: Prisma.BankAccountBalanceWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance deleteMany
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Filter which BankAccountBalances to delete
|
||
|
|
*/
|
||
|
|
where?: Prisma.BankAccountBalanceWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many BankAccountBalances to delete.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* BankAccountBalance without action
|
||
|
|
*/
|
||
|
|
export type BankAccountBalanceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
select?: Prisma.BankAccountBalanceSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the BankAccountBalance
|
||
|
|
*/
|
||
|
|
omit?: Prisma.BankAccountBalanceOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.BankAccountBalanceInclude<ExtArgs> | null
|
||
|
|
}
|