import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model products_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 products_directus_usersModel = runtime.Types.Result.DefaultSelection<Prisma.$products_directus_usersPayload>;
export type AggregateProducts_directus_users = {
    _count: Products_directus_usersCountAggregateOutputType | null;
    _avg: Products_directus_usersAvgAggregateOutputType | null;
    _sum: Products_directus_usersSumAggregateOutputType | null;
    _min: Products_directus_usersMinAggregateOutputType | null;
    _max: Products_directus_usersMaxAggregateOutputType | null;
};
export type Products_directus_usersAvgAggregateOutputType = {
    id: number | null;
    product_id: number | null;
};
export type Products_directus_usersSumAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
};
export type Products_directus_usersMinAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
    user_id: string | null;
};
export type Products_directus_usersMaxAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
    user_id: string | null;
};
export type Products_directus_usersCountAggregateOutputType = {
    id: number;
    product_id: number;
    user_id: number;
    _all: number;
};
export type Products_directus_usersAvgAggregateInputType = {
    id?: true;
    product_id?: true;
};
export type Products_directus_usersSumAggregateInputType = {
    id?: true;
    product_id?: true;
};
export type Products_directus_usersMinAggregateInputType = {
    id?: true;
    product_id?: true;
    user_id?: true;
};
export type Products_directus_usersMaxAggregateInputType = {
    id?: true;
    product_id?: true;
    user_id?: true;
};
export type Products_directus_usersCountAggregateInputType = {
    id?: true;
    product_id?: true;
    user_id?: true;
    _all?: true;
};
export type Products_directus_usersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_directus_users to aggregate.
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_directus_users to fetch.
     */
    orderBy?: Prisma.products_directus_usersOrderByWithRelationInput | Prisma.products_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.products_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_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` products_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned products_directus_users
    **/
    _count?: true | Products_directus_usersCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Products_directus_usersAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Products_directus_usersSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Products_directus_usersMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Products_directus_usersMaxAggregateInputType;
};
export type GetProducts_directus_usersAggregateType<T extends Products_directus_usersAggregateArgs> = {
    [P in keyof T & keyof AggregateProducts_directus_users]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProducts_directus_users[P]> : Prisma.GetScalarType<T[P], AggregateProducts_directus_users[P]>;
};
export type products_directus_usersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.products_directus_usersWhereInput;
    orderBy?: Prisma.products_directus_usersOrderByWithAggregationInput | Prisma.products_directus_usersOrderByWithAggregationInput[];
    by: Prisma.Products_directus_usersScalarFieldEnum[] | Prisma.Products_directus_usersScalarFieldEnum;
    having?: Prisma.products_directus_usersScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Products_directus_usersCountAggregateInputType | true;
    _avg?: Products_directus_usersAvgAggregateInputType;
    _sum?: Products_directus_usersSumAggregateInputType;
    _min?: Products_directus_usersMinAggregateInputType;
    _max?: Products_directus_usersMaxAggregateInputType;
};
export type Products_directus_usersGroupByOutputType = {
    id: number;
    product_id: bigint | null;
    user_id: string | null;
    _count: Products_directus_usersCountAggregateOutputType | null;
    _avg: Products_directus_usersAvgAggregateOutputType | null;
    _sum: Products_directus_usersSumAggregateOutputType | null;
    _min: Products_directus_usersMinAggregateOutputType | null;
    _max: Products_directus_usersMaxAggregateOutputType | null;
};
type GetProducts_directus_usersGroupByPayload<T extends products_directus_usersGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Products_directus_usersGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Products_directus_usersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Products_directus_usersGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Products_directus_usersGroupByOutputType[P]>;
}>>;
export type products_directus_usersWhereInput = {
    AND?: Prisma.products_directus_usersWhereInput | Prisma.products_directus_usersWhereInput[];
    OR?: Prisma.products_directus_usersWhereInput[];
    NOT?: Prisma.products_directus_usersWhereInput | Prisma.products_directus_usersWhereInput[];
    id?: Prisma.IntFilter<"products_directus_users"> | number;
    product_id?: Prisma.BigIntNullableFilter<"products_directus_users"> | bigint | number | null;
    user_id?: Prisma.UuidNullableFilter<"products_directus_users"> | string | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type products_directus_usersOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type products_directus_usersWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.products_directus_usersWhereInput | Prisma.products_directus_usersWhereInput[];
    OR?: Prisma.products_directus_usersWhereInput[];
    NOT?: Prisma.products_directus_usersWhereInput | Prisma.products_directus_usersWhereInput[];
    product_id?: Prisma.BigIntNullableFilter<"products_directus_users"> | bigint | number | null;
    user_id?: Prisma.UuidNullableFilter<"products_directus_users"> | string | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type products_directus_usersOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    user_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.products_directus_usersCountOrderByAggregateInput;
    _avg?: Prisma.products_directus_usersAvgOrderByAggregateInput;
    _max?: Prisma.products_directus_usersMaxOrderByAggregateInput;
    _min?: Prisma.products_directus_usersMinOrderByAggregateInput;
    _sum?: Prisma.products_directus_usersSumOrderByAggregateInput;
};
export type products_directus_usersScalarWhereWithAggregatesInput = {
    AND?: Prisma.products_directus_usersScalarWhereWithAggregatesInput | Prisma.products_directus_usersScalarWhereWithAggregatesInput[];
    OR?: Prisma.products_directus_usersScalarWhereWithAggregatesInput[];
    NOT?: Prisma.products_directus_usersScalarWhereWithAggregatesInput | Prisma.products_directus_usersScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"products_directus_users"> | number;
    product_id?: Prisma.BigIntNullableWithAggregatesFilter<"products_directus_users"> | bigint | number | null;
    user_id?: Prisma.UuidNullableWithAggregatesFilter<"products_directus_users"> | string | null;
};
export type products_directus_usersCreateInput = {
    user_id?: string | null;
    products?: Prisma.productsCreateNestedOneWithoutProducts_directus_usersInput;
};
export type products_directus_usersUncheckedCreateInput = {
    id?: number;
    product_id?: bigint | number | null;
    user_id?: string | null;
};
export type products_directus_usersUpdateInput = {
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    products?: Prisma.productsUpdateOneWithoutProducts_directus_usersNestedInput;
};
export type products_directus_usersUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    product_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type products_directus_usersCreateManyInput = {
    id?: number;
    product_id?: bigint | number | null;
    user_id?: string | null;
};
export type products_directus_usersUpdateManyMutationInput = {
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type products_directus_usersUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    product_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type Products_directus_usersListRelationFilter = {
    every?: Prisma.products_directus_usersWhereInput;
    some?: Prisma.products_directus_usersWhereInput;
    none?: Prisma.products_directus_usersWhereInput;
};
export type products_directus_usersOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type products_directus_usersCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type products_directus_usersAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
};
export type products_directus_usersMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type products_directus_usersMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    user_id?: Prisma.SortOrder;
};
export type products_directus_usersSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
};
export type products_directus_usersCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput> | Prisma.products_directus_usersCreateWithoutProductsInput[] | Prisma.products_directus_usersUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_directus_usersCreateOrConnectWithoutProductsInput | Prisma.products_directus_usersCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_directus_usersCreateManyProductsInputEnvelope;
    connect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
};
export type products_directus_usersUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput> | Prisma.products_directus_usersCreateWithoutProductsInput[] | Prisma.products_directus_usersUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_directus_usersCreateOrConnectWithoutProductsInput | Prisma.products_directus_usersCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_directus_usersCreateManyProductsInputEnvelope;
    connect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
};
export type products_directus_usersUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput> | Prisma.products_directus_usersCreateWithoutProductsInput[] | Prisma.products_directus_usersUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_directus_usersCreateOrConnectWithoutProductsInput | Prisma.products_directus_usersCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_directus_usersUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_directus_usersUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_directus_usersCreateManyProductsInputEnvelope;
    set?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    disconnect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    delete?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    connect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    update?: Prisma.products_directus_usersUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_directus_usersUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_directus_usersUpdateManyWithWhereWithoutProductsInput | Prisma.products_directus_usersUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_directus_usersScalarWhereInput | Prisma.products_directus_usersScalarWhereInput[];
};
export type products_directus_usersUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput> | Prisma.products_directus_usersCreateWithoutProductsInput[] | Prisma.products_directus_usersUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_directus_usersCreateOrConnectWithoutProductsInput | Prisma.products_directus_usersCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_directus_usersUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_directus_usersUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_directus_usersCreateManyProductsInputEnvelope;
    set?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    disconnect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    delete?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    connect?: Prisma.products_directus_usersWhereUniqueInput | Prisma.products_directus_usersWhereUniqueInput[];
    update?: Prisma.products_directus_usersUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_directus_usersUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_directus_usersUpdateManyWithWhereWithoutProductsInput | Prisma.products_directus_usersUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_directus_usersScalarWhereInput | Prisma.products_directus_usersScalarWhereInput[];
};
export type products_directus_usersCreateWithoutProductsInput = {
    user_id?: string | null;
};
export type products_directus_usersUncheckedCreateWithoutProductsInput = {
    id?: number;
    user_id?: string | null;
};
export type products_directus_usersCreateOrConnectWithoutProductsInput = {
    where: Prisma.products_directus_usersWhereUniqueInput;
    create: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput>;
};
export type products_directus_usersCreateManyProductsInputEnvelope = {
    data: Prisma.products_directus_usersCreateManyProductsInput | Prisma.products_directus_usersCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type products_directus_usersUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_directus_usersWhereUniqueInput;
    update: Prisma.XOR<Prisma.products_directus_usersUpdateWithoutProductsInput, Prisma.products_directus_usersUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.products_directus_usersCreateWithoutProductsInput, Prisma.products_directus_usersUncheckedCreateWithoutProductsInput>;
};
export type products_directus_usersUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_directus_usersWhereUniqueInput;
    data: Prisma.XOR<Prisma.products_directus_usersUpdateWithoutProductsInput, Prisma.products_directus_usersUncheckedUpdateWithoutProductsInput>;
};
export type products_directus_usersUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.products_directus_usersScalarWhereInput;
    data: Prisma.XOR<Prisma.products_directus_usersUpdateManyMutationInput, Prisma.products_directus_usersUncheckedUpdateManyWithoutProductsInput>;
};
export type products_directus_usersScalarWhereInput = {
    AND?: Prisma.products_directus_usersScalarWhereInput | Prisma.products_directus_usersScalarWhereInput[];
    OR?: Prisma.products_directus_usersScalarWhereInput[];
    NOT?: Prisma.products_directus_usersScalarWhereInput | Prisma.products_directus_usersScalarWhereInput[];
    id?: Prisma.IntFilter<"products_directus_users"> | number;
    product_id?: Prisma.BigIntNullableFilter<"products_directus_users"> | bigint | number | null;
    user_id?: Prisma.UuidNullableFilter<"products_directus_users"> | string | null;
};
export type products_directus_usersCreateManyProductsInput = {
    id?: number;
    user_id?: string | null;
};
export type products_directus_usersUpdateWithoutProductsInput = {
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type products_directus_usersUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type products_directus_usersUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type products_directus_usersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    user_id?: boolean;
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_directus_users"]>;
export type products_directus_usersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    user_id?: boolean;
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_directus_users"]>;
export type products_directus_usersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    user_id?: boolean;
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_directus_users"]>;
export type products_directus_usersSelectScalar = {
    id?: boolean;
    product_id?: boolean;
    user_id?: boolean;
};
export type products_directus_usersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "product_id" | "user_id", ExtArgs["result"]["products_directus_users"]>;
export type products_directus_usersInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
};
export type products_directus_usersIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
};
export type products_directus_usersIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_directus_users$productsArgs<ExtArgs>;
};
export type $products_directus_usersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "products_directus_users";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        product_id: bigint | null;
        user_id: string | null;
    }, ExtArgs["result"]["products_directus_users"]>;
    composites: {};
};
export type products_directus_usersGetPayload<S extends boolean | null | undefined | products_directus_usersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload, S>;
export type products_directus_usersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<products_directus_usersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Products_directus_usersCountAggregateInputType | true;
};
export interface products_directus_usersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['products_directus_users'];
        meta: {
            name: 'products_directus_users';
        };
    };
    /**
     * Find zero or one Products_directus_users that matches the filter.
     * @param {products_directus_usersFindUniqueArgs} args - Arguments to find a Products_directus_users
     * @example
     * // Get one Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends products_directus_usersFindUniqueArgs>(args: Prisma.SelectSubset<T, products_directus_usersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Products_directus_users that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {products_directus_usersFindUniqueOrThrowArgs} args - Arguments to find a Products_directus_users
     * @example
     * // Get one Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends products_directus_usersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, products_directus_usersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_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 {products_directus_usersFindFirstArgs} args - Arguments to find a Products_directus_users
     * @example
     * // Get one Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends products_directus_usersFindFirstArgs>(args?: Prisma.SelectSubset<T, products_directus_usersFindFirstArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_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 {products_directus_usersFindFirstOrThrowArgs} args - Arguments to find a Products_directus_users
     * @example
     * // Get one Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends products_directus_usersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, products_directus_usersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Products_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 {products_directus_usersFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findMany()
     *
     * // Get first 10 Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const products_directus_usersWithIdOnly = await prisma.products_directus_users.findMany({ select: { id: true } })
     *
     */
    findMany<T extends products_directus_usersFindManyArgs>(args?: Prisma.SelectSubset<T, products_directus_usersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Products_directus_users.
     * @param {products_directus_usersCreateArgs} args - Arguments to create a Products_directus_users.
     * @example
     * // Create one Products_directus_users
     * const Products_directus_users = await prisma.products_directus_users.create({
     *   data: {
     *     // ... data to create a Products_directus_users
     *   }
     * })
     *
     */
    create<T extends products_directus_usersCreateArgs>(args: Prisma.SelectSubset<T, products_directus_usersCreateArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Products_directus_users.
     * @param {products_directus_usersCreateManyArgs} args - Arguments to create many Products_directus_users.
     * @example
     * // Create many Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends products_directus_usersCreateManyArgs>(args?: Prisma.SelectSubset<T, products_directus_usersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Products_directus_users and returns the data saved in the database.
     * @param {products_directus_usersCreateManyAndReturnArgs} args - Arguments to create many Products_directus_users.
     * @example
     * // Create many Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Products_directus_users and only return the `id`
     * const products_directus_usersWithIdOnly = await prisma.products_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 products_directus_usersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, products_directus_usersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Products_directus_users.
     * @param {products_directus_usersDeleteArgs} args - Arguments to delete one Products_directus_users.
     * @example
     * // Delete one Products_directus_users
     * const Products_directus_users = await prisma.products_directus_users.delete({
     *   where: {
     *     // ... filter to delete one Products_directus_users
     *   }
     * })
     *
     */
    delete<T extends products_directus_usersDeleteArgs>(args: Prisma.SelectSubset<T, products_directus_usersDeleteArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Products_directus_users.
     * @param {products_directus_usersUpdateArgs} args - Arguments to update one Products_directus_users.
     * @example
     * // Update one Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends products_directus_usersUpdateArgs>(args: Prisma.SelectSubset<T, products_directus_usersUpdateArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Products_directus_users.
     * @param {products_directus_usersDeleteManyArgs} args - Arguments to filter Products_directus_users to delete.
     * @example
     * // Delete a few Products_directus_users
     * const { count } = await prisma.products_directus_users.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends products_directus_usersDeleteManyArgs>(args?: Prisma.SelectSubset<T, products_directus_usersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_directus_usersUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends products_directus_usersUpdateManyArgs>(args: Prisma.SelectSubset<T, products_directus_usersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_directus_users and returns the data updated in the database.
     * @param {products_directus_usersUpdateManyAndReturnArgs} args - Arguments to update many Products_directus_users.
     * @example
     * // Update many Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Products_directus_users and only return the `id`
     * const products_directus_usersWithIdOnly = await prisma.products_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 products_directus_usersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, products_directus_usersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Products_directus_users.
     * @param {products_directus_usersUpsertArgs} args - Arguments to update or create a Products_directus_users.
     * @example
     * // Update or create a Products_directus_users
     * const products_directus_users = await prisma.products_directus_users.upsert({
     *   create: {
     *     // ... data to create a Products_directus_users
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Products_directus_users we want to update
     *   }
     * })
     */
    upsert<T extends products_directus_usersUpsertArgs>(args: Prisma.SelectSubset<T, products_directus_usersUpsertArgs<ExtArgs>>): Prisma.Prisma__products_directus_usersClient<runtime.Types.Result.GetResult<Prisma.$products_directus_usersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Products_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_directus_usersCountArgs} args - Arguments to filter Products_directus_users to count.
     * @example
     * // Count the number of Products_directus_users
     * const count = await prisma.products_directus_users.count({
     *   where: {
     *     // ... the filter for the Products_directus_users we want to count
     *   }
     * })
    **/
    count<T extends products_directus_usersCountArgs>(args?: Prisma.Subset<T, products_directus_usersCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Products_directus_usersCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Products_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Products_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 Products_directus_usersAggregateArgs>(args: Prisma.Subset<T, Products_directus_usersAggregateArgs>): Prisma.PrismaPromise<GetProducts_directus_usersAggregateType<T>>;
    /**
     * Group by Products_directus_users.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_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 products_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: products_directus_usersGroupByArgs['orderBy'];
    } : {
        orderBy?: products_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, products_directus_usersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProducts_directus_usersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the products_directus_users model
     */
    readonly fields: products_directus_usersFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for products_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__products_directus_usersClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    products<T extends Prisma.products_directus_users$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.products_directus_users$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the products_directus_users model
 */
export interface products_directus_usersFieldRefs {
    readonly id: Prisma.FieldRef<"products_directus_users", 'Int'>;
    readonly product_id: Prisma.FieldRef<"products_directus_users", 'BigInt'>;
    readonly user_id: Prisma.FieldRef<"products_directus_users", 'String'>;
}
/**
 * products_directus_users findUnique
 */
export type products_directus_usersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter, which products_directus_users to fetch.
     */
    where: Prisma.products_directus_usersWhereUniqueInput;
};
/**
 * products_directus_users findUniqueOrThrow
 */
export type products_directus_usersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter, which products_directus_users to fetch.
     */
    where: Prisma.products_directus_usersWhereUniqueInput;
};
/**
 * products_directus_users findFirst
 */
export type products_directus_usersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter, which products_directus_users to fetch.
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_directus_users to fetch.
     */
    orderBy?: Prisma.products_directus_usersOrderByWithRelationInput | Prisma.products_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_directus_users.
     */
    cursor?: Prisma.products_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_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` products_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_directus_users.
     */
    distinct?: Prisma.Products_directus_usersScalarFieldEnum | Prisma.Products_directus_usersScalarFieldEnum[];
};
/**
 * products_directus_users findFirstOrThrow
 */
