import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model directus_sessions
 * 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 directus_sessionsModel = runtime.Types.Result.DefaultSelection<Prisma.$directus_sessionsPayload>;
export type AggregateDirectus_sessions = {
    _count: Directus_sessionsCountAggregateOutputType | null;
    _min: Directus_sessionsMinAggregateOutputType | null;
    _max: Directus_sessionsMaxAggregateOutputType | null;
};
export type Directus_sessionsMinAggregateOutputType = {
    token: string | null;
    user: string | null;
    expires: Date | null;
    ip: string | null;
    user_agent: string | null;
    share: string | null;
    origin: string | null;
    next_token: string | null;
};
export type Directus_sessionsMaxAggregateOutputType = {
    token: string | null;
    user: string | null;
    expires: Date | null;
    ip: string | null;
    user_agent: string | null;
    share: string | null;
    origin: string | null;
    next_token: string | null;
};
export type Directus_sessionsCountAggregateOutputType = {
    token: number;
    user: number;
    expires: number;
    ip: number;
    user_agent: number;
    share: number;
    origin: number;
    next_token: number;
    _all: number;
};
export type Directus_sessionsMinAggregateInputType = {
    token?: true;
    user?: true;
    expires?: true;
    ip?: true;
    user_agent?: true;
    share?: true;
    origin?: true;
    next_token?: true;
};
export type Directus_sessionsMaxAggregateInputType = {
    token?: true;
    user?: true;
    expires?: true;
    ip?: true;
    user_agent?: true;
    share?: true;
    origin?: true;
    next_token?: true;
};
export type Directus_sessionsCountAggregateInputType = {
    token?: true;
    user?: true;
    expires?: true;
    ip?: true;
    user_agent?: true;
    share?: true;
    origin?: true;
    next_token?: true;
    _all?: true;
};
export type Directus_sessionsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_sessions to aggregate.
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_sessions to fetch.
     */
    orderBy?: Prisma.directus_sessionsOrderByWithRelationInput | Prisma.directus_sessionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.directus_sessionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_sessions 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` directus_sessions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned directus_sessions
    **/
    _count?: true | Directus_sessionsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Directus_sessionsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Directus_sessionsMaxAggregateInputType;
};
export type GetDirectus_sessionsAggregateType<T extends Directus_sessionsAggregateArgs> = {
    [P in keyof T & keyof AggregateDirectus_sessions]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDirectus_sessions[P]> : Prisma.GetScalarType<T[P], AggregateDirectus_sessions[P]>;
};
export type directus_sessionsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_sessionsWhereInput;
    orderBy?: Prisma.directus_sessionsOrderByWithAggregationInput | Prisma.directus_sessionsOrderByWithAggregationInput[];
    by: Prisma.Directus_sessionsScalarFieldEnum[] | Prisma.Directus_sessionsScalarFieldEnum;
    having?: Prisma.directus_sessionsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Directus_sessionsCountAggregateInputType | true;
    _min?: Directus_sessionsMinAggregateInputType;
    _max?: Directus_sessionsMaxAggregateInputType;
};
export type Directus_sessionsGroupByOutputType = {
    token: string;
    user: string | null;
    expires: Date;
    ip: string | null;
    user_agent: string | null;
    share: string | null;
    origin: string | null;
    next_token: string | null;
    _count: Directus_sessionsCountAggregateOutputType | null;
    _min: Directus_sessionsMinAggregateOutputType | null;
    _max: Directus_sessionsMaxAggregateOutputType | null;
};
type GetDirectus_sessionsGroupByPayload<T extends directus_sessionsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Directus_sessionsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Directus_sessionsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Directus_sessionsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Directus_sessionsGroupByOutputType[P]>;
}>>;
export type directus_sessionsWhereInput = {
    AND?: Prisma.directus_sessionsWhereInput | Prisma.directus_sessionsWhereInput[];
    OR?: Prisma.directus_sessionsWhereInput[];
    NOT?: Prisma.directus_sessionsWhereInput | Prisma.directus_sessionsWhereInput[];
    token?: Prisma.StringFilter<"directus_sessions"> | string;
    user?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    expires?: Prisma.DateTimeFilter<"directus_sessions"> | Date | string;
    ip?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    user_agent?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    share?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    origin?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    next_token?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    directus_shares?: Prisma.XOR<Prisma.Directus_sharesNullableScalarRelationFilter, Prisma.directus_sharesWhereInput> | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
};
export type directus_sessionsOrderByWithRelationInput = {
    token?: Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    expires?: Prisma.SortOrder;
    ip?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_agent?: Prisma.SortOrderInput | Prisma.SortOrder;
    share?: Prisma.SortOrderInput | Prisma.SortOrder;
    origin?: Prisma.SortOrderInput | Prisma.SortOrder;
    next_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_shares?: Prisma.directus_sharesOrderByWithRelationInput;
    directus_users?: Prisma.directus_usersOrderByWithRelationInput;
};
export type directus_sessionsWhereUniqueInput = Prisma.AtLeast<{
    token?: string;
    AND?: Prisma.directus_sessionsWhereInput | Prisma.directus_sessionsWhereInput[];
    OR?: Prisma.directus_sessionsWhereInput[];
    NOT?: Prisma.directus_sessionsWhereInput | Prisma.directus_sessionsWhereInput[];
    user?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    expires?: Prisma.DateTimeFilter<"directus_sessions"> | Date | string;
    ip?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    user_agent?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    share?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    origin?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    next_token?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    directus_shares?: Prisma.XOR<Prisma.Directus_sharesNullableScalarRelationFilter, Prisma.directus_sharesWhereInput> | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
}, "token">;
export type directus_sessionsOrderByWithAggregationInput = {
    token?: Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    expires?: Prisma.SortOrder;
    ip?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_agent?: Prisma.SortOrderInput | Prisma.SortOrder;
    share?: Prisma.SortOrderInput | Prisma.SortOrder;
    origin?: Prisma.SortOrderInput | Prisma.SortOrder;
    next_token?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.directus_sessionsCountOrderByAggregateInput;
    _max?: Prisma.directus_sessionsMaxOrderByAggregateInput;
    _min?: Prisma.directus_sessionsMinOrderByAggregateInput;
};
export type directus_sessionsScalarWhereWithAggregatesInput = {
    AND?: Prisma.directus_sessionsScalarWhereWithAggregatesInput | Prisma.directus_sessionsScalarWhereWithAggregatesInput[];
    OR?: Prisma.directus_sessionsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.directus_sessionsScalarWhereWithAggregatesInput | Prisma.directus_sessionsScalarWhereWithAggregatesInput[];
    token?: Prisma.StringWithAggregatesFilter<"directus_sessions"> | string;
    user?: Prisma.UuidNullableWithAggregatesFilter<"directus_sessions"> | string | null;
    expires?: Prisma.DateTimeWithAggregatesFilter<"directus_sessions"> | Date | string;
    ip?: Prisma.StringNullableWithAggregatesFilter<"directus_sessions"> | string | null;
    user_agent?: Prisma.StringNullableWithAggregatesFilter<"directus_sessions"> | string | null;
    share?: Prisma.UuidNullableWithAggregatesFilter<"directus_sessions"> | string | null;
    origin?: Prisma.StringNullableWithAggregatesFilter<"directus_sessions"> | string | null;
    next_token?: Prisma.StringNullableWithAggregatesFilter<"directus_sessions"> | string | null;
};
export type directus_sessionsCreateInput = {
    token: string;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    origin?: string | null;
    next_token?: string | null;
    directus_shares?: Prisma.directus_sharesCreateNestedOneWithoutDirectus_sessionsInput;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutDirectus_sessionsInput;
};
export type directus_sessionsUncheckedCreateInput = {
    token: string;
    user?: string | null;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    share?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsUpdateInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    directus_shares?: Prisma.directus_sharesUpdateOneWithoutDirectus_sessionsNestedInput;
    directus_users?: Prisma.directus_usersUpdateOneWithoutDirectus_sessionsNestedInput;
};
export type directus_sessionsUncheckedUpdateInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    share?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsCreateManyInput = {
    token: string;
    user?: string | null;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    share?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsUpdateManyMutationInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsUncheckedUpdateManyInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    share?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsCountOrderByAggregateInput = {
    token?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    expires?: Prisma.SortOrder;
    ip?: Prisma.SortOrder;
    user_agent?: Prisma.SortOrder;
    share?: Prisma.SortOrder;
    origin?: Prisma.SortOrder;
    next_token?: Prisma.SortOrder;
};
export type directus_sessionsMaxOrderByAggregateInput = {
    token?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    expires?: Prisma.SortOrder;
    ip?: Prisma.SortOrder;
    user_agent?: Prisma.SortOrder;
    share?: Prisma.SortOrder;
    origin?: Prisma.SortOrder;
    next_token?: Prisma.SortOrder;
};
export type directus_sessionsMinOrderByAggregateInput = {
    token?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    expires?: Prisma.SortOrder;
    ip?: Prisma.SortOrder;
    user_agent?: Prisma.SortOrder;
    share?: Prisma.SortOrder;
    origin?: Prisma.SortOrder;
    next_token?: Prisma.SortOrder;
};
export type Directus_sessionsListRelationFilter = {
    every?: Prisma.directus_sessionsWhereInput;
    some?: Prisma.directus_sessionsWhereInput;
    none?: Prisma.directus_sessionsWhereInput;
};
export type directus_sessionsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type directus_sessionsCreateNestedManyWithoutDirectus_sharesInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput> | Prisma.directus_sessionsCreateWithoutDirectus_sharesInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_sharesInputEnvelope;
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
};
export type directus_sessionsUncheckedCreateNestedManyWithoutDirectus_sharesInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput> | Prisma.directus_sessionsCreateWithoutDirectus_sharesInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_sharesInputEnvelope;
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
};
export type directus_sessionsUpdateManyWithoutDirectus_sharesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput> | Prisma.directus_sessionsCreateWithoutDirectus_sharesInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput[];
    upsert?: Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_sharesInput | Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_sharesInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_sharesInputEnvelope;
    set?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    disconnect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    delete?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    update?: Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_sharesInput | Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_sharesInput[];
    updateMany?: Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_sharesInput | Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_sharesInput[];
    deleteMany?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
};
export type directus_sessionsUncheckedUpdateManyWithoutDirectus_sharesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput> | Prisma.directus_sessionsCreateWithoutDirectus_sharesInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_sharesInput[];
    upsert?: Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_sharesInput | Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_sharesInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_sharesInputEnvelope;
    set?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    disconnect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    delete?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    update?: Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_sharesInput | Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_sharesInput[];
    updateMany?: Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_sharesInput | Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_sharesInput[];
    deleteMany?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
};
export type directus_sessionsCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_sessionsCreateWithoutDirectus_usersInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
};
export type directus_sessionsUncheckedCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_sessionsCreateWithoutDirectus_usersInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
};
export type directus_sessionsUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_sessionsCreateWithoutDirectus_usersInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    disconnect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    delete?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    update?: Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
};
export type directus_sessionsUncheckedUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_sessionsCreateWithoutDirectus_usersInput[] | Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_sessionsCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_sessionsUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_sessionsCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    disconnect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    delete?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    connect?: Prisma.directus_sessionsWhereUniqueInput | Prisma.directus_sessionsWhereUniqueInput[];
    update?: Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_sessionsUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.directus_sessionsUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
};
export type directus_sessionsCreateWithoutDirectus_sharesInput = {
    token: string;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    origin?: string | null;
    next_token?: string | null;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutDirectus_sessionsInput;
};
export type directus_sessionsUncheckedCreateWithoutDirectus_sharesInput = {
    token: string;
    user?: string | null;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsCreateOrConnectWithoutDirectus_sharesInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput>;
};
export type directus_sessionsCreateManyDirectus_sharesInputEnvelope = {
    data: Prisma.directus_sessionsCreateManyDirectus_sharesInput | Prisma.directus_sessionsCreateManyDirectus_sharesInput[];
    skipDuplicates?: boolean;
};
export type directus_sessionsUpsertWithWhereUniqueWithoutDirectus_sharesInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    update: Prisma.XOR<Prisma.directus_sessionsUpdateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedUpdateWithoutDirectus_sharesInput>;
    create: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_sharesInput>;
};
export type directus_sessionsUpdateWithWhereUniqueWithoutDirectus_sharesInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    data: Prisma.XOR<Prisma.directus_sessionsUpdateWithoutDirectus_sharesInput, Prisma.directus_sessionsUncheckedUpdateWithoutDirectus_sharesInput>;
};
export type directus_sessionsUpdateManyWithWhereWithoutDirectus_sharesInput = {
    where: Prisma.directus_sessionsScalarWhereInput;
    data: Prisma.XOR<Prisma.directus_sessionsUpdateManyMutationInput, Prisma.directus_sessionsUncheckedUpdateManyWithoutDirectus_sharesInput>;
};
export type directus_sessionsScalarWhereInput = {
    AND?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
    OR?: Prisma.directus_sessionsScalarWhereInput[];
    NOT?: Prisma.directus_sessionsScalarWhereInput | Prisma.directus_sessionsScalarWhereInput[];
    token?: Prisma.StringFilter<"directus_sessions"> | string;
    user?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    expires?: Prisma.DateTimeFilter<"directus_sessions"> | Date | string;
    ip?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    user_agent?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    share?: Prisma.UuidNullableFilter<"directus_sessions"> | string | null;
    origin?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
    next_token?: Prisma.StringNullableFilter<"directus_sessions"> | string | null;
};
export type directus_sessionsCreateWithoutDirectus_usersInput = {
    token: string;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    origin?: string | null;
    next_token?: string | null;
    directus_shares?: Prisma.directus_sharesCreateNestedOneWithoutDirectus_sessionsInput;
};
export type directus_sessionsUncheckedCreateWithoutDirectus_usersInput = {
    token: string;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    share?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsCreateOrConnectWithoutDirectus_usersInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput>;
};
export type directus_sessionsCreateManyDirectus_usersInputEnvelope = {
    data: Prisma.directus_sessionsCreateManyDirectus_usersInput | Prisma.directus_sessionsCreateManyDirectus_usersInput[];
    skipDuplicates?: boolean;
};
export type directus_sessionsUpsertWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    update: Prisma.XOR<Prisma.directus_sessionsUpdateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedUpdateWithoutDirectus_usersInput>;
    create: Prisma.XOR<Prisma.directus_sessionsCreateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedCreateWithoutDirectus_usersInput>;
};
export type directus_sessionsUpdateWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.directus_sessionsWhereUniqueInput;
    data: Prisma.XOR<Prisma.directus_sessionsUpdateWithoutDirectus_usersInput, Prisma.directus_sessionsUncheckedUpdateWithoutDirectus_usersInput>;
};
export type directus_sessionsUpdateManyWithWhereWithoutDirectus_usersInput = {
    where: Prisma.directus_sessionsScalarWhereInput;
    data: Prisma.XOR<Prisma.directus_sessionsUpdateManyMutationInput, Prisma.directus_sessionsUncheckedUpdateManyWithoutDirectus_usersInput>;
};
export type directus_sessionsCreateManyDirectus_sharesInput = {
    token: string;
    user?: string | null;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsUpdateWithoutDirectus_sharesInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    directus_users?: Prisma.directus_usersUpdateOneWithoutDirectus_sessionsNestedInput;
};
export type directus_sessionsUncheckedUpdateWithoutDirectus_sharesInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsUncheckedUpdateManyWithoutDirectus_sharesInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsCreateManyDirectus_usersInput = {
    token: string;
    expires: Date | string;
    ip?: string | null;
    user_agent?: string | null;
    share?: string | null;
    origin?: string | null;
    next_token?: string | null;
};
export type directus_sessionsUpdateWithoutDirectus_usersInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    directus_shares?: Prisma.directus_sharesUpdateOneWithoutDirectus_sessionsNestedInput;
};
export type directus_sessionsUncheckedUpdateWithoutDirectus_usersInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    share?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsUncheckedUpdateManyWithoutDirectus_usersInput = {
    token?: Prisma.StringFieldUpdateOperationsInput | string;
    expires?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
    ip?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    share?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    origin?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    next_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type directus_sessionsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    token?: boolean;
    user?: boolean;
    expires?: boolean;
    ip?: boolean;
    user_agent?: boolean;
    share?: boolean;
    origin?: boolean;
    next_token?: boolean;
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_sessions"]>;
export type directus_sessionsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    token?: boolean;
    user?: boolean;
    expires?: boolean;
    ip?: boolean;
    user_agent?: boolean;
    share?: boolean;
    origin?: boolean;
    next_token?: boolean;
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_sessions"]>;
export type directus_sessionsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    token?: boolean;
    user?: boolean;
    expires?: boolean;
    ip?: boolean;
    user_agent?: boolean;
    share?: boolean;
    origin?: boolean;
    next_token?: boolean;
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_sessions"]>;
export type directus_sessionsSelectScalar = {
    token?: boolean;
    user?: boolean;
    expires?: boolean;
    ip?: boolean;
    user_agent?: boolean;
    share?: boolean;
    origin?: boolean;
    next_token?: boolean;
};
export type directus_sessionsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"token" | "user" | "expires" | "ip" | "user_agent" | "share" | "origin" | "next_token", ExtArgs["result"]["directus_sessions"]>;
export type directus_sessionsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
};
export type directus_sessionsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
};
export type directus_sessionsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_shares?: boolean | Prisma.directus_sessions$directus_sharesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_sessions$directus_usersArgs<ExtArgs>;
};
export type $directus_sessionsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "directus_sessions";
    objects: {
        directus_shares: Prisma.$directus_sharesPayload<ExtArgs> | null;
        directus_users: Prisma.$directus_usersPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        token: string;
        user: string | null;
        expires: Date;
        ip: string | null;
        user_agent: string | null;
        share: string | null;
        origin: string | null;
        next_token: string | null;
    }, ExtArgs["result"]["directus_sessions"]>;
    composites: {};
};
export type directus_sessionsGetPayload<S extends boolean | null | undefined | directus_sessionsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload, S>;
export type directus_sessionsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<directus_sessionsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Directus_sessionsCountAggregateInputType | true;
};
export interface directus_sessionsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['directus_sessions'];
        meta: {
            name: 'directus_sessions';
        };
    };
    /**
     * Find zero or one Directus_sessions that matches the filter.
     * @param {directus_sessionsFindUniqueArgs} args - Arguments to find a Directus_sessions
     * @example
     * // Get one Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends directus_sessionsFindUniqueArgs>(args: Prisma.SelectSubset<T, directus_sessionsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Directus_sessions that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {directus_sessionsFindUniqueOrThrowArgs} args - Arguments to find a Directus_sessions
     * @example
     * // Get one Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends directus_sessionsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, directus_sessionsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_sessions 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 {directus_sessionsFindFirstArgs} args - Arguments to find a Directus_sessions
     * @example
     * // Get one Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends directus_sessionsFindFirstArgs>(args?: Prisma.SelectSubset<T, directus_sessionsFindFirstArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_sessions 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 {directus_sessionsFindFirstOrThrowArgs} args - Arguments to find a Directus_sessions
     * @example
     * // Get one Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends directus_sessionsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, directus_sessionsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Directus_sessions 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 {directus_sessionsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findMany()
     *
     * // Get first 10 Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.findMany({ take: 10 })
     *
     * // Only select the `token`
     * const directus_sessionsWithTokenOnly = await prisma.directus_sessions.findMany({ select: { token: true } })
     *
     */
    findMany<T extends directus_sessionsFindManyArgs>(args?: Prisma.SelectSubset<T, directus_sessionsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Directus_sessions.
     * @param {directus_sessionsCreateArgs} args - Arguments to create a Directus_sessions.
     * @example
     * // Create one Directus_sessions
     * const Directus_sessions = await prisma.directus_sessions.create({
     *   data: {
     *     // ... data to create a Directus_sessions
     *   }
     * })
     *
     */
    create<T extends directus_sessionsCreateArgs>(args: Prisma.SelectSubset<T, directus_sessionsCreateArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Directus_sessions.
     * @param {directus_sessionsCreateManyArgs} args - Arguments to create many Directus_sessions.
     * @example
     * // Create many Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends directus_sessionsCreateManyArgs>(args?: Prisma.SelectSubset<T, directus_sessionsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Directus_sessions and returns the data saved in the database.
     * @param {directus_sessionsCreateManyAndReturnArgs} args - Arguments to create many Directus_sessions.
     * @example
     * // Create many Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Directus_sessions and only return the `token`
     * const directus_sessionsWithTokenOnly = await prisma.directus_sessions.createManyAndReturn({
     *   select: { token: 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 directus_sessionsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, directus_sessionsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Directus_sessions.
     * @param {directus_sessionsDeleteArgs} args - Arguments to delete one Directus_sessions.
     * @example
     * // Delete one Directus_sessions
     * const Directus_sessions = await prisma.directus_sessions.delete({
     *   where: {
     *     // ... filter to delete one Directus_sessions
     *   }
     * })
     *
     */
    delete<T extends directus_sessionsDeleteArgs>(args: Prisma.SelectSubset<T, directus_sessionsDeleteArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Directus_sessions.
     * @param {directus_sessionsUpdateArgs} args - Arguments to update one Directus_sessions.
     * @example
     * // Update one Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends directus_sessionsUpdateArgs>(args: Prisma.SelectSubset<T, directus_sessionsUpdateArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Directus_sessions.
     * @param {directus_sessionsDeleteManyArgs} args - Arguments to filter Directus_sessions to delete.
     * @example
     * // Delete a few Directus_sessions
     * const { count } = await prisma.directus_sessions.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends directus_sessionsDeleteManyArgs>(args?: Prisma.SelectSubset<T, directus_sessionsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_sessions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_sessionsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends directus_sessionsUpdateManyArgs>(args: Prisma.SelectSubset<T, directus_sessionsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_sessions and returns the data updated in the database.
     * @param {directus_sessionsUpdateManyAndReturnArgs} args - Arguments to update many Directus_sessions.
     * @example
     * // Update many Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Directus_sessions and only return the `token`
     * const directus_sessionsWithTokenOnly = await prisma.directus_sessions.updateManyAndReturn({
     *   select: { token: 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 directus_sessionsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, directus_sessionsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Directus_sessions.
     * @param {directus_sessionsUpsertArgs} args - Arguments to update or create a Directus_sessions.
     * @example
     * // Update or create a Directus_sessions
     * const directus_sessions = await prisma.directus_sessions.upsert({
     *   create: {
     *     // ... data to create a Directus_sessions
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Directus_sessions we want to update
     *   }
     * })
     */
    upsert<T extends directus_sessionsUpsertArgs>(args: Prisma.SelectSubset<T, directus_sessionsUpsertArgs<ExtArgs>>): Prisma.Prisma__directus_sessionsClient<runtime.Types.Result.GetResult<Prisma.$directus_sessionsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Directus_sessions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_sessionsCountArgs} args - Arguments to filter Directus_sessions to count.
     * @example
     * // Count the number of Directus_sessions
     * const count = await prisma.directus_sessions.count({
     *   where: {
     *     // ... the filter for the Directus_sessions we want to count
     *   }
     * })
    **/
    count<T extends directus_sessionsCountArgs>(args?: Prisma.Subset<T, directus_sessionsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Directus_sessionsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Directus_sessions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Directus_sessionsAggregateArgs} 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 Directus_sessionsAggregateArgs>(args: Prisma.Subset<T, Directus_sessionsAggregateArgs>): Prisma.PrismaPromise<GetDirectus_sessionsAggregateType<T>>;
    /**
     * Group by Directus_sessions.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_sessionsGroupByArgs} 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 directus_sessionsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: directus_sessionsGroupByArgs['orderBy'];
    } : {
        orderBy?: directus_sessionsGroupByArgs['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, directus_sessionsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectus_sessionsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the directus_sessions model
     */
    readonly fields: directus_sessionsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for directus_sessions.
 * 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__directus_sessionsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_shares<T extends Prisma.directus_sessions$directus_sharesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_sessions$directus_sharesArgs<ExtArgs>>): Prisma.Prisma__directus_sharesClient<runtime.Types.Result.GetResult<Prisma.$directus_sharesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    directus_users<T extends Prisma.directus_sessions$directus_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_sessions$directus_usersArgs<ExtArgs>>): Prisma.Prisma__directus_usersClient<runtime.Types.Result.GetResult<Prisma.$directus_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 directus_sessions model
 */
export interface directus_sessionsFieldRefs {
    readonly token: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly user: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly expires: Prisma.FieldRef<"directus_sessions", 'DateTime'>;
    readonly ip: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly user_agent: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly share: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly origin: Prisma.FieldRef<"directus_sessions", 'String'>;
    readonly next_token: Prisma.FieldRef<"directus_sessions", 'String'>;
}
/**
 * directus_sessions findUnique
 */
export type directus_sessionsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter, which directus_sessions to fetch.
     */
    where: Prisma.directus_sessionsWhereUniqueInput;
};
/**
 * directus_sessions findUniqueOrThrow
 */
export type directus_sessionsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter, which directus_sessions to fetch.
     */
    where: Prisma.directus_sessionsWhereUniqueInput;
};
/**
 * directus_sessions findFirst
 */
export type directus_sessionsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter, which directus_sessions to fetch.
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_sessions to fetch.
     */
    orderBy?: Prisma.directus_sessionsOrderByWithRelationInput | Prisma.directus_sessionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_sessions.
     */
    cursor?: Prisma.directus_sessionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_sessions 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` directus_sessions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_sessions.
     */
    distinct?: Prisma.Directus_sessionsScalarFieldEnum | Prisma.Directus_sessionsScalarFieldEnum[];
};
/**
 * directus_sessions findFirstOrThrow
 */
