import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model agreements_directus_users
 * 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 agreements_directus_usersModel = runtime.Types.Result.DefaultSelection<Prisma.$agreements_directus_usersPayload>;
export type AggregateAgreements_directus_users = {
    _count: Agreements_directus_usersCountAggregateOutputType | null;
    _avg: Agreements_directus_usersAvgAggregateOutputType | null;
    _sum: Agreements_directus_usersSumAggregateOutputType | null;
    _min: Agreements_directus_usersMinAggregateOutputType | null;
    _max: Agreements_directus_usersMaxAggregateOutputType | null;
};
export type Agreements_directus_usersAvgAggregateOutputType = {
    id: number | null;
};
export type Agreements_directus_usersSumAggregateOutputType = {
    id: number | null;
};
export type Agreements_directus_usersMinAggregateOutputType = {
    id: number | null;
    user_id: string | null;
};
export type Agreements_directus_usersMaxAggregateOutputType = {
    id: number | null;
    user_id: string | null;
};
export type Agreements_directus_usersCountAggregateOutputType = {
    id: number;
    user_id: number;
    _all: number;
};
export type Agreements_directus_usersAvgAggregateInputType = {
    id?: true;
};
export type Agreements_directus_usersSumAggregateInputType = {
    id?: true;
};
export type Agreements_directus_usersMinAggregateInputType = {
    id?: true;
    user_id?: true;
};
export type Agreements_directus_usersMaxAggregateInputType = {
    id?: true;
    user_id?: true;
};
export type Agreements_directus_usersCountAggregateInputType = {
    id?: true;
    user_id?: true;
    _all?: true;
};
export type Agreements_directus_usersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements_directus_users to aggregate.
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_directus_users to fetch.
     */
    orderBy?: Prisma.agreements_directus_usersOrderByWithRelationInput | Prisma.agreements_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.agreements_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_directus_users 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` agreements_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned agreements_directus_users
    **/
    _count?: true | Agreements_directus_usersCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Agreements_directus_usersAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Agreements_directus_usersSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Agreements_directus_usersMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Agreements_directus_usersMaxAggregateInputType;
};
export type GetAgreements_directus_usersAggregateType<T extends Agreements_directus_usersAggregateArgs> = {
    [P in keyof T & keyof AggregateAgreements_directus_users]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgreements_directus_users[P]> : Prisma.GetScalarType<T[P], AggregateAgreements_directus_users[P]>;
};
export type agreements_directus_usersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.agreements_directus_usersWhereInput;
    orderBy?: Prisma.agreements_directus_usersOrderByWithAggregationInput | Prisma.agreements_directus_usersOrderByWithAggregationInput[];
    by: Prisma.Agreements_directus_usersScalarFieldEnum[] | Prisma.Agreements_directus_usersScalarFieldEnum;
    having?: Prisma.agreements_directus_usersScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Agreements_directus_usersCountAggregateInputType | true;
    _avg?: Agreements_directus_usersAvgAggregateInputType;
    _sum?: Agreements_directus_usersSumAggregateInputType;
    _min?: Agreements_directus_usersMinAggregateInputType;
    _max?: Agreements_directus_usersMaxAggregateInputType;
};
export type Agreements_directus_usersGroupByOutputType = {
    id: number;
    user_id: string | null;
    _count: Agreements_directus_usersCountAggregateOutputType | null;
    _avg: Agreements_directus_usersAvgAggregateOutputType | null;
    _sum: Agreements_directus_usersSumAggregateOutputType | null;
    _min: Agreements_directus_usersMinAggregateOutputType | null;
    _max: Agreements_directus_usersMaxAggregateOutputType | null;
};
type GetAgreements_directus_usersGroupByPayload<T extends agreements_directus_usersGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Agreements_directus_usersGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Agreements_directus_usersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Agreements_directus_usersGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Agreements_directus_usersGroupByOutputType[P]>;
}>>;
export type agreements_directus_usersWhereInput = {
    AND?: Prisma.agreements_directus_usersWhereInput | Prisma.agreements_directus_usersWhereInput[];
    OR?: Prisma.agreements_directus_usersWhereInput[];
    NOT?: Prisma.agreements_directus_usersWhereInput | Prisma.agreements_directus_usersWhereInput[];
    id?: Prisma.IntFilter<"agreements_directus_users"> | number;
    user_id?: Prisma.UuidNullableFilter<"agreements_directus_users"> | string | null;
};
export type agreements_directus_usersOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
};
export type agreements_directus_usersWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.agreements_directus_usersWhereInput | Prisma.agreements_directus_usersWhereInput[];
    OR?: Prisma.agreements_directus_usersWhereInput[];
    NOT?: Prisma.agreements_directus_usersWhereInput | Prisma.agreements_directus_usersWhereInput[];
    user_id?: Prisma.UuidNullableFilter<"agreements_directus_users"> | string | null;
}, "id">;
export type agreements_directus_usersOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.agreements_directus_usersCountOrderByAggregateInput;
    _avg?: Prisma.agreements_directus_usersAvgOrderByAggregateInput;
    _max?: Prisma.agreements_directus_usersMaxOrderByAggregateInput;
    _min?: Prisma.agreements_directus_usersMinOrderByAggregateInput;
    _sum?: Prisma.agreements_directus_usersSumOrderByAggregateInput;
};
export type agreements_directus_usersScalarWhereWithAggregatesInput = {
    AND?: Prisma.agreements_directus_usersScalarWhereWithAggregatesInput | Prisma.agreements_directus_usersScalarWhereWithAggregatesInput[];
    OR?: Prisma.agreements_directus_usersScalarWhereWithAggregatesInput[];
    NOT?: Prisma.agreements_directus_usersScalarWhereWithAggregatesInput | Prisma.agreements_directus_usersScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"agreements_directus_users"> | number;
    user_id?: Prisma.UuidNullableWithAggregatesFilter<"agreements_directus_users"> | string | null;
};
export type agreements_directus_usersCreateInput = {
    user_id?: string | null;
};
export type agreements_directus_usersUncheckedCreateInput = {
    id?: number;
    user_id?: string | null;
};
export type agreements_directus_usersUpdateInput = {
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type agreements_directus_usersUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type agreements_directus_usersCreateManyInput = {
    id?: number;
    user_id?: string | null;
};
export type agreements_directus_usersUpdateManyMutationInput = {
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type agreements_directus_usersUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type agreements_directus_usersCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type agreements_directus_usersAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type agreements_directus_usersMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type agreements_directus_usersMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type agreements_directus_usersSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
};
export type agreements_directus_usersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
}, ExtArgs["result"]["agreements_directus_users"]>;
export type agreements_directus_usersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
}, ExtArgs["result"]["agreements_directus_users"]>;
export type agreements_directus_usersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    user_id?: boolean;
}, ExtArgs["result"]["agreements_directus_users"]>;
export type agreements_directus_usersSelectScalar = {
    id?: boolean;
    user_id?: boolean;
};
export type agreements_directus_usersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id", ExtArgs["result"]["agreements_directus_users"]>;
export type $agreements_directus_usersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "agreements_directus_users";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        user_id: string | null;
    }, ExtArgs["result"]["agreements_directus_users"]>;
    composites: {};
};
export type agreements_directus_usersGetPayload<S extends boolean | null | undefined | agreements_directus_usersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload, S>;
export type agreements_directus_usersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<agreements_directus_usersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Agreements_directus_usersCountAggregateInputType | true;
};
export interface agreements_directus_usersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['agreements_directus_users'];
        meta: {
            name: 'agreements_directus_users';
        };
    };
    /**
     * Find zero or one Agreements_directus_users that matches the filter.
     * @param {agreements_directus_usersFindUniqueArgs} args - Arguments to find a Agreements_directus_users
     * @example
     * // Get one Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends agreements_directus_usersFindUniqueArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Agreements_directus_users that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {agreements_directus_usersFindUniqueOrThrowArgs} args - Arguments to find a Agreements_directus_users
     * @example
     * // Get one Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends agreements_directus_usersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Agreements_directus_users 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 {agreements_directus_usersFindFirstArgs} args - Arguments to find a Agreements_directus_users
     * @example
     * // Get one Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends agreements_directus_usersFindFirstArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersFindFirstArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Agreements_directus_users 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 {agreements_directus_usersFindFirstOrThrowArgs} args - Arguments to find a Agreements_directus_users
     * @example
     * // Get one Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends agreements_directus_usersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Agreements_directus_users 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 {agreements_directus_usersFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findMany()
     *
     * // Get first 10 Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const agreements_directus_usersWithIdOnly = await prisma.agreements_directus_users.findMany({ select: { id: true } })
     *
     */
    findMany<T extends agreements_directus_usersFindManyArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Agreements_directus_users.
     * @param {agreements_directus_usersCreateArgs} args - Arguments to create a Agreements_directus_users.
     * @example
     * // Create one Agreements_directus_users
     * const Agreements_directus_users = await prisma.agreements_directus_users.create({
     *   data: {
     *     // ... data to create a Agreements_directus_users
     *   }
     * })
     *
     */
    create<T extends agreements_directus_usersCreateArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersCreateArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Agreements_directus_users.
     * @param {agreements_directus_usersCreateManyArgs} args - Arguments to create many Agreements_directus_users.
     * @example
     * // Create many Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends agreements_directus_usersCreateManyArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Agreements_directus_users and returns the data saved in the database.
     * @param {agreements_directus_usersCreateManyAndReturnArgs} args - Arguments to create many Agreements_directus_users.
     * @example
     * // Create many Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Agreements_directus_users and only return the `id`
     * const agreements_directus_usersWithIdOnly = await prisma.agreements_directus_users.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 agreements_directus_usersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Agreements_directus_users.
     * @param {agreements_directus_usersDeleteArgs} args - Arguments to delete one Agreements_directus_users.
     * @example
     * // Delete one Agreements_directus_users
     * const Agreements_directus_users = await prisma.agreements_directus_users.delete({
     *   where: {
     *     // ... filter to delete one Agreements_directus_users
     *   }
     * })
     *
     */
    delete<T extends agreements_directus_usersDeleteArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersDeleteArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Agreements_directus_users.
     * @param {agreements_directus_usersUpdateArgs} args - Arguments to update one Agreements_directus_users.
     * @example
     * // Update one Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends agreements_directus_usersUpdateArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersUpdateArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Agreements_directus_users.
     * @param {agreements_directus_usersDeleteManyArgs} args - Arguments to filter Agreements_directus_users to delete.
     * @example
     * // Delete a few Agreements_directus_users
     * const { count } = await prisma.agreements_directus_users.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends agreements_directus_usersDeleteManyArgs>(args?: Prisma.SelectSubset<T, agreements_directus_usersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_directus_usersUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends agreements_directus_usersUpdateManyArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements_directus_users and returns the data updated in the database.
     * @param {agreements_directus_usersUpdateManyAndReturnArgs} args - Arguments to update many Agreements_directus_users.
     * @example
     * // Update many Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Agreements_directus_users and only return the `id`
     * const agreements_directus_usersWithIdOnly = await prisma.agreements_directus_users.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 agreements_directus_usersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Agreements_directus_users.
     * @param {agreements_directus_usersUpsertArgs} args - Arguments to update or create a Agreements_directus_users.
     * @example
     * // Update or create a Agreements_directus_users
     * const agreements_directus_users = await prisma.agreements_directus_users.upsert({
     *   create: {
     *     // ... data to create a Agreements_directus_users
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Agreements_directus_users we want to update
     *   }
     * })
     */
    upsert<T extends agreements_directus_usersUpsertArgs>(args: Prisma.SelectSubset<T, agreements_directus_usersUpsertArgs<ExtArgs>>): Prisma.Prisma__agreements_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$agreements_directus_usersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Agreements_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_directus_usersCountArgs} args - Arguments to filter Agreements_directus_users to count.
     * @example
     * // Count the number of Agreements_directus_users
     * const count = await prisma.agreements_directus_users.count({
     *   where: {
     *     // ... the filter for the Agreements_directus_users we want to count
     *   }
     * })
    **/
    count<T extends agreements_directus_usersCountArgs>(args?: Prisma.Subset<T, agreements_directus_usersCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Agreements_directus_usersCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Agreements_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Agreements_directus_usersAggregateArgs} 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 Agreements_directus_usersAggregateArgs>(args: Prisma.Subset<T, Agreements_directus_usersAggregateArgs>): Prisma.PrismaPromise<GetAgreements_directus_usersAggregateType<T>>;
    /**
     * Group by Agreements_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_directus_usersGroupByArgs} 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 agreements_directus_usersGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: agreements_directus_usersGroupByArgs['orderBy'];
    } : {
        orderBy?: agreements_directus_usersGroupByArgs['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, agreements_directus_usersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgreements_directus_usersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the agreements_directus_users model
     */
    readonly fields: agreements_directus_usersFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for agreements_directus_users.
 * 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__agreements_directus_usersClient<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 agreements_directus_users model
 */
export interface agreements_directus_usersFieldRefs {
    readonly id: Prisma.FieldRef<"agreements_directus_users", 'Int'>;
    readonly user_id: Prisma.FieldRef<"agreements_directus_users", 'String'>;
}
/**
 * agreements_directus_users findUnique
 */
export type agreements_directus_usersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter, which agreements_directus_users to fetch.
     */
    where: Prisma.agreements_directus_usersWhereUniqueInput;
};
/**
 * agreements_directus_users findUniqueOrThrow
 */
export type agreements_directus_usersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter, which agreements_directus_users to fetch.
     */
    where: Prisma.agreements_directus_usersWhereUniqueInput;
};
/**
 * agreements_directus_users findFirst
 */
export type agreements_directus_usersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter, which agreements_directus_users to fetch.
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_directus_users to fetch.
     */
    orderBy?: Prisma.agreements_directus_usersOrderByWithRelationInput | Prisma.agreements_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements_directus_users.
     */
    cursor?: Prisma.agreements_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_directus_users 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` agreements_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements_directus_users.
     */
    distinct?: Prisma.Agreements_directus_usersScalarFieldEnum | Prisma.Agreements_directus_usersScalarFieldEnum[];
};
/**
 * agreements_directus_users findFirstOrThrow
 */
