import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model directus_relations
 * 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_relationsModel = runtime.Types.Result.DefaultSelection<Prisma.$directus_relationsPayload>;
export type AggregateDirectus_relations = {
    _count: Directus_relationsCountAggregateOutputType | null;
    _avg: Directus_relationsAvgAggregateOutputType | null;
    _sum: Directus_relationsSumAggregateOutputType | null;
    _min: Directus_relationsMinAggregateOutputType | null;
    _max: Directus_relationsMaxAggregateOutputType | null;
};
export type Directus_relationsAvgAggregateOutputType = {
    id: number | null;
};
export type Directus_relationsSumAggregateOutputType = {
    id: number | null;
};
export type Directus_relationsMinAggregateOutputType = {
    id: number | null;
    many_collection: string | null;
    many_field: string | null;
    one_collection: string | null;
    one_field: string | null;
    one_collection_field: string | null;
    one_allowed_collections: string | null;
    junction_field: string | null;
    sort_field: string | null;
    one_deselect_action: string | null;
};
export type Directus_relationsMaxAggregateOutputType = {
    id: number | null;
    many_collection: string | null;
    many_field: string | null;
    one_collection: string | null;
    one_field: string | null;
    one_collection_field: string | null;
    one_allowed_collections: string | null;
    junction_field: string | null;
    sort_field: string | null;
    one_deselect_action: string | null;
};
export type Directus_relationsCountAggregateOutputType = {
    id: number;
    many_collection: number;
    many_field: number;
    one_collection: number;
    one_field: number;
    one_collection_field: number;
    one_allowed_collections: number;
    junction_field: number;
    sort_field: number;
    one_deselect_action: number;
    _all: number;
};
export type Directus_relationsAvgAggregateInputType = {
    id?: true;
};
export type Directus_relationsSumAggregateInputType = {
    id?: true;
};
export type Directus_relationsMinAggregateInputType = {
    id?: true;
    many_collection?: true;
    many_field?: true;
    one_collection?: true;
    one_field?: true;
    one_collection_field?: true;
    one_allowed_collections?: true;
    junction_field?: true;
    sort_field?: true;
    one_deselect_action?: true;
};
export type Directus_relationsMaxAggregateInputType = {
    id?: true;
    many_collection?: true;
    many_field?: true;
    one_collection?: true;
    one_field?: true;
    one_collection_field?: true;
    one_allowed_collections?: true;
    junction_field?: true;
    sort_field?: true;
    one_deselect_action?: true;
};
export type Directus_relationsCountAggregateInputType = {
    id?: true;
    many_collection?: true;
    many_field?: true;
    one_collection?: true;
    one_field?: true;
    one_collection_field?: true;
    one_allowed_collections?: true;
    junction_field?: true;
    sort_field?: true;
    one_deselect_action?: true;
    _all?: true;
};
export type Directus_relationsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_relations to aggregate.
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_relations to fetch.
     */
    orderBy?: Prisma.directus_relationsOrderByWithRelationInput | Prisma.directus_relationsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.directus_relationsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_relations 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_relations.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned directus_relations
    **/
    _count?: true | Directus_relationsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Directus_relationsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Directus_relationsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Directus_relationsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Directus_relationsMaxAggregateInputType;
};
export type GetDirectus_relationsAggregateType<T extends Directus_relationsAggregateArgs> = {
    [P in keyof T & keyof AggregateDirectus_relations]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateDirectus_relations[P]> : Prisma.GetScalarType<T[P], AggregateDirectus_relations[P]>;
};
export type directus_relationsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.directus_relationsWhereInput;
    orderBy?: Prisma.directus_relationsOrderByWithAggregationInput | Prisma.directus_relationsOrderByWithAggregationInput[];
    by: Prisma.Directus_relationsScalarFieldEnum[] | Prisma.Directus_relationsScalarFieldEnum;
    having?: Prisma.directus_relationsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Directus_relationsCountAggregateInputType | true;
    _avg?: Directus_relationsAvgAggregateInputType;
    _sum?: Directus_relationsSumAggregateInputType;
    _min?: Directus_relationsMinAggregateInputType;
    _max?: Directus_relationsMaxAggregateInputType;
};
export type Directus_relationsGroupByOutputType = {
    id: number;
    many_collection: string;
    many_field: string;
    one_collection: string | null;
    one_field: string | null;
    one_collection_field: string | null;
    one_allowed_collections: string | null;
    junction_field: string | null;
    sort_field: string | null;
    one_deselect_action: string;
    _count: Directus_relationsCountAggregateOutputType | null;
    _avg: Directus_relationsAvgAggregateOutputType | null;
    _sum: Directus_relationsSumAggregateOutputType | null;
    _min: Directus_relationsMinAggregateOutputType | null;
    _max: Directus_relationsMaxAggregateOutputType | null;
};
type GetDirectus_relationsGroupByPayload<T extends directus_relationsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Directus_relationsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Directus_relationsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Directus_relationsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Directus_relationsGroupByOutputType[P]>;
}>>;
export type directus_relationsWhereInput = {
    AND?: Prisma.directus_relationsWhereInput | Prisma.directus_relationsWhereInput[];
    OR?: Prisma.directus_relationsWhereInput[];
    NOT?: Prisma.directus_relationsWhereInput | Prisma.directus_relationsWhereInput[];
    id?: Prisma.IntFilter<"directus_relations"> | number;
    many_collection?: Prisma.StringFilter<"directus_relations"> | string;
    many_field?: Prisma.StringFilter<"directus_relations"> | string;
    one_collection?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_collection_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_allowed_collections?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    junction_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    sort_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_deselect_action?: Prisma.StringFilter<"directus_relations"> | string;
};
export type directus_relationsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    many_collection?: Prisma.SortOrder;
    many_field?: Prisma.SortOrder;
    one_collection?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_collection_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_allowed_collections?: Prisma.SortOrderInput | Prisma.SortOrder;
    junction_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    sort_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_deselect_action?: Prisma.SortOrder;
};
export type directus_relationsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.directus_relationsWhereInput | Prisma.directus_relationsWhereInput[];
    OR?: Prisma.directus_relationsWhereInput[];
    NOT?: Prisma.directus_relationsWhereInput | Prisma.directus_relationsWhereInput[];
    many_collection?: Prisma.StringFilter<"directus_relations"> | string;
    many_field?: Prisma.StringFilter<"directus_relations"> | string;
    one_collection?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_collection_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_allowed_collections?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    junction_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    sort_field?: Prisma.StringNullableFilter<"directus_relations"> | string | null;
    one_deselect_action?: Prisma.StringFilter<"directus_relations"> | string;
}, "id">;
export type directus_relationsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    many_collection?: Prisma.SortOrder;
    many_field?: Prisma.SortOrder;
    one_collection?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_collection_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_allowed_collections?: Prisma.SortOrderInput | Prisma.SortOrder;
    junction_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    sort_field?: Prisma.SortOrderInput | Prisma.SortOrder;
    one_deselect_action?: Prisma.SortOrder;
    _count?: Prisma.directus_relationsCountOrderByAggregateInput;
    _avg?: Prisma.directus_relationsAvgOrderByAggregateInput;
    _max?: Prisma.directus_relationsMaxOrderByAggregateInput;
    _min?: Prisma.directus_relationsMinOrderByAggregateInput;
    _sum?: Prisma.directus_relationsSumOrderByAggregateInput;
};
export type directus_relationsScalarWhereWithAggregatesInput = {
    AND?: Prisma.directus_relationsScalarWhereWithAggregatesInput | Prisma.directus_relationsScalarWhereWithAggregatesInput[];
    OR?: Prisma.directus_relationsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.directus_relationsScalarWhereWithAggregatesInput | Prisma.directus_relationsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"directus_relations"> | number;
    many_collection?: Prisma.StringWithAggregatesFilter<"directus_relations"> | string;
    many_field?: Prisma.StringWithAggregatesFilter<"directus_relations"> | string;
    one_collection?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    one_field?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    one_collection_field?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    one_allowed_collections?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    junction_field?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    sort_field?: Prisma.StringNullableWithAggregatesFilter<"directus_relations"> | string | null;
    one_deselect_action?: Prisma.StringWithAggregatesFilter<"directus_relations"> | string;
};
export type directus_relationsCreateInput = {
    many_collection: string;
    many_field: string;
    one_collection?: string | null;
    one_field?: string | null;
    one_collection_field?: string | null;
    one_allowed_collections?: string | null;
    junction_field?: string | null;
    sort_field?: string | null;
    one_deselect_action?: string;
};
export type directus_relationsUncheckedCreateInput = {
    id?: number;
    many_collection: string;
    many_field: string;
    one_collection?: string | null;
    one_field?: string | null;
    one_collection_field?: string | null;
    one_allowed_collections?: string | null;
    junction_field?: string | null;
    sort_field?: string | null;
    one_deselect_action?: string;
};
export type directus_relationsUpdateInput = {
    many_collection?: Prisma.StringFieldUpdateOperationsInput | string;
    many_field?: Prisma.StringFieldUpdateOperationsInput | string;
    one_collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_collection_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_allowed_collections?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    junction_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_deselect_action?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type directus_relationsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    many_collection?: Prisma.StringFieldUpdateOperationsInput | string;
    many_field?: Prisma.StringFieldUpdateOperationsInput | string;
    one_collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_collection_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_allowed_collections?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    junction_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_deselect_action?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type directus_relationsCreateManyInput = {
    id?: number;
    many_collection: string;
    many_field: string;
    one_collection?: string | null;
    one_field?: string | null;
    one_collection_field?: string | null;
    one_allowed_collections?: string | null;
    junction_field?: string | null;
    sort_field?: string | null;
    one_deselect_action?: string;
};
export type directus_relationsUpdateManyMutationInput = {
    many_collection?: Prisma.StringFieldUpdateOperationsInput | string;
    many_field?: Prisma.StringFieldUpdateOperationsInput | string;
    one_collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_collection_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_allowed_collections?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    junction_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_deselect_action?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type directus_relationsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    many_collection?: Prisma.StringFieldUpdateOperationsInput | string;
    many_field?: Prisma.StringFieldUpdateOperationsInput | string;
    one_collection?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_collection_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_allowed_collections?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    junction_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    sort_field?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    one_deselect_action?: Prisma.StringFieldUpdateOperationsInput | string;
};
export type directus_relationsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    many_collection?: Prisma.SortOrder;
    many_field?: Prisma.SortOrder;
    one_collection?: Prisma.SortOrder;
    one_field?: Prisma.SortOrder;
    one_collection_field?: Prisma.SortOrder;
    one_allowed_collections?: Prisma.SortOrder;
    junction_field?: Prisma.SortOrder;
    sort_field?: Prisma.SortOrder;
    one_deselect_action?: Prisma.SortOrder;
};
export type directus_relationsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type directus_relationsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    many_collection?: Prisma.SortOrder;
    many_field?: Prisma.SortOrder;
    one_collection?: Prisma.SortOrder;
    one_field?: Prisma.SortOrder;
    one_collection_field?: Prisma.SortOrder;
    one_allowed_collections?: Prisma.SortOrder;
    junction_field?: Prisma.SortOrder;
    sort_field?: Prisma.SortOrder;
    one_deselect_action?: Prisma.SortOrder;
};
export type directus_relationsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    many_collection?: Prisma.SortOrder;
    many_field?: Prisma.SortOrder;
    one_collection?: Prisma.SortOrder;
    one_field?: Prisma.SortOrder;
    one_collection_field?: Prisma.SortOrder;
    one_allowed_collections?: Prisma.SortOrder;
    junction_field?: Prisma.SortOrder;
    sort_field?: Prisma.SortOrder;
    one_deselect_action?: Prisma.SortOrder;
};
export type directus_relationsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type directus_relationsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    many_collection?: boolean;
    many_field?: boolean;
    one_collection?: boolean;
    one_field?: boolean;
    one_collection_field?: boolean;
    one_allowed_collections?: boolean;
    junction_field?: boolean;
    sort_field?: boolean;
    one_deselect_action?: boolean;
}, ExtArgs["result"]["directus_relations"]>;
export type directus_relationsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    many_collection?: boolean;
    many_field?: boolean;
    one_collection?: boolean;
    one_field?: boolean;
    one_collection_field?: boolean;
    one_allowed_collections?: boolean;
    junction_field?: boolean;
    sort_field?: boolean;
    one_deselect_action?: boolean;
}, ExtArgs["result"]["directus_relations"]>;
export type directus_relationsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    many_collection?: boolean;
    many_field?: boolean;
    one_collection?: boolean;
    one_field?: boolean;
    one_collection_field?: boolean;
    one_allowed_collections?: boolean;
    junction_field?: boolean;
    sort_field?: boolean;
    one_deselect_action?: boolean;
}, ExtArgs["result"]["directus_relations"]>;
export type directus_relationsSelectScalar = {
    id?: boolean;
    many_collection?: boolean;
    many_field?: boolean;
    one_collection?: boolean;
    one_field?: boolean;
    one_collection_field?: boolean;
    one_allowed_collections?: boolean;
    junction_field?: boolean;
    sort_field?: boolean;
    one_deselect_action?: boolean;
};
export type directus_relationsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "many_collection" | "many_field" | "one_collection" | "one_field" | "one_collection_field" | "one_allowed_collections" | "junction_field" | "sort_field" | "one_deselect_action", ExtArgs["result"]["directus_relations"]>;
export type $directus_relationsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "directus_relations";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        many_collection: string;
        many_field: string;
        one_collection: string | null;
        one_field: string | null;
        one_collection_field: string | null;
        one_allowed_collections: string | null;
        junction_field: string | null;
        sort_field: string | null;
        one_deselect_action: string;
    }, ExtArgs["result"]["directus_relations"]>;
    composites: {};
};
export type directus_relationsGetPayload<S extends boolean | null | undefined | directus_relationsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload, S>;
export type directus_relationsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<directus_relationsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Directus_relationsCountAggregateInputType | true;
};
export interface directus_relationsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['directus_relations'];
        meta: {
            name: 'directus_relations';
        };
    };
    /**
     * Find zero or one Directus_relations that matches the filter.
     * @param {directus_relationsFindUniqueArgs} args - Arguments to find a Directus_relations
     * @example
     * // Get one Directus_relations
     * const directus_relations = await prisma.directus_relations.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends directus_relationsFindUniqueArgs>(args: Prisma.SelectSubset<T, directus_relationsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Directus_relations that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {directus_relationsFindUniqueOrThrowArgs} args - Arguments to find a Directus_relations
     * @example
     * // Get one Directus_relations
     * const directus_relations = await prisma.directus_relations.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends directus_relationsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, directus_relationsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_relations 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_relationsFindFirstArgs} args - Arguments to find a Directus_relations
     * @example
     * // Get one Directus_relations
     * const directus_relations = await prisma.directus_relations.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends directus_relationsFindFirstArgs>(args?: Prisma.SelectSubset<T, directus_relationsFindFirstArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Directus_relations 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_relationsFindFirstOrThrowArgs} args - Arguments to find a Directus_relations
     * @example
     * // Get one Directus_relations
     * const directus_relations = await prisma.directus_relations.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends directus_relationsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, directus_relationsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Directus_relations 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_relationsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Directus_relations
     * const directus_relations = await prisma.directus_relations.findMany()
     *
     * // Get first 10 Directus_relations
     * const directus_relations = await prisma.directus_relations.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const directus_relationsWithIdOnly = await prisma.directus_relations.findMany({ select: { id: true } })
     *
     */
    findMany<T extends directus_relationsFindManyArgs>(args?: Prisma.SelectSubset<T, directus_relationsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Directus_relations.
     * @param {directus_relationsCreateArgs} args - Arguments to create a Directus_relations.
     * @example
     * // Create one Directus_relations
     * const Directus_relations = await prisma.directus_relations.create({
     *   data: {
     *     // ... data to create a Directus_relations
     *   }
     * })
     *
     */
    create<T extends directus_relationsCreateArgs>(args: Prisma.SelectSubset<T, directus_relationsCreateArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Directus_relations.
     * @param {directus_relationsCreateManyArgs} args - Arguments to create many Directus_relations.
     * @example
     * // Create many Directus_relations
     * const directus_relations = await prisma.directus_relations.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends directus_relationsCreateManyArgs>(args?: Prisma.SelectSubset<T, directus_relationsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Directus_relations and returns the data saved in the database.
     * @param {directus_relationsCreateManyAndReturnArgs} args - Arguments to create many Directus_relations.
     * @example
     * // Create many Directus_relations
     * const directus_relations = await prisma.directus_relations.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Directus_relations and only return the `id`
     * const directus_relationsWithIdOnly = await prisma.directus_relations.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_relationsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, directus_relationsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Directus_relations.
     * @param {directus_relationsDeleteArgs} args - Arguments to delete one Directus_relations.
     * @example
     * // Delete one Directus_relations
     * const Directus_relations = await prisma.directus_relations.delete({
     *   where: {
     *     // ... filter to delete one Directus_relations
     *   }
     * })
     *
     */
    delete<T extends directus_relationsDeleteArgs>(args: Prisma.SelectSubset<T, directus_relationsDeleteArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Directus_relations.
     * @param {directus_relationsUpdateArgs} args - Arguments to update one Directus_relations.
     * @example
     * // Update one Directus_relations
     * const directus_relations = await prisma.directus_relations.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends directus_relationsUpdateArgs>(args: Prisma.SelectSubset<T, directus_relationsUpdateArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Directus_relations.
     * @param {directus_relationsDeleteManyArgs} args - Arguments to filter Directus_relations to delete.
     * @example
     * // Delete a few Directus_relations
     * const { count } = await prisma.directus_relations.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends directus_relationsDeleteManyArgs>(args?: Prisma.SelectSubset<T, directus_relationsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_relations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_relationsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Directus_relations
     * const directus_relations = await prisma.directus_relations.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends directus_relationsUpdateManyArgs>(args: Prisma.SelectSubset<T, directus_relationsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Directus_relations and returns the data updated in the database.
     * @param {directus_relationsUpdateManyAndReturnArgs} args - Arguments to update many Directus_relations.
     * @example
     * // Update many Directus_relations
     * const directus_relations = await prisma.directus_relations.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Directus_relations and only return the `id`
     * const directus_relationsWithIdOnly = await prisma.directus_relations.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_relationsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, directus_relationsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Directus_relations.
     * @param {directus_relationsUpsertArgs} args - Arguments to update or create a Directus_relations.
     * @example
     * // Update or create a Directus_relations
     * const directus_relations = await prisma.directus_relations.upsert({
     *   create: {
     *     // ... data to create a Directus_relations
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Directus_relations we want to update
     *   }
     * })
     */
    upsert<T extends directus_relationsUpsertArgs>(args: Prisma.SelectSubset<T, directus_relationsUpsertArgs<ExtArgs>>): Prisma.Prisma__directus_relationsClient<runtime.Types.Result.GetResult<Prisma.$directus_relationsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Directus_relations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_relationsCountArgs} args - Arguments to filter Directus_relations to count.
     * @example
     * // Count the number of Directus_relations
     * const count = await prisma.directus_relations.count({
     *   where: {
     *     // ... the filter for the Directus_relations we want to count
     *   }
     * })
    **/
    count<T extends directus_relationsCountArgs>(args?: Prisma.Subset<T, directus_relationsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Directus_relationsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Directus_relations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Directus_relationsAggregateArgs} 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_relationsAggregateArgs>(args: Prisma.Subset<T, Directus_relationsAggregateArgs>): Prisma.PrismaPromise<GetDirectus_relationsAggregateType<T>>;
    /**
     * Group by Directus_relations.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {directus_relationsGroupByArgs} 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_relationsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: directus_relationsGroupByArgs['orderBy'];
    } : {
        orderBy?: directus_relationsGroupByArgs['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_relationsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDirectus_relationsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the directus_relations model
     */
    readonly fields: directus_relationsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for directus_relations.
 * 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_relationsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    /**
     * 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_relations model
 */
export interface directus_relationsFieldRefs {
    readonly id: Prisma.FieldRef<"directus_relations", 'Int'>;
    readonly many_collection: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly many_field: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly one_collection: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly one_field: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly one_collection_field: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly one_allowed_collections: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly junction_field: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly sort_field: Prisma.FieldRef<"directus_relations", 'String'>;
    readonly one_deselect_action: Prisma.FieldRef<"directus_relations", 'String'>;
}
/**
 * directus_relations findUnique
 */
export type directus_relationsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_relations to fetch.
     */
    where: Prisma.directus_relationsWhereUniqueInput;
};
/**
 * directus_relations findUniqueOrThrow
 */
export type directus_relationsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_relations to fetch.
     */
    where: Prisma.directus_relationsWhereUniqueInput;
};
/**
 * directus_relations findFirst
 */
export type directus_relationsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_relations to fetch.
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_relations to fetch.
     */
    orderBy?: Prisma.directus_relationsOrderByWithRelationInput | Prisma.directus_relationsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_relations.
     */
    cursor?: Prisma.directus_relationsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_relations 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_relations.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_relations.
     */
    distinct?: Prisma.Directus_relationsScalarFieldEnum | Prisma.Directus_relationsScalarFieldEnum[];
};
/**
 * directus_relations findFirstOrThrow
 */
export type directus_relationsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_relations to fetch.
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_relations to fetch.
     */
    orderBy?: Prisma.directus_relationsOrderByWithRelationInput | Prisma.directus_relationsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for directus_relations.
     */
    cursor?: Prisma.directus_relationsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_relations 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_relations.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of directus_relations.
     */
    distinct?: Prisma.Directus_relationsScalarFieldEnum | Prisma.Directus_relationsScalarFieldEnum[];
};
/**
 * directus_relations findMany
 */
export type directus_relationsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter, which directus_relations to fetch.
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of directus_relations to fetch.
     */
    orderBy?: Prisma.directus_relationsOrderByWithRelationInput | Prisma.directus_relationsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing directus_relations.
     */
    cursor?: Prisma.directus_relationsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` directus_relations 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_relations.
     */
    skip?: number;
    distinct?: Prisma.Directus_relationsScalarFieldEnum | Prisma.Directus_relationsScalarFieldEnum[];
};
/**
 * directus_relations create
 */
export type directus_relationsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * The data needed to create a directus_relations.
     */
    data: Prisma.XOR<Prisma.directus_relationsCreateInput, Prisma.directus_relationsUncheckedCreateInput>;
};
/**
 * directus_relations createMany
 */
export type directus_relationsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many directus_relations.
     */
    data: Prisma.directus_relationsCreateManyInput | Prisma.directus_relationsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_relations createManyAndReturn
 */
export type directus_relationsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * The data used to create many directus_relations.
     */
    data: Prisma.directus_relationsCreateManyInput | Prisma.directus_relationsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * directus_relations update
 */
export type directus_relationsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * The data needed to update a directus_relations.
     */
    data: Prisma.XOR<Prisma.directus_relationsUpdateInput, Prisma.directus_relationsUncheckedUpdateInput>;
    /**
     * Choose, which directus_relations to update.
     */
    where: Prisma.directus_relationsWhereUniqueInput;
};
/**
 * directus_relations updateMany
 */
export type directus_relationsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update directus_relations.
     */
    data: Prisma.XOR<Prisma.directus_relationsUpdateManyMutationInput, Prisma.directus_relationsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_relations to update
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * Limit how many directus_relations to update.
     */
    limit?: number;
};
/**
 * directus_relations updateManyAndReturn
 */
export type directus_relationsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * The data used to update directus_relations.
     */
    data: Prisma.XOR<Prisma.directus_relationsUpdateManyMutationInput, Prisma.directus_relationsUncheckedUpdateManyInput>;
    /**
     * Filter which directus_relations to update
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * Limit how many directus_relations to update.
     */
    limit?: number;
};
/**
 * directus_relations upsert
 */
export type directus_relationsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * The filter to search for the directus_relations to update in case it exists.
     */
    where: Prisma.directus_relationsWhereUniqueInput;
    /**
     * In case the directus_relations found by the `where` argument doesn't exist, create a new directus_relations with this data.
     */
    create: Prisma.XOR<Prisma.directus_relationsCreateInput, Prisma.directus_relationsUncheckedCreateInput>;
    /**
     * In case the directus_relations was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.directus_relationsUpdateInput, Prisma.directus_relationsUncheckedUpdateInput>;
};
/**
 * directus_relations delete
 */
export type directus_relationsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
    /**
     * Filter which directus_relations to delete.
     */
    where: Prisma.directus_relationsWhereUniqueInput;
};
/**
 * directus_relations deleteMany
 */
export type directus_relationsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which directus_relations to delete
     */
    where?: Prisma.directus_relationsWhereInput;
    /**
     * Limit how many directus_relations to delete.
     */
    limit?: number;
};
/**
 * directus_relations without action
 */
export type directus_relationsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_relations
     */
    select?: Prisma.directus_relationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_relations
     */
    omit?: Prisma.directus_relationsOmit<ExtArgs> | null;
};
export {};