export type directus_sessionsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter, which directus_sessions to fetch.
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_sessions to fetch.
     */
    orderBy?: Prisma.directus_sessionsOrderByWithRelationInput | Prisma.directus_sessionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_sessions.
     */
    cursor?: Prisma.directus_sessionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_sessions 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` directus_sessions.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_sessions.
     */
    distinct?: Prisma.Directus_sessionsScalarFieldEnum | Prisma.Directus_sessionsScalarFieldEnum[];
};
/**
 * directus_sessions findMany
 */
export type directus_sessionsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter, which directus_sessions to fetch.
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_sessions to fetch.
     */
    orderBy?: Prisma.directus_sessionsOrderByWithRelationInput | Prisma.directus_sessionsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing directus_sessions.
     */
    cursor?: Prisma.directus_sessionsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_sessions 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` directus_sessions.
     */
    skip?: number;
    distinct?: Prisma.Directus_sessionsScalarFieldEnum | Prisma.Directus_sessionsScalarFieldEnum[];
};
/**
 * directus_sessions create
 */
export type directus_sessionsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * The data needed to create a directus_sessions.
     */
    data: Prisma.XOR<Prisma.directus_sessionsCreateInput, Prisma.directus_sessionsUncheckedCreateInput>;
};
/**
 * directus_sessions createMany
 */
