import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model shops_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 shops_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$shops_productsPayload>;
export type AggregateShops_products = {
    _count: Shops_productsCountAggregateOutputType | null;
    _avg: Shops_productsAvgAggregateOutputType | null;
    _sum: Shops_productsSumAggregateOutputType | null;
    _min: Shops_productsMinAggregateOutputType | null;
    _max: Shops_productsMaxAggregateOutputType | null;
};
export type Shops_productsAvgAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    products_id: number | null;
};
export type Shops_productsSumAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    products_id: bigint | null;
};
export type Shops_productsMinAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    products_id: bigint | null;
};
export type Shops_productsMaxAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    products_id: bigint | null;
};
export type Shops_productsCountAggregateOutputType = {
    id: number;
    shops_id: number;
    products_id: number;
    _all: number;
};
export type Shops_productsAvgAggregateInputType = {
    id?: true;
    shops_id?: true;
    products_id?: true;
};
export type Shops_productsSumAggregateInputType = {
    id?: true;
    shops_id?: true;
    products_id?: true;
};
export type Shops_productsMinAggregateInputType = {
    id?: true;
    shops_id?: true;
    products_id?: true;
};
export type Shops_productsMaxAggregateInputType = {
    id?: true;
    shops_id?: true;
    products_id?: true;
};
export type Shops_productsCountAggregateInputType = {
    id?: true;
    shops_id?: true;
    products_id?: true;
    _all?: true;
};
export type Shops_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_products to aggregate.
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_products to fetch.
     */
    orderBy?: Prisma.shops_productsOrderByWithRelationInput | Prisma.shops_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.shops_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_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` shops_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned shops_products
    **/
    _count?: true | Shops_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Shops_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Shops_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Shops_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Shops_productsMaxAggregateInputType;
};
export type GetShops_productsAggregateType<T extends Shops_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateShops_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShops_products[P]> : Prisma.GetScalarType<T[P], AggregateShops_products[P]>;
};
export type shops_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.shops_productsWhereInput;
    orderBy?: Prisma.shops_productsOrderByWithAggregationInput | Prisma.shops_productsOrderByWithAggregationInput[];
    by: Prisma.Shops_productsScalarFieldEnum[] | Prisma.Shops_productsScalarFieldEnum;
    having?: Prisma.shops_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Shops_productsCountAggregateInputType | true;
    _avg?: Shops_productsAvgAggregateInputType;
    _sum?: Shops_productsSumAggregateInputType;
    _min?: Shops_productsMinAggregateInputType;
    _max?: Shops_productsMaxAggregateInputType;
};
export type Shops_productsGroupByOutputType = {
    id: number;
    shops_id: number | null;
    products_id: bigint | null;
    _count: Shops_productsCountAggregateOutputType | null;
    _avg: Shops_productsAvgAggregateOutputType | null;
    _sum: Shops_productsSumAggregateOutputType | null;
    _min: Shops_productsMinAggregateOutputType | null;
    _max: Shops_productsMaxAggregateOutputType | null;
};
type GetShops_productsGroupByPayload<T extends shops_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Shops_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Shops_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Shops_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Shops_productsGroupByOutputType[P]>;
}>>;
export type shops_productsWhereInput = {
    AND?: Prisma.shops_productsWhereInput | Prisma.shops_productsWhereInput[];
    OR?: Prisma.shops_productsWhereInput[];
    NOT?: Prisma.shops_productsWhereInput | Prisma.shops_productsWhereInput[];
    id?: Prisma.IntFilter<"shops_products"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"shops_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
};
export type shops_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
    shops?: Prisma.shopsOrderByWithRelationInput;
};
export type shops_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.shops_productsWhereInput | Prisma.shops_productsWhereInput[];
    OR?: Prisma.shops_productsWhereInput[];
    NOT?: Prisma.shops_productsWhereInput | Prisma.shops_productsWhereInput[];
    shops_id?: Prisma.IntNullableFilter<"shops_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"shops_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
}, "id">;
export type shops_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.shops_productsCountOrderByAggregateInput;
    _avg?: Prisma.shops_productsAvgOrderByAggregateInput;
    _max?: Prisma.shops_productsMaxOrderByAggregateInput;
    _min?: Prisma.shops_productsMinOrderByAggregateInput;
    _sum?: Prisma.shops_productsSumOrderByAggregateInput;
};
export type shops_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.shops_productsScalarWhereWithAggregatesInput | Prisma.shops_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.shops_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.shops_productsScalarWhereWithAggregatesInput | Prisma.shops_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"shops_products"> | number;
    shops_id?: Prisma.IntNullableWithAggregatesFilter<"shops_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"shops_products"> | bigint | number | null;
};
export type shops_productsCreateInput = {
    products?: Prisma.productsCreateNestedOneWithoutShops_productsInput;
    shops?: Prisma.shopsCreateNestedOneWithoutShops_productsInput;
};
export type shops_productsUncheckedCreateInput = {
    id?: number;
    shops_id?: number | null;
    products_id?: bigint | number | null;
};
export type shops_productsUpdateInput = {
    products?: Prisma.productsUpdateOneWithoutShops_productsNestedInput;
    shops?: Prisma.shopsUpdateOneWithoutShops_productsNestedInput;
};
export type shops_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type shops_productsCreateManyInput = {
    id?: number;
    shops_id?: number | null;
    products_id?: bigint | number | null;
};
export type shops_productsUpdateManyMutationInput = {};
export type shops_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Shops_productsListRelationFilter = {
    every?: Prisma.shops_productsWhereInput;
    some?: Prisma.shops_productsWhereInput;
    none?: Prisma.shops_productsWhereInput;
};
export type shops_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type shops_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type shops_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type shops_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type shops_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type shops_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type shops_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput> | Prisma.shops_productsCreateWithoutProductsInput[] | Prisma.shops_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutProductsInput | Prisma.shops_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.shops_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
};
export type shops_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput> | Prisma.shops_productsCreateWithoutProductsInput[] | Prisma.shops_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutProductsInput | Prisma.shops_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.shops_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
};
export type shops_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput> | Prisma.shops_productsCreateWithoutProductsInput[] | Prisma.shops_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutProductsInput | Prisma.shops_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.shops_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.shops_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.shops_productsCreateManyProductsInputEnvelope;
    set?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    disconnect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    delete?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    update?: Prisma.shops_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.shops_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.shops_productsUpdateManyWithWhereWithoutProductsInput | Prisma.shops_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
};
export type shops_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput> | Prisma.shops_productsCreateWithoutProductsInput[] | Prisma.shops_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutProductsInput | Prisma.shops_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.shops_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.shops_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.shops_productsCreateManyProductsInputEnvelope;
    set?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    disconnect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    delete?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    update?: Prisma.shops_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.shops_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.shops_productsUpdateManyWithWhereWithoutProductsInput | Prisma.shops_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
};
export type shops_productsCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput> | Prisma.shops_productsCreateWithoutShopsInput[] | Prisma.shops_productsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutShopsInput | Prisma.shops_productsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_productsCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
};
export type shops_productsUncheckedCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput> | Prisma.shops_productsCreateWithoutShopsInput[] | Prisma.shops_productsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutShopsInput | Prisma.shops_productsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_productsCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
};
export type shops_productsUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput> | Prisma.shops_productsCreateWithoutShopsInput[] | Prisma.shops_productsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutShopsInput | Prisma.shops_productsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_productsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_productsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_productsCreateManyShopsInputEnvelope;
    set?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    disconnect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    delete?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    update?: Prisma.shops_productsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_productsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_productsUpdateManyWithWhereWithoutShopsInput | Prisma.shops_productsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
};
export type shops_productsUncheckedUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput> | Prisma.shops_productsCreateWithoutShopsInput[] | Prisma.shops_productsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_productsCreateOrConnectWithoutShopsInput | Prisma.shops_productsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_productsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_productsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_productsCreateManyShopsInputEnvelope;
    set?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    disconnect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    delete?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    connect?: Prisma.shops_productsWhereUniqueInput | Prisma.shops_productsWhereUniqueInput[];
    update?: Prisma.shops_productsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_productsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_productsUpdateManyWithWhereWithoutShopsInput | Prisma.shops_productsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
};
export type shops_productsCreateWithoutProductsInput = {
    shops?: Prisma.shopsCreateNestedOneWithoutShops_productsInput;
};
export type shops_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput>;
};
export type shops_productsCreateManyProductsInputEnvelope = {
    data: Prisma.shops_productsCreateManyProductsInput | Prisma.shops_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type shops_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.shops_productsUpdateWithoutProductsInput, Prisma.shops_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.shops_productsCreateWithoutProductsInput, Prisma.shops_productsUncheckedCreateWithoutProductsInput>;
};
export type shops_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.shops_productsUpdateWithoutProductsInput, Prisma.shops_productsUncheckedUpdateWithoutProductsInput>;
};
export type shops_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.shops_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.shops_productsUpdateManyMutationInput, Prisma.shops_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type shops_productsScalarWhereInput = {
    AND?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
    OR?: Prisma.shops_productsScalarWhereInput[];
    NOT?: Prisma.shops_productsScalarWhereInput | Prisma.shops_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"shops_products"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"shops_products"> | bigint | number | null;
};
export type shops_productsCreateWithoutShopsInput = {
    products?: Prisma.productsCreateNestedOneWithoutShops_productsInput;
};
export type shops_productsUncheckedCreateWithoutShopsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type shops_productsCreateOrConnectWithoutShopsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput>;
};
export type shops_productsCreateManyShopsInputEnvelope = {
    data: Prisma.shops_productsCreateManyShopsInput | Prisma.shops_productsCreateManyShopsInput[];
    skipDuplicates?: boolean;
};
export type shops_productsUpsertWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.shops_productsUpdateWithoutShopsInput, Prisma.shops_productsUncheckedUpdateWithoutShopsInput>;
    create: Prisma.XOR<Prisma.shops_productsCreateWithoutShopsInput, Prisma.shops_productsUncheckedCreateWithoutShopsInput>;
};
export type shops_productsUpdateWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.shops_productsUpdateWithoutShopsInput, Prisma.shops_productsUncheckedUpdateWithoutShopsInput>;
};
export type shops_productsUpdateManyWithWhereWithoutShopsInput = {
    where: Prisma.shops_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.shops_productsUpdateManyMutationInput, Prisma.shops_productsUncheckedUpdateManyWithoutShopsInput>;
};
export type shops_productsCreateManyProductsInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_productsUpdateWithoutProductsInput = {
    shops?: Prisma.shopsUpdateOneWithoutShops_productsNestedInput;
};
export type shops_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_productsCreateManyShopsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type shops_productsUpdateWithoutShopsInput = {
    products?: Prisma.productsUpdateOneWithoutShops_productsNestedInput;
};
export type shops_productsUncheckedUpdateWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type shops_productsUncheckedUpdateManyWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type shops_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_products"]>;
export type shops_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_products"]>;
export type shops_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_products"]>;
export type shops_productsSelectScalar = {
    id?: boolean;
    shops_id?: boolean;
    products_id?: boolean;
};
export type shops_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shops_id" | "products_id", ExtArgs["result"]["shops_products"]>;
export type shops_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
};
export type shops_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
};
export type shops_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.shops_products$productsArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_products$shopsArgs<ExtArgs>;
};
export type $shops_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "shops_products";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
        shops: Prisma.$shopsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        shops_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["shops_products"]>;
    composites: {};
};
export type shops_productsGetPayload<S extends boolean | null | undefined | shops_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shops_productsPayload, S>;
export type shops_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<shops_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Shops_productsCountAggregateInputType | true;
};
export interface shops_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['shops_products'];
        meta: {
            name: 'shops_products';
        };
    };
    /**
     * Find zero or one Shops_products that matches the filter.
     * @param {shops_productsFindUniqueArgs} args - Arguments to find a Shops_products
     * @example
     * // Get one Shops_products
     * const shops_products = await prisma.shops_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends shops_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, shops_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Shops_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {shops_productsFindUniqueOrThrowArgs} args - Arguments to find a Shops_products
     * @example
     * // Get one Shops_products
     * const shops_products = await prisma.shops_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends shops_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shops_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_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 {shops_productsFindFirstArgs} args - Arguments to find a Shops_products
     * @example
     * // Get one Shops_products
     * const shops_products = await prisma.shops_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends shops_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, shops_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_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 {shops_productsFindFirstOrThrowArgs} args - Arguments to find a Shops_products
     * @example
     * // Get one Shops_products
     * const shops_products = await prisma.shops_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends shops_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shops_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Shops_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 {shops_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shops_products
     * const shops_products = await prisma.shops_products.findMany()
     *
     * // Get first 10 Shops_products
     * const shops_products = await prisma.shops_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const shops_productsWithIdOnly = await prisma.shops_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends shops_productsFindManyArgs>(args?: Prisma.SelectSubset<T, shops_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Shops_products.
     * @param {shops_productsCreateArgs} args - Arguments to create a Shops_products.
     * @example
     * // Create one Shops_products
     * const Shops_products = await prisma.shops_products.create({
     *   data: {
     *     // ... data to create a Shops_products
     *   }
     * })
     *
     */
    create<T extends shops_productsCreateArgs>(args: Prisma.SelectSubset<T, shops_productsCreateArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Shops_products.
     * @param {shops_productsCreateManyArgs} args - Arguments to create many Shops_products.
     * @example
     * // Create many Shops_products
     * const shops_products = await prisma.shops_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends shops_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, shops_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Shops_products and returns the data saved in the database.
     * @param {shops_productsCreateManyAndReturnArgs} args - Arguments to create many Shops_products.
     * @example
     * // Create many Shops_products
     * const shops_products = await prisma.shops_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Shops_products and only return the `id`
     * const shops_productsWithIdOnly = await prisma.shops_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 shops_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shops_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Shops_products.
     * @param {shops_productsDeleteArgs} args - Arguments to delete one Shops_products.
     * @example
     * // Delete one Shops_products
     * const Shops_products = await prisma.shops_products.delete({
     *   where: {
     *     // ... filter to delete one Shops_products
     *   }
     * })
     *
     */
    delete<T extends shops_productsDeleteArgs>(args: Prisma.SelectSubset<T, shops_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Shops_products.
     * @param {shops_productsUpdateArgs} args - Arguments to update one Shops_products.
     * @example
     * // Update one Shops_products
     * const shops_products = await prisma.shops_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends shops_productsUpdateArgs>(args: Prisma.SelectSubset<T, shops_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Shops_products.
     * @param {shops_productsDeleteManyArgs} args - Arguments to filter Shops_products to delete.
     * @example
     * // Delete a few Shops_products
     * const { count } = await prisma.shops_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends shops_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, shops_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shops_products
     * const shops_products = await prisma.shops_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends shops_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, shops_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_products and returns the data updated in the database.
     * @param {shops_productsUpdateManyAndReturnArgs} args - Arguments to update many Shops_products.
     * @example
     * // Update many Shops_products
     * const shops_products = await prisma.shops_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Shops_products and only return the `id`
     * const shops_productsWithIdOnly = await prisma.shops_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 shops_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shops_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Shops_products.
     * @param {shops_productsUpsertArgs} args - Arguments to update or create a Shops_products.
     * @example
     * // Update or create a Shops_products
     * const shops_products = await prisma.shops_products.upsert({
     *   create: {
     *     // ... data to create a Shops_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shops_products we want to update
     *   }
     * })
     */
    upsert<T extends shops_productsUpsertArgs>(args: Prisma.SelectSubset<T, shops_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__shops_productsClient<runtime.Types.Result.GetResult<Prisma.$shops_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Shops_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_productsCountArgs} args - Arguments to filter Shops_products to count.
     * @example
     * // Count the number of Shops_products
     * const count = await prisma.shops_products.count({
     *   where: {
     *     // ... the filter for the Shops_products we want to count
     *   }
     * })
    **/
    count<T extends shops_productsCountArgs>(args?: Prisma.Subset<T, shops_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Shops_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Shops_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Shops_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 Shops_productsAggregateArgs>(args: Prisma.Subset<T, Shops_productsAggregateArgs>): Prisma.PrismaPromise<GetShops_productsAggregateType<T>>;
    /**
     * Group by Shops_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_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 shops_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: shops_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: shops_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, shops_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShops_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the shops_products model
     */
    readonly fields: shops_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for shops_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__shops_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    products<T extends Prisma.shops_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shops_products$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shops<T extends Prisma.shops_products$shopsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shops_products$shopsArgs<ExtArgs>>): Prisma.Prisma__shopsClient<runtime.Types.Result.GetResult<Prisma.$shopsPayload<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 shops_products model
 */
export interface shops_productsFieldRefs {
    readonly id: Prisma.FieldRef<"shops_products", 'Int'>;
    readonly shops_id: Prisma.FieldRef<"shops_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"shops_products", 'BigInt'>;
}
/**
 * shops_products findUnique
 */
export type shops_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_products to fetch.
     */
    where: Prisma.shops_productsWhereUniqueInput;
};
/**
 * shops_products findUniqueOrThrow
 */
export type shops_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_products to fetch.
     */
    where: Prisma.shops_productsWhereUniqueInput;
};
/**
 * shops_products findFirst
 */
export type shops_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_products to fetch.
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_products to fetch.
     */
    orderBy?: Prisma.shops_productsOrderByWithRelationInput | Prisma.shops_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_products.
     */
    cursor?: Prisma.shops_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_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` shops_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_products.
     */
    distinct?: Prisma.Shops_productsScalarFieldEnum | Prisma.Shops_productsScalarFieldEnum[];
};
/**
 * shops_products findFirstOrThrow
 */
export type shops_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_products to fetch.
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_products to fetch.
     */
    orderBy?: Prisma.shops_productsOrderByWithRelationInput | Prisma.shops_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_products.
     */
    cursor?: Prisma.shops_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_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` shops_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_products.
     */
    distinct?: Prisma.Shops_productsScalarFieldEnum | Prisma.Shops_productsScalarFieldEnum[];
};
/**
 * shops_products findMany
 */
export type shops_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_products to fetch.
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_products to fetch.
     */
    orderBy?: Prisma.shops_productsOrderByWithRelationInput | Prisma.shops_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing shops_products.
     */
    cursor?: Prisma.shops_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_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` shops_products.
     */
    skip?: number;
    distinct?: Prisma.Shops_productsScalarFieldEnum | Prisma.Shops_productsScalarFieldEnum[];
};
/**
 * shops_products create
 */
export type shops_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a shops_products.
     */
    data?: Prisma.XOR<Prisma.shops_productsCreateInput, Prisma.shops_productsUncheckedCreateInput>;
};
/**
 * shops_products createMany
 */
export type shops_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many shops_products.
     */
    data: Prisma.shops_productsCreateManyInput | Prisma.shops_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * shops_products createManyAndReturn
 */
export type shops_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many shops_products.
     */
    data: Prisma.shops_productsCreateManyInput | Prisma.shops_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_products update
 */
export type shops_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a shops_products.
     */
    data: Prisma.XOR<Prisma.shops_productsUpdateInput, Prisma.shops_productsUncheckedUpdateInput>;
    /**
     * Choose, which shops_products to update.
     */
    where: Prisma.shops_productsWhereUniqueInput;
};
/**
 * shops_products updateMany
 */
export type shops_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update shops_products.
     */
    data: Prisma.XOR<Prisma.shops_productsUpdateManyMutationInput, Prisma.shops_productsUncheckedUpdateManyInput>;
    /**
     * Filter which shops_products to update
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * Limit how many shops_products to update.
     */
    limit?: number;
};
/**
 * shops_products updateManyAndReturn
 */
export type shops_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * The data used to update shops_products.
     */
    data: Prisma.XOR<Prisma.shops_productsUpdateManyMutationInput, Prisma.shops_productsUncheckedUpdateManyInput>;
    /**
     * Filter which shops_products to update
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * Limit how many shops_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_products upsert
 */
export type shops_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the shops_products to update in case it exists.
     */
    where: Prisma.shops_productsWhereUniqueInput;
    /**
     * In case the shops_products found by the `where` argument doesn't exist, create a new shops_products with this data.
     */
    create: Prisma.XOR<Prisma.shops_productsCreateInput, Prisma.shops_productsUncheckedCreateInput>;
    /**
     * In case the shops_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.shops_productsUpdateInput, Prisma.shops_productsUncheckedUpdateInput>;
};
/**
 * shops_products delete
 */
export type shops_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
    /**
     * Filter which shops_products to delete.
     */
    where: Prisma.shops_productsWhereUniqueInput;
};
/**
 * shops_products deleteMany
 */
export type shops_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_products to delete
     */
    where?: Prisma.shops_productsWhereInput;
    /**
     * Limit how many shops_products to delete.
     */
    limit?: number;
};
/**
 * shops_products.products
 */
export type shops_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;
};
/**
 * shops_products.shops
 */
export type shops_products$shopsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops
     */
    select?: Prisma.shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops
     */
    omit?: Prisma.shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shopsInclude<ExtArgs> | null;
    where?: Prisma.shopsWhereInput;
};
/**
 * shops_products without action
 */
export type shops_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_products
     */
    select?: Prisma.shops_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_products
     */
    omit?: Prisma.shops_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_productsInclude<ExtArgs> | null;
};
export {};
