import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model postgresstores_products
 * 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 postgresstores_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$postgresstores_productsPayload>;
export type AggregatePostgresstores_products = {
    _count: Postgresstores_productsCountAggregateOutputType | null;
    _avg: Postgresstores_productsAvgAggregateOutputType | null;
    _sum: Postgresstores_productsSumAggregateOutputType | null;
    _min: Postgresstores_productsMinAggregateOutputType | null;
    _max: Postgresstores_productsMaxAggregateOutputType | null;
};
export type Postgresstores_productsAvgAggregateOutputType = {
    id: number | null;
    postgresstores_id: number | null;
    products_id: number | null;
};
export type Postgresstores_productsSumAggregateOutputType = {
    id: number | null;
    postgresstores_id: number | null;
    products_id: bigint | null;
};
export type Postgresstores_productsMinAggregateOutputType = {
    id: number | null;
    postgresstores_id: number | null;
    products_id: bigint | null;
};
export type Postgresstores_productsMaxAggregateOutputType = {
    id: number | null;
    postgresstores_id: number | null;
    products_id: bigint | null;
};
export type Postgresstores_productsCountAggregateOutputType = {
    id: number;
    postgresstores_id: number;
    products_id: number;
    _all: number;
};
export type Postgresstores_productsAvgAggregateInputType = {
    id?: true;
    postgresstores_id?: true;
    products_id?: true;
};
export type Postgresstores_productsSumAggregateInputType = {
    id?: true;
    postgresstores_id?: true;
    products_id?: true;
};
export type Postgresstores_productsMinAggregateInputType = {
    id?: true;
    postgresstores_id?: true;
    products_id?: true;
};
export type Postgresstores_productsMaxAggregateInputType = {
    id?: true;
    postgresstores_id?: true;
    products_id?: true;
};
export type Postgresstores_productsCountAggregateInputType = {
    id?: true;
    postgresstores_id?: true;
    products_id?: true;
    _all?: true;
};
export type Postgresstores_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which postgresstores_products to aggregate.
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of postgresstores_products to fetch.
     */
    orderBy?: Prisma.postgresstores_productsOrderByWithRelationInput | Prisma.postgresstores_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.postgresstores_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` postgresstores_products 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` postgresstores_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned postgresstores_products
    **/
    _count?: true | Postgresstores_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Postgresstores_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Postgresstores_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Postgresstores_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Postgresstores_productsMaxAggregateInputType;
};
export type GetPostgresstores_productsAggregateType<T extends Postgresstores_productsAggregateArgs> = {
    [P in keyof T & keyof AggregatePostgresstores_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePostgresstores_products[P]> : Prisma.GetScalarType<T[P], AggregatePostgresstores_products[P]>;
};
export type postgresstores_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.postgresstores_productsWhereInput;
    orderBy?: Prisma.postgresstores_productsOrderByWithAggregationInput | Prisma.postgresstores_productsOrderByWithAggregationInput[];
    by: Prisma.Postgresstores_productsScalarFieldEnum[] | Prisma.Postgresstores_productsScalarFieldEnum;
    having?: Prisma.postgresstores_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Postgresstores_productsCountAggregateInputType | true;
    _avg?: Postgresstores_productsAvgAggregateInputType;
    _sum?: Postgresstores_productsSumAggregateInputType;
    _min?: Postgresstores_productsMinAggregateInputType;
    _max?: Postgresstores_productsMaxAggregateInputType;
};
export type Postgresstores_productsGroupByOutputType = {
    id: number;
    postgresstores_id: number | null;
    products_id: bigint | null;
    _count: Postgresstores_productsCountAggregateOutputType | null;
    _avg: Postgresstores_productsAvgAggregateOutputType | null;
    _sum: Postgresstores_productsSumAggregateOutputType | null;
    _min: Postgresstores_productsMinAggregateOutputType | null;
    _max: Postgresstores_productsMaxAggregateOutputType | null;
};
type GetPostgresstores_productsGroupByPayload<T extends postgresstores_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Postgresstores_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Postgresstores_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Postgresstores_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Postgresstores_productsGroupByOutputType[P]>;
}>>;
export type postgresstores_productsWhereInput = {
    AND?: Prisma.postgresstores_productsWhereInput | Prisma.postgresstores_productsWhereInput[];
    OR?: Prisma.postgresstores_productsWhereInput[];
    NOT?: Prisma.postgresstores_productsWhereInput | Prisma.postgresstores_productsWhereInput[];
    id?: Prisma.IntFilter<"postgresstores_products"> | number;
    postgresstores_id?: Prisma.IntNullableFilter<"postgresstores_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"postgresstores_products"> | bigint | number | null;
    postgresstores?: Prisma.XOR<Prisma.PostgresstoresNullableScalarRelationFilter, Prisma.postgresstoresWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type postgresstores_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    postgresstores?: Prisma.postgresstoresOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type postgresstores_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.postgresstores_productsWhereInput | Prisma.postgresstores_productsWhereInput[];
    OR?: Prisma.postgresstores_productsWhereInput[];
    NOT?: Prisma.postgresstores_productsWhereInput | Prisma.postgresstores_productsWhereInput[];
    postgresstores_id?: Prisma.IntNullableFilter<"postgresstores_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"postgresstores_products"> | bigint | number | null;
    postgresstores?: Prisma.XOR<Prisma.PostgresstoresNullableScalarRelationFilter, Prisma.postgresstoresWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type postgresstores_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.postgresstores_productsCountOrderByAggregateInput;
    _avg?: Prisma.postgresstores_productsAvgOrderByAggregateInput;
    _max?: Prisma.postgresstores_productsMaxOrderByAggregateInput;
    _min?: Prisma.postgresstores_productsMinOrderByAggregateInput;
    _sum?: Prisma.postgresstores_productsSumOrderByAggregateInput;
};
export type postgresstores_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.postgresstores_productsScalarWhereWithAggregatesInput | Prisma.postgresstores_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.postgresstores_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.postgresstores_productsScalarWhereWithAggregatesInput | Prisma.postgresstores_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"postgresstores_products"> | number;
    postgresstores_id?: Prisma.IntNullableWithAggregatesFilter<"postgresstores_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"postgresstores_products"> | bigint | number | null;
};
export type postgresstores_productsCreateInput = {
    postgresstores?: Prisma.postgresstoresCreateNestedOneWithoutPostgresstores_productsInput;
    products?: Prisma.productsCreateNestedOneWithoutPostgresstores_productsInput;
};
export type postgresstores_productsUncheckedCreateInput = {
    id?: number;
    postgresstores_id?: number | null;
    products_id?: bigint | number | null;
};
export type postgresstores_productsUpdateInput = {
    postgresstores?: Prisma.postgresstoresUpdateOneWithoutPostgresstores_productsNestedInput;
    products?: Prisma.productsUpdateOneWithoutPostgresstores_productsNestedInput;
};
export type postgresstores_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    postgresstores_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type postgresstores_productsCreateManyInput = {
    id?: number;
    postgresstores_id?: number | null;
    products_id?: bigint | number | null;
};
export type postgresstores_productsUpdateManyMutationInput = {};
export type postgresstores_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    postgresstores_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Postgresstores_productsListRelationFilter = {
    every?: Prisma.postgresstores_productsWhereInput;
    some?: Prisma.postgresstores_productsWhereInput;
    none?: Prisma.postgresstores_productsWhereInput;
};
export type postgresstores_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type postgresstores_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type postgresstores_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type postgresstores_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type postgresstores_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type postgresstores_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    postgresstores_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type postgresstores_productsCreateNestedManyWithoutPostgresstoresInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput> | Prisma.postgresstores_productsCreateWithoutPostgresstoresInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput | Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput[];
    createMany?: Prisma.postgresstores_productsCreateManyPostgresstoresInputEnvelope;
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
};
export type postgresstores_productsUncheckedCreateNestedManyWithoutPostgresstoresInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput> | Prisma.postgresstores_productsCreateWithoutPostgresstoresInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput | Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput[];
    createMany?: Prisma.postgresstores_productsCreateManyPostgresstoresInputEnvelope;
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
};
export type postgresstores_productsUpdateManyWithoutPostgresstoresNestedInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput> | Prisma.postgresstores_productsCreateWithoutPostgresstoresInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput | Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput[];
    upsert?: Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutPostgresstoresInput | Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutPostgresstoresInput[];
    createMany?: Prisma.postgresstores_productsCreateManyPostgresstoresInputEnvelope;
    set?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    disconnect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    delete?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    update?: Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutPostgresstoresInput | Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutPostgresstoresInput[];
    updateMany?: Prisma.postgresstores_productsUpdateManyWithWhereWithoutPostgresstoresInput | Prisma.postgresstores_productsUpdateManyWithWhereWithoutPostgresstoresInput[];
    deleteMany?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
};
export type postgresstores_productsUncheckedUpdateManyWithoutPostgresstoresNestedInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput> | Prisma.postgresstores_productsCreateWithoutPostgresstoresInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput | Prisma.postgresstores_productsCreateOrConnectWithoutPostgresstoresInput[];
    upsert?: Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutPostgresstoresInput | Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutPostgresstoresInput[];
    createMany?: Prisma.postgresstores_productsCreateManyPostgresstoresInputEnvelope;
    set?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    disconnect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    delete?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    update?: Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutPostgresstoresInput | Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutPostgresstoresInput[];
    updateMany?: Prisma.postgresstores_productsUpdateManyWithWhereWithoutPostgresstoresInput | Prisma.postgresstores_productsUpdateManyWithWhereWithoutPostgresstoresInput[];
    deleteMany?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
};
export type postgresstores_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput> | Prisma.postgresstores_productsCreateWithoutProductsInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput | Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.postgresstores_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
};
export type postgresstores_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput> | Prisma.postgresstores_productsCreateWithoutProductsInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput | Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.postgresstores_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
};
export type postgresstores_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput> | Prisma.postgresstores_productsCreateWithoutProductsInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput | Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.postgresstores_productsCreateManyProductsInputEnvelope;
    set?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    disconnect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    delete?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    update?: Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.postgresstores_productsUpdateManyWithWhereWithoutProductsInput | Prisma.postgresstores_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
};
export type postgresstores_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput> | Prisma.postgresstores_productsCreateWithoutProductsInput[] | Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput | Prisma.postgresstores_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.postgresstores_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.postgresstores_productsCreateManyProductsInputEnvelope;
    set?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    disconnect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    delete?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    connect?: Prisma.postgresstores_productsWhereUniqueInput | Prisma.postgresstores_productsWhereUniqueInput[];
    update?: Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.postgresstores_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.postgresstores_productsUpdateManyWithWhereWithoutProductsInput | Prisma.postgresstores_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
};
export type postgresstores_productsCreateWithoutPostgresstoresInput = {
    products?: Prisma.productsCreateNestedOneWithoutPostgresstores_productsInput;
};
export type postgresstores_productsUncheckedCreateWithoutPostgresstoresInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type postgresstores_productsCreateOrConnectWithoutPostgresstoresInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput>;
};
export type postgresstores_productsCreateManyPostgresstoresInputEnvelope = {
    data: Prisma.postgresstores_productsCreateManyPostgresstoresInput | Prisma.postgresstores_productsCreateManyPostgresstoresInput[];
    skipDuplicates?: boolean;
};
export type postgresstores_productsUpsertWithWhereUniqueWithoutPostgresstoresInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.postgresstores_productsUpdateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedUpdateWithoutPostgresstoresInput>;
    create: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedCreateWithoutPostgresstoresInput>;
};
export type postgresstores_productsUpdateWithWhereUniqueWithoutPostgresstoresInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateWithoutPostgresstoresInput, Prisma.postgresstores_productsUncheckedUpdateWithoutPostgresstoresInput>;
};
export type postgresstores_productsUpdateManyWithWhereWithoutPostgresstoresInput = {
    where: Prisma.postgresstores_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateManyMutationInput, Prisma.postgresstores_productsUncheckedUpdateManyWithoutPostgresstoresInput>;
};
export type postgresstores_productsScalarWhereInput = {
    AND?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
    OR?: Prisma.postgresstores_productsScalarWhereInput[];
    NOT?: Prisma.postgresstores_productsScalarWhereInput | Prisma.postgresstores_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"postgresstores_products"> | number;
    postgresstores_id?: Prisma.IntNullableFilter<"postgresstores_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"postgresstores_products"> | bigint | number | null;
};
export type postgresstores_productsCreateWithoutProductsInput = {
    postgresstores?: Prisma.postgresstoresCreateNestedOneWithoutPostgresstores_productsInput;
};
export type postgresstores_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    postgresstores_id?: number | null;
};
export type postgresstores_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput>;
};
export type postgresstores_productsCreateManyProductsInputEnvelope = {
    data: Prisma.postgresstores_productsCreateManyProductsInput | Prisma.postgresstores_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type postgresstores_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.postgresstores_productsUpdateWithoutProductsInput, Prisma.postgresstores_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.postgresstores_productsCreateWithoutProductsInput, Prisma.postgresstores_productsUncheckedCreateWithoutProductsInput>;
};
export type postgresstores_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.postgresstores_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateWithoutProductsInput, Prisma.postgresstores_productsUncheckedUpdateWithoutProductsInput>;
};
export type postgresstores_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.postgresstores_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateManyMutationInput, Prisma.postgresstores_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type postgresstores_productsCreateManyPostgresstoresInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type postgresstores_productsUpdateWithoutPostgresstoresInput = {
    products?: Prisma.productsUpdateOneWithoutPostgresstores_productsNestedInput;
};
export type postgresstores_productsUncheckedUpdateWithoutPostgresstoresInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type postgresstores_productsUncheckedUpdateManyWithoutPostgresstoresInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type postgresstores_productsCreateManyProductsInput = {
    id?: number;
    postgresstores_id?: number | null;
};
export type postgresstores_productsUpdateWithoutProductsInput = {
    postgresstores?: Prisma.postgresstoresUpdateOneWithoutPostgresstores_productsNestedInput;
};
export type postgresstores_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    postgresstores_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type postgresstores_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    postgresstores_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type postgresstores_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    postgresstores_id?: boolean;
    products_id?: boolean;
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["postgresstores_products"]>;
export type postgresstores_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    postgresstores_id?: boolean;
    products_id?: boolean;
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["postgresstores_products"]>;
export type postgresstores_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    postgresstores_id?: boolean;
    products_id?: boolean;
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["postgresstores_products"]>;
export type postgresstores_productsSelectScalar = {
    id?: boolean;
    postgresstores_id?: boolean;
    products_id?: boolean;
};
export type postgresstores_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "postgresstores_id" | "products_id", ExtArgs["result"]["postgresstores_products"]>;
export type postgresstores_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
};
export type postgresstores_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
};
export type postgresstores_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    postgresstores?: boolean | Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>;
    products?: boolean | Prisma.postgresstores_products$productsArgs<ExtArgs>;
};
export type $postgresstores_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "postgresstores_products";
    objects: {
        postgresstores: Prisma.$postgresstoresPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        postgresstores_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["postgresstores_products"]>;
    composites: {};
};
export type postgresstores_productsGetPayload<S extends boolean | null | undefined | postgresstores_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload, S>;
export type postgresstores_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<postgresstores_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Postgresstores_productsCountAggregateInputType | true;
};
export interface postgresstores_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['postgresstores_products'];
        meta: {
            name: 'postgresstores_products';
        };
    };
    /**
     * Find zero or one Postgresstores_products that matches the filter.
     * @param {postgresstores_productsFindUniqueArgs} args - Arguments to find a Postgresstores_products
     * @example
     * // Get one Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends postgresstores_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, postgresstores_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Postgresstores_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {postgresstores_productsFindUniqueOrThrowArgs} args - Arguments to find a Postgresstores_products
     * @example
     * // Get one Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends postgresstores_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, postgresstores_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Postgresstores_products 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 {postgresstores_productsFindFirstArgs} args - Arguments to find a Postgresstores_products
     * @example
     * // Get one Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends postgresstores_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Postgresstores_products 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 {postgresstores_productsFindFirstOrThrowArgs} args - Arguments to find a Postgresstores_products
     * @example
     * // Get one Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends postgresstores_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Postgresstores_products 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 {postgresstores_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findMany()
     *
     * // Get first 10 Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const postgresstores_productsWithIdOnly = await prisma.postgresstores_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends postgresstores_productsFindManyArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Postgresstores_products.
     * @param {postgresstores_productsCreateArgs} args - Arguments to create a Postgresstores_products.
     * @example
     * // Create one Postgresstores_products
     * const Postgresstores_products = await prisma.postgresstores_products.create({
     *   data: {
     *     // ... data to create a Postgresstores_products
     *   }
     * })
     *
     */
    create<T extends postgresstores_productsCreateArgs>(args: Prisma.SelectSubset<T, postgresstores_productsCreateArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Postgresstores_products.
     * @param {postgresstores_productsCreateManyArgs} args - Arguments to create many Postgresstores_products.
     * @example
     * // Create many Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends postgresstores_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Postgresstores_products and returns the data saved in the database.
     * @param {postgresstores_productsCreateManyAndReturnArgs} args - Arguments to create many Postgresstores_products.
     * @example
     * // Create many Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Postgresstores_products and only return the `id`
     * const postgresstores_productsWithIdOnly = await prisma.postgresstores_products.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 postgresstores_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Postgresstores_products.
     * @param {postgresstores_productsDeleteArgs} args - Arguments to delete one Postgresstores_products.
     * @example
     * // Delete one Postgresstores_products
     * const Postgresstores_products = await prisma.postgresstores_products.delete({
     *   where: {
     *     // ... filter to delete one Postgresstores_products
     *   }
     * })
     *
     */
    delete<T extends postgresstores_productsDeleteArgs>(args: Prisma.SelectSubset<T, postgresstores_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Postgresstores_products.
     * @param {postgresstores_productsUpdateArgs} args - Arguments to update one Postgresstores_products.
     * @example
     * // Update one Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends postgresstores_productsUpdateArgs>(args: Prisma.SelectSubset<T, postgresstores_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Postgresstores_products.
     * @param {postgresstores_productsDeleteManyArgs} args - Arguments to filter Postgresstores_products to delete.
     * @example
     * // Delete a few Postgresstores_products
     * const { count } = await prisma.postgresstores_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends postgresstores_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, postgresstores_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Postgresstores_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {postgresstores_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends postgresstores_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, postgresstores_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Postgresstores_products and returns the data updated in the database.
     * @param {postgresstores_productsUpdateManyAndReturnArgs} args - Arguments to update many Postgresstores_products.
     * @example
     * // Update many Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Postgresstores_products and only return the `id`
     * const postgresstores_productsWithIdOnly = await prisma.postgresstores_products.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 postgresstores_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, postgresstores_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Postgresstores_products.
     * @param {postgresstores_productsUpsertArgs} args - Arguments to update or create a Postgresstores_products.
     * @example
     * // Update or create a Postgresstores_products
     * const postgresstores_products = await prisma.postgresstores_products.upsert({
     *   create: {
     *     // ... data to create a Postgresstores_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Postgresstores_products we want to update
     *   }
     * })
     */
    upsert<T extends postgresstores_productsUpsertArgs>(args: Prisma.SelectSubset<T, postgresstores_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__postgresstores_productsClient<runtime.Types.Result.GetResult<Prisma.$postgresstores_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Postgresstores_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {postgresstores_productsCountArgs} args - Arguments to filter Postgresstores_products to count.
     * @example
     * // Count the number of Postgresstores_products
     * const count = await prisma.postgresstores_products.count({
     *   where: {
     *     // ... the filter for the Postgresstores_products we want to count
     *   }
     * })
    **/
    count<T extends postgresstores_productsCountArgs>(args?: Prisma.Subset<T, postgresstores_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Postgresstores_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Postgresstores_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Postgresstores_productsAggregateArgs} 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 Postgresstores_productsAggregateArgs>(args: Prisma.Subset<T, Postgresstores_productsAggregateArgs>): Prisma.PrismaPromise<GetPostgresstores_productsAggregateType<T>>;
    /**
     * Group by Postgresstores_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {postgresstores_productsGroupByArgs} 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 postgresstores_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: postgresstores_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: postgresstores_productsGroupByArgs['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, postgresstores_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPostgresstores_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the postgresstores_products model
     */
    readonly fields: postgresstores_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for postgresstores_products.
 * 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__postgresstores_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    postgresstores<T extends Prisma.postgresstores_products$postgresstoresArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.postgresstores_products$postgresstoresArgs<ExtArgs>>): Prisma.Prisma__postgresstoresClient<runtime.Types.Result.GetResult<Prisma.$postgresstoresPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.postgresstores_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.postgresstores_products$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<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 postgresstores_products model
 */
export interface postgresstores_productsFieldRefs {
    readonly id: Prisma.FieldRef<"postgresstores_products", 'Int'>;
    readonly postgresstores_id: Prisma.FieldRef<"postgresstores_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"postgresstores_products", 'BigInt'>;
}
/**
 * postgresstores_products findUnique
 */
export type postgresstores_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter, which postgresstores_products to fetch.
     */
    where: Prisma.postgresstores_productsWhereUniqueInput;
};
/**
 * postgresstores_products findUniqueOrThrow
 */
export type postgresstores_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter, which postgresstores_products to fetch.
     */
    where: Prisma.postgresstores_productsWhereUniqueInput;
};
/**
 * postgresstores_products findFirst
 */
export type postgresstores_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter, which postgresstores_products to fetch.
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of postgresstores_products to fetch.
     */
    orderBy?: Prisma.postgresstores_productsOrderByWithRelationInput | Prisma.postgresstores_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for postgresstores_products.
     */
    cursor?: Prisma.postgresstores_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` postgresstores_products 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` postgresstores_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of postgresstores_products.
     */
    distinct?: Prisma.Postgresstores_productsScalarFieldEnum | Prisma.Postgresstores_productsScalarFieldEnum[];
};
/**
 * postgresstores_products findFirstOrThrow
 */
export type postgresstores_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter, which postgresstores_products to fetch.
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of postgresstores_products to fetch.
     */
    orderBy?: Prisma.postgresstores_productsOrderByWithRelationInput | Prisma.postgresstores_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for postgresstores_products.
     */
    cursor?: Prisma.postgresstores_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` postgresstores_products 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` postgresstores_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of postgresstores_products.
     */
    distinct?: Prisma.Postgresstores_productsScalarFieldEnum | Prisma.Postgresstores_productsScalarFieldEnum[];
};
/**
 * postgresstores_products findMany
 */
export type postgresstores_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter, which postgresstores_products to fetch.
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of postgresstores_products to fetch.
     */
    orderBy?: Prisma.postgresstores_productsOrderByWithRelationInput | Prisma.postgresstores_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing postgresstores_products.
     */
    cursor?: Prisma.postgresstores_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` postgresstores_products 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` postgresstores_products.
     */
    skip?: number;
    distinct?: Prisma.Postgresstores_productsScalarFieldEnum | Prisma.Postgresstores_productsScalarFieldEnum[];
};
/**
 * postgresstores_products create
 */
export type postgresstores_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a postgresstores_products.
     */
    data?: Prisma.XOR<Prisma.postgresstores_productsCreateInput, Prisma.postgresstores_productsUncheckedCreateInput>;
};
/**
 * postgresstores_products createMany
 */
export type postgresstores_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many postgresstores_products.
     */
    data: Prisma.postgresstores_productsCreateManyInput | Prisma.postgresstores_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * postgresstores_products createManyAndReturn
 */
export type postgresstores_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many postgresstores_products.
     */
    data: Prisma.postgresstores_productsCreateManyInput | Prisma.postgresstores_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * postgresstores_products update
 */
export type postgresstores_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a postgresstores_products.
     */
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateInput, Prisma.postgresstores_productsUncheckedUpdateInput>;
    /**
     * Choose, which postgresstores_products to update.
     */
    where: Prisma.postgresstores_productsWhereUniqueInput;
};
/**
 * postgresstores_products updateMany
 */
export type postgresstores_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update postgresstores_products.
     */
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateManyMutationInput, Prisma.postgresstores_productsUncheckedUpdateManyInput>;
    /**
     * Filter which postgresstores_products to update
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * Limit how many postgresstores_products to update.
     */
    limit?: number;
};
/**
 * postgresstores_products updateManyAndReturn
 */
export type postgresstores_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * The data used to update postgresstores_products.
     */
    data: Prisma.XOR<Prisma.postgresstores_productsUpdateManyMutationInput, Prisma.postgresstores_productsUncheckedUpdateManyInput>;
    /**
     * Filter which postgresstores_products to update
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * Limit how many postgresstores_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * postgresstores_products upsert
 */
export type postgresstores_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the postgresstores_products to update in case it exists.
     */
    where: Prisma.postgresstores_productsWhereUniqueInput;
    /**
     * In case the postgresstores_products found by the `where` argument doesn't exist, create a new postgresstores_products with this data.
     */
    create: Prisma.XOR<Prisma.postgresstores_productsCreateInput, Prisma.postgresstores_productsUncheckedCreateInput>;
    /**
     * In case the postgresstores_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.postgresstores_productsUpdateInput, Prisma.postgresstores_productsUncheckedUpdateInput>;
};
/**
 * postgresstores_products delete
 */
export type postgresstores_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
    /**
     * Filter which postgresstores_products to delete.
     */
    where: Prisma.postgresstores_productsWhereUniqueInput;
};
/**
 * postgresstores_products deleteMany
 */
export type postgresstores_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which postgresstores_products to delete
     */
    where?: Prisma.postgresstores_productsWhereInput;
    /**
     * Limit how many postgresstores_products to delete.
     */
    limit?: number;
};
/**
 * postgresstores_products.postgresstores
 */
export type postgresstores_products$postgresstoresArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores
     */
    select?: Prisma.postgresstoresSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores
     */
    omit?: Prisma.postgresstoresOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstoresInclude<ExtArgs> | null;
    where?: Prisma.postgresstoresWhereInput;
};
/**
 * postgresstores_products.products
 */
export type postgresstores_products$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products
     */
    select?: Prisma.productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products
     */
    omit?: Prisma.productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.productsInclude<ExtArgs> | null;
    where?: Prisma.productsWhereInput;
};
/**
 * postgresstores_products without action
 */
export type postgresstores_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the postgresstores_products
     */
    select?: Prisma.postgresstores_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the postgresstores_products
     */
    omit?: Prisma.postgresstores_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.postgresstores_productsInclude<ExtArgs> | null;
};
export {};
