refactor(inventories): restructure inventory and pos account modules, remove deprecated DTOs and controllers
- Removed create and update DTOs for inventory. - Deleted inventories controller and service. - Introduced new inventory bank accounts module with controller and service. - Added new pos accounts module with controller and service. - Updated Prisma models to reflect changes in bank account relationships. - Adjusted PosAccount and SalesInvoice models for stricter type definitions. - Implemented new response mapping for inventory and pos account services.
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -216,7 +216,7 @@ export type PosAccountGroupByOutputType = {
|
||||
name: string
|
||||
code: string
|
||||
description: string | null
|
||||
bankAccountId: number | null
|
||||
bankAccountId: number
|
||||
inventoryId: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
@@ -251,7 +251,7 @@ export type PosAccountWhereInput = {
|
||||
name?: Prisma.StringFilter<"PosAccount"> | string
|
||||
code?: Prisma.StringFilter<"PosAccount"> | string
|
||||
description?: Prisma.StringNullableFilter<"PosAccount"> | string | null
|
||||
bankAccountId?: Prisma.IntNullableFilter<"PosAccount"> | number | null
|
||||
bankAccountId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
inventoryId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
createdAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
@@ -266,7 +266,7 @@ export type PosAccountOrderByWithRelationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
bankAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
bankAccountId?: Prisma.SortOrder
|
||||
inventoryId?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
@@ -285,7 +285,7 @@ export type PosAccountWhereUniqueInput = Prisma.AtLeast<{
|
||||
NOT?: Prisma.PosAccountWhereInput | Prisma.PosAccountWhereInput[]
|
||||
name?: Prisma.StringFilter<"PosAccount"> | string
|
||||
description?: Prisma.StringNullableFilter<"PosAccount"> | string | null
|
||||
bankAccountId?: Prisma.IntNullableFilter<"PosAccount"> | number | null
|
||||
bankAccountId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
inventoryId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
createdAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
@@ -300,7 +300,7 @@ export type PosAccountOrderByWithAggregationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
bankAccountId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
bankAccountId?: Prisma.SortOrder
|
||||
inventoryId?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
@@ -320,7 +320,7 @@ export type PosAccountScalarWhereWithAggregatesInput = {
|
||||
name?: Prisma.StringWithAggregatesFilter<"PosAccount"> | string
|
||||
code?: Prisma.StringWithAggregatesFilter<"PosAccount"> | string
|
||||
description?: Prisma.StringNullableWithAggregatesFilter<"PosAccount"> | string | null
|
||||
bankAccountId?: Prisma.IntNullableWithAggregatesFilter<"PosAccount"> | number | null
|
||||
bankAccountId?: Prisma.IntWithAggregatesFilter<"PosAccount"> | number
|
||||
inventoryId?: Prisma.IntWithAggregatesFilter<"PosAccount"> | number
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PosAccount"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PosAccount"> | Date | string
|
||||
@@ -344,7 +344,7 @@ export type PosAccountUncheckedCreateInput = {
|
||||
name: string
|
||||
code: string
|
||||
description?: string | null
|
||||
bankAccountId?: number | null
|
||||
bankAccountId: number
|
||||
inventoryId: number
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
@@ -368,7 +368,7 @@ export type PosAccountUncheckedUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
bankAccountId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
inventoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -380,7 +380,7 @@ export type PosAccountCreateManyInput = {
|
||||
name: string
|
||||
code: string
|
||||
description?: string | null
|
||||
bankAccountId?: number | null
|
||||
bankAccountId: number
|
||||
inventoryId: number
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
@@ -401,7 +401,7 @@ export type PosAccountUncheckedUpdateManyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
bankAccountId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
inventoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -654,7 +654,7 @@ export type PosAccountScalarWhereInput = {
|
||||
name?: Prisma.StringFilter<"PosAccount"> | string
|
||||
code?: Prisma.StringFilter<"PosAccount"> | string
|
||||
description?: Prisma.StringNullableFilter<"PosAccount"> | string | null
|
||||
bankAccountId?: Prisma.IntNullableFilter<"PosAccount"> | number | null
|
||||
bankAccountId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
inventoryId?: Prisma.IntFilter<"PosAccount"> | number
|
||||
createdAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"PosAccount"> | Date | string
|
||||
@@ -677,7 +677,7 @@ export type PosAccountUncheckedCreateWithoutInventoryInput = {
|
||||
name: string
|
||||
code: string
|
||||
description?: string | null
|
||||
bankAccountId?: number | null
|
||||
bankAccountId: number
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
@@ -805,7 +805,7 @@ export type PosAccountCreateManyInventoryInput = {
|
||||
name: string
|
||||
code: string
|
||||
description?: string | null
|
||||
bankAccountId?: number | null
|
||||
bankAccountId: number
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
deletedAt?: Date | string | null
|
||||
@@ -827,7 +827,7 @@ export type PosAccountUncheckedUpdateWithoutInventoryInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
bankAccountId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
@@ -838,7 +838,7 @@ export type PosAccountUncheckedUpdateManyWithoutInventoryInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
bankAccountId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
bankAccountId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
@@ -935,7 +935,7 @@ export type $PosAccountPayload<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
name: string
|
||||
code: string
|
||||
description: string | null
|
||||
bankAccountId: number | null
|
||||
bankAccountId: number
|
||||
inventoryId: number
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
|
||||
@@ -547,6 +547,14 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerNestedInput = {
|
||||
deleteMany?: Prisma.SalesInvoiceScalarWhereInput | Prisma.SalesInvoiceScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type NullableIntFieldUpdateOperationsInput = {
|
||||
set?: number | null
|
||||
increment?: number
|
||||
decrement?: number
|
||||
multiply?: number
|
||||
divide?: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateNestedOneWithoutItemsInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutItemsInput, Prisma.SalesInvoiceUncheckedCreateWithoutItemsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutItemsInput
|
||||
|
||||
Reference in New Issue
Block a user