import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model shops_categories
 * 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_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$shops_categoriesPayload>;
export type AggregateShops_categories = {
    _count: Shops_categoriesCountAggregateOutputType | null;
    _avg: Shops_categoriesAvgAggregateOutputType | null;
    _sum: Shops_categoriesSumAggregateOutputType | null;
    _min: Shops_categoriesMinAggregateOutputType | null;
    _max: Shops_categoriesMaxAggregateOutputType | null;
};
export type Shops_categoriesAvgAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    categories_id: number | null;
};
export type Shops_categoriesSumAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    categories_id: number | null;
};
export type Shops_categoriesMinAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    categories_id: number | null;
};
export type Shops_categoriesMaxAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
    categories_id: number | null;
};
export type Shops_categoriesCountAggregateOutputType = {
    id: number;
    shops_id: number;
    categories_id: number;
    _all: number;
};
export type Shops_categoriesAvgAggregateInputType = {
    id?: true;
    shops_id?: true;
    categories_id?: true;
};
export type Shops_categoriesSumAggregateInputType = {
    id?: true;
    shops_id?: true;
    categories_id?: true;
};
export type Shops_categoriesMinAggregateInputType = {
    id?: true;
    shops_id?: true;
    categories_id?: true;
};
export type Shops_categoriesMaxAggregateInputType = {
    id?: true;
    shops_id?: true;
    categories_id?: true;
};
export type Shops_categoriesCountAggregateInputType = {
    id?: true;
    shops_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Shops_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_categories to aggregate.
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_categories to fetch.
     */
    orderBy?: Prisma.shops_categoriesOrderByWithRelationInput | Prisma.shops_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.shops_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_categories 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_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned shops_categories
    **/
    _count?: true | Shops_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Shops_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Shops_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Shops_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Shops_categoriesMaxAggregateInputType;
};
export type GetShops_categoriesAggregateType<T extends Shops_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregateShops_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShops_categories[P]> : Prisma.GetScalarType<T[P], AggregateShops_categories[P]>;
};
export type shops_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.shops_categoriesWhereInput;
    orderBy?: Prisma.shops_categoriesOrderByWithAggregationInput | Prisma.shops_categoriesOrderByWithAggregationInput[];
    by: Prisma.Shops_categoriesScalarFieldEnum[] | Prisma.Shops_categoriesScalarFieldEnum;
    having?: Prisma.shops_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Shops_categoriesCountAggregateInputType | true;
    _avg?: Shops_categoriesAvgAggregateInputType;
    _sum?: Shops_categoriesSumAggregateInputType;
    _min?: Shops_categoriesMinAggregateInputType;
    _max?: Shops_categoriesMaxAggregateInputType;
};
export type Shops_categoriesGroupByOutputType = {
    id: number;
    shops_id: number | null;
    categories_id: number | null;
    _count: Shops_categoriesCountAggregateOutputType | null;
    _avg: Shops_categoriesAvgAggregateOutputType | null;
    _sum: Shops_categoriesSumAggregateOutputType | null;
    _min: Shops_categoriesMinAggregateOutputType | null;
    _max: Shops_categoriesMaxAggregateOutputType | null;
};
type GetShops_categoriesGroupByPayload<T extends shops_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Shops_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Shops_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Shops_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Shops_categoriesGroupByOutputType[P]>;
}>>;
export type shops_categoriesWhereInput = {
    AND?: Prisma.shops_categoriesWhereInput | Prisma.shops_categoriesWhereInput[];
    OR?: Prisma.shops_categoriesWhereInput[];
    NOT?: Prisma.shops_categoriesWhereInput | Prisma.shops_categoriesWhereInput[];
    id?: Prisma.IntFilter<"shops_categories"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
};
export type shops_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    shops?: Prisma.shopsOrderByWithRelationInput;
};
export type shops_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.shops_categoriesWhereInput | Prisma.shops_categoriesWhereInput[];
    OR?: Prisma.shops_categoriesWhereInput[];
    NOT?: Prisma.shops_categoriesWhereInput | Prisma.shops_categoriesWhereInput[];
    shops_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
}, "id">;
export type shops_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.shops_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.shops_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.shops_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.shops_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.shops_categoriesSumOrderByAggregateInput;
};
export type shops_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.shops_categoriesScalarWhereWithAggregatesInput | Prisma.shops_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.shops_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.shops_categoriesScalarWhereWithAggregatesInput | Prisma.shops_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"shops_categories"> | number;
    shops_id?: Prisma.IntNullableWithAggregatesFilter<"shops_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"shops_categories"> | number | null;
};
export type shops_categoriesCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutShops_categoriesInput;
    shops?: Prisma.shopsCreateNestedOneWithoutShops_categoriesInput;
};
export type shops_categoriesUncheckedCreateInput = {
    id?: number;
    shops_id?: number | null;
    categories_id?: number | null;
};
export type shops_categoriesUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutShops_categoriesNestedInput;
    shops?: Prisma.shopsUpdateOneWithoutShops_categoriesNestedInput;
};
export type shops_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_categoriesCreateManyInput = {
    id?: number;
    shops_id?: number | null;
    categories_id?: number | null;
};
export type shops_categoriesUpdateManyMutationInput = {};
export type shops_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Shops_categoriesListRelationFilter = {
    every?: Prisma.shops_categoriesWhereInput;
    some?: Prisma.shops_categoriesWhereInput;
    none?: Prisma.shops_categoriesWhereInput;
};
export type shops_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type shops_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type shops_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type shops_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type shops_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type shops_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type shops_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.shops_categoriesCreateWithoutCategoriesInput[] | Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.shops_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
};
export type shops_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.shops_categoriesCreateWithoutCategoriesInput[] | Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.shops_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
};
export type shops_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.shops_categoriesCreateWithoutCategoriesInput[] | Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.shops_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.shops_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.shops_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    disconnect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    delete?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    update?: Prisma.shops_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.shops_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.shops_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.shops_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
};
export type shops_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.shops_categoriesCreateWithoutCategoriesInput[] | Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.shops_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.shops_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.shops_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.shops_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    disconnect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    delete?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    update?: Prisma.shops_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.shops_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.shops_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.shops_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
};
export type shops_categoriesCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput> | Prisma.shops_categoriesCreateWithoutShopsInput[] | Prisma.shops_categoriesUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutShopsInput | Prisma.shops_categoriesCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_categoriesCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
};
export type shops_categoriesUncheckedCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput> | Prisma.shops_categoriesCreateWithoutShopsInput[] | Prisma.shops_categoriesUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutShopsInput | Prisma.shops_categoriesCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_categoriesCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
};
export type shops_categoriesUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput> | Prisma.shops_categoriesCreateWithoutShopsInput[] | Prisma.shops_categoriesUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutShopsInput | Prisma.shops_categoriesCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_categoriesUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_categoriesUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_categoriesCreateManyShopsInputEnvelope;
    set?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    disconnect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    delete?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    update?: Prisma.shops_categoriesUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_categoriesUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_categoriesUpdateManyWithWhereWithoutShopsInput | Prisma.shops_categoriesUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
};
export type shops_categoriesUncheckedUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput> | Prisma.shops_categoriesCreateWithoutShopsInput[] | Prisma.shops_categoriesUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_categoriesCreateOrConnectWithoutShopsInput | Prisma.shops_categoriesCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_categoriesUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_categoriesUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_categoriesCreateManyShopsInputEnvelope;
    set?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    disconnect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    delete?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    connect?: Prisma.shops_categoriesWhereUniqueInput | Prisma.shops_categoriesWhereUniqueInput[];
    update?: Prisma.shops_categoriesUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_categoriesUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_categoriesUpdateManyWithWhereWithoutShopsInput | Prisma.shops_categoriesUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
};
export type shops_categoriesCreateWithoutCategoriesInput = {
    shops?: Prisma.shopsCreateNestedOneWithoutShops_categoriesInput;
};
export type shops_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type shops_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.shops_categoriesCreateManyCategoriesInput | Prisma.shops_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type shops_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.shops_categoriesUpdateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.shops_categoriesCreateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type shops_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.shops_categoriesUpdateWithoutCategoriesInput, Prisma.shops_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type shops_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.shops_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.shops_categoriesUpdateManyMutationInput, Prisma.shops_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type shops_categoriesScalarWhereInput = {
    AND?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
    OR?: Prisma.shops_categoriesScalarWhereInput[];
    NOT?: Prisma.shops_categoriesScalarWhereInput | Prisma.shops_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"shops_categories"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"shops_categories"> | number | null;
};
export type shops_categoriesCreateWithoutShopsInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutShops_categoriesInput;
};
export type shops_categoriesUncheckedCreateWithoutShopsInput = {
    id?: number;
    categories_id?: number | null;
};
export type shops_categoriesCreateOrConnectWithoutShopsInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput>;
};
export type shops_categoriesCreateManyShopsInputEnvelope = {
    data: Prisma.shops_categoriesCreateManyShopsInput | Prisma.shops_categoriesCreateManyShopsInput[];
    skipDuplicates?: boolean;
};
export type shops_categoriesUpsertWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.shops_categoriesUpdateWithoutShopsInput, Prisma.shops_categoriesUncheckedUpdateWithoutShopsInput>;
    create: Prisma.XOR<Prisma.shops_categoriesCreateWithoutShopsInput, Prisma.shops_categoriesUncheckedCreateWithoutShopsInput>;
};
export type shops_categoriesUpdateWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.shops_categoriesUpdateWithoutShopsInput, Prisma.shops_categoriesUncheckedUpdateWithoutShopsInput>;
};
export type shops_categoriesUpdateManyWithWhereWithoutShopsInput = {
    where: Prisma.shops_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.shops_categoriesUpdateManyMutationInput, Prisma.shops_categoriesUncheckedUpdateManyWithoutShopsInput>;
};
export type shops_categoriesCreateManyCategoriesInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_categoriesUpdateWithoutCategoriesInput = {
    shops?: Prisma.shopsUpdateOneWithoutShops_categoriesNestedInput;
};
export type shops_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_categoriesCreateManyShopsInput = {
    id?: number;
    categories_id?: number | null;
};
export type shops_categoriesUpdateWithoutShopsInput = {
    categories?: Prisma.categoriesUpdateOneWithoutShops_categoriesNestedInput;
};
export type shops_categoriesUncheckedUpdateWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_categoriesUncheckedUpdateManyWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_categories"]>;
export type shops_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_categories"]>;
export type shops_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_categories"]>;
export type shops_categoriesSelectScalar = {
    id?: boolean;
    shops_id?: boolean;
    categories_id?: boolean;
};
export type shops_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shops_id" | "categories_id", ExtArgs["result"]["shops_categories"]>;
export type shops_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
};
export type shops_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
};
export type shops_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.shops_categories$categoriesArgs<ExtArgs>;
    shops?: boolean | Prisma.shops_categories$shopsArgs<ExtArgs>;
};
export type $shops_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "shops_categories";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        shops: Prisma.$shopsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        shops_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["shops_categories"]>;
    composites: {};
};
export type shops_categoriesGetPayload<S extends boolean | null | undefined | shops_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload, S>;
export type shops_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<shops_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Shops_categoriesCountAggregateInputType | true;
};
export interface shops_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['shops_categories'];
        meta: {
            name: 'shops_categories';
        };
    };
    /**
     * Find zero or one Shops_categories that matches the filter.
     * @param {shops_categoriesFindUniqueArgs} args - Arguments to find a Shops_categories
     * @example
     * // Get one Shops_categories
     * const shops_categories = await prisma.shops_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends shops_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, shops_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Shops_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {shops_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Shops_categories
     * @example
     * // Get one Shops_categories
     * const shops_categories = await prisma.shops_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends shops_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shops_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_categories 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_categoriesFindFirstArgs} args - Arguments to find a Shops_categories
     * @example
     * // Get one Shops_categories
     * const shops_categories = await prisma.shops_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends shops_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, shops_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_categories 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_categoriesFindFirstOrThrowArgs} args - Arguments to find a Shops_categories
     * @example
     * // Get one Shops_categories
     * const shops_categories = await prisma.shops_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends shops_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shops_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Shops_categories 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_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shops_categories
     * const shops_categories = await prisma.shops_categories.findMany()
     *
     * // Get first 10 Shops_categories
     * const shops_categories = await prisma.shops_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const shops_categoriesWithIdOnly = await prisma.shops_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends shops_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, shops_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Shops_categories.
     * @param {shops_categoriesCreateArgs} args - Arguments to create a Shops_categories.
     * @example
     * // Create one Shops_categories
     * const Shops_categories = await prisma.shops_categories.create({
     *   data: {
     *     // ... data to create a Shops_categories
     *   }
     * })
     *
     */
    create<T extends shops_categoriesCreateArgs>(args: Prisma.SelectSubset<T, shops_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Shops_categories.
     * @param {shops_categoriesCreateManyArgs} args - Arguments to create many Shops_categories.
     * @example
     * // Create many Shops_categories
     * const shops_categories = await prisma.shops_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends shops_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, shops_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Shops_categories and returns the data saved in the database.
     * @param {shops_categoriesCreateManyAndReturnArgs} args - Arguments to create many Shops_categories.
     * @example
     * // Create many Shops_categories
     * const shops_categories = await prisma.shops_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Shops_categories and only return the `id`
     * const shops_categoriesWithIdOnly = await prisma.shops_categories.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_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shops_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Shops_categories.
     * @param {shops_categoriesDeleteArgs} args - Arguments to delete one Shops_categories.
     * @example
     * // Delete one Shops_categories
     * const Shops_categories = await prisma.shops_categories.delete({
     *   where: {
     *     // ... filter to delete one Shops_categories
     *   }
     * })
     *
     */
    delete<T extends shops_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, shops_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Shops_categories.
     * @param {shops_categoriesUpdateArgs} args - Arguments to update one Shops_categories.
     * @example
     * // Update one Shops_categories
     * const shops_categories = await prisma.shops_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends shops_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, shops_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Shops_categories.
     * @param {shops_categoriesDeleteManyArgs} args - Arguments to filter Shops_categories to delete.
     * @example
     * // Delete a few Shops_categories
     * const { count } = await prisma.shops_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends shops_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, shops_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shops_categories
     * const shops_categories = await prisma.shops_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends shops_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, shops_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_categories and returns the data updated in the database.
     * @param {shops_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Shops_categories.
     * @example
     * // Update many Shops_categories
     * const shops_categories = await prisma.shops_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Shops_categories and only return the `id`
     * const shops_categoriesWithIdOnly = await prisma.shops_categories.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_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shops_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Shops_categories.
     * @param {shops_categoriesUpsertArgs} args - Arguments to update or create a Shops_categories.
     * @example
     * // Update or create a Shops_categories
     * const shops_categories = await prisma.shops_categories.upsert({
     *   create: {
     *     // ... data to create a Shops_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shops_categories we want to update
     *   }
     * })
     */
    upsert<T extends shops_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, shops_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__shops_categoriesClient<runtime.Types.Result.GetResult<Prisma.$shops_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Shops_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_categoriesCountArgs} args - Arguments to filter Shops_categories to count.
     * @example
     * // Count the number of Shops_categories
     * const count = await prisma.shops_categories.count({
     *   where: {
     *     // ... the filter for the Shops_categories we want to count
     *   }
     * })
    **/
    count<T extends shops_categoriesCountArgs>(args?: Prisma.Subset<T, shops_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Shops_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Shops_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Shops_categoriesAggregateArgs} 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_categoriesAggregateArgs>(args: Prisma.Subset<T, Shops_categoriesAggregateArgs>): Prisma.PrismaPromise<GetShops_categoriesAggregateType<T>>;
    /**
     * Group by Shops_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_categoriesGroupByArgs} 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_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: shops_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: shops_categoriesGroupByArgs['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_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShops_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the shops_categories model
     */
    readonly fields: shops_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for shops_categories.
 * 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_categoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    categories<T extends Prisma.shops_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shops_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shops<T extends Prisma.shops_categories$shopsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shops_categories$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_categories model
 */
export interface shops_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"shops_categories", 'Int'>;
    readonly shops_id: Prisma.FieldRef<"shops_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"shops_categories", 'Int'>;
}
/**
 * shops_categories findUnique
 */
export type shops_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which shops_categories to fetch.
     */
    where: Prisma.shops_categoriesWhereUniqueInput;
};
/**
 * shops_categories findUniqueOrThrow
 */
export type shops_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which shops_categories to fetch.
     */
    where: Prisma.shops_categoriesWhereUniqueInput;
};
/**
 * shops_categories findFirst
 */
export type shops_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which shops_categories to fetch.
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_categories to fetch.
     */
    orderBy?: Prisma.shops_categoriesOrderByWithRelationInput | Prisma.shops_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_categories.
     */
    cursor?: Prisma.shops_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_categories 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_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_categories.
     */
    distinct?: Prisma.Shops_categoriesScalarFieldEnum | Prisma.Shops_categoriesScalarFieldEnum[];
};
/**
 * shops_categories findFirstOrThrow
 */
export type shops_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which shops_categories to fetch.
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_categories to fetch.
     */
    orderBy?: Prisma.shops_categoriesOrderByWithRelationInput | Prisma.shops_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_categories.
     */
    cursor?: Prisma.shops_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_categories 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_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_categories.
     */
    distinct?: Prisma.Shops_categoriesScalarFieldEnum | Prisma.Shops_categoriesScalarFieldEnum[];
};
/**
 * shops_categories findMany
 */
export type shops_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which shops_categories to fetch.
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_categories to fetch.
     */
    orderBy?: Prisma.shops_categoriesOrderByWithRelationInput | Prisma.shops_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing shops_categories.
     */
    cursor?: Prisma.shops_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_categories 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_categories.
     */
    skip?: number;
    distinct?: Prisma.Shops_categoriesScalarFieldEnum | Prisma.Shops_categoriesScalarFieldEnum[];
};
/**
 * shops_categories create
 */
export type shops_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a shops_categories.
     */
    data?: Prisma.XOR<Prisma.shops_categoriesCreateInput, Prisma.shops_categoriesUncheckedCreateInput>;
};
/**
 * shops_categories createMany
 */
export type shops_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many shops_categories.
     */
    data: Prisma.shops_categoriesCreateManyInput | Prisma.shops_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * shops_categories createManyAndReturn
 */
export type shops_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many shops_categories.
     */
    data: Prisma.shops_categoriesCreateManyInput | Prisma.shops_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_categories update
 */
export type shops_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a shops_categories.
     */
    data: Prisma.XOR<Prisma.shops_categoriesUpdateInput, Prisma.shops_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which shops_categories to update.
     */
    where: Prisma.shops_categoriesWhereUniqueInput;
};
/**
 * shops_categories updateMany
 */
export type shops_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update shops_categories.
     */
    data: Prisma.XOR<Prisma.shops_categoriesUpdateManyMutationInput, Prisma.shops_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which shops_categories to update
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * Limit how many shops_categories to update.
     */
    limit?: number;
};
/**
 * shops_categories updateManyAndReturn
 */
export type shops_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update shops_categories.
     */
    data: Prisma.XOR<Prisma.shops_categoriesUpdateManyMutationInput, Prisma.shops_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which shops_categories to update
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * Limit how many shops_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_categories upsert
 */
export type shops_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the shops_categories to update in case it exists.
     */
    where: Prisma.shops_categoriesWhereUniqueInput;
    /**
     * In case the shops_categories found by the `where` argument doesn't exist, create a new shops_categories with this data.
     */
    create: Prisma.XOR<Prisma.shops_categoriesCreateInput, Prisma.shops_categoriesUncheckedCreateInput>;
    /**
     * In case the shops_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.shops_categoriesUpdateInput, Prisma.shops_categoriesUncheckedUpdateInput>;
};
/**
 * shops_categories delete
 */
export type shops_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which shops_categories to delete.
     */
    where: Prisma.shops_categoriesWhereUniqueInput;
};
/**
 * shops_categories deleteMany
 */
export type shops_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_categories to delete
     */
    where?: Prisma.shops_categoriesWhereInput;
    /**
     * Limit how many shops_categories to delete.
     */
    limit?: number;
};
/**
 * shops_categories.categories
 */
export type shops_categories$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories
     */
    select?: Prisma.categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories
     */
    omit?: Prisma.categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categoriesInclude<ExtArgs> | null;
    where?: Prisma.categoriesWhereInput;
};
/**
 * shops_categories.shops
 */
export type shops_categories$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_categories without action
 */
export type shops_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_categories
     */
    select?: Prisma.shops_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_categories
     */
    omit?: Prisma.shops_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_categoriesInclude<ExtArgs> | null;
};
export {};
