import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model shop_type_shops
 * 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 shop_type_shopsModel = runtime.Types.Result.DefaultSelection<Prisma.$shop_type_shopsPayload>;
export type AggregateShop_type_shops = {
    _count: Shop_type_shopsCountAggregateOutputType | null;
    _avg: Shop_type_shopsAvgAggregateOutputType | null;
    _sum: Shop_type_shopsSumAggregateOutputType | null;
    _min: Shop_type_shopsMinAggregateOutputType | null;
    _max: Shop_type_shopsMaxAggregateOutputType | null;
};
export type Shop_type_shopsAvgAggregateOutputType = {
    id: number | null;
    shop_type_id: number | null;
    shops_id: number | null;
};
export type Shop_type_shopsSumAggregateOutputType = {
    id: number | null;
    shop_type_id: number | null;
    shops_id: number | null;
};
export type Shop_type_shopsMinAggregateOutputType = {
    id: number | null;
    shop_type_id: number | null;
    shops_id: number | null;
};
export type Shop_type_shopsMaxAggregateOutputType = {
    id: number | null;
    shop_type_id: number | null;
    shops_id: number | null;
};
export type Shop_type_shopsCountAggregateOutputType = {
    id: number;
    shop_type_id: number;
    shops_id: number;
    _all: number;
};
export type Shop_type_shopsAvgAggregateInputType = {
    id?: true;
    shop_type_id?: true;
    shops_id?: true;
};
export type Shop_type_shopsSumAggregateInputType = {
    id?: true;
    shop_type_id?: true;
    shops_id?: true;
};
export type Shop_type_shopsMinAggregateInputType = {
    id?: true;
    shop_type_id?: true;
    shops_id?: true;
};
export type Shop_type_shopsMaxAggregateInputType = {
    id?: true;
    shop_type_id?: true;
    shops_id?: true;
};
export type Shop_type_shopsCountAggregateInputType = {
    id?: true;
    shop_type_id?: true;
    shops_id?: true;
    _all?: true;
};
export type Shop_type_shopsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shop_type_shops to aggregate.
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shop_type_shops to fetch.
     */
    orderBy?: Prisma.shop_type_shopsOrderByWithRelationInput | Prisma.shop_type_shopsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.shop_type_shopsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shop_type_shops 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` shop_type_shops.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned shop_type_shops
    **/
    _count?: true | Shop_type_shopsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Shop_type_shopsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Shop_type_shopsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Shop_type_shopsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Shop_type_shopsMaxAggregateInputType;
};
export type GetShop_type_shopsAggregateType<T extends Shop_type_shopsAggregateArgs> = {
    [P in keyof T & keyof AggregateShop_type_shops]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShop_type_shops[P]> : Prisma.GetScalarType<T[P], AggregateShop_type_shops[P]>;
};
export type shop_type_shopsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.shop_type_shopsWhereInput;
    orderBy?: Prisma.shop_type_shopsOrderByWithAggregationInput | Prisma.shop_type_shopsOrderByWithAggregationInput[];
    by: Prisma.Shop_type_shopsScalarFieldEnum[] | Prisma.Shop_type_shopsScalarFieldEnum;
    having?: Prisma.shop_type_shopsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Shop_type_shopsCountAggregateInputType | true;
    _avg?: Shop_type_shopsAvgAggregateInputType;
    _sum?: Shop_type_shopsSumAggregateInputType;
    _min?: Shop_type_shopsMinAggregateInputType;
    _max?: Shop_type_shopsMaxAggregateInputType;
};
export type Shop_type_shopsGroupByOutputType = {
    id: number;
    shop_type_id: number | null;
    shops_id: number | null;
    _count: Shop_type_shopsCountAggregateOutputType | null;
    _avg: Shop_type_shopsAvgAggregateOutputType | null;
    _sum: Shop_type_shopsSumAggregateOutputType | null;
    _min: Shop_type_shopsMinAggregateOutputType | null;
    _max: Shop_type_shopsMaxAggregateOutputType | null;
};
type GetShop_type_shopsGroupByPayload<T extends shop_type_shopsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Shop_type_shopsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Shop_type_shopsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Shop_type_shopsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Shop_type_shopsGroupByOutputType[P]>;
}>>;
export type shop_type_shopsWhereInput = {
    AND?: Prisma.shop_type_shopsWhereInput | Prisma.shop_type_shopsWhereInput[];
    OR?: Prisma.shop_type_shopsWhereInput[];
    NOT?: Prisma.shop_type_shopsWhereInput | Prisma.shop_type_shopsWhereInput[];
    id?: Prisma.IntFilter<"shop_type_shops"> | number;
    shop_type_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
    shops_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
    shop_type?: Prisma.XOR<Prisma.Shop_typeNullableScalarRelationFilter, Prisma.shop_typeWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
};
export type shop_type_shopsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shop_type?: Prisma.shop_typeOrderByWithRelationInput;
    shops?: Prisma.shopsOrderByWithRelationInput;
};
export type shop_type_shopsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.shop_type_shopsWhereInput | Prisma.shop_type_shopsWhereInput[];
    OR?: Prisma.shop_type_shopsWhereInput[];
    NOT?: Prisma.shop_type_shopsWhereInput | Prisma.shop_type_shopsWhereInput[];
    shop_type_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
    shops_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
    shop_type?: Prisma.XOR<Prisma.Shop_typeNullableScalarRelationFilter, Prisma.shop_typeWhereInput> | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
}, "id">;
export type shop_type_shopsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.shop_type_shopsCountOrderByAggregateInput;
    _avg?: Prisma.shop_type_shopsAvgOrderByAggregateInput;
    _max?: Prisma.shop_type_shopsMaxOrderByAggregateInput;
    _min?: Prisma.shop_type_shopsMinOrderByAggregateInput;
    _sum?: Prisma.shop_type_shopsSumOrderByAggregateInput;
};
export type shop_type_shopsScalarWhereWithAggregatesInput = {
    AND?: Prisma.shop_type_shopsScalarWhereWithAggregatesInput | Prisma.shop_type_shopsScalarWhereWithAggregatesInput[];
    OR?: Prisma.shop_type_shopsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.shop_type_shopsScalarWhereWithAggregatesInput | Prisma.shop_type_shopsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"shop_type_shops"> | number;
    shop_type_id?: Prisma.IntNullableWithAggregatesFilter<"shop_type_shops"> | number | null;
    shops_id?: Prisma.IntNullableWithAggregatesFilter<"shop_type_shops"> | number | null;
};
export type shop_type_shopsCreateInput = {
    shop_type?: Prisma.shop_typeCreateNestedOneWithoutShop_type_shopsInput;
    shops?: Prisma.shopsCreateNestedOneWithoutShop_type_shopsInput;
};
export type shop_type_shopsUncheckedCreateInput = {
    id?: number;
    shop_type_id?: number | null;
    shops_id?: number | null;
};
export type shop_type_shopsUpdateInput = {
    shop_type?: Prisma.shop_typeUpdateOneWithoutShop_type_shopsNestedInput;
    shops?: Prisma.shopsUpdateOneWithoutShop_type_shopsNestedInput;
};
export type shop_type_shopsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shop_type_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shop_type_shopsCreateManyInput = {
    id?: number;
    shop_type_id?: number | null;
    shops_id?: number | null;
};
export type shop_type_shopsUpdateManyMutationInput = {};
export type shop_type_shopsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shop_type_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Shop_type_shopsListRelationFilter = {
    every?: Prisma.shop_type_shopsWhereInput;
    some?: Prisma.shop_type_shopsWhereInput;
    none?: Prisma.shop_type_shopsWhereInput;
};
export type shop_type_shopsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type shop_type_shopsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shop_type_shopsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shop_type_shopsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shop_type_shopsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shop_type_shopsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop_type_id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shop_type_shopsCreateNestedManyWithoutShop_typeInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput> | Prisma.shop_type_shopsCreateWithoutShop_typeInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput | Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShop_typeInputEnvelope;
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
};
export type shop_type_shopsUncheckedCreateNestedManyWithoutShop_typeInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput> | Prisma.shop_type_shopsCreateWithoutShop_typeInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput | Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShop_typeInputEnvelope;
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
};
export type shop_type_shopsUpdateManyWithoutShop_typeNestedInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput> | Prisma.shop_type_shopsCreateWithoutShop_typeInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput | Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput[];
    upsert?: Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShop_typeInput | Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShop_typeInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShop_typeInputEnvelope;
    set?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    disconnect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    delete?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    update?: Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShop_typeInput | Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShop_typeInput[];
    updateMany?: Prisma.shop_type_shopsUpdateManyWithWhereWithoutShop_typeInput | Prisma.shop_type_shopsUpdateManyWithWhereWithoutShop_typeInput[];
    deleteMany?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
};
export type shop_type_shopsUncheckedUpdateManyWithoutShop_typeNestedInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput> | Prisma.shop_type_shopsCreateWithoutShop_typeInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput | Prisma.shop_type_shopsCreateOrConnectWithoutShop_typeInput[];
    upsert?: Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShop_typeInput | Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShop_typeInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShop_typeInputEnvelope;
    set?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    disconnect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    delete?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    update?: Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShop_typeInput | Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShop_typeInput[];
    updateMany?: Prisma.shop_type_shopsUpdateManyWithWhereWithoutShop_typeInput | Prisma.shop_type_shopsUpdateManyWithWhereWithoutShop_typeInput[];
    deleteMany?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
};
export type shop_type_shopsCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput> | Prisma.shop_type_shopsCreateWithoutShopsInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput | Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShopsInputEnvelope;
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
};
export type shop_type_shopsUncheckedCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput> | Prisma.shop_type_shopsCreateWithoutShopsInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput | Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShopsInputEnvelope;
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
};
export type shop_type_shopsUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput> | Prisma.shop_type_shopsCreateWithoutShopsInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput | Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShopsInputEnvelope;
    set?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    disconnect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    delete?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    update?: Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shop_type_shopsUpdateManyWithWhereWithoutShopsInput | Prisma.shop_type_shopsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
};
export type shop_type_shopsUncheckedUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput> | Prisma.shop_type_shopsCreateWithoutShopsInput[] | Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput | Prisma.shop_type_shopsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shop_type_shopsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shop_type_shopsCreateManyShopsInputEnvelope;
    set?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    disconnect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    delete?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    connect?: Prisma.shop_type_shopsWhereUniqueInput | Prisma.shop_type_shopsWhereUniqueInput[];
    update?: Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shop_type_shopsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shop_type_shopsUpdateManyWithWhereWithoutShopsInput | Prisma.shop_type_shopsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
};
export type shop_type_shopsCreateWithoutShop_typeInput = {
    shops?: Prisma.shopsCreateNestedOneWithoutShop_type_shopsInput;
};
export type shop_type_shopsUncheckedCreateWithoutShop_typeInput = {
    id?: number;
    shops_id?: number | null;
};
export type shop_type_shopsCreateOrConnectWithoutShop_typeInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    create: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput>;
};
export type shop_type_shopsCreateManyShop_typeInputEnvelope = {
    data: Prisma.shop_type_shopsCreateManyShop_typeInput | Prisma.shop_type_shopsCreateManyShop_typeInput[];
    skipDuplicates?: boolean;
};
export type shop_type_shopsUpsertWithWhereUniqueWithoutShop_typeInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    update: Prisma.XOR<Prisma.shop_type_shopsUpdateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedUpdateWithoutShop_typeInput>;
    create: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedCreateWithoutShop_typeInput>;
};
export type shop_type_shopsUpdateWithWhereUniqueWithoutShop_typeInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateWithoutShop_typeInput, Prisma.shop_type_shopsUncheckedUpdateWithoutShop_typeInput>;
};
export type shop_type_shopsUpdateManyWithWhereWithoutShop_typeInput = {
    where: Prisma.shop_type_shopsScalarWhereInput;
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateManyMutationInput, Prisma.shop_type_shopsUncheckedUpdateManyWithoutShop_typeInput>;
};
export type shop_type_shopsScalarWhereInput = {
    AND?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
    OR?: Prisma.shop_type_shopsScalarWhereInput[];
    NOT?: Prisma.shop_type_shopsScalarWhereInput | Prisma.shop_type_shopsScalarWhereInput[];
    id?: Prisma.IntFilter<"shop_type_shops"> | number;
    shop_type_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
    shops_id?: Prisma.IntNullableFilter<"shop_type_shops"> | number | null;
};
export type shop_type_shopsCreateWithoutShopsInput = {
    shop_type?: Prisma.shop_typeCreateNestedOneWithoutShop_type_shopsInput;
};
export type shop_type_shopsUncheckedCreateWithoutShopsInput = {
    id?: number;
    shop_type_id?: number | null;
};
export type shop_type_shopsCreateOrConnectWithoutShopsInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    create: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput>;
};
export type shop_type_shopsCreateManyShopsInputEnvelope = {
    data: Prisma.shop_type_shopsCreateManyShopsInput | Prisma.shop_type_shopsCreateManyShopsInput[];
    skipDuplicates?: boolean;
};
export type shop_type_shopsUpsertWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    update: Prisma.XOR<Prisma.shop_type_shopsUpdateWithoutShopsInput, Prisma.shop_type_shopsUncheckedUpdateWithoutShopsInput>;
    create: Prisma.XOR<Prisma.shop_type_shopsCreateWithoutShopsInput, Prisma.shop_type_shopsUncheckedCreateWithoutShopsInput>;
};
export type shop_type_shopsUpdateWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shop_type_shopsWhereUniqueInput;
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateWithoutShopsInput, Prisma.shop_type_shopsUncheckedUpdateWithoutShopsInput>;
};
export type shop_type_shopsUpdateManyWithWhereWithoutShopsInput = {
    where: Prisma.shop_type_shopsScalarWhereInput;
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateManyMutationInput, Prisma.shop_type_shopsUncheckedUpdateManyWithoutShopsInput>;
};
export type shop_type_shopsCreateManyShop_typeInput = {
    id?: number;
    shops_id?: number | null;
};
export type shop_type_shopsUpdateWithoutShop_typeInput = {
    shops?: Prisma.shopsUpdateOneWithoutShop_type_shopsNestedInput;
};
export type shop_type_shopsUncheckedUpdateWithoutShop_typeInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shop_type_shopsUncheckedUpdateManyWithoutShop_typeInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shop_type_shopsCreateManyShopsInput = {
    id?: number;
    shop_type_id?: number | null;
};
export type shop_type_shopsUpdateWithoutShopsInput = {
    shop_type?: Prisma.shop_typeUpdateOneWithoutShop_type_shopsNestedInput;
};
export type shop_type_shopsUncheckedUpdateWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shop_type_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shop_type_shopsUncheckedUpdateManyWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shop_type_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shop_type_shopsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shop_type_id?: boolean;
    shops_id?: boolean;
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shop_type_shops"]>;
export type shop_type_shopsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shop_type_id?: boolean;
    shops_id?: boolean;
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shop_type_shops"]>;
export type shop_type_shopsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shop_type_id?: boolean;
    shops_id?: boolean;
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shop_type_shops"]>;
export type shop_type_shopsSelectScalar = {
    id?: boolean;
    shop_type_id?: boolean;
    shops_id?: boolean;
};
export type shop_type_shopsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shop_type_id" | "shops_id", ExtArgs["result"]["shop_type_shops"]>;
export type shop_type_shopsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
};
export type shop_type_shopsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
};
export type shop_type_shopsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shop_type?: boolean | Prisma.shop_type_shops$shop_typeArgs<ExtArgs>;
    shops?: boolean | Prisma.shop_type_shops$shopsArgs<ExtArgs>;
};
export type $shop_type_shopsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "shop_type_shops";
    objects: {
        shop_type: Prisma.$shop_typePayload<ExtArgs> | null;
        shops: Prisma.$shopsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        shop_type_id: number | null;
        shops_id: number | null;
    }, ExtArgs["result"]["shop_type_shops"]>;
    composites: {};
};
export type shop_type_shopsGetPayload<S extends boolean | null | undefined | shop_type_shopsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload, S>;
export type shop_type_shopsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<shop_type_shopsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Shop_type_shopsCountAggregateInputType | true;
};
export interface shop_type_shopsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['shop_type_shops'];
        meta: {
            name: 'shop_type_shops';
        };
    };
    /**
     * Find zero or one Shop_type_shops that matches the filter.
     * @param {shop_type_shopsFindUniqueArgs} args - Arguments to find a Shop_type_shops
     * @example
     * // Get one Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends shop_type_shopsFindUniqueArgs>(args: Prisma.SelectSubset<T, shop_type_shopsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Shop_type_shops that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {shop_type_shopsFindUniqueOrThrowArgs} args - Arguments to find a Shop_type_shops
     * @example
     * // Get one Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends shop_type_shopsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shop_type_shopsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shop_type_shops 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 {shop_type_shopsFindFirstArgs} args - Arguments to find a Shop_type_shops
     * @example
     * // Get one Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends shop_type_shopsFindFirstArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsFindFirstArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shop_type_shops 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 {shop_type_shopsFindFirstOrThrowArgs} args - Arguments to find a Shop_type_shops
     * @example
     * // Get one Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends shop_type_shopsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Shop_type_shops 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 {shop_type_shopsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findMany()
     *
     * // Get first 10 Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const shop_type_shopsWithIdOnly = await prisma.shop_type_shops.findMany({ select: { id: true } })
     *
     */
    findMany<T extends shop_type_shopsFindManyArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Shop_type_shops.
     * @param {shop_type_shopsCreateArgs} args - Arguments to create a Shop_type_shops.
     * @example
     * // Create one Shop_type_shops
     * const Shop_type_shops = await prisma.shop_type_shops.create({
     *   data: {
     *     // ... data to create a Shop_type_shops
     *   }
     * })
     *
     */
    create<T extends shop_type_shopsCreateArgs>(args: Prisma.SelectSubset<T, shop_type_shopsCreateArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Shop_type_shops.
     * @param {shop_type_shopsCreateManyArgs} args - Arguments to create many Shop_type_shops.
     * @example
     * // Create many Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends shop_type_shopsCreateManyArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Shop_type_shops and returns the data saved in the database.
     * @param {shop_type_shopsCreateManyAndReturnArgs} args - Arguments to create many Shop_type_shops.
     * @example
     * // Create many Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Shop_type_shops and only return the `id`
     * const shop_type_shopsWithIdOnly = await prisma.shop_type_shops.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 shop_type_shopsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Shop_type_shops.
     * @param {shop_type_shopsDeleteArgs} args - Arguments to delete one Shop_type_shops.
     * @example
     * // Delete one Shop_type_shops
     * const Shop_type_shops = await prisma.shop_type_shops.delete({
     *   where: {
     *     // ... filter to delete one Shop_type_shops
     *   }
     * })
     *
     */
    delete<T extends shop_type_shopsDeleteArgs>(args: Prisma.SelectSubset<T, shop_type_shopsDeleteArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Shop_type_shops.
     * @param {shop_type_shopsUpdateArgs} args - Arguments to update one Shop_type_shops.
     * @example
     * // Update one Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends shop_type_shopsUpdateArgs>(args: Prisma.SelectSubset<T, shop_type_shopsUpdateArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Shop_type_shops.
     * @param {shop_type_shopsDeleteManyArgs} args - Arguments to filter Shop_type_shops to delete.
     * @example
     * // Delete a few Shop_type_shops
     * const { count } = await prisma.shop_type_shops.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends shop_type_shopsDeleteManyArgs>(args?: Prisma.SelectSubset<T, shop_type_shopsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shop_type_shops.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shop_type_shopsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends shop_type_shopsUpdateManyArgs>(args: Prisma.SelectSubset<T, shop_type_shopsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shop_type_shops and returns the data updated in the database.
     * @param {shop_type_shopsUpdateManyAndReturnArgs} args - Arguments to update many Shop_type_shops.
     * @example
     * // Update many Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Shop_type_shops and only return the `id`
     * const shop_type_shopsWithIdOnly = await prisma.shop_type_shops.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 shop_type_shopsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shop_type_shopsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Shop_type_shops.
     * @param {shop_type_shopsUpsertArgs} args - Arguments to update or create a Shop_type_shops.
     * @example
     * // Update or create a Shop_type_shops
     * const shop_type_shops = await prisma.shop_type_shops.upsert({
     *   create: {
     *     // ... data to create a Shop_type_shops
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shop_type_shops we want to update
     *   }
     * })
     */
    upsert<T extends shop_type_shopsUpsertArgs>(args: Prisma.SelectSubset<T, shop_type_shopsUpsertArgs<ExtArgs>>): Prisma.Prisma__shop_type_shopsClient<runtime.Types.Result.GetResult<Prisma.$shop_type_shopsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Shop_type_shops.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shop_type_shopsCountArgs} args - Arguments to filter Shop_type_shops to count.
     * @example
     * // Count the number of Shop_type_shops
     * const count = await prisma.shop_type_shops.count({
     *   where: {
     *     // ... the filter for the Shop_type_shops we want to count
     *   }
     * })
    **/
    count<T extends shop_type_shopsCountArgs>(args?: Prisma.Subset<T, shop_type_shopsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Shop_type_shopsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Shop_type_shops.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Shop_type_shopsAggregateArgs} 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 Shop_type_shopsAggregateArgs>(args: Prisma.Subset<T, Shop_type_shopsAggregateArgs>): Prisma.PrismaPromise<GetShop_type_shopsAggregateType<T>>;
    /**
     * Group by Shop_type_shops.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shop_type_shopsGroupByArgs} 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 shop_type_shopsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: shop_type_shopsGroupByArgs['orderBy'];
    } : {
        orderBy?: shop_type_shopsGroupByArgs['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, shop_type_shopsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShop_type_shopsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the shop_type_shops model
     */
    readonly fields: shop_type_shopsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for shop_type_shops.
 * 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__shop_type_shopsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    shop_type<T extends Prisma.shop_type_shops$shop_typeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shop_type_shops$shop_typeArgs<ExtArgs>>): Prisma.Prisma__shop_typeClient<runtime.Types.Result.GetResult<Prisma.$shop_typePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shops<T extends Prisma.shop_type_shops$shopsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shop_type_shops$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 shop_type_shops model
 */
export interface shop_type_shopsFieldRefs {
    readonly id: Prisma.FieldRef<"shop_type_shops", 'Int'>;
    readonly shop_type_id: Prisma.FieldRef<"shop_type_shops", 'Int'>;
    readonly shops_id: Prisma.FieldRef<"shop_type_shops", 'Int'>;
}
/**
 * shop_type_shops findUnique
 */
export type shop_type_shopsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter, which shop_type_shops to fetch.
     */
    where: Prisma.shop_type_shopsWhereUniqueInput;
};
/**
 * shop_type_shops findUniqueOrThrow
 */
export type shop_type_shopsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter, which shop_type_shops to fetch.
     */
    where: Prisma.shop_type_shopsWhereUniqueInput;
};
/**
 * shop_type_shops findFirst
 */
export type shop_type_shopsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter, which shop_type_shops to fetch.
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shop_type_shops to fetch.
     */
    orderBy?: Prisma.shop_type_shopsOrderByWithRelationInput | Prisma.shop_type_shopsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shop_type_shops.
     */
    cursor?: Prisma.shop_type_shopsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shop_type_shops 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` shop_type_shops.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shop_type_shops.
     */
    distinct?: Prisma.Shop_type_shopsScalarFieldEnum | Prisma.Shop_type_shopsScalarFieldEnum[];
};
/**
 * shop_type_shops findFirstOrThrow
 */
export type shop_type_shopsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter, which shop_type_shops to fetch.
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shop_type_shops to fetch.
     */
    orderBy?: Prisma.shop_type_shopsOrderByWithRelationInput | Prisma.shop_type_shopsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shop_type_shops.
     */
    cursor?: Prisma.shop_type_shopsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shop_type_shops 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` shop_type_shops.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shop_type_shops.
     */
    distinct?: Prisma.Shop_type_shopsScalarFieldEnum | Prisma.Shop_type_shopsScalarFieldEnum[];
};
/**
 * shop_type_shops findMany
 */
export type shop_type_shopsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter, which shop_type_shops to fetch.
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shop_type_shops to fetch.
     */
    orderBy?: Prisma.shop_type_shopsOrderByWithRelationInput | Prisma.shop_type_shopsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing shop_type_shops.
     */
    cursor?: Prisma.shop_type_shopsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shop_type_shops 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` shop_type_shops.
     */
    skip?: number;
    distinct?: Prisma.Shop_type_shopsScalarFieldEnum | Prisma.Shop_type_shopsScalarFieldEnum[];
};
/**
 * shop_type_shops create
 */
export type shop_type_shopsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * The data needed to create a shop_type_shops.
     */
    data?: Prisma.XOR<Prisma.shop_type_shopsCreateInput, Prisma.shop_type_shopsUncheckedCreateInput>;
};
/**
 * shop_type_shops createMany
 */
