/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateLicenseAccountAllocation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type LicenseAccountAllocationGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof LicenseAccountAllocationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 | null account?: Prisma.XOR | null credit?: Prisma.XOR | 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 | null account?: Prisma.XOR | null credit?: Prisma.XOR | 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 connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput connect?: Prisma.LicenseAccountAllocationWhereUniqueInput } export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput connect?: Prisma.LicenseAccountAllocationWhereUniqueInput } export type LicenseAccountAllocationUpdateOneWithoutAccountNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean delete?: Prisma.LicenseAccountAllocationWhereInput | boolean connect?: Prisma.LicenseAccountAllocationWhereUniqueInput update?: Prisma.XOR, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput> } export type LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutAccountInput upsert?: Prisma.LicenseAccountAllocationUpsertWithoutAccountInput disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean delete?: Prisma.LicenseAccountAllocationWhereInput | boolean connect?: Prisma.LicenseAccountAllocationWhereUniqueInput update?: Prisma.XOR, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutAccountInput> } export type LicenseAccountAllocationCreateNestedManyWithoutLicense_activationInput = { create?: Prisma.XOR | 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[] 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[] 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[] 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 connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput connect?: Prisma.LicenseAccountAllocationWhereUniqueInput } export type LicenseAccountAllocationUncheckedCreateNestedOneWithoutCreditInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput connect?: Prisma.LicenseAccountAllocationWhereUniqueInput } export type LicenseAccountAllocationUpdateOneWithoutCreditNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput upsert?: Prisma.LicenseAccountAllocationUpsertWithoutCreditInput disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean delete?: Prisma.LicenseAccountAllocationWhereInput | boolean connect?: Prisma.LicenseAccountAllocationWhereUniqueInput update?: Prisma.XOR, Prisma.LicenseAccountAllocationUncheckedUpdateWithoutCreditInput> } export type LicenseAccountAllocationUncheckedUpdateOneWithoutCreditNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.LicenseAccountAllocationCreateOrConnectWithoutCreditInput upsert?: Prisma.LicenseAccountAllocationUpsertWithoutCreditInput disconnect?: Prisma.LicenseAccountAllocationWhereInput | boolean delete?: Prisma.LicenseAccountAllocationWhereInput | boolean connect?: Prisma.LicenseAccountAllocationWhereUniqueInput update?: Prisma.XOR, 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 } export type LicenseAccountAllocationUpsertWithoutAccountInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.LicenseAccountAllocationWhereInput } export type LicenseAccountAllocationUpdateToOneWithWhereWithoutAccountInput = { where?: Prisma.LicenseAccountAllocationWhereInput data: Prisma.XOR } 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 } export type LicenseAccountAllocationCreateManyLicense_activationInputEnvelope = { data: Prisma.LicenseAccountAllocationCreateManyLicense_activationInput | Prisma.LicenseAccountAllocationCreateManyLicense_activationInput[] skipDuplicates?: boolean } export type LicenseAccountAllocationUpsertWithWhereUniqueWithoutLicense_activationInput = { where: Prisma.LicenseAccountAllocationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type LicenseAccountAllocationUpdateWithWhereUniqueWithoutLicense_activationInput = { where: Prisma.LicenseAccountAllocationWhereUniqueInput data: Prisma.XOR } export type LicenseAccountAllocationUpdateManyWithWhereWithoutLicense_activationInput = { where: Prisma.LicenseAccountAllocationScalarWhereInput data: Prisma.XOR } 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 } export type LicenseAccountAllocationUpsertWithoutCreditInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.LicenseAccountAllocationWhereInput } export type LicenseAccountAllocationUpdateToOneWithWhereWithoutCreditInput = { where?: Prisma.LicenseAccountAllocationWhereInput data: Prisma.XOR } 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 = 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 account?: boolean | Prisma.LicenseAccountAllocation$accountArgs credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs }, 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 = runtime.Types.Extensions.GetOmit<"id" | "created_at" | "updated_at" | "license_activation_id" | "account_id" | "credit_id", ExtArgs["result"]["licenseAccountAllocation"]> export type LicenseAccountAllocationInclude = { license_activation?: boolean | Prisma.LicenseAccountAllocation$license_activationArgs account?: boolean | Prisma.LicenseAccountAllocation$accountArgs credit?: boolean | Prisma.LicenseAccountAllocation$creditArgs } export type $LicenseAccountAllocationPayload = { name: "LicenseAccountAllocation" objects: { license_activation: Prisma.$LicenseActivationPayload | null account: Prisma.$ConsumerAccountPayload | null credit: Prisma.$PartnerAccountQuotaCreditPayload | 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 = runtime.Types.Result.GetResult export type LicenseAccountAllocationCountArgs = Omit & { select?: LicenseAccountAllocationCountAggregateInputType | true } export interface LicenseAccountAllocationDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.Prisma__LicenseAccountAllocationClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: LicenseAccountAllocationGroupByArgs['orderBy'] } : { orderBy?: LicenseAccountAllocationGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetLicenseAccountAllocationGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" license_activation = {}>(args?: Prisma.Subset>): Prisma.Prisma__LicenseActivationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> account = {}>(args?: Prisma.Subset>): Prisma.Prisma__ConsumerAccountClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> credit = {}>(args?: Prisma.Subset>): Prisma.Prisma__PartnerAccountQuotaCreditClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * 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 = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null /** * Filter, which LicenseAccountAllocation to fetch. */ where: Prisma.LicenseAccountAllocationWhereUniqueInput } /** * LicenseAccountAllocation findUniqueOrThrow */ export type LicenseAccountAllocationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null /** * Filter, which LicenseAccountAllocation to fetch. */ where: Prisma.LicenseAccountAllocationWhereUniqueInput } /** * LicenseAccountAllocation findFirst */ export type LicenseAccountAllocationFindFirstArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | 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 = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | 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 = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | 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 = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null /** * The data needed to create a LicenseAccountAllocation. */ data: Prisma.XOR } /** * LicenseAccountAllocation createMany */ export type LicenseAccountAllocationCreateManyArgs = { /** * The data used to create many LicenseAccountAllocations. */ data: Prisma.LicenseAccountAllocationCreateManyInput | Prisma.LicenseAccountAllocationCreateManyInput[] skipDuplicates?: boolean } /** * LicenseAccountAllocation update */ export type LicenseAccountAllocationUpdateArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null /** * The data needed to update a LicenseAccountAllocation. */ data: Prisma.XOR /** * Choose, which LicenseAccountAllocation to update. */ where: Prisma.LicenseAccountAllocationWhereUniqueInput } /** * LicenseAccountAllocation updateMany */ export type LicenseAccountAllocationUpdateManyArgs = { /** * The data used to update LicenseAccountAllocations. */ data: Prisma.XOR /** * Filter which LicenseAccountAllocations to update */ where?: Prisma.LicenseAccountAllocationWhereInput /** * Limit how many LicenseAccountAllocations to update. */ limit?: number } /** * LicenseAccountAllocation upsert */ export type LicenseAccountAllocationUpsertArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | 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 /** * In case the LicenseAccountAllocation was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * LicenseAccountAllocation delete */ export type LicenseAccountAllocationDeleteArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null /** * Filter which LicenseAccountAllocation to delete. */ where: Prisma.LicenseAccountAllocationWhereUniqueInput } /** * LicenseAccountAllocation deleteMany */ export type LicenseAccountAllocationDeleteManyArgs = { /** * Filter which LicenseAccountAllocations to delete */ where?: Prisma.LicenseAccountAllocationWhereInput /** * Limit how many LicenseAccountAllocations to delete. */ limit?: number } /** * LicenseAccountAllocation.license_activation */ export type LicenseAccountAllocation$license_activationArgs = { /** * Select specific fields to fetch from the LicenseActivation */ select?: Prisma.LicenseActivationSelect | null /** * Omit specific fields from the LicenseActivation */ omit?: Prisma.LicenseActivationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseActivationInclude | null where?: Prisma.LicenseActivationWhereInput } /** * LicenseAccountAllocation.account */ export type LicenseAccountAllocation$accountArgs = { /** * Select specific fields to fetch from the ConsumerAccount */ select?: Prisma.ConsumerAccountSelect | null /** * Omit specific fields from the ConsumerAccount */ omit?: Prisma.ConsumerAccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ConsumerAccountInclude | null where?: Prisma.ConsumerAccountWhereInput } /** * LicenseAccountAllocation.credit */ export type LicenseAccountAllocation$creditArgs = { /** * Select specific fields to fetch from the PartnerAccountQuotaCredit */ select?: Prisma.PartnerAccountQuotaCreditSelect | null /** * Omit specific fields from the PartnerAccountQuotaCredit */ omit?: Prisma.PartnerAccountQuotaCreditOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PartnerAccountQuotaCreditInclude | null where?: Prisma.PartnerAccountQuotaCreditWhereInput } /** * LicenseAccountAllocation without action */ export type LicenseAccountAllocationDefaultArgs = { /** * Select specific fields to fetch from the LicenseAccountAllocation */ select?: Prisma.LicenseAccountAllocationSelect | null /** * Omit specific fields from the LicenseAccountAllocation */ omit?: Prisma.LicenseAccountAllocationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LicenseAccountAllocationInclude | null }