import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model Space_products
 * This model contains row level security and requires additional setup for migrations. Visit https://pris.ly/d/row-level-security for more info.
 */
export type Space_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$Space_productsPayload>;
export type AggregateSpace_products = {
    _count: Space_productsCountAggregateOutputType | null;
    _avg: Space_productsAvgAggregateOutputType | null;
    _sum: Space_productsSumAggregateOutputType | null;
    _min: Space_productsMinAggregateOutputType | null;
    _max: Space_productsMaxAggregateOutputType | null;
};
export type Space_productsAvgAggregateOutputType = {
    id: number | null;
    products_id: number | null;
};
export type Space_productsSumAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Space_productsMinAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Space_productsMaxAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
};
export type Space_productsCountAggregateOutputType = {
    id: number;
    products_id: number;
    _all: number;
};
export type Space_productsAvgAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Space_productsSumAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Space_productsMinAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Space_productsMaxAggregateInputType = {
    id?: true;
    products_id?: true;
};
export type Space_productsCountAggregateInputType = {
    id?: true;
    products_id?: true;
    _all?: true;
};
export type Space_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which Space_products to aggregate.
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of Space_products to fetch.
     */
    orderBy?: Prisma.Space_productsOrderByWithRelationInput | Prisma.Space_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.Space_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` Space_products from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` Space_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned Space_products
    **/
    _count?: true | Space_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Space_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Space_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Space_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Space_productsMaxAggregateInputType;
};
export type GetSpace_productsAggregateType<T extends Space_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateSpace_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateSpace_products[P]> : Prisma.GetScalarType<T[P], AggregateSpace_products[P]>;
};
export type Space_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.Space_productsWhereInput;
    orderBy?: Prisma.Space_productsOrderByWithAggregationInput | Prisma.Space_productsOrderByWithAggregationInput[];
    by: Prisma.Space_productsScalarFieldEnum[] | Prisma.Space_productsScalarFieldEnum;
    having?: Prisma.Space_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Space_productsCountAggregateInputType | true;
    _avg?: Space_productsAvgAggregateInputType;
    _sum?: Space_productsSumAggregateInputType;
    _min?: Space_productsMinAggregateInputType;
    _max?: Space_productsMaxAggregateInputType;
};
export type Space_productsGroupByOutputType = {
    id: number;
    products_id: bigint | null;
    _count: Space_productsCountAggregateOutputType | null;
    _avg: Space_productsAvgAggregateOutputType | null;
    _sum: Space_productsSumAggregateOutputType | null;
    _min: Space_productsMinAggregateOutputType | null;
    _max: Space_productsMaxAggregateOutputType | null;
};
type GetSpace_productsGroupByPayload<T extends Space_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Space_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Space_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Space_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Space_productsGroupByOutputType[P]>;
}>>;
export type Space_productsWhereInput = {
    AND?: Prisma.Space_productsWhereInput | Prisma.Space_productsWhereInput[];
    OR?: Prisma.Space_productsWhereInput[];
    NOT?: Prisma.Space_productsWhereInput | Prisma.Space_productsWhereInput[];
    id?: Prisma.IntFilter<"Space_products"> | number;
    products_id?: Prisma.BigIntNullableFilter<"Space_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type Space_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type Space_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.Space_productsWhereInput | Prisma.Space_productsWhereInput[];
    OR?: Prisma.Space_productsWhereInput[];
    NOT?: Prisma.Space_productsWhereInput | Prisma.Space_productsWhereInput[];
    products_id?: Prisma.BigIntNullableFilter<"Space_products"> | bigint | number | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type Space_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.Space_productsCountOrderByAggregateInput;
    _avg?: Prisma.Space_productsAvgOrderByAggregateInput;
    _max?: Prisma.Space_productsMaxOrderByAggregateInput;
    _min?: Prisma.Space_productsMinOrderByAggregateInput;
    _sum?: Prisma.Space_productsSumOrderByAggregateInput;
};
export type Space_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.Space_productsScalarWhereWithAggregatesInput | Prisma.Space_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.Space_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.Space_productsScalarWhereWithAggregatesInput | Prisma.Space_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"Space_products"> | number;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"Space_products"> | bigint | number | null;
};
export type Space_productsCreateInput = {
    products?: Prisma.productsCreateNestedOneWithoutSpace_productsInput;
};
export type Space_productsUncheckedCreateInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type Space_productsUpdateInput = {
    products?: Prisma.productsUpdateOneWithoutSpace_productsNestedInput;
};
export type Space_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Space_productsCreateManyInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type Space_productsUpdateManyMutationInput = {};
export type Space_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Space_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Space_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Space_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Space_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Space_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
};
export type Space_productsListRelationFilter = {
    every?: Prisma.Space_productsWhereInput;
    some?: Prisma.Space_productsWhereInput;
    none?: Prisma.Space_productsWhereInput;
};
export type Space_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type Space_productsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput> | Prisma.Space_productsCreateWithoutProductsInput[] | Prisma.Space_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.Space_productsCreateOrConnectWithoutProductsInput | Prisma.Space_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.Space_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
};
export type Space_productsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput> | Prisma.Space_productsCreateWithoutProductsInput[] | Prisma.Space_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.Space_productsCreateOrConnectWithoutProductsInput | Prisma.Space_productsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.Space_productsCreateManyProductsInputEnvelope;
    connect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
};
export type Space_productsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput> | Prisma.Space_productsCreateWithoutProductsInput[] | Prisma.Space_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.Space_productsCreateOrConnectWithoutProductsInput | Prisma.Space_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.Space_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.Space_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.Space_productsCreateManyProductsInputEnvelope;
    set?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    disconnect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    delete?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    connect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    update?: Prisma.Space_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.Space_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.Space_productsUpdateManyWithWhereWithoutProductsInput | Prisma.Space_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.Space_productsScalarWhereInput | Prisma.Space_productsScalarWhereInput[];
};
export type Space_productsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput> | Prisma.Space_productsCreateWithoutProductsInput[] | Prisma.Space_productsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.Space_productsCreateOrConnectWithoutProductsInput | Prisma.Space_productsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.Space_productsUpsertWithWhereUniqueWithoutProductsInput | Prisma.Space_productsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.Space_productsCreateManyProductsInputEnvelope;
    set?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    disconnect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    delete?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    connect?: Prisma.Space_productsWhereUniqueInput | Prisma.Space_productsWhereUniqueInput[];
    update?: Prisma.Space_productsUpdateWithWhereUniqueWithoutProductsInput | Prisma.Space_productsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.Space_productsUpdateManyWithWhereWithoutProductsInput | Prisma.Space_productsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.Space_productsScalarWhereInput | Prisma.Space_productsScalarWhereInput[];
};
export type Space_productsCreateWithoutProductsInput = {};
export type Space_productsUncheckedCreateWithoutProductsInput = {
    id?: number;
};
export type Space_productsCreateOrConnectWithoutProductsInput = {
    where: Prisma.Space_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput>;
};
export type Space_productsCreateManyProductsInputEnvelope = {
    data: Prisma.Space_productsCreateManyProductsInput | Prisma.Space_productsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type Space_productsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.Space_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.Space_productsUpdateWithoutProductsInput, Prisma.Space_productsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.Space_productsCreateWithoutProductsInput, Prisma.Space_productsUncheckedCreateWithoutProductsInput>;
};
export type Space_productsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.Space_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.Space_productsUpdateWithoutProductsInput, Prisma.Space_productsUncheckedUpdateWithoutProductsInput>;
};
export type Space_productsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.Space_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.Space_productsUpdateManyMutationInput, Prisma.Space_productsUncheckedUpdateManyWithoutProductsInput>;
};
export type Space_productsScalarWhereInput = {
    AND?: Prisma.Space_productsScalarWhereInput | Prisma.Space_productsScalarWhereInput[];
    OR?: Prisma.Space_productsScalarWhereInput[];
    NOT?: Prisma.Space_productsScalarWhereInput | Prisma.Space_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"Space_products"> | number;
    products_id?: Prisma.BigIntNullableFilter<"Space_products"> | bigint | number | null;
};
export type Space_productsCreateManyProductsInput = {
    id?: number;
};
export type Space_productsUpdateWithoutProductsInput = {};
export type Space_productsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type Space_productsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type Space_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["space_products"]>;
export type Space_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["space_products"]>;
export type Space_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
}, ExtArgs["result"]["space_products"]>;
export type Space_productsSelectScalar = {
    id?: boolean;
    products_id?: boolean;
};
export type Space_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "products_id", ExtArgs["result"]["space_products"]>;
export type Space_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
};
export type Space_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
};
export type Space_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.Space_products$productsArgs<ExtArgs>;
};
export type $Space_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "Space_products";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        products_id: bigint | null;
    }, ExtArgs["result"]["space_products"]>;
    composites: {};
};
export type Space_productsGetPayload<S extends boolean | null | undefined | Space_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$Space_productsPayload, S>;
export type Space_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<Space_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Space_productsCountAggregateInputType | true;
};
export interface Space_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['Space_products'];
        meta: {
            name: 'Space_products';
        };
    };
    /**
     * Find zero or one Space_products that matches the filter.
     * @param {Space_productsFindUniqueArgs} args - Arguments to find a Space_products
     * @example
     * // Get one Space_products
     * const space_products = await prisma.space_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends Space_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, Space_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Space_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {Space_productsFindUniqueOrThrowArgs} args - Arguments to find a Space_products
     * @example
     * // Get one Space_products
     * const space_products = await prisma.space_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends Space_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, Space_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Space_products that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsFindFirstArgs} args - Arguments to find a Space_products
     * @example
     * // Get one Space_products
     * const space_products = await prisma.space_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends Space_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, Space_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Space_products that matches the filter or
     * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsFindFirstOrThrowArgs} args - Arguments to find a Space_products
     * @example
     * // Get one Space_products
     * const space_products = await prisma.space_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends Space_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, Space_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Space_products that matches the filter.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Space_products
     * const space_products = await prisma.space_products.findMany()
     *
     * // Get first 10 Space_products
     * const space_products = await prisma.space_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const space_productsWithIdOnly = await prisma.space_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends Space_productsFindManyArgs>(args?: Prisma.SelectSubset<T, Space_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Space_products.
     * @param {Space_productsCreateArgs} args - Arguments to create a Space_products.
     * @example
     * // Create one Space_products
     * const Space_products = await prisma.space_products.create({
     *   data: {
     *     // ... data to create a Space_products
     *   }
     * })
     *
     */
    create<T extends Space_productsCreateArgs>(args: Prisma.SelectSubset<T, Space_productsCreateArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Space_products.
     * @param {Space_productsCreateManyArgs} args - Arguments to create many Space_products.
     * @example
     * // Create many Space_products
     * const space_products = await prisma.space_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends Space_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, Space_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Space_products and returns the data saved in the database.
     * @param {Space_productsCreateManyAndReturnArgs} args - Arguments to create many Space_products.
     * @example
     * // Create many Space_products
     * const space_products = await prisma.space_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Space_products and only return the `id`
     * const space_productsWithIdOnly = await prisma.space_products.createManyAndReturn({
     *   select: { id: true },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    createManyAndReturn<T extends Space_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, Space_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Space_products.
     * @param {Space_productsDeleteArgs} args - Arguments to delete one Space_products.
     * @example
     * // Delete one Space_products
     * const Space_products = await prisma.space_products.delete({
     *   where: {
     *     // ... filter to delete one Space_products
     *   }
     * })
     *
     */
    delete<T extends Space_productsDeleteArgs>(args: Prisma.SelectSubset<T, Space_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Space_products.
     * @param {Space_productsUpdateArgs} args - Arguments to update one Space_products.
     * @example
     * // Update one Space_products
     * const space_products = await prisma.space_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends Space_productsUpdateArgs>(args: Prisma.SelectSubset<T, Space_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Space_products.
     * @param {Space_productsDeleteManyArgs} args - Arguments to filter Space_products to delete.
     * @example
     * // Delete a few Space_products
     * const { count } = await prisma.space_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends Space_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, Space_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Space_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Space_products
     * const space_products = await prisma.space_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends Space_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, Space_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Space_products and returns the data updated in the database.
     * @param {Space_productsUpdateManyAndReturnArgs} args - Arguments to update many Space_products.
     * @example
     * // Update many Space_products
     * const space_products = await prisma.space_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Space_products and only return the `id`
     * const space_productsWithIdOnly = await prisma.space_products.updateManyAndReturn({
     *   select: { id: true },
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     *
     */
    updateManyAndReturn<T extends Space_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, Space_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Space_products.
     * @param {Space_productsUpsertArgs} args - Arguments to update or create a Space_products.
     * @example
     * // Update or create a Space_products
     * const space_products = await prisma.space_products.upsert({
     *   create: {
     *     // ... data to create a Space_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Space_products we want to update
     *   }
     * })
     */
    upsert<T extends Space_productsUpsertArgs>(args: Prisma.SelectSubset<T, Space_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__Space_productsClient<runtime.Types.Result.GetResult<Prisma.$Space_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Space_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsCountArgs} args - Arguments to filter Space_products to count.
     * @example
     * // Count the number of Space_products
     * const count = await prisma.space_products.count({
     *   where: {
     *     // ... the filter for the Space_products we want to count
     *   }
     * })
    **/
    count<T extends Space_productsCountArgs>(args?: Prisma.Subset<T, Space_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Space_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Space_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
     * @example
     * // Ordered by age ascending
     * // Where email contains prisma.io
     * // Limited to the 10 users
     * const aggregations = await prisma.user.aggregate({
     *   _avg: {
     *     age: true,
     *   },
     *   where: {
     *     email: {
     *       contains: "prisma.io",
     *     },
     *   },
     *   orderBy: {
     *     age: "asc",
     *   },
     *   take: 10,
     * })
    **/
    aggregate<T extends Space_productsAggregateArgs>(args: Prisma.Subset<T, Space_productsAggregateArgs>): Prisma.PrismaPromise<GetSpace_productsAggregateType<T>>;
    /**
     * Group by Space_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Space_productsGroupByArgs} args - Group by arguments.
     * @example
     * // Group by city, order by createdAt, get count
     * const result = await prisma.user.groupBy({
     *   by: ['city', 'createdAt'],
     *   orderBy: {
     *     createdAt: true
     *   },
     *   _count: {
     *     _all: true
     *   },
     * })
     *
    **/
    groupBy<T extends Space_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: Space_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: Space_productsGroupByArgs['orderBy'];
    }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
        [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
            Error,
            'Field ',
            P,
            ` in "having" needs to be provided in "by"`
        ];
    }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
        [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
    }[OrderFields]>(args: Prisma.SubsetIntersection<T, Space_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSpace_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the Space_products model
     */
    readonly fields: Space_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for Space_products.
 * Why is this prefixed with `Prisma__`?
 * Because we want to prevent naming conflicts as mentioned in
 * https://github.com/prisma/prisma-client-js/issues/707
 */
export interface Prisma__Space_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    products<T extends Prisma.Space_products$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Space_products$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Attaches callbacks for the resolution and/or rejection of the Promise.
     * @param onfulfilled The callback to execute when the Promise is resolved.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of which ever callback is executed.
     */
    then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>;
    /**
     * Attaches a callback for only the rejection of the Promise.
     * @param onrejected The callback to execute when the Promise is rejected.
     * @returns A Promise for the completion of the callback.
     */
    catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
    /**
     * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
     * resolved value cannot be modified from the callback.
     * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
     * @returns A Promise for the completion of the callback.
     */
    finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
}
/**
 * Fields of the Space_products model
 */
export interface Space_productsFieldRefs {
    readonly id: Prisma.FieldRef<"Space_products", 'Int'>;
    readonly products_id: Prisma.FieldRef<"Space_products", 'BigInt'>;
}
/**
 * Space_products findUnique
 */
export type Space_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter, which Space_products to fetch.
     */
    where: Prisma.Space_productsWhereUniqueInput;
};
/**
 * Space_products findUniqueOrThrow
 */
export type Space_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter, which Space_products to fetch.
     */
    where: Prisma.Space_productsWhereUniqueInput;
};
/**
 * Space_products findFirst
 */
export type Space_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter, which Space_products to fetch.
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of Space_products to fetch.
     */
    orderBy?: Prisma.Space_productsOrderByWithRelationInput | Prisma.Space_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for Space_products.
     */
    cursor?: Prisma.Space_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` Space_products from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` Space_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of Space_products.
     */
    distinct?: Prisma.Space_productsScalarFieldEnum | Prisma.Space_productsScalarFieldEnum[];
};
/**
 * Space_products findFirstOrThrow
 */
export type Space_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter, which Space_products to fetch.
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of Space_products to fetch.
     */
    orderBy?: Prisma.Space_productsOrderByWithRelationInput | Prisma.Space_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for Space_products.
     */
    cursor?: Prisma.Space_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` Space_products from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` Space_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of Space_products.
     */
    distinct?: Prisma.Space_productsScalarFieldEnum | Prisma.Space_productsScalarFieldEnum[];
};
/**
 * Space_products findMany
 */
export type Space_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter, which Space_products to fetch.
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of Space_products to fetch.
     */
    orderBy?: Prisma.Space_productsOrderByWithRelationInput | Prisma.Space_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing Space_products.
     */
    cursor?: Prisma.Space_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` Space_products from the position of the cursor.
     */
    take?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Skip the first `n` Space_products.
     */
    skip?: number;
    distinct?: Prisma.Space_productsScalarFieldEnum | Prisma.Space_productsScalarFieldEnum[];
};
/**
 * Space_products create
 */
export type Space_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a Space_products.
     */
    data?: Prisma.XOR<Prisma.Space_productsCreateInput, Prisma.Space_productsUncheckedCreateInput>;
};
/**
 * Space_products createMany
 */
export type Space_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many Space_products.
     */
    data: Prisma.Space_productsCreateManyInput | Prisma.Space_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * Space_products createManyAndReturn
 */
export type Space_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many Space_products.
     */
    data: Prisma.Space_productsCreateManyInput | Prisma.Space_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * Space_products update
 */
export type Space_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a Space_products.
     */
    data: Prisma.XOR<Prisma.Space_productsUpdateInput, Prisma.Space_productsUncheckedUpdateInput>;
    /**
     * Choose, which Space_products to update.
     */
    where: Prisma.Space_productsWhereUniqueInput;
};
/**
 * Space_products updateMany
 */
export type Space_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update Space_products.
     */
    data: Prisma.XOR<Prisma.Space_productsUpdateManyMutationInput, Prisma.Space_productsUncheckedUpdateManyInput>;
    /**
     * Filter which Space_products to update
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * Limit how many Space_products to update.
     */
    limit?: number;
};
/**
 * Space_products updateManyAndReturn
 */
export type Space_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * The data used to update Space_products.
     */
    data: Prisma.XOR<Prisma.Space_productsUpdateManyMutationInput, Prisma.Space_productsUncheckedUpdateManyInput>;
    /**
     * Filter which Space_products to update
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * Limit how many Space_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * Space_products upsert
 */
export type Space_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the Space_products to update in case it exists.
     */
    where: Prisma.Space_productsWhereUniqueInput;
    /**
     * In case the Space_products found by the `where` argument doesn't exist, create a new Space_products with this data.
     */
    create: Prisma.XOR<Prisma.Space_productsCreateInput, Prisma.Space_productsUncheckedCreateInput>;
    /**
     * In case the Space_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.Space_productsUpdateInput, Prisma.Space_productsUncheckedUpdateInput>;
};
/**
 * Space_products delete
 */
export type Space_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
    /**
     * Filter which Space_products to delete.
     */
    where: Prisma.Space_productsWhereUniqueInput;
};
/**
 * Space_products deleteMany
 */
export type Space_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which Space_products to delete
     */
    where?: Prisma.Space_productsWhereInput;
    /**
     * Limit how many Space_products to delete.
     */
    limit?: number;
};
/**
 * Space_products.products
 */
export type Space_products$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products
     */
    select?: Prisma.productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products
     */
    omit?: Prisma.productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.productsInclude<ExtArgs> | null;
    where?: Prisma.productsWhereInput;
};
/**
 * Space_products without action
 */
export type Space_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Space_products
     */
    select?: Prisma.Space_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the Space_products
     */
    omit?: Prisma.Space_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.Space_productsInclude<ExtArgs> | null;
};
export {};