export type shop_type_shopsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many shop_type_shops.
     */
    data: Prisma.shop_type_shopsCreateManyInput | Prisma.shop_type_shopsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * shop_type_shops createManyAndReturn
 */
export type shop_type_shopsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * The data used to create many shop_type_shops.
     */
    data: Prisma.shop_type_shopsCreateManyInput | Prisma.shop_type_shopsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * shop_type_shops update
 */
export type shop_type_shopsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * The data needed to update a shop_type_shops.
     */
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateInput, Prisma.shop_type_shopsUncheckedUpdateInput>;
    /**
     * Choose, which shop_type_shops to update.
     */
    where: Prisma.shop_type_shopsWhereUniqueInput;
};
/**
 * shop_type_shops updateMany
 */
export type shop_type_shopsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update shop_type_shops.
     */
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateManyMutationInput, Prisma.shop_type_shopsUncheckedUpdateManyInput>;
    /**
     * Filter which shop_type_shops to update
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * Limit how many shop_type_shops to update.
     */
    limit?: number;
};
/**
 * shop_type_shops updateManyAndReturn
 */
export type shop_type_shopsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * The data used to update shop_type_shops.
     */
    data: Prisma.XOR<Prisma.shop_type_shopsUpdateManyMutationInput, Prisma.shop_type_shopsUncheckedUpdateManyInput>;
    /**
     * Filter which shop_type_shops to update
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * Limit how many shop_type_shops to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * shop_type_shops upsert
 */
