init
This commit is contained in:
@@ -32,7 +32,8 @@ export type SalesInvoiceItemAvgAggregateOutputType = {
|
||||
unitPrice: runtime.Decimal | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
invoiceId: number | null
|
||||
productId: number | null
|
||||
goodId: number | null
|
||||
serviceId: number | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemSumAggregateOutputType = {
|
||||
@@ -41,7 +42,8 @@ export type SalesInvoiceItemSumAggregateOutputType = {
|
||||
unitPrice: runtime.Decimal | null
|
||||
totalAmount: runtime.Decimal | null
|
||||
invoiceId: number | null
|
||||
productId: number | null
|
||||
goodId: number | null
|
||||
serviceId: number | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMinAggregateOutputType = {
|
||||
@@ -51,7 +53,8 @@ export type SalesInvoiceItemMinAggregateOutputType = {
|
||||
totalAmount: runtime.Decimal | null
|
||||
createdAt: Date | null
|
||||
invoiceId: number | null
|
||||
productId: number | null
|
||||
goodId: number | null
|
||||
serviceId: number | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMaxAggregateOutputType = {
|
||||
@@ -61,7 +64,8 @@ export type SalesInvoiceItemMaxAggregateOutputType = {
|
||||
totalAmount: runtime.Decimal | null
|
||||
createdAt: Date | null
|
||||
invoiceId: number | null
|
||||
productId: number | null
|
||||
goodId: number | null
|
||||
serviceId: number | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCountAggregateOutputType = {
|
||||
@@ -71,7 +75,8 @@ export type SalesInvoiceItemCountAggregateOutputType = {
|
||||
totalAmount: number
|
||||
createdAt: number
|
||||
invoiceId: number
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -82,7 +87,8 @@ export type SalesInvoiceItemAvgAggregateInputType = {
|
||||
unitPrice?: true
|
||||
totalAmount?: true
|
||||
invoiceId?: true
|
||||
productId?: true
|
||||
goodId?: true
|
||||
serviceId?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemSumAggregateInputType = {
|
||||
@@ -91,7 +97,8 @@ export type SalesInvoiceItemSumAggregateInputType = {
|
||||
unitPrice?: true
|
||||
totalAmount?: true
|
||||
invoiceId?: true
|
||||
productId?: true
|
||||
goodId?: true
|
||||
serviceId?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMinAggregateInputType = {
|
||||
@@ -101,7 +108,8 @@ export type SalesInvoiceItemMinAggregateInputType = {
|
||||
totalAmount?: true
|
||||
createdAt?: true
|
||||
invoiceId?: true
|
||||
productId?: true
|
||||
goodId?: true
|
||||
serviceId?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMaxAggregateInputType = {
|
||||
@@ -111,7 +119,8 @@ export type SalesInvoiceItemMaxAggregateInputType = {
|
||||
totalAmount?: true
|
||||
createdAt?: true
|
||||
invoiceId?: true
|
||||
productId?: true
|
||||
goodId?: true
|
||||
serviceId?: true
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCountAggregateInputType = {
|
||||
@@ -121,7 +130,8 @@ export type SalesInvoiceItemCountAggregateInputType = {
|
||||
totalAmount?: true
|
||||
createdAt?: true
|
||||
invoiceId?: true
|
||||
productId?: true
|
||||
goodId?: true
|
||||
serviceId?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -218,7 +228,8 @@ export type SalesInvoiceItemGroupByOutputType = {
|
||||
totalAmount: runtime.Decimal
|
||||
createdAt: Date
|
||||
invoiceId: number
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
_count: SalesInvoiceItemCountAggregateOutputType | null
|
||||
_avg: SalesInvoiceItemAvgAggregateOutputType | null
|
||||
_sum: SalesInvoiceItemSumAggregateOutputType | null
|
||||
@@ -251,9 +262,11 @@ export type SalesInvoiceItemWhereInput = {
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
productId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
goodId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
serviceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemOrderByWithRelationInput = {
|
||||
@@ -263,9 +276,11 @@ export type SalesInvoiceItemOrderByWithRelationInput = {
|
||||
totalAmount?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
invoice?: Prisma.SalesInvoiceOrderByWithRelationInput
|
||||
product?: Prisma.ProductOrderByWithRelationInput
|
||||
good?: Prisma.GoodOrderByWithRelationInput
|
||||
service?: Prisma.ServiceOrderByWithRelationInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -278,9 +293,11 @@ export type SalesInvoiceItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
productId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
goodId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
serviceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
}, "id">
|
||||
|
||||
export type SalesInvoiceItemOrderByWithAggregationInput = {
|
||||
@@ -290,7 +307,8 @@ export type SalesInvoiceItemOrderByWithAggregationInput = {
|
||||
totalAmount?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoiceItemCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoiceItemAvgOrderByAggregateInput
|
||||
_max?: Prisma.SalesInvoiceItemMaxOrderByAggregateInput
|
||||
@@ -308,7 +326,8 @@ export type SalesInvoiceItemScalarWhereWithAggregatesInput = {
|
||||
totalAmount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoiceItem"> | Date | string
|
||||
invoiceId?: Prisma.IntWithAggregatesFilter<"SalesInvoiceItem"> | number
|
||||
productId?: Prisma.IntWithAggregatesFilter<"SalesInvoiceItem"> | number
|
||||
goodId?: Prisma.IntWithAggregatesFilter<"SalesInvoiceItem"> | number
|
||||
serviceId?: Prisma.IntWithAggregatesFilter<"SalesInvoiceItem"> | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateInput = {
|
||||
@@ -317,7 +336,8 @@ export type SalesInvoiceItemCreateInput = {
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
product: Prisma.ProductCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateInput = {
|
||||
@@ -327,7 +347,8 @@ export type SalesInvoiceItemUncheckedCreateInput = {
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateInput = {
|
||||
@@ -336,7 +357,8 @@ export type SalesInvoiceItemUpdateInput = {
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
product?: Prisma.ProductUpdateOneRequiredWithoutSalesInvoiceItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateInput = {
|
||||
@@ -346,7 +368,8 @@ export type SalesInvoiceItemUncheckedUpdateInput = {
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyInput = {
|
||||
@@ -356,7 +379,8 @@ export type SalesInvoiceItemCreateManyInput = {
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyMutationInput = {
|
||||
@@ -373,7 +397,8 @@ export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemListRelationFilter = {
|
||||
@@ -393,7 +418,8 @@ export type SalesInvoiceItemCountOrderByAggregateInput = {
|
||||
totalAmount?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemAvgOrderByAggregateInput = {
|
||||
@@ -402,7 +428,8 @@ export type SalesInvoiceItemAvgOrderByAggregateInput = {
|
||||
unitPrice?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMaxOrderByAggregateInput = {
|
||||
@@ -412,7 +439,8 @@ export type SalesInvoiceItemMaxOrderByAggregateInput = {
|
||||
totalAmount?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemMinOrderByAggregateInput = {
|
||||
@@ -422,7 +450,8 @@ export type SalesInvoiceItemMinOrderByAggregateInput = {
|
||||
totalAmount?: Prisma.SortOrder
|
||||
createdAt?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemSumOrderByAggregateInput = {
|
||||
@@ -431,48 +460,49 @@ export type SalesInvoiceItemSumOrderByAggregateInput = {
|
||||
unitPrice?: Prisma.SortOrder
|
||||
totalAmount?: Prisma.SortOrder
|
||||
invoiceId?: Prisma.SortOrder
|
||||
productId?: Prisma.SortOrder
|
||||
goodId?: Prisma.SortOrder
|
||||
serviceId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateNestedManyWithoutProductInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput> | Prisma.SalesInvoiceItemCreateWithoutProductInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyProductInputEnvelope
|
||||
export type SalesInvoiceItemCreateNestedManyWithoutGoodInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput> | Prisma.SalesInvoiceItemCreateWithoutGoodInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyGoodInputEnvelope
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateNestedManyWithoutProductInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput> | Prisma.SalesInvoiceItemCreateWithoutProductInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyProductInputEnvelope
|
||||
export type SalesInvoiceItemUncheckedCreateNestedManyWithoutGoodInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput> | Prisma.SalesInvoiceItemCreateWithoutGoodInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyGoodInputEnvelope
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyWithoutProductNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput> | Prisma.SalesInvoiceItemCreateWithoutProductInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutProductInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutProductInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyProductInputEnvelope
|
||||
export type SalesInvoiceItemUpdateManyWithoutGoodNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput> | Prisma.SalesInvoiceItemCreateWithoutGoodInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutGoodInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutGoodInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyGoodInputEnvelope
|
||||
set?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
disconnect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
delete?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutProductInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutProductInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutProductInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutProductInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutGoodInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutGoodInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutGoodInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutGoodInput[]
|
||||
deleteMany?: Prisma.SalesInvoiceItemScalarWhereInput | Prisma.SalesInvoiceItemScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutProductNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput> | Prisma.SalesInvoiceItemCreateWithoutProductInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutProductInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutProductInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutProductInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyProductInputEnvelope
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput> | Prisma.SalesInvoiceItemCreateWithoutGoodInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutGoodInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutGoodInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutGoodInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyGoodInputEnvelope
|
||||
set?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
disconnect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
delete?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutProductInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutProductInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutProductInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutProductInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutGoodInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutGoodInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutGoodInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutGoodInput[]
|
||||
deleteMany?: Prisma.SalesInvoiceItemScalarWhereInput | Prisma.SalesInvoiceItemScalarWhereInput[]
|
||||
}
|
||||
|
||||
@@ -518,47 +548,91 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceNestedInput = {
|
||||
deleteMany?: Prisma.SalesInvoiceItemScalarWhereInput | Prisma.SalesInvoiceItemScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateWithoutProductInput = {
|
||||
export type SalesInvoiceItemCreateNestedManyWithoutServiceInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyServiceInputEnvelope
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateNestedManyWithoutServiceInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyServiceInputEnvelope
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyWithoutServiceNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutServiceInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutServiceInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyServiceInputEnvelope
|
||||
set?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
disconnect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
delete?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutServiceInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutServiceInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutServiceInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutServiceInput[]
|
||||
deleteMany?: Prisma.SalesInvoiceItemScalarWhereInput | Prisma.SalesInvoiceItemScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
|
||||
upsert?: Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutServiceInput | Prisma.SalesInvoiceItemUpsertWithWhereUniqueWithoutServiceInput[]
|
||||
createMany?: Prisma.SalesInvoiceItemCreateManyServiceInputEnvelope
|
||||
set?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
disconnect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
delete?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
connect?: Prisma.SalesInvoiceItemWhereUniqueInput | Prisma.SalesInvoiceItemWhereUniqueInput[]
|
||||
update?: Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutServiceInput | Prisma.SalesInvoiceItemUpdateWithWhereUniqueWithoutServiceInput[]
|
||||
updateMany?: Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutServiceInput | Prisma.SalesInvoiceItemUpdateManyWithWhereWithoutServiceInput[]
|
||||
deleteMany?: Prisma.SalesInvoiceItemScalarWhereInput | Prisma.SalesInvoiceItemScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateWithoutGoodInput = {
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateWithoutProductInput = {
|
||||
export type SalesInvoiceItemUncheckedCreateWithoutGoodInput = {
|
||||
id?: number
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutProductInput = {
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutGoodInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyProductInputEnvelope = {
|
||||
data: Prisma.SalesInvoiceItemCreateManyProductInput | Prisma.SalesInvoiceItemCreateManyProductInput[]
|
||||
export type SalesInvoiceItemCreateManyGoodInputEnvelope = {
|
||||
data: Prisma.SalesInvoiceItemCreateManyGoodInput | Prisma.SalesInvoiceItemCreateManyGoodInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpsertWithWhereUniqueWithoutProductInput = {
|
||||
export type SalesInvoiceItemUpsertWithWhereUniqueWithoutGoodInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutProductInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutProductInput>
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutGoodInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutGoodInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithWhereUniqueWithoutProductInput = {
|
||||
export type SalesInvoiceItemUpdateWithWhereUniqueWithoutGoodInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutProductInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutProductInput>
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutGoodInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutGoodInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyWithWhereWithoutProductInput = {
|
||||
export type SalesInvoiceItemUpdateManyWithWhereWithoutGoodInput = {
|
||||
where: Prisma.SalesInvoiceItemScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateManyMutationInput, Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutProductInput>
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateManyMutationInput, Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemScalarWhereInput = {
|
||||
@@ -571,7 +645,8 @@ export type SalesInvoiceItemScalarWhereInput = {
|
||||
totalAmount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
invoiceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
productId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
goodId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
serviceId?: Prisma.IntFilter<"SalesInvoiceItem"> | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
@@ -579,7 +654,8 @@ export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
product: Prisma.ProductCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
|
||||
@@ -588,7 +664,8 @@ export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutInvoiceInput = {
|
||||
@@ -617,39 +694,88 @@ export type SalesInvoiceItemUpdateManyWithWhereWithoutInvoiceInput = {
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateManyMutationInput, Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyProductInput = {
|
||||
export type SalesInvoiceItemCreateWithoutServiceInput = {
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSalesInvoiceItemsInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
|
||||
id?: number
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
goodId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutProductInput = {
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutServiceInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyServiceInputEnvelope = {
|
||||
data: Prisma.SalesInvoiceItemCreateManyServiceInput | Prisma.SalesInvoiceItemCreateManyServiceInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpsertWithWhereUniqueWithoutServiceInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutServiceInput>
|
||||
create: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithWhereUniqueWithoutServiceInput = {
|
||||
where: Prisma.SalesInvoiceItemWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedUpdateWithoutServiceInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyWithWhereWithoutServiceInput = {
|
||||
where: Prisma.SalesInvoiceItemScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.SalesInvoiceItemUpdateManyMutationInput, Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput>
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyGoodInput = {
|
||||
id?: number
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutGoodInput = {
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateWithoutProductInput = {
|
||||
export type SalesInvoiceItemUncheckedUpdateWithoutGoodInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutProductInput = {
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
@@ -658,7 +784,8 @@ export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
@@ -666,7 +793,8 @@ export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
product?: Prisma.ProductUpdateOneRequiredWithoutSalesInvoiceItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
|
||||
@@ -675,7 +803,8 @@ export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
@@ -684,7 +813,47 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
productId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
serviceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyServiceInput = {
|
||||
id?: number
|
||||
count: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Date | string
|
||||
invoiceId: number
|
||||
goodId: number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSalesInvoiceItemsNestedInput
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
id?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
count?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
unitPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
totalAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoiceId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
goodId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
|
||||
@@ -696,9 +865,11 @@ export type SalesInvoiceItemSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
totalAmount?: boolean
|
||||
createdAt?: boolean
|
||||
invoiceId?: boolean
|
||||
productId?: boolean
|
||||
goodId?: boolean
|
||||
serviceId?: boolean
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
service?: boolean | Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoiceItem"]>
|
||||
|
||||
|
||||
@@ -710,20 +881,23 @@ export type SalesInvoiceItemSelectScalar = {
|
||||
totalAmount?: boolean
|
||||
createdAt?: boolean
|
||||
invoiceId?: boolean
|
||||
productId?: boolean
|
||||
goodId?: boolean
|
||||
serviceId?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "count" | "unitPrice" | "totalAmount" | "createdAt" | "invoiceId" | "productId", ExtArgs["result"]["salesInvoiceItem"]>
|
||||
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "count" | "unitPrice" | "totalAmount" | "createdAt" | "invoiceId" | "goodId" | "serviceId", ExtArgs["result"]["salesInvoiceItem"]>
|
||||
export type SalesInvoiceItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
service?: boolean | Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "SalesInvoiceItem"
|
||||
objects: {
|
||||
invoice: Prisma.$SalesInvoicePayload<ExtArgs>
|
||||
product: Prisma.$ProductPayload<ExtArgs>
|
||||
good: Prisma.$GoodPayload<ExtArgs> | null
|
||||
service: Prisma.$ServicePayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: number
|
||||
@@ -732,7 +906,8 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
totalAmount: runtime.Decimal
|
||||
createdAt: Date
|
||||
invoiceId: number
|
||||
productId: number
|
||||
goodId: number
|
||||
serviceId: number
|
||||
}, ExtArgs["result"]["salesInvoiceItem"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1074,7 +1249,8 @@ readonly fields: SalesInvoiceItemFieldRefs;
|
||||
export interface Prisma__SalesInvoiceItemClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
invoice<T extends Prisma.SalesInvoiceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceDefaultArgs<ExtArgs>>): Prisma.Prisma__SalesInvoiceClient<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
good<T extends Prisma.SalesInvoiceItem$goodArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceItem$goodArgs<ExtArgs>>): Prisma.Prisma__GoodClient<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
service<T extends Prisma.SalesInvoiceItem$serviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<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.
|
||||
@@ -1110,7 +1286,8 @@ export interface SalesInvoiceItemFieldRefs {
|
||||
readonly totalAmount: Prisma.FieldRef<"SalesInvoiceItem", 'Decimal'>
|
||||
readonly createdAt: Prisma.FieldRef<"SalesInvoiceItem", 'DateTime'>
|
||||
readonly invoiceId: Prisma.FieldRef<"SalesInvoiceItem", 'Int'>
|
||||
readonly productId: Prisma.FieldRef<"SalesInvoiceItem", 'Int'>
|
||||
readonly goodId: Prisma.FieldRef<"SalesInvoiceItem", 'Int'>
|
||||
readonly serviceId: Prisma.FieldRef<"SalesInvoiceItem", 'Int'>
|
||||
}
|
||||
|
||||
|
||||
@@ -1453,6 +1630,44 @@ export type SalesInvoiceItemDeleteManyArgs<ExtArgs extends runtime.Types.Extensi
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceItem.good
|
||||
*/
|
||||
export type SalesInvoiceItem$goodArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Good
|
||||
*/
|
||||
select?: Prisma.GoodSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Good
|
||||
*/
|
||||
omit?: Prisma.GoodOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.GoodInclude<ExtArgs> | null
|
||||
where?: Prisma.GoodWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceItem.service
|
||||
*/
|
||||
export type SalesInvoiceItem$serviceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Service
|
||||
*/
|
||||
select?: Prisma.ServiceSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Service
|
||||
*/
|
||||
omit?: Prisma.ServiceOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.ServiceInclude<ExtArgs> | null
|
||||
where?: Prisma.ServiceWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* SalesInvoiceItem without action
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user