import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model directus_policies
 * 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_policiesModel = runtime.Types.Result.DefaultSelection<Prisma.$directus_policiesPayload>;
export type AggregateDirectus_policies = {
    _count: Directus_policiesCountAggregateOutputType | null;
    _min: Directus_policiesMinAggregateOutputType | null;
    _max: Directus_policiesMaxAggregateOutputType | null;
};
export type Directus_policiesMinAggregateOutputType = {
    id: string | null;
    name: string | null;
    icon: string | null;
    description: string | null;
    ip_access: string | null;
    enforce_tfa: boolean | null;
    admin_access: boolean | null;
    app_access: boolean | null;
};
export type Directus_policiesMaxAggregateOutputType = {
    id: string | null;
    name: string | null;
    icon: string | null;
    description: string | null;
    ip_access: string | null;
    enforce_tfa: boolean | null;
    admin_access: boolean | null;
    app_access: boolean | null;
};
export type Directus_policiesCountAggregateOutputType = {
    id: number;
    name: number;
    icon: number;
    description: number;
    ip_access: number;
    enforce_tfa: number;
    admin_access: number;
    app_access: number;
    _all: number;
};
export type Directus_policiesMinAggregateInputType = {
    id?: true;
    name?: true;
    icon?: true;
    description?: true;
    ip_access?: true;
    enforce_tfa?: true;
    admin_access?: true;
    app_access?: true;
};
export type Directus_policiesMaxAggregateInputType = {
    id?: true;
    name?: true;
    icon?: true;
    description?: true;
    ip_access?: true;
    enforce_tfa?: true;
    admin_access?: true;
    app_access?: true;
};
export type Directus_policiesCountAggregateInputType = {
    id?: true;
    name?: true;
    icon?: true;
    description?: true;
    ip_access?: true;
    enforce_tfa?: true;
    admin_access?: true;
    app_access?: true;
    _all?: true;
};
export type Directus_policiesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_policies to aggregate.
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_policies to fetch.
     */
    orderBy?: Prisma.directus_policiesOrderByWithRelationInput | Prisma.directus_policiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.directus_policiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_policies 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_policies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned directus_policies
    **/
    _count?: true | Directus_policiesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Directus_policiesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Directus_policiesMaxAggregateInputType;
};
export type GetDirectus_policiesAggregateType<T extends Directus_policiesAggregateArgs> = {
    [P in keyof T & keyof AggregateDirectus_policies]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDirectus_policies[P]> : Prisma.GetScalarType<T[P], AggregateDirectus_policies[P]>;
};
export type directus_policiesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_policiesWhereInput;
    orderBy?: Prisma.directus_policiesOrderByWithAggregationInput | Prisma.directus_policiesOrderByWithAggregationInput[];
    by: Prisma.Directus_policiesScalarFieldEnum[] | Prisma.Directus_policiesScalarFieldEnum;
    having?: Prisma.directus_policiesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Directus_policiesCountAggregateInputType | true;
    _min?: Directus_policiesMinAggregateInputType;
    _max?: Directus_policiesMaxAggregateInputType;
};
export type Directus_policiesGroupByOutputType = {
    id: string;
    name: string;
    icon: string;
    description: string | null;
    ip_access: string | null;
    enforce_tfa: boolean;
    admin_access: boolean;
    app_access: boolean;
    _count: Directus_policiesCountAggregateOutputType | null;
    _min: Directus_policiesMinAggregateOutputType | null;
    _max: Directus_policiesMaxAggregateOutputType | null;
};
type GetDirectus_policiesGroupByPayload<T extends directus_policiesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Directus_policiesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Directus_policiesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Directus_policiesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Directus_policiesGroupByOutputType[P]>;
}>>;
export type directus_policiesWhereInput = {
    AND?: Prisma.directus_policiesWhereInput | Prisma.directus_policiesWhereInput[];
    OR?: Prisma.directus_policiesWhereInput[];
    NOT?: Prisma.directus_policiesWhereInput | Prisma.directus_policiesWhereInput[];
    id?: Prisma.UuidFilter<"directus_policies"> | string;
    name?: Prisma.StringFilter<"directus_policies"> | string;
    icon?: Prisma.StringFilter<"directus_policies"> | string;
    description?: Prisma.StringNullableFilter<"directus_policies"> | string | null;
    ip_access?: Prisma.StringNullableFilter<"directus_policies"> | string | null;
    enforce_tfa?: Prisma.BoolFilter<"directus_policies"> | boolean;
    admin_access?: Prisma.BoolFilter<"directus_policies"> | boolean;
    app_access?: Prisma.BoolFilter<"directus_policies"> | boolean;
    directus_access?: Prisma.Directus_accessListRelationFilter;
    directus_permissions?: Prisma.Directus_permissionsListRelationFilter;
};
export type directus_policiesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    ip_access?: Prisma.SortOrderInput | Prisma.SortOrder;
    enforce_tfa?: Prisma.SortOrder;
    admin_access?: Prisma.SortOrder;
    app_access?: Prisma.SortOrder;
    directus_access?: Prisma.directus_accessOrderByRelationAggregateInput;
    directus_permissions?: Prisma.directus_permissionsOrderByRelationAggregateInput;
};
export type directus_policiesWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    AND?: Prisma.directus_policiesWhereInput | Prisma.directus_policiesWhereInput[];
    OR?: Prisma.directus_policiesWhereInput[];
    NOT?: Prisma.directus_policiesWhereInput | Prisma.directus_policiesWhereInput[];
    name?: Prisma.StringFilter<"directus_policies"> | string;
    icon?: Prisma.StringFilter<"directus_policies"> | string;
    description?: Prisma.StringNullableFilter<"directus_policies"> | string | null;
    ip_access?: Prisma.StringNullableFilter<"directus_policies"> | string | null;
    enforce_tfa?: Prisma.BoolFilter<"directus_policies"> | boolean;
    admin_access?: Prisma.BoolFilter<"directus_policies"> | boolean;
    app_access?: Prisma.BoolFilter<"directus_policies"> | boolean;
    directus_access?: Prisma.Directus_accessListRelationFilter;
    directus_permissions?: Prisma.Directus_permissionsListRelationFilter;
}, "id">;
export type directus_policiesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    description?: Prisma.SortOrderInput | Prisma.SortOrder;
    ip_access?: Prisma.SortOrderInput | Prisma.SortOrder;
    enforce_tfa?: Prisma.SortOrder;
    admin_access?: Prisma.SortOrder;
    app_access?: Prisma.SortOrder;
    _count?: Prisma.directus_policiesCountOrderByAggregateInput;
    _max?: Prisma.directus_policiesMaxOrderByAggregateInput;
    _min?: Prisma.directus_policiesMinOrderByAggregateInput;
};
export type directus_policiesScalarWhereWithAggregatesInput = {
    AND?: Prisma.directus_policiesScalarWhereWithAggregatesInput | Prisma.directus_policiesScalarWhereWithAggregatesInput[];
    OR?: Prisma.directus_policiesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.directus_policiesScalarWhereWithAggregatesInput | Prisma.directus_policiesScalarWhereWithAggregatesInput[];
    id?: Prisma.UuidWithAggregatesFilter<"directus_policies"> | string;
    name?: Prisma.StringWithAggregatesFilter<"directus_policies"> | string;
    icon?: Prisma.StringWithAggregatesFilter<"directus_policies"> | string;
    description?: Prisma.StringNullableWithAggregatesFilter<"directus_policies"> | string | null;
    ip_access?: Prisma.StringNullableWithAggregatesFilter<"directus_policies"> | string | null;
    enforce_tfa?: Prisma.BoolWithAggregatesFilter<"directus_policies"> | boolean;
    admin_access?: Prisma.BoolWithAggregatesFilter<"directus_policies"> | boolean;
    app_access?: Prisma.BoolWithAggregatesFilter<"directus_policies"> | boolean;
};
export type directus_policiesCreateInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_access?: Prisma.directus_accessCreateNestedManyWithoutDirectus_policiesInput;
    directus_permissions?: Prisma.directus_permissionsCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesUncheckedCreateInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_access?: Prisma.directus_accessUncheckedCreateNestedManyWithoutDirectus_policiesInput;
    directus_permissions?: Prisma.directus_permissionsUncheckedCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_access?: Prisma.directus_accessUpdateManyWithoutDirectus_policiesNestedInput;
    directus_permissions?: Prisma.directus_permissionsUpdateManyWithoutDirectus_policiesNestedInput;
};
export type directus_policiesUncheckedUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_access?: Prisma.directus_accessUncheckedUpdateManyWithoutDirectus_policiesNestedInput;
    directus_permissions?: Prisma.directus_permissionsUncheckedUpdateManyWithoutDirectus_policiesNestedInput;
};
export type directus_policiesCreateManyInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
};
export type directus_policiesUpdateManyMutationInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type directus_policiesUncheckedUpdateManyInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type Directus_policiesScalarRelationFilter = {
    is?: Prisma.directus_policiesWhereInput;
    isNot?: Prisma.directus_policiesWhereInput;
};
export type directus_policiesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    ip_access?: Prisma.SortOrder;
    enforce_tfa?: Prisma.SortOrder;
    admin_access?: Prisma.SortOrder;
    app_access?: Prisma.SortOrder;
};
export type directus_policiesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    ip_access?: Prisma.SortOrder;
    enforce_tfa?: Prisma.SortOrder;
    admin_access?: Prisma.SortOrder;
    app_access?: Prisma.SortOrder;
};
export type directus_policiesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    icon?: Prisma.SortOrder;
    description?: Prisma.SortOrder;
    ip_access?: Prisma.SortOrder;
    enforce_tfa?: Prisma.SortOrder;
    admin_access?: Prisma.SortOrder;
    app_access?: Prisma.SortOrder;
};
export type directus_policiesCreateNestedOneWithoutDirectus_accessInput = {
    create?: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_accessInput>;
    connectOrCreate?: Prisma.directus_policiesCreateOrConnectWithoutDirectus_accessInput;
    connect?: Prisma.directus_policiesWhereUniqueInput;
};
export type directus_policiesUpdateOneRequiredWithoutDirectus_accessNestedInput = {
    create?: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_accessInput>;
    connectOrCreate?: Prisma.directus_policiesCreateOrConnectWithoutDirectus_accessInput;
    upsert?: Prisma.directus_policiesUpsertWithoutDirectus_accessInput;
    connect?: Prisma.directus_policiesWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.directus_policiesUpdateToOneWithWhereWithoutDirectus_accessInput, Prisma.directus_policiesUpdateWithoutDirectus_accessInput>, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_accessInput>;
};
export type directus_policiesCreateNestedOneWithoutDirectus_permissionsInput = {
    create?: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_permissionsInput>;
    connectOrCreate?: Prisma.directus_policiesCreateOrConnectWithoutDirectus_permissionsInput;
    connect?: Prisma.directus_policiesWhereUniqueInput;
};
export type directus_policiesUpdateOneRequiredWithoutDirectus_permissionsNestedInput = {
    create?: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_permissionsInput>;
    connectOrCreate?: Prisma.directus_policiesCreateOrConnectWithoutDirectus_permissionsInput;
    upsert?: Prisma.directus_policiesUpsertWithoutDirectus_permissionsInput;
    connect?: Prisma.directus_policiesWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.directus_policiesUpdateToOneWithWhereWithoutDirectus_permissionsInput, Prisma.directus_policiesUpdateWithoutDirectus_permissionsInput>, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_permissionsInput>;
};
export type directus_policiesCreateWithoutDirectus_accessInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_permissions?: Prisma.directus_permissionsCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesUncheckedCreateWithoutDirectus_accessInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_permissions?: Prisma.directus_permissionsUncheckedCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesCreateOrConnectWithoutDirectus_accessInput = {
    where: Prisma.directus_policiesWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_accessInput>;
};
export type directus_policiesUpsertWithoutDirectus_accessInput = {
    update: Prisma.XOR<Prisma.directus_policiesUpdateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_accessInput>;
    create: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_accessInput>;
    where?: Prisma.directus_policiesWhereInput;
};
export type directus_policiesUpdateToOneWithWhereWithoutDirectus_accessInput = {
    where?: Prisma.directus_policiesWhereInput;
    data: Prisma.XOR<Prisma.directus_policiesUpdateWithoutDirectus_accessInput, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_accessInput>;
};
export type directus_policiesUpdateWithoutDirectus_accessInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_permissions?: Prisma.directus_permissionsUpdateManyWithoutDirectus_policiesNestedInput;
};
export type directus_policiesUncheckedUpdateWithoutDirectus_accessInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_permissions?: Prisma.directus_permissionsUncheckedUpdateManyWithoutDirectus_policiesNestedInput;
};
export type directus_policiesCreateWithoutDirectus_permissionsInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_access?: Prisma.directus_accessCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesUncheckedCreateWithoutDirectus_permissionsInput = {
    id: string;
    name: string;
    icon?: string;
    description?: string | null;
    ip_access?: string | null;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_access?: Prisma.directus_accessUncheckedCreateNestedManyWithoutDirectus_policiesInput;
};
export type directus_policiesCreateOrConnectWithoutDirectus_permissionsInput = {
    where: Prisma.directus_policiesWhereUniqueInput;
    create: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_permissionsInput>;
};
export type directus_policiesUpsertWithoutDirectus_permissionsInput = {
    update: Prisma.XOR<Prisma.directus_policiesUpdateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_permissionsInput>;
    create: Prisma.XOR<Prisma.directus_policiesCreateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedCreateWithoutDirectus_permissionsInput>;
    where?: Prisma.directus_policiesWhereInput;
};
export type directus_policiesUpdateToOneWithWhereWithoutDirectus_permissionsInput = {
    where?: Prisma.directus_policiesWhereInput;
    data: Prisma.XOR<Prisma.directus_policiesUpdateWithoutDirectus_permissionsInput, Prisma.directus_policiesUncheckedUpdateWithoutDirectus_permissionsInput>;
};
export type directus_policiesUpdateWithoutDirectus_permissionsInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_access?: Prisma.directus_accessUpdateManyWithoutDirectus_policiesNestedInput;
};
export type directus_policiesUncheckedUpdateWithoutDirectus_permissionsInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    name?: Prisma.StringFieldUpdateOperationsInput | string;
    icon?: Prisma.StringFieldUpdateOperationsInput | string;
    description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    ip_access?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    enforce_tfa?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    admin_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    app_access?: Prisma.BoolFieldUpdateOperationsInput | boolean;
    directus_access?: Prisma.directus_accessUncheckedUpdateManyWithoutDirectus_policiesNestedInput;
};
/**
 * Count Type Directus_policiesCountOutputType
 */
