import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model directus_access
 * 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_accessModel = runtime.Types.Result.DefaultSelection<Prisma.$directus_accessPayload>;
export type AggregateDirectus_access = {
    _count: Directus_accessCountAggregateOutputType | null;
    _avg: Directus_accessAvgAggregateOutputType | null;
    _sum: Directus_accessSumAggregateOutputType | null;
    _min: Directus_accessMinAggregateOutputType | null;
    _max: Directus_accessMaxAggregateOutputType | null;
};
export type Directus_accessAvgAggregateOutputType = {
    sort: number | null;
};
export type Directus_accessSumAggregateOutputType = {
    sort: number | null;
};
export type Directus_accessMinAggregateOutputType = {
    id: string | null;
    role: string | null;
    user: string | null;
    policy: string | null;
    sort: number | null;
};
export type Directus_accessMaxAggregateOutputType = {
    id: string | null;
    role: string | null;
    user: string | null;
    policy: string | null;
    sort: number | null;
};
export type Directus_accessCountAggregateOutputType = {
    id: number;
    role: number;
    user: number;
    policy: number;
    sort: number;
    _all: number;
};
export type Directus_accessAvgAggregateInputType = {
    sort?: true;
};
export type Directus_accessSumAggregateInputType = {
    sort?: true;
};
export type Directus_accessMinAggregateInputType = {
    id?: true;
    role?: true;
    user?: true;
    policy?: true;
    sort?: true;
};
export type Directus_accessMaxAggregateInputType = {
    id?: true;
    role?: true;
    user?: true;
    policy?: true;
    sort?: true;
};
export type Directus_accessCountAggregateInputType = {
    id?: true;
    role?: true;
    user?: true;
    policy?: true;
    sort?: true;
    _all?: true;
};
export type Directus_accessAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_access to aggregate.
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_accesses to fetch.
     */
    orderBy?: Prisma.directus_accessOrderByWithRelationInput | Prisma.directus_accessOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.directus_accessWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_accesses 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_accesses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned directus_accesses
    **/
    _count?: true | Directus_accessCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Directus_accessAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Directus_accessSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Directus_accessMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Directus_accessMaxAggregateInputType;
};
export type GetDirectus_accessAggregateType<T extends Directus_accessAggregateArgs> = {
    [P in keyof T & keyof AggregateDirectus_access]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDirectus_access[P]> : Prisma.GetScalarType<T[P], AggregateDirectus_access[P]>;
};
export type directus_accessGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_accessWhereInput;
    orderBy?: Prisma.directus_accessOrderByWithAggregationInput | Prisma.directus_accessOrderByWithAggregationInput[];
    by: Prisma.Directus_accessScalarFieldEnum[] | Prisma.Directus_accessScalarFieldEnum;
    having?: Prisma.directus_accessScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Directus_accessCountAggregateInputType | true;
    _avg?: Directus_accessAvgAggregateInputType;
    _sum?: Directus_accessSumAggregateInputType;
    _min?: Directus_accessMinAggregateInputType;
    _max?: Directus_accessMaxAggregateInputType;
};
export type Directus_accessGroupByOutputType = {
    id: string;
    role: string | null;
    user: string | null;
    policy: string;
    sort: number | null;
    _count: Directus_accessCountAggregateOutputType | null;
    _avg: Directus_accessAvgAggregateOutputType | null;
    _sum: Directus_accessSumAggregateOutputType | null;
    _min: Directus_accessMinAggregateOutputType | null;
    _max: Directus_accessMaxAggregateOutputType | null;
};
type GetDirectus_accessGroupByPayload<T extends directus_accessGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Directus_accessGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Directus_accessGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Directus_accessGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Directus_accessGroupByOutputType[P]>;
}>>;
export type directus_accessWhereInput = {
    AND?: Prisma.directus_accessWhereInput | Prisma.directus_accessWhereInput[];
    OR?: Prisma.directus_accessWhereInput[];
    NOT?: Prisma.directus_accessWhereInput | Prisma.directus_accessWhereInput[];
    id?: Prisma.UuidFilter<"directus_access"> | string;
    role?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    user?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    policy?: Prisma.UuidFilter<"directus_access"> | string;
    sort?: Prisma.IntNullableFilter<"directus_access"> | number | null;
    directus_policies?: Prisma.XOR<Prisma.Directus_policiesScalarRelationFilter, Prisma.directus_policiesWhereInput>;
    directus_roles?: Prisma.XOR<Prisma.Directus_rolesNullableScalarRelationFilter, Prisma.directus_rolesWhereInput> | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
};
export type directus_accessOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    role?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    policy?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_policies?: Prisma.directus_policiesOrderByWithRelationInput;
    directus_roles?: Prisma.directus_rolesOrderByWithRelationInput;
    directus_users?: Prisma.directus_usersOrderByWithRelationInput;
};
export type directus_accessWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    AND?: Prisma.directus_accessWhereInput | Prisma.directus_accessWhereInput[];
    OR?: Prisma.directus_accessWhereInput[];
    NOT?: Prisma.directus_accessWhereInput | Prisma.directus_accessWhereInput[];
    role?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    user?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    policy?: Prisma.UuidFilter<"directus_access"> | string;
    sort?: Prisma.IntNullableFilter<"directus_access"> | number | null;
    directus_policies?: Prisma.XOR<Prisma.Directus_policiesScalarRelationFilter, Prisma.directus_policiesWhereInput>;
    directus_roles?: Prisma.XOR<Prisma.Directus_rolesNullableScalarRelationFilter, Prisma.directus_rolesWhereInput> | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
}, "id">;
export type directus_accessOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    role?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    policy?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.directus_accessCountOrderByAggregateInput;
    _avg?: Prisma.directus_accessAvgOrderByAggregateInput;
    _max?: Prisma.directus_accessMaxOrderByAggregateInput;
    _min?: Prisma.directus_accessMinOrderByAggregateInput;
    _sum?: Prisma.directus_accessSumOrderByAggregateInput;
};
export type directus_accessScalarWhereWithAggregatesInput = {
    AND?: Prisma.directus_accessScalarWhereWithAggregatesInput | Prisma.directus_accessScalarWhereWithAggregatesInput[];
    OR?: Prisma.directus_accessScalarWhereWithAggregatesInput[];
    NOT?: Prisma.directus_accessScalarWhereWithAggregatesInput | Prisma.directus_accessScalarWhereWithAggregatesInput[];
    id?: Prisma.UuidWithAggregatesFilter<"directus_access"> | string;
    role?: Prisma.UuidNullableWithAggregatesFilter<"directus_access"> | string | null;
    user?: Prisma.UuidNullableWithAggregatesFilter<"directus_access"> | string | null;
    policy?: Prisma.UuidWithAggregatesFilter<"directus_access"> | string;
    sort?: Prisma.IntNullableWithAggregatesFilter<"directus_access"> | number | null;
};
export type directus_accessCreateInput = {
    id: string;
    sort?: number | null;
    directus_policies: Prisma.directus_policiesCreateNestedOneWithoutDirectus_accessInput;
    directus_roles?: Prisma.directus_rolesCreateNestedOneWithoutDirectus_accessInput;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutDirectus_accessInput;
};
export type directus_accessUncheckedCreateInput = {
    id: string;
    role?: string | null;
    user?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_policies?: Prisma.directus_policiesUpdateOneRequiredWithoutDirectus_accessNestedInput;
    directus_roles?: Prisma.directus_rolesUpdateOneWithoutDirectus_accessNestedInput;
    directus_users?: Prisma.directus_usersUpdateOneWithoutDirectus_accessNestedInput;
};
export type directus_accessUncheckedUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessCreateManyInput = {
    id: string;
    role?: string | null;
    user?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessUpdateManyMutationInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessUncheckedUpdateManyInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    role?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    policy?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type directus_accessAvgOrderByAggregateInput = {
    sort?: Prisma.SortOrder;
};
export type directus_accessMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    role?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    policy?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type directus_accessMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    role?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    policy?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type directus_accessSumOrderByAggregateInput = {
    sort?: Prisma.SortOrder;
};
export type Directus_accessListRelationFilter = {
    every?: Prisma.directus_accessWhereInput;
    some?: Prisma.directus_accessWhereInput;
    none?: Prisma.directus_accessWhereInput;
};
export type directus_accessOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type directus_accessCreateNestedManyWithoutDirectus_policiesInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput> | Prisma.directus_accessCreateWithoutDirectus_policiesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_policiesInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUncheckedCreateNestedManyWithoutDirectus_policiesInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput> | Prisma.directus_accessCreateWithoutDirectus_policiesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_policiesInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUpdateManyWithoutDirectus_policiesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput> | Prisma.directus_accessCreateWithoutDirectus_policiesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_policiesInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_policiesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_policiesInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_policiesInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_policiesInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_policiesInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_policiesInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_policiesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput> | Prisma.directus_accessCreateWithoutDirectus_policiesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_policiesInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_policiesInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_policiesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_policiesInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_policiesInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_policiesInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_policiesInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_policiesInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessCreateNestedManyWithoutDirectus_rolesInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput> | Prisma.directus_accessCreateWithoutDirectus_rolesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_rolesInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUncheckedCreateNestedManyWithoutDirectus_rolesInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput> | Prisma.directus_accessCreateWithoutDirectus_rolesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_rolesInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUpdateManyWithoutDirectus_rolesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput> | Prisma.directus_accessCreateWithoutDirectus_rolesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_rolesInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_rolesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_rolesInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_rolesInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_rolesInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_rolesInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_rolesInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_rolesNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput> | Prisma.directus_accessCreateWithoutDirectus_rolesInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_rolesInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_rolesInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_rolesInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_rolesInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_rolesInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_rolesInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_rolesInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_rolesInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_accessCreateWithoutDirectus_usersInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUncheckedCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_accessCreateWithoutDirectus_usersInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
};
export type directus_accessUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_accessCreateWithoutDirectus_usersInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput> | Prisma.directus_accessCreateWithoutDirectus_usersInput[] | Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput | Prisma.directus_accessCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_accessUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.directus_accessCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    disconnect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    delete?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    connect?: Prisma.directus_accessWhereUniqueInput | Prisma.directus_accessWhereUniqueInput[];
    update?: Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.directus_accessUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.directus_accessUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
};
export type directus_accessCreateWithoutDirectus_policiesInput = {
    id: string;
    sort?: number | null;
    directus_roles?: Prisma.directus_rolesCreateNestedOneWithoutDirectus_accessInput;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutDirectus_accessInput;
};
export type directus_accessUncheckedCreateWithoutDirectus_policiesInput = {
    id: string;
    role?: string | null;
    user?: string | null;
    sort?: number | null;
};
export type directus_accessCreateOrConnectWithoutDirectus_policiesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput>;
};
export type directus_accessCreateManyDirectus_policiesInputEnvelope = {
    data: Prisma.directus_accessCreateManyDirectus_policiesInput | Prisma.directus_accessCreateManyDirectus_policiesInput[];
    skipDuplicates?: boolean;
};
export type directus_accessUpsertWithWhereUniqueWithoutDirectus_policiesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    update: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_policiesInput>;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_policiesInput>;
};
export type directus_accessUpdateWithWhereUniqueWithoutDirectus_policiesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_policiesInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_policiesInput>;
};
export type directus_accessUpdateManyWithWhereWithoutDirectus_policiesInput = {
    where: Prisma.directus_accessScalarWhereInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateManyMutationInput, Prisma.directus_accessUncheckedUpdateManyWithoutDirectus_policiesInput>;
};
export type directus_accessScalarWhereInput = {
    AND?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
    OR?: Prisma.directus_accessScalarWhereInput[];
    NOT?: Prisma.directus_accessScalarWhereInput | Prisma.directus_accessScalarWhereInput[];
    id?: Prisma.UuidFilter<"directus_access"> | string;
    role?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    user?: Prisma.UuidNullableFilter<"directus_access"> | string | null;
    policy?: Prisma.UuidFilter<"directus_access"> | string;
    sort?: Prisma.IntNullableFilter<"directus_access"> | number | null;
};
export type directus_accessCreateWithoutDirectus_rolesInput = {
    id: string;
    sort?: number | null;
    directus_policies: Prisma.directus_policiesCreateNestedOneWithoutDirectus_accessInput;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutDirectus_accessInput;
};
export type directus_accessUncheckedCreateWithoutDirectus_rolesInput = {
    id: string;
    user?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessCreateOrConnectWithoutDirectus_rolesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput>;
};
export type directus_accessCreateManyDirectus_rolesInputEnvelope = {
    data: Prisma.directus_accessCreateManyDirectus_rolesInput | Prisma.directus_accessCreateManyDirectus_rolesInput[];
    skipDuplicates?: boolean;
};
export type directus_accessUpsertWithWhereUniqueWithoutDirectus_rolesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    update: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_rolesInput>;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_rolesInput>;
};
export type directus_accessUpdateWithWhereUniqueWithoutDirectus_rolesInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_rolesInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_rolesInput>;
};
export type directus_accessUpdateManyWithWhereWithoutDirectus_rolesInput = {
    where: Prisma.directus_accessScalarWhereInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateManyMutationInput, Prisma.directus_accessUncheckedUpdateManyWithoutDirectus_rolesInput>;
};
export type directus_accessCreateWithoutDirectus_usersInput = {
    id: string;
    sort?: number | null;
    directus_policies: Prisma.directus_policiesCreateNestedOneWithoutDirectus_accessInput;
    directus_roles?: Prisma.directus_rolesCreateNestedOneWithoutDirectus_accessInput;
};
export type directus_accessUncheckedCreateWithoutDirectus_usersInput = {
    id: string;
    role?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessCreateOrConnectWithoutDirectus_usersInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput>;
};
export type directus_accessCreateManyDirectus_usersInputEnvelope = {
    data: Prisma.directus_accessCreateManyDirectus_usersInput | Prisma.directus_accessCreateManyDirectus_usersInput[];
    skipDuplicates?: boolean;
};
export type directus_accessUpsertWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    update: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_usersInput>;
    create: Prisma.XOR<Prisma.directus_accessCreateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedCreateWithoutDirectus_usersInput>;
};
export type directus_accessUpdateWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.directus_accessWhereUniqueInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateWithoutDirectus_usersInput, Prisma.directus_accessUncheckedUpdateWithoutDirectus_usersInput>;
};
export type directus_accessUpdateManyWithWhereWithoutDirectus_usersInput = {
    where: Prisma.directus_accessScalarWhereInput;
    data: Prisma.XOR<Prisma.directus_accessUpdateManyMutationInput, Prisma.directus_accessUncheckedUpdateManyWithoutDirectus_usersInput>;
};
export type directus_accessCreateManyDirectus_policiesInput = {
    id: string;
    role?: string | null;
    user?: string | null;
    sort?: number | null;
};
export type directus_accessUpdateWithoutDirectus_policiesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_roles?: Prisma.directus_rolesUpdateOneWithoutDirectus_accessNestedInput;
    directus_users?: Prisma.directus_usersUpdateOneWithoutDirectus_accessNestedInput;
};
export type directus_accessUncheckedUpdateWithoutDirectus_policiesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_policiesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessCreateManyDirectus_rolesInput = {
    id: string;
    user?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessUpdateWithoutDirectus_rolesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_policies?: Prisma.directus_policiesUpdateOneRequiredWithoutDirectus_accessNestedInput;
    directus_users?: Prisma.directus_usersUpdateOneWithoutDirectus_accessNestedInput;
};
export type directus_accessUncheckedUpdateWithoutDirectus_rolesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_rolesInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessCreateManyDirectus_usersInput = {
    id: string;
    role?: string | null;
    policy: string;
    sort?: number | null;
};
export type directus_accessUpdateWithoutDirectus_usersInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_policies?: Prisma.directus_policiesUpdateOneRequiredWithoutDirectus_accessNestedInput;
    directus_roles?: Prisma.directus_rolesUpdateOneWithoutDirectus_accessNestedInput;
};
export type directus_accessUncheckedUpdateWithoutDirectus_usersInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessUncheckedUpdateManyWithoutDirectus_usersInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    role?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    policy?: Prisma.StringFieldUpdateOperationsInput | string;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type directus_accessSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    role?: boolean;
    user?: boolean;
    policy?: boolean;
    sort?: boolean;
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_access"]>;
export type directus_accessSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    role?: boolean;
    user?: boolean;
    policy?: boolean;
    sort?: boolean;
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_access"]>;
export type directus_accessSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    role?: boolean;
    user?: boolean;
    policy?: boolean;
    sort?: boolean;
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["directus_access"]>;
export type directus_accessSelectScalar = {
    id?: boolean;
    role?: boolean;
    user?: boolean;
    policy?: boolean;
    sort?: boolean;
};
export type directus_accessOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "role" | "user" | "policy" | "sort", ExtArgs["result"]["directus_access"]>;
export type directus_accessInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
};
export type directus_accessIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
};
export type directus_accessIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_policies?: boolean | Prisma.directus_policiesDefaultArgs<ExtArgs>;
    directus_roles?: boolean | Prisma.directus_access$directus_rolesArgs<ExtArgs>;
    directus_users?: boolean | Prisma.directus_access$directus_usersArgs<ExtArgs>;
};
export type $directus_accessPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "directus_access";
    objects: {
        directus_policies: Prisma.$directus_policiesPayload<ExtArgs>;
        directus_roles: Prisma.$directus_rolesPayload<ExtArgs> | null;
        directus_users: Prisma.$directus_usersPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: string;
        role: string | null;
        user: string | null;
        policy: string;
        sort: number | null;
    }, ExtArgs["result"]["directus_access"]>;
    composites: {};
};
export type directus_accessGetPayload<S extends boolean | null | undefined | directus_accessDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$directus_accessPayload, S>;
export type directus_accessCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<directus_accessFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Directus_accessCountAggregateInputType | true;
};
export interface directus_accessDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['directus_access'];
        meta: {
            name: 'directus_access';
        };
    };
    /**
     * Find zero or one Directus_access that matches the filter.
     * @param {directus_accessFindUniqueArgs} args - Arguments to find a Directus_access
     * @example
     * // Get one Directus_access
     * const directus_access = await prisma.directus_access.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends directus_accessFindUniqueArgs>(args: Prisma.SelectSubset<T, directus_accessFindUniqueArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Directus_access that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {directus_accessFindUniqueOrThrowArgs} args - Arguments to find a Directus_access
     * @example
     * // Get one Directus_access
     * const directus_access = await prisma.directus_access.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends directus_accessFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, directus_accessFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_access 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_accessFindFirstArgs} args - Arguments to find a Directus_access
     * @example
     * // Get one Directus_access
     * const directus_access = await prisma.directus_access.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends directus_accessFindFirstArgs>(args?: Prisma.SelectSubset<T, directus_accessFindFirstArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_access 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_accessFindFirstOrThrowArgs} args - Arguments to find a Directus_access
     * @example
     * // Get one Directus_access
     * const directus_access = await prisma.directus_access.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends directus_accessFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, directus_accessFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Directus_accesses 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_accessFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Directus_accesses
     * const directus_accesses = await prisma.directus_access.findMany()
     *
     * // Get first 10 Directus_accesses
     * const directus_accesses = await prisma.directus_access.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const directus_accessWithIdOnly = await prisma.directus_access.findMany({ select: { id: true } })
     *
     */
    findMany<T extends directus_accessFindManyArgs>(args?: Prisma.SelectSubset<T, directus_accessFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Directus_access.
     * @param {directus_accessCreateArgs} args - Arguments to create a Directus_access.
     * @example
     * // Create one Directus_access
     * const Directus_access = await prisma.directus_access.create({
     *   data: {
     *     // ... data to create a Directus_access
     *   }
     * })
     *
     */
    create<T extends directus_accessCreateArgs>(args: Prisma.SelectSubset<T, directus_accessCreateArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Directus_accesses.
     * @param {directus_accessCreateManyArgs} args - Arguments to create many Directus_accesses.
     * @example
     * // Create many Directus_accesses
     * const directus_access = await prisma.directus_access.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends directus_accessCreateManyArgs>(args?: Prisma.SelectSubset<T, directus_accessCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Directus_accesses and returns the data saved in the database.
     * @param {directus_accessCreateManyAndReturnArgs} args - Arguments to create many Directus_accesses.
     * @example
     * // Create many Directus_accesses
     * const directus_access = await prisma.directus_access.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Directus_accesses and only return the `id`
     * const directus_accessWithIdOnly = await prisma.directus_access.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends directus_accessCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, directus_accessCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Directus_access.
     * @param {directus_accessDeleteArgs} args - Arguments to delete one Directus_access.
     * @example
     * // Delete one Directus_access
     * const Directus_access = await prisma.directus_access.delete({
     *   where: {
     *     // ... filter to delete one Directus_access
     *   }
     * })
     *
     */
    delete<T extends directus_accessDeleteArgs>(args: Prisma.SelectSubset<T, directus_accessDeleteArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Directus_access.
     * @param {directus_accessUpdateArgs} args - Arguments to update one Directus_access.
     * @example
     * // Update one Directus_access
     * const directus_access = await prisma.directus_access.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends directus_accessUpdateArgs>(args: Prisma.SelectSubset<T, directus_accessUpdateArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Directus_accesses.
     * @param {directus_accessDeleteManyArgs} args - Arguments to filter Directus_accesses to delete.
     * @example
     * // Delete a few Directus_accesses
     * const { count } = await prisma.directus_access.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends directus_accessDeleteManyArgs>(args?: Prisma.SelectSubset<T, directus_accessDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_accesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_accessUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Directus_accesses
     * const directus_access = await prisma.directus_access.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends directus_accessUpdateManyArgs>(args: Prisma.SelectSubset<T, directus_accessUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_accesses and returns the data updated in the database.
     * @param {directus_accessUpdateManyAndReturnArgs} args - Arguments to update many Directus_accesses.
     * @example
     * // Update many Directus_accesses
     * const directus_access = await prisma.directus_access.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Directus_accesses and only return the `id`
     * const directus_accessWithIdOnly = await prisma.directus_access.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends directus_accessUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, directus_accessUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Directus_access.
     * @param {directus_accessUpsertArgs} args - Arguments to update or create a Directus_access.
     * @example
     * // Update or create a Directus_access
     * const directus_access = await prisma.directus_access.upsert({
     *   create: {
     *     // ... data to create a Directus_access
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Directus_access we want to update
     *   }
     * })
     */
    upsert<T extends directus_accessUpsertArgs>(args: Prisma.SelectSubset<T, directus_accessUpsertArgs<ExtArgs>>): Prisma.Prisma__directus_accessClient<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Directus_accesses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_accessCountArgs} args - Arguments to filter Directus_accesses to count.
     * @example
     * // Count the number of Directus_accesses
     * const count = await prisma.directus_access.count({
     *   where: {
     *     // ... the filter for the Directus_accesses we want to count
     *   }
     * })
    **/
    count<T extends directus_accessCountArgs>(args?: Prisma.Subset<T, directus_accessCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Directus_accessCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Directus_access.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Directus_accessAggregateArgs} 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_accessAggregateArgs>(args: Prisma.Subset<T, Directus_accessAggregateArgs>): Prisma.PrismaPromise<GetDirectus_accessAggregateType<T>>;
    /**
     * Group by Directus_access.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_accessGroupByArgs} 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_accessGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: directus_accessGroupByArgs['orderBy'];
    } : {
        orderBy?: directus_accessGroupByArgs['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_accessGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectus_accessGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the directus_access model
     */
    readonly fields: directus_accessFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for directus_access.
 * 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_accessClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_policies<T extends Prisma.directus_policiesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_policiesDefaultArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
    directus_roles<T extends Prisma.directus_access$directus_rolesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_access$directus_rolesArgs<ExtArgs>>): Prisma.Prisma__directus_rolesClient<runtime.Types.Result.GetResult<Prisma.$directus_rolesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    directus_users<T extends Prisma.directus_access$directus_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_access$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_access model
 */
export interface directus_accessFieldRefs {
    readonly id: Prisma.FieldRef<"directus_access", 'String'>;
    readonly role: Prisma.FieldRef<"directus_access", 'String'>;
    readonly user: Prisma.FieldRef<"directus_access", 'String'>;
    readonly policy: Prisma.FieldRef<"directus_access", 'String'>;
    readonly sort: Prisma.FieldRef<"directus_access", 'Int'>;
}
/**
 * directus_access findUnique
 */
export type directus_accessFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter, which directus_access to fetch.
     */
    where: Prisma.directus_accessWhereUniqueInput;
};
/**
 * directus_access findUniqueOrThrow
 */
export type directus_accessFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter, which directus_access to fetch.
     */
    where: Prisma.directus_accessWhereUniqueInput;
};
/**
 * directus_access findFirst
 */
export type directus_accessFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter, which directus_access to fetch.
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_accesses to fetch.
     */
    orderBy?: Prisma.directus_accessOrderByWithRelationInput | Prisma.directus_accessOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_accesses.
     */
    cursor?: Prisma.directus_accessWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_accesses 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_accesses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_accesses.
     */
    distinct?: Prisma.Directus_accessScalarFieldEnum | Prisma.Directus_accessScalarFieldEnum[];
};
/**
 * directus_access findFirstOrThrow
 */
export type directus_accessFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter, which directus_access to fetch.
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_accesses to fetch.
     */
    orderBy?: Prisma.directus_accessOrderByWithRelationInput | Prisma.directus_accessOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_accesses.
     */
    cursor?: Prisma.directus_accessWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_accesses 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_accesses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_accesses.
     */
    distinct?: Prisma.Directus_accessScalarFieldEnum | Prisma.Directus_accessScalarFieldEnum[];
};
/**
 * directus_access findMany
 */
export type directus_accessFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter, which directus_accesses to fetch.
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_accesses to fetch.
     */
    orderBy?: Prisma.directus_accessOrderByWithRelationInput | Prisma.directus_accessOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing directus_accesses.
     */
    cursor?: Prisma.directus_accessWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_accesses 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_accesses.
     */
    skip?: number;
    distinct?: Prisma.Directus_accessScalarFieldEnum | Prisma.Directus_accessScalarFieldEnum[];
};
/**
 * directus_access create
 */