export type shop_type_shopsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * The filter to search for the shop_type_shops to update in case it exists.
     */
    where: Prisma.shop_type_shopsWhereUniqueInput;
    /**
     * In case the shop_type_shops found by the `where` argument doesn't exist, create a new shop_type_shops with this data.
     */
    create: Prisma.XOR<Prisma.shop_type_shopsCreateInput, Prisma.shop_type_shopsUncheckedCreateInput>;
    /**
     * In case the shop_type_shops was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.shop_type_shopsUpdateInput, Prisma.shop_type_shopsUncheckedUpdateInput>;
};
/**
 * shop_type_shops delete
 */
export type shop_type_shopsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
    /**
     * Filter which shop_type_shops to delete.
     */
    where: Prisma.shop_type_shopsWhereUniqueInput;
};
/**
 * shop_type_shops deleteMany
 */
export type shop_type_shopsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shop_type_shops to delete
     */
    where?: Prisma.shop_type_shopsWhereInput;
    /**
     * Limit how many shop_type_shops to delete.
     */
    limit?: number;
};
/**
 * shop_type_shops.shop_type
 */
export type shop_type_shops$shop_typeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type
     */
    select?: Prisma.shop_typeSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type
     */
    omit?: Prisma.shop_typeOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_typeInclude<ExtArgs> | null;
    where?: Prisma.shop_typeWhereInput;
};
/**
 * shop_type_shops.shops
 */
export type shop_type_shops$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;
};
/**
 * shop_type_shops without action
 */
export type shop_type_shopsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shop_type_shops
     */
    select?: Prisma.shop_type_shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shop_type_shops
     */
    omit?: Prisma.shop_type_shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shop_type_shopsInclude<ExtArgs> | null;
};
export {};
