import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model feeds
 * 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 feedsModel = runtime.Types.Result.DefaultSelection<Prisma.$feedsPayload>;
export type AggregateFeeds = {
    _count: FeedsCountAggregateOutputType | null;
    _avg: FeedsAvgAggregateOutputType | null;
    _sum: FeedsSumAggregateOutputType | null;
    _min: FeedsMinAggregateOutputType | null;
    _max: FeedsMaxAggregateOutputType | null;
};
export type FeedsAvgAggregateOutputType = {
    id: number | null;
    shop: number | null;
};
export type FeedsSumAggregateOutputType = {
    id: bigint | null;
    shop: number | null;
};
export type FeedsMinAggregateOutputType = {
    id: bigint | null;
    updated_at: Date | null;
    user: string | null;
    shop: number | null;
    context_id: string | null;
    context_type: string | null;
};
export type FeedsMaxAggregateOutputType = {
    id: bigint | null;
    updated_at: Date | null;
    user: string | null;
    shop: number | null;
    context_id: string | null;
    context_type: string | null;
};
export type FeedsCountAggregateOutputType = {
    id: number;
    updated_at: number;
    user: number;
    shop: number;
    context_id: number;
    context_type: number;
    _all: number;
};
export type FeedsAvgAggregateInputType = {
    id?: true;
    shop?: true;
};
export type FeedsSumAggregateInputType = {
    id?: true;
    shop?: true;
};
export type FeedsMinAggregateInputType = {
    id?: true;
    updated_at?: true;
    user?: true;
    shop?: true;
    context_id?: true;
    context_type?: true;
};
export type FeedsMaxAggregateInputType = {
    id?: true;
    updated_at?: true;
    user?: true;
    shop?: true;
    context_id?: true;
    context_type?: true;
};
export type FeedsCountAggregateInputType = {
    id?: true;
    updated_at?: true;
    user?: true;
    shop?: true;
    context_id?: true;
    context_type?: true;
    _all?: true;
};
export type FeedsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which feeds to aggregate.
     */
    where?: Prisma.feedsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of feeds to fetch.
     */
    orderBy?: Prisma.feedsOrderByWithRelationInput | Prisma.feedsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.feedsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` feeds 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` feeds.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned feeds
    **/
    _count?: true | FeedsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: FeedsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: FeedsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: FeedsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: FeedsMaxAggregateInputType;
};
export type GetFeedsAggregateType<T extends FeedsAggregateArgs> = {
    [P in keyof T & keyof AggregateFeeds]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFeeds[P]> : Prisma.GetScalarType<T[P], AggregateFeeds[P]>;
};
export type feedsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.feedsWhereInput;
    orderBy?: Prisma.feedsOrderByWithAggregationInput | Prisma.feedsOrderByWithAggregationInput[];
    by: Prisma.FeedsScalarFieldEnum[] | Prisma.FeedsScalarFieldEnum;
    having?: Prisma.feedsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: FeedsCountAggregateInputType | true;
    _avg?: FeedsAvgAggregateInputType;
    _sum?: FeedsSumAggregateInputType;
    _min?: FeedsMinAggregateInputType;
    _max?: FeedsMaxAggregateInputType;
};
export type FeedsGroupByOutputType = {
    id: bigint;
    updated_at: Date | null;
    user: string | null;
    shop: number | null;
    context_id: string | null;
    context_type: string | null;
    _count: FeedsCountAggregateOutputType | null;
    _avg: FeedsAvgAggregateOutputType | null;
    _sum: FeedsSumAggregateOutputType | null;
    _min: FeedsMinAggregateOutputType | null;
    _max: FeedsMaxAggregateOutputType | null;
};
type GetFeedsGroupByPayload<T extends feedsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FeedsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof FeedsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FeedsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FeedsGroupByOutputType[P]>;
}>>;
export type feedsWhereInput = {
    AND?: Prisma.feedsWhereInput | Prisma.feedsWhereInput[];
    OR?: Prisma.feedsWhereInput[];
    NOT?: Prisma.feedsWhereInput | Prisma.feedsWhereInput[];
    id?: Prisma.BigIntFilter<"feeds"> | bigint | number;
    updated_at?: Prisma.DateTimeNullableFilter<"feeds"> | Date | string | null;
    user?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    shop?: Prisma.IntNullableFilter<"feeds"> | number | null;
    context_id?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    context_type?: Prisma.StringNullableFilter<"feeds"> | string | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
    feeds_posts?: Prisma.Feeds_postsListRelationFilter;
};
export type feedsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    shop?: Prisma.SortOrderInput | Prisma.SortOrder;
    context_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    context_type?: Prisma.SortOrderInput | Prisma.SortOrder;
    shops?: Prisma.shopsOrderByWithRelationInput;
    feeds_posts?: Prisma.feeds_postsOrderByRelationAggregateInput;
};
export type feedsWhereUniqueInput = Prisma.AtLeast<{
    id?: bigint | number;
    AND?: Prisma.feedsWhereInput | Prisma.feedsWhereInput[];
    OR?: Prisma.feedsWhereInput[];
    NOT?: Prisma.feedsWhereInput | Prisma.feedsWhereInput[];
    updated_at?: Prisma.DateTimeNullableFilter<"feeds"> | Date | string | null;
    user?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    shop?: Prisma.IntNullableFilter<"feeds"> | number | null;
    context_id?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    context_type?: Prisma.StringNullableFilter<"feeds"> | string | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
    feeds_posts?: Prisma.Feeds_postsListRelationFilter;
}, "id">;
export type feedsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    shop?: Prisma.SortOrderInput | Prisma.SortOrder;
    context_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    context_type?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.feedsCountOrderByAggregateInput;
    _avg?: Prisma.feedsAvgOrderByAggregateInput;
    _max?: Prisma.feedsMaxOrderByAggregateInput;
    _min?: Prisma.feedsMinOrderByAggregateInput;
    _sum?: Prisma.feedsSumOrderByAggregateInput;
};
export type feedsScalarWhereWithAggregatesInput = {
    AND?: Prisma.feedsScalarWhereWithAggregatesInput | Prisma.feedsScalarWhereWithAggregatesInput[];
    OR?: Prisma.feedsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.feedsScalarWhereWithAggregatesInput | Prisma.feedsScalarWhereWithAggregatesInput[];
    id?: Prisma.BigIntWithAggregatesFilter<"feeds"> | bigint | number;
    updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"feeds"> | Date | string | null;
    user?: Prisma.UuidNullableWithAggregatesFilter<"feeds"> | string | null;
    shop?: Prisma.IntNullableWithAggregatesFilter<"feeds"> | number | null;
    context_id?: Prisma.UuidNullableWithAggregatesFilter<"feeds"> | string | null;
    context_type?: Prisma.StringNullableWithAggregatesFilter<"feeds"> | string | null;
};
export type feedsCreateInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    context_id?: string | null;
    context_type?: string | null;
    shops?: Prisma.shopsCreateNestedOneWithoutFeedsInput;
    feeds_posts?: Prisma.feeds_postsCreateNestedManyWithoutFeedsInput;
};
export type feedsUncheckedCreateInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    shop?: number | null;
    context_id?: string | null;
    context_type?: string | null;
    feeds_posts?: Prisma.feeds_postsUncheckedCreateNestedManyWithoutFeedsInput;
};
export type feedsUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    shops?: Prisma.shopsUpdateOneWithoutFeedsNestedInput;
    feeds_posts?: Prisma.feeds_postsUpdateManyWithoutFeedsNestedInput;
};
export type feedsUncheckedUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    shop?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    feeds_posts?: Prisma.feeds_postsUncheckedUpdateManyWithoutFeedsNestedInput;
};
export type feedsCreateManyInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    shop?: number | null;
    context_id?: string | null;
    context_type?: string | null;
};
export type feedsUpdateManyMutationInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type feedsUncheckedUpdateManyInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    shop?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type feedsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    shop?: Prisma.SortOrder;
    context_id?: Prisma.SortOrder;
    context_type?: Prisma.SortOrder;
};
export type feedsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop?: Prisma.SortOrder;
};
export type feedsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    shop?: Prisma.SortOrder;
    context_id?: Prisma.SortOrder;
    context_type?: Prisma.SortOrder;
};
export type feedsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
    shop?: Prisma.SortOrder;
    context_id?: Prisma.SortOrder;
    context_type?: Prisma.SortOrder;
};
export type feedsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shop?: Prisma.SortOrder;
};
export type FeedsNullableScalarRelationFilter = {
    is?: Prisma.feedsWhereInput | null;
    isNot?: Prisma.feedsWhereInput | null;
};
export type FeedsListRelationFilter = {
    every?: Prisma.feedsWhereInput;
    some?: Prisma.feedsWhereInput;
    none?: Prisma.feedsWhereInput;
};
export type feedsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type feedsCreateNestedOneWithoutFeeds_postsInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutFeeds_postsInput, Prisma.feedsUncheckedCreateWithoutFeeds_postsInput>;
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutFeeds_postsInput;
    connect?: Prisma.feedsWhereUniqueInput;
};
export type feedsUpdateOneWithoutFeeds_postsNestedInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutFeeds_postsInput, Prisma.feedsUncheckedCreateWithoutFeeds_postsInput>;
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutFeeds_postsInput;
    upsert?: Prisma.feedsUpsertWithoutFeeds_postsInput;
    disconnect?: Prisma.feedsWhereInput | boolean;
    delete?: Prisma.feedsWhereInput | boolean;
    connect?: Prisma.feedsWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.feedsUpdateToOneWithWhereWithoutFeeds_postsInput, Prisma.feedsUpdateWithoutFeeds_postsInput>, Prisma.feedsUncheckedUpdateWithoutFeeds_postsInput>;
};
export type feedsCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput> | Prisma.feedsCreateWithoutShopsInput[] | Prisma.feedsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutShopsInput | Prisma.feedsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.feedsCreateManyShopsInputEnvelope;
    connect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
};
export type feedsUncheckedCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput> | Prisma.feedsCreateWithoutShopsInput[] | Prisma.feedsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutShopsInput | Prisma.feedsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.feedsCreateManyShopsInputEnvelope;
    connect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
};
export type feedsUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput> | Prisma.feedsCreateWithoutShopsInput[] | Prisma.feedsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutShopsInput | Prisma.feedsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.feedsUpsertWithWhereUniqueWithoutShopsInput | Prisma.feedsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.feedsCreateManyShopsInputEnvelope;
    set?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    disconnect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    delete?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    connect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    update?: Prisma.feedsUpdateWithWhereUniqueWithoutShopsInput | Prisma.feedsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.feedsUpdateManyWithWhereWithoutShopsInput | Prisma.feedsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.feedsScalarWhereInput | Prisma.feedsScalarWhereInput[];
};
export type feedsUncheckedUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput> | Prisma.feedsCreateWithoutShopsInput[] | Prisma.feedsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.feedsCreateOrConnectWithoutShopsInput | Prisma.feedsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.feedsUpsertWithWhereUniqueWithoutShopsInput | Prisma.feedsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.feedsCreateManyShopsInputEnvelope;
    set?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    disconnect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    delete?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    connect?: Prisma.feedsWhereUniqueInput | Prisma.feedsWhereUniqueInput[];
    update?: Prisma.feedsUpdateWithWhereUniqueWithoutShopsInput | Prisma.feedsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.feedsUpdateManyWithWhereWithoutShopsInput | Prisma.feedsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.feedsScalarWhereInput | Prisma.feedsScalarWhereInput[];
};
export type feedsCreateWithoutFeeds_postsInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    context_id?: string | null;
    context_type?: string | null;
    shops?: Prisma.shopsCreateNestedOneWithoutFeedsInput;
};
export type feedsUncheckedCreateWithoutFeeds_postsInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    shop?: number | null;
    context_id?: string | null;
    context_type?: string | null;
};
export type feedsCreateOrConnectWithoutFeeds_postsInput = {
    where: Prisma.feedsWhereUniqueInput;
    create: Prisma.XOR<Prisma.feedsCreateWithoutFeeds_postsInput, Prisma.feedsUncheckedCreateWithoutFeeds_postsInput>;
};
export type feedsUpsertWithoutFeeds_postsInput = {
    update: Prisma.XOR<Prisma.feedsUpdateWithoutFeeds_postsInput, Prisma.feedsUncheckedUpdateWithoutFeeds_postsInput>;
    create: Prisma.XOR<Prisma.feedsCreateWithoutFeeds_postsInput, Prisma.feedsUncheckedCreateWithoutFeeds_postsInput>;
    where?: Prisma.feedsWhereInput;
};
export type feedsUpdateToOneWithWhereWithoutFeeds_postsInput = {
    where?: Prisma.feedsWhereInput;
    data: Prisma.XOR<Prisma.feedsUpdateWithoutFeeds_postsInput, Prisma.feedsUncheckedUpdateWithoutFeeds_postsInput>;
};
export type feedsUpdateWithoutFeeds_postsInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    shops?: Prisma.shopsUpdateOneWithoutFeedsNestedInput;
};
export type feedsUncheckedUpdateWithoutFeeds_postsInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    shop?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type feedsCreateWithoutShopsInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    context_id?: string | null;
    context_type?: string | null;
    feeds_posts?: Prisma.feeds_postsCreateNestedManyWithoutFeedsInput;
};
export type feedsUncheckedCreateWithoutShopsInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    context_id?: string | null;
    context_type?: string | null;
    feeds_posts?: Prisma.feeds_postsUncheckedCreateNestedManyWithoutFeedsInput;
};
export type feedsCreateOrConnectWithoutShopsInput = {
    where: Prisma.feedsWhereUniqueInput;
    create: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput>;
};
export type feedsCreateManyShopsInputEnvelope = {
    data: Prisma.feedsCreateManyShopsInput | Prisma.feedsCreateManyShopsInput[];
    skipDuplicates?: boolean;
};
export type feedsUpsertWithWhereUniqueWithoutShopsInput = {
    where: Prisma.feedsWhereUniqueInput;
    update: Prisma.XOR<Prisma.feedsUpdateWithoutShopsInput, Prisma.feedsUncheckedUpdateWithoutShopsInput>;
    create: Prisma.XOR<Prisma.feedsCreateWithoutShopsInput, Prisma.feedsUncheckedCreateWithoutShopsInput>;
};
export type feedsUpdateWithWhereUniqueWithoutShopsInput = {
    where: Prisma.feedsWhereUniqueInput;
    data: Prisma.XOR<Prisma.feedsUpdateWithoutShopsInput, Prisma.feedsUncheckedUpdateWithoutShopsInput>;
};
export type feedsUpdateManyWithWhereWithoutShopsInput = {
    where: Prisma.feedsScalarWhereInput;
    data: Prisma.XOR<Prisma.feedsUpdateManyMutationInput, Prisma.feedsUncheckedUpdateManyWithoutShopsInput>;
};
export type feedsScalarWhereInput = {
    AND?: Prisma.feedsScalarWhereInput | Prisma.feedsScalarWhereInput[];
    OR?: Prisma.feedsScalarWhereInput[];
    NOT?: Prisma.feedsScalarWhereInput | Prisma.feedsScalarWhereInput[];
    id?: Prisma.BigIntFilter<"feeds"> | bigint | number;
    updated_at?: Prisma.DateTimeNullableFilter<"feeds"> | Date | string | null;
    user?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    shop?: Prisma.IntNullableFilter<"feeds"> | number | null;
    context_id?: Prisma.UuidNullableFilter<"feeds"> | string | null;
    context_type?: Prisma.StringNullableFilter<"feeds"> | string | null;
};
export type feedsCreateManyShopsInput = {
    id?: bigint | number;
    updated_at?: Date | string | null;
    user?: string | null;
    context_id?: string | null;
    context_type?: string | null;
};
export type feedsUpdateWithoutShopsInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    feeds_posts?: Prisma.feeds_postsUpdateManyWithoutFeedsNestedInput;
};
export type feedsUncheckedUpdateWithoutShopsInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    feeds_posts?: Prisma.feeds_postsUncheckedUpdateManyWithoutFeedsNestedInput;
};
export type feedsUncheckedUpdateManyWithoutShopsInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    context_type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
/**
 * Count Type FeedsCountOutputType
 */
