import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model integrations_ratings
 * 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_ratingsModel = runtime.Types.Result.DefaultSelection<Prisma.$integrations_ratingsPayload>;
export type AggregateIntegrations_ratings = {
    _count: Integrations_ratingsCountAggregateOutputType | null;
    _avg: Integrations_ratingsAvgAggregateOutputType | null;
    _sum: Integrations_ratingsSumAggregateOutputType | null;
    _min: Integrations_ratingsMinAggregateOutputType | null;
    _max: Integrations_ratingsMaxAggregateOutputType | null;
};
export type Integrations_ratingsAvgAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    ratings_id: number | null;
};
export type Integrations_ratingsSumAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    ratings_id: number | null;
};
export type Integrations_ratingsMinAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    ratings_id: number | null;
};
export type Integrations_ratingsMaxAggregateOutputType = {
    id: number | null;
    integrations_id: number | null;
    ratings_id: number | null;
};
export type Integrations_ratingsCountAggregateOutputType = {
    id: number;
    integrations_id: number;
    ratings_id: number;
    _all: number;
};
export type Integrations_ratingsAvgAggregateInputType = {
    id?: true;
    integrations_id?: true;
    ratings_id?: true;
};
export type Integrations_ratingsSumAggregateInputType = {
    id?: true;
    integrations_id?: true;
    ratings_id?: true;
};
export type Integrations_ratingsMinAggregateInputType = {
    id?: true;
    integrations_id?: true;
    ratings_id?: true;
};
export type Integrations_ratingsMaxAggregateInputType = {
    id?: true;
    integrations_id?: true;
    ratings_id?: true;
};
export type Integrations_ratingsCountAggregateInputType = {
    id?: true;
    integrations_id?: true;
    ratings_id?: true;
    _all?: true;
};
export type Integrations_ratingsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_ratings to aggregate.
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_ratings to fetch.
     */
    orderBy?: Prisma.integrations_ratingsOrderByWithRelationInput | Prisma.integrations_ratingsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.integrations_ratingsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_ratings 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_ratings.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned integrations_ratings
    **/
    _count?: true | Integrations_ratingsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Integrations_ratingsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Integrations_ratingsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Integrations_ratingsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Integrations_ratingsMaxAggregateInputType;
};
export type GetIntegrations_ratingsAggregateType<T extends Integrations_ratingsAggregateArgs> = {
    [P in keyof T & keyof AggregateIntegrations_ratings]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIntegrations_ratings[P]> : Prisma.GetScalarType<T[P], AggregateIntegrations_ratings[P]>;
};
export type integrations_ratingsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.integrations_ratingsWhereInput;
    orderBy?: Prisma.integrations_ratingsOrderByWithAggregationInput | Prisma.integrations_ratingsOrderByWithAggregationInput[];
    by: Prisma.Integrations_ratingsScalarFieldEnum[] | Prisma.Integrations_ratingsScalarFieldEnum;
    having?: Prisma.integrations_ratingsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Integrations_ratingsCountAggregateInputType | true;
    _avg?: Integrations_ratingsAvgAggregateInputType;
    _sum?: Integrations_ratingsSumAggregateInputType;
    _min?: Integrations_ratingsMinAggregateInputType;
    _max?: Integrations_ratingsMaxAggregateInputType;
};
export type Integrations_ratingsGroupByOutputType = {
    id: number;
    integrations_id: number | null;
    ratings_id: number | null;
    _count: Integrations_ratingsCountAggregateOutputType | null;
    _avg: Integrations_ratingsAvgAggregateOutputType | null;
    _sum: Integrations_ratingsSumAggregateOutputType | null;
    _min: Integrations_ratingsMinAggregateOutputType | null;
    _max: Integrations_ratingsMaxAggregateOutputType | null;
};
type GetIntegrations_ratingsGroupByPayload<T extends integrations_ratingsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Integrations_ratingsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Integrations_ratingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Integrations_ratingsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Integrations_ratingsGroupByOutputType[P]>;
}>>;
export type integrations_ratingsWhereInput = {
    AND?: Prisma.integrations_ratingsWhereInput | Prisma.integrations_ratingsWhereInput[];
    OR?: Prisma.integrations_ratingsWhereInput[];
    NOT?: Prisma.integrations_ratingsWhereInput | Prisma.integrations_ratingsWhereInput[];
    id?: Prisma.IntFilter<"integrations_ratings"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
    ratings_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
    ratings?: Prisma.XOR<Prisma.RatingsNullableScalarRelationFilter, Prisma.ratingsWhereInput> | null;
};
export type integrations_ratingsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    ratings_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    integrations?: Prisma.integrationsOrderByWithRelationInput;
    ratings?: Prisma.ratingsOrderByWithRelationInput;
};
export type integrations_ratingsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.integrations_ratingsWhereInput | Prisma.integrations_ratingsWhereInput[];
    OR?: Prisma.integrations_ratingsWhereInput[];
    NOT?: Prisma.integrations_ratingsWhereInput | Prisma.integrations_ratingsWhereInput[];
    integrations_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
    ratings_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
    integrations?: Prisma.XOR<Prisma.IntegrationsNullableScalarRelationFilter, Prisma.integrationsWhereInput> | null;
    ratings?: Prisma.XOR<Prisma.RatingsNullableScalarRelationFilter, Prisma.ratingsWhereInput> | null;
}, "id">;
export type integrations_ratingsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    ratings_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.integrations_ratingsCountOrderByAggregateInput;
    _avg?: Prisma.integrations_ratingsAvgOrderByAggregateInput;
    _max?: Prisma.integrations_ratingsMaxOrderByAggregateInput;
    _min?: Prisma.integrations_ratingsMinOrderByAggregateInput;
    _sum?: Prisma.integrations_ratingsSumOrderByAggregateInput;
};
export type integrations_ratingsScalarWhereWithAggregatesInput = {
    AND?: Prisma.integrations_ratingsScalarWhereWithAggregatesInput | Prisma.integrations_ratingsScalarWhereWithAggregatesInput[];
    OR?: Prisma.integrations_ratingsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.integrations_ratingsScalarWhereWithAggregatesInput | Prisma.integrations_ratingsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"integrations_ratings"> | number;
    integrations_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_ratings"> | number | null;
    ratings_id?: Prisma.IntNullableWithAggregatesFilter<"integrations_ratings"> | number | null;
};
export type integrations_ratingsCreateInput = {
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_ratingsInput;
    ratings?: Prisma.ratingsCreateNestedOneWithoutIntegrations_ratingsInput;
};
export type integrations_ratingsUncheckedCreateInput = {
    id?: number;
    integrations_id?: number | null;
    ratings_id?: number | null;
};
export type integrations_ratingsUpdateInput = {
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_ratingsNestedInput;
    ratings?: Prisma.ratingsUpdateOneWithoutIntegrations_ratingsNestedInput;
};
export type integrations_ratingsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    ratings_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_ratingsCreateManyInput = {
    id?: number;
    integrations_id?: number | null;
    ratings_id?: number | null;
};
export type integrations_ratingsUpdateManyMutationInput = {};
export type integrations_ratingsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    ratings_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Integrations_ratingsListRelationFilter = {
    every?: Prisma.integrations_ratingsWhereInput;
    some?: Prisma.integrations_ratingsWhereInput;
    none?: Prisma.integrations_ratingsWhereInput;
};
export type integrations_ratingsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type integrations_ratingsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    ratings_id?: Prisma.SortOrder;
};
export type integrations_ratingsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    ratings_id?: Prisma.SortOrder;
};
export type integrations_ratingsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    ratings_id?: Prisma.SortOrder;
};
export type integrations_ratingsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    ratings_id?: Prisma.SortOrder;
};
export type integrations_ratingsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    integrations_id?: Prisma.SortOrder;
    ratings_id?: Prisma.SortOrder;
};
export type integrations_ratingsCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_ratingsCreateWithoutIntegrationsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
};
export type integrations_ratingsUncheckedCreateNestedManyWithoutIntegrationsInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_ratingsCreateWithoutIntegrationsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyIntegrationsInputEnvelope;
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
};
export type integrations_ratingsUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_ratingsCreateWithoutIntegrationsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    disconnect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    delete?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    update?: Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_ratingsUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_ratingsUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
};
export type integrations_ratingsUncheckedUpdateManyWithoutIntegrationsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput> | Prisma.integrations_ratingsCreateWithoutIntegrationsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput | Prisma.integrations_ratingsCreateOrConnectWithoutIntegrationsInput[];
    upsert?: Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutIntegrationsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyIntegrationsInputEnvelope;
    set?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    disconnect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    delete?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    update?: Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutIntegrationsInput | Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutIntegrationsInput[];
    updateMany?: Prisma.integrations_ratingsUpdateManyWithWhereWithoutIntegrationsInput | Prisma.integrations_ratingsUpdateManyWithWhereWithoutIntegrationsInput[];
    deleteMany?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
};
export type integrations_ratingsCreateNestedManyWithoutRatingsInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput> | Prisma.integrations_ratingsCreateWithoutRatingsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput | Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyRatingsInputEnvelope;
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
};
export type integrations_ratingsUncheckedCreateNestedManyWithoutRatingsInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput> | Prisma.integrations_ratingsCreateWithoutRatingsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput | Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyRatingsInputEnvelope;
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
};
export type integrations_ratingsUpdateManyWithoutRatingsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput> | Prisma.integrations_ratingsCreateWithoutRatingsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput | Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput[];
    upsert?: Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutRatingsInput | Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutRatingsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyRatingsInputEnvelope;
    set?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    disconnect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    delete?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    update?: Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutRatingsInput | Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutRatingsInput[];
    updateMany?: Prisma.integrations_ratingsUpdateManyWithWhereWithoutRatingsInput | Prisma.integrations_ratingsUpdateManyWithWhereWithoutRatingsInput[];
    deleteMany?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
};
export type integrations_ratingsUncheckedUpdateManyWithoutRatingsNestedInput = {
    create?: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput> | Prisma.integrations_ratingsCreateWithoutRatingsInput[] | Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput[];
    connectOrCreate?: Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput | Prisma.integrations_ratingsCreateOrConnectWithoutRatingsInput[];
    upsert?: Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutRatingsInput | Prisma.integrations_ratingsUpsertWithWhereUniqueWithoutRatingsInput[];
    createMany?: Prisma.integrations_ratingsCreateManyRatingsInputEnvelope;
    set?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    disconnect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    delete?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    connect?: Prisma.integrations_ratingsWhereUniqueInput | Prisma.integrations_ratingsWhereUniqueInput[];
    update?: Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutRatingsInput | Prisma.integrations_ratingsUpdateWithWhereUniqueWithoutRatingsInput[];
    updateMany?: Prisma.integrations_ratingsUpdateManyWithWhereWithoutRatingsInput | Prisma.integrations_ratingsUpdateManyWithWhereWithoutRatingsInput[];
    deleteMany?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
};
export type integrations_ratingsCreateWithoutIntegrationsInput = {
    ratings?: Prisma.ratingsCreateNestedOneWithoutIntegrations_ratingsInput;
};
export type integrations_ratingsUncheckedCreateWithoutIntegrationsInput = {
    id?: number;
    ratings_id?: number | null;
};
export type integrations_ratingsCreateOrConnectWithoutIntegrationsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_ratingsCreateManyIntegrationsInputEnvelope = {
    data: Prisma.integrations_ratingsCreateManyIntegrationsInput | Prisma.integrations_ratingsCreateManyIntegrationsInput[];
    skipDuplicates?: boolean;
};
export type integrations_ratingsUpsertWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_ratingsUpdateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedUpdateWithoutIntegrationsInput>;
    create: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedCreateWithoutIntegrationsInput>;
};
export type integrations_ratingsUpdateWithWhereUniqueWithoutIntegrationsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateWithoutIntegrationsInput, Prisma.integrations_ratingsUncheckedUpdateWithoutIntegrationsInput>;
};
export type integrations_ratingsUpdateManyWithWhereWithoutIntegrationsInput = {
    where: Prisma.integrations_ratingsScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateManyMutationInput, Prisma.integrations_ratingsUncheckedUpdateManyWithoutIntegrationsInput>;
};
export type integrations_ratingsScalarWhereInput = {
    AND?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
    OR?: Prisma.integrations_ratingsScalarWhereInput[];
    NOT?: Prisma.integrations_ratingsScalarWhereInput | Prisma.integrations_ratingsScalarWhereInput[];
    id?: Prisma.IntFilter<"integrations_ratings"> | number;
    integrations_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
    ratings_id?: Prisma.IntNullableFilter<"integrations_ratings"> | number | null;
};
export type integrations_ratingsCreateWithoutRatingsInput = {
    integrations?: Prisma.integrationsCreateNestedOneWithoutIntegrations_ratingsInput;
};
export type integrations_ratingsUncheckedCreateWithoutRatingsInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_ratingsCreateOrConnectWithoutRatingsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    create: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput>;
};
export type integrations_ratingsCreateManyRatingsInputEnvelope = {
    data: Prisma.integrations_ratingsCreateManyRatingsInput | Prisma.integrations_ratingsCreateManyRatingsInput[];
    skipDuplicates?: boolean;
};
export type integrations_ratingsUpsertWithWhereUniqueWithoutRatingsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    update: Prisma.XOR<Prisma.integrations_ratingsUpdateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedUpdateWithoutRatingsInput>;
    create: Prisma.XOR<Prisma.integrations_ratingsCreateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedCreateWithoutRatingsInput>;
};
export type integrations_ratingsUpdateWithWhereUniqueWithoutRatingsInput = {
    where: Prisma.integrations_ratingsWhereUniqueInput;
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateWithoutRatingsInput, Prisma.integrations_ratingsUncheckedUpdateWithoutRatingsInput>;
};
export type integrations_ratingsUpdateManyWithWhereWithoutRatingsInput = {
    where: Prisma.integrations_ratingsScalarWhereInput;
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateManyMutationInput, Prisma.integrations_ratingsUncheckedUpdateManyWithoutRatingsInput>;
};
export type integrations_ratingsCreateManyIntegrationsInput = {
    id?: number;
    ratings_id?: number | null;
};
export type integrations_ratingsUpdateWithoutIntegrationsInput = {
    ratings?: Prisma.ratingsUpdateOneWithoutIntegrations_ratingsNestedInput;
};
export type integrations_ratingsUncheckedUpdateWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    ratings_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_ratingsUncheckedUpdateManyWithoutIntegrationsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    ratings_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_ratingsCreateManyRatingsInput = {
    id?: number;
    integrations_id?: number | null;
};
export type integrations_ratingsUpdateWithoutRatingsInput = {
    integrations?: Prisma.integrationsUpdateOneWithoutIntegrations_ratingsNestedInput;
};
export type integrations_ratingsUncheckedUpdateWithoutRatingsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_ratingsUncheckedUpdateManyWithoutRatingsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    integrations_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type integrations_ratingsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    ratings_id?: boolean;
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_ratings"]>;
export type integrations_ratingsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    ratings_id?: boolean;
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_ratings"]>;
export type integrations_ratingsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    integrations_id?: boolean;
    ratings_id?: boolean;
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
}, ExtArgs["result"]["integrations_ratings"]>;
export type integrations_ratingsSelectScalar = {
    id?: boolean;
    integrations_id?: boolean;
    ratings_id?: boolean;
};
export type integrations_ratingsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "integrations_id" | "ratings_id", ExtArgs["result"]["integrations_ratings"]>;
export type integrations_ratingsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
};
export type integrations_ratingsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
};
export type integrations_ratingsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    integrations?: boolean | Prisma.integrations_ratings$integrationsArgs<ExtArgs>;
    ratings?: boolean | Prisma.integrations_ratings$ratingsArgs<ExtArgs>;
};
export type $integrations_ratingsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "integrations_ratings";
    objects: {
        integrations: Prisma.$integrationsPayload<ExtArgs> | null;
        ratings: Prisma.$ratingsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        integrations_id: number | null;
        ratings_id: number | null;
    }, ExtArgs["result"]["integrations_ratings"]>;
    composites: {};
};
export type integrations_ratingsGetPayload<S extends boolean | null | undefined | integrations_ratingsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload, S>;
export type integrations_ratingsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<integrations_ratingsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Integrations_ratingsCountAggregateInputType | true;
};
export interface integrations_ratingsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['integrations_ratings'];
        meta: {
            name: 'integrations_ratings';
        };
    };
    /**
     * Find zero or one Integrations_ratings that matches the filter.
     * @param {integrations_ratingsFindUniqueArgs} args - Arguments to find a Integrations_ratings
     * @example
     * // Get one Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends integrations_ratingsFindUniqueArgs>(args: Prisma.SelectSubset<T, integrations_ratingsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Integrations_ratings that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {integrations_ratingsFindUniqueOrThrowArgs} args - Arguments to find a Integrations_ratings
     * @example
     * // Get one Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends integrations_ratingsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, integrations_ratingsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_ratings 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_ratingsFindFirstArgs} args - Arguments to find a Integrations_ratings
     * @example
     * // Get one Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends integrations_ratingsFindFirstArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsFindFirstArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Integrations_ratings 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_ratingsFindFirstOrThrowArgs} args - Arguments to find a Integrations_ratings
     * @example
     * // Get one Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends integrations_ratingsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Integrations_ratings 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_ratingsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findMany()
     *
     * // Get first 10 Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const integrations_ratingsWithIdOnly = await prisma.integrations_ratings.findMany({ select: { id: true } })
     *
     */
    findMany<T extends integrations_ratingsFindManyArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Integrations_ratings.
     * @param {integrations_ratingsCreateArgs} args - Arguments to create a Integrations_ratings.
     * @example
     * // Create one Integrations_ratings
     * const Integrations_ratings = await prisma.integrations_ratings.create({
     *   data: {
     *     // ... data to create a Integrations_ratings
     *   }
     * })
     *
     */
    create<T extends integrations_ratingsCreateArgs>(args: Prisma.SelectSubset<T, integrations_ratingsCreateArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Integrations_ratings.
     * @param {integrations_ratingsCreateManyArgs} args - Arguments to create many Integrations_ratings.
     * @example
     * // Create many Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends integrations_ratingsCreateManyArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Integrations_ratings and returns the data saved in the database.
     * @param {integrations_ratingsCreateManyAndReturnArgs} args - Arguments to create many Integrations_ratings.
     * @example
     * // Create many Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Integrations_ratings and only return the `id`
     * const integrations_ratingsWithIdOnly = await prisma.integrations_ratings.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_ratingsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Integrations_ratings.
     * @param {integrations_ratingsDeleteArgs} args - Arguments to delete one Integrations_ratings.
     * @example
     * // Delete one Integrations_ratings
     * const Integrations_ratings = await prisma.integrations_ratings.delete({
     *   where: {
     *     // ... filter to delete one Integrations_ratings
     *   }
     * })
     *
     */
    delete<T extends integrations_ratingsDeleteArgs>(args: Prisma.SelectSubset<T, integrations_ratingsDeleteArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Integrations_ratings.
     * @param {integrations_ratingsUpdateArgs} args - Arguments to update one Integrations_ratings.
     * @example
     * // Update one Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends integrations_ratingsUpdateArgs>(args: Prisma.SelectSubset<T, integrations_ratingsUpdateArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Integrations_ratings.
     * @param {integrations_ratingsDeleteManyArgs} args - Arguments to filter Integrations_ratings to delete.
     * @example
     * // Delete a few Integrations_ratings
     * const { count } = await prisma.integrations_ratings.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends integrations_ratingsDeleteManyArgs>(args?: Prisma.SelectSubset<T, integrations_ratingsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_ratings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_ratingsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends integrations_ratingsUpdateManyArgs>(args: Prisma.SelectSubset<T, integrations_ratingsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Integrations_ratings and returns the data updated in the database.
     * @param {integrations_ratingsUpdateManyAndReturnArgs} args - Arguments to update many Integrations_ratings.
     * @example
     * // Update many Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Integrations_ratings and only return the `id`
     * const integrations_ratingsWithIdOnly = await prisma.integrations_ratings.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_ratingsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, integrations_ratingsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Integrations_ratings.
     * @param {integrations_ratingsUpsertArgs} args - Arguments to update or create a Integrations_ratings.
     * @example
     * // Update or create a Integrations_ratings
     * const integrations_ratings = await prisma.integrations_ratings.upsert({
     *   create: {
     *     // ... data to create a Integrations_ratings
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Integrations_ratings we want to update
     *   }
     * })
     */
    upsert<T extends integrations_ratingsUpsertArgs>(args: Prisma.SelectSubset<T, integrations_ratingsUpsertArgs<ExtArgs>>): Prisma.Prisma__integrations_ratingsClient<runtime.Types.Result.GetResult<Prisma.$integrations_ratingsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Integrations_ratings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_ratingsCountArgs} args - Arguments to filter Integrations_ratings to count.
     * @example
     * // Count the number of Integrations_ratings
     * const count = await prisma.integrations_ratings.count({
     *   where: {
     *     // ... the filter for the Integrations_ratings we want to count
     *   }
     * })
    **/
    count<T extends integrations_ratingsCountArgs>(args?: Prisma.Subset<T, integrations_ratingsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Integrations_ratingsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Integrations_ratings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Integrations_ratingsAggregateArgs} 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_ratingsAggregateArgs>(args: Prisma.Subset<T, Integrations_ratingsAggregateArgs>): Prisma.PrismaPromise<GetIntegrations_ratingsAggregateType<T>>;
    /**
     * Group by Integrations_ratings.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {integrations_ratingsGroupByArgs} 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_ratingsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: integrations_ratingsGroupByArgs['orderBy'];
    } : {
        orderBy?: integrations_ratingsGroupByArgs['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_ratingsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIntegrations_ratingsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the integrations_ratings model
     */
    readonly fields: integrations_ratingsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for integrations_ratings.
 * 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_ratingsClient<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_ratings$integrationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_ratings$integrationsArgs<ExtArgs>>): Prisma.Prisma__integrationsClient<runtime.Types.Result.GetResult<Prisma.$integrationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    ratings<T extends Prisma.integrations_ratings$ratingsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.integrations_ratings$ratingsArgs<ExtArgs>>): Prisma.Prisma__ratingsClient<runtime.Types.Result.GetResult<Prisma.$ratingsPayload<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_ratings model
 */
export interface integrations_ratingsFieldRefs {
    readonly id: Prisma.FieldRef<"integrations_ratings", 'Int'>;
    readonly integrations_id: Prisma.FieldRef<"integrations_ratings", 'Int'>;
    readonly ratings_id: Prisma.FieldRef<"integrations_ratings", 'Int'>;
}
/**
 * integrations_ratings findUnique
 */
export type integrations_ratingsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_ratings to fetch.
     */
    where: Prisma.integrations_ratingsWhereUniqueInput;
};
/**
 * integrations_ratings findUniqueOrThrow
 */
