import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model cart_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 cart_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$cart_productsPayload>;
export type AggregateCart_products = {
    _count: Cart_productsCountAggregateOutputType | null;
    _avg: Cart_productsAvgAggregateOutputType | null;
    _sum: Cart_productsSumAggregateOutputType | null;
    _min: Cart_productsMinAggregateOutputType | null;
    _max: Cart_productsMaxAggregateOutputType | null;
};
export type Cart_productsAvgAggregateOutputType = {
    id: number | null;
    cart_id: number | null;
    products_id: number | null;
};
export type Cart_productsSumAggregateOutputType = {
    id: number | null;
    cart_id: number | null;
    products_id: bigint | null;
};
export type Cart_productsMinAggregateOutputType = {
    id: number | null;
    cart_id: number | null;
    products_id: bigint | null;
};
export type Cart_productsMaxAggregateOutputType = {
    id: number | null;
    cart_id: number | null;
    products_id: bigint | null;
};
export type Cart_productsCountAggregateOutputType = {
    id: number;
    cart_id: number;
    products_id: number;
    _all: number;
};
export type Cart_productsAvgAggregateInputType = {
    id?: true;
    cart_id?: true;
    products_id?: true;
};
export type Cart_productsSumAggregateInputType = {
    id?: true;
    cart_id?: true;
    products_id?: true;
};
export type Cart_productsMinAggregateInputType = {
    id?: true;
    cart_id?: true;
    products_id?: true;
};
export type Cart_productsMaxAggregateInputType = {
    id?: true;
    cart_id?: true;
    products_id?: true;
};
export type Cart_productsCountAggregateInputType = {
    id?: true;
    cart_id?: true;
    products_id?: true;
    _all?: true;
};
export type Cart_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which cart_products to aggregate.
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cart_products to fetch.
     */
    orderBy?: Prisma.cart_productsOrderByWithRelationInput | Prisma.cart_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.cart_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cart_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` cart_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned cart_products
    **/
    _count?: true | Cart_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Cart_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Cart_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Cart_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Cart_productsMaxAggregateInputType;
};
export type GetCart_productsAggregateType<T extends Cart_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateCart_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCart_products[P]> : Prisma.GetScalarType<T[P], AggregateCart_products[P]>;
};
export type cart_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.cart_productsWhereInput;
    orderBy?: Prisma.cart_productsOrderByWithAggregationInput | Prisma.cart_productsOrderByWithAggregationInput[];
    by: Prisma.Cart_productsScalarFieldEnum[] | Prisma.Cart_productsScalarFieldEnum;
    having?: Prisma.cart_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Cart_productsCountAggregateInputType | true;
    _avg?: Cart_productsAvgAggregateInputType;
    _sum?: Cart_productsSumAggregateInputType;
    _min?: Cart_productsMinAggregateInputType;
    _max?: Cart_productsMaxAggregateInputType;
};
export type Cart_productsGroupByOutputType = {
    id: number;
    cart_id: number | null;
    products_id: bigint | null;
    _count: Cart_productsCountAggregateOutputType | null;
    _avg: Cart_productsAvgAggregateOutputType | null;
    _sum: Cart_productsSumAggregateOutputType | null;
    _min: Cart_productsMinAggregateOutputType | null;
    _max: Cart_productsMaxAggregateOutputType | null;
};
type GetCart_productsGroupByPayload<T extends cart_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Cart_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Cart_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Cart_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Cart_productsGroupByOutputType[P]>;
}>>;
export type cart_productsWhereInput = {
    AND?: Prisma.cart_productsWhereInput | Prisma.cart_productsWhereInput[];
    OR?: Prisma.cart_productsWhereInput[];
    NOT?: Prisma.cart_productsWhereInput | Prisma.cart_productsWhereInput[];
    id?: Prisma.IntFilter<"cart_products"> | number;
    cart_id?: Prisma.IntNullableFilter<"cart_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"cart_products"> | bigint | number | null;
    cart?: Prisma.XOR<Prisma.CartNullableScalarRelationFilter, Prisma.cartWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type cart_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    cart?: Prisma.cartOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type cart_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.cart_productsWhereInput | Prisma.cart_productsWhereInput[];
    OR?: Prisma.cart_productsWhereInput[];
    NOT?: Prisma.cart_productsWhereInput | Prisma.cart_productsWhereInput[];
    cart_id?: Prisma.IntNullableFilter<"cart_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"cart_products"> | bigint | number | null;
    cart?: Prisma.XOR<Prisma.CartNullableScalarRelationFilter, Prisma.cartWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type cart_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.cart_productsCountOrderByAggregateInput;
    _avg?: Prisma.cart_productsAvgOrderByAggregateInput;
    _max?: Prisma.cart_productsMaxOrderByAggregateInput;
    _min?: Prisma.cart_productsMinOrderByAggregateInput;
    _sum?: Prisma.cart_productsSumOrderByAggregateInput;
};
export type cart_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.cart_productsScalarWhereWithAggregatesInput | Prisma.cart_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.cart_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.cart_productsScalarWhereWithAggregatesInput | Prisma.cart_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"cart_products"> | number;
    cart_id?: Prisma.IntNullableWithAggregatesFilter<"cart_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"cart_products"> | bigint | number | null;
};
export type cart_productsCreateInput = {
    cart?: Prisma.cartCreateNestedOneWithoutCart_productsInput;
    products?: Prisma.productsCreateNestedOneWithoutCart_productsInput;
};
export type cart_productsUncheckedCreateInput = {
    id?: number;
    cart_id?: number | null;
    products_id?: bigint | number | null;
};
export type cart_productsUpdateInput = {
    cart?: Prisma.cartUpdateOneWithoutCart_productsNestedInput;
    products?: Prisma.productsUpdateOneWithoutCart_productsNestedInput;
};
export type cart_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    cart_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type cart_productsCreateManyInput = {
    id?: number;
    cart_id?: number | null;
    products_id?: bigint | number | null;
};
export type cart_productsUpdateManyMutationInput = {};
export type cart_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    cart_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Cart_productsListRelationFilter = {
    every?: Prisma.cart_productsWhereInput;
    some?: Prisma.cart_productsWhereInput;
    none?: Prisma.cart_productsWhereInput;
};
export type cart_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type cart_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type cart_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type cart_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type cart_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type cart_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    cart_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type cart_productsCreateNestedManyWithoutCartInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput> | Prisma.cart_productsCreateWithoutCartInput[] | Prisma.cart_productsUncheckedCreateWithoutCartInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutCartInput | Prisma.cart_productsCreateOrConnectWithoutCartInput[];
    createMany?: Prisma.cart_productsCreateManyCartInputEnvelope;
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
};
export type cart_productsUncheckedCreateNestedManyWithoutCartInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput> | Prisma.cart_productsCreateWithoutCartInput[] | Prisma.cart_productsUncheckedCreateWithoutCartInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutCartInput | Prisma.cart_productsCreateOrConnectWithoutCartInput[];
    createMany?: Prisma.cart_productsCreateManyCartInputEnvelope;
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
};
export type cart_productsUpdateManyWithoutCartNestedInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput> | Prisma.cart_productsCreateWithoutCartInput[] | Prisma.cart_productsUncheckedCreateWithoutCartInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutCartInput | Prisma.cart_productsCreateOrConnectWithoutCartInput[];
    upsert?: Prisma.cart_productsUpsertWithWhereUniqueWithoutCartInput | Prisma.cart_productsUpsertWithWhereUniqueWithoutCartInput[];
    createMany?: Prisma.cart_productsCreateManyCartInputEnvelope;
    set?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    disconnect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    delete?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    update?: Prisma.cart_productsUpdateWithWhereUniqueWithoutCartInput | Prisma.cart_productsUpdateWithWhereUniqueWithoutCartInput[];
    updateMany?: Prisma.cart_productsUpdateManyWithWhereWithoutCartInput | Prisma.cart_productsUpdateManyWithWhereWithoutCartInput[];
    deleteMany?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
};
export type cart_productsUncheckedUpdateManyWithoutCartNestedInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput> | Prisma.cart_productsCreateWithoutCartInput[] | Prisma.cart_productsUncheckedCreateWithoutCartInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutCartInput | Prisma.cart_productsCreateOrConnectWithoutCartInput[];
    upsert?: Prisma.cart_productsUpsertWithWhereUniqueWithoutCartInput | Prisma.cart_productsUpsertWithWhereUniqueWithoutCartInput[];
    createMany?: Prisma.cart_productsCreateManyCartInputEnvelope;
    set?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    disconnect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    delete?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    update?: Prisma.cart_productsUpdateWithWhereUniqueWithoutCartInput | Prisma.cart_productsUpdateWithWhereUniqueWithoutCartInput[];
    updateMany?: Prisma.cart_productsUpdateManyWithWhereWithoutCartInput | Prisma.cart_productsUpdateManyWithWhereWithoutCartInput[];
    deleteMany?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
};
export type cart_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput> | Prisma.cart_productsCreateWithoutProductsInput[] | Prisma.cart_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutProductsInput | Prisma.cart_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.cart_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
};
export type cart_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput> | Prisma.cart_productsCreateWithoutProductsInput[] | Prisma.cart_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutProductsInput | Prisma.cart_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.cart_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
};
export type cart_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput> | Prisma.cart_productsCreateWithoutProductsInput[] | Prisma.cart_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutProductsInput | Prisma.cart_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.cart_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.cart_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.cart_productsCreateManyProductsInputEnvelope;
    set?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    disconnect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    delete?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    update?: Prisma.cart_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.cart_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.cart_productsUpdateManyWithWhereWithoutProductsInput | Prisma.cart_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
};
export type cart_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput> | Prisma.cart_productsCreateWithoutProductsInput[] | Prisma.cart_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.cart_productsCreateOrConnectWithoutProductsInput | Prisma.cart_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.cart_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.cart_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.cart_productsCreateManyProductsInputEnvelope;
    set?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    disconnect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    delete?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    connect?: Prisma.cart_productsWhereUniqueInput | Prisma.cart_productsWhereUniqueInput[];
    update?: Prisma.cart_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.cart_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.cart_productsUpdateManyWithWhereWithoutProductsInput | Prisma.cart_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
};
export type cart_productsCreateWithoutCartInput = {
    products?: Prisma.productsCreateNestedOneWithoutCart_productsInput;
};
export type cart_productsUncheckedCreateWithoutCartInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type cart_productsCreateOrConnectWithoutCartInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput>;
};
export type cart_productsCreateManyCartInputEnvelope = {
    data: Prisma.cart_productsCreateManyCartInput | Prisma.cart_productsCreateManyCartInput[];
    skipDuplicates?: boolean;
};
export type cart_productsUpsertWithWhereUniqueWithoutCartInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.cart_productsUpdateWithoutCartInput, Prisma.cart_productsUncheckedUpdateWithoutCartInput>;
    create: Prisma.XOR<Prisma.cart_productsCreateWithoutCartInput, Prisma.cart_productsUncheckedCreateWithoutCartInput>;
};
export type cart_productsUpdateWithWhereUniqueWithoutCartInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.cart_productsUpdateWithoutCartInput, Prisma.cart_productsUncheckedUpdateWithoutCartInput>;
};
export type cart_productsUpdateManyWithWhereWithoutCartInput = {
    where: Prisma.cart_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.cart_productsUpdateManyMutationInput, Prisma.cart_productsUncheckedUpdateManyWithoutCartInput>;
};
export type cart_productsScalarWhereInput = {
    AND?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
    OR?: Prisma.cart_productsScalarWhereInput[];
    NOT?: Prisma.cart_productsScalarWhereInput | Prisma.cart_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"cart_products"> | number;
    cart_id?: Prisma.IntNullableFilter<"cart_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"cart_products"> | bigint | number | null;
};
export type cart_productsCreateWithoutProductsInput = {
    cart?: Prisma.cartCreateNestedOneWithoutCart_productsInput;
};
export type cart_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    cart_id?: number | null;
};
export type cart_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput>;
};
export type cart_productsCreateManyProductsInputEnvelope = {
    data: Prisma.cart_productsCreateManyProductsInput | Prisma.cart_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type cart_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.cart_productsUpdateWithoutProductsInput, Prisma.cart_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.cart_productsCreateWithoutProductsInput, Prisma.cart_productsUncheckedCreateWithoutProductsInput>;
};
export type cart_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.cart_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.cart_productsUpdateWithoutProductsInput, Prisma.cart_productsUncheckedUpdateWithoutProductsInput>;
};
export type cart_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.cart_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.cart_productsUpdateManyMutationInput, Prisma.cart_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type cart_productsCreateManyCartInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type cart_productsUpdateWithoutCartInput = {
    products?: Prisma.productsUpdateOneWithoutCart_productsNestedInput;
};
export type cart_productsUncheckedUpdateWithoutCartInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type cart_productsUncheckedUpdateManyWithoutCartInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type cart_productsCreateManyProductsInput = {
    id?: number;
    cart_id?: number | null;
};
export type cart_productsUpdateWithoutProductsInput = {
    cart?: Prisma.cartUpdateOneWithoutCart_productsNestedInput;
};
export type cart_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    cart_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type cart_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    cart_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type cart_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    cart_id?: boolean;
    products_id?: boolean;
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["cart_products"]>;
export type cart_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    cart_id?: boolean;
    products_id?: boolean;
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["cart_products"]>;
export type cart_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    cart_id?: boolean;
    products_id?: boolean;
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["cart_products"]>;
export type cart_productsSelectScalar = {
    id?: boolean;
    cart_id?: boolean;
    products_id?: boolean;
};
export type cart_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "cart_id" | "products_id", ExtArgs["result"]["cart_products"]>;
export type cart_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
};
export type cart_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
};
export type cart_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    cart?: boolean | Prisma.cart_products$cartArgs<ExtArgs>;
    products?: boolean | Prisma.cart_products$productsArgs<ExtArgs>;
};
export type $cart_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "cart_products";
    objects: {
        cart: Prisma.$cartPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        cart_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["cart_products"]>;
    composites: {};
};
export type cart_productsGetPayload<S extends boolean | null | undefined | cart_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cart_productsPayload, S>;
export type cart_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<cart_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Cart_productsCountAggregateInputType | true;
};
export interface cart_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['cart_products'];
        meta: {
            name: 'cart_products';
        };
    };
    /**
     * Find zero or one Cart_products that matches the filter.
     * @param {cart_productsFindUniqueArgs} args - Arguments to find a Cart_products
     * @example
     * // Get one Cart_products
     * const cart_products = await prisma.cart_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends cart_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, cart_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Cart_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {cart_productsFindUniqueOrThrowArgs} args - Arguments to find a Cart_products
     * @example
     * // Get one Cart_products
     * const cart_products = await prisma.cart_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends cart_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, cart_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Cart_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 {cart_productsFindFirstArgs} args - Arguments to find a Cart_products
     * @example
     * // Get one Cart_products
     * const cart_products = await prisma.cart_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends cart_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, cart_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Cart_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 {cart_productsFindFirstOrThrowArgs} args - Arguments to find a Cart_products
     * @example
     * // Get one Cart_products
     * const cart_products = await prisma.cart_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends cart_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, cart_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Cart_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 {cart_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Cart_products
     * const cart_products = await prisma.cart_products.findMany()
     *
     * // Get first 10 Cart_products
     * const cart_products = await prisma.cart_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const cart_productsWithIdOnly = await prisma.cart_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends cart_productsFindManyArgs>(args?: Prisma.SelectSubset<T, cart_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Cart_products.
     * @param {cart_productsCreateArgs} args - Arguments to create a Cart_products.
     * @example
     * // Create one Cart_products
     * const Cart_products = await prisma.cart_products.create({
     *   data: {
     *     // ... data to create a Cart_products
     *   }
     * })
     *
     */
    create<T extends cart_productsCreateArgs>(args: Prisma.SelectSubset<T, cart_productsCreateArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Cart_products.
     * @param {cart_productsCreateManyArgs} args - Arguments to create many Cart_products.
     * @example
     * // Create many Cart_products
     * const cart_products = await prisma.cart_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends cart_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, cart_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Cart_products and returns the data saved in the database.
     * @param {cart_productsCreateManyAndReturnArgs} args - Arguments to create many Cart_products.
     * @example
     * // Create many Cart_products
     * const cart_products = await prisma.cart_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Cart_products and only return the `id`
     * const cart_productsWithIdOnly = await prisma.cart_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 cart_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, cart_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Cart_products.
     * @param {cart_productsDeleteArgs} args - Arguments to delete one Cart_products.
     * @example
     * // Delete one Cart_products
     * const Cart_products = await prisma.cart_products.delete({
     *   where: {
     *     // ... filter to delete one Cart_products
     *   }
     * })
     *
     */
    delete<T extends cart_productsDeleteArgs>(args: Prisma.SelectSubset<T, cart_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Cart_products.
     * @param {cart_productsUpdateArgs} args - Arguments to update one Cart_products.
     * @example
     * // Update one Cart_products
     * const cart_products = await prisma.cart_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends cart_productsUpdateArgs>(args: Prisma.SelectSubset<T, cart_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Cart_products.
     * @param {cart_productsDeleteManyArgs} args - Arguments to filter Cart_products to delete.
     * @example
     * // Delete a few Cart_products
     * const { count } = await prisma.cart_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends cart_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, cart_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Cart_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cart_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Cart_products
     * const cart_products = await prisma.cart_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends cart_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, cart_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Cart_products and returns the data updated in the database.
     * @param {cart_productsUpdateManyAndReturnArgs} args - Arguments to update many Cart_products.
     * @example
     * // Update many Cart_products
     * const cart_products = await prisma.cart_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Cart_products and only return the `id`
     * const cart_productsWithIdOnly = await prisma.cart_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 cart_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, cart_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Cart_products.
     * @param {cart_productsUpsertArgs} args - Arguments to update or create a Cart_products.
     * @example
     * // Update or create a Cart_products
     * const cart_products = await prisma.cart_products.upsert({
     *   create: {
     *     // ... data to create a Cart_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Cart_products we want to update
     *   }
     * })
     */
    upsert<T extends cart_productsUpsertArgs>(args: Prisma.SelectSubset<T, cart_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__cart_productsClient<runtime.Types.Result.GetResult<Prisma.$cart_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Cart_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cart_productsCountArgs} args - Arguments to filter Cart_products to count.
     * @example
     * // Count the number of Cart_products
     * const count = await prisma.cart_products.count({
     *   where: {
     *     // ... the filter for the Cart_products we want to count
     *   }
     * })
    **/
    count<T extends cart_productsCountArgs>(args?: Prisma.Subset<T, cart_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Cart_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Cart_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Cart_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 Cart_productsAggregateArgs>(args: Prisma.Subset<T, Cart_productsAggregateArgs>): Prisma.PrismaPromise<GetCart_productsAggregateType<T>>;
    /**
     * Group by Cart_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cart_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 cart_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: cart_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: cart_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, cart_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCart_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the cart_products model
     */
    readonly fields: cart_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for cart_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__cart_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    cart<T extends Prisma.cart_products$cartArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.cart_products$cartArgs<ExtArgs>>): Prisma.Prisma__cartClient<runtime.Types.Result.GetResult<Prisma.$cartPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.cart_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.cart_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 cart_products model
 */
export interface cart_productsFieldRefs {
    readonly id: Prisma.FieldRef<"cart_products", 'Int'>;
    readonly cart_id: Prisma.FieldRef<"cart_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"cart_products", 'BigInt'>;
}
/**
 * cart_products findUnique
 */
export type cart_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cart_products to fetch.
     */
    where: Prisma.cart_productsWhereUniqueInput;
};
/**
 * cart_products findUniqueOrThrow
 */
export type cart_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cart_products to fetch.
     */
    where: Prisma.cart_productsWhereUniqueInput;
};
/**
 * cart_products findFirst
 */
export type cart_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cart_products to fetch.
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cart_products to fetch.
     */
    orderBy?: Prisma.cart_productsOrderByWithRelationInput | Prisma.cart_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for cart_products.
     */
    cursor?: Prisma.cart_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cart_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` cart_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of cart_products.
     */
    distinct?: Prisma.Cart_productsScalarFieldEnum | Prisma.Cart_productsScalarFieldEnum[];
};
/**
 * cart_products findFirstOrThrow
 */
export type cart_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cart_products to fetch.
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cart_products to fetch.
     */
    orderBy?: Prisma.cart_productsOrderByWithRelationInput | Prisma.cart_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for cart_products.
     */
    cursor?: Prisma.cart_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cart_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` cart_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of cart_products.
     */
    distinct?: Prisma.Cart_productsScalarFieldEnum | Prisma.Cart_productsScalarFieldEnum[];
};
/**
 * cart_products findMany
 */
export type cart_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cart_products to fetch.
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cart_products to fetch.
     */
    orderBy?: Prisma.cart_productsOrderByWithRelationInput | Prisma.cart_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing cart_products.
     */
    cursor?: Prisma.cart_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cart_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` cart_products.
     */
    skip?: number;
    distinct?: Prisma.Cart_productsScalarFieldEnum | Prisma.Cart_productsScalarFieldEnum[];
};
/**
 * cart_products create
 */
export type cart_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a cart_products.
     */
    data?: Prisma.XOR<Prisma.cart_productsCreateInput, Prisma.cart_productsUncheckedCreateInput>;
};
/**
 * cart_products createMany
 */
export type cart_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many cart_products.
     */
    data: Prisma.cart_productsCreateManyInput | Prisma.cart_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * cart_products createManyAndReturn
 */
export type cart_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many cart_products.
     */
    data: Prisma.cart_productsCreateManyInput | Prisma.cart_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * cart_products update
 */
export type cart_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a cart_products.
     */
    data: Prisma.XOR<Prisma.cart_productsUpdateInput, Prisma.cart_productsUncheckedUpdateInput>;
    /**
     * Choose, which cart_products to update.
     */
    where: Prisma.cart_productsWhereUniqueInput;
};
/**
 * cart_products updateMany
 */
export type cart_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update cart_products.
     */
    data: Prisma.XOR<Prisma.cart_productsUpdateManyMutationInput, Prisma.cart_productsUncheckedUpdateManyInput>;
    /**
     * Filter which cart_products to update
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * Limit how many cart_products to update.
     */
    limit?: number;
};
/**
 * cart_products updateManyAndReturn
 */
export type cart_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * The data used to update cart_products.
     */
    data: Prisma.XOR<Prisma.cart_productsUpdateManyMutationInput, Prisma.cart_productsUncheckedUpdateManyInput>;
    /**
     * Filter which cart_products to update
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * Limit how many cart_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * cart_products upsert
 */
export type cart_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the cart_products to update in case it exists.
     */
    where: Prisma.cart_productsWhereUniqueInput;
    /**
     * In case the cart_products found by the `where` argument doesn't exist, create a new cart_products with this data.
     */
    create: Prisma.XOR<Prisma.cart_productsCreateInput, Prisma.cart_productsUncheckedCreateInput>;
    /**
     * In case the cart_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.cart_productsUpdateInput, Prisma.cart_productsUncheckedUpdateInput>;
};
/**
 * cart_products delete
 */
export type cart_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
    /**
     * Filter which cart_products to delete.
     */
    where: Prisma.cart_productsWhereUniqueInput;
};
/**
 * cart_products deleteMany
 */
export type cart_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which cart_products to delete
     */
    where?: Prisma.cart_productsWhereInput;
    /**
     * Limit how many cart_products to delete.
     */
    limit?: number;
};
/**
 * cart_products.cart
 */
export type cart_products$cartArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart
     */
    select?: Prisma.cartSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart
     */
    omit?: Prisma.cartOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cartInclude<ExtArgs> | null;
    where?: Prisma.cartWhereInput;
};
/**
 * cart_products.products
 */
export type cart_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;
};
/**
 * cart_products without action
 */
export type cart_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cart_products
     */
    select?: Prisma.cart_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cart_products
     */
    omit?: Prisma.cart_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cart_productsInclude<ExtArgs> | null;
};
export {};