export type agreements_directus_usersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter, which agreements_directus_users to fetch.
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_directus_users to fetch.
     */
    orderBy?: Prisma.agreements_directus_usersOrderByWithRelationInput | Prisma.agreements_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements_directus_users.
     */
    cursor?: Prisma.agreements_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_directus_users 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` agreements_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements_directus_users.
     */
    distinct?: Prisma.Agreements_directus_usersScalarFieldEnum | Prisma.Agreements_directus_usersScalarFieldEnum[];
};
/**
 * agreements_directus_users findMany
 */
export type agreements_directus_usersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter, which agreements_directus_users to fetch.
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_directus_users to fetch.
     */
    orderBy?: Prisma.agreements_directus_usersOrderByWithRelationInput | Prisma.agreements_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing agreements_directus_users.
     */
    cursor?: Prisma.agreements_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_directus_users 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` agreements_directus_users.
     */
    skip?: number;
    distinct?: Prisma.Agreements_directus_usersScalarFieldEnum | Prisma.Agreements_directus_usersScalarFieldEnum[];
};
/**
 * agreements_directus_users create
 */
export type agreements_directus_usersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * The data needed to create a agreements_directus_users.
     */
    data?: Prisma.XOR<Prisma.agreements_directus_usersCreateInput, Prisma.agreements_directus_usersUncheckedCreateInput>;
};
/**
 * agreements_directus_users createMany
 */