export type FeedsCountOutputType = {
    feeds_posts: number;
};
export type FeedsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    feeds_posts?: boolean | FeedsCountOutputTypeCountFeeds_postsArgs;
};
/**
 * FeedsCountOutputType without action
 */
export type FeedsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the FeedsCountOutputType
     */
    select?: Prisma.FeedsCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * FeedsCountOutputType without action
 */
export type FeedsCountOutputTypeCountFeeds_postsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.feeds_postsWhereInput;
};
export type feedsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    updated_at?: boolean;
    user?: boolean;
    shop?: boolean;
    context_id?: boolean;
    context_type?: boolean;
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
    feeds_posts?: boolean | Prisma.feeds$feeds_postsArgs<ExtArgs>;
    _count?: boolean | Prisma.FeedsCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["feeds"]>;
export type feedsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    updated_at?: boolean;
    user?: boolean;
    shop?: boolean;
    context_id?: boolean;
    context_type?: boolean;
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["feeds"]>;
export type feedsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    updated_at?: boolean;
    user?: boolean;
    shop?: boolean;
    context_id?: boolean;
    context_type?: boolean;
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["feeds"]>;
export type feedsSelectScalar = {
    id?: boolean;
    updated_at?: boolean;
    user?: boolean;
    shop?: boolean;
    context_id?: boolean;
    context_type?: boolean;
};
export type feedsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "updated_at" | "user" | "shop" | "context_id" | "context_type", ExtArgs["result"]["feeds"]>;
export type feedsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
    feeds_posts?: boolean | Prisma.feeds$feeds_postsArgs<ExtArgs>;
    _count?: boolean | Prisma.FeedsCountOutputTypeDefaultArgs<ExtArgs>;
};
export type feedsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
};
export type feedsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.feeds$shopsArgs<ExtArgs>;
};
export type $feedsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "feeds";
    objects: {
        shops: Prisma.$shopsPayload<ExtArgs> | null;
        feeds_posts: Prisma.$feeds_postsPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: bigint;
        updated_at: Date | null;
        user: string | null;
        shop: number | null;
        context_id: string | null;
        context_type: string | null;
    }, ExtArgs["result"]["feeds"]>;
    composites: {};
};
export type feedsGetPayload<S extends boolean | null | undefined | feedsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$feedsPayload, S>;
export type feedsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<feedsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: FeedsCountAggregateInputType | true;
};
export interface feedsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['feeds'];
        meta: {
            name: 'feeds';
        };
    };
    /**
     * Find zero or one Feeds that matches the filter.
     * @param {feedsFindUniqueArgs} args - Arguments to find a Feeds
     * @example
     * // Get one Feeds
     * const feeds = await prisma.feeds.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends feedsFindUniqueArgs>(args: Prisma.SelectSubset<T, feedsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Feeds that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {feedsFindUniqueOrThrowArgs} args - Arguments to find a Feeds
     * @example
     * // Get one Feeds
     * const feeds = await prisma.feeds.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends feedsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, feedsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Feeds 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 {feedsFindFirstArgs} args - Arguments to find a Feeds
     * @example
     * // Get one Feeds
     * const feeds = await prisma.feeds.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends feedsFindFirstArgs>(args?: Prisma.SelectSubset<T, feedsFindFirstArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Feeds 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 {feedsFindFirstOrThrowArgs} args - Arguments to find a Feeds
     * @example
     * // Get one Feeds
     * const feeds = await prisma.feeds.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends feedsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, feedsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Feeds 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 {feedsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Feeds
     * const feeds = await prisma.feeds.findMany()
     *
     * // Get first 10 Feeds
     * const feeds = await prisma.feeds.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const feedsWithIdOnly = await prisma.feeds.findMany({ select: { id: true } })
     *
     */
    findMany<T extends feedsFindManyArgs>(args?: Prisma.SelectSubset<T, feedsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Feeds.
     * @param {feedsCreateArgs} args - Arguments to create a Feeds.
     * @example
     * // Create one Feeds
     * const Feeds = await prisma.feeds.create({
     *   data: {
     *     // ... data to create a Feeds
     *   }
     * })
     *
     */
    create<T extends feedsCreateArgs>(args: Prisma.SelectSubset<T, feedsCreateArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Feeds.
     * @param {feedsCreateManyArgs} args - Arguments to create many Feeds.
     * @example
     * // Create many Feeds
     * const feeds = await prisma.feeds.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends feedsCreateManyArgs>(args?: Prisma.SelectSubset<T, feedsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Feeds and returns the data saved in the database.
     * @param {feedsCreateManyAndReturnArgs} args - Arguments to create many Feeds.
     * @example
     * // Create many Feeds
     * const feeds = await prisma.feeds.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Feeds and only return the `id`
     * const feedsWithIdOnly = await prisma.feeds.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 feedsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, feedsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Feeds.
     * @param {feedsDeleteArgs} args - Arguments to delete one Feeds.
     * @example
     * // Delete one Feeds
     * const Feeds = await prisma.feeds.delete({
     *   where: {
     *     // ... filter to delete one Feeds
     *   }
     * })
     *
     */
    delete<T extends feedsDeleteArgs>(args: Prisma.SelectSubset<T, feedsDeleteArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Feeds.
     * @param {feedsUpdateArgs} args - Arguments to update one Feeds.
     * @example
     * // Update one Feeds
     * const feeds = await prisma.feeds.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends feedsUpdateArgs>(args: Prisma.SelectSubset<T, feedsUpdateArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Feeds.
     * @param {feedsDeleteManyArgs} args - Arguments to filter Feeds to delete.
     * @example
     * // Delete a few Feeds
     * const { count } = await prisma.feeds.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends feedsDeleteManyArgs>(args?: Prisma.SelectSubset<T, feedsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Feeds.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {feedsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Feeds
     * const feeds = await prisma.feeds.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends feedsUpdateManyArgs>(args: Prisma.SelectSubset<T, feedsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Feeds and returns the data updated in the database.
     * @param {feedsUpdateManyAndReturnArgs} args - Arguments to update many Feeds.
     * @example
     * // Update many Feeds
     * const feeds = await prisma.feeds.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Feeds and only return the `id`
     * const feedsWithIdOnly = await prisma.feeds.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 feedsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, feedsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Feeds.
     * @param {feedsUpsertArgs} args - Arguments to update or create a Feeds.
     * @example
     * // Update or create a Feeds
     * const feeds = await prisma.feeds.upsert({
     *   create: {
     *     // ... data to create a Feeds
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Feeds we want to update
     *   }
     * })
     */
    upsert<T extends feedsUpsertArgs>(args: Prisma.SelectSubset<T, feedsUpsertArgs<ExtArgs>>): Prisma.Prisma__feedsClient<runtime.Types.Result.GetResult<Prisma.$feedsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Feeds.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {feedsCountArgs} args - Arguments to filter Feeds to count.
     * @example
     * // Count the number of Feeds
     * const count = await prisma.feeds.count({
     *   where: {
     *     // ... the filter for the Feeds we want to count
     *   }
     * })
    **/
    count<T extends feedsCountArgs>(args?: Prisma.Subset<T, feedsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FeedsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Feeds.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {FeedsAggregateArgs} 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 FeedsAggregateArgs>(args: Prisma.Subset<T, FeedsAggregateArgs>): Prisma.PrismaPromise<GetFeedsAggregateType<T>>;
    /**
     * Group by Feeds.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {feedsGroupByArgs} 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 feedsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: feedsGroupByArgs['orderBy'];
    } : {
        orderBy?: feedsGroupByArgs['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, feedsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFeedsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the feeds model
     */
    readonly fields: feedsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for feeds.
 * 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__feedsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    shops<T extends Prisma.feeds$shopsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.feeds$shopsArgs<ExtArgs>>): Prisma.Prisma__shopsClient<runtime.Types.Result.GetResult<Prisma.$shopsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    feeds_posts<T extends Prisma.feeds$feeds_postsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.feeds$feeds_postsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$feeds_postsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    /**
     * 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 feeds model
 */
export interface feedsFieldRefs {
    readonly id: Prisma.FieldRef<"feeds", 'BigInt'>;
    readonly updated_at: Prisma.FieldRef<"feeds", 'DateTime'>;
    readonly user: Prisma.FieldRef<"feeds", 'String'>;
    readonly shop: Prisma.FieldRef<"feeds", 'Int'>;
    readonly context_id: Prisma.FieldRef<"feeds", 'String'>;
    readonly context_type: Prisma.FieldRef<"feeds", 'String'>;
}
/**
 * feeds findUnique
 */
export type feedsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter, which feeds to fetch.
     */
    where: Prisma.feedsWhereUniqueInput;
};
/**
 * feeds findUniqueOrThrow
 */
export type feedsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter, which feeds to fetch.
     */
    where: Prisma.feedsWhereUniqueInput;
};
/**
 * feeds findFirst
 */
export type feedsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter, which feeds to fetch.
     */
    where?: Prisma.feedsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of feeds to fetch.
     */
    orderBy?: Prisma.feedsOrderByWithRelationInput | Prisma.feedsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for feeds.
     */
    cursor?: Prisma.feedsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` feeds 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` feeds.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of feeds.
     */
    distinct?: Prisma.FeedsScalarFieldEnum | Prisma.FeedsScalarFieldEnum[];
};
/**
 * feeds findFirstOrThrow
 */
export type feedsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter, which feeds to fetch.
     */
    where?: Prisma.feedsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of feeds to fetch.
     */
    orderBy?: Prisma.feedsOrderByWithRelationInput | Prisma.feedsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for feeds.
     */
    cursor?: Prisma.feedsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` feeds 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` feeds.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of feeds.
     */
    distinct?: Prisma.FeedsScalarFieldEnum | Prisma.FeedsScalarFieldEnum[];
};
/**
 * feeds findMany
 */
export type feedsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter, which feeds to fetch.
     */
    where?: Prisma.feedsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of feeds to fetch.
     */
    orderBy?: Prisma.feedsOrderByWithRelationInput | Prisma.feedsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing feeds.
     */
    cursor?: Prisma.feedsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` feeds 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` feeds.
     */
    skip?: number;
    distinct?: Prisma.FeedsScalarFieldEnum | Prisma.FeedsScalarFieldEnum[];
};
/**
 * feeds create
 */
export type feedsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * The data needed to create a feeds.
     */
    data?: Prisma.XOR<Prisma.feedsCreateInput, Prisma.feedsUncheckedCreateInput>;
};
/**
 * feeds createMany
 */
export type feedsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many feeds.
     */
    data: Prisma.feedsCreateManyInput | Prisma.feedsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * feeds createManyAndReturn
 */
export type feedsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * The data used to create many feeds.
     */
    data: Prisma.feedsCreateManyInput | Prisma.feedsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * feeds update
 */
export type feedsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * The data needed to update a feeds.
     */
    data: Prisma.XOR<Prisma.feedsUpdateInput, Prisma.feedsUncheckedUpdateInput>;
    /**
     * Choose, which feeds to update.
     */
    where: Prisma.feedsWhereUniqueInput;
};
/**
 * feeds updateMany
 */
export type feedsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update feeds.
     */
    data: Prisma.XOR<Prisma.feedsUpdateManyMutationInput, Prisma.feedsUncheckedUpdateManyInput>;
    /**
     * Filter which feeds to update
     */
    where?: Prisma.feedsWhereInput;
    /**
     * Limit how many feeds to update.
     */
    limit?: number;
};
/**
 * feeds updateManyAndReturn
 */
