/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Account` 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 Account * */ export type AccountModel = runtime.Types.Result.DefaultSelection export type AggregateAccount = { _count: AccountCountAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } export type AccountMinAggregateOutputType = { id: string | null username: string | null type: $Enums.AccountType | null status: $Enums.AccountStatus | null password: string | null created_at: Date | null updated_at: Date | null user_id: string | null partner_id: string | null business_id: string | null provider_id: string | null pos_id: string | null } export type AccountMaxAggregateOutputType = { id: string | null username: string | null type: $Enums.AccountType | null status: $Enums.AccountStatus | null password: string | null created_at: Date | null updated_at: Date | null user_id: string | null partner_id: string | null business_id: string | null provider_id: string | null pos_id: string | null } export type AccountCountAggregateOutputType = { id: number username: number type: number status: number password: number created_at: number updated_at: number user_id: number partner_id: number business_id: number provider_id: number pos_id: number _all: number } export type AccountMinAggregateInputType = { id?: true username?: true type?: true status?: true password?: true created_at?: true updated_at?: true user_id?: true partner_id?: true business_id?: true provider_id?: true pos_id?: true } export type AccountMaxAggregateInputType = { id?: true username?: true type?: true status?: true password?: true created_at?: true updated_at?: true user_id?: true partner_id?: true business_id?: true provider_id?: true pos_id?: true } export type AccountCountAggregateInputType = { id?: true username?: true type?: true status?: true password?: true created_at?: true updated_at?: true user_id?: true partner_id?: true business_id?: true provider_id?: true pos_id?: true _all?: true } export type AccountAggregateArgs = { /** * Filter which Account to aggregate. */ where?: Prisma.AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Accounts **/ _count?: true | AccountCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AccountMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AccountMaxAggregateInputType } export type GetAccountAggregateType = { [P in keyof T & keyof AggregateAccount]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AccountGroupByArgs = { where?: Prisma.AccountWhereInput orderBy?: Prisma.AccountOrderByWithAggregationInput | Prisma.AccountOrderByWithAggregationInput[] by: Prisma.AccountScalarFieldEnum[] | Prisma.AccountScalarFieldEnum having?: Prisma.AccountScalarWhereWithAggregatesInput take?: number skip?: number _count?: AccountCountAggregateInputType | true _min?: AccountMinAggregateInputType _max?: AccountMaxAggregateInputType } export type AccountGroupByOutputType = { id: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at: Date updated_at: Date user_id: string partner_id: string | null business_id: string | null provider_id: string | null pos_id: string | null _count: AccountCountAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } type GetAccountGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AccountGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AccountWhereInput = { AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] OR?: Prisma.AccountWhereInput[] NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] id?: Prisma.StringFilter<"Account"> | string username?: Prisma.StringFilter<"Account"> | string type?: Prisma.EnumAccountTypeFilter<"Account"> | $Enums.AccountType status?: Prisma.EnumAccountStatusFilter<"Account"> | $Enums.AccountStatus password?: Prisma.StringFilter<"Account"> | string created_at?: Prisma.DateTimeFilter<"Account"> | Date | string updated_at?: Prisma.DateTimeFilter<"Account"> | Date | string user_id?: Prisma.StringFilter<"Account"> | string partner_id?: Prisma.StringNullableFilter<"Account"> | string | null business_id?: Prisma.StringNullableFilter<"Account"> | string | null provider_id?: Prisma.StringNullableFilter<"Account"> | string | null pos_id?: Prisma.StringNullableFilter<"Account"> | string | null user?: Prisma.XOR partner?: Prisma.XOR | null business?: Prisma.XOR | null provider?: Prisma.XOR | null pos?: Prisma.XOR | null verification_codes?: Prisma.VerificationCodeListRelationFilter tokens?: Prisma.TokenListRelationFilter } export type AccountOrderByWithRelationInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder type?: Prisma.SortOrder status?: Prisma.SortOrder password?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder user_id?: Prisma.SortOrder partner_id?: Prisma.SortOrderInput | Prisma.SortOrder business_id?: Prisma.SortOrderInput | Prisma.SortOrder provider_id?: Prisma.SortOrderInput | Prisma.SortOrder pos_id?: Prisma.SortOrderInput | Prisma.SortOrder user?: Prisma.UserOrderByWithRelationInput partner?: Prisma.PartnerOrderByWithRelationInput business?: Prisma.BusinessActivityOrderByWithRelationInput provider?: Prisma.ProviderOrderByWithRelationInput pos?: Prisma.PosOrderByWithRelationInput verification_codes?: Prisma.VerificationCodeOrderByRelationAggregateInput tokens?: Prisma.TokenOrderByRelationAggregateInput _relevance?: Prisma.AccountOrderByRelevanceInput } export type AccountWhereUniqueInput = Prisma.AtLeast<{ id?: string username?: string user_id_business_id?: Prisma.AccountUser_idBusiness_idCompoundUniqueInput user_id_provider_id?: Prisma.AccountUser_idProvider_idCompoundUniqueInput user_id_pos_id?: Prisma.AccountUser_idPos_idCompoundUniqueInput AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] OR?: Prisma.AccountWhereInput[] NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] type?: Prisma.EnumAccountTypeFilter<"Account"> | $Enums.AccountType status?: Prisma.EnumAccountStatusFilter<"Account"> | $Enums.AccountStatus password?: Prisma.StringFilter<"Account"> | string created_at?: Prisma.DateTimeFilter<"Account"> | Date | string updated_at?: Prisma.DateTimeFilter<"Account"> | Date | string user_id?: Prisma.StringFilter<"Account"> | string partner_id?: Prisma.StringNullableFilter<"Account"> | string | null business_id?: Prisma.StringNullableFilter<"Account"> | string | null provider_id?: Prisma.StringNullableFilter<"Account"> | string | null pos_id?: Prisma.StringNullableFilter<"Account"> | string | null user?: Prisma.XOR partner?: Prisma.XOR | null business?: Prisma.XOR | null provider?: Prisma.XOR | null pos?: Prisma.XOR | null verification_codes?: Prisma.VerificationCodeListRelationFilter tokens?: Prisma.TokenListRelationFilter }, "id" | "username" | "user_id_business_id" | "user_id_provider_id" | "user_id_pos_id"> export type AccountOrderByWithAggregationInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder type?: Prisma.SortOrder status?: Prisma.SortOrder password?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder user_id?: Prisma.SortOrder partner_id?: Prisma.SortOrderInput | Prisma.SortOrder business_id?: Prisma.SortOrderInput | Prisma.SortOrder provider_id?: Prisma.SortOrderInput | Prisma.SortOrder pos_id?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AccountCountOrderByAggregateInput _max?: Prisma.AccountMaxOrderByAggregateInput _min?: Prisma.AccountMinOrderByAggregateInput } export type AccountScalarWhereWithAggregatesInput = { AND?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] OR?: Prisma.AccountScalarWhereWithAggregatesInput[] NOT?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Account"> | string username?: Prisma.StringWithAggregatesFilter<"Account"> | string type?: Prisma.EnumAccountTypeWithAggregatesFilter<"Account"> | $Enums.AccountType status?: Prisma.EnumAccountStatusWithAggregatesFilter<"Account"> | $Enums.AccountStatus password?: Prisma.StringWithAggregatesFilter<"Account"> | string created_at?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string updated_at?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string user_id?: Prisma.StringWithAggregatesFilter<"Account"> | string partner_id?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null business_id?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null provider_id?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null pos_id?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null } export type AccountCreateInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountCreateManyInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null } export type AccountUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type AccountUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AccountScalarRelationFilter = { is?: Prisma.AccountWhereInput isNot?: Prisma.AccountWhereInput } export type AccountListRelationFilter = { every?: Prisma.AccountWhereInput some?: Prisma.AccountWhereInput none?: Prisma.AccountWhereInput } export type AccountOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AccountOrderByRelevanceInput = { fields: Prisma.AccountOrderByRelevanceFieldEnum | Prisma.AccountOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type AccountUser_idBusiness_idCompoundUniqueInput = { user_id: string business_id: string } export type AccountUser_idProvider_idCompoundUniqueInput = { user_id: string provider_id: string } export type AccountUser_idPos_idCompoundUniqueInput = { user_id: string pos_id: string } export type AccountCountOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder type?: Prisma.SortOrder status?: Prisma.SortOrder password?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder user_id?: Prisma.SortOrder partner_id?: Prisma.SortOrder business_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder pos_id?: Prisma.SortOrder } export type AccountMaxOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder type?: Prisma.SortOrder status?: Prisma.SortOrder password?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder user_id?: Prisma.SortOrder partner_id?: Prisma.SortOrder business_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder pos_id?: Prisma.SortOrder } export type AccountMinOrderByAggregateInput = { id?: Prisma.SortOrder username?: Prisma.SortOrder type?: Prisma.SortOrder status?: Prisma.SortOrder password?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder user_id?: Prisma.SortOrder partner_id?: Prisma.SortOrder business_id?: Prisma.SortOrder provider_id?: Prisma.SortOrder pos_id?: Prisma.SortOrder } export type AccountCreateNestedOneWithoutTokensInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutTokensInput connect?: Prisma.AccountWhereUniqueInput } export type AccountUpdateOneRequiredWithoutTokensNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutTokensInput upsert?: Prisma.AccountUpsertWithoutTokensInput connect?: Prisma.AccountWhereUniqueInput update?: Prisma.XOR, Prisma.AccountUncheckedUpdateWithoutTokensInput> } export type AccountCreateNestedOneWithoutVerification_codesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutVerification_codesInput connect?: Prisma.AccountWhereUniqueInput } export type AccountUpdateOneRequiredWithoutVerification_codesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutVerification_codesInput upsert?: Prisma.AccountUpsertWithoutVerification_codesInput connect?: Prisma.AccountWhereUniqueInput update?: Prisma.XOR, Prisma.AccountUncheckedUpdateWithoutVerification_codesInput> } export type AccountCreateNestedManyWithoutBusinessInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutBusinessInput[] | Prisma.AccountUncheckedCreateWithoutBusinessInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutBusinessInput | Prisma.AccountCreateOrConnectWithoutBusinessInput[] createMany?: Prisma.AccountCreateManyBusinessInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutBusinessInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutBusinessInput[] | Prisma.AccountUncheckedCreateWithoutBusinessInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutBusinessInput | Prisma.AccountCreateOrConnectWithoutBusinessInput[] createMany?: Prisma.AccountCreateManyBusinessInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutBusinessNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutBusinessInput[] | Prisma.AccountUncheckedCreateWithoutBusinessInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutBusinessInput | Prisma.AccountCreateOrConnectWithoutBusinessInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutBusinessInput | Prisma.AccountUpsertWithWhereUniqueWithoutBusinessInput[] createMany?: Prisma.AccountCreateManyBusinessInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutBusinessInput | Prisma.AccountUpdateWithWhereUniqueWithoutBusinessInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutBusinessInput | Prisma.AccountUpdateManyWithWhereWithoutBusinessInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutBusinessNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutBusinessInput[] | Prisma.AccountUncheckedCreateWithoutBusinessInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutBusinessInput | Prisma.AccountCreateOrConnectWithoutBusinessInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutBusinessInput | Prisma.AccountUpsertWithWhereUniqueWithoutBusinessInput[] createMany?: Prisma.AccountCreateManyBusinessInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutBusinessInput | Prisma.AccountUpdateWithWhereUniqueWithoutBusinessInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutBusinessInput | Prisma.AccountUpdateManyWithWhereWithoutBusinessInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountCreateNestedManyWithoutPosInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPosInput[] | Prisma.AccountUncheckedCreateWithoutPosInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPosInput | Prisma.AccountCreateOrConnectWithoutPosInput[] createMany?: Prisma.AccountCreateManyPosInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutPosInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPosInput[] | Prisma.AccountUncheckedCreateWithoutPosInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPosInput | Prisma.AccountCreateOrConnectWithoutPosInput[] createMany?: Prisma.AccountCreateManyPosInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutPosNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPosInput[] | Prisma.AccountUncheckedCreateWithoutPosInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPosInput | Prisma.AccountCreateOrConnectWithoutPosInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutPosInput | Prisma.AccountUpsertWithWhereUniqueWithoutPosInput[] createMany?: Prisma.AccountCreateManyPosInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutPosInput | Prisma.AccountUpdateWithWhereUniqueWithoutPosInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutPosInput | Prisma.AccountUpdateManyWithWhereWithoutPosInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutPosNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPosInput[] | Prisma.AccountUncheckedCreateWithoutPosInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPosInput | Prisma.AccountCreateOrConnectWithoutPosInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutPosInput | Prisma.AccountUpsertWithWhereUniqueWithoutPosInput[] createMany?: Prisma.AccountCreateManyPosInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutPosInput | Prisma.AccountUpdateWithWhereUniqueWithoutPosInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutPosInput | Prisma.AccountUpdateManyWithWhereWithoutPosInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountCreateNestedManyWithoutPartnerInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPartnerInput[] | Prisma.AccountUncheckedCreateWithoutPartnerInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPartnerInput | Prisma.AccountCreateOrConnectWithoutPartnerInput[] createMany?: Prisma.AccountCreateManyPartnerInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutPartnerInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPartnerInput[] | Prisma.AccountUncheckedCreateWithoutPartnerInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPartnerInput | Prisma.AccountCreateOrConnectWithoutPartnerInput[] createMany?: Prisma.AccountCreateManyPartnerInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutPartnerNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPartnerInput[] | Prisma.AccountUncheckedCreateWithoutPartnerInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPartnerInput | Prisma.AccountCreateOrConnectWithoutPartnerInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutPartnerInput | Prisma.AccountUpsertWithWhereUniqueWithoutPartnerInput[] createMany?: Prisma.AccountCreateManyPartnerInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutPartnerInput | Prisma.AccountUpdateWithWhereUniqueWithoutPartnerInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutPartnerInput | Prisma.AccountUpdateManyWithWhereWithoutPartnerInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutPartnerNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutPartnerInput[] | Prisma.AccountUncheckedCreateWithoutPartnerInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutPartnerInput | Prisma.AccountCreateOrConnectWithoutPartnerInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutPartnerInput | Prisma.AccountUpsertWithWhereUniqueWithoutPartnerInput[] createMany?: Prisma.AccountCreateManyPartnerInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutPartnerInput | Prisma.AccountUpdateWithWhereUniqueWithoutPartnerInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutPartnerInput | Prisma.AccountUpdateManyWithWhereWithoutPartnerInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] createMany?: Prisma.AccountCreateManyUserInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] createMany?: Prisma.AccountCreateManyUserInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.AccountCreateManyUserInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutUserInput[] | Prisma.AccountUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutUserInput | Prisma.AccountCreateOrConnectWithoutUserInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutUserInput | Prisma.AccountUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.AccountCreateManyUserInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutUserInput | Prisma.AccountUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutUserInput | Prisma.AccountUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type EnumAccountTypeFieldUpdateOperationsInput = { set?: $Enums.AccountType } export type EnumAccountStatusFieldUpdateOperationsInput = { set?: $Enums.AccountStatus } export type AccountCreateNestedManyWithoutProviderInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutProviderInput[] | Prisma.AccountUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutProviderInput | Prisma.AccountCreateOrConnectWithoutProviderInput[] createMany?: Prisma.AccountCreateManyProviderInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUncheckedCreateNestedManyWithoutProviderInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutProviderInput[] | Prisma.AccountUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutProviderInput | Prisma.AccountCreateOrConnectWithoutProviderInput[] createMany?: Prisma.AccountCreateManyProviderInputEnvelope connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] } export type AccountUpdateManyWithoutProviderNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutProviderInput[] | Prisma.AccountUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutProviderInput | Prisma.AccountCreateOrConnectWithoutProviderInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutProviderInput | Prisma.AccountUpsertWithWhereUniqueWithoutProviderInput[] createMany?: Prisma.AccountCreateManyProviderInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutProviderInput | Prisma.AccountUpdateWithWhereUniqueWithoutProviderInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutProviderInput | Prisma.AccountUpdateManyWithWhereWithoutProviderInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountUncheckedUpdateManyWithoutProviderNestedInput = { create?: Prisma.XOR | Prisma.AccountCreateWithoutProviderInput[] | Prisma.AccountUncheckedCreateWithoutProviderInput[] connectOrCreate?: Prisma.AccountCreateOrConnectWithoutProviderInput | Prisma.AccountCreateOrConnectWithoutProviderInput[] upsert?: Prisma.AccountUpsertWithWhereUniqueWithoutProviderInput | Prisma.AccountUpsertWithWhereUniqueWithoutProviderInput[] createMany?: Prisma.AccountCreateManyProviderInputEnvelope set?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] disconnect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] delete?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] connect?: Prisma.AccountWhereUniqueInput | Prisma.AccountWhereUniqueInput[] update?: Prisma.AccountUpdateWithWhereUniqueWithoutProviderInput | Prisma.AccountUpdateWithWhereUniqueWithoutProviderInput[] updateMany?: Prisma.AccountUpdateManyWithWhereWithoutProviderInput | Prisma.AccountUpdateManyWithWhereWithoutProviderInput[] deleteMany?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] } export type AccountCreateWithoutTokensInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutTokensInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutTokensInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountUpsertWithoutTokensInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AccountWhereInput } export type AccountUpdateToOneWithWhereWithoutTokensInput = { where?: Prisma.AccountWhereInput data: Prisma.XOR } export type AccountUpdateWithoutTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutTokensInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput } export type AccountCreateWithoutVerification_codesInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutVerification_codesInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutVerification_codesInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountUpsertWithoutVerification_codesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AccountWhereInput } export type AccountUpdateToOneWithWhereWithoutVerification_codesInput = { where?: Prisma.AccountWhereInput data: Prisma.XOR } export type AccountUpdateWithoutVerification_codesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutVerification_codesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountCreateWithoutBusinessInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutBusinessInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null provider_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutBusinessInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountCreateManyBusinessInputEnvelope = { data: Prisma.AccountCreateManyBusinessInput | Prisma.AccountCreateManyBusinessInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutBusinessInput = { where: Prisma.AccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AccountUpdateWithWhereUniqueWithoutBusinessInput = { where: Prisma.AccountWhereUniqueInput data: Prisma.XOR } export type AccountUpdateManyWithWhereWithoutBusinessInput = { where: Prisma.AccountScalarWhereInput data: Prisma.XOR } export type AccountScalarWhereInput = { AND?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] OR?: Prisma.AccountScalarWhereInput[] NOT?: Prisma.AccountScalarWhereInput | Prisma.AccountScalarWhereInput[] id?: Prisma.StringFilter<"Account"> | string username?: Prisma.StringFilter<"Account"> | string type?: Prisma.EnumAccountTypeFilter<"Account"> | $Enums.AccountType status?: Prisma.EnumAccountStatusFilter<"Account"> | $Enums.AccountStatus password?: Prisma.StringFilter<"Account"> | string created_at?: Prisma.DateTimeFilter<"Account"> | Date | string updated_at?: Prisma.DateTimeFilter<"Account"> | Date | string user_id?: Prisma.StringFilter<"Account"> | string partner_id?: Prisma.StringNullableFilter<"Account"> | string | null business_id?: Prisma.StringNullableFilter<"Account"> | string | null provider_id?: Prisma.StringNullableFilter<"Account"> | string | null pos_id?: Prisma.StringNullableFilter<"Account"> | string | null } export type AccountCreateWithoutPosInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutPosInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutPosInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountCreateManyPosInputEnvelope = { data: Prisma.AccountCreateManyPosInput | Prisma.AccountCreateManyPosInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutPosInput = { where: Prisma.AccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AccountUpdateWithWhereUniqueWithoutPosInput = { where: Prisma.AccountWhereUniqueInput data: Prisma.XOR } export type AccountUpdateManyWithWhereWithoutPosInput = { where: Prisma.AccountScalarWhereInput data: Prisma.XOR } export type AccountCreateWithoutPartnerInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutPartnerInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string business_id?: string | null provider_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutPartnerInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountCreateManyPartnerInputEnvelope = { data: Prisma.AccountCreateManyPartnerInput | Prisma.AccountCreateManyPartnerInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutPartnerInput = { where: Prisma.AccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AccountUpdateWithWhereUniqueWithoutPartnerInput = { where: Prisma.AccountWhereUniqueInput data: Prisma.XOR } export type AccountUpdateManyWithWhereWithoutPartnerInput = { where: Prisma.AccountScalarWhereInput data: Prisma.XOR } export type AccountCreateWithoutUserInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput provider?: Prisma.ProviderCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutUserInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutUserInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountCreateManyUserInputEnvelope = { data: Prisma.AccountCreateManyUserInput | Prisma.AccountCreateManyUserInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.AccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AccountUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.AccountWhereUniqueInput data: Prisma.XOR } export type AccountUpdateManyWithWhereWithoutUserInput = { where: Prisma.AccountScalarWhereInput data: Prisma.XOR } export type AccountCreateWithoutProviderInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user: Prisma.UserCreateNestedOneWithoutAccountsInput partner?: Prisma.PartnerCreateNestedOneWithoutAccountInput business?: Prisma.BusinessActivityCreateNestedOneWithoutAccountsInput pos?: Prisma.PosCreateNestedOneWithoutAccountsInput verification_codes?: Prisma.VerificationCodeCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateWithoutProviderInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null pos_id?: string | null verification_codes?: Prisma.VerificationCodeUncheckedCreateNestedManyWithoutAccountInput tokens?: Prisma.TokenUncheckedCreateNestedManyWithoutAccountInput } export type AccountCreateOrConnectWithoutProviderInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountCreateManyProviderInputEnvelope = { data: Prisma.AccountCreateManyProviderInput | Prisma.AccountCreateManyProviderInput[] skipDuplicates?: boolean } export type AccountUpsertWithWhereUniqueWithoutProviderInput = { where: Prisma.AccountWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AccountUpdateWithWhereUniqueWithoutProviderInput = { where: Prisma.AccountWhereUniqueInput data: Prisma.XOR } export type AccountUpdateManyWithWhereWithoutProviderInput = { where: Prisma.AccountScalarWhereInput data: Prisma.XOR } export type AccountCreateManyBusinessInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null provider_id?: string | null pos_id?: string | null } export type AccountUpdateWithoutBusinessInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutBusinessInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutBusinessInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyPosInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null provider_id?: string | null } export type AccountUpdateWithoutPosInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutPosInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutPosInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyPartnerInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string business_id?: string | null provider_id?: string | null pos_id?: string | null } export type AccountUpdateWithoutPartnerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutPartnerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutPartnerInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyUserInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string partner_id?: string | null business_id?: string | null provider_id?: string | null pos_id?: string | null } export type AccountUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput provider?: Prisma.ProviderUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AccountCreateManyProviderInput = { id?: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at?: Date | string updated_at?: Date | string user_id: string partner_id?: string | null business_id?: string | null pos_id?: string | null } export type AccountUpdateWithoutProviderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user?: Prisma.UserUpdateOneRequiredWithoutAccountsNestedInput partner?: Prisma.PartnerUpdateOneWithoutAccountNestedInput business?: Prisma.BusinessActivityUpdateOneWithoutAccountsNestedInput pos?: Prisma.PosUpdateOneWithoutAccountsNestedInput verification_codes?: Prisma.VerificationCodeUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateWithoutProviderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null verification_codes?: Prisma.VerificationCodeUncheckedUpdateManyWithoutAccountNestedInput tokens?: Prisma.TokenUncheckedUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateManyWithoutProviderInput = { id?: Prisma.StringFieldUpdateOperationsInput | string username?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumAccountTypeFieldUpdateOperationsInput | $Enums.AccountType status?: Prisma.EnumAccountStatusFieldUpdateOperationsInput | $Enums.AccountStatus password?: Prisma.StringFieldUpdateOperationsInput | string created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string user_id?: Prisma.StringFieldUpdateOperationsInput | string partner_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null business_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null pos_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type AccountCountOutputType */ export type AccountCountOutputType = { verification_codes: number tokens: number } export type AccountCountOutputTypeSelect = { verification_codes?: boolean | AccountCountOutputTypeCountVerification_codesArgs tokens?: boolean | AccountCountOutputTypeCountTokensArgs } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AccountCountOutputType */ select?: Prisma.AccountCountOutputTypeSelect | null } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeCountVerification_codesArgs = { where?: Prisma.VerificationCodeWhereInput } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeCountTokensArgs = { where?: Prisma.TokenWhereInput } export type AccountSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean username?: boolean type?: boolean status?: boolean password?: boolean created_at?: boolean updated_at?: boolean user_id?: boolean partner_id?: boolean business_id?: boolean provider_id?: boolean pos_id?: boolean user?: boolean | Prisma.UserDefaultArgs partner?: boolean | Prisma.Account$partnerArgs business?: boolean | Prisma.Account$businessArgs provider?: boolean | Prisma.Account$providerArgs pos?: boolean | Prisma.Account$posArgs verification_codes?: boolean | Prisma.Account$verification_codesArgs tokens?: boolean | Prisma.Account$tokensArgs _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectScalar = { id?: boolean username?: boolean type?: boolean status?: boolean password?: boolean created_at?: boolean updated_at?: boolean user_id?: boolean partner_id?: boolean business_id?: boolean provider_id?: boolean pos_id?: boolean } export type AccountOmit = runtime.Types.Extensions.GetOmit<"id" | "username" | "type" | "status" | "password" | "created_at" | "updated_at" | "user_id" | "partner_id" | "business_id" | "provider_id" | "pos_id", ExtArgs["result"]["account"]> export type AccountInclude = { user?: boolean | Prisma.UserDefaultArgs partner?: boolean | Prisma.Account$partnerArgs business?: boolean | Prisma.Account$businessArgs provider?: boolean | Prisma.Account$providerArgs pos?: boolean | Prisma.Account$posArgs verification_codes?: boolean | Prisma.Account$verification_codesArgs tokens?: boolean | Prisma.Account$tokensArgs _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs } export type $AccountPayload = { name: "Account" objects: { user: Prisma.$UserPayload partner: Prisma.$PartnerPayload | null business: Prisma.$BusinessActivityPayload | null provider: Prisma.$ProviderPayload | null pos: Prisma.$PosPayload | null verification_codes: Prisma.$VerificationCodePayload[] tokens: Prisma.$TokenPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string username: string type: $Enums.AccountType status: $Enums.AccountStatus password: string created_at: Date updated_at: Date user_id: string partner_id: string | null business_id: string | null provider_id: string | null pos_id: string | null }, ExtArgs["result"]["account"]> composites: {} } export type AccountGetPayload = runtime.Types.Result.GetResult export type AccountCountArgs = Omit & { select?: AccountCountAggregateInputType | true } export interface AccountDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Account'], meta: { name: 'Account' } } /** * Find zero or one Account that matches the filter. * @param {AccountFindUniqueArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Account that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AccountFindUniqueOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Account 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 {AccountFindFirstArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Account 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 {AccountFindFirstOrThrowArgs} args - Arguments to find a Account * @example * // Get one Account * const account = await prisma.account.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Accounts 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 {AccountFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Accounts * const accounts = await prisma.account.findMany() * * // Get first 10 Accounts * const accounts = await prisma.account.findMany({ take: 10 }) * * // Only select the `id` * const accountWithIdOnly = await prisma.account.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Account. * @param {AccountCreateArgs} args - Arguments to create a Account. * @example * // Create one Account * const Account = await prisma.account.create({ * data: { * // ... data to create a Account * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Accounts. * @param {AccountCreateManyArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Account. * @param {AccountDeleteArgs} args - Arguments to delete one Account. * @example * // Delete one Account * const Account = await prisma.account.delete({ * where: { * // ... filter to delete one Account * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Account. * @param {AccountUpdateArgs} args - Arguments to update one Account. * @example * // Update one Account * const account = await prisma.account.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Accounts. * @param {AccountDeleteManyArgs} args - Arguments to filter Accounts to delete. * @example * // Delete a few Accounts * const { count } = await prisma.account.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Accounts * const account = await prisma.account.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Account. * @param {AccountUpsertArgs} args - Arguments to update or create a Account. * @example * // Update or create a Account * const account = await prisma.account.upsert({ * create: { * // ... data to create a Account * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Account we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AccountClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Accounts. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountCountArgs} args - Arguments to filter Accounts to count. * @example * // Count the number of Accounts * const count = await prisma.account.count({ * where: { * // ... the filter for the Accounts 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 Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountAggregateArgs} 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 Account. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AccountGroupByArgs} 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 AccountGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AccountGroupByArgs['orderBy'] } : { orderBy?: AccountGroupByArgs['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 ? GetAccountGroupByPayload : Prisma.PrismaPromise /** * Fields of the Account model */ readonly fields: AccountFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Account. * 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__AccountClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> partner = {}>(args?: Prisma.Subset>): Prisma.Prisma__PartnerClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> business = {}>(args?: Prisma.Subset>): Prisma.Prisma__BusinessActivityClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> provider = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProviderClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> pos = {}>(args?: Prisma.Subset>): Prisma.Prisma__PosClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> verification_codes = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> tokens = {}>(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 Account model */ export interface AccountFieldRefs { readonly id: Prisma.FieldRef<"Account", 'String'> readonly username: Prisma.FieldRef<"Account", 'String'> readonly type: Prisma.FieldRef<"Account", 'AccountType'> readonly status: Prisma.FieldRef<"Account", 'AccountStatus'> readonly password: Prisma.FieldRef<"Account", 'String'> readonly created_at: Prisma.FieldRef<"Account", 'DateTime'> readonly updated_at: Prisma.FieldRef<"Account", 'DateTime'> readonly user_id: Prisma.FieldRef<"Account", 'String'> readonly partner_id: Prisma.FieldRef<"Account", 'String'> readonly business_id: Prisma.FieldRef<"Account", 'String'> readonly provider_id: Prisma.FieldRef<"Account", 'String'> readonly pos_id: Prisma.FieldRef<"Account", 'String'> } // Custom InputTypes /** * Account findUnique */ export type AccountFindUniqueArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter, which Account to fetch. */ where: Prisma.AccountWhereUniqueInput } /** * Account findUniqueOrThrow */ export type AccountFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter, which Account to fetch. */ where: Prisma.AccountWhereUniqueInput } /** * Account findFirst */ export type AccountFindFirstArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter, which Account to fetch. */ where?: Prisma.AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: Prisma.AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] } /** * Account findFirstOrThrow */ export type AccountFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter, which Account to fetch. */ where?: Prisma.AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Accounts. */ cursor?: Prisma.AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Accounts. */ distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] } /** * Account findMany */ export type AccountFindManyArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter, which Accounts to fetch. */ where?: Prisma.AccountWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Accounts to fetch. */ orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Accounts. */ cursor?: Prisma.AccountWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Accounts 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` Accounts. */ skip?: number distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[] } /** * Account create */ export type AccountCreateArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * The data needed to create a Account. */ data: Prisma.XOR } /** * Account createMany */ export type AccountCreateManyArgs = { /** * The data used to create many Accounts. */ data: Prisma.AccountCreateManyInput | Prisma.AccountCreateManyInput[] skipDuplicates?: boolean } /** * Account update */ export type AccountUpdateArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * The data needed to update a Account. */ data: Prisma.XOR /** * Choose, which Account to update. */ where: Prisma.AccountWhereUniqueInput } /** * Account updateMany */ export type AccountUpdateManyArgs = { /** * The data used to update Accounts. */ data: Prisma.XOR /** * Filter which Accounts to update */ where?: Prisma.AccountWhereInput /** * Limit how many Accounts to update. */ limit?: number } /** * Account upsert */ export type AccountUpsertArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * The filter to search for the Account to update in case it exists. */ where: Prisma.AccountWhereUniqueInput /** * In case the Account found by the `where` argument doesn't exist, create a new Account with this data. */ create: Prisma.XOR /** * In case the Account was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Account delete */ export type AccountDeleteArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null /** * Filter which Account to delete. */ where: Prisma.AccountWhereUniqueInput } /** * Account deleteMany */ export type AccountDeleteManyArgs = { /** * Filter which Accounts to delete */ where?: Prisma.AccountWhereInput /** * Limit how many Accounts to delete. */ limit?: number } /** * Account.partner */ export type Account$partnerArgs = { /** * Select specific fields to fetch from the Partner */ select?: Prisma.PartnerSelect | null /** * Omit specific fields from the Partner */ omit?: Prisma.PartnerOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PartnerInclude | null where?: Prisma.PartnerWhereInput } /** * Account.business */ export type Account$businessArgs = { /** * Select specific fields to fetch from the BusinessActivity */ select?: Prisma.BusinessActivitySelect | null /** * Omit specific fields from the BusinessActivity */ omit?: Prisma.BusinessActivityOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BusinessActivityInclude | null where?: Prisma.BusinessActivityWhereInput } /** * Account.provider */ export type Account$providerArgs = { /** * Select specific fields to fetch from the Provider */ select?: Prisma.ProviderSelect | null /** * Omit specific fields from the Provider */ omit?: Prisma.ProviderOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProviderInclude | null where?: Prisma.ProviderWhereInput } /** * Account.pos */ export type Account$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 } /** * Account.verification_codes */ export type Account$verification_codesArgs = { /** * Select specific fields to fetch from the VerificationCode */ select?: Prisma.VerificationCodeSelect | null /** * Omit specific fields from the VerificationCode */ omit?: Prisma.VerificationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.VerificationCodeInclude | null where?: Prisma.VerificationCodeWhereInput orderBy?: Prisma.VerificationCodeOrderByWithRelationInput | Prisma.VerificationCodeOrderByWithRelationInput[] cursor?: Prisma.VerificationCodeWhereUniqueInput take?: number skip?: number distinct?: Prisma.VerificationCodeScalarFieldEnum | Prisma.VerificationCodeScalarFieldEnum[] } /** * Account.tokens */ export type Account$tokensArgs = { /** * Select specific fields to fetch from the Token */ select?: Prisma.TokenSelect | null /** * Omit specific fields from the Token */ omit?: Prisma.TokenOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TokenInclude | null where?: Prisma.TokenWhereInput orderBy?: Prisma.TokenOrderByWithRelationInput | Prisma.TokenOrderByWithRelationInput[] cursor?: Prisma.TokenWhereUniqueInput take?: number skip?: number distinct?: Prisma.TokenScalarFieldEnum | Prisma.TokenScalarFieldEnum[] } /** * Account without action */ export type AccountDefaultArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelect | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AccountInclude | null }