import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model orders_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 orders_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$orders_productsPayload>;
export type AggregateOrders_products = {
    _count: Orders_productsCountAggregateOutputType | null;
    _avg: Orders_productsAvgAggregateOutputType | null;
    _sum: Orders_productsSumAggregateOutputType | null;
    _min: Orders_productsMinAggregateOutputType | null;
    _max: Orders_productsMaxAggregateOutputType | null;
};
export type Orders_productsAvgAggregateOutputType = {
    id: number | null;
    orders_id: number | null;
    products_id: number | null;
};
export type Orders_productsSumAggregateOutputType = {
    id: number | null;
    orders_id: number | null;
    products_id: bigint | null;
};
export type Orders_productsMinAggregateOutputType = {
    id: number | null;
    orders_id: number | null;
    products_id: bigint | null;
};
export type Orders_productsMaxAggregateOutputType = {
    id: number | null;
    orders_id: number | null;
    products_id: bigint | null;
};
export type Orders_productsCountAggregateOutputType = {
    id: number;
    orders_id: number;
    products_id: number;
    _all: number;
};
export type Orders_productsAvgAggregateInputType = {
    id?: true;
    orders_id?: true;
    products_id?: true;
};
export type Orders_productsSumAggregateInputType = {
    id?: true;
    orders_id?: true;
    products_id?: true;
};
export type Orders_productsMinAggregateInputType = {
    id?: true;
    orders_id?: true;
    products_id?: true;
};
export type Orders_productsMaxAggregateInputType = {
    id?: true;
    orders_id?: true;
    products_id?: true;
};
export type Orders_productsCountAggregateInputType = {
    id?: true;
    orders_id?: true;
    products_id?: true;
    _all?: true;
};
export type Orders_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which orders_products to aggregate.
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of orders_products to fetch.
     */
    orderBy?: Prisma.orders_productsOrderByWithRelationInput | Prisma.orders_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.orders_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` orders_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` orders_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned orders_products
    **/
    _count?: true | Orders_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Orders_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Orders_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Orders_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Orders_productsMaxAggregateInputType;
};
export type GetOrders_productsAggregateType<T extends Orders_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateOrders_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOrders_products[P]> : Prisma.GetScalarType<T[P], AggregateOrders_products[P]>;
};
export type orders_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.orders_productsWhereInput;
    orderBy?: Prisma.orders_productsOrderByWithAggregationInput | Prisma.orders_productsOrderByWithAggregationInput[];
    by: Prisma.Orders_productsScalarFieldEnum[] | Prisma.Orders_productsScalarFieldEnum;
    having?: Prisma.orders_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Orders_productsCountAggregateInputType | true;
    _avg?: Orders_productsAvgAggregateInputType;
    _sum?: Orders_productsSumAggregateInputType;
    _min?: Orders_productsMinAggregateInputType;
    _max?: Orders_productsMaxAggregateInputType;
};
export type Orders_productsGroupByOutputType = {
    id: number;
    orders_id: number | null;
    products_id: bigint | null;
    _count: Orders_productsCountAggregateOutputType | null;
    _avg: Orders_productsAvgAggregateOutputType | null;
    _sum: Orders_productsSumAggregateOutputType | null;
    _min: Orders_productsMinAggregateOutputType | null;
    _max: Orders_productsMaxAggregateOutputType | null;
};
type GetOrders_productsGroupByPayload<T extends orders_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Orders_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Orders_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Orders_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Orders_productsGroupByOutputType[P]>;
}>>;
export type orders_productsWhereInput = {
    AND?: Prisma.orders_productsWhereInput | Prisma.orders_productsWhereInput[];
    OR?: Prisma.orders_productsWhereInput[];
    NOT?: Prisma.orders_productsWhereInput | Prisma.orders_productsWhereInput[];
    id?: Prisma.IntFilter<"orders_products"> | number;
    orders_id?: Prisma.IntNullableFilter<"orders_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"orders_products"> | bigint | number | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type orders_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders?: Prisma.ordersOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type orders_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.orders_productsWhereInput | Prisma.orders_productsWhereInput[];
    OR?: Prisma.orders_productsWhereInput[];
    NOT?: Prisma.orders_productsWhereInput | Prisma.orders_productsWhereInput[];
    orders_id?: Prisma.IntNullableFilter<"orders_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"orders_products"> | bigint | number | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type orders_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.orders_productsCountOrderByAggregateInput;
    _avg?: Prisma.orders_productsAvgOrderByAggregateInput;
    _max?: Prisma.orders_productsMaxOrderByAggregateInput;
    _min?: Prisma.orders_productsMinOrderByAggregateInput;
    _sum?: Prisma.orders_productsSumOrderByAggregateInput;
};
export type orders_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.orders_productsScalarWhereWithAggregatesInput | Prisma.orders_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.orders_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.orders_productsScalarWhereWithAggregatesInput | Prisma.orders_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"orders_products"> | number;
    orders_id?: Prisma.IntNullableWithAggregatesFilter<"orders_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"orders_products"> | bigint | number | null;
};
export type orders_productsCreateInput = {
    orders?: Prisma.ordersCreateNestedOneWithoutOrders_productsInput;
    products?: Prisma.productsCreateNestedOneWithoutOrders_productsInput;
};
export type orders_productsUncheckedCreateInput = {
    id?: number;
    orders_id?: number | null;
    products_id?: bigint | number | null;
};
export type orders_productsUpdateInput = {
    orders?: Prisma.ordersUpdateOneWithoutOrders_productsNestedInput;
    products?: Prisma.productsUpdateOneWithoutOrders_productsNestedInput;
};
export type orders_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type orders_productsCreateManyInput = {
    id?: number;
    orders_id?: number | null;
    products_id?: bigint | number | null;
};
export type orders_productsUpdateManyMutationInput = {};
export type orders_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Orders_productsListRelationFilter = {
    every?: Prisma.orders_productsWhereInput;
    some?: Prisma.orders_productsWhereInput;
    none?: Prisma.orders_productsWhereInput;
};
export type orders_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type orders_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type orders_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type orders_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type orders_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type orders_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type orders_productsCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput> | Prisma.orders_productsCreateWithoutOrdersInput[] | Prisma.orders_productsUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutOrdersInput | Prisma.orders_productsCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.orders_productsCreateManyOrdersInputEnvelope;
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
};
export type orders_productsUncheckedCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput> | Prisma.orders_productsCreateWithoutOrdersInput[] | Prisma.orders_productsUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutOrdersInput | Prisma.orders_productsCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.orders_productsCreateManyOrdersInputEnvelope;
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
};
export type orders_productsUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput> | Prisma.orders_productsCreateWithoutOrdersInput[] | Prisma.orders_productsUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutOrdersInput | Prisma.orders_productsCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.orders_productsUpsertWithWhereUniqueWithoutOrdersInput | Prisma.orders_productsUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.orders_productsCreateManyOrdersInputEnvelope;
    set?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    disconnect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    delete?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    update?: Prisma.orders_productsUpdateWithWhereUniqueWithoutOrdersInput | Prisma.orders_productsUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.orders_productsUpdateManyWithWhereWithoutOrdersInput | Prisma.orders_productsUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
};
export type orders_productsUncheckedUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput> | Prisma.orders_productsCreateWithoutOrdersInput[] | Prisma.orders_productsUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutOrdersInput | Prisma.orders_productsCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.orders_productsUpsertWithWhereUniqueWithoutOrdersInput | Prisma.orders_productsUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.orders_productsCreateManyOrdersInputEnvelope;
    set?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    disconnect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    delete?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    update?: Prisma.orders_productsUpdateWithWhereUniqueWithoutOrdersInput | Prisma.orders_productsUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.orders_productsUpdateManyWithWhereWithoutOrdersInput | Prisma.orders_productsUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
};
export type orders_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput> | Prisma.orders_productsCreateWithoutProductsInput[] | Prisma.orders_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutProductsInput | Prisma.orders_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.orders_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
};
export type orders_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput> | Prisma.orders_productsCreateWithoutProductsInput[] | Prisma.orders_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutProductsInput | Prisma.orders_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.orders_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
};
export type orders_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput> | Prisma.orders_productsCreateWithoutProductsInput[] | Prisma.orders_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutProductsInput | Prisma.orders_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.orders_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.orders_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.orders_productsCreateManyProductsInputEnvelope;
    set?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    disconnect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    delete?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    update?: Prisma.orders_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.orders_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.orders_productsUpdateManyWithWhereWithoutProductsInput | Prisma.orders_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
};
export type orders_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput> | Prisma.orders_productsCreateWithoutProductsInput[] | Prisma.orders_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.orders_productsCreateOrConnectWithoutProductsInput | Prisma.orders_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.orders_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.orders_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.orders_productsCreateManyProductsInputEnvelope;
    set?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    disconnect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    delete?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    connect?: Prisma.orders_productsWhereUniqueInput | Prisma.orders_productsWhereUniqueInput[];
    update?: Prisma.orders_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.orders_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.orders_productsUpdateManyWithWhereWithoutProductsInput | Prisma.orders_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
};
export type orders_productsCreateWithoutOrdersInput = {
    products?: Prisma.productsCreateNestedOneWithoutOrders_productsInput;
};
export type orders_productsUncheckedCreateWithoutOrdersInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type orders_productsCreateOrConnectWithoutOrdersInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput>;
};
export type orders_productsCreateManyOrdersInputEnvelope = {
    data: Prisma.orders_productsCreateManyOrdersInput | Prisma.orders_productsCreateManyOrdersInput[];
    skipDuplicates?: boolean;
};
export type orders_productsUpsertWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.orders_productsUpdateWithoutOrdersInput, Prisma.orders_productsUncheckedUpdateWithoutOrdersInput>;
    create: Prisma.XOR<Prisma.orders_productsCreateWithoutOrdersInput, Prisma.orders_productsUncheckedCreateWithoutOrdersInput>;
};
export type orders_productsUpdateWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.orders_productsUpdateWithoutOrdersInput, Prisma.orders_productsUncheckedUpdateWithoutOrdersInput>;
};
export type orders_productsUpdateManyWithWhereWithoutOrdersInput = {
    where: Prisma.orders_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.orders_productsUpdateManyMutationInput, Prisma.orders_productsUncheckedUpdateManyWithoutOrdersInput>;
};
export type orders_productsScalarWhereInput = {
    AND?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
    OR?: Prisma.orders_productsScalarWhereInput[];
    NOT?: Prisma.orders_productsScalarWhereInput | Prisma.orders_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"orders_products"> | number;
    orders_id?: Prisma.IntNullableFilter<"orders_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"orders_products"> | bigint | number | null;
};
export type orders_productsCreateWithoutProductsInput = {
    orders?: Prisma.ordersCreateNestedOneWithoutOrders_productsInput;
};
export type orders_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    orders_id?: number | null;
};
export type orders_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput>;
};
export type orders_productsCreateManyProductsInputEnvelope = {
    data: Prisma.orders_productsCreateManyProductsInput | Prisma.orders_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type orders_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.orders_productsUpdateWithoutProductsInput, Prisma.orders_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.orders_productsCreateWithoutProductsInput, Prisma.orders_productsUncheckedCreateWithoutProductsInput>;
};
export type orders_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.orders_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.orders_productsUpdateWithoutProductsInput, Prisma.orders_productsUncheckedUpdateWithoutProductsInput>;
};
export type orders_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.orders_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.orders_productsUpdateManyMutationInput, Prisma.orders_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type orders_productsCreateManyOrdersInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type orders_productsUpdateWithoutOrdersInput = {
    products?: Prisma.productsUpdateOneWithoutOrders_productsNestedInput;
};
export type orders_productsUncheckedUpdateWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type orders_productsUncheckedUpdateManyWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type orders_productsCreateManyProductsInput = {
    id?: number;
    orders_id?: number | null;
};
export type orders_productsUpdateWithoutProductsInput = {
    orders?: Prisma.ordersUpdateOneWithoutOrders_productsNestedInput;
};
export type orders_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type orders_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type orders_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    orders_id?: boolean;
    products_id?: boolean;
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["orders_products"]>;
export type orders_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    orders_id?: boolean;
    products_id?: boolean;
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["orders_products"]>;
export type orders_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    orders_id?: boolean;
    products_id?: boolean;
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["orders_products"]>;
export type orders_productsSelectScalar = {
    id?: boolean;
    orders_id?: boolean;
    products_id?: boolean;
};
export type orders_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "orders_id" | "products_id", ExtArgs["result"]["orders_products"]>;
export type orders_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
};
export type orders_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
};
export type orders_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.orders_products$ordersArgs<ExtArgs>;
    products?: boolean | Prisma.orders_products$productsArgs<ExtArgs>;
};
export type $orders_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "orders_products";
    objects: {
        orders: Prisma.$ordersPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        orders_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["orders_products"]>;
    composites: {};
};
export type orders_productsGetPayload<S extends boolean | null | undefined | orders_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$orders_productsPayload, S>;
export type orders_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<orders_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Orders_productsCountAggregateInputType | true;
};
export interface orders_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['orders_products'];
        meta: {
            name: 'orders_products';
        };
    };
    /**
     * Find zero or one Orders_products that matches the filter.
     * @param {orders_productsFindUniqueArgs} args - Arguments to find a Orders_products
     * @example
     * // Get one Orders_products
     * const orders_products = await prisma.orders_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends orders_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, orders_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Orders_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {orders_productsFindUniqueOrThrowArgs} args - Arguments to find a Orders_products
     * @example
     * // Get one Orders_products
     * const orders_products = await prisma.orders_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends orders_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, orders_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Orders_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 {orders_productsFindFirstArgs} args - Arguments to find a Orders_products
     * @example
     * // Get one Orders_products
     * const orders_products = await prisma.orders_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends orders_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, orders_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Orders_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 {orders_productsFindFirstOrThrowArgs} args - Arguments to find a Orders_products
     * @example
     * // Get one Orders_products
     * const orders_products = await prisma.orders_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends orders_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, orders_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Orders_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 {orders_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Orders_products
     * const orders_products = await prisma.orders_products.findMany()
     *
     * // Get first 10 Orders_products
     * const orders_products = await prisma.orders_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const orders_productsWithIdOnly = await prisma.orders_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends orders_productsFindManyArgs>(args?: Prisma.SelectSubset<T, orders_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Orders_products.
     * @param {orders_productsCreateArgs} args - Arguments to create a Orders_products.
     * @example
     * // Create one Orders_products
     * const Orders_products = await prisma.orders_products.create({
     *   data: {
     *     // ... data to create a Orders_products
     *   }
     * })
     *
     */
    create<T extends orders_productsCreateArgs>(args: Prisma.SelectSubset<T, orders_productsCreateArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Orders_products.
     * @param {orders_productsCreateManyArgs} args - Arguments to create many Orders_products.
     * @example
     * // Create many Orders_products
     * const orders_products = await prisma.orders_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends orders_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, orders_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Orders_products and returns the data saved in the database.
     * @param {orders_productsCreateManyAndReturnArgs} args - Arguments to create many Orders_products.
     * @example
     * // Create many Orders_products
     * const orders_products = await prisma.orders_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Orders_products and only return the `id`
     * const orders_productsWithIdOnly = await prisma.orders_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 orders_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, orders_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Orders_products.
     * @param {orders_productsDeleteArgs} args - Arguments to delete one Orders_products.
     * @example
     * // Delete one Orders_products
     * const Orders_products = await prisma.orders_products.delete({
     *   where: {
     *     // ... filter to delete one Orders_products
     *   }
     * })
     *
     */
    delete<T extends orders_productsDeleteArgs>(args: Prisma.SelectSubset<T, orders_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Orders_products.
     * @param {orders_productsUpdateArgs} args - Arguments to update one Orders_products.
     * @example
     * // Update one Orders_products
     * const orders_products = await prisma.orders_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends orders_productsUpdateArgs>(args: Prisma.SelectSubset<T, orders_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Orders_products.
     * @param {orders_productsDeleteManyArgs} args - Arguments to filter Orders_products to delete.
     * @example
     * // Delete a few Orders_products
     * const { count } = await prisma.orders_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends orders_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, orders_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Orders_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {orders_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Orders_products
     * const orders_products = await prisma.orders_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends orders_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, orders_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Orders_products and returns the data updated in the database.
     * @param {orders_productsUpdateManyAndReturnArgs} args - Arguments to update many Orders_products.
     * @example
     * // Update many Orders_products
     * const orders_products = await prisma.orders_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Orders_products and only return the `id`
     * const orders_productsWithIdOnly = await prisma.orders_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 orders_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, orders_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Orders_products.
     * @param {orders_productsUpsertArgs} args - Arguments to update or create a Orders_products.
     * @example
     * // Update or create a Orders_products
     * const orders_products = await prisma.orders_products.upsert({
     *   create: {
     *     // ... data to create a Orders_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Orders_products we want to update
     *   }
     * })
     */
    upsert<T extends orders_productsUpsertArgs>(args: Prisma.SelectSubset<T, orders_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__orders_productsClient<runtime.Types.Result.GetResult<Prisma.$orders_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Orders_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {orders_productsCountArgs} args - Arguments to filter Orders_products to count.
     * @example
     * // Count the number of Orders_products
     * const count = await prisma.orders_products.count({
     *   where: {
     *     // ... the filter for the Orders_products we want to count
     *   }
     * })
    **/
    count<T extends orders_productsCountArgs>(args?: Prisma.Subset<T, orders_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Orders_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Orders_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Orders_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 Orders_productsAggregateArgs>(args: Prisma.Subset<T, Orders_productsAggregateArgs>): Prisma.PrismaPromise<GetOrders_productsAggregateType<T>>;
    /**
     * Group by Orders_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {orders_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 orders_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: orders_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: orders_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, orders_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrders_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the orders_products model
     */
    readonly fields: orders_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for orders_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__orders_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    orders<T extends Prisma.orders_products$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.orders_products$ordersArgs<ExtArgs>>): Prisma.Prisma__ordersClient<runtime.Types.Result.GetResult<Prisma.$ordersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.orders_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.orders_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 orders_products model
 */
export interface orders_productsFieldRefs {
    readonly id: Prisma.FieldRef<"orders_products", 'Int'>;
    readonly orders_id: Prisma.FieldRef<"orders_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"orders_products", 'BigInt'>;
}
/**
 * orders_products findUnique
 */
export type orders_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter, which orders_products to fetch.
     */
    where: Prisma.orders_productsWhereUniqueInput;
};
/**
 * orders_products findUniqueOrThrow
 */
export type orders_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter, which orders_products to fetch.
     */
    where: Prisma.orders_productsWhereUniqueInput;
};
/**
 * orders_products findFirst
 */
export type orders_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter, which orders_products to fetch.
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of orders_products to fetch.
     */
    orderBy?: Prisma.orders_productsOrderByWithRelationInput | Prisma.orders_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for orders_products.
     */
    cursor?: Prisma.orders_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` orders_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` orders_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of orders_products.
     */
    distinct?: Prisma.Orders_productsScalarFieldEnum | Prisma.Orders_productsScalarFieldEnum[];
};
/**
 * orders_products findFirstOrThrow
 */
export type orders_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter, which orders_products to fetch.
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of orders_products to fetch.
     */
    orderBy?: Prisma.orders_productsOrderByWithRelationInput | Prisma.orders_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for orders_products.
     */
    cursor?: Prisma.orders_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` orders_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` orders_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of orders_products.
     */
    distinct?: Prisma.Orders_productsScalarFieldEnum | Prisma.Orders_productsScalarFieldEnum[];
};
/**
 * orders_products findMany
 */
export type orders_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter, which orders_products to fetch.
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of orders_products to fetch.
     */
    orderBy?: Prisma.orders_productsOrderByWithRelationInput | Prisma.orders_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing orders_products.
     */
    cursor?: Prisma.orders_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` orders_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` orders_products.
     */
    skip?: number;
    distinct?: Prisma.Orders_productsScalarFieldEnum | Prisma.Orders_productsScalarFieldEnum[];
};
/**
 * orders_products create
 */
export type orders_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a orders_products.
     */
    data?: Prisma.XOR<Prisma.orders_productsCreateInput, Prisma.orders_productsUncheckedCreateInput>;
};
/**
 * orders_products createMany
 */
export type orders_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many orders_products.
     */
    data: Prisma.orders_productsCreateManyInput | Prisma.orders_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * orders_products createManyAndReturn
 */
export type orders_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many orders_products.
     */
    data: Prisma.orders_productsCreateManyInput | Prisma.orders_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * orders_products update
 */
export type orders_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a orders_products.
     */
    data: Prisma.XOR<Prisma.orders_productsUpdateInput, Prisma.orders_productsUncheckedUpdateInput>;
    /**
     * Choose, which orders_products to update.
     */
    where: Prisma.orders_productsWhereUniqueInput;
};
/**
 * orders_products updateMany
 */
export type orders_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update orders_products.
     */
    data: Prisma.XOR<Prisma.orders_productsUpdateManyMutationInput, Prisma.orders_productsUncheckedUpdateManyInput>;
    /**
     * Filter which orders_products to update
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * Limit how many orders_products to update.
     */
    limit?: number;
};
/**
 * orders_products updateManyAndReturn
 */
export type orders_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * The data used to update orders_products.
     */
    data: Prisma.XOR<Prisma.orders_productsUpdateManyMutationInput, Prisma.orders_productsUncheckedUpdateManyInput>;
    /**
     * Filter which orders_products to update
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * Limit how many orders_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * orders_products upsert
 */
