feat: add consumer accounts and business activities management

- Implemented AccountsService for managing consumer accounts including create, update, delete, and find operations.
- Created DTOs for account creation and updates.
- Developed BusinessActivitiesController and BusinessActivitiesService for handling business activities related to consumers.
- Added complexes management with ComplexesController and ComplexesService.
- Introduced POS management with ComplexPosesController and ComplexPosesService.
- Created necessary DTOs for business activities and POS.
- Established Licenses management with LicensesController and LicensesService.
- Integrated consumer management with PartnerConsumersController and PartnerConsumersService.
- Added Prisma module imports and service connections across modules.
This commit is contained in:
2026-04-23 20:59:39 +03:30
parent f9e1ad69dc
commit a350ec7990
104 changed files with 13233 additions and 4105 deletions
File diff suppressed because one or more lines are too long
+453 -88
View File
@@ -395,8 +395,12 @@ export const ModelName = {
DeviceBrand: 'DeviceBrand',
Device: 'Device',
License: 'License',
ActivatedLicense: 'ActivatedLicense',
ChargedLicenseTransactions: 'ChargedLicenseTransactions',
LicenseActivation: 'LicenseActivation',
LicenseChargeTransaction: 'LicenseChargeTransaction',
LicenseRenew: 'LicenseRenew',
LicenseRenewChargeTransaction: 'LicenseRenewChargeTransaction',
PartnerAccountQuotaChargeTransaction: 'PartnerAccountQuotaChargeTransaction',
PartnerAccountQuotaAllocation: 'PartnerAccountQuotaAllocation',
PartnerAccount: 'PartnerAccount',
Partner: 'Partner',
PermissionConsumer: 'PermissionConsumer',
@@ -434,7 +438,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
omit: GlobalOmitOptions
}
meta: {
modelProps: "adminAccount" | "admin" | "account" | "consumerAccount" | "consumer" | "businessActivity" | "complex" | "pos" | "deviceBrand" | "device" | "license" | "activatedLicense" | "chargedLicenseTransactions" | "partnerAccount" | "partner" | "permissionConsumer" | "permissionPos" | "permissionComplex" | "permissionBusiness" | "providerAccount" | "provider" | "consumerDevices" | "applicationReleasedInfo" | "triggerLog" | "customer" | "customerIndividual" | "customerLegal" | "good" | "goodCategory" | "guild" | "salesInvoice" | "salesInvoiceItem" | "salesInvoicePayment" | "service" | "serviceCategory"
modelProps: "adminAccount" | "admin" | "account" | "consumerAccount" | "consumer" | "businessActivity" | "complex" | "pos" | "deviceBrand" | "device" | "license" | "licenseActivation" | "licenseChargeTransaction" | "licenseRenew" | "licenseRenewChargeTransaction" | "partnerAccountQuotaChargeTransaction" | "partnerAccountQuotaAllocation" | "partnerAccount" | "partner" | "permissionConsumer" | "permissionPos" | "permissionComplex" | "permissionBusiness" | "providerAccount" | "provider" | "consumerDevices" | "applicationReleasedInfo" | "triggerLog" | "customer" | "customerIndividual" | "customerLegal" | "good" | "goodCategory" | "guild" | "salesInvoice" | "salesInvoiceItem" | "salesInvoicePayment" | "service" | "serviceCategory"
txIsolationLevel: TransactionIsolationLevel
}
model: {
@@ -1164,135 +1168,399 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
}
}
}
ActivatedLicense: {
payload: Prisma.$ActivatedLicensePayload<ExtArgs>
fields: Prisma.ActivatedLicenseFieldRefs
LicenseActivation: {
payload: Prisma.$LicenseActivationPayload<ExtArgs>
fields: Prisma.LicenseActivationFieldRefs
operations: {
findUnique: {
args: Prisma.ActivatedLicenseFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload> | null
args: Prisma.LicenseActivationFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ActivatedLicenseFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
findFirst: {
args: Prisma.ActivatedLicenseFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload> | null
args: Prisma.LicenseActivationFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload> | null
}
findFirstOrThrow: {
args: Prisma.ActivatedLicenseFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
findMany: {
args: Prisma.ActivatedLicenseFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>[]
args: Prisma.LicenseActivationFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>[]
}
create: {
args: Prisma.ActivatedLicenseCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
createMany: {
args: Prisma.ActivatedLicenseCreateManyArgs<ExtArgs>
args: Prisma.LicenseActivationCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.ActivatedLicenseDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
update: {
args: Prisma.ActivatedLicenseUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
deleteMany: {
args: Prisma.ActivatedLicenseDeleteManyArgs<ExtArgs>
args: Prisma.LicenseActivationDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ActivatedLicenseUpdateManyArgs<ExtArgs>
args: Prisma.LicenseActivationUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.ActivatedLicenseUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ActivatedLicensePayload>
args: Prisma.LicenseActivationUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseActivationPayload>
}
aggregate: {
args: Prisma.ActivatedLicenseAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateActivatedLicense>
args: Prisma.LicenseActivationAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateLicenseActivation>
}
groupBy: {
args: Prisma.ActivatedLicenseGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ActivatedLicenseGroupByOutputType>[]
args: Prisma.LicenseActivationGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseActivationGroupByOutputType>[]
}
count: {
args: Prisma.ActivatedLicenseCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ActivatedLicenseCountAggregateOutputType> | number
args: Prisma.LicenseActivationCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseActivationCountAggregateOutputType> | number
}
}
}
ChargedLicenseTransactions: {
payload: Prisma.$ChargedLicenseTransactionsPayload<ExtArgs>
fields: Prisma.ChargedLicenseTransactionsFieldRefs
LicenseChargeTransaction: {
payload: Prisma.$LicenseChargeTransactionPayload<ExtArgs>
fields: Prisma.LicenseChargeTransactionFieldRefs
operations: {
findUnique: {
args: Prisma.ChargedLicenseTransactionsFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload> | null
args: Prisma.LicenseChargeTransactionFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload> | null
}
findUniqueOrThrow: {
args: Prisma.ChargedLicenseTransactionsFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
findFirst: {
args: Prisma.ChargedLicenseTransactionsFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload> | null
args: Prisma.LicenseChargeTransactionFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload> | null
}
findFirstOrThrow: {
args: Prisma.ChargedLicenseTransactionsFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
findMany: {
args: Prisma.ChargedLicenseTransactionsFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>[]
args: Prisma.LicenseChargeTransactionFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>[]
}
create: {
args: Prisma.ChargedLicenseTransactionsCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
createMany: {
args: Prisma.ChargedLicenseTransactionsCreateManyArgs<ExtArgs>
args: Prisma.LicenseChargeTransactionCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.ChargedLicenseTransactionsDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
update: {
args: Prisma.ChargedLicenseTransactionsUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
deleteMany: {
args: Prisma.ChargedLicenseTransactionsDeleteManyArgs<ExtArgs>
args: Prisma.LicenseChargeTransactionDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.ChargedLicenseTransactionsUpdateManyArgs<ExtArgs>
args: Prisma.LicenseChargeTransactionUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.ChargedLicenseTransactionsUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$ChargedLicenseTransactionsPayload>
args: Prisma.LicenseChargeTransactionUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseChargeTransactionPayload>
}
aggregate: {
args: Prisma.ChargedLicenseTransactionsAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateChargedLicenseTransactions>
args: Prisma.LicenseChargeTransactionAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateLicenseChargeTransaction>
}
groupBy: {
args: Prisma.ChargedLicenseTransactionsGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ChargedLicenseTransactionsGroupByOutputType>[]
args: Prisma.LicenseChargeTransactionGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseChargeTransactionGroupByOutputType>[]
}
count: {
args: Prisma.ChargedLicenseTransactionsCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.ChargedLicenseTransactionsCountAggregateOutputType> | number
args: Prisma.LicenseChargeTransactionCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseChargeTransactionCountAggregateOutputType> | number
}
}
}
LicenseRenew: {
payload: Prisma.$LicenseRenewPayload<ExtArgs>
fields: Prisma.LicenseRenewFieldRefs
operations: {
findUnique: {
args: Prisma.LicenseRenewFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload> | null
}
findUniqueOrThrow: {
args: Prisma.LicenseRenewFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
findFirst: {
args: Prisma.LicenseRenewFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload> | null
}
findFirstOrThrow: {
args: Prisma.LicenseRenewFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
findMany: {
args: Prisma.LicenseRenewFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>[]
}
create: {
args: Prisma.LicenseRenewCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
createMany: {
args: Prisma.LicenseRenewCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.LicenseRenewDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
update: {
args: Prisma.LicenseRenewUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
deleteMany: {
args: Prisma.LicenseRenewDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.LicenseRenewUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.LicenseRenewUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewPayload>
}
aggregate: {
args: Prisma.LicenseRenewAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateLicenseRenew>
}
groupBy: {
args: Prisma.LicenseRenewGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseRenewGroupByOutputType>[]
}
count: {
args: Prisma.LicenseRenewCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseRenewCountAggregateOutputType> | number
}
}
}
LicenseRenewChargeTransaction: {
payload: Prisma.$LicenseRenewChargeTransactionPayload<ExtArgs>
fields: Prisma.LicenseRenewChargeTransactionFieldRefs
operations: {
findUnique: {
args: Prisma.LicenseRenewChargeTransactionFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload> | null
}
findUniqueOrThrow: {
args: Prisma.LicenseRenewChargeTransactionFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
findFirst: {
args: Prisma.LicenseRenewChargeTransactionFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload> | null
}
findFirstOrThrow: {
args: Prisma.LicenseRenewChargeTransactionFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
findMany: {
args: Prisma.LicenseRenewChargeTransactionFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>[]
}
create: {
args: Prisma.LicenseRenewChargeTransactionCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
createMany: {
args: Prisma.LicenseRenewChargeTransactionCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.LicenseRenewChargeTransactionDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
update: {
args: Prisma.LicenseRenewChargeTransactionUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
deleteMany: {
args: Prisma.LicenseRenewChargeTransactionDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.LicenseRenewChargeTransactionUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.LicenseRenewChargeTransactionUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$LicenseRenewChargeTransactionPayload>
}
aggregate: {
args: Prisma.LicenseRenewChargeTransactionAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregateLicenseRenewChargeTransaction>
}
groupBy: {
args: Prisma.LicenseRenewChargeTransactionGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseRenewChargeTransactionGroupByOutputType>[]
}
count: {
args: Prisma.LicenseRenewChargeTransactionCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.LicenseRenewChargeTransactionCountAggregateOutputType> | number
}
}
}
PartnerAccountQuotaChargeTransaction: {
payload: Prisma.$PartnerAccountQuotaChargeTransactionPayload<ExtArgs>
fields: Prisma.PartnerAccountQuotaChargeTransactionFieldRefs
operations: {
findUnique: {
args: Prisma.PartnerAccountQuotaChargeTransactionFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload> | null
}
findUniqueOrThrow: {
args: Prisma.PartnerAccountQuotaChargeTransactionFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
findFirst: {
args: Prisma.PartnerAccountQuotaChargeTransactionFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload> | null
}
findFirstOrThrow: {
args: Prisma.PartnerAccountQuotaChargeTransactionFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
findMany: {
args: Prisma.PartnerAccountQuotaChargeTransactionFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>[]
}
create: {
args: Prisma.PartnerAccountQuotaChargeTransactionCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
createMany: {
args: Prisma.PartnerAccountQuotaChargeTransactionCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.PartnerAccountQuotaChargeTransactionDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
update: {
args: Prisma.PartnerAccountQuotaChargeTransactionUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
deleteMany: {
args: Prisma.PartnerAccountQuotaChargeTransactionDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.PartnerAccountQuotaChargeTransactionUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.PartnerAccountQuotaChargeTransactionUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaChargeTransactionPayload>
}
aggregate: {
args: Prisma.PartnerAccountQuotaChargeTransactionAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregatePartnerAccountQuotaChargeTransaction>
}
groupBy: {
args: Prisma.PartnerAccountQuotaChargeTransactionGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.PartnerAccountQuotaChargeTransactionGroupByOutputType>[]
}
count: {
args: Prisma.PartnerAccountQuotaChargeTransactionCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.PartnerAccountQuotaChargeTransactionCountAggregateOutputType> | number
}
}
}
PartnerAccountQuotaAllocation: {
payload: Prisma.$PartnerAccountQuotaAllocationPayload<ExtArgs>
fields: Prisma.PartnerAccountQuotaAllocationFieldRefs
operations: {
findUnique: {
args: Prisma.PartnerAccountQuotaAllocationFindUniqueArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload> | null
}
findUniqueOrThrow: {
args: Prisma.PartnerAccountQuotaAllocationFindUniqueOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
findFirst: {
args: Prisma.PartnerAccountQuotaAllocationFindFirstArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload> | null
}
findFirstOrThrow: {
args: Prisma.PartnerAccountQuotaAllocationFindFirstOrThrowArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
findMany: {
args: Prisma.PartnerAccountQuotaAllocationFindManyArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>[]
}
create: {
args: Prisma.PartnerAccountQuotaAllocationCreateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
createMany: {
args: Prisma.PartnerAccountQuotaAllocationCreateManyArgs<ExtArgs>
result: BatchPayload
}
delete: {
args: Prisma.PartnerAccountQuotaAllocationDeleteArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
update: {
args: Prisma.PartnerAccountQuotaAllocationUpdateArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
deleteMany: {
args: Prisma.PartnerAccountQuotaAllocationDeleteManyArgs<ExtArgs>
result: BatchPayload
}
updateMany: {
args: Prisma.PartnerAccountQuotaAllocationUpdateManyArgs<ExtArgs>
result: BatchPayload
}
upsert: {
args: Prisma.PartnerAccountQuotaAllocationUpsertArgs<ExtArgs>
result: runtime.Types.Utils.PayloadToResult<Prisma.$PartnerAccountQuotaAllocationPayload>
}
aggregate: {
args: Prisma.PartnerAccountQuotaAllocationAggregateArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.AggregatePartnerAccountQuotaAllocation>
}
groupBy: {
args: Prisma.PartnerAccountQuotaAllocationGroupByArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.PartnerAccountQuotaAllocationGroupByOutputType>[]
}
count: {
args: Prisma.PartnerAccountQuotaAllocationCountArgs<ExtArgs>
result: runtime.Types.Utils.Optional<Prisma.PartnerAccountQuotaAllocationCountAggregateOutputType> | number
}
}
}
@@ -2837,11 +3105,13 @@ export type ConsumerAccountScalarFieldEnum = (typeof ConsumerAccountScalarFieldE
export const ConsumerScalarFieldEnum = {
id: 'id',
mobile_number: 'mobile_number',
national_code: 'national_code',
first_name: 'first_name',
last_name: 'last_name',
status: 'status',
created_at: 'created_at',
updated_at: 'updated_at'
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typeof ConsumerScalarFieldEnum]
@@ -2849,6 +3119,7 @@ export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typ
export const BusinessActivityScalarFieldEnum = {
id: 'id',
economic_code: 'economic_code',
name: 'name',
created_at: 'created_at',
updated_at: 'updated_at',
@@ -2862,8 +3133,8 @@ export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFiel
export const ComplexScalarFieldEnum = {
id: 'id',
name: 'name',
branch_code: 'branch_code',
address: 'address',
tax_id: 'tax_id',
created_at: 'created_at',
updated_at: 'updated_at',
business_activity_id: 'business_activity_id'
@@ -2913,37 +3184,88 @@ export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof
export const LicenseScalarFieldEnum = {
id: 'id',
accounts_limit: 'accounts_limit',
created_at: 'created_at',
updated_at: 'updated_at',
charged_license_transaction_id: 'charged_license_transaction_id'
charge_transaction_id: 'charge_transaction_id'
} as const
export type LicenseScalarFieldEnum = (typeof LicenseScalarFieldEnum)[keyof typeof LicenseScalarFieldEnum]
export const ActivatedLicenseScalarFieldEnum = {
export const LicenseActivationScalarFieldEnum = {
id: 'id',
starts_at: 'starts_at',
expires_at: 'expires_at',
created_at: 'created_at',
updated_at: 'updated_at',
license_id: 'license_id',
consumer_id: 'consumer_id'
business_activity_id: 'business_activity_id'
} as const
export type ActivatedLicenseScalarFieldEnum = (typeof ActivatedLicenseScalarFieldEnum)[keyof typeof ActivatedLicenseScalarFieldEnum]
export type LicenseActivationScalarFieldEnum = (typeof LicenseActivationScalarFieldEnum)[keyof typeof LicenseActivationScalarFieldEnum]
export const ChargedLicenseTransactionsScalarFieldEnum = {
export const LicenseChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type ChargedLicenseTransactionsScalarFieldEnum = (typeof ChargedLicenseTransactionsScalarFieldEnum)[keyof typeof ChargedLicenseTransactionsScalarFieldEnum]
export type LicenseChargeTransactionScalarFieldEnum = (typeof LicenseChargeTransactionScalarFieldEnum)[keyof typeof LicenseChargeTransactionScalarFieldEnum]
export const LicenseRenewScalarFieldEnum = {
id: 'id',
expires_at: 'expires_at',
created_at: 'created_at',
updated_at: 'updated_at',
charge_transaction_id: 'charge_transaction_id',
activation_id: 'activation_id'
} as const
export type LicenseRenewScalarFieldEnum = (typeof LicenseRenewScalarFieldEnum)[keyof typeof LicenseRenewScalarFieldEnum]
export const LicenseRenewChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type LicenseRenewChargeTransactionScalarFieldEnum = (typeof LicenseRenewChargeTransactionScalarFieldEnum)[keyof typeof LicenseRenewChargeTransactionScalarFieldEnum]
export const PartnerAccountQuotaChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type PartnerAccountQuotaChargeTransactionScalarFieldEnum = (typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum]
export const PartnerAccountQuotaAllocationScalarFieldEnum = {
id: 'id',
created_at: 'created_at',
updated_at: 'updated_at',
charge_transaction_id: 'charge_transaction_id',
license_id: 'license_id'
} as const
export type PartnerAccountQuotaAllocationScalarFieldEnum = (typeof PartnerAccountQuotaAllocationScalarFieldEnum)[keyof typeof PartnerAccountQuotaAllocationScalarFieldEnum]
export const PartnerAccountScalarFieldEnum = {
@@ -3314,8 +3636,10 @@ export type ConsumerAccountOrderByRelevanceFieldEnum = (typeof ConsumerAccountOr
export const ConsumerOrderByRelevanceFieldEnum = {
id: 'id',
mobile_number: 'mobile_number',
national_code: 'national_code',
first_name: 'first_name',
last_name: 'last_name'
last_name: 'last_name',
partner_id: 'partner_id'
} as const
export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevanceFieldEnum)[keyof typeof ConsumerOrderByRelevanceFieldEnum]
@@ -3323,6 +3647,7 @@ export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevance
export const BusinessActivityOrderByRelevanceFieldEnum = {
id: 'id',
economic_code: 'economic_code',
name: 'name',
guild_id: 'guild_id',
consumer_id: 'consumer_id'
@@ -3334,8 +3659,8 @@ export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivity
export const ComplexOrderByRelevanceFieldEnum = {
id: 'id',
name: 'name',
branch_code: 'branch_code',
address: 'address',
tax_id: 'tax_id',
business_activity_id: 'business_activity_id'
} as const
@@ -3375,28 +3700,64 @@ export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFiel
export const LicenseOrderByRelevanceFieldEnum = {
id: 'id',
charged_license_transaction_id: 'charged_license_transaction_id'
charge_transaction_id: 'charge_transaction_id'
} as const
export type LicenseOrderByRelevanceFieldEnum = (typeof LicenseOrderByRelevanceFieldEnum)[keyof typeof LicenseOrderByRelevanceFieldEnum]
export const ActivatedLicenseOrderByRelevanceFieldEnum = {
export const LicenseActivationOrderByRelevanceFieldEnum = {
id: 'id',
license_id: 'license_id',
consumer_id: 'consumer_id'
business_activity_id: 'business_activity_id'
} as const
export type ActivatedLicenseOrderByRelevanceFieldEnum = (typeof ActivatedLicenseOrderByRelevanceFieldEnum)[keyof typeof ActivatedLicenseOrderByRelevanceFieldEnum]
export type LicenseActivationOrderByRelevanceFieldEnum = (typeof LicenseActivationOrderByRelevanceFieldEnum)[keyof typeof LicenseActivationOrderByRelevanceFieldEnum]
export const ChargedLicenseTransactionsOrderByRelevanceFieldEnum = {
export const LicenseChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type ChargedLicenseTransactionsOrderByRelevanceFieldEnum = (typeof ChargedLicenseTransactionsOrderByRelevanceFieldEnum)[keyof typeof ChargedLicenseTransactionsOrderByRelevanceFieldEnum]
export type LicenseChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseChargeTransactionOrderByRelevanceFieldEnum]
export const LicenseRenewOrderByRelevanceFieldEnum = {
id: 'id',
charge_transaction_id: 'charge_transaction_id',
activation_id: 'activation_id'
} as const
export type LicenseRenewOrderByRelevanceFieldEnum = (typeof LicenseRenewOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewOrderByRelevanceFieldEnum]
export const LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum]
export const PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum]
export const PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum = {
id: 'id',
charge_transaction_id: 'charge_transaction_id',
license_id: 'license_id'
} as const
export type PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum]
export const PartnerAccountOrderByRelevanceFieldEnum = {
@@ -3712,6 +4073,13 @@ export type EnumPOSTypeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaMo
/**
* Reference to a field of type 'Int'
*/
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
/**
* Reference to a field of type 'PartnerRole'
*/
@@ -3796,13 +4164,6 @@ export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$Prisma
/**
* Reference to a field of type 'Int'
*/
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
/**
* Reference to a field of type 'CustomerType'
*/
@@ -3950,8 +4311,12 @@ export type GlobalOmitConfig = {
deviceBrand?: Prisma.DeviceBrandOmit
device?: Prisma.DeviceOmit
license?: Prisma.LicenseOmit
activatedLicense?: Prisma.ActivatedLicenseOmit
chargedLicenseTransactions?: Prisma.ChargedLicenseTransactionsOmit
licenseActivation?: Prisma.LicenseActivationOmit
licenseChargeTransaction?: Prisma.LicenseChargeTransactionOmit
licenseRenew?: Prisma.LicenseRenewOmit
licenseRenewChargeTransaction?: Prisma.LicenseRenewChargeTransactionOmit
partnerAccountQuotaChargeTransaction?: Prisma.PartnerAccountQuotaChargeTransactionOmit
partnerAccountQuotaAllocation?: Prisma.PartnerAccountQuotaAllocationOmit
partnerAccount?: Prisma.PartnerAccountOmit
partner?: Prisma.PartnerOmit
permissionConsumer?: Prisma.PermissionConsumerOmit
@@ -62,8 +62,12 @@ export const ModelName = {
DeviceBrand: 'DeviceBrand',
Device: 'Device',
License: 'License',
ActivatedLicense: 'ActivatedLicense',
ChargedLicenseTransactions: 'ChargedLicenseTransactions',
LicenseActivation: 'LicenseActivation',
LicenseChargeTransaction: 'LicenseChargeTransaction',
LicenseRenew: 'LicenseRenew',
LicenseRenewChargeTransaction: 'LicenseRenewChargeTransaction',
PartnerAccountQuotaChargeTransaction: 'PartnerAccountQuotaChargeTransaction',
PartnerAccountQuotaAllocation: 'PartnerAccountQuotaAllocation',
PartnerAccount: 'PartnerAccount',
Partner: 'Partner',
PermissionConsumer: 'PermissionConsumer',
@@ -154,11 +158,13 @@ export type ConsumerAccountScalarFieldEnum = (typeof ConsumerAccountScalarFieldE
export const ConsumerScalarFieldEnum = {
id: 'id',
mobile_number: 'mobile_number',
national_code: 'national_code',
first_name: 'first_name',
last_name: 'last_name',
status: 'status',
created_at: 'created_at',
updated_at: 'updated_at'
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typeof ConsumerScalarFieldEnum]
@@ -166,6 +172,7 @@ export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typ
export const BusinessActivityScalarFieldEnum = {
id: 'id',
economic_code: 'economic_code',
name: 'name',
created_at: 'created_at',
updated_at: 'updated_at',
@@ -179,8 +186,8 @@ export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFiel
export const ComplexScalarFieldEnum = {
id: 'id',
name: 'name',
branch_code: 'branch_code',
address: 'address',
tax_id: 'tax_id',
created_at: 'created_at',
updated_at: 'updated_at',
business_activity_id: 'business_activity_id'
@@ -230,37 +237,88 @@ export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof
export const LicenseScalarFieldEnum = {
id: 'id',
accounts_limit: 'accounts_limit',
created_at: 'created_at',
updated_at: 'updated_at',
charged_license_transaction_id: 'charged_license_transaction_id'
charge_transaction_id: 'charge_transaction_id'
} as const
export type LicenseScalarFieldEnum = (typeof LicenseScalarFieldEnum)[keyof typeof LicenseScalarFieldEnum]
export const ActivatedLicenseScalarFieldEnum = {
export const LicenseActivationScalarFieldEnum = {
id: 'id',
starts_at: 'starts_at',
expires_at: 'expires_at',
created_at: 'created_at',
updated_at: 'updated_at',
license_id: 'license_id',
consumer_id: 'consumer_id'
business_activity_id: 'business_activity_id'
} as const
export type ActivatedLicenseScalarFieldEnum = (typeof ActivatedLicenseScalarFieldEnum)[keyof typeof ActivatedLicenseScalarFieldEnum]
export type LicenseActivationScalarFieldEnum = (typeof LicenseActivationScalarFieldEnum)[keyof typeof LicenseActivationScalarFieldEnum]
export const ChargedLicenseTransactionsScalarFieldEnum = {
export const LicenseChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type ChargedLicenseTransactionsScalarFieldEnum = (typeof ChargedLicenseTransactionsScalarFieldEnum)[keyof typeof ChargedLicenseTransactionsScalarFieldEnum]
export type LicenseChargeTransactionScalarFieldEnum = (typeof LicenseChargeTransactionScalarFieldEnum)[keyof typeof LicenseChargeTransactionScalarFieldEnum]
export const LicenseRenewScalarFieldEnum = {
id: 'id',
expires_at: 'expires_at',
created_at: 'created_at',
updated_at: 'updated_at',
charge_transaction_id: 'charge_transaction_id',
activation_id: 'activation_id'
} as const
export type LicenseRenewScalarFieldEnum = (typeof LicenseRenewScalarFieldEnum)[keyof typeof LicenseRenewScalarFieldEnum]
export const LicenseRenewChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type LicenseRenewChargeTransactionScalarFieldEnum = (typeof LicenseRenewChargeTransactionScalarFieldEnum)[keyof typeof LicenseRenewChargeTransactionScalarFieldEnum]
export const PartnerAccountQuotaChargeTransactionScalarFieldEnum = {
id: 'id',
activation_expires_at: 'activation_expires_at',
tracking_code: 'tracking_code',
purchased_count: 'purchased_count',
created_at: 'created_at',
updated_at: 'updated_at',
partner_id: 'partner_id'
} as const
export type PartnerAccountQuotaChargeTransactionScalarFieldEnum = (typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum]
export const PartnerAccountQuotaAllocationScalarFieldEnum = {
id: 'id',
created_at: 'created_at',
updated_at: 'updated_at',
charge_transaction_id: 'charge_transaction_id',
license_id: 'license_id'
} as const
export type PartnerAccountQuotaAllocationScalarFieldEnum = (typeof PartnerAccountQuotaAllocationScalarFieldEnum)[keyof typeof PartnerAccountQuotaAllocationScalarFieldEnum]
export const PartnerAccountScalarFieldEnum = {
@@ -631,8 +689,10 @@ export type ConsumerAccountOrderByRelevanceFieldEnum = (typeof ConsumerAccountOr
export const ConsumerOrderByRelevanceFieldEnum = {
id: 'id',
mobile_number: 'mobile_number',
national_code: 'national_code',
first_name: 'first_name',
last_name: 'last_name'
last_name: 'last_name',
partner_id: 'partner_id'
} as const
export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevanceFieldEnum)[keyof typeof ConsumerOrderByRelevanceFieldEnum]
@@ -640,6 +700,7 @@ export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevance
export const BusinessActivityOrderByRelevanceFieldEnum = {
id: 'id',
economic_code: 'economic_code',
name: 'name',
guild_id: 'guild_id',
consumer_id: 'consumer_id'
@@ -651,8 +712,8 @@ export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivity
export const ComplexOrderByRelevanceFieldEnum = {
id: 'id',
name: 'name',
branch_code: 'branch_code',
address: 'address',
tax_id: 'tax_id',
business_activity_id: 'business_activity_id'
} as const
@@ -692,28 +753,64 @@ export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFiel
export const LicenseOrderByRelevanceFieldEnum = {
id: 'id',
charged_license_transaction_id: 'charged_license_transaction_id'
charge_transaction_id: 'charge_transaction_id'
} as const
export type LicenseOrderByRelevanceFieldEnum = (typeof LicenseOrderByRelevanceFieldEnum)[keyof typeof LicenseOrderByRelevanceFieldEnum]
export const ActivatedLicenseOrderByRelevanceFieldEnum = {
export const LicenseActivationOrderByRelevanceFieldEnum = {
id: 'id',
license_id: 'license_id',
consumer_id: 'consumer_id'
business_activity_id: 'business_activity_id'
} as const
export type ActivatedLicenseOrderByRelevanceFieldEnum = (typeof ActivatedLicenseOrderByRelevanceFieldEnum)[keyof typeof ActivatedLicenseOrderByRelevanceFieldEnum]
export type LicenseActivationOrderByRelevanceFieldEnum = (typeof LicenseActivationOrderByRelevanceFieldEnum)[keyof typeof LicenseActivationOrderByRelevanceFieldEnum]
export const ChargedLicenseTransactionsOrderByRelevanceFieldEnum = {
export const LicenseChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type ChargedLicenseTransactionsOrderByRelevanceFieldEnum = (typeof ChargedLicenseTransactionsOrderByRelevanceFieldEnum)[keyof typeof ChargedLicenseTransactionsOrderByRelevanceFieldEnum]
export type LicenseChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseChargeTransactionOrderByRelevanceFieldEnum]
export const LicenseRenewOrderByRelevanceFieldEnum = {
id: 'id',
charge_transaction_id: 'charge_transaction_id',
activation_id: 'activation_id'
} as const
export type LicenseRenewOrderByRelevanceFieldEnum = (typeof LicenseRenewOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewOrderByRelevanceFieldEnum]
export const LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum]
export const PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = {
id: 'id',
tracking_code: 'tracking_code',
partner_id: 'partner_id'
} as const
export type PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum]
export const PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum = {
id: 'id',
charge_transaction_id: 'charge_transaction_id',
license_id: 'license_id'
} as const
export type PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaAllocationOrderByRelevanceFieldEnum]
export const PartnerAccountOrderByRelevanceFieldEnum = {