transform core api codes into this project, update modules as admin/pos context modules

This commit is contained in:
2026-03-07 11:25:11 +03:30
parent b949500482
commit 8c5f1d4d49
167 changed files with 26975 additions and 1837 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
-8
View File
@@ -387,14 +387,6 @@ export type CustomerNullableScalarRelationFilter = {
isNot?: Prisma.CustomerWhereInput | null
}
export type StringFieldUpdateOperationsInput = {
set?: string
}
export type DateTimeFieldUpdateOperationsInput = {
set?: Date | string
}
export type NullableDateTimeFieldUpdateOperationsInput = {
set?: Date | string | null
}
@@ -401,10 +401,6 @@ export type CustomerIndividualUncheckedUpdateOneWithoutCustomerNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerIndividualUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerIndividualUpdateWithoutCustomerInput>, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
}
export type NullableStringFieldUpdateOperationsInput = {
set?: string | null
}
export type CustomerIndividualCreateWithoutCustomerInput = {
first_name: string
last_name: string
+2 -2
View File
@@ -206,17 +206,17 @@ export type CustomerLegalOrderByWithRelationInput = {
export type CustomerLegalWhereUniqueInput = Prisma.AtLeast<{
customer_id?: string
registration_number?: string
complex_id_registration_number?: Prisma.CustomerLegalComplex_idRegistration_numberCompoundUniqueInput
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
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
}, "customer_id" | "registration_number" | "complex_id_registration_number">
}, "customer_id" | "complex_id_registration_number">
export type CustomerLegalOrderByWithAggregationInput = {
customer_id?: Prisma.SortOrder
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+443 -49
View File
@@ -29,8 +29,9 @@ export type GoodCategoryMinAggregateOutputType = {
name: string | null
description: string | null
image_url: string | null
account_id: string | null
complex_id: string | null
is_default_guild_good: boolean | null
guild_id: string | null
created_at: Date | null
updated_at: Date | null
deleted_at: Date | null
@@ -41,8 +42,9 @@ export type GoodCategoryMaxAggregateOutputType = {
name: string | null
description: string | null
image_url: string | null
account_id: string | null
complex_id: string | null
is_default_guild_good: boolean | null
guild_id: string | null
created_at: Date | null
updated_at: Date | null
deleted_at: Date | null
@@ -53,8 +55,9 @@ export type GoodCategoryCountAggregateOutputType = {
name: number
description: number
image_url: number
account_id: number
complex_id: number
is_default_guild_good: number
guild_id: number
created_at: number
updated_at: number
deleted_at: number
@@ -67,8 +70,9 @@ export type GoodCategoryMinAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -79,8 +83,9 @@ export type GoodCategoryMaxAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -91,8 +96,9 @@ export type GoodCategoryCountAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -176,8 +182,9 @@ export type GoodCategoryGroupByOutputType = {
name: string
description: string | null
image_url: string | null
account_id: string
complex_id: string
complex_id: string | null
is_default_guild_good: boolean
guild_id: string | null
created_at: Date
updated_at: Date
deleted_at: Date | null
@@ -209,12 +216,15 @@ export type GoodCategoryWhereInput = {
name?: Prisma.StringFilter<"GoodCategory"> | string
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
goods?: Prisma.GoodListRelationFilter
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
}
export type GoodCategoryOrderByWithRelationInput = {
@@ -222,12 +232,15 @@ export type GoodCategoryOrderByWithRelationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
goods?: Prisma.GoodOrderByRelationAggregateInput
guild?: Prisma.GuildOrderByWithRelationInput
complex?: Prisma.ComplexOrderByWithRelationInput
_relevance?: Prisma.GoodCategoryOrderByRelevanceInput
}
@@ -239,12 +252,15 @@ export type GoodCategoryWhereUniqueInput = Prisma.AtLeast<{
name?: Prisma.StringFilter<"GoodCategory"> | string
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
goods?: Prisma.GoodListRelationFilter
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
}, "id">
export type GoodCategoryOrderByWithAggregationInput = {
@@ -252,8 +268,9 @@ export type GoodCategoryOrderByWithAggregationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -270,8 +287,9 @@ export type GoodCategoryScalarWhereWithAggregatesInput = {
name?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
description?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
complex_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
complex_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
is_default_guild_good?: Prisma.BoolWithAggregatesFilter<"GoodCategory"> | boolean
guild_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
created_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
updated_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"GoodCategory"> | Date | string | null
@@ -282,12 +300,13 @@ export type GoodCategoryCreateInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateInput = {
@@ -295,8 +314,9 @@ export type GoodCategoryUncheckedCreateInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -308,12 +328,13 @@ export type GoodCategoryUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateInput = {
@@ -321,8 +342,9 @@ export type GoodCategoryUncheckedUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -334,8 +356,9 @@ export type GoodCategoryCreateManyInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -346,8 +369,7 @@ export type GoodCategoryUpdateManyMutationInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -358,13 +380,24 @@ export type GoodCategoryUncheckedUpdateManyInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type GoodCategoryListRelationFilter = {
every?: Prisma.GoodCategoryWhereInput
some?: Prisma.GoodCategoryWhereInput
none?: Prisma.GoodCategoryWhereInput
}
export type GoodCategoryOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type GoodCategoryNullableScalarRelationFilter = {
is?: Prisma.GoodCategoryWhereInput | null
isNot?: Prisma.GoodCategoryWhereInput | null
@@ -381,8 +414,9 @@ export type GoodCategoryCountOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrder
@@ -393,8 +427,9 @@ export type GoodCategoryMaxOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrder
@@ -405,13 +440,98 @@ export type GoodCategoryMinOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrder
}
export type GoodCategoryCreateNestedManyWithoutGuildInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUncheckedCreateNestedManyWithoutGuildInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUpdateManyWithoutGuildNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryCreateNestedManyWithoutComplexInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUncheckedCreateNestedManyWithoutComplexInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUpdateManyWithoutComplexNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryCreateNestedOneWithoutGoodsInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGoodsInput, Prisma.GoodCategoryUncheckedCreateWithoutGoodsInput>
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGoodsInput
@@ -428,16 +548,137 @@ export type GoodCategoryUpdateOneWithoutGoodsNestedInput = {
update?: Prisma.XOR<Prisma.XOR<Prisma.GoodCategoryUpdateToOneWithWhereWithoutGoodsInput, Prisma.GoodCategoryUpdateWithoutGoodsInput>, Prisma.GoodCategoryUncheckedUpdateWithoutGoodsInput>
}
export type GoodCategoryCreateWithoutGuildInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateWithoutGuildInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
complex_id?: string | null
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
}
export type GoodCategoryCreateOrConnectWithoutGuildInput = {
where: Prisma.GoodCategoryWhereUniqueInput
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
}
export type GoodCategoryCreateManyGuildInputEnvelope = {
data: Prisma.GoodCategoryCreateManyGuildInput | Prisma.GoodCategoryCreateManyGuildInput[]
skipDuplicates?: boolean
}
export type GoodCategoryUpsertWithWhereUniqueWithoutGuildInput = {
where: Prisma.GoodCategoryWhereUniqueInput
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
}
export type GoodCategoryUpdateWithWhereUniqueWithoutGuildInput = {
where: Prisma.GoodCategoryWhereUniqueInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
}
export type GoodCategoryUpdateManyWithWhereWithoutGuildInput = {
where: Prisma.GoodCategoryScalarWhereInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildInput>
}
export type GoodCategoryScalarWhereInput = {
AND?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
OR?: Prisma.GoodCategoryScalarWhereInput[]
NOT?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
id?: Prisma.StringFilter<"GoodCategory"> | string
name?: Prisma.StringFilter<"GoodCategory"> | string
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
}
export type GoodCategoryCreateWithoutComplexInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateWithoutComplexInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
}
export type GoodCategoryCreateOrConnectWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
}
export type GoodCategoryCreateManyComplexInputEnvelope = {
data: Prisma.GoodCategoryCreateManyComplexInput | Prisma.GoodCategoryCreateManyComplexInput[]
skipDuplicates?: boolean
}
export type GoodCategoryUpsertWithWhereUniqueWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
}
export type GoodCategoryUpdateWithWhereUniqueWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
}
export type GoodCategoryUpdateManyWithWhereWithoutComplexInput = {
where: Prisma.GoodCategoryScalarWhereInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexInput>
}
export type GoodCategoryCreateWithoutGoodsInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
@@ -445,8 +686,9 @@ export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -473,11 +715,12 @@ export type GoodCategoryUpdateWithoutGoodsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
@@ -485,8 +728,109 @@ export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type GoodCategoryCreateManyGuildInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
complex_id?: string | null
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
}
export type GoodCategoryUpdateWithoutGuildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateWithoutGuildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
}
export type GoodCategoryUncheckedUpdateManyWithoutGuildInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type GoodCategoryCreateManyComplexInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
}
export type GoodCategoryUpdateWithoutComplexInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateWithoutComplexInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
}
export type GoodCategoryUncheckedUpdateManyWithoutComplexInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -528,12 +872,15 @@ export type GoodCategorySelect<ExtArgs extends runtime.Types.Extensions.Internal
name?: boolean
description?: boolean
image_url?: boolean
account_id?: boolean
complex_id?: boolean
is_default_guild_good?: boolean
guild_id?: boolean
created_at?: boolean
updated_at?: boolean
deleted_at?: boolean
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["goodCategory"]>
@@ -544,16 +891,19 @@ export type GoodCategorySelectScalar = {
name?: boolean
description?: boolean
image_url?: boolean
account_id?: boolean
complex_id?: boolean
is_default_guild_good?: boolean
guild_id?: boolean
created_at?: boolean
updated_at?: boolean
deleted_at?: boolean
}
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "account_id" | "complex_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "complex_id" | "is_default_guild_good" | "guild_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
export type GoodCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
}
@@ -561,14 +911,17 @@ export type $GoodCategoryPayload<ExtArgs extends runtime.Types.Extensions.Intern
name: "GoodCategory"
objects: {
goods: Prisma.$GoodPayload<ExtArgs>[]
guild: Prisma.$GuildPayload<ExtArgs> | null
complex: Prisma.$ComplexPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
name: string
description: string | null
image_url: string | null
account_id: string
complex_id: string
complex_id: string | null
is_default_guild_good: boolean
guild_id: string | null
created_at: Date
updated_at: Date
deleted_at: Date | null
@@ -913,6 +1266,8 @@ readonly fields: GoodCategoryFieldRefs;
export interface Prisma__GoodCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
goods<T extends Prisma.GoodCategory$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
guild<T extends Prisma.GoodCategory$guildArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$guildArgs<ExtArgs>>): Prisma.Prisma__GuildClient<runtime.Types.Result.GetResult<Prisma.$GuildPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
complex<T extends Prisma.GoodCategory$complexArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$complexArgs<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.
@@ -946,8 +1301,9 @@ export interface GoodCategoryFieldRefs {
readonly name: Prisma.FieldRef<"GoodCategory", 'String'>
readonly description: Prisma.FieldRef<"GoodCategory", 'String'>
readonly image_url: Prisma.FieldRef<"GoodCategory", 'String'>
readonly account_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly complex_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly is_default_guild_good: Prisma.FieldRef<"GoodCategory", 'Boolean'>
readonly guild_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly created_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
readonly updated_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
readonly deleted_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
@@ -1317,6 +1673,44 @@ export type GoodCategory$goodsArgs<ExtArgs extends runtime.Types.Extensions.Inte
distinct?: Prisma.GoodScalarFieldEnum | Prisma.GoodScalarFieldEnum[]
}
/**
* GoodCategory.guild
*/
export type GoodCategory$guildArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Guild
*/
select?: Prisma.GuildSelect<ExtArgs> | null
/**
* Omit specific fields from the Guild
*/
omit?: Prisma.GuildOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.GuildInclude<ExtArgs> | null
where?: Prisma.GuildWhereInput
}
/**
* GoodCategory.complex
*/
export type GoodCategory$complexArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Complex
*/
select?: Prisma.ComplexSelect<ExtArgs> | null
/**
* Omit specific fields from the Complex
*/
omit?: Prisma.ComplexOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ComplexInclude<ExtArgs> | null
where?: Prisma.ComplexWhereInput
}
/**
* GoodCategory without action
*/
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -555,6 +555,14 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerNestedInput = {
deleteMany?: Prisma.SalesInvoiceScalarWhereInput | Prisma.SalesInvoiceScalarWhereInput[]
}
export type DecimalFieldUpdateOperationsInput = {
set?: runtime.Decimal | runtime.DecimalJsLike | number | string
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
}
export type SalesInvoiceCreateNestedOneWithoutItemsInput = {
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutItemsInput, Prisma.SalesInvoiceUncheckedCreateWithoutItemsInput>
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutItemsInput
@@ -49,7 +49,6 @@ export type SalesInvoiceItemMinAggregateOutputType = {
created_at: Date | null
discount: runtime.Decimal | null
notes: string | null
pricingModel: $Enums.SalesInvoiceItemPricingModel | null
invoice_id: string | null
good_id: string | null
service_id: string | null
@@ -64,7 +63,6 @@ export type SalesInvoiceItemMaxAggregateOutputType = {
created_at: Date | null
discount: runtime.Decimal | null
notes: string | null
pricingModel: $Enums.SalesInvoiceItemPricingModel | null
invoice_id: string | null
good_id: string | null
service_id: string | null
@@ -79,7 +77,6 @@ export type SalesInvoiceItemCountAggregateOutputType = {
created_at: number
discount: number
notes: number
pricingModel: number
invoice_id: number
good_id: number
service_id: number
@@ -111,7 +108,6 @@ export type SalesInvoiceItemMinAggregateInputType = {
created_at?: true
discount?: true
notes?: true
pricingModel?: true
invoice_id?: true
good_id?: true
service_id?: true
@@ -126,7 +122,6 @@ export type SalesInvoiceItemMaxAggregateInputType = {
created_at?: true
discount?: true
notes?: true
pricingModel?: true
invoice_id?: true
good_id?: true
service_id?: true
@@ -141,7 +136,6 @@ export type SalesInvoiceItemCountAggregateInputType = {
created_at?: true
discount?: true
notes?: true
pricingModel?: true
invoice_id?: true
good_id?: true
service_id?: true
@@ -244,7 +238,6 @@ export type SalesInvoiceItemGroupByOutputType = {
created_at: Date
discount: runtime.Decimal
notes: string | null
pricingModel: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id: string | null
service_id: string | null
@@ -283,7 +276,6 @@ export type SalesInvoiceItemWhereInput = {
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
@@ -302,7 +294,6 @@ export type SalesInvoiceItemOrderByWithRelationInput = {
created_at?: Prisma.SortOrder
discount?: Prisma.SortOrder
notes?: Prisma.SortOrderInput | Prisma.SortOrder
pricingModel?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -325,7 +316,6 @@ export type SalesInvoiceItemWhereUniqueInput = Prisma.AtLeast<{
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
@@ -344,7 +334,6 @@ export type SalesInvoiceItemOrderByWithAggregationInput = {
created_at?: Prisma.SortOrder
discount?: Prisma.SortOrder
notes?: Prisma.SortOrderInput | Prisma.SortOrder
pricingModel?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -368,7 +357,6 @@ export type SalesInvoiceItemScalarWhereWithAggregatesInput = {
created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoiceItem"> | Date | string
discount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelWithAggregatesFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoiceItem"> | string
good_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
service_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
@@ -384,7 +372,6 @@ export type SalesInvoiceItemCreateInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
@@ -400,7 +387,6 @@ export type SalesInvoiceItemUncheckedCreateInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id?: string | null
service_id?: string | null
@@ -416,7 +402,6 @@ export type SalesInvoiceItemUpdateInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
@@ -432,7 +417,6 @@ export type SalesInvoiceItemUncheckedUpdateInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -448,7 +432,6 @@ export type SalesInvoiceItemCreateManyInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id?: string | null
service_id?: string | null
@@ -464,7 +447,6 @@ export type SalesInvoiceItemUpdateManyMutationInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
}
@@ -477,7 +459,6 @@ export type SalesInvoiceItemUncheckedUpdateManyInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -509,7 +490,6 @@ export type SalesInvoiceItemCountOrderByAggregateInput = {
created_at?: Prisma.SortOrder
discount?: Prisma.SortOrder
notes?: Prisma.SortOrder
pricingModel?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
good_id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
@@ -532,7 +512,6 @@ export type SalesInvoiceItemMaxOrderByAggregateInput = {
created_at?: Prisma.SortOrder
discount?: Prisma.SortOrder
notes?: Prisma.SortOrder
pricingModel?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
good_id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
@@ -547,7 +526,6 @@ export type SalesInvoiceItemMinOrderByAggregateInput = {
created_at?: Prisma.SortOrder
discount?: Prisma.SortOrder
notes?: Prisma.SortOrder
pricingModel?: Prisma.SortOrder
invoice_id?: Prisma.SortOrder
good_id?: Prisma.SortOrder
service_id?: Prisma.SortOrder
@@ -648,10 +626,6 @@ export type EnumUnitTypeFieldUpdateOperationsInput = {
set?: $Enums.UnitType
}
export type EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput = {
set?: $Enums.SalesInvoiceItemPricingModel
}
export type SalesInvoiceItemCreateNestedManyWithoutServiceInput = {
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
@@ -703,7 +677,6 @@ export type SalesInvoiceItemCreateWithoutGoodInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
@@ -718,7 +691,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutGoodInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
service_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -762,7 +734,6 @@ export type SalesInvoiceItemScalarWhereInput = {
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
@@ -778,7 +749,6 @@ export type SalesInvoiceItemCreateWithoutInvoiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
@@ -793,7 +763,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
good_id?: string | null
service_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -834,7 +803,6 @@ export type SalesInvoiceItemCreateWithoutServiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
@@ -849,7 +817,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -890,7 +857,6 @@ export type SalesInvoiceItemCreateManyGoodInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
service_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -905,7 +871,6 @@ export type SalesInvoiceItemUpdateWithoutGoodInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
@@ -920,7 +885,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutGoodInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -935,7 +899,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -950,7 +913,6 @@ export type SalesInvoiceItemCreateManyInvoiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
good_id?: string | null
service_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -965,7 +927,6 @@ export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
@@ -980,7 +941,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -995,7 +955,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -1010,7 +969,6 @@ export type SalesInvoiceItemCreateManyServiceInput = {
created_at?: Date | string
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: string | null
pricingModel?: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id?: string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -1025,7 +983,6 @@ export type SalesInvoiceItemUpdateWithoutServiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
@@ -1040,7 +997,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -1055,7 +1011,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
@@ -1072,7 +1027,6 @@ export type SalesInvoiceItemSelect<ExtArgs extends runtime.Types.Extensions.Inte
created_at?: boolean
discount?: boolean
notes?: boolean
pricingModel?: boolean
invoice_id?: boolean
good_id?: boolean
service_id?: boolean
@@ -1093,14 +1047,13 @@ export type SalesInvoiceItemSelectScalar = {
created_at?: boolean
discount?: boolean
notes?: boolean
pricingModel?: boolean
invoice_id?: boolean
good_id?: boolean
service_id?: boolean
payload?: boolean
}
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "unit_type" | "unit_price" | "total_amount" | "created_at" | "discount" | "notes" | "pricingModel" | "invoice_id" | "good_id" | "service_id" | "payload", ExtArgs["result"]["salesInvoiceItem"]>
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "unit_type" | "unit_price" | "total_amount" | "created_at" | "discount" | "notes" | "invoice_id" | "good_id" | "service_id" | "payload", ExtArgs["result"]["salesInvoiceItem"]>
export type SalesInvoiceItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
@@ -1123,7 +1076,6 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
created_at: Date
discount: runtime.Decimal
notes: string | null
pricingModel: $Enums.SalesInvoiceItemPricingModel
invoice_id: string
good_id: string | null
service_id: string | null
@@ -1508,7 +1460,6 @@ export interface SalesInvoiceItemFieldRefs {
readonly created_at: Prisma.FieldRef<"SalesInvoiceItem", 'DateTime'>
readonly discount: Prisma.FieldRef<"SalesInvoiceItem", 'Decimal'>
readonly notes: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
readonly pricingModel: Prisma.FieldRef<"SalesInvoiceItem", 'SalesInvoiceItemPricingModel'>
readonly invoice_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
readonly good_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
readonly service_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff