import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model integrations_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 integrations_tagsModel = runtime.Types.Result.DefaultSelection<Prisma.$integrations_tagsPayload>;
export type AggregateIntegrations_tags = {
    _count: Integrations_tagsCountAggregateOutputType | null;
    _avg: Integrations_tagsAvgAggregateOutputType | null;
    _sum: Integrations_tagsSumAggregateOutputType | null;
    _min: Integrations_tagsMinAggregateOutputType | null;
    _max: Integrations_tagsMaxAggregateOutputType | null;
};
export type Integrations_tagsAvgAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    tags_id: number | null;
};
export type Integrations_tagsSumAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    tags_id: number | null;
};
export type Integrations_tagsMinAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    tags_id: number | null;
};
export type Integrations_tagsMaxAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    tags_id: number | null;
};
export type Integrations_tagsCountAggregateOutputType = {
    id: number;
    integrations_id: number;
    tags_id: number;
    _all: number;
};
export type Integrations_tagsAvgAggregateInputType = {
    id?: true;
    integrations_id?: true;
    tags_id?: true;
};
export type Integrations_tagsSumAggregateInputType = {
    id?: true;
    integrations_id?: true;
    tags_id?: true;
};
export type Integrations_tagsMinAggregateInputType = {
    id?: true;
    integrations_id?: true;
    tags_id?: true;
};
export type Integrations_tagsMaxAggregateInputType = {
    id?: true;
    integrations_id?: true;
    tags_id?: true;
};
export type Integrations_tagsCountAggregateInputType = {
    id?: true;
    integrations_id?: true;
    tags_id?: true;
    _all?: true;
};
export type Integrations_tagsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_tags to aggregate.
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_tags to fetch.
     */
    orderBy?: Prisma.integrations_tagsOrderByWithRelationInput | Prisma.integrations_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.integrations_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_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` integrations_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned integrations_tags
    **/
    _count?: true | Integrations_tagsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Integrations_tagsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Integrations_tagsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Integrations_tagsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Integrations_tagsMaxAggregateInputType;
};
export type GetIntegrations_tagsAggregateType<T extends Integrations_tagsAggregateArgs> = {
    [P in keyof T & keyof AggregateIntegrations_tags]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIntegrations_tags[P]> : Prisma.GetScalarType<T[P], AggregateIntegrations_tags[P]>;
};
export type integrations_tagsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.integrations_tagsWhereInput;
    orderBy?: Prisma.integrations_tagsOrderByWithAggregationInput | Prisma.integrations_tagsOrderByWithAggregationInput[];
    by: Prisma.Integrations_tagsScalarFieldEnum[] | Prisma.Integrations_tagsScalarFieldEnum;
    having?: Prisma.integrations_tagsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Integrations_tagsCountAggregateInputType | true;
    _avg?: Integrations_tagsAvgAggregateInputType;
    _sum?: Integrations_tagsSumAggregateInputType;
    _min?: Integrations_tagsMinAggregateInputType;
    _max?: Integrations_tagsMaxAggregateInputType;
};
export type Integrations_tagsGroupByOutputType = {
    id: number;
    integrations_id: number | null;
    tags_id: number | null;
    _count: Integrations_tagsCountAggregateOutputType | null;
    _avg: Integrations_tagsAvgAggregateOutputType | null;
    _sum: Integrations_tagsSumAggregateOutputType | null;
    _min: Integrations_tagsMinAggregateOutputType | null;
    _max: Integrations_tagsMaxAggregateOutputType | null;
};
type GetIntegrations_tagsGroupByPayload<T extends integrations_tagsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Integrations_tagsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Integrations_tagsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Integrations_tagsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Integrations_tagsGroupByOutputType[P]>;
}>>;
export type integrations_tagsWhereInput = {
    AND?: Prisma.integrations_tagsWhereInput | Prisma.integrations_tagsWhereInput[];
    OR?: Prisma.integrations_tagsWhereInput[];
    NOT?: Prisma.integrations_tagsWhereInput | Prisma.integrations_tagsWhereInput[];
    id?: Prisma.IntFilter<"integrations_tags"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
    tags_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
    tags?: Prisma.XOR<Prisma.TagsNullableScalarRelationFilter, Prisma.tagsWhereInput> | null;
};
export type integrations_tagsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    tags_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    integrations?: Prisma.integrationsOrderByWithRelationInput;
    tags?: Prisma.tagsOrderByWithRelationInput;
};
export type integrations_tagsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.integrations_tagsWhereInput | Prisma.integrations_tagsWhereInput[];
    OR?: Prisma.integrations_tagsWhereInput[];
    NOT?: Prisma.integrations_tagsWhereInput | Prisma.integrations_tagsWhereInput[];
    integrations_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
    tags_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
    tags?: Prisma.XOR<Prisma.TagsNullableScalarRelationFilter, Prisma.tagsWhereInput> | null;
}, "id">;
export type integrations_tagsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    tags_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.integrations_tagsCountOrderByAggregateInput;
    _avg?: Prisma.integrations_tagsAvgOrderByAggregateInput;
    _max?: Prisma.integrations_tagsMaxOrderByAggregateInput;
    _min?: Prisma.integrations_tagsMinOrderByAggregateInput;
    _sum?: Prisma.integrations_tagsSumOrderByAggregateInput;
};
export type integrations_tagsScalarWhereWithAggregatesInput = {
    AND?: Prisma.integrations_tagsScalarWhereWithAggregatesInput | Prisma.integrations_tagsScalarWhereWithAggregatesInput[];
    OR?: Prisma.integrations_tagsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.integrations_tagsScalarWhereWithAggregatesInput | Prisma.integrations_tagsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"integrations_tags"> | number;
    integrations_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_tags"> | number | null;
    tags_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_tags"> | number | null;
};
export type integrations_tagsCreateInput = {
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_tagsInput;
    tags?: Prisma.tagsCreateNestedOneWithoutIntegrations_tagsInput;
};
export type integrations_tagsUncheckedCreateInput = {
    id?: number;
    integrations_id?: number | null;
    tags_id?: number | null;
};
export type integrations_tagsUpdateInput = {
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_tagsNestedInput;
    tags?: Prisma.tagsUpdateOneWithoutIntegrations_tagsNestedInput;
};
export type integrations_tagsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_tagsCreateManyInput = {
    id?: number;
    integrations_id?: number | null;
    tags_id?: number | null;
};
export type integrations_tagsUpdateManyMutationInput = {};
export type integrations_tagsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Integrations_tagsListRelationFilter = {
    every?: Prisma.integrations_tagsWhereInput;
    some?: Prisma.integrations_tagsWhereInput;
    none?: Prisma.integrations_tagsWhereInput;
};
export type integrations_tagsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type integrations_tagsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type integrations_tagsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type integrations_tagsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type integrations_tagsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type integrations_tagsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    tags_id?: Prisma.SortOrder;
};
export type integrations_tagsCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_tagsCreateWithoutIntegrationsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_tagsCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
};
export type integrations_tagsUncheckedCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_tagsCreateWithoutIntegrationsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_tagsCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
};
export type integrations_tagsUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_tagsCreateWithoutIntegrationsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_tagsUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_tagsUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_tagsCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    disconnect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    delete?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    update?: Prisma.integrations_tagsUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_tagsUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_tagsUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_tagsUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
};
export type integrations_tagsUncheckedUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_tagsCreateWithoutIntegrationsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_tagsCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_tagsUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_tagsUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_tagsCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    disconnect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    delete?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    update?: Prisma.integrations_tagsUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_tagsUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_tagsUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_tagsUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
};
export type integrations_tagsCreateNestedManyWithoutTagsInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput> | Prisma.integrations_tagsCreateWithoutTagsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutTagsInput | Prisma.integrations_tagsCreateOrConnectWithoutTagsInput[];
    createMany?: Prisma.integrations_tagsCreateManyTagsInputEnvelope;
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
};
export type integrations_tagsUncheckedCreateNestedManyWithoutTagsInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput> | Prisma.integrations_tagsCreateWithoutTagsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutTagsInput | Prisma.integrations_tagsCreateOrConnectWithoutTagsInput[];
    createMany?: Prisma.integrations_tagsCreateManyTagsInputEnvelope;
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
};
export type integrations_tagsUpdateManyWithoutTagsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput> | Prisma.integrations_tagsCreateWithoutTagsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutTagsInput | Prisma.integrations_tagsCreateOrConnectWithoutTagsInput[];
    upsert?: Prisma.integrations_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.integrations_tagsUpsertWithWhereUniqueWithoutTagsInput[];
    createMany?: Prisma.integrations_tagsCreateManyTagsInputEnvelope;
    set?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    disconnect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    delete?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    update?: Prisma.integrations_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.integrations_tagsUpdateWithWhereUniqueWithoutTagsInput[];
    updateMany?: Prisma.integrations_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.integrations_tagsUpdateManyWithWhereWithoutTagsInput[];
    deleteMany?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
};
export type integrations_tagsUncheckedUpdateManyWithoutTagsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput> | Prisma.integrations_tagsCreateWithoutTagsInput[] | Prisma.integrations_tagsUncheckedCreateWithoutTagsInput[];
    connectOrCreate?: Prisma.integrations_tagsCreateOrConnectWithoutTagsInput | Prisma.integrations_tagsCreateOrConnectWithoutTagsInput[];
    upsert?: Prisma.integrations_tagsUpsertWithWhereUniqueWithoutTagsInput | Prisma.integrations_tagsUpsertWithWhereUniqueWithoutTagsInput[];
    createMany?: Prisma.integrations_tagsCreateManyTagsInputEnvelope;
    set?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    disconnect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    delete?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    connect?: Prisma.integrations_tagsWhereUniqueInput | Prisma.integrations_tagsWhereUniqueInput[];
    update?: Prisma.integrations_tagsUpdateWithWhereUniqueWithoutTagsInput | Prisma.integrations_tagsUpdateWithWhereUniqueWithoutTagsInput[];
    updateMany?: Prisma.integrations_tagsUpdateManyWithWhereWithoutTagsInput | Prisma.integrations_tagsUpdateManyWithWhereWithoutTagsInput[];
    deleteMany?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
};
export type integrations_tagsCreateWithoutIntegrationsInput = {
    tags?: Prisma.tagsCreateNestedOneWithoutIntegrations_tagsInput;
};
export type integrations_tagsUncheckedCreateWithoutIntegrationsInput = {
    id?: number;
    tags_id?: number | null;
};
export type integrations_tagsCreateOrConnectWithoutIntegrationsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_tagsCreateManyIntegrationsInputEnvelope = {
    data: Prisma.integrations_tagsCreateManyIntegrationsInput | Prisma.integrations_tagsCreateManyIntegrationsInput[];
    skipDuplicates?: boolean;
};
export type integrations_tagsUpsertWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_tagsUpdateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedUpdateWithoutIntegrationsInput>;
    create: Prisma.XOR<Prisma.integrations_tagsCreateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_tagsUpdateWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_tagsUpdateWithoutIntegrationsInput, Prisma.integrations_tagsUncheckedUpdateWithoutIntegrationsInput>;
};
export type integrations_tagsUpdateManyWithWhereWithoutIntegrationsInput = {
    where: Prisma.integrations_tagsScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_tagsUpdateManyMutationInput, Prisma.integrations_tagsUncheckedUpdateManyWithoutIntegrationsInput>;
};
export type integrations_tagsScalarWhereInput = {
    AND?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
    OR?: Prisma.integrations_tagsScalarWhereInput[];
    NOT?: Prisma.integrations_tagsScalarWhereInput | Prisma.integrations_tagsScalarWhereInput[];
    id?: Prisma.IntFilter<"integrations_tags"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
    tags_id?: Prisma.IntNullableFilter<"integrations_tags"> | number | null;
};
export type integrations_tagsCreateWithoutTagsInput = {
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_tagsInput;
};
export type integrations_tagsUncheckedCreateWithoutTagsInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_tagsCreateOrConnectWithoutTagsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput>;
};
export type integrations_tagsCreateManyTagsInputEnvelope = {
    data: Prisma.integrations_tagsCreateManyTagsInput | Prisma.integrations_tagsCreateManyTagsInput[];
    skipDuplicates?: boolean;
};
export type integrations_tagsUpsertWithWhereUniqueWithoutTagsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_tagsUpdateWithoutTagsInput, Prisma.integrations_tagsUncheckedUpdateWithoutTagsInput>;
    create: Prisma.XOR<Prisma.integrations_tagsCreateWithoutTagsInput, Prisma.integrations_tagsUncheckedCreateWithoutTagsInput>;
};
export type integrations_tagsUpdateWithWhereUniqueWithoutTagsInput = {
    where: Prisma.integrations_tagsWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_tagsUpdateWithoutTagsInput, Prisma.integrations_tagsUncheckedUpdateWithoutTagsInput>;
};
export type integrations_tagsUpdateManyWithWhereWithoutTagsInput = {
    where: Prisma.integrations_tagsScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_tagsUpdateManyMutationInput, Prisma.integrations_tagsUncheckedUpdateManyWithoutTagsInput>;
};
export type integrations_tagsCreateManyIntegrationsInput = {
    id?: number;
    tags_id?: number | null;
};
export type integrations_tagsUpdateWithoutIntegrationsInput = {
    tags?: Prisma.tagsUpdateOneWithoutIntegrations_tagsNestedInput;
};
export type integrations_tagsUncheckedUpdateWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_tagsUncheckedUpdateManyWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    tags_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_tagsCreateManyTagsInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_tagsUpdateWithoutTagsInput = {
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_tagsNestedInput;
};
export type integrations_tagsUncheckedUpdateWithoutTagsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_tagsUncheckedUpdateManyWithoutTagsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_tagsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    tags_id?: boolean;
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_tags"]>;
export type integrations_tagsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    tags_id?: boolean;
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_tags"]>;
export type integrations_tagsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    tags_id?: boolean;
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_tags"]>;
export type integrations_tagsSelectScalar = {
    id?: boolean;
    integrations_id?: boolean;
    tags_id?: boolean;
};
export type integrations_tagsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "integrations_id" | "tags_id", ExtArgs["result"]["integrations_tags"]>;
export type integrations_tagsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
};
export type integrations_tagsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
};
export type integrations_tagsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_tags$integrationsArgs<ExtArgs>;
    tags?: boolean | Prisma.integrations_tags$tagsArgs<ExtArgs>;
};
export type $integrations_tagsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "integrations_tags";
    objects: {
        integrations: Prisma.$integrationsPayload<ExtArgs> | null;
        tags: Prisma.$tagsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        integrations_id: number | null;
        tags_id: number | null;
    }, ExtArgs["result"]["integrations_tags"]>;
    composites: {};
};
export type integrations_tagsGetPayload<S extends boolean | null | undefined | integrations_tagsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload, S>;
export type integrations_tagsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<integrations_tagsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Integrations_tagsCountAggregateInputType | true;
};
export interface integrations_tagsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['integrations_tags'];
        meta: {
            name: 'integrations_tags';
        };
    };
    /**
     * Find zero or one Integrations_tags that matches the filter.
     * @param {integrations_tagsFindUniqueArgs} args - Arguments to find a Integrations_tags
     * @example
     * // Get one Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends integrations_tagsFindUniqueArgs>(args: Prisma.SelectSubset<T, integrations_tagsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Integrations_tags that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {integrations_tagsFindUniqueOrThrowArgs} args - Arguments to find a Integrations_tags
     * @example
     * // Get one Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends integrations_tagsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, integrations_tagsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_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 {integrations_tagsFindFirstArgs} args - Arguments to find a Integrations_tags
     * @example
     * // Get one Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends integrations_tagsFindFirstArgs>(args?: Prisma.SelectSubset<T, integrations_tagsFindFirstArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_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 {integrations_tagsFindFirstOrThrowArgs} args - Arguments to find a Integrations_tags
     * @example
     * // Get one Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends integrations_tagsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, integrations_tagsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Integrations_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 {integrations_tagsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findMany()
     *
     * // Get first 10 Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const integrations_tagsWithIdOnly = await prisma.integrations_tags.findMany({ select: { id: true } })
     *
     */
    findMany<T extends integrations_tagsFindManyArgs>(args?: Prisma.SelectSubset<T, integrations_tagsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Integrations_tags.
     * @param {integrations_tagsCreateArgs} args - Arguments to create a Integrations_tags.
     * @example
     * // Create one Integrations_tags
     * const Integrations_tags = await prisma.integrations_tags.create({
     *   data: {
     *     // ... data to create a Integrations_tags
     *   }
     * })
     *
     */
    create<T extends integrations_tagsCreateArgs>(args: Prisma.SelectSubset<T, integrations_tagsCreateArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Integrations_tags.
     * @param {integrations_tagsCreateManyArgs} args - Arguments to create many Integrations_tags.
     * @example
     * // Create many Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends integrations_tagsCreateManyArgs>(args?: Prisma.SelectSubset<T, integrations_tagsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Integrations_tags and returns the data saved in the database.
     * @param {integrations_tagsCreateManyAndReturnArgs} args - Arguments to create many Integrations_tags.
     * @example
     * // Create many Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Integrations_tags and only return the `id`
     * const integrations_tagsWithIdOnly = await prisma.integrations_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 integrations_tagsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, integrations_tagsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Integrations_tags.
     * @param {integrations_tagsDeleteArgs} args - Arguments to delete one Integrations_tags.
     * @example
     * // Delete one Integrations_tags
     * const Integrations_tags = await prisma.integrations_tags.delete({
     *   where: {
     *     // ... filter to delete one Integrations_tags
     *   }
     * })
     *
     */
    delete<T extends integrations_tagsDeleteArgs>(args: Prisma.SelectSubset<T, integrations_tagsDeleteArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Integrations_tags.
     * @param {integrations_tagsUpdateArgs} args - Arguments to update one Integrations_tags.
     * @example
     * // Update one Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends integrations_tagsUpdateArgs>(args: Prisma.SelectSubset<T, integrations_tagsUpdateArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Integrations_tags.
     * @param {integrations_tagsDeleteManyArgs} args - Arguments to filter Integrations_tags to delete.
     * @example
     * // Delete a few Integrations_tags
     * const { count } = await prisma.integrations_tags.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends integrations_tagsDeleteManyArgs>(args?: Prisma.SelectSubset<T, integrations_tagsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_tagsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends integrations_tagsUpdateManyArgs>(args: Prisma.SelectSubset<T, integrations_tagsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_tags and returns the data updated in the database.
     * @param {integrations_tagsUpdateManyAndReturnArgs} args - Arguments to update many Integrations_tags.
     * @example
     * // Update many Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Integrations_tags and only return the `id`
     * const integrations_tagsWithIdOnly = await prisma.integrations_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 integrations_tagsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, integrations_tagsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Integrations_tags.
     * @param {integrations_tagsUpsertArgs} args - Arguments to update or create a Integrations_tags.
     * @example
     * // Update or create a Integrations_tags
     * const integrations_tags = await prisma.integrations_tags.upsert({
     *   create: {
     *     // ... data to create a Integrations_tags
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Integrations_tags we want to update
     *   }
     * })
     */
    upsert<T extends integrations_tagsUpsertArgs>(args: Prisma.SelectSubset<T, integrations_tagsUpsertArgs<ExtArgs>>): Prisma.Prisma__integrations_tagsClient<runtime.Types.Result.GetResult<Prisma.$integrations_tagsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Integrations_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_tagsCountArgs} args - Arguments to filter Integrations_tags to count.
     * @example
     * // Count the number of Integrations_tags
     * const count = await prisma.integrations_tags.count({
     *   where: {
     *     // ... the filter for the Integrations_tags we want to count
     *   }
     * })
    **/
    count<T extends integrations_tagsCountArgs>(args?: Prisma.Subset<T, integrations_tagsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Integrations_tagsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Integrations_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Integrations_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 Integrations_tagsAggregateArgs>(args: Prisma.Subset<T, Integrations_tagsAggregateArgs>): Prisma.PrismaPromise<GetIntegrations_tagsAggregateType<T>>;
    /**
     * Group by Integrations_tags.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_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 integrations_tagsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: integrations_tagsGroupByArgs['orderBy'];
    } : {
        orderBy?: integrations_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, integrations_tagsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrations_tagsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the integrations_tags model
     */
    readonly fields: integrations_tagsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for integrations_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__integrations_tagsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    integrations<T extends Prisma.integrations_tags$integrationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_tags$integrationsArgs<ExtArgs>>): Prisma.Prisma__integrationsClient<runtime.Types.Result.GetResult<Prisma.$integrationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    tags<T extends Prisma.integrations_tags$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_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 integrations_tags model
 */
export interface integrations_tagsFieldRefs {
    readonly id: Prisma.FieldRef<"integrations_tags", 'Int'>;
    readonly integrations_id: Prisma.FieldRef<"integrations_tags", 'Int'>;
    readonly tags_id: Prisma.FieldRef<"integrations_tags", 'Int'>;
}
/**
 * integrations_tags findUnique
 */
export type integrations_tagsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_tags to fetch.
     */
    where: Prisma.integrations_tagsWhereUniqueInput;
};
/**
 * integrations_tags findUniqueOrThrow
 */
export type integrations_tagsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_tags to fetch.
     */
    where: Prisma.integrations_tagsWhereUniqueInput;
};
/**
 * integrations_tags findFirst
 */
export type integrations_tagsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_tags to fetch.
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_tags to fetch.
     */
    orderBy?: Prisma.integrations_tagsOrderByWithRelationInput | Prisma.integrations_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_tags.
     */
    cursor?: Prisma.integrations_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_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` integrations_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_tags.
     */
    distinct?: Prisma.Integrations_tagsScalarFieldEnum | Prisma.Integrations_tagsScalarFieldEnum[];
};
/**
 * integrations_tags findFirstOrThrow
 */
export type integrations_tagsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_tags to fetch.
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_tags to fetch.
     */
    orderBy?: Prisma.integrations_tagsOrderByWithRelationInput | Prisma.integrations_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_tags.
     */
    cursor?: Prisma.integrations_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_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` integrations_tags.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_tags.
     */
    distinct?: Prisma.Integrations_tagsScalarFieldEnum | Prisma.Integrations_tagsScalarFieldEnum[];
};
/**
 * integrations_tags findMany
 */
export type integrations_tagsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_tags to fetch.
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_tags to fetch.
     */
    orderBy?: Prisma.integrations_tagsOrderByWithRelationInput | Prisma.integrations_tagsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing integrations_tags.
     */
    cursor?: Prisma.integrations_tagsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_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` integrations_tags.
     */
    skip?: number;
    distinct?: Prisma.Integrations_tagsScalarFieldEnum | Prisma.Integrations_tagsScalarFieldEnum[];
};
/**
 * integrations_tags create
 */
export type integrations_tagsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * The data needed to create a integrations_tags.
     */
    data?: Prisma.XOR<Prisma.integrations_tagsCreateInput, Prisma.integrations_tagsUncheckedCreateInput>;
};
/**
 * integrations_tags createMany
 */
export type integrations_tagsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many integrations_tags.
     */
    data: Prisma.integrations_tagsCreateManyInput | Prisma.integrations_tagsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * integrations_tags createManyAndReturn
 */
