feat: add response DTOs for various services across modules
- Created response DTOs for ConfigService, AppService, AuthService, CatalogsService, AccountsService, BusinessActivityComplexesService, ComplexPosesService, SalesInvoicesService, BusinessActivitiesService, ConsumerBusinessActivityGoodsService, and others. - Implemented Create, FindAll, FindOne, and Update response types for services in consumer, partners, and POS modules. - Added request DTOs for creating and updating goods in the consumer business activities module. - Introduced filtering DTO for partner licenses. - Enhanced response mapping for partner license activations.
This commit is contained in:
@@ -30,7 +30,7 @@ export type CustomerLegalMinAggregateOutputType = {
|
||||
registration_number: string | null
|
||||
postal_code: string | null
|
||||
customer_id: string | null
|
||||
complex_id: string | null
|
||||
business_activity_id: string | null
|
||||
}
|
||||
|
||||
export type CustomerLegalMaxAggregateOutputType = {
|
||||
@@ -39,7 +39,7 @@ export type CustomerLegalMaxAggregateOutputType = {
|
||||
registration_number: string | null
|
||||
postal_code: string | null
|
||||
customer_id: string | null
|
||||
complex_id: string | null
|
||||
business_activity_id: string | null
|
||||
}
|
||||
|
||||
export type CustomerLegalCountAggregateOutputType = {
|
||||
@@ -48,7 +48,7 @@ export type CustomerLegalCountAggregateOutputType = {
|
||||
registration_number: number
|
||||
postal_code: number
|
||||
customer_id: number
|
||||
complex_id: number
|
||||
business_activity_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ export type CustomerLegalMinAggregateInputType = {
|
||||
registration_number?: true
|
||||
postal_code?: true
|
||||
customer_id?: true
|
||||
complex_id?: true
|
||||
business_activity_id?: true
|
||||
}
|
||||
|
||||
export type CustomerLegalMaxAggregateInputType = {
|
||||
@@ -68,7 +68,7 @@ export type CustomerLegalMaxAggregateInputType = {
|
||||
registration_number?: true
|
||||
postal_code?: true
|
||||
customer_id?: true
|
||||
complex_id?: true
|
||||
business_activity_id?: true
|
||||
}
|
||||
|
||||
export type CustomerLegalCountAggregateInputType = {
|
||||
@@ -77,7 +77,7 @@ export type CustomerLegalCountAggregateInputType = {
|
||||
registration_number?: true
|
||||
postal_code?: true
|
||||
customer_id?: true
|
||||
complex_id?: true
|
||||
business_activity_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -156,10 +156,10 @@ export type CustomerLegalGroupByArgs<ExtArgs extends runtime.Types.Extensions.In
|
||||
export type CustomerLegalGroupByOutputType = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
complex_id: string
|
||||
business_activity_id: string
|
||||
_count: CustomerLegalCountAggregateOutputType | null
|
||||
_min: CustomerLegalMinAggregateOutputType | null
|
||||
_max: CustomerLegalMaxAggregateOutputType | null
|
||||
@@ -186,48 +186,48 @@ export type CustomerLegalWhereInput = {
|
||||
NOT?: Prisma.CustomerLegalWhereInput | Prisma.CustomerLegalWhereInput[]
|
||||
company_name?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringNullableFilter<"CustomerLegal"> | string | null
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
business_activity_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
business_activity?: Prisma.XOR<Prisma.BusinessActivityScalarRelationFilter, Prisma.BusinessActivityWhereInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalOrderByWithRelationInput = {
|
||||
company_name?: Prisma.SortOrder
|
||||
economic_code?: Prisma.SortOrder
|
||||
registration_number?: Prisma.SortOrder
|
||||
registration_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
postal_code?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
customer?: Prisma.CustomerOrderByWithRelationInput
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
business_activity?: Prisma.BusinessActivityOrderByWithRelationInput
|
||||
_relevance?: Prisma.CustomerLegalOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type CustomerLegalWhereUniqueInput = Prisma.AtLeast<{
|
||||
customer_id?: string
|
||||
complex_id_registration_number?: Prisma.CustomerLegalComplex_idRegistration_numberCompoundUniqueInput
|
||||
business_activity_id_economic_code?: Prisma.CustomerLegalBusiness_activity_idEconomic_codeCompoundUniqueInput
|
||||
AND?: Prisma.CustomerLegalWhereInput | Prisma.CustomerLegalWhereInput[]
|
||||
OR?: Prisma.CustomerLegalWhereInput[]
|
||||
NOT?: Prisma.CustomerLegalWhereInput | Prisma.CustomerLegalWhereInput[]
|
||||
company_name?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringNullableFilter<"CustomerLegal"> | string | null
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
business_activity_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">
|
||||
business_activity?: Prisma.XOR<Prisma.BusinessActivityScalarRelationFilter, Prisma.BusinessActivityWhereInput>
|
||||
}, "customer_id" | "business_activity_id_economic_code">
|
||||
|
||||
export type CustomerLegalOrderByWithAggregationInput = {
|
||||
company_name?: Prisma.SortOrder
|
||||
economic_code?: Prisma.SortOrder
|
||||
registration_number?: Prisma.SortOrder
|
||||
registration_number?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
postal_code?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
_count?: Prisma.CustomerLegalCountOrderByAggregateInput
|
||||
_max?: Prisma.CustomerLegalMaxOrderByAggregateInput
|
||||
_min?: Prisma.CustomerLegalMinOrderByAggregateInput
|
||||
@@ -239,71 +239,71 @@ export type CustomerLegalScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.CustomerLegalScalarWhereWithAggregatesInput | Prisma.CustomerLegalScalarWhereWithAggregatesInput[]
|
||||
company_name?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringNullableWithAggregatesFilter<"CustomerLegal"> | string | null
|
||||
postal_code?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
customer_id?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
business_activity_id?: Prisma.StringWithAggregatesFilter<"CustomerLegal"> | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutCustomer_legalInput
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutCustomer_legalsInput
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutLegalInput
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutCustomer_legalsInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
complex_id: string
|
||||
business_activity_id: string
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomer_legalNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutLegalNestedInput
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateManyInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
complex_id: string
|
||||
business_activity_id: string
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateManyMutationInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateManyInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalListRelationFilter = {
|
||||
@@ -327,9 +327,9 @@ export type CustomerLegalOrderByRelevanceInput = {
|
||||
search: string
|
||||
}
|
||||
|
||||
export type CustomerLegalComplex_idRegistration_numberCompoundUniqueInput = {
|
||||
complex_id: string
|
||||
registration_number: string
|
||||
export type CustomerLegalBusiness_activity_idEconomic_codeCompoundUniqueInput = {
|
||||
business_activity_id: string
|
||||
economic_code: string
|
||||
}
|
||||
|
||||
export type CustomerLegalCountOrderByAggregateInput = {
|
||||
@@ -338,7 +338,7 @@ export type CustomerLegalCountOrderByAggregateInput = {
|
||||
registration_number?: Prisma.SortOrder
|
||||
postal_code?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerLegalMaxOrderByAggregateInput = {
|
||||
@@ -347,7 +347,7 @@ export type CustomerLegalMaxOrderByAggregateInput = {
|
||||
registration_number?: Prisma.SortOrder
|
||||
postal_code?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type CustomerLegalMinOrderByAggregateInput = {
|
||||
@@ -356,48 +356,48 @@ export type CustomerLegalMinOrderByAggregateInput = {
|
||||
registration_number?: Prisma.SortOrder
|
||||
postal_code?: Prisma.SortOrder
|
||||
customer_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
business_activity_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
|
||||
export type CustomerLegalCreateNestedManyWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput> | Prisma.CustomerLegalCreateWithoutBusiness_activityInput[] | Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput | Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyBusiness_activityInputEnvelope
|
||||
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
|
||||
export type CustomerLegalUncheckedCreateNestedManyWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput> | Prisma.CustomerLegalCreateWithoutBusiness_activityInput[] | Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput | Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyBusiness_activityInputEnvelope
|
||||
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
|
||||
export type CustomerLegalUpdateManyWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput> | Prisma.CustomerLegalCreateWithoutBusiness_activityInput[] | Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput | Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput[]
|
||||
upsert?: Prisma.CustomerLegalUpsertWithWhereUniqueWithoutBusiness_activityInput | Prisma.CustomerLegalUpsertWithWhereUniqueWithoutBusiness_activityInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyBusiness_activityInputEnvelope
|
||||
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[]
|
||||
update?: Prisma.CustomerLegalUpdateWithWhereUniqueWithoutBusiness_activityInput | Prisma.CustomerLegalUpdateWithWhereUniqueWithoutBusiness_activityInput[]
|
||||
updateMany?: Prisma.CustomerLegalUpdateManyWithWhereWithoutBusiness_activityInput | Prisma.CustomerLegalUpdateManyWithWhereWithoutBusiness_activityInput[]
|
||||
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
|
||||
export type CustomerLegalUncheckedUpdateManyWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput> | Prisma.CustomerLegalCreateWithoutBusiness_activityInput[] | Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput[]
|
||||
connectOrCreate?: Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput | Prisma.CustomerLegalCreateOrConnectWithoutBusiness_activityInput[]
|
||||
upsert?: Prisma.CustomerLegalUpsertWithWhereUniqueWithoutBusiness_activityInput | Prisma.CustomerLegalUpsertWithWhereUniqueWithoutBusiness_activityInput[]
|
||||
createMany?: Prisma.CustomerLegalCreateManyBusiness_activityInputEnvelope
|
||||
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[]
|
||||
update?: Prisma.CustomerLegalUpdateWithWhereUniqueWithoutBusiness_activityInput | Prisma.CustomerLegalUpdateWithWhereUniqueWithoutBusiness_activityInput[]
|
||||
updateMany?: Prisma.CustomerLegalUpdateManyWithWhereWithoutBusiness_activityInput | Prisma.CustomerLegalUpdateManyWithWhereWithoutBusiness_activityInput[]
|
||||
deleteMany?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
}
|
||||
|
||||
@@ -433,46 +433,46 @@ export type CustomerLegalUncheckedUpdateOneWithoutCustomerNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerLegalUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerLegalUpdateWithoutCustomerInput>, Prisma.CustomerLegalUncheckedUpdateWithoutCustomerInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateWithoutComplexInput = {
|
||||
export type CustomerLegalCreateWithoutBusiness_activityInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutCustomer_legalInput
|
||||
customer: Prisma.CustomerCreateNestedOneWithoutLegalInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateWithoutComplexInput = {
|
||||
export type CustomerLegalUncheckedCreateWithoutBusiness_activityInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateOrConnectWithoutComplexInput = {
|
||||
export type CustomerLegalCreateOrConnectWithoutBusiness_activityInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.CustomerLegalCreateManyComplexInput | Prisma.CustomerLegalCreateManyComplexInput[]
|
||||
export type CustomerLegalCreateManyBusiness_activityInputEnvelope = {
|
||||
data: Prisma.CustomerLegalCreateManyBusiness_activityInput | Prisma.CustomerLegalCreateManyBusiness_activityInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type CustomerLegalUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
export type CustomerLegalUpsertWithWhereUniqueWithoutBusiness_activityInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutComplexInput, Prisma.CustomerLegalUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutComplexInput, Prisma.CustomerLegalUncheckedCreateWithoutComplexInput>
|
||||
update: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedUpdateWithoutBusiness_activityInput>
|
||||
create: Prisma.XOR<Prisma.CustomerLegalCreateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedCreateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
export type CustomerLegalUpdateWithWhereUniqueWithoutBusiness_activityInput = {
|
||||
where: Prisma.CustomerLegalWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutComplexInput, Prisma.CustomerLegalUncheckedUpdateWithoutComplexInput>
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateWithoutBusiness_activityInput, Prisma.CustomerLegalUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateManyWithWhereWithoutComplexInput = {
|
||||
export type CustomerLegalUpdateManyWithWhereWithoutBusiness_activityInput = {
|
||||
where: Prisma.CustomerLegalScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateManyMutationInput, Prisma.CustomerLegalUncheckedUpdateManyWithoutComplexInput>
|
||||
data: Prisma.XOR<Prisma.CustomerLegalUpdateManyMutationInput, Prisma.CustomerLegalUncheckedUpdateManyWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type CustomerLegalScalarWhereInput = {
|
||||
@@ -481,26 +481,26 @@ export type CustomerLegalScalarWhereInput = {
|
||||
NOT?: Prisma.CustomerLegalScalarWhereInput | Prisma.CustomerLegalScalarWhereInput[]
|
||||
company_name?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringNullableFilter<"CustomerLegal"> | string | null
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
business_activity_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateWithoutCustomerInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutCustomer_legalsInput
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutCustomer_legalsInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedCreateWithoutCustomerInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
complex_id: string
|
||||
business_activity_id: string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateOrConnectWithoutCustomerInput = {
|
||||
@@ -522,47 +522,47 @@ export type CustomerLegalUpdateToOneWithWhereWithoutCustomerInput = {
|
||||
export type CustomerLegalUpdateWithoutCustomerInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutCustomer_legalsNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateWithoutCustomerInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalCreateManyComplexInput = {
|
||||
export type CustomerLegalCreateManyBusiness_activityInput = {
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number?: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
}
|
||||
|
||||
export type CustomerLegalUpdateWithoutComplexInput = {
|
||||
export type CustomerLegalUpdateWithoutBusiness_activityInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutCustomer_legalNestedInput
|
||||
customer?: Prisma.CustomerUpdateOneRequiredWithoutLegalNestedInput
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateWithoutComplexInput = {
|
||||
export type CustomerLegalUncheckedUpdateWithoutBusiness_activityInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type CustomerLegalUncheckedUpdateManyWithoutComplexInput = {
|
||||
export type CustomerLegalUncheckedUpdateManyWithoutBusiness_activityInput = {
|
||||
company_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
economic_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
postal_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
customer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
@@ -575,9 +575,9 @@ export type CustomerLegalSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
registration_number?: boolean
|
||||
postal_code?: boolean
|
||||
customer_id?: boolean
|
||||
complex_id?: boolean
|
||||
business_activity_id?: boolean
|
||||
customer?: boolean | Prisma.CustomerDefaultArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
business_activity?: boolean | Prisma.BusinessActivityDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["customerLegal"]>
|
||||
|
||||
|
||||
@@ -588,28 +588,28 @@ export type CustomerLegalSelectScalar = {
|
||||
registration_number?: boolean
|
||||
postal_code?: boolean
|
||||
customer_id?: boolean
|
||||
complex_id?: boolean
|
||||
business_activity_id?: boolean
|
||||
}
|
||||
|
||||
export type CustomerLegalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"company_name" | "economic_code" | "registration_number" | "postal_code" | "customer_id" | "complex_id", ExtArgs["result"]["customerLegal"]>
|
||||
export type CustomerLegalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"company_name" | "economic_code" | "registration_number" | "postal_code" | "customer_id" | "business_activity_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>
|
||||
business_activity?: boolean | Prisma.BusinessActivityDefaultArgs<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>
|
||||
business_activity: Prisma.$BusinessActivityPayload<ExtArgs>
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
company_name: string
|
||||
economic_code: string
|
||||
registration_number: string
|
||||
registration_number: string | null
|
||||
postal_code: string
|
||||
customer_id: string
|
||||
complex_id: string
|
||||
business_activity_id: string
|
||||
}, ExtArgs["result"]["customerLegal"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -951,7 +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>
|
||||
business_activity<T extends Prisma.BusinessActivityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessActivityDefaultArgs<ExtArgs>>): Prisma.Prisma__BusinessActivityClient<runtime.Types.Result.GetResult<Prisma.$BusinessActivityPayload<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.
|
||||
@@ -986,7 +986,7 @@ export interface CustomerLegalFieldRefs {
|
||||
readonly registration_number: Prisma.FieldRef<"CustomerLegal", 'String'>
|
||||
readonly postal_code: Prisma.FieldRef<"CustomerLegal", 'String'>
|
||||
readonly customer_id: Prisma.FieldRef<"CustomerLegal", 'String'>
|
||||
readonly complex_id: Prisma.FieldRef<"CustomerLegal", 'String'>
|
||||
readonly business_activity_id: Prisma.FieldRef<"CustomerLegal", 'String'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user