export type directus_accessCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * The data needed to create a directus_access.
     */
    data: Prisma.XOR<Prisma.directus_accessCreateInput, Prisma.directus_accessUncheckedCreateInput>;
};
/**
 * directus_access createMany
 */
export type directus_accessCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many directus_accesses.
     */
    data: Prisma.directus_accessCreateManyInput | Prisma.directus_accessCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_access createManyAndReturn
 */
export type directus_accessCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * The data used to create many directus_accesses.
     */
    data: Prisma.directus_accessCreateManyInput | Prisma.directus_accessCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * directus_access update
 */
export type directus_accessUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * The data needed to update a directus_access.
     */
    data: Prisma.XOR<Prisma.directus_accessUpdateInput, Prisma.directus_accessUncheckedUpdateInput>;
    /**
     * Choose, which directus_access to update.
     */
    where: Prisma.directus_accessWhereUniqueInput;
};
/**
 * directus_access updateMany
 */
export type directus_accessUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update directus_accesses.
     */
    data: Prisma.XOR<Prisma.directus_accessUpdateManyMutationInput, Prisma.directus_accessUncheckedUpdateManyInput>;
    /**
     * Filter which directus_accesses to update
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * Limit how many directus_accesses to update.
     */
    limit?: number;
};
/**
 * directus_access updateManyAndReturn
 */
