import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model integrations_categories
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type integrations_categoriesModel = runtime.Types.Result.DefaultSelection<Prisma.$integrations_categoriesPayload>;
export type AggregateIntegrations_categories = {
    _count: Integrations_categoriesCountAggregateOutputType | null;
    _avg: Integrations_categoriesAvgAggregateOutputType | null;
    _sum: Integrations_categoriesSumAggregateOutputType | null;
    _min: Integrations_categoriesMinAggregateOutputType | null;
    _max: Integrations_categoriesMaxAggregateOutputType | null;
};
export type Integrations_categoriesAvgAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    categories_id: number | null;
};
export type Integrations_categoriesSumAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    categories_id: number | null;
};
export type Integrations_categoriesMinAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    categories_id: number | null;
};
export type Integrations_categoriesMaxAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    categories_id: number | null;
};
export type Integrations_categoriesCountAggregateOutputType = {
    id: number;
    integrations_id: number;
    categories_id: number;
    _all: number;
};
export type Integrations_categoriesAvgAggregateInputType = {
    id?: true;
    integrations_id?: true;
    categories_id?: true;
};
export type Integrations_categoriesSumAggregateInputType = {
    id?: true;
    integrations_id?: true;
    categories_id?: true;
};
export type Integrations_categoriesMinAggregateInputType = {
    id?: true;
    integrations_id?: true;
    categories_id?: true;
};
export type Integrations_categoriesMaxAggregateInputType = {
    id?: true;
    integrations_id?: true;
    categories_id?: true;
};
export type Integrations_categoriesCountAggregateInputType = {
    id?: true;
    integrations_id?: true;
    categories_id?: true;
    _all?: true;
};
export type Integrations_categoriesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_categories to aggregate.
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_categories to fetch.
     */
    orderBy?: Prisma.integrations_categoriesOrderByWithRelationInput | Prisma.integrations_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.integrations_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` integrations_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned integrations_categories
    **/
    _count?: true | Integrations_categoriesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Integrations_categoriesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Integrations_categoriesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Integrations_categoriesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Integrations_categoriesMaxAggregateInputType;
};
export type GetIntegrations_categoriesAggregateType<T extends Integrations_categoriesAggregateArgs> = {
    [P in keyof T & keyof AggregateIntegrations_categories]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIntegrations_categories[P]> : Prisma.GetScalarType<T[P], AggregateIntegrations_categories[P]>;
};
export type integrations_categoriesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.integrations_categoriesWhereInput;
    orderBy?: Prisma.integrations_categoriesOrderByWithAggregationInput | Prisma.integrations_categoriesOrderByWithAggregationInput[];
    by: Prisma.Integrations_categoriesScalarFieldEnum[] | Prisma.Integrations_categoriesScalarFieldEnum;
    having?: Prisma.integrations_categoriesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Integrations_categoriesCountAggregateInputType | true;
    _avg?: Integrations_categoriesAvgAggregateInputType;
    _sum?: Integrations_categoriesSumAggregateInputType;
    _min?: Integrations_categoriesMinAggregateInputType;
    _max?: Integrations_categoriesMaxAggregateInputType;
};
export type Integrations_categoriesGroupByOutputType = {
    id: number;
    integrations_id: number | null;
    categories_id: number | null;
    _count: Integrations_categoriesCountAggregateOutputType | null;
    _avg: Integrations_categoriesAvgAggregateOutputType | null;
    _sum: Integrations_categoriesSumAggregateOutputType | null;
    _min: Integrations_categoriesMinAggregateOutputType | null;
    _max: Integrations_categoriesMaxAggregateOutputType | null;
};
type GetIntegrations_categoriesGroupByPayload<T extends integrations_categoriesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Integrations_categoriesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Integrations_categoriesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Integrations_categoriesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Integrations_categoriesGroupByOutputType[P]>;
}>>;
export type integrations_categoriesWhereInput = {
    AND?: Prisma.integrations_categoriesWhereInput | Prisma.integrations_categoriesWhereInput[];
    OR?: Prisma.integrations_categoriesWhereInput[];
    NOT?: Prisma.integrations_categoriesWhereInput | Prisma.integrations_categoriesWhereInput[];
    id?: Prisma.IntFilter<"integrations_categories"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
};
export type integrations_categoriesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories?: Prisma.categoriesOrderByWithRelationInput;
    integrations?: Prisma.integrationsOrderByWithRelationInput;
};
export type integrations_categoriesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.integrations_categoriesWhereInput | Prisma.integrations_categoriesWhereInput[];
    OR?: Prisma.integrations_categoriesWhereInput[];
    NOT?: Prisma.integrations_categoriesWhereInput | Prisma.integrations_categoriesWhereInput[];
    integrations_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
    categories?: Prisma.XOR<Prisma.CategoriesNullableScalarRelationFilter, Prisma.categoriesWhereInput> | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
}, "id">;
export type integrations_categoriesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    categories_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.integrations_categoriesCountOrderByAggregateInput;
    _avg?: Prisma.integrations_categoriesAvgOrderByAggregateInput;
    _max?: Prisma.integrations_categoriesMaxOrderByAggregateInput;
    _min?: Prisma.integrations_categoriesMinOrderByAggregateInput;
    _sum?: Prisma.integrations_categoriesSumOrderByAggregateInput;
};
export type integrations_categoriesScalarWhereWithAggregatesInput = {
    AND?: Prisma.integrations_categoriesScalarWhereWithAggregatesInput | Prisma.integrations_categoriesScalarWhereWithAggregatesInput[];
    OR?: Prisma.integrations_categoriesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.integrations_categoriesScalarWhereWithAggregatesInput | Prisma.integrations_categoriesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"integrations_categories"> | number;
    integrations_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_categories"> | number | null;
    categories_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_categories"> | number | null;
};
export type integrations_categoriesCreateInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutIntegrations_categoriesInput;
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_categoriesInput;
};
export type integrations_categoriesUncheckedCreateInput = {
    id?: number;
    integrations_id?: number | null;
    categories_id?: number | null;
};
export type integrations_categoriesUpdateInput = {
    categories?: Prisma.categoriesUpdateOneWithoutIntegrations_categoriesNestedInput;
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_categoriesNestedInput;
};
export type integrations_categoriesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_categoriesCreateManyInput = {
    id?: number;
    integrations_id?: number | null;
    categories_id?: number | null;
};
export type integrations_categoriesUpdateManyMutationInput = {};
export type integrations_categoriesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Integrations_categoriesListRelationFilter = {
    every?: Prisma.integrations_categoriesWhereInput;
    some?: Prisma.integrations_categoriesWhereInput;
    none?: Prisma.integrations_categoriesWhereInput;
};
export type integrations_categoriesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type integrations_categoriesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type integrations_categoriesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type integrations_categoriesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type integrations_categoriesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type integrations_categoriesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    categories_id?: Prisma.SortOrder;
};
export type integrations_categoriesCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.integrations_categoriesCreateWithoutCategoriesInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.integrations_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
};
export type integrations_categoriesUncheckedCreateNestedManyWithoutCategoriesInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.integrations_categoriesCreateWithoutCategoriesInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput[];
    createMany?: Prisma.integrations_categoriesCreateManyCategoriesInputEnvelope;
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
};
export type integrations_categoriesUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.integrations_categoriesCreateWithoutCategoriesInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.integrations_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    disconnect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    delete?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    update?: Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.integrations_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.integrations_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
};
export type integrations_categoriesUncheckedUpdateManyWithoutCategoriesNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput> | Prisma.integrations_categoriesCreateWithoutCategoriesInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput | Prisma.integrations_categoriesCreateOrConnectWithoutCategoriesInput[];
    upsert?: Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutCategoriesInput | Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutCategoriesInput[];
    createMany?: Prisma.integrations_categoriesCreateManyCategoriesInputEnvelope;
    set?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    disconnect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    delete?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    update?: Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutCategoriesInput | Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutCategoriesInput[];
    updateMany?: Prisma.integrations_categoriesUpdateManyWithWhereWithoutCategoriesInput | Prisma.integrations_categoriesUpdateManyWithWhereWithoutCategoriesInput[];
    deleteMany?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
};
export type integrations_categoriesCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_categoriesCreateWithoutIntegrationsInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_categoriesCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
};
export type integrations_categoriesUncheckedCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_categoriesCreateWithoutIntegrationsInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_categoriesCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
};
export type integrations_categoriesUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_categoriesCreateWithoutIntegrationsInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_categoriesCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    disconnect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    delete?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    update?: Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_categoriesUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_categoriesUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
};
export type integrations_categoriesUncheckedUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_categoriesCreateWithoutIntegrationsInput[] | Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_categoriesCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_categoriesUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_categoriesCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    disconnect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    delete?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    connect?: Prisma.integrations_categoriesWhereUniqueInput | Prisma.integrations_categoriesWhereUniqueInput[];
    update?: Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_categoriesUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_categoriesUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_categoriesUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
};
export type integrations_categoriesCreateWithoutCategoriesInput = {
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_categoriesInput;
};
export type integrations_categoriesUncheckedCreateWithoutCategoriesInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_categoriesCreateOrConnectWithoutCategoriesInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type integrations_categoriesCreateManyCategoriesInputEnvelope = {
    data: Prisma.integrations_categoriesCreateManyCategoriesInput | Prisma.integrations_categoriesCreateManyCategoriesInput[];
    skipDuplicates?: boolean;
};
export type integrations_categoriesUpsertWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_categoriesUpdateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedUpdateWithoutCategoriesInput>;
    create: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedCreateWithoutCategoriesInput>;
};
export type integrations_categoriesUpdateWithWhereUniqueWithoutCategoriesInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateWithoutCategoriesInput, Prisma.integrations_categoriesUncheckedUpdateWithoutCategoriesInput>;
};
export type integrations_categoriesUpdateManyWithWhereWithoutCategoriesInput = {
    where: Prisma.integrations_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateManyMutationInput, Prisma.integrations_categoriesUncheckedUpdateManyWithoutCategoriesInput>;
};
export type integrations_categoriesScalarWhereInput = {
    AND?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
    OR?: Prisma.integrations_categoriesScalarWhereInput[];
    NOT?: Prisma.integrations_categoriesScalarWhereInput | Prisma.integrations_categoriesScalarWhereInput[];
    id?: Prisma.IntFilter<"integrations_categories"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
    categories_id?: Prisma.IntNullableFilter<"integrations_categories"> | number | null;
};
export type integrations_categoriesCreateWithoutIntegrationsInput = {
    categories?: Prisma.categoriesCreateNestedOneWithoutIntegrations_categoriesInput;
};
export type integrations_categoriesUncheckedCreateWithoutIntegrationsInput = {
    id?: number;
    categories_id?: number | null;
};
export type integrations_categoriesCreateOrConnectWithoutIntegrationsInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_categoriesCreateManyIntegrationsInputEnvelope = {
    data: Prisma.integrations_categoriesCreateManyIntegrationsInput | Prisma.integrations_categoriesCreateManyIntegrationsInput[];
    skipDuplicates?: boolean;
};
export type integrations_categoriesUpsertWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_categoriesUpdateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedUpdateWithoutIntegrationsInput>;
    create: Prisma.XOR<Prisma.integrations_categoriesCreateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_categoriesUpdateWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_categoriesWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateWithoutIntegrationsInput, Prisma.integrations_categoriesUncheckedUpdateWithoutIntegrationsInput>;
};
export type integrations_categoriesUpdateManyWithWhereWithoutIntegrationsInput = {
    where: Prisma.integrations_categoriesScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateManyMutationInput, Prisma.integrations_categoriesUncheckedUpdateManyWithoutIntegrationsInput>;
};
export type integrations_categoriesCreateManyCategoriesInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_categoriesUpdateWithoutCategoriesInput = {
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_categoriesNestedInput;
};
export type integrations_categoriesUncheckedUpdateWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_categoriesUncheckedUpdateManyWithoutCategoriesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_categoriesCreateManyIntegrationsInput = {
    id?: number;
    categories_id?: number | null;
};
export type integrations_categoriesUpdateWithoutIntegrationsInput = {
    categories?: Prisma.categoriesUpdateOneWithoutIntegrations_categoriesNestedInput;
};
export type integrations_categoriesUncheckedUpdateWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_categoriesUncheckedUpdateManyWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    categories_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_categoriesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_categories"]>;
export type integrations_categoriesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_categories"]>;
export type integrations_categoriesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    categories_id?: boolean;
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_categories"]>;
export type integrations_categoriesSelectScalar = {
    id?: boolean;
    integrations_id?: boolean;
    categories_id?: boolean;
};
export type integrations_categoriesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "integrations_id" | "categories_id", ExtArgs["result"]["integrations_categories"]>;
export type integrations_categoriesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
};
export type integrations_categoriesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
};
export type integrations_categoriesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    categories?: boolean | Prisma.integrations_categories$categoriesArgs<ExtArgs>;
    integrations?: boolean | Prisma.integrations_categories$integrationsArgs<ExtArgs>;
};
export type $integrations_categoriesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "integrations_categories";
    objects: {
        categories: Prisma.$categoriesPayload<ExtArgs> | null;
        integrations: Prisma.$integrationsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        integrations_id: number | null;
        categories_id: number | null;
    }, ExtArgs["result"]["integrations_categories"]>;
    composites: {};
};
export type integrations_categoriesGetPayload<S extends boolean | null | undefined | integrations_categoriesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload, S>;
export type integrations_categoriesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<integrations_categoriesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Integrations_categoriesCountAggregateInputType | true;
};
export interface integrations_categoriesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['integrations_categories'];
        meta: {
            name: 'integrations_categories';
        };
    };
    /**
     * Find zero or one Integrations_categories that matches the filter.
     * @param {integrations_categoriesFindUniqueArgs} args - Arguments to find a Integrations_categories
     * @example
     * // Get one Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends integrations_categoriesFindUniqueArgs>(args: Prisma.SelectSubset<T, integrations_categoriesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Integrations_categories that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {integrations_categoriesFindUniqueOrThrowArgs} args - Arguments to find a Integrations_categories
     * @example
     * // Get one Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends integrations_categoriesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, integrations_categoriesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesFindFirstArgs} args - Arguments to find a Integrations_categories
     * @example
     * // Get one Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends integrations_categoriesFindFirstArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesFindFirstArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_categories that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesFindFirstOrThrowArgs} args - Arguments to find a Integrations_categories
     * @example
     * // Get one Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends integrations_categoriesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Integrations_categories that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findMany()
     *
     * // Get first 10 Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const integrations_categoriesWithIdOnly = await prisma.integrations_categories.findMany({ select: { id: true } })
     *
     */
    findMany<T extends integrations_categoriesFindManyArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Integrations_categories.
     * @param {integrations_categoriesCreateArgs} args - Arguments to create a Integrations_categories.
     * @example
     * // Create one Integrations_categories
     * const Integrations_categories = await prisma.integrations_categories.create({
     *   data: {
     *     // ... data to create a Integrations_categories
     *   }
     * })
     *
     */
    create<T extends integrations_categoriesCreateArgs>(args: Prisma.SelectSubset<T, integrations_categoriesCreateArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Integrations_categories.
     * @param {integrations_categoriesCreateManyArgs} args - Arguments to create many Integrations_categories.
     * @example
     * // Create many Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends integrations_categoriesCreateManyArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Integrations_categories and returns the data saved in the database.
     * @param {integrations_categoriesCreateManyAndReturnArgs} args - Arguments to create many Integrations_categories.
     * @example
     * // Create many Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Integrations_categories and only return the `id`
     * const integrations_categoriesWithIdOnly = await prisma.integrations_categories.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends integrations_categoriesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Integrations_categories.
     * @param {integrations_categoriesDeleteArgs} args - Arguments to delete one Integrations_categories.
     * @example
     * // Delete one Integrations_categories
     * const Integrations_categories = await prisma.integrations_categories.delete({
     *   where: {
     *     // ... filter to delete one Integrations_categories
     *   }
     * })
     *
     */
    delete<T extends integrations_categoriesDeleteArgs>(args: Prisma.SelectSubset<T, integrations_categoriesDeleteArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Integrations_categories.
     * @param {integrations_categoriesUpdateArgs} args - Arguments to update one Integrations_categories.
     * @example
     * // Update one Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends integrations_categoriesUpdateArgs>(args: Prisma.SelectSubset<T, integrations_categoriesUpdateArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Integrations_categories.
     * @param {integrations_categoriesDeleteManyArgs} args - Arguments to filter Integrations_categories to delete.
     * @example
     * // Delete a few Integrations_categories
     * const { count } = await prisma.integrations_categories.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends integrations_categoriesDeleteManyArgs>(args?: Prisma.SelectSubset<T, integrations_categoriesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends integrations_categoriesUpdateManyArgs>(args: Prisma.SelectSubset<T, integrations_categoriesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_categories and returns the data updated in the database.
     * @param {integrations_categoriesUpdateManyAndReturnArgs} args - Arguments to update many Integrations_categories.
     * @example
     * // Update many Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Integrations_categories and only return the `id`
     * const integrations_categoriesWithIdOnly = await prisma.integrations_categories.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends integrations_categoriesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, integrations_categoriesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Integrations_categories.
     * @param {integrations_categoriesUpsertArgs} args - Arguments to update or create a Integrations_categories.
     * @example
     * // Update or create a Integrations_categories
     * const integrations_categories = await prisma.integrations_categories.upsert({
     *   create: {
     *     // ... data to create a Integrations_categories
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Integrations_categories we want to update
     *   }
     * })
     */
    upsert<T extends integrations_categoriesUpsertArgs>(args: Prisma.SelectSubset<T, integrations_categoriesUpsertArgs<ExtArgs>>): Prisma.Prisma__integrations_categoriesClient<runtime.Types.Result.GetResult<Prisma.$integrations_categoriesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Integrations_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesCountArgs} args - Arguments to filter Integrations_categories to count.
     * @example
     * // Count the number of Integrations_categories
     * const count = await prisma.integrations_categories.count({
     *   where: {
     *     // ... the filter for the Integrations_categories we want to count
     *   }
     * })
    **/
    count<T extends integrations_categoriesCountArgs>(args?: Prisma.Subset<T, integrations_categoriesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Integrations_categoriesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Integrations_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Integrations_categoriesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Integrations_categoriesAggregateArgs>(args: Prisma.Subset<T, Integrations_categoriesAggregateArgs>): Prisma.PrismaPromise<GetIntegrations_categoriesAggregateType<T>>;
    /**
     * Group by Integrations_categories.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_categoriesGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     *
    **/
    groupBy<T extends integrations_categoriesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: integrations_categoriesGroupByArgs['orderBy'];
    } : {
        orderBy?: integrations_categoriesGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, integrations_categoriesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrations_categoriesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the integrations_categories model
     */
    readonly fields: integrations_categoriesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for integrations_categories.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__integrations_categoriesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    categories<T extends Prisma.integrations_categories$categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_categories$categoriesArgs<ExtArgs>>): Prisma.Prisma__categoriesClient<runtime.Types.Result.GetResult<Prisma.$categoriesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    integrations<T extends Prisma.integrations_categories$integrationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_categories$integrationsArgs<ExtArgs>>): Prisma.Prisma__integrationsClient<runtime.Types.Result.GetResult<Prisma.$integrationsPayload<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_categories model
 */
export interface integrations_categoriesFieldRefs {
    readonly id: Prisma.FieldRef<"integrations_categories", 'Int'>;
    readonly integrations_id: Prisma.FieldRef<"integrations_categories", 'Int'>;
    readonly categories_id: Prisma.FieldRef<"integrations_categories", 'Int'>;
}
/**
 * integrations_categories findUnique
 */
export type integrations_categoriesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_categories to fetch.
     */
    where: Prisma.integrations_categoriesWhereUniqueInput;
};
/**
 * integrations_categories findUniqueOrThrow
 */
export type integrations_categoriesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_categories to fetch.
     */
    where: Prisma.integrations_categoriesWhereUniqueInput;
};
/**
 * integrations_categories findFirst
 */
export type integrations_categoriesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_categories to fetch.
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_categories to fetch.
     */
    orderBy?: Prisma.integrations_categoriesOrderByWithRelationInput | Prisma.integrations_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_categories.
     */
    cursor?: Prisma.integrations_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` integrations_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_categories.
     */
    distinct?: Prisma.Integrations_categoriesScalarFieldEnum | Prisma.Integrations_categoriesScalarFieldEnum[];
};
/**
 * integrations_categories findFirstOrThrow
 */
export type integrations_categoriesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_categories to fetch.
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_categories to fetch.
     */
    orderBy?: Prisma.integrations_categoriesOrderByWithRelationInput | Prisma.integrations_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_categories.
     */
    cursor?: Prisma.integrations_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` integrations_categories.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_categories.
     */
    distinct?: Prisma.Integrations_categoriesScalarFieldEnum | Prisma.Integrations_categoriesScalarFieldEnum[];
};
/**
 * integrations_categories findMany
 */
export type integrations_categoriesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_categories to fetch.
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_categories to fetch.
     */
    orderBy?: Prisma.integrations_categoriesOrderByWithRelationInput | Prisma.integrations_categoriesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing integrations_categories.
     */
    cursor?: Prisma.integrations_categoriesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_categories from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` integrations_categories.
     */
    skip?: number;
    distinct?: Prisma.Integrations_categoriesScalarFieldEnum | Prisma.Integrations_categoriesScalarFieldEnum[];
};
/**
 * integrations_categories create
 */
export type integrations_categoriesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to create a integrations_categories.
     */
    data?: Prisma.XOR<Prisma.integrations_categoriesCreateInput, Prisma.integrations_categoriesUncheckedCreateInput>;
};
/**
 * integrations_categories createMany
 */
export type integrations_categoriesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many integrations_categories.
     */
    data: Prisma.integrations_categoriesCreateManyInput | Prisma.integrations_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * integrations_categories createManyAndReturn
 */
