update pos consumer module
This commit is contained in:
@@ -191,6 +191,7 @@ export type CustomerLegalWhereInput = {
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalOrderByWithRelationInput = {
|
||||
@@ -201,6 +202,7 @@ export type CustomerLegalOrderByWithRelationInput = {
|
||||
postal_code?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
customer?: Prisma.CustomerOrderByWithRelationInput
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
_relevance?: Prisma.CustomerLegalOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -216,6 +218,7 @@ export type CustomerLegalWhereUniqueInput = Prisma.AtLeast<{
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
}, "customer_id" | "complex_id_registration_number">
|
||||
|
||||
export type CustomerLegalOrderByWithAggregationInput = {
|
||||
@@ -247,8 +250,8 @@ export type CustomerLegalCreateInput = {
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
postal_code: string
|
||||
complex_id: string
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutCustomerLegalsInput
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutCustomer_legalsInput
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutCustomerLegalsInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateInput = {
|
||||
@@ -265,8 +268,8 @@ export type CustomerLegalUpdateInput = {
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomerLegalsNestedInput
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutCustomerLegalsNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateInput = {
|
||||
@@ -292,7 +295,6 @@ export type CustomerLegalUpdateManyMutationInput = {
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateManyInput = {
|
||||
@@ -304,6 +306,16 @@ export type CustomerLegalUncheckedUpdateManyInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalListRelationFilter = {
|
||||
every?: Prisma.CustomerLegalWhereInput
|
||||
some?: Prisma.CustomerLegalWhereInput
|
||||
none?: Prisma.CustomerLegalWhereInput
|
||||
}
|
||||
|
||||
export type CustomerLegalOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerLegalNullableScalarRelationFilter = {
|
||||
is?: Prisma.CustomerLegalWhereInput | null
|
||||
isNot?: Prisma.CustomerLegalWhereInput | null
|
||||
@@ -347,6 +359,48 @@ export type CustomerLegalMinOrderByAggregateInput = {
|
||||
complex_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput> | Prisma.CustomerLegalCreateWithoutComplexInput[] | Prisma.CustomerLegalUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutComplexInput | Prisma.CustomerLegalCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput> | Prisma.CustomerLegalCreateWithoutComplexInput[] | Prisma.CustomerLegalUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutComplexInput | Prisma.CustomerLegalCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput> | Prisma.CustomerLegalCreateWithoutComplexInput[] | Prisma.CustomerLegalUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutComplexInput | Prisma.CustomerLegalCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.CustomerLegalUpsertWithWhereUniqueWithoutComplexInput | Prisma.CustomerLegalUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyComplexInputEnvelope
|
||||
set?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
disconnect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
delete?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
connect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
update?: Prisma.CustomerLegalUpdateWithWhereUniqueWithoutComplexInput | Prisma.CustomerLegalUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.CustomerLegalUpdateManyWithWhereWithoutComplexInput | Prisma.CustomerLegalUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput> | Prisma.CustomerLegalCreateWithoutComplexInput[] | Prisma.CustomerLegalUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutComplexInput | Prisma.CustomerLegalCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.CustomerLegalUpsertWithWhereUniqueWithoutComplexInput | Prisma.CustomerLegalUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyComplexInputEnvelope
|
||||
set?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
disconnect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
delete?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
connect?: Prisma.CustomerLegalWhereUniqueInput | Prisma.CustomerLegalWhereUniqueInput[]
|
||||
update?: Prisma.CustomerLegalUpdateWithWhereUniqueWithoutComplexInput | Prisma.CustomerLegalUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.CustomerLegalUpdateManyWithWhereWithoutComplexInput | Prisma.CustomerLegalUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateNestedOneWithoutCustomerInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutCustomerInput, Prisma.CustomerLegalUncheckedCreateWithoutCustomerInput>
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutCustomerInput
|
||||
@@ -379,12 +433,66 @@ export type CustomerLegalUncheckedUpdateOneWithoutCustomerNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerLegalUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerLegalUpdateWithoutCustomerInput>, Prisma.CustomerLegalUncheckedUpdateWithoutCustomerInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateWithoutComplexInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
postal_code: string
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutCustomer_legalsInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateWithoutComplexInput = {
|
||||
customer_id: string
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
postal_code: string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.CustomerLegalCreateManyComplexInput | Prisma.CustomerLegalCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type CustomerLegalUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutComplexInput, Prisma.CustomerLegalUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutComplexInput, Prisma.CustomerLegalUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.CustomerLegalScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateManyMutationInput, Prisma.CustomerLegalUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalScalarWhereInput = {
|
||||
AND?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
OR?: Prisma.CustomerLegalScalarWhereInput[]
|
||||
NOT?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
customer_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
company_name?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateWithoutCustomerInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
postal_code: string
|
||||
complex_id: string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutCustomerLegalsInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateWithoutCustomerInput = {
|
||||
@@ -416,7 +524,7 @@ export type CustomerLegalUpdateWithoutCustomerInput = {
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutCustomerLegalsNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateWithoutCustomerInput = {
|
||||
@@ -427,6 +535,38 @@ export type CustomerLegalUncheckedUpdateWithoutCustomerInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateManyComplexInput = {
|
||||
customer_id: string
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
postal_code: string
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateWithoutComplexInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateWithoutComplexInput = {
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateManyWithoutComplexInput = {
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type CustomerLegalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
@@ -437,6 +577,7 @@ export type CustomerLegalSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
postal_code?: boolean
|
||||
complex_id?: boolean
|
||||
customer?: boolean | Prisma.CustomerDefaultArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["customerLegal"]>
|
||||
|
||||
|
||||
@@ -453,12 +594,14 @@ export type CustomerLegalSelectScalar = {
|
||||
export type CustomerLegalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"customer_id" | "company_name" | "economic_code" | "registration_number" | "postal_code" | "complex_id", ExtArgs["result"]["customerLegal"]>
|
||||
export type CustomerLegalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
customer?: boolean | Prisma.CustomerDefaultArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $CustomerLegalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "CustomerLegal"
|
||||
objects: {
|
||||
customer: Prisma.$CustomerPayload<ExtArgs>
|
||||
complex: Prisma.$ComplexPayload<ExtArgs>
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
customer_id: string
|
||||
@@ -808,6 +951,7 @@ readonly fields: CustomerLegalFieldRefs;
|
||||
export interface Prisma__CustomerLegalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
customer<T extends Prisma.CustomerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CustomerDefaultArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
complex<T extends Prisma.ComplexDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComplexDefaultArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<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.
|
||||
|
||||
Reference in New Issue
Block a user