transform core api codes into this project, update modules as admin/pos context modules
This commit is contained in:
@@ -17,6 +17,81 @@ import * as Prisma from './internal/prismaNamespaceBrowser.js'
|
||||
export { Prisma }
|
||||
export * as $Enums from './enums.js'
|
||||
export * from './enums.js';
|
||||
/**
|
||||
* Model Token
|
||||
*
|
||||
*/
|
||||
export type Token = Prisma.TokenModel
|
||||
/**
|
||||
* Model VerificationCode
|
||||
*
|
||||
*/
|
||||
export type VerificationCode = Prisma.VerificationCodeModel
|
||||
/**
|
||||
* Model Guild
|
||||
*
|
||||
*/
|
||||
export type Guild = Prisma.GuildModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model DeviceBrand
|
||||
*
|
||||
*/
|
||||
export type DeviceBrand = Prisma.DeviceBrandModel
|
||||
/**
|
||||
* Model Device
|
||||
*
|
||||
*/
|
||||
export type Device = Prisma.DeviceModel
|
||||
/**
|
||||
* Model License
|
||||
*
|
||||
*/
|
||||
export type License = Prisma.LicenseModel
|
||||
/**
|
||||
* Model Partner
|
||||
*
|
||||
*/
|
||||
export type Partner = Prisma.PartnerModel
|
||||
/**
|
||||
* Model User
|
||||
*
|
||||
*/
|
||||
export type User = Prisma.UserModel
|
||||
/**
|
||||
* Model Account
|
||||
*
|
||||
*/
|
||||
export type Account = Prisma.AccountModel
|
||||
/**
|
||||
* Model Provider
|
||||
*
|
||||
*/
|
||||
export type Provider = Prisma.ProviderModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model UserDevices
|
||||
*
|
||||
*/
|
||||
export type UserDevices = Prisma.UserDevicesModel
|
||||
/**
|
||||
* Model Customer
|
||||
*
|
||||
@@ -32,11 +107,6 @@ export type CustomerIndividual = Prisma.CustomerIndividualModel
|
||||
*
|
||||
*/
|
||||
export type CustomerLegal = Prisma.CustomerLegalModel
|
||||
/**
|
||||
* Model Device
|
||||
*
|
||||
*/
|
||||
export type Device = Prisma.DeviceModel
|
||||
/**
|
||||
* Model Good
|
||||
*
|
||||
@@ -47,11 +117,6 @@ export type Good = Prisma.GoodModel
|
||||
*
|
||||
*/
|
||||
export type GoodCategory = Prisma.GoodCategoryModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model SalesInvoice
|
||||
*
|
||||
|
||||
@@ -27,8 +27,8 @@ export * from "./enums.js"
|
||||
* @example
|
||||
* ```
|
||||
* const prisma = new PrismaClient()
|
||||
* // Fetch zero or more Customers
|
||||
* const customers = await prisma.customer.findMany()
|
||||
* // Fetch zero or more Tokens
|
||||
* const tokens = await prisma.token.findMany()
|
||||
* ```
|
||||
*
|
||||
* Read more in our [docs](https://pris.ly/d/client).
|
||||
@@ -37,6 +37,81 @@ export const PrismaClient = $Class.getPrismaClientClass()
|
||||
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
||||
export { Prisma }
|
||||
|
||||
/**
|
||||
* Model Token
|
||||
*
|
||||
*/
|
||||
export type Token = Prisma.TokenModel
|
||||
/**
|
||||
* Model VerificationCode
|
||||
*
|
||||
*/
|
||||
export type VerificationCode = Prisma.VerificationCodeModel
|
||||
/**
|
||||
* Model Guild
|
||||
*
|
||||
*/
|
||||
export type Guild = Prisma.GuildModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model DeviceBrand
|
||||
*
|
||||
*/
|
||||
export type DeviceBrand = Prisma.DeviceBrandModel
|
||||
/**
|
||||
* Model Device
|
||||
*
|
||||
*/
|
||||
export type Device = Prisma.DeviceModel
|
||||
/**
|
||||
* Model License
|
||||
*
|
||||
*/
|
||||
export type License = Prisma.LicenseModel
|
||||
/**
|
||||
* Model Partner
|
||||
*
|
||||
*/
|
||||
export type Partner = Prisma.PartnerModel
|
||||
/**
|
||||
* Model User
|
||||
*
|
||||
*/
|
||||
export type User = Prisma.UserModel
|
||||
/**
|
||||
* Model Account
|
||||
*
|
||||
*/
|
||||
export type Account = Prisma.AccountModel
|
||||
/**
|
||||
* Model Provider
|
||||
*
|
||||
*/
|
||||
export type Provider = Prisma.ProviderModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model UserDevices
|
||||
*
|
||||
*/
|
||||
export type UserDevices = Prisma.UserDevicesModel
|
||||
/**
|
||||
* Model Customer
|
||||
*
|
||||
@@ -52,11 +127,6 @@ export type CustomerIndividual = Prisma.CustomerIndividualModel
|
||||
*
|
||||
*/
|
||||
export type CustomerLegal = Prisma.CustomerLegalModel
|
||||
/**
|
||||
* Model Device
|
||||
*
|
||||
*/
|
||||
export type Device = Prisma.DeviceModel
|
||||
/**
|
||||
* Model Good
|
||||
*
|
||||
@@ -67,11 +137,6 @@ export type Good = Prisma.GoodModel
|
||||
*
|
||||
*/
|
||||
export type GoodCategory = Prisma.GoodCategoryModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
*/
|
||||
export type TriggerLog = Prisma.TriggerLogModel
|
||||
/**
|
||||
* Model SalesInvoice
|
||||
*
|
||||
|
||||
@@ -29,6 +29,13 @@ export type StringFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
||||
}
|
||||
|
||||
export type EnumTokenTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TokenType | Prisma.EnumTokenTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TokenType[]
|
||||
notIn?: $Enums.TokenType[]
|
||||
not?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel> | $Enums.TokenType
|
||||
}
|
||||
|
||||
export type DateTimeFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
in?: Date[] | string[]
|
||||
@@ -40,6 +47,211 @@ export type DateTimeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
||||
}
|
||||
|
||||
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
in?: string[]
|
||||
notIn?: string[]
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumTokenTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TokenType | Prisma.EnumTokenTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TokenType[]
|
||||
notIn?: $Enums.TokenType[]
|
||||
not?: Prisma.NestedEnumTokenTypeWithAggregatesFilter<$PrismaModel> | $Enums.TokenType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
in?: Date[] | string[]
|
||||
notIn?: Date[] | string[]
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type BoolFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
||||
}
|
||||
|
||||
export type BoolWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type StringNullableFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
||||
}
|
||||
|
||||
export type SortOrderInput = {
|
||||
sort: Prisma.SortOrder
|
||||
nulls?: Prisma.NullsOrder
|
||||
}
|
||||
|
||||
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPOSStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
notIn?: $Enums.POSStatus[]
|
||||
not?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel> | $Enums.POSStatus
|
||||
}
|
||||
|
||||
export type EnumPOSTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSType | Prisma.EnumPOSTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSType[]
|
||||
notIn?: $Enums.POSType[]
|
||||
not?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel> | $Enums.POSType
|
||||
}
|
||||
|
||||
export type EnumPOSStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
notIn?: $Enums.POSStatus[]
|
||||
not?: Prisma.NestedEnumPOSStatusWithAggregatesFilter<$PrismaModel> | $Enums.POSStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPOSTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSType | Prisma.EnumPOSTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSType[]
|
||||
notIn?: $Enums.POSType[]
|
||||
not?: Prisma.NestedEnumPOSTypeWithAggregatesFilter<$PrismaModel> | $Enums.POSType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumLicenseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.LicenseStatus | Prisma.EnumLicenseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.LicenseStatus[]
|
||||
notIn?: $Enums.LicenseStatus[]
|
||||
not?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel> | $Enums.LicenseStatus
|
||||
}
|
||||
|
||||
export type EnumLicenseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.LicenseStatus | Prisma.EnumLicenseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.LicenseStatus[]
|
||||
notIn?: $Enums.LicenseStatus[]
|
||||
not?: Prisma.NestedEnumLicenseStatusWithAggregatesFilter<$PrismaModel> | $Enums.LicenseStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumAccountTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountType | Prisma.EnumAccountTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountType[]
|
||||
notIn?: $Enums.AccountType[]
|
||||
not?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel> | $Enums.AccountType
|
||||
}
|
||||
|
||||
export type EnumAccountStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountStatus | Prisma.EnumAccountStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountStatus[]
|
||||
notIn?: $Enums.AccountStatus[]
|
||||
not?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel> | $Enums.AccountStatus
|
||||
}
|
||||
|
||||
export type EnumAccountTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountType | Prisma.EnumAccountTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountType[]
|
||||
notIn?: $Enums.AccountType[]
|
||||
not?: Prisma.NestedEnumAccountTypeWithAggregatesFilter<$PrismaModel> | $Enums.AccountType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumAccountStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountStatus | Prisma.EnumAccountStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountStatus[]
|
||||
notIn?: $Enums.AccountStatus[]
|
||||
not?: Prisma.NestedEnumAccountStatusWithAggregatesFilter<$PrismaModel> | $Enums.AccountStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type IntFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
notIn?: number[]
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
||||
}
|
||||
|
||||
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
notIn?: number[]
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DateTimeNullableFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
@@ -63,43 +275,6 @@ export type BoolNullableFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
||||
}
|
||||
|
||||
export type SortOrderInput = {
|
||||
sort: Prisma.SortOrder
|
||||
nulls?: Prisma.NullsOrder
|
||||
}
|
||||
|
||||
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
in?: string[]
|
||||
notIn?: string[]
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringWithAggregatesFilter<$PrismaModel> | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
in?: Date[] | string[]
|
||||
notIn?: Date[] | string[]
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
@@ -132,37 +307,31 @@ export type BoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type StringNullableFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableFilter<$PrismaModel> | string | null
|
||||
export type DecimalNullableFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
}
|
||||
|
||||
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
|
||||
in?: string[] | null
|
||||
notIn?: string[] | null
|
||||
lt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
lte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gt?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
gte?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
contains?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
startsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
endsWith?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
search?: string
|
||||
not?: Prisma.NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
||||
export type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type DecimalFilter<$PrismaModel = never> = {
|
||||
@@ -176,49 +345,6 @@ export type DecimalFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type IntFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
notIn?: number[]
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
||||
}
|
||||
|
||||
export type IntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
notIn?: number[]
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntWithAggregatesFilter<$PrismaModel> | number
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedFloatFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type JsonNullableFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||
@@ -243,6 +369,22 @@ export type JsonNullableFilterBase<$PrismaModel = never> = {
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
}
|
||||
|
||||
export type DecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
||||
@@ -277,13 +419,6 @@ export type EnumUnitTypeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumUnitTypeFilter<$PrismaModel> | $Enums.UnitType
|
||||
}
|
||||
|
||||
export type EnumSalesInvoiceItemPricingModelFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SalesInvoiceItemPricingModel | Prisma.EnumSalesInvoiceItemPricingModelFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
notIn?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
not?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel> | $Enums.SalesInvoiceItemPricingModel
|
||||
}
|
||||
|
||||
export type EnumUnitTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.UnitType | Prisma.EnumUnitTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.UnitType[]
|
||||
@@ -294,16 +429,6 @@ export type EnumUnitTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumUnitTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumSalesInvoiceItemPricingModelWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SalesInvoiceItemPricingModel | Prisma.EnumSalesInvoiceItemPricingModelFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
notIn?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
not?: Prisma.NestedEnumSalesInvoiceItemPricingModelWithAggregatesFilter<$PrismaModel> | $Enums.SalesInvoiceItemPricingModel
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumPaymentMethodTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PaymentMethodType | Prisma.EnumPaymentMethodTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PaymentMethodType[]
|
||||
@@ -336,6 +461,13 @@ export type NestedStringFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedStringFilter<$PrismaModel> | string
|
||||
}
|
||||
|
||||
export type NestedEnumTokenTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TokenType | Prisma.EnumTokenTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TokenType[]
|
||||
notIn?: $Enums.TokenType[]
|
||||
not?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel> | $Enums.TokenType
|
||||
}
|
||||
|
||||
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
in?: Date[] | string[]
|
||||
@@ -347,29 +479,6 @@ export type NestedDateTimeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedDateTimeFilter<$PrismaModel> | Date | string
|
||||
}
|
||||
|
||||
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
notIn?: Date[] | string[] | null
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
||||
}
|
||||
|
||||
export type NestedEnumCustomerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.CustomerType | Prisma.EnumCustomerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.CustomerType[]
|
||||
notIn?: $Enums.CustomerType[]
|
||||
not?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel> | $Enums.CustomerType
|
||||
}
|
||||
|
||||
export type NestedBoolNullableFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
||||
}
|
||||
|
||||
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>
|
||||
in?: string[]
|
||||
@@ -399,6 +508,16 @@ export type NestedIntFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedIntFilter<$PrismaModel> | number
|
||||
}
|
||||
|
||||
export type NestedEnumTokenTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.TokenType | Prisma.EnumTokenTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.TokenType[]
|
||||
notIn?: $Enums.TokenType[]
|
||||
not?: Prisma.NestedEnumTokenTypeWithAggregatesFilter<$PrismaModel> | $Enums.TokenType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumTokenTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
in?: Date[] | string[]
|
||||
@@ -413,47 +532,17 @@ export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedDateTimeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
notIn?: Date[] | string[] | null
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
export type NestedBoolFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBoolFilter<$PrismaModel> | boolean
|
||||
}
|
||||
|
||||
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
||||
in?: number[] | null
|
||||
notIn?: number[] | null
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
||||
}
|
||||
|
||||
export type NestedEnumCustomerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.CustomerType | Prisma.EnumCustomerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.CustomerType[]
|
||||
notIn?: $Enums.CustomerType[]
|
||||
not?: Prisma.NestedEnumCustomerTypeWithAggregatesFilter<$PrismaModel> | $Enums.CustomerType
|
||||
export type NestedBoolWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedBoolWithAggregatesFilter<$PrismaModel> | boolean
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBoolFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBoolFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
||||
@@ -489,31 +578,100 @@ export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedStringNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel> | null
|
||||
in?: number[] | null
|
||||
notIn?: number[] | null
|
||||
lt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
lte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gt?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
gte?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedIntNullableFilter<$PrismaModel> | number | null
|
||||
}
|
||||
|
||||
export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
export type NestedEnumPOSStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
notIn?: $Enums.POSStatus[]
|
||||
not?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel> | $Enums.POSStatus
|
||||
}
|
||||
|
||||
export type NestedEnumPOSTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSType | Prisma.EnumPOSTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSType[]
|
||||
notIn?: $Enums.POSType[]
|
||||
not?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel> | $Enums.POSType
|
||||
}
|
||||
|
||||
export type NestedEnumPOSStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSStatus | Prisma.EnumPOSStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSStatus[]
|
||||
notIn?: $Enums.POSStatus[]
|
||||
not?: Prisma.NestedEnumPOSStatusWithAggregatesFilter<$PrismaModel> | $Enums.POSStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPOSStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPOSTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.POSType | Prisma.EnumPOSTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.POSType[]
|
||||
notIn?: $Enums.POSType[]
|
||||
not?: Prisma.NestedEnumPOSTypeWithAggregatesFilter<$PrismaModel> | $Enums.POSType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumPOSTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumLicenseStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.LicenseStatus | Prisma.EnumLicenseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.LicenseStatus[]
|
||||
notIn?: $Enums.LicenseStatus[]
|
||||
not?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel> | $Enums.LicenseStatus
|
||||
}
|
||||
|
||||
export type NestedEnumLicenseStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.LicenseStatus | Prisma.EnumLicenseStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.LicenseStatus[]
|
||||
notIn?: $Enums.LicenseStatus[]
|
||||
not?: Prisma.NestedEnumLicenseStatusWithAggregatesFilter<$PrismaModel> | $Enums.LicenseStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumLicenseStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumAccountTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountType | Prisma.EnumAccountTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountType[]
|
||||
notIn?: $Enums.AccountType[]
|
||||
not?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel> | $Enums.AccountType
|
||||
}
|
||||
|
||||
export type NestedEnumAccountStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountStatus | Prisma.EnumAccountStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountStatus[]
|
||||
notIn?: $Enums.AccountStatus[]
|
||||
not?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel> | $Enums.AccountStatus
|
||||
}
|
||||
|
||||
export type NestedEnumAccountTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountType | Prisma.EnumAccountTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountType[]
|
||||
notIn?: $Enums.AccountType[]
|
||||
not?: Prisma.NestedEnumAccountTypeWithAggregatesFilter<$PrismaModel> | $Enums.AccountType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumAccountStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.AccountStatus | Prisma.EnumAccountStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.AccountStatus[]
|
||||
notIn?: $Enums.AccountStatus[]
|
||||
not?: Prisma.NestedEnumAccountStatusWithAggregatesFilter<$PrismaModel> | $Enums.AccountStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumAccountStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
@@ -543,6 +701,115 @@ export type NestedFloatFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedFloatFilter<$PrismaModel> | number
|
||||
}
|
||||
|
||||
export type NestedDateTimeNullableFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
notIn?: Date[] | string[] | null
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeNullableFilter<$PrismaModel> | Date | string | null
|
||||
}
|
||||
|
||||
export type NestedEnumCustomerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.CustomerType | Prisma.EnumCustomerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.CustomerType[]
|
||||
notIn?: $Enums.CustomerType[]
|
||||
not?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel> | $Enums.CustomerType
|
||||
}
|
||||
|
||||
export type NestedBoolNullableFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
||||
}
|
||||
|
||||
export type NestedDateTimeNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel> | null
|
||||
in?: Date[] | string[] | null
|
||||
notIn?: Date[] | string[] | null
|
||||
lt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
lte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gt?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
gte?: Date | string | Prisma.DateTimeFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDateTimeNullableWithAggregatesFilter<$PrismaModel> | Date | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDateTimeNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumCustomerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.CustomerType | Prisma.EnumCustomerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.CustomerType[]
|
||||
notIn?: $Enums.CustomerType[]
|
||||
not?: Prisma.NestedEnumCustomerTypeWithAggregatesFilter<$PrismaModel> | $Enums.CustomerType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumCustomerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedBoolNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableWithAggregatesFilter<$PrismaModel> | boolean | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedBoolNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedBoolNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDecimalNullableFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
}
|
||||
|
||||
export type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null
|
||||
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedDecimalFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type NestedDecimalWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[]
|
||||
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>
|
||||
not?: Prisma.NestedDecimalWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_avg?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_sum?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedDecimalFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
||||
| Prisma.PatchUndefined<
|
||||
Prisma.Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
||||
@@ -574,13 +841,6 @@ export type NestedEnumUnitTypeFilter<$PrismaModel = never> = {
|
||||
not?: Prisma.NestedEnumUnitTypeFilter<$PrismaModel> | $Enums.UnitType
|
||||
}
|
||||
|
||||
export type NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SalesInvoiceItemPricingModel | Prisma.EnumSalesInvoiceItemPricingModelFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
notIn?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
not?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel> | $Enums.SalesInvoiceItemPricingModel
|
||||
}
|
||||
|
||||
export type NestedEnumUnitTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.UnitType | Prisma.EnumUnitTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.UnitType[]
|
||||
@@ -591,16 +851,6 @@ export type NestedEnumUnitTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumUnitTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumSalesInvoiceItemPricingModelWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.SalesInvoiceItemPricingModel | Prisma.EnumSalesInvoiceItemPricingModelFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
notIn?: $Enums.SalesInvoiceItemPricingModel[]
|
||||
not?: Prisma.NestedEnumSalesInvoiceItemPricingModelWithAggregatesFilter<$PrismaModel> | $Enums.SalesInvoiceItemPricingModel
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumSalesInvoiceItemPricingModelFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumPaymentMethodTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.PaymentMethodType | Prisma.EnumPaymentMethodTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.PaymentMethodType[]
|
||||
|
||||
@@ -43,6 +43,7 @@ export const UnitType = {
|
||||
COUNT: 'COUNT',
|
||||
GRAM: 'GRAM',
|
||||
KILOGRAM: 'KILOGRAM',
|
||||
MILLILITER: 'MILLILITER',
|
||||
LITER: 'LITER',
|
||||
METER: 'METER',
|
||||
HOUR: 'HOUR'
|
||||
@@ -51,6 +52,14 @@ export const UnitType = {
|
||||
export type UnitType = (typeof UnitType)[keyof typeof UnitType]
|
||||
|
||||
|
||||
export const GoodPricingModel = {
|
||||
STANDARD: 'STANDARD',
|
||||
GOLD: 'GOLD'
|
||||
} as const
|
||||
|
||||
export type GoodPricingModel = (typeof GoodPricingModel)[keyof typeof GoodPricingModel]
|
||||
|
||||
|
||||
export const CustomerType = {
|
||||
INDIVIDUAL: 'INDIVIDUAL',
|
||||
LEGAL: 'LEGAL',
|
||||
@@ -60,9 +69,121 @@ export const CustomerType = {
|
||||
export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType]
|
||||
|
||||
|
||||
export const SalesInvoiceItemPricingModel = {
|
||||
STANDARD: 'STANDARD',
|
||||
GOLD: 'GOLD'
|
||||
export const UserStatus = {
|
||||
ACTIVE: 'ACTIVE',
|
||||
INACTIVE: 'INACTIVE'
|
||||
} as const
|
||||
|
||||
export type SalesInvoiceItemPricingModel = (typeof SalesInvoiceItemPricingModel)[keyof typeof SalesInvoiceItemPricingModel]
|
||||
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus]
|
||||
|
||||
|
||||
export const AccountRole = {
|
||||
OWNER: 'OWNER',
|
||||
OPERATOR: 'OPERATOR',
|
||||
ACCOUNTANT: 'ACCOUNTANT'
|
||||
} as const
|
||||
|
||||
export type AccountRole = (typeof AccountRole)[keyof typeof AccountRole]
|
||||
|
||||
|
||||
export const AccountStatus = {
|
||||
ACTIVE: 'ACTIVE',
|
||||
SUSPENDED: 'SUSPENDED'
|
||||
} as const
|
||||
|
||||
export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus]
|
||||
|
||||
|
||||
export const POSStatus = {
|
||||
ACTIVE: 'ACTIVE',
|
||||
DISABLED: 'DISABLED'
|
||||
} as const
|
||||
|
||||
export type POSStatus = (typeof POSStatus)[keyof typeof POSStatus]
|
||||
|
||||
|
||||
export const POSRole = {
|
||||
MANAGER: 'MANAGER',
|
||||
OPERATOR: 'OPERATOR',
|
||||
VIEWER: 'VIEWER'
|
||||
} as const
|
||||
|
||||
export type POSRole = (typeof POSRole)[keyof typeof POSRole]
|
||||
|
||||
|
||||
export const LicenseType = {
|
||||
BASIC: 'BASIC',
|
||||
PRO: 'PRO',
|
||||
ENTERPRISE: 'ENTERPRISE'
|
||||
} as const
|
||||
|
||||
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType]
|
||||
|
||||
|
||||
export const LicenseStatus = {
|
||||
ACTIVE: 'ACTIVE',
|
||||
EXPIRED: 'EXPIRED',
|
||||
SUSPENDED: 'SUSPENDED'
|
||||
} as const
|
||||
|
||||
export type LicenseStatus = (typeof LicenseStatus)[keyof typeof LicenseStatus]
|
||||
|
||||
|
||||
export const POSType = {
|
||||
PSP: 'PSP',
|
||||
MOBILE: 'MOBILE',
|
||||
API: 'API'
|
||||
} as const
|
||||
|
||||
export type POSType = (typeof POSType)[keyof typeof POSType]
|
||||
|
||||
|
||||
export const UserType = {
|
||||
LEGAL: 'LEGAL',
|
||||
INDIVIDUAL: 'INDIVIDUAL'
|
||||
} as const
|
||||
|
||||
export type UserType = (typeof UserType)[keyof typeof UserType]
|
||||
|
||||
|
||||
export const AccountType = {
|
||||
PARTNER: 'PARTNER',
|
||||
BUSINESS: 'BUSINESS',
|
||||
ADMIN: 'ADMIN',
|
||||
PROVIDER: 'PROVIDER',
|
||||
POS: 'POS'
|
||||
} as const
|
||||
|
||||
export type AccountType = (typeof AccountType)[keyof typeof AccountType]
|
||||
|
||||
|
||||
export const PartnerRole = {
|
||||
ADMIN: 'ADMIN',
|
||||
OPERATOR: 'OPERATOR'
|
||||
} as const
|
||||
|
||||
export type PartnerRole = (typeof PartnerRole)[keyof typeof PartnerRole]
|
||||
|
||||
|
||||
export const BusinessRole = {
|
||||
ADMIN: 'ADMIN',
|
||||
OPERATOR: 'OPERATOR'
|
||||
} as const
|
||||
|
||||
export type BusinessRole = (typeof BusinessRole)[keyof typeof BusinessRole]
|
||||
|
||||
|
||||
export const ProviderRole = {
|
||||
ADMIN: 'ADMIN',
|
||||
OPERATOR: 'OPERATOR'
|
||||
} as const
|
||||
|
||||
export type ProviderRole = (typeof ProviderRole)[keyof typeof ProviderRole]
|
||||
|
||||
|
||||
export const TokenType = {
|
||||
ACCESS: 'ACCESS',
|
||||
REFRESH: 'REFRESH'
|
||||
} as const
|
||||
|
||||
export type TokenType = (typeof TokenType)[keyof typeof TokenType]
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -51,13 +51,26 @@ export const AnyNull = runtime.AnyNull
|
||||
|
||||
|
||||
export const ModelName = {
|
||||
Token: 'Token',
|
||||
VerificationCode: 'VerificationCode',
|
||||
Guild: 'Guild',
|
||||
BusinessActivity: 'BusinessActivity',
|
||||
Complex: 'Complex',
|
||||
Pos: 'Pos',
|
||||
DeviceBrand: 'DeviceBrand',
|
||||
Device: 'Device',
|
||||
License: 'License',
|
||||
Partner: 'Partner',
|
||||
User: 'User',
|
||||
Account: 'Account',
|
||||
Provider: 'Provider',
|
||||
TriggerLog: 'TriggerLog',
|
||||
UserDevices: 'UserDevices',
|
||||
Customer: 'Customer',
|
||||
CustomerIndividual: 'CustomerIndividual',
|
||||
CustomerLegal: 'CustomerLegal',
|
||||
Device: 'Device',
|
||||
Good: 'Good',
|
||||
GoodCategory: 'GoodCategory',
|
||||
TriggerLog: 'TriggerLog',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
SalesInvoicePayment: 'SalesInvoicePayment',
|
||||
@@ -81,6 +94,187 @@ export const TransactionIsolationLevel = {
|
||||
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
||||
|
||||
|
||||
export const TokenScalarFieldEnum = {
|
||||
id: 'id',
|
||||
token: 'token',
|
||||
type: 'type',
|
||||
created_at: 'created_at',
|
||||
expires_at: 'expires_at',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type TokenScalarFieldEnum = (typeof TokenScalarFieldEnum)[keyof typeof TokenScalarFieldEnum]
|
||||
|
||||
|
||||
export const VerificationCodeScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
is_used: 'is_used',
|
||||
created_at: 'created_at',
|
||||
expires_at: 'expires_at',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type VerificationCodeScalarFieldEnum = (typeof VerificationCodeScalarFieldEnum)[keyof typeof VerificationCodeScalarFieldEnum]
|
||||
|
||||
|
||||
export const GuildScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type GuildScalarFieldEnum = (typeof GuildScalarFieldEnum)[keyof typeof GuildScalarFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
created_at: 'created_at',
|
||||
guild_id: 'guild_id',
|
||||
owner_id: 'owner_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFieldEnum)[keyof typeof BusinessActivityScalarFieldEnum]
|
||||
|
||||
|
||||
export const ComplexScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
address: 'address',
|
||||
tax_id: 'tax_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexScalarFieldEnum = (typeof ComplexScalarFieldEnum)[keyof typeof ComplexScalarFieldEnum]
|
||||
|
||||
|
||||
export const PosScalarFieldEnum = {
|
||||
id: 'id',
|
||||
serial: 'serial',
|
||||
model: 'model',
|
||||
status: 'status',
|
||||
pos_type: 'pos_type',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
provider_id: 'provider_id'
|
||||
} as const
|
||||
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
|
||||
|
||||
export const DeviceBrandScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type DeviceBrandScalarFieldEnum = (typeof DeviceBrandScalarFieldEnum)[keyof typeof DeviceBrandScalarFieldEnum]
|
||||
|
||||
|
||||
export const DeviceScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
os_version: 'os_version',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
brand_id: 'brand_id'
|
||||
} as const
|
||||
|
||||
export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
|
||||
|
||||
|
||||
export const LicenseScalarFieldEnum = {
|
||||
id: 'id',
|
||||
starts_at: 'starts_at',
|
||||
expires_at: 'expires_at',
|
||||
status: 'status',
|
||||
pos_id: 'pos_id',
|
||||
partner_id: 'partner_id'
|
||||
} as const
|
||||
|
||||
export type LicenseScalarFieldEnum = (typeof LicenseScalarFieldEnum)[keyof typeof LicenseScalarFieldEnum]
|
||||
|
||||
|
||||
export const PartnerScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type PartnerScalarFieldEnum = (typeof PartnerScalarFieldEnum)[keyof typeof PartnerScalarFieldEnum]
|
||||
|
||||
|
||||
export const UserScalarFieldEnum = {
|
||||
id: 'id',
|
||||
created_at: 'created_at',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name'
|
||||
} as const
|
||||
|
||||
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
||||
|
||||
|
||||
export const AccountScalarFieldEnum = {
|
||||
id: 'id',
|
||||
username: 'username',
|
||||
type: 'type',
|
||||
status: 'status',
|
||||
password: 'password',
|
||||
created_at: 'created_at',
|
||||
user_id: 'user_id',
|
||||
partner_id: 'partner_id',
|
||||
business_id: 'business_id',
|
||||
provider_id: 'provider_id',
|
||||
pos_id: 'pos_id'
|
||||
} as const
|
||||
|
||||
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
||||
|
||||
|
||||
export const ProviderScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
message: 'message',
|
||||
createdAt: 'createdAt',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type TriggerLogScalarFieldEnum = (typeof TriggerLogScalarFieldEnum)[keyof typeof TriggerLogScalarFieldEnum]
|
||||
|
||||
|
||||
export const UserDevicesScalarFieldEnum = {
|
||||
account_id: 'account_id',
|
||||
app_version: 'app_version',
|
||||
build_number: 'build_number',
|
||||
uuid: 'uuid',
|
||||
platform: 'platform',
|
||||
brand: 'brand',
|
||||
model: 'model',
|
||||
device: 'device',
|
||||
os_version: 'os_version',
|
||||
sdk_version: 'sdk_version',
|
||||
release_number: 'release_number',
|
||||
browser_name: 'browser_name',
|
||||
fcm_token: 'fcm_token'
|
||||
} as const
|
||||
|
||||
export type UserDevicesScalarFieldEnum = (typeof UserDevicesScalarFieldEnum)[keyof typeof UserDevicesScalarFieldEnum]
|
||||
|
||||
|
||||
export const CustomerScalarFieldEnum = {
|
||||
id: 'id',
|
||||
created_at: 'created_at',
|
||||
@@ -119,25 +313,6 @@ export const CustomerLegalScalarFieldEnum = {
|
||||
export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)[keyof typeof CustomerLegalScalarFieldEnum]
|
||||
|
||||
|
||||
export const DeviceScalarFieldEnum = {
|
||||
account_id: 'account_id',
|
||||
app_version: 'app_version',
|
||||
build_number: 'build_number',
|
||||
uuid: 'uuid',
|
||||
platform: 'platform',
|
||||
brand: 'brand',
|
||||
model: 'model',
|
||||
device: 'device',
|
||||
os_version: 'os_version',
|
||||
sdk_version: 'sdk_version',
|
||||
release_number: 'release_number',
|
||||
browser_name: 'browser_name',
|
||||
fcm_token: 'fcm_token'
|
||||
} as const
|
||||
|
||||
export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
|
||||
|
||||
|
||||
export const GoodScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -145,13 +320,14 @@ export const GoodScalarFieldEnum = {
|
||||
sku: 'sku',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
base_sale_price: 'base_sale_price',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at',
|
||||
complex_id: 'complex_id',
|
||||
category_id: 'category_id',
|
||||
base_sale_price: 'base_sale_price',
|
||||
account_id: 'account_id',
|
||||
complex_id: 'complex_id'
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
||||
@@ -162,8 +338,9 @@ export const GoodCategoryScalarFieldEnum = {
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
account_id: 'account_id',
|
||||
complex_id: 'complex_id',
|
||||
is_default_guild_good: 'is_default_guild_good',
|
||||
guild_id: 'guild_id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
deleted_at: 'deleted_at'
|
||||
@@ -172,16 +349,6 @@ export const GoodCategoryScalarFieldEnum = {
|
||||
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
message: 'message',
|
||||
createdAt: 'createdAt',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type TriggerLogScalarFieldEnum = (typeof TriggerLogScalarFieldEnum)[keyof typeof TriggerLogScalarFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoiceScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
@@ -208,7 +375,6 @@ export const SalesInvoiceItemScalarFieldEnum = {
|
||||
created_at: 'created_at',
|
||||
discount: 'discount',
|
||||
notes: 'notes',
|
||||
pricingModel: 'pricingModel',
|
||||
invoice_id: 'invoice_id',
|
||||
good_id: 'good_id',
|
||||
service_id: 'service_id',
|
||||
@@ -280,6 +446,24 @@ export const NullableJsonNullValueInput = {
|
||||
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
||||
|
||||
|
||||
export const TokenOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
token: 'token',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type TokenOrderByRelevanceFieldEnum = (typeof TokenOrderByRelevanceFieldEnum)[keyof typeof TokenOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const VerificationCodeOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type VerificationCodeOrderByRelevanceFieldEnum = (typeof VerificationCodeOrderByRelevanceFieldEnum)[keyof typeof VerificationCodeOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
@@ -288,6 +472,145 @@ export const NullsOrder = {
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const GuildOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type GuildOrderByRelevanceFieldEnum = (typeof GuildOrderByRelevanceFieldEnum)[keyof typeof GuildOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
guild_id: 'guild_id',
|
||||
owner_id: 'owner_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivityOrderByRelevanceFieldEnum)[keyof typeof BusinessActivityOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ComplexOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
address: 'address',
|
||||
tax_id: 'tax_id',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexOrderByRelevanceFieldEnum = (typeof ComplexOrderByRelevanceFieldEnum)[keyof typeof ComplexOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const PosOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
serial: 'serial',
|
||||
model: 'model',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
provider_id: 'provider_id'
|
||||
} as const
|
||||
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const DeviceBrandOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type DeviceBrandOrderByRelevanceFieldEnum = (typeof DeviceBrandOrderByRelevanceFieldEnum)[keyof typeof DeviceBrandOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const DeviceOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
os_version: 'os_version',
|
||||
brand_id: 'brand_id'
|
||||
} as const
|
||||
|
||||
export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFieldEnum)[keyof typeof DeviceOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const LicenseOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
pos_id: 'pos_id',
|
||||
partner_id: 'partner_id'
|
||||
} as const
|
||||
|
||||
export type LicenseOrderByRelevanceFieldEnum = (typeof LicenseOrderByRelevanceFieldEnum)[keyof typeof LicenseOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const PartnerOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type PartnerOrderByRelevanceFieldEnum = (typeof PartnerOrderByRelevanceFieldEnum)[keyof typeof PartnerOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const UserOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name'
|
||||
} as const
|
||||
|
||||
export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const AccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
username: 'username',
|
||||
password: 'password',
|
||||
user_id: 'user_id',
|
||||
partner_id: 'partner_id',
|
||||
business_id: 'business_id',
|
||||
provider_id: 'provider_id',
|
||||
pos_id: 'pos_id'
|
||||
} as const
|
||||
|
||||
export type AccountOrderByRelevanceFieldEnum = (typeof AccountOrderByRelevanceFieldEnum)[keyof typeof AccountOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ProviderOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
code: 'code'
|
||||
} as const
|
||||
|
||||
export type ProviderOrderByRelevanceFieldEnum = (typeof ProviderOrderByRelevanceFieldEnum)[keyof typeof ProviderOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogOrderByRelevanceFieldEnum = {
|
||||
message: 'message',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type TriggerLogOrderByRelevanceFieldEnum = (typeof TriggerLogOrderByRelevanceFieldEnum)[keyof typeof TriggerLogOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const UserDevicesOrderByRelevanceFieldEnum = {
|
||||
account_id: 'account_id',
|
||||
app_version: 'app_version',
|
||||
build_number: 'build_number',
|
||||
uuid: 'uuid',
|
||||
platform: 'platform',
|
||||
brand: 'brand',
|
||||
model: 'model',
|
||||
device: 'device',
|
||||
os_version: 'os_version',
|
||||
sdk_version: 'sdk_version',
|
||||
release_number: 'release_number',
|
||||
browser_name: 'browser_name',
|
||||
fcm_token: 'fcm_token'
|
||||
} as const
|
||||
|
||||
export type UserDevicesOrderByRelevanceFieldEnum = (typeof UserDevicesOrderByRelevanceFieldEnum)[keyof typeof UserDevicesOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const CustomerOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
complex_id: 'complex_id'
|
||||
@@ -321,25 +644,6 @@ export const CustomerLegalOrderByRelevanceFieldEnum = {
|
||||
export type CustomerLegalOrderByRelevanceFieldEnum = (typeof CustomerLegalOrderByRelevanceFieldEnum)[keyof typeof CustomerLegalOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const DeviceOrderByRelevanceFieldEnum = {
|
||||
account_id: 'account_id',
|
||||
app_version: 'app_version',
|
||||
build_number: 'build_number',
|
||||
uuid: 'uuid',
|
||||
platform: 'platform',
|
||||
brand: 'brand',
|
||||
model: 'model',
|
||||
device: 'device',
|
||||
os_version: 'os_version',
|
||||
sdk_version: 'sdk_version',
|
||||
release_number: 'release_number',
|
||||
browser_name: 'browser_name',
|
||||
fcm_token: 'fcm_token'
|
||||
} as const
|
||||
|
||||
export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFieldEnum)[keyof typeof DeviceOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const GoodOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -347,9 +651,9 @@ export const GoodOrderByRelevanceFieldEnum = {
|
||||
sku: 'sku',
|
||||
local_sku: 'local_sku',
|
||||
barcode: 'barcode',
|
||||
complex_id: 'complex_id',
|
||||
category_id: 'category_id',
|
||||
account_id: 'account_id',
|
||||
complex_id: 'complex_id'
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
||||
@@ -360,21 +664,13 @@ export const GoodCategoryOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
description: 'description',
|
||||
image_url: 'image_url',
|
||||
account_id: 'account_id',
|
||||
complex_id: 'complex_id'
|
||||
complex_id: 'complex_id',
|
||||
guild_id: 'guild_id'
|
||||
} as const
|
||||
|
||||
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogOrderByRelevanceFieldEnum = {
|
||||
message: 'message',
|
||||
name: 'name'
|
||||
} as const
|
||||
|
||||
export type TriggerLogOrderByRelevanceFieldEnum = (typeof TriggerLogOrderByRelevanceFieldEnum)[keyof typeof TriggerLogOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const JsonNullValueFilter = {
|
||||
DbNull: 'DbNull',
|
||||
JsonNull: 'JsonNull',
|
||||
|
||||
@@ -8,13 +8,26 @@
|
||||
*
|
||||
* 🟢 You can import this file directly.
|
||||
*/
|
||||
export type * from './models/Token.js'
|
||||
export type * from './models/VerificationCode.js'
|
||||
export type * from './models/Guild.js'
|
||||
export type * from './models/BusinessActivity.js'
|
||||
export type * from './models/Complex.js'
|
||||
export type * from './models/Pos.js'
|
||||
export type * from './models/DeviceBrand.js'
|
||||
export type * from './models/Device.js'
|
||||
export type * from './models/License.js'
|
||||
export type * from './models/Partner.js'
|
||||
export type * from './models/User.js'
|
||||
export type * from './models/Account.js'
|
||||
export type * from './models/Provider.js'
|
||||
export type * from './models/TriggerLog.js'
|
||||
export type * from './models/UserDevices.js'
|
||||
export type * from './models/Customer.js'
|
||||
export type * from './models/CustomerIndividual.js'
|
||||
export type * from './models/CustomerLegal.js'
|
||||
export type * from './models/Device.js'
|
||||
export type * from './models/Good.js'
|
||||
export type * from './models/GoodCategory.js'
|
||||
export type * from './models/TriggerLog.js'
|
||||
export type * from './models/SalesInvoice.js'
|
||||
export type * from './models/SalesInvoiceItem.js'
|
||||
export type * from './models/SalesInvoicePayment.js'
|
||||
|
||||
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
@@ -387,14 +387,6 @@ export type CustomerNullableScalarRelationFilter = {
|
||||
isNot?: Prisma.CustomerWhereInput | null
|
||||
}
|
||||
|
||||
export type StringFieldUpdateOperationsInput = {
|
||||
set?: string
|
||||
}
|
||||
|
||||
export type DateTimeFieldUpdateOperationsInput = {
|
||||
set?: Date | string
|
||||
}
|
||||
|
||||
export type NullableDateTimeFieldUpdateOperationsInput = {
|
||||
set?: Date | string | null
|
||||
}
|
||||
|
||||
@@ -401,10 +401,6 @@ export type CustomerIndividualUncheckedUpdateOneWithoutCustomerNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerIndividualUpdateToOneWithWhereWithoutCustomerInput, Prisma.CustomerIndividualUpdateWithoutCustomerInput>, Prisma.CustomerIndividualUncheckedUpdateWithoutCustomerInput>
|
||||
}
|
||||
|
||||
export type NullableStringFieldUpdateOperationsInput = {
|
||||
set?: string | null
|
||||
}
|
||||
|
||||
export type CustomerIndividualCreateWithoutCustomerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
|
||||
@@ -206,17 +206,17 @@ export type CustomerLegalOrderByWithRelationInput = {
|
||||
|
||||
export type CustomerLegalWhereUniqueInput = Prisma.AtLeast<{
|
||||
customer_id?: string
|
||||
registration_number?: string
|
||||
complex_id_registration_number?: Prisma.CustomerLegalComplex_idRegistration_numberCompoundUniqueInput
|
||||
AND?: Prisma.CustomerLegalWhereInput | Prisma.CustomerLegalWhereInput[]
|
||||
OR?: Prisma.CustomerLegalWhereInput[]
|
||||
NOT?: Prisma.CustomerLegalWhereInput | Prisma.CustomerLegalWhereInput[]
|
||||
company_name?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
economic_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
registration_number?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
postal_code?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
complex_id?: Prisma.StringFilter<"CustomerLegal"> | string
|
||||
customer?: Prisma.XOR<Prisma.CustomerScalarRelationFilter, Prisma.CustomerWhereInput>
|
||||
}, "customer_id" | "registration_number" | "complex_id_registration_number">
|
||||
}, "customer_id" | "complex_id_registration_number">
|
||||
|
||||
export type CustomerLegalOrderByWithAggregationInput = {
|
||||
customer_id?: Prisma.SortOrder
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+563
-140
File diff suppressed because it is too large
Load Diff
@@ -29,8 +29,9 @@ export type GoodCategoryMinAggregateOutputType = {
|
||||
name: string | null
|
||||
description: string | null
|
||||
image_url: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
is_default_guild_good: boolean | null
|
||||
guild_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
@@ -41,8 +42,9 @@ export type GoodCategoryMaxAggregateOutputType = {
|
||||
name: string | null
|
||||
description: string | null
|
||||
image_url: string | null
|
||||
account_id: string | null
|
||||
complex_id: string | null
|
||||
is_default_guild_good: boolean | null
|
||||
guild_id: string | null
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
deleted_at: Date | null
|
||||
@@ -53,8 +55,9 @@ export type GoodCategoryCountAggregateOutputType = {
|
||||
name: number
|
||||
description: number
|
||||
image_url: number
|
||||
account_id: number
|
||||
complex_id: number
|
||||
is_default_guild_good: number
|
||||
guild_id: number
|
||||
created_at: number
|
||||
updated_at: number
|
||||
deleted_at: number
|
||||
@@ -67,8 +70,9 @@ export type GoodCategoryMinAggregateInputType = {
|
||||
name?: true
|
||||
description?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
is_default_guild_good?: true
|
||||
guild_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
@@ -79,8 +83,9 @@ export type GoodCategoryMaxAggregateInputType = {
|
||||
name?: true
|
||||
description?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
is_default_guild_good?: true
|
||||
guild_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
@@ -91,8 +96,9 @@ export type GoodCategoryCountAggregateInputType = {
|
||||
name?: true
|
||||
description?: true
|
||||
image_url?: true
|
||||
account_id?: true
|
||||
complex_id?: true
|
||||
is_default_guild_good?: true
|
||||
guild_id?: true
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
deleted_at?: true
|
||||
@@ -176,8 +182,9 @@ export type GoodCategoryGroupByOutputType = {
|
||||
name: string
|
||||
description: string | null
|
||||
image_url: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
complex_id: string | null
|
||||
is_default_guild_good: boolean
|
||||
guild_id: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
@@ -209,12 +216,15 @@ export type GoodCategoryWhereInput = {
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
|
||||
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
|
||||
}
|
||||
|
||||
export type GoodCategoryOrderByWithRelationInput = {
|
||||
@@ -222,12 +232,15 @@ export type GoodCategoryOrderByWithRelationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
is_default_guild_good?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
goods?: Prisma.GoodOrderByRelationAggregateInput
|
||||
guild?: Prisma.GuildOrderByWithRelationInput
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
_relevance?: Prisma.GoodCategoryOrderByRelevanceInput
|
||||
}
|
||||
|
||||
@@ -239,12 +252,15 @@ export type GoodCategoryWhereUniqueInput = Prisma.AtLeast<{
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
goods?: Prisma.GoodListRelationFilter
|
||||
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
|
||||
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
|
||||
}, "id">
|
||||
|
||||
export type GoodCategoryOrderByWithAggregationInput = {
|
||||
@@ -252,8 +268,9 @@ export type GoodCategoryOrderByWithAggregationInput = {
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
is_default_guild_good?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -270,8 +287,9 @@ export type GoodCategoryScalarWhereWithAggregatesInput = {
|
||||
name?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
account_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
|
||||
complex_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolWithAggregatesFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"GoodCategory"> | Date | string | null
|
||||
@@ -282,12 +300,13 @@ export type GoodCategoryCreateInput = {
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateInput = {
|
||||
@@ -295,8 +314,9 @@ export type GoodCategoryUncheckedCreateInput = {
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
@@ -308,12 +328,13 @@ export type GoodCategoryUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateInput = {
|
||||
@@ -321,8 +342,9 @@ export type GoodCategoryUncheckedUpdateInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
@@ -334,8 +356,9 @@ export type GoodCategoryCreateManyInput = {
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
@@ -346,8 +369,7 @@ export type GoodCategoryUpdateManyMutationInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
@@ -358,13 +380,24 @@ export type GoodCategoryUncheckedUpdateManyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryListRelationFilter = {
|
||||
every?: Prisma.GoodCategoryWhereInput
|
||||
some?: Prisma.GoodCategoryWhereInput
|
||||
none?: Prisma.GoodCategoryWhereInput
|
||||
}
|
||||
|
||||
export type GoodCategoryOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryNullableScalarRelationFilter = {
|
||||
is?: Prisma.GoodCategoryWhereInput | null
|
||||
isNot?: Prisma.GoodCategoryWhereInput | null
|
||||
@@ -381,8 +414,9 @@ export type GoodCategoryCountOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
is_default_guild_good?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
@@ -393,8 +427,9 @@ export type GoodCategoryMaxOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
is_default_guild_good?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
@@ -405,13 +440,98 @@ export type GoodCategoryMinOrderByAggregateInput = {
|
||||
name?: Prisma.SortOrder
|
||||
description?: Prisma.SortOrder
|
||||
image_url?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
is_default_guild_good?: Prisma.SortOrder
|
||||
guild_id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedOneWithoutGoodsInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGoodsInput, Prisma.GoodCategoryUncheckedCreateWithoutGoodsInput>
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGoodsInput
|
||||
@@ -428,16 +548,137 @@ export type GoodCategoryUpdateOneWithoutGoodsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GoodCategoryUpdateToOneWithWhereWithoutGoodsInput, Prisma.GoodCategoryUpdateWithoutGoodsInput>, Prisma.GoodCategoryUncheckedUpdateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.GoodCategoryCreateManyGuildInput | Prisma.GoodCategoryCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryScalarWhereInput = {
|
||||
AND?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
OR?: Prisma.GoodCategoryScalarWhereInput[]
|
||||
NOT?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.GoodCategoryCreateManyComplexInput | Prisma.GoodCategoryCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.GoodCategoryScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
|
||||
@@ -445,8 +686,9 @@ export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
@@ -473,11 +715,12 @@ export type GoodCategoryUpdateWithoutGoodsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
|
||||
@@ -485,8 +728,109 @@ export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
@@ -528,12 +872,15 @@ export type GoodCategorySelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
image_url?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
|
||||
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["goodCategory"]>
|
||||
|
||||
@@ -544,16 +891,19 @@ export type GoodCategorySelectScalar = {
|
||||
name?: boolean
|
||||
description?: boolean
|
||||
image_url?: boolean
|
||||
account_id?: boolean
|
||||
complex_id?: boolean
|
||||
is_default_guild_good?: boolean
|
||||
guild_id?: boolean
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
deleted_at?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "account_id" | "complex_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
|
||||
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "complex_id" | "is_default_guild_good" | "guild_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
|
||||
export type GoodCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
|
||||
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
|
||||
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
|
||||
@@ -561,14 +911,17 @@ export type $GoodCategoryPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
name: "GoodCategory"
|
||||
objects: {
|
||||
goods: Prisma.$GoodPayload<ExtArgs>[]
|
||||
guild: Prisma.$GuildPayload<ExtArgs> | null
|
||||
complex: Prisma.$ComplexPayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
name: string
|
||||
description: string | null
|
||||
image_url: string | null
|
||||
account_id: string
|
||||
complex_id: string
|
||||
complex_id: string | null
|
||||
is_default_guild_good: boolean
|
||||
guild_id: string | null
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
deleted_at: Date | null
|
||||
@@ -913,6 +1266,8 @@ readonly fields: GoodCategoryFieldRefs;
|
||||
export interface Prisma__GoodCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
goods<T extends Prisma.GoodCategory$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
guild<T extends Prisma.GoodCategory$guildArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$guildArgs<ExtArgs>>): Prisma.Prisma__GuildClient<runtime.Types.Result.GetResult<Prisma.$GuildPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
complex<T extends Prisma.GoodCategory$complexArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$complexArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -946,8 +1301,9 @@ export interface GoodCategoryFieldRefs {
|
||||
readonly name: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly description: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly image_url: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly complex_id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly is_default_guild_good: Prisma.FieldRef<"GoodCategory", 'Boolean'>
|
||||
readonly guild_id: Prisma.FieldRef<"GoodCategory", 'String'>
|
||||
readonly created_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
readonly deleted_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
|
||||
@@ -1317,6 +1673,44 @@ export type GoodCategory$goodsArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
distinct?: Prisma.GoodScalarFieldEnum | Prisma.GoodScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* GoodCategory.guild
|
||||
*/
|
||||
export type GoodCategory$guildArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Guild
|
||||
*/
|
||||
select?: Prisma.GuildSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Guild
|
||||
*/
|
||||
omit?: Prisma.GuildOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.GuildInclude<ExtArgs> | null
|
||||
where?: Prisma.GuildWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* GoodCategory.complex
|
||||
*/
|
||||
export type GoodCategory$complexArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the Complex
|
||||
*/
|
||||
select?: Prisma.ComplexSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the Complex
|
||||
*/
|
||||
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.ComplexInclude<ExtArgs> | null
|
||||
where?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* GoodCategory without action
|
||||
*/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -555,6 +555,14 @@ export type SalesInvoiceUncheckedUpdateManyWithoutCustomerNestedInput = {
|
||||
deleteMany?: Prisma.SalesInvoiceScalarWhereInput | Prisma.SalesInvoiceScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type DecimalFieldUpdateOperationsInput = {
|
||||
set?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
}
|
||||
|
||||
export type SalesInvoiceCreateNestedOneWithoutItemsInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceCreateWithoutItemsInput, Prisma.SalesInvoiceUncheckedCreateWithoutItemsInput>
|
||||
connectOrCreate?: Prisma.SalesInvoiceCreateOrConnectWithoutItemsInput
|
||||
|
||||
@@ -49,7 +49,6 @@ export type SalesInvoiceItemMinAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
discount: runtime.Decimal | null
|
||||
notes: string | null
|
||||
pricingModel: $Enums.SalesInvoiceItemPricingModel | null
|
||||
invoice_id: string | null
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
@@ -64,7 +63,6 @@ export type SalesInvoiceItemMaxAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
discount: runtime.Decimal | null
|
||||
notes: string | null
|
||||
pricingModel: $Enums.SalesInvoiceItemPricingModel | null
|
||||
invoice_id: string | null
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
@@ -79,7 +77,6 @@ export type SalesInvoiceItemCountAggregateOutputType = {
|
||||
created_at: number
|
||||
discount: number
|
||||
notes: number
|
||||
pricingModel: number
|
||||
invoice_id: number
|
||||
good_id: number
|
||||
service_id: number
|
||||
@@ -111,7 +108,6 @@ export type SalesInvoiceItemMinAggregateInputType = {
|
||||
created_at?: true
|
||||
discount?: true
|
||||
notes?: true
|
||||
pricingModel?: true
|
||||
invoice_id?: true
|
||||
good_id?: true
|
||||
service_id?: true
|
||||
@@ -126,7 +122,6 @@ export type SalesInvoiceItemMaxAggregateInputType = {
|
||||
created_at?: true
|
||||
discount?: true
|
||||
notes?: true
|
||||
pricingModel?: true
|
||||
invoice_id?: true
|
||||
good_id?: true
|
||||
service_id?: true
|
||||
@@ -141,7 +136,6 @@ export type SalesInvoiceItemCountAggregateInputType = {
|
||||
created_at?: true
|
||||
discount?: true
|
||||
notes?: true
|
||||
pricingModel?: true
|
||||
invoice_id?: true
|
||||
good_id?: true
|
||||
service_id?: true
|
||||
@@ -244,7 +238,6 @@ export type SalesInvoiceItemGroupByOutputType = {
|
||||
created_at: Date
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
pricingModel: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
@@ -283,7 +276,6 @@ export type SalesInvoiceItemWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
@@ -302,7 +294,6 @@ export type SalesInvoiceItemOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
pricingModel?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -325,7 +316,6 @@ export type SalesInvoiceItemWhereUniqueInput = Prisma.AtLeast<{
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
@@ -344,7 +334,6 @@ export type SalesInvoiceItemOrderByWithAggregationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
pricingModel?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
@@ -368,7 +357,6 @@ export type SalesInvoiceItemScalarWhereWithAggregatesInput = {
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoiceItem"> | Date | string
|
||||
discount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelWithAggregatesFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
@@ -384,7 +372,6 @@ export type SalesInvoiceItemCreateInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
@@ -400,7 +387,6 @@ export type SalesInvoiceItemUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
@@ -416,7 +402,6 @@ export type SalesInvoiceItemUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
@@ -432,7 +417,6 @@ export type SalesInvoiceItemUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -448,7 +432,6 @@ export type SalesInvoiceItemCreateManyInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
@@ -464,7 +447,6 @@ export type SalesInvoiceItemUpdateManyMutationInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
@@ -477,7 +459,6 @@ export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
@@ -509,7 +490,6 @@ export type SalesInvoiceItemCountOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrder
|
||||
pricingModel?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrder
|
||||
@@ -532,7 +512,6 @@ export type SalesInvoiceItemMaxOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrder
|
||||
pricingModel?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrder
|
||||
@@ -547,7 +526,6 @@ export type SalesInvoiceItemMinOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrder
|
||||
pricingModel?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrder
|
||||
@@ -648,10 +626,6 @@ export type EnumUnitTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.UnitType
|
||||
}
|
||||
|
||||
export type EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput = {
|
||||
set?: $Enums.SalesInvoiceItemPricingModel
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateNestedManyWithoutServiceInput = {
|
||||
create?: Prisma.XOR<Prisma.SalesInvoiceItemCreateWithoutServiceInput, Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput> | Prisma.SalesInvoiceItemCreateWithoutServiceInput[] | Prisma.SalesInvoiceItemUncheckedCreateWithoutServiceInput[]
|
||||
connectOrCreate?: Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput | Prisma.SalesInvoiceItemCreateOrConnectWithoutServiceInput[]
|
||||
@@ -703,7 +677,6 @@ export type SalesInvoiceItemCreateWithoutGoodInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
@@ -718,7 +691,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutGoodInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -762,7 +734,6 @@ export type SalesInvoiceItemScalarWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoiceItem"> | Date | string
|
||||
discount?: Prisma.DecimalFilter<"SalesInvoiceItem"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFilter<"SalesInvoiceItem"> | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
@@ -778,7 +749,6 @@ export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
@@ -793,7 +763,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -834,7 +803,6 @@ export type SalesInvoiceItemCreateWithoutServiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
@@ -849,7 +817,6 @@ export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -890,7 +857,6 @@ export type SalesInvoiceItemCreateManyGoodInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -905,7 +871,6 @@ export type SalesInvoiceItemUpdateWithoutGoodInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
@@ -920,7 +885,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutGoodInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -935,7 +899,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -950,7 +913,6 @@ export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -965,7 +927,6 @@ export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
@@ -980,7 +941,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -995,7 +955,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -1010,7 +969,6 @@ export type SalesInvoiceItemCreateManyServiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
pricingModel?: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -1025,7 +983,6 @@ export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
@@ -1040,7 +997,6 @@ export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -1055,7 +1011,6 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
pricingModel?: Prisma.EnumSalesInvoiceItemPricingModelFieldUpdateOperationsInput | $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
@@ -1072,7 +1027,6 @@ export type SalesInvoiceItemSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
created_at?: boolean
|
||||
discount?: boolean
|
||||
notes?: boolean
|
||||
pricingModel?: boolean
|
||||
invoice_id?: boolean
|
||||
good_id?: boolean
|
||||
service_id?: boolean
|
||||
@@ -1093,14 +1047,13 @@ export type SalesInvoiceItemSelectScalar = {
|
||||
created_at?: boolean
|
||||
discount?: boolean
|
||||
notes?: boolean
|
||||
pricingModel?: boolean
|
||||
invoice_id?: boolean
|
||||
good_id?: boolean
|
||||
service_id?: boolean
|
||||
payload?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "unit_type" | "unit_price" | "total_amount" | "created_at" | "discount" | "notes" | "pricingModel" | "invoice_id" | "good_id" | "service_id" | "payload", ExtArgs["result"]["salesInvoiceItem"]>
|
||||
export type SalesInvoiceItemOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "unit_type" | "unit_price" | "total_amount" | "created_at" | "discount" | "notes" | "invoice_id" | "good_id" | "service_id" | "payload", ExtArgs["result"]["salesInvoiceItem"]>
|
||||
export type SalesInvoiceItemInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
@@ -1123,7 +1076,6 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
created_at: Date
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
pricingModel: $Enums.SalesInvoiceItemPricingModel
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
@@ -1508,7 +1460,6 @@ export interface SalesInvoiceItemFieldRefs {
|
||||
readonly created_at: Prisma.FieldRef<"SalesInvoiceItem", 'DateTime'>
|
||||
readonly discount: Prisma.FieldRef<"SalesInvoiceItem", 'Decimal'>
|
||||
readonly notes: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly pricingModel: Prisma.FieldRef<"SalesInvoiceItem", 'SalesInvoiceItemPricingModel'>
|
||||
readonly invoice_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly good_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly service_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user