export type integrations_tagsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * The data used to create many integrations_tags.
     */
    data: Prisma.integrations_tagsCreateManyInput | Prisma.integrations_tagsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_tags update
 */
export type integrations_tagsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * The data needed to update a integrations_tags.
     */
    data: Prisma.XOR<Prisma.integrations_tagsUpdateInput, Prisma.integrations_tagsUncheckedUpdateInput>;
    /**
     * Choose, which integrations_tags to update.
     */
    where: Prisma.integrations_tagsWhereUniqueInput;
};
/**
 * integrations_tags updateMany
 */
export type integrations_tagsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update integrations_tags.
     */
    data: Prisma.XOR<Prisma.integrations_tagsUpdateManyMutationInput, Prisma.integrations_tagsUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_tags to update
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * Limit how many integrations_tags to update.
     */
    limit?: number;
};
/**
 * integrations_tags updateManyAndReturn
 */
export type integrations_tagsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * The data used to update integrations_tags.
     */
    data: Prisma.XOR<Prisma.integrations_tagsUpdateManyMutationInput, Prisma.integrations_tagsUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_tags to update
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * Limit how many integrations_tags to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_tags upsert
 */
export type integrations_tagsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * The filter to search for the integrations_tags to update in case it exists.
     */
    where: Prisma.integrations_tagsWhereUniqueInput;
    /**
     * In case the integrations_tags found by the `where` argument doesn't exist, create a new integrations_tags with this data.
     */
    create: Prisma.XOR<Prisma.integrations_tagsCreateInput, Prisma.integrations_tagsUncheckedCreateInput>;
    /**
     * In case the integrations_tags was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.integrations_tagsUpdateInput, Prisma.integrations_tagsUncheckedUpdateInput>;
};
/**
 * integrations_tags delete
 */
export type integrations_tagsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
    /**
     * Filter which integrations_tags to delete.
     */
    where: Prisma.integrations_tagsWhereUniqueInput;
};
/**
 * integrations_tags deleteMany
 */
export type integrations_tagsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_tags to delete
     */
    where?: Prisma.integrations_tagsWhereInput;
    /**
     * Limit how many integrations_tags to delete.
     */
    limit?: number;
};
/**
 * integrations_tags.integrations
 */
export type integrations_tags$integrationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations
     */
    select?: Prisma.integrationsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations
     */
    omit?: Prisma.integrationsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrationsInclude<ExtArgs> | null;
    where?: Prisma.integrationsWhereInput;
};
/**
 * integrations_tags.tags
 */
export type integrations_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;
};
/**
 * integrations_tags without action
 */
export type integrations_tagsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_tags
     */
    select?: Prisma.integrations_tagsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_tags
     */
    omit?: Prisma.integrations_tagsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_tagsInclude<ExtArgs> | null;
};
export {};