export type products_directus_usersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter, which products_directus_users to fetch.
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_directus_users to fetch.
     */
    orderBy?: Prisma.products_directus_usersOrderByWithRelationInput | Prisma.products_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_directus_users.
     */
    cursor?: Prisma.products_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_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` products_directus_users.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_directus_users.
     */
    distinct?: Prisma.Products_directus_usersScalarFieldEnum | Prisma.Products_directus_usersScalarFieldEnum[];
};
/**
 * products_directus_users findMany
 */
export type products_directus_usersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter, which products_directus_users to fetch.
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_directus_users to fetch.
     */
    orderBy?: Prisma.products_directus_usersOrderByWithRelationInput | Prisma.products_directus_usersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing products_directus_users.
     */
    cursor?: Prisma.products_directus_usersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_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` products_directus_users.
     */
    skip?: number;
    distinct?: Prisma.Products_directus_usersScalarFieldEnum | Prisma.Products_directus_usersScalarFieldEnum[];
};
/**
 * products_directus_users create
 */
export type products_directus_usersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * The data needed to create a products_directus_users.
     */
    data?: Prisma.XOR<Prisma.products_directus_usersCreateInput, Prisma.products_directus_usersUncheckedCreateInput>;
};
/**
 * products_directus_users createMany
 */
export type products_directus_usersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many products_directus_users.
     */
    data: Prisma.products_directus_usersCreateManyInput | Prisma.products_directus_usersCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * products_directus_users createManyAndReturn
 */