export type agreements_directus_usersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many agreements_directus_users.
     */
    data: Prisma.agreements_directus_usersCreateManyInput | Prisma.agreements_directus_usersCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * agreements_directus_users createManyAndReturn
 */
export type agreements_directus_usersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * The data used to create many agreements_directus_users.
     */
    data: Prisma.agreements_directus_usersCreateManyInput | Prisma.agreements_directus_usersCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * agreements_directus_users update
 */
export type agreements_directus_usersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * The data needed to update a agreements_directus_users.
     */
    data: Prisma.XOR<Prisma.agreements_directus_usersUpdateInput, Prisma.agreements_directus_usersUncheckedUpdateInput>;
    /**
     * Choose, which agreements_directus_users to update.
     */
    where: Prisma.agreements_directus_usersWhereUniqueInput;
};
/**
 * agreements_directus_users updateMany
 */
export type agreements_directus_usersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update agreements_directus_users.
     */
    data: Prisma.XOR<Prisma.agreements_directus_usersUpdateManyMutationInput, Prisma.agreements_directus_usersUncheckedUpdateManyInput>;
    /**
     * Filter which agreements_directus_users to update
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * Limit how many agreements_directus_users to update.
     */
    limit?: number;
};
/**
 * agreements_directus_users updateManyAndReturn
 */