export type feedsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * The data used to update feeds.
     */
    data: Prisma.XOR<Prisma.feedsUpdateManyMutationInput, Prisma.feedsUncheckedUpdateManyInput>;
    /**
     * Filter which feeds to update
     */
    where?: Prisma.feedsWhereInput;
    /**
     * Limit how many feeds to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * feeds upsert
 */
export type feedsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * The filter to search for the feeds to update in case it exists.
     */
    where: Prisma.feedsWhereUniqueInput;
    /**
     * In case the feeds found by the `where` argument doesn't exist, create a new feeds with this data.
     */
    create: Prisma.XOR<Prisma.feedsCreateInput, Prisma.feedsUncheckedCreateInput>;
    /**
     * In case the feeds was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.feedsUpdateInput, Prisma.feedsUncheckedUpdateInput>;
};
/**
 * feeds delete
 */
export type feedsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
    /**
     * Filter which feeds to delete.
     */
    where: Prisma.feedsWhereUniqueInput;
};
/**
 * feeds deleteMany
 */
export type feedsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which feeds to delete
     */
    where?: Prisma.feedsWhereInput;
    /**
     * Limit how many feeds to delete.
     */
    limit?: number;
};
/**
 * feeds.shops
 */
export type feeds$shopsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops
     */
    select?: Prisma.shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops
     */
    omit?: Prisma.shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shopsInclude<ExtArgs> | null;
    where?: Prisma.shopsWhereInput;
};
/**
 * feeds.feeds_posts
 */
export type feeds$feeds_postsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds_posts
     */
    select?: Prisma.feeds_postsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds_posts
     */
    omit?: Prisma.feeds_postsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feeds_postsInclude<ExtArgs> | null;
    where?: Prisma.feeds_postsWhereInput;
    orderBy?: Prisma.feeds_postsOrderByWithRelationInput | Prisma.feeds_postsOrderByWithRelationInput[];
    cursor?: Prisma.feeds_postsWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Feeds_postsScalarFieldEnum | Prisma.Feeds_postsScalarFieldEnum[];
};
/**
 * feeds without action
 */
export type feedsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the feeds
     */
    select?: Prisma.feedsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the feeds
     */
    omit?: Prisma.feedsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.feedsInclude<ExtArgs> | null;
};
export {};
