import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model spaces_lists
 * 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 spaces_listsModel = runtime.Types.Result.DefaultSelection<Prisma.$spaces_listsPayload>;
export type AggregateSpaces_lists = {
    _count: Spaces_listsCountAggregateOutputType | null;
    _avg: Spaces_listsAvgAggregateOutputType | null;
    _sum: Spaces_listsSumAggregateOutputType | null;
    _min: Spaces_listsMinAggregateOutputType | null;
    _max: Spaces_listsMaxAggregateOutputType | null;
};
export type Spaces_listsAvgAggregateOutputType = {
    id: number | null;
    spaces_id: number | null;
    lists_id: number | null;
};
export type Spaces_listsSumAggregateOutputType = {
    id: number | null;
    spaces_id: number | null;
    lists_id: number | null;
};
export type Spaces_listsMinAggregateOutputType = {
    id: number | null;
    spaces_id: number | null;
    lists_id: number | null;
};
export type Spaces_listsMaxAggregateOutputType = {
    id: number | null;
    spaces_id: number | null;
    lists_id: number | null;
};
export type Spaces_listsCountAggregateOutputType = {
    id: number;
    spaces_id: number;
    lists_id: number;
    _all: number;
};
export type Spaces_listsAvgAggregateInputType = {
    id?: true;
    spaces_id?: true;
    lists_id?: true;
};
export type Spaces_listsSumAggregateInputType = {
    id?: true;
    spaces_id?: true;
    lists_id?: true;
};
export type Spaces_listsMinAggregateInputType = {
    id?: true;
    spaces_id?: true;
    lists_id?: true;
};
export type Spaces_listsMaxAggregateInputType = {
    id?: true;
    spaces_id?: true;
    lists_id?: true;
};
export type Spaces_listsCountAggregateInputType = {
    id?: true;
    spaces_id?: true;
    lists_id?: true;
    _all?: true;
};
export type Spaces_listsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which spaces_lists to aggregate.
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_lists to fetch.
     */
    orderBy?: Prisma.spaces_listsOrderByWithRelationInput | Prisma.spaces_listsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.spaces_listsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_lists 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` spaces_lists.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned spaces_lists
    **/
    _count?: true | Spaces_listsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Spaces_listsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Spaces_listsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Spaces_listsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Spaces_listsMaxAggregateInputType;
};
export type GetSpaces_listsAggregateType<T extends Spaces_listsAggregateArgs> = {
    [P in keyof T & keyof AggregateSpaces_lists]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSpaces_lists[P]> : Prisma.GetScalarType<T[P], AggregateSpaces_lists[P]>;
};
export type spaces_listsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.spaces_listsWhereInput;
    orderBy?: Prisma.spaces_listsOrderByWithAggregationInput | Prisma.spaces_listsOrderByWithAggregationInput[];
    by: Prisma.Spaces_listsScalarFieldEnum[] | Prisma.Spaces_listsScalarFieldEnum;
    having?: Prisma.spaces_listsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Spaces_listsCountAggregateInputType | true;
    _avg?: Spaces_listsAvgAggregateInputType;
    _sum?: Spaces_listsSumAggregateInputType;
    _min?: Spaces_listsMinAggregateInputType;
    _max?: Spaces_listsMaxAggregateInputType;
};
export type Spaces_listsGroupByOutputType = {
    id: number;
    spaces_id: number | null;
    lists_id: number | null;
    _count: Spaces_listsCountAggregateOutputType | null;
    _avg: Spaces_listsAvgAggregateOutputType | null;
    _sum: Spaces_listsSumAggregateOutputType | null;
    _min: Spaces_listsMinAggregateOutputType | null;
    _max: Spaces_listsMaxAggregateOutputType | null;
};
type GetSpaces_listsGroupByPayload<T extends spaces_listsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Spaces_listsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Spaces_listsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Spaces_listsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Spaces_listsGroupByOutputType[P]>;
}>>;
export type spaces_listsWhereInput = {
    AND?: Prisma.spaces_listsWhereInput | Prisma.spaces_listsWhereInput[];
    OR?: Prisma.spaces_listsWhereInput[];
    NOT?: Prisma.spaces_listsWhereInput | Prisma.spaces_listsWhereInput[];
    id?: Prisma.IntFilter<"spaces_lists"> | number;
    spaces_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
    lists_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
};
export type spaces_listsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    lists?: Prisma.listsOrderByWithRelationInput;
    spaces?: Prisma.spacesOrderByWithRelationInput;
};
export type spaces_listsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.spaces_listsWhereInput | Prisma.spaces_listsWhereInput[];
    OR?: Prisma.spaces_listsWhereInput[];
    NOT?: Prisma.spaces_listsWhereInput | Prisma.spaces_listsWhereInput[];
    spaces_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
    lists_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
    lists?: Prisma.XOR<Prisma.ListsNullableScalarRelationFilter, Prisma.listsWhereInput> | null;
    spaces?: Prisma.XOR<Prisma.SpacesNullableScalarRelationFilter, Prisma.spacesWhereInput> | null;
}, "id">;
export type spaces_listsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    lists_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.spaces_listsCountOrderByAggregateInput;
    _avg?: Prisma.spaces_listsAvgOrderByAggregateInput;
    _max?: Prisma.spaces_listsMaxOrderByAggregateInput;
    _min?: Prisma.spaces_listsMinOrderByAggregateInput;
    _sum?: Prisma.spaces_listsSumOrderByAggregateInput;
};
export type spaces_listsScalarWhereWithAggregatesInput = {
    AND?: Prisma.spaces_listsScalarWhereWithAggregatesInput | Prisma.spaces_listsScalarWhereWithAggregatesInput[];
    OR?: Prisma.spaces_listsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.spaces_listsScalarWhereWithAggregatesInput | Prisma.spaces_listsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"spaces_lists"> | number;
    spaces_id?: Prisma.IntNullableWithAggregatesFilter<"spaces_lists"> | number | null;
    lists_id?: Prisma.IntNullableWithAggregatesFilter<"spaces_lists"> | number | null;
};
export type spaces_listsCreateInput = {
    lists?: Prisma.listsCreateNestedOneWithoutSpaces_listsInput;
    spaces?: Prisma.spacesCreateNestedOneWithoutSpaces_listsInput;
};
export type spaces_listsUncheckedCreateInput = {
    id?: number;
    spaces_id?: number | null;
    lists_id?: number | null;
};
export type spaces_listsUpdateInput = {
    lists?: Prisma.listsUpdateOneWithoutSpaces_listsNestedInput;
    spaces?: Prisma.spacesUpdateOneWithoutSpaces_listsNestedInput;
};
export type spaces_listsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type spaces_listsCreateManyInput = {
    id?: number;
    spaces_id?: number | null;
    lists_id?: number | null;
};
export type spaces_listsUpdateManyMutationInput = {};
export type spaces_listsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Spaces_listsListRelationFilter = {
    every?: Prisma.spaces_listsWhereInput;
    some?: Prisma.spaces_listsWhereInput;
    none?: Prisma.spaces_listsWhereInput;
};
export type spaces_listsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type spaces_listsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type spaces_listsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type spaces_listsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type spaces_listsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type spaces_listsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    spaces_id?: Prisma.SortOrder;
    lists_id?: Prisma.SortOrder;
};
export type spaces_listsCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput> | Prisma.spaces_listsCreateWithoutListsInput[] | Prisma.spaces_listsUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutListsInput | Prisma.spaces_listsCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.spaces_listsCreateManyListsInputEnvelope;
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
};
export type spaces_listsUncheckedCreateNestedManyWithoutListsInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput> | Prisma.spaces_listsCreateWithoutListsInput[] | Prisma.spaces_listsUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutListsInput | Prisma.spaces_listsCreateOrConnectWithoutListsInput[];
    createMany?: Prisma.spaces_listsCreateManyListsInputEnvelope;
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
};
export type spaces_listsUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput> | Prisma.spaces_listsCreateWithoutListsInput[] | Prisma.spaces_listsUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutListsInput | Prisma.spaces_listsCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.spaces_listsUpsertWithWhereUniqueWithoutListsInput | Prisma.spaces_listsUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.spaces_listsCreateManyListsInputEnvelope;
    set?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    disconnect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    delete?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    update?: Prisma.spaces_listsUpdateWithWhereUniqueWithoutListsInput | Prisma.spaces_listsUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.spaces_listsUpdateManyWithWhereWithoutListsInput | Prisma.spaces_listsUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
};
export type spaces_listsUncheckedUpdateManyWithoutListsNestedInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput> | Prisma.spaces_listsCreateWithoutListsInput[] | Prisma.spaces_listsUncheckedCreateWithoutListsInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutListsInput | Prisma.spaces_listsCreateOrConnectWithoutListsInput[];
    upsert?: Prisma.spaces_listsUpsertWithWhereUniqueWithoutListsInput | Prisma.spaces_listsUpsertWithWhereUniqueWithoutListsInput[];
    createMany?: Prisma.spaces_listsCreateManyListsInputEnvelope;
    set?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    disconnect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    delete?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    update?: Prisma.spaces_listsUpdateWithWhereUniqueWithoutListsInput | Prisma.spaces_listsUpdateWithWhereUniqueWithoutListsInput[];
    updateMany?: Prisma.spaces_listsUpdateManyWithWhereWithoutListsInput | Prisma.spaces_listsUpdateManyWithWhereWithoutListsInput[];
    deleteMany?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
};
export type spaces_listsCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput> | Prisma.spaces_listsCreateWithoutSpacesInput[] | Prisma.spaces_listsUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutSpacesInput | Prisma.spaces_listsCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.spaces_listsCreateManySpacesInputEnvelope;
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
};
export type spaces_listsUncheckedCreateNestedManyWithoutSpacesInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput> | Prisma.spaces_listsCreateWithoutSpacesInput[] | Prisma.spaces_listsUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutSpacesInput | Prisma.spaces_listsCreateOrConnectWithoutSpacesInput[];
    createMany?: Prisma.spaces_listsCreateManySpacesInputEnvelope;
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
};
export type spaces_listsUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput> | Prisma.spaces_listsCreateWithoutSpacesInput[] | Prisma.spaces_listsUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutSpacesInput | Prisma.spaces_listsCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.spaces_listsUpsertWithWhereUniqueWithoutSpacesInput | Prisma.spaces_listsUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.spaces_listsCreateManySpacesInputEnvelope;
    set?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    disconnect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    delete?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    update?: Prisma.spaces_listsUpdateWithWhereUniqueWithoutSpacesInput | Prisma.spaces_listsUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.spaces_listsUpdateManyWithWhereWithoutSpacesInput | Prisma.spaces_listsUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
};
export type spaces_listsUncheckedUpdateManyWithoutSpacesNestedInput = {
    create?: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput> | Prisma.spaces_listsCreateWithoutSpacesInput[] | Prisma.spaces_listsUncheckedCreateWithoutSpacesInput[];
    connectOrCreate?: Prisma.spaces_listsCreateOrConnectWithoutSpacesInput | Prisma.spaces_listsCreateOrConnectWithoutSpacesInput[];
    upsert?: Prisma.spaces_listsUpsertWithWhereUniqueWithoutSpacesInput | Prisma.spaces_listsUpsertWithWhereUniqueWithoutSpacesInput[];
    createMany?: Prisma.spaces_listsCreateManySpacesInputEnvelope;
    set?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    disconnect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    delete?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    connect?: Prisma.spaces_listsWhereUniqueInput | Prisma.spaces_listsWhereUniqueInput[];
    update?: Prisma.spaces_listsUpdateWithWhereUniqueWithoutSpacesInput | Prisma.spaces_listsUpdateWithWhereUniqueWithoutSpacesInput[];
    updateMany?: Prisma.spaces_listsUpdateManyWithWhereWithoutSpacesInput | Prisma.spaces_listsUpdateManyWithWhereWithoutSpacesInput[];
    deleteMany?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
};
export type spaces_listsCreateWithoutListsInput = {
    spaces?: Prisma.spacesCreateNestedOneWithoutSpaces_listsInput;
};
export type spaces_listsUncheckedCreateWithoutListsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type spaces_listsCreateOrConnectWithoutListsInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    create: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput>;
};
export type spaces_listsCreateManyListsInputEnvelope = {
    data: Prisma.spaces_listsCreateManyListsInput | Prisma.spaces_listsCreateManyListsInput[];
    skipDuplicates?: boolean;
};
export type spaces_listsUpsertWithWhereUniqueWithoutListsInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    update: Prisma.XOR<Prisma.spaces_listsUpdateWithoutListsInput, Prisma.spaces_listsUncheckedUpdateWithoutListsInput>;
    create: Prisma.XOR<Prisma.spaces_listsCreateWithoutListsInput, Prisma.spaces_listsUncheckedCreateWithoutListsInput>;
};
export type spaces_listsUpdateWithWhereUniqueWithoutListsInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    data: Prisma.XOR<Prisma.spaces_listsUpdateWithoutListsInput, Prisma.spaces_listsUncheckedUpdateWithoutListsInput>;
};
export type spaces_listsUpdateManyWithWhereWithoutListsInput = {
    where: Prisma.spaces_listsScalarWhereInput;
    data: Prisma.XOR<Prisma.spaces_listsUpdateManyMutationInput, Prisma.spaces_listsUncheckedUpdateManyWithoutListsInput>;
};
export type spaces_listsScalarWhereInput = {
    AND?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
    OR?: Prisma.spaces_listsScalarWhereInput[];
    NOT?: Prisma.spaces_listsScalarWhereInput | Prisma.spaces_listsScalarWhereInput[];
    id?: Prisma.IntFilter<"spaces_lists"> | number;
    spaces_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
    lists_id?: Prisma.IntNullableFilter<"spaces_lists"> | number | null;
};
export type spaces_listsCreateWithoutSpacesInput = {
    lists?: Prisma.listsCreateNestedOneWithoutSpaces_listsInput;
};
export type spaces_listsUncheckedCreateWithoutSpacesInput = {
    id?: number;
    lists_id?: number | null;
};
export type spaces_listsCreateOrConnectWithoutSpacesInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    create: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput>;
};
export type spaces_listsCreateManySpacesInputEnvelope = {
    data: Prisma.spaces_listsCreateManySpacesInput | Prisma.spaces_listsCreateManySpacesInput[];
    skipDuplicates?: boolean;
};
export type spaces_listsUpsertWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    update: Prisma.XOR<Prisma.spaces_listsUpdateWithoutSpacesInput, Prisma.spaces_listsUncheckedUpdateWithoutSpacesInput>;
    create: Prisma.XOR<Prisma.spaces_listsCreateWithoutSpacesInput, Prisma.spaces_listsUncheckedCreateWithoutSpacesInput>;
};
export type spaces_listsUpdateWithWhereUniqueWithoutSpacesInput = {
    where: Prisma.spaces_listsWhereUniqueInput;
    data: Prisma.XOR<Prisma.spaces_listsUpdateWithoutSpacesInput, Prisma.spaces_listsUncheckedUpdateWithoutSpacesInput>;
};
export type spaces_listsUpdateManyWithWhereWithoutSpacesInput = {
    where: Prisma.spaces_listsScalarWhereInput;
    data: Prisma.XOR<Prisma.spaces_listsUpdateManyMutationInput, Prisma.spaces_listsUncheckedUpdateManyWithoutSpacesInput>;
};
export type spaces_listsCreateManyListsInput = {
    id?: number;
    spaces_id?: number | null;
};
export type spaces_listsUpdateWithoutListsInput = {
    spaces?: Prisma.spacesUpdateOneWithoutSpaces_listsNestedInput;
};
export type spaces_listsUncheckedUpdateWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type spaces_listsUncheckedUpdateManyWithoutListsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    spaces_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type spaces_listsCreateManySpacesInput = {
    id?: number;
    lists_id?: number | null;
};
export type spaces_listsUpdateWithoutSpacesInput = {
    lists?: Prisma.listsUpdateOneWithoutSpaces_listsNestedInput;
};
export type spaces_listsUncheckedUpdateWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type spaces_listsUncheckedUpdateManyWithoutSpacesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    lists_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type spaces_listsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    spaces_id?: boolean;
    lists_id?: boolean;
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["spaces_lists"]>;
export type spaces_listsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    spaces_id?: boolean;
    lists_id?: boolean;
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["spaces_lists"]>;
export type spaces_listsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    spaces_id?: boolean;
    lists_id?: boolean;
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
}, ExtArgs["result"]["spaces_lists"]>;
export type spaces_listsSelectScalar = {
    id?: boolean;
    spaces_id?: boolean;
    lists_id?: boolean;
};
export type spaces_listsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "spaces_id" | "lists_id", ExtArgs["result"]["spaces_lists"]>;
export type spaces_listsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
};
export type spaces_listsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
};
export type spaces_listsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    lists?: boolean | Prisma.spaces_lists$listsArgs<ExtArgs>;
    spaces?: boolean | Prisma.spaces_lists$spacesArgs<ExtArgs>;
};
export type $spaces_listsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "spaces_lists";
    objects: {
        lists: Prisma.$listsPayload<ExtArgs> | null;
        spaces: Prisma.$spacesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        spaces_id: number | null;
        lists_id: number | null;
    }, ExtArgs["result"]["spaces_lists"]>;
    composites: {};
};
export type spaces_listsGetPayload<S extends boolean | null | undefined | spaces_listsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload, S>;
export type spaces_listsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<spaces_listsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Spaces_listsCountAggregateInputType | true;
};
export interface spaces_listsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['spaces_lists'];
        meta: {
            name: 'spaces_lists';
        };
    };
    /**
     * Find zero or one Spaces_lists that matches the filter.
     * @param {spaces_listsFindUniqueArgs} args - Arguments to find a Spaces_lists
     * @example
     * // Get one Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends spaces_listsFindUniqueArgs>(args: Prisma.SelectSubset<T, spaces_listsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Spaces_lists that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {spaces_listsFindUniqueOrThrowArgs} args - Arguments to find a Spaces_lists
     * @example
     * // Get one Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends spaces_listsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, spaces_listsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Spaces_lists 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 {spaces_listsFindFirstArgs} args - Arguments to find a Spaces_lists
     * @example
     * // Get one Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends spaces_listsFindFirstArgs>(args?: Prisma.SelectSubset<T, spaces_listsFindFirstArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Spaces_lists 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 {spaces_listsFindFirstOrThrowArgs} args - Arguments to find a Spaces_lists
     * @example
     * // Get one Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends spaces_listsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, spaces_listsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Spaces_lists 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 {spaces_listsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findMany()
     *
     * // Get first 10 Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const spaces_listsWithIdOnly = await prisma.spaces_lists.findMany({ select: { id: true } })
     *
     */
    findMany<T extends spaces_listsFindManyArgs>(args?: Prisma.SelectSubset<T, spaces_listsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Spaces_lists.
     * @param {spaces_listsCreateArgs} args - Arguments to create a Spaces_lists.
     * @example
     * // Create one Spaces_lists
     * const Spaces_lists = await prisma.spaces_lists.create({
     *   data: {
     *     // ... data to create a Spaces_lists
     *   }
     * })
     *
     */
    create<T extends spaces_listsCreateArgs>(args: Prisma.SelectSubset<T, spaces_listsCreateArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Spaces_lists.
     * @param {spaces_listsCreateManyArgs} args - Arguments to create many Spaces_lists.
     * @example
     * // Create many Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends spaces_listsCreateManyArgs>(args?: Prisma.SelectSubset<T, spaces_listsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Spaces_lists and returns the data saved in the database.
     * @param {spaces_listsCreateManyAndReturnArgs} args - Arguments to create many Spaces_lists.
     * @example
     * // Create many Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Spaces_lists and only return the `id`
     * const spaces_listsWithIdOnly = await prisma.spaces_lists.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 spaces_listsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, spaces_listsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Spaces_lists.
     * @param {spaces_listsDeleteArgs} args - Arguments to delete one Spaces_lists.
     * @example
     * // Delete one Spaces_lists
     * const Spaces_lists = await prisma.spaces_lists.delete({
     *   where: {
     *     // ... filter to delete one Spaces_lists
     *   }
     * })
     *
     */
    delete<T extends spaces_listsDeleteArgs>(args: Prisma.SelectSubset<T, spaces_listsDeleteArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Spaces_lists.
     * @param {spaces_listsUpdateArgs} args - Arguments to update one Spaces_lists.
     * @example
     * // Update one Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends spaces_listsUpdateArgs>(args: Prisma.SelectSubset<T, spaces_listsUpdateArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Spaces_lists.
     * @param {spaces_listsDeleteManyArgs} args - Arguments to filter Spaces_lists to delete.
     * @example
     * // Delete a few Spaces_lists
     * const { count } = await prisma.spaces_lists.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends spaces_listsDeleteManyArgs>(args?: Prisma.SelectSubset<T, spaces_listsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Spaces_lists.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_listsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends spaces_listsUpdateManyArgs>(args: Prisma.SelectSubset<T, spaces_listsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Spaces_lists and returns the data updated in the database.
     * @param {spaces_listsUpdateManyAndReturnArgs} args - Arguments to update many Spaces_lists.
     * @example
     * // Update many Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Spaces_lists and only return the `id`
     * const spaces_listsWithIdOnly = await prisma.spaces_lists.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 spaces_listsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, spaces_listsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Spaces_lists.
     * @param {spaces_listsUpsertArgs} args - Arguments to update or create a Spaces_lists.
     * @example
     * // Update or create a Spaces_lists
     * const spaces_lists = await prisma.spaces_lists.upsert({
     *   create: {
     *     // ... data to create a Spaces_lists
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Spaces_lists we want to update
     *   }
     * })
     */
    upsert<T extends spaces_listsUpsertArgs>(args: Prisma.SelectSubset<T, spaces_listsUpsertArgs<ExtArgs>>): Prisma.Prisma__spaces_listsClient<runtime.Types.Result.GetResult<Prisma.$spaces_listsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Spaces_lists.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_listsCountArgs} args - Arguments to filter Spaces_lists to count.
     * @example
     * // Count the number of Spaces_lists
     * const count = await prisma.spaces_lists.count({
     *   where: {
     *     // ... the filter for the Spaces_lists we want to count
     *   }
     * })
    **/
    count<T extends spaces_listsCountArgs>(args?: Prisma.Subset<T, spaces_listsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Spaces_listsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Spaces_lists.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Spaces_listsAggregateArgs} 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 Spaces_listsAggregateArgs>(args: Prisma.Subset<T, Spaces_listsAggregateArgs>): Prisma.PrismaPromise<GetSpaces_listsAggregateType<T>>;
    /**
     * Group by Spaces_lists.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {spaces_listsGroupByArgs} 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 spaces_listsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: spaces_listsGroupByArgs['orderBy'];
    } : {
        orderBy?: spaces_listsGroupByArgs['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, spaces_listsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSpaces_listsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the spaces_lists model
     */
    readonly fields: spaces_listsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for spaces_lists.
 * 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__spaces_listsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    lists<T extends Prisma.spaces_lists$listsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.spaces_lists$listsArgs<ExtArgs>>): Prisma.Prisma__listsClient<runtime.Types.Result.GetResult<Prisma.$listsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    spaces<T extends Prisma.spaces_lists$spacesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.spaces_lists$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 spaces_lists model
 */
export interface spaces_listsFieldRefs {
    readonly id: Prisma.FieldRef<"spaces_lists", 'Int'>;
    readonly spaces_id: Prisma.FieldRef<"spaces_lists", 'Int'>;
    readonly lists_id: Prisma.FieldRef<"spaces_lists", 'Int'>;
}
/**
 * spaces_lists findUnique
 */
export type spaces_listsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter, which spaces_lists to fetch.
     */
    where: Prisma.spaces_listsWhereUniqueInput;
};
/**
 * spaces_lists findUniqueOrThrow
 */
export type spaces_listsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter, which spaces_lists to fetch.
     */
    where: Prisma.spaces_listsWhereUniqueInput;
};
/**
 * spaces_lists findFirst
 */
export type spaces_listsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter, which spaces_lists to fetch.
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_lists to fetch.
     */
    orderBy?: Prisma.spaces_listsOrderByWithRelationInput | Prisma.spaces_listsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for spaces_lists.
     */
    cursor?: Prisma.spaces_listsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_lists 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` spaces_lists.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of spaces_lists.
     */
    distinct?: Prisma.Spaces_listsScalarFieldEnum | Prisma.Spaces_listsScalarFieldEnum[];
};
/**
 * spaces_lists findFirstOrThrow
 */
