|
|
|
@@ -253,7 +253,6 @@ export type BankAccountWhereInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFilter<"BankAccount"> | Date | string
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"BankAccount"> | Date | string | null
|
|
|
|
|
branch?: Prisma.XOR<Prisma.BankBranchScalarRelationFilter, Prisma.BankBranchWhereInput>
|
|
|
|
|
inventories?: Prisma.InventoryListRelationFilter
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsListRelationFilter
|
|
|
|
|
posAccounts?: Prisma.PosAccountListRelationFilter
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountListRelationFilter
|
|
|
|
@@ -270,7 +269,6 @@ export type BankAccountOrderByWithRelationInput = {
|
|
|
|
|
updatedAt?: Prisma.SortOrder
|
|
|
|
|
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
branch?: Prisma.BankBranchOrderByWithRelationInput
|
|
|
|
|
inventories?: Prisma.InventoryOrderByRelationAggregateInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsOrderByRelationAggregateInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountOrderByRelationAggregateInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountOrderByRelationAggregateInput
|
|
|
|
@@ -281,21 +279,20 @@ export type BankAccountWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
id?: number
|
|
|
|
|
accountNumber?: string
|
|
|
|
|
cardNumber?: string
|
|
|
|
|
iban?: string
|
|
|
|
|
AND?: Prisma.BankAccountWhereInput | Prisma.BankAccountWhereInput[]
|
|
|
|
|
OR?: Prisma.BankAccountWhereInput[]
|
|
|
|
|
NOT?: Prisma.BankAccountWhereInput | Prisma.BankAccountWhereInput[]
|
|
|
|
|
name?: Prisma.StringFilter<"BankAccount"> | string
|
|
|
|
|
iban?: Prisma.StringNullableFilter<"BankAccount"> | string | null
|
|
|
|
|
branchId?: Prisma.IntFilter<"BankAccount"> | number
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"BankAccount"> | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFilter<"BankAccount"> | Date | string
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"BankAccount"> | Date | string | null
|
|
|
|
|
branch?: Prisma.XOR<Prisma.BankBranchScalarRelationFilter, Prisma.BankBranchWhereInput>
|
|
|
|
|
inventories?: Prisma.InventoryListRelationFilter
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsListRelationFilter
|
|
|
|
|
posAccounts?: Prisma.PosAccountListRelationFilter
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountListRelationFilter
|
|
|
|
|
}, "id" | "accountNumber" | "cardNumber">
|
|
|
|
|
}, "id" | "accountNumber" | "cardNumber" | "iban">
|
|
|
|
|
|
|
|
|
|
export type BankAccountOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
@@ -338,7 +335,6 @@ export type BankAccountCreateInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
branch: Prisma.BankBranchCreateNestedOneWithoutBankAccountsInput
|
|
|
|
|
inventories?: Prisma.InventoryCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
@@ -354,7 +350,6 @@ export type BankAccountUncheckedCreateInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
@@ -369,7 +364,6 @@ export type BankAccountUpdateInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
branch?: Prisma.BankBranchUpdateOneRequiredWithoutBankAccountsNestedInput
|
|
|
|
|
inventories?: Prisma.InventoryUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
@@ -385,7 +379,6 @@ export type BankAccountUncheckedUpdateInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
@@ -539,44 +532,6 @@ export type BankAccountUncheckedUpdateManyWithoutBranchNestedInput = {
|
|
|
|
|
deleteMany?: Prisma.BankAccountScalarWhereInput | Prisma.BankAccountScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCreateNestedManyWithoutInventoriesInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput> | Prisma.BankAccountCreateWithoutInventoriesInput[] | Prisma.BankAccountUncheckedCreateWithoutInventoriesInput[]
|
|
|
|
|
connectOrCreate?: Prisma.BankAccountCreateOrConnectWithoutInventoriesInput | Prisma.BankAccountCreateOrConnectWithoutInventoriesInput[]
|
|
|
|
|
connect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUncheckedCreateNestedManyWithoutInventoriesInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput> | Prisma.BankAccountCreateWithoutInventoriesInput[] | Prisma.BankAccountUncheckedCreateWithoutInventoriesInput[]
|
|
|
|
|
connectOrCreate?: Prisma.BankAccountCreateOrConnectWithoutInventoriesInput | Prisma.BankAccountCreateOrConnectWithoutInventoriesInput[]
|
|
|
|
|
connect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUpdateManyWithoutInventoriesNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput> | Prisma.BankAccountCreateWithoutInventoriesInput[] | Prisma.BankAccountUncheckedCreateWithoutInventoriesInput[]
|
|
|
|
|
connectOrCreate?: Prisma.BankAccountCreateOrConnectWithoutInventoriesInput | Prisma.BankAccountCreateOrConnectWithoutInventoriesInput[]
|
|
|
|
|
upsert?: Prisma.BankAccountUpsertWithWhereUniqueWithoutInventoriesInput | Prisma.BankAccountUpsertWithWhereUniqueWithoutInventoriesInput[]
|
|
|
|
|
set?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.BankAccountUpdateWithWhereUniqueWithoutInventoriesInput | Prisma.BankAccountUpdateWithWhereUniqueWithoutInventoriesInput[]
|
|
|
|
|
updateMany?: Prisma.BankAccountUpdateManyWithWhereWithoutInventoriesInput | Prisma.BankAccountUpdateManyWithWhereWithoutInventoriesInput[]
|
|
|
|
|
deleteMany?: Prisma.BankAccountScalarWhereInput | Prisma.BankAccountScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUncheckedUpdateManyWithoutInventoriesNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput> | Prisma.BankAccountCreateWithoutInventoriesInput[] | Prisma.BankAccountUncheckedCreateWithoutInventoriesInput[]
|
|
|
|
|
connectOrCreate?: Prisma.BankAccountCreateOrConnectWithoutInventoriesInput | Prisma.BankAccountCreateOrConnectWithoutInventoriesInput[]
|
|
|
|
|
upsert?: Prisma.BankAccountUpsertWithWhereUniqueWithoutInventoriesInput | Prisma.BankAccountUpsertWithWhereUniqueWithoutInventoriesInput[]
|
|
|
|
|
set?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.BankAccountWhereUniqueInput | Prisma.BankAccountWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.BankAccountUpdateWithWhereUniqueWithoutInventoriesInput | Prisma.BankAccountUpdateWithWhereUniqueWithoutInventoriesInput[]
|
|
|
|
|
updateMany?: Prisma.BankAccountUpdateManyWithWhereWithoutInventoriesInput | Prisma.BankAccountUpdateManyWithWhereWithoutInventoriesInput[]
|
|
|
|
|
deleteMany?: Prisma.BankAccountScalarWhereInput | Prisma.BankAccountScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCreateNestedOneWithoutInventoryBankAccountsInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoryBankAccountsInput, Prisma.BankAccountUncheckedCreateWithoutInventoryBankAccountsInput>
|
|
|
|
|
connectOrCreate?: Prisma.BankAccountCreateOrConnectWithoutInventoryBankAccountsInput
|
|
|
|
@@ -631,7 +586,6 @@ export type BankAccountCreateWithoutBranchInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
@@ -646,7 +600,6 @@ export type BankAccountUncheckedCreateWithoutBranchInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
@@ -693,56 +646,6 @@ export type BankAccountScalarWhereInput = {
|
|
|
|
|
deletedAt?: Prisma.DateTimeNullableFilter<"BankAccount"> | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCreateWithoutInventoriesInput = {
|
|
|
|
|
accountNumber?: string | null
|
|
|
|
|
cardNumber?: string | null
|
|
|
|
|
name: string
|
|
|
|
|
iban?: string | null
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
branch: Prisma.BankBranchCreateNestedOneWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUncheckedCreateWithoutInventoriesInput = {
|
|
|
|
|
id?: number
|
|
|
|
|
accountNumber?: string | null
|
|
|
|
|
cardNumber?: string | null
|
|
|
|
|
name: string
|
|
|
|
|
iban?: string | null
|
|
|
|
|
branchId: number
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCreateOrConnectWithoutInventoriesInput = {
|
|
|
|
|
where: Prisma.BankAccountWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUpsertWithWhereUniqueWithoutInventoriesInput = {
|
|
|
|
|
where: Prisma.BankAccountWhereUniqueInput
|
|
|
|
|
update: Prisma.XOR<Prisma.BankAccountUpdateWithoutInventoriesInput, Prisma.BankAccountUncheckedUpdateWithoutInventoriesInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.BankAccountCreateWithoutInventoriesInput, Prisma.BankAccountUncheckedCreateWithoutInventoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUpdateWithWhereUniqueWithoutInventoriesInput = {
|
|
|
|
|
where: Prisma.BankAccountWhereUniqueInput
|
|
|
|
|
data: Prisma.XOR<Prisma.BankAccountUpdateWithoutInventoriesInput, Prisma.BankAccountUncheckedUpdateWithoutInventoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUpdateManyWithWhereWithoutInventoriesInput = {
|
|
|
|
|
where: Prisma.BankAccountScalarWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.BankAccountUpdateManyMutationInput, Prisma.BankAccountUncheckedUpdateManyWithoutInventoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCreateWithoutInventoryBankAccountsInput = {
|
|
|
|
|
accountNumber?: string | null
|
|
|
|
|
cardNumber?: string | null
|
|
|
|
@@ -752,7 +655,6 @@ export type BankAccountCreateWithoutInventoryBankAccountsInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
branch: Prisma.BankBranchCreateNestedOneWithoutBankAccountsInput
|
|
|
|
|
inventories?: Prisma.InventoryCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -767,7 +669,6 @@ export type BankAccountUncheckedCreateWithoutInventoryBankAccountsInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -797,7 +698,6 @@ export type BankAccountUpdateWithoutInventoryBankAccountsInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
branch?: Prisma.BankBranchUpdateOneRequiredWithoutBankAccountsNestedInput
|
|
|
|
|
inventories?: Prisma.InventoryUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -812,7 +712,6 @@ export type BankAccountUncheckedUpdateWithoutInventoryBankAccountsInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -826,7 +725,6 @@ export type BankAccountCreateWithoutPosAccountsInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
branch: Prisma.BankBranchCreateNestedOneWithoutBankAccountsInput
|
|
|
|
|
inventories?: Prisma.InventoryCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -841,7 +739,6 @@ export type BankAccountUncheckedCreateWithoutPosAccountsInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -871,7 +768,6 @@ export type BankAccountUpdateWithoutPosAccountsInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
branch?: Prisma.BankBranchUpdateOneRequiredWithoutBankAccountsNestedInput
|
|
|
|
|
inventories?: Prisma.InventoryUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -886,7 +782,6 @@ export type BankAccountUncheckedUpdateWithoutPosAccountsInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -900,7 +795,6 @@ export type BankAccountCreateWithoutPurchaseReceiptPaymentsInput = {
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
branch: Prisma.BankBranchCreateNestedOneWithoutBankAccountsInput
|
|
|
|
|
inventories?: Prisma.InventoryCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -915,7 +809,6 @@ export type BankAccountUncheckedCreateWithoutPurchaseReceiptPaymentsInput = {
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
deletedAt?: Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedCreateNestedManyWithoutBankAccountsInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedCreateNestedManyWithoutBankAccountInput
|
|
|
|
|
}
|
|
|
|
@@ -945,7 +838,6 @@ export type BankAccountUpdateWithoutPurchaseReceiptPaymentsInput = {
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
branch?: Prisma.BankBranchUpdateOneRequiredWithoutBankAccountsNestedInput
|
|
|
|
|
inventories?: Prisma.InventoryUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -960,7 +852,6 @@ export type BankAccountUncheckedUpdateWithoutPurchaseReceiptPaymentsInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
@@ -984,7 +875,6 @@ export type BankAccountUpdateWithoutBranchInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
@@ -999,7 +889,6 @@ export type BankAccountUncheckedUpdateWithoutBranchInput = {
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
inventories?: Prisma.InventoryUncheckedUpdateManyWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
@@ -1016,61 +905,18 @@ export type BankAccountUncheckedUpdateManyWithoutBranchInput = {
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUpdateWithoutInventoriesInput = {
|
|
|
|
|
accountNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
cardNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
iban?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
branch?: Prisma.BankBranchUpdateOneRequiredWithoutBankAccountsNestedInput
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUncheckedUpdateWithoutInventoriesInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
accountNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
cardNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
iban?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
branchId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
purchaseReceiptPayments?: Prisma.PurchaseReceiptPaymentsUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
posAccounts?: Prisma.PosAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
inventoryBankAccounts?: Prisma.InventoryBankAccountUncheckedUpdateManyWithoutBankAccountNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountUncheckedUpdateManyWithoutInventoriesInput = {
|
|
|
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
accountNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
cardNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
iban?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
branchId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count Type BankAccountCountOutputType
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export type BankAccountCountOutputType = {
|
|
|
|
|
inventories: number
|
|
|
|
|
purchaseReceiptPayments: number
|
|
|
|
|
posAccounts: number
|
|
|
|
|
inventoryBankAccounts: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BankAccountCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
inventories?: boolean | BankAccountCountOutputTypeCountInventoriesArgs
|
|
|
|
|
purchaseReceiptPayments?: boolean | BankAccountCountOutputTypeCountPurchaseReceiptPaymentsArgs
|
|
|
|
|
posAccounts?: boolean | BankAccountCountOutputTypeCountPosAccountsArgs
|
|
|
|
|
inventoryBankAccounts?: boolean | BankAccountCountOutputTypeCountInventoryBankAccountsArgs
|
|
|
|
@@ -1086,13 +932,6 @@ export type BankAccountCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.
|
|
|
|
|
select?: Prisma.BankAccountCountOutputTypeSelect<ExtArgs> | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* BankAccountCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type BankAccountCountOutputTypeCountInventoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.InventoryWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* BankAccountCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
@@ -1126,7 +965,6 @@ export type BankAccountSelect<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
|
|
updatedAt?: boolean
|
|
|
|
|
deletedAt?: boolean
|
|
|
|
|
branch?: boolean | Prisma.BankBranchDefaultArgs<ExtArgs>
|
|
|
|
|
inventories?: boolean | Prisma.BankAccount$inventoriesArgs<ExtArgs>
|
|
|
|
|
purchaseReceiptPayments?: boolean | Prisma.BankAccount$purchaseReceiptPaymentsArgs<ExtArgs>
|
|
|
|
|
posAccounts?: boolean | Prisma.BankAccount$posAccountsArgs<ExtArgs>
|
|
|
|
|
inventoryBankAccounts?: boolean | Prisma.BankAccount$inventoryBankAccountsArgs<ExtArgs>
|
|
|
|
@@ -1150,7 +988,6 @@ export type BankAccountSelectScalar = {
|
|
|
|
|
export type BankAccountOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountNumber" | "cardNumber" | "name" | "iban" | "branchId" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["bankAccount"]>
|
|
|
|
|
export type BankAccountInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
branch?: boolean | Prisma.BankBranchDefaultArgs<ExtArgs>
|
|
|
|
|
inventories?: boolean | Prisma.BankAccount$inventoriesArgs<ExtArgs>
|
|
|
|
|
purchaseReceiptPayments?: boolean | Prisma.BankAccount$purchaseReceiptPaymentsArgs<ExtArgs>
|
|
|
|
|
posAccounts?: boolean | Prisma.BankAccount$posAccountsArgs<ExtArgs>
|
|
|
|
|
inventoryBankAccounts?: boolean | Prisma.BankAccount$inventoryBankAccountsArgs<ExtArgs>
|
|
|
|
@@ -1161,7 +998,6 @@ export type $BankAccountPayload<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
|
|
name: "BankAccount"
|
|
|
|
|
objects: {
|
|
|
|
|
branch: Prisma.$BankBranchPayload<ExtArgs>
|
|
|
|
|
inventories: Prisma.$InventoryPayload<ExtArgs>[]
|
|
|
|
|
purchaseReceiptPayments: Prisma.$PurchaseReceiptPaymentsPayload<ExtArgs>[]
|
|
|
|
|
posAccounts: Prisma.$PosAccountPayload<ExtArgs>[]
|
|
|
|
|
inventoryBankAccounts: Prisma.$InventoryBankAccountPayload<ExtArgs>[]
|
|
|
|
@@ -1517,7 +1353,6 @@ readonly fields: BankAccountFieldRefs;
|
|
|
|
|
export interface Prisma__BankAccountClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
|
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
|
|
|
branch<T extends Prisma.BankBranchDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankBranchDefaultArgs<ExtArgs>>): Prisma.Prisma__BankBranchClient<runtime.Types.Result.GetResult<Prisma.$BankBranchPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
inventories<T extends Prisma.BankAccount$inventoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankAccount$inventoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InventoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
purchaseReceiptPayments<T extends Prisma.BankAccount$purchaseReceiptPaymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankAccount$purchaseReceiptPaymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PurchaseReceiptPaymentsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
posAccounts<T extends Prisma.BankAccount$posAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankAccount$posAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PosAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
inventoryBankAccounts<T extends Prisma.BankAccount$inventoryBankAccountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BankAccount$inventoryBankAccountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InventoryBankAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
@@ -1901,30 +1736,6 @@ export type BankAccountDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.I
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* BankAccount.inventories
|
|
|
|
|
*/
|
|
|
|
|
export type BankAccount$inventoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Inventory
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.InventorySelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Inventory
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.InventoryOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.InventoryInclude<ExtArgs> | null
|
|
|
|
|
where?: Prisma.InventoryWhereInput
|
|
|
|
|
orderBy?: Prisma.InventoryOrderByWithRelationInput | Prisma.InventoryOrderByWithRelationInput[]
|
|
|
|
|
cursor?: Prisma.InventoryWhereUniqueInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.InventoryScalarFieldEnum | Prisma.InventoryScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* BankAccount.purchaseReceiptPayments
|
|
|
|
|
*/
|
|
|
|
|