export type integrations_ratingsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_ratings to fetch.
     */
    where: Prisma.integrations_ratingsWhereUniqueInput;
};
/**
 * integrations_ratings findFirst
 */
export type integrations_ratingsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_ratings to fetch.
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_ratings to fetch.
     */
    orderBy?: Prisma.integrations_ratingsOrderByWithRelationInput | Prisma.integrations_ratingsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_ratings.
     */
    cursor?: Prisma.integrations_ratingsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_ratings 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_ratings.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_ratings.
     */
    distinct?: Prisma.Integrations_ratingsScalarFieldEnum | Prisma.Integrations_ratingsScalarFieldEnum[];
};
/**
 * integrations_ratings findFirstOrThrow
 */
export type integrations_ratingsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_ratings to fetch.
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_ratings to fetch.
     */
    orderBy?: Prisma.integrations_ratingsOrderByWithRelationInput | Prisma.integrations_ratingsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for integrations_ratings.
     */
    cursor?: Prisma.integrations_ratingsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_ratings 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_ratings.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of integrations_ratings.
     */
    distinct?: Prisma.Integrations_ratingsScalarFieldEnum | Prisma.Integrations_ratingsScalarFieldEnum[];
};
/**
 * integrations_ratings findMany
 */
export type integrations_ratingsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter, which integrations_ratings to fetch.
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of integrations_ratings to fetch.
     */
    orderBy?: Prisma.integrations_ratingsOrderByWithRelationInput | Prisma.integrations_ratingsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing integrations_ratings.
     */
    cursor?: Prisma.integrations_ratingsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` integrations_ratings 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_ratings.
     */
    skip?: number;
    distinct?: Prisma.Integrations_ratingsScalarFieldEnum | Prisma.Integrations_ratingsScalarFieldEnum[];
};
/**
 * integrations_ratings create
 */
export type integrations_ratingsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * The data needed to create a integrations_ratings.
     */
    data?: Prisma.XOR<Prisma.integrations_ratingsCreateInput, Prisma.integrations_ratingsUncheckedCreateInput>;
};
/**
 * integrations_ratings createMany
 */
export type integrations_ratingsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many integrations_ratings.
     */
    data: Prisma.integrations_ratingsCreateManyInput | Prisma.integrations_ratingsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * integrations_ratings createManyAndReturn
 */
export type integrations_ratingsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * The data used to create many integrations_ratings.
     */
    data: Prisma.integrations_ratingsCreateManyInput | Prisma.integrations_ratingsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_ratings update
 */
export type integrations_ratingsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * The data needed to update a integrations_ratings.
     */
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateInput, Prisma.integrations_ratingsUncheckedUpdateInput>;
    /**
     * Choose, which integrations_ratings to update.
     */
    where: Prisma.integrations_ratingsWhereUniqueInput;
};
/**
 * integrations_ratings updateMany
 */
export type integrations_ratingsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update integrations_ratings.
     */
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateManyMutationInput, Prisma.integrations_ratingsUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_ratings to update
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * Limit how many integrations_ratings to update.
     */
    limit?: number;
};
/**
 * integrations_ratings updateManyAndReturn
 */
export type integrations_ratingsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * The data used to update integrations_ratings.
     */
    data: Prisma.XOR<Prisma.integrations_ratingsUpdateManyMutationInput, Prisma.integrations_ratingsUncheckedUpdateManyInput>;
    /**
     * Filter which integrations_ratings to update
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * Limit how many integrations_ratings to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * integrations_ratings upsert
 */
export type integrations_ratingsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * The filter to search for the integrations_ratings to update in case it exists.
     */
    where: Prisma.integrations_ratingsWhereUniqueInput;
    /**
     * In case the integrations_ratings found by the `where` argument doesn't exist, create a new integrations_ratings with this data.
     */
    create: Prisma.XOR<Prisma.integrations_ratingsCreateInput, Prisma.integrations_ratingsUncheckedCreateInput>;
    /**
     * In case the integrations_ratings was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.integrations_ratingsUpdateInput, Prisma.integrations_ratingsUncheckedUpdateInput>;
};
/**
 * integrations_ratings delete
 */
export type integrations_ratingsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
    /**
     * Filter which integrations_ratings to delete.
     */
    where: Prisma.integrations_ratingsWhereUniqueInput;
};
/**
 * integrations_ratings deleteMany
 */
export type integrations_ratingsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which integrations_ratings to delete
     */
    where?: Prisma.integrations_ratingsWhereInput;
    /**
     * Limit how many integrations_ratings to delete.
     */
    limit?: number;
};
/**
 * integrations_ratings.integrations
 */
export type integrations_ratings$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_ratings.ratings
 */
export type integrations_ratings$ratingsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the ratings
     */
    select?: Prisma.ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the ratings
     */
    omit?: Prisma.ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.ratingsInclude<ExtArgs> | null;
    where?: Prisma.ratingsWhereInput;
};
/**
 * integrations_ratings without action
 */
export type integrations_ratingsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the integrations_ratings
     */
    select?: Prisma.integrations_ratingsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the integrations_ratings
     */
    omit?: Prisma.integrations_ratingsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.integrations_ratingsInclude<ExtArgs> | null;
};
export {};
