/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AuthorizationCode` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model AuthorizationCode * */ export type AuthorizationCodeModel = runtime.Types.Result.DefaultSelection export type AggregateAuthorizationCode = { _count: AuthorizationCodeCountAggregateOutputType | null _avg: AuthorizationCodeAvgAggregateOutputType | null _sum: AuthorizationCodeSumAggregateOutputType | null _min: AuthorizationCodeMinAggregateOutputType | null _max: AuthorizationCodeMaxAggregateOutputType | null } export type AuthorizationCodeAvgAggregateOutputType = { expiresAt: number | null } export type AuthorizationCodeSumAggregateOutputType = { expiresAt: bigint | null } export type AuthorizationCodeMinAggregateOutputType = { code: string | null sessionId: string | null clientId: string | null codeChallenge: string | null codeChallengeMethod: string | null redirectUri: string | null expiresAt: bigint | null } export type AuthorizationCodeMaxAggregateOutputType = { code: string | null sessionId: string | null clientId: string | null codeChallenge: string | null codeChallengeMethod: string | null redirectUri: string | null expiresAt: bigint | null } export type AuthorizationCodeCountAggregateOutputType = { code: number sessionId: number clientId: number codeChallenge: number codeChallengeMethod: number redirectUri: number expiresAt: number _all: number } export type AuthorizationCodeAvgAggregateInputType = { expiresAt?: true } export type AuthorizationCodeSumAggregateInputType = { expiresAt?: true } export type AuthorizationCodeMinAggregateInputType = { code?: true sessionId?: true clientId?: true codeChallenge?: true codeChallengeMethod?: true redirectUri?: true expiresAt?: true } export type AuthorizationCodeMaxAggregateInputType = { code?: true sessionId?: true clientId?: true codeChallenge?: true codeChallengeMethod?: true redirectUri?: true expiresAt?: true } export type AuthorizationCodeCountAggregateInputType = { code?: true sessionId?: true clientId?: true codeChallenge?: true codeChallengeMethod?: true redirectUri?: true expiresAt?: true _all?: true } export type AuthorizationCodeAggregateArgs = { /** * Filter which AuthorizationCode to aggregate. */ where?: Prisma.AuthorizationCodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthorizationCodes to fetch. */ orderBy?: Prisma.AuthorizationCodeOrderByWithRelationInput | Prisma.AuthorizationCodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AuthorizationCodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthorizationCodes 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` AuthorizationCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AuthorizationCodes **/ _count?: true | AuthorizationCodeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: AuthorizationCodeAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: AuthorizationCodeSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AuthorizationCodeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AuthorizationCodeMaxAggregateInputType } export type GetAuthorizationCodeAggregateType = { [P in keyof T & keyof AggregateAuthorizationCode]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AuthorizationCodeGroupByArgs = { where?: Prisma.AuthorizationCodeWhereInput orderBy?: Prisma.AuthorizationCodeOrderByWithAggregationInput | Prisma.AuthorizationCodeOrderByWithAggregationInput[] by: Prisma.AuthorizationCodeScalarFieldEnum[] | Prisma.AuthorizationCodeScalarFieldEnum having?: Prisma.AuthorizationCodeScalarWhereWithAggregatesInput take?: number skip?: number _count?: AuthorizationCodeCountAggregateInputType | true _avg?: AuthorizationCodeAvgAggregateInputType _sum?: AuthorizationCodeSumAggregateInputType _min?: AuthorizationCodeMinAggregateInputType _max?: AuthorizationCodeMaxAggregateInputType } export type AuthorizationCodeGroupByOutputType = { code: string sessionId: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri: string | null expiresAt: bigint _count: AuthorizationCodeCountAggregateOutputType | null _avg: AuthorizationCodeAvgAggregateOutputType | null _sum: AuthorizationCodeSumAggregateOutputType | null _min: AuthorizationCodeMinAggregateOutputType | null _max: AuthorizationCodeMaxAggregateOutputType | null } type GetAuthorizationCodeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AuthorizationCodeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AuthorizationCodeWhereInput = { AND?: Prisma.AuthorizationCodeWhereInput | Prisma.AuthorizationCodeWhereInput[] OR?: Prisma.AuthorizationCodeWhereInput[] NOT?: Prisma.AuthorizationCodeWhereInput | Prisma.AuthorizationCodeWhereInput[] code?: Prisma.StringFilter<"AuthorizationCode"> | string sessionId?: Prisma.StringFilter<"AuthorizationCode"> | string clientId?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallenge?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallengeMethod?: Prisma.StringFilter<"AuthorizationCode"> | string redirectUri?: Prisma.StringNullableFilter<"AuthorizationCode"> | string | null expiresAt?: Prisma.BigIntFilter<"AuthorizationCode"> | bigint | number session?: Prisma.XOR } export type AuthorizationCodeOrderByWithRelationInput = { code?: Prisma.SortOrder sessionId?: Prisma.SortOrder clientId?: Prisma.SortOrder codeChallenge?: Prisma.SortOrder codeChallengeMethod?: Prisma.SortOrder redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder expiresAt?: Prisma.SortOrder session?: Prisma.OAuthSessionOrderByWithRelationInput } export type AuthorizationCodeWhereUniqueInput = Prisma.AtLeast<{ code?: string AND?: Prisma.AuthorizationCodeWhereInput | Prisma.AuthorizationCodeWhereInput[] OR?: Prisma.AuthorizationCodeWhereInput[] NOT?: Prisma.AuthorizationCodeWhereInput | Prisma.AuthorizationCodeWhereInput[] sessionId?: Prisma.StringFilter<"AuthorizationCode"> | string clientId?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallenge?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallengeMethod?: Prisma.StringFilter<"AuthorizationCode"> | string redirectUri?: Prisma.StringNullableFilter<"AuthorizationCode"> | string | null expiresAt?: Prisma.BigIntFilter<"AuthorizationCode"> | bigint | number session?: Prisma.XOR }, "code"> export type AuthorizationCodeOrderByWithAggregationInput = { code?: Prisma.SortOrder sessionId?: Prisma.SortOrder clientId?: Prisma.SortOrder codeChallenge?: Prisma.SortOrder codeChallengeMethod?: Prisma.SortOrder redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder expiresAt?: Prisma.SortOrder _count?: Prisma.AuthorizationCodeCountOrderByAggregateInput _avg?: Prisma.AuthorizationCodeAvgOrderByAggregateInput _max?: Prisma.AuthorizationCodeMaxOrderByAggregateInput _min?: Prisma.AuthorizationCodeMinOrderByAggregateInput _sum?: Prisma.AuthorizationCodeSumOrderByAggregateInput } export type AuthorizationCodeScalarWhereWithAggregatesInput = { AND?: Prisma.AuthorizationCodeScalarWhereWithAggregatesInput | Prisma.AuthorizationCodeScalarWhereWithAggregatesInput[] OR?: Prisma.AuthorizationCodeScalarWhereWithAggregatesInput[] NOT?: Prisma.AuthorizationCodeScalarWhereWithAggregatesInput | Prisma.AuthorizationCodeScalarWhereWithAggregatesInput[] code?: Prisma.StringWithAggregatesFilter<"AuthorizationCode"> | string sessionId?: Prisma.StringWithAggregatesFilter<"AuthorizationCode"> | string clientId?: Prisma.StringWithAggregatesFilter<"AuthorizationCode"> | string codeChallenge?: Prisma.StringWithAggregatesFilter<"AuthorizationCode"> | string codeChallengeMethod?: Prisma.StringWithAggregatesFilter<"AuthorizationCode"> | string redirectUri?: Prisma.StringNullableWithAggregatesFilter<"AuthorizationCode"> | string | null expiresAt?: Prisma.BigIntWithAggregatesFilter<"AuthorizationCode"> | bigint | number } export type AuthorizationCodeCreateInput = { code: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number session: Prisma.OAuthSessionCreateNestedOneWithoutAuthorizationCodesInput } export type AuthorizationCodeUncheckedCreateInput = { code: string sessionId: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number } export type AuthorizationCodeUpdateInput = { code?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number session?: Prisma.OAuthSessionUpdateOneRequiredWithoutAuthorizationCodesNestedInput } export type AuthorizationCodeUncheckedUpdateInput = { code?: Prisma.StringFieldUpdateOperationsInput | string sessionId?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeCreateManyInput = { code: string sessionId: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number } export type AuthorizationCodeUpdateManyMutationInput = { code?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeUncheckedUpdateManyInput = { code?: Prisma.StringFieldUpdateOperationsInput | string sessionId?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeListRelationFilter = { every?: Prisma.AuthorizationCodeWhereInput some?: Prisma.AuthorizationCodeWhereInput none?: Prisma.AuthorizationCodeWhereInput } export type AuthorizationCodeOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AuthorizationCodeCountOrderByAggregateInput = { code?: Prisma.SortOrder sessionId?: Prisma.SortOrder clientId?: Prisma.SortOrder codeChallenge?: Prisma.SortOrder codeChallengeMethod?: Prisma.SortOrder redirectUri?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type AuthorizationCodeAvgOrderByAggregateInput = { expiresAt?: Prisma.SortOrder } export type AuthorizationCodeMaxOrderByAggregateInput = { code?: Prisma.SortOrder sessionId?: Prisma.SortOrder clientId?: Prisma.SortOrder codeChallenge?: Prisma.SortOrder codeChallengeMethod?: Prisma.SortOrder redirectUri?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type AuthorizationCodeMinOrderByAggregateInput = { code?: Prisma.SortOrder sessionId?: Prisma.SortOrder clientId?: Prisma.SortOrder codeChallenge?: Prisma.SortOrder codeChallengeMethod?: Prisma.SortOrder redirectUri?: Prisma.SortOrder expiresAt?: Prisma.SortOrder } export type AuthorizationCodeSumOrderByAggregateInput = { expiresAt?: Prisma.SortOrder } export type AuthorizationCodeCreateNestedManyWithoutSessionInput = { create?: Prisma.XOR | Prisma.AuthorizationCodeCreateWithoutSessionInput[] | Prisma.AuthorizationCodeUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput | Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput[] createMany?: Prisma.AuthorizationCodeCreateManySessionInputEnvelope connect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] } export type AuthorizationCodeUncheckedCreateNestedManyWithoutSessionInput = { create?: Prisma.XOR | Prisma.AuthorizationCodeCreateWithoutSessionInput[] | Prisma.AuthorizationCodeUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput | Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput[] createMany?: Prisma.AuthorizationCodeCreateManySessionInputEnvelope connect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] } export type AuthorizationCodeUpdateManyWithoutSessionNestedInput = { create?: Prisma.XOR | Prisma.AuthorizationCodeCreateWithoutSessionInput[] | Prisma.AuthorizationCodeUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput | Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput[] upsert?: Prisma.AuthorizationCodeUpsertWithWhereUniqueWithoutSessionInput | Prisma.AuthorizationCodeUpsertWithWhereUniqueWithoutSessionInput[] createMany?: Prisma.AuthorizationCodeCreateManySessionInputEnvelope set?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] disconnect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] delete?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] connect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] update?: Prisma.AuthorizationCodeUpdateWithWhereUniqueWithoutSessionInput | Prisma.AuthorizationCodeUpdateWithWhereUniqueWithoutSessionInput[] updateMany?: Prisma.AuthorizationCodeUpdateManyWithWhereWithoutSessionInput | Prisma.AuthorizationCodeUpdateManyWithWhereWithoutSessionInput[] deleteMany?: Prisma.AuthorizationCodeScalarWhereInput | Prisma.AuthorizationCodeScalarWhereInput[] } export type AuthorizationCodeUncheckedUpdateManyWithoutSessionNestedInput = { create?: Prisma.XOR | Prisma.AuthorizationCodeCreateWithoutSessionInput[] | Prisma.AuthorizationCodeUncheckedCreateWithoutSessionInput[] connectOrCreate?: Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput | Prisma.AuthorizationCodeCreateOrConnectWithoutSessionInput[] upsert?: Prisma.AuthorizationCodeUpsertWithWhereUniqueWithoutSessionInput | Prisma.AuthorizationCodeUpsertWithWhereUniqueWithoutSessionInput[] createMany?: Prisma.AuthorizationCodeCreateManySessionInputEnvelope set?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] disconnect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] delete?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] connect?: Prisma.AuthorizationCodeWhereUniqueInput | Prisma.AuthorizationCodeWhereUniqueInput[] update?: Prisma.AuthorizationCodeUpdateWithWhereUniqueWithoutSessionInput | Prisma.AuthorizationCodeUpdateWithWhereUniqueWithoutSessionInput[] updateMany?: Prisma.AuthorizationCodeUpdateManyWithWhereWithoutSessionInput | Prisma.AuthorizationCodeUpdateManyWithWhereWithoutSessionInput[] deleteMany?: Prisma.AuthorizationCodeScalarWhereInput | Prisma.AuthorizationCodeScalarWhereInput[] } export type AuthorizationCodeCreateWithoutSessionInput = { code: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number } export type AuthorizationCodeUncheckedCreateWithoutSessionInput = { code: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number } export type AuthorizationCodeCreateOrConnectWithoutSessionInput = { where: Prisma.AuthorizationCodeWhereUniqueInput create: Prisma.XOR } export type AuthorizationCodeCreateManySessionInputEnvelope = { data: Prisma.AuthorizationCodeCreateManySessionInput | Prisma.AuthorizationCodeCreateManySessionInput[] skipDuplicates?: boolean } export type AuthorizationCodeUpsertWithWhereUniqueWithoutSessionInput = { where: Prisma.AuthorizationCodeWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AuthorizationCodeUpdateWithWhereUniqueWithoutSessionInput = { where: Prisma.AuthorizationCodeWhereUniqueInput data: Prisma.XOR } export type AuthorizationCodeUpdateManyWithWhereWithoutSessionInput = { where: Prisma.AuthorizationCodeScalarWhereInput data: Prisma.XOR } export type AuthorizationCodeScalarWhereInput = { AND?: Prisma.AuthorizationCodeScalarWhereInput | Prisma.AuthorizationCodeScalarWhereInput[] OR?: Prisma.AuthorizationCodeScalarWhereInput[] NOT?: Prisma.AuthorizationCodeScalarWhereInput | Prisma.AuthorizationCodeScalarWhereInput[] code?: Prisma.StringFilter<"AuthorizationCode"> | string sessionId?: Prisma.StringFilter<"AuthorizationCode"> | string clientId?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallenge?: Prisma.StringFilter<"AuthorizationCode"> | string codeChallengeMethod?: Prisma.StringFilter<"AuthorizationCode"> | string redirectUri?: Prisma.StringNullableFilter<"AuthorizationCode"> | string | null expiresAt?: Prisma.BigIntFilter<"AuthorizationCode"> | bigint | number } export type AuthorizationCodeCreateManySessionInput = { code: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri?: string | null expiresAt: bigint | number } export type AuthorizationCodeUpdateWithoutSessionInput = { code?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeUncheckedUpdateWithoutSessionInput = { code?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeUncheckedUpdateManyWithoutSessionInput = { code?: Prisma.StringFieldUpdateOperationsInput | string clientId?: Prisma.StringFieldUpdateOperationsInput | string codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number } export type AuthorizationCodeSelect = runtime.Types.Extensions.GetSelect<{ code?: boolean sessionId?: boolean clientId?: boolean codeChallenge?: boolean codeChallengeMethod?: boolean redirectUri?: boolean expiresAt?: boolean session?: boolean | Prisma.OAuthSessionDefaultArgs }, ExtArgs["result"]["authorizationCode"]> export type AuthorizationCodeSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ code?: boolean sessionId?: boolean clientId?: boolean codeChallenge?: boolean codeChallengeMethod?: boolean redirectUri?: boolean expiresAt?: boolean session?: boolean | Prisma.OAuthSessionDefaultArgs }, ExtArgs["result"]["authorizationCode"]> export type AuthorizationCodeSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ code?: boolean sessionId?: boolean clientId?: boolean codeChallenge?: boolean codeChallengeMethod?: boolean redirectUri?: boolean expiresAt?: boolean session?: boolean | Prisma.OAuthSessionDefaultArgs }, ExtArgs["result"]["authorizationCode"]> export type AuthorizationCodeSelectScalar = { code?: boolean sessionId?: boolean clientId?: boolean codeChallenge?: boolean codeChallengeMethod?: boolean redirectUri?: boolean expiresAt?: boolean } export type AuthorizationCodeOmit = runtime.Types.Extensions.GetOmit<"code" | "sessionId" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "redirectUri" | "expiresAt", ExtArgs["result"]["authorizationCode"]> export type AuthorizationCodeInclude = { session?: boolean | Prisma.OAuthSessionDefaultArgs } export type AuthorizationCodeIncludeCreateManyAndReturn = { session?: boolean | Prisma.OAuthSessionDefaultArgs } export type AuthorizationCodeIncludeUpdateManyAndReturn = { session?: boolean | Prisma.OAuthSessionDefaultArgs } export type $AuthorizationCodePayload = { name: "AuthorizationCode" objects: { session: Prisma.$OAuthSessionPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ code: string sessionId: string clientId: string codeChallenge: string codeChallengeMethod: string redirectUri: string | null expiresAt: bigint }, ExtArgs["result"]["authorizationCode"]> composites: {} } export type AuthorizationCodeGetPayload = runtime.Types.Result.GetResult export type AuthorizationCodeCountArgs = Omit & { select?: AuthorizationCodeCountAggregateInputType | true } export interface AuthorizationCodeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AuthorizationCode'], meta: { name: 'AuthorizationCode' } } /** * Find zero or one AuthorizationCode that matches the filter. * @param {AuthorizationCodeFindUniqueArgs} args - Arguments to find a AuthorizationCode * @example * // Get one AuthorizationCode * const authorizationCode = await prisma.authorizationCode.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AuthorizationCode that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AuthorizationCodeFindUniqueOrThrowArgs} args - Arguments to find a AuthorizationCode * @example * // Get one AuthorizationCode * const authorizationCode = await prisma.authorizationCode.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AuthorizationCode 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 {AuthorizationCodeFindFirstArgs} args - Arguments to find a AuthorizationCode * @example * // Get one AuthorizationCode * const authorizationCode = await prisma.authorizationCode.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AuthorizationCode 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 {AuthorizationCodeFindFirstOrThrowArgs} args - Arguments to find a AuthorizationCode * @example * // Get one AuthorizationCode * const authorizationCode = await prisma.authorizationCode.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AuthorizationCodes 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 {AuthorizationCodeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AuthorizationCodes * const authorizationCodes = await prisma.authorizationCode.findMany() * * // Get first 10 AuthorizationCodes * const authorizationCodes = await prisma.authorizationCode.findMany({ take: 10 }) * * // Only select the `code` * const authorizationCodeWithCodeOnly = await prisma.authorizationCode.findMany({ select: { code: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AuthorizationCode. * @param {AuthorizationCodeCreateArgs} args - Arguments to create a AuthorizationCode. * @example * // Create one AuthorizationCode * const AuthorizationCode = await prisma.authorizationCode.create({ * data: { * // ... data to create a AuthorizationCode * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AuthorizationCodes. * @param {AuthorizationCodeCreateManyArgs} args - Arguments to create many AuthorizationCodes. * @example * // Create many AuthorizationCodes * const authorizationCode = await prisma.authorizationCode.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AuthorizationCodes and returns the data saved in the database. * @param {AuthorizationCodeCreateManyAndReturnArgs} args - Arguments to create many AuthorizationCodes. * @example * // Create many AuthorizationCodes * const authorizationCode = await prisma.authorizationCode.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AuthorizationCodes and only return the `code` * const authorizationCodeWithCodeOnly = await prisma.authorizationCode.createManyAndReturn({ * select: { code: 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 AuthorizationCode. * @param {AuthorizationCodeDeleteArgs} args - Arguments to delete one AuthorizationCode. * @example * // Delete one AuthorizationCode * const AuthorizationCode = await prisma.authorizationCode.delete({ * where: { * // ... filter to delete one AuthorizationCode * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AuthorizationCode. * @param {AuthorizationCodeUpdateArgs} args - Arguments to update one AuthorizationCode. * @example * // Update one AuthorizationCode * const authorizationCode = await prisma.authorizationCode.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AuthorizationCodes. * @param {AuthorizationCodeDeleteManyArgs} args - Arguments to filter AuthorizationCodes to delete. * @example * // Delete a few AuthorizationCodes * const { count } = await prisma.authorizationCode.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuthorizationCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthorizationCodeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AuthorizationCodes * const authorizationCode = await prisma.authorizationCode.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AuthorizationCodes and returns the data updated in the database. * @param {AuthorizationCodeUpdateManyAndReturnArgs} args - Arguments to update many AuthorizationCodes. * @example * // Update many AuthorizationCodes * const authorizationCode = await prisma.authorizationCode.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AuthorizationCodes and only return the `code` * const authorizationCodeWithCodeOnly = await prisma.authorizationCode.updateManyAndReturn({ * select: { code: 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 AuthorizationCode. * @param {AuthorizationCodeUpsertArgs} args - Arguments to update or create a AuthorizationCode. * @example * // Update or create a AuthorizationCode * const authorizationCode = await prisma.authorizationCode.upsert({ * create: { * // ... data to create a AuthorizationCode * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AuthorizationCode we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AuthorizationCodeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AuthorizationCodes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthorizationCodeCountArgs} args - Arguments to filter AuthorizationCodes to count. * @example * // Count the number of AuthorizationCodes * const count = await prisma.authorizationCode.count({ * where: { * // ... the filter for the AuthorizationCodes 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 AuthorizationCode. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthorizationCodeAggregateArgs} 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 AuthorizationCode. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AuthorizationCodeGroupByArgs} 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 AuthorizationCodeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AuthorizationCodeGroupByArgs['orderBy'] } : { orderBy?: AuthorizationCodeGroupByArgs['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 ? GetAuthorizationCodeGroupByPayload : Prisma.PrismaPromise /** * Fields of the AuthorizationCode model */ readonly fields: AuthorizationCodeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AuthorizationCode. * 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__AuthorizationCodeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" session = {}>(args?: Prisma.Subset>): Prisma.Prisma__OAuthSessionClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AuthorizationCode model */ export interface AuthorizationCodeFieldRefs { readonly code: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly sessionId: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly clientId: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly codeChallenge: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly codeChallengeMethod: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly redirectUri: Prisma.FieldRef<"AuthorizationCode", 'String'> readonly expiresAt: Prisma.FieldRef<"AuthorizationCode", 'BigInt'> } // Custom InputTypes /** * AuthorizationCode findUnique */ export type AuthorizationCodeFindUniqueArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter, which AuthorizationCode to fetch. */ where: Prisma.AuthorizationCodeWhereUniqueInput } /** * AuthorizationCode findUniqueOrThrow */ export type AuthorizationCodeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter, which AuthorizationCode to fetch. */ where: Prisma.AuthorizationCodeWhereUniqueInput } /** * AuthorizationCode findFirst */ export type AuthorizationCodeFindFirstArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter, which AuthorizationCode to fetch. */ where?: Prisma.AuthorizationCodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthorizationCodes to fetch. */ orderBy?: Prisma.AuthorizationCodeOrderByWithRelationInput | Prisma.AuthorizationCodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuthorizationCodes. */ cursor?: Prisma.AuthorizationCodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthorizationCodes 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` AuthorizationCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuthorizationCodes. */ distinct?: Prisma.AuthorizationCodeScalarFieldEnum | Prisma.AuthorizationCodeScalarFieldEnum[] } /** * AuthorizationCode findFirstOrThrow */ export type AuthorizationCodeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter, which AuthorizationCode to fetch. */ where?: Prisma.AuthorizationCodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthorizationCodes to fetch. */ orderBy?: Prisma.AuthorizationCodeOrderByWithRelationInput | Prisma.AuthorizationCodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AuthorizationCodes. */ cursor?: Prisma.AuthorizationCodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthorizationCodes 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` AuthorizationCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuthorizationCodes. */ distinct?: Prisma.AuthorizationCodeScalarFieldEnum | Prisma.AuthorizationCodeScalarFieldEnum[] } /** * AuthorizationCode findMany */ export type AuthorizationCodeFindManyArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter, which AuthorizationCodes to fetch. */ where?: Prisma.AuthorizationCodeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AuthorizationCodes to fetch. */ orderBy?: Prisma.AuthorizationCodeOrderByWithRelationInput | Prisma.AuthorizationCodeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AuthorizationCodes. */ cursor?: Prisma.AuthorizationCodeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AuthorizationCodes 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` AuthorizationCodes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AuthorizationCodes. */ distinct?: Prisma.AuthorizationCodeScalarFieldEnum | Prisma.AuthorizationCodeScalarFieldEnum[] } /** * AuthorizationCode create */ export type AuthorizationCodeCreateArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * The data needed to create a AuthorizationCode. */ data: Prisma.XOR } /** * AuthorizationCode createMany */ export type AuthorizationCodeCreateManyArgs = { /** * The data used to create many AuthorizationCodes. */ data: Prisma.AuthorizationCodeCreateManyInput | Prisma.AuthorizationCodeCreateManyInput[] skipDuplicates?: boolean } /** * AuthorizationCode createManyAndReturn */ export type AuthorizationCodeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelectCreateManyAndReturn | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * The data used to create many AuthorizationCodes. */ data: Prisma.AuthorizationCodeCreateManyInput | Prisma.AuthorizationCodeCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeIncludeCreateManyAndReturn | null } /** * AuthorizationCode update */ export type AuthorizationCodeUpdateArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * The data needed to update a AuthorizationCode. */ data: Prisma.XOR /** * Choose, which AuthorizationCode to update. */ where: Prisma.AuthorizationCodeWhereUniqueInput } /** * AuthorizationCode updateMany */ export type AuthorizationCodeUpdateManyArgs = { /** * The data used to update AuthorizationCodes. */ data: Prisma.XOR /** * Filter which AuthorizationCodes to update */ where?: Prisma.AuthorizationCodeWhereInput /** * Limit how many AuthorizationCodes to update. */ limit?: number } /** * AuthorizationCode updateManyAndReturn */ export type AuthorizationCodeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelectUpdateManyAndReturn | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * The data used to update AuthorizationCodes. */ data: Prisma.XOR /** * Filter which AuthorizationCodes to update */ where?: Prisma.AuthorizationCodeWhereInput /** * Limit how many AuthorizationCodes to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeIncludeUpdateManyAndReturn | null } /** * AuthorizationCode upsert */ export type AuthorizationCodeUpsertArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * The filter to search for the AuthorizationCode to update in case it exists. */ where: Prisma.AuthorizationCodeWhereUniqueInput /** * In case the AuthorizationCode found by the `where` argument doesn't exist, create a new AuthorizationCode with this data. */ create: Prisma.XOR /** * In case the AuthorizationCode was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AuthorizationCode delete */ export type AuthorizationCodeDeleteArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null /** * Filter which AuthorizationCode to delete. */ where: Prisma.AuthorizationCodeWhereUniqueInput } /** * AuthorizationCode deleteMany */ export type AuthorizationCodeDeleteManyArgs = { /** * Filter which AuthorizationCodes to delete */ where?: Prisma.AuthorizationCodeWhereInput /** * Limit how many AuthorizationCodes to delete. */ limit?: number } /** * AuthorizationCode without action */ export type AuthorizationCodeDefaultArgs = { /** * Select specific fields to fetch from the AuthorizationCode */ select?: Prisma.AuthorizationCodeSelect | null /** * Omit specific fields from the AuthorizationCode */ omit?: Prisma.AuthorizationCodeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AuthorizationCodeInclude | null }