import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model order_items_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 order_items_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$order_items_productsPayload>;
export type AggregateOrder_items_products = {
    _count: Order_items_productsCountAggregateOutputType | null;
    _avg: Order_items_productsAvgAggregateOutputType | null;
    _sum: Order_items_productsSumAggregateOutputType | null;
    _min: Order_items_productsMinAggregateOutputType | null;
    _max: Order_items_productsMaxAggregateOutputType | null;
};
export type Order_items_productsAvgAggregateOutputType = {
    id: number | null;
    order_items_id: number | null;
    products_id: number | null;
};
export type Order_items_productsSumAggregateOutputType = {
    id: number | null;
    order_items_id: number | null;
    products_id: bigint | null;
};
export type Order_items_productsMinAggregateOutputType = {
    id: number | null;
    order_items_id: number | null;
    products_id: bigint | null;
};
export type Order_items_productsMaxAggregateOutputType = {
    id: number | null;
    order_items_id: number | null;
    products_id: bigint | null;
};
export type Order_items_productsCountAggregateOutputType = {
    id: number;
    order_items_id: number;
    products_id: number;
    _all: number;
};
export type Order_items_productsAvgAggregateInputType = {
    id?: true;
    order_items_id?: true;
    products_id?: true;
};
export type Order_items_productsSumAggregateInputType = {
    id?: true;
    order_items_id?: true;
    products_id?: true;
};
export type Order_items_productsMinAggregateInputType = {
    id?: true;
    order_items_id?: true;
    products_id?: true;
};
export type Order_items_productsMaxAggregateInputType = {
    id?: true;
    order_items_id?: true;
    products_id?: true;
};
export type Order_items_productsCountAggregateInputType = {
    id?: true;
    order_items_id?: true;
    products_id?: true;
    _all?: true;
};
export type Order_items_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which order_items_products to aggregate.
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of order_items_products to fetch.
     */
    orderBy?: Prisma.order_items_productsOrderByWithRelationInput | Prisma.order_items_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.order_items_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` order_items_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` order_items_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned order_items_products
    **/
    _count?: true | Order_items_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Order_items_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Order_items_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Order_items_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Order_items_productsMaxAggregateInputType;
};
export type GetOrder_items_productsAggregateType<T extends Order_items_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateOrder_items_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateOrder_items_products[P]> : Prisma.GetScalarType<T[P], AggregateOrder_items_products[P]>;
};
export type order_items_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.order_items_productsWhereInput;
    orderBy?: Prisma.order_items_productsOrderByWithAggregationInput | Prisma.order_items_productsOrderByWithAggregationInput[];
    by: Prisma.Order_items_productsScalarFieldEnum[] | Prisma.Order_items_productsScalarFieldEnum;
    having?: Prisma.order_items_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Order_items_productsCountAggregateInputType | true;
    _avg?: Order_items_productsAvgAggregateInputType;
    _sum?: Order_items_productsSumAggregateInputType;
    _min?: Order_items_productsMinAggregateInputType;
    _max?: Order_items_productsMaxAggregateInputType;
};
export type Order_items_productsGroupByOutputType = {
    id: number;
    order_items_id: number | null;
    products_id: bigint | null;
    _count: Order_items_productsCountAggregateOutputType | null;
    _avg: Order_items_productsAvgAggregateOutputType | null;
    _sum: Order_items_productsSumAggregateOutputType | null;
    _min: Order_items_productsMinAggregateOutputType | null;
    _max: Order_items_productsMaxAggregateOutputType | null;
};
type GetOrder_items_productsGroupByPayload<T extends order_items_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Order_items_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Order_items_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Order_items_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Order_items_productsGroupByOutputType[P]>;
}>>;
export type order_items_productsWhereInput = {
    AND?: Prisma.order_items_productsWhereInput | Prisma.order_items_productsWhereInput[];
    OR?: Prisma.order_items_productsWhereInput[];
    NOT?: Prisma.order_items_productsWhereInput | Prisma.order_items_productsWhereInput[];
    id?: Prisma.IntFilter<"order_items_products"> | number;
    order_items_id?: Prisma.IntNullableFilter<"order_items_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"order_items_products"> | bigint | number | null;
    order_items?: Prisma.XOR<Prisma.Order_itemsNullableScalarRelationFilter, Prisma.order_itemsWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type order_items_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    order_items?: Prisma.order_itemsOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type order_items_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.order_items_productsWhereInput | Prisma.order_items_productsWhereInput[];
    OR?: Prisma.order_items_productsWhereInput[];
    NOT?: Prisma.order_items_productsWhereInput | Prisma.order_items_productsWhereInput[];
    order_items_id?: Prisma.IntNullableFilter<"order_items_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"order_items_products"> | bigint | number | null;
    order_items?: Prisma.XOR<Prisma.Order_itemsNullableScalarRelationFilter, Prisma.order_itemsWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type order_items_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.order_items_productsCountOrderByAggregateInput;
    _avg?: Prisma.order_items_productsAvgOrderByAggregateInput;
    _max?: Prisma.order_items_productsMaxOrderByAggregateInput;
    _min?: Prisma.order_items_productsMinOrderByAggregateInput;
    _sum?: Prisma.order_items_productsSumOrderByAggregateInput;
};
export type order_items_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.order_items_productsScalarWhereWithAggregatesInput | Prisma.order_items_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.order_items_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.order_items_productsScalarWhereWithAggregatesInput | Prisma.order_items_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"order_items_products"> | number;
    order_items_id?: Prisma.IntNullableWithAggregatesFilter<"order_items_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"order_items_products"> | bigint | number | null;
};
export type order_items_productsCreateInput = {
    order_items?: Prisma.order_itemsCreateNestedOneWithoutOrder_items_productsInput;
    products?: Prisma.productsCreateNestedOneWithoutOrder_items_productsInput;
};
export type order_items_productsUncheckedCreateInput = {
    id?: number;
    order_items_id?: number | null;
    products_id?: bigint | number | null;
};
export type order_items_productsUpdateInput = {
    order_items?: Prisma.order_itemsUpdateOneWithoutOrder_items_productsNestedInput;
    products?: Prisma.productsUpdateOneWithoutOrder_items_productsNestedInput;
};
export type order_items_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    order_items_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type order_items_productsCreateManyInput = {
    id?: number;
    order_items_id?: number | null;
    products_id?: bigint | number | null;
};
export type order_items_productsUpdateManyMutationInput = {};
export type order_items_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    order_items_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Order_items_productsListRelationFilter = {
    every?: Prisma.order_items_productsWhereInput;
    some?: Prisma.order_items_productsWhereInput;
    none?: Prisma.order_items_productsWhereInput;
};
export type order_items_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type order_items_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type order_items_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type order_items_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type order_items_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type order_items_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    order_items_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type order_items_productsCreateNestedManyWithoutOrder_itemsInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput> | Prisma.order_items_productsCreateWithoutOrder_itemsInput[] | Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput | Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput[];
    createMany?: Prisma.order_items_productsCreateManyOrder_itemsInputEnvelope;
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
};
export type order_items_productsUncheckedCreateNestedManyWithoutOrder_itemsInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput> | Prisma.order_items_productsCreateWithoutOrder_itemsInput[] | Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput | Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput[];
    createMany?: Prisma.order_items_productsCreateManyOrder_itemsInputEnvelope;
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
};
export type order_items_productsUpdateManyWithoutOrder_itemsNestedInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput> | Prisma.order_items_productsCreateWithoutOrder_itemsInput[] | Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput | Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput[];
    upsert?: Prisma.order_items_productsUpsertWithWhereUniqueWithoutOrder_itemsInput | Prisma.order_items_productsUpsertWithWhereUniqueWithoutOrder_itemsInput[];
    createMany?: Prisma.order_items_productsCreateManyOrder_itemsInputEnvelope;
    set?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    disconnect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    delete?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    update?: Prisma.order_items_productsUpdateWithWhereUniqueWithoutOrder_itemsInput | Prisma.order_items_productsUpdateWithWhereUniqueWithoutOrder_itemsInput[];
    updateMany?: Prisma.order_items_productsUpdateManyWithWhereWithoutOrder_itemsInput | Prisma.order_items_productsUpdateManyWithWhereWithoutOrder_itemsInput[];
    deleteMany?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
};
export type order_items_productsUncheckedUpdateManyWithoutOrder_itemsNestedInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput> | Prisma.order_items_productsCreateWithoutOrder_itemsInput[] | Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput | Prisma.order_items_productsCreateOrConnectWithoutOrder_itemsInput[];
    upsert?: Prisma.order_items_productsUpsertWithWhereUniqueWithoutOrder_itemsInput | Prisma.order_items_productsUpsertWithWhereUniqueWithoutOrder_itemsInput[];
    createMany?: Prisma.order_items_productsCreateManyOrder_itemsInputEnvelope;
    set?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    disconnect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    delete?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    update?: Prisma.order_items_productsUpdateWithWhereUniqueWithoutOrder_itemsInput | Prisma.order_items_productsUpdateWithWhereUniqueWithoutOrder_itemsInput[];
    updateMany?: Prisma.order_items_productsUpdateManyWithWhereWithoutOrder_itemsInput | Prisma.order_items_productsUpdateManyWithWhereWithoutOrder_itemsInput[];
    deleteMany?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
};
export type order_items_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput> | Prisma.order_items_productsCreateWithoutProductsInput[] | Prisma.order_items_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutProductsInput | Prisma.order_items_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.order_items_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
};
export type order_items_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput> | Prisma.order_items_productsCreateWithoutProductsInput[] | Prisma.order_items_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutProductsInput | Prisma.order_items_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.order_items_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
};
export type order_items_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput> | Prisma.order_items_productsCreateWithoutProductsInput[] | Prisma.order_items_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutProductsInput | Prisma.order_items_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.order_items_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.order_items_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.order_items_productsCreateManyProductsInputEnvelope;
    set?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    disconnect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    delete?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    update?: Prisma.order_items_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.order_items_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.order_items_productsUpdateManyWithWhereWithoutProductsInput | Prisma.order_items_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
};
export type order_items_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput> | Prisma.order_items_productsCreateWithoutProductsInput[] | Prisma.order_items_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.order_items_productsCreateOrConnectWithoutProductsInput | Prisma.order_items_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.order_items_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.order_items_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.order_items_productsCreateManyProductsInputEnvelope;
    set?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    disconnect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    delete?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    connect?: Prisma.order_items_productsWhereUniqueInput | Prisma.order_items_productsWhereUniqueInput[];
    update?: Prisma.order_items_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.order_items_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.order_items_productsUpdateManyWithWhereWithoutProductsInput | Prisma.order_items_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
};
export type order_items_productsCreateWithoutOrder_itemsInput = {
    products?: Prisma.productsCreateNestedOneWithoutOrder_items_productsInput;
};
export type order_items_productsUncheckedCreateWithoutOrder_itemsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type order_items_productsCreateOrConnectWithoutOrder_itemsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput>;
};
export type order_items_productsCreateManyOrder_itemsInputEnvelope = {
    data: Prisma.order_items_productsCreateManyOrder_itemsInput | Prisma.order_items_productsCreateManyOrder_itemsInput[];
    skipDuplicates?: boolean;
};
export type order_items_productsUpsertWithWhereUniqueWithoutOrder_itemsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.order_items_productsUpdateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedUpdateWithoutOrder_itemsInput>;
    create: Prisma.XOR<Prisma.order_items_productsCreateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedCreateWithoutOrder_itemsInput>;
};
export type order_items_productsUpdateWithWhereUniqueWithoutOrder_itemsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.order_items_productsUpdateWithoutOrder_itemsInput, Prisma.order_items_productsUncheckedUpdateWithoutOrder_itemsInput>;
};
export type order_items_productsUpdateManyWithWhereWithoutOrder_itemsInput = {
    where: Prisma.order_items_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.order_items_productsUpdateManyMutationInput, Prisma.order_items_productsUncheckedUpdateManyWithoutOrder_itemsInput>;
};
export type order_items_productsScalarWhereInput = {
    AND?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
    OR?: Prisma.order_items_productsScalarWhereInput[];
    NOT?: Prisma.order_items_productsScalarWhereInput | Prisma.order_items_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"order_items_products"> | number;
    order_items_id?: Prisma.IntNullableFilter<"order_items_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"order_items_products"> | bigint | number | null;
};
export type order_items_productsCreateWithoutProductsInput = {
    order_items?: Prisma.order_itemsCreateNestedOneWithoutOrder_items_productsInput;
};
export type order_items_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    order_items_id?: number | null;
};
export type order_items_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput>;
};
export type order_items_productsCreateManyProductsInputEnvelope = {
    data: Prisma.order_items_productsCreateManyProductsInput | Prisma.order_items_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type order_items_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.order_items_productsUpdateWithoutProductsInput, Prisma.order_items_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.order_items_productsCreateWithoutProductsInput, Prisma.order_items_productsUncheckedCreateWithoutProductsInput>;
};
export type order_items_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.order_items_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.order_items_productsUpdateWithoutProductsInput, Prisma.order_items_productsUncheckedUpdateWithoutProductsInput>;
};
export type order_items_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.order_items_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.order_items_productsUpdateManyMutationInput, Prisma.order_items_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type order_items_productsCreateManyOrder_itemsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type order_items_productsUpdateWithoutOrder_itemsInput = {
    products?: Prisma.productsUpdateOneWithoutOrder_items_productsNestedInput;
};
export type order_items_productsUncheckedUpdateWithoutOrder_itemsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type order_items_productsUncheckedUpdateManyWithoutOrder_itemsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type order_items_productsCreateManyProductsInput = {
    id?: number;
    order_items_id?: number | null;
};
export type order_items_productsUpdateWithoutProductsInput = {
    order_items?: Prisma.order_itemsUpdateOneWithoutOrder_items_productsNestedInput;
};
export type order_items_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    order_items_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type order_items_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    order_items_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type order_items_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    order_items_id?: boolean;
    products_id?: boolean;
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["order_items_products"]>;
export type order_items_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    order_items_id?: boolean;
    products_id?: boolean;
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["order_items_products"]>;
export type order_items_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    order_items_id?: boolean;
    products_id?: boolean;
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["order_items_products"]>;
export type order_items_productsSelectScalar = {
    id?: boolean;
    order_items_id?: boolean;
    products_id?: boolean;
};
export type order_items_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "order_items_id" | "products_id", ExtArgs["result"]["order_items_products"]>;
export type order_items_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
};
export type order_items_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
};
export type order_items_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    order_items?: boolean | Prisma.order_items_products$order_itemsArgs<ExtArgs>;
    products?: boolean | Prisma.order_items_products$productsArgs<ExtArgs>;
};
export type $order_items_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "order_items_products";
    objects: {
        order_items: Prisma.$order_itemsPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        order_items_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["order_items_products"]>;
    composites: {};
};
export type order_items_productsGetPayload<S extends boolean | null | undefined | order_items_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload, S>;
export type order_items_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<order_items_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Order_items_productsCountAggregateInputType | true;
};
export interface order_items_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['order_items_products'];
        meta: {
            name: 'order_items_products';
        };
    };
    /**
     * Find zero or one Order_items_products that matches the filter.
     * @param {order_items_productsFindUniqueArgs} args - Arguments to find a Order_items_products
     * @example
     * // Get one Order_items_products
     * const order_items_products = await prisma.order_items_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends order_items_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, order_items_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Order_items_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {order_items_productsFindUniqueOrThrowArgs} args - Arguments to find a Order_items_products
     * @example
     * // Get one Order_items_products
     * const order_items_products = await prisma.order_items_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends order_items_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, order_items_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Order_items_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 {order_items_productsFindFirstArgs} args - Arguments to find a Order_items_products
     * @example
     * // Get one Order_items_products
     * const order_items_products = await prisma.order_items_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends order_items_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, order_items_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Order_items_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 {order_items_productsFindFirstOrThrowArgs} args - Arguments to find a Order_items_products
     * @example
     * // Get one Order_items_products
     * const order_items_products = await prisma.order_items_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends order_items_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, order_items_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Order_items_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 {order_items_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Order_items_products
     * const order_items_products = await prisma.order_items_products.findMany()
     *
     * // Get first 10 Order_items_products
     * const order_items_products = await prisma.order_items_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const order_items_productsWithIdOnly = await prisma.order_items_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends order_items_productsFindManyArgs>(args?: Prisma.SelectSubset<T, order_items_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Order_items_products.
     * @param {order_items_productsCreateArgs} args - Arguments to create a Order_items_products.
     * @example
     * // Create one Order_items_products
     * const Order_items_products = await prisma.order_items_products.create({
     *   data: {
     *     // ... data to create a Order_items_products
     *   }
     * })
     *
     */
    create<T extends order_items_productsCreateArgs>(args: Prisma.SelectSubset<T, order_items_productsCreateArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Order_items_products.
     * @param {order_items_productsCreateManyArgs} args - Arguments to create many Order_items_products.
     * @example
     * // Create many Order_items_products
     * const order_items_products = await prisma.order_items_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends order_items_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, order_items_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Order_items_products and returns the data saved in the database.
     * @param {order_items_productsCreateManyAndReturnArgs} args - Arguments to create many Order_items_products.
     * @example
     * // Create many Order_items_products
     * const order_items_products = await prisma.order_items_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Order_items_products and only return the `id`
     * const order_items_productsWithIdOnly = await prisma.order_items_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 order_items_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, order_items_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Order_items_products.
     * @param {order_items_productsDeleteArgs} args - Arguments to delete one Order_items_products.
     * @example
     * // Delete one Order_items_products
     * const Order_items_products = await prisma.order_items_products.delete({
     *   where: {
     *     // ... filter to delete one Order_items_products
     *   }
     * })
     *
     */
    delete<T extends order_items_productsDeleteArgs>(args: Prisma.SelectSubset<T, order_items_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Order_items_products.
     * @param {order_items_productsUpdateArgs} args - Arguments to update one Order_items_products.
     * @example
     * // Update one Order_items_products
     * const order_items_products = await prisma.order_items_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends order_items_productsUpdateArgs>(args: Prisma.SelectSubset<T, order_items_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Order_items_products.
     * @param {order_items_productsDeleteManyArgs} args - Arguments to filter Order_items_products to delete.
     * @example
     * // Delete a few Order_items_products
     * const { count } = await prisma.order_items_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends order_items_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, order_items_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Order_items_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {order_items_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Order_items_products
     * const order_items_products = await prisma.order_items_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends order_items_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, order_items_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Order_items_products and returns the data updated in the database.
     * @param {order_items_productsUpdateManyAndReturnArgs} args - Arguments to update many Order_items_products.
     * @example
     * // Update many Order_items_products
     * const order_items_products = await prisma.order_items_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Order_items_products and only return the `id`
     * const order_items_productsWithIdOnly = await prisma.order_items_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 order_items_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, order_items_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Order_items_products.
     * @param {order_items_productsUpsertArgs} args - Arguments to update or create a Order_items_products.
     * @example
     * // Update or create a Order_items_products
     * const order_items_products = await prisma.order_items_products.upsert({
     *   create: {
     *     // ... data to create a Order_items_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Order_items_products we want to update
     *   }
     * })
     */
    upsert<T extends order_items_productsUpsertArgs>(args: Prisma.SelectSubset<T, order_items_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__order_items_productsClient<runtime.Types.Result.GetResult<Prisma.$order_items_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Order_items_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {order_items_productsCountArgs} args - Arguments to filter Order_items_products to count.
     * @example
     * // Count the number of Order_items_products
     * const count = await prisma.order_items_products.count({
     *   where: {
     *     // ... the filter for the Order_items_products we want to count
     *   }
     * })
    **/
    count<T extends order_items_productsCountArgs>(args?: Prisma.Subset<T, order_items_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Order_items_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Order_items_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Order_items_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 Order_items_productsAggregateArgs>(args: Prisma.Subset<T, Order_items_productsAggregateArgs>): Prisma.PrismaPromise<GetOrder_items_productsAggregateType<T>>;
    /**
     * Group by Order_items_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {order_items_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 order_items_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: order_items_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: order_items_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, order_items_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrder_items_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the order_items_products model
     */
    readonly fields: order_items_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for order_items_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__order_items_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    order_items<T extends Prisma.order_items_products$order_itemsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.order_items_products$order_itemsArgs<ExtArgs>>): Prisma.Prisma__order_itemsClient<runtime.Types.Result.GetResult<Prisma.$order_itemsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.order_items_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.order_items_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 order_items_products model
 */
export interface order_items_productsFieldRefs {
    readonly id: Prisma.FieldRef<"order_items_products", 'Int'>;
    readonly order_items_id: Prisma.FieldRef<"order_items_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"order_items_products", 'BigInt'>;
}
/**
 * order_items_products findUnique
 */
export type order_items_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter, which order_items_products to fetch.
     */
    where: Prisma.order_items_productsWhereUniqueInput;
};
/**
 * order_items_products findUniqueOrThrow
 */
export type order_items_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter, which order_items_products to fetch.
     */
    where: Prisma.order_items_productsWhereUniqueInput;
};
/**
 * order_items_products findFirst
 */
export type order_items_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter, which order_items_products to fetch.
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of order_items_products to fetch.
     */
    orderBy?: Prisma.order_items_productsOrderByWithRelationInput | Prisma.order_items_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for order_items_products.
     */
    cursor?: Prisma.order_items_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` order_items_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` order_items_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of order_items_products.
     */
    distinct?: Prisma.Order_items_productsScalarFieldEnum | Prisma.Order_items_productsScalarFieldEnum[];
};
/**
 * order_items_products findFirstOrThrow
 */
export type order_items_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter, which order_items_products to fetch.
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of order_items_products to fetch.
     */
    orderBy?: Prisma.order_items_productsOrderByWithRelationInput | Prisma.order_items_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for order_items_products.
     */
    cursor?: Prisma.order_items_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` order_items_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` order_items_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of order_items_products.
     */
    distinct?: Prisma.Order_items_productsScalarFieldEnum | Prisma.Order_items_productsScalarFieldEnum[];
};
/**
 * order_items_products findMany
 */
export type order_items_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter, which order_items_products to fetch.
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of order_items_products to fetch.
     */
    orderBy?: Prisma.order_items_productsOrderByWithRelationInput | Prisma.order_items_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing order_items_products.
     */
    cursor?: Prisma.order_items_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` order_items_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` order_items_products.
     */
    skip?: number;
    distinct?: Prisma.Order_items_productsScalarFieldEnum | Prisma.Order_items_productsScalarFieldEnum[];
};
/**
 * order_items_products create
 */
export type order_items_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a order_items_products.
     */
    data?: Prisma.XOR<Prisma.order_items_productsCreateInput, Prisma.order_items_productsUncheckedCreateInput>;
};
/**
 * order_items_products createMany
 */
export type order_items_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many order_items_products.
     */
    data: Prisma.order_items_productsCreateManyInput | Prisma.order_items_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * order_items_products createManyAndReturn
 */
export type order_items_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many order_items_products.
     */
    data: Prisma.order_items_productsCreateManyInput | Prisma.order_items_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * order_items_products update
 */
export type order_items_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a order_items_products.
     */
    data: Prisma.XOR<Prisma.order_items_productsUpdateInput, Prisma.order_items_productsUncheckedUpdateInput>;
    /**
     * Choose, which order_items_products to update.
     */
    where: Prisma.order_items_productsWhereUniqueInput;
};
/**
 * order_items_products updateMany
 */
export type order_items_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update order_items_products.
     */
    data: Prisma.XOR<Prisma.order_items_productsUpdateManyMutationInput, Prisma.order_items_productsUncheckedUpdateManyInput>;
    /**
     * Filter which order_items_products to update
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * Limit how many order_items_products to update.
     */
    limit?: number;
};
/**
 * order_items_products updateManyAndReturn
 */
export type order_items_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * The data used to update order_items_products.
     */
    data: Prisma.XOR<Prisma.order_items_productsUpdateManyMutationInput, Prisma.order_items_productsUncheckedUpdateManyInput>;
    /**
     * Filter which order_items_products to update
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * Limit how many order_items_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * order_items_products upsert
 */