export type directus_sessionsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many directus_sessions.
     */
    data: Prisma.directus_sessionsCreateManyInput | Prisma.directus_sessionsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_sessions createManyAndReturn
 */
export type directus_sessionsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * The data used to create many directus_sessions.
     */
    data: Prisma.directus_sessionsCreateManyInput | Prisma.directus_sessionsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * directus_sessions update
 */
export type directus_sessionsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * The data needed to update a directus_sessions.
     */
    data: Prisma.XOR<Prisma.directus_sessionsUpdateInput, Prisma.directus_sessionsUncheckedUpdateInput>;
    /**
     * Choose, which directus_sessions to update.
     */
    where: Prisma.directus_sessionsWhereUniqueInput;
};
/**
 * directus_sessions updateMany
 */
export type directus_sessionsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update directus_sessions.
     */
    data: Prisma.XOR<Prisma.directus_sessionsUpdateManyMutationInput, Prisma.directus_sessionsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_sessions to update
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * Limit how many directus_sessions to update.
     */
    limit?: number;
};
/**
 * directus_sessions updateManyAndReturn
 */
export type directus_sessionsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * The data used to update directus_sessions.
     */
    data: Prisma.XOR<Prisma.directus_sessionsUpdateManyMutationInput, Prisma.directus_sessionsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_sessions to update
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * Limit how many directus_sessions to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * directus_sessions upsert
 */
