import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model mfa_challenges
 * This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type mfa_challengesModel = runtime.Types.Result.DefaultSelection<Prisma.$mfa_challengesPayload>;
export type AggregateMfa_challenges = {
    _count: Mfa_challengesCountAggregateOutputType | null;
    _min: Mfa_challengesMinAggregateOutputType | null;
    _max: Mfa_challengesMaxAggregateOutputType | null;
};
export type Mfa_challengesMinAggregateOutputType = {
    id: string | null;
    factor_id: string | null;
    created_at: Date | null;
    verified_at: Date | null;
    ip_address: string | null;
    otp_code: string | null;
};
export type Mfa_challengesMaxAggregateOutputType = {
    id: string | null;
    factor_id: string | null;
    created_at: Date | null;
    verified_at: Date | null;
    ip_address: string | null;
    otp_code: string | null;
};
export type Mfa_challengesCountAggregateOutputType = {
    id: number;
    factor_id: number;
    created_at: number;
    verified_at: number;
    ip_address: number;
    otp_code: number;
    web_authn_session_data: number;
    _all: number;
};
export type Mfa_challengesMinAggregateInputType = {
    id?: true;
    factor_id?: true;
    created_at?: true;
    verified_at?: true;
    ip_address?: true;
    otp_code?: true;
};
export type Mfa_challengesMaxAggregateInputType = {
    id?: true;
    factor_id?: true;
    created_at?: true;
    verified_at?: true;
    ip_address?: true;
    otp_code?: true;
};
export type Mfa_challengesCountAggregateInputType = {
    id?: true;
    factor_id?: true;
    created_at?: true;
    verified_at?: true;
    ip_address?: true;
    otp_code?: true;
    web_authn_session_data?: true;
    _all?: true;
};
export type Mfa_challengesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which mfa_challenges to aggregate.
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of mfa_challenges to fetch.
     */
    orderBy?: Prisma.mfa_challengesOrderByWithRelationInput | Prisma.mfa_challengesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.mfa_challengesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` mfa_challenges 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` mfa_challenges.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned mfa_challenges
    **/
    _count?: true | Mfa_challengesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Mfa_challengesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Mfa_challengesMaxAggregateInputType;
};
export type GetMfa_challengesAggregateType<T extends Mfa_challengesAggregateArgs> = {
    [P in keyof T & keyof AggregateMfa_challenges]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMfa_challenges[P]> : Prisma.GetScalarType<T[P], AggregateMfa_challenges[P]>;
};
export type mfa_challengesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.mfa_challengesWhereInput;
    orderBy?: Prisma.mfa_challengesOrderByWithAggregationInput | Prisma.mfa_challengesOrderByWithAggregationInput[];
    by: Prisma.Mfa_challengesScalarFieldEnum[] | Prisma.Mfa_challengesScalarFieldEnum;
    having?: Prisma.mfa_challengesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Mfa_challengesCountAggregateInputType | true;
    _min?: Mfa_challengesMinAggregateInputType;
    _max?: Mfa_challengesMaxAggregateInputType;
};
export type Mfa_challengesGroupByOutputType = {
    id: string;
    factor_id: string;
    created_at: Date;
    verified_at: Date | null;
    ip_address: string;
    otp_code: string | null;
    web_authn_session_data: runtime.JsonValue | null;
    _count: Mfa_challengesCountAggregateOutputType | null;
    _min: Mfa_challengesMinAggregateOutputType | null;
    _max: Mfa_challengesMaxAggregateOutputType | null;
};
type GetMfa_challengesGroupByPayload<T extends mfa_challengesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Mfa_challengesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Mfa_challengesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Mfa_challengesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Mfa_challengesGroupByOutputType[P]>;
}>>;
export type mfa_challengesWhereInput = {
    AND?: Prisma.mfa_challengesWhereInput | Prisma.mfa_challengesWhereInput[];
    OR?: Prisma.mfa_challengesWhereInput[];
    NOT?: Prisma.mfa_challengesWhereInput | Prisma.mfa_challengesWhereInput[];
    id?: Prisma.UuidFilter<"mfa_challenges"> | string;
    factor_id?: Prisma.UuidFilter<"mfa_challenges"> | string;
    created_at?: Prisma.DateTimeFilter<"mfa_challenges"> | Date | string;
    verified_at?: Prisma.DateTimeNullableFilter<"mfa_challenges"> | Date | string | null;
    ip_address?: Prisma.StringFilter<"mfa_challenges"> | string;
    otp_code?: Prisma.StringNullableFilter<"mfa_challenges"> | string | null;
    web_authn_session_data?: Prisma.JsonNullableFilter<"mfa_challenges">;
    mfa_factors?: Prisma.XOR<Prisma.Mfa_factorsScalarRelationFilter, Prisma.mfa_factorsWhereInput>;
};
export type mfa_challengesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    factor_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    verified_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    ip_address?: Prisma.SortOrder;
    otp_code?: Prisma.SortOrderInput | Prisma.SortOrder;
    web_authn_session_data?: Prisma.SortOrderInput | Prisma.SortOrder;
    mfa_factors?: Prisma.mfa_factorsOrderByWithRelationInput;
};
export type mfa_challengesWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    AND?: Prisma.mfa_challengesWhereInput | Prisma.mfa_challengesWhereInput[];
    OR?: Prisma.mfa_challengesWhereInput[];
    NOT?: Prisma.mfa_challengesWhereInput | Prisma.mfa_challengesWhereInput[];
    factor_id?: Prisma.UuidFilter<"mfa_challenges"> | string;
    created_at?: Prisma.DateTimeFilter<"mfa_challenges"> | Date | string;
    verified_at?: Prisma.DateTimeNullableFilter<"mfa_challenges"> | Date | string | null;
    ip_address?: Prisma.StringFilter<"mfa_challenges"> | string;
    otp_code?: Prisma.StringNullableFilter<"mfa_challenges"> | string | null;
    web_authn_session_data?: Prisma.JsonNullableFilter<"mfa_challenges">;
    mfa_factors?: Prisma.XOR<Prisma.Mfa_factorsScalarRelationFilter, Prisma.mfa_factorsWhereInput>;
}, "id">;
export type mfa_challengesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    factor_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    verified_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    ip_address?: Prisma.SortOrder;
    otp_code?: Prisma.SortOrderInput | Prisma.SortOrder;
    web_authn_session_data?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.mfa_challengesCountOrderByAggregateInput;
    _max?: Prisma.mfa_challengesMaxOrderByAggregateInput;
    _min?: Prisma.mfa_challengesMinOrderByAggregateInput;
};
export type mfa_challengesScalarWhereWithAggregatesInput = {
    AND?: Prisma.mfa_challengesScalarWhereWithAggregatesInput | Prisma.mfa_challengesScalarWhereWithAggregatesInput[];
    OR?: Prisma.mfa_challengesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.mfa_challengesScalarWhereWithAggregatesInput | Prisma.mfa_challengesScalarWhereWithAggregatesInput[];
    id?: Prisma.UuidWithAggregatesFilter<"mfa_challenges"> | string;
    factor_id?: Prisma.UuidWithAggregatesFilter<"mfa_challenges"> | string;
    created_at?: Prisma.DateTimeWithAggregatesFilter<"mfa_challenges"> | Date | string;
    verified_at?: Prisma.DateTimeNullableWithAggregatesFilter<"mfa_challenges"> | Date | string | null;
    ip_address?: Prisma.StringWithAggregatesFilter<"mfa_challenges"> | string;
    otp_code?: Prisma.StringNullableWithAggregatesFilter<"mfa_challenges"> | string | null;
    web_authn_session_data?: Prisma.JsonNullableWithAggregatesFilter<"mfa_challenges">;
};
export type mfa_challengesCreateInput = {
    id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    mfa_factors: Prisma.mfa_factorsCreateNestedOneWithoutMfa_challengesInput;
};
export type mfa_challengesUncheckedCreateInput = {
    id: string;
    factor_id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    mfa_factors?: Prisma.mfa_factorsUpdateOneRequiredWithoutMfa_challengesNestedInput;
};
export type mfa_challengesUncheckedUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    factor_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesCreateManyInput = {
    id: string;
    factor_id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUpdateManyMutationInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUncheckedUpdateManyInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    factor_id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    factor_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    verified_at?: Prisma.SortOrder;
    ip_address?: Prisma.SortOrder;
    otp_code?: Prisma.SortOrder;
    web_authn_session_data?: Prisma.SortOrder;
};
export type mfa_challengesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    factor_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    verified_at?: Prisma.SortOrder;
    ip_address?: Prisma.SortOrder;
    otp_code?: Prisma.SortOrder;
};
export type mfa_challengesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    factor_id?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    verified_at?: Prisma.SortOrder;
    ip_address?: Prisma.SortOrder;
    otp_code?: Prisma.SortOrder;
};
export type Mfa_challengesListRelationFilter = {
    every?: Prisma.mfa_challengesWhereInput;
    some?: Prisma.mfa_challengesWhereInput;
    none?: Prisma.mfa_challengesWhereInput;
};
export type mfa_challengesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type mfa_challengesCreateNestedManyWithoutMfa_factorsInput = {
    create?: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput> | Prisma.mfa_challengesCreateWithoutMfa_factorsInput[] | Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput[];
    connectOrCreate?: Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput | Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput[];
    createMany?: Prisma.mfa_challengesCreateManyMfa_factorsInputEnvelope;
    connect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
};
export type mfa_challengesUncheckedCreateNestedManyWithoutMfa_factorsInput = {
    create?: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput> | Prisma.mfa_challengesCreateWithoutMfa_factorsInput[] | Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput[];
    connectOrCreate?: Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput | Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput[];
    createMany?: Prisma.mfa_challengesCreateManyMfa_factorsInputEnvelope;
    connect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
};
export type mfa_challengesUpdateManyWithoutMfa_factorsNestedInput = {
    create?: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput> | Prisma.mfa_challengesCreateWithoutMfa_factorsInput[] | Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput[];
    connectOrCreate?: Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput | Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput[];
    upsert?: Prisma.mfa_challengesUpsertWithWhereUniqueWithoutMfa_factorsInput | Prisma.mfa_challengesUpsertWithWhereUniqueWithoutMfa_factorsInput[];
    createMany?: Prisma.mfa_challengesCreateManyMfa_factorsInputEnvelope;
    set?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    disconnect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    delete?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    connect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    update?: Prisma.mfa_challengesUpdateWithWhereUniqueWithoutMfa_factorsInput | Prisma.mfa_challengesUpdateWithWhereUniqueWithoutMfa_factorsInput[];
    updateMany?: Prisma.mfa_challengesUpdateManyWithWhereWithoutMfa_factorsInput | Prisma.mfa_challengesUpdateManyWithWhereWithoutMfa_factorsInput[];
    deleteMany?: Prisma.mfa_challengesScalarWhereInput | Prisma.mfa_challengesScalarWhereInput[];
};
export type mfa_challengesUncheckedUpdateManyWithoutMfa_factorsNestedInput = {
    create?: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput> | Prisma.mfa_challengesCreateWithoutMfa_factorsInput[] | Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput[];
    connectOrCreate?: Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput | Prisma.mfa_challengesCreateOrConnectWithoutMfa_factorsInput[];
    upsert?: Prisma.mfa_challengesUpsertWithWhereUniqueWithoutMfa_factorsInput | Prisma.mfa_challengesUpsertWithWhereUniqueWithoutMfa_factorsInput[];
    createMany?: Prisma.mfa_challengesCreateManyMfa_factorsInputEnvelope;
    set?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    disconnect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    delete?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    connect?: Prisma.mfa_challengesWhereUniqueInput | Prisma.mfa_challengesWhereUniqueInput[];
    update?: Prisma.mfa_challengesUpdateWithWhereUniqueWithoutMfa_factorsInput | Prisma.mfa_challengesUpdateWithWhereUniqueWithoutMfa_factorsInput[];
    updateMany?: Prisma.mfa_challengesUpdateManyWithWhereWithoutMfa_factorsInput | Prisma.mfa_challengesUpdateManyWithWhereWithoutMfa_factorsInput[];
    deleteMany?: Prisma.mfa_challengesScalarWhereInput | Prisma.mfa_challengesScalarWhereInput[];
};
export type mfa_challengesCreateWithoutMfa_factorsInput = {
    id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUncheckedCreateWithoutMfa_factorsInput = {
    id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesCreateOrConnectWithoutMfa_factorsInput = {
    where: Prisma.mfa_challengesWhereUniqueInput;
    create: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput>;
};
export type mfa_challengesCreateManyMfa_factorsInputEnvelope = {
    data: Prisma.mfa_challengesCreateManyMfa_factorsInput | Prisma.mfa_challengesCreateManyMfa_factorsInput[];
    skipDuplicates?: boolean;
};
export type mfa_challengesUpsertWithWhereUniqueWithoutMfa_factorsInput = {
    where: Prisma.mfa_challengesWhereUniqueInput;
    update: Prisma.XOR<Prisma.mfa_challengesUpdateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedUpdateWithoutMfa_factorsInput>;
    create: Prisma.XOR<Prisma.mfa_challengesCreateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedCreateWithoutMfa_factorsInput>;
};
export type mfa_challengesUpdateWithWhereUniqueWithoutMfa_factorsInput = {
    where: Prisma.mfa_challengesWhereUniqueInput;
    data: Prisma.XOR<Prisma.mfa_challengesUpdateWithoutMfa_factorsInput, Prisma.mfa_challengesUncheckedUpdateWithoutMfa_factorsInput>;
};
export type mfa_challengesUpdateManyWithWhereWithoutMfa_factorsInput = {
    where: Prisma.mfa_challengesScalarWhereInput;
    data: Prisma.XOR<Prisma.mfa_challengesUpdateManyMutationInput, Prisma.mfa_challengesUncheckedUpdateManyWithoutMfa_factorsInput>;
};
export type mfa_challengesScalarWhereInput = {
    AND?: Prisma.mfa_challengesScalarWhereInput | Prisma.mfa_challengesScalarWhereInput[];
    OR?: Prisma.mfa_challengesScalarWhereInput[];
    NOT?: Prisma.mfa_challengesScalarWhereInput | Prisma.mfa_challengesScalarWhereInput[];
    id?: Prisma.UuidFilter<"mfa_challenges"> | string;
    factor_id?: Prisma.UuidFilter<"mfa_challenges"> | string;
    created_at?: Prisma.DateTimeFilter<"mfa_challenges"> | Date | string;
    verified_at?: Prisma.DateTimeNullableFilter<"mfa_challenges"> | Date | string | null;
    ip_address?: Prisma.StringFilter<"mfa_challenges"> | string;
    otp_code?: Prisma.StringNullableFilter<"mfa_challenges"> | string | null;
    web_authn_session_data?: Prisma.JsonNullableFilter<"mfa_challenges">;
};
export type mfa_challengesCreateManyMfa_factorsInput = {
    id: string;
    created_at: Date | string;
    verified_at?: Date | string | null;
    ip_address: string;
    otp_code?: string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUpdateWithoutMfa_factorsInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUncheckedUpdateWithoutMfa_factorsInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesUncheckedUpdateManyWithoutMfa_factorsInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    verified_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    ip_address?: Prisma.StringFieldUpdateOperationsInput | string;
    otp_code?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    web_authn_session_data?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
};
export type mfa_challengesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    factor_id?: boolean;
    created_at?: boolean;
    verified_at?: boolean;
    ip_address?: boolean;
    otp_code?: boolean;
    web_authn_session_data?: boolean;
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["mfa_challenges"]>;
export type mfa_challengesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    factor_id?: boolean;
    created_at?: boolean;
    verified_at?: boolean;
    ip_address?: boolean;
    otp_code?: boolean;
    web_authn_session_data?: boolean;
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["mfa_challenges"]>;
export type mfa_challengesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    factor_id?: boolean;
    created_at?: boolean;
    verified_at?: boolean;
    ip_address?: boolean;
    otp_code?: boolean;
    web_authn_session_data?: boolean;
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["mfa_challenges"]>;
export type mfa_challengesSelectScalar = {
    id?: boolean;
    factor_id?: boolean;
    created_at?: boolean;
    verified_at?: boolean;
    ip_address?: boolean;
    otp_code?: boolean;
    web_authn_session_data?: boolean;
};
export type mfa_challengesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "factor_id" | "created_at" | "verified_at" | "ip_address" | "otp_code" | "web_authn_session_data", ExtArgs["result"]["mfa_challenges"]>;
export type mfa_challengesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
};
export type mfa_challengesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
};
export type mfa_challengesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    mfa_factors?: boolean | Prisma.mfa_factorsDefaultArgs<ExtArgs>;
};
export type $mfa_challengesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "mfa_challenges";
    objects: {
        mfa_factors: Prisma.$mfa_factorsPayload<ExtArgs>;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: string;
        factor_id: string;
        created_at: Date;
        verified_at: Date | null;
        ip_address: string;
        otp_code: string | null;
        web_authn_session_data: runtime.JsonValue | null;
    }, ExtArgs["result"]["mfa_challenges"]>;
    composites: {};
};
export type mfa_challengesGetPayload<S extends boolean | null | undefined | mfa_challengesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload, S>;
export type mfa_challengesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<mfa_challengesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Mfa_challengesCountAggregateInputType | true;
};
export interface mfa_challengesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['mfa_challenges'];
        meta: {
            name: 'mfa_challenges';
        };
    };
    /**
     * Find zero or one Mfa_challenges that matches the filter.
     * @param {mfa_challengesFindUniqueArgs} args - Arguments to find a Mfa_challenges
     * @example
     * // Get one Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends mfa_challengesFindUniqueArgs>(args: Prisma.SelectSubset<T, mfa_challengesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Mfa_challenges that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {mfa_challengesFindUniqueOrThrowArgs} args - Arguments to find a Mfa_challenges
     * @example
     * // Get one Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends mfa_challengesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, mfa_challengesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Mfa_challenges 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 {mfa_challengesFindFirstArgs} args - Arguments to find a Mfa_challenges
     * @example
     * // Get one Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends mfa_challengesFindFirstArgs>(args?: Prisma.SelectSubset<T, mfa_challengesFindFirstArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Mfa_challenges 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 {mfa_challengesFindFirstOrThrowArgs} args - Arguments to find a Mfa_challenges
     * @example
     * // Get one Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends mfa_challengesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, mfa_challengesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Mfa_challenges 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 {mfa_challengesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findMany()
     *
     * // Get first 10 Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const mfa_challengesWithIdOnly = await prisma.mfa_challenges.findMany({ select: { id: true } })
     *
     */
    findMany<T extends mfa_challengesFindManyArgs>(args?: Prisma.SelectSubset<T, mfa_challengesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Mfa_challenges.
     * @param {mfa_challengesCreateArgs} args - Arguments to create a Mfa_challenges.
     * @example
     * // Create one Mfa_challenges
     * const Mfa_challenges = await prisma.mfa_challenges.create({
     *   data: {
     *     // ... data to create a Mfa_challenges
     *   }
     * })
     *
     */
    create<T extends mfa_challengesCreateArgs>(args: Prisma.SelectSubset<T, mfa_challengesCreateArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Mfa_challenges.
     * @param {mfa_challengesCreateManyArgs} args - Arguments to create many Mfa_challenges.
     * @example
     * // Create many Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends mfa_challengesCreateManyArgs>(args?: Prisma.SelectSubset<T, mfa_challengesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Mfa_challenges and returns the data saved in the database.
     * @param {mfa_challengesCreateManyAndReturnArgs} args - Arguments to create many Mfa_challenges.
     * @example
     * // Create many Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Mfa_challenges and only return the `id`
     * const mfa_challengesWithIdOnly = await prisma.mfa_challenges.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<T extends mfa_challengesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, mfa_challengesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Mfa_challenges.
     * @param {mfa_challengesDeleteArgs} args - Arguments to delete one Mfa_challenges.
     * @example
     * // Delete one Mfa_challenges
     * const Mfa_challenges = await prisma.mfa_challenges.delete({
     *   where: {
     *     // ... filter to delete one Mfa_challenges
     *   }
     * })
     *
     */
    delete<T extends mfa_challengesDeleteArgs>(args: Prisma.SelectSubset<T, mfa_challengesDeleteArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Mfa_challenges.
     * @param {mfa_challengesUpdateArgs} args - Arguments to update one Mfa_challenges.
     * @example
     * // Update one Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends mfa_challengesUpdateArgs>(args: Prisma.SelectSubset<T, mfa_challengesUpdateArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Mfa_challenges.
     * @param {mfa_challengesDeleteManyArgs} args - Arguments to filter Mfa_challenges to delete.
     * @example
     * // Delete a few Mfa_challenges
     * const { count } = await prisma.mfa_challenges.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends mfa_challengesDeleteManyArgs>(args?: Prisma.SelectSubset<T, mfa_challengesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Mfa_challenges.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {mfa_challengesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends mfa_challengesUpdateManyArgs>(args: Prisma.SelectSubset<T, mfa_challengesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Mfa_challenges and returns the data updated in the database.
     * @param {mfa_challengesUpdateManyAndReturnArgs} args - Arguments to update many Mfa_challenges.
     * @example
     * // Update many Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Mfa_challenges and only return the `id`
     * const mfa_challengesWithIdOnly = await prisma.mfa_challenges.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<T extends mfa_challengesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, mfa_challengesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Mfa_challenges.
     * @param {mfa_challengesUpsertArgs} args - Arguments to update or create a Mfa_challenges.
     * @example
     * // Update or create a Mfa_challenges
     * const mfa_challenges = await prisma.mfa_challenges.upsert({
     *   create: {
     *     // ... data to create a Mfa_challenges
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Mfa_challenges we want to update
     *   }
     * })
     */
    upsert<T extends mfa_challengesUpsertArgs>(args: Prisma.SelectSubset<T, mfa_challengesUpsertArgs<ExtArgs>>): Prisma.Prisma__mfa_challengesClient<runtime.Types.Result.GetResult<Prisma.$mfa_challengesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Mfa_challenges.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {mfa_challengesCountArgs} args - Arguments to filter Mfa_challenges to count.
     * @example
     * // Count the number of Mfa_challenges
     * const count = await prisma.mfa_challenges.count({
     *   where: {
     *     // ... the filter for the Mfa_challenges we want to count
     *   }
     * })
    **/
    count<T extends mfa_challengesCountArgs>(args?: Prisma.Subset<T, mfa_challengesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Mfa_challengesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Mfa_challenges.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Mfa_challengesAggregateArgs} 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<T extends Mfa_challengesAggregateArgs>(args: Prisma.Subset<T, Mfa_challengesAggregateArgs>): Prisma.PrismaPromise<GetMfa_challengesAggregateType<T>>;
    /**
     * Group by Mfa_challenges.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {mfa_challengesGroupByArgs} 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 mfa_challengesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: mfa_challengesGroupByArgs['orderBy'];
    } : {
        orderBy?: mfa_challengesGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, 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<T> ? 'orderBy' extends Prisma.Keys<T> ? 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<T> ? 'orderBy' extends Prisma.Keys<T> ? 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<T, mfa_challengesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMfa_challengesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the mfa_challenges model
     */
    readonly fields: mfa_challengesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for mfa_challenges.
 * 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__mfa_challengesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    mfa_factors<T extends Prisma.mfa_factorsDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.mfa_factorsDefaultArgs<ExtArgs>>): Prisma.Prisma__mfa_factorsClient<runtime.Types.Result.GetResult<Prisma.$mfa_factorsPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * 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<T>;
}
/**
 * Fields of the mfa_challenges model
 */
export interface mfa_challengesFieldRefs {
    readonly id: Prisma.FieldRef<"mfa_challenges", 'String'>;
    readonly factor_id: Prisma.FieldRef<"mfa_challenges", 'String'>;
    readonly created_at: Prisma.FieldRef<"mfa_challenges", 'DateTime'>;
    readonly verified_at: Prisma.FieldRef<"mfa_challenges", 'DateTime'>;
    readonly ip_address: Prisma.FieldRef<"mfa_challenges", 'String'>;
    readonly otp_code: Prisma.FieldRef<"mfa_challenges", 'String'>;
    readonly web_authn_session_data: Prisma.FieldRef<"mfa_challenges", 'Json'>;
}
/**
 * mfa_challenges findUnique
 */
export type mfa_challengesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter, which mfa_challenges to fetch.
     */
    where: Prisma.mfa_challengesWhereUniqueInput;
};
/**
 * mfa_challenges findUniqueOrThrow
 */
export type mfa_challengesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter, which mfa_challenges to fetch.
     */
    where: Prisma.mfa_challengesWhereUniqueInput;
};
/**
 * mfa_challenges findFirst
 */
export type mfa_challengesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter, which mfa_challenges to fetch.
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of mfa_challenges to fetch.
     */
    orderBy?: Prisma.mfa_challengesOrderByWithRelationInput | Prisma.mfa_challengesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for mfa_challenges.
     */
    cursor?: Prisma.mfa_challengesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` mfa_challenges 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` mfa_challenges.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of mfa_challenges.
     */
    distinct?: Prisma.Mfa_challengesScalarFieldEnum | Prisma.Mfa_challengesScalarFieldEnum[];
};
/**
 * mfa_challenges findFirstOrThrow
 */
export type mfa_challengesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter, which mfa_challenges to fetch.
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of mfa_challenges to fetch.
     */
    orderBy?: Prisma.mfa_challengesOrderByWithRelationInput | Prisma.mfa_challengesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for mfa_challenges.
     */
    cursor?: Prisma.mfa_challengesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` mfa_challenges 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` mfa_challenges.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of mfa_challenges.
     */
    distinct?: Prisma.Mfa_challengesScalarFieldEnum | Prisma.Mfa_challengesScalarFieldEnum[];
};
/**
 * mfa_challenges findMany
 */
