Files
psp_api/src/generated/prisma/models/LicenseAccountAllocation.ts
T
ahasani b72e6c7194 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
2026-04-25 15:16:59 +03:30

1491 lines
68 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `LicenseAccountAllocation` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums.js"
import type * as Prisma from "../internal/prismaNamespace.js"
/**
* Model LicenseAccountAllocation
*
*/
export type LicenseAccountAllocationModel = runtime.Types.Result.DefaultSelection<Prisma.$LicenseAccountAllocationPayload>
export type AggregateLicenseAccountAllocation = {
_count: LicenseAccountAllocationCountAggregateOutputType | null
_min: LicenseAccountAllocationMinAggregateOutputType | null
_max: LicenseAccountAllocationMaxAggregateOutputType | null
}
export type LicenseAccountAllocationMinAggregateOutputType = {
id: string | null
created_at: Date | null
updated_at: Date | null
license_activation_id: string | null
account_id: string | null
credit_id: string | null
}
export type LicenseAccountAllocationMaxAggregateOutputType = {
id: string | null
created_at: Date | null
updated_at: Date | null
license_activation_id: string | null
account_id: string | null
credit_id: string | null
}
export type LicenseAccountAllocationCountAggregateOutputType = {
id: number
created_at: number
updated_at: number
license_activation_id: number
account_id: number
credit_id: number
_all: number
}
export type LicenseAccountAllocationMinAggregateInputType = {
id?: true
created_at?: true
updated_at?: true
license_activation_id?: true
account_id?: true
credit_id?: true
}
export type LicenseAccountAllocationMaxAggregateInputType = {
id?: true
created_at?: true
updated_at?: true
license_activation_id?: true
account_id?: true
credit_id?: true
}
export type LicenseAccountAllocationCountAggregateInputType = {
id?: true
created_at?: true
updated_at?: true
license_activation_id?: true
account_id?: true
credit_id?: true
_all?: true
}
export type LicenseAccountAllocationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which LicenseAccountAllocation to aggregate.
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LicenseAccountAllocations to fetch.
*/
orderBy?: Prisma.LicenseAccountAllocationOrderByWithRelationInput | Prisma.LicenseAccountAllocationOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.LicenseAccountAllocationWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LicenseAccountAllocations from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` LicenseAccountAllocations.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned LicenseAccountAllocations
**/
_count?: true | LicenseAccountAllocationCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: LicenseAccountAllocationMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: LicenseAccountAllocationMaxAggregateInputType
}
export type GetLicenseAccountAllocationAggregateType<T extends LicenseAccountAllocationAggregateArgs> = {
[P in keyof T & keyof AggregateLicenseAccountAllocation]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateLicenseAccountAllocation[P]>
: Prisma.GetScalarType<T[P], AggregateLicenseAccountAllocation[P]>
}
export type LicenseAccountAllocationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.LicenseAccountAllocationWhereInput
orderBy?: Prisma.LicenseAccountAllocationOrderByWithAggregationInput | Prisma.LicenseAccountAllocationOrderByWithAggregationInput[]
by: Prisma.LicenseAccountAllocationScalarFieldEnum[] | Prisma.LicenseAccountAllocationScalarFieldEnum
having?: Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: LicenseAccountAllocationCountAggregateInputType | true
_min?: LicenseAccountAllocationMinAggregateInputType
_max?: LicenseAccountAllocationMaxAggregateInputType
}
export type LicenseAccountAllocationGroupByOutputType = {
id: string
created_at: Date
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
}
export type GetLicenseAccountAllocationGroupByPayload<T extends LicenseAccountAllocationGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<LicenseAccountAllocationGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof LicenseAccountAllocationGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], LicenseAccountAllocationGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], LicenseAccountAllocationGroupByOutputType[P]>
}
>
>
export type LicenseAccountAllocationWhereInput = {
AND?: Prisma.LicenseAccountAllocationWhereInput | Prisma.LicenseAccountAllocationWhereInput[]
OR?: Prisma.LicenseAccountAllocationWhereInput[]
NOT?: Prisma.LicenseAccountAllocationWhereInput | Prisma.LicenseAccountAllocationWhereInput[]
id?: Prisma.StringFilter<"LicenseAccountAllocation"> | string
created_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
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
credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
}
export type LicenseAccountAllocationOrderByWithRelationInput = {
id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
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
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[]
created_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
updated_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
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
credit?: Prisma.XOR<Prisma.PartnerAccountQuotaCreditNullableScalarRelationFilter, Prisma.PartnerAccountQuotaCreditWhereInput> | null
}, "id" | "account_id" | "credit_id">
export type LicenseAccountAllocationOrderByWithAggregationInput = {
id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
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
}
export type LicenseAccountAllocationScalarWhereWithAggregatesInput = {
AND?: Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput | Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput[]
OR?: Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput[]
NOT?: Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput | Prisma.LicenseAccountAllocationScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"LicenseAccountAllocation"> | string
created_at?: Prisma.DateTimeWithAggregatesFilter<"LicenseAccountAllocation"> | Date | string
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 = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
}
export type LicenseAccountAllocationUncheckedCreateInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation_id?: string | null
account_id?: string | null
credit_id?: string | null
}
export type LicenseAccountAllocationUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
}
export type LicenseAccountAllocationUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
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 LicenseAccountAllocationCreateManyInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation_id?: string | null
account_id?: string | null
credit_id?: string | null
}
export type LicenseAccountAllocationUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}
export type LicenseAccountAllocationUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
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 = {
is?: Prisma.LicenseAccountAllocationWhereInput | null
isNot?: Prisma.LicenseAccountAllocationWhereInput | null
}
export type LicenseAccountAllocationListRelationFilter = {
every?: Prisma.LicenseAccountAllocationWhereInput
some?: Prisma.LicenseAccountAllocationWhereInput
none?: Prisma.LicenseAccountAllocationWhereInput
}
export type LicenseAccountAllocationOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type LicenseAccountAllocationOrderByRelevanceInput = {
fields: Prisma.LicenseAccountAllocationOrderByRelevanceFieldEnum | Prisma.LicenseAccountAllocationOrderByRelevanceFieldEnum[]
sort: Prisma.SortOrder
search: string
}
export type LicenseAccountAllocationCountOrderByAggregateInput = {
id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
license_activation_id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
credit_id?: Prisma.SortOrder
}
export type LicenseAccountAllocationMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
license_activation_id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
credit_id?: Prisma.SortOrder
}
export type LicenseAccountAllocationMinOrderByAggregateInput = {
id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
license_activation_id?: Prisma.SortOrder
account_id?: Prisma.SortOrder
credit_id?: Prisma.SortOrder
}
export type LicenseAccountAllocationCreateNestedOneWithoutAccountInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
}
export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
}
export type LicenseAccountAllocationUpdateOneWithoutAccountNestedInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
}
export type LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput
upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput
disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean
delete?: Prisma.LicenseAccountAllocationWhereInput | boolean
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
update?: Prisma.XOR<Prisma.XOR<Prisma.LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput, Prisma.LicenseAccountAllocationUpdateWithoutAccountInput>, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
}
export type LicenseAccountAllocationCreateNestedManyWithoutLicense_activationInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput> | Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput[] | Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput[]
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput | Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput[]
createMany?: Prisma.LicenseAccountAllocationCreateManyLicense_activationInputEnvelope
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
}
export type LicenseAccountAllocationUncheckedCreateNestedManyWithoutLicense_activationInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput> | Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput[] | Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput[]
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput | Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput[]
createMany?: Prisma.LicenseAccountAllocationCreateManyLicense_activationInputEnvelope
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
}
export type LicenseAccountAllocationUpdateManyWithoutLicense_activationNestedInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput> | Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput[] | Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput[]
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput | Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput[]
upsert?: Prisma.LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput[]
createMany?: Prisma.LicenseAccountAllocationCreateManyLicense_activationInputEnvelope
set?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
disconnect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
delete?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
update?: Prisma.LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput[]
updateMany?: Prisma.LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput[]
deleteMany?: Prisma.LicenseAccountAllocationScalarWhereInput | Prisma.LicenseAccountAllocationScalarWhereInput[]
}
export type LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationNestedInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput> | Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput[] | Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput[]
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput | Prisma.LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput[]
upsert?: Prisma.LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput[]
createMany?: Prisma.LicenseAccountAllocationCreateManyLicense_activationInputEnvelope
set?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
disconnect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
delete?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput | Prisma.LicenseAccountAllocationWhereUniqueInput[]
update?: Prisma.LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput[]
updateMany?: Prisma.LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput | Prisma.LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput[]
deleteMany?: Prisma.LicenseAccountAllocationScalarWhereInput | Prisma.LicenseAccountAllocationScalarWhereInput[]
}
export type LicenseAccountAllocationCreateNestedOneWithoutCreditInput = {
create?: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput
connect?: Prisma.LicenseAccountAllocationWhereUniqueInput
}
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.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 = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
}
export type LicenseAccountAllocationUncheckedCreateWithoutAccountInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation_id?: string | null
credit_id?: string | null
}
export type LicenseAccountAllocationCreateOrConnectWithoutAccountInput = {
where: Prisma.LicenseAccountAllocationWhereUniqueInput
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
}
export type LicenseAccountAllocationUpsertWithoutAccountInput = {
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutAccountInput>
where?: Prisma.LicenseAccountAllocationWhereInput
}
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput = {
where?: Prisma.LicenseAccountAllocationWhereInput
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutAccountInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput>
}
export type LicenseAccountAllocationUpdateWithoutAccountInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
}
export type LicenseAccountAllocationUncheckedUpdateWithoutAccountInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LicenseAccountAllocationCreateWithoutLicense_activationInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
credit?: Prisma.PartnerAccountQuotaCreditCreateNestedOneWithoutAllocationInput
}
export type LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
account_id?: string | null
credit_id?: string | null
}
export type LicenseAccountAllocationCreateOrConnectWithoutLicense_activationInput = {
where: Prisma.LicenseAccountAllocationWhereUniqueInput
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput>
}
export type LicenseAccountAllocationCreateManyLicense_activationInputEnvelope = {
data: Prisma.LicenseAccountAllocationCreateManyLicense_activationInput | Prisma.LicenseAccountAllocationCreateManyLicense_activationInput[]
skipDuplicates?: boolean
}
export type LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput = {
where: Prisma.LicenseAccountAllocationWhereUniqueInput
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutLicense_activationInput>
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutLicense_activationInput>
}
export type LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput = {
where: Prisma.LicenseAccountAllocationWhereUniqueInput
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutLicense_activationInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutLicense_activationInput>
}
export type LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput = {
where: Prisma.LicenseAccountAllocationScalarWhereInput
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateManyMutationInput, Prisma.LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationInput>
}
export type LicenseAccountAllocationScalarWhereInput = {
AND?: Prisma.LicenseAccountAllocationScalarWhereInput | Prisma.LicenseAccountAllocationScalarWhereInput[]
OR?: Prisma.LicenseAccountAllocationScalarWhereInput[]
NOT?: Prisma.LicenseAccountAllocationScalarWhereInput | Prisma.LicenseAccountAllocationScalarWhereInput[]
id?: Prisma.StringFilter<"LicenseAccountAllocation"> | string
created_at?: Prisma.DateTimeFilter<"LicenseAccountAllocation"> | Date | string
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 LicenseAccountAllocationCreateWithoutCreditInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation?: Prisma.LicenseActivationCreateNestedOneWithoutAccount_allocationsInput
account?: Prisma.ConsumerAccountCreateNestedOneWithoutAccount_allocationInput
}
export type LicenseAccountAllocationUncheckedCreateWithoutCreditInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
license_activation_id?: string | null
account_id?: string | null
}
export type LicenseAccountAllocationCreateOrConnectWithoutCreditInput = {
where: Prisma.LicenseAccountAllocationWhereUniqueInput
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
}
export type LicenseAccountAllocationUpsertWithoutCreditInput = {
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedCreateWithoutCreditInput>
where?: Prisma.LicenseAccountAllocationWhereInput
}
export type LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput = {
where?: Prisma.LicenseAccountAllocationWhereInput
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateWithoutCreditInput, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput>
}
export type LicenseAccountAllocationUpdateWithoutCreditInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
license_activation?: Prisma.LicenseActivationUpdateOneWithoutAccount_allocationsNestedInput
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
}
export type LicenseAccountAllocationUncheckedUpdateWithoutCreditInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
license_activation_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LicenseAccountAllocationCreateManyLicense_activationInput = {
id?: string
created_at?: Date | string
updated_at?: Date | string
account_id?: string | null
credit_id?: string | null
}
export type LicenseAccountAllocationUpdateWithoutLicense_activationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
account?: Prisma.ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput
credit?: Prisma.PartnerAccountQuotaCreditUpdateOneWithoutAllocationNestedInput
}
export type LicenseAccountAllocationUncheckedUpdateWithoutLicense_activationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LicenseAccountAllocationUncheckedUpdateManyWithoutLicense_activationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
account_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
credit_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type LicenseAccountAllocationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
created_at?: boolean
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>
credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs<ExtArgs>
}, ExtArgs["result"]["licenseAccountAllocation"]>
export type LicenseAccountAllocationSelectScalar = {
id?: boolean
created_at?: boolean
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" | "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>
credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs<ExtArgs>
}
export type $LicenseAccountAllocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "LicenseAccountAllocation"
objects: {
license_activation: Prisma.$LicenseActivationPayload<ExtArgs> | null
account: Prisma.$ConsumerAccountPayload<ExtArgs> | null
credit: Prisma.$PartnerAccountQuotaCreditPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
created_at: Date
updated_at: Date
license_activation_id: string | null
account_id: string | null
credit_id: string | null
}, ExtArgs["result"]["licenseAccountAllocation"]>
composites: {}
}
export type LicenseAccountAllocationGetPayload<S extends boolean | null | undefined | LicenseAccountAllocationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload, S>
export type LicenseAccountAllocationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<LicenseAccountAllocationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: LicenseAccountAllocationCountAggregateInputType | true
}
export interface LicenseAccountAllocationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['LicenseAccountAllocation'], meta: { name: 'LicenseAccountAllocation' } }
/**
* Find zero or one LicenseAccountAllocation that matches the filter.
* @param {LicenseAccountAllocationFindUniqueArgs} args - Arguments to find a LicenseAccountAllocation
* @example
* // Get one LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends LicenseAccountAllocationFindUniqueArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one LicenseAccountAllocation that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {LicenseAccountAllocationFindUniqueOrThrowArgs} args - Arguments to find a LicenseAccountAllocation
* @example
* // Get one LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends LicenseAccountAllocationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first LicenseAccountAllocation that matches the filter.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationFindFirstArgs} args - Arguments to find a LicenseAccountAllocation
* @example
* // Get one LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends LicenseAccountAllocationFindFirstArgs>(args?: Prisma.SelectSubset<T, LicenseAccountAllocationFindFirstArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first LicenseAccountAllocation that matches the filter or
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationFindFirstOrThrowArgs} args - Arguments to find a LicenseAccountAllocation
* @example
* // Get one LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends LicenseAccountAllocationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LicenseAccountAllocationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more LicenseAccountAllocations that matches the filter.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all LicenseAccountAllocations
* const licenseAccountAllocations = await prisma.licenseAccountAllocation.findMany()
*
* // Get first 10 LicenseAccountAllocations
* const licenseAccountAllocations = await prisma.licenseAccountAllocation.findMany({ take: 10 })
*
* // Only select the `id`
* const licenseAccountAllocationWithIdOnly = await prisma.licenseAccountAllocation.findMany({ select: { id: true } })
*
*/
findMany<T extends LicenseAccountAllocationFindManyArgs>(args?: Prisma.SelectSubset<T, LicenseAccountAllocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a LicenseAccountAllocation.
* @param {LicenseAccountAllocationCreateArgs} args - Arguments to create a LicenseAccountAllocation.
* @example
* // Create one LicenseAccountAllocation
* const LicenseAccountAllocation = await prisma.licenseAccountAllocation.create({
* data: {
* // ... data to create a LicenseAccountAllocation
* }
* })
*
*/
create<T extends LicenseAccountAllocationCreateArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationCreateArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many LicenseAccountAllocations.
* @param {LicenseAccountAllocationCreateManyArgs} args - Arguments to create many LicenseAccountAllocations.
* @example
* // Create many LicenseAccountAllocations
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends LicenseAccountAllocationCreateManyArgs>(args?: Prisma.SelectSubset<T, LicenseAccountAllocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Delete a LicenseAccountAllocation.
* @param {LicenseAccountAllocationDeleteArgs} args - Arguments to delete one LicenseAccountAllocation.
* @example
* // Delete one LicenseAccountAllocation
* const LicenseAccountAllocation = await prisma.licenseAccountAllocation.delete({
* where: {
* // ... filter to delete one LicenseAccountAllocation
* }
* })
*
*/
delete<T extends LicenseAccountAllocationDeleteArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationDeleteArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one LicenseAccountAllocation.
* @param {LicenseAccountAllocationUpdateArgs} args - Arguments to update one LicenseAccountAllocation.
* @example
* // Update one LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends LicenseAccountAllocationUpdateArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationUpdateArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more LicenseAccountAllocations.
* @param {LicenseAccountAllocationDeleteManyArgs} args - Arguments to filter LicenseAccountAllocations to delete.
* @example
* // Delete a few LicenseAccountAllocations
* const { count } = await prisma.licenseAccountAllocation.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends LicenseAccountAllocationDeleteManyArgs>(args?: Prisma.SelectSubset<T, LicenseAccountAllocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more LicenseAccountAllocations.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many LicenseAccountAllocations
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends LicenseAccountAllocationUpdateManyArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create or update one LicenseAccountAllocation.
* @param {LicenseAccountAllocationUpsertArgs} args - Arguments to update or create a LicenseAccountAllocation.
* @example
* // Update or create a LicenseAccountAllocation
* const licenseAccountAllocation = await prisma.licenseAccountAllocation.upsert({
* create: {
* // ... data to create a LicenseAccountAllocation
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the LicenseAccountAllocation we want to update
* }
* })
*/
upsert<T extends LicenseAccountAllocationUpsertArgs>(args: Prisma.SelectSubset<T, LicenseAccountAllocationUpsertArgs<ExtArgs>>): Prisma.Prisma__LicenseAccountAllocationClient<runtime.Types.Result.GetResult<Prisma.$LicenseAccountAllocationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of LicenseAccountAllocations.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationCountArgs} args - Arguments to filter LicenseAccountAllocations to count.
* @example
* // Count the number of LicenseAccountAllocations
* const count = await prisma.licenseAccountAllocation.count({
* where: {
* // ... the filter for the LicenseAccountAllocations we want to count
* }
* })
**/
count<T extends LicenseAccountAllocationCountArgs>(
args?: Prisma.Subset<T, LicenseAccountAllocationCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], LicenseAccountAllocationCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a LicenseAccountAllocation.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
* @example
* // Ordered by age ascending
* // Where email contains prisma.io
* // Limited to the 10 users
* const aggregations = await prisma.user.aggregate({
* _avg: {
* age: true,
* },
* where: {
* email: {
* contains: "prisma.io",
* },
* },
* orderBy: {
* age: "asc",
* },
* take: 10,
* })
**/
aggregate<T extends LicenseAccountAllocationAggregateArgs>(args: Prisma.Subset<T, LicenseAccountAllocationAggregateArgs>): Prisma.PrismaPromise<GetLicenseAccountAllocationAggregateType<T>>
/**
* Group by LicenseAccountAllocation.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LicenseAccountAllocationGroupByArgs} args - Group by arguments.
* @example
* // Group by city, order by createdAt, get count
* const result = await prisma.user.groupBy({
* by: ['city', 'createdAt'],
* orderBy: {
* createdAt: true
* },
* _count: {
* _all: true
* },
* })
*
**/
groupBy<
T extends LicenseAccountAllocationGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: LicenseAccountAllocationGroupByArgs['orderBy'] }
: { orderBy?: LicenseAccountAllocationGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
InputErrors extends ByEmpty extends Prisma.True
? `Error: "by" must not be empty.`
: HavingValid extends Prisma.False
? {
[P in HavingFields]: P extends ByFields
? never
: P extends string
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
: [
Error,
'Field ',
P,
` in "having" needs to be provided in "by"`,
]
}[HavingFields]
: 'take' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "take", you also need to provide "orderBy"'
: 'skip' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "skip", you also need to provide "orderBy"'
: ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
>(args: Prisma.SubsetIntersection<T, LicenseAccountAllocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLicenseAccountAllocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the LicenseAccountAllocation model
*/
readonly fields: LicenseAccountAllocationFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for LicenseAccountAllocation.
* Why is this prefixed with `Prisma__`?
* Because we want to prevent naming conflicts as mentioned in
* https://github.com/prisma/prisma-client-js/issues/707
*/
export interface Prisma__LicenseAccountAllocationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
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>
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.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the LicenseAccountAllocation model
*/
export interface LicenseAccountAllocationFieldRefs {
readonly id: Prisma.FieldRef<"LicenseAccountAllocation", 'String'>
readonly created_at: Prisma.FieldRef<"LicenseAccountAllocation", 'DateTime'>
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'>
}
// Custom InputTypes
/**
* LicenseAccountAllocation findUnique
*/
export type LicenseAccountAllocationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter, which LicenseAccountAllocation to fetch.
*/
where: Prisma.LicenseAccountAllocationWhereUniqueInput
}
/**
* LicenseAccountAllocation findUniqueOrThrow
*/
export type LicenseAccountAllocationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter, which LicenseAccountAllocation to fetch.
*/
where: Prisma.LicenseAccountAllocationWhereUniqueInput
}
/**
* LicenseAccountAllocation findFirst
*/
export type LicenseAccountAllocationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter, which LicenseAccountAllocation to fetch.
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LicenseAccountAllocations to fetch.
*/
orderBy?: Prisma.LicenseAccountAllocationOrderByWithRelationInput | Prisma.LicenseAccountAllocationOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for LicenseAccountAllocations.
*/
cursor?: Prisma.LicenseAccountAllocationWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LicenseAccountAllocations from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` LicenseAccountAllocations.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LicenseAccountAllocations.
*/
distinct?: Prisma.LicenseAccountAllocationScalarFieldEnum | Prisma.LicenseAccountAllocationScalarFieldEnum[]
}
/**
* LicenseAccountAllocation findFirstOrThrow
*/
export type LicenseAccountAllocationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter, which LicenseAccountAllocation to fetch.
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LicenseAccountAllocations to fetch.
*/
orderBy?: Prisma.LicenseAccountAllocationOrderByWithRelationInput | Prisma.LicenseAccountAllocationOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for LicenseAccountAllocations.
*/
cursor?: Prisma.LicenseAccountAllocationWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LicenseAccountAllocations from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` LicenseAccountAllocations.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LicenseAccountAllocations.
*/
distinct?: Prisma.LicenseAccountAllocationScalarFieldEnum | Prisma.LicenseAccountAllocationScalarFieldEnum[]
}
/**
* LicenseAccountAllocation findMany
*/
export type LicenseAccountAllocationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter, which LicenseAccountAllocations to fetch.
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LicenseAccountAllocations to fetch.
*/
orderBy?: Prisma.LicenseAccountAllocationOrderByWithRelationInput | Prisma.LicenseAccountAllocationOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing LicenseAccountAllocations.
*/
cursor?: Prisma.LicenseAccountAllocationWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LicenseAccountAllocations from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` LicenseAccountAllocations.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LicenseAccountAllocations.
*/
distinct?: Prisma.LicenseAccountAllocationScalarFieldEnum | Prisma.LicenseAccountAllocationScalarFieldEnum[]
}
/**
* LicenseAccountAllocation create
*/
export type LicenseAccountAllocationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* The data needed to create a LicenseAccountAllocation.
*/
data: Prisma.XOR<Prisma.LicenseAccountAllocationCreateInput, Prisma.LicenseAccountAllocationUncheckedCreateInput>
}
/**
* LicenseAccountAllocation createMany
*/
export type LicenseAccountAllocationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many LicenseAccountAllocations.
*/
data: Prisma.LicenseAccountAllocationCreateManyInput | Prisma.LicenseAccountAllocationCreateManyInput[]
skipDuplicates?: boolean
}
/**
* LicenseAccountAllocation update
*/
export type LicenseAccountAllocationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* The data needed to update a LicenseAccountAllocation.
*/
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateInput, Prisma.LicenseAccountAllocationUncheckedUpdateInput>
/**
* Choose, which LicenseAccountAllocation to update.
*/
where: Prisma.LicenseAccountAllocationWhereUniqueInput
}
/**
* LicenseAccountAllocation updateMany
*/
export type LicenseAccountAllocationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update LicenseAccountAllocations.
*/
data: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateManyMutationInput, Prisma.LicenseAccountAllocationUncheckedUpdateManyInput>
/**
* Filter which LicenseAccountAllocations to update
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* Limit how many LicenseAccountAllocations to update.
*/
limit?: number
}
/**
* LicenseAccountAllocation upsert
*/
export type LicenseAccountAllocationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* The filter to search for the LicenseAccountAllocation to update in case it exists.
*/
where: Prisma.LicenseAccountAllocationWhereUniqueInput
/**
* In case the LicenseAccountAllocation found by the `where` argument doesn't exist, create a new LicenseAccountAllocation with this data.
*/
create: Prisma.XOR<Prisma.LicenseAccountAllocationCreateInput, Prisma.LicenseAccountAllocationUncheckedCreateInput>
/**
* In case the LicenseAccountAllocation was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.LicenseAccountAllocationUpdateInput, Prisma.LicenseAccountAllocationUncheckedUpdateInput>
}
/**
* LicenseAccountAllocation delete
*/
export type LicenseAccountAllocationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
/**
* Filter which LicenseAccountAllocation to delete.
*/
where: Prisma.LicenseAccountAllocationWhereUniqueInput
}
/**
* LicenseAccountAllocation deleteMany
*/
export type LicenseAccountAllocationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which LicenseAccountAllocations to delete
*/
where?: Prisma.LicenseAccountAllocationWhereInput
/**
* Limit how many LicenseAccountAllocations to delete.
*/
limit?: number
}
/**
* LicenseAccountAllocation.license_activation
*/
export type LicenseAccountAllocation$license_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
}
/**
* LicenseAccountAllocation.account
*/
export type LicenseAccountAllocation$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
}
/**
* LicenseAccountAllocation.credit
*/
export type LicenseAccountAllocation$creditArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PartnerAccountQuotaCredit
*/
select?: Prisma.PartnerAccountQuotaCreditSelect<ExtArgs> | null
/**
* Omit specific fields from the PartnerAccountQuotaCredit
*/
omit?: Prisma.PartnerAccountQuotaCreditOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PartnerAccountQuotaCreditInclude<ExtArgs> | null
where?: Prisma.PartnerAccountQuotaCreditWhereInput
}
/**
* LicenseAccountAllocation without action
*/
export type LicenseAccountAllocationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LicenseAccountAllocation
*/
select?: Prisma.LicenseAccountAllocationSelect<ExtArgs> | null
/**
* Omit specific fields from the LicenseAccountAllocation
*/
omit?: Prisma.LicenseAccountAllocationOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.LicenseAccountAllocationInclude<ExtArgs> | null
}