import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model products_tags
 * 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 products_tagsModel = runtime.Types.Result.DefaultSelection<Prisma.$products_tagsPayload>;
export type AggregateProducts_tags = {
    _count: Products_tagsCountAggregateOutputType | null;
    _avg: Products_tagsAvgAggregateOutputType | null;
    _sum: Products_tagsSumAggregateOutputType | null;
    _min: Products_tagsMinAggregateOutputType | null;
    _max: Products_tagsMaxAggregateOutputType | null;
};
export type Products_tagsAvgAggregateOutputType = {
    id: number | null;
    products_id: number | null;
    tags_id: number | null;
};
export type Products_tagsSumAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    tags_id: number | null;
};
export type Products_tagsMinAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    tags_id: number | null;
};
export type Products_tagsMaxAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    tags_id: number | null;
};
export type Products_tagsCountAggregateOutputType = {
    id: number;
    products_id: number;
    tags_id: number;
    _all: number;
};
export type Products_tagsAvgAggregateInputType = {
    id?: true;
    products_id?: true;
    tags_id?: true;
};
export type Products_tagsSumAggregateInputType = {
    id?: true;
    products_id?: true;
    tags_id?: true;
};
export type Products_tagsMinAggregateInputType = {
    id?: true;
    products_id?: true;
    tags_id?: true;
};
export type Products_tagsMaxAggregateInputType = {
    id?: true;
    products_id?: true;
    tags_id?: true;
};
export type Products_tagsCountAggregateInputType = {
    id?: true;
    products_id?: true;
    tags_id?: true;
    _all?: true;
};
export type Products_tagsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_tags to aggregate.
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_tags to fetch.
     */
    orderBy?: Prisma.products_tagsOrderByWithRelationInput | Prisma.products_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.products_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_tags 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` products_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned products_tags
    **/
    _count?: true | Products_tagsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Products_tagsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Products_tagsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Products_tagsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Products_tagsMaxAggregateInputType;
};
export type GetProducts_tagsAggregateType<T extends Products_tagsAggregateArgs> = {
    [P in keyof T & keyof AggregateProducts_tags]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProducts_tags[P]> : Prisma.GetScalarType<T[P], AggregateProducts_tags[P]>;
};
export type products_tagsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.products_tagsWhereInput;
    orderBy?: Prisma.products_tagsOrderByWithAggregationInput | Prisma.products_tagsOrderByWithAggregationInput[];
    by: Prisma.Products_tagsScalarFieldEnum[] | Prisma.Products_tagsScalarFieldEnum;
    having?: Prisma.products_tagsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Products_tagsCountAggregateInputType | true;
    _avg?: Products_tagsAvgAggregateInputType;
    _sum?: Products_tagsSumAggregateInputType;
    _min?: Products_tagsMinAggregateInputType;
    _max?: Products_tagsMaxAggregateInputType;
};
export type Products_tagsGroupByOutputType = {
    id: number;
    products_id: bigint | null;
    tags_id: number | null;
    _count: Products_tagsCountAggregateOutputType | null;
    _avg: Products_tagsAvgAggregateOutputType | null;
    _sum: Products_tagsSumAggregateOutputType | null;
    _min: Products_tagsMinAggregateOutputType | null;
    _max: Products_tagsMaxAggregateOutputType | null;
};
type GetProducts_tagsGroupByPayload<T extends products_tagsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Products_tagsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Products_tagsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Products_tagsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Products_tagsGroupByOutputType[P]>;
}>>;
export type products_tagsWhereInput = {
    AND?: Prisma.products_tagsWhereInput | Prisma.products_tagsWhereInput[];
    OR?: Prisma.products_tagsWhereInput[];
    NOT?: Prisma.products_tagsWhereInput | Prisma.products_tagsWhereInput[];
    id?: Prisma.IntFilter<"products_tags"> | number;
    products_id?: Prisma.BigIntNullableFilter<"products_tags"> | bigint | number | null;
    tags_id?: Prisma.IntNullableFilter<"products_tags"> | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
    tags?: Prisma.XOR<Prisma.TagsNullableScalarRelationFilter, Prisma.tagsWhereInput> | null;
};
export type products_tagsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    tags_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
    tags?: Prisma.tagsOrderByWithRelationInput;
};
export type products_tagsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.products_tagsWhereInput | Prisma.products_tagsWhereInput[];
    OR?: Prisma.products_tagsWhereInput[];
    NOT?: Prisma.products_tagsWhereInput | Prisma.products_tagsWhereInput[];
    products_id?: Prisma.BigIntNullableFilter<"products_tags"> | bigint | number | null;
    tags_id?: Prisma.IntNullableFilter<"products_tags"> | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
    tags?: Prisma.XOR<Prisma.TagsNullableScalarRelationFilter, Prisma.tagsWhereInput> | null;
}, "id">;
export type products_tagsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    tags_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.products_tagsCountOrderByAggregateInput;
    _avg?: Prisma.products_tagsAvgOrderByAggregateInput;
    _max?: Prisma.products_tagsMaxOrderByAggregateInput;
    _min?: Prisma.products_tagsMinOrderByAggregateInput;
    _sum?: Prisma.products_tagsSumOrderByAggregateInput;
};
export type products_tagsScalarWhereWithAggregatesInput = {
    AND?: Prisma.products_tagsScalarWhereWithAggregatesInput | Prisma.products_tagsScalarWhereWithAggregatesInput[];
    OR?: Prisma.products_tagsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.products_tagsScalarWhereWithAggregatesInput | Prisma.products_tagsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"products_tags"> | number;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"products_tags"> | bigint | number | null;
    tags_id?: Prisma.IntNullableWithAggregatesFilter<"products_tags"> | number | null;
};
export type products_tagsCreateInput = {
    products?: Prisma.productsCreateNestedOneWithoutProducts_tagsInput;
    tags?: Prisma.tagsCreateNestedOneWithoutProducts_tagsInput;
};
export type products_tagsUncheckedCreateInput = {
    id?: number;
    products_id?: bigint | number | null;
    tags_id?: number | null;
};
export type products_tagsUpdateInput = {
    products?: Prisma.productsUpdateOneWithoutProducts_tagsNestedInput;
    tags?: Prisma.tagsUpdateOneWithoutProducts_tagsNestedInput;
};
export type products_tagsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_tagsCreateManyInput = {
    id?: number;
    products_id?: bigint | number | null;
    tags_id?: number | null;
};
export type products_tagsUpdateManyMutationInput = {};
export type products_tagsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Products_tagsListRelationFilter = {
    every?: Prisma.products_tagsWhereInput;
    some?: Prisma.products_tagsWhereInput;
    none?: Prisma.products_tagsWhereInput;
};
export type products_tagsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type products_tagsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type products_tagsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type products_tagsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type products_tagsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type products_tagsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type products_tagsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput> | Prisma.products_tagsCreateWithoutProductsInput[] | Prisma.products_tagsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutProductsInput | Prisma.products_tagsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_tagsCreateManyProductsInputEnvelope;
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
};
export type products_tagsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput> | Prisma.products_tagsCreateWithoutProductsInput[] | Prisma.products_tagsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutProductsInput | Prisma.products_tagsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_tagsCreateManyProductsInputEnvelope;
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
};
export type products_tagsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput> | Prisma.products_tagsCreateWithoutProductsInput[] | Prisma.products_tagsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutProductsInput | Prisma.products_tagsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_tagsUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_tagsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_tagsCreateManyProductsInputEnvelope;
    set?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    disconnect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    delete?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    update?: Prisma.products_tagsUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_tagsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_tagsUpdateManyWithWhereWithoutProductsInput | Prisma.products_tagsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
};
export type products_tagsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput> | Prisma.products_tagsCreateWithoutProductsInput[] | Prisma.products_tagsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutProductsInput | Prisma.products_tagsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_tagsUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_tagsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_tagsCreateManyProductsInputEnvelope;
    set?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    disconnect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    delete?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    update?: Prisma.products_tagsUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_tagsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_tagsUpdateManyWithWhereWithoutProductsInput | Prisma.products_tagsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
};
export type products_tagsCreateNestedManyWithoutTagsInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput> | Prisma.products_tagsCreateWithoutTagsInput[] | Prisma.products_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutTagsInput | Prisma.products_tagsCreateOrConnectWithoutTagsInput[];
    createMany?: Prisma.products_tagsCreateManyTagsInputEnvelope;
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
};
export type products_tagsUncheckedCreateNestedManyWithoutTagsInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput> | Prisma.products_tagsCreateWithoutTagsInput[] | Prisma.products_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutTagsInput | Prisma.products_tagsCreateOrConnectWithoutTagsInput[];
    createMany?: Prisma.products_tagsCreateManyTagsInputEnvelope;
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
};
export type products_tagsUpdateManyWithoutTagsNestedInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput> | Prisma.products_tagsCreateWithoutTagsInput[] | Prisma.products_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutTagsInput | Prisma.products_tagsCreateOrConnectWithoutTagsInput[];
    upsert?: Prisma.products_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.products_tagsUpsertWithWhereUniqueWithoutTagsInput[];
    createMany?: Prisma.products_tagsCreateManyTagsInputEnvelope;
    set?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    disconnect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    delete?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    update?: Prisma.products_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.products_tagsUpdateWithWhereUniqueWithoutTagsInput[];
    updateMany?: Prisma.products_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.products_tagsUpdateManyWithWhereWithoutTagsInput[];
    deleteMany?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
};
export type products_tagsUncheckedUpdateManyWithoutTagsNestedInput = {
    create?: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput> | Prisma.products_tagsCreateWithoutTagsInput[] | Prisma.products_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.products_tagsCreateOrConnectWithoutTagsInput | Prisma.products_tagsCreateOrConnectWithoutTagsInput[];
    upsert?: Prisma.products_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.products_tagsUpsertWithWhereUniqueWithoutTagsInput[];
    createMany?: Prisma.products_tagsCreateManyTagsInputEnvelope;
    set?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    disconnect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    delete?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    connect?: Prisma.products_tagsWhereUniqueInput | Prisma.products_tagsWhereUniqueInput[];
    update?: Prisma.products_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.products_tagsUpdateWithWhereUniqueWithoutTagsInput[];
    updateMany?: Prisma.products_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.products_tagsUpdateManyWithWhereWithoutTagsInput[];
    deleteMany?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
};
export type products_tagsCreateWithoutProductsInput = {
    tags?: Prisma.tagsCreateNestedOneWithoutProducts_tagsInput;
};
export type products_tagsUncheckedCreateWithoutProductsInput = {
    id?: number;
    tags_id?: number | null;
};
export type products_tagsCreateOrConnectWithoutProductsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    create: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput>;
};
export type products_tagsCreateManyProductsInputEnvelope = {
    data: Prisma.products_tagsCreateManyProductsInput | Prisma.products_tagsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type products_tagsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    update: Prisma.XOR<Prisma.products_tagsUpdateWithoutProductsInput, Prisma.products_tagsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.products_tagsCreateWithoutProductsInput, Prisma.products_tagsUncheckedCreateWithoutProductsInput>;
};
export type products_tagsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    data: Prisma.XOR<Prisma.products_tagsUpdateWithoutProductsInput, Prisma.products_tagsUncheckedUpdateWithoutProductsInput>;
};
export type products_tagsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.products_tagsScalarWhereInput;
    data: Prisma.XOR<Prisma.products_tagsUpdateManyMutationInput, Prisma.products_tagsUncheckedUpdateManyWithoutProductsInput>;
};
export type products_tagsScalarWhereInput = {
    AND?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
    OR?: Prisma.products_tagsScalarWhereInput[];
    NOT?: Prisma.products_tagsScalarWhereInput | Prisma.products_tagsScalarWhereInput[];
    id?: Prisma.IntFilter<"products_tags"> | number;
    products_id?: Prisma.BigIntNullableFilter<"products_tags"> | bigint | number | null;
    tags_id?: Prisma.IntNullableFilter<"products_tags"> | number | null;
};
export type products_tagsCreateWithoutTagsInput = {
    products?: Prisma.productsCreateNestedOneWithoutProducts_tagsInput;
};
export type products_tagsUncheckedCreateWithoutTagsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type products_tagsCreateOrConnectWithoutTagsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    create: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput>;
};
export type products_tagsCreateManyTagsInputEnvelope = {
    data: Prisma.products_tagsCreateManyTagsInput | Prisma.products_tagsCreateManyTagsInput[];
    skipDuplicates?: boolean;
};
export type products_tagsUpsertWithWhereUniqueWithoutTagsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    update: Prisma.XOR<Prisma.products_tagsUpdateWithoutTagsInput, Prisma.products_tagsUncheckedUpdateWithoutTagsInput>;
    create: Prisma.XOR<Prisma.products_tagsCreateWithoutTagsInput, Prisma.products_tagsUncheckedCreateWithoutTagsInput>;
};
export type products_tagsUpdateWithWhereUniqueWithoutTagsInput = {
    where: Prisma.products_tagsWhereUniqueInput;
    data: Prisma.XOR<Prisma.products_tagsUpdateWithoutTagsInput, Prisma.products_tagsUncheckedUpdateWithoutTagsInput>;
};
export type products_tagsUpdateManyWithWhereWithoutTagsInput = {
    where: Prisma.products_tagsScalarWhereInput;
    data: Prisma.XOR<Prisma.products_tagsUpdateManyMutationInput, Prisma.products_tagsUncheckedUpdateManyWithoutTagsInput>;
};
export type products_tagsCreateManyProductsInput = {
    id?: number;
    tags_id?: number | null;
};
export type products_tagsUpdateWithoutProductsInput = {
    tags?: Prisma.tagsUpdateOneWithoutProducts_tagsNestedInput;
};
export type products_tagsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_tagsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_tagsCreateManyTagsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type products_tagsUpdateWithoutTagsInput = {
    products?: Prisma.productsUpdateOneWithoutProducts_tagsNestedInput;
};
export type products_tagsUncheckedUpdateWithoutTagsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type products_tagsUncheckedUpdateManyWithoutTagsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type products_tagsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    tags_id?: boolean;
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["products_tags"]>;
export type products_tagsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    tags_id?: boolean;
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["products_tags"]>;
export type products_tagsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    tags_id?: boolean;
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["products_tags"]>;
export type products_tagsSelectScalar = {
    id?: boolean;
    products_id?: boolean;
    tags_id?: boolean;
};
export type products_tagsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "products_id" | "tags_id", ExtArgs["result"]["products_tags"]>;
export type products_tagsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
};
export type products_tagsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
};
export type products_tagsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.products_tags$productsArgs<ExtArgs>;
    tags?: boolean | Prisma.products_tags$tagsArgs<ExtArgs>;
};
export type $products_tagsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "products_tags";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
        tags: Prisma.$tagsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        products_id: bigint | null;
        tags_id: number | null;
    }, ExtArgs["result"]["products_tags"]>;
    composites: {};
};
export type products_tagsGetPayload<S extends boolean | null | undefined | products_tagsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$products_tagsPayload, S>;
export type products_tagsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<products_tagsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Products_tagsCountAggregateInputType | true;
};
export interface products_tagsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['products_tags'];
        meta: {
            name: 'products_tags';
        };
    };
    /**
     * Find zero or one Products_tags that matches the filter.
     * @param {products_tagsFindUniqueArgs} args - Arguments to find a Products_tags
     * @example
     * // Get one Products_tags
     * const products_tags = await prisma.products_tags.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends products_tagsFindUniqueArgs>(args: Prisma.SelectSubset<T, products_tagsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Products_tags that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {products_tagsFindUniqueOrThrowArgs} args - Arguments to find a Products_tags
     * @example
     * // Get one Products_tags
     * const products_tags = await prisma.products_tags.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends products_tagsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, products_tagsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_tags 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 {products_tagsFindFirstArgs} args - Arguments to find a Products_tags
     * @example
     * // Get one Products_tags
     * const products_tags = await prisma.products_tags.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends products_tagsFindFirstArgs>(args?: Prisma.SelectSubset<T, products_tagsFindFirstArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_tags 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 {products_tagsFindFirstOrThrowArgs} args - Arguments to find a Products_tags
     * @example
     * // Get one Products_tags
     * const products_tags = await prisma.products_tags.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends products_tagsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, products_tagsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Products_tags 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 {products_tagsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Products_tags
     * const products_tags = await prisma.products_tags.findMany()
     *
     * // Get first 10 Products_tags
     * const products_tags = await prisma.products_tags.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const products_tagsWithIdOnly = await prisma.products_tags.findMany({ select: { id: true } })
     *
     */
    findMany<T extends products_tagsFindManyArgs>(args?: Prisma.SelectSubset<T, products_tagsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Products_tags.
     * @param {products_tagsCreateArgs} args - Arguments to create a Products_tags.
     * @example
     * // Create one Products_tags
     * const Products_tags = await prisma.products_tags.create({
     *   data: {
     *     // ... data to create a Products_tags
     *   }
     * })
     *
     */
    create<T extends products_tagsCreateArgs>(args: Prisma.SelectSubset<T, products_tagsCreateArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Products_tags.
     * @param {products_tagsCreateManyArgs} args - Arguments to create many Products_tags.
     * @example
     * // Create many Products_tags
     * const products_tags = await prisma.products_tags.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends products_tagsCreateManyArgs>(args?: Prisma.SelectSubset<T, products_tagsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Products_tags and returns the data saved in the database.
     * @param {products_tagsCreateManyAndReturnArgs} args - Arguments to create many Products_tags.
     * @example
     * // Create many Products_tags
     * const products_tags = await prisma.products_tags.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Products_tags and only return the `id`
     * const products_tagsWithIdOnly = await prisma.products_tags.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 products_tagsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, products_tagsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Products_tags.
     * @param {products_tagsDeleteArgs} args - Arguments to delete one Products_tags.
     * @example
     * // Delete one Products_tags
     * const Products_tags = await prisma.products_tags.delete({
     *   where: {
     *     // ... filter to delete one Products_tags
     *   }
     * })
     *
     */
    delete<T extends products_tagsDeleteArgs>(args: Prisma.SelectSubset<T, products_tagsDeleteArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Products_tags.
     * @param {products_tagsUpdateArgs} args - Arguments to update one Products_tags.
     * @example
     * // Update one Products_tags
     * const products_tags = await prisma.products_tags.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends products_tagsUpdateArgs>(args: Prisma.SelectSubset<T, products_tagsUpdateArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Products_tags.
     * @param {products_tagsDeleteManyArgs} args - Arguments to filter Products_tags to delete.
     * @example
     * // Delete a few Products_tags
     * const { count } = await prisma.products_tags.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends products_tagsDeleteManyArgs>(args?: Prisma.SelectSubset<T, products_tagsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_tagsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Products_tags
     * const products_tags = await prisma.products_tags.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends products_tagsUpdateManyArgs>(args: Prisma.SelectSubset<T, products_tagsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_tags and returns the data updated in the database.
     * @param {products_tagsUpdateManyAndReturnArgs} args - Arguments to update many Products_tags.
     * @example
     * // Update many Products_tags
     * const products_tags = await prisma.products_tags.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Products_tags and only return the `id`
     * const products_tagsWithIdOnly = await prisma.products_tags.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 products_tagsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, products_tagsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Products_tags.
     * @param {products_tagsUpsertArgs} args - Arguments to update or create a Products_tags.
     * @example
     * // Update or create a Products_tags
     * const products_tags = await prisma.products_tags.upsert({
     *   create: {
     *     // ... data to create a Products_tags
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Products_tags we want to update
     *   }
     * })
     */
    upsert<T extends products_tagsUpsertArgs>(args: Prisma.SelectSubset<T, products_tagsUpsertArgs<ExtArgs>>): Prisma.Prisma__products_tagsClient<runtime.Types.Result.GetResult<Prisma.$products_tagsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Products_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_tagsCountArgs} args - Arguments to filter Products_tags to count.
     * @example
     * // Count the number of Products_tags
     * const count = await prisma.products_tags.count({
     *   where: {
     *     // ... the filter for the Products_tags we want to count
     *   }
     * })
    **/
    count<T extends products_tagsCountArgs>(args?: Prisma.Subset<T, products_tagsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Products_tagsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Products_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Products_tagsAggregateArgs} 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 Products_tagsAggregateArgs>(args: Prisma.Subset<T, Products_tagsAggregateArgs>): Prisma.PrismaPromise<GetProducts_tagsAggregateType<T>>;
    /**
     * Group by Products_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_tagsGroupByArgs} 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 products_tagsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: products_tagsGroupByArgs['orderBy'];
    } : {
        orderBy?: products_tagsGroupByArgs['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, products_tagsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProducts_tagsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the products_tags model
     */
    readonly fields: products_tagsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for products_tags.
 * 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__products_tagsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    products<T extends Prisma.products_tags$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.products_tags$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    tags<T extends Prisma.products_tags$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.products_tags$tagsArgs<ExtArgs>>): Prisma.Prisma__tagsClient<runtime.Types.Result.GetResult<Prisma.$tagsPayload<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 products_tags model
 */
export interface products_tagsFieldRefs {
    readonly id: Prisma.FieldRef<"products_tags", 'Int'>;
    readonly products_id: Prisma.FieldRef<"products_tags", 'BigInt'>;
    readonly tags_id: Prisma.FieldRef<"products_tags", 'Int'>;
}
/**
 * products_tags findUnique
 */
export type products_tagsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which products_tags to fetch.
     */
    where: Prisma.products_tagsWhereUniqueInput;
};
/**
 * products_tags findUniqueOrThrow
 */
export type products_tagsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which products_tags to fetch.
     */
    where: Prisma.products_tagsWhereUniqueInput;
};
/**
 * products_tags findFirst
 */
export type products_tagsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which products_tags to fetch.
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_tags to fetch.
     */
    orderBy?: Prisma.products_tagsOrderByWithRelationInput | Prisma.products_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_tags.
     */
    cursor?: Prisma.products_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_tags 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` products_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_tags.
     */
    distinct?: Prisma.Products_tagsScalarFieldEnum | Prisma.Products_tagsScalarFieldEnum[];
};
/**
 * products_tags findFirstOrThrow
 */
export type products_tagsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which products_tags to fetch.
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_tags to fetch.
     */
    orderBy?: Prisma.products_tagsOrderByWithRelationInput | Prisma.products_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_tags.
     */
    cursor?: Prisma.products_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_tags 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` products_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_tags.
     */
    distinct?: Prisma.Products_tagsScalarFieldEnum | Prisma.Products_tagsScalarFieldEnum[];
};
/**
 * products_tags findMany
 */
export type products_tagsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which products_tags to fetch.
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_tags to fetch.
     */
    orderBy?: Prisma.products_tagsOrderByWithRelationInput | Prisma.products_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing products_tags.
     */
    cursor?: Prisma.products_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_tags 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` products_tags.
     */
    skip?: number;
    distinct?: Prisma.Products_tagsScalarFieldEnum | Prisma.Products_tagsScalarFieldEnum[];
};
/**
 * products_tags create
 */
export type products_tagsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * The data needed to create a products_tags.
     */
    data?: Prisma.XOR<Prisma.products_tagsCreateInput, Prisma.products_tagsUncheckedCreateInput>;
};
/**
 * products_tags createMany
 */
export type products_tagsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many products_tags.
     */
    data: Prisma.products_tagsCreateManyInput | Prisma.products_tagsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * products_tags createManyAndReturn
 */