export type products_directus_usersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * The data used to create many products_directus_users.
     */
    data: Prisma.products_directus_usersCreateManyInput | Prisma.products_directus_usersCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * products_directus_users update
 */
export type products_directus_usersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * The data needed to update a products_directus_users.
     */
    data: Prisma.XOR<Prisma.products_directus_usersUpdateInput, Prisma.products_directus_usersUncheckedUpdateInput>;
    /**
     * Choose, which products_directus_users to update.
     */
    where: Prisma.products_directus_usersWhereUniqueInput;
};
/**
 * products_directus_users updateMany
 */
export type products_directus_usersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update products_directus_users.
     */
    data: Prisma.XOR<Prisma.products_directus_usersUpdateManyMutationInput, Prisma.products_directus_usersUncheckedUpdateManyInput>;
    /**
     * Filter which products_directus_users to update
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * Limit how many products_directus_users to update.
     */
    limit?: number;
};
/**
 * products_directus_users updateManyAndReturn
 */
export type products_directus_usersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * The data used to update products_directus_users.
     */
    data: Prisma.XOR<Prisma.products_directus_usersUpdateManyMutationInput, Prisma.products_directus_usersUncheckedUpdateManyInput>;
    /**
     * Filter which products_directus_users to update
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * Limit how many products_directus_users to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * products_directus_users upsert
 */
