|
|
|
@@ -37,12 +37,14 @@ export type GoodSumAggregateOutputType = {
|
|
|
|
|
export type GoodMinAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
name: string | null
|
|
|
|
|
description: string | null
|
|
|
|
|
is_default_guild_good: boolean | null
|
|
|
|
|
sku: string | null
|
|
|
|
|
unit_type: $Enums.UnitType | null
|
|
|
|
|
pricing_model: $Enums.GoodPricingModel | null
|
|
|
|
|
description: string | null
|
|
|
|
|
local_sku: string | null
|
|
|
|
|
barcode: string | null
|
|
|
|
|
base_sale_price: runtime.Decimal | null
|
|
|
|
|
is_default_guild_good: boolean | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
|
|
|
|
deleted_at: Date | null
|
|
|
|
@@ -54,12 +56,14 @@ export type GoodMinAggregateOutputType = {
|
|
|
|
|
export type GoodMaxAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
name: string | null
|
|
|
|
|
description: string | null
|
|
|
|
|
is_default_guild_good: boolean | null
|
|
|
|
|
sku: string | null
|
|
|
|
|
unit_type: $Enums.UnitType | null
|
|
|
|
|
pricing_model: $Enums.GoodPricingModel | null
|
|
|
|
|
description: string | null
|
|
|
|
|
local_sku: string | null
|
|
|
|
|
barcode: string | null
|
|
|
|
|
base_sale_price: runtime.Decimal | null
|
|
|
|
|
is_default_guild_good: boolean | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
|
|
|
|
deleted_at: Date | null
|
|
|
|
@@ -71,12 +75,14 @@ export type GoodMaxAggregateOutputType = {
|
|
|
|
|
export type GoodCountAggregateOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
name: number
|
|
|
|
|
description: number
|
|
|
|
|
is_default_guild_good: number
|
|
|
|
|
sku: number
|
|
|
|
|
unit_type: number
|
|
|
|
|
pricing_model: number
|
|
|
|
|
description: number
|
|
|
|
|
local_sku: number
|
|
|
|
|
barcode: number
|
|
|
|
|
base_sale_price: number
|
|
|
|
|
is_default_guild_good: number
|
|
|
|
|
created_at: number
|
|
|
|
|
updated_at: number
|
|
|
|
|
deleted_at: number
|
|
|
|
@@ -98,12 +104,14 @@ export type GoodSumAggregateInputType = {
|
|
|
|
|
export type GoodMinAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
description?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
sku?: true
|
|
|
|
|
unit_type?: true
|
|
|
|
|
pricing_model?: true
|
|
|
|
|
description?: true
|
|
|
|
|
local_sku?: true
|
|
|
|
|
barcode?: true
|
|
|
|
|
base_sale_price?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
deleted_at?: true
|
|
|
|
@@ -115,12 +123,14 @@ export type GoodMinAggregateInputType = {
|
|
|
|
|
export type GoodMaxAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
description?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
sku?: true
|
|
|
|
|
unit_type?: true
|
|
|
|
|
pricing_model?: true
|
|
|
|
|
description?: true
|
|
|
|
|
local_sku?: true
|
|
|
|
|
barcode?: true
|
|
|
|
|
base_sale_price?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
deleted_at?: true
|
|
|
|
@@ -132,12 +142,14 @@ export type GoodMaxAggregateInputType = {
|
|
|
|
|
export type GoodCountAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
description?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
sku?: true
|
|
|
|
|
unit_type?: true
|
|
|
|
|
pricing_model?: true
|
|
|
|
|
description?: true
|
|
|
|
|
local_sku?: true
|
|
|
|
|
barcode?: true
|
|
|
|
|
base_sale_price?: true
|
|
|
|
|
is_default_guild_good?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
deleted_at?: true
|
|
|
|
@@ -236,12 +248,14 @@ export type GoodGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
|
|
export type GoodGroupByOutputType = {
|
|
|
|
|
id: string
|
|
|
|
|
name: string
|
|
|
|
|
description: string | null
|
|
|
|
|
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 | null
|
|
|
|
|
is_default_guild_good: boolean
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
|
|
|
|
deleted_at: Date | null
|
|
|
|
@@ -276,12 +290,14 @@ export type GoodWhereInput = {
|
|
|
|
|
NOT?: Prisma.GoodWhereInput | Prisma.GoodWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
name?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"Good"> | string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: Prisma.BoolFilter<"Good"> | boolean
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
|
|
|
|
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
|
|
|
@@ -297,12 +313,14 @@ export type GoodWhereInput = {
|
|
|
|
|
export type GoodOrderByWithRelationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
sku?: Prisma.SortOrder
|
|
|
|
|
unit_type?: Prisma.SortOrder
|
|
|
|
|
pricing_model?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
local_sku?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
barcode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
base_sale_price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
@@ -324,10 +342,12 @@ export type GoodWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
OR?: Prisma.GoodWhereInput[]
|
|
|
|
|
NOT?: Prisma.GoodWhereInput | Prisma.GoodWhereInput[]
|
|
|
|
|
name?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"Good"> | string | null
|
|
|
|
|
sku?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
base_sale_price?: Prisma.DecimalNullableFilter<"Good"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -343,12 +363,14 @@ export type GoodWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
export type GoodOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
sku?: Prisma.SortOrder
|
|
|
|
|
unit_type?: Prisma.SortOrder
|
|
|
|
|
pricing_model?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
local_sku?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
barcode?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
base_sale_price?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
@@ -368,12 +390,14 @@ export type GoodScalarWhereWithAggregatesInput = {
|
|
|
|
|
NOT?: Prisma.GoodScalarWhereWithAggregatesInput | Prisma.GoodScalarWhereWithAggregatesInput[]
|
|
|
|
|
id?: Prisma.StringWithAggregatesFilter<"Good"> | string
|
|
|
|
|
name?: Prisma.StringWithAggregatesFilter<"Good"> | string
|
|
|
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
|
|
|
|
is_default_guild_good?: Prisma.BoolWithAggregatesFilter<"Good"> | boolean
|
|
|
|
|
sku?: Prisma.StringWithAggregatesFilter<"Good"> | string
|
|
|
|
|
unit_type?: Prisma.EnumUnitTypeWithAggregatesFilter<"Good"> | $Enums.UnitType
|
|
|
|
|
pricing_model?: Prisma.EnumGoodPricingModelWithAggregatesFilter<"Good"> | $Enums.GoodPricingModel
|
|
|
|
|
description?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
|
|
|
|
local_sku?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
|
|
|
|
barcode?: Prisma.StringNullableWithAggregatesFilter<"Good"> | string | null
|
|
|
|
|
base_sale_price?: Prisma.DecimalNullableWithAggregatesFilter<"Good"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
is_default_guild_good?: Prisma.BoolWithAggregatesFilter<"Good"> | boolean
|
|
|
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"Good"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Good"> | Date | string
|
|
|
|
|
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"Good"> | Date | string | null
|
|
|
|
@@ -385,12 +409,14 @@ export type GoodScalarWhereWithAggregatesInput = {
|
|
|
|
|
export type GoodCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -403,12 +429,14 @@ export type GoodCreateInput = {
|
|
|
|
|
export type GoodUncheckedCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -421,12 +449,14 @@ export type GoodUncheckedCreateInput = {
|
|
|
|
|
export type GoodUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -439,12 +469,14 @@ export type GoodUpdateInput = {
|
|
|
|
|
export type GoodUncheckedUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -457,12 +489,14 @@ export type GoodUncheckedUpdateInput = {
|
|
|
|
|
export type GoodCreateManyInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -474,12 +508,14 @@ export type GoodCreateManyInput = {
|
|
|
|
|
export type GoodUpdateManyMutationInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -488,12 +524,14 @@ export type GoodUpdateManyMutationInput = {
|
|
|
|
|
export type GoodUncheckedUpdateManyInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -521,12 +559,14 @@ export type GoodOrderByRelevanceInput = {
|
|
|
|
|
export type GoodCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
sku?: Prisma.SortOrder
|
|
|
|
|
unit_type?: Prisma.SortOrder
|
|
|
|
|
pricing_model?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
local_sku?: Prisma.SortOrder
|
|
|
|
|
barcode?: Prisma.SortOrder
|
|
|
|
|
base_sale_price?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
deleted_at?: Prisma.SortOrder
|
|
|
|
@@ -542,12 +582,14 @@ export type GoodAvgOrderByAggregateInput = {
|
|
|
|
|
export type GoodMaxOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
sku?: Prisma.SortOrder
|
|
|
|
|
unit_type?: Prisma.SortOrder
|
|
|
|
|
pricing_model?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
local_sku?: Prisma.SortOrder
|
|
|
|
|
barcode?: Prisma.SortOrder
|
|
|
|
|
base_sale_price?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
deleted_at?: Prisma.SortOrder
|
|
|
|
@@ -559,12 +601,14 @@ export type GoodMaxOrderByAggregateInput = {
|
|
|
|
|
export type GoodMinOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
sku?: Prisma.SortOrder
|
|
|
|
|
unit_type?: Prisma.SortOrder
|
|
|
|
|
pricing_model?: Prisma.SortOrder
|
|
|
|
|
description?: Prisma.SortOrder
|
|
|
|
|
local_sku?: Prisma.SortOrder
|
|
|
|
|
barcode?: Prisma.SortOrder
|
|
|
|
|
base_sale_price?: Prisma.SortOrder
|
|
|
|
|
is_default_guild_good?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
deleted_at?: Prisma.SortOrder
|
|
|
|
@@ -666,6 +710,14 @@ export type GoodUncheckedUpdateManyWithoutComplexNestedInput = {
|
|
|
|
|
deleteMany?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EnumUnitTypeFieldUpdateOperationsInput = {
|
|
|
|
|
set?: $Enums.UnitType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EnumGoodPricingModelFieldUpdateOperationsInput = {
|
|
|
|
|
set?: $Enums.GoodPricingModel
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type NullableDecimalFieldUpdateOperationsInput = {
|
|
|
|
|
set?: runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
|
|
|
|
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
|
|
|
@@ -735,12 +787,14 @@ export type GoodUpdateOneWithoutSales_invoice_itemsNestedInput = {
|
|
|
|
|
export type GoodCreateWithoutGuildInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -752,12 +806,14 @@ export type GoodCreateWithoutGuildInput = {
|
|
|
|
|
export type GoodUncheckedCreateWithoutGuildInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -798,12 +854,14 @@ export type GoodScalarWhereInput = {
|
|
|
|
|
NOT?: Prisma.GoodScalarWhereInput | Prisma.GoodScalarWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
name?: Prisma.StringFilter<"Good"> | string
|
|
|
|
|
description?: Prisma.StringNullableFilter<"Good"> | string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: Prisma.BoolFilter<"Good"> | boolean
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"Good"> | Date | string
|
|
|
|
|
deleted_at?: Prisma.DateTimeNullableFilter<"Good"> | Date | string | null
|
|
|
|
@@ -815,12 +873,14 @@ export type GoodScalarWhereInput = {
|
|
|
|
|
export type GoodCreateWithoutComplexInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -832,12 +892,14 @@ export type GoodCreateWithoutComplexInput = {
|
|
|
|
|
export type GoodUncheckedCreateWithoutComplexInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -875,12 +937,14 @@ export type GoodUpdateManyWithWhereWithoutComplexInput = {
|
|
|
|
|
export type GoodCreateWithoutCategoryInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -892,12 +956,14 @@ export type GoodCreateWithoutCategoryInput = {
|
|
|
|
|
export type GoodUncheckedCreateWithoutCategoryInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -935,12 +1001,14 @@ export type GoodUpdateManyWithWhereWithoutCategoryInput = {
|
|
|
|
|
export type GoodCreateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -952,12 +1020,14 @@ export type GoodCreateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
export type GoodUncheckedCreateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -985,12 +1055,14 @@ export type GoodUpdateToOneWithWhereWithoutSales_invoice_itemsInput = {
|
|
|
|
|
export type GoodUpdateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1002,12 +1074,14 @@ export type GoodUpdateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
export type GoodUncheckedUpdateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1019,12 +1093,14 @@ export type GoodUncheckedUpdateWithoutSales_invoice_itemsInput = {
|
|
|
|
|
export type GoodCreateManyGuildInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -1035,12 +1111,14 @@ export type GoodCreateManyGuildInput = {
|
|
|
|
|
export type GoodUpdateWithoutGuildInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1052,12 +1130,14 @@ export type GoodUpdateWithoutGuildInput = {
|
|
|
|
|
export type GoodUncheckedUpdateWithoutGuildInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1069,12 +1149,14 @@ export type GoodUncheckedUpdateWithoutGuildInput = {
|
|
|
|
|
export type GoodUncheckedUpdateManyWithoutGuildInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1085,12 +1167,14 @@ export type GoodUncheckedUpdateManyWithoutGuildInput = {
|
|
|
|
|
export type GoodCreateManyComplexInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -1101,12 +1185,14 @@ export type GoodCreateManyComplexInput = {
|
|
|
|
|
export type GoodUpdateWithoutComplexInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1118,12 +1204,14 @@ export type GoodUpdateWithoutComplexInput = {
|
|
|
|
|
export type GoodUncheckedUpdateWithoutComplexInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1135,12 +1223,14 @@ export type GoodUncheckedUpdateWithoutComplexInput = {
|
|
|
|
|
export type GoodUncheckedUpdateManyWithoutComplexInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1151,12 +1241,14 @@ export type GoodUncheckedUpdateManyWithoutComplexInput = {
|
|
|
|
|
export type GoodCreateManyCategoryInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
description?: string | null
|
|
|
|
|
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
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
deleted_at?: Date | string | null
|
|
|
|
@@ -1167,12 +1259,14 @@ export type GoodCreateManyCategoryInput = {
|
|
|
|
|
export type GoodUpdateWithoutCategoryInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1184,12 +1278,14 @@ export type GoodUpdateWithoutCategoryInput = {
|
|
|
|
|
export type GoodUncheckedUpdateWithoutCategoryInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1201,12 +1297,14 @@ export type GoodUncheckedUpdateWithoutCategoryInput = {
|
|
|
|
|
export type GoodUncheckedUpdateManyWithoutCategoryInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
@@ -1248,12 +1346,14 @@ export type GoodCountOutputTypeCountSales_invoice_itemsArgs<ExtArgs extends runt
|
|
|
|
|
export type GoodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
name?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
sku?: boolean
|
|
|
|
|
unit_type?: boolean
|
|
|
|
|
pricing_model?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
local_sku?: boolean
|
|
|
|
|
barcode?: boolean
|
|
|
|
|
base_sale_price?: boolean
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
|
|
|
|
deleted_at?: boolean
|
|
|
|
@@ -1272,12 +1372,14 @@ export type GoodSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = r
|
|
|
|
|
export type GoodSelectScalar = {
|
|
|
|
|
id?: boolean
|
|
|
|
|
name?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
sku?: boolean
|
|
|
|
|
unit_type?: boolean
|
|
|
|
|
pricing_model?: boolean
|
|
|
|
|
description?: boolean
|
|
|
|
|
local_sku?: boolean
|
|
|
|
|
barcode?: boolean
|
|
|
|
|
base_sale_price?: boolean
|
|
|
|
|
is_default_guild_good?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
|
|
|
|
deleted_at?: boolean
|
|
|
|
@@ -1286,7 +1388,7 @@ export type GoodSelectScalar = {
|
|
|
|
|
guild_id?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GoodOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "sku" | "local_sku" | "barcode" | "base_sale_price" | "is_default_guild_good" | "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" | "guild_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>
|
|
|
|
@@ -1306,12 +1408,14 @@ export type $GoodPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: string
|
|
|
|
|
name: string
|
|
|
|
|
description: string | null
|
|
|
|
|
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 | null
|
|
|
|
|
is_default_guild_good: boolean
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
|
|
|
|
deleted_at: Date | null
|
|
|
|
@@ -1693,12 +1797,14 @@ export interface Prisma__GoodClient<T, Null = never, ExtArgs extends runtime.Typ
|
|
|
|
|
export interface GoodFieldRefs {
|
|
|
|
|
readonly id: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly name: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly description: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly is_default_guild_good: Prisma.FieldRef<"Good", 'Boolean'>
|
|
|
|
|
readonly sku: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly unit_type: Prisma.FieldRef<"Good", 'UnitType'>
|
|
|
|
|
readonly pricing_model: Prisma.FieldRef<"Good", 'GoodPricingModel'>
|
|
|
|
|
readonly description: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly local_sku: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly barcode: Prisma.FieldRef<"Good", 'String'>
|
|
|
|
|
readonly base_sale_price: Prisma.FieldRef<"Good", 'Decimal'>
|
|
|
|
|
readonly is_default_guild_good: Prisma.FieldRef<"Good", 'Boolean'>
|
|
|
|
|
readonly created_at: Prisma.FieldRef<"Good", 'DateTime'>
|
|
|
|
|
readonly updated_at: Prisma.FieldRef<"Good", 'DateTime'>
|
|
|
|
|
readonly deleted_at: Prisma.FieldRef<"Good", 'DateTime'>
|
|
|
|
|