/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ConsumerAccount` 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 ConsumerAccount * */ export type ConsumerAccountModel = runtime.Types.Result.DefaultSelection export type AggregateConsumerAccount = { _count: ConsumerAccountCountAggregateOutputType | null _min: ConsumerAccountMinAggregateOutputType | null _max: ConsumerAccountMaxAggregateOutputType | null } export type ConsumerAccountMinAggregateOutputType = { id: string | null role: $Enums.ConsumerRole | null created_at: Date | null updated_at: Date | null consumer_id: string | null account_id: string | null } export type ConsumerAccountMaxAggregateOutputType = { id: string | null role: $Enums.ConsumerRole | null created_at: Date | null updated_at: Date | null consumer_id: string | null account_id: string | null } export type ConsumerAccountCountAggregateOutputType = { id: number role: number created_at: number updated_at: number consumer_id: number account_id: number _all: number } export type ConsumerAccountMinAggregateInputType = { id?: true role?: true created_at?: true updated_at?: true consumer_id?: true account_id?: true } export type ConsumerAccountMaxAggregateInputType = { id?: true role?: true created_at?: true updated_at?: true consumer_id?: true account_id?: true } export type ConsumerAccountCountAggregateInputType = { id?: true role?: true created_at?: true updated_at?: true consumer_id?: true account_id?: true _all?: true } export type ConsumerAccountAggregateArgs = { /** * Filter which ConsumerAccount to aggregate. */ where?: Prisma.ConsumerAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConsumerAccounts to fetch. */ orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ConsumerAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConsumerAccounts 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` ConsumerAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ConsumerAccounts **/ _count?: true | ConsumerAccountCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ConsumerAccountMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ConsumerAccountMaxAggregateInputType } export type GetConsumerAccountAggregateType = { [P in keyof T & keyof AggregateConsumerAccount]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ConsumerAccountGroupByArgs = { where?: Prisma.ConsumerAccountWhereInput orderBy?: Prisma.ConsumerAccountOrderByWithAggregationInput | Prisma.ConsumerAccountOrderByWithAggregationInput[] by: Prisma.ConsumerAccountScalarFieldEnum[] | Prisma.ConsumerAccountScalarFieldEnum having?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput take?: number skip?: number _count?: ConsumerAccountCountAggregateInputType | true _min?: ConsumerAccountMinAggregateInputType _max?: ConsumerAccountMaxAggregateInputType } export type ConsumerAccountGroupByOutputType = { id: string role: $Enums.ConsumerRole created_at: Date updated_at: Date consumer_id: string account_id: string _count: ConsumerAccountCountAggregateOutputType | null _min: ConsumerAccountMinAggregateOutputType | null _max: ConsumerAccountMaxAggregateOutputType | null } export type GetConsumerAccountGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ConsumerAccountGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ConsumerAccountWhereInput = { AND?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[] OR?: Prisma.ConsumerAccountWhereInput[] NOT?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[] id?: Prisma.StringFilter<"ConsumerAccount"> | string role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string consumer_id?: Prisma.StringFilter<"ConsumerAccount"> | string account_id?: Prisma.StringFilter<"ConsumerAccount"> | string consumer?: Prisma.XOR account?: Prisma.XOR pos?: Prisma.XOR | null permission?: Prisma.XOR | null account_allocation?: Prisma.XOR | null sales_invoices?: Prisma.SalesInvoiceListRelationFilter } export type ConsumerAccountOrderByWithRelationInput = { id?: Prisma.SortOrder role?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder consumer_id?: Prisma.SortOrder account_id?: Prisma.SortOrder consumer?: Prisma.ConsumerOrderByWithRelationInput account?: Prisma.AccountOrderByWithRelationInput pos?: Prisma.PosOrderByWithRelationInput permission?: Prisma.PermissionConsumerOrderByWithRelationInput account_allocation?: Prisma.LicenseAccountAllocationOrderByWithRelationInput sales_invoices?: Prisma.SalesInvoiceOrderByRelationAggregateInput _relevance?: Prisma.ConsumerAccountOrderByRelevanceInput } export type ConsumerAccountWhereUniqueInput = Prisma.AtLeast<{ id?: string account_id?: string AND?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[] OR?: Prisma.ConsumerAccountWhereInput[] NOT?: Prisma.ConsumerAccountWhereInput | Prisma.ConsumerAccountWhereInput[] role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string consumer_id?: Prisma.StringFilter<"ConsumerAccount"> | string consumer?: Prisma.XOR account?: Prisma.XOR pos?: Prisma.XOR | null permission?: Prisma.XOR | null account_allocation?: Prisma.XOR | null sales_invoices?: Prisma.SalesInvoiceListRelationFilter }, "id" | "account_id"> export type ConsumerAccountOrderByWithAggregationInput = { id?: Prisma.SortOrder role?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder consumer_id?: Prisma.SortOrder account_id?: Prisma.SortOrder _count?: Prisma.ConsumerAccountCountOrderByAggregateInput _max?: Prisma.ConsumerAccountMaxOrderByAggregateInput _min?: Prisma.ConsumerAccountMinOrderByAggregateInput } export type ConsumerAccountScalarWhereWithAggregatesInput = { AND?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput | Prisma.ConsumerAccountScalarWhereWithAggregatesInput[] OR?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput[] NOT?: Prisma.ConsumerAccountScalarWhereWithAggregatesInput | Prisma.ConsumerAccountScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string role?: Prisma.EnumConsumerRoleWithAggregatesFilter<"ConsumerAccount"> | $Enums.ConsumerRole created_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerAccount"> | Date | string updated_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerAccount"> | Date | string consumer_id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string account_id?: Prisma.StringWithAggregatesFilter<"ConsumerAccount"> | string } export type ConsumerAccountCreateInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountCreateManyInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string } export type ConsumerAccountUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ConsumerAccountUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string } export type ConsumerAccountNullableScalarRelationFilter = { is?: Prisma.ConsumerAccountWhereInput | null isNot?: Prisma.ConsumerAccountWhereInput | null } export type ConsumerAccountOrderByRelevanceInput = { fields: Prisma.ConsumerAccountOrderByRelevanceFieldEnum | Prisma.ConsumerAccountOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type ConsumerAccountCountOrderByAggregateInput = { id?: Prisma.SortOrder role?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder consumer_id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type ConsumerAccountMaxOrderByAggregateInput = { id?: Prisma.SortOrder role?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder consumer_id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type ConsumerAccountMinOrderByAggregateInput = { id?: Prisma.SortOrder role?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder consumer_id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type ConsumerAccountListRelationFilter = { every?: Prisma.ConsumerAccountWhereInput some?: Prisma.ConsumerAccountWhereInput none?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ConsumerAccountScalarRelationFilter = { is?: Prisma.ConsumerAccountWhereInput isNot?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountCreateNestedOneWithoutAccountInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUncheckedCreateNestedOneWithoutAccountInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUpdateOneWithoutAccountNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput upsert?: Prisma.ConsumerAccountUpsertWithoutAccountInput disconnect?: Prisma.ConsumerAccountWhereInput | boolean delete?: Prisma.ConsumerAccountWhereInput | boolean connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput> } export type ConsumerAccountUncheckedUpdateOneWithoutAccountNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccountInput upsert?: Prisma.ConsumerAccountUpsertWithoutAccountInput disconnect?: Prisma.ConsumerAccountWhereInput | boolean delete?: Prisma.ConsumerAccountWhereInput | boolean connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutAccountInput> } export type EnumConsumerRoleFieldUpdateOperationsInput = { set?: $Enums.ConsumerRole } export type ConsumerAccountCreateNestedManyWithoutConsumerInput = { create?: Prisma.XOR | Prisma.ConsumerAccountCreateWithoutConsumerInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput[] connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput | Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput[] createMany?: Prisma.ConsumerAccountCreateManyConsumerInputEnvelope connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] } export type ConsumerAccountUncheckedCreateNestedManyWithoutConsumerInput = { create?: Prisma.XOR | Prisma.ConsumerAccountCreateWithoutConsumerInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput[] connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput | Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput[] createMany?: Prisma.ConsumerAccountCreateManyConsumerInputEnvelope connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] } export type ConsumerAccountUpdateManyWithoutConsumerNestedInput = { create?: Prisma.XOR | Prisma.ConsumerAccountCreateWithoutConsumerInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput[] connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput | Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput[] upsert?: Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput[] createMany?: Prisma.ConsumerAccountCreateManyConsumerInputEnvelope set?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] disconnect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] delete?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] update?: Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput[] updateMany?: Prisma.ConsumerAccountUpdateManyWithWhereWithoutConsumerInput | Prisma.ConsumerAccountUpdateManyWithWhereWithoutConsumerInput[] deleteMany?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[] } export type ConsumerAccountUncheckedUpdateManyWithoutConsumerNestedInput = { create?: Prisma.XOR | Prisma.ConsumerAccountCreateWithoutConsumerInput[] | Prisma.ConsumerAccountUncheckedCreateWithoutConsumerInput[] connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput | Prisma.ConsumerAccountCreateOrConnectWithoutConsumerInput[] upsert?: Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput[] createMany?: Prisma.ConsumerAccountCreateManyConsumerInputEnvelope set?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] disconnect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] delete?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] connect?: Prisma.ConsumerAccountWhereUniqueInput | Prisma.ConsumerAccountWhereUniqueInput[] update?: Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput[] updateMany?: Prisma.ConsumerAccountUpdateManyWithWhereWithoutConsumerInput | Prisma.ConsumerAccountUpdateManyWithWhereWithoutConsumerInput[] deleteMany?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[] } export type ConsumerAccountCreateNestedOneWithoutPosInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPosInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUpdateOneRequiredWithoutPosNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPosInput upsert?: Prisma.ConsumerAccountUpsertWithoutPosInput connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutPosInput> } export type ConsumerAccountCreateNestedOneWithoutAccount_allocationInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUpdateOneWithoutAccount_allocationNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutAccount_allocationInput upsert?: Prisma.ConsumerAccountUpsertWithoutAccount_allocationInput disconnect?: Prisma.ConsumerAccountWhereInput | boolean delete?: Prisma.ConsumerAccountWhereInput | boolean connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutAccount_allocationInput> } export type ConsumerAccountCreateNestedOneWithoutPermissionInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUpdateOneRequiredWithoutPermissionNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutPermissionInput upsert?: Prisma.ConsumerAccountUpsertWithoutPermissionInput connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutPermissionInput> } export type ConsumerAccountCreateNestedOneWithoutSales_invoicesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutSales_invoicesInput connect?: Prisma.ConsumerAccountWhereUniqueInput } export type ConsumerAccountUpdateOneRequiredWithoutSales_invoicesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ConsumerAccountCreateOrConnectWithoutSales_invoicesInput upsert?: Prisma.ConsumerAccountUpsertWithoutSales_invoicesInput connect?: Prisma.ConsumerAccountWhereUniqueInput update?: Prisma.XOR, Prisma.ConsumerAccountUncheckedUpdateWithoutSales_invoicesInput> } export type ConsumerAccountCreateWithoutAccountInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateWithoutAccountInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountCreateOrConnectWithoutAccountInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountUpsertWithoutAccountInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountUpdateToOneWithWhereWithoutAccountInput = { where?: Prisma.ConsumerAccountWhereInput data: Prisma.XOR } export type ConsumerAccountUpdateWithoutAccountInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutAccountInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountCreateWithoutConsumerInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateWithoutConsumerInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string account_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountCreateOrConnectWithoutConsumerInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountCreateManyConsumerInputEnvelope = { data: Prisma.ConsumerAccountCreateManyConsumerInput | Prisma.ConsumerAccountCreateManyConsumerInput[] skipDuplicates?: boolean } export type ConsumerAccountUpsertWithWhereUniqueWithoutConsumerInput = { where: Prisma.ConsumerAccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ConsumerAccountUpdateWithWhereUniqueWithoutConsumerInput = { where: Prisma.ConsumerAccountWhereUniqueInput data: Prisma.XOR } export type ConsumerAccountUpdateManyWithWhereWithoutConsumerInput = { where: Prisma.ConsumerAccountScalarWhereInput data: Prisma.XOR } export type ConsumerAccountScalarWhereInput = { AND?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[] OR?: Prisma.ConsumerAccountScalarWhereInput[] NOT?: Prisma.ConsumerAccountScalarWhereInput | Prisma.ConsumerAccountScalarWhereInput[] id?: Prisma.StringFilter<"ConsumerAccount"> | string role?: Prisma.EnumConsumerRoleFilter<"ConsumerAccount"> | $Enums.ConsumerRole created_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string updated_at?: Prisma.DateTimeFilter<"ConsumerAccount"> | Date | string consumer_id?: Prisma.StringFilter<"ConsumerAccount"> | string account_id?: Prisma.StringFilter<"ConsumerAccount"> | string } export type ConsumerAccountCreateWithoutPosInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateWithoutPosInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountCreateOrConnectWithoutPosInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountUpsertWithoutPosInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountUpdateToOneWithWhereWithoutPosInput = { where?: Prisma.ConsumerAccountWhereInput data: Prisma.XOR } export type ConsumerAccountUpdateWithoutPosInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutPosInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountCreateWithoutAccount_allocationInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateWithoutAccount_allocationInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountCreateOrConnectWithoutAccount_allocationInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountUpsertWithoutAccount_allocationInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountUpdateToOneWithWhereWithoutAccount_allocationInput = { where?: Prisma.ConsumerAccountWhereInput data: Prisma.XOR } export type ConsumerAccountUpdateWithoutAccount_allocationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutAccount_allocationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountCreateWithoutPermissionInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountUncheckedCreateWithoutPermissionInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput sales_invoices?: Prisma.SalesInvoiceUncheckedCreateNestedManyWithoutConsumer_accountInput } export type ConsumerAccountCreateOrConnectWithoutPermissionInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountUpsertWithoutPermissionInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountUpdateToOneWithWhereWithoutPermissionInput = { where?: Prisma.ConsumerAccountWhereInput data: Prisma.XOR } export type ConsumerAccountUpdateWithoutPermissionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutPermissionInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountCreateWithoutSales_invoicesInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer: Prisma.ConsumerCreateNestedOneWithoutConsumer_accountsInput account: Prisma.AccountCreateNestedOneWithoutConsumer_accountInput pos?: Prisma.PosCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationCreateNestedOneWithoutAccountInput } export type ConsumerAccountUncheckedCreateWithoutSales_invoicesInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string consumer_id: string account_id: string pos?: Prisma.PosUncheckedCreateNestedOneWithoutAccountInput permission?: Prisma.PermissionConsumerUncheckedCreateNestedOneWithoutConsumer_accountInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedCreateNestedOneWithoutAccountInput } export type ConsumerAccountCreateOrConnectWithoutSales_invoicesInput = { where: Prisma.ConsumerAccountWhereUniqueInput create: Prisma.XOR } export type ConsumerAccountUpsertWithoutSales_invoicesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ConsumerAccountWhereInput } export type ConsumerAccountUpdateToOneWithWhereWithoutSales_invoicesInput = { where?: Prisma.ConsumerAccountWhereInput data: Prisma.XOR } export type ConsumerAccountUpdateWithoutSales_invoicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer?: Prisma.ConsumerUpdateOneRequiredWithoutConsumer_accountsNestedInput account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutSales_invoicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string consumer_id?: Prisma.StringFieldUpdateOperationsInput | string account_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput } export type ConsumerAccountCreateManyConsumerInput = { id?: string role: $Enums.ConsumerRole created_at?: Date | string updated_at?: Date | string account_id: string } export type ConsumerAccountUpdateWithoutConsumerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string account?: Prisma.AccountUpdateOneRequiredWithoutConsumer_accountNestedInput pos?: Prisma.PosUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateWithoutConsumerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string account_id?: Prisma.StringFieldUpdateOperationsInput | string pos?: Prisma.PosUncheckedUpdateOneWithoutAccountNestedInput permission?: Prisma.PermissionConsumerUncheckedUpdateOneWithoutConsumer_accountNestedInput account_allocation?: Prisma.LicenseAccountAllocationUncheckedUpdateOneWithoutAccountNestedInput sales_invoices?: Prisma.SalesInvoiceUncheckedUpdateManyWithoutConsumer_accountNestedInput } export type ConsumerAccountUncheckedUpdateManyWithoutConsumerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string role?: Prisma.EnumConsumerRoleFieldUpdateOperationsInput | $Enums.ConsumerRole created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string account_id?: Prisma.StringFieldUpdateOperationsInput | string } /** * Count Type ConsumerAccountCountOutputType */ export type ConsumerAccountCountOutputType = { sales_invoices: number } export type ConsumerAccountCountOutputTypeSelect = { sales_invoices?: boolean | ConsumerAccountCountOutputTypeCountSales_invoicesArgs } /** * ConsumerAccountCountOutputType without action */ export type ConsumerAccountCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ConsumerAccountCountOutputType */ select?: Prisma.ConsumerAccountCountOutputTypeSelect | null } /** * ConsumerAccountCountOutputType without action */ export type ConsumerAccountCountOutputTypeCountSales_invoicesArgs = { where?: Prisma.SalesInvoiceWhereInput } export type ConsumerAccountSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean role?: boolean created_at?: boolean updated_at?: boolean consumer_id?: boolean account_id?: boolean consumer?: boolean | Prisma.ConsumerDefaultArgs account?: boolean | Prisma.AccountDefaultArgs pos?: boolean | Prisma.ConsumerAccount$posArgs permission?: boolean | Prisma.ConsumerAccount$permissionArgs account_allocation?: boolean | Prisma.ConsumerAccount$account_allocationArgs sales_invoices?: boolean | Prisma.ConsumerAccount$sales_invoicesArgs _count?: boolean | Prisma.ConsumerAccountCountOutputTypeDefaultArgs }, ExtArgs["result"]["consumerAccount"]> export type ConsumerAccountSelectScalar = { id?: boolean role?: boolean created_at?: boolean updated_at?: boolean consumer_id?: boolean account_id?: boolean } export type ConsumerAccountOmit = runtime.Types.Extensions.GetOmit<"id" | "role" | "created_at" | "updated_at" | "consumer_id" | "account_id", ExtArgs["result"]["consumerAccount"]> export type ConsumerAccountInclude = { consumer?: boolean | Prisma.ConsumerDefaultArgs account?: boolean | Prisma.AccountDefaultArgs pos?: boolean | Prisma.ConsumerAccount$posArgs permission?: boolean | Prisma.ConsumerAccount$permissionArgs account_allocation?: boolean | Prisma.ConsumerAccount$account_allocationArgs sales_invoices?: boolean | Prisma.ConsumerAccount$sales_invoicesArgs _count?: boolean | Prisma.ConsumerAccountCountOutputTypeDefaultArgs } export type $ConsumerAccountPayload = { name: "ConsumerAccount" objects: { consumer: Prisma.$ConsumerPayload account: Prisma.$AccountPayload pos: Prisma.$PosPayload | null permission: Prisma.$PermissionConsumerPayload | null account_allocation: Prisma.$LicenseAccountAllocationPayload | null sales_invoices: Prisma.$SalesInvoicePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string role: $Enums.ConsumerRole created_at: Date updated_at: Date consumer_id: string account_id: string }, ExtArgs["result"]["consumerAccount"]> composites: {} } export type ConsumerAccountGetPayload = runtime.Types.Result.GetResult export type ConsumerAccountCountArgs = Omit & { select?: ConsumerAccountCountAggregateInputType | true } export interface ConsumerAccountDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ConsumerAccount'], meta: { name: 'ConsumerAccount' } } /** * Find zero or one ConsumerAccount that matches the filter. * @param {ConsumerAccountFindUniqueArgs} args - Arguments to find a ConsumerAccount * @example * // Get one ConsumerAccount * const consumerAccount = await prisma.consumerAccount.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ConsumerAccount that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ConsumerAccountFindUniqueOrThrowArgs} args - Arguments to find a ConsumerAccount * @example * // Get one ConsumerAccount * const consumerAccount = await prisma.consumerAccount.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ConsumerAccount 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 {ConsumerAccountFindFirstArgs} args - Arguments to find a ConsumerAccount * @example * // Get one ConsumerAccount * const consumerAccount = await prisma.consumerAccount.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ConsumerAccount 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 {ConsumerAccountFindFirstOrThrowArgs} args - Arguments to find a ConsumerAccount * @example * // Get one ConsumerAccount * const consumerAccount = await prisma.consumerAccount.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ConsumerAccounts 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 {ConsumerAccountFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ConsumerAccounts * const consumerAccounts = await prisma.consumerAccount.findMany() * * // Get first 10 ConsumerAccounts * const consumerAccounts = await prisma.consumerAccount.findMany({ take: 10 }) * * // Only select the `id` * const consumerAccountWithIdOnly = await prisma.consumerAccount.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ConsumerAccount. * @param {ConsumerAccountCreateArgs} args - Arguments to create a ConsumerAccount. * @example * // Create one ConsumerAccount * const ConsumerAccount = await prisma.consumerAccount.create({ * data: { * // ... data to create a ConsumerAccount * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ConsumerAccounts. * @param {ConsumerAccountCreateManyArgs} args - Arguments to create many ConsumerAccounts. * @example * // Create many ConsumerAccounts * const consumerAccount = await prisma.consumerAccount.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a ConsumerAccount. * @param {ConsumerAccountDeleteArgs} args - Arguments to delete one ConsumerAccount. * @example * // Delete one ConsumerAccount * const ConsumerAccount = await prisma.consumerAccount.delete({ * where: { * // ... filter to delete one ConsumerAccount * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ConsumerAccount. * @param {ConsumerAccountUpdateArgs} args - Arguments to update one ConsumerAccount. * @example * // Update one ConsumerAccount * const consumerAccount = await prisma.consumerAccount.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ConsumerAccounts. * @param {ConsumerAccountDeleteManyArgs} args - Arguments to filter ConsumerAccounts to delete. * @example * // Delete a few ConsumerAccounts * const { count } = await prisma.consumerAccount.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ConsumerAccounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConsumerAccountUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ConsumerAccounts * const consumerAccount = await prisma.consumerAccount.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one ConsumerAccount. * @param {ConsumerAccountUpsertArgs} args - Arguments to update or create a ConsumerAccount. * @example * // Update or create a ConsumerAccount * const consumerAccount = await prisma.consumerAccount.upsert({ * create: { * // ... data to create a ConsumerAccount * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ConsumerAccount we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ConsumerAccountClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ConsumerAccounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConsumerAccountCountArgs} args - Arguments to filter ConsumerAccounts to count. * @example * // Count the number of ConsumerAccounts * const count = await prisma.consumerAccount.count({ * where: { * // ... the filter for the ConsumerAccounts 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 ConsumerAccount. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConsumerAccountAggregateArgs} 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 ConsumerAccount. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ConsumerAccountGroupByArgs} 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 ConsumerAccountGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ConsumerAccountGroupByArgs['orderBy'] } : { orderBy?: ConsumerAccountGroupByArgs['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 ? GetConsumerAccountGroupByPayload : Prisma.PrismaPromise /** * Fields of the ConsumerAccount model */ readonly fields: ConsumerAccountFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ConsumerAccount. * 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__ConsumerAccountClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" consumer = {}>(args?: Prisma.Subset>): Prisma.Prisma__ConsumerClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> account = {}>(args?: Prisma.Subset>): Prisma.Prisma__AccountClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> pos = {}>(args?: Prisma.Subset>): Prisma.Prisma__PosClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> permission = {}>(args?: Prisma.Subset>): Prisma.Prisma__PermissionConsumerClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> account_allocation = {}>(args?: Prisma.Subset>): Prisma.Prisma__LicenseAccountAllocationClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> sales_invoices = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 ConsumerAccount model */ export interface ConsumerAccountFieldRefs { readonly id: Prisma.FieldRef<"ConsumerAccount", 'String'> readonly role: Prisma.FieldRef<"ConsumerAccount", 'ConsumerRole'> readonly created_at: Prisma.FieldRef<"ConsumerAccount", 'DateTime'> readonly updated_at: Prisma.FieldRef<"ConsumerAccount", 'DateTime'> readonly consumer_id: Prisma.FieldRef<"ConsumerAccount", 'String'> readonly account_id: Prisma.FieldRef<"ConsumerAccount", 'String'> } // Custom InputTypes /** * ConsumerAccount findUnique */ export type ConsumerAccountFindUniqueArgs = { /** * 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 /** * Filter, which ConsumerAccount to fetch. */ where: Prisma.ConsumerAccountWhereUniqueInput } /** * ConsumerAccount findUniqueOrThrow */ export type ConsumerAccountFindUniqueOrThrowArgs = { /** * 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 /** * Filter, which ConsumerAccount to fetch. */ where: Prisma.ConsumerAccountWhereUniqueInput } /** * ConsumerAccount findFirst */ export type ConsumerAccountFindFirstArgs = { /** * 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 /** * Filter, which ConsumerAccount to fetch. */ where?: Prisma.ConsumerAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConsumerAccounts to fetch. */ orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ConsumerAccounts. */ cursor?: Prisma.ConsumerAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConsumerAccounts 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` ConsumerAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ConsumerAccounts. */ distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[] } /** * ConsumerAccount findFirstOrThrow */ export type ConsumerAccountFindFirstOrThrowArgs = { /** * 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 /** * Filter, which ConsumerAccount to fetch. */ where?: Prisma.ConsumerAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConsumerAccounts to fetch. */ orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ConsumerAccounts. */ cursor?: Prisma.ConsumerAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConsumerAccounts 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` ConsumerAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ConsumerAccounts. */ distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[] } /** * ConsumerAccount findMany */ export type ConsumerAccountFindManyArgs = { /** * 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 /** * Filter, which ConsumerAccounts to fetch. */ where?: Prisma.ConsumerAccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ConsumerAccounts to fetch. */ orderBy?: Prisma.ConsumerAccountOrderByWithRelationInput | Prisma.ConsumerAccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ConsumerAccounts. */ cursor?: Prisma.ConsumerAccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ConsumerAccounts 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` ConsumerAccounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ConsumerAccounts. */ distinct?: Prisma.ConsumerAccountScalarFieldEnum | Prisma.ConsumerAccountScalarFieldEnum[] } /** * ConsumerAccount create */ export type ConsumerAccountCreateArgs = { /** * 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 /** * The data needed to create a ConsumerAccount. */ data: Prisma.XOR } /** * ConsumerAccount createMany */ export type ConsumerAccountCreateManyArgs = { /** * The data used to create many ConsumerAccounts. */ data: Prisma.ConsumerAccountCreateManyInput | Prisma.ConsumerAccountCreateManyInput[] skipDuplicates?: boolean } /** * ConsumerAccount update */ export type ConsumerAccountUpdateArgs = { /** * 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 /** * The data needed to update a ConsumerAccount. */ data: Prisma.XOR /** * Choose, which ConsumerAccount to update. */ where: Prisma.ConsumerAccountWhereUniqueInput } /** * ConsumerAccount updateMany */ export type ConsumerAccountUpdateManyArgs = { /** * The data used to update ConsumerAccounts. */ data: Prisma.XOR /** * Filter which ConsumerAccounts to update */ where?: Prisma.ConsumerAccountWhereInput /** * Limit how many ConsumerAccounts to update. */ limit?: number } /** * ConsumerAccount upsert */ export type ConsumerAccountUpsertArgs = { /** * 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 /** * The filter to search for the ConsumerAccount to update in case it exists. */ where: Prisma.ConsumerAccountWhereUniqueInput /** * In case the ConsumerAccount found by the `where` argument doesn't exist, create a new ConsumerAccount with this data. */ create: Prisma.XOR /** * In case the ConsumerAccount was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ConsumerAccount delete */ export type ConsumerAccountDeleteArgs = { /** * 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 /** * Filter which ConsumerAccount to delete. */ where: Prisma.ConsumerAccountWhereUniqueInput } /** * ConsumerAccount deleteMany */ export type ConsumerAccountDeleteManyArgs = { /** * Filter which ConsumerAccounts to delete */ where?: Prisma.ConsumerAccountWhereInput /** * Limit how many ConsumerAccounts to delete. */ limit?: number } /** * ConsumerAccount.pos */ export type ConsumerAccount$posArgs = { /** * Select specific fields to fetch from the Pos */ select?: Prisma.PosSelect | null /** * Omit specific fields from the Pos */ omit?: Prisma.PosOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PosInclude | null where?: Prisma.PosWhereInput } /** * ConsumerAccount.permission */ export type ConsumerAccount$permissionArgs = { /** * Select specific fields to fetch from the PermissionConsumer */ select?: Prisma.PermissionConsumerSelect | null /** * Omit specific fields from the PermissionConsumer */ omit?: Prisma.PermissionConsumerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PermissionConsumerInclude | null where?: Prisma.PermissionConsumerWhereInput } /** * ConsumerAccount.account_allocation */ export type ConsumerAccount$account_allocationArgs = { /** * 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 where?: Prisma.LicenseAccountAllocationWhereInput } /** * ConsumerAccount.sales_invoices */ export type ConsumerAccount$sales_invoicesArgs = { /** * Select specific fields to fetch from the SalesInvoice */ select?: Prisma.SalesInvoiceSelect | null /** * Omit specific fields from the SalesInvoice */ omit?: Prisma.SalesInvoiceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SalesInvoiceInclude | null where?: Prisma.SalesInvoiceWhereInput orderBy?: Prisma.SalesInvoiceOrderByWithRelationInput | Prisma.SalesInvoiceOrderByWithRelationInput[] cursor?: Prisma.SalesInvoiceWhereUniqueInput take?: number skip?: number distinct?: Prisma.SalesInvoiceScalarFieldEnum | Prisma.SalesInvoiceScalarFieldEnum[] } /** * ConsumerAccount without action */ export type ConsumerAccountDefaultArgs = { /** * 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 }