export type directus_sessionsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * The filter to search for the directus_sessions to update in case it exists.
     */
    where: Prisma.directus_sessionsWhereUniqueInput;
    /**
     * In case the directus_sessions found by the `where` argument doesn't exist, create a new directus_sessions with this data.
     */
    create: Prisma.XOR<Prisma.directus_sessionsCreateInput, Prisma.directus_sessionsUncheckedCreateInput>;
    /**
     * In case the directus_sessions was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.directus_sessionsUpdateInput, Prisma.directus_sessionsUncheckedUpdateInput>;
};
/**
 * directus_sessions delete
 */
export type directus_sessionsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
    /**
     * Filter which directus_sessions to delete.
     */
    where: Prisma.directus_sessionsWhereUniqueInput;
};
/**
 * directus_sessions deleteMany
 */
export type directus_sessionsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_sessions to delete
     */
    where?: Prisma.directus_sessionsWhereInput;
    /**
     * Limit how many directus_sessions to delete.
     */
    limit?: number;
};
/**
 * directus_sessions.directus_shares
 */
export type directus_sessions$directus_sharesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_shares
     */
    select?: Prisma.directus_sharesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_shares
     */
    omit?: Prisma.directus_sharesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sharesInclude<ExtArgs> | null;
    where?: Prisma.directus_sharesWhereInput;
};
/**
 * directus_sessions.directus_users
 */
export type directus_sessions$directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_users
     */
    select?: Prisma.directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_users
     */
    omit?: Prisma.directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_usersInclude<ExtArgs> | null;
    where?: Prisma.directus_usersWhereInput;
};
/**
 * directus_sessions without action
 */
export type directus_sessionsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_sessions
     */
    select?: Prisma.directus_sessionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_sessions
     */
    omit?: Prisma.directus_sessionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_sessionsInclude<ExtArgs> | null;
};
export {};