export type Directus_policiesCountOutputType = {
    directus_access: number;
    directus_permissions: number;
};
export type Directus_policiesCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_access?: boolean | Directus_policiesCountOutputTypeCountDirectus_accessArgs;
    directus_permissions?: boolean | Directus_policiesCountOutputTypeCountDirectus_permissionsArgs;
};
/**
 * Directus_policiesCountOutputType without action
 */
export type Directus_policiesCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Directus_policiesCountOutputType
     */
    select?: Prisma.Directus_policiesCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * Directus_policiesCountOutputType without action
 */
export type Directus_policiesCountOutputTypeCountDirectus_accessArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_accessWhereInput;
};
/**
 * Directus_policiesCountOutputType without action
 */
export type Directus_policiesCountOutputTypeCountDirectus_permissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_permissionsWhereInput;
};
export type directus_policiesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    icon?: boolean;
    description?: boolean;
    ip_access?: boolean;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
    directus_access?: boolean | Prisma.directus_policies$directus_accessArgs<ExtArgs>;
    directus_permissions?: boolean | Prisma.directus_policies$directus_permissionsArgs<ExtArgs>;
    _count?: boolean | Prisma.Directus_policiesCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["directus_policies"]>;
export type directus_policiesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    icon?: boolean;
    description?: boolean;
    ip_access?: boolean;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
}, ExtArgs["result"]["directus_policies"]>;
export type directus_policiesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    name?: boolean;
    icon?: boolean;
    description?: boolean;
    ip_access?: boolean;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
}, ExtArgs["result"]["directus_policies"]>;
export type directus_policiesSelectScalar = {
    id?: boolean;
    name?: boolean;
    icon?: boolean;
    description?: boolean;
    ip_access?: boolean;
    enforce_tfa?: boolean;
    admin_access?: boolean;
    app_access?: boolean;
};
export type directus_policiesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "icon" | "description" | "ip_access" | "enforce_tfa" | "admin_access" | "app_access", ExtArgs["result"]["directus_policies"]>;
export type directus_policiesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_access?: boolean | Prisma.directus_policies$directus_accessArgs<ExtArgs>;
    directus_permissions?: boolean | Prisma.directus_policies$directus_permissionsArgs<ExtArgs>;
    _count?: boolean | Prisma.Directus_policiesCountOutputTypeDefaultArgs<ExtArgs>;
};
export type directus_policiesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type directus_policiesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
export type $directus_policiesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "directus_policies";
    objects: {
        directus_access: Prisma.$directus_accessPayload<ExtArgs>[];
        directus_permissions: Prisma.$directus_permissionsPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: string;
        name: string;
        icon: string;
        description: string | null;
        ip_access: string | null;
        enforce_tfa: boolean;
        admin_access: boolean;
        app_access: boolean;
    }, ExtArgs["result"]["directus_policies"]>;
    composites: {};
};
export type directus_policiesGetPayload<S extends boolean | null | undefined | directus_policiesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload, S>;
export type directus_policiesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<directus_policiesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Directus_policiesCountAggregateInputType | true;
};
export interface directus_policiesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['directus_policies'];
        meta: {
            name: 'directus_policies';
        };
    };
    /**
     * Find zero or one Directus_policies that matches the filter.
     * @param {directus_policiesFindUniqueArgs} args - Arguments to find a Directus_policies
     * @example
     * // Get one Directus_policies
     * const directus_policies = await prisma.directus_policies.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends directus_policiesFindUniqueArgs>(args: Prisma.SelectSubset<T, directus_policiesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Directus_policies that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {directus_policiesFindUniqueOrThrowArgs} args - Arguments to find a Directus_policies
     * @example
     * // Get one Directus_policies
     * const directus_policies = await prisma.directus_policies.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends directus_policiesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, directus_policiesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_policies 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_policiesFindFirstArgs} args - Arguments to find a Directus_policies
     * @example
     * // Get one Directus_policies
     * const directus_policies = await prisma.directus_policies.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends directus_policiesFindFirstArgs>(args?: Prisma.SelectSubset<T, directus_policiesFindFirstArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_policies 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_policiesFindFirstOrThrowArgs} args - Arguments to find a Directus_policies
     * @example
     * // Get one Directus_policies
     * const directus_policies = await prisma.directus_policies.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends directus_policiesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, directus_policiesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Directus_policies 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_policiesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Directus_policies
     * const directus_policies = await prisma.directus_policies.findMany()
     *
     * // Get first 10 Directus_policies
     * const directus_policies = await prisma.directus_policies.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const directus_policiesWithIdOnly = await prisma.directus_policies.findMany({ select: { id: true } })
     *
     */
    findMany<T extends directus_policiesFindManyArgs>(args?: Prisma.SelectSubset<T, directus_policiesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Directus_policies.
     * @param {directus_policiesCreateArgs} args - Arguments to create a Directus_policies.
     * @example
     * // Create one Directus_policies
     * const Directus_policies = await prisma.directus_policies.create({
     *   data: {
     *     // ... data to create a Directus_policies
     *   }
     * })
     *
     */
    create<T extends directus_policiesCreateArgs>(args: Prisma.SelectSubset<T, directus_policiesCreateArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Directus_policies.
     * @param {directus_policiesCreateManyArgs} args - Arguments to create many Directus_policies.
     * @example
     * // Create many Directus_policies
     * const directus_policies = await prisma.directus_policies.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends directus_policiesCreateManyArgs>(args?: Prisma.SelectSubset<T, directus_policiesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Directus_policies and returns the data saved in the database.
     * @param {directus_policiesCreateManyAndReturnArgs} args - Arguments to create many Directus_policies.
     * @example
     * // Create many Directus_policies
     * const directus_policies = await prisma.directus_policies.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Directus_policies and only return the `id`
     * const directus_policiesWithIdOnly = await prisma.directus_policies.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_policiesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, directus_policiesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Directus_policies.
     * @param {directus_policiesDeleteArgs} args - Arguments to delete one Directus_policies.
     * @example
     * // Delete one Directus_policies
     * const Directus_policies = await prisma.directus_policies.delete({
     *   where: {
     *     // ... filter to delete one Directus_policies
     *   }
     * })
     *
     */
    delete<T extends directus_policiesDeleteArgs>(args: Prisma.SelectSubset<T, directus_policiesDeleteArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Directus_policies.
     * @param {directus_policiesUpdateArgs} args - Arguments to update one Directus_policies.
     * @example
     * // Update one Directus_policies
     * const directus_policies = await prisma.directus_policies.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends directus_policiesUpdateArgs>(args: Prisma.SelectSubset<T, directus_policiesUpdateArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Directus_policies.
     * @param {directus_policiesDeleteManyArgs} args - Arguments to filter Directus_policies to delete.
     * @example
     * // Delete a few Directus_policies
     * const { count } = await prisma.directus_policies.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends directus_policiesDeleteManyArgs>(args?: Prisma.SelectSubset<T, directus_policiesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_policiesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Directus_policies
     * const directus_policies = await prisma.directus_policies.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends directus_policiesUpdateManyArgs>(args: Prisma.SelectSubset<T, directus_policiesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_policies and returns the data updated in the database.
     * @param {directus_policiesUpdateManyAndReturnArgs} args - Arguments to update many Directus_policies.
     * @example
     * // Update many Directus_policies
     * const directus_policies = await prisma.directus_policies.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Directus_policies and only return the `id`
     * const directus_policiesWithIdOnly = await prisma.directus_policies.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_policiesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, directus_policiesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Directus_policies.
     * @param {directus_policiesUpsertArgs} args - Arguments to update or create a Directus_policies.
     * @example
     * // Update or create a Directus_policies
     * const directus_policies = await prisma.directus_policies.upsert({
     *   create: {
     *     // ... data to create a Directus_policies
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Directus_policies we want to update
     *   }
     * })
     */
    upsert<T extends directus_policiesUpsertArgs>(args: Prisma.SelectSubset<T, directus_policiesUpsertArgs<ExtArgs>>): Prisma.Prisma__directus_policiesClient<runtime.Types.Result.GetResult<Prisma.$directus_policiesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Directus_policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_policiesCountArgs} args - Arguments to filter Directus_policies to count.
     * @example
     * // Count the number of Directus_policies
     * const count = await prisma.directus_policies.count({
     *   where: {
     *     // ... the filter for the Directus_policies we want to count
     *   }
     * })
    **/
    count<T extends directus_policiesCountArgs>(args?: Prisma.Subset<T, directus_policiesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Directus_policiesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Directus_policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Directus_policiesAggregateArgs} 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_policiesAggregateArgs>(args: Prisma.Subset<T, Directus_policiesAggregateArgs>): Prisma.PrismaPromise<GetDirectus_policiesAggregateType<T>>;
    /**
     * Group by Directus_policies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_policiesGroupByArgs} 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_policiesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: directus_policiesGroupByArgs['orderBy'];
    } : {
        orderBy?: directus_policiesGroupByArgs['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_policiesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectus_policiesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the directus_policies model
     */
    readonly fields: directus_policiesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for directus_policies.
 * 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_policiesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_access<T extends Prisma.directus_policies$directus_accessArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_policies$directus_accessArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_accessPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    directus_permissions<T extends Prisma.directus_policies$directus_permissionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.directus_policies$directus_permissionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_permissionsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    /**
     * 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_policies model
 */
export interface directus_policiesFieldRefs {
    readonly id: Prisma.FieldRef<"directus_policies", 'String'>;
    readonly name: Prisma.FieldRef<"directus_policies", 'String'>;
    readonly icon: Prisma.FieldRef<"directus_policies", 'String'>;
    readonly description: Prisma.FieldRef<"directus_policies", 'String'>;
    readonly ip_access: Prisma.FieldRef<"directus_policies", 'String'>;
    readonly enforce_tfa: Prisma.FieldRef<"directus_policies", 'Boolean'>;
    readonly admin_access: Prisma.FieldRef<"directus_policies", 'Boolean'>;
    readonly app_access: Prisma.FieldRef<"directus_policies", 'Boolean'>;
}
/**
 * directus_policies findUnique
 */
export type directus_policiesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter, which directus_policies to fetch.
     */
    where: Prisma.directus_policiesWhereUniqueInput;
};
/**
 * directus_policies findUniqueOrThrow
 */
export type directus_policiesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter, which directus_policies to fetch.
     */
    where: Prisma.directus_policiesWhereUniqueInput;
};
/**
 * directus_policies findFirst
 */
export type directus_policiesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter, which directus_policies to fetch.
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_policies to fetch.
     */
    orderBy?: Prisma.directus_policiesOrderByWithRelationInput | Prisma.directus_policiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_policies.
     */
    cursor?: Prisma.directus_policiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_policies 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_policies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_policies.
     */
    distinct?: Prisma.Directus_policiesScalarFieldEnum | Prisma.Directus_policiesScalarFieldEnum[];
};
/**
 * directus_policies findFirstOrThrow
 */
export type directus_policiesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter, which directus_policies to fetch.
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_policies to fetch.
     */
    orderBy?: Prisma.directus_policiesOrderByWithRelationInput | Prisma.directus_policiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_policies.
     */
    cursor?: Prisma.directus_policiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_policies 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_policies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_policies.
     */
    distinct?: Prisma.Directus_policiesScalarFieldEnum | Prisma.Directus_policiesScalarFieldEnum[];
};
/**
 * directus_policies findMany
 */
export type directus_policiesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter, which directus_policies to fetch.
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_policies to fetch.
     */
    orderBy?: Prisma.directus_policiesOrderByWithRelationInput | Prisma.directus_policiesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing directus_policies.
     */
    cursor?: Prisma.directus_policiesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_policies 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_policies.
     */
    skip?: number;
    distinct?: Prisma.Directus_policiesScalarFieldEnum | Prisma.Directus_policiesScalarFieldEnum[];
};
/**
 * directus_policies create
 */
export type directus_policiesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * The data needed to create a directus_policies.
     */
    data: Prisma.XOR<Prisma.directus_policiesCreateInput, Prisma.directus_policiesUncheckedCreateInput>;
};
/**
 * directus_policies createMany
 */
