feat: add DTOs and services for tax switch integration
- Created SendBulkSaleInvoicesDto for handling bulk sale invoice requests. - Implemented TaxSwitchSendPayloadDto and related DTOs for tax switch item payloads and results. - Developed SalesInvoiceTaxSwitchService to manage tax switch operations, including sending and retrieving tax information. - Added SalesInvoiceTaxService for handling sales invoice tax logic, including bulk sending and persistence of results. - Introduced NamaTaxSwitchAdapter to interact with the tax switch service, simulating external API responses. - Created SendBulkSalesInvoicesDto for POS module to handle bulk sales invoice requests.
This commit is contained in:
@@ -32,41 +32,6 @@ export type Admin = Prisma.AdminModel
|
||||
*
|
||||
*/
|
||||
export type Account = Prisma.AccountModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model DeviceBrand
|
||||
*
|
||||
@@ -167,6 +132,41 @@ export type ConsumerDevices = Prisma.ConsumerDevicesModel
|
||||
*
|
||||
*/
|
||||
export type ApplicationReleasedInfo = Prisma.ApplicationReleasedInfoModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
@@ -212,6 +212,16 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
@@ -54,41 +54,6 @@ export type Admin = Prisma.AdminModel
|
||||
*
|
||||
*/
|
||||
export type Account = Prisma.AccountModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model DeviceBrand
|
||||
*
|
||||
@@ -189,6 +154,41 @@ export type ConsumerDevices = Prisma.ConsumerDevicesModel
|
||||
*
|
||||
*/
|
||||
export type ApplicationReleasedInfo = Prisma.ApplicationReleasedInfoModel
|
||||
/**
|
||||
* Model ConsumerAccount
|
||||
*
|
||||
*/
|
||||
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
||||
/**
|
||||
* Model Consumer
|
||||
*
|
||||
*/
|
||||
export type Consumer = Prisma.ConsumerModel
|
||||
/**
|
||||
* Model ConsumerIndividual
|
||||
*
|
||||
*/
|
||||
export type ConsumerIndividual = Prisma.ConsumerIndividualModel
|
||||
/**
|
||||
* Model ConsumerLegal
|
||||
*
|
||||
*/
|
||||
export type ConsumerLegal = Prisma.ConsumerLegalModel
|
||||
/**
|
||||
* Model BusinessActivity
|
||||
*
|
||||
*/
|
||||
export type BusinessActivity = Prisma.BusinessActivityModel
|
||||
/**
|
||||
* Model Complex
|
||||
*
|
||||
*/
|
||||
export type Complex = Prisma.ComplexModel
|
||||
/**
|
||||
* Model Pos
|
||||
*
|
||||
*/
|
||||
export type Pos = Prisma.PosModel
|
||||
/**
|
||||
* Model TriggerLog
|
||||
*
|
||||
@@ -234,6 +234,16 @@ export type SalesInvoice = Prisma.SalesInvoiceModel
|
||||
*
|
||||
*/
|
||||
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscals
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscals = Prisma.SaleInvoiceFiscalsModel
|
||||
/**
|
||||
* Model SaleInvoiceFiscalAttempts
|
||||
*
|
||||
*/
|
||||
export type SaleInvoiceFiscalAttempts = Prisma.SaleInvoiceFiscalAttemptsModel
|
||||
/**
|
||||
* Model SalesInvoicePayment
|
||||
*
|
||||
|
||||
@@ -144,91 +144,6 @@ export type EnumAccountTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerRoleFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
}
|
||||
|
||||
export type EnumConsumerRoleWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
}
|
||||
|
||||
export type EnumConsumerStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
}
|
||||
|
||||
export type EnumConsumerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$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 IntFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
@@ -473,6 +388,91 @@ export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedJsonNullableFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerRoleFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
}
|
||||
|
||||
export type EnumConsumerRoleWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
}
|
||||
|
||||
export type EnumConsumerStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
}
|
||||
|
||||
export type EnumConsumerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type EnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$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 BoolNullableFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
||||
@@ -780,91 +780,6 @@ export type NestedEnumAccountTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
_max?: Prisma.NestedEnumAccountTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerRoleFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
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>
|
||||
_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 NestedIntWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: number | Prisma.IntFieldRefInput<$PrismaModel>
|
||||
in?: number[]
|
||||
@@ -1082,6 +997,91 @@ export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
||||
not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerRoleFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerRole | Prisma.EnumConsumerRoleFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerRole[]
|
||||
notIn?: $Enums.ConsumerRole[]
|
||||
not?: Prisma.NestedEnumConsumerRoleWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerRole
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerRoleFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerTypeFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerStatusFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerType | Prisma.EnumConsumerTypeFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerType[]
|
||||
notIn?: $Enums.ConsumerType[]
|
||||
not?: Prisma.NestedEnumConsumerTypeWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerType
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerTypeFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
export type NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel = never> = {
|
||||
equals?: $Enums.ConsumerStatus | Prisma.EnumConsumerStatusFieldRefInput<$PrismaModel>
|
||||
in?: $Enums.ConsumerStatus[]
|
||||
notIn?: $Enums.ConsumerStatus[]
|
||||
not?: Prisma.NestedEnumConsumerStatusWithAggregatesFilter<$PrismaModel> | $Enums.ConsumerStatus
|
||||
_count?: Prisma.NestedIntFilter<$PrismaModel>
|
||||
_min?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
_max?: Prisma.NestedEnumConsumerStatusFilter<$PrismaModel>
|
||||
}
|
||||
|
||||
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>
|
||||
_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 NestedBoolNullableFilter<$PrismaModel = never> = {
|
||||
equals?: boolean | Prisma.BooleanFieldRefInput<$PrismaModel> | null
|
||||
not?: Prisma.NestedBoolNullableFilter<$PrismaModel> | boolean | null
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -54,13 +54,6 @@ export const ModelName = {
|
||||
AdminAccount: 'AdminAccount',
|
||||
Admin: 'Admin',
|
||||
Account: 'Account',
|
||||
ConsumerAccount: 'ConsumerAccount',
|
||||
Consumer: 'Consumer',
|
||||
ConsumerIndividual: 'ConsumerIndividual',
|
||||
ConsumerLegal: 'ConsumerLegal',
|
||||
BusinessActivity: 'BusinessActivity',
|
||||
Complex: 'Complex',
|
||||
Pos: 'Pos',
|
||||
DeviceBrand: 'DeviceBrand',
|
||||
Device: 'Device',
|
||||
LicenseChargeTransaction: 'LicenseChargeTransaction',
|
||||
@@ -81,6 +74,13 @@ export const ModelName = {
|
||||
Provider: 'Provider',
|
||||
ConsumerDevices: 'ConsumerDevices',
|
||||
ApplicationReleasedInfo: 'ApplicationReleasedInfo',
|
||||
ConsumerAccount: 'ConsumerAccount',
|
||||
Consumer: 'Consumer',
|
||||
ConsumerIndividual: 'ConsumerIndividual',
|
||||
ConsumerLegal: 'ConsumerLegal',
|
||||
BusinessActivity: 'BusinessActivity',
|
||||
Complex: 'Complex',
|
||||
Pos: 'Pos',
|
||||
TriggerLog: 'TriggerLog',
|
||||
Customer: 'Customer',
|
||||
CustomerIndividual: 'CustomerIndividual',
|
||||
@@ -90,6 +90,8 @@ export const ModelName = {
|
||||
Guild: 'Guild',
|
||||
SalesInvoice: 'SalesInvoice',
|
||||
SalesInvoiceItem: 'SalesInvoiceItem',
|
||||
SaleInvoiceFiscals: 'SaleInvoiceFiscals',
|
||||
SaleInvoiceFiscalAttempts: 'SaleInvoiceFiscalAttempts',
|
||||
SalesInvoicePayment: 'SalesInvoicePayment',
|
||||
Service: 'Service',
|
||||
ServiceCategory: 'ServiceCategory'
|
||||
@@ -146,99 +148,6 @@ export const AccountScalarFieldEnum = {
|
||||
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerAccountScalarFieldEnum = {
|
||||
id: 'id',
|
||||
role: 'role',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
consumer_id: 'consumer_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerAccountScalarFieldEnum = (typeof ConsumerAccountScalarFieldEnum)[keyof typeof ConsumerAccountScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerScalarFieldEnum = {
|
||||
id: 'id',
|
||||
type: 'type',
|
||||
status: 'status',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typeof ConsumerScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerIndividualScalarFieldEnum = {
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerIndividualScalarFieldEnum = (typeof ConsumerIndividualScalarFieldEnum)[keyof typeof ConsumerIndividualScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerLegalScalarFieldEnum = {
|
||||
name: 'name',
|
||||
registration_code: 'registration_code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerLegalScalarFieldEnum = (typeof ConsumerLegalScalarFieldEnum)[keyof typeof ConsumerLegalScalarFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
economic_code: 'economic_code',
|
||||
name: 'name',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
guild_id: 'guild_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFieldEnum)[keyof typeof BusinessActivityScalarFieldEnum]
|
||||
|
||||
|
||||
export const ComplexScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
branch_code: 'branch_code',
|
||||
address: 'address',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexScalarFieldEnum = (typeof ComplexScalarFieldEnum)[keyof typeof ComplexScalarFieldEnum]
|
||||
|
||||
|
||||
export const PosScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
model: 'model',
|
||||
serial_number: 'serial_number',
|
||||
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',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
|
||||
|
||||
export const DeviceBrandScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
@@ -484,6 +393,101 @@ export const ApplicationReleasedInfoScalarFieldEnum = {
|
||||
export type ApplicationReleasedInfoScalarFieldEnum = (typeof ApplicationReleasedInfoScalarFieldEnum)[keyof typeof ApplicationReleasedInfoScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerAccountScalarFieldEnum = {
|
||||
id: 'id',
|
||||
role: 'role',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
consumer_id: 'consumer_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerAccountScalarFieldEnum = (typeof ConsumerAccountScalarFieldEnum)[keyof typeof ConsumerAccountScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerScalarFieldEnum = {
|
||||
id: 'id',
|
||||
type: 'type',
|
||||
status: 'status',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at'
|
||||
} as const
|
||||
|
||||
export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typeof ConsumerScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerIndividualScalarFieldEnum = {
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerIndividualScalarFieldEnum = (typeof ConsumerIndividualScalarFieldEnum)[keyof typeof ConsumerIndividualScalarFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerLegalScalarFieldEnum = {
|
||||
name: 'name',
|
||||
registration_code: 'registration_code',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerLegalScalarFieldEnum = (typeof ConsumerLegalScalarFieldEnum)[keyof typeof ConsumerLegalScalarFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityScalarFieldEnum = {
|
||||
id: 'id',
|
||||
economic_code: 'economic_code',
|
||||
name: 'name',
|
||||
fiscal_id: 'fiscal_id',
|
||||
partner_token: 'partner_token',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
guild_id: 'guild_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFieldEnum)[keyof typeof BusinessActivityScalarFieldEnum]
|
||||
|
||||
|
||||
export const ComplexScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
branch_code: 'branch_code',
|
||||
address: 'address',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexScalarFieldEnum = (typeof ComplexScalarFieldEnum)[keyof typeof ComplexScalarFieldEnum]
|
||||
|
||||
|
||||
export const PosScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
model: 'model',
|
||||
serial_number: 'serial_number',
|
||||
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',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
message: 'message',
|
||||
@@ -585,13 +589,14 @@ export const SalesInvoiceScalarFieldEnum = {
|
||||
id: 'id',
|
||||
code: 'code',
|
||||
total_amount: 'total_amount',
|
||||
invoice_number: 'invoice_number',
|
||||
invoice_date: 'invoice_date',
|
||||
notes: 'notes',
|
||||
unknown_customer: 'unknown_customer',
|
||||
invoice_date: 'invoice_date',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
customer_id: 'customer_id',
|
||||
account_id: 'account_id',
|
||||
consumer_account_id: 'consumer_account_id',
|
||||
pos_id: 'pos_id'
|
||||
} as const
|
||||
|
||||
@@ -607,22 +612,52 @@ export const SalesInvoiceItemScalarFieldEnum = {
|
||||
created_at: 'created_at',
|
||||
discount: 'discount',
|
||||
notes: 'notes',
|
||||
payload: 'payload',
|
||||
good_snapshot: 'good_snapshot',
|
||||
invoice_id: 'invoice_id',
|
||||
good_id: 'good_id',
|
||||
service_id: 'service_id',
|
||||
payload: 'payload'
|
||||
service_id: 'service_id'
|
||||
} as const
|
||||
|
||||
export type SalesInvoiceItemScalarFieldEnum = (typeof SalesInvoiceItemScalarFieldEnum)[keyof typeof SalesInvoiceItemScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
retry_count: 'retry_count',
|
||||
last_attempt_at: 'last_attempt_at',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsScalarFieldEnum = (typeof SaleInvoiceFiscalsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsScalarFieldEnum = {
|
||||
id: 'id',
|
||||
attempt_no: 'attempt_no',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
request_payload: 'request_payload',
|
||||
response_payload: 'response_payload',
|
||||
error_message: 'error_message',
|
||||
sent_at: 'sent_at',
|
||||
received_at: 'received_at',
|
||||
created_at: 'created_at',
|
||||
fiscal_id: 'fiscal_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsScalarFieldEnum = (typeof SaleInvoiceFiscalAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentScalarFieldEnum = {
|
||||
id: 'id',
|
||||
invoice_id: 'invoice_id',
|
||||
amount: 'amount',
|
||||
payment_method: 'payment_method',
|
||||
paid_at: 'paid_at',
|
||||
created_at: 'created_at'
|
||||
created_at: 'created_at',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SalesInvoicePaymentScalarFieldEnum = (typeof SalesInvoicePaymentScalarFieldEnum)[keyof typeof SalesInvoicePaymentScalarFieldEnum]
|
||||
@@ -715,80 +750,6 @@ export const AccountOrderByRelevanceFieldEnum = {
|
||||
export type AccountOrderByRelevanceFieldEnum = (typeof AccountOrderByRelevanceFieldEnum)[keyof typeof AccountOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerAccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
consumer_id: 'consumer_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerAccountOrderByRelevanceFieldEnum = (typeof ConsumerAccountOrderByRelevanceFieldEnum)[keyof typeof ConsumerAccountOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerOrderByRelevanceFieldEnum = {
|
||||
id: 'id'
|
||||
} as const
|
||||
|
||||
export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevanceFieldEnum)[keyof typeof ConsumerOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerIndividualOrderByRelevanceFieldEnum = {
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerIndividualOrderByRelevanceFieldEnum = (typeof ConsumerIndividualOrderByRelevanceFieldEnum)[keyof typeof ConsumerIndividualOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerLegalOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
registration_code: 'registration_code',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerLegalOrderByRelevanceFieldEnum = (typeof ConsumerLegalOrderByRelevanceFieldEnum)[keyof typeof ConsumerLegalOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
economic_code: 'economic_code',
|
||||
name: 'name',
|
||||
guild_id: 'guild_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivityOrderByRelevanceFieldEnum)[keyof typeof BusinessActivityOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ComplexOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
branch_code: 'branch_code',
|
||||
address: 'address',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexOrderByRelevanceFieldEnum = (typeof ComplexOrderByRelevanceFieldEnum)[keyof typeof ComplexOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const PosOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
model: 'model',
|
||||
serial_number: 'serial_number',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const DeviceBrandOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name'
|
||||
@@ -996,6 +957,82 @@ export const ApplicationReleasedInfoOrderByRelevanceFieldEnum = {
|
||||
export type ApplicationReleasedInfoOrderByRelevanceFieldEnum = (typeof ApplicationReleasedInfoOrderByRelevanceFieldEnum)[keyof typeof ApplicationReleasedInfoOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerAccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
consumer_id: 'consumer_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerAccountOrderByRelevanceFieldEnum = (typeof ConsumerAccountOrderByRelevanceFieldEnum)[keyof typeof ConsumerAccountOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerOrderByRelevanceFieldEnum = {
|
||||
id: 'id'
|
||||
} as const
|
||||
|
||||
export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevanceFieldEnum)[keyof typeof ConsumerOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerIndividualOrderByRelevanceFieldEnum = {
|
||||
first_name: 'first_name',
|
||||
last_name: 'last_name',
|
||||
mobile_number: 'mobile_number',
|
||||
national_code: 'national_code',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerIndividualOrderByRelevanceFieldEnum = (typeof ConsumerIndividualOrderByRelevanceFieldEnum)[keyof typeof ConsumerIndividualOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ConsumerLegalOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
registration_code: 'registration_code',
|
||||
partner_id: 'partner_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type ConsumerLegalOrderByRelevanceFieldEnum = (typeof ConsumerLegalOrderByRelevanceFieldEnum)[keyof typeof ConsumerLegalOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const BusinessActivityOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
economic_code: 'economic_code',
|
||||
name: 'name',
|
||||
fiscal_id: 'fiscal_id',
|
||||
partner_token: 'partner_token',
|
||||
guild_id: 'guild_id',
|
||||
consumer_id: 'consumer_id'
|
||||
} as const
|
||||
|
||||
export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivityOrderByRelevanceFieldEnum)[keyof typeof BusinessActivityOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ComplexOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
branch_code: 'branch_code',
|
||||
address: 'address',
|
||||
business_activity_id: 'business_activity_id'
|
||||
} as const
|
||||
|
||||
export type ComplexOrderByRelevanceFieldEnum = (typeof ComplexOrderByRelevanceFieldEnum)[keyof typeof ComplexOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const PosOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
model: 'model',
|
||||
serial_number: 'serial_number',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const TriggerLogOrderByRelevanceFieldEnum = {
|
||||
message: 'message',
|
||||
name: 'name'
|
||||
@@ -1078,7 +1115,7 @@ export const SalesInvoiceOrderByRelevanceFieldEnum = {
|
||||
code: 'code',
|
||||
notes: 'notes',
|
||||
customer_id: 'customer_id',
|
||||
account_id: 'account_id',
|
||||
consumer_account_id: 'consumer_account_id',
|
||||
pos_id: 'pos_id'
|
||||
} as const
|
||||
|
||||
@@ -1096,6 +1133,25 @@ export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
||||
export type SalesInvoiceItemOrderByRelevanceFieldEnum = (typeof SalesInvoiceItemOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceItemOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
invoice_id: 'invoice_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
status: 'status',
|
||||
tax_id: 'tax_id',
|
||||
error_message: 'error_message',
|
||||
fiscal_id: 'fiscal_id'
|
||||
} as const
|
||||
|
||||
export type SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceFiscalAttemptsOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SalesInvoicePaymentOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
invoice_id: 'invoice_id'
|
||||
|
||||
@@ -11,13 +11,6 @@
|
||||
export type * from './models/AdminAccount.js'
|
||||
export type * from './models/Admin.js'
|
||||
export type * from './models/Account.js'
|
||||
export type * from './models/ConsumerAccount.js'
|
||||
export type * from './models/Consumer.js'
|
||||
export type * from './models/ConsumerIndividual.js'
|
||||
export type * from './models/ConsumerLegal.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/LicenseChargeTransaction.js'
|
||||
@@ -38,6 +31,13 @@ export type * from './models/ProviderAccount.js'
|
||||
export type * from './models/Provider.js'
|
||||
export type * from './models/ConsumerDevices.js'
|
||||
export type * from './models/ApplicationReleasedInfo.js'
|
||||
export type * from './models/ConsumerAccount.js'
|
||||
export type * from './models/Consumer.js'
|
||||
export type * from './models/ConsumerIndividual.js'
|
||||
export type * from './models/ConsumerLegal.js'
|
||||
export type * from './models/BusinessActivity.js'
|
||||
export type * from './models/Complex.js'
|
||||
export type * from './models/Pos.js'
|
||||
export type * from './models/TriggerLog.js'
|
||||
export type * from './models/Customer.js'
|
||||
export type * from './models/CustomerIndividual.js'
|
||||
@@ -47,6 +47,8 @@ export type * from './models/GoodCategory.js'
|
||||
export type * from './models/Guild.js'
|
||||
export type * from './models/SalesInvoice.js'
|
||||
export type * from './models/SalesInvoiceItem.js'
|
||||
export type * from './models/SaleInvoiceFiscals.js'
|
||||
export type * from './models/SaleInvoiceFiscalAttempts.js'
|
||||
export type * from './models/SalesInvoicePayment.js'
|
||||
export type * from './models/Service.js'
|
||||
export type * from './models/ServiceCategory.js'
|
||||
|
||||
@@ -367,20 +367,6 @@ export type EnumAccountTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.AccountType
|
||||
}
|
||||
|
||||
export type AccountCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.AccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type AccountUpdateOneRequiredWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.AccountUpsertWithoutConsumer_accountInput
|
||||
connect?: Prisma.AccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.AccountUpdateWithoutConsumer_accountInput>, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountCreateNestedOneWithoutPartner_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.AccountCreateWithoutPartner_accountInput, Prisma.AccountUncheckedCreateWithoutPartner_accountInput>
|
||||
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPartner_accountInput
|
||||
@@ -409,6 +395,20 @@ export type AccountUpdateOneRequiredWithoutProvider_accountNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutProvider_accountInput, Prisma.AccountUpdateWithoutProvider_accountInput>, Prisma.AccountUncheckedUpdateWithoutProvider_accountInput>
|
||||
}
|
||||
|
||||
export type AccountCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.AccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type AccountUpdateOneRequiredWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.AccountCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.AccountUpsertWithoutConsumer_accountInput
|
||||
connect?: Prisma.AccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.AccountUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.AccountUpdateWithoutConsumer_accountInput>, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountCreateWithoutAdmin_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
@@ -469,66 +469,6 @@ export type AccountUncheckedUpdateWithoutAdmin_accountInput = {
|
||||
consumer_account?: Prisma.ConsumerAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
export type AccountCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
password: string
|
||||
status: $Enums.AccountStatus
|
||||
type: $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountCreateNestedOneWithoutAccountInput
|
||||
provider_account?: Prisma.ProviderAccountCreateNestedOneWithoutAccountInput
|
||||
partner_account?: Prisma.PartnerAccountCreateNestedOneWithoutAccountInput
|
||||
}
|
||||
|
||||
export type AccountUncheckedCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
password: string
|
||||
status: $Enums.AccountStatus
|
||||
type: $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
provider_account?: Prisma.ProviderAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
partner_account?: Prisma.PartnerAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
}
|
||||
|
||||
export type AccountCreateOrConnectWithoutConsumer_accountInput = {
|
||||
where: Prisma.AccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountUpsertWithoutConsumer_accountInput = {
|
||||
update: Prisma.XOR<Prisma.AccountUpdateWithoutConsumer_accountInput, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
create: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
where?: Prisma.AccountWhereInput
|
||||
}
|
||||
|
||||
export type AccountUpdateToOneWithWhereWithoutConsumer_accountInput = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
data: Prisma.XOR<Prisma.AccountUpdateWithoutConsumer_accountInput, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
username?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
password?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus
|
||||
type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUpdateOneWithoutAccountNestedInput
|
||||
provider_account?: Prisma.ProviderAccountUpdateOneWithoutAccountNestedInput
|
||||
partner_account?: Prisma.PartnerAccountUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
export type AccountUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
username?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
password?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus
|
||||
type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
provider_account?: Prisma.ProviderAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
partner_account?: Prisma.PartnerAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
export type AccountCreateWithoutPartner_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
@@ -649,6 +589,66 @@ export type AccountUncheckedUpdateWithoutProvider_accountInput = {
|
||||
consumer_account?: Prisma.ConsumerAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
export type AccountCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
password: string
|
||||
status: $Enums.AccountStatus
|
||||
type: $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountCreateNestedOneWithoutAccountInput
|
||||
provider_account?: Prisma.ProviderAccountCreateNestedOneWithoutAccountInput
|
||||
partner_account?: Prisma.PartnerAccountCreateNestedOneWithoutAccountInput
|
||||
}
|
||||
|
||||
export type AccountUncheckedCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
username: string
|
||||
password: string
|
||||
status: $Enums.AccountStatus
|
||||
type: $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
provider_account?: Prisma.ProviderAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
partner_account?: Prisma.PartnerAccountUncheckedCreateNestedOneWithoutAccountInput
|
||||
}
|
||||
|
||||
export type AccountCreateOrConnectWithoutConsumer_accountInput = {
|
||||
where: Prisma.AccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountUpsertWithoutConsumer_accountInput = {
|
||||
update: Prisma.XOR<Prisma.AccountUpdateWithoutConsumer_accountInput, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
create: Prisma.XOR<Prisma.AccountCreateWithoutConsumer_accountInput, Prisma.AccountUncheckedCreateWithoutConsumer_accountInput>
|
||||
where?: Prisma.AccountWhereInput
|
||||
}
|
||||
|
||||
export type AccountUpdateToOneWithWhereWithoutConsumer_accountInput = {
|
||||
where?: Prisma.AccountWhereInput
|
||||
data: Prisma.XOR<Prisma.AccountUpdateWithoutConsumer_accountInput, Prisma.AccountUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type AccountUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
username?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
password?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus
|
||||
type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUpdateOneWithoutAccountNestedInput
|
||||
provider_account?: Prisma.ProviderAccountUpdateOneWithoutAccountNestedInput
|
||||
partner_account?: Prisma.PartnerAccountUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
export type AccountUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
username?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
password?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus
|
||||
type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType
|
||||
admin_account?: Prisma.AdminAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
provider_account?: Prisma.ProviderAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
partner_account?: Prisma.PartnerAccountUncheckedUpdateOneWithoutAccountNestedInput
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type AccountSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -343,6 +343,11 @@ export type ComplexUncheckedUpdateManyInput = {
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ComplexScalarRelationFilter = {
|
||||
is?: Prisma.ComplexWhereInput
|
||||
isNot?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
export type ComplexListRelationFilter = {
|
||||
every?: Prisma.ComplexWhereInput
|
||||
some?: Prisma.ComplexWhereInput
|
||||
@@ -389,16 +394,25 @@ export type ComplexMinOrderByAggregateInput = {
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ComplexScalarRelationFilter = {
|
||||
is?: Prisma.ComplexWhereInput
|
||||
isNot?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
export type ComplexNullableScalarRelationFilter = {
|
||||
is?: Prisma.ComplexWhereInput | null
|
||||
isNot?: Prisma.ComplexWhereInput | null
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedOneWithoutPermission_complexesInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermission_complexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateOneRequiredWithoutPermission_complexesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermission_complexesInput
|
||||
upsert?: Prisma.ComplexUpsertWithoutPermission_complexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPermission_complexesInput, Prisma.ComplexUpdateWithoutPermission_complexesInput>, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedManyWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput> | Prisma.ComplexCreateWithoutBusiness_activityInput[] | Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput[]
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput | Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput[]
|
||||
@@ -455,20 +469,6 @@ export type ComplexUpdateOneRequiredWithoutPos_listNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPos_listInput, Prisma.ComplexUpdateWithoutPos_listInput>, Prisma.ComplexUncheckedUpdateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedOneWithoutPermission_complexesInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermission_complexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateOneRequiredWithoutPermission_complexesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermission_complexesInput
|
||||
upsert?: Prisma.ComplexUpsertWithoutPermission_complexesInput
|
||||
connect?: Prisma.ComplexWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPermission_complexesInput, Prisma.ComplexUpdateWithoutPermission_complexesInput>, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateNestedOneWithoutGood_categoriesInput = {
|
||||
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGood_categoriesInput, Prisma.ComplexUncheckedCreateWithoutGood_categoriesInput>
|
||||
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGood_categoriesInput
|
||||
@@ -485,6 +485,70 @@ export type ComplexUpdateOneWithoutGood_categoriesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutGood_categoriesInput, Prisma.ComplexUpdateWithoutGood_categoriesInput>, Prisma.ComplexUncheckedUpdateWithoutGood_categoriesInput>
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutPermission_complexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
branch_code: string
|
||||
address?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutPermission_complexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
branch_code: string
|
||||
address?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity_id: string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutPermission_complexesInput = {
|
||||
where: Prisma.ComplexWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpsertWithoutPermission_complexesInput = {
|
||||
update: Prisma.XOR<Prisma.ComplexUpdateWithoutPermission_complexesInput, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
where?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateToOneWithWhereWithoutPermission_complexesInput = {
|
||||
where?: Prisma.ComplexWhereInput
|
||||
data: Prisma.XOR<Prisma.ComplexUpdateWithoutPermission_complexesInput, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpdateWithoutPermission_complexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
branch_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutPermission_complexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
branch_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutBusiness_activityInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -612,70 +676,6 @@ export type ComplexUncheckedUpdateWithoutPos_listInput = {
|
||||
permission_complexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutPermission_complexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
branch_code: string
|
||||
address?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
||||
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedCreateWithoutPermission_complexesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
branch_code: string
|
||||
address?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
business_activity_id: string
|
||||
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
||||
}
|
||||
|
||||
export type ComplexCreateOrConnectWithoutPermission_complexesInput = {
|
||||
where: Prisma.ComplexWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpsertWithoutPermission_complexesInput = {
|
||||
update: Prisma.XOR<Prisma.ComplexUpdateWithoutPermission_complexesInput, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermission_complexesInput, Prisma.ComplexUncheckedCreateWithoutPermission_complexesInput>
|
||||
where?: Prisma.ComplexWhereInput
|
||||
}
|
||||
|
||||
export type ComplexUpdateToOneWithWhereWithoutPermission_complexesInput = {
|
||||
where?: Prisma.ComplexWhereInput
|
||||
data: Prisma.XOR<Prisma.ComplexUpdateWithoutPermission_complexesInput, Prisma.ComplexUncheckedUpdateWithoutPermission_complexesInput>
|
||||
}
|
||||
|
||||
export type ComplexUpdateWithoutPermission_complexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
branch_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
||||
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexUncheckedUpdateWithoutPermission_complexesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
branch_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
||||
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
||||
}
|
||||
|
||||
export type ComplexCreateWithoutGood_categoriesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
|
||||
@@ -352,6 +352,20 @@ export type ConsumerMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerCreateNestedOneWithoutDevicesInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
connectOrCreate?: Prisma.ConsumerCreateOrConnectWithoutDevicesInput
|
||||
connect?: Prisma.ConsumerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerUpdateOneRequiredWithoutDevicesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
connectOrCreate?: Prisma.ConsumerCreateOrConnectWithoutDevicesInput
|
||||
upsert?: Prisma.ConsumerUpsertWithoutDevicesInput
|
||||
connect?: Prisma.ConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerUpdateToOneWithWhereWithoutDevicesInput, Prisma.ConsumerUpdateWithoutDevicesInput>, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
}
|
||||
|
||||
export type ConsumerCreateNestedOneWithoutAccountsInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerCreateWithoutAccountsInput, Prisma.ConsumerUncheckedCreateWithoutAccountsInput>
|
||||
connectOrCreate?: Prisma.ConsumerCreateOrConnectWithoutAccountsInput
|
||||
@@ -416,18 +430,68 @@ export type ConsumerUpdateOneRequiredWithoutBusiness_activitiesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerUpdateToOneWithWhereWithoutBusiness_activitiesInput, Prisma.ConsumerUpdateWithoutBusiness_activitiesInput>, Prisma.ConsumerUncheckedUpdateWithoutBusiness_activitiesInput>
|
||||
}
|
||||
|
||||
export type ConsumerCreateNestedOneWithoutDevicesInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
connectOrCreate?: Prisma.ConsumerCreateOrConnectWithoutDevicesInput
|
||||
connect?: Prisma.ConsumerWhereUniqueInput
|
||||
export type ConsumerCreateWithoutDevicesInput = {
|
||||
id?: string
|
||||
type: $Enums.ConsumerType
|
||||
status?: $Enums.ConsumerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ConsumerAccountCreateNestedManyWithoutConsumerInput
|
||||
business_activities?: Prisma.BusinessActivityCreateNestedManyWithoutConsumerInput
|
||||
individual?: Prisma.ConsumerIndividualCreateNestedOneWithoutConsumerInput
|
||||
legal?: Prisma.ConsumerLegalCreateNestedOneWithoutConsumerInput
|
||||
}
|
||||
|
||||
export type ConsumerUpdateOneRequiredWithoutDevicesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
connectOrCreate?: Prisma.ConsumerCreateOrConnectWithoutDevicesInput
|
||||
upsert?: Prisma.ConsumerUpsertWithoutDevicesInput
|
||||
connect?: Prisma.ConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerUpdateToOneWithWhereWithoutDevicesInput, Prisma.ConsumerUpdateWithoutDevicesInput>, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
export type ConsumerUncheckedCreateWithoutDevicesInput = {
|
||||
id?: string
|
||||
type: $Enums.ConsumerType
|
||||
status?: $Enums.ConsumerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ConsumerAccountUncheckedCreateNestedManyWithoutConsumerInput
|
||||
business_activities?: Prisma.BusinessActivityUncheckedCreateNestedManyWithoutConsumerInput
|
||||
individual?: Prisma.ConsumerIndividualUncheckedCreateNestedOneWithoutConsumerInput
|
||||
legal?: Prisma.ConsumerLegalUncheckedCreateNestedOneWithoutConsumerInput
|
||||
}
|
||||
|
||||
export type ConsumerCreateOrConnectWithoutDevicesInput = {
|
||||
where: Prisma.ConsumerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
}
|
||||
|
||||
export type ConsumerUpsertWithoutDevicesInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerUpdateWithoutDevicesInput, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
where?: Prisma.ConsumerWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerUpdateToOneWithWhereWithoutDevicesInput = {
|
||||
where?: Prisma.ConsumerWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerUpdateWithoutDevicesInput, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
}
|
||||
|
||||
export type ConsumerUpdateWithoutDevicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumConsumerTypeFieldUpdateOperationsInput | $Enums.ConsumerType
|
||||
status?: Prisma.EnumConsumerStatusFieldUpdateOperationsInput | $Enums.ConsumerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ConsumerAccountUpdateManyWithoutConsumerNestedInput
|
||||
business_activities?: Prisma.BusinessActivityUpdateManyWithoutConsumerNestedInput
|
||||
individual?: Prisma.ConsumerIndividualUpdateOneWithoutConsumerNestedInput
|
||||
legal?: Prisma.ConsumerLegalUpdateOneWithoutConsumerNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerUncheckedUpdateWithoutDevicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumConsumerTypeFieldUpdateOperationsInput | $Enums.ConsumerType
|
||||
status?: Prisma.EnumConsumerStatusFieldUpdateOperationsInput | $Enums.ConsumerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ConsumerAccountUncheckedUpdateManyWithoutConsumerNestedInput
|
||||
business_activities?: Prisma.BusinessActivityUncheckedUpdateManyWithoutConsumerNestedInput
|
||||
individual?: Prisma.ConsumerIndividualUncheckedUpdateOneWithoutConsumerNestedInput
|
||||
legal?: Prisma.ConsumerLegalUncheckedUpdateOneWithoutConsumerNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerCreateWithoutAccountsInput = {
|
||||
@@ -686,70 +750,6 @@ export type ConsumerUncheckedUpdateWithoutBusiness_activitiesInput = {
|
||||
legal?: Prisma.ConsumerLegalUncheckedUpdateOneWithoutConsumerNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerCreateWithoutDevicesInput = {
|
||||
id?: string
|
||||
type: $Enums.ConsumerType
|
||||
status?: $Enums.ConsumerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ConsumerAccountCreateNestedManyWithoutConsumerInput
|
||||
business_activities?: Prisma.BusinessActivityCreateNestedManyWithoutConsumerInput
|
||||
individual?: Prisma.ConsumerIndividualCreateNestedOneWithoutConsumerInput
|
||||
legal?: Prisma.ConsumerLegalCreateNestedOneWithoutConsumerInput
|
||||
}
|
||||
|
||||
export type ConsumerUncheckedCreateWithoutDevicesInput = {
|
||||
id?: string
|
||||
type: $Enums.ConsumerType
|
||||
status?: $Enums.ConsumerStatus
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ConsumerAccountUncheckedCreateNestedManyWithoutConsumerInput
|
||||
business_activities?: Prisma.BusinessActivityUncheckedCreateNestedManyWithoutConsumerInput
|
||||
individual?: Prisma.ConsumerIndividualUncheckedCreateNestedOneWithoutConsumerInput
|
||||
legal?: Prisma.ConsumerLegalUncheckedCreateNestedOneWithoutConsumerInput
|
||||
}
|
||||
|
||||
export type ConsumerCreateOrConnectWithoutDevicesInput = {
|
||||
where: Prisma.ConsumerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
}
|
||||
|
||||
export type ConsumerUpsertWithoutDevicesInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerUpdateWithoutDevicesInput, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerCreateWithoutDevicesInput, Prisma.ConsumerUncheckedCreateWithoutDevicesInput>
|
||||
where?: Prisma.ConsumerWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerUpdateToOneWithWhereWithoutDevicesInput = {
|
||||
where?: Prisma.ConsumerWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerUpdateWithoutDevicesInput, Prisma.ConsumerUncheckedUpdateWithoutDevicesInput>
|
||||
}
|
||||
|
||||
export type ConsumerUpdateWithoutDevicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumConsumerTypeFieldUpdateOperationsInput | $Enums.ConsumerType
|
||||
status?: Prisma.EnumConsumerStatusFieldUpdateOperationsInput | $Enums.ConsumerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ConsumerAccountUpdateManyWithoutConsumerNestedInput
|
||||
business_activities?: Prisma.BusinessActivityUpdateManyWithoutConsumerNestedInput
|
||||
individual?: Prisma.ConsumerIndividualUpdateOneWithoutConsumerNestedInput
|
||||
legal?: Prisma.ConsumerLegalUpdateOneWithoutConsumerNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerUncheckedUpdateWithoutDevicesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
type?: Prisma.EnumConsumerTypeFieldUpdateOperationsInput | $Enums.ConsumerType
|
||||
status?: Prisma.EnumConsumerStatusFieldUpdateOperationsInput | $Enums.ConsumerStatus
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ConsumerAccountUncheckedUpdateManyWithoutConsumerNestedInput
|
||||
business_activities?: Prisma.BusinessActivityUncheckedUpdateManyWithoutConsumerNestedInput
|
||||
individual?: Prisma.ConsumerIndividualUncheckedUpdateOneWithoutConsumerNestedInput
|
||||
legal?: Prisma.ConsumerLegalUncheckedUpdateOneWithoutConsumerNestedInput
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type ConsumerCountOutputType
|
||||
|
||||
@@ -338,6 +338,11 @@ export type ConsumerAccountNullableScalarRelationFilter = {
|
||||
isNot?: Prisma.ConsumerAccountWhereInput | null
|
||||
}
|
||||
|
||||
export type ConsumerAccountScalarRelationFilter = {
|
||||
is?: Prisma.ConsumerAccountWhereInput
|
||||
isNot?: Prisma.ConsumerAccountWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountOrderByRelevanceInput = {
|
||||
fields: Prisma.ConsumerAccountOrderByRelevanceFieldEnum | Prisma.ConsumerAccountOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -381,11 +386,6 @@ export type ConsumerAccountOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerAccountScalarRelationFilter = {
|
||||
is?: Prisma.ConsumerAccountWhereInput
|
||||
isNot?: Prisma.ConsumerAccountWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccountInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput
|
||||
@@ -418,6 +418,36 @@ export type ConsumerAccountUncheckedUpdateOneWithoutAccountNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutAccountInput, Prisma.ConsumerAccountUpdateWithoutAccountInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutAccount_allocationInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccount_allocationInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccount_allocationInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccount_allocationInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccount_allocationInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput
|
||||
upsert?: Prisma.ConsumerAccountUpsertWithoutAccount_allocationInput
|
||||
disconnect?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
delete?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutAccount_allocationInput, Prisma.ConsumerAccountUpdateWithoutAccount_allocationInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutAccount_allocationInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutPermissionInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateOneRequiredWithoutPermissionNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput
|
||||
upsert?: Prisma.ConsumerAccountUpsertWithoutPermissionInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutPermissionInput, Prisma.ConsumerAccountUpdateWithoutPermissionInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionInput>
|
||||
}
|
||||
|
||||
export type EnumConsumerRoleFieldUpdateOperationsInput = {
|
||||
set?: $Enums.ConsumerRole
|
||||
}
|
||||
@@ -478,36 +508,6 @@ export type ConsumerAccountUpdateOneRequiredWithoutPosNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutPosInput, Prisma.ConsumerAccountUpdateWithoutPosInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutAccount_allocationInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccount_allocationInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccount_allocationInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutAccount_allocationInput, Prisma.ConsumerAccountUncheckedCreateWithoutAccount_allocationInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput
|
||||
upsert?: Prisma.ConsumerAccountUpsertWithoutAccount_allocationInput
|
||||
disconnect?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
delete?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutAccount_allocationInput, Prisma.ConsumerAccountUpdateWithoutAccount_allocationInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutAccount_allocationInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutPermissionInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateOneRequiredWithoutPermissionNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPermissionInput, Prisma.ConsumerAccountUncheckedCreateWithoutPermissionInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput
|
||||
upsert?: Prisma.ConsumerAccountUpsertWithoutPermissionInput
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutPermissionInput, Prisma.ConsumerAccountUpdateWithoutPermissionInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateNestedOneWithoutSales_invoicesInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutSales_invoicesInput, Prisma.ConsumerAccountUncheckedCreateWithoutSales_invoicesInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutSales_invoicesInput
|
||||
@@ -586,132 +586,6 @@ export type ConsumerAccountUncheckedUpdateWithoutAccountInput = {
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutConsumerInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||||
pos?: Prisma.PosCreateNestedOneWithoutAccountInput
|
||||
permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedCreateWithoutConsumerInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput
|
||||
permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateManyConsumerInputEnvelope = {
|
||||
data: Prisma.ConsumerAccountCreateManyConsumerInput | Prisma.ConsumerAccountCreateManyConsumerInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateManyWithWhereWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateManyMutationInput, Prisma.ConsumerAccountUncheckedUpdateManyWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountScalarWhereInput = {
|
||||
AND?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||||
OR?: Prisma.ConsumerAccountScalarWhereInput[]
|
||||
NOT?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||||
consumer_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
account_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer: Prisma.ConsumerCreateNestedOneWithoutAccountsInput
|
||||
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||||
permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer_id: string
|
||||
account_id: string
|
||||
permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateOrConnectWithoutPosInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPosInput, Prisma.ConsumerAccountUncheckedCreateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpsertWithoutPosInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPosInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPosInput, Prisma.ConsumerAccountUncheckedCreateWithoutPosInput>
|
||||
where?: Prisma.ConsumerAccountWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateToOneWithWhereWithoutPosInput = {
|
||||
where?: Prisma.ConsumerAccountWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPosInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer?: Prisma.ConsumerUpdateOneRequiredWithoutAccountsNestedInput
|
||||
account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput
|
||||
permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutAccount_allocationInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
@@ -840,6 +714,132 @@ export type ConsumerAccountUncheckedUpdateWithoutPermissionInput = {
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutConsumerInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||||
pos?: Prisma.PosCreateNestedOneWithoutAccountInput
|
||||
permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedCreateWithoutConsumerInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id: string
|
||||
pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput
|
||||
permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateManyConsumerInputEnvelope = {
|
||||
data: Prisma.ConsumerAccountCreateManyConsumerInput | Prisma.ConsumerAccountCreateManyConsumerInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutConsumerInput, Prisma.ConsumerAccountUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateManyWithWhereWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerAccountScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateManyMutationInput, Prisma.ConsumerAccountUncheckedUpdateManyWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountScalarWhereInput = {
|
||||
AND?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||||
OR?: Prisma.ConsumerAccountScalarWhereInput[]
|
||||
NOT?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string
|
||||
consumer_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
account_id?: Prisma.StringFilter<"ConsumerAccount"> | string
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer: Prisma.ConsumerCreateNestedOneWithoutAccountsInput
|
||||
account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput
|
||||
permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
consumer_id: string
|
||||
account_id: string
|
||||
permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateOrConnectWithoutPosInput = {
|
||||
where: Prisma.ConsumerAccountWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPosInput, Prisma.ConsumerAccountUncheckedCreateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpsertWithoutPosInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPosInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPosInput, Prisma.ConsumerAccountUncheckedCreateWithoutPosInput>
|
||||
where?: Prisma.ConsumerAccountWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateToOneWithWhereWithoutPosInput = {
|
||||
where?: Prisma.ConsumerAccountWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerAccountUpdateWithoutPosInput, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer?: Prisma.ConsumerUpdateOneRequiredWithoutAccountsNestedInput
|
||||
account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput
|
||||
permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUncheckedUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput
|
||||
account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountCreateWithoutSales_invoicesInput = {
|
||||
id?: string
|
||||
role: $Enums.ConsumerRole
|
||||
|
||||
@@ -512,16 +512,6 @@ export type ConsumerDevicesUncheckedUpdateManyInput = {
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ConsumerDevicesListRelationFilter = {
|
||||
every?: Prisma.ConsumerDevicesWhereInput
|
||||
some?: Prisma.ConsumerDevicesWhereInput
|
||||
none?: Prisma.ConsumerDevicesWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerDevicesOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerDevicesOrderByRelevanceInput = {
|
||||
fields: Prisma.ConsumerDevicesOrderByRelevanceFieldEnum | Prisma.ConsumerDevicesOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -588,6 +578,20 @@ export type ConsumerDevicesMinOrderByAggregateInput = {
|
||||
consumer_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerDevicesListRelationFilter = {
|
||||
every?: Prisma.ConsumerDevicesWhereInput
|
||||
some?: Prisma.ConsumerDevicesWhereInput
|
||||
none?: Prisma.ConsumerDevicesWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerDevicesOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type EnumApplicationPublisherFieldUpdateOperationsInput = {
|
||||
set?: $Enums.ApplicationPublisher
|
||||
}
|
||||
|
||||
export type ConsumerDevicesCreateNestedManyWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput> | Prisma.ConsumerDevicesCreateWithoutConsumerInput[] | Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput[]
|
||||
connectOrCreate?: Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput | Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput[]
|
||||
@@ -630,10 +634,6 @@ export type ConsumerDevicesUncheckedUpdateManyWithoutConsumerNestedInput = {
|
||||
deleteMany?: Prisma.ConsumerDevicesScalarWhereInput | Prisma.ConsumerDevicesScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type EnumApplicationPublisherFieldUpdateOperationsInput = {
|
||||
set?: $Enums.ApplicationPublisher
|
||||
}
|
||||
|
||||
export type ConsumerDevicesCreateWithoutConsumerInput = {
|
||||
uuid: string
|
||||
app_version: string
|
||||
|
||||
@@ -345,6 +345,16 @@ export type ConsumerIndividualUncheckedUpdateManyInput = {
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ConsumerIndividualListRelationFilter = {
|
||||
every?: Prisma.ConsumerIndividualWhereInput
|
||||
some?: Prisma.ConsumerIndividualWhereInput
|
||||
none?: Prisma.ConsumerIndividualWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerIndividualNullableScalarRelationFilter = {
|
||||
is?: Prisma.ConsumerIndividualWhereInput | null
|
||||
isNot?: Prisma.ConsumerIndividualWhereInput | null
|
||||
@@ -399,48 +409,6 @@ export type ConsumerIndividualMinOrderByAggregateInput = {
|
||||
consumer_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerIndividualListRelationFilter = {
|
||||
every?: Prisma.ConsumerIndividualWhereInput
|
||||
some?: Prisma.ConsumerIndividualWhereInput
|
||||
none?: Prisma.ConsumerIndividualWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerIndividualUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
delete?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerIndividualUpdateWithoutConsumerInput>, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerIndividualUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
delete?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerIndividualUpdateWithoutConsumerInput>, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateNestedManyWithoutPartnerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutPartnerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutPartnerInput> | Prisma.ConsumerIndividualCreateWithoutPartnerInput[] | Prisma.ConsumerIndividualUncheckedCreateWithoutPartnerInput[]
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutPartnerInput | Prisma.ConsumerIndividualCreateOrConnectWithoutPartnerInput[]
|
||||
@@ -483,60 +451,36 @@ export type ConsumerIndividualUncheckedUpdateManyWithoutPartnerNestedInput = {
|
||||
deleteMany?: Prisma.ConsumerIndividualScalarWhereInput | Prisma.ConsumerIndividualScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateWithoutConsumerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
mobile_number: string
|
||||
national_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner: Prisma.PartnerCreateNestedOneWithoutConsumers_individualInput
|
||||
export type ConsumerIndividualCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedCreateWithoutConsumerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
mobile_number: string
|
||||
national_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner_id: string
|
||||
export type ConsumerIndividualUncheckedCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
export type ConsumerIndividualUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerIndividualUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
delete?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerIndividualUpdateWithoutConsumerInput>, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpsertWithoutConsumerInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerIndividualUpdateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
where?: Prisma.ConsumerIndividualWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput = {
|
||||
where?: Prisma.ConsumerIndividualWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerIndividualUpdateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpdateWithoutConsumerInput = {
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
national_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner?: Prisma.PartnerUpdateOneRequiredWithoutConsumers_individualNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedUpdateWithoutConsumerInput = {
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
national_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type ConsumerIndividualUncheckedUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerIndividualCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerIndividualUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
delete?: Prisma.ConsumerIndividualWhereInput | boolean
|
||||
connect?: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerIndividualUpdateWithoutConsumerInput>, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateWithoutPartnerInput = {
|
||||
@@ -599,6 +543,62 @@ export type ConsumerIndividualScalarWhereInput = {
|
||||
consumer_id?: Prisma.StringFilter<"ConsumerIndividual"> | string
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateWithoutConsumerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
mobile_number: string
|
||||
national_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner: Prisma.PartnerCreateNestedOneWithoutConsumers_individualInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedCreateWithoutConsumerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
mobile_number: string
|
||||
national_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner_id: string
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerIndividualWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpsertWithoutConsumerInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerIndividualUpdateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerIndividualCreateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedCreateWithoutConsumerInput>
|
||||
where?: Prisma.ConsumerIndividualWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpdateToOneWithWhereWithoutConsumerInput = {
|
||||
where?: Prisma.ConsumerIndividualWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerIndividualUpdateWithoutConsumerInput, Prisma.ConsumerIndividualUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUpdateWithoutConsumerInput = {
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
national_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner?: Prisma.PartnerUpdateOneRequiredWithoutConsumers_individualNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerIndividualUncheckedUpdateWithoutConsumerInput = {
|
||||
first_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
last_name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
mobile_number?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
national_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ConsumerIndividualCreateManyPartnerInput = {
|
||||
first_name: string
|
||||
last_name: string
|
||||
|
||||
@@ -306,6 +306,16 @@ export type ConsumerLegalUncheckedUpdateManyInput = {
|
||||
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ConsumerLegalListRelationFilter = {
|
||||
every?: Prisma.ConsumerLegalWhereInput
|
||||
some?: Prisma.ConsumerLegalWhereInput
|
||||
none?: Prisma.ConsumerLegalWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerLegalNullableScalarRelationFilter = {
|
||||
is?: Prisma.ConsumerLegalWhereInput | null
|
||||
isNot?: Prisma.ConsumerLegalWhereInput | null
|
||||
@@ -349,48 +359,6 @@ export type ConsumerLegalMinOrderByAggregateInput = {
|
||||
consumer_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerLegalListRelationFilter = {
|
||||
every?: Prisma.ConsumerLegalWhereInput
|
||||
some?: Prisma.ConsumerLegalWhereInput
|
||||
none?: Prisma.ConsumerLegalWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerLegalUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
delete?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerLegalUpdateWithoutConsumerInput>, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerLegalUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
delete?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerLegalUpdateWithoutConsumerInput>, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateNestedManyWithoutPartnerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutPartnerInput, Prisma.ConsumerLegalUncheckedCreateWithoutPartnerInput> | Prisma.ConsumerLegalCreateWithoutPartnerInput[] | Prisma.ConsumerLegalUncheckedCreateWithoutPartnerInput[]
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutPartnerInput | Prisma.ConsumerLegalCreateOrConnectWithoutPartnerInput[]
|
||||
@@ -433,52 +401,36 @@ export type ConsumerLegalUncheckedUpdateManyWithoutPartnerNestedInput = {
|
||||
deleteMany?: Prisma.ConsumerLegalScalarWhereInput | Prisma.ConsumerLegalScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
registration_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner: Prisma.PartnerCreateNestedOneWithoutConsumers_legalInput
|
||||
export type ConsumerLegalCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
registration_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner_id: string
|
||||
export type ConsumerLegalUncheckedCreateNestedOneWithoutConsumerInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerLegalWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
export type ConsumerLegalUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerLegalUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
delete?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerLegalUpdateWithoutConsumerInput>, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpsertWithoutConsumerInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerLegalUpdateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
where?: Prisma.ConsumerLegalWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput = {
|
||||
where?: Prisma.ConsumerLegalWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerLegalUpdateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner?: Prisma.PartnerUpdateOneRequiredWithoutConsumers_legalNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type ConsumerLegalUncheckedUpdateOneWithoutConsumerNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
connectOrCreate?: Prisma.ConsumerLegalCreateOrConnectWithoutConsumerInput
|
||||
upsert?: Prisma.ConsumerLegalUpsertWithoutConsumerInput
|
||||
disconnect?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
delete?: Prisma.ConsumerLegalWhereInput | boolean
|
||||
connect?: Prisma.ConsumerLegalWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput, Prisma.ConsumerLegalUpdateWithoutConsumerInput>, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateWithoutPartnerInput = {
|
||||
@@ -535,6 +487,54 @@ export type ConsumerLegalScalarWhereInput = {
|
||||
consumer_id?: Prisma.StringFilter<"ConsumerLegal"> | string
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
registration_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner: Prisma.PartnerCreateNestedOneWithoutConsumers_legalInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedCreateWithoutConsumerInput = {
|
||||
name: string
|
||||
registration_code: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
partner_id: string
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateOrConnectWithoutConsumerInput = {
|
||||
where: Prisma.ConsumerLegalWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpsertWithoutConsumerInput = {
|
||||
update: Prisma.XOR<Prisma.ConsumerLegalUpdateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
create: Prisma.XOR<Prisma.ConsumerLegalCreateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedCreateWithoutConsumerInput>
|
||||
where?: Prisma.ConsumerLegalWhereInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpdateToOneWithWhereWithoutConsumerInput = {
|
||||
where?: Prisma.ConsumerLegalWhereInput
|
||||
data: Prisma.XOR<Prisma.ConsumerLegalUpdateWithoutConsumerInput, Prisma.ConsumerLegalUncheckedUpdateWithoutConsumerInput>
|
||||
}
|
||||
|
||||
export type ConsumerLegalUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner?: Prisma.PartnerUpdateOneRequiredWithoutConsumers_legalNestedInput
|
||||
}
|
||||
|
||||
export type ConsumerLegalUncheckedUpdateWithoutConsumerInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
registration_code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
partner_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type ConsumerLegalCreateManyPartnerInput = {
|
||||
name: string
|
||||
registration_code: string
|
||||
|
||||
@@ -310,11 +310,6 @@ export type DeviceUncheckedUpdateManyInput = {
|
||||
brand_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type DeviceNullableScalarRelationFilter = {
|
||||
is?: Prisma.DeviceWhereInput | null
|
||||
isNot?: Prisma.DeviceWhereInput | null
|
||||
}
|
||||
|
||||
export type DeviceListRelationFilter = {
|
||||
every?: Prisma.DeviceWhereInput
|
||||
some?: Prisma.DeviceWhereInput
|
||||
@@ -358,20 +353,9 @@ export type DeviceMinOrderByAggregateInput = {
|
||||
brand_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type DeviceCreateNestedOneWithoutPosesInput = {
|
||||
create?: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutPosesInput
|
||||
connect?: Prisma.DeviceWhereUniqueInput
|
||||
}
|
||||
|
||||
export type DeviceUpdateOneWithoutPosesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutPosesInput
|
||||
upsert?: Prisma.DeviceUpsertWithoutPosesInput
|
||||
disconnect?: Prisma.DeviceWhereInput | boolean
|
||||
delete?: Prisma.DeviceWhereInput | boolean
|
||||
connect?: Prisma.DeviceWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.DeviceUpdateToOneWithWhereWithoutPosesInput, Prisma.DeviceUpdateWithoutPosesInput>, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
export type DeviceNullableScalarRelationFilter = {
|
||||
is?: Prisma.DeviceWhereInput | null
|
||||
isNot?: Prisma.DeviceWhereInput | null
|
||||
}
|
||||
|
||||
export type DeviceCreateNestedManyWithoutBrandInput = {
|
||||
@@ -416,56 +400,20 @@ export type DeviceUncheckedUpdateManyWithoutBrandNestedInput = {
|
||||
deleteMany?: Prisma.DeviceScalarWhereInput | Prisma.DeviceScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type DeviceCreateWithoutPosesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
os_version?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
brand: Prisma.DeviceBrandCreateNestedOneWithoutDevicesInput
|
||||
export type DeviceCreateNestedOneWithoutPosesInput = {
|
||||
create?: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutPosesInput
|
||||
connect?: Prisma.DeviceWhereUniqueInput
|
||||
}
|
||||
|
||||
export type DeviceUncheckedCreateWithoutPosesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
os_version?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
brand_id: string
|
||||
}
|
||||
|
||||
export type DeviceCreateOrConnectWithoutPosesInput = {
|
||||
where: Prisma.DeviceWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
}
|
||||
|
||||
export type DeviceUpsertWithoutPosesInput = {
|
||||
update: Prisma.XOR<Prisma.DeviceUpdateWithoutPosesInput, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
create: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
where?: Prisma.DeviceWhereInput
|
||||
}
|
||||
|
||||
export type DeviceUpdateToOneWithWhereWithoutPosesInput = {
|
||||
where?: Prisma.DeviceWhereInput
|
||||
data: Prisma.XOR<Prisma.DeviceUpdateWithoutPosesInput, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
}
|
||||
|
||||
export type DeviceUpdateWithoutPosesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
os_version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
brand?: Prisma.DeviceBrandUpdateOneRequiredWithoutDevicesNestedInput
|
||||
}
|
||||
|
||||
export type DeviceUncheckedUpdateWithoutPosesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
os_version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
brand_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type DeviceUpdateOneWithoutPosesNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
connectOrCreate?: Prisma.DeviceCreateOrConnectWithoutPosesInput
|
||||
upsert?: Prisma.DeviceUpsertWithoutPosesInput
|
||||
disconnect?: Prisma.DeviceWhereInput | boolean
|
||||
delete?: Prisma.DeviceWhereInput | boolean
|
||||
connect?: Prisma.DeviceWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.DeviceUpdateToOneWithWhereWithoutPosesInput, Prisma.DeviceUpdateWithoutPosesInput>, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
}
|
||||
|
||||
export type DeviceCreateWithoutBrandInput = {
|
||||
@@ -524,6 +472,58 @@ export type DeviceScalarWhereInput = {
|
||||
brand_id?: Prisma.StringFilter<"Device"> | string
|
||||
}
|
||||
|
||||
export type DeviceCreateWithoutPosesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
os_version?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
brand: Prisma.DeviceBrandCreateNestedOneWithoutDevicesInput
|
||||
}
|
||||
|
||||
export type DeviceUncheckedCreateWithoutPosesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
os_version?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
brand_id: string
|
||||
}
|
||||
|
||||
export type DeviceCreateOrConnectWithoutPosesInput = {
|
||||
where: Prisma.DeviceWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
}
|
||||
|
||||
export type DeviceUpsertWithoutPosesInput = {
|
||||
update: Prisma.XOR<Prisma.DeviceUpdateWithoutPosesInput, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
create: Prisma.XOR<Prisma.DeviceCreateWithoutPosesInput, Prisma.DeviceUncheckedCreateWithoutPosesInput>
|
||||
where?: Prisma.DeviceWhereInput
|
||||
}
|
||||
|
||||
export type DeviceUpdateToOneWithWhereWithoutPosesInput = {
|
||||
where?: Prisma.DeviceWhereInput
|
||||
data: Prisma.XOR<Prisma.DeviceUpdateWithoutPosesInput, Prisma.DeviceUncheckedUpdateWithoutPosesInput>
|
||||
}
|
||||
|
||||
export type DeviceUpdateWithoutPosesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
os_version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
brand?: Prisma.DeviceBrandUpdateOneRequiredWithoutDevicesNestedInput
|
||||
}
|
||||
|
||||
export type DeviceUncheckedUpdateWithoutPosesInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
os_version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
brand_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type DeviceCreateManyBrandInput = {
|
||||
id?: string
|
||||
name: string
|
||||
|
||||
@@ -307,11 +307,6 @@ export type LicenseAccountAllocationUncheckedUpdateManyInput = {
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationNullableScalarRelationFilter = {
|
||||
is?: Prisma.LicenseAccountAllocationWhereInput | null
|
||||
isNot?: Prisma.LicenseAccountAllocationWhereInput | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationListRelationFilter = {
|
||||
every?: Prisma.LicenseAccountAllocationWhereInput
|
||||
some?: Prisma.LicenseAccountAllocationWhereInput
|
||||
@@ -322,6 +317,11 @@ export type LicenseAccountAllocationOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationNullableScalarRelationFilter = {
|
||||
is?: Prisma.LicenseAccountAllocationWhereInput | null
|
||||
isNot?: Prisma.LicenseAccountAllocationWhereInput | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationOrderByRelevanceInput = {
|
||||
fields: Prisma.LicenseAccountAllocationOrderByRelevanceFieldEnum | Prisma.LicenseAccountAllocationOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -355,38 +355,6 @@ export type LicenseAccountAllocationMinOrderByAggregateInput = {
|
||||
credit_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateNestedManyWithoutLicense_activationInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput> | Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput[] | Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput[]
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput | Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput[]
|
||||
@@ -461,52 +429,36 @@ export type LicenseAccountAllocationUncheckedUpdateOneWithoutCreditNestedInput =
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput, Prisma.LicenseAccountAllocationUpdateWithoutCreditInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
export type LicenseAccountAllocationCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation_id?: string | null
|
||||
credit_id?: string | null
|
||||
export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutAccountInput = {
|
||||
where: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
export type LicenseAccountAllocationUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpsertWithoutAccountInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput = {
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
export type LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutLicense_activationInput = {
|
||||
@@ -611,6 +563,54 @@ export type LicenseAccountAllocationUncheckedUpdateWithoutCreditInput = {
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation_id?: string | null
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutAccountInput = {
|
||||
where: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpsertWithoutAccountInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput = {
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateManyLicense_activationInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
|
||||
@@ -379,38 +379,6 @@ export type LicenseActivationMinOrderByAggregateInput = {
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateNestedOneWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedCreateNestedOneWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateOneWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
upsert?: Prisma.LicenseActivationUpsertWithoutBusiness_activityInput
|
||||
disconnect?: Prisma.LicenseActivationWhereInput | boolean
|
||||
delete?: Prisma.LicenseActivationWhereInput | boolean
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput, Prisma.LicenseActivationUpdateWithoutBusiness_activityInput>, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedUpdateOneWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
upsert?: Prisma.LicenseActivationUpsertWithoutBusiness_activityInput
|
||||
disconnect?: Prisma.LicenseActivationWhereInput | boolean
|
||||
delete?: Prisma.LicenseActivationWhereInput | boolean
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput, Prisma.LicenseActivationUpdateWithoutBusiness_activityInput>, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateNestedOneWithoutLicenseInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicenseInput, Prisma.LicenseActivationUncheckedCreateWithoutLicenseInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicenseInput
|
||||
@@ -475,64 +443,36 @@ export type LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutAccount_allocationsInput, Prisma.LicenseActivationUpdateWithoutAccount_allocationsInput>, Prisma.LicenseActivationUncheckedUpdateWithoutAccount_allocationsInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateWithoutBusiness_activityInput = {
|
||||
id?: string
|
||||
starts_at: Date | string
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license: Prisma.LicenseCreateNestedOneWithoutActivationInput
|
||||
license_renews?: Prisma.LicenseRenewCreateNestedManyWithoutActivationInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationCreateNestedManyWithoutLicense_activationInput
|
||||
export type LicenseActivationCreateNestedOneWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedCreateWithoutBusiness_activityInput = {
|
||||
id?: string
|
||||
starts_at: Date | string
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_id: string
|
||||
license_renews?: Prisma.LicenseRenewUncheckedCreateNestedManyWithoutActivationInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUncheckedCreateNestedManyWithoutLicense_activationInput
|
||||
export type LicenseActivationUncheckedCreateNestedOneWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateOrConnectWithoutBusiness_activityInput = {
|
||||
where: Prisma.LicenseActivationWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
export type LicenseActivationUpdateOneWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
upsert?: Prisma.LicenseActivationUpsertWithoutBusiness_activityInput
|
||||
disconnect?: Prisma.LicenseActivationWhereInput | boolean
|
||||
delete?: Prisma.LicenseActivationWhereInput | boolean
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput, Prisma.LicenseActivationUpdateWithoutBusiness_activityInput>, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationUpsertWithoutBusiness_activityInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
where?: Prisma.LicenseActivationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput = {
|
||||
where?: Prisma.LicenseActivationWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateWithoutBusiness_activityInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
starts_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license?: Prisma.LicenseUpdateOneRequiredWithoutActivationNestedInput
|
||||
license_renews?: Prisma.LicenseRenewUpdateManyWithoutActivationNestedInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUpdateManyWithoutLicense_activationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedUpdateWithoutBusiness_activityInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
starts_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_renews?: Prisma.LicenseRenewUncheckedUpdateManyWithoutActivationNestedInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationNestedInput
|
||||
export type LicenseActivationUncheckedUpdateOneWithoutBusiness_activityNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
upsert?: Prisma.LicenseActivationUpsertWithoutBusiness_activityInput
|
||||
disconnect?: Prisma.LicenseActivationWhereInput | boolean
|
||||
delete?: Prisma.LicenseActivationWhereInput | boolean
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput, Prisma.LicenseActivationUpdateWithoutBusiness_activityInput>, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateWithoutLicenseInput = {
|
||||
@@ -715,6 +655,66 @@ export type LicenseActivationUncheckedUpdateWithoutAccount_allocationsInput = {
|
||||
license_renews?: Prisma.LicenseRenewUncheckedUpdateManyWithoutActivationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateWithoutBusiness_activityInput = {
|
||||
id?: string
|
||||
starts_at: Date | string
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license: Prisma.LicenseCreateNestedOneWithoutActivationInput
|
||||
license_renews?: Prisma.LicenseRenewCreateNestedManyWithoutActivationInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationCreateNestedManyWithoutLicense_activationInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedCreateWithoutBusiness_activityInput = {
|
||||
id?: string
|
||||
starts_at: Date | string
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_id: string
|
||||
license_renews?: Prisma.LicenseRenewUncheckedCreateNestedManyWithoutActivationInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUncheckedCreateNestedManyWithoutLicense_activationInput
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateOrConnectWithoutBusiness_activityInput = {
|
||||
where: Prisma.LicenseActivationWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationUpsertWithoutBusiness_activityInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
create: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
where?: Prisma.LicenseActivationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateToOneWithWhereWithoutBusiness_activityInput = {
|
||||
where?: Prisma.LicenseActivationWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseActivationUpdateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedUpdateWithoutBusiness_activityInput>
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateWithoutBusiness_activityInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
starts_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license?: Prisma.LicenseUpdateOneRequiredWithoutActivationNestedInput
|
||||
license_renews?: Prisma.LicenseRenewUpdateManyWithoutActivationNestedInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUpdateManyWithoutLicense_activationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUncheckedUpdateWithoutBusiness_activityInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
starts_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
license_renews?: Prisma.LicenseRenewUncheckedUpdateManyWithoutActivationNestedInput
|
||||
account_allocations?: Prisma.LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationNestedInput
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type LicenseActivationCountOutputType
|
||||
|
||||
@@ -403,34 +403,6 @@ export type PartnerMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutConsumers_individualInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_individualInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateOneRequiredWithoutConsumers_individualNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_individualInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutConsumers_individualInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutConsumers_individualInput, Prisma.PartnerUpdateWithoutConsumers_individualInput>, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutConsumers_legalInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_legalInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateOneRequiredWithoutConsumers_legalNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_legalInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutConsumers_legalInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutConsumers_legalInput, Prisma.PartnerUpdateWithoutConsumers_legalInput>, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerCreateNestedOneWithoutLicense_charge_transactionsInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutLicense_charge_transactionsInput, Prisma.PartnerUncheckedCreateWithoutLicense_charge_transactionsInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutLicense_charge_transactionsInput
|
||||
@@ -491,156 +463,32 @@ export type EnumPartnerStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.PartnerStatus
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutConsumers_individualInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutPartnerInput
|
||||
consumers_legal?: Prisma.ConsumerLegalCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
export type PartnerCreateNestedOneWithoutConsumers_individualInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_individualInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutConsumers_individualInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
export type PartnerUpdateOneRequiredWithoutConsumers_individualNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_individualInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutConsumers_individualInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutConsumers_individualInput, Prisma.PartnerUpdateWithoutConsumers_individualInput>, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutConsumers_individualInput = {
|
||||
where: Prisma.PartnerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
export type PartnerCreateNestedOneWithoutConsumers_legalInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_legalInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerUpsertWithoutConsumers_individualInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_individualInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
where?: Prisma.PartnerWhereInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateToOneWithWhereWithoutConsumers_individualInput = {
|
||||
where?: Prisma.PartnerWhereInput
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_individualInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
}
|
||||
|
||||
export type PartnerUpdateWithoutConsumers_individualInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutPartnerNestedInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutConsumers_individualInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutConsumers_legalInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutPartnerInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutConsumers_legalInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutConsumers_legalInput = {
|
||||
where: Prisma.PartnerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerUpsertWithoutConsumers_legalInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_legalInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
where?: Prisma.PartnerWhereInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateToOneWithWhereWithoutConsumers_legalInput = {
|
||||
where?: Prisma.PartnerWhereInput
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_legalInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerUpdateWithoutConsumers_legalInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutPartnerNestedInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutConsumers_legalInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
export type PartnerUpdateOneRequiredWithoutConsumers_legalNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
connectOrCreate?: Prisma.PartnerCreateOrConnectWithoutConsumers_legalInput
|
||||
upsert?: Prisma.PartnerUpsertWithoutConsumers_legalInput
|
||||
connect?: Prisma.PartnerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerUpdateToOneWithWhereWithoutConsumers_legalInput, Prisma.PartnerUpdateWithoutConsumers_legalInput>, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutLicense_charge_transactionsInput = {
|
||||
@@ -947,6 +795,158 @@ export type PartnerUncheckedUpdateWithoutAccountsInput = {
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutConsumers_individualInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutPartnerInput
|
||||
consumers_legal?: Prisma.ConsumerLegalCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutConsumers_individualInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutConsumers_individualInput = {
|
||||
where: Prisma.PartnerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
}
|
||||
|
||||
export type PartnerUpsertWithoutConsumers_individualInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_individualInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_individualInput, Prisma.PartnerUncheckedCreateWithoutConsumers_individualInput>
|
||||
where?: Prisma.PartnerWhereInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateToOneWithWhereWithoutConsumers_individualInput = {
|
||||
where?: Prisma.PartnerWhereInput
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_individualInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_individualInput>
|
||||
}
|
||||
|
||||
export type PartnerUpdateWithoutConsumers_individualInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutPartnerNestedInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutConsumers_individualInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
consumers_legal?: Prisma.ConsumerLegalUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerCreateWithoutConsumers_legalInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountCreateNestedManyWithoutPartnerInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedCreateWithoutConsumers_legalInput = {
|
||||
id?: string
|
||||
name: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
logo_url?: string | null
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedCreateNestedManyWithoutPartnerInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedCreateNestedManyWithoutPartnerInput
|
||||
}
|
||||
|
||||
export type PartnerCreateOrConnectWithoutConsumers_legalInput = {
|
||||
where: Prisma.PartnerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerUpsertWithoutConsumers_legalInput = {
|
||||
update: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_legalInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
create: Prisma.XOR<Prisma.PartnerCreateWithoutConsumers_legalInput, Prisma.PartnerUncheckedCreateWithoutConsumers_legalInput>
|
||||
where?: Prisma.PartnerWhereInput
|
||||
}
|
||||
|
||||
export type PartnerUpdateToOneWithWhereWithoutConsumers_legalInput = {
|
||||
where?: Prisma.PartnerWhereInput
|
||||
data: Prisma.XOR<Prisma.PartnerUpdateWithoutConsumers_legalInput, Prisma.PartnerUncheckedUpdateWithoutConsumers_legalInput>
|
||||
}
|
||||
|
||||
export type PartnerUpdateWithoutConsumers_legalInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUpdateManyWithoutPartnerNestedInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
export type PartnerUncheckedUpdateWithoutConsumers_legalInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
logo_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.PartnerAccountUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
consumers_individual?: Prisma.ConsumerIndividualUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_charge_transactions?: Prisma.LicenseChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
account_quota_charge_transactions?: Prisma.PartnerAccountQuotaChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
license_renew_charge_transactions?: Prisma.LicenseRenewChargeTransactionUncheckedUpdateManyWithoutPartnerNestedInput
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type PartnerCountOutputType
|
||||
|
||||
@@ -310,48 +310,6 @@ export type PermissionBusinessMinOrderByAggregateInput = {
|
||||
permission_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateNestedManyWithoutBusinessInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateManyWithoutBusinessNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
upsert?: Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
set?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
update?: Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput[]
|
||||
updateMany?: Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput | Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput[]
|
||||
deleteMany?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
upsert?: Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
set?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
update?: Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput[]
|
||||
updateMany?: Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput | Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput[]
|
||||
deleteMany?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateNestedManyWithoutPermissionInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutPermissionInput, Prisma.PermissionBusinessUncheckedCreateWithoutPermissionInput> | Prisma.PermissionBusinessCreateWithoutPermissionInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutPermissionInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutPermissionInput | Prisma.PermissionBusinessCreateOrConnectWithoutPermissionInput[]
|
||||
@@ -398,52 +356,46 @@ export type EnumBusinessRoleFieldUpdateOperationsInput = {
|
||||
set?: $Enums.BusinessRole
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateWithoutBusinessInput = {
|
||||
id?: string
|
||||
role: $Enums.BusinessRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutBusiness_permissionsInput
|
||||
export type PermissionBusinessCreateNestedManyWithoutBusinessInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedCreateWithoutBusinessInput = {
|
||||
id?: string
|
||||
role: $Enums.BusinessRole
|
||||
permission_id: string
|
||||
export type PermissionBusinessUncheckedCreateNestedManyWithoutBusinessInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateOrConnectWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput>
|
||||
export type PermissionBusinessUpdateManyWithoutBusinessNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
upsert?: Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
set?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
update?: Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput[]
|
||||
updateMany?: Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput | Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput[]
|
||||
deleteMany?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateManyBusinessInputEnvelope = {
|
||||
data: Prisma.PermissionBusinessCreateManyBusinessInput | Prisma.PermissionBusinessCreateManyBusinessInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionBusinessUpdateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedUpdateWithoutBusinessInput>
|
||||
create: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionBusinessUpdateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedUpdateWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateManyWithWhereWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionBusinessUpdateManyMutationInput, Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessScalarWhereInput = {
|
||||
AND?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
OR?: Prisma.PermissionBusinessScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
role?: Prisma.EnumBusinessRoleFilter<"PermissionBusiness"> | $Enums.BusinessRole
|
||||
business_id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
export type PermissionBusinessUncheckedUpdateManyWithoutBusinessNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput> | Prisma.PermissionBusinessCreateWithoutBusinessInput[] | Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput[]
|
||||
connectOrCreate?: Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput | Prisma.PermissionBusinessCreateOrConnectWithoutBusinessInput[]
|
||||
upsert?: Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput[]
|
||||
createMany?: Prisma.PermissionBusinessCreateManyBusinessInputEnvelope
|
||||
set?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionBusinessWhereUniqueInput | Prisma.PermissionBusinessWhereUniqueInput[]
|
||||
update?: Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput | Prisma.PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput[]
|
||||
updateMany?: Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput | Prisma.PermissionBusinessUpdateManyWithWhereWithoutBusinessInput[]
|
||||
deleteMany?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateWithoutPermissionInput = {
|
||||
@@ -484,28 +436,52 @@ export type PermissionBusinessUpdateManyWithWhereWithoutPermissionInput = {
|
||||
data: Prisma.XOR<Prisma.PermissionBusinessUpdateManyMutationInput, Prisma.PermissionBusinessUncheckedUpdateManyWithoutPermissionInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateManyBusinessInput = {
|
||||
export type PermissionBusinessScalarWhereInput = {
|
||||
AND?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
OR?: Prisma.PermissionBusinessScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionBusinessScalarWhereInput | Prisma.PermissionBusinessScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
role?: Prisma.EnumBusinessRoleFilter<"PermissionBusiness"> | $Enums.BusinessRole
|
||||
business_id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionBusiness"> | string
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateWithoutBusinessInput = {
|
||||
id?: string
|
||||
role: $Enums.BusinessRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutBusiness_permissionsInput
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedCreateWithoutBusinessInput = {
|
||||
id?: string
|
||||
role: $Enums.BusinessRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutBusiness_permissionsNestedInput
|
||||
export type PermissionBusinessCreateOrConnectWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedUpdateWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionBusinessCreateManyBusinessInputEnvelope = {
|
||||
data: Prisma.PermissionBusinessCreateManyBusinessInput | Prisma.PermissionBusinessCreateManyBusinessInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedUpdateManyWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionBusinessUpsertWithWhereUniqueWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionBusinessUpdateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedUpdateWithoutBusinessInput>
|
||||
create: Prisma.XOR<Prisma.PermissionBusinessCreateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedCreateWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateWithWhereUniqueWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionBusinessUpdateWithoutBusinessInput, Prisma.PermissionBusinessUncheckedUpdateWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateManyWithWhereWithoutBusinessInput = {
|
||||
where: Prisma.PermissionBusinessScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionBusinessUpdateManyMutationInput, Prisma.PermissionBusinessUncheckedUpdateManyWithoutBusinessInput>
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateManyPermissionInput = {
|
||||
@@ -532,6 +508,30 @@ export type PermissionBusinessUncheckedUpdateManyWithoutPermissionInput = {
|
||||
business_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionBusinessCreateManyBusinessInput = {
|
||||
id?: string
|
||||
role: $Enums.BusinessRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionBusinessUpdateWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutBusiness_permissionsNestedInput
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedUpdateWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionBusinessUncheckedUpdateManyWithoutBusinessInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumBusinessRoleFieldUpdateOperationsInput | $Enums.BusinessRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type PermissionBusinessSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
|
||||
@@ -310,48 +310,6 @@ export type PermissionComplexMinOrderByAggregateInput = {
|
||||
permission_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
update?: Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput | Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
update?: Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput | Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateNestedManyWithoutPermissionInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutPermissionInput, Prisma.PermissionComplexUncheckedCreateWithoutPermissionInput> | Prisma.PermissionComplexCreateWithoutPermissionInput[] | Prisma.PermissionComplexUncheckedCreateWithoutPermissionInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutPermissionInput | Prisma.PermissionComplexCreateOrConnectWithoutPermissionInput[]
|
||||
@@ -398,52 +356,46 @@ export type EnumComplexRoleFieldUpdateOperationsInput = {
|
||||
set?: $Enums.ComplexRole
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
role: $Enums.ComplexRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutComplex_permissionsInput
|
||||
export type PermissionComplexCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
role: $Enums.ComplexRole
|
||||
permission_id: string
|
||||
export type PermissionComplexUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput>
|
||||
export type PermissionComplexUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
update?: Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput | Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.PermissionComplexCreateManyComplexInput | Prisma.PermissionComplexCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionComplexUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionComplexUpdateWithoutComplexInput, Prisma.PermissionComplexUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionComplexUpdateWithoutComplexInput, Prisma.PermissionComplexUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionComplexUpdateManyMutationInput, Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexScalarWhereInput = {
|
||||
AND?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
OR?: Prisma.PermissionComplexScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
role?: Prisma.EnumComplexRoleFilter<"PermissionComplex"> | $Enums.ComplexRole
|
||||
complex_id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
export type PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput> | Prisma.PermissionComplexCreateWithoutComplexInput[] | Prisma.PermissionComplexUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PermissionComplexCreateOrConnectWithoutComplexInput | Prisma.PermissionComplexCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PermissionComplexCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionComplexWhereUniqueInput | Prisma.PermissionComplexWhereUniqueInput[]
|
||||
update?: Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput | Prisma.PermissionComplexUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput | Prisma.PermissionComplexUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateWithoutPermissionInput = {
|
||||
@@ -484,28 +436,52 @@ export type PermissionComplexUpdateManyWithWhereWithoutPermissionInput = {
|
||||
data: Prisma.XOR<Prisma.PermissionComplexUpdateManyMutationInput, Prisma.PermissionComplexUncheckedUpdateManyWithoutPermissionInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateManyComplexInput = {
|
||||
export type PermissionComplexScalarWhereInput = {
|
||||
AND?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
OR?: Prisma.PermissionComplexScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionComplexScalarWhereInput | Prisma.PermissionComplexScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
role?: Prisma.EnumComplexRoleFilter<"PermissionComplex"> | $Enums.ComplexRole
|
||||
complex_id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionComplex"> | string
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
role: $Enums.ComplexRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutComplex_permissionsInput
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
role: $Enums.ComplexRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutComplex_permissionsNestedInput
|
||||
export type PermissionComplexCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionComplexCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.PermissionComplexCreateManyComplexInput | Prisma.PermissionComplexCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedUpdateManyWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionComplexUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionComplexUpdateWithoutComplexInput, Prisma.PermissionComplexUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.PermissionComplexCreateWithoutComplexInput, Prisma.PermissionComplexUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionComplexUpdateWithoutComplexInput, Prisma.PermissionComplexUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.PermissionComplexScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionComplexUpdateManyMutationInput, Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateManyPermissionInput = {
|
||||
@@ -532,6 +508,30 @@ export type PermissionComplexUncheckedUpdateManyWithoutPermissionInput = {
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionComplexCreateManyComplexInput = {
|
||||
id?: string
|
||||
role: $Enums.ComplexRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionComplexUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutComplex_permissionsNestedInput
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionComplexUncheckedUpdateManyWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumComplexRoleFieldUpdateOperationsInput | $Enums.ComplexRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type PermissionComplexSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
|
||||
@@ -248,11 +248,6 @@ export type PermissionConsumerUncheckedUpdateManyInput = {
|
||||
consumer_account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionConsumerNullableScalarRelationFilter = {
|
||||
is?: Prisma.PermissionConsumerWhereInput | null
|
||||
isNot?: Prisma.PermissionConsumerWhereInput | null
|
||||
}
|
||||
|
||||
export type PermissionConsumerOrderByRelevanceInput = {
|
||||
fields: Prisma.PermissionConsumerOrderByRelevanceFieldEnum | Prisma.PermissionConsumerOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -279,36 +274,9 @@ export type PermissionConsumerScalarRelationFilter = {
|
||||
isNot?: Prisma.PermissionConsumerWhereInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.PermissionConsumerUpsertWithoutConsumer_accountInput
|
||||
disconnect?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
delete?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput>, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.PermissionConsumerUpsertWithoutConsumer_accountInput
|
||||
disconnect?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
delete?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput>, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
export type PermissionConsumerNullableScalarRelationFilter = {
|
||||
is?: Prisma.PermissionConsumerWhereInput | null
|
||||
isNot?: Prisma.PermissionConsumerWhereInput | null
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateNestedOneWithoutPos_permissionsInput = {
|
||||
@@ -353,48 +321,36 @@ export type PermissionConsumerUpdateOneRequiredWithoutBusiness_permissionsNested
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PermissionConsumerUpdateToOneWithWhereWithoutBusiness_permissionsInput, Prisma.PermissionConsumerUpdateWithoutBusiness_permissionsInput>, Prisma.PermissionConsumerUncheckedUpdateWithoutBusiness_permissionsInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
pos_permissions?: Prisma.PermissionPosCreateNestedManyWithoutPermissionInput
|
||||
complex_permissions?: Prisma.PermissionComplexCreateNestedManyWithoutPermissionInput
|
||||
business_permissions?: Prisma.PermissionBusinessCreateNestedManyWithoutPermissionInput
|
||||
export type PermissionConsumerCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
pos_permissions?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPermissionInput
|
||||
complex_permissions?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutPermissionInput
|
||||
business_permissions?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutPermissionInput
|
||||
export type PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateOrConnectWithoutConsumer_accountInput = {
|
||||
where: Prisma.PermissionConsumerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
export type PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.PermissionConsumerUpsertWithoutConsumer_accountInput
|
||||
disconnect?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
delete?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput>, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpsertWithoutConsumer_accountInput = {
|
||||
update: Prisma.XOR<Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
create: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
where?: Prisma.PermissionConsumerWhereInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput = {
|
||||
where?: Prisma.PermissionConsumerWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_permissions?: Prisma.PermissionPosUpdateManyWithoutPermissionNestedInput
|
||||
complex_permissions?: Prisma.PermissionComplexUpdateManyWithoutPermissionNestedInput
|
||||
business_permissions?: Prisma.PermissionBusinessUpdateManyWithoutPermissionNestedInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_permissions?: Prisma.PermissionPosUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
complex_permissions?: Prisma.PermissionComplexUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
business_permissions?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
export type PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
connectOrCreate?: Prisma.PermissionConsumerCreateOrConnectWithoutConsumer_accountInput
|
||||
upsert?: Prisma.PermissionConsumerUpsertWithoutConsumer_accountInput
|
||||
disconnect?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
delete?: Prisma.PermissionConsumerWhereInput | boolean
|
||||
connect?: Prisma.PermissionConsumerWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput, Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput>, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateWithoutPos_permissionsInput = {
|
||||
@@ -529,6 +485,50 @@ export type PermissionConsumerUncheckedUpdateWithoutBusiness_permissionsInput =
|
||||
complex_permissions?: Prisma.PermissionComplexUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
pos_permissions?: Prisma.PermissionPosCreateNestedManyWithoutPermissionInput
|
||||
complex_permissions?: Prisma.PermissionComplexCreateNestedManyWithoutPermissionInput
|
||||
business_permissions?: Prisma.PermissionBusinessCreateNestedManyWithoutPermissionInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedCreateWithoutConsumer_accountInput = {
|
||||
id?: string
|
||||
pos_permissions?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPermissionInput
|
||||
complex_permissions?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutPermissionInput
|
||||
business_permissions?: Prisma.PermissionBusinessUncheckedCreateNestedManyWithoutPermissionInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerCreateOrConnectWithoutConsumer_accountInput = {
|
||||
where: Prisma.PermissionConsumerWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpsertWithoutConsumer_accountInput = {
|
||||
update: Prisma.XOR<Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
create: Prisma.XOR<Prisma.PermissionConsumerCreateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedCreateWithoutConsumer_accountInput>
|
||||
where?: Prisma.PermissionConsumerWhereInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpdateToOneWithWhereWithoutConsumer_accountInput = {
|
||||
where?: Prisma.PermissionConsumerWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionConsumerUpdateWithoutConsumer_accountInput, Prisma.PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput>
|
||||
}
|
||||
|
||||
export type PermissionConsumerUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_permissions?: Prisma.PermissionPosUpdateManyWithoutPermissionNestedInput
|
||||
complex_permissions?: Prisma.PermissionComplexUpdateManyWithoutPermissionNestedInput
|
||||
business_permissions?: Prisma.PermissionBusinessUpdateManyWithoutPermissionNestedInput
|
||||
}
|
||||
|
||||
export type PermissionConsumerUncheckedUpdateWithoutConsumer_accountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
pos_permissions?: Prisma.PermissionPosUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
complex_permissions?: Prisma.PermissionComplexUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
business_permissions?: Prisma.PermissionBusinessUncheckedUpdateManyWithoutPermissionNestedInput
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type PermissionConsumerCountOutputType
|
||||
|
||||
@@ -310,48 +310,6 @@ export type PermissionPosMinOrderByAggregateInput = {
|
||||
permission_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PermissionPosCreateNestedManyWithoutPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedCreateNestedManyWithoutPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateManyWithoutPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
upsert?: Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
set?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
update?: Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput[]
|
||||
updateMany?: Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput | Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput[]
|
||||
deleteMany?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedUpdateManyWithoutPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
upsert?: Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
set?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
update?: Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput[]
|
||||
updateMany?: Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput | Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput[]
|
||||
deleteMany?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosCreateNestedManyWithoutPermissionInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPermissionInput, Prisma.PermissionPosUncheckedCreateWithoutPermissionInput> | Prisma.PermissionPosCreateWithoutPermissionInput[] | Prisma.PermissionPosUncheckedCreateWithoutPermissionInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPermissionInput | Prisma.PermissionPosCreateOrConnectWithoutPermissionInput[]
|
||||
@@ -398,52 +356,46 @@ export type EnumPOSRoleFieldUpdateOperationsInput = {
|
||||
set?: $Enums.POSRole
|
||||
}
|
||||
|
||||
export type PermissionPosCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.POSRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutPos_permissionsInput
|
||||
export type PermissionPosCreateNestedManyWithoutPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.POSRole
|
||||
permission_id: string
|
||||
export type PermissionPosUncheckedCreateNestedManyWithoutPosInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosCreateOrConnectWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput>
|
||||
export type PermissionPosUpdateManyWithoutPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
upsert?: Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
set?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
update?: Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput[]
|
||||
updateMany?: Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput | Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput[]
|
||||
deleteMany?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosCreateManyPosInputEnvelope = {
|
||||
data: Prisma.PermissionPosCreateManyPosInput | Prisma.PermissionPosCreateManyPosInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionPosUpsertWithWhereUniqueWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionPosUpdateWithoutPosInput, Prisma.PermissionPosUncheckedUpdateWithoutPosInput>
|
||||
create: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateWithWhereUniqueWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionPosUpdateWithoutPosInput, Prisma.PermissionPosUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateManyWithWhereWithoutPosInput = {
|
||||
where: Prisma.PermissionPosScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionPosUpdateManyMutationInput, Prisma.PermissionPosUncheckedUpdateManyWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosScalarWhereInput = {
|
||||
AND?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
OR?: Prisma.PermissionPosScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
role?: Prisma.EnumPOSRoleFilter<"PermissionPos"> | $Enums.POSRole
|
||||
pos_id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
export type PermissionPosUncheckedUpdateManyWithoutPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput> | Prisma.PermissionPosCreateWithoutPosInput[] | Prisma.PermissionPosUncheckedCreateWithoutPosInput[]
|
||||
connectOrCreate?: Prisma.PermissionPosCreateOrConnectWithoutPosInput | Prisma.PermissionPosCreateOrConnectWithoutPosInput[]
|
||||
upsert?: Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpsertWithWhereUniqueWithoutPosInput[]
|
||||
createMany?: Prisma.PermissionPosCreateManyPosInputEnvelope
|
||||
set?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
delete?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
connect?: Prisma.PermissionPosWhereUniqueInput | Prisma.PermissionPosWhereUniqueInput[]
|
||||
update?: Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput | Prisma.PermissionPosUpdateWithWhereUniqueWithoutPosInput[]
|
||||
updateMany?: Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput | Prisma.PermissionPosUpdateManyWithWhereWithoutPosInput[]
|
||||
deleteMany?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PermissionPosCreateWithoutPermissionInput = {
|
||||
@@ -484,28 +436,52 @@ export type PermissionPosUpdateManyWithWhereWithoutPermissionInput = {
|
||||
data: Prisma.XOR<Prisma.PermissionPosUpdateManyMutationInput, Prisma.PermissionPosUncheckedUpdateManyWithoutPermissionInput>
|
||||
}
|
||||
|
||||
export type PermissionPosCreateManyPosInput = {
|
||||
export type PermissionPosScalarWhereInput = {
|
||||
AND?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
OR?: Prisma.PermissionPosScalarWhereInput[]
|
||||
NOT?: Prisma.PermissionPosScalarWhereInput | Prisma.PermissionPosScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
role?: Prisma.EnumPOSRoleFilter<"PermissionPos"> | $Enums.POSRole
|
||||
pos_id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
permission_id?: Prisma.StringFilter<"PermissionPos"> | string
|
||||
}
|
||||
|
||||
export type PermissionPosCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.POSRole
|
||||
permission: Prisma.PermissionConsumerCreateNestedOneWithoutPos_permissionsInput
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedCreateWithoutPosInput = {
|
||||
id?: string
|
||||
role: $Enums.POSRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutPos_permissionsNestedInput
|
||||
export type PermissionPosCreateOrConnectWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionPosCreateManyPosInputEnvelope = {
|
||||
data: Prisma.PermissionPosCreateManyPosInput | Prisma.PermissionPosCreateManyPosInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedUpdateManyWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
export type PermissionPosUpsertWithWhereUniqueWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PermissionPosUpdateWithoutPosInput, Prisma.PermissionPosUncheckedUpdateWithoutPosInput>
|
||||
create: Prisma.XOR<Prisma.PermissionPosCreateWithoutPosInput, Prisma.PermissionPosUncheckedCreateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateWithWhereUniqueWithoutPosInput = {
|
||||
where: Prisma.PermissionPosWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PermissionPosUpdateWithoutPosInput, Prisma.PermissionPosUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateManyWithWhereWithoutPosInput = {
|
||||
where: Prisma.PermissionPosScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PermissionPosUpdateManyMutationInput, Prisma.PermissionPosUncheckedUpdateManyWithoutPosInput>
|
||||
}
|
||||
|
||||
export type PermissionPosCreateManyPermissionInput = {
|
||||
@@ -532,6 +508,30 @@ export type PermissionPosUncheckedUpdateManyWithoutPermissionInput = {
|
||||
pos_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionPosCreateManyPosInput = {
|
||||
id?: string
|
||||
role: $Enums.POSRole
|
||||
permission_id: string
|
||||
}
|
||||
|
||||
export type PermissionPosUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission?: Prisma.PermissionConsumerUpdateOneRequiredWithoutPos_permissionsNestedInput
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedUpdateWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PermissionPosUncheckedUpdateManyWithoutPosInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
role?: Prisma.EnumPOSRoleFieldUpdateOperationsInput | $Enums.POSRole
|
||||
permission_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
|
||||
export type PermissionPosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
|
||||
+308
-308
@@ -437,11 +437,6 @@ export type PosUncheckedUpdateManyInput = {
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosNullableScalarRelationFilter = {
|
||||
is?: Prisma.PosWhereInput | null
|
||||
isNot?: Prisma.PosWhereInput | null
|
||||
}
|
||||
|
||||
export type PosListRelationFilter = {
|
||||
every?: Prisma.PosWhereInput
|
||||
some?: Prisma.PosWhereInput
|
||||
@@ -452,6 +447,16 @@ export type PosOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PosScalarRelationFilter = {
|
||||
is?: Prisma.PosWhereInput
|
||||
isNot?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosNullableScalarRelationFilter = {
|
||||
is?: Prisma.PosWhereInput | null
|
||||
isNot?: Prisma.PosWhereInput | null
|
||||
}
|
||||
|
||||
export type PosOrderByRelevanceInput = {
|
||||
fields: Prisma.PosOrderByRelevanceFieldEnum | Prisma.PosOrderByRelevanceFieldEnum[]
|
||||
sort: Prisma.SortOrder
|
||||
@@ -503,93 +508,6 @@ export type PosMinOrderByAggregateInput = {
|
||||
account_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PosScalarRelationFilter = {
|
||||
is?: Prisma.PosWhereInput
|
||||
isNot?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.PosUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.PosWhereInput | boolean
|
||||
delete?: Prisma.PosWhereInput | boolean
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountInput, Prisma.PosUpdateWithoutAccountInput>, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.PosUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.PosWhereInput | boolean
|
||||
delete?: Prisma.PosWhereInput | boolean
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountInput, Prisma.PosUpdateWithoutAccountInput>, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PosUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type EnumPOSStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.POSStatus
|
||||
}
|
||||
|
||||
export type EnumPOSTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.POSType
|
||||
}
|
||||
|
||||
export type PosCreateNestedManyWithoutDeviceInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput> | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[]
|
||||
@@ -688,6 +606,88 @@ export type PosUncheckedUpdateManyWithoutProviderNestedInput = {
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateNestedOneWithoutAccountInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PosUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.PosUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.PosWhereInput | boolean
|
||||
delete?: Prisma.PosWhereInput | boolean
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountInput, Prisma.PosUpdateWithoutAccountInput>, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateOneWithoutAccountNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountInput
|
||||
upsert?: Prisma.PosUpsertWithoutAccountInput
|
||||
disconnect?: Prisma.PosWhereInput | boolean
|
||||
delete?: Prisma.PosWhereInput | boolean
|
||||
connect?: Prisma.PosWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountInput, Prisma.PosUpdateWithoutAccountInput>, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type PosUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutComplexNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||||
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||||
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||||
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||||
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||||
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||||
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type EnumPOSStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.POSStatus
|
||||
}
|
||||
|
||||
export type EnumPOSTypeFieldUpdateOperationsInput = {
|
||||
set?: $Enums.POSType
|
||||
}
|
||||
|
||||
export type PosCreateNestedOneWithoutSales_invoicesInput = {
|
||||
create?: Prisma.XOR<Prisma.PosCreateWithoutSales_invoicesInput, Prisma.PosUncheckedCreateWithoutSales_invoicesInput>
|
||||
connectOrCreate?: Prisma.PosCreateOrConnectWithoutSales_invoicesInput
|
||||
@@ -702,162 +702,6 @@ export type PosUpdateOneRequiredWithoutSales_invoicesNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutSales_invoicesInput, Prisma.PosUpdateWithoutSales_invoicesInput>, Prisma.PosUncheckedUpdateWithoutSales_invoicesInput>
|
||||
}
|
||||
|
||||
export type PosCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutAccountInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUpsertWithoutAccountInput = {
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutAccountInput, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
where?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosUpdateToOneWithWhereWithoutAccountInput = {
|
||||
where?: Prisma.PosWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutAccountInput, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.PosCreateManyComplexInput | Prisma.PosCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PosUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.PosScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosScalarWhereInput = {
|
||||
AND?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
OR?: Prisma.PosScalarWhereInput[]
|
||||
NOT?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Pos"> | string
|
||||
name?: Prisma.StringFilter<"Pos"> | string
|
||||
model?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
serial_number?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||||
device_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringFilter<"Pos"> | string
|
||||
}
|
||||
|
||||
export type PosCreateWithoutDeviceInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -916,6 +760,24 @@ export type PosUpdateManyWithWhereWithoutDeviceInput = {
|
||||
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutDeviceInput>
|
||||
}
|
||||
|
||||
export type PosScalarWhereInput = {
|
||||
AND?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
OR?: Prisma.PosScalarWhereInput[]
|
||||
NOT?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"Pos"> | string
|
||||
name?: Prisma.StringFilter<"Pos"> | string
|
||||
model?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
serial_number?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||||
device_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringFilter<"Pos"> | string
|
||||
}
|
||||
|
||||
export type PosCreateWithoutPermission_posInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -1054,6 +916,144 @@ export type PosUpdateManyWithWhereWithoutProviderInput = {
|
||||
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutProviderInput>
|
||||
}
|
||||
|
||||
export type PosCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutAccountInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutAccountInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUpsertWithoutAccountInput = {
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutAccountInput, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutAccountInput, Prisma.PosUncheckedCreateWithoutAccountInput>
|
||||
where?: Prisma.PosWhereInput
|
||||
}
|
||||
|
||||
export type PosUpdateToOneWithWhereWithoutAccountInput = {
|
||||
where?: Prisma.PosWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutAccountInput, Prisma.PosUncheckedUpdateWithoutAccountInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutAccountInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosUncheckedCreateWithoutComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
export type PosCreateOrConnectWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosCreateManyComplexInputEnvelope = {
|
||||
data: Prisma.PosCreateManyComplexInput | Prisma.PosCreateManyComplexInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type PosUpsertWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||||
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosUpdateWithWhereUniqueWithoutComplexInput = {
|
||||
where: Prisma.PosWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosUpdateManyWithWhereWithoutComplexInput = {
|
||||
where: Prisma.PosScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type PosCreateWithoutSales_invoicesInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -1134,66 +1134,6 @@ export type PosUncheckedUpdateWithoutSales_invoicesInput = {
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosCreateManyComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosCreateManyDeviceInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -1314,6 +1254,66 @@ export type PosUncheckedUpdateManyWithoutProviderInput = {
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosCreateManyComplexInput = {
|
||||
id?: string
|
||||
name: string
|
||||
model?: string | null
|
||||
serial_number?: string | null
|
||||
status?: $Enums.POSStatus
|
||||
pos_type: $Enums.POSType
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
export type PosUncheckedUpdateManyWithoutComplexInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
serial_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||||
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type PosCountOutputType
|
||||
|
||||
@@ -315,11 +315,6 @@ export type ProviderUncheckedUpdateManyInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
}
|
||||
|
||||
export type ProviderNullableScalarRelationFilter = {
|
||||
is?: Prisma.ProviderWhereInput | null
|
||||
isNot?: Prisma.ProviderWhereInput | null
|
||||
}
|
||||
|
||||
export type ProviderScalarRelationFilter = {
|
||||
is?: Prisma.ProviderWhereInput
|
||||
isNot?: Prisma.ProviderWhereInput
|
||||
@@ -358,20 +353,9 @@ export type ProviderMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProviderCreateNestedOneWithoutPos_listInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutPos_listInput
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ProviderUpdateOneWithoutPos_listNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutPos_listInput
|
||||
upsert?: Prisma.ProviderUpsertWithoutPos_listInput
|
||||
disconnect?: Prisma.ProviderWhereInput | boolean
|
||||
delete?: Prisma.ProviderWhereInput | boolean
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutPos_listInput, Prisma.ProviderUpdateWithoutPos_listInput>, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
export type ProviderNullableScalarRelationFilter = {
|
||||
is?: Prisma.ProviderWhereInput | null
|
||||
isNot?: Prisma.ProviderWhereInput | null
|
||||
}
|
||||
|
||||
export type ProviderCreateNestedOneWithoutAccountsInput = {
|
||||
@@ -388,60 +372,20 @@ export type ProviderUpdateOneRequiredWithoutAccountsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutAccountsInput, Prisma.ProviderUpdateWithoutAccountsInput>, Prisma.ProviderUncheckedUpdateWithoutAccountsInput>
|
||||
}
|
||||
|
||||
export type ProviderCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ProviderAccountCreateNestedManyWithoutProviderInput
|
||||
export type ProviderCreateNestedOneWithoutPos_listInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutPos_listInput
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ProviderAccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
export type ProviderCreateOrConnectWithoutPos_listInput = {
|
||||
where: Prisma.ProviderWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ProviderUpsertWithoutPos_listInput = {
|
||||
update: Prisma.XOR<Prisma.ProviderUpdateWithoutPos_listInput, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
create: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
where?: Prisma.ProviderWhereInput
|
||||
}
|
||||
|
||||
export type ProviderUpdateToOneWithWhereWithoutPos_listInput = {
|
||||
where?: Prisma.ProviderWhereInput
|
||||
data: Prisma.XOR<Prisma.ProviderUpdateWithoutPos_listInput, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ProviderUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ProviderAccountUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ProviderAccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
export type ProviderUpdateOneWithoutPos_listNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
connectOrCreate?: Prisma.ProviderCreateOrConnectWithoutPos_listInput
|
||||
upsert?: Prisma.ProviderUpsertWithoutPos_listInput
|
||||
disconnect?: Prisma.ProviderWhereInput | boolean
|
||||
delete?: Prisma.ProviderWhereInput | boolean
|
||||
connect?: Prisma.ProviderWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ProviderUpdateToOneWithWhereWithoutPos_listInput, Prisma.ProviderUpdateWithoutPos_listInput>, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ProviderCreateWithoutAccountsInput = {
|
||||
@@ -500,6 +444,62 @@ export type ProviderUncheckedUpdateWithoutAccountsInput = {
|
||||
pos_list?: Prisma.PosUncheckedUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
export type ProviderCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ProviderAccountCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedCreateWithoutPos_listInput = {
|
||||
id?: string
|
||||
code: string
|
||||
status?: $Enums.PartnerStatus
|
||||
name: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
accounts?: Prisma.ProviderAccountUncheckedCreateNestedManyWithoutProviderInput
|
||||
}
|
||||
|
||||
export type ProviderCreateOrConnectWithoutPos_listInput = {
|
||||
where: Prisma.ProviderWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ProviderUpsertWithoutPos_listInput = {
|
||||
update: Prisma.XOR<Prisma.ProviderUpdateWithoutPos_listInput, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
create: Prisma.XOR<Prisma.ProviderCreateWithoutPos_listInput, Prisma.ProviderUncheckedCreateWithoutPos_listInput>
|
||||
where?: Prisma.ProviderWhereInput
|
||||
}
|
||||
|
||||
export type ProviderUpdateToOneWithWhereWithoutPos_listInput = {
|
||||
where?: Prisma.ProviderWhereInput
|
||||
data: Prisma.XOR<Prisma.ProviderUpdateWithoutPos_listInput, Prisma.ProviderUncheckedUpdateWithoutPos_listInput>
|
||||
}
|
||||
|
||||
export type ProviderUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ProviderAccountUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
export type ProviderUncheckedUpdateWithoutPos_listInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
code?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
status?: Prisma.EnumPartnerStatusFieldUpdateOperationsInput | $Enums.PartnerStatus
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
accounts?: Prisma.ProviderAccountUncheckedUpdateManyWithoutProviderNestedInput
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type ProviderCountOutputType
|
||||
|
||||
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
@@ -77,10 +77,11 @@ export type SalesInvoiceItemCountAggregateOutputType = {
|
||||
created_at: number
|
||||
discount: number
|
||||
notes: number
|
||||
payload: number
|
||||
good_snapshot: number
|
||||
invoice_id: number
|
||||
good_id: number
|
||||
service_id: number
|
||||
payload: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -136,10 +137,11 @@ export type SalesInvoiceItemCountAggregateInputType = {
|
||||
created_at?: true
|
||||
discount?: true
|
||||
notes?: true
|
||||
payload?: true
|
||||
good_snapshot?: true
|
||||
invoice_id?: true
|
||||
good_id?: true
|
||||
service_id?: true
|
||||
payload?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -238,10 +240,11 @@ export type SalesInvoiceItemGroupByOutputType = {
|
||||
created_at: Date
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue | null
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
_count: SalesInvoiceItemCountAggregateOutputType | null
|
||||
_avg: SalesInvoiceItemAvgAggregateOutputType | null
|
||||
_sum: SalesInvoiceItemSumAggregateOutputType | null
|
||||
@@ -276,10 +279,11 @@ 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
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
@@ -294,10 +298,11 @@ export type SalesInvoiceItemOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
invoice?: Prisma.SalesInvoiceOrderByWithRelationInput
|
||||
good?: Prisma.GoodOrderByWithRelationInput
|
||||
service?: Prisma.ServiceOrderByWithRelationInput
|
||||
@@ -316,10 +321,11 @@ 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
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
good?: Prisma.XOR<Prisma.GoodNullableScalarRelationFilter, Prisma.GoodWhereInput> | null
|
||||
service?: Prisma.XOR<Prisma.ServiceNullableScalarRelationFilter, Prisma.ServiceWhereInput> | null
|
||||
@@ -334,10 +340,11 @@ export type SalesInvoiceItemOrderByWithAggregationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoiceItemCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoiceItemAvgOrderByAggregateInput
|
||||
_max?: Prisma.SalesInvoiceItemMaxOrderByAggregateInput
|
||||
@@ -357,10 +364,11 @@ 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
|
||||
payload?: Prisma.JsonNullableWithAggregatesFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableWithAggregatesFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableWithAggregatesFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableWithAggregatesFilter<"SalesInvoiceItem">
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateInput = {
|
||||
@@ -373,6 +381,7 @@ export type SalesInvoiceItemCreateInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
@@ -387,10 +396,11 @@ export type SalesInvoiceItemUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateInput = {
|
||||
@@ -403,6 +413,7 @@ export type SalesInvoiceItemUpdateInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
@@ -417,10 +428,11 @@ export type SalesInvoiceItemUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyInput = {
|
||||
@@ -432,10 +444,11 @@ export type SalesInvoiceItemCreateManyInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateManyMutationInput = {
|
||||
@@ -448,6 +461,7 @@ export type SalesInvoiceItemUpdateManyMutationInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
@@ -459,10 +473,11 @@ export type SalesInvoiceItemUncheckedUpdateManyInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemListRelationFilter = {
|
||||
@@ -490,10 +505,11 @@ export type SalesInvoiceItemCountOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
discount?: Prisma.SortOrder
|
||||
notes?: Prisma.SortOrder
|
||||
payload?: Prisma.SortOrder
|
||||
good_snapshot?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
good_id?: Prisma.SortOrder
|
||||
service_id?: Prisma.SortOrder
|
||||
payload?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemAvgOrderByAggregateInput = {
|
||||
@@ -674,6 +690,7 @@ export type SalesInvoiceItemCreateWithoutGoodInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
@@ -687,9 +704,10 @@ export type SalesInvoiceItemUncheckedCreateWithoutGoodInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutGoodInput = {
|
||||
@@ -730,10 +748,11 @@ 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
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
good_snapshot?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoiceItem"> | string
|
||||
good_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
service_id?: Prisma.StringNullableFilter<"SalesInvoiceItem"> | string | null
|
||||
payload?: Prisma.JsonNullableFilter<"SalesInvoiceItem">
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
@@ -746,6 +765,7 @@ export type SalesInvoiceItemCreateWithoutInvoiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
service?: Prisma.ServiceCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
@@ -759,9 +779,10 @@ export type SalesInvoiceItemUncheckedCreateWithoutInvoiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutInvoiceInput = {
|
||||
@@ -800,6 +821,7 @@ export type SalesInvoiceItemCreateWithoutServiceInput = {
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice: Prisma.SalesInvoiceCreateNestedOneWithoutItemsInput
|
||||
good?: Prisma.GoodCreateNestedOneWithoutSales_invoice_itemsInput
|
||||
}
|
||||
@@ -813,9 +835,10 @@ export type SalesInvoiceItemUncheckedCreateWithoutServiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateOrConnectWithoutServiceInput = {
|
||||
@@ -853,9 +876,10 @@ export type SalesInvoiceItemCreateManyGoodInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutGoodInput = {
|
||||
@@ -868,6 +892,7 @@ export type SalesInvoiceItemUpdateWithoutGoodInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
@@ -881,9 +906,10 @@ export type SalesInvoiceItemUncheckedUpdateWithoutGoodInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
|
||||
@@ -895,9 +921,10 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutGoodInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
@@ -909,9 +936,10 @@ export type SalesInvoiceItemCreateManyInvoiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: string | null
|
||||
service_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
@@ -924,6 +952,7 @@ export type SalesInvoiceItemUpdateWithoutInvoiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
service?: Prisma.ServiceUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
@@ -937,9 +966,10 @@ export type SalesInvoiceItemUncheckedUpdateWithoutInvoiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
@@ -951,9 +981,10 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
service_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemCreateManyServiceInput = {
|
||||
@@ -965,9 +996,10 @@ export type SalesInvoiceItemCreateManyServiceInput = {
|
||||
created_at?: Date | string
|
||||
discount?: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id: string
|
||||
good_id?: string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
@@ -980,6 +1012,7 @@ export type SalesInvoiceItemUpdateWithoutServiceInput = {
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice?: Prisma.SalesInvoiceUpdateOneRequiredWithoutItemsNestedInput
|
||||
good?: Prisma.GoodUpdateOneWithoutSales_invoice_itemsNestedInput
|
||||
}
|
||||
@@ -993,9 +1026,10 @@ export type SalesInvoiceItemUncheckedUpdateWithoutServiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
@@ -1007,9 +1041,10 @@ export type SalesInvoiceItemUncheckedUpdateManyWithoutServiceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
discount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
notes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
good_snapshot?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
good_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
||||
}
|
||||
|
||||
|
||||
@@ -1023,10 +1058,11 @@ export type SalesInvoiceItemSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
||||
created_at?: boolean
|
||||
discount?: boolean
|
||||
notes?: boolean
|
||||
payload?: boolean
|
||||
good_snapshot?: boolean
|
||||
invoice_id?: boolean
|
||||
good_id?: boolean
|
||||
service_id?: boolean
|
||||
payload?: boolean
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
good?: boolean | Prisma.SalesInvoiceItem$goodArgs<ExtArgs>
|
||||
service?: boolean | Prisma.SalesInvoiceItem$serviceArgs<ExtArgs>
|
||||
@@ -1043,13 +1079,14 @@ export type SalesInvoiceItemSelectScalar = {
|
||||
created_at?: boolean
|
||||
discount?: boolean
|
||||
notes?: boolean
|
||||
payload?: boolean
|
||||
good_snapshot?: 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" | "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" | "payload" | "good_snapshot" | "invoice_id" | "good_id" | "service_id", 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>
|
||||
@@ -1072,10 +1109,11 @@ export type $SalesInvoiceItemPayload<ExtArgs extends runtime.Types.Extensions.In
|
||||
created_at: Date
|
||||
discount: runtime.Decimal
|
||||
notes: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
good_snapshot: runtime.JsonValue | null
|
||||
invoice_id: string
|
||||
good_id: string | null
|
||||
service_id: string | null
|
||||
payload: runtime.JsonValue | null
|
||||
}, ExtArgs["result"]["salesInvoiceItem"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1456,10 +1494,11 @@ export interface SalesInvoiceItemFieldRefs {
|
||||
readonly created_at: Prisma.FieldRef<"SalesInvoiceItem", 'DateTime'>
|
||||
readonly discount: Prisma.FieldRef<"SalesInvoiceItem", 'Decimal'>
|
||||
readonly notes: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly payload: Prisma.FieldRef<"SalesInvoiceItem", 'Json'>
|
||||
readonly good_snapshot: Prisma.FieldRef<"SalesInvoiceItem", 'Json'>
|
||||
readonly invoice_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly good_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly service_id: Prisma.FieldRef<"SalesInvoiceItem", 'String'>
|
||||
readonly payload: Prisma.FieldRef<"SalesInvoiceItem", 'Json'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -36,29 +36,29 @@ export type SalesInvoicePaymentSumAggregateOutputType = {
|
||||
|
||||
export type SalesInvoicePaymentMinAggregateOutputType = {
|
||||
id: string | null
|
||||
invoice_id: string | null
|
||||
amount: runtime.Decimal | null
|
||||
payment_method: $Enums.PaymentMethodType | null
|
||||
paid_at: Date | null
|
||||
created_at: Date | null
|
||||
invoice_id: string | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMaxAggregateOutputType = {
|
||||
id: string | null
|
||||
invoice_id: string | null
|
||||
amount: runtime.Decimal | null
|
||||
payment_method: $Enums.PaymentMethodType | null
|
||||
paid_at: Date | null
|
||||
created_at: Date | null
|
||||
invoice_id: string | null
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCountAggregateOutputType = {
|
||||
id: number
|
||||
invoice_id: number
|
||||
amount: number
|
||||
payment_method: number
|
||||
paid_at: number
|
||||
created_at: number
|
||||
invoice_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -73,29 +73,29 @@ export type SalesInvoicePaymentSumAggregateInputType = {
|
||||
|
||||
export type SalesInvoicePaymentMinAggregateInputType = {
|
||||
id?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
invoice_id?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMaxAggregateInputType = {
|
||||
id?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
invoice_id?: true
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCountAggregateInputType = {
|
||||
id?: true
|
||||
invoice_id?: true
|
||||
amount?: true
|
||||
payment_method?: true
|
||||
paid_at?: true
|
||||
created_at?: true
|
||||
invoice_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -187,11 +187,11 @@ export type SalesInvoicePaymentGroupByArgs<ExtArgs extends runtime.Types.Extensi
|
||||
|
||||
export type SalesInvoicePaymentGroupByOutputType = {
|
||||
id: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date
|
||||
created_at: Date
|
||||
invoice_id: string
|
||||
_count: SalesInvoicePaymentCountAggregateOutputType | null
|
||||
_avg: SalesInvoicePaymentAvgAggregateOutputType | null
|
||||
_sum: SalesInvoicePaymentSumAggregateOutputType | null
|
||||
@@ -219,21 +219,21 @@ export type SalesInvoicePaymentWhereInput = {
|
||||
OR?: Prisma.SalesInvoicePaymentWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentOrderByWithRelationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
invoice?: Prisma.SalesInvoiceOrderByWithRelationInput
|
||||
_relevance?: Prisma.SalesInvoicePaymentOrderByRelevanceInput
|
||||
}
|
||||
@@ -243,21 +243,21 @@ export type SalesInvoicePaymentWhereUniqueInput = Prisma.AtLeast<{
|
||||
AND?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
OR?: Prisma.SalesInvoicePaymentWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentWhereInput | Prisma.SalesInvoicePaymentWhereInput[]
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice?: Prisma.XOR<Prisma.SalesInvoiceScalarRelationFilter, Prisma.SalesInvoiceWhereInput>
|
||||
}, "id">
|
||||
|
||||
export type SalesInvoicePaymentOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
_count?: Prisma.SalesInvoicePaymentCountOrderByAggregateInput
|
||||
_avg?: Prisma.SalesInvoicePaymentAvgOrderByAggregateInput
|
||||
_max?: Prisma.SalesInvoicePaymentMaxOrderByAggregateInput
|
||||
@@ -270,11 +270,11 @@ export type SalesInvoicePaymentScalarWhereWithAggregatesInput = {
|
||||
OR?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput | Prisma.SalesInvoicePaymentScalarWhereWithAggregatesInput[]
|
||||
id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalWithAggregatesFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeWithAggregatesFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice_id?: Prisma.StringWithAggregatesFilter<"SalesInvoicePayment"> | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateInput = {
|
||||
@@ -288,11 +288,11 @@ export type SalesInvoicePaymentCreateInput = {
|
||||
|
||||
export type SalesInvoicePaymentUncheckedCreateInput = {
|
||||
id?: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
invoice_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUpdateInput = {
|
||||
@@ -306,20 +306,20 @@ export type SalesInvoicePaymentUpdateInput = {
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateManyInput = {
|
||||
id?: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date | string
|
||||
created_at?: Date | string
|
||||
invoice_id: string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentUpdateManyMutationInput = {
|
||||
@@ -332,11 +332,11 @@ export type SalesInvoicePaymentUpdateManyMutationInput = {
|
||||
|
||||
export type SalesInvoicePaymentUncheckedUpdateManyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
amount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFieldUpdateOperationsInput | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
invoice_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentListRelationFilter = {
|
||||
@@ -357,11 +357,11 @@ export type SalesInvoicePaymentOrderByRelevanceInput = {
|
||||
|
||||
export type SalesInvoicePaymentCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentAvgOrderByAggregateInput = {
|
||||
@@ -370,20 +370,20 @@ export type SalesInvoicePaymentAvgOrderByAggregateInput = {
|
||||
|
||||
export type SalesInvoicePaymentMaxOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentMinOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
amount?: Prisma.SortOrder
|
||||
payment_method?: Prisma.SortOrder
|
||||
paid_at?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
invoice_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentSumOrderByAggregateInput = {
|
||||
@@ -483,11 +483,11 @@ export type SalesInvoicePaymentScalarWhereInput = {
|
||||
OR?: Prisma.SalesInvoicePaymentScalarWhereInput[]
|
||||
NOT?: Prisma.SalesInvoicePaymentScalarWhereInput | Prisma.SalesInvoicePaymentScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
amount?: Prisma.DecimalFilter<"SalesInvoicePayment"> | runtime.Decimal | runtime.DecimalJsLike | number | string
|
||||
payment_method?: Prisma.EnumPaymentMethodTypeFilter<"SalesInvoicePayment"> | $Enums.PaymentMethodType
|
||||
paid_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
created_at?: Prisma.DateTimeFilter<"SalesInvoicePayment"> | Date | string
|
||||
invoice_id?: Prisma.StringFilter<"SalesInvoicePayment"> | string
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentCreateManyInvoiceInput = {
|
||||
@@ -526,11 +526,11 @@ export type SalesInvoicePaymentUncheckedUpdateManyWithoutInvoiceInput = {
|
||||
|
||||
export type SalesInvoicePaymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
id?: boolean
|
||||
invoice_id?: boolean
|
||||
amount?: boolean
|
||||
payment_method?: boolean
|
||||
paid_at?: boolean
|
||||
created_at?: boolean
|
||||
invoice_id?: boolean
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["salesInvoicePayment"]>
|
||||
|
||||
@@ -538,14 +538,14 @@ export type SalesInvoicePaymentSelect<ExtArgs extends runtime.Types.Extensions.I
|
||||
|
||||
export type SalesInvoicePaymentSelectScalar = {
|
||||
id?: boolean
|
||||
invoice_id?: boolean
|
||||
amount?: boolean
|
||||
payment_method?: boolean
|
||||
paid_at?: boolean
|
||||
created_at?: boolean
|
||||
invoice_id?: boolean
|
||||
}
|
||||
|
||||
export type SalesInvoicePaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "invoice_id" | "amount" | "payment_method" | "paid_at" | "created_at", ExtArgs["result"]["salesInvoicePayment"]>
|
||||
export type SalesInvoicePaymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "amount" | "payment_method" | "paid_at" | "created_at" | "invoice_id", ExtArgs["result"]["salesInvoicePayment"]>
|
||||
export type SalesInvoicePaymentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
invoice?: boolean | Prisma.SalesInvoiceDefaultArgs<ExtArgs>
|
||||
}
|
||||
@@ -557,11 +557,11 @@ export type $SalesInvoicePaymentPayload<ExtArgs extends runtime.Types.Extensions
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
invoice_id: string
|
||||
amount: runtime.Decimal
|
||||
payment_method: $Enums.PaymentMethodType
|
||||
paid_at: Date
|
||||
created_at: Date
|
||||
invoice_id: string
|
||||
}, ExtArgs["result"]["salesInvoicePayment"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -933,11 +933,11 @@ export interface Prisma__SalesInvoicePaymentClient<T, Null = never, ExtArgs exte
|
||||
*/
|
||||
export interface SalesInvoicePaymentFieldRefs {
|
||||
readonly id: Prisma.FieldRef<"SalesInvoicePayment", 'String'>
|
||||
readonly invoice_id: Prisma.FieldRef<"SalesInvoicePayment", 'String'>
|
||||
readonly amount: Prisma.FieldRef<"SalesInvoicePayment", 'Decimal'>
|
||||
readonly payment_method: Prisma.FieldRef<"SalesInvoicePayment", 'PaymentMethodType'>
|
||||
readonly paid_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
readonly created_at: Prisma.FieldRef<"SalesInvoicePayment", 'DateTime'>
|
||||
readonly invoice_id: Prisma.FieldRef<"SalesInvoicePayment", 'String'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user