refactor user accounts structure
This commit is contained in:
+306
-1322
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
@@ -30,7 +30,7 @@ export type BusinessActivityMinAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
guild_id: string | null
|
||||
owner_id: string | null
|
||||
user_id: string | null
|
||||
}
|
||||
|
||||
export type BusinessActivityMaxAggregateOutputType = {
|
||||
@@ -39,7 +39,7 @@ export type BusinessActivityMaxAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
guild_id: string | null
|
||||
owner_id: string | null
|
||||
user_id: string | null
|
||||
}
|
||||
|
||||
export type BusinessActivityCountAggregateOutputType = {
|
||||
@@ -48,7 +48,7 @@ export type BusinessActivityCountAggregateOutputType = {
|
||||
created_at: number
|
||||
updated_at: number
|
||||
guild_id: number
|
||||
owner_id: number
|
||||
user_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ export type BusinessActivityMinAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
owner_id?: true
|
||||
user_id?: true
|
||||
}
|
||||
|
||||
export type BusinessActivityMaxAggregateInputType = {
|
||||
@@ -68,7 +68,7 @@ export type BusinessActivityMaxAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
owner_id?: true
|
||||
user_id?: true
|
||||
}
|
||||
|
||||
export type BusinessActivityCountAggregateInputType = {
|
||||
@@ -77,7 +77,7 @@ export type BusinessActivityCountAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
guild_id?: true
|
||||
owner_id?: true
|
||||
user_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ export type BusinessActivityGroupByOutputType = {
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
user_id: string
|
||||
_count: BusinessActivityCountAggregateOutputType | null
|
||||
_min: BusinessActivityMinAggregateOutputType | null
|
||||
_max: BusinessActivityMaxAggregateOutputType | null
|
||||
@@ -189,11 +189,11 @@ export type BusinessActivityWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
owner_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
user_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
guild?: Prisma.XOR<Prisma.GuildScalarRelationFilter, Prisma.GuildWhereInput>
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
user?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
||||
complexes?: Prisma.ComplexListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
permissionBusinesses?: Prisma.PermissionBusinessListRelationFilter
|
||||
}
|
||||
|
||||
export type BusinessActivityOrderByWithRelationInput = {
|
||||
@@ -202,11 +202,11 @@ export type BusinessActivityOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
owner_id?: Prisma.SortOrder
|
||||
user_id?: Prisma.SortOrder
|
||||
guild?: Prisma.GuildOrderByWithRelationInput
|
||||
user?: Prisma.UserOrderByWithRelationInput
|
||||
user?: Prisma.ConsumerOrderByWithRelationInput
|
||||
complexes?: Prisma.ComplexOrderByRelationAggregateInput
|
||||
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.BusinessActivityOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -219,11 +219,11 @@ export type BusinessActivityWhereUniqueInput = Prisma.AtLeast<{
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
owner_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
user_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
guild?: Prisma.XOR<Prisma.GuildScalarRelationFilter, Prisma.GuildWhereInput>
|
||||
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
||||
user?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
||||
complexes?: Prisma.ComplexListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
permissionBusinesses?: Prisma.PermissionBusinessListRelationFilter
|
||||
}, "id">
|
||||
|
||||
export type BusinessActivityOrderByWithAggregationInput = {
|
||||
@@ -232,7 +232,7 @@ export type BusinessActivityOrderByWithAggregationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
owner_id?: Prisma.SortOrder
|
||||
user_id?: Prisma.SortOrder
|
||||
_count?: Prisma.BusinessActivityCountOrderByAggregateInput
|
||||
_max?: Prisma.BusinessActivityMaxOrderByAggregateInput
|
||||
_min?: Prisma.BusinessActivityMinOrderByAggregateInput
|
||||
@@ -247,7 +247,7 @@ export type BusinessActivityScalarWhereWithAggregatesInput = {
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
owner_id?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
user_id?: Prisma.StringWithAggregatesFilter<"BusinessActivity"> | string
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateInput = {
|
||||
@@ -256,9 +256,9 @@ export type BusinessActivityCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
user: Prisma.UserCreateNestedOneWithoutBusinessActivitiesInput
|
||||
user: Prisma.ConsumerCreateNestedOneWithoutBusinessActivitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutBusinessInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateInput = {
|
||||
@@ -267,9 +267,9 @@ export type BusinessActivityUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
user_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutBusinessInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateInput = {
|
||||
@@ -278,9 +278,9 @@ export type BusinessActivityUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
user?: Prisma.ConsumerUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
complexes?: Prisma.ComplexUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutBusinessNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateInput = {
|
||||
@@ -289,9 +289,9 @@ export type BusinessActivityUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complexes?: Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyInput = {
|
||||
@@ -300,7 +300,7 @@ export type BusinessActivityCreateManyInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
user_id: string
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateManyMutationInput = {
|
||||
@@ -316,7 +316,7 @@ export type BusinessActivityUncheckedUpdateManyInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type BusinessActivityListRelationFilter = {
|
||||
@@ -341,7 +341,7 @@ export type BusinessActivityCountOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
owner_id?: Prisma.SortOrder
|
||||
user_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityMaxOrderByAggregateInput = {
|
||||
@@ -350,7 +350,7 @@ export type BusinessActivityMaxOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
owner_id?: Prisma.SortOrder
|
||||
user_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityMinOrderByAggregateInput = {
|
||||
@@ -359,7 +359,7 @@ export type BusinessActivityMinOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
owner_id?: Prisma.SortOrder
|
||||
user_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type BusinessActivityScalarRelationFilter = {
|
||||
@@ -367,67 +367,6 @@ export type BusinessActivityScalarRelationFilter = {
|
||||
isNot?: Prisma.BusinessActivityWhereInput
|
||||
}
|
||||
|
||||
export type BusinessActivityNullableScalarRelationFilter = {
|
||||
is?: Prisma.BusinessActivityWhereInput | null
|
||||
isNot?: Prisma.BusinessActivityWhereInput | null
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
set?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
disconnect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
delete?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
update?: Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput | Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
set?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
disconnect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
delete?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
update?: Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput | Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateNestedOneWithoutComplexesInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutComplexesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutComplexesInput
|
||||
upsert?: Prisma.BusinessActivityUpsertWithoutComplexesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessActivityUpdateToOneWithWhereWithoutComplexesInput, Prisma.BusinessActivityUpdateWithoutComplexesInput>, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateNestedManyWithoutUserInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutUserInput, Prisma.BusinessActivityUncheckedCreateWithoutUserInput> | Prisma.BusinessActivityCreateWithoutUserInput[] | Prisma.BusinessActivityUncheckedCreateWithoutUserInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutUserInput | Prisma.BusinessActivityCreateOrConnectWithoutUserInput[]
|
||||
@@ -470,134 +409,74 @@ export type BusinessActivityUncheckedUpdateManyWithoutUserNestedInput = {
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateNestedOneWithoutAccountsInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutAccountsInput, Prisma.BusinessActivityUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutAccountsInput
|
||||
export type BusinessActivityCreateNestedOneWithoutComplexesInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutComplexesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateOneWithoutAccountsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutAccountsInput, Prisma.BusinessActivityUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutAccountsInput
|
||||
upsert?: Prisma.BusinessActivityUpsertWithoutAccountsInput
|
||||
disconnect?: Prisma.BusinessActivityWhereInput | boolean
|
||||
delete?: Prisma.BusinessActivityWhereInput | boolean
|
||||
export type BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutComplexesInput
|
||||
upsert?: Prisma.BusinessActivityUpsertWithoutComplexesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessActivityUpdateToOneWithWhereWithoutAccountsInput, Prisma.BusinessActivityUpdateWithoutAccountsInput>, Prisma.BusinessActivityUncheckedUpdateWithoutAccountsInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessActivityUpdateToOneWithWhereWithoutComplexesInput, Prisma.BusinessActivityUpdateWithoutComplexesInput>, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
user: Prisma.UserCreateNestedOneWithoutBusinessActivitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutBusinessInput
|
||||
export type BusinessActivityCreateNestedOneWithoutPermissionBusinessesInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedCreateWithoutPermissionBusinessesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutPermissionBusinessesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
owner_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutBusinessInput
|
||||
export type BusinessActivityUpdateOneRequiredWithoutPermissionBusinessesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedCreateWithoutPermissionBusinessesInput>
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutPermissionBusinessesInput
|
||||
upsert?: Prisma.BusinessActivityUpsertWithoutPermissionBusinessesInput
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.BusinessActivityUpdateToOneWithWhereWithoutPermissionBusinessesInput, Prisma.BusinessActivityUpdateWithoutPermissionBusinessesInput>, Prisma.BusinessActivityUncheckedUpdateWithoutPermissionBusinessesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput>
|
||||
export type BusinessActivityCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.BusinessActivityCreateManyGuildInput | Prisma.BusinessActivityCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
export type BusinessActivityUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutGuildInput, Prisma.BusinessActivityUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput>
|
||||
export type BusinessActivityUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
set?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
disconnect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
delete?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
update?: Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput | Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutGuildInput, Prisma.BusinessActivityUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateManyMutationInput, Prisma.BusinessActivityUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityScalarWhereInput = {
|
||||
AND?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
OR?: Prisma.BusinessActivityScalarWhereInput[]
|
||||
NOT?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
owner_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateWithoutComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
user: Prisma.UserCreateNestedOneWithoutBusinessActivitiesInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateWithoutComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutComplexesInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpsertWithoutComplexesInput = {
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutComplexesInput, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateToOneWithWhereWithoutComplexesInput = {
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutComplexesInput, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithoutComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateWithoutComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
export type BusinessActivityUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput> | Prisma.BusinessActivityCreateWithoutGuildInput[] | Prisma.BusinessActivityUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.BusinessActivityCreateOrConnectWithoutGuildInput | Prisma.BusinessActivityCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.BusinessActivityCreateManyGuildInputEnvelope
|
||||
set?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
disconnect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
delete?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
connect?: Prisma.BusinessActivityWhereUniqueInput | Prisma.BusinessActivityWhereUniqueInput[]
|
||||
update?: Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput | Prisma.BusinessActivityUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput | Prisma.BusinessActivityUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateWithoutUserInput = {
|
||||
@@ -607,7 +486,7 @@ export type BusinessActivityCreateWithoutUserInput = {
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutBusinessInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateWithoutUserInput = {
|
||||
@@ -617,7 +496,7 @@ export type BusinessActivityUncheckedCreateWithoutUserInput = {
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutBusinessInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutUserInput = {
|
||||
@@ -646,96 +525,174 @@ export type BusinessActivityUpdateManyWithWhereWithoutUserInput = {
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateManyMutationInput, Prisma.BusinessActivityUncheckedUpdateManyWithoutUserInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateWithoutAccountsInput = {
|
||||
export type BusinessActivityScalarWhereInput = {
|
||||
AND?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
OR?: Prisma.BusinessActivityScalarWhereInput[]
|
||||
NOT?: Prisma.BusinessActivityScalarWhereInput | Prisma.BusinessActivityScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
guild_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
user_id?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateWithoutComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
user: Prisma.UserCreateNestedOneWithoutBusinessActivitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
user: Prisma.ConsumerCreateNestedOneWithoutBusinessActivitiesInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateWithoutAccountsInput = {
|
||||
export type BusinessActivityUncheckedCreateWithoutComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
user_id: string
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutAccountsInput = {
|
||||
export type BusinessActivityCreateOrConnectWithoutComplexesInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutAccountsInput, Prisma.BusinessActivityUncheckedCreateWithoutAccountsInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpsertWithoutAccountsInput = {
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutAccountsInput, Prisma.BusinessActivityUncheckedUpdateWithoutAccountsInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutAccountsInput, Prisma.BusinessActivityUncheckedCreateWithoutAccountsInput>
|
||||
export type BusinessActivityUpsertWithoutComplexesInput = {
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutComplexesInput, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutComplexesInput, Prisma.BusinessActivityUncheckedCreateWithoutComplexesInput>
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateToOneWithWhereWithoutAccountsInput = {
|
||||
export type BusinessActivityUpdateToOneWithWhereWithoutComplexesInput = {
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutAccountsInput, Prisma.BusinessActivityUncheckedUpdateWithoutAccountsInput>
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutComplexesInput, Prisma.BusinessActivityUncheckedUpdateWithoutComplexesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithoutAccountsInput = {
|
||||
export type BusinessActivityUpdateWithoutComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
complexes?: Prisma.ComplexUpdateManyWithoutBusiness_activityNestedInput
|
||||
user?: Prisma.ConsumerUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateWithoutAccountsInput = {
|
||||
export type BusinessActivityUncheckedUpdateWithoutComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complexes?: Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyGuildInput = {
|
||||
export type BusinessActivityCreateWithoutPermissionBusinessesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
owner_id: string
|
||||
guild: Prisma.GuildCreateNestedOneWithoutBusiness_activitiesInput
|
||||
user: Prisma.ConsumerCreateNestedOneWithoutBusinessActivitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithoutGuildInput = {
|
||||
export type BusinessActivityUncheckedCreateWithoutPermissionBusinessesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
guild_id: string
|
||||
user_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutPermissionBusinessesInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedCreateWithoutPermissionBusinessesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpsertWithoutPermissionBusinessesInput = {
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedUpdateWithoutPermissionBusinessesInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedCreateWithoutPermissionBusinessesInput>
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateToOneWithWhereWithoutPermissionBusinessesInput = {
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutPermissionBusinessesInput, Prisma.BusinessActivityUncheckedUpdateWithoutPermissionBusinessesInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithoutPermissionBusinessesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.UserUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
user?: Prisma.ConsumerUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
complexes?: Prisma.ComplexUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateWithoutGuildInput = {
|
||||
export type BusinessActivityUncheckedUpdateWithoutPermissionBusinessesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complexes?: Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
owner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type BusinessActivityCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
user: Prisma.ConsumerCreateNestedOneWithoutBusinessActivitiesInput
|
||||
complexes?: Prisma.ComplexCreateNestedManyWithoutBusiness_activityInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
user_id: string
|
||||
complexes?: Prisma.ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.BusinessActivityCreateManyGuildInput | Prisma.BusinessActivityCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type BusinessActivityUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutGuildInput, Prisma.BusinessActivityUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.BusinessActivityCreateWithoutGuildInput, Prisma.BusinessActivityUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateWithoutGuildInput, Prisma.BusinessActivityUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.BusinessActivityScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.BusinessActivityUpdateManyMutationInput, Prisma.BusinessActivityUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyUserInput = {
|
||||
@@ -753,7 +710,7 @@ export type BusinessActivityUpdateWithoutUserInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild?: Prisma.GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput
|
||||
complexes?: Prisma.ComplexUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutBusinessNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateWithoutUserInput = {
|
||||
@@ -763,7 +720,7 @@ export type BusinessActivityUncheckedUpdateWithoutUserInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complexes?: Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateManyWithoutUserInput = {
|
||||
@@ -774,6 +731,42 @@ export type BusinessActivityUncheckedUpdateManyWithoutUserInput = {
|
||||
guild_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type BusinessActivityCreateManyGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
user_id: string
|
||||
}
|
||||
|
||||
export type BusinessActivityUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user?: Prisma.ConsumerUpdateOneRequiredWithoutBusinessActivitiesNestedInput
|
||||
complexes?: Prisma.ComplexUpdateManyWithoutBusiness_activityNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complexes?: Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput
|
||||
permissionBusinesses?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput
|
||||
}
|
||||
|
||||
export type BusinessActivityUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
user_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type BusinessActivityCountOutputType
|
||||
@@ -781,12 +774,12 @@ export type BusinessActivityUncheckedUpdateManyWithoutUserInput = {
|
||||
|
||||
export type BusinessActivityCountOutputType = {
|
||||
complexes: number
|
||||
accounts: number
|
||||
permissionBusinesses: number
|
||||
}
|
||||
|
||||
export type BusinessActivityCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
complexes?: boolean | BusinessActivityCountOutputTypeCountComplexesArgs
|
||||
accounts?: boolean | BusinessActivityCountOutputTypeCountAccountsArgs
|
||||
permissionBusinesses?: boolean | BusinessActivityCountOutputTypeCountPermissionBusinessesArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -809,8 +802,8 @@ export type BusinessActivityCountOutputTypeCountComplexesArgs<ExtArgs extends ru
|
||||
/**
|
||||
* BusinessActivityCountOutputType without action
|
||||
*/
|
||||
export type BusinessActivityCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
export type BusinessActivityCountOutputTypeCountPermissionBusinessesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.PermissionBusinessWhereInput
|
||||
}
|
||||
|
||||
|
||||
@@ -820,11 +813,11 @@ export type BusinessActivitySelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
guild_id?: boolean
|
||||
owner_id?: boolean
|
||||
user_id?: boolean
|
||||
guild?: boolean | Prisma.GuildDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
||||
complexes?: boolean | Prisma.BusinessActivity$complexesArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.BusinessActivity$accountsArgs<ExtArgs>
|
||||
permissionBusinesses?: boolean | Prisma.BusinessActivity$permissionBusinessesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.BusinessActivityCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["businessActivity"]>
|
||||
|
||||
@@ -836,15 +829,15 @@ export type BusinessActivitySelectScalar = {
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
guild_id?: boolean
|
||||
owner_id?: boolean
|
||||
user_id?: boolean
|
||||
}
|
||||
|
||||
export type BusinessActivityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "created_at" | "updated_at" | "guild_id" | "owner_id", ExtArgs["result"]["businessActivity"]>
|
||||
export type BusinessActivityOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "created_at" | "updated_at" | "guild_id" | "user_id", ExtArgs["result"]["businessActivity"]>
|
||||
export type BusinessActivityInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
guild?: boolean | Prisma.GuildDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
||||
user?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
||||
complexes?: boolean | Prisma.BusinessActivity$complexesArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.BusinessActivity$accountsArgs<ExtArgs>
|
||||
permissionBusinesses?: boolean | Prisma.BusinessActivity$permissionBusinessesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.BusinessActivityCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -852,9 +845,9 @@ export type $BusinessActivityPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
name: "BusinessActivity"
|
||||
objects: {
|
||||
guild: Prisma.$GuildPayload<ExtArgs>
|
||||
user: Prisma.$UserPayload<ExtArgs>
|
||||
user: Prisma.$ConsumerPayload<ExtArgs>
|
||||
complexes: Prisma.$ComplexPayload<ExtArgs>[]
|
||||
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
||||
permissionBusinesses: Prisma.$PermissionBusinessPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -862,7 +855,7 @@ export type $BusinessActivityPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
guild_id: string
|
||||
owner_id: string
|
||||
user_id: string
|
||||
}, ExtArgs["result"]["businessActivity"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1204,9 +1197,9 @@ readonly fields: BusinessActivityFieldRefs;
|
||||
export interface Prisma__BusinessActivityClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
guild<T extends Prisma.GuildDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GuildDefaultArgs<ExtArgs>>): Prisma.Prisma__GuildClient<runtime.Types.Result.GetResult<Prisma.$GuildPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
user<T extends Prisma.ConsumerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerDefaultArgs<ExtArgs>>): Prisma.Prisma__ConsumerClient<runtime.Types.Result.GetResult<Prisma.$ConsumerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
complexes<T extends Prisma.BusinessActivity$complexesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessActivity$complexesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.BusinessActivity$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessActivity$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
permissionBusinesses<T extends Prisma.BusinessActivity$permissionBusinessesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessActivity$permissionBusinessesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionBusinessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1241,7 +1234,7 @@ export interface BusinessActivityFieldRefs {
|
||||
readonly created_at: Prisma.FieldRef<"BusinessActivity", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"BusinessActivity", 'DateTime'>
|
||||
readonly guild_id: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
readonly owner_id: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
readonly user_id: Prisma.FieldRef<"BusinessActivity", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -1609,27 +1602,27 @@ export type BusinessActivity$complexesArgs<ExtArgs extends runtime.Types.Extensi
|
||||
}
|
||||
|
||||
/**
|
||||
* BusinessActivity.accounts
|
||||
* BusinessActivity.permissionBusinesses
|
||||
*/
|
||||
export type BusinessActivity$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type BusinessActivity$permissionBusinessesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Account
|
||||
* Select specific fields to fetch from the PermissionBusiness
|
||||
*/
|
||||
select?: Prisma.AccountSelect<ExtArgs> | null
|
||||
select?: Prisma.PermissionBusinessSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Account
|
||||
* Omit specific fields from the PermissionBusiness
|
||||
*/
|
||||
omit?: Prisma.AccountOmit<ExtArgs> | null
|
||||
omit?: Prisma.PermissionBusinessOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.AccountInclude<ExtArgs> | null
|
||||
where?: Prisma.AccountWhereInput
|
||||
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.AccountWhereUniqueInput
|
||||
include?: Prisma.PermissionBusinessInclude<ExtArgs> | null
|
||||
where?: Prisma.PermissionBusinessWhereInput
|
||||
orderBy?: Prisma.PermissionBusinessOrderByWithRelationInput | Prisma.PermissionBusinessOrderByWithRelationInput[]
|
||||
cursor?: Prisma.PermissionBusinessWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
||||
distinct?: Prisma.PermissionBusinessScalarFieldEnum | Prisma.PermissionBusinessScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -202,6 +202,7 @@ export type ComplexWhereInput = {
|
||||
pos_list?: Prisma.PosListRelationFilter
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
good_categories?: Prisma.GoodCategoryListRelationFilter
|
||||
permissionComplexes?: Prisma.PermissionComplexListRelationFilter
|
||||
}
|
||||
|
||||
export type ComplexOrderByWithRelationInput = {
|
||||
@@ -216,6 +217,7 @@ export type ComplexOrderByWithRelationInput = {
|
||||
pos_list?: Prisma.PosOrderByRelationAggregateInput
|
||||
goods?: Prisma.GoodOrderByRelationAggregateInput
|
||||
good_categories?: Prisma.GoodCategoryOrderByRelationAggregateInput
|
||||
permissionComplexes?: Prisma.PermissionComplexOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.ComplexOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -234,6 +236,7 @@ export type ComplexWhereUniqueInput = Prisma.AtLeast<{
|
||||
pos_list?: Prisma.PosListRelationFilter
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
good_categories?: Prisma.GoodCategoryListRelationFilter
|
||||
permissionComplexes?: Prisma.PermissionComplexListRelationFilter
|
||||
}, "id">
|
||||
|
||||
export type ComplexOrderByWithAggregationInput = {
|
||||
@@ -273,6 +276,7 @@ export type ComplexCreateInput = {
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateInput = {
|
||||
@@ -286,6 +290,7 @@ export type ComplexUncheckedCreateInput = {
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateInput = {
|
||||
@@ -299,6 +304,7 @@ export type ComplexUpdateInput = {
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateInput = {
|
||||
@@ -312,6 +318,7 @@ export type ComplexUncheckedUpdateInput = {
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateManyInput = {
|
||||
@@ -455,6 +462,20 @@ export type ComplexUpdateOneRequiredWithoutPos_listNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPos_listInput, Prisma.ComplexUpdateWithoutPos_listInput>, Prisma.ComplexUncheckedUpdateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedOneWithoutPermissionComplexesInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermissionComplexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateOneRequiredWithoutPermissionComplexesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermissionComplexesInput
|
||||
upsert?: Prisma.ComplexUpsertWithoutPermissionComplexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPermissionComplexesInput, Prisma.ComplexUpdateWithoutPermissionComplexesInput>, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedOneWithoutGoodsInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGoodsInput, Prisma.ComplexUncheckedCreateWithoutGoodsInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGoodsInput
|
||||
@@ -497,6 +518,7 @@ export type ComplexCreateWithoutBusiness_activityInput = {
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutBusiness_activityInput = {
|
||||
@@ -509,6 +531,7 @@ export type ComplexUncheckedCreateWithoutBusiness_activityInput = {
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutBusiness_activityInput = {
|
||||
@@ -560,6 +583,7 @@ export type ComplexCreateWithoutPos_listInput = {
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutPos_listInput = {
|
||||
@@ -572,6 +596,7 @@ export type ComplexUncheckedCreateWithoutPos_listInput = {
|
||||
business_activity_id: string
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutPos_listInput = {
|
||||
@@ -600,6 +625,7 @@ export type ComplexUpdateWithoutPos_listInput = {
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutPos_listInput = {
|
||||
@@ -612,6 +638,75 @@ export type ComplexUncheckedUpdateWithoutPos_listInput = {
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutPermissionComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
address?: string | null
|
||||
tax_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutPermissionComplexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
address?: string | null
|
||||
tax_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity_id: string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutPermissionComplexesInput = {
|
||||
where: Prisma.ComplexWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpsertWithoutPermissionComplexesInput = {
|
||||
update: Prisma.XOR<Prisma.ComplexUpdateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
||||
where?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateToOneWithWhereWithoutPermissionComplexesInput = {
|
||||
where?: Prisma.ComplexWhereInput
|
||||
data: Prisma.XOR<Prisma.ComplexUpdateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpdateWithoutPermissionComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutPermissionComplexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutGoodsInput = {
|
||||
@@ -624,6 +719,7 @@ export type ComplexCreateWithoutGoodsInput = {
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutGoodsInput = {
|
||||
@@ -636,6 +732,7 @@ export type ComplexUncheckedCreateWithoutGoodsInput = {
|
||||
business_activity_id: string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutGoodsInput = {
|
||||
@@ -664,6 +761,7 @@ export type ComplexUpdateWithoutGoodsInput = {
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutGoodsInput = {
|
||||
@@ -676,6 +774,7 @@ export type ComplexUncheckedUpdateWithoutGoodsInput = {
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutGood_categoriesInput = {
|
||||
@@ -688,6 +787,7 @@ export type ComplexCreateWithoutGood_categoriesInput = {
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutGood_categoriesInput = {
|
||||
@@ -700,6 +800,7 @@ export type ComplexUncheckedCreateWithoutGood_categoriesInput = {
|
||||
business_activity_id: string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutGood_categoriesInput = {
|
||||
@@ -728,6 +829,7 @@ export type ComplexUpdateWithoutGood_categoriesInput = {
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
@@ -740,6 +842,7 @@ export type ComplexUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateManyBusiness_activityInput = {
|
||||
@@ -761,6 +864,7 @@ export type ComplexUpdateWithoutBusiness_activityInput = {
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutBusiness_activityInput = {
|
||||
@@ -773,6 +877,7 @@ export type ComplexUncheckedUpdateWithoutBusiness_activityInput = {
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateManyWithoutBusiness_activityInput = {
|
||||
@@ -793,12 +898,14 @@ export type ComplexCountOutputType = {
|
||||
pos_list: number
|
||||
goods: number
|
||||
good_categories: number
|
||||
permissionComplexes: number
|
||||
}
|
||||
|
||||
export type ComplexCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
pos_list?: boolean | ComplexCountOutputTypeCountPos_listArgs
|
||||
goods?: boolean | ComplexCountOutputTypeCountGoodsArgs
|
||||
good_categories?: boolean | ComplexCountOutputTypeCountGood_categoriesArgs
|
||||
permissionComplexes?: boolean | ComplexCountOutputTypeCountPermissionComplexesArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -832,6 +939,13 @@ export type ComplexCountOutputTypeCountGood_categoriesArgs<ExtArgs extends runti
|
||||
where?: Prisma.GoodCategoryWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* ComplexCountOutputType without action
|
||||
*/
|
||||
export type ComplexCountOutputTypeCountPermissionComplexesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.PermissionComplexWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type ComplexSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
@@ -845,6 +959,7 @@ export type ComplexSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
pos_list?: boolean | Prisma.Complex$pos_listArgs<ExtArgs>
|
||||
goods?: boolean | Prisma.Complex$goodsArgs<ExtArgs>
|
||||
good_categories?: boolean | Prisma.Complex$good_categoriesArgs<ExtArgs>
|
||||
permissionComplexes?: boolean | Prisma.Complex$permissionComplexesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.ComplexCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["complex"]>
|
||||
|
||||
@@ -866,6 +981,7 @@ export type ComplexInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
pos_list?: boolean | Prisma.Complex$pos_listArgs<ExtArgs>
|
||||
goods?: boolean | Prisma.Complex$goodsArgs<ExtArgs>
|
||||
good_categories?: boolean | Prisma.Complex$good_categoriesArgs<ExtArgs>
|
||||
permissionComplexes?: boolean | Prisma.Complex$permissionComplexesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.ComplexCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -876,6 +992,7 @@ export type $ComplexPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
pos_list: Prisma.$PosPayload<ExtArgs>[]
|
||||
goods: Prisma.$GoodPayload<ExtArgs>[]
|
||||
good_categories: Prisma.$GoodCategoryPayload<ExtArgs>[]
|
||||
permissionComplexes: Prisma.$PermissionComplexPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1229,6 +1346,7 @@ export interface Prisma__ComplexClient<T, Null = never, ExtArgs extends runtime.
|
||||
pos_list<T extends Prisma.Complex$pos_listArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$pos_listArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
goods<T extends Prisma.Complex$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
good_categories<T extends Prisma.Complex$good_categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$good_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
permissionComplexes<T extends Prisma.Complex$permissionComplexesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$permissionComplexesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionComplexPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1679,6 +1797,30 @@ export type Complex$good_categoriesArgs<ExtArgs extends runtime.Types.Extensions
|
||||
distinct?: Prisma.GoodCategoryScalarFieldEnum | Prisma.GoodCategoryScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Complex.permissionComplexes
|
||||
*/
|
||||
export type Complex$permissionComplexesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the PermissionComplex
|
||||
*/
|
||||
select?: Prisma.PermissionComplexSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the PermissionComplex
|
||||
*/
|
||||
omit?: Prisma.PermissionComplexOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.PermissionComplexInclude<ExtArgs> | null
|
||||
where?: Prisma.PermissionComplexWhereInput
|
||||
orderBy?: Prisma.PermissionComplexOrderByWithRelationInput | Prisma.PermissionComplexOrderByWithRelationInput[]
|
||||
cursor?: Prisma.PermissionComplexWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.PermissionComplexScalarFieldEnum | Prisma.PermissionComplexScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Complex without action
|
||||
*/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -50,7 +50,6 @@ export type GoodMinAggregateOutputType = {
|
||||
deleted_at: Date | null
|
||||
complex_id: string | null
|
||||
category_id: string | null
|
||||
guild_id: string | null
|
||||
}
|
||||
|
||||
export type GoodMaxAggregateOutputType = {
|
||||
@@ -69,7 +68,6 @@ export type GoodMaxAggregateOutputType = {
|
||||
deleted_at: Date | null
|
||||
complex_id: string | null
|
||||
category_id: string | null
|
||||
guild_id: string | null
|
||||
}
|
||||
|
||||
export type GoodCountAggregateOutputType = {
|
||||
@@ -88,7 +86,6 @@ export type GoodCountAggregateOutputType = {
|
||||
deleted_at: number
|
||||
complex_id: number
|
||||
category_id: number
|
||||
guild_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -117,7 +114,6 @@ export type GoodMinAggregateInputType = {
|
||||
deleted_at?: true
|
||||
complex_id?: true
|
||||
category_id?: true
|
||||
guild_id?: true
|
||||
}
|
||||
|
||||
export type GoodMaxAggregateInputType = {
|
||||
@@ -136,7 +132,6 @@ export type GoodMaxAggregateInputType = {
|
||||
deleted_at?: true
|
||||
complex_id?: true
|
||||
category_id?: true
|
||||
guild_id?: true
|
||||
}
|
||||
|
||||
export type GoodCountAggregateInputType = {
|
||||
@@ -155,7 +150,6 @@ export type GoodCountAggregateInputType = {
|
||||
deleted_at?: true
|
||||
complex_id?: true
|
||||
category_id?: true
|
||||
guild_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -261,7 +255,6 @@ export type GoodGroupByOutputType = {
|
||||
deleted_at: Date | null
|
||||
complex_id: string | null
|
||||
category_id: string | null
|
||||
guild_id: string | null
|
||||
_count: GoodCountAggregateOutputType | null
|
||||
_avg: GoodAvgAggregateOutputType | null
|
||||
_sum: GoodSumAggregateOutputType | null
|
||||
@@ -303,10 +296,8 @@ export type GoodWhereInput = {
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
guild_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category?: Prisma.XOR<Prisma.GoodCategoryNullableScalarRelationFilter, Prisma.GoodCategoryWhereInput> | null
|
||||
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
|
||||
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
}
|
||||
|
||||
@@ -326,10 +317,8 @@ export type GoodOrderByWithRelationInput = {
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
category_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
category?: Prisma.GoodCategoryOrderByWithRelationInput
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
guild?: Prisma.GuildOrderByWithRelationInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.GoodOrderByRelevanceInput
|
||||
}
|
||||
@@ -353,10 +342,8 @@ export type GoodWhereUniqueInput = Prisma.AtLeast<{
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
guild_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category?: Prisma.XOR<Prisma.GoodCategoryNullableScalarRelationFilter, Prisma.GoodCategoryWhereInput> | null
|
||||
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
|
||||
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemListRelationFilter
|
||||
}, "id" | "local_sku" | "barcode">
|
||||
|
||||
@@ -376,7 +363,6 @@ export type GoodOrderByWithAggregationInput = {
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
category_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.GoodCountOrderByAggregateInput
|
||||
_avg?: Prisma.GoodAvgOrderByAggregateInput
|
||||
_max?: Prisma.GoodMaxOrderByAggregateInput
|
||||
@@ -403,7 +389,6 @@ export type GoodScalarWhereWithAggregatesInput = {
|
||||
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Good"> | Date | string | null
|
||||
complex_id?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
||||
category_id?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
||||
guild_id?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateInput = {
|
||||
@@ -422,7 +407,6 @@ export type GoodCreateInput = {
|
||||
deleted_at?: Date | string | null
|
||||
category?: Prisma.GoodCategoryCreateNestedOneWithoutGoodsInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGoodsInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGoodsInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -442,7 +426,6 @@ export type GoodUncheckedCreateInput = {
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
category_id?: string | null
|
||||
guild_id?: string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -462,7 +445,6 @@ export type GoodUpdateInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category?: Prisma.GoodCategoryUpdateOneWithoutGoodsNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGoodsNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGoodsNestedInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -482,7 +464,6 @@ export type GoodUncheckedUpdateInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -502,7 +483,6 @@ export type GoodCreateManyInput = {
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
category_id?: string | null
|
||||
guild_id?: string | null
|
||||
}
|
||||
|
||||
export type GoodUpdateManyMutationInput = {
|
||||
@@ -537,7 +517,6 @@ export type GoodUncheckedUpdateManyInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type GoodListRelationFilter = {
|
||||
@@ -572,7 +551,6 @@ export type GoodCountOrderByAggregateInput = {
|
||||
deleted_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
category_id?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodAvgOrderByAggregateInput = {
|
||||
@@ -595,7 +573,6 @@ export type GoodMaxOrderByAggregateInput = {
|
||||
deleted_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
category_id?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodMinOrderByAggregateInput = {
|
||||
@@ -614,7 +591,6 @@ export type GoodMinOrderByAggregateInput = {
|
||||
deleted_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
category_id?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodSumOrderByAggregateInput = {
|
||||
@@ -626,48 +602,6 @@ export type GoodNullableScalarRelationFilter = {
|
||||
isNot?: Prisma.GoodWhereInput | null
|
||||
}
|
||||
|
||||
export type GoodCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput> | Prisma.GoodCreateWithoutGuildInput[] | Prisma.GoodUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutGuildInput | Prisma.GoodCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput> | Prisma.GoodCreateWithoutGuildInput[] | Prisma.GoodUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutGuildInput | Prisma.GoodCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput> | Prisma.GoodCreateWithoutGuildInput[] | Prisma.GoodUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutGuildInput | Prisma.GoodCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
delete?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
connect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
update?: Prisma.GoodUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodUpdateManyWithWhereWithoutGuildInput | Prisma.GoodUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput> | Prisma.GoodCreateWithoutGuildInput[] | Prisma.GoodUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutGuildInput | Prisma.GoodCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
delete?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
connect?: Prisma.GoodWhereUniqueInput | Prisma.GoodWhereUniqueInput[]
|
||||
update?: Prisma.GoodUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodUpdateManyWithWhereWithoutGuildInput | Prisma.GoodUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCreateWithoutComplexInput, Prisma.GoodUncheckedCreateWithoutComplexInput> | Prisma.GoodCreateWithoutComplexInput[] | Prisma.GoodUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCreateOrConnectWithoutComplexInput | Prisma.GoodCreateOrConnectWithoutComplexInput[]
|
||||
@@ -710,6 +644,10 @@ export type GoodUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
deleteMany?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type BoolFieldUpdateOperationsInput = {
|
||||
set?: boolean
|
||||
}
|
||||
|
||||
export type EnumUnitTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.UnitType
|
||||
}
|
||||
@@ -784,92 +722,6 @@ export type GoodUpdateOneWithoutSales_invoice_itemsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GoodUpdateToOneWithWhereWithoutSales_invoice_itemsInput, Prisma.GoodUpdateWithoutSales_invoice_itemsInput>, Prisma.GoodUncheckedUpdateWithoutSales_invoice_itemsInput>
|
||||
}
|
||||
|
||||
export type GoodCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
is_default_guild_good?: boolean
|
||||
sku: string
|
||||
unit_type: $Enums.UnitType
|
||||
pricing_model: $Enums.GoodPricingModel
|
||||
description?: string | null
|
||||
local_sku?: string | null
|
||||
barcode?: string | null
|
||||
base_sale_price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
category?: Prisma.GoodCategoryCreateNestedOneWithoutGoodsInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGoodsInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
export type GoodUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
is_default_guild_good?: boolean
|
||||
sku: string
|
||||
unit_type: $Enums.UnitType
|
||||
pricing_model: $Enums.GoodPricingModel
|
||||
description?: string | null
|
||||
local_sku?: string | null
|
||||
barcode?: string | null
|
||||
base_sale_price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
category_id?: string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
export type GoodCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.GoodCreateManyGuildInput | Prisma.GoodCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GoodUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.GoodUpdateWithoutGuildInput, Prisma.GoodUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.GoodCreateWithoutGuildInput, Prisma.GoodUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.GoodUpdateWithoutGuildInput, Prisma.GoodUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.GoodScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.GoodUpdateManyMutationInput, Prisma.GoodUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodScalarWhereInput = {
|
||||
AND?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
OR?: Prisma.GoodScalarWhereInput[]
|
||||
NOT?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Good"> | string
|
||||
name?: Prisma.StringFilter<"Good"> | string
|
||||
is_default_guild_good?: Prisma.BoolFilter<"Good"> | boolean
|
||||
sku?: Prisma.StringFilter<"Good"> | string
|
||||
unit_type?: Prisma.EnumUnitTypeFilter<"Good"> | $Enums.UnitType
|
||||
pricing_model?: Prisma.EnumGoodPricingModelFilter<"Good"> | $Enums.GoodPricingModel
|
||||
description?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
local_sku?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
barcode?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
base_sale_price?: Prisma.DecimalNullableFilter<"Good"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
guild_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -885,7 +737,6 @@ export type GoodCreateWithoutComplexInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
category?: Prisma.GoodCategoryCreateNestedOneWithoutGoodsInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGoodsInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -904,7 +755,6 @@ export type GoodUncheckedCreateWithoutComplexInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
category_id?: string | null
|
||||
guild_id?: string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -934,6 +784,27 @@ export type GoodUpdateManyWithWhereWithoutComplexInput = {
|
||||
data: Prisma.XOR<Prisma.GoodUpdateManyMutationInput, Prisma.GoodUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodScalarWhereInput = {
|
||||
AND?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
OR?: Prisma.GoodScalarWhereInput[]
|
||||
NOT?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Good"> | string
|
||||
name?: Prisma.StringFilter<"Good"> | string
|
||||
is_default_guild_good?: Prisma.BoolFilter<"Good"> | boolean
|
||||
sku?: Prisma.StringFilter<"Good"> | string
|
||||
unit_type?: Prisma.EnumUnitTypeFilter<"Good"> | $Enums.UnitType
|
||||
pricing_model?: Prisma.EnumGoodPricingModelFilter<"Good"> | $Enums.GoodPricingModel
|
||||
description?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
local_sku?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
barcode?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
base_sale_price?: Prisma.DecimalNullableFilter<"Good"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
category_id?: Prisma.StringNullableFilter<"Good"> | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateWithoutCategoryInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -949,7 +820,6 @@ export type GoodCreateWithoutCategoryInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGoodsInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGoodsInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -968,7 +838,6 @@ export type GoodUncheckedCreateWithoutCategoryInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
guild_id?: string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedCreateNestedManyWithoutGoodInput
|
||||
}
|
||||
|
||||
@@ -1014,7 +883,6 @@ export type GoodCreateWithoutSales_invoice_itemsInput = {
|
||||
deleted_at?: Date | string | null
|
||||
category?: Prisma.GoodCategoryCreateNestedOneWithoutGoodsInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGoodsInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGoodsInput
|
||||
}
|
||||
|
||||
export type GoodUncheckedCreateWithoutSales_invoice_itemsInput = {
|
||||
@@ -1033,7 +901,6 @@ export type GoodUncheckedCreateWithoutSales_invoice_itemsInput = {
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
category_id?: string | null
|
||||
guild_id?: string | null
|
||||
}
|
||||
|
||||
export type GoodCreateOrConnectWithoutSales_invoice_itemsInput = {
|
||||
@@ -1068,7 +935,6 @@ export type GoodUpdateWithoutSales_invoice_itemsInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category?: Prisma.GoodCategoryUpdateOneWithoutGoodsNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGoodsNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGoodsNestedInput
|
||||
}
|
||||
|
||||
export type GoodUncheckedUpdateWithoutSales_invoice_itemsInput = {
|
||||
@@ -1087,81 +953,6 @@ export type GoodUncheckedUpdateWithoutSales_invoice_itemsInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateManyGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
is_default_guild_good?: boolean
|
||||
sku: string
|
||||
unit_type: $Enums.UnitType
|
||||
pricing_model: $Enums.GoodPricingModel
|
||||
description?: string | null
|
||||
local_sku?: string | null
|
||||
barcode?: string | null
|
||||
base_sale_price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
category_id?: string | null
|
||||
}
|
||||
|
||||
export type GoodUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
sku?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit_type?: Prisma.EnumUnitTypeFieldUpdateOperationsInput | $Enums.UnitType
|
||||
pricing_model?: Prisma.EnumGoodPricingModelFieldUpdateOperationsInput | $Enums.GoodPricingModel
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
local_sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
base_sale_price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category?: Prisma.GoodCategoryUpdateOneWithoutGoodsNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGoodsNestedInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
export type GoodUncheckedUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
sku?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit_type?: Prisma.EnumUnitTypeFieldUpdateOperationsInput | $Enums.UnitType
|
||||
pricing_model?: Prisma.EnumGoodPricingModelFieldUpdateOperationsInput | $Enums.GoodPricingModel
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
local_sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
base_sale_price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
export type GoodUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
sku?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
unit_type?: Prisma.EnumUnitTypeFieldUpdateOperationsInput | $Enums.UnitType
|
||||
pricing_model?: Prisma.EnumGoodPricingModelFieldUpdateOperationsInput | $Enums.GoodPricingModel
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
local_sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
base_sale_price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateManyComplexInput = {
|
||||
@@ -1179,7 +970,6 @@ export type GoodCreateManyComplexInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
category_id?: string | null
|
||||
guild_id?: string | null
|
||||
}
|
||||
|
||||
export type GoodUpdateWithoutComplexInput = {
|
||||
@@ -1197,7 +987,6 @@ export type GoodUpdateWithoutComplexInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category?: Prisma.GoodCategoryUpdateOneWithoutGoodsNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGoodsNestedInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -1216,7 +1005,6 @@ export type GoodUncheckedUpdateWithoutComplexInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -1235,7 +1023,6 @@ export type GoodUncheckedUpdateManyWithoutComplexInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
category_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type GoodCreateManyCategoryInput = {
|
||||
@@ -1253,7 +1040,6 @@ export type GoodCreateManyCategoryInput = {
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
complex_id?: string | null
|
||||
guild_id?: string | null
|
||||
}
|
||||
|
||||
export type GoodUpdateWithoutCategoryInput = {
|
||||
@@ -1271,7 +1057,6 @@ export type GoodUpdateWithoutCategoryInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGoodsNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGoodsNestedInput
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -1290,7 +1075,6 @@ export type GoodUncheckedUpdateWithoutCategoryInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
sales_invoice_items?: Prisma.SalesInvoiceItemUncheckedUpdateManyWithoutGoodNestedInput
|
||||
}
|
||||
|
||||
@@ -1309,7 +1093,6 @@ export type GoodUncheckedUpdateManyWithoutCategoryInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -1359,10 +1142,8 @@ export type GoodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
deleted_at?: boolean
|
||||
complex_id?: boolean
|
||||
category_id?: boolean
|
||||
guild_id?: boolean
|
||||
category?: boolean | Prisma.Good$categoryArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.Good$complexArgs<ExtArgs>
|
||||
guild?: boolean | Prisma.Good$guildArgs<ExtArgs>
|
||||
sales_invoice_items?: boolean | Prisma.Good$sales_invoice_itemsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["good"]>
|
||||
@@ -1385,14 +1166,12 @@ export type GoodSelectScalar = {
|
||||
deleted_at?: boolean
|
||||
complex_id?: boolean
|
||||
category_id?: boolean
|
||||
guild_id?: boolean
|
||||
}
|
||||
|
||||
export type GoodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "is_default_guild_good" | "sku" | "unit_type" | "pricing_model" | "description" | "local_sku" | "barcode" | "base_sale_price" | "created_at" | "updated_at" | "deleted_at" | "complex_id" | "category_id" | "guild_id", ExtArgs["result"]["good"]>
|
||||
export type GoodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "is_default_guild_good" | "sku" | "unit_type" | "pricing_model" | "description" | "local_sku" | "barcode" | "base_sale_price" | "created_at" | "updated_at" | "deleted_at" | "complex_id" | "category_id", ExtArgs["result"]["good"]>
|
||||
export type GoodInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
category?: boolean | Prisma.Good$categoryArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.Good$complexArgs<ExtArgs>
|
||||
guild?: boolean | Prisma.Good$guildArgs<ExtArgs>
|
||||
sales_invoice_items?: boolean | Prisma.Good$sales_invoice_itemsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -1402,7 +1181,6 @@ export type $GoodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
objects: {
|
||||
category: Prisma.$GoodCategoryPayload<ExtArgs> | null
|
||||
complex: Prisma.$ComplexPayload<ExtArgs> | null
|
||||
guild: Prisma.$GuildPayload<ExtArgs> | null
|
||||
sales_invoice_items: Prisma.$SalesInvoiceItemPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
@@ -1421,7 +1199,6 @@ export type $GoodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
deleted_at: Date | null
|
||||
complex_id: string | null
|
||||
category_id: string | null
|
||||
guild_id: string | null
|
||||
}, ExtArgs["result"]["good"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1764,7 +1541,6 @@ export interface Prisma__GoodClient<T, Null = never, ExtArgs extends runtime.Typ
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
category<T extends Prisma.Good$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Good$categoryArgs<ExtArgs>>): Prisma.Prisma__GoodCategoryClient<runtime.Types.Result.GetResult<Prisma.$GoodCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
complex<T extends Prisma.Good$complexArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Good$complexArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
guild<T extends Prisma.Good$guildArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Good$guildArgs<ExtArgs>>): Prisma.Prisma__GuildClient<runtime.Types.Result.GetResult<Prisma.$GuildPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
sales_invoice_items<T extends Prisma.Good$sales_invoice_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Good$sales_invoice_itemsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoiceItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
@@ -1810,7 +1586,6 @@ export interface GoodFieldRefs {
|
||||
readonly deleted_at: Prisma.FieldRef<"Good", 'DateTime'>
|
||||
readonly complex_id: Prisma.FieldRef<"Good", 'String'>
|
||||
readonly category_id: Prisma.FieldRef<"Good", 'String'>
|
||||
readonly guild_id: Prisma.FieldRef<"Good", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -2191,25 +1966,6 @@ export type Good$complexArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
where?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Good.guild
|
||||
*/
|
||||
export type Good$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
|
||||
}
|
||||
|
||||
/**
|
||||
* Good.sales_invoice_items
|
||||
*/
|
||||
|
||||
@@ -448,48 +448,6 @@ export type GoodCategoryMinOrderByAggregateInput = {
|
||||
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[]
|
||||
@@ -548,72 +506,46 @@ 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 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 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 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 GoodCategoryCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
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 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 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 GoodCategoryCreateWithoutComplexInput = {
|
||||
@@ -668,6 +600,22 @@ export type GoodCategoryUpdateManyWithWhereWithoutComplexInput = {
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
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 GoodCategoryCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -736,7 +684,20 @@ export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInput = {
|
||||
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
|
||||
@@ -746,44 +707,33 @@ export type GoodCategoryCreateManyGuildInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
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 GoodCategoryCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
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 GoodCategoryCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.GoodCategoryCreateManyGuildInput | Prisma.GoodCategoryCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
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 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 GoodCategoryCreateManyComplexInput = {
|
||||
@@ -836,6 +786,56 @@ export type GoodCategoryUncheckedUpdateManyWithoutComplexInput = {
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type GoodCategoryCountOutputType
|
||||
|
||||
@@ -183,7 +183,6 @@ export type GuildWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
business_activities?: Prisma.BusinessActivityListRelationFilter
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
good_categories?: Prisma.GoodCategoryListRelationFilter
|
||||
}
|
||||
|
||||
@@ -194,7 +193,6 @@ export type GuildOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
business_activities?: Prisma.BusinessActivityOrderByRelationAggregateInput
|
||||
goods?: Prisma.GoodOrderByRelationAggregateInput
|
||||
good_categories?: Prisma.GoodCategoryOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.GuildOrderByRelevanceInput
|
||||
}
|
||||
@@ -209,7 +207,6 @@ export type GuildWhereUniqueInput = Prisma.AtLeast<{
|
||||
created_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Guild"> | Date | string
|
||||
business_activities?: Prisma.BusinessActivityListRelationFilter
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
good_categories?: Prisma.GoodCategoryListRelationFilter
|
||||
}, "id">
|
||||
|
||||
@@ -242,7 +239,6 @@ export type GuildCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityCreateNestedManyWithoutGuildInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
@@ -253,7 +249,6 @@ export type GuildUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedCreateNestedManyWithoutGuildInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
@@ -264,7 +259,6 @@ export type GuildUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUpdateManyWithoutGuildNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
@@ -275,7 +269,6 @@ export type GuildUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedUpdateManyWithoutGuildNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
@@ -303,6 +296,16 @@ export type GuildUncheckedUpdateManyInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type GuildScalarRelationFilter = {
|
||||
is?: Prisma.GuildWhereInput
|
||||
isNot?: Prisma.GuildWhereInput
|
||||
}
|
||||
|
||||
export type GuildNullableScalarRelationFilter = {
|
||||
is?: Prisma.GuildWhereInput | null
|
||||
isNot?: Prisma.GuildWhereInput | null
|
||||
}
|
||||
|
||||
export type GuildOrderByRelevanceInput = {
|
||||
fields: Prisma.GuildOrderByRelevanceFieldEnum | Prisma.GuildOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -333,20 +336,6 @@ export type GuildMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GuildScalarRelationFilter = {
|
||||
is?: Prisma.GuildWhereInput
|
||||
isNot?: Prisma.GuildWhereInput
|
||||
}
|
||||
|
||||
export type GuildNullableScalarRelationFilter = {
|
||||
is?: Prisma.GuildWhereInput | null
|
||||
isNot?: Prisma.GuildWhereInput | null
|
||||
}
|
||||
|
||||
export type NullableStringFieldUpdateOperationsInput = {
|
||||
set?: string | null
|
||||
}
|
||||
|
||||
export type GuildCreateNestedOneWithoutBusiness_activitiesInput = {
|
||||
create?: Prisma.XOR<Prisma.GuildCreateWithoutBusiness_activitiesInput, Prisma.GuildUncheckedCreateWithoutBusiness_activitiesInput>
|
||||
connectOrCreate?: Prisma.GuildCreateOrConnectWithoutBusiness_activitiesInput
|
||||
@@ -361,22 +350,6 @@ export type GuildUpdateOneRequiredWithoutBusiness_activitiesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GuildUpdateToOneWithWhereWithoutBusiness_activitiesInput, Prisma.GuildUpdateWithoutBusiness_activitiesInput>, Prisma.GuildUncheckedUpdateWithoutBusiness_activitiesInput>
|
||||
}
|
||||
|
||||
export type GuildCreateNestedOneWithoutGoodsInput = {
|
||||
create?: Prisma.XOR<Prisma.GuildCreateWithoutGoodsInput, Prisma.GuildUncheckedCreateWithoutGoodsInput>
|
||||
connectOrCreate?: Prisma.GuildCreateOrConnectWithoutGoodsInput
|
||||
connect?: Prisma.GuildWhereUniqueInput
|
||||
}
|
||||
|
||||
export type GuildUpdateOneWithoutGoodsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GuildCreateWithoutGoodsInput, Prisma.GuildUncheckedCreateWithoutGoodsInput>
|
||||
connectOrCreate?: Prisma.GuildCreateOrConnectWithoutGoodsInput
|
||||
upsert?: Prisma.GuildUpsertWithoutGoodsInput
|
||||
disconnect?: Prisma.GuildWhereInput | boolean
|
||||
delete?: Prisma.GuildWhereInput | boolean
|
||||
connect?: Prisma.GuildWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GuildUpdateToOneWithWhereWithoutGoodsInput, Prisma.GuildUpdateWithoutGoodsInput>, Prisma.GuildUncheckedUpdateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type GuildCreateNestedOneWithoutGood_categoriesInput = {
|
||||
create?: Prisma.XOR<Prisma.GuildCreateWithoutGood_categoriesInput, Prisma.GuildUncheckedCreateWithoutGood_categoriesInput>
|
||||
connectOrCreate?: Prisma.GuildCreateOrConnectWithoutGood_categoriesInput
|
||||
@@ -399,7 +372,6 @@ export type GuildCreateWithoutBusiness_activitiesInput = {
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
@@ -409,7 +381,6 @@ export type GuildUncheckedCreateWithoutBusiness_activitiesInput = {
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
@@ -435,7 +406,6 @@ export type GuildUpdateWithoutBusiness_activitiesInput = {
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
goods?: Prisma.GoodUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
@@ -445,63 +415,6 @@ export type GuildUncheckedUpdateWithoutBusiness_activitiesInput = {
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
export type GuildCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
export type GuildUncheckedCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedCreateNestedManyWithoutGuildInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
export type GuildCreateOrConnectWithoutGoodsInput = {
|
||||
where: Prisma.GuildWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GuildCreateWithoutGoodsInput, Prisma.GuildUncheckedCreateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type GuildUpsertWithoutGoodsInput = {
|
||||
update: Prisma.XOR<Prisma.GuildUpdateWithoutGoodsInput, Prisma.GuildUncheckedUpdateWithoutGoodsInput>
|
||||
create: Prisma.XOR<Prisma.GuildCreateWithoutGoodsInput, Prisma.GuildUncheckedCreateWithoutGoodsInput>
|
||||
where?: Prisma.GuildWhereInput
|
||||
}
|
||||
|
||||
export type GuildUpdateToOneWithWhereWithoutGoodsInput = {
|
||||
where?: Prisma.GuildWhereInput
|
||||
data: Prisma.XOR<Prisma.GuildUpdateWithoutGoodsInput, Prisma.GuildUncheckedUpdateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type GuildUpdateWithoutGoodsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
export type GuildUncheckedUpdateWithoutGoodsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedUpdateManyWithoutGuildNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
@@ -512,7 +425,6 @@ export type GuildCreateWithoutGood_categoriesInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityCreateNestedManyWithoutGuildInput
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
export type GuildUncheckedCreateWithoutGood_categoriesInput = {
|
||||
@@ -522,7 +434,6 @@ export type GuildUncheckedCreateWithoutGood_categoriesInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedCreateNestedManyWithoutGuildInput
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutGuildInput
|
||||
}
|
||||
|
||||
export type GuildCreateOrConnectWithoutGood_categoriesInput = {
|
||||
@@ -548,7 +459,6 @@ export type GuildUpdateWithoutGood_categoriesInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUpdateManyWithoutGuildNestedInput
|
||||
goods?: Prisma.GoodUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
export type GuildUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
@@ -558,7 +468,6 @@ export type GuildUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activities?: Prisma.BusinessActivityUncheckedUpdateManyWithoutGuildNestedInput
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutGuildNestedInput
|
||||
}
|
||||
|
||||
|
||||
@@ -568,13 +477,11 @@ export type GuildUncheckedUpdateWithoutGood_categoriesInput = {
|
||||
|
||||
export type GuildCountOutputType = {
|
||||
business_activities: number
|
||||
goods: number
|
||||
good_categories: number
|
||||
}
|
||||
|
||||
export type GuildCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
business_activities?: boolean | GuildCountOutputTypeCountBusiness_activitiesArgs
|
||||
goods?: boolean | GuildCountOutputTypeCountGoodsArgs
|
||||
good_categories?: boolean | GuildCountOutputTypeCountGood_categoriesArgs
|
||||
}
|
||||
|
||||
@@ -595,13 +502,6 @@ export type GuildCountOutputTypeCountBusiness_activitiesArgs<ExtArgs extends run
|
||||
where?: Prisma.BusinessActivityWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* GuildCountOutputType without action
|
||||
*/
|
||||
export type GuildCountOutputTypeCountGoodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.GoodWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* GuildCountOutputType without action
|
||||
*/
|
||||
@@ -617,7 +517,6 @@ export type GuildSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
business_activities?: boolean | Prisma.Guild$business_activitiesArgs<ExtArgs>
|
||||
goods?: boolean | Prisma.Guild$goodsArgs<ExtArgs>
|
||||
good_categories?: boolean | Prisma.Guild$good_categoriesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GuildCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["guild"]>
|
||||
@@ -635,7 +534,6 @@ export type GuildSelectScalar = {
|
||||
export type GuildOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "created_at" | "updated_at", ExtArgs["result"]["guild"]>
|
||||
export type GuildInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
business_activities?: boolean | Prisma.Guild$business_activitiesArgs<ExtArgs>
|
||||
goods?: boolean | Prisma.Guild$goodsArgs<ExtArgs>
|
||||
good_categories?: boolean | Prisma.Guild$good_categoriesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GuildCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -644,7 +542,6 @@ export type $GuildPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
name: "Guild"
|
||||
objects: {
|
||||
business_activities: Prisma.$BusinessActivityPayload<ExtArgs>[]
|
||||
goods: Prisma.$GoodPayload<ExtArgs>[]
|
||||
good_categories: Prisma.$GoodCategoryPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
@@ -994,7 +891,6 @@ readonly fields: GuildFieldRefs;
|
||||
export interface Prisma__GuildClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
business_activities<T extends Prisma.Guild$business_activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Guild$business_activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BusinessActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
goods<T extends Prisma.Guild$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Guild$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
good_categories<T extends Prisma.Guild$good_categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Guild$good_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
@@ -1396,30 +1292,6 @@ export type Guild$business_activitiesArgs<ExtArgs extends runtime.Types.Extensio
|
||||
distinct?: Prisma.BusinessActivityScalarFieldEnum | Prisma.BusinessActivityScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Guild.goods
|
||||
*/
|
||||
export type Guild$goodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Good
|
||||
*/
|
||||
select?: Prisma.GoodSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Good
|
||||
*/
|
||||
omit?: Prisma.GoodOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.GoodInclude<ExtArgs> | null
|
||||
where?: Prisma.GoodWhereInput
|
||||
orderBy?: Prisma.GoodOrderByWithRelationInput | Prisma.GoodOrderByWithRelationInput[]
|
||||
cursor?: Prisma.GoodWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.GoodScalarFieldEnum | Prisma.GoodScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* Guild.good_categories
|
||||
*/
|
||||
|
||||
@@ -39,6 +39,7 @@ export type PartnerMinAggregateOutputType = {
|
||||
name: string | null
|
||||
code: string | null
|
||||
license_quota: number | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
@@ -48,6 +49,7 @@ export type PartnerMaxAggregateOutputType = {
|
||||
name: string | null
|
||||
code: string | null
|
||||
license_quota: number | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
@@ -57,6 +59,7 @@ export type PartnerCountAggregateOutputType = {
|
||||
name: number
|
||||
code: number
|
||||
license_quota: number
|
||||
status: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
_all: number
|
||||
@@ -76,6 +79,7 @@ export type PartnerMinAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
license_quota?: true
|
||||
status?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
@@ -85,6 +89,7 @@ export type PartnerMaxAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
license_quota?: true
|
||||
status?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
@@ -94,6 +99,7 @@ export type PartnerCountAggregateInputType = {
|
||||
name?: true
|
||||
code?: true
|
||||
license_quota?: true
|
||||
status?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
_all?: true
|
||||
@@ -188,8 +194,9 @@ export type PartnerGroupByArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
export type PartnerGroupByOutputType = {
|
||||
id: string
|
||||
name: string
|
||||
code: string | null
|
||||
code: string
|
||||
license_quota: number | null
|
||||
status: $Enums.PartnerStatus
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
_count: PartnerCountAggregateOutputType | null
|
||||
@@ -220,45 +227,49 @@ export type PartnerWhereInput = {
|
||||
NOT?: Prisma.PartnerWhereInput | Prisma.PartnerWhereInput[]
|
||||
id?: Prisma.StringFilter<"Partner"> | string
|
||||
name?: Prisma.StringFilter<"Partner"> | string
|
||||
code?: Prisma.StringNullableFilter<"Partner"> | string | null
|
||||
code?: Prisma.StringFilter<"Partner"> | string
|
||||
license_quota?: Prisma.IntNullableFilter<"Partner"> | number | null
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Partner"> | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
account?: Prisma.AccountListRelationFilter
|
||||
accounts?: Prisma.PartnerAccountListRelationFilter
|
||||
}
|
||||
|
||||
export type PartnerOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
license_quota?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
licenses?: Prisma.LicenseOrderByRelationAggregateInput
|
||||
account?: Prisma.AccountOrderByRelationAggregateInput
|
||||
accounts?: Prisma.PartnerAccountOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.PartnerOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type PartnerWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
code?: string
|
||||
AND?: Prisma.PartnerWhereInput | Prisma.PartnerWhereInput[]
|
||||
OR?: Prisma.PartnerWhereInput[]
|
||||
NOT?: Prisma.PartnerWhereInput | Prisma.PartnerWhereInput[]
|
||||
name?: Prisma.StringFilter<"Partner"> | string
|
||||
code?: Prisma.StringNullableFilter<"Partner"> | string | null
|
||||
license_quota?: Prisma.IntNullableFilter<"Partner"> | number | null
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Partner"> | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Partner"> | Date | string
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
account?: Prisma.AccountListRelationFilter
|
||||
}, "id">
|
||||
accounts?: Prisma.PartnerAccountListRelationFilter
|
||||
}, "id" | "code">
|
||||
|
||||
export type PartnerOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
license_quota?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
_count?: Prisma.PartnerCountOrderByAggregateInput
|
||||
@@ -274,8 +285,9 @@ export type PartnerScalarWhereWithAggregatesInput = {
|
||||
NOT?: Prisma.PartnerScalarWhereWithAggregatesInput | Prisma.PartnerScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"Partner"> | string
|
||||
name?: Prisma.StringWithAggregatesFilter<"Partner"> | string
|
||||
code?: Prisma.StringNullableWithAggregatesFilter<"Partner"> | string | null
|
||||
code?: Prisma.StringWithAggregatesFilter<"Partner"> | string
|
||||
license_quota?: Prisma.IntNullableWithAggregatesFilter<"Partner"> | number | null
|
||||
status?: Prisma.EnumPartnerStatusWithAggregatesFilter<"Partner"> | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"Partner"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Partner"> | Date | string
|
||||
}
|
||||
@@ -283,52 +295,57 @@ export type PartnerScalarWhereWithAggregatesInput = {
|
||||
export type PartnerCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPartnerInput
|
||||
account?: Prisma.AccountCreateNestedManyWithoutPartnerInput
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPartnerInput
|
||||
account?: Prisma.AccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPartnerNestedInput
|
||||
account?: Prisma.AccountUpdateManyWithoutPartnerNestedInput
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
account?: Prisma.AccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type PartnerCreateManyInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
}
|
||||
@@ -336,8 +353,9 @@ export type PartnerCreateManyInput = {
|
||||
export type PartnerUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -345,8 +363,9 @@ export type PartnerUpdateManyMutationInput = {
|
||||
export type PartnerUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -367,6 +386,7 @@ export type PartnerCountOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
license_quota?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
@@ -380,6 +400,7 @@ export type PartnerMaxOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
license_quota?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
@@ -389,6 +410,7 @@ export type PartnerMinOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
license_quota?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
@@ -397,11 +419,6 @@ export type PartnerSumOrderByAggregateInput = {
|
||||
license_quota?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PartnerNullableScalarRelationFilter = {
|
||||
is?: Prisma.PartnerWhereInput | null
|
||||
isNot?: Prisma.PartnerWhereInput | null
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutLicensesInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutLicensesInput, Prisma.PartnerUncheckedCreateWithoutLicensesInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutLicensesInput
|
||||
@@ -424,40 +441,44 @@ export type NullableIntFieldUpdateOperationsInput = {
|
||||
divide?: number
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutAccountInput, Prisma.PartnerUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutAccountInput
|
||||
export type EnumPartnerStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.PartnerStatus
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutAccountsInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutAccountsInput, Prisma.PartnerUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutAccountsInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutAccountInput, Prisma.PartnerUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.PartnerWhereInput | boolean
|
||||
delete?: Prisma.PartnerWhereInput | boolean
|
||||
export type PartnerUpdateOneRequiredWithoutAccountsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutAccountsInput, Prisma.PartnerUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutAccountsInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutAccountsInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutAccountInput, Prisma.PartnerUpdateWithoutAccountInput>, Prisma.PartnerUncheckedUpdateWithoutAccountInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutAccountsInput, Prisma.PartnerUpdateWithoutAccountsInput>, Prisma.PartnerUncheckedUpdateWithoutAccountsInput>
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutLicensesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account?: Prisma.AccountCreateNestedManyWithoutPartnerInput
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutLicensesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account?: Prisma.AccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutLicensesInput = {
|
||||
@@ -479,74 +500,80 @@ export type PartnerUpdateToOneWithWhereWithoutLicensesInput = {
|
||||
export type PartnerUpdateWithoutLicensesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account?: Prisma.AccountUpdateManyWithoutPartnerNestedInput
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutLicensesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account?: Prisma.AccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutAccountInput = {
|
||||
export type PartnerCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutAccountInput = {
|
||||
export type PartnerUncheckedCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
code: string
|
||||
license_quota?: number | null
|
||||
status?: $Enums.PartnerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutAccountInput = {
|
||||
export type PartnerCreateOrConnectWithoutAccountsInput = {
|
||||
where: Prisma.PartnerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutAccountInput, Prisma.PartnerUncheckedCreateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutAccountsInput, Prisma.PartnerUncheckedCreateWithoutAccountsInput>
|
||||
}
|
||||
|
||||
export type PartnerUpsertWithoutAccountInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutAccountInput, Prisma.PartnerUncheckedUpdateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutAccountInput, Prisma.PartnerUncheckedCreateWithoutAccountInput>
|
||||
export type PartnerUpsertWithoutAccountsInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutAccountsInput, Prisma.PartnerUncheckedUpdateWithoutAccountsInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutAccountsInput, Prisma.PartnerUncheckedCreateWithoutAccountsInput>
|
||||
where?: Prisma.PartnerWhereInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateToOneWithWhereWithoutAccountInput = {
|
||||
export type PartnerUpdateToOneWithWhereWithoutAccountsInput = {
|
||||
where?: Prisma.PartnerWhereInput
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutAccountInput, Prisma.PartnerUncheckedUpdateWithoutAccountInput>
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutAccountsInput, Prisma.PartnerUncheckedUpdateWithoutAccountsInput>
|
||||
}
|
||||
|
||||
export type PartnerUpdateWithoutAccountInput = {
|
||||
export type PartnerUpdateWithoutAccountsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutAccountInput = {
|
||||
export type PartnerUncheckedUpdateWithoutAccountsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_quota?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
@@ -559,12 +586,12 @@ export type PartnerUncheckedUpdateWithoutAccountInput = {
|
||||
|
||||
export type PartnerCountOutputType = {
|
||||
licenses: number
|
||||
account: number
|
||||
accounts: number
|
||||
}
|
||||
|
||||
export type PartnerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
licenses?: boolean | PartnerCountOutputTypeCountLicensesArgs
|
||||
account?: boolean | PartnerCountOutputTypeCountAccountArgs
|
||||
accounts?: boolean | PartnerCountOutputTypeCountAccountsArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -587,8 +614,8 @@ export type PartnerCountOutputTypeCountLicensesArgs<ExtArgs extends runtime.Type
|
||||
/**
|
||||
* PartnerCountOutputType without action
|
||||
*/
|
||||
export type PartnerCountOutputTypeCountAccountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
export type PartnerCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.PartnerAccountWhereInput
|
||||
}
|
||||
|
||||
|
||||
@@ -597,10 +624,11 @@ export type PartnerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
license_quota?: boolean
|
||||
status?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
licenses?: boolean | Prisma.Partner$licensesArgs<ExtArgs>
|
||||
account?: boolean | Prisma.Partner$accountArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Partner$accountsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PartnerCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["partner"]>
|
||||
|
||||
@@ -611,14 +639,15 @@ export type PartnerSelectScalar = {
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
license_quota?: boolean
|
||||
status?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
}
|
||||
|
||||
export type PartnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "license_quota" | "created_at" | "updated_at", ExtArgs["result"]["partner"]>
|
||||
export type PartnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "license_quota" | "status" | "created_at" | "updated_at", ExtArgs["result"]["partner"]>
|
||||
export type PartnerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
licenses?: boolean | Prisma.Partner$licensesArgs<ExtArgs>
|
||||
account?: boolean | Prisma.Partner$accountArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Partner$accountsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PartnerCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -626,13 +655,14 @@ export type $PartnerPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
||||
name: "Partner"
|
||||
objects: {
|
||||
licenses: Prisma.$LicensePayload<ExtArgs>[]
|
||||
account: Prisma.$AccountPayload<ExtArgs>[]
|
||||
accounts: Prisma.$PartnerAccountPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
name: string
|
||||
code: string | null
|
||||
code: string
|
||||
license_quota: number | null
|
||||
status: $Enums.PartnerStatus
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}, ExtArgs["result"]["partner"]>
|
||||
@@ -976,7 +1006,7 @@ readonly fields: PartnerFieldRefs;
|
||||
export interface Prisma__PartnerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
licenses<T extends Prisma.Partner$licensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Partner$licensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
account<T extends Prisma.Partner$accountArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Partner$accountArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.Partner$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Partner$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PartnerAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1010,6 +1040,7 @@ export interface PartnerFieldRefs {
|
||||
readonly name: Prisma.FieldRef<"Partner", 'String'>
|
||||
readonly code: Prisma.FieldRef<"Partner", 'String'>
|
||||
readonly license_quota: Prisma.FieldRef<"Partner", 'Int'>
|
||||
readonly status: Prisma.FieldRef<"Partner", 'PartnerStatus'>
|
||||
readonly created_at: Prisma.FieldRef<"Partner", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Partner", 'DateTime'>
|
||||
}
|
||||
@@ -1379,27 +1410,27 @@ export type Partner$licensesArgs<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
}
|
||||
|
||||
/**
|
||||
* Partner.account
|
||||
* Partner.accounts
|
||||
*/
|
||||
export type Partner$accountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type Partner$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Account
|
||||
* Select specific fields to fetch from the PartnerAccount
|
||||
*/
|
||||
select?: Prisma.AccountSelect<ExtArgs> | null
|
||||
select?: Prisma.PartnerAccountSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Account
|
||||
* Omit specific fields from the PartnerAccount
|
||||
*/
|
||||
omit?: Prisma.AccountOmit<ExtArgs> | null
|
||||
omit?: Prisma.PartnerAccountOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.AccountInclude<ExtArgs> | null
|
||||
where?: Prisma.AccountWhereInput
|
||||
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.AccountWhereUniqueInput
|
||||
include?: Prisma.PartnerAccountInclude<ExtArgs> | null
|
||||
where?: Prisma.PartnerAccountWhereInput
|
||||
orderBy?: Prisma.PartnerAccountOrderByWithRelationInput | Prisma.PartnerAccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.PartnerAccountWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
||||
distinct?: Prisma.PartnerAccountScalarFieldEnum | Prisma.PartnerAccountScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
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
@@ -234,7 +234,7 @@ export type PosWhereInput = {
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
permissionPos?: Prisma.PermissionPosListRelationFilter
|
||||
}
|
||||
|
||||
export type PosOrderByWithRelationInput = {
|
||||
@@ -253,7 +253,7 @@ export type PosOrderByWithRelationInput = {
|
||||
device?: Prisma.DeviceOrderByWithRelationInput
|
||||
provider?: Prisma.ProviderOrderByWithRelationInput
|
||||
licenses?: Prisma.LicenseOrderByRelationAggregateInput
|
||||
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
||||
permissionPos?: Prisma.PermissionPosOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.PosOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -276,7 +276,7 @@ export type PosWhereUniqueInput = Prisma.AtLeast<{
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
licenses?: Prisma.LicenseListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
permissionPos?: Prisma.PermissionPosListRelationFilter
|
||||
}, "id" | "serial">
|
||||
|
||||
export type PosOrderByWithAggregationInput = {
|
||||
@@ -326,7 +326,7 @@ export type PosCreateInput = {
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateInput = {
|
||||
@@ -342,7 +342,7 @@ export type PosUncheckedCreateInput = {
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUpdateInput = {
|
||||
@@ -358,7 +358,7 @@ export type PosUpdateInput = {
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateInput = {
|
||||
@@ -374,7 +374,7 @@ export type PosUncheckedUpdateInput = {
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateManyInput = {
|
||||
@@ -479,11 +479,6 @@ export type PosScalarRelationFilter = {
|
||||
isNot?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosNullableScalarRelationFilter = {
|
||||
is?: Prisma.PosWhereInput | null
|
||||
isNot?: Prisma.PosWhereInput | null
|
||||
}
|
||||
|
||||
export type PosCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
@@ -590,20 +585,18 @@ export type PosUpdateOneRequiredWithoutLicensesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutLicensesInput, Prisma.PosUpdateWithoutLicensesInput>, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutAccountsInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
|
||||
export type PosCreateNestedOneWithoutPermissionPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUpdateOneWithoutAccountsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
|
||||
upsert?: Prisma.PosUpsertWithoutAccountsInput
|
||||
disconnect?: Prisma.PosWhereInput | boolean
|
||||
delete?: Prisma.PosWhereInput | boolean
|
||||
export type PosUpdateOneRequiredWithoutPermissionPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutPermissionPosInput
|
||||
upsert?: Prisma.PosUpsertWithoutPermissionPosInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountsInput, Prisma.PosUpdateWithoutAccountsInput>, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutPermissionPosInput, Prisma.PosUpdateWithoutPermissionPosInput>, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
|
||||
}
|
||||
|
||||
export type PosCreateNestedManyWithoutProviderInput = {
|
||||
@@ -660,7 +653,7 @@ export type PosCreateWithoutComplexInput = {
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutComplexInput = {
|
||||
@@ -675,7 +668,7 @@ export type PosUncheckedCreateWithoutComplexInput = {
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutComplexInput = {
|
||||
@@ -733,7 +726,7 @@ export type PosCreateWithoutDeviceInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutDeviceInput = {
|
||||
@@ -748,7 +741,7 @@ export type PosUncheckedCreateWithoutDeviceInput = {
|
||||
complex_id: string
|
||||
provider_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutDeviceInput = {
|
||||
@@ -789,7 +782,7 @@ export type PosCreateWithoutLicensesInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutLicensesInput = {
|
||||
@@ -804,7 +797,7 @@ export type PosUncheckedCreateWithoutLicensesInput = {
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutLicensesInput = {
|
||||
@@ -835,7 +828,7 @@ export type PosUpdateWithoutLicensesInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutLicensesInput = {
|
||||
@@ -850,10 +843,10 @@ export type PosUncheckedUpdateWithoutLicensesInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateWithoutAccountsInput = {
|
||||
export type PosCreateWithoutPermissionPosInput = {
|
||||
id?: string
|
||||
name: string
|
||||
serial: string
|
||||
@@ -868,7 +861,7 @@ export type PosCreateWithoutAccountsInput = {
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutAccountsInput = {
|
||||
export type PosUncheckedCreateWithoutPermissionPosInput = {
|
||||
id?: string
|
||||
name: string
|
||||
serial: string
|
||||
@@ -883,23 +876,23 @@ export type PosUncheckedCreateWithoutAccountsInput = {
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutAccountsInput = {
|
||||
export type PosCreateOrConnectWithoutPermissionPosInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
|
||||
}
|
||||
|
||||
export type PosUpsertWithoutAccountsInput = {
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||||
export type PosUpsertWithoutPermissionPosInput = {
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutPermissionPosInput, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutPermissionPosInput, Prisma.PosUncheckedCreateWithoutPermissionPosInput>
|
||||
where?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosUpdateToOneWithWhereWithoutAccountsInput = {
|
||||
export type PosUpdateToOneWithWhereWithoutPermissionPosInput = {
|
||||
where?: Prisma.PosWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutPermissionPosInput, Prisma.PosUncheckedUpdateWithoutPermissionPosInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutAccountsInput = {
|
||||
export type PosUpdateWithoutPermissionPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -914,7 +907,7 @@ export type PosUpdateWithoutAccountsInput = {
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutAccountsInput = {
|
||||
export type PosUncheckedUpdateWithoutPermissionPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -941,7 +934,7 @@ export type PosCreateWithoutProviderInput = {
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutProviderInput = {
|
||||
@@ -956,7 +949,7 @@ export type PosUncheckedCreateWithoutProviderInput = {
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutProviderInput = {
|
||||
@@ -1010,7 +1003,7 @@ export type PosUpdateWithoutComplexInput = {
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
@@ -1025,7 +1018,7 @@ export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutComplexInput = {
|
||||
@@ -1066,7 +1059,7 @@ export type PosUpdateWithoutDeviceInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutDeviceInput = {
|
||||
@@ -1081,7 +1074,7 @@ export type PosUncheckedUpdateWithoutDeviceInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutDeviceInput = {
|
||||
@@ -1122,7 +1115,7 @@ export type PosUpdateWithoutProviderInput = {
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutProviderInput = {
|
||||
@@ -1137,7 +1130,7 @@ export type PosUncheckedUpdateWithoutProviderInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||||
permissionPos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutProviderInput = {
|
||||
@@ -1160,12 +1153,12 @@ export type PosUncheckedUpdateManyWithoutProviderInput = {
|
||||
|
||||
export type PosCountOutputType = {
|
||||
licenses: number
|
||||
accounts: number
|
||||
permissionPos: number
|
||||
}
|
||||
|
||||
export type PosCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
licenses?: boolean | PosCountOutputTypeCountLicensesArgs
|
||||
accounts?: boolean | PosCountOutputTypeCountAccountsArgs
|
||||
permissionPos?: boolean | PosCountOutputTypeCountPermissionPosArgs
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1188,8 +1181,8 @@ export type PosCountOutputTypeCountLicensesArgs<ExtArgs extends runtime.Types.Ex
|
||||
/**
|
||||
* PosCountOutputType without action
|
||||
*/
|
||||
export type PosCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
export type PosCountOutputTypeCountPermissionPosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.PermissionPosWhereInput
|
||||
}
|
||||
|
||||
|
||||
@@ -1209,7 +1202,7 @@ export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||||
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
|
||||
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["pos"]>
|
||||
|
||||
@@ -1235,7 +1228,7 @@ export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||||
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
|
||||
permissionPos?: boolean | Prisma.Pos$permissionPosArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -1246,7 +1239,7 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
device: Prisma.$DevicePayload<ExtArgs> | null
|
||||
provider: Prisma.$ProviderPayload<ExtArgs> | null
|
||||
licenses: Prisma.$LicensePayload<ExtArgs>[]
|
||||
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
||||
permissionPos: Prisma.$PermissionPosPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -1604,7 +1597,7 @@ export interface Prisma__PosClient<T, Null = never, ExtArgs extends runtime.Type
|
||||
device<T extends Prisma.Pos$deviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$deviceArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
provider<T extends Prisma.Pos$providerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$providerArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
licenses<T extends Prisma.Pos$licensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$licensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.Pos$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
permissionPos<T extends Prisma.Pos$permissionPosArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$permissionPosArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -2050,27 +2043,27 @@ export type Pos$licensesArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
}
|
||||
|
||||
/**
|
||||
* Pos.accounts
|
||||
* Pos.permissionPos
|
||||
*/
|
||||
export type Pos$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type Pos$permissionPosArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Account
|
||||
* Select specific fields to fetch from the PermissionPos
|
||||
*/
|
||||
select?: Prisma.AccountSelect<ExtArgs> | null
|
||||
select?: Prisma.PermissionPosSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Account
|
||||
* Omit specific fields from the PermissionPos
|
||||
*/
|
||||
omit?: Prisma.AccountOmit<ExtArgs> | null
|
||||
omit?: Prisma.PermissionPosOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.AccountInclude<ExtArgs> | null
|
||||
where?: Prisma.AccountWhereInput
|
||||
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.AccountWhereUniqueInput
|
||||
include?: Prisma.PermissionPosInclude<ExtArgs> | null
|
||||
where?: Prisma.PermissionPosWhereInput
|
||||
orderBy?: Prisma.PermissionPosOrderByWithRelationInput | Prisma.PermissionPosOrderByWithRelationInput[]
|
||||
cursor?: Prisma.PermissionPosWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
||||
distinct?: Prisma.PermissionPosScalarFieldEnum | Prisma.PermissionPosScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,24 +26,27 @@ export type AggregateProvider = {
|
||||
|
||||
export type ProviderMinAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
code: string | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
name: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
|
||||
export type ProviderMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
code: string | null
|
||||
status: $Enums.PartnerStatus | null
|
||||
name: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
|
||||
export type ProviderCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
code: number
|
||||
status: number
|
||||
name: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
_all: number
|
||||
@@ -52,24 +55,27 @@ export type ProviderCountAggregateOutputType = {
|
||||
|
||||
export type ProviderMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
name?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
|
||||
export type ProviderMaxAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
name?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
|
||||
export type ProviderCountAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
status?: true
|
||||
name?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
_all?: true
|
||||
@@ -149,8 +155,9 @@ export type ProviderGroupByArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
||||
|
||||
export type ProviderGroupByOutputType = {
|
||||
id: string
|
||||
code: string
|
||||
status: $Enums.PartnerStatus
|
||||
name: string
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
_count: ProviderCountAggregateOutputType | null
|
||||
@@ -178,42 +185,46 @@ export type ProviderWhereInput = {
|
||||
OR?: Prisma.ProviderWhereInput[]
|
||||
NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
||||
id?: Prisma.StringFilter<"Provider"> | string
|
||||
code?: Prisma.StringFilter<"Provider"> | string
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Provider"> | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFilter<"Provider"> | string
|
||||
code?: Prisma.StringNullableFilter<"Provider"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
||||
pos_list?: Prisma.PosListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
accounts?: Prisma.ProviderAccountListRelationFilter
|
||||
}
|
||||
|
||||
export type ProviderOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
pos_list?: Prisma.PosOrderByRelationAggregateInput
|
||||
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
||||
accounts?: Prisma.ProviderAccountOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.ProviderOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type ProviderWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
code?: string
|
||||
AND?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
||||
OR?: Prisma.ProviderWhereInput[]
|
||||
NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
||||
status?: Prisma.EnumPartnerStatusFilter<"Provider"> | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFilter<"Provider"> | string
|
||||
code?: Prisma.StringNullableFilter<"Provider"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Provider"> | Date | string
|
||||
pos_list?: Prisma.PosListRelationFilter
|
||||
accounts?: Prisma.AccountListRelationFilter
|
||||
}, "id">
|
||||
accounts?: Prisma.ProviderAccountListRelationFilter
|
||||
}, "id" | "code">
|
||||
|
||||
export type ProviderOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
_count?: Prisma.ProviderCountOrderByAggregateInput
|
||||
@@ -226,72 +237,80 @@ export type ProviderScalarWhereWithAggregatesInput = {
|
||||
OR?: Prisma.ProviderScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.ProviderScalarWhereWithAggregatesInput | Prisma.ProviderScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
||||
code?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
||||
status?: Prisma.EnumPartnerStatusWithAggregatesFilter<"Provider"> | $Enums.PartnerStatus
|
||||
name?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
||||
code?: Prisma.StringNullableWithAggregatesFilter<"Provider"> | string | null
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Provider"> | Date | string
|
||||
}
|
||||
|
||||
export type ProviderCreateInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.ProviderAccountCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedCreateInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.ProviderAccountUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type ProviderUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
pos_list?: Prisma.PosUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.ProviderAccountUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.ProviderAccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type ProviderCreateManyInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
}
|
||||
|
||||
export type ProviderUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
@@ -309,28 +328,36 @@ export type ProviderOrderByRelevanceInput = {
|
||||
|
||||
export type ProviderCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
status?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderScalarRelationFilter = {
|
||||
is?: Prisma.ProviderWhereInput
|
||||
isNot?: Prisma.ProviderWhereInput
|
||||
}
|
||||
|
||||
export type ProviderCreateNestedOneWithoutPos_listInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutPos_listInput
|
||||
@@ -353,32 +380,32 @@ export type ProviderCreateNestedOneWithoutAccountsInput = {
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ProviderUpdateOneWithoutAccountsNestedInput = {
|
||||
export type ProviderUpdateOneRequiredWithoutAccountsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutAccountsInput, Prisma.ProviderUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutAccountsInput
|
||||
upsert?: Prisma.ProviderUpsertWithoutAccountsInput
|
||||
disconnect?: Prisma.ProviderWhereInput | boolean
|
||||
delete?: Prisma.ProviderWhereInput | boolean
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutAccountsInput, Prisma.ProviderUpdateWithoutAccountsInput>, Prisma.ProviderUncheckedUpdateWithoutAccountsInput>
|
||||
}
|
||||
|
||||
export type ProviderCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.ProviderAccountCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.ProviderAccountUncheckedCreateNestedManyWithoutUserInput
|
||||
}
|
||||
|
||||
export type ProviderCreateOrConnectWithoutPos_listInput = {
|
||||
@@ -399,26 +426,29 @@ export type ProviderUpdateToOneWithWhereWithoutPos_listInput = {
|
||||
|
||||
export type ProviderUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.AccountUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.ProviderAccountUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.ProviderAccountUncheckedUpdateManyWithoutUserNestedInput
|
||||
}
|
||||
|
||||
export type ProviderCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutProviderInput
|
||||
@@ -426,8 +456,9 @@ export type ProviderCreateWithoutAccountsInput = {
|
||||
|
||||
export type ProviderUncheckedCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutProviderInput
|
||||
@@ -451,8 +482,9 @@ export type ProviderUpdateToOneWithWhereWithoutAccountsInput = {
|
||||
|
||||
export type ProviderUpdateWithoutAccountsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
pos_list?: Prisma.PosUpdateManyWithoutProviderNestedInput
|
||||
@@ -460,8 +492,9 @@ export type ProviderUpdateWithoutAccountsInput = {
|
||||
|
||||
export type ProviderUncheckedUpdateWithoutAccountsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutProviderNestedInput
|
||||
@@ -503,14 +536,15 @@ export type ProviderCountOutputTypeCountPos_listArgs<ExtArgs extends runtime.Typ
|
||||
* ProviderCountOutputType without action
|
||||
*/
|
||||
export type ProviderCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
where?: Prisma.ProviderAccountWhereInput
|
||||
}
|
||||
|
||||
|
||||
export type ProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
status?: boolean
|
||||
name?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
pos_list?: boolean | Prisma.Provider$pos_listArgs<ExtArgs>
|
||||
@@ -522,13 +556,14 @@ export type ProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
|
||||
export type ProviderSelectScalar = {
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
status?: boolean
|
||||
name?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
}
|
||||
|
||||
export type ProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "code" | "created_at" | "updated_at", ExtArgs["result"]["provider"]>
|
||||
export type ProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "status" | "name" | "created_at" | "updated_at", ExtArgs["result"]["provider"]>
|
||||
export type ProviderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
pos_list?: boolean | Prisma.Provider$pos_listArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Provider$accountsArgs<ExtArgs>
|
||||
@@ -539,12 +574,13 @@ export type $ProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
name: "Provider"
|
||||
objects: {
|
||||
pos_list: Prisma.$PosPayload<ExtArgs>[]
|
||||
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
||||
accounts: Prisma.$ProviderAccountPayload<ExtArgs>[]
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
code: string
|
||||
status: $Enums.PartnerStatus
|
||||
name: string
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}, ExtArgs["result"]["provider"]>
|
||||
@@ -888,7 +924,7 @@ readonly fields: ProviderFieldRefs;
|
||||
export interface Prisma__ProviderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
pos_list<T extends Prisma.Provider$pos_listArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$pos_listArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.Provider$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
accounts<T extends Prisma.Provider$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Provider$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProviderAccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -919,8 +955,9 @@ export interface Prisma__ProviderClient<T, Null = never, ExtArgs extends runtime
|
||||
*/
|
||||
export interface ProviderFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly name: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly code: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly status: Prisma.FieldRef<"Provider", 'PartnerStatus'>
|
||||
readonly name: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"Provider", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Provider", 'DateTime'>
|
||||
}
|
||||
@@ -1294,23 +1331,23 @@ export type Provider$pos_listArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
*/
|
||||
export type Provider$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Account
|
||||
* Select specific fields to fetch from the ProviderAccount
|
||||
*/
|
||||
select?: Prisma.AccountSelect<ExtArgs> | null
|
||||
select?: Prisma.ProviderAccountSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Account
|
||||
* Omit specific fields from the ProviderAccount
|
||||
*/
|
||||
omit?: Prisma.AccountOmit<ExtArgs> | null
|
||||
omit?: Prisma.ProviderAccountOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.AccountInclude<ExtArgs> | null
|
||||
where?: Prisma.AccountWhereInput
|
||||
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.AccountWhereUniqueInput
|
||||
include?: Prisma.ProviderAccountInclude<ExtArgs> | null
|
||||
where?: Prisma.ProviderAccountWhereInput
|
||||
orderBy?: Prisma.ProviderAccountOrderByWithRelationInput | Prisma.ProviderAccountOrderByWithRelationInput[]
|
||||
cursor?: Prisma.ProviderAccountWhereUniqueInput
|
||||
take?: number
|
||||
skip?: number
|
||||
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
||||
distinct?: Prisma.ProviderAccountScalarFieldEnum | Prisma.ProviderAccountScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
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
Reference in New Issue
Block a user