export type spaces_listsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter, which spaces_lists to fetch.
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_lists to fetch.
     */
    orderBy?: Prisma.spaces_listsOrderByWithRelationInput | Prisma.spaces_listsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for spaces_lists.
     */
    cursor?: Prisma.spaces_listsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_lists 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` spaces_lists.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of spaces_lists.
     */
    distinct?: Prisma.Spaces_listsScalarFieldEnum | Prisma.Spaces_listsScalarFieldEnum[];
};
/**
 * spaces_lists findMany
 */
export type spaces_listsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter, which spaces_lists to fetch.
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of spaces_lists to fetch.
     */
    orderBy?: Prisma.spaces_listsOrderByWithRelationInput | Prisma.spaces_listsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing spaces_lists.
     */
    cursor?: Prisma.spaces_listsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` spaces_lists 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` spaces_lists.
     */
    skip?: number;
    distinct?: Prisma.Spaces_listsScalarFieldEnum | Prisma.Spaces_listsScalarFieldEnum[];
};
/**
 * spaces_lists create
 */
export type spaces_listsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * The data needed to create a spaces_lists.
     */
    data?: Prisma.XOR<Prisma.spaces_listsCreateInput, Prisma.spaces_listsUncheckedCreateInput>;
};
/**
 * spaces_lists createMany
 */
export type spaces_listsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many spaces_lists.
     */
    data: Prisma.spaces_listsCreateManyInput | Prisma.spaces_listsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * spaces_lists createManyAndReturn
 */
export type spaces_listsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * The data used to create many spaces_lists.
     */
    data: Prisma.spaces_listsCreateManyInput | Prisma.spaces_listsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * spaces_lists update
 */
export type spaces_listsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * The data needed to update a spaces_lists.
     */
    data: Prisma.XOR<Prisma.spaces_listsUpdateInput, Prisma.spaces_listsUncheckedUpdateInput>;
    /**
     * Choose, which spaces_lists to update.
     */
    where: Prisma.spaces_listsWhereUniqueInput;
};
/**
 * spaces_lists updateMany
 */
export type spaces_listsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update spaces_lists.
     */
    data: Prisma.XOR<Prisma.spaces_listsUpdateManyMutationInput, Prisma.spaces_listsUncheckedUpdateManyInput>;
    /**
     * Filter which spaces_lists to update
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * Limit how many spaces_lists to update.
     */
    limit?: number;
};
/**
 * spaces_lists updateManyAndReturn
 */
export type spaces_listsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * The data used to update spaces_lists.
     */
    data: Prisma.XOR<Prisma.spaces_listsUpdateManyMutationInput, Prisma.spaces_listsUncheckedUpdateManyInput>;
    /**
     * Filter which spaces_lists to update
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * Limit how many spaces_lists to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * spaces_lists upsert
 */
export type spaces_listsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * The filter to search for the spaces_lists to update in case it exists.
     */
    where: Prisma.spaces_listsWhereUniqueInput;
    /**
     * In case the spaces_lists found by the `where` argument doesn't exist, create a new spaces_lists with this data.
     */
    create: Prisma.XOR<Prisma.spaces_listsCreateInput, Prisma.spaces_listsUncheckedCreateInput>;
    /**
     * In case the spaces_lists was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.spaces_listsUpdateInput, Prisma.spaces_listsUncheckedUpdateInput>;
};
/**
 * spaces_lists delete
 */
export type spaces_listsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
    /**
     * Filter which spaces_lists to delete.
     */
    where: Prisma.spaces_listsWhereUniqueInput;
};
/**
 * spaces_lists deleteMany
 */
export type spaces_listsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which spaces_lists to delete
     */
    where?: Prisma.spaces_listsWhereInput;
    /**
     * Limit how many spaces_lists to delete.
     */
    limit?: number;
};
/**
 * spaces_lists.lists
 */
export type spaces_lists$listsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the lists
     */
    select?: Prisma.listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the lists
     */
    omit?: Prisma.listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.listsInclude<ExtArgs> | null;
    where?: Prisma.listsWhereInput;
};
/**
 * spaces_lists.spaces
 */
export type spaces_lists$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;
};
/**
 * spaces_lists without action
 */
export type spaces_listsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the spaces_lists
     */
    select?: Prisma.spaces_listsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the spaces_lists
     */
    omit?: Prisma.spaces_listsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.spaces_listsInclude<ExtArgs> | null;
};
export {};