export type agreements_directus_usersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * The data used to update agreements_directus_users.
     */
    data: Prisma.XOR<Prisma.agreements_directus_usersUpdateManyMutationInput, Prisma.agreements_directus_usersUncheckedUpdateManyInput>;
    /**
     * Filter which agreements_directus_users to update
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * Limit how many agreements_directus_users to update.
     */
    limit?: number;
};
/**
 * agreements_directus_users upsert
 */
export type agreements_directus_usersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * The filter to search for the agreements_directus_users to update in case it exists.
     */
    where: Prisma.agreements_directus_usersWhereUniqueInput;
    /**
     * In case the agreements_directus_users found by the `where` argument doesn't exist, create a new agreements_directus_users with this data.
     */
    create: Prisma.XOR<Prisma.agreements_directus_usersCreateInput, Prisma.agreements_directus_usersUncheckedCreateInput>;
    /**
     * In case the agreements_directus_users was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.agreements_directus_usersUpdateInput, Prisma.agreements_directus_usersUncheckedUpdateInput>;
};
/**
 * agreements_directus_users delete
 */
export type agreements_directus_usersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
    /**
     * Filter which agreements_directus_users to delete.
     */
    where: Prisma.agreements_directus_usersWhereUniqueInput;
};
/**
 * agreements_directus_users deleteMany
 */
export type agreements_directus_usersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements_directus_users to delete
     */
    where?: Prisma.agreements_directus_usersWhereInput;
    /**
     * Limit how many agreements_directus_users to delete.
     */
    limit?: number;
};
/**
 * agreements_directus_users without action
 */
export type agreements_directus_usersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_directus_users
     */
    select?: Prisma.agreements_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_directus_users
     */
    omit?: Prisma.agreements_directus_usersOmit<ExtArgs> | null;
};
export {};