export type directus_accessUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * The data used to update directus_accesses.
     */
    data: Prisma.XOR<Prisma.directus_accessUpdateManyMutationInput, Prisma.directus_accessUncheckedUpdateManyInput>;
    /**
     * Filter which directus_accesses to update
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * Limit how many directus_accesses to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * directus_access upsert
 */
export type directus_accessUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * The filter to search for the directus_access to update in case it exists.
     */
    where: Prisma.directus_accessWhereUniqueInput;
    /**
     * In case the directus_access found by the `where` argument doesn't exist, create a new directus_access with this data.
     */
    create: Prisma.XOR<Prisma.directus_accessCreateInput, Prisma.directus_accessUncheckedCreateInput>;
    /**
     * In case the directus_access was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.directus_accessUpdateInput, Prisma.directus_accessUncheckedUpdateInput>;
};
/**
 * directus_access delete
 */
export type directus_accessDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
    /**
     * Filter which directus_access to delete.
     */
    where: Prisma.directus_accessWhereUniqueInput;
};
/**
 * directus_access deleteMany
 */
export type directus_accessDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_accesses to delete
     */
    where?: Prisma.directus_accessWhereInput;
    /**
     * Limit how many directus_accesses to delete.
     */
    limit?: number;
};
/**
 * directus_access.directus_roles
 */
export type directus_access$directus_rolesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_roles
     */
    select?: Prisma.directus_rolesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_roles
     */
    omit?: Prisma.directus_rolesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_rolesInclude<ExtArgs> | null;
    where?: Prisma.directus_rolesWhereInput;
};
/**
 * directus_access.directus_users
 */
export type directus_access$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_access without action
 */
export type directus_accessDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_access
     */
    select?: Prisma.directus_accessSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_access
     */
    omit?: Prisma.directus_accessOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_accessInclude<ExtArgs> | null;
};
export {};