export type integrations_categoriesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to create many integrations_categories.
     */
    data: Prisma.integrations_categoriesCreateManyInput | Prisma.integrations_categoriesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_categories update
 */
export type integrations_categoriesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * The data needed to update a integrations_categories.
     */
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateInput, Prisma.integrations_categoriesUncheckedUpdateInput>;
    /**
     * Choose, which integrations_categories to update.
     */
    where: Prisma.integrations_categoriesWhereUniqueInput;
};
/**
 * integrations_categories updateMany
 */
export type integrations_categoriesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update integrations_categories.
     */
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateManyMutationInput, Prisma.integrations_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_categories to update
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * Limit how many integrations_categories to update.
     */
    limit?: number;
};
/**
 * integrations_categories updateManyAndReturn
 */
export type integrations_categoriesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * The data used to update integrations_categories.
     */
    data: Prisma.XOR<Prisma.integrations_categoriesUpdateManyMutationInput, Prisma.integrations_categoriesUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_categories to update
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * Limit how many integrations_categories to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_categories upsert
 */
export type integrations_categoriesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * The filter to search for the integrations_categories to update in case it exists.
     */
    where: Prisma.integrations_categoriesWhereUniqueInput;
    /**
     * In case the integrations_categories found by the `where` argument doesn't exist, create a new integrations_categories with this data.
     */
    create: Prisma.XOR<Prisma.integrations_categoriesCreateInput, Prisma.integrations_categoriesUncheckedCreateInput>;
    /**
     * In case the integrations_categories was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.integrations_categoriesUpdateInput, Prisma.integrations_categoriesUncheckedUpdateInput>;
};
/**
 * integrations_categories delete
 */
export type integrations_categoriesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
    /**
     * Filter which integrations_categories to delete.
     */
    where: Prisma.integrations_categoriesWhereUniqueInput;
};
/**
 * integrations_categories deleteMany
 */
export type integrations_categoriesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_categories to delete
     */
    where?: Prisma.integrations_categoriesWhereInput;
    /**
     * Limit how many integrations_categories to delete.
     */
    limit?: number;
};
/**
 * integrations_categories.categories
 */
export type integrations_categories$categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the categories
     */
    select?: Prisma.categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the categories
     */
    omit?: Prisma.categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.categoriesInclude<ExtArgs> | null;
    where?: Prisma.categoriesWhereInput;
};
/**
 * integrations_categories.integrations
 */
export type integrations_categories$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_categories without action
 */
export type integrations_categoriesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_categories
     */
    select?: Prisma.integrations_categoriesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_categories
     */
    omit?: Prisma.integrations_categoriesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_categoriesInclude<ExtArgs> | null;
};
export {};
