import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model moments_spaces
 * 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_spacesModel = runtime.Types.Result.DefaultSelection<Prisma.$moments_spacesPayload>;
export type AggregateMoments_spaces = {
    _count: Moments_spacesCountAggregateOutputType | null;
    _avg: Moments_spacesAvgAggregateOutputType | null;
    _sum: Moments_spacesSumAggregateOutputType | null;
    _min: Moments_spacesMinAggregateOutputType | null;
    _max: Moments_spacesMaxAggregateOutputType | null;
};
export type Moments_spacesAvgAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    spaces_id: number | null;
};
export type Moments_spacesSumAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    spaces_id: number | null;
};
export type Moments_spacesMinAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    spaces_id: number | null;
};
export type Moments_spacesMaxAggregateOutputType = {
    id: number | null;
    moments_id: number | null;
    spaces_id: number | null;
};
export type Moments_spacesCountAggregateOutputType = {
    id: number;
    moments_id: number;
    spaces_id: number;
    _all: number;
};
export type Moments_spacesAvgAggregateInputType = {
    id?: true;
    moments_id?: true;
    spaces_id?: true;
};
export type Moments_spacesSumAggregateInputType = {
    id?: true;
    moments_id?: true;
    spaces_id?: true;
};
export type Moments_spacesMinAggregateInputType = {
    id?: true;
    moments_id?: true;
    spaces_id?: true;
};
export type Moments_spacesMaxAggregateInputType = {
    id?: true;
    moments_id?: true;
    spaces_id?: true;
};
export type Moments_spacesCountAggregateInputType = {
    id?: true;
    moments_id?: true;
    spaces_id?: true;
    _all?: true;
};
export type Moments_spacesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which moments_spaces to aggregate.
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_spaces to fetch.
     */
    orderBy?: Prisma.moments_spacesOrderByWithRelationInput | Prisma.moments_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.moments_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_spaces 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_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned moments_spaces
    **/
    _count?: true | Moments_spacesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Moments_spacesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Moments_spacesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Moments_spacesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Moments_spacesMaxAggregateInputType;
};
export type GetMoments_spacesAggregateType<T extends Moments_spacesAggregateArgs> = {
    [P in keyof T & keyof AggregateMoments_spaces]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMoments_spaces[P]> : Prisma.GetScalarType<T[P], AggregateMoments_spaces[P]>;
};
export type moments_spacesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.moments_spacesWhereInput;
    orderBy?: Prisma.moments_spacesOrderByWithAggregationInput | Prisma.moments_spacesOrderByWithAggregationInput[];
    by: Prisma.Moments_spacesScalarFieldEnum[] | Prisma.Moments_spacesScalarFieldEnum;
    having?: Prisma.moments_spacesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Moments_spacesCountAggregateInputType | true;
    _avg?: Moments_spacesAvgAggregateInputType;
    _sum?: Moments_spacesSumAggregateInputType;
    _min?: Moments_spacesMinAggregateInputType;
    _max?: Moments_spacesMaxAggregateInputType;
};
export type Moments_spacesGroupByOutputType = {
    id: number;
    moments_id: number | null;
    spaces_id: number | null;
    _count: Moments_spacesCountAggregateOutputType | null;
    _avg: Moments_spacesAvgAggregateOutputType | null;
    _sum: Moments_spacesSumAggregateOutputType | null;
    _min: Moments_spacesMinAggregateOutputType | null;
    _max: Moments_spacesMaxAggregateOutputType | null;
};
type GetMoments_spacesGroupByPayload<T extends moments_spacesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Moments_spacesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Moments_spacesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Moments_spacesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Moments_spacesGroupByOutputType[P]>;
}>>;
export type moments_spacesWhereInput = {
    AND?: Prisma.moments_spacesWhereInput | Prisma.moments_spacesWhereInput[];
    OR?: Prisma.moments_spacesWhereInput[];
    NOT?: Prisma.moments_spacesWhereInput | Prisma.moments_spacesWhereInput[];
    id?: Prisma.IntFilter<"moments_spaces"> | number;
    moments_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
    moments?: Prisma.XOR<Prisma.MomentsNullableScalarRelationFilter, Prisma.momentsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
};
export type moments_spacesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    moments?: Prisma.momentsOrderByWithRelationInput;
    spaces?: Prisma.spacesOrderByWithRelationInput;
};
export type moments_spacesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.moments_spacesWhereInput | Prisma.moments_spacesWhereInput[];
    OR?: Prisma.moments_spacesWhereInput[];
    NOT?: Prisma.moments_spacesWhereInput | Prisma.moments_spacesWhereInput[];
    moments_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
    moments?: Prisma.XOR<Prisma.MomentsNullableScalarRelationFilter, Prisma.momentsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
}, "id">;
export type moments_spacesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.moments_spacesCountOrderByAggregateInput;
    _avg?: Prisma.moments_spacesAvgOrderByAggregateInput;
    _max?: Prisma.moments_spacesMaxOrderByAggregateInput;
    _min?: Prisma.moments_spacesMinOrderByAggregateInput;
    _sum?: Prisma.moments_spacesSumOrderByAggregateInput;
};
export type moments_spacesScalarWhereWithAggregatesInput = {
    AND?: Prisma.moments_spacesScalarWhereWithAggregatesInput | Prisma.moments_spacesScalarWhereWithAggregatesInput[];
    OR?: Prisma.moments_spacesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.moments_spacesScalarWhereWithAggregatesInput | Prisma.moments_spacesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"moments_spaces"> | number;
    moments_id?: Prisma.IntNullableWithAggregatesFilter<"moments_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableWithAggregatesFilter<"moments_spaces"> | number | null;
};
export type moments_spacesCreateInput = {
    moments?: Prisma.momentsCreateNestedOneWithoutMoments_spacesInput;
    spaces?: Prisma.spacesCreateNestedOneWithoutMoments_spacesInput;
};
export type moments_spacesUncheckedCreateInput = {
    id?: number;
    moments_id?: number | null;
    spaces_id?: number | null;
};
export type moments_spacesUpdateInput = {
    moments?: Prisma.momentsUpdateOneWithoutMoments_spacesNestedInput;
    spaces?: Prisma.spacesUpdateOneWithoutMoments_spacesNestedInput;
};
export type moments_spacesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_spacesCreateManyInput = {
    id?: number;
    moments_id?: number | null;
    spaces_id?: number | null;
};
export type moments_spacesUpdateManyMutationInput = {};
export type moments_spacesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Moments_spacesListRelationFilter = {
    every?: Prisma.moments_spacesWhereInput;
    some?: Prisma.moments_spacesWhereInput;
    none?: Prisma.moments_spacesWhereInput;
};
export type moments_spacesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type moments_spacesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type moments_spacesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type moments_spacesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type moments_spacesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type moments_spacesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    moments_id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
};
export type moments_spacesCreateNestedManyWithoutMomentsInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput> | Prisma.moments_spacesCreateWithoutMomentsInput[] | Prisma.moments_spacesUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutMomentsInput | Prisma.moments_spacesCreateOrConnectWithoutMomentsInput[];
    createMany?: Prisma.moments_spacesCreateManyMomentsInputEnvelope;
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
};
export type moments_spacesUncheckedCreateNestedManyWithoutMomentsInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput> | Prisma.moments_spacesCreateWithoutMomentsInput[] | Prisma.moments_spacesUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutMomentsInput | Prisma.moments_spacesCreateOrConnectWithoutMomentsInput[];
    createMany?: Prisma.moments_spacesCreateManyMomentsInputEnvelope;
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
};
export type moments_spacesUpdateManyWithoutMomentsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput> | Prisma.moments_spacesCreateWithoutMomentsInput[] | Prisma.moments_spacesUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutMomentsInput | Prisma.moments_spacesCreateOrConnectWithoutMomentsInput[];
    upsert?: Prisma.moments_spacesUpsertWithWhereUniqueWithoutMomentsInput | Prisma.moments_spacesUpsertWithWhereUniqueWithoutMomentsInput[];
    createMany?: Prisma.moments_spacesCreateManyMomentsInputEnvelope;
    set?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    disconnect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    delete?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    update?: Prisma.moments_spacesUpdateWithWhereUniqueWithoutMomentsInput | Prisma.moments_spacesUpdateWithWhereUniqueWithoutMomentsInput[];
    updateMany?: Prisma.moments_spacesUpdateManyWithWhereWithoutMomentsInput | Prisma.moments_spacesUpdateManyWithWhereWithoutMomentsInput[];
    deleteMany?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
};
export type moments_spacesUncheckedUpdateManyWithoutMomentsNestedInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput> | Prisma.moments_spacesCreateWithoutMomentsInput[] | Prisma.moments_spacesUncheckedCreateWithoutMomentsInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutMomentsInput | Prisma.moments_spacesCreateOrConnectWithoutMomentsInput[];
    upsert?: Prisma.moments_spacesUpsertWithWhereUniqueWithoutMomentsInput | Prisma.moments_spacesUpsertWithWhereUniqueWithoutMomentsInput[];
    createMany?: Prisma.moments_spacesCreateManyMomentsInputEnvelope;
    set?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    disconnect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    delete?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    update?: Prisma.moments_spacesUpdateWithWhereUniqueWithoutMomentsInput | Prisma.moments_spacesUpdateWithWhereUniqueWithoutMomentsInput[];
    updateMany?: Prisma.moments_spacesUpdateManyWithWhereWithoutMomentsInput | Prisma.moments_spacesUpdateManyWithWhereWithoutMomentsInput[];
    deleteMany?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
};
export type moments_spacesCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput> | Prisma.moments_spacesCreateWithoutSpacesInput[] | Prisma.moments_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutSpacesInput | Prisma.moments_spacesCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.moments_spacesCreateManySpacesInputEnvelope;
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
};
export type moments_spacesUncheckedCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput> | Prisma.moments_spacesCreateWithoutSpacesInput[] | Prisma.moments_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutSpacesInput | Prisma.moments_spacesCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.moments_spacesCreateManySpacesInputEnvelope;
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
};
export type moments_spacesUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput> | Prisma.moments_spacesCreateWithoutSpacesInput[] | Prisma.moments_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutSpacesInput | Prisma.moments_spacesCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.moments_spacesUpsertWithWhereUniqueWithoutSpacesInput | Prisma.moments_spacesUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.moments_spacesCreateManySpacesInputEnvelope;
    set?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    disconnect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    delete?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    update?: Prisma.moments_spacesUpdateWithWhereUniqueWithoutSpacesInput | Prisma.moments_spacesUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.moments_spacesUpdateManyWithWhereWithoutSpacesInput | Prisma.moments_spacesUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
};
export type moments_spacesUncheckedUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput> | Prisma.moments_spacesCreateWithoutSpacesInput[] | Prisma.moments_spacesUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.moments_spacesCreateOrConnectWithoutSpacesInput | Prisma.moments_spacesCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.moments_spacesUpsertWithWhereUniqueWithoutSpacesInput | Prisma.moments_spacesUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.moments_spacesCreateManySpacesInputEnvelope;
    set?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    disconnect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    delete?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    connect?: Prisma.moments_spacesWhereUniqueInput | Prisma.moments_spacesWhereUniqueInput[];
    update?: Prisma.moments_spacesUpdateWithWhereUniqueWithoutSpacesInput | Prisma.moments_spacesUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.moments_spacesUpdateManyWithWhereWithoutSpacesInput | Prisma.moments_spacesUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
};
export type moments_spacesCreateWithoutMomentsInput = {
    spaces?: Prisma.spacesCreateNestedOneWithoutMoments_spacesInput;
};
export type moments_spacesUncheckedCreateWithoutMomentsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type moments_spacesCreateOrConnectWithoutMomentsInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    create: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput>;
};
export type moments_spacesCreateManyMomentsInputEnvelope = {
    data: Prisma.moments_spacesCreateManyMomentsInput | Prisma.moments_spacesCreateManyMomentsInput[];
    skipDuplicates?: boolean;
};
export type moments_spacesUpsertWithWhereUniqueWithoutMomentsInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    update: Prisma.XOR<Prisma.moments_spacesUpdateWithoutMomentsInput, Prisma.moments_spacesUncheckedUpdateWithoutMomentsInput>;
    create: Prisma.XOR<Prisma.moments_spacesCreateWithoutMomentsInput, Prisma.moments_spacesUncheckedCreateWithoutMomentsInput>;
};
export type moments_spacesUpdateWithWhereUniqueWithoutMomentsInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    data: Prisma.XOR<Prisma.moments_spacesUpdateWithoutMomentsInput, Prisma.moments_spacesUncheckedUpdateWithoutMomentsInput>;
};
export type moments_spacesUpdateManyWithWhereWithoutMomentsInput = {
    where: Prisma.moments_spacesScalarWhereInput;
    data: Prisma.XOR<Prisma.moments_spacesUpdateManyMutationInput, Prisma.moments_spacesUncheckedUpdateManyWithoutMomentsInput>;
};
export type moments_spacesScalarWhereInput = {
    AND?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
    OR?: Prisma.moments_spacesScalarWhereInput[];
    NOT?: Prisma.moments_spacesScalarWhereInput | Prisma.moments_spacesScalarWhereInput[];
    id?: Prisma.IntFilter<"moments_spaces"> | number;
    moments_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
    spaces_id?: Prisma.IntNullableFilter<"moments_spaces"> | number | null;
};
export type moments_spacesCreateWithoutSpacesInput = {
    moments?: Prisma.momentsCreateNestedOneWithoutMoments_spacesInput;
};
export type moments_spacesUncheckedCreateWithoutSpacesInput = {
    id?: number;
    moments_id?: number | null;
};
export type moments_spacesCreateOrConnectWithoutSpacesInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    create: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput>;
};
export type moments_spacesCreateManySpacesInputEnvelope = {
    data: Prisma.moments_spacesCreateManySpacesInput | Prisma.moments_spacesCreateManySpacesInput[];
    skipDuplicates?: boolean;
};
export type moments_spacesUpsertWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    update: Prisma.XOR<Prisma.moments_spacesUpdateWithoutSpacesInput, Prisma.moments_spacesUncheckedUpdateWithoutSpacesInput>;
    create: Prisma.XOR<Prisma.moments_spacesCreateWithoutSpacesInput, Prisma.moments_spacesUncheckedCreateWithoutSpacesInput>;
};
export type moments_spacesUpdateWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.moments_spacesWhereUniqueInput;
    data: Prisma.XOR<Prisma.moments_spacesUpdateWithoutSpacesInput, Prisma.moments_spacesUncheckedUpdateWithoutSpacesInput>;
};
export type moments_spacesUpdateManyWithWhereWithoutSpacesInput = {
    where: Prisma.moments_spacesScalarWhereInput;
    data: Prisma.XOR<Prisma.moments_spacesUpdateManyMutationInput, Prisma.moments_spacesUncheckedUpdateManyWithoutSpacesInput>;
};
export type moments_spacesCreateManyMomentsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type moments_spacesUpdateWithoutMomentsInput = {
    spaces?: Prisma.spacesUpdateOneWithoutMoments_spacesNestedInput;
};
export type moments_spacesUncheckedUpdateWithoutMomentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_spacesUncheckedUpdateManyWithoutMomentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_spacesCreateManySpacesInput = {
    id?: number;
    moments_id?: number | null;
};
export type moments_spacesUpdateWithoutSpacesInput = {
    moments?: Prisma.momentsUpdateOneWithoutMoments_spacesNestedInput;
};
export type moments_spacesUncheckedUpdateWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_spacesUncheckedUpdateManyWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    moments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type moments_spacesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    spaces_id?: boolean;
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["moments_spaces"]>;
export type moments_spacesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    spaces_id?: boolean;
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["moments_spaces"]>;
export type moments_spacesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    moments_id?: boolean;
    spaces_id?: boolean;
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["moments_spaces"]>;
export type moments_spacesSelectScalar = {
    id?: boolean;
    moments_id?: boolean;
    spaces_id?: boolean;
};
export type moments_spacesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "moments_id" | "spaces_id", ExtArgs["result"]["moments_spaces"]>;
export type moments_spacesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
};
export type moments_spacesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
};
export type moments_spacesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    moments?: boolean | Prisma.moments_spaces$momentsArgs<ExtArgs>;
    spaces?: boolean | Prisma.moments_spaces$spacesArgs<ExtArgs>;
};
export type $moments_spacesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "moments_spaces";
    objects: {
        moments: Prisma.$momentsPayload<ExtArgs> | null;
        spaces: Prisma.$spacesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        moments_id: number | null;
        spaces_id: number | null;
    }, ExtArgs["result"]["moments_spaces"]>;
    composites: {};
};
export type moments_spacesGetPayload<S extends boolean | null | undefined | moments_spacesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload, S>;
export type moments_spacesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<moments_spacesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Moments_spacesCountAggregateInputType | true;
};
export interface moments_spacesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['moments_spaces'];
        meta: {
            name: 'moments_spaces';
        };
    };
    /**
     * Find zero or one Moments_spaces that matches the filter.
     * @param {moments_spacesFindUniqueArgs} args - Arguments to find a Moments_spaces
     * @example
     * // Get one Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends moments_spacesFindUniqueArgs>(args: Prisma.SelectSubset<T, moments_spacesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Moments_spaces that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {moments_spacesFindUniqueOrThrowArgs} args - Arguments to find a Moments_spaces
     * @example
     * // Get one Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends moments_spacesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, moments_spacesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Moments_spaces 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_spacesFindFirstArgs} args - Arguments to find a Moments_spaces
     * @example
     * // Get one Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends moments_spacesFindFirstArgs>(args?: Prisma.SelectSubset<T, moments_spacesFindFirstArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Moments_spaces 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_spacesFindFirstOrThrowArgs} args - Arguments to find a Moments_spaces
     * @example
     * // Get one Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends moments_spacesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, moments_spacesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Moments_spaces 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_spacesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findMany()
     *
     * // Get first 10 Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const moments_spacesWithIdOnly = await prisma.moments_spaces.findMany({ select: { id: true } })
     *
     */
    findMany<T extends moments_spacesFindManyArgs>(args?: Prisma.SelectSubset<T, moments_spacesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Moments_spaces.
     * @param {moments_spacesCreateArgs} args - Arguments to create a Moments_spaces.
     * @example
     * // Create one Moments_spaces
     * const Moments_spaces = await prisma.moments_spaces.create({
     *   data: {
     *     // ... data to create a Moments_spaces
     *   }
     * })
     *
     */
    create<T extends moments_spacesCreateArgs>(args: Prisma.SelectSubset<T, moments_spacesCreateArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Moments_spaces.
     * @param {moments_spacesCreateManyArgs} args - Arguments to create many Moments_spaces.
     * @example
     * // Create many Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends moments_spacesCreateManyArgs>(args?: Prisma.SelectSubset<T, moments_spacesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Moments_spaces and returns the data saved in the database.
     * @param {moments_spacesCreateManyAndReturnArgs} args - Arguments to create many Moments_spaces.
     * @example
     * // Create many Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Moments_spaces and only return the `id`
     * const moments_spacesWithIdOnly = await prisma.moments_spaces.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_spacesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, moments_spacesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Moments_spaces.
     * @param {moments_spacesDeleteArgs} args - Arguments to delete one Moments_spaces.
     * @example
     * // Delete one Moments_spaces
     * const Moments_spaces = await prisma.moments_spaces.delete({
     *   where: {
     *     // ... filter to delete one Moments_spaces
     *   }
     * })
     *
     */
    delete<T extends moments_spacesDeleteArgs>(args: Prisma.SelectSubset<T, moments_spacesDeleteArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Moments_spaces.
     * @param {moments_spacesUpdateArgs} args - Arguments to update one Moments_spaces.
     * @example
     * // Update one Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends moments_spacesUpdateArgs>(args: Prisma.SelectSubset<T, moments_spacesUpdateArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Moments_spaces.
     * @param {moments_spacesDeleteManyArgs} args - Arguments to filter Moments_spaces to delete.
     * @example
     * // Delete a few Moments_spaces
     * const { count } = await prisma.moments_spaces.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends moments_spacesDeleteManyArgs>(args?: Prisma.SelectSubset<T, moments_spacesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Moments_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_spacesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends moments_spacesUpdateManyArgs>(args: Prisma.SelectSubset<T, moments_spacesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Moments_spaces and returns the data updated in the database.
     * @param {moments_spacesUpdateManyAndReturnArgs} args - Arguments to update many Moments_spaces.
     * @example
     * // Update many Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Moments_spaces and only return the `id`
     * const moments_spacesWithIdOnly = await prisma.moments_spaces.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_spacesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, moments_spacesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Moments_spaces.
     * @param {moments_spacesUpsertArgs} args - Arguments to update or create a Moments_spaces.
     * @example
     * // Update or create a Moments_spaces
     * const moments_spaces = await prisma.moments_spaces.upsert({
     *   create: {
     *     // ... data to create a Moments_spaces
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Moments_spaces we want to update
     *   }
     * })
     */
    upsert<T extends moments_spacesUpsertArgs>(args: Prisma.SelectSubset<T, moments_spacesUpsertArgs<ExtArgs>>): Prisma.Prisma__moments_spacesClient<runtime.Types.Result.GetResult<Prisma.$moments_spacesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Moments_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_spacesCountArgs} args - Arguments to filter Moments_spaces to count.
     * @example
     * // Count the number of Moments_spaces
     * const count = await prisma.moments_spaces.count({
     *   where: {
     *     // ... the filter for the Moments_spaces we want to count
     *   }
     * })
    **/
    count<T extends moments_spacesCountArgs>(args?: Prisma.Subset<T, moments_spacesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Moments_spacesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Moments_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Moments_spacesAggregateArgs} 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_spacesAggregateArgs>(args: Prisma.Subset<T, Moments_spacesAggregateArgs>): Prisma.PrismaPromise<GetMoments_spacesAggregateType<T>>;
    /**
     * Group by Moments_spaces.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {moments_spacesGroupByArgs} 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_spacesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: moments_spacesGroupByArgs['orderBy'];
    } : {
        orderBy?: moments_spacesGroupByArgs['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_spacesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMoments_spacesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the moments_spaces model
     */
    readonly fields: moments_spacesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for moments_spaces.
 * 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_spacesClient<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_spaces$momentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.moments_spaces$momentsArgs<ExtArgs>>): Prisma.Prisma__momentsClient<runtime.Types.Result.GetResult<Prisma.$momentsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    spaces<T extends Prisma.moments_spaces$spacesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.moments_spaces$spacesArgs<ExtArgs>>): Prisma.Prisma__spacesClient<runtime.Types.Result.GetResult<Prisma.$spacesPayload<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_spaces model
 */
export interface moments_spacesFieldRefs {
    readonly id: Prisma.FieldRef<"moments_spaces", 'Int'>;
    readonly moments_id: Prisma.FieldRef<"moments_spaces", 'Int'>;
    readonly spaces_id: Prisma.FieldRef<"moments_spaces", 'Int'>;
}
/**
 * moments_spaces findUnique
 */
export type moments_spacesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which moments_spaces to fetch.
     */
    where: Prisma.moments_spacesWhereUniqueInput;
};
/**
 * moments_spaces findUniqueOrThrow
 */
export type moments_spacesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which moments_spaces to fetch.
     */
    where: Prisma.moments_spacesWhereUniqueInput;
};
/**
 * moments_spaces findFirst
 */
export type moments_spacesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which moments_spaces to fetch.
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_spaces to fetch.
     */
    orderBy?: Prisma.moments_spacesOrderByWithRelationInput | Prisma.moments_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for moments_spaces.
     */
    cursor?: Prisma.moments_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_spaces 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_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of moments_spaces.
     */
    distinct?: Prisma.Moments_spacesScalarFieldEnum | Prisma.Moments_spacesScalarFieldEnum[];
};
/**
 * moments_spaces findFirstOrThrow
 */
export type moments_spacesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which moments_spaces to fetch.
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_spaces to fetch.
     */
    orderBy?: Prisma.moments_spacesOrderByWithRelationInput | Prisma.moments_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for moments_spaces.
     */
    cursor?: Prisma.moments_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_spaces 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_spaces.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of moments_spaces.
     */
    distinct?: Prisma.Moments_spacesScalarFieldEnum | Prisma.Moments_spacesScalarFieldEnum[];
};
/**
 * moments_spaces findMany
 */
export type moments_spacesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter, which moments_spaces to fetch.
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of moments_spaces to fetch.
     */
    orderBy?: Prisma.moments_spacesOrderByWithRelationInput | Prisma.moments_spacesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing moments_spaces.
     */
    cursor?: Prisma.moments_spacesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` moments_spaces 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_spaces.
     */
    skip?: number;
    distinct?: Prisma.Moments_spacesScalarFieldEnum | Prisma.Moments_spacesScalarFieldEnum[];
};
/**
 * moments_spaces create
 */
export type moments_spacesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * The data needed to create a moments_spaces.
     */
    data?: Prisma.XOR<Prisma.moments_spacesCreateInput, Prisma.moments_spacesUncheckedCreateInput>;
};
/**
 * moments_spaces createMany
 */
export type moments_spacesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many moments_spaces.
     */
    data: Prisma.moments_spacesCreateManyInput | Prisma.moments_spacesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * moments_spaces createManyAndReturn
 */
export type moments_spacesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * The data used to create many moments_spaces.
     */
    data: Prisma.moments_spacesCreateManyInput | Prisma.moments_spacesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * moments_spaces update
 */
export type moments_spacesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * The data needed to update a moments_spaces.
     */
    data: Prisma.XOR<Prisma.moments_spacesUpdateInput, Prisma.moments_spacesUncheckedUpdateInput>;
    /**
     * Choose, which moments_spaces to update.
     */
    where: Prisma.moments_spacesWhereUniqueInput;
};
/**
 * moments_spaces updateMany
 */
export type moments_spacesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update moments_spaces.
     */
    data: Prisma.XOR<Prisma.moments_spacesUpdateManyMutationInput, Prisma.moments_spacesUncheckedUpdateManyInput>;
    /**
     * Filter which moments_spaces to update
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * Limit how many moments_spaces to update.
     */
    limit?: number;
};
/**
 * moments_spaces updateManyAndReturn
 */
export type moments_spacesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * The data used to update moments_spaces.
     */
    data: Prisma.XOR<Prisma.moments_spacesUpdateManyMutationInput, Prisma.moments_spacesUncheckedUpdateManyInput>;
    /**
     * Filter which moments_spaces to update
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * Limit how many moments_spaces to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * moments_spaces upsert
 */
export type moments_spacesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * The filter to search for the moments_spaces to update in case it exists.
     */
    where: Prisma.moments_spacesWhereUniqueInput;
    /**
     * In case the moments_spaces found by the `where` argument doesn't exist, create a new moments_spaces with this data.
     */
    create: Prisma.XOR<Prisma.moments_spacesCreateInput, Prisma.moments_spacesUncheckedCreateInput>;
    /**
     * In case the moments_spaces was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.moments_spacesUpdateInput, Prisma.moments_spacesUncheckedUpdateInput>;
};
/**
 * moments_spaces delete
 */
export type moments_spacesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
    /**
     * Filter which moments_spaces to delete.
     */
    where: Prisma.moments_spacesWhereUniqueInput;
};
/**
 * moments_spaces deleteMany
 */
export type moments_spacesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which moments_spaces to delete
     */
    where?: Prisma.moments_spacesWhereInput;
    /**
     * Limit how many moments_spaces to delete.
     */
    limit?: number;
};
/**
 * moments_spaces.moments
 */
export type moments_spaces$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_spaces.spaces
 */
export type moments_spaces$spacesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces
     */
    select?: Prisma.spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces
     */
    omit?: Prisma.spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spacesInclude<ExtArgs> | null;
    where?: Prisma.spacesWhereInput;
};
/**
 * moments_spaces without action
 */
export type moments_spacesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the moments_spaces
     */
    select?: Prisma.moments_spacesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the moments_spaces
     */
    omit?: Prisma.moments_spacesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.moments_spacesInclude<ExtArgs> | null;
};
export {};
