/* !!! 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model Account * */ export type AccountModel = runtime.Types.Result.DefaultSelection export type AggregateAccount = { _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | null _min: AccountMinAggregateOutputType | null _max: AccountMaxAggregateOutputType | null } export type AccountAvgAggregateOutputType = { tokenVersion: number | null } export type AccountSumAggregateOutputType = { tokenVersion: number | null } export type AccountMinAggregateOutputType = { id: string | null provider: string | null providerId: string | null email: string | null name: string | null avatarUrl: string | null accessToken: string | null createdAt: Date | null updatedAt: Date | null refreshToken: string | null refreshTokenExpiry: Date | null tokenVersion: number | null } export type AccountMaxAggregateOutputType = { id: string | null provider: string | null providerId: string | null email: string | null name: string | null avatarUrl: string | null accessToken: string | null createdAt: Date | null updatedAt: Date | null refreshToken: string | null refreshTokenExpiry: Date | null tokenVersion: number | null } export type AccountCountAggregateOutputType = { id: number provider: number providerId: number email: number name: number avatarUrl: number providerData: number accessToken: number createdAt: number updatedAt: number refreshToken: number refreshTokenExpiry: number tokenVersion: number _all: number } export type AccountAvgAggregateInputType = { tokenVersion?: true } export type AccountSumAggregateInputType = { tokenVersion?: true } export type AccountMinAggregateInputType = { id?: true provider?: true providerId?: true email?: true name?: true avatarUrl?: true accessToken?: true createdAt?: true updatedAt?: true refreshToken?: true refreshTokenExpiry?: true tokenVersion?: true } export type AccountMaxAggregateInputType = { id?: true provider?: true providerId?: true email?: true name?: true avatarUrl?: true accessToken?: true createdAt?: true updatedAt?: true refreshToken?: true refreshTokenExpiry?: true tokenVersion?: true } export type AccountCountAggregateInputType = { id?: true provider?: true providerId?: true email?: true name?: true avatarUrl?: true providerData?: true accessToken?: true createdAt?: true updatedAt?: true refreshToken?: true refreshTokenExpiry?: true tokenVersion?: 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 average **/ _avg?: AccountAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AccountSumAggregateInputType /** * {@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 _avg?: AccountAvgAggregateInputType _sum?: AccountSumAggregateInputType _min?: AccountMinAggregateInputType _max?: AccountMaxAggregateInputType } export type AccountGroupByOutputType = { id: string provider: string providerId: string email: string | null name: string | null avatarUrl: string | null providerData: runtime.JsonValue | null accessToken: string | null createdAt: Date updatedAt: Date refreshToken: string | null refreshTokenExpiry: Date | null tokenVersion: number _count: AccountCountAggregateOutputType | null _avg: AccountAvgAggregateOutputType | null _sum: AccountSumAggregateOutputType | 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 provider?: Prisma.StringFilter<"Account"> | string providerId?: Prisma.StringFilter<"Account"> | string email?: Prisma.StringNullableFilter<"Account"> | string | null name?: Prisma.StringNullableFilter<"Account"> | string | null avatarUrl?: Prisma.StringNullableFilter<"Account"> | string | null providerData?: Prisma.JsonNullableFilter<"Account"> accessToken?: Prisma.StringNullableFilter<"Account"> | string | null createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null refreshTokenExpiry?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null tokenVersion?: Prisma.IntFilter<"Account"> | number devices?: Prisma.DeviceListRelationFilter } export type AccountOrderByWithRelationInput = { id?: Prisma.SortOrder provider?: Prisma.SortOrder providerId?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder providerData?: Prisma.SortOrderInput | Prisma.SortOrder accessToken?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder refreshTokenExpiry?: Prisma.SortOrderInput | Prisma.SortOrder tokenVersion?: Prisma.SortOrder devices?: Prisma.DeviceOrderByRelationAggregateInput } export type AccountWhereUniqueInput = Prisma.AtLeast<{ id?: string provider_providerId?: Prisma.AccountProviderProviderIdCompoundUniqueInput AND?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] OR?: Prisma.AccountWhereInput[] NOT?: Prisma.AccountWhereInput | Prisma.AccountWhereInput[] provider?: Prisma.StringFilter<"Account"> | string providerId?: Prisma.StringFilter<"Account"> | string email?: Prisma.StringNullableFilter<"Account"> | string | null name?: Prisma.StringNullableFilter<"Account"> | string | null avatarUrl?: Prisma.StringNullableFilter<"Account"> | string | null providerData?: Prisma.JsonNullableFilter<"Account"> accessToken?: Prisma.StringNullableFilter<"Account"> | string | null createdAt?: Prisma.DateTimeFilter<"Account"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Account"> | Date | string refreshToken?: Prisma.StringNullableFilter<"Account"> | string | null refreshTokenExpiry?: Prisma.DateTimeNullableFilter<"Account"> | Date | string | null tokenVersion?: Prisma.IntFilter<"Account"> | number devices?: Prisma.DeviceListRelationFilter }, "id" | "provider_providerId"> export type AccountOrderByWithAggregationInput = { id?: Prisma.SortOrder provider?: Prisma.SortOrder providerId?: Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrderInput | Prisma.SortOrder avatarUrl?: Prisma.SortOrderInput | Prisma.SortOrder providerData?: Prisma.SortOrderInput | Prisma.SortOrder accessToken?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder refreshToken?: Prisma.SortOrderInput | Prisma.SortOrder refreshTokenExpiry?: Prisma.SortOrderInput | Prisma.SortOrder tokenVersion?: Prisma.SortOrder _count?: Prisma.AccountCountOrderByAggregateInput _avg?: Prisma.AccountAvgOrderByAggregateInput _max?: Prisma.AccountMaxOrderByAggregateInput _min?: Prisma.AccountMinOrderByAggregateInput _sum?: Prisma.AccountSumOrderByAggregateInput } export type AccountScalarWhereWithAggregatesInput = { AND?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] OR?: Prisma.AccountScalarWhereWithAggregatesInput[] NOT?: Prisma.AccountScalarWhereWithAggregatesInput | Prisma.AccountScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Account"> | string provider?: Prisma.StringWithAggregatesFilter<"Account"> | string providerId?: Prisma.StringWithAggregatesFilter<"Account"> | string email?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null name?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null avatarUrl?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null providerData?: Prisma.JsonNullableWithAggregatesFilter<"Account"> accessToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Account"> | Date | string refreshToken?: Prisma.StringNullableWithAggregatesFilter<"Account"> | string | null refreshTokenExpiry?: Prisma.DateTimeNullableWithAggregatesFilter<"Account"> | Date | string | null tokenVersion?: Prisma.IntWithAggregatesFilter<"Account"> | number } export type AccountCreateInput = { id: string provider: string providerId: string email?: string | null name?: string | null avatarUrl?: string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: string | null createdAt?: Date | string updatedAt?: Date | string refreshToken?: string | null refreshTokenExpiry?: Date | string | null tokenVersion?: number devices?: Prisma.DeviceCreateNestedManyWithoutAccountInput } export type AccountUncheckedCreateInput = { id: string provider: string providerId: string email?: string | null name?: string | null avatarUrl?: string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: string | null createdAt?: Date | string updatedAt?: Date | string refreshToken?: string | null refreshTokenExpiry?: Date | string | null tokenVersion?: number devices?: Prisma.DeviceUncheckedCreateNestedManyWithoutAccountInput } export type AccountUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number devices?: Prisma.DeviceUpdateManyWithoutAccountNestedInput } export type AccountUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number devices?: Prisma.DeviceUncheckedUpdateManyWithoutAccountNestedInput } export type AccountCreateManyInput = { id: string provider: string providerId: string email?: string | null name?: string | null avatarUrl?: string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: string | null createdAt?: Date | string updatedAt?: Date | string refreshToken?: string | null refreshTokenExpiry?: Date | string | null tokenVersion?: number } export type AccountUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number } export type AccountUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number } export type AccountProviderProviderIdCompoundUniqueInput = { provider: string providerId: string } export type AccountCountOrderByAggregateInput = { id?: Prisma.SortOrder provider?: Prisma.SortOrder providerId?: Prisma.SortOrder email?: Prisma.SortOrder name?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder providerData?: Prisma.SortOrder accessToken?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder refreshToken?: Prisma.SortOrder refreshTokenExpiry?: Prisma.SortOrder tokenVersion?: Prisma.SortOrder } export type AccountAvgOrderByAggregateInput = { tokenVersion?: Prisma.SortOrder } export type AccountMaxOrderByAggregateInput = { id?: Prisma.SortOrder provider?: Prisma.SortOrder providerId?: Prisma.SortOrder email?: Prisma.SortOrder name?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder accessToken?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder refreshToken?: Prisma.SortOrder refreshTokenExpiry?: Prisma.SortOrder tokenVersion?: Prisma.SortOrder } export type AccountMinOrderByAggregateInput = { id?: Prisma.SortOrder provider?: Prisma.SortOrder providerId?: Prisma.SortOrder email?: Prisma.SortOrder name?: Prisma.SortOrder avatarUrl?: Prisma.SortOrder accessToken?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder refreshToken?: Prisma.SortOrder refreshTokenExpiry?: Prisma.SortOrder tokenVersion?: Prisma.SortOrder } export type AccountSumOrderByAggregateInput = { tokenVersion?: Prisma.SortOrder } export type AccountNullableScalarRelationFilter = { is?: Prisma.AccountWhereInput | null isNot?: Prisma.AccountWhereInput | null } export type StringFieldUpdateOperationsInput = { set?: string } export type NullableStringFieldUpdateOperationsInput = { set?: string | null } export type DateTimeFieldUpdateOperationsInput = { set?: Date | string } export type NullableDateTimeFieldUpdateOperationsInput = { set?: Date | string | null } export type IntFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type AccountCreateNestedOneWithoutDevicesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutDevicesInput connect?: Prisma.AccountWhereUniqueInput } export type AccountUpdateOneWithoutDevicesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.AccountCreateOrConnectWithoutDevicesInput upsert?: Prisma.AccountUpsertWithoutDevicesInput disconnect?: Prisma.AccountWhereInput | boolean delete?: Prisma.AccountWhereInput | boolean connect?: Prisma.AccountWhereUniqueInput update?: Prisma.XOR, Prisma.AccountUncheckedUpdateWithoutDevicesInput> } export type AccountCreateWithoutDevicesInput = { id: string provider: string providerId: string email?: string | null name?: string | null avatarUrl?: string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: string | null createdAt?: Date | string updatedAt?: Date | string refreshToken?: string | null refreshTokenExpiry?: Date | string | null tokenVersion?: number } export type AccountUncheckedCreateWithoutDevicesInput = { id: string provider: string providerId: string email?: string | null name?: string | null avatarUrl?: string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: string | null createdAt?: Date | string updatedAt?: Date | string refreshToken?: string | null refreshTokenExpiry?: Date | string | null tokenVersion?: number } export type AccountCreateOrConnectWithoutDevicesInput = { where: Prisma.AccountWhereUniqueInput create: Prisma.XOR } export type AccountUpsertWithoutDevicesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.AccountWhereInput } export type AccountUpdateToOneWithWhereWithoutDevicesInput = { where?: Prisma.AccountWhereInput data: Prisma.XOR } export type AccountUpdateWithoutDevicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number } export type AccountUncheckedUpdateWithoutDevicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string provider?: Prisma.StringFieldUpdateOperationsInput | string providerId?: Prisma.StringFieldUpdateOperationsInput | string email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null avatarUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null providerData?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue accessToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string refreshToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null refreshTokenExpiry?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null tokenVersion?: Prisma.IntFieldUpdateOperationsInput | number } /** * Count Type AccountCountOutputType */ export type AccountCountOutputType = { devices: number } export type AccountCountOutputTypeSelect = { devices?: boolean | AccountCountOutputTypeCountDevicesArgs } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the AccountCountOutputType */ select?: Prisma.AccountCountOutputTypeSelect | null } /** * AccountCountOutputType without action */ export type AccountCountOutputTypeCountDevicesArgs = { where?: Prisma.DeviceWhereInput } export type AccountSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean provider?: boolean providerId?: boolean email?: boolean name?: boolean avatarUrl?: boolean providerData?: boolean accessToken?: boolean createdAt?: boolean updatedAt?: boolean refreshToken?: boolean refreshTokenExpiry?: boolean tokenVersion?: boolean devices?: boolean | Prisma.Account$devicesArgs _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs }, ExtArgs["result"]["account"]> export type AccountSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean provider?: boolean providerId?: boolean email?: boolean name?: boolean avatarUrl?: boolean providerData?: boolean accessToken?: boolean createdAt?: boolean updatedAt?: boolean refreshToken?: boolean refreshTokenExpiry?: boolean tokenVersion?: boolean }, ExtArgs["result"]["account"]> export type AccountSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean provider?: boolean providerId?: boolean email?: boolean name?: boolean avatarUrl?: boolean providerData?: boolean accessToken?: boolean createdAt?: boolean updatedAt?: boolean refreshToken?: boolean refreshTokenExpiry?: boolean tokenVersion?: boolean }, ExtArgs["result"]["account"]> export type AccountSelectScalar = { id?: boolean provider?: boolean providerId?: boolean email?: boolean name?: boolean avatarUrl?: boolean providerData?: boolean accessToken?: boolean createdAt?: boolean updatedAt?: boolean refreshToken?: boolean refreshTokenExpiry?: boolean tokenVersion?: boolean } export type AccountOmit = runtime.Types.Extensions.GetOmit<"id" | "provider" | "providerId" | "email" | "name" | "avatarUrl" | "providerData" | "accessToken" | "createdAt" | "updatedAt" | "refreshToken" | "refreshTokenExpiry" | "tokenVersion", ExtArgs["result"]["account"]> export type AccountInclude = { devices?: boolean | Prisma.Account$devicesArgs _count?: boolean | Prisma.AccountCountOutputTypeDefaultArgs } export type AccountIncludeCreateManyAndReturn = {} export type AccountIncludeUpdateManyAndReturn = {} export type $AccountPayload = { name: "Account" objects: { devices: Prisma.$DevicePayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string provider: string providerId: string email: string | null name: string | null avatarUrl: string | null providerData: runtime.JsonValue | null accessToken: string | null createdAt: Date updatedAt: Date refreshToken: string | null refreshTokenExpiry: Date | null tokenVersion: number }, 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 /** * Create many Accounts and returns the data saved in the database. * @param {AccountCreateManyAndReturnArgs} args - Arguments to create many Accounts. * @example * // Create many Accounts * const account = await prisma.account.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Accounts and only return the `id` * const accountWithIdOnly = await prisma.account.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * 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 /** * Update zero or more Accounts and returns the data updated in the database. * @param {AccountUpdateManyAndReturnArgs} args - Arguments to update many Accounts. * @example * // Update many Accounts * const account = await prisma.account.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Accounts and only return the `id` * const accountWithIdOnly = await prisma.account.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * 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" devices = {}>(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 provider: Prisma.FieldRef<"Account", 'String'> readonly providerId: Prisma.FieldRef<"Account", 'String'> readonly email: Prisma.FieldRef<"Account", 'String'> readonly name: Prisma.FieldRef<"Account", 'String'> readonly avatarUrl: Prisma.FieldRef<"Account", 'String'> readonly providerData: Prisma.FieldRef<"Account", 'Json'> readonly accessToken: Prisma.FieldRef<"Account", 'String'> readonly createdAt: Prisma.FieldRef<"Account", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Account", 'DateTime'> readonly refreshToken: Prisma.FieldRef<"Account", 'String'> readonly refreshTokenExpiry: Prisma.FieldRef<"Account", 'DateTime'> readonly tokenVersion: Prisma.FieldRef<"Account", 'Int'> } // 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 createManyAndReturn */ export type AccountCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelectCreateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * 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 updateManyAndReturn */ export type AccountUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Account */ select?: Prisma.AccountSelectUpdateManyAndReturn | null /** * Omit specific fields from the Account */ omit?: Prisma.AccountOmit | null /** * 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.devices */ export type Account$devicesArgs = { /** * Select specific fields to fetch from the Device */ select?: Prisma.DeviceSelect | null /** * Omit specific fields from the Device */ omit?: Prisma.DeviceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.DeviceInclude | null where?: Prisma.DeviceWhereInput orderBy?: Prisma.DeviceOrderByWithRelationInput | Prisma.DeviceOrderByWithRelationInput[] cursor?: Prisma.DeviceWhereUniqueInput take?: number skip?: number distinct?: Prisma.DeviceScalarFieldEnum | Prisma.DeviceScalarFieldEnum[] } /** * 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 }