import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model moments_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 moments_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$moments_productsPayload>;
export type AggregateMoments_products = {
    _count: Moments_productsCountAggregateOutputType | null;
    _avg: Moments_productsAvgAggregateOutputType | null;
    _sum: Moments_productsSumAggregateOutputType | null;
    _min: Moments_productsMinAggregateOutputType | null;
    _max: Moments_productsMaxAggregateOutputType | null;
};
export type Moments_productsAvgAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    products_id: number | null;
};
export type Moments_productsSumAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    products_id: bigint | null;
};
export type Moments_productsMinAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    products_id: bigint | null;
};
export type Moments_productsMaxAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    products_id: bigint | null;
};
export type Moments_productsCountAggregateOutputType = {
    id: number;
    moments_id: number;
    products_id: number;
    _all: number;
};
export type Moments_productsAvgAggregateInputType = {
    id?: true;
    moments_id?: true;
    products_id?: true;
};
export type Moments_productsSumAggregateInputType = {
    id?: true;
    moments_id?: true;
    products_id?: true;
};
export type Moments_productsMinAggregateInputType = {
    id?: true;
    moments_id?: true;
    products_id?: true;
};
export type Moments_productsMaxAggregateInputType = {
    id?: true;
    moments_id?: true;
    products_id?: true;
};
export type Moments_productsCountAggregateInputType = {
    id?: true;
    moments_id?: true;
    products_id?: true;
    _all?: true;
};
export type Moments_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which moments_products to aggregate.
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_products to fetch.
     */
    orderBy?: Prisma.moments_productsOrderByWithRelationInput | Prisma.moments_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.moments_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_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` moments_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned moments_products
    **/
    _count?: true | Moments_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Moments_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Moments_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Moments_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Moments_productsMaxAggregateInputType;
};
export type GetMoments_productsAggregateType<T extends Moments_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateMoments_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMoments_products[P]> : Prisma.GetScalarType<T[P], AggregateMoments_products[P]>;
};
export type moments_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.moments_productsWhereInput;
    orderBy?: Prisma.moments_productsOrderByWithAggregationInput | Prisma.moments_productsOrderByWithAggregationInput[];
    by: Prisma.Moments_productsScalarFieldEnum[] | Prisma.Moments_productsScalarFieldEnum;
    having?: Prisma.moments_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Moments_productsCountAggregateInputType | true;
    _avg?: Moments_productsAvgAggregateInputType;
    _sum?: Moments_productsSumAggregateInputType;
    _min?: Moments_productsMinAggregateInputType;
    _max?: Moments_productsMaxAggregateInputType;
};
export type Moments_productsGroupByOutputType = {
    id: number;
    moments_id: number | null;
    products_id: bigint | null;
    _count: Moments_productsCountAggregateOutputType | null;
    _avg: Moments_productsAvgAggregateOutputType | null;
    _sum: Moments_productsSumAggregateOutputType | null;
    _min: Moments_productsMinAggregateOutputType | null;
    _max: Moments_productsMaxAggregateOutputType | null;
};
type GetMoments_productsGroupByPayload<T extends moments_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Moments_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Moments_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Moments_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Moments_productsGroupByOutputType[P]>;
}>>;
export type moments_productsWhereInput = {
    AND?: Prisma.moments_productsWhereInput | Prisma.moments_productsWhereInput[];
    OR?: Prisma.moments_productsWhereInput[];
    NOT?: Prisma.moments_productsWhereInput | Prisma.moments_productsWhereInput[];
    id?: Prisma.IntFilter<"moments_products"> | number;
    moments_id?: Prisma.IntNullableFilter<"moments_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"moments_products"> | bigint | number | null;
    moments?: Prisma.XOR<Prisma.MomentsNullableScalarRelationFilter, Prisma.momentsWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type moments_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    moments?: Prisma.momentsOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type moments_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.moments_productsWhereInput | Prisma.moments_productsWhereInput[];
    OR?: Prisma.moments_productsWhereInput[];
    NOT?: Prisma.moments_productsWhereInput | Prisma.moments_productsWhereInput[];
    moments_id?: Prisma.IntNullableFilter<"moments_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"moments_products"> | bigint | number | null;
    moments?: Prisma.XOR<Prisma.MomentsNullableScalarRelationFilter, Prisma.momentsWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type moments_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.moments_productsCountOrderByAggregateInput;
    _avg?: Prisma.moments_productsAvgOrderByAggregateInput;
    _max?: Prisma.moments_productsMaxOrderByAggregateInput;
    _min?: Prisma.moments_productsMinOrderByAggregateInput;
    _sum?: Prisma.moments_productsSumOrderByAggregateInput;
};
export type moments_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.moments_productsScalarWhereWithAggregatesInput | Prisma.moments_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.moments_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.moments_productsScalarWhereWithAggregatesInput | Prisma.moments_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"moments_products"> | number;
    moments_id?: Prisma.IntNullableWithAggregatesFilter<"moments_products"> | number | null;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"moments_products"> | bigint | number | null;
};
export type moments_productsCreateInput = {
    moments?: Prisma.momentsCreateNestedOneWithoutMoments_productsInput;
    products?: Prisma.productsCreateNestedOneWithoutMoments_productsInput;
};
export type moments_productsUncheckedCreateInput = {
    id?: number;
    moments_id?: number | null;
    products_id?: bigint | number | null;
};
export type moments_productsUpdateInput = {
    moments?: Prisma.momentsUpdateOneWithoutMoments_productsNestedInput;
    products?: Prisma.productsUpdateOneWithoutMoments_productsNestedInput;
};
export type moments_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type moments_productsCreateManyInput = {
    id?: number;
    moments_id?: number | null;
    products_id?: bigint | number | null;
};
export type moments_productsUpdateManyMutationInput = {};
export type moments_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Moments_productsListRelationFilter = {
    every?: Prisma.moments_productsWhereInput;
    some?: Prisma.moments_productsWhereInput;
    none?: Prisma.moments_productsWhereInput;
};
export type moments_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type moments_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type moments_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type moments_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type moments_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type moments_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type moments_productsCreateNestedManyWithoutMomentsInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput> | Prisma.moments_productsCreateWithoutMomentsInput[] | Prisma.moments_productsUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutMomentsInput | Prisma.moments_productsCreateOrConnectWithoutMomentsInput[];
    createMany?: Prisma.moments_productsCreateManyMomentsInputEnvelope;
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
};
export type moments_productsUncheckedCreateNestedManyWithoutMomentsInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput> | Prisma.moments_productsCreateWithoutMomentsInput[] | Prisma.moments_productsUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutMomentsInput | Prisma.moments_productsCreateOrConnectWithoutMomentsInput[];
    createMany?: Prisma.moments_productsCreateManyMomentsInputEnvelope;
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
};
export type moments_productsUpdateManyWithoutMomentsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput> | Prisma.moments_productsCreateWithoutMomentsInput[] | Prisma.moments_productsUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutMomentsInput | Prisma.moments_productsCreateOrConnectWithoutMomentsInput[];
    upsert?: Prisma.moments_productsUpsertWithWhereUniqueWithoutMomentsInput | Prisma.moments_productsUpsertWithWhereUniqueWithoutMomentsInput[];
    createMany?: Prisma.moments_productsCreateManyMomentsInputEnvelope;
    set?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    disconnect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    delete?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    update?: Prisma.moments_productsUpdateWithWhereUniqueWithoutMomentsInput | Prisma.moments_productsUpdateWithWhereUniqueWithoutMomentsInput[];
    updateMany?: Prisma.moments_productsUpdateManyWithWhereWithoutMomentsInput | Prisma.moments_productsUpdateManyWithWhereWithoutMomentsInput[];
    deleteMany?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
};
export type moments_productsUncheckedUpdateManyWithoutMomentsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput> | Prisma.moments_productsCreateWithoutMomentsInput[] | Prisma.moments_productsUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutMomentsInput | Prisma.moments_productsCreateOrConnectWithoutMomentsInput[];
    upsert?: Prisma.moments_productsUpsertWithWhereUniqueWithoutMomentsInput | Prisma.moments_productsUpsertWithWhereUniqueWithoutMomentsInput[];
    createMany?: Prisma.moments_productsCreateManyMomentsInputEnvelope;
    set?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    disconnect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    delete?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    update?: Prisma.moments_productsUpdateWithWhereUniqueWithoutMomentsInput | Prisma.moments_productsUpdateWithWhereUniqueWithoutMomentsInput[];
    updateMany?: Prisma.moments_productsUpdateManyWithWhereWithoutMomentsInput | Prisma.moments_productsUpdateManyWithWhereWithoutMomentsInput[];
    deleteMany?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
};
export type moments_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput> | Prisma.moments_productsCreateWithoutProductsInput[] | Prisma.moments_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutProductsInput | Prisma.moments_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.moments_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
};
export type moments_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput> | Prisma.moments_productsCreateWithoutProductsInput[] | Prisma.moments_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutProductsInput | Prisma.moments_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.moments_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
};
export type moments_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput> | Prisma.moments_productsCreateWithoutProductsInput[] | Prisma.moments_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutProductsInput | Prisma.moments_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.moments_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.moments_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.moments_productsCreateManyProductsInputEnvelope;
    set?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    disconnect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    delete?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    update?: Prisma.moments_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.moments_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.moments_productsUpdateManyWithWhereWithoutProductsInput | Prisma.moments_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
};
export type moments_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput> | Prisma.moments_productsCreateWithoutProductsInput[] | Prisma.moments_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.moments_productsCreateOrConnectWithoutProductsInput | Prisma.moments_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.moments_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.moments_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.moments_productsCreateManyProductsInputEnvelope;
    set?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    disconnect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    delete?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    connect?: Prisma.moments_productsWhereUniqueInput | Prisma.moments_productsWhereUniqueInput[];
    update?: Prisma.moments_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.moments_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.moments_productsUpdateManyWithWhereWithoutProductsInput | Prisma.moments_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
};
export type moments_productsCreateWithoutMomentsInput = {
    products?: Prisma.productsCreateNestedOneWithoutMoments_productsInput;
};
export type moments_productsUncheckedCreateWithoutMomentsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type moments_productsCreateOrConnectWithoutMomentsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput>;
};
export type moments_productsCreateManyMomentsInputEnvelope = {
    data: Prisma.moments_productsCreateManyMomentsInput | Prisma.moments_productsCreateManyMomentsInput[];
    skipDuplicates?: boolean;
};
export type moments_productsUpsertWithWhereUniqueWithoutMomentsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.moments_productsUpdateWithoutMomentsInput, Prisma.moments_productsUncheckedUpdateWithoutMomentsInput>;
    create: Prisma.XOR<Prisma.moments_productsCreateWithoutMomentsInput, Prisma.moments_productsUncheckedCreateWithoutMomentsInput>;
};
export type moments_productsUpdateWithWhereUniqueWithoutMomentsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.moments_productsUpdateWithoutMomentsInput, Prisma.moments_productsUncheckedUpdateWithoutMomentsInput>;
};
export type moments_productsUpdateManyWithWhereWithoutMomentsInput = {
    where: Prisma.moments_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.moments_productsUpdateManyMutationInput, Prisma.moments_productsUncheckedUpdateManyWithoutMomentsInput>;
};
export type moments_productsScalarWhereInput = {
    AND?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
    OR?: Prisma.moments_productsScalarWhereInput[];
    NOT?: Prisma.moments_productsScalarWhereInput | Prisma.moments_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"moments_products"> | number;
    moments_id?: Prisma.IntNullableFilter<"moments_products"> | number | null;
    products_id?: Prisma.BigIntNullableFilter<"moments_products"> | bigint | number | null;
};
export type moments_productsCreateWithoutProductsInput = {
    moments?: Prisma.momentsCreateNestedOneWithoutMoments_productsInput;
};
export type moments_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
    moments_id?: number | null;
};
export type moments_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput>;
};
export type moments_productsCreateManyProductsInputEnvelope = {
    data: Prisma.moments_productsCreateManyProductsInput | Prisma.moments_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type moments_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.moments_productsUpdateWithoutProductsInput, Prisma.moments_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.moments_productsCreateWithoutProductsInput, Prisma.moments_productsUncheckedCreateWithoutProductsInput>;
};
export type moments_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.moments_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.moments_productsUpdateWithoutProductsInput, Prisma.moments_productsUncheckedUpdateWithoutProductsInput>;
};
export type moments_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.moments_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.moments_productsUpdateManyMutationInput, Prisma.moments_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type moments_productsCreateManyMomentsInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type moments_productsUpdateWithoutMomentsInput = {
    products?: Prisma.productsUpdateOneWithoutMoments_productsNestedInput;
};
export type moments_productsUncheckedUpdateWithoutMomentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type moments_productsUncheckedUpdateManyWithoutMomentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type moments_productsCreateManyProductsInput = {
    id?: number;
    moments_id?: number | null;
};
export type moments_productsUpdateWithoutProductsInput = {
    moments?: Prisma.momentsUpdateOneWithoutMoments_productsNestedInput;
};
export type moments_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    products_id?: boolean;
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["moments_products"]>;
export type moments_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    products_id?: boolean;
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["moments_products"]>;
export type moments_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    products_id?: boolean;
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["moments_products"]>;
export type moments_productsSelectScalar = {
    id?: boolean;
    moments_id?: boolean;
    products_id?: boolean;
};
export type moments_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "moments_id" | "products_id", ExtArgs["result"]["moments_products"]>;
export type moments_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
};
export type moments_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
};
export type moments_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_products$momentsArgs<ExtArgs>;
    products?: boolean | Prisma.moments_products$productsArgs<ExtArgs>;
};
export type $moments_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "moments_products";
    objects: {
        moments: Prisma.$momentsPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        moments_id: number | null;
        products_id: bigint | null;
    }, ExtArgs["result"]["moments_products"]>;
    composites: {};
};
export type moments_productsGetPayload<S extends boolean | null | undefined | moments_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$moments_productsPayload, S>;
export type moments_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<moments_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Moments_productsCountAggregateInputType | true;
};
export interface moments_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['moments_products'];
        meta: {
            name: 'moments_products';
        };
    };
    /**
     * Find zero or one Moments_products that matches the filter.
     * @param {moments_productsFindUniqueArgs} args - Arguments to find a Moments_products
     * @example
     * // Get one Moments_products
     * const moments_products = await prisma.moments_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends moments_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, moments_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Moments_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {moments_productsFindUniqueOrThrowArgs} args - Arguments to find a Moments_products
     * @example
     * // Get one Moments_products
     * const moments_products = await prisma.moments_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends moments_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, moments_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Moments_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 {moments_productsFindFirstArgs} args - Arguments to find a Moments_products
     * @example
     * // Get one Moments_products
     * const moments_products = await prisma.moments_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends moments_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, moments_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Moments_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 {moments_productsFindFirstOrThrowArgs} args - Arguments to find a Moments_products
     * @example
     * // Get one Moments_products
     * const moments_products = await prisma.moments_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends moments_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, moments_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Moments_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 {moments_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Moments_products
     * const moments_products = await prisma.moments_products.findMany()
     *
     * // Get first 10 Moments_products
     * const moments_products = await prisma.moments_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const moments_productsWithIdOnly = await prisma.moments_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends moments_productsFindManyArgs>(args?: Prisma.SelectSubset<T, moments_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Moments_products.
     * @param {moments_productsCreateArgs} args - Arguments to create a Moments_products.
     * @example
     * // Create one Moments_products
     * const Moments_products = await prisma.moments_products.create({
     *   data: {
     *     // ... data to create a Moments_products
     *   }
     * })
     *
     */
    create<T extends moments_productsCreateArgs>(args: Prisma.SelectSubset<T, moments_productsCreateArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Moments_products.
     * @param {moments_productsCreateManyArgs} args - Arguments to create many Moments_products.
     * @example
     * // Create many Moments_products
     * const moments_products = await prisma.moments_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends moments_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, moments_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Moments_products and returns the data saved in the database.
     * @param {moments_productsCreateManyAndReturnArgs} args - Arguments to create many Moments_products.
     * @example
     * // Create many Moments_products
     * const moments_products = await prisma.moments_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Moments_products and only return the `id`
     * const moments_productsWithIdOnly = await prisma.moments_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 moments_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, moments_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Moments_products.
     * @param {moments_productsDeleteArgs} args - Arguments to delete one Moments_products.
     * @example
     * // Delete one Moments_products
     * const Moments_products = await prisma.moments_products.delete({
     *   where: {
     *     // ... filter to delete one Moments_products
     *   }
     * })
     *
     */
    delete<T extends moments_productsDeleteArgs>(args: Prisma.SelectSubset<T, moments_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Moments_products.
     * @param {moments_productsUpdateArgs} args - Arguments to update one Moments_products.
     * @example
     * // Update one Moments_products
     * const moments_products = await prisma.moments_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends moments_productsUpdateArgs>(args: Prisma.SelectSubset<T, moments_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Moments_products.
     * @param {moments_productsDeleteManyArgs} args - Arguments to filter Moments_products to delete.
     * @example
     * // Delete a few Moments_products
     * const { count } = await prisma.moments_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends moments_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, moments_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Moments_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Moments_products
     * const moments_products = await prisma.moments_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends moments_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, moments_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Moments_products and returns the data updated in the database.
     * @param {moments_productsUpdateManyAndReturnArgs} args - Arguments to update many Moments_products.
     * @example
     * // Update many Moments_products
     * const moments_products = await prisma.moments_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Moments_products and only return the `id`
     * const moments_productsWithIdOnly = await prisma.moments_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 moments_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, moments_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Moments_products.
     * @param {moments_productsUpsertArgs} args - Arguments to update or create a Moments_products.
     * @example
     * // Update or create a Moments_products
     * const moments_products = await prisma.moments_products.upsert({
     *   create: {
     *     // ... data to create a Moments_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Moments_products we want to update
     *   }
     * })
     */
    upsert<T extends moments_productsUpsertArgs>(args: Prisma.SelectSubset<T, moments_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__moments_productsClient<runtime.Types.Result.GetResult<Prisma.$moments_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Moments_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_productsCountArgs} args - Arguments to filter Moments_products to count.
     * @example
     * // Count the number of Moments_products
     * const count = await prisma.moments_products.count({
     *   where: {
     *     // ... the filter for the Moments_products we want to count
     *   }
     * })
    **/
    count<T extends moments_productsCountArgs>(args?: Prisma.Subset<T, moments_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Moments_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Moments_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Moments_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 Moments_productsAggregateArgs>(args: Prisma.Subset<T, Moments_productsAggregateArgs>): Prisma.PrismaPromise<GetMoments_productsAggregateType<T>>;
    /**
     * Group by Moments_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_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 moments_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: moments_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: moments_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, moments_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMoments_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the moments_products model
     */
    readonly fields: moments_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for moments_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__moments_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    moments<T extends Prisma.moments_products$momentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.moments_products$momentsArgs<ExtArgs>>): Prisma.Prisma__momentsClient<runtime.Types.Result.GetResult<Prisma.$momentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.moments_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.moments_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 moments_products model
 */
export interface moments_productsFieldRefs {
    readonly id: Prisma.FieldRef<"moments_products", 'Int'>;
    readonly moments_id: Prisma.FieldRef<"moments_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"moments_products", 'BigInt'>;
}
/**
 * moments_products findUnique
 */
export type moments_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter, which moments_products to fetch.
     */
    where: Prisma.moments_productsWhereUniqueInput;
};
/**
 * moments_products findUniqueOrThrow
 */
export type moments_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter, which moments_products to fetch.
     */
    where: Prisma.moments_productsWhereUniqueInput;
};
/**
 * moments_products findFirst
 */
export type moments_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter, which moments_products to fetch.
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_products to fetch.
     */
    orderBy?: Prisma.moments_productsOrderByWithRelationInput | Prisma.moments_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for moments_products.
     */
    cursor?: Prisma.moments_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_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` moments_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of moments_products.
     */
    distinct?: Prisma.Moments_productsScalarFieldEnum | Prisma.Moments_productsScalarFieldEnum[];
};
/**
 * moments_products findFirstOrThrow
 */
