feat: refactor ComplexPosesService to remove unused defaultInsert method and improve findAll logic
fix: update PartnersService to use 'isNot' instead of 'not' for allocation checks refactor: enhance BusinessActivityComplexesService to validate license activation before creating a complex fix: adjust ComplexPosesService to ensure account allocation checks are accurate and handle errors properly refactor: modify ConsumerMiddleware to set consumerData instead of partnerData for better clarity feat: expand SaleInvoicesService to include additional fields in the invoice selection chore: update business-activities module to include accounts-charge module for better organization fix: ensure ComplexPosesService correctly handles account allocation during POS creation feat: implement PartnerBusinessActivityAccountsCharge module with create functionality for account charges refactor: streamline getPartnerBusinessActivityAllocationLimits utility for better clarity and functionality chore: add migration script to update database schema with necessary constraints and foreign keys feat: create DTO for accounts charge to validate incoming data
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -3221,8 +3221,8 @@ export const PosScalarFieldEnum = {
|
||||
updated_at: 'updated_at',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
account_id: 'account_id',
|
||||
provider_id: 'provider_id'
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
@@ -3329,8 +3329,7 @@ export const PartnerAccountQuotaCreditScalarFieldEnum = {
|
||||
id: 'id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
charge_transaction_id: 'charge_transaction_id',
|
||||
allocation_id: 'allocation_id'
|
||||
charge_transaction_id: 'charge_transaction_id'
|
||||
} as const
|
||||
|
||||
export type PartnerAccountQuotaCreditScalarFieldEnum = (typeof PartnerAccountQuotaCreditScalarFieldEnum)[keyof typeof PartnerAccountQuotaCreditScalarFieldEnum]
|
||||
@@ -3341,7 +3340,8 @@ export const LicenseAccountAllocationScalarFieldEnum = {
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
license_activation_id: 'license_activation_id',
|
||||
account_id: 'account_id'
|
||||
account_id: 'account_id',
|
||||
credit_id: 'credit_id'
|
||||
} as const
|
||||
|
||||
export type LicenseAccountAllocationScalarFieldEnum = (typeof LicenseAccountAllocationScalarFieldEnum)[keyof typeof LicenseAccountAllocationScalarFieldEnum]
|
||||
@@ -3754,8 +3754,8 @@ export const PosOrderByRelevanceFieldEnum = {
|
||||
serial_number: 'serial_number',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
account_id: 'account_id',
|
||||
provider_id: 'provider_id'
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
@@ -3834,8 +3834,7 @@ export type PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = (typ
|
||||
|
||||
export const PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
charge_transaction_id: 'charge_transaction_id',
|
||||
allocation_id: 'allocation_id'
|
||||
charge_transaction_id: 'charge_transaction_id'
|
||||
} as const
|
||||
|
||||
export type PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum]
|
||||
@@ -3844,7 +3843,8 @@ export type PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = (typeof Partner
|
||||
export const LicenseAccountAllocationOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
license_activation_id: 'license_activation_id',
|
||||
account_id: 'account_id'
|
||||
account_id: 'account_id',
|
||||
credit_id: 'credit_id'
|
||||
} as const
|
||||
|
||||
export type LicenseAccountAllocationOrderByRelevanceFieldEnum = (typeof LicenseAccountAllocationOrderByRelevanceFieldEnum)[keyof typeof LicenseAccountAllocationOrderByRelevanceFieldEnum]
|
||||
|
||||
@@ -208,8 +208,8 @@ export const PosScalarFieldEnum = {
|
||||
updated_at: 'updated_at',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
account_id: 'account_id',
|
||||
provider_id: 'provider_id'
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
||||
@@ -316,8 +316,7 @@ export const PartnerAccountQuotaCreditScalarFieldEnum = {
|
||||
id: 'id',
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
charge_transaction_id: 'charge_transaction_id',
|
||||
allocation_id: 'allocation_id'
|
||||
charge_transaction_id: 'charge_transaction_id'
|
||||
} as const
|
||||
|
||||
export type PartnerAccountQuotaCreditScalarFieldEnum = (typeof PartnerAccountQuotaCreditScalarFieldEnum)[keyof typeof PartnerAccountQuotaCreditScalarFieldEnum]
|
||||
@@ -328,7 +327,8 @@ export const LicenseAccountAllocationScalarFieldEnum = {
|
||||
created_at: 'created_at',
|
||||
updated_at: 'updated_at',
|
||||
license_activation_id: 'license_activation_id',
|
||||
account_id: 'account_id'
|
||||
account_id: 'account_id',
|
||||
credit_id: 'credit_id'
|
||||
} as const
|
||||
|
||||
export type LicenseAccountAllocationScalarFieldEnum = (typeof LicenseAccountAllocationScalarFieldEnum)[keyof typeof LicenseAccountAllocationScalarFieldEnum]
|
||||
@@ -741,8 +741,8 @@ export const PosOrderByRelevanceFieldEnum = {
|
||||
serial_number: 'serial_number',
|
||||
complex_id: 'complex_id',
|
||||
device_id: 'device_id',
|
||||
account_id: 'account_id',
|
||||
provider_id: 'provider_id'
|
||||
provider_id: 'provider_id',
|
||||
account_id: 'account_id'
|
||||
} as const
|
||||
|
||||
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
||||
@@ -821,8 +821,7 @@ export type PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = (typ
|
||||
|
||||
export const PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
charge_transaction_id: 'charge_transaction_id',
|
||||
allocation_id: 'allocation_id'
|
||||
charge_transaction_id: 'charge_transaction_id'
|
||||
} as const
|
||||
|
||||
export type PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum]
|
||||
@@ -831,7 +830,8 @@ export type PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = (typeof Partner
|
||||
export const LicenseAccountAllocationOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
license_activation_id: 'license_activation_id',
|
||||
account_id: 'account_id'
|
||||
account_id: 'account_id',
|
||||
credit_id: 'credit_id'
|
||||
} as const
|
||||
|
||||
export type LicenseAccountAllocationOrderByRelevanceFieldEnum = (typeof LicenseAccountAllocationOrderByRelevanceFieldEnum)[keyof typeof LicenseAccountAllocationOrderByRelevanceFieldEnum]
|
||||
|
||||
@@ -223,10 +223,11 @@ export type BusinessActivityOrderByWithRelationInput = {
|
||||
|
||||
export type BusinessActivityWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
economic_code?: string
|
||||
economic_code_consumer_id?: Prisma.BusinessActivityEconomic_codeConsumer_idCompoundUniqueInput
|
||||
AND?: Prisma.BusinessActivityWhereInput | Prisma.BusinessActivityWhereInput[]
|
||||
OR?: Prisma.BusinessActivityWhereInput[]
|
||||
NOT?: Prisma.BusinessActivityWhereInput | Prisma.BusinessActivityWhereInput[]
|
||||
economic_code?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
name?: Prisma.StringFilter<"BusinessActivity"> | string
|
||||
created_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"BusinessActivity"> | Date | string
|
||||
@@ -237,7 +238,7 @@ export type BusinessActivityWhereUniqueInput = Prisma.AtLeast<{
|
||||
complexes?: Prisma.ComplexListRelationFilter
|
||||
permission_businesses?: Prisma.PermissionBusinessListRelationFilter
|
||||
license_activation?: Prisma.XOR<Prisma.LicenseActivationNullableScalarRelationFilter, Prisma.LicenseActivationWhereInput> | null
|
||||
}, "id" | "economic_code">
|
||||
}, "id" | "economic_code_consumer_id">
|
||||
|
||||
export type BusinessActivityOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
@@ -361,6 +362,11 @@ export type BusinessActivityOrderByRelevanceInput = {
|
||||
search: string
|
||||
}
|
||||
|
||||
export type BusinessActivityEconomic_codeConsumer_idCompoundUniqueInput = {
|
||||
economic_code: string
|
||||
consumer_id: string
|
||||
}
|
||||
|
||||
export type BusinessActivityCountOrderByAggregateInput = {
|
||||
id?: Prisma.SortOrder
|
||||
economic_code?: Prisma.SortOrder
|
||||
|
||||
@@ -470,12 +470,10 @@ export type ConsumerAccountCreateNestedOneWithoutPosInput = {
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
}
|
||||
|
||||
export type ConsumerAccountUpdateOneWithoutPosNestedInput = {
|
||||
export type ConsumerAccountUpdateOneRequiredWithoutPosNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.ConsumerAccountCreateWithoutPosInput, Prisma.ConsumerAccountUncheckedCreateWithoutPosInput>
|
||||
connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPosInput
|
||||
upsert?: Prisma.ConsumerAccountUpsertWithoutPosInput
|
||||
disconnect?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
delete?: Prisma.ConsumerAccountWhereInput | boolean
|
||||
connect?: Prisma.ConsumerAccountWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.ConsumerAccountUpdateToOneWithWhereWithoutPosInput, Prisma.ConsumerAccountUpdateWithoutPosInput>, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput>
|
||||
}
|
||||
|
||||
@@ -30,6 +30,7 @@ export type LicenseAccountAllocationMinAggregateOutputType = {
|
||||
updated_at: Date | null
|
||||
license_activation_id: string | null
|
||||
account_id: string | null
|
||||
credit_id: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationMaxAggregateOutputType = {
|
||||
@@ -38,6 +39,7 @@ export type LicenseAccountAllocationMaxAggregateOutputType = {
|
||||
updated_at: Date | null
|
||||
license_activation_id: string | null
|
||||
account_id: string | null
|
||||
credit_id: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCountAggregateOutputType = {
|
||||
@@ -46,6 +48,7 @@ export type LicenseAccountAllocationCountAggregateOutputType = {
|
||||
updated_at: number
|
||||
license_activation_id: number
|
||||
account_id: number
|
||||
credit_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -56,6 +59,7 @@ export type LicenseAccountAllocationMinAggregateInputType = {
|
||||
updated_at?: true
|
||||
license_activation_id?: true
|
||||
account_id?: true
|
||||
credit_id?: true
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationMaxAggregateInputType = {
|
||||
@@ -64,6 +68,7 @@ export type LicenseAccountAllocationMaxAggregateInputType = {
|
||||
updated_at?: true
|
||||
license_activation_id?: true
|
||||
account_id?: true
|
||||
credit_id?: true
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCountAggregateInputType = {
|
||||
@@ -72,6 +77,7 @@ export type LicenseAccountAllocationCountAggregateInputType = {
|
||||
updated_at?: true
|
||||
license_activation_id?: true
|
||||
account_id?: true
|
||||
credit_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -153,6 +159,7 @@ export type LicenseAccountAllocationGroupByOutputType = {
|
||||
updated_at: Date
|
||||
license_activation_id: string | null
|
||||
account_id: string | null
|
||||
credit_id: string | null
|
||||
_count: LicenseAccountAllocationCountAggregateOutputType | null
|
||||
_min: LicenseAccountAllocationMinAggregateOutputType | null
|
||||
_max: LicenseAccountAllocationMaxAggregateOutputType | null
|
||||
@@ -182,9 +189,10 @@ export type LicenseAccountAllocationWhereInput = {
|
||||
updated_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
|
||||
license_activation_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
account_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
credit_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
license_activation?: Prisma.XOR<Prisma.LicenseActivationNullableScalarRelationFilter, Prisma.LicenseActivationWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountNullableScalarRelationFilter, Prisma.ConsumerAccountWhereInput> | null
|
||||
partner_account_quota_credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
|
||||
credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationOrderByWithRelationInput = {
|
||||
@@ -193,15 +201,17 @@ export type LicenseAccountAllocationOrderByWithRelationInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
license_activation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
credit_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
license_activation?: Prisma.LicenseActivationOrderByWithRelationInput
|
||||
account?: Prisma.ConsumerAccountOrderByWithRelationInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditOrderByWithRelationInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditOrderByWithRelationInput
|
||||
_relevance?: Prisma.LicenseAccountAllocationOrderByRelevanceInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
account_id?: string
|
||||
credit_id?: string
|
||||
AND?: Prisma.LicenseAccountAllocationWhereInput | Prisma.LicenseAccountAllocationWhereInput[]
|
||||
OR?: Prisma.LicenseAccountAllocationWhereInput[]
|
||||
NOT?: Prisma.LicenseAccountAllocationWhereInput | Prisma.LicenseAccountAllocationWhereInput[]
|
||||
@@ -210,8 +220,8 @@ export type LicenseAccountAllocationWhereUniqueInput = Prisma.AtLeast<{
|
||||
license_activation_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
license_activation?: Prisma.XOR<Prisma.LicenseActivationNullableScalarRelationFilter, Prisma.LicenseActivationWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountNullableScalarRelationFilter, Prisma.ConsumerAccountWhereInput> | null
|
||||
partner_account_quota_credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
|
||||
}, "id" | "account_id">
|
||||
credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
|
||||
}, "id" | "account_id" | "credit_id">
|
||||
|
||||
export type LicenseAccountAllocationOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
@@ -219,6 +229,7 @@ export type LicenseAccountAllocationOrderByWithAggregationInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
license_activation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
credit_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.LicenseAccountAllocationCountOrderByAggregateInput
|
||||
_max?: Prisma.LicenseAccountAllocationMaxOrderByAggregateInput
|
||||
_min?: Prisma.LicenseAccountAllocationMinOrderByAggregateInput
|
||||
@@ -233,6 +244,7 @@ export type LicenseAccountAllocationScalarWhereWithAggregatesInput = {
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"LicenseAccountAllocation"> | Date | string
|
||||
license_activation_id?: Prisma.StringNullableWithAggregatesFilter<"LicenseAccountAllocation"> | string | null
|
||||
account_id?: Prisma.StringNullableWithAggregatesFilter<"LicenseAccountAllocation"> | string | null
|
||||
credit_id?: Prisma.StringNullableWithAggregatesFilter<"LicenseAccountAllocation"> | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateInput = {
|
||||
@@ -241,7 +253,7 @@ export type LicenseAccountAllocationCreateInput = {
|
||||
updated_at?: Date | string
|
||||
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateInput = {
|
||||
@@ -250,7 +262,7 @@ export type LicenseAccountAllocationUncheckedCreateInput = {
|
||||
updated_at?: Date | string
|
||||
license_activation_id?: string | null
|
||||
account_id?: string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedCreateNestedOneWithoutAllocationInput
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateInput = {
|
||||
@@ -259,7 +271,7 @@ export type LicenseAccountAllocationUpdateInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateInput = {
|
||||
@@ -268,7 +280,7 @@ export type LicenseAccountAllocationUncheckedUpdateInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedUpdateOneWithoutAllocationNestedInput
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateManyInput = {
|
||||
@@ -277,6 +289,7 @@ export type LicenseAccountAllocationCreateManyInput = {
|
||||
updated_at?: Date | string
|
||||
license_activation_id?: string | null
|
||||
account_id?: string | null
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateManyMutationInput = {
|
||||
@@ -291,6 +304,7 @@ export type LicenseAccountAllocationUncheckedUpdateManyInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationNullableScalarRelationFilter = {
|
||||
@@ -320,6 +334,7 @@ export type LicenseAccountAllocationCountOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
license_activation_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
credit_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationMaxOrderByAggregateInput = {
|
||||
@@ -328,6 +343,7 @@ export type LicenseAccountAllocationMaxOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
license_activation_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
credit_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationMinOrderByAggregateInput = {
|
||||
@@ -336,6 +352,7 @@ export type LicenseAccountAllocationMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
license_activation_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
credit_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateNestedOneWithoutAccountInput = {
|
||||
@@ -412,20 +429,36 @@ export type LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activation
|
||||
deleteMany?: Prisma.LicenseAccountAllocationScalarWhereInput | Prisma.LicenseAccountAllocationScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateNestedOneWithoutPartner_account_quota_creditInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_creditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutPartner_account_quota_creditInput
|
||||
export type LicenseAccountAllocationCreateNestedOneWithoutCreditInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateOneWithoutPartner_account_quota_creditNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_creditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutPartner_account_quota_creditInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutPartner_account_quota_creditInput
|
||||
export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutCreditInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateOneWithoutCreditNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutCreditInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUpdateWithoutPartner_account_quota_creditInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutPartner_account_quota_creditInput>
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput, Prisma.LicenseAccountAllocationUpdateWithoutCreditInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateOneWithoutCreditNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput
|
||||
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutCreditInput
|
||||
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
|
||||
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput, Prisma.LicenseAccountAllocationUpdateWithoutCreditInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutAccountInput = {
|
||||
@@ -433,7 +466,7 @@ export type LicenseAccountAllocationCreateWithoutAccountInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutAccountInput = {
|
||||
@@ -441,7 +474,7 @@ export type LicenseAccountAllocationUncheckedCreateWithoutAccountInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
license_activation_id?: string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedCreateNestedOneWithoutAllocationInput
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutAccountInput = {
|
||||
@@ -465,7 +498,7 @@ export type LicenseAccountAllocationUpdateWithoutAccountInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutAccountInput = {
|
||||
@@ -473,7 +506,7 @@ export type LicenseAccountAllocationUncheckedUpdateWithoutAccountInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedUpdateOneWithoutAllocationNestedInput
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutLicense_activationInput = {
|
||||
@@ -481,7 +514,7 @@ export type LicenseAccountAllocationCreateWithoutLicense_activationInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput = {
|
||||
@@ -489,7 +522,7 @@ export type LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInpu
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id?: string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedCreateNestedOneWithoutAllocationInput
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput = {
|
||||
@@ -527,9 +560,10 @@ export type LicenseAccountAllocationScalarWhereInput = {
|
||||
updated_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
|
||||
license_activation_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
account_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
credit_id?: Prisma.StringNullableFilter<"LicenseAccountAllocation"> | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationCreateWithoutCreditInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -537,7 +571,7 @@ export type LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInp
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationUncheckedCreateWithoutCreditInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
@@ -545,23 +579,23 @@ export type LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_
|
||||
account_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationCreateOrConnectWithoutCreditInput = {
|
||||
where: Prisma.LicenseAccountAllocationWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_creditInput>
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpsertWithoutPartner_account_quota_creditInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutPartner_account_quota_creditInput>
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutPartner_account_quota_creditInput>
|
||||
export type LicenseAccountAllocationUpsertWithoutCreditInput = {
|
||||
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
|
||||
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput = {
|
||||
where?: Prisma.LicenseAccountAllocationWhereInput
|
||||
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutPartner_account_quota_creditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutPartner_account_quota_creditInput>
|
||||
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationUpdateWithoutCreditInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -569,7 +603,7 @@ export type LicenseAccountAllocationUpdateWithoutPartner_account_quota_creditInp
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutPartner_account_quota_creditInput = {
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutCreditInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
@@ -582,6 +616,7 @@ export type LicenseAccountAllocationCreateManyLicense_activationInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
account_id?: string | null
|
||||
credit_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUpdateWithoutLicense_activationInput = {
|
||||
@@ -589,7 +624,7 @@ export type LicenseAccountAllocationUpdateWithoutLicense_activationInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateWithoutLicense_activationInput = {
|
||||
@@ -597,7 +632,7 @@ export type LicenseAccountAllocationUncheckedUpdateWithoutLicense_activationInpu
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
partner_account_quota_credit?: Prisma.PartnerAccountQuotaCreditUncheckedUpdateOneWithoutAllocationNestedInput
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationInput = {
|
||||
@@ -605,6 +640,7 @@ export type LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activation
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -615,9 +651,10 @@ export type LicenseAccountAllocationSelect<ExtArgs extends runtime.Types.Extensi
|
||||
updated_at?: boolean
|
||||
license_activation_id?: boolean
|
||||
account_id?: boolean
|
||||
credit_id?: boolean
|
||||
license_activation?: boolean | Prisma.LicenseAccountAllocation$license_activationArgs<ExtArgs>
|
||||
account?: boolean | Prisma.LicenseAccountAllocation$accountArgs<ExtArgs>
|
||||
partner_account_quota_credit?: boolean | Prisma.LicenseAccountAllocation$partner_account_quota_creditArgs<ExtArgs>
|
||||
credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["licenseAccountAllocation"]>
|
||||
|
||||
|
||||
@@ -628,13 +665,14 @@ export type LicenseAccountAllocationSelectScalar = {
|
||||
updated_at?: boolean
|
||||
license_activation_id?: boolean
|
||||
account_id?: boolean
|
||||
credit_id?: boolean
|
||||
}
|
||||
|
||||
export type LicenseAccountAllocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "license_activation_id" | "account_id", ExtArgs["result"]["licenseAccountAllocation"]>
|
||||
export type LicenseAccountAllocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "license_activation_id" | "account_id" | "credit_id", ExtArgs["result"]["licenseAccountAllocation"]>
|
||||
export type LicenseAccountAllocationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
license_activation?: boolean | Prisma.LicenseAccountAllocation$license_activationArgs<ExtArgs>
|
||||
account?: boolean | Prisma.LicenseAccountAllocation$accountArgs<ExtArgs>
|
||||
partner_account_quota_credit?: boolean | Prisma.LicenseAccountAllocation$partner_account_quota_creditArgs<ExtArgs>
|
||||
credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $LicenseAccountAllocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
@@ -642,7 +680,7 @@ export type $LicenseAccountAllocationPayload<ExtArgs extends runtime.Types.Exten
|
||||
objects: {
|
||||
license_activation: Prisma.$LicenseActivationPayload<ExtArgs> | null
|
||||
account: Prisma.$ConsumerAccountPayload<ExtArgs> | null
|
||||
partner_account_quota_credit: Prisma.$PartnerAccountQuotaCreditPayload<ExtArgs> | null
|
||||
credit: Prisma.$PartnerAccountQuotaCreditPayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -650,6 +688,7 @@ export type $LicenseAccountAllocationPayload<ExtArgs extends runtime.Types.Exten
|
||||
updated_at: Date
|
||||
license_activation_id: string | null
|
||||
account_id: string | null
|
||||
credit_id: string | null
|
||||
}, ExtArgs["result"]["licenseAccountAllocation"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -992,7 +1031,7 @@ export interface Prisma__LicenseAccountAllocationClient<T, Null = never, ExtArgs
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
license_activation<T extends Prisma.LicenseAccountAllocation$license_activationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseAccountAllocation$license_activationArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
account<T extends Prisma.LicenseAccountAllocation$accountArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseAccountAllocation$accountArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
partner_account_quota_credit<T extends Prisma.LicenseAccountAllocation$partner_account_quota_creditArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseAccountAllocation$partner_account_quota_creditArgs<ExtArgs>>): Prisma.Prisma__PartnerAccountQuotaCreditClient<runtime.Types.Result.GetResult<Prisma.$PartnerAccountQuotaCreditPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
credit<T extends Prisma.LicenseAccountAllocation$creditArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseAccountAllocation$creditArgs<ExtArgs>>): Prisma.Prisma__PartnerAccountQuotaCreditClient<runtime.Types.Result.GetResult<Prisma.$PartnerAccountQuotaCreditPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1027,6 +1066,7 @@ export interface LicenseAccountAllocationFieldRefs {
|
||||
readonly updated_at: Prisma.FieldRef<"LicenseAccountAllocation", 'DateTime'>
|
||||
readonly license_activation_id: Prisma.FieldRef<"LicenseAccountAllocation", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"LicenseAccountAllocation", 'String'>
|
||||
readonly credit_id: Prisma.FieldRef<"LicenseAccountAllocation", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -1413,9 +1453,9 @@ export type LicenseAccountAllocation$accountArgs<ExtArgs extends runtime.Types.E
|
||||
}
|
||||
|
||||
/**
|
||||
* LicenseAccountAllocation.partner_account_quota_credit
|
||||
* LicenseAccountAllocation.credit
|
||||
*/
|
||||
export type LicenseAccountAllocation$partner_account_quota_creditArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
export type LicenseAccountAllocation$creditArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the PartnerAccountQuotaCredit
|
||||
*/
|
||||
|
||||
@@ -379,11 +379,6 @@ export type LicenseActivationMinOrderByAggregateInput = {
|
||||
business_activity_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type LicenseActivationScalarRelationFilter = {
|
||||
is?: Prisma.LicenseActivationWhereInput
|
||||
isNot?: Prisma.LicenseActivationWhereInput
|
||||
}
|
||||
|
||||
export type LicenseActivationCreateNestedOneWithoutBusiness_activityInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutBusiness_activityInput, Prisma.LicenseActivationUncheckedCreateWithoutBusiness_activityInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutBusiness_activityInput
|
||||
@@ -454,10 +449,12 @@ export type LicenseActivationCreateNestedOneWithoutLicense_renewsInput = {
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
}
|
||||
|
||||
export type LicenseActivationUpdateOneRequiredWithoutLicense_renewsNestedInput = {
|
||||
export type LicenseActivationUpdateOneWithoutLicense_renewsNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.LicenseActivationCreateWithoutLicense_renewsInput, Prisma.LicenseActivationUncheckedCreateWithoutLicense_renewsInput>
|
||||
connectOrCreate?: Prisma.LicenseActivationCreateOrConnectWithoutLicense_renewsInput
|
||||
upsert?: Prisma.LicenseActivationUpsertWithoutLicense_renewsInput
|
||||
disconnect?: Prisma.LicenseActivationWhereInput | boolean
|
||||
delete?: Prisma.LicenseActivationWhereInput | boolean
|
||||
connect?: Prisma.LicenseActivationWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseActivationUpdateToOneWithWhereWithoutLicense_renewsInput, Prisma.LicenseActivationUpdateWithoutLicense_renewsInput>, Prisma.LicenseActivationUncheckedUpdateWithoutLicense_renewsInput>
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ export type LicenseRenewGroupByOutputType = {
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
charge_transaction_id: string
|
||||
activation_id: string
|
||||
activation_id: string | null
|
||||
_count: LicenseRenewCountAggregateOutputType | null
|
||||
_min: LicenseRenewMinAggregateOutputType | null
|
||||
_max: LicenseRenewMaxAggregateOutputType | null
|
||||
@@ -189,9 +189,9 @@ export type LicenseRenewWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringNullableFilter<"LicenseRenew"> | string | null
|
||||
charge_transaction?: Prisma.XOR<Prisma.LicenseRenewChargeTransactionScalarRelationFilter, Prisma.LicenseRenewChargeTransactionWhereInput>
|
||||
activation?: Prisma.XOR<Prisma.LicenseActivationScalarRelationFilter, Prisma.LicenseActivationWhereInput>
|
||||
activation?: Prisma.XOR<Prisma.LicenseActivationNullableScalarRelationFilter, Prisma.LicenseActivationWhereInput> | null
|
||||
}
|
||||
|
||||
export type LicenseRenewOrderByWithRelationInput = {
|
||||
@@ -200,7 +200,7 @@ export type LicenseRenewOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrder
|
||||
activation_id?: Prisma.SortOrder
|
||||
activation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
charge_transaction?: Prisma.LicenseRenewChargeTransactionOrderByWithRelationInput
|
||||
activation?: Prisma.LicenseActivationOrderByWithRelationInput
|
||||
_relevance?: Prisma.LicenseRenewOrderByRelevanceInput
|
||||
@@ -215,9 +215,9 @@ export type LicenseRenewWhereUniqueInput = Prisma.AtLeast<{
|
||||
created_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringNullableFilter<"LicenseRenew"> | string | null
|
||||
charge_transaction?: Prisma.XOR<Prisma.LicenseRenewChargeTransactionScalarRelationFilter, Prisma.LicenseRenewChargeTransactionWhereInput>
|
||||
activation?: Prisma.XOR<Prisma.LicenseActivationScalarRelationFilter, Prisma.LicenseActivationWhereInput>
|
||||
activation?: Prisma.XOR<Prisma.LicenseActivationNullableScalarRelationFilter, Prisma.LicenseActivationWhereInput> | null
|
||||
}, "id">
|
||||
|
||||
export type LicenseRenewOrderByWithAggregationInput = {
|
||||
@@ -226,7 +226,7 @@ export type LicenseRenewOrderByWithAggregationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrder
|
||||
activation_id?: Prisma.SortOrder
|
||||
activation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.LicenseRenewCountOrderByAggregateInput
|
||||
_max?: Prisma.LicenseRenewMaxOrderByAggregateInput
|
||||
_min?: Prisma.LicenseRenewMinOrderByAggregateInput
|
||||
@@ -241,7 +241,7 @@ export type LicenseRenewScalarWhereWithAggregatesInput = {
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"LicenseRenew"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"LicenseRenew"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringWithAggregatesFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringWithAggregatesFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringNullableWithAggregatesFilter<"LicenseRenew"> | string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewCreateInput = {
|
||||
@@ -250,7 +250,7 @@ export type LicenseRenewCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction: Prisma.LicenseRenewChargeTransactionCreateNestedOneWithoutLicense_renewsInput
|
||||
activation: Prisma.LicenseActivationCreateNestedOneWithoutLicense_renewsInput
|
||||
activation?: Prisma.LicenseActivationCreateNestedOneWithoutLicense_renewsInput
|
||||
}
|
||||
|
||||
export type LicenseRenewUncheckedCreateInput = {
|
||||
@@ -259,7 +259,7 @@ export type LicenseRenewUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction_id: string
|
||||
activation_id: string
|
||||
activation_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewUpdateInput = {
|
||||
@@ -268,7 +268,7 @@ export type LicenseRenewUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction?: Prisma.LicenseRenewChargeTransactionUpdateOneRequiredWithoutLicense_renewsNestedInput
|
||||
activation?: Prisma.LicenseActivationUpdateOneRequiredWithoutLicense_renewsNestedInput
|
||||
activation?: Prisma.LicenseActivationUpdateOneWithoutLicense_renewsNestedInput
|
||||
}
|
||||
|
||||
export type LicenseRenewUncheckedUpdateInput = {
|
||||
@@ -277,7 +277,7 @@ export type LicenseRenewUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewCreateManyInput = {
|
||||
@@ -286,7 +286,7 @@ export type LicenseRenewCreateManyInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction_id: string
|
||||
activation_id: string
|
||||
activation_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewUpdateManyMutationInput = {
|
||||
@@ -302,7 +302,7 @@ export type LicenseRenewUncheckedUpdateManyInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewListRelationFilter = {
|
||||
@@ -483,7 +483,7 @@ export type LicenseRenewScalarWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"LicenseRenew"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringFilter<"LicenseRenew"> | string
|
||||
activation_id?: Prisma.StringNullableFilter<"LicenseRenew"> | string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewCreateWithoutCharge_transactionInput = {
|
||||
@@ -491,7 +491,7 @@ export type LicenseRenewCreateWithoutCharge_transactionInput = {
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
activation: Prisma.LicenseActivationCreateNestedOneWithoutLicense_renewsInput
|
||||
activation?: Prisma.LicenseActivationCreateNestedOneWithoutLicense_renewsInput
|
||||
}
|
||||
|
||||
export type LicenseRenewUncheckedCreateWithoutCharge_transactionInput = {
|
||||
@@ -499,7 +499,7 @@ export type LicenseRenewUncheckedCreateWithoutCharge_transactionInput = {
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
activation_id: string
|
||||
activation_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewCreateOrConnectWithoutCharge_transactionInput = {
|
||||
@@ -565,7 +565,7 @@ export type LicenseRenewCreateManyCharge_transactionInput = {
|
||||
expires_at: Date | string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
activation_id: string
|
||||
activation_id?: string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewUpdateWithoutCharge_transactionInput = {
|
||||
@@ -573,7 +573,7 @@ export type LicenseRenewUpdateWithoutCharge_transactionInput = {
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
activation?: Prisma.LicenseActivationUpdateOneRequiredWithoutLicense_renewsNestedInput
|
||||
activation?: Prisma.LicenseActivationUpdateOneWithoutLicense_renewsNestedInput
|
||||
}
|
||||
|
||||
export type LicenseRenewUncheckedUpdateWithoutCharge_transactionInput = {
|
||||
@@ -581,7 +581,7 @@ export type LicenseRenewUncheckedUpdateWithoutCharge_transactionInput = {
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
activation_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type LicenseRenewUncheckedUpdateManyWithoutCharge_transactionInput = {
|
||||
@@ -589,7 +589,7 @@ export type LicenseRenewUncheckedUpdateManyWithoutCharge_transactionInput = {
|
||||
expires_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
activation_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -602,7 +602,7 @@ export type LicenseRenewSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
charge_transaction_id?: boolean
|
||||
activation_id?: boolean
|
||||
charge_transaction?: boolean | Prisma.LicenseRenewChargeTransactionDefaultArgs<ExtArgs>
|
||||
activation?: boolean | Prisma.LicenseActivationDefaultArgs<ExtArgs>
|
||||
activation?: boolean | Prisma.LicenseRenew$activationArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["licenseRenew"]>
|
||||
|
||||
|
||||
@@ -619,14 +619,14 @@ export type LicenseRenewSelectScalar = {
|
||||
export type LicenseRenewOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "expires_at" | "created_at" | "updated_at" | "charge_transaction_id" | "activation_id", ExtArgs["result"]["licenseRenew"]>
|
||||
export type LicenseRenewInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
charge_transaction?: boolean | Prisma.LicenseRenewChargeTransactionDefaultArgs<ExtArgs>
|
||||
activation?: boolean | Prisma.LicenseActivationDefaultArgs<ExtArgs>
|
||||
activation?: boolean | Prisma.LicenseRenew$activationArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $LicenseRenewPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "LicenseRenew"
|
||||
objects: {
|
||||
charge_transaction: Prisma.$LicenseRenewChargeTransactionPayload<ExtArgs>
|
||||
activation: Prisma.$LicenseActivationPayload<ExtArgs>
|
||||
activation: Prisma.$LicenseActivationPayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
@@ -634,7 +634,7 @@ export type $LicenseRenewPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
charge_transaction_id: string
|
||||
activation_id: string
|
||||
activation_id: string | null
|
||||
}, ExtArgs["result"]["licenseRenew"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -976,7 +976,7 @@ readonly fields: LicenseRenewFieldRefs;
|
||||
export interface Prisma__LicenseRenewClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
charge_transaction<T extends Prisma.LicenseRenewChargeTransactionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseRenewChargeTransactionDefaultArgs<ExtArgs>>): Prisma.Prisma__LicenseRenewChargeTransactionClient<runtime.Types.Result.GetResult<Prisma.$LicenseRenewChargeTransactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
activation<T extends Prisma.LicenseActivationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseActivationDefaultArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
activation<T extends Prisma.LicenseRenew$activationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.LicenseRenew$activationArgs<ExtArgs>>): Prisma.Prisma__LicenseActivationClient<runtime.Types.Result.GetResult<Prisma.$LicenseActivationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
/**
|
||||
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
||||
* @param onfulfilled The callback to execute when the Promise is resolved.
|
||||
@@ -1359,6 +1359,25 @@ export type LicenseRenewDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.
|
||||
limit?: number
|
||||
}
|
||||
|
||||
/**
|
||||
* LicenseRenew.activation
|
||||
*/
|
||||
export type LicenseRenew$activationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the LicenseActivation
|
||||
*/
|
||||
select?: Prisma.LicenseActivationSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the LicenseActivation
|
||||
*/
|
||||
omit?: Prisma.LicenseActivationOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.LicenseActivationInclude<ExtArgs> | null
|
||||
where?: Prisma.LicenseActivationWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* LicenseRenew without action
|
||||
*/
|
||||
|
||||
@@ -208,7 +208,6 @@ export type PartnerAccountOrderByWithRelationInput = {
|
||||
|
||||
export type PartnerAccountWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
partner_id?: string
|
||||
account_id?: string
|
||||
AND?: Prisma.PartnerAccountWhereInput | Prisma.PartnerAccountWhereInput[]
|
||||
OR?: Prisma.PartnerAccountWhereInput[]
|
||||
@@ -216,9 +215,10 @@ export type PartnerAccountWhereUniqueInput = Prisma.AtLeast<{
|
||||
role?: Prisma.EnumPartnerRoleFilter<"PartnerAccount"> | $Enums.PartnerRole
|
||||
created_at?: Prisma.DateTimeFilter<"PartnerAccount"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"PartnerAccount"> | Date | string
|
||||
partner_id?: Prisma.StringFilter<"PartnerAccount"> | string
|
||||
partner?: Prisma.XOR<Prisma.PartnerScalarRelationFilter, Prisma.PartnerWhereInput>
|
||||
account?: Prisma.XOR<Prisma.AccountScalarRelationFilter, Prisma.AccountWhereInput>
|
||||
}, "id" | "partner_id" | "account_id">
|
||||
}, "id" | "account_id">
|
||||
|
||||
export type PartnerAccountOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
|
||||
@@ -29,7 +29,6 @@ export type PartnerAccountQuotaCreditMinAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
charge_transaction_id: string | null
|
||||
allocation_id: string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditMaxAggregateOutputType = {
|
||||
@@ -37,7 +36,6 @@ export type PartnerAccountQuotaCreditMaxAggregateOutputType = {
|
||||
created_at: Date | null
|
||||
updated_at: Date | null
|
||||
charge_transaction_id: string | null
|
||||
allocation_id: string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCountAggregateOutputType = {
|
||||
@@ -45,7 +43,6 @@ export type PartnerAccountQuotaCreditCountAggregateOutputType = {
|
||||
created_at: number
|
||||
updated_at: number
|
||||
charge_transaction_id: number
|
||||
allocation_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -55,7 +52,6 @@ export type PartnerAccountQuotaCreditMinAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
charge_transaction_id?: true
|
||||
allocation_id?: true
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditMaxAggregateInputType = {
|
||||
@@ -63,7 +59,6 @@ export type PartnerAccountQuotaCreditMaxAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
charge_transaction_id?: true
|
||||
allocation_id?: true
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCountAggregateInputType = {
|
||||
@@ -71,7 +66,6 @@ export type PartnerAccountQuotaCreditCountAggregateInputType = {
|
||||
created_at?: true
|
||||
updated_at?: true
|
||||
charge_transaction_id?: true
|
||||
allocation_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -152,7 +146,6 @@ export type PartnerAccountQuotaCreditGroupByOutputType = {
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
charge_transaction_id: string | null
|
||||
allocation_id: string | null
|
||||
_count: PartnerAccountQuotaCreditCountAggregateOutputType | null
|
||||
_min: PartnerAccountQuotaCreditMinAggregateOutputType | null
|
||||
_max: PartnerAccountQuotaCreditMaxAggregateOutputType | null
|
||||
@@ -181,7 +174,6 @@ export type PartnerAccountQuotaCreditWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringNullableFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
allocation_id?: Prisma.StringNullableFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
charge_transaction?: Prisma.XOR<Prisma.PartnerAccountQuotaChargeTransactionNullableScalarRelationFilter, Prisma.PartnerAccountQuotaChargeTransactionWhereInput> | null
|
||||
allocation?: Prisma.XOR<Prisma.LicenseAccountAllocationNullableScalarRelationFilter, Prisma.LicenseAccountAllocationWhereInput> | null
|
||||
}
|
||||
@@ -191,7 +183,6 @@ export type PartnerAccountQuotaCreditOrderByWithRelationInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
allocation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
charge_transaction?: Prisma.PartnerAccountQuotaChargeTransactionOrderByWithRelationInput
|
||||
allocation?: Prisma.LicenseAccountAllocationOrderByWithRelationInput
|
||||
_relevance?: Prisma.PartnerAccountQuotaCreditOrderByRelevanceInput
|
||||
@@ -199,7 +190,6 @@ export type PartnerAccountQuotaCreditOrderByWithRelationInput = {
|
||||
|
||||
export type PartnerAccountQuotaCreditWhereUniqueInput = Prisma.AtLeast<{
|
||||
id?: string
|
||||
allocation_id?: string
|
||||
AND?: Prisma.PartnerAccountQuotaCreditWhereInput | Prisma.PartnerAccountQuotaCreditWhereInput[]
|
||||
OR?: Prisma.PartnerAccountQuotaCreditWhereInput[]
|
||||
NOT?: Prisma.PartnerAccountQuotaCreditWhereInput | Prisma.PartnerAccountQuotaCreditWhereInput[]
|
||||
@@ -208,14 +198,13 @@ export type PartnerAccountQuotaCreditWhereUniqueInput = Prisma.AtLeast<{
|
||||
charge_transaction_id?: Prisma.StringNullableFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
charge_transaction?: Prisma.XOR<Prisma.PartnerAccountQuotaChargeTransactionNullableScalarRelationFilter, Prisma.PartnerAccountQuotaChargeTransactionWhereInput> | null
|
||||
allocation?: Prisma.XOR<Prisma.LicenseAccountAllocationNullableScalarRelationFilter, Prisma.LicenseAccountAllocationWhereInput> | null
|
||||
}, "id" | "allocation_id">
|
||||
}, "id">
|
||||
|
||||
export type PartnerAccountQuotaCreditOrderByWithAggregationInput = {
|
||||
id?: Prisma.SortOrder
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
allocation_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
_count?: Prisma.PartnerAccountQuotaCreditCountOrderByAggregateInput
|
||||
_max?: Prisma.PartnerAccountQuotaCreditMaxOrderByAggregateInput
|
||||
_min?: Prisma.PartnerAccountQuotaCreditMinOrderByAggregateInput
|
||||
@@ -229,7 +218,6 @@ export type PartnerAccountQuotaCreditScalarWhereWithAggregatesInput = {
|
||||
created_at?: Prisma.DateTimeWithAggregatesFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringNullableWithAggregatesFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
allocation_id?: Prisma.StringNullableWithAggregatesFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCreateInput = {
|
||||
@@ -237,7 +225,7 @@ export type PartnerAccountQuotaCreditCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction?: Prisma.PartnerAccountQuotaChargeTransactionCreateNestedOneWithoutCreditsInput
|
||||
allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutPartner_account_quota_creditInput
|
||||
allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutCreditInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedCreateInput = {
|
||||
@@ -245,7 +233,7 @@ export type PartnerAccountQuotaCreditUncheckedCreateInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction_id?: string | null
|
||||
allocation_id?: string | null
|
||||
allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutCreditInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUpdateInput = {
|
||||
@@ -253,7 +241,7 @@ export type PartnerAccountQuotaCreditUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction?: Prisma.PartnerAccountQuotaChargeTransactionUpdateOneWithoutCreditsNestedInput
|
||||
allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutPartner_account_quota_creditNestedInput
|
||||
allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutCreditNestedInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedUpdateInput = {
|
||||
@@ -261,7 +249,7 @@ export type PartnerAccountQuotaCreditUncheckedUpdateInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
allocation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutCreditNestedInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCreateManyInput = {
|
||||
@@ -269,7 +257,6 @@ export type PartnerAccountQuotaCreditCreateManyInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
charge_transaction_id?: string | null
|
||||
allocation_id?: string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUpdateManyMutationInput = {
|
||||
@@ -283,7 +270,6 @@ export type PartnerAccountQuotaCreditUncheckedUpdateManyInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
charge_transaction_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
allocation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditListRelationFilter = {
|
||||
@@ -307,7 +293,6 @@ export type PartnerAccountQuotaCreditCountOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrder
|
||||
allocation_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditMaxOrderByAggregateInput = {
|
||||
@@ -315,7 +300,6 @@ export type PartnerAccountQuotaCreditMaxOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrder
|
||||
allocation_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditMinOrderByAggregateInput = {
|
||||
@@ -323,7 +307,6 @@ export type PartnerAccountQuotaCreditMinOrderByAggregateInput = {
|
||||
created_at?: Prisma.SortOrder
|
||||
updated_at?: Prisma.SortOrder
|
||||
charge_transaction_id?: Prisma.SortOrder
|
||||
allocation_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditNullableScalarRelationFilter = {
|
||||
@@ -379,12 +362,6 @@ export type PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput = {
|
||||
connect?: Prisma.PartnerAccountQuotaCreditWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedCreateNestedOneWithoutAllocationInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditCreateWithoutAllocationInput, Prisma.PartnerAccountQuotaCreditUncheckedCreateWithoutAllocationInput>
|
||||
connectOrCreate?: Prisma.PartnerAccountQuotaCreditCreateOrConnectWithoutAllocationInput
|
||||
connect?: Prisma.PartnerAccountQuotaCreditWhereUniqueInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditCreateWithoutAllocationInput, Prisma.PartnerAccountQuotaCreditUncheckedCreateWithoutAllocationInput>
|
||||
connectOrCreate?: Prisma.PartnerAccountQuotaCreditCreateOrConnectWithoutAllocationInput
|
||||
@@ -395,28 +372,18 @@ export type PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerAccountQuotaCreditUpdateToOneWithWhereWithoutAllocationInput, Prisma.PartnerAccountQuotaCreditUpdateWithoutAllocationInput>, Prisma.PartnerAccountQuotaCreditUncheckedUpdateWithoutAllocationInput>
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedUpdateOneWithoutAllocationNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditCreateWithoutAllocationInput, Prisma.PartnerAccountQuotaCreditUncheckedCreateWithoutAllocationInput>
|
||||
connectOrCreate?: Prisma.PartnerAccountQuotaCreditCreateOrConnectWithoutAllocationInput
|
||||
upsert?: Prisma.PartnerAccountQuotaCreditUpsertWithoutAllocationInput
|
||||
disconnect?: Prisma.PartnerAccountQuotaCreditWhereInput | boolean
|
||||
delete?: Prisma.PartnerAccountQuotaCreditWhereInput | boolean
|
||||
connect?: Prisma.PartnerAccountQuotaCreditWhereUniqueInput
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.PartnerAccountQuotaCreditUpdateToOneWithWhereWithoutAllocationInput, Prisma.PartnerAccountQuotaCreditUpdateWithoutAllocationInput>, Prisma.PartnerAccountQuotaCreditUncheckedUpdateWithoutAllocationInput>
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCreateWithoutCharge_transactionInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutPartner_account_quota_creditInput
|
||||
allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutCreditInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedCreateWithoutCharge_transactionInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
allocation_id?: string | null
|
||||
allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutCreditInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCreateOrConnectWithoutCharge_transactionInput = {
|
||||
@@ -453,7 +420,6 @@ export type PartnerAccountQuotaCreditScalarWhereInput = {
|
||||
created_at?: Prisma.DateTimeFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"PartnerAccountQuotaCredit"> | Date | string
|
||||
charge_transaction_id?: Prisma.StringNullableFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
allocation_id?: Prisma.StringNullableFilter<"PartnerAccountQuotaCredit"> | string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditCreateWithoutAllocationInput = {
|
||||
@@ -504,28 +470,26 @@ export type PartnerAccountQuotaCreditCreateManyCharge_transactionInput = {
|
||||
id?: string
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
allocation_id?: string | null
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUpdateWithoutCharge_transactionInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutPartner_account_quota_creditNestedInput
|
||||
allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutCreditNestedInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedUpdateWithoutCharge_transactionInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
allocation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutCreditNestedInput
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditUncheckedUpdateManyWithoutCharge_transactionInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
allocation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
|
||||
@@ -535,7 +499,6 @@ export type PartnerAccountQuotaCreditSelect<ExtArgs extends runtime.Types.Extens
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
charge_transaction_id?: boolean
|
||||
allocation_id?: boolean
|
||||
charge_transaction?: boolean | Prisma.PartnerAccountQuotaCredit$charge_transactionArgs<ExtArgs>
|
||||
allocation?: boolean | Prisma.PartnerAccountQuotaCredit$allocationArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["partnerAccountQuotaCredit"]>
|
||||
@@ -547,10 +510,9 @@ export type PartnerAccountQuotaCreditSelectScalar = {
|
||||
created_at?: boolean
|
||||
updated_at?: boolean
|
||||
charge_transaction_id?: boolean
|
||||
allocation_id?: boolean
|
||||
}
|
||||
|
||||
export type PartnerAccountQuotaCreditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "charge_transaction_id" | "allocation_id", ExtArgs["result"]["partnerAccountQuotaCredit"]>
|
||||
export type PartnerAccountQuotaCreditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "charge_transaction_id", ExtArgs["result"]["partnerAccountQuotaCredit"]>
|
||||
export type PartnerAccountQuotaCreditInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
charge_transaction?: boolean | Prisma.PartnerAccountQuotaCredit$charge_transactionArgs<ExtArgs>
|
||||
allocation?: boolean | Prisma.PartnerAccountQuotaCredit$allocationArgs<ExtArgs>
|
||||
@@ -567,7 +529,6 @@ export type $PartnerAccountQuotaCreditPayload<ExtArgs extends runtime.Types.Exte
|
||||
created_at: Date
|
||||
updated_at: Date
|
||||
charge_transaction_id: string | null
|
||||
allocation_id: string | null
|
||||
}, ExtArgs["result"]["partnerAccountQuotaCredit"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -943,7 +904,6 @@ export interface PartnerAccountQuotaCreditFieldRefs {
|
||||
readonly created_at: Prisma.FieldRef<"PartnerAccountQuotaCredit", 'DateTime'>
|
||||
readonly updated_at: Prisma.FieldRef<"PartnerAccountQuotaCredit", 'DateTime'>
|
||||
readonly charge_transaction_id: Prisma.FieldRef<"PartnerAccountQuotaCredit", 'String'>
|
||||
readonly allocation_id: Prisma.FieldRef<"PartnerAccountQuotaCredit", 'String'>
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,8 @@ export type PosMinAggregateOutputType = {
|
||||
updated_at: Date | null
|
||||
complex_id: string | null
|
||||
device_id: string | null
|
||||
account_id: string | null
|
||||
provider_id: string | null
|
||||
account_id: string | null
|
||||
}
|
||||
|
||||
export type PosMaxAggregateOutputType = {
|
||||
@@ -50,8 +50,8 @@ export type PosMaxAggregateOutputType = {
|
||||
updated_at: Date | null
|
||||
complex_id: string | null
|
||||
device_id: string | null
|
||||
account_id: string | null
|
||||
provider_id: string | null
|
||||
account_id: string | null
|
||||
}
|
||||
|
||||
export type PosCountAggregateOutputType = {
|
||||
@@ -65,8 +65,8 @@ export type PosCountAggregateOutputType = {
|
||||
updated_at: number
|
||||
complex_id: number
|
||||
device_id: number
|
||||
account_id: number
|
||||
provider_id: number
|
||||
account_id: number
|
||||
_all: number
|
||||
}
|
||||
|
||||
@@ -82,8 +82,8 @@ export type PosMinAggregateInputType = {
|
||||
updated_at?: true
|
||||
complex_id?: true
|
||||
device_id?: true
|
||||
account_id?: true
|
||||
provider_id?: true
|
||||
account_id?: true
|
||||
}
|
||||
|
||||
export type PosMaxAggregateInputType = {
|
||||
@@ -97,8 +97,8 @@ export type PosMaxAggregateInputType = {
|
||||
updated_at?: true
|
||||
complex_id?: true
|
||||
device_id?: true
|
||||
account_id?: true
|
||||
provider_id?: true
|
||||
account_id?: true
|
||||
}
|
||||
|
||||
export type PosCountAggregateInputType = {
|
||||
@@ -112,8 +112,8 @@ export type PosCountAggregateInputType = {
|
||||
updated_at?: true
|
||||
complex_id?: true
|
||||
device_id?: true
|
||||
account_id?: true
|
||||
provider_id?: true
|
||||
account_id?: true
|
||||
_all?: true
|
||||
}
|
||||
|
||||
@@ -200,8 +200,8 @@ export type PosGroupByOutputType = {
|
||||
updated_at: Date
|
||||
complex_id: string
|
||||
device_id: string | null
|
||||
account_id: string | null
|
||||
provider_id: string | null
|
||||
account_id: string
|
||||
_count: PosCountAggregateOutputType | null
|
||||
_min: PosMinAggregateOutputType | null
|
||||
_max: PosMaxAggregateOutputType | null
|
||||
@@ -236,12 +236,12 @@ export type PosWhereInput = {
|
||||
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||||
device_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringFilter<"Pos"> | string
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountNullableScalarRelationFilter, Prisma.ConsumerAccountWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountScalarRelationFilter, Prisma.ConsumerAccountWhereInput>
|
||||
permission_pos?: Prisma.PermissionPosListRelationFilter
|
||||
sales_invoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}
|
||||
@@ -257,12 +257,12 @@ export type PosOrderByWithRelationInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
device_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
provider_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
complex?: Prisma.ComplexOrderByWithRelationInput
|
||||
device?: Prisma.DeviceOrderByWithRelationInput
|
||||
account?: Prisma.ConsumerAccountOrderByWithRelationInput
|
||||
provider?: Prisma.ProviderOrderByWithRelationInput
|
||||
account?: Prisma.ConsumerAccountOrderByWithRelationInput
|
||||
permission_pos?: Prisma.PermissionPosOrderByRelationAggregateInput
|
||||
sales_invoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput
|
||||
_relevance?: Prisma.PosOrderByRelevanceInput
|
||||
@@ -286,8 +286,8 @@ export type PosWhereUniqueInput = Prisma.AtLeast<{
|
||||
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||||
device?: Prisma.XOR<Prisma.DeviceNullableScalarRelationFilter, Prisma.DeviceWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountNullableScalarRelationFilter, Prisma.ConsumerAccountWhereInput> | null
|
||||
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||||
account?: Prisma.XOR<Prisma.ConsumerAccountScalarRelationFilter, Prisma.ConsumerAccountWhereInput>
|
||||
permission_pos?: Prisma.PermissionPosListRelationFilter
|
||||
sales_invoices?: Prisma.SalesInvoiceListRelationFilter
|
||||
}, "id" | "serial_number" | "account_id">
|
||||
@@ -303,8 +303,8 @@ export type PosOrderByWithAggregationInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
device_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
provider_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
_count?: Prisma.PosCountOrderByAggregateInput
|
||||
_max?: Prisma.PosMaxOrderByAggregateInput
|
||||
_min?: Prisma.PosMinOrderByAggregateInput
|
||||
@@ -324,8 +324,8 @@ export type PosScalarWhereWithAggregatesInput = {
|
||||
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Pos"> | Date | string
|
||||
complex_id?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||||
device_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null
|
||||
provider_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||||
}
|
||||
|
||||
export type PosCreateInput = {
|
||||
@@ -339,8 +339,8 @@ export type PosCreateInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -356,8 +356,8 @@ export type PosUncheckedCreateInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -373,8 +373,8 @@ export type PosUpdateInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -390,8 +390,8 @@ export type PosUncheckedUpdateInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -407,8 +407,8 @@ export type PosCreateManyInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateManyMutationInput = {
|
||||
@@ -433,8 +433,8 @@ export type PosUncheckedUpdateManyInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosNullableScalarRelationFilter = {
|
||||
@@ -469,8 +469,8 @@ export type PosCountOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
device_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
provider_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PosMaxOrderByAggregateInput = {
|
||||
@@ -484,8 +484,8 @@ export type PosMaxOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
device_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
provider_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PosMinOrderByAggregateInput = {
|
||||
@@ -499,8 +499,8 @@ export type PosMinOrderByAggregateInput = {
|
||||
updated_at?: Prisma.SortOrder
|
||||
complex_id?: Prisma.SortOrder
|
||||
device_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
provider_id?: Prisma.SortOrder
|
||||
account_id?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type PosScalarRelationFilter = {
|
||||
@@ -792,8 +792,8 @@ export type PosCreateWithoutComplexInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -808,8 +808,8 @@ export type PosUncheckedCreateWithoutComplexInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -854,8 +854,8 @@ export type PosScalarWhereInput = {
|
||||
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||||
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||||
device_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||||
account_id?: Prisma.StringFilter<"Pos"> | string
|
||||
}
|
||||
|
||||
export type PosCreateWithoutDeviceInput = {
|
||||
@@ -868,8 +868,8 @@ export type PosCreateWithoutDeviceInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -884,8 +884,8 @@ export type PosUncheckedCreateWithoutDeviceInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -927,8 +927,8 @@ export type PosCreateWithoutPermission_posInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -943,8 +943,8 @@ export type PosUncheckedCreateWithoutPermission_posInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -975,8 +975,8 @@ export type PosUpdateWithoutPermission_posInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -991,8 +991,8 @@ export type PosUncheckedUpdateWithoutPermission_posInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -1007,7 +1007,7 @@ export type PosCreateWithoutProviderInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -1023,7 +1023,7 @@ export type PosUncheckedCreateWithoutProviderInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
@@ -1065,8 +1065,8 @@ export type PosCreateWithoutSales_invoicesInput = {
|
||||
updated_at?: Date | string
|
||||
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||||
device?: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||||
account?: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||||
account: Prisma.ConsumerAccountCreateNestedOneWithoutPosInput
|
||||
permission_pos?: Prisma.PermissionPosCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -1081,8 +1081,8 @@ export type PosUncheckedCreateWithoutSales_invoicesInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedCreateNestedManyWithoutPosInput
|
||||
}
|
||||
|
||||
@@ -1113,8 +1113,8 @@ export type PosUpdateWithoutSales_invoicesInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -1129,8 +1129,8 @@ export type PosUncheckedUpdateWithoutSales_invoicesInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
|
||||
@@ -1144,8 +1144,8 @@ export type PosCreateManyComplexInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutComplexInput = {
|
||||
@@ -1158,8 +1158,8 @@ export type PosUpdateWithoutComplexInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1174,8 +1174,8 @@ export type PosUncheckedUpdateWithoutComplexInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1190,8 +1190,8 @@ export type PosUncheckedUpdateManyWithoutComplexInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosCreateManyDeviceInput = {
|
||||
@@ -1204,8 +1204,8 @@ export type PosCreateManyDeviceInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
account_id?: string | null
|
||||
provider_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutDeviceInput = {
|
||||
@@ -1218,8 +1218,8 @@ export type PosUpdateWithoutDeviceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1234,8 +1234,8 @@ export type PosUncheckedUpdateWithoutDeviceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1250,8 +1250,8 @@ export type PosUncheckedUpdateManyWithoutDeviceInput = {
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
export type PosCreateManyProviderInput = {
|
||||
@@ -1265,7 +1265,7 @@ export type PosCreateManyProviderInput = {
|
||||
updated_at?: Date | string
|
||||
complex_id: string
|
||||
device_id?: string | null
|
||||
account_id?: string | null
|
||||
account_id: string
|
||||
}
|
||||
|
||||
export type PosUpdateWithoutProviderInput = {
|
||||
@@ -1279,7 +1279,7 @@ export type PosUpdateWithoutProviderInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||||
device?: Prisma.DeviceUpdateOneWithoutPosesNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneWithoutPosNestedInput
|
||||
account?: Prisma.ConsumerAccountUpdateOneRequiredWithoutPosNestedInput
|
||||
permission_pos?: Prisma.PermissionPosUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1295,7 +1295,7 @@ export type PosUncheckedUpdateWithoutProviderInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
permission_pos?: Prisma.PermissionPosUncheckedUpdateManyWithoutPosNestedInput
|
||||
sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutPosNestedInput
|
||||
}
|
||||
@@ -1311,7 +1311,7 @@ export type PosUncheckedUpdateManyWithoutProviderInput = {
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
device_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
account_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
}
|
||||
|
||||
|
||||
@@ -1365,12 +1365,12 @@ export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
||||
updated_at?: boolean
|
||||
complex_id?: boolean
|
||||
device_id?: boolean
|
||||
account_id?: boolean
|
||||
provider_id?: boolean
|
||||
account_id?: boolean
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
account?: boolean | Prisma.Pos$accountArgs<ExtArgs>
|
||||
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||||
account?: boolean | Prisma.ConsumerAccountDefaultArgs<ExtArgs>
|
||||
permission_pos?: boolean | Prisma.Pos$permission_posArgs<ExtArgs>
|
||||
sales_invoices?: boolean | Prisma.Pos$sales_invoicesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -1389,16 +1389,16 @@ export type PosSelectScalar = {
|
||||
updated_at?: boolean
|
||||
complex_id?: boolean
|
||||
device_id?: boolean
|
||||
account_id?: boolean
|
||||
provider_id?: boolean
|
||||
account_id?: boolean
|
||||
}
|
||||
|
||||
export type PosOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "model" | "serial_number" | "status" | "pos_type" | "created_at" | "updated_at" | "complex_id" | "device_id" | "account_id" | "provider_id", ExtArgs["result"]["pos"]>
|
||||
export type PosOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "model" | "serial_number" | "status" | "pos_type" | "created_at" | "updated_at" | "complex_id" | "device_id" | "provider_id" | "account_id", ExtArgs["result"]["pos"]>
|
||||
export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||||
device?: boolean | Prisma.Pos$deviceArgs<ExtArgs>
|
||||
account?: boolean | Prisma.Pos$accountArgs<ExtArgs>
|
||||
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||||
account?: boolean | Prisma.ConsumerAccountDefaultArgs<ExtArgs>
|
||||
permission_pos?: boolean | Prisma.Pos$permission_posArgs<ExtArgs>
|
||||
sales_invoices?: boolean | Prisma.Pos$sales_invoicesArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||||
@@ -1409,8 +1409,8 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
objects: {
|
||||
complex: Prisma.$ComplexPayload<ExtArgs>
|
||||
device: Prisma.$DevicePayload<ExtArgs> | null
|
||||
account: Prisma.$ConsumerAccountPayload<ExtArgs> | null
|
||||
provider: Prisma.$ProviderPayload<ExtArgs> | null
|
||||
account: Prisma.$ConsumerAccountPayload<ExtArgs>
|
||||
permission_pos: Prisma.$PermissionPosPayload<ExtArgs>[]
|
||||
sales_invoices: Prisma.$SalesInvoicePayload<ExtArgs>[]
|
||||
}
|
||||
@@ -1425,8 +1425,8 @@ export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
||||
updated_at: Date
|
||||
complex_id: string
|
||||
device_id: string | null
|
||||
account_id: string | null
|
||||
provider_id: string | null
|
||||
account_id: string
|
||||
}, ExtArgs["result"]["pos"]>
|
||||
composites: {}
|
||||
}
|
||||
@@ -1769,8 +1769,8 @@ export interface Prisma__PosClient<T, Null = never, ExtArgs extends runtime.Type
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
complex<T extends Prisma.ComplexDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComplexDefaultArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
device<T extends Prisma.Pos$deviceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$deviceArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
account<T extends Prisma.Pos$accountArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$accountArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
provider<T extends Prisma.Pos$providerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$providerArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||||
account<T extends Prisma.ConsumerAccountDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerAccountDefaultArgs<ExtArgs>>): Prisma.Prisma__ConsumerAccountClient<runtime.Types.Result.GetResult<Prisma.$ConsumerAccountPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||||
permission_pos<T extends Prisma.Pos$permission_posArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$permission_posArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionPosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
sales_invoices<T extends Prisma.Pos$sales_invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$sales_invoicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SalesInvoicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
/**
|
||||
@@ -1812,8 +1812,8 @@ export interface PosFieldRefs {
|
||||
readonly updated_at: Prisma.FieldRef<"Pos", 'DateTime'>
|
||||
readonly complex_id: Prisma.FieldRef<"Pos", 'String'>
|
||||
readonly device_id: Prisma.FieldRef<"Pos", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"Pos", 'String'>
|
||||
readonly provider_id: Prisma.FieldRef<"Pos", 'String'>
|
||||
readonly account_id: Prisma.FieldRef<"Pos", 'String'>
|
||||
}
|
||||
|
||||
|
||||
@@ -2180,25 +2180,6 @@ export type Pos$deviceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
||||
where?: Prisma.DeviceWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Pos.account
|
||||
*/
|
||||
export type Pos$accountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the ConsumerAccount
|
||||
*/
|
||||
select?: Prisma.ConsumerAccountSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the ConsumerAccount
|
||||
*/
|
||||
omit?: Prisma.ConsumerAccountOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.ConsumerAccountInclude<ExtArgs> | null
|
||||
where?: Prisma.ConsumerAccountWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* Pos.provider
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user