update admin user business
This commit is contained in:
@@ -28,18 +28,24 @@ export type ProviderMinAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
code: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
|
||||
export type ProviderMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
name: string | null
|
||||
code: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
}
|
||||
|
||||
export type ProviderCountAggregateOutputType = {
|
||||
id: number
|
||||
name: number
|
||||
code: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -48,18 +54,24 @@ export type ProviderMinAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
|
||||
export type ProviderMaxAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
}
|
||||
|
||||
export type ProviderCountAggregateInputType = {
|
||||
id?: true
|
||||
name?: true
|
||||
code?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -139,6 +151,8 @@ export type ProviderGroupByOutputType = {
|
||||
id: string
|
||||
name: string
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
_count: ProviderCountAggregateOutputType | null
|
||||
_min: ProviderMinAggregateOutputType | null
|
||||
_max: ProviderMaxAggregateOutputType | null
|
||||
@@ -166,6 +180,8 @@ export type ProviderWhereInput = {
|
||||
id?: Prisma.StringFilter<"Provider"> | string
|
||||
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
|
||||
}
|
||||
@@ -174,6 +190,8 @@ export type ProviderOrderByWithRelationInput = {
|
||||
id?: 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
|
||||
_relevance?: Prisma.ProviderOrderByRelevanceInput
|
||||
@@ -186,6 +204,8 @@ export type ProviderWhereUniqueInput = Prisma.AtLeast<{
|
||||
NOT?: Prisma.ProviderWhereInput | Prisma.ProviderWhereInput[]
|
||||
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">
|
||||
@@ -194,6 +214,8 @@ export type ProviderOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
_count?: Prisma.ProviderCountOrderByAggregateInput
|
||||
_max?: Prisma.ProviderMaxOrderByAggregateInput
|
||||
_min?: Prisma.ProviderMinOrderByAggregateInput
|
||||
@@ -206,12 +228,16 @@ export type ProviderScalarWhereWithAggregatesInput = {
|
||||
id?: Prisma.StringWithAggregatesFilter<"Provider"> | string
|
||||
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
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
@@ -220,6 +246,8 @@ export type ProviderUncheckedCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutProviderInput
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
@@ -228,6 +256,8 @@ export type ProviderUpdateInput = {
|
||||
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
|
||||
pos_list?: Prisma.PosUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.AccountUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
@@ -236,6 +266,8 @@ export type ProviderUncheckedUpdateInput = {
|
||||
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
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutProviderNestedInput
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
@@ -244,18 +276,24 @@ export type ProviderCreateManyInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
}
|
||||
|
||||
export type ProviderUpdateManyMutationInput = {
|
||||
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
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateManyInput = {
|
||||
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
|
||||
}
|
||||
|
||||
export type ProviderNullableScalarRelationFilter = {
|
||||
@@ -273,18 +311,24 @@ export type ProviderCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
name?: Prisma.SortOrder
|
||||
code?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderCreateNestedOneWithoutPos_listInput = {
|
||||
@@ -323,6 +367,8 @@ export type ProviderCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.AccountCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
@@ -330,6 +376,8 @@ export type ProviderUncheckedCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
@@ -353,6 +401,8 @@ export type ProviderUpdateWithoutPos_listInput = {
|
||||
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
|
||||
accounts?: Prisma.AccountUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
@@ -360,6 +410,8 @@ export type ProviderUncheckedUpdateWithoutPos_listInput = {
|
||||
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
|
||||
accounts?: Prisma.AccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
@@ -367,6 +419,8 @@ export type ProviderCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
@@ -374,6 +428,8 @@ export type ProviderUncheckedCreateWithoutAccountsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
@@ -397,6 +453,8 @@ export type ProviderUpdateWithoutAccountsInput = {
|
||||
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
|
||||
pos_list?: Prisma.PosUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
@@ -404,6 +462,8 @@ export type ProviderUncheckedUpdateWithoutAccountsInput = {
|
||||
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
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
@@ -451,6 +511,8 @@ export type ProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
code?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
pos_list?: boolean | Prisma.Provider$pos_listArgs<ExtArgs>
|
||||
accounts?: boolean | Prisma.Provider$accountsArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.ProviderCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -462,9 +524,11 @@ export type ProviderSelectScalar = {
|
||||
id?: boolean
|
||||
name?: boolean
|
||||
code?: 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", ExtArgs["result"]["provider"]>
|
||||
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 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>
|
||||
@@ -481,6 +545,8 @@ export type $ProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
id: string
|
||||
name: string
|
||||
code: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
}, ExtArgs["result"]["provider"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -855,6 +921,8 @@ export interface ProviderFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly name: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly code: Prisma.FieldRef<"Provider", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"Provider", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"Provider", 'DateTime'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user