export type directus_policiesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many directus_policies.
     */
    data: Prisma.directus_policiesCreateManyInput | Prisma.directus_policiesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_policies createManyAndReturn
 */
export type directus_policiesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * The data used to create many directus_policies.
     */
    data: Prisma.directus_policiesCreateManyInput | Prisma.directus_policiesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_policies update
 */
export type directus_policiesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * The data needed to update a directus_policies.
     */
    data: Prisma.XOR<Prisma.directus_policiesUpdateInput, Prisma.directus_policiesUncheckedUpdateInput>;
    /**
     * Choose, which directus_policies to update.
     */
    where: Prisma.directus_policiesWhereUniqueInput;
};
/**
 * directus_policies updateMany
 */
export type directus_policiesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update directus_policies.
     */
    data: Prisma.XOR<Prisma.directus_policiesUpdateManyMutationInput, Prisma.directus_policiesUncheckedUpdateManyInput>;
    /**
     * Filter which directus_policies to update
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * Limit how many directus_policies to update.
     */
    limit?: number;
};
/**
 * directus_policies updateManyAndReturn
 */
export type directus_policiesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * The data used to update directus_policies.
     */
    data: Prisma.XOR<Prisma.directus_policiesUpdateManyMutationInput, Prisma.directus_policiesUncheckedUpdateManyInput>;
    /**
     * Filter which directus_policies to update
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * Limit how many directus_policies to update.
     */
    limit?: number;
};
/**
 * directus_policies upsert
 */
