import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model identities
 * 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 identitiesModel = runtime.Types.Result.DefaultSelection<Prisma.$identitiesPayload>;
export type AggregateIdentities = {
    _count: IdentitiesCountAggregateOutputType | null;
    _min: IdentitiesMinAggregateOutputType | null;
    _max: IdentitiesMaxAggregateOutputType | null;
};
export type IdentitiesMinAggregateOutputType = {
    provider_id: string | null;
    user_id: string | null;
    provider: string | null;
    last_sign_in_at: Date | null;
    created_at: Date | null;
    updated_at: Date | null;
    email: string | null;
    id: string | null;
};
export type IdentitiesMaxAggregateOutputType = {
    provider_id: string | null;
    user_id: string | null;
    provider: string | null;
    last_sign_in_at: Date | null;
    created_at: Date | null;
    updated_at: Date | null;
    email: string | null;
    id: string | null;
};
export type IdentitiesCountAggregateOutputType = {
    provider_id: number;
    user_id: number;
    identity_data: number;
    provider: number;
    last_sign_in_at: number;
    created_at: number;
    updated_at: number;
    email: number;
    id: number;
    _all: number;
};
export type IdentitiesMinAggregateInputType = {
    provider_id?: true;
    user_id?: true;
    provider?: true;
    last_sign_in_at?: true;
    created_at?: true;
    updated_at?: true;
    email?: true;
    id?: true;
};
export type IdentitiesMaxAggregateInputType = {
    provider_id?: true;
    user_id?: true;
    provider?: true;
    last_sign_in_at?: true;
    created_at?: true;
    updated_at?: true;
    email?: true;
    id?: true;
};
export type IdentitiesCountAggregateInputType = {
    provider_id?: true;
    user_id?: true;
    identity_data?: true;
    provider?: true;
    last_sign_in_at?: true;
    created_at?: true;
    updated_at?: true;
    email?: true;
    id?: true;
    _all?: true;
};
export type IdentitiesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which identities to aggregate.
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of identities to fetch.
     */
    orderBy?: Prisma.identitiesOrderByWithRelationInput | Prisma.identitiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.identitiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` identities 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` identities.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned identities
    **/
    _count?: true | IdentitiesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: IdentitiesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: IdentitiesMaxAggregateInputType;
};
export type GetIdentitiesAggregateType<T extends IdentitiesAggregateArgs> = {
    [P in keyof T & keyof AggregateIdentities]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIdentities[P]> : Prisma.GetScalarType<T[P], AggregateIdentities[P]>;
};
export type identitiesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.identitiesWhereInput;
    orderBy?: Prisma.identitiesOrderByWithAggregationInput | Prisma.identitiesOrderByWithAggregationInput[];
    by: Prisma.IdentitiesScalarFieldEnum[] | Prisma.IdentitiesScalarFieldEnum;
    having?: Prisma.identitiesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: IdentitiesCountAggregateInputType | true;
    _min?: IdentitiesMinAggregateInputType;
    _max?: IdentitiesMaxAggregateInputType;
};
export type IdentitiesGroupByOutputType = {
    provider_id: string;
    user_id: string;
    identity_data: runtime.JsonValue;
    provider: string;
    last_sign_in_at: Date | null;
    created_at: Date | null;
    updated_at: Date | null;
    email: string | null;
    id: string;
    _count: IdentitiesCountAggregateOutputType | null;
    _min: IdentitiesMinAggregateOutputType | null;
    _max: IdentitiesMaxAggregateOutputType | null;
};
type GetIdentitiesGroupByPayload<T extends identitiesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<IdentitiesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof IdentitiesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], IdentitiesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], IdentitiesGroupByOutputType[P]>;
}>>;
export type identitiesWhereInput = {
    AND?: Prisma.identitiesWhereInput | Prisma.identitiesWhereInput[];
    OR?: Prisma.identitiesWhereInput[];
    NOT?: Prisma.identitiesWhereInput | Prisma.identitiesWhereInput[];
    provider_id?: Prisma.StringFilter<"identities"> | string;
    user_id?: Prisma.UuidFilter<"identities"> | string;
    identity_data?: Prisma.JsonFilter<"identities">;
    provider?: Prisma.StringFilter<"identities"> | string;
    last_sign_in_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    email?: Prisma.StringNullableFilter<"identities"> | string | null;
    id?: Prisma.UuidFilter<"identities"> | string;
    users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
};
export type identitiesOrderByWithRelationInput = {
    provider_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    identity_data?: Prisma.SortOrder;
    provider?: Prisma.SortOrder;
    last_sign_in_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    email?: Prisma.SortOrderInput | Prisma.SortOrder;
    id?: Prisma.SortOrder;
    users?: Prisma.usersOrderByWithRelationInput;
};
export type identitiesWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    provider_id_provider?: Prisma.identitiesProvider_idProviderCompoundUniqueInput;
    AND?: Prisma.identitiesWhereInput | Prisma.identitiesWhereInput[];
    OR?: Prisma.identitiesWhereInput[];
    NOT?: Prisma.identitiesWhereInput | Prisma.identitiesWhereInput[];
    provider_id?: Prisma.StringFilter<"identities"> | string;
    user_id?: Prisma.UuidFilter<"identities"> | string;
    identity_data?: Prisma.JsonFilter<"identities">;
    provider?: Prisma.StringFilter<"identities"> | string;
    last_sign_in_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    email?: Prisma.StringNullableFilter<"identities"> | string | null;
    users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>;
}, "id" | "provider_id_provider">;
export type identitiesOrderByWithAggregationInput = {
    provider_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    identity_data?: Prisma.SortOrder;
    provider?: Prisma.SortOrder;
    last_sign_in_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    email?: Prisma.SortOrderInput | Prisma.SortOrder;
    id?: Prisma.SortOrder;
    _count?: Prisma.identitiesCountOrderByAggregateInput;
    _max?: Prisma.identitiesMaxOrderByAggregateInput;
    _min?: Prisma.identitiesMinOrderByAggregateInput;
};
export type identitiesScalarWhereWithAggregatesInput = {
    AND?: Prisma.identitiesScalarWhereWithAggregatesInput | Prisma.identitiesScalarWhereWithAggregatesInput[];
    OR?: Prisma.identitiesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.identitiesScalarWhereWithAggregatesInput | Prisma.identitiesScalarWhereWithAggregatesInput[];
    provider_id?: Prisma.StringWithAggregatesFilter<"identities"> | string;
    user_id?: Prisma.UuidWithAggregatesFilter<"identities"> | string;
    identity_data?: Prisma.JsonWithAggregatesFilter<"identities">;
    provider?: Prisma.StringWithAggregatesFilter<"identities"> | string;
    last_sign_in_at?: Prisma.DateTimeNullableWithAggregatesFilter<"identities"> | Date | string | null;
    created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"identities"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"identities"> | Date | string | null;
    email?: Prisma.StringNullableWithAggregatesFilter<"identities"> | string | null;
    id?: Prisma.UuidWithAggregatesFilter<"identities"> | string;
};
export type identitiesCreateInput = {
    provider_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
    users: Prisma.usersCreateNestedOneWithoutIdentitiesInput;
};
export type identitiesUncheckedCreateInput = {
    provider_id: string;
    user_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
};
export type identitiesUpdateInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    users?: Prisma.usersUpdateOneRequiredWithoutIdentitiesNestedInput;
};
export type identitiesUncheckedUpdateInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesCreateManyInput = {
    provider_id: string;
    user_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
};
export type identitiesUpdateManyMutationInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesUncheckedUpdateManyInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    user_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesProvider_idProviderCompoundUniqueInput = {
    provider_id: string;
    provider: string;
};
export type identitiesCountOrderByAggregateInput = {
    provider_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    identity_data?: Prisma.SortOrder;
    provider?: Prisma.SortOrder;
    last_sign_in_at?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    email?: Prisma.SortOrder;
    id?: Prisma.SortOrder;
};
export type identitiesMaxOrderByAggregateInput = {
    provider_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    provider?: Prisma.SortOrder;
    last_sign_in_at?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    email?: Prisma.SortOrder;
    id?: Prisma.SortOrder;
};
export type identitiesMinOrderByAggregateInput = {
    provider_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
    provider?: Prisma.SortOrder;
    last_sign_in_at?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    email?: Prisma.SortOrder;
    id?: Prisma.SortOrder;
};
export type IdentitiesListRelationFilter = {
    every?: Prisma.identitiesWhereInput;
    some?: Prisma.identitiesWhereInput;
    none?: Prisma.identitiesWhereInput;
};
export type identitiesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type identitiesCreateNestedManyWithoutUsersInput = {
    create?: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput> | Prisma.identitiesCreateWithoutUsersInput[] | Prisma.identitiesUncheckedCreateWithoutUsersInput[];
    connectOrCreate?: Prisma.identitiesCreateOrConnectWithoutUsersInput | Prisma.identitiesCreateOrConnectWithoutUsersInput[];
    createMany?: Prisma.identitiesCreateManyUsersInputEnvelope;
    connect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
};
export type identitiesUncheckedCreateNestedManyWithoutUsersInput = {
    create?: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput> | Prisma.identitiesCreateWithoutUsersInput[] | Prisma.identitiesUncheckedCreateWithoutUsersInput[];
    connectOrCreate?: Prisma.identitiesCreateOrConnectWithoutUsersInput | Prisma.identitiesCreateOrConnectWithoutUsersInput[];
    createMany?: Prisma.identitiesCreateManyUsersInputEnvelope;
    connect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
};
export type identitiesUpdateManyWithoutUsersNestedInput = {
    create?: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput> | Prisma.identitiesCreateWithoutUsersInput[] | Prisma.identitiesUncheckedCreateWithoutUsersInput[];
    connectOrCreate?: Prisma.identitiesCreateOrConnectWithoutUsersInput | Prisma.identitiesCreateOrConnectWithoutUsersInput[];
    upsert?: Prisma.identitiesUpsertWithWhereUniqueWithoutUsersInput | Prisma.identitiesUpsertWithWhereUniqueWithoutUsersInput[];
    createMany?: Prisma.identitiesCreateManyUsersInputEnvelope;
    set?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    disconnect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    delete?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    connect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    update?: Prisma.identitiesUpdateWithWhereUniqueWithoutUsersInput | Prisma.identitiesUpdateWithWhereUniqueWithoutUsersInput[];
    updateMany?: Prisma.identitiesUpdateManyWithWhereWithoutUsersInput | Prisma.identitiesUpdateManyWithWhereWithoutUsersInput[];
    deleteMany?: Prisma.identitiesScalarWhereInput | Prisma.identitiesScalarWhereInput[];
};
export type identitiesUncheckedUpdateManyWithoutUsersNestedInput = {
    create?: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput> | Prisma.identitiesCreateWithoutUsersInput[] | Prisma.identitiesUncheckedCreateWithoutUsersInput[];
    connectOrCreate?: Prisma.identitiesCreateOrConnectWithoutUsersInput | Prisma.identitiesCreateOrConnectWithoutUsersInput[];
    upsert?: Prisma.identitiesUpsertWithWhereUniqueWithoutUsersInput | Prisma.identitiesUpsertWithWhereUniqueWithoutUsersInput[];
    createMany?: Prisma.identitiesCreateManyUsersInputEnvelope;
    set?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    disconnect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    delete?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    connect?: Prisma.identitiesWhereUniqueInput | Prisma.identitiesWhereUniqueInput[];
    update?: Prisma.identitiesUpdateWithWhereUniqueWithoutUsersInput | Prisma.identitiesUpdateWithWhereUniqueWithoutUsersInput[];
    updateMany?: Prisma.identitiesUpdateManyWithWhereWithoutUsersInput | Prisma.identitiesUpdateManyWithWhereWithoutUsersInput[];
    deleteMany?: Prisma.identitiesScalarWhereInput | Prisma.identitiesScalarWhereInput[];
};
export type identitiesCreateWithoutUsersInput = {
    provider_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
};
export type identitiesUncheckedCreateWithoutUsersInput = {
    provider_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
};
export type identitiesCreateOrConnectWithoutUsersInput = {
    where: Prisma.identitiesWhereUniqueInput;
    create: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput>;
};
export type identitiesCreateManyUsersInputEnvelope = {
    data: Prisma.identitiesCreateManyUsersInput | Prisma.identitiesCreateManyUsersInput[];
    skipDuplicates?: boolean;
};
export type identitiesUpsertWithWhereUniqueWithoutUsersInput = {
    where: Prisma.identitiesWhereUniqueInput;
    update: Prisma.XOR<Prisma.identitiesUpdateWithoutUsersInput, Prisma.identitiesUncheckedUpdateWithoutUsersInput>;
    create: Prisma.XOR<Prisma.identitiesCreateWithoutUsersInput, Prisma.identitiesUncheckedCreateWithoutUsersInput>;
};
export type identitiesUpdateWithWhereUniqueWithoutUsersInput = {
    where: Prisma.identitiesWhereUniqueInput;
    data: Prisma.XOR<Prisma.identitiesUpdateWithoutUsersInput, Prisma.identitiesUncheckedUpdateWithoutUsersInput>;
};
export type identitiesUpdateManyWithWhereWithoutUsersInput = {
    where: Prisma.identitiesScalarWhereInput;
    data: Prisma.XOR<Prisma.identitiesUpdateManyMutationInput, Prisma.identitiesUncheckedUpdateManyWithoutUsersInput>;
};
export type identitiesScalarWhereInput = {
    AND?: Prisma.identitiesScalarWhereInput | Prisma.identitiesScalarWhereInput[];
    OR?: Prisma.identitiesScalarWhereInput[];
    NOT?: Prisma.identitiesScalarWhereInput | Prisma.identitiesScalarWhereInput[];
    provider_id?: Prisma.StringFilter<"identities"> | string;
    user_id?: Prisma.UuidFilter<"identities"> | string;
    identity_data?: Prisma.JsonFilter<"identities">;
    provider?: Prisma.StringFilter<"identities"> | string;
    last_sign_in_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"identities"> | Date | string | null;
    email?: Prisma.StringNullableFilter<"identities"> | string | null;
    id?: Prisma.UuidFilter<"identities"> | string;
};
export type identitiesCreateManyUsersInput = {
    provider_id: string;
    identity_data: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider: string;
    last_sign_in_at?: Date | string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
    email?: string | null;
    id?: string;
};
export type identitiesUpdateWithoutUsersInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesUncheckedUpdateWithoutUsersInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesUncheckedUpdateManyWithoutUsersInput = {
    provider_id?: Prisma.StringFieldUpdateOperationsInput | string;
    identity_data?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
    provider?: Prisma.StringFieldUpdateOperationsInput | string;
    last_sign_in_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    id?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type identitiesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    provider_id?: boolean;
    user_id?: boolean;
    identity_data?: boolean;
    provider?: boolean;
    last_sign_in_at?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    email?: boolean;
    id?: boolean;
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["identities"]>;
export type identitiesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    provider_id?: boolean;
    user_id?: boolean;
    identity_data?: boolean;
    provider?: boolean;
    last_sign_in_at?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    email?: boolean;
    id?: boolean;
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["identities"]>;
export type identitiesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    provider_id?: boolean;
    user_id?: boolean;
    identity_data?: boolean;
    provider?: boolean;
    last_sign_in_at?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    email?: boolean;
    id?: boolean;
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["identities"]>;
export type identitiesSelectScalar = {
    provider_id?: boolean;
    user_id?: boolean;
    identity_data?: boolean;
    provider?: boolean;
    last_sign_in_at?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
    email?: boolean;
    id?: boolean;
};
export type identitiesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"provider_id" | "user_id" | "identity_data" | "provider" | "last_sign_in_at" | "created_at" | "updated_at" | "email" | "id", ExtArgs["result"]["identities"]>;
export type identitiesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
};
export type identitiesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
};
export type identitiesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    users?: boolean | Prisma.usersDefaultArgs<ExtArgs>;
};
export type $identitiesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "identities";
    objects: {
        users: Prisma.$usersPayload<ExtArgs>;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        provider_id: string;
        user_id: string;
        identity_data: runtime.JsonValue;
        provider: string;
        last_sign_in_at: Date | null;
        created_at: Date | null;
        updated_at: Date | null;
        email: string | null;
        id: string;
    }, ExtArgs["result"]["identities"]>;
    composites: {};
};
export type identitiesGetPayload<S extends boolean | null | undefined | identitiesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$identitiesPayload, S>;
export type identitiesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<identitiesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: IdentitiesCountAggregateInputType | true;
};
export interface identitiesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['identities'];
        meta: {
            name: 'identities';
        };
    };
    /**
     * Find zero or one Identities that matches the filter.
     * @param {identitiesFindUniqueArgs} args - Arguments to find a Identities
     * @example
     * // Get one Identities
     * const identities = await prisma.identities.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends identitiesFindUniqueArgs>(args: Prisma.SelectSubset<T, identitiesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Identities that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {identitiesFindUniqueOrThrowArgs} args - Arguments to find a Identities
     * @example
     * // Get one Identities
     * const identities = await prisma.identities.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends identitiesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, identitiesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Identities 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 {identitiesFindFirstArgs} args - Arguments to find a Identities
     * @example
     * // Get one Identities
     * const identities = await prisma.identities.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends identitiesFindFirstArgs>(args?: Prisma.SelectSubset<T, identitiesFindFirstArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Identities 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 {identitiesFindFirstOrThrowArgs} args - Arguments to find a Identities
     * @example
     * // Get one Identities
     * const identities = await prisma.identities.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends identitiesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, identitiesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Identities 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 {identitiesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Identities
     * const identities = await prisma.identities.findMany()
     *
     * // Get first 10 Identities
     * const identities = await prisma.identities.findMany({ take: 10 })
     *
     * // Only select the `provider_id`
     * const identitiesWithProvider_idOnly = await prisma.identities.findMany({ select: { provider_id: true } })
     *
     */
    findMany<T extends identitiesFindManyArgs>(args?: Prisma.SelectSubset<T, identitiesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Identities.
     * @param {identitiesCreateArgs} args - Arguments to create a Identities.
     * @example
     * // Create one Identities
     * const Identities = await prisma.identities.create({
     *   data: {
     *     // ... data to create a Identities
     *   }
     * })
     *
     */
    create<T extends identitiesCreateArgs>(args: Prisma.SelectSubset<T, identitiesCreateArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Identities.
     * @param {identitiesCreateManyArgs} args - Arguments to create many Identities.
     * @example
     * // Create many Identities
     * const identities = await prisma.identities.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends identitiesCreateManyArgs>(args?: Prisma.SelectSubset<T, identitiesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Identities and returns the data saved in the database.
     * @param {identitiesCreateManyAndReturnArgs} args - Arguments to create many Identities.
     * @example
     * // Create many Identities
     * const identities = await prisma.identities.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Identities and only return the `provider_id`
     * const identitiesWithProvider_idOnly = await prisma.identities.createManyAndReturn({
     *   select: { provider_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 identitiesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, identitiesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Identities.
     * @param {identitiesDeleteArgs} args - Arguments to delete one Identities.
     * @example
     * // Delete one Identities
     * const Identities = await prisma.identities.delete({
     *   where: {
     *     // ... filter to delete one Identities
     *   }
     * })
     *
     */
    delete<T extends identitiesDeleteArgs>(args: Prisma.SelectSubset<T, identitiesDeleteArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Identities.
     * @param {identitiesUpdateArgs} args - Arguments to update one Identities.
     * @example
     * // Update one Identities
     * const identities = await prisma.identities.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends identitiesUpdateArgs>(args: Prisma.SelectSubset<T, identitiesUpdateArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Identities.
     * @param {identitiesDeleteManyArgs} args - Arguments to filter Identities to delete.
     * @example
     * // Delete a few Identities
     * const { count } = await prisma.identities.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends identitiesDeleteManyArgs>(args?: Prisma.SelectSubset<T, identitiesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Identities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {identitiesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Identities
     * const identities = await prisma.identities.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends identitiesUpdateManyArgs>(args: Prisma.SelectSubset<T, identitiesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Identities and returns the data updated in the database.
     * @param {identitiesUpdateManyAndReturnArgs} args - Arguments to update many Identities.
     * @example
     * // Update many Identities
     * const identities = await prisma.identities.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Identities and only return the `provider_id`
     * const identitiesWithProvider_idOnly = await prisma.identities.updateManyAndReturn({
     *   select: { provider_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 identitiesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, identitiesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Identities.
     * @param {identitiesUpsertArgs} args - Arguments to update or create a Identities.
     * @example
     * // Update or create a Identities
     * const identities = await prisma.identities.upsert({
     *   create: {
     *     // ... data to create a Identities
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Identities we want to update
     *   }
     * })
     */
    upsert<T extends identitiesUpsertArgs>(args: Prisma.SelectSubset<T, identitiesUpsertArgs<ExtArgs>>): Prisma.Prisma__identitiesClient<runtime.Types.Result.GetResult<Prisma.$identitiesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Identities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {identitiesCountArgs} args - Arguments to filter Identities to count.
     * @example
     * // Count the number of Identities
     * const count = await prisma.identities.count({
     *   where: {
     *     // ... the filter for the Identities we want to count
     *   }
     * })
    **/
    count<T extends identitiesCountArgs>(args?: Prisma.Subset<T, identitiesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], IdentitiesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Identities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {IdentitiesAggregateArgs} 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 IdentitiesAggregateArgs>(args: Prisma.Subset<T, IdentitiesAggregateArgs>): Prisma.PrismaPromise<GetIdentitiesAggregateType<T>>;
    /**
     * Group by Identities.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {identitiesGroupByArgs} 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 identitiesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: identitiesGroupByArgs['orderBy'];
    } : {
        orderBy?: identitiesGroupByArgs['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, identitiesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIdentitiesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the identities model
     */
    readonly fields: identitiesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for identities.
 * 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__identitiesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    users<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<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 identities model
 */
export interface identitiesFieldRefs {
    readonly provider_id: Prisma.FieldRef<"identities", 'String'>;
    readonly user_id: Prisma.FieldRef<"identities", 'String'>;
    readonly identity_data: Prisma.FieldRef<"identities", 'Json'>;
    readonly provider: Prisma.FieldRef<"identities", 'String'>;
    readonly last_sign_in_at: Prisma.FieldRef<"identities", 'DateTime'>;
    readonly created_at: Prisma.FieldRef<"identities", 'DateTime'>;
    readonly updated_at: Prisma.FieldRef<"identities", 'DateTime'>;
    readonly email: Prisma.FieldRef<"identities", 'String'>;
    readonly id: Prisma.FieldRef<"identities", 'String'>;
}
/**
 * identities findUnique
 */
export type identitiesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter, which identities to fetch.
     */
    where: Prisma.identitiesWhereUniqueInput;
};
/**
 * identities findUniqueOrThrow
 */
export type identitiesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter, which identities to fetch.
     */
    where: Prisma.identitiesWhereUniqueInput;
};
/**
 * identities findFirst
 */
export type identitiesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter, which identities to fetch.
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of identities to fetch.
     */
    orderBy?: Prisma.identitiesOrderByWithRelationInput | Prisma.identitiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for identities.
     */
    cursor?: Prisma.identitiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` identities 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` identities.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of identities.
     */
    distinct?: Prisma.IdentitiesScalarFieldEnum | Prisma.IdentitiesScalarFieldEnum[];
};
/**
 * identities findFirstOrThrow
 */
export type identitiesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter, which identities to fetch.
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of identities to fetch.
     */
    orderBy?: Prisma.identitiesOrderByWithRelationInput | Prisma.identitiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for identities.
     */
    cursor?: Prisma.identitiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` identities 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` identities.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of identities.
     */
    distinct?: Prisma.IdentitiesScalarFieldEnum | Prisma.IdentitiesScalarFieldEnum[];
};
/**
 * identities findMany
 */
export type identitiesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter, which identities to fetch.
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of identities to fetch.
     */
    orderBy?: Prisma.identitiesOrderByWithRelationInput | Prisma.identitiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing identities.
     */
    cursor?: Prisma.identitiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` identities 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` identities.
     */
    skip?: number;
    distinct?: Prisma.IdentitiesScalarFieldEnum | Prisma.IdentitiesScalarFieldEnum[];
};
/**
 * identities create
 */
export type identitiesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * The data needed to create a identities.
     */
    data: Prisma.XOR<Prisma.identitiesCreateInput, Prisma.identitiesUncheckedCreateInput>;
};
/**
 * identities createMany
 */
export type identitiesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many identities.
     */
    data: Prisma.identitiesCreateManyInput | Prisma.identitiesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * identities createManyAndReturn
 */
export type identitiesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * The data used to create many identities.
     */
    data: Prisma.identitiesCreateManyInput | Prisma.identitiesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * identities update
 */
export type identitiesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * The data needed to update a identities.
     */
    data: Prisma.XOR<Prisma.identitiesUpdateInput, Prisma.identitiesUncheckedUpdateInput>;
    /**
     * Choose, which identities to update.
     */
    where: Prisma.identitiesWhereUniqueInput;
};
/**
 * identities updateMany
 */
export type identitiesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update identities.
     */
    data: Prisma.XOR<Prisma.identitiesUpdateManyMutationInput, Prisma.identitiesUncheckedUpdateManyInput>;
    /**
     * Filter which identities to update
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * Limit how many identities to update.
     */
    limit?: number;
};
/**
 * identities updateManyAndReturn
 */
export type identitiesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * The data used to update identities.
     */
    data: Prisma.XOR<Prisma.identitiesUpdateManyMutationInput, Prisma.identitiesUncheckedUpdateManyInput>;
    /**
     * Filter which identities to update
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * Limit how many identities to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * identities upsert
 */
export type identitiesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * The filter to search for the identities to update in case it exists.
     */
    where: Prisma.identitiesWhereUniqueInput;
    /**
     * In case the identities found by the `where` argument doesn't exist, create a new identities with this data.
     */
    create: Prisma.XOR<Prisma.identitiesCreateInput, Prisma.identitiesUncheckedCreateInput>;
    /**
     * In case the identities was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.identitiesUpdateInput, Prisma.identitiesUncheckedUpdateInput>;
};
/**
 * identities delete
 */
export type identitiesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
    /**
     * Filter which identities to delete.
     */
    where: Prisma.identitiesWhereUniqueInput;
};
/**
 * identities deleteMany
 */
export type identitiesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which identities to delete
     */
    where?: Prisma.identitiesWhereInput;
    /**
     * Limit how many identities to delete.
     */
    limit?: number;
};
/**
 * identities without action
 */
export type identitiesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the identities
     */
    select?: Prisma.identitiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the identities
     */
    omit?: Prisma.identitiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.identitiesInclude<ExtArgs> | null;
};
export {};