export type products_tagsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * The data used to create many products_tags.
     */
    data: Prisma.products_tagsCreateManyInput | Prisma.products_tagsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * products_tags update
 */
export type products_tagsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * The data needed to update a products_tags.
     */
    data: Prisma.XOR<Prisma.products_tagsUpdateInput, Prisma.products_tagsUncheckedUpdateInput>;
    /**
     * Choose, which products_tags to update.
     */
    where: Prisma.products_tagsWhereUniqueInput;
};
/**
 * products_tags updateMany
 */
export type products_tagsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update products_tags.
     */
    data: Prisma.XOR<Prisma.products_tagsUpdateManyMutationInput, Prisma.products_tagsUncheckedUpdateManyInput>;
    /**
     * Filter which products_tags to update
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * Limit how many products_tags to update.
     */
    limit?: number;
};
/**
 * products_tags updateManyAndReturn
 */
export type products_tagsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * The data used to update products_tags.
     */
    data: Prisma.XOR<Prisma.products_tagsUpdateManyMutationInput, Prisma.products_tagsUncheckedUpdateManyInput>;
    /**
     * Filter which products_tags to update
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * Limit how many products_tags to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * products_tags upsert
 */
export type products_tagsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * The filter to search for the products_tags to update in case it exists.
     */
    where: Prisma.products_tagsWhereUniqueInput;
    /**
     * In case the products_tags found by the `where` argument doesn't exist, create a new products_tags with this data.
     */
    create: Prisma.XOR<Prisma.products_tagsCreateInput, Prisma.products_tagsUncheckedCreateInput>;
    /**
     * In case the products_tags was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.products_tagsUpdateInput, Prisma.products_tagsUncheckedUpdateInput>;
};
/**
 * products_tags delete
 */
export type products_tagsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
    /**
     * Filter which products_tags to delete.
     */
    where: Prisma.products_tagsWhereUniqueInput;
};
/**
 * products_tags deleteMany
 */
export type products_tagsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_tags to delete
     */
    where?: Prisma.products_tagsWhereInput;
    /**
     * Limit how many products_tags to delete.
     */
    limit?: number;
};
/**
 * products_tags.products
 */
export type products_tags$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products
     */
    select?: Prisma.productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products
     */
    omit?: Prisma.productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.productsInclude<ExtArgs> | null;
    where?: Prisma.productsWhereInput;
};
/**
 * products_tags.tags
 */
export type products_tags$tagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the tags
     */
    select?: Prisma.tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the tags
     */
    omit?: Prisma.tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.tagsInclude<ExtArgs> | null;
    where?: Prisma.tagsWhereInput;
};
/**
 * products_tags without action
 */
export type products_tagsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_tags
     */
    select?: Prisma.products_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_tags
     */
    omit?: Prisma.products_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_tagsInclude<ExtArgs> | null;
};
export {};