export type orders_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the orders_products to update in case it exists.
     */
    where: Prisma.orders_productsWhereUniqueInput;
    /**
     * In case the orders_products found by the `where` argument doesn't exist, create a new orders_products with this data.
     */
    create: Prisma.XOR<Prisma.orders_productsCreateInput, Prisma.orders_productsUncheckedCreateInput>;
    /**
     * In case the orders_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.orders_productsUpdateInput, Prisma.orders_productsUncheckedUpdateInput>;
};
/**
 * orders_products delete
 */
export type orders_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
    /**
     * Filter which orders_products to delete.
     */
    where: Prisma.orders_productsWhereUniqueInput;
};
/**
 * orders_products deleteMany
 */
export type orders_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which orders_products to delete
     */
    where?: Prisma.orders_productsWhereInput;
    /**
     * Limit how many orders_products to delete.
     */
    limit?: number;
};
/**
 * orders_products.orders
 */
export type orders_products$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders
     */
    select?: Prisma.ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders
     */
    omit?: Prisma.ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.ordersInclude<ExtArgs> | null;
    where?: Prisma.ordersWhereInput;
};
/**
 * orders_products.products
 */
export type orders_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;
};
/**
 * orders_products without action
 */
export type orders_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders_products
     */
    select?: Prisma.orders_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders_products
     */
    omit?: Prisma.orders_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.orders_productsInclude<ExtArgs> | null;
};
export {};
