import type * as runtime from "@prisma/client/runtime/client"; import type * as Prisma from "../internal/prismaNamespace"; export type DeviceFlowStateModel = runtime.Types.Result.DefaultSelection; export type AggregateDeviceFlowState = { _count: DeviceFlowStateCountAggregateOutputType | null; _avg: DeviceFlowStateAvgAggregateOutputType | null; _sum: DeviceFlowStateSumAggregateOutputType | null; _min: DeviceFlowStateMinAggregateOutputType | null; _max: DeviceFlowStateMaxAggregateOutputType | null; }; export type DeviceFlowStateAvgAggregateOutputType = { expiresAt: number | null; interval: number | null; }; export type DeviceFlowStateSumAggregateOutputType = { expiresAt: bigint | null; interval: number | null; }; export type DeviceFlowStateMinAggregateOutputType = { state: string | null; deviceCode: string | null; userCode: string | null; verificationUri: string | null; verificationUriComplete: string | null; expiresAt: bigint | null; interval: number | null; clientId: string | null; codeChallenge: string | null; codeChallengeMethod: string | null; redirectUri: string | null; }; export type DeviceFlowStateMaxAggregateOutputType = { state: string | null; deviceCode: string | null; userCode: string | null; verificationUri: string | null; verificationUriComplete: string | null; expiresAt: bigint | null; interval: number | null; clientId: string | null; codeChallenge: string | null; codeChallengeMethod: string | null; redirectUri: string | null; }; export type DeviceFlowStateCountAggregateOutputType = { state: number; deviceCode: number; userCode: number; verificationUri: number; verificationUriComplete: number; expiresAt: number; interval: number; clientId: number; codeChallenge: number; codeChallengeMethod: number; redirectUri: number; _all: number; }; export type DeviceFlowStateAvgAggregateInputType = { expiresAt?: true; interval?: true; }; export type DeviceFlowStateSumAggregateInputType = { expiresAt?: true; interval?: true; }; export type DeviceFlowStateMinAggregateInputType = { state?: true; deviceCode?: true; userCode?: true; verificationUri?: true; verificationUriComplete?: true; expiresAt?: true; interval?: true; clientId?: true; codeChallenge?: true; codeChallengeMethod?: true; redirectUri?: true; }; export type DeviceFlowStateMaxAggregateInputType = { state?: true; deviceCode?: true; userCode?: true; verificationUri?: true; verificationUriComplete?: true; expiresAt?: true; interval?: true; clientId?: true; codeChallenge?: true; codeChallengeMethod?: true; redirectUri?: true; }; export type DeviceFlowStateCountAggregateInputType = { state?: true; deviceCode?: true; userCode?: true; verificationUri?: true; verificationUriComplete?: true; expiresAt?: true; interval?: true; clientId?: true; codeChallenge?: true; codeChallengeMethod?: true; redirectUri?: true; _all?: true; }; export type DeviceFlowStateAggregateArgs = { where?: Prisma.DeviceFlowStateWhereInput; orderBy?: Prisma.DeviceFlowStateOrderByWithRelationInput | Prisma.DeviceFlowStateOrderByWithRelationInput[]; cursor?: Prisma.DeviceFlowStateWhereUniqueInput; take?: number; skip?: number; _count?: true | DeviceFlowStateCountAggregateInputType; _avg?: DeviceFlowStateAvgAggregateInputType; _sum?: DeviceFlowStateSumAggregateInputType; _min?: DeviceFlowStateMinAggregateInputType; _max?: DeviceFlowStateMaxAggregateInputType; }; export type GetDeviceFlowStateAggregateType = { [P in keyof T & keyof AggregateDeviceFlowState]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type DeviceFlowStateGroupByArgs = { where?: Prisma.DeviceFlowStateWhereInput; orderBy?: Prisma.DeviceFlowStateOrderByWithAggregationInput | Prisma.DeviceFlowStateOrderByWithAggregationInput[]; by: Prisma.DeviceFlowStateScalarFieldEnum[] | Prisma.DeviceFlowStateScalarFieldEnum; having?: Prisma.DeviceFlowStateScalarWhereWithAggregatesInput; take?: number; skip?: number; _count?: DeviceFlowStateCountAggregateInputType | true; _avg?: DeviceFlowStateAvgAggregateInputType; _sum?: DeviceFlowStateSumAggregateInputType; _min?: DeviceFlowStateMinAggregateInputType; _max?: DeviceFlowStateMaxAggregateInputType; }; export type DeviceFlowStateGroupByOutputType = { state: string; deviceCode: string; userCode: string; verificationUri: string; verificationUriComplete: string | null; expiresAt: bigint; interval: number; clientId: string; codeChallenge: string; codeChallengeMethod: string; redirectUri: string | null; _count: DeviceFlowStateCountAggregateOutputType | null; _avg: DeviceFlowStateAvgAggregateOutputType | null; _sum: DeviceFlowStateSumAggregateOutputType | null; _min: DeviceFlowStateMinAggregateOutputType | null; _max: DeviceFlowStateMaxAggregateOutputType | null; }; export type GetDeviceFlowStateGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof DeviceFlowStateGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type DeviceFlowStateWhereInput = { AND?: Prisma.DeviceFlowStateWhereInput | Prisma.DeviceFlowStateWhereInput[]; OR?: Prisma.DeviceFlowStateWhereInput[]; NOT?: Prisma.DeviceFlowStateWhereInput | Prisma.DeviceFlowStateWhereInput[]; state?: Prisma.StringFilter<"DeviceFlowState"> | string; deviceCode?: Prisma.StringFilter<"DeviceFlowState"> | string; userCode?: Prisma.StringFilter<"DeviceFlowState"> | string; verificationUri?: Prisma.StringFilter<"DeviceFlowState"> | string; verificationUriComplete?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null; expiresAt?: Prisma.BigIntFilter<"DeviceFlowState"> | bigint | number; interval?: Prisma.IntFilter<"DeviceFlowState"> | number; clientId?: Prisma.StringFilter<"DeviceFlowState"> | string; codeChallenge?: Prisma.StringFilter<"DeviceFlowState"> | string; codeChallengeMethod?: Prisma.StringFilter<"DeviceFlowState"> | string; redirectUri?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null; }; export type DeviceFlowStateOrderByWithRelationInput = { state?: Prisma.SortOrder; deviceCode?: Prisma.SortOrder; userCode?: Prisma.SortOrder; verificationUri?: Prisma.SortOrder; verificationUriComplete?: Prisma.SortOrderInput | Prisma.SortOrder; expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; clientId?: Prisma.SortOrder; codeChallenge?: Prisma.SortOrder; codeChallengeMethod?: Prisma.SortOrder; redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder; }; export type DeviceFlowStateWhereUniqueInput = Prisma.AtLeast<{ state?: string; AND?: Prisma.DeviceFlowStateWhereInput | Prisma.DeviceFlowStateWhereInput[]; OR?: Prisma.DeviceFlowStateWhereInput[]; NOT?: Prisma.DeviceFlowStateWhereInput | Prisma.DeviceFlowStateWhereInput[]; deviceCode?: Prisma.StringFilter<"DeviceFlowState"> | string; userCode?: Prisma.StringFilter<"DeviceFlowState"> | string; verificationUri?: Prisma.StringFilter<"DeviceFlowState"> | string; verificationUriComplete?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null; expiresAt?: Prisma.BigIntFilter<"DeviceFlowState"> | bigint | number; interval?: Prisma.IntFilter<"DeviceFlowState"> | number; clientId?: Prisma.StringFilter<"DeviceFlowState"> | string; codeChallenge?: Prisma.StringFilter<"DeviceFlowState"> | string; codeChallengeMethod?: Prisma.StringFilter<"DeviceFlowState"> | string; redirectUri?: Prisma.StringNullableFilter<"DeviceFlowState"> | string | null; }, "state">; export type DeviceFlowStateOrderByWithAggregationInput = { state?: Prisma.SortOrder; deviceCode?: Prisma.SortOrder; userCode?: Prisma.SortOrder; verificationUri?: Prisma.SortOrder; verificationUriComplete?: Prisma.SortOrderInput | Prisma.SortOrder; expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; clientId?: Prisma.SortOrder; codeChallenge?: Prisma.SortOrder; codeChallengeMethod?: Prisma.SortOrder; redirectUri?: Prisma.SortOrderInput | Prisma.SortOrder; _count?: Prisma.DeviceFlowStateCountOrderByAggregateInput; _avg?: Prisma.DeviceFlowStateAvgOrderByAggregateInput; _max?: Prisma.DeviceFlowStateMaxOrderByAggregateInput; _min?: Prisma.DeviceFlowStateMinOrderByAggregateInput; _sum?: Prisma.DeviceFlowStateSumOrderByAggregateInput; }; export type DeviceFlowStateScalarWhereWithAggregatesInput = { AND?: Prisma.DeviceFlowStateScalarWhereWithAggregatesInput | Prisma.DeviceFlowStateScalarWhereWithAggregatesInput[]; OR?: Prisma.DeviceFlowStateScalarWhereWithAggregatesInput[]; NOT?: Prisma.DeviceFlowStateScalarWhereWithAggregatesInput | Prisma.DeviceFlowStateScalarWhereWithAggregatesInput[]; state?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; deviceCode?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; userCode?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; verificationUri?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; verificationUriComplete?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null; expiresAt?: Prisma.BigIntWithAggregatesFilter<"DeviceFlowState"> | bigint | number; interval?: Prisma.IntWithAggregatesFilter<"DeviceFlowState"> | number; clientId?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; codeChallenge?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; codeChallengeMethod?: Prisma.StringWithAggregatesFilter<"DeviceFlowState"> | string; redirectUri?: Prisma.StringNullableWithAggregatesFilter<"DeviceFlowState"> | string | null; }; export type DeviceFlowStateCreateInput = { state: string; deviceCode: string; userCode: string; verificationUri: string; verificationUriComplete?: string | null; expiresAt: bigint | number; interval: number; clientId: string; codeChallenge: string; codeChallengeMethod: string; redirectUri?: string | null; }; export type DeviceFlowStateUncheckedCreateInput = { state: string; deviceCode: string; userCode: string; verificationUri: string; verificationUriComplete?: string | null; expiresAt: bigint | number; interval: number; clientId: string; codeChallenge: string; codeChallengeMethod: string; redirectUri?: string | null; }; export type DeviceFlowStateUpdateInput = { state?: Prisma.StringFieldUpdateOperationsInput | string; deviceCode?: Prisma.StringFieldUpdateOperationsInput | string; userCode?: Prisma.StringFieldUpdateOperationsInput | string; verificationUri?: Prisma.StringFieldUpdateOperationsInput | string; verificationUriComplete?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number; interval?: Prisma.IntFieldUpdateOperationsInput | number; clientId?: Prisma.StringFieldUpdateOperationsInput | string; codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string; codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string; redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type DeviceFlowStateUncheckedUpdateInput = { state?: Prisma.StringFieldUpdateOperationsInput | string; deviceCode?: Prisma.StringFieldUpdateOperationsInput | string; userCode?: Prisma.StringFieldUpdateOperationsInput | string; verificationUri?: Prisma.StringFieldUpdateOperationsInput | string; verificationUriComplete?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number; interval?: Prisma.IntFieldUpdateOperationsInput | number; clientId?: Prisma.StringFieldUpdateOperationsInput | string; codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string; codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string; redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type DeviceFlowStateCreateManyInput = { state: string; deviceCode: string; userCode: string; verificationUri: string; verificationUriComplete?: string | null; expiresAt: bigint | number; interval: number; clientId: string; codeChallenge: string; codeChallengeMethod: string; redirectUri?: string | null; }; export type DeviceFlowStateUpdateManyMutationInput = { state?: Prisma.StringFieldUpdateOperationsInput | string; deviceCode?: Prisma.StringFieldUpdateOperationsInput | string; userCode?: Prisma.StringFieldUpdateOperationsInput | string; verificationUri?: Prisma.StringFieldUpdateOperationsInput | string; verificationUriComplete?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number; interval?: Prisma.IntFieldUpdateOperationsInput | number; clientId?: Prisma.StringFieldUpdateOperationsInput | string; codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string; codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string; redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type DeviceFlowStateUncheckedUpdateManyInput = { state?: Prisma.StringFieldUpdateOperationsInput | string; deviceCode?: Prisma.StringFieldUpdateOperationsInput | string; userCode?: Prisma.StringFieldUpdateOperationsInput | string; verificationUri?: Prisma.StringFieldUpdateOperationsInput | string; verificationUriComplete?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; expiresAt?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number; interval?: Prisma.IntFieldUpdateOperationsInput | number; clientId?: Prisma.StringFieldUpdateOperationsInput | string; codeChallenge?: Prisma.StringFieldUpdateOperationsInput | string; codeChallengeMethod?: Prisma.StringFieldUpdateOperationsInput | string; redirectUri?: Prisma.NullableStringFieldUpdateOperationsInput | string | null; }; export type DeviceFlowStateCountOrderByAggregateInput = { state?: Prisma.SortOrder; deviceCode?: Prisma.SortOrder; userCode?: Prisma.SortOrder; verificationUri?: Prisma.SortOrder; verificationUriComplete?: Prisma.SortOrder; expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; clientId?: Prisma.SortOrder; codeChallenge?: Prisma.SortOrder; codeChallengeMethod?: Prisma.SortOrder; redirectUri?: Prisma.SortOrder; }; export type DeviceFlowStateAvgOrderByAggregateInput = { expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; }; export type DeviceFlowStateMaxOrderByAggregateInput = { state?: Prisma.SortOrder; deviceCode?: Prisma.SortOrder; userCode?: Prisma.SortOrder; verificationUri?: Prisma.SortOrder; verificationUriComplete?: Prisma.SortOrder; expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; clientId?: Prisma.SortOrder; codeChallenge?: Prisma.SortOrder; codeChallengeMethod?: Prisma.SortOrder; redirectUri?: Prisma.SortOrder; }; export type DeviceFlowStateMinOrderByAggregateInput = { state?: Prisma.SortOrder; deviceCode?: Prisma.SortOrder; userCode?: Prisma.SortOrder; verificationUri?: Prisma.SortOrder; verificationUriComplete?: Prisma.SortOrder; expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; clientId?: Prisma.SortOrder; codeChallenge?: Prisma.SortOrder; codeChallengeMethod?: Prisma.SortOrder; redirectUri?: Prisma.SortOrder; }; export type DeviceFlowStateSumOrderByAggregateInput = { expiresAt?: Prisma.SortOrder; interval?: Prisma.SortOrder; }; export type DeviceFlowStateSelect = runtime.Types.Extensions.GetSelect<{ state?: boolean; deviceCode?: boolean; userCode?: boolean; verificationUri?: boolean; verificationUriComplete?: boolean; expiresAt?: boolean; interval?: boolean; clientId?: boolean; codeChallenge?: boolean; codeChallengeMethod?: boolean; redirectUri?: boolean; }, ExtArgs["result"]["deviceFlowState"]>; export type DeviceFlowStateSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ state?: boolean; deviceCode?: boolean; userCode?: boolean; verificationUri?: boolean; verificationUriComplete?: boolean; expiresAt?: boolean; interval?: boolean; clientId?: boolean; codeChallenge?: boolean; codeChallengeMethod?: boolean; redirectUri?: boolean; }, ExtArgs["result"]["deviceFlowState"]>; export type DeviceFlowStateSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ state?: boolean; deviceCode?: boolean; userCode?: boolean; verificationUri?: boolean; verificationUriComplete?: boolean; expiresAt?: boolean; interval?: boolean; clientId?: boolean; codeChallenge?: boolean; codeChallengeMethod?: boolean; redirectUri?: boolean; }, ExtArgs["result"]["deviceFlowState"]>; export type DeviceFlowStateSelectScalar = { state?: boolean; deviceCode?: boolean; userCode?: boolean; verificationUri?: boolean; verificationUriComplete?: boolean; expiresAt?: boolean; interval?: boolean; clientId?: boolean; codeChallenge?: boolean; codeChallengeMethod?: boolean; redirectUri?: boolean; }; export type DeviceFlowStateOmit = runtime.Types.Extensions.GetOmit<"state" | "deviceCode" | "userCode" | "verificationUri" | "verificationUriComplete" | "expiresAt" | "interval" | "clientId" | "codeChallenge" | "codeChallengeMethod" | "redirectUri", ExtArgs["result"]["deviceFlowState"]>; export type $DeviceFlowStatePayload = { name: "DeviceFlowState"; objects: {}; scalars: runtime.Types.Extensions.GetPayloadResult<{ state: string; deviceCode: string; userCode: string; verificationUri: string; verificationUriComplete: string | null; expiresAt: bigint; interval: number; clientId: string; codeChallenge: string; codeChallengeMethod: string; redirectUri: string | null; }, ExtArgs["result"]["deviceFlowState"]>; composites: {}; }; export type DeviceFlowStateGetPayload = runtime.Types.Result.GetResult; export type DeviceFlowStateCountArgs = Omit & { select?: DeviceFlowStateCountAggregateInputType | true; }; export interface DeviceFlowStateDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DeviceFlowState']; meta: { name: 'DeviceFlowState'; }; }; findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; create(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>>; delete(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; update(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>>; upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DeviceFlowStateClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; aggregate(args: Prisma.Subset): Prisma.PrismaPromise>; groupBy>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DeviceFlowStateGroupByArgs['orderBy']; } : { orderBy?: DeviceFlowStateGroupByArgs['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 ? GetDeviceFlowStateGroupByPayload : Prisma.PrismaPromise; readonly fields: DeviceFlowStateFieldRefs; } export interface Prisma__DeviceFlowStateClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise; catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise; finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; } export interface DeviceFlowStateFieldRefs { readonly state: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly deviceCode: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly userCode: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly verificationUri: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly verificationUriComplete: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly expiresAt: Prisma.FieldRef<"DeviceFlowState", 'BigInt'>; readonly interval: Prisma.FieldRef<"DeviceFlowState", 'Int'>; readonly clientId: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly codeChallenge: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly codeChallengeMethod: Prisma.FieldRef<"DeviceFlowState", 'String'>; readonly redirectUri: Prisma.FieldRef<"DeviceFlowState", 'String'>; } export type DeviceFlowStateFindUniqueArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where: Prisma.DeviceFlowStateWhereUniqueInput; }; export type DeviceFlowStateFindUniqueOrThrowArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where: Prisma.DeviceFlowStateWhereUniqueInput; }; export type DeviceFlowStateFindFirstArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where?: Prisma.DeviceFlowStateWhereInput; orderBy?: Prisma.DeviceFlowStateOrderByWithRelationInput | Prisma.DeviceFlowStateOrderByWithRelationInput[]; cursor?: Prisma.DeviceFlowStateWhereUniqueInput; take?: number; skip?: number; distinct?: Prisma.DeviceFlowStateScalarFieldEnum | Prisma.DeviceFlowStateScalarFieldEnum[]; }; export type DeviceFlowStateFindFirstOrThrowArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where?: Prisma.DeviceFlowStateWhereInput; orderBy?: Prisma.DeviceFlowStateOrderByWithRelationInput | Prisma.DeviceFlowStateOrderByWithRelationInput[]; cursor?: Prisma.DeviceFlowStateWhereUniqueInput; take?: number; skip?: number; distinct?: Prisma.DeviceFlowStateScalarFieldEnum | Prisma.DeviceFlowStateScalarFieldEnum[]; }; export type DeviceFlowStateFindManyArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where?: Prisma.DeviceFlowStateWhereInput; orderBy?: Prisma.DeviceFlowStateOrderByWithRelationInput | Prisma.DeviceFlowStateOrderByWithRelationInput[]; cursor?: Prisma.DeviceFlowStateWhereUniqueInput; take?: number; skip?: number; distinct?: Prisma.DeviceFlowStateScalarFieldEnum | Prisma.DeviceFlowStateScalarFieldEnum[]; }; export type DeviceFlowStateCreateArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; data: Prisma.XOR; }; export type DeviceFlowStateCreateManyArgs = { data: Prisma.DeviceFlowStateCreateManyInput | Prisma.DeviceFlowStateCreateManyInput[]; skipDuplicates?: boolean; }; export type DeviceFlowStateCreateManyAndReturnArgs = { select?: Prisma.DeviceFlowStateSelectCreateManyAndReturn | null; omit?: Prisma.DeviceFlowStateOmit | null; data: Prisma.DeviceFlowStateCreateManyInput | Prisma.DeviceFlowStateCreateManyInput[]; skipDuplicates?: boolean; }; export type DeviceFlowStateUpdateArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; data: Prisma.XOR; where: Prisma.DeviceFlowStateWhereUniqueInput; }; export type DeviceFlowStateUpdateManyArgs = { data: Prisma.XOR; where?: Prisma.DeviceFlowStateWhereInput; limit?: number; }; export type DeviceFlowStateUpdateManyAndReturnArgs = { select?: Prisma.DeviceFlowStateSelectUpdateManyAndReturn | null; omit?: Prisma.DeviceFlowStateOmit | null; data: Prisma.XOR; where?: Prisma.DeviceFlowStateWhereInput; limit?: number; }; export type DeviceFlowStateUpsertArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where: Prisma.DeviceFlowStateWhereUniqueInput; create: Prisma.XOR; update: Prisma.XOR; }; export type DeviceFlowStateDeleteArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; where: Prisma.DeviceFlowStateWhereUniqueInput; }; export type DeviceFlowStateDeleteManyArgs = { where?: Prisma.DeviceFlowStateWhereInput; limit?: number; }; export type DeviceFlowStateDefaultArgs = { select?: Prisma.DeviceFlowStateSelect | null; omit?: Prisma.DeviceFlowStateOmit | null; };