export type moments_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter, which moments_products to fetch.
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_products to fetch.
     */
    orderBy?: Prisma.moments_productsOrderByWithRelationInput | Prisma.moments_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for moments_products.
     */
    cursor?: Prisma.moments_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_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` moments_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of moments_products.
     */
    distinct?: Prisma.Moments_productsScalarFieldEnum | Prisma.Moments_productsScalarFieldEnum[];
};
/**
 * moments_products findMany
 */
export type moments_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter, which moments_products to fetch.
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_products to fetch.
     */
    orderBy?: Prisma.moments_productsOrderByWithRelationInput | Prisma.moments_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing moments_products.
     */
    cursor?: Prisma.moments_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_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` moments_products.
     */
    skip?: number;
    distinct?: Prisma.Moments_productsScalarFieldEnum | Prisma.Moments_productsScalarFieldEnum[];
};
/**
 * moments_products create
 */
export type moments_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a moments_products.
     */
    data?: Prisma.XOR<Prisma.moments_productsCreateInput, Prisma.moments_productsUncheckedCreateInput>;
};
/**
 * moments_products createMany
 */
export type moments_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many moments_products.
     */
    data: Prisma.moments_productsCreateManyInput | Prisma.moments_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * moments_products createManyAndReturn
 */
export type moments_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many moments_products.
     */
    data: Prisma.moments_productsCreateManyInput | Prisma.moments_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * moments_products update
 */
export type moments_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a moments_products.
     */
    data: Prisma.XOR<Prisma.moments_productsUpdateInput, Prisma.moments_productsUncheckedUpdateInput>;
    /**
     * Choose, which moments_products to update.
     */
    where: Prisma.moments_productsWhereUniqueInput;
};
/**
 * moments_products updateMany
 */
export type moments_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update moments_products.
     */
    data: Prisma.XOR<Prisma.moments_productsUpdateManyMutationInput, Prisma.moments_productsUncheckedUpdateManyInput>;
    /**
     * Filter which moments_products to update
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * Limit how many moments_products to update.
     */
    limit?: number;
};
/**
 * moments_products updateManyAndReturn
 */
export type moments_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * The data used to update moments_products.
     */
    data: Prisma.XOR<Prisma.moments_productsUpdateManyMutationInput, Prisma.moments_productsUncheckedUpdateManyInput>;
    /**
     * Filter which moments_products to update
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * Limit how many moments_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * moments_products upsert
 */
export type moments_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the moments_products to update in case it exists.
     */
    where: Prisma.moments_productsWhereUniqueInput;
    /**
     * In case the moments_products found by the `where` argument doesn't exist, create a new moments_products with this data.
     */
    create: Prisma.XOR<Prisma.moments_productsCreateInput, Prisma.moments_productsUncheckedCreateInput>;
    /**
     * In case the moments_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.moments_productsUpdateInput, Prisma.moments_productsUncheckedUpdateInput>;
};
/**
 * moments_products delete
 */
export type moments_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
    /**
     * Filter which moments_products to delete.
     */
    where: Prisma.moments_productsWhereUniqueInput;
};
/**
 * moments_products deleteMany
 */
export type moments_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which moments_products to delete
     */
    where?: Prisma.moments_productsWhereInput;
    /**
     * Limit how many moments_products to delete.
     */
    limit?: number;
};
/**
 * moments_products.moments
 */
export type moments_products$momentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments
     */
    select?: Prisma.momentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments
     */
    omit?: Prisma.momentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.momentsInclude<ExtArgs> | null;
    where?: Prisma.momentsWhereInput;
};
/**
 * moments_products.products
 */
export type moments_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;
};
/**
 * moments_products without action
 */
export type moments_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_products
     */
    select?: Prisma.moments_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_products
     */
    omit?: Prisma.moments_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_productsInclude<ExtArgs> | null;
};
export {};