export type directus_policiesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * The filter to search for the directus_policies to update in case it exists.
     */
    where: Prisma.directus_policiesWhereUniqueInput;
    /**
     * In case the directus_policies found by the `where` argument doesn't exist, create a new directus_policies with this data.
     */
    create: Prisma.XOR<Prisma.directus_policiesCreateInput, Prisma.directus_policiesUncheckedCreateInput>;
    /**
     * In case the directus_policies was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.directus_policiesUpdateInput, Prisma.directus_policiesUncheckedUpdateInput>;
};
/**
 * directus_policies delete
 */
export type directus_policiesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
    /**
     * Filter which directus_policies to delete.
     */
    where: Prisma.directus_policiesWhereUniqueInput;
};
/**
 * directus_policies deleteMany
 */
export type directus_policiesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_policies to delete
     */
    where?: Prisma.directus_policiesWhereInput;
    /**
     * Limit how many directus_policies to delete.
     */
    limit?: number;
};
/**
 * directus_policies.directus_access
 */
export type directus_policies$directus_accessArgs<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;
    where?: Prisma.directus_accessWhereInput;
    orderBy?: Prisma.directus_accessOrderByWithRelationInput | Prisma.directus_accessOrderByWithRelationInput[];
    cursor?: Prisma.directus_accessWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Directus_accessScalarFieldEnum | Prisma.Directus_accessScalarFieldEnum[];
};
/**
 * directus_policies.directus_permissions
 */
export type directus_policies$directus_permissionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_permissions
     */
    select?: Prisma.directus_permissionsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_permissions
     */
    omit?: Prisma.directus_permissionsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_permissionsInclude<ExtArgs> | null;
    where?: Prisma.directus_permissionsWhereInput;
    orderBy?: Prisma.directus_permissionsOrderByWithRelationInput | Prisma.directus_permissionsOrderByWithRelationInput[];
    cursor?: Prisma.directus_permissionsWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Directus_permissionsScalarFieldEnum | Prisma.Directus_permissionsScalarFieldEnum[];
};
/**
 * directus_policies without action
 */
export type directus_policiesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_policies
     */
    select?: Prisma.directus_policiesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_policies
     */
    omit?: Prisma.directus_policiesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_policiesInclude<ExtArgs> | null;
};
export {};
