import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model agreements_products
 * 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_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$agreements_productsPayload>;
export type AggregateAgreements_products = {
    _count: Agreements_productsCountAggregateOutputType | null;
    _avg: Agreements_productsAvgAggregateOutputType | null;
    _sum: Agreements_productsSumAggregateOutputType | null;
    _min: Agreements_productsMinAggregateOutputType | null;
    _max: Agreements_productsMaxAggregateOutputType | null;
};
export type Agreements_productsAvgAggregateOutputType = {
    id: number | null;
    products_id: number | null;
};
export type Agreements_productsSumAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Agreements_productsMinAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Agreements_productsMaxAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Agreements_productsCountAggregateOutputType = {
    id: number;
    products_id: number;
    _all: number;
};
export type Agreements_productsAvgAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Agreements_productsSumAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Agreements_productsMinAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Agreements_productsMaxAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Agreements_productsCountAggregateInputType = {
    id?: true;
    products_id?: true;
    _all?: true;
};
export type Agreements_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements_products to aggregate.
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_products to fetch.
     */
    orderBy?: Prisma.agreements_productsOrderByWithRelationInput | Prisma.agreements_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.agreements_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_products 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_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned agreements_products
    **/
    _count?: true | Agreements_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Agreements_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Agreements_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Agreements_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Agreements_productsMaxAggregateInputType;
};
export type GetAgreements_productsAggregateType<T extends Agreements_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateAgreements_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgreements_products[P]> : Prisma.GetScalarType<T[P], AggregateAgreements_products[P]>;
};
export type agreements_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.agreements_productsWhereInput;
    orderBy?: Prisma.agreements_productsOrderByWithAggregationInput | Prisma.agreements_productsOrderByWithAggregationInput[];
    by: Prisma.Agreements_productsScalarFieldEnum[] | Prisma.Agreements_productsScalarFieldEnum;
    having?: Prisma.agreements_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Agreements_productsCountAggregateInputType | true;
    _avg?: Agreements_productsAvgAggregateInputType;
    _sum?: Agreements_productsSumAggregateInputType;
    _min?: Agreements_productsMinAggregateInputType;
    _max?: Agreements_productsMaxAggregateInputType;
};
export type Agreements_productsGroupByOutputType = {
    id: number;
    products_id: bigint | null;
    _count: Agreements_productsCountAggregateOutputType | null;
    _avg: Agreements_productsAvgAggregateOutputType | null;
    _sum: Agreements_productsSumAggregateOutputType | null;
    _min: Agreements_productsMinAggregateOutputType | null;
    _max: Agreements_productsMaxAggregateOutputType | null;
};
type GetAgreements_productsGroupByPayload<T extends agreements_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Agreements_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Agreements_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Agreements_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Agreements_productsGroupByOutputType[P]>;
}>>;
export type agreements_productsWhereInput = {
    AND?: Prisma.agreements_productsWhereInput | Prisma.agreements_productsWhereInput[];
    OR?: Prisma.agreements_productsWhereInput[];
    NOT?: Prisma.agreements_productsWhereInput | Prisma.agreements_productsWhereInput[];
    id?: Prisma.IntFilter<"agreements_products"> | number;
    products_id?: Prisma.BigIntNullableFilter<"agreements_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type agreements_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type agreements_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.agreements_productsWhereInput | Prisma.agreements_productsWhereInput[];
    OR?: Prisma.agreements_productsWhereInput[];
    NOT?: Prisma.agreements_productsWhereInput | Prisma.agreements_productsWhereInput[];
    products_id?: Prisma.BigIntNullableFilter<"agreements_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type agreements_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.agreements_productsCountOrderByAggregateInput;
    _avg?: Prisma.agreements_productsAvgOrderByAggregateInput;
    _max?: Prisma.agreements_productsMaxOrderByAggregateInput;
    _min?: Prisma.agreements_productsMinOrderByAggregateInput;
    _sum?: Prisma.agreements_productsSumOrderByAggregateInput;
};
export type agreements_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.agreements_productsScalarWhereWithAggregatesInput | Prisma.agreements_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.agreements_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.agreements_productsScalarWhereWithAggregatesInput | Prisma.agreements_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"agreements_products"> | number;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"agreements_products"> | bigint | number | null;
};
export type agreements_productsCreateInput = {
    products?: Prisma.productsCreateNestedOneWithoutAgreements_productsInput;
};
export type agreements_productsUncheckedCreateInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type agreements_productsUpdateInput = {
    products?: Prisma.productsUpdateOneWithoutAgreements_productsNestedInput;
};
export type agreements_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type agreements_productsCreateManyInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type agreements_productsUpdateManyMutationInput = {};
export type agreements_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type agreements_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type agreements_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type agreements_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type agreements_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type agreements_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Agreements_productsListRelationFilter = {
    every?: Prisma.agreements_productsWhereInput;
    some?: Prisma.agreements_productsWhereInput;
    none?: Prisma.agreements_productsWhereInput;
};
export type agreements_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type agreements_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput> | Prisma.agreements_productsCreateWithoutProductsInput[] | Prisma.agreements_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.agreements_productsCreateOrConnectWithoutProductsInput | Prisma.agreements_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.agreements_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
};
export type agreements_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput> | Prisma.agreements_productsCreateWithoutProductsInput[] | Prisma.agreements_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.agreements_productsCreateOrConnectWithoutProductsInput | Prisma.agreements_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.agreements_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
};
export type agreements_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput> | Prisma.agreements_productsCreateWithoutProductsInput[] | Prisma.agreements_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.agreements_productsCreateOrConnectWithoutProductsInput | Prisma.agreements_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.agreements_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.agreements_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.agreements_productsCreateManyProductsInputEnvelope;
    set?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    disconnect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    delete?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    connect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    update?: Prisma.agreements_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.agreements_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.agreements_productsUpdateManyWithWhereWithoutProductsInput | Prisma.agreements_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.agreements_productsScalarWhereInput | Prisma.agreements_productsScalarWhereInput[];
};
export type agreements_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput> | Prisma.agreements_productsCreateWithoutProductsInput[] | Prisma.agreements_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.agreements_productsCreateOrConnectWithoutProductsInput | Prisma.agreements_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.agreements_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.agreements_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.agreements_productsCreateManyProductsInputEnvelope;
    set?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    disconnect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    delete?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    connect?: Prisma.agreements_productsWhereUniqueInput | Prisma.agreements_productsWhereUniqueInput[];
    update?: Prisma.agreements_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.agreements_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.agreements_productsUpdateManyWithWhereWithoutProductsInput | Prisma.agreements_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.agreements_productsScalarWhereInput | Prisma.agreements_productsScalarWhereInput[];
};
export type agreements_productsCreateWithoutProductsInput = {};
export type agreements_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
};
export type agreements_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.agreements_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput>;
};
export type agreements_productsCreateManyProductsInputEnvelope = {
    data: Prisma.agreements_productsCreateManyProductsInput | Prisma.agreements_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type agreements_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.agreements_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.agreements_productsUpdateWithoutProductsInput, Prisma.agreements_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.agreements_productsCreateWithoutProductsInput, Prisma.agreements_productsUncheckedCreateWithoutProductsInput>;
};
export type agreements_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.agreements_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.agreements_productsUpdateWithoutProductsInput, Prisma.agreements_productsUncheckedUpdateWithoutProductsInput>;
};
export type agreements_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.agreements_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.agreements_productsUpdateManyMutationInput, Prisma.agreements_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type agreements_productsScalarWhereInput = {
    AND?: Prisma.agreements_productsScalarWhereInput | Prisma.agreements_productsScalarWhereInput[];
    OR?: Prisma.agreements_productsScalarWhereInput[];
    NOT?: Prisma.agreements_productsScalarWhereInput | Prisma.agreements_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"agreements_products"> | number;
    products_id?: Prisma.BigIntNullableFilter<"agreements_products"> | bigint | number | null;
};
export type agreements_productsCreateManyProductsInput = {
    id?: number;
};
export type agreements_productsUpdateWithoutProductsInput = {};
export type agreements_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type agreements_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type agreements_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["agreements_products"]>;
export type agreements_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["agreements_products"]>;
export type agreements_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["agreements_products"]>;
export type agreements_productsSelectScalar = {
    id?: boolean;
    products_id?: boolean;
};
export type agreements_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "products_id", ExtArgs["result"]["agreements_products"]>;
export type agreements_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
};
export type agreements_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
};
export type agreements_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.agreements_products$productsArgs<ExtArgs>;
};
export type $agreements_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "agreements_products";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        products_id: bigint | null;
    }, ExtArgs["result"]["agreements_products"]>;
    composites: {};
};
export type agreements_productsGetPayload<S extends boolean | null | undefined | agreements_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload, S>;
export type agreements_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<agreements_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Agreements_productsCountAggregateInputType | true;
};
export interface agreements_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['agreements_products'];
        meta: {
            name: 'agreements_products';
        };
    };
    /**
     * Find zero or one Agreements_products that matches the filter.
     * @param {agreements_productsFindUniqueArgs} args - Arguments to find a Agreements_products
     * @example
     * // Get one Agreements_products
     * const agreements_products = await prisma.agreements_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends agreements_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, agreements_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Agreements_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {agreements_productsFindUniqueOrThrowArgs} args - Arguments to find a Agreements_products
     * @example
     * // Get one Agreements_products
     * const agreements_products = await prisma.agreements_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends agreements_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, agreements_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Agreements_products 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_productsFindFirstArgs} args - Arguments to find a Agreements_products
     * @example
     * // Get one Agreements_products
     * const agreements_products = await prisma.agreements_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends agreements_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, agreements_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Agreements_products 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_productsFindFirstOrThrowArgs} args - Arguments to find a Agreements_products
     * @example
     * // Get one Agreements_products
     * const agreements_products = await prisma.agreements_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends agreements_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, agreements_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Agreements_products 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_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Agreements_products
     * const agreements_products = await prisma.agreements_products.findMany()
     *
     * // Get first 10 Agreements_products
     * const agreements_products = await prisma.agreements_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const agreements_productsWithIdOnly = await prisma.agreements_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends agreements_productsFindManyArgs>(args?: Prisma.SelectSubset<T, agreements_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Agreements_products.
     * @param {agreements_productsCreateArgs} args - Arguments to create a Agreements_products.
     * @example
     * // Create one Agreements_products
     * const Agreements_products = await prisma.agreements_products.create({
     *   data: {
     *     // ... data to create a Agreements_products
     *   }
     * })
     *
     */
    create<T extends agreements_productsCreateArgs>(args: Prisma.SelectSubset<T, agreements_productsCreateArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Agreements_products.
     * @param {agreements_productsCreateManyArgs} args - Arguments to create many Agreements_products.
     * @example
     * // Create many Agreements_products
     * const agreements_products = await prisma.agreements_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends agreements_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, agreements_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Agreements_products and returns the data saved in the database.
     * @param {agreements_productsCreateManyAndReturnArgs} args - Arguments to create many Agreements_products.
     * @example
     * // Create many Agreements_products
     * const agreements_products = await prisma.agreements_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Agreements_products and only return the `id`
     * const agreements_productsWithIdOnly = await prisma.agreements_products.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_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, agreements_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Agreements_products.
     * @param {agreements_productsDeleteArgs} args - Arguments to delete one Agreements_products.
     * @example
     * // Delete one Agreements_products
     * const Agreements_products = await prisma.agreements_products.delete({
     *   where: {
     *     // ... filter to delete one Agreements_products
     *   }
     * })
     *
     */
    delete<T extends agreements_productsDeleteArgs>(args: Prisma.SelectSubset<T, agreements_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Agreements_products.
     * @param {agreements_productsUpdateArgs} args - Arguments to update one Agreements_products.
     * @example
     * // Update one Agreements_products
     * const agreements_products = await prisma.agreements_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends agreements_productsUpdateArgs>(args: Prisma.SelectSubset<T, agreements_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Agreements_products.
     * @param {agreements_productsDeleteManyArgs} args - Arguments to filter Agreements_products to delete.
     * @example
     * // Delete a few Agreements_products
     * const { count } = await prisma.agreements_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends agreements_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, agreements_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Agreements_products
     * const agreements_products = await prisma.agreements_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends agreements_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, agreements_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements_products and returns the data updated in the database.
     * @param {agreements_productsUpdateManyAndReturnArgs} args - Arguments to update many Agreements_products.
     * @example
     * // Update many Agreements_products
     * const agreements_products = await prisma.agreements_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Agreements_products and only return the `id`
     * const agreements_productsWithIdOnly = await prisma.agreements_products.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_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, agreements_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Agreements_products.
     * @param {agreements_productsUpsertArgs} args - Arguments to update or create a Agreements_products.
     * @example
     * // Update or create a Agreements_products
     * const agreements_products = await prisma.agreements_products.upsert({
     *   create: {
     *     // ... data to create a Agreements_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Agreements_products we want to update
     *   }
     * })
     */
    upsert<T extends agreements_productsUpsertArgs>(args: Prisma.SelectSubset<T, agreements_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__agreements_productsClient<runtime.Types.Result.GetResult<Prisma.$agreements_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Agreements_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_productsCountArgs} args - Arguments to filter Agreements_products to count.
     * @example
     * // Count the number of Agreements_products
     * const count = await prisma.agreements_products.count({
     *   where: {
     *     // ... the filter for the Agreements_products we want to count
     *   }
     * })
    **/
    count<T extends agreements_productsCountArgs>(args?: Prisma.Subset<T, agreements_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Agreements_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Agreements_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Agreements_productsAggregateArgs} 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_productsAggregateArgs>(args: Prisma.Subset<T, Agreements_productsAggregateArgs>): Prisma.PrismaPromise<GetAgreements_productsAggregateType<T>>;
    /**
     * Group by Agreements_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreements_productsGroupByArgs} 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_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: agreements_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: agreements_productsGroupByArgs['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_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgreements_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the agreements_products model
     */
    readonly fields: agreements_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for agreements_products.
 * 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_productsClient<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.agreements_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.agreements_products$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 agreements_products model
 */
export interface agreements_productsFieldRefs {
    readonly id: Prisma.FieldRef<"agreements_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"agreements_products", 'BigInt'>;
}
/**
 * agreements_products findUnique
 */
export type agreements_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter, which agreements_products to fetch.
     */
    where: Prisma.agreements_productsWhereUniqueInput;
};
/**
 * agreements_products findUniqueOrThrow
 */
export type agreements_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter, which agreements_products to fetch.
     */
    where: Prisma.agreements_productsWhereUniqueInput;
};
/**
 * agreements_products findFirst
 */
export type agreements_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter, which agreements_products to fetch.
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_products to fetch.
     */
    orderBy?: Prisma.agreements_productsOrderByWithRelationInput | Prisma.agreements_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements_products.
     */
    cursor?: Prisma.agreements_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_products 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_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements_products.
     */
    distinct?: Prisma.Agreements_productsScalarFieldEnum | Prisma.Agreements_productsScalarFieldEnum[];
};
/**
 * agreements_products findFirstOrThrow
 */