export type mfa_challengesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter, which mfa_challenges to fetch.
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of mfa_challenges to fetch.
     */
    orderBy?: Prisma.mfa_challengesOrderByWithRelationInput | Prisma.mfa_challengesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing mfa_challenges.
     */
    cursor?: Prisma.mfa_challengesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` mfa_challenges 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` mfa_challenges.
     */
    skip?: number;
    distinct?: Prisma.Mfa_challengesScalarFieldEnum | Prisma.Mfa_challengesScalarFieldEnum[];
};
/**
 * mfa_challenges create
 */
export type mfa_challengesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * The data needed to create a mfa_challenges.
     */
    data: Prisma.XOR<Prisma.mfa_challengesCreateInput, Prisma.mfa_challengesUncheckedCreateInput>;
};
/**
 * mfa_challenges createMany
 */
export type mfa_challengesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many mfa_challenges.
     */
    data: Prisma.mfa_challengesCreateManyInput | Prisma.mfa_challengesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * mfa_challenges createManyAndReturn
 */
export type mfa_challengesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * The data used to create many mfa_challenges.
     */
    data: Prisma.mfa_challengesCreateManyInput | Prisma.mfa_challengesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * mfa_challenges update
 */
export type mfa_challengesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * The data needed to update a mfa_challenges.
     */
    data: Prisma.XOR<Prisma.mfa_challengesUpdateInput, Prisma.mfa_challengesUncheckedUpdateInput>;
    /**
     * Choose, which mfa_challenges to update.
     */
    where: Prisma.mfa_challengesWhereUniqueInput;
};
/**
 * mfa_challenges updateMany
 */