export type products_directus_usersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * The filter to search for the products_directus_users to update in case it exists.
     */
    where: Prisma.products_directus_usersWhereUniqueInput;
    /**
     * In case the products_directus_users found by the `where` argument doesn't exist, create a new products_directus_users with this data.
     */
    create: Prisma.XOR<Prisma.products_directus_usersCreateInput, Prisma.products_directus_usersUncheckedCreateInput>;
    /**
     * In case the products_directus_users was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.products_directus_usersUpdateInput, Prisma.products_directus_usersUncheckedUpdateInput>;
};
/**
 * products_directus_users delete
 */
export type products_directus_usersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
    /**
     * Filter which products_directus_users to delete.
     */
    where: Prisma.products_directus_usersWhereUniqueInput;
};
/**
 * products_directus_users deleteMany
 */
export type products_directus_usersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_directus_users to delete
     */
    where?: Prisma.products_directus_usersWhereInput;
    /**
     * Limit how many products_directus_users to delete.
     */
    limit?: number;
};
/**
 * products_directus_users.products
 */
export type products_directus_users$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products
     */
    select?: Prisma.productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products
     */
    omit?: Prisma.productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.productsInclude<ExtArgs> | null;
    where?: Prisma.productsWhereInput;
};
/**
 * products_directus_users without action
 */
export type products_directus_usersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_directus_users
     */
    select?: Prisma.products_directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_directus_users
     */
    omit?: Prisma.products_directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_directus_usersInclude<ExtArgs> | null;
};
export {};