export type order_items_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the order_items_products to update in case it exists.
     */
    where: Prisma.order_items_productsWhereUniqueInput;
    /**
     * In case the order_items_products found by the `where` argument doesn't exist, create a new order_items_products with this data.
     */
    create: Prisma.XOR<Prisma.order_items_productsCreateInput, Prisma.order_items_productsUncheckedCreateInput>;
    /**
     * In case the order_items_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.order_items_productsUpdateInput, Prisma.order_items_productsUncheckedUpdateInput>;
};
/**
 * order_items_products delete
 */
export type order_items_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
    /**
     * Filter which order_items_products to delete.
     */
    where: Prisma.order_items_productsWhereUniqueInput;
};
/**
 * order_items_products deleteMany
 */
export type order_items_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which order_items_products to delete
     */
    where?: Prisma.order_items_productsWhereInput;
    /**
     * Limit how many order_items_products to delete.
     */
    limit?: number;
};
/**
 * order_items_products.order_items
 */
export type order_items_products$order_itemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items
     */
    select?: Prisma.order_itemsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items
     */
    omit?: Prisma.order_itemsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_itemsInclude<ExtArgs> | null;
    where?: Prisma.order_itemsWhereInput;
};
/**
 * order_items_products.products
 */
export type order_items_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;
};
/**
 * order_items_products without action
 */
export type order_items_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the order_items_products
     */
    select?: Prisma.order_items_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the order_items_products
     */
    omit?: Prisma.order_items_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.order_items_productsInclude<ExtArgs> | null;
};
export {};