export type mfa_challengesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update mfa_challenges.
     */
    data: Prisma.XOR<Prisma.mfa_challengesUpdateManyMutationInput, Prisma.mfa_challengesUncheckedUpdateManyInput>;
    /**
     * Filter which mfa_challenges to update
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * Limit how many mfa_challenges to update.
     */
    limit?: number;
};
/**
 * mfa_challenges updateManyAndReturn
 */
export type mfa_challengesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * The data used to update mfa_challenges.
     */
    data: Prisma.XOR<Prisma.mfa_challengesUpdateManyMutationInput, Prisma.mfa_challengesUncheckedUpdateManyInput>;
    /**
     * Filter which mfa_challenges to update
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * Limit how many mfa_challenges to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * mfa_challenges upsert
 */
export type mfa_challengesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * The filter to search for the mfa_challenges to update in case it exists.
     */
    where: Prisma.mfa_challengesWhereUniqueInput;
    /**
     * In case the mfa_challenges found by the `where` argument doesn't exist, create a new mfa_challenges with this data.
     */
    create: Prisma.XOR<Prisma.mfa_challengesCreateInput, Prisma.mfa_challengesUncheckedCreateInput>;
    /**
     * In case the mfa_challenges was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.mfa_challengesUpdateInput, Prisma.mfa_challengesUncheckedUpdateInput>;
};
/**
 * mfa_challenges delete
 */
export type mfa_challengesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
    /**
     * Filter which mfa_challenges to delete.
     */
    where: Prisma.mfa_challengesWhereUniqueInput;
};
/**
 * mfa_challenges deleteMany
 */
export type mfa_challengesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which mfa_challenges to delete
     */
    where?: Prisma.mfa_challengesWhereInput;
    /**
     * Limit how many mfa_challenges to delete.
     */
    limit?: number;
};
/**
 * mfa_challenges without action
 */
export type mfa_challengesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the mfa_challenges
     */
    select?: Prisma.mfa_challengesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the mfa_challenges
     */
    omit?: Prisma.mfa_challengesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.mfa_challengesInclude<ExtArgs> | null;
};
export {};