export type agreements_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter, which agreements_products to fetch.
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_products to fetch.
     */
    orderBy?: Prisma.agreements_productsOrderByWithRelationInput | Prisma.agreements_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements_products.
     */
    cursor?: Prisma.agreements_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_products 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_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements_products.
     */
    distinct?: Prisma.Agreements_productsScalarFieldEnum | Prisma.Agreements_productsScalarFieldEnum[];
};
/**
 * agreements_products findMany
 */
export type agreements_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter, which agreements_products to fetch.
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements_products to fetch.
     */
    orderBy?: Prisma.agreements_productsOrderByWithRelationInput | Prisma.agreements_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing agreements_products.
     */
    cursor?: Prisma.agreements_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` agreements_products 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_products.
     */
    skip?: number;
    distinct?: Prisma.Agreements_productsScalarFieldEnum | Prisma.Agreements_productsScalarFieldEnum[];
};
/**
 * agreements_products create
 */
export type agreements_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a agreements_products.
     */
    data?: Prisma.XOR<Prisma.agreements_productsCreateInput, Prisma.agreements_productsUncheckedCreateInput>;
};
/**
 * agreements_products createMany
 */
export type agreements_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many agreements_products.
     */
    data: Prisma.agreements_productsCreateManyInput | Prisma.agreements_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * agreements_products createManyAndReturn
 */
export type agreements_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many agreements_products.
     */
    data: Prisma.agreements_productsCreateManyInput | Prisma.agreements_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * agreements_products update
 */
export type agreements_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a agreements_products.
     */
    data: Prisma.XOR<Prisma.agreements_productsUpdateInput, Prisma.agreements_productsUncheckedUpdateInput>;
    /**
     * Choose, which agreements_products to update.
     */
    where: Prisma.agreements_productsWhereUniqueInput;
};
/**
 * agreements_products updateMany
 */
export type agreements_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update agreements_products.
     */
    data: Prisma.XOR<Prisma.agreements_productsUpdateManyMutationInput, Prisma.agreements_productsUncheckedUpdateManyInput>;
    /**
     * Filter which agreements_products to update
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * Limit how many agreements_products to update.
     */
    limit?: number;
};
/**
 * agreements_products updateManyAndReturn
 */
export type agreements_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * The data used to update agreements_products.
     */
    data: Prisma.XOR<Prisma.agreements_productsUpdateManyMutationInput, Prisma.agreements_productsUncheckedUpdateManyInput>;
    /**
     * Filter which agreements_products to update
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * Limit how many agreements_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * agreements_products upsert
 */
export type agreements_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the agreements_products to update in case it exists.
     */
    where: Prisma.agreements_productsWhereUniqueInput;
    /**
     * In case the agreements_products found by the `where` argument doesn't exist, create a new agreements_products with this data.
     */
    create: Prisma.XOR<Prisma.agreements_productsCreateInput, Prisma.agreements_productsUncheckedCreateInput>;
    /**
     * In case the agreements_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.agreements_productsUpdateInput, Prisma.agreements_productsUncheckedUpdateInput>;
};
/**
 * agreements_products delete
 */
export type agreements_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
    /**
     * Filter which agreements_products to delete.
     */
    where: Prisma.agreements_productsWhereUniqueInput;
};
/**
 * agreements_products deleteMany
 */
export type agreements_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements_products to delete
     */
    where?: Prisma.agreements_productsWhereInput;
    /**
     * Limit how many agreements_products to delete.
     */
    limit?: number;
};
/**
 * agreements_products.products
 */
export type agreements_products$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;
};
/**
 * agreements_products without action
 */
export type agreements_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements_products
     */
    select?: Prisma.agreements_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements_products
     */
    omit?: Prisma.agreements_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.agreements_productsInclude<ExtArgs> | null;
};
export {};
