import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model cross_sell_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 cross_sell_productsModel = runtime.Types.Result.DefaultSelection<Prisma.$cross_sell_productsPayload>;
export type AggregateCross_sell_products = {
    _count: Cross_sell_productsCountAggregateOutputType | null;
    _avg: Cross_sell_productsAvgAggregateOutputType | null;
    _sum: Cross_sell_productsSumAggregateOutputType | null;
    _min: Cross_sell_productsMinAggregateOutputType | null;
    _max: Cross_sell_productsMaxAggregateOutputType | null;
};
export type Cross_sell_productsAvgAggregateOutputType = {
    id: number | null;
    sort: number | null;
};
export type Cross_sell_productsSumAggregateOutputType = {
    id: number | null;
    sort: number | null;
};
export type Cross_sell_productsMinAggregateOutputType = {
    id: number | null;
    sort: number | null;
    user: string | null;
};
export type Cross_sell_productsMaxAggregateOutputType = {
    id: number | null;
    sort: number | null;
    user: string | null;
};
export type Cross_sell_productsCountAggregateOutputType = {
    id: number;
    sort: number;
    user: number;
    _all: number;
};
export type Cross_sell_productsAvgAggregateInputType = {
    id?: true;
    sort?: true;
};
export type Cross_sell_productsSumAggregateInputType = {
    id?: true;
    sort?: true;
};
export type Cross_sell_productsMinAggregateInputType = {
    id?: true;
    sort?: true;
    user?: true;
};
export type Cross_sell_productsMaxAggregateInputType = {
    id?: true;
    sort?: true;
    user?: true;
};
export type Cross_sell_productsCountAggregateInputType = {
    id?: true;
    sort?: true;
    user?: true;
    _all?: true;
};
export type Cross_sell_productsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which cross_sell_products to aggregate.
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cross_sell_products to fetch.
     */
    orderBy?: Prisma.cross_sell_productsOrderByWithRelationInput | Prisma.cross_sell_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.cross_sell_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cross_sell_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` cross_sell_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned cross_sell_products
    **/
    _count?: true | Cross_sell_productsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Cross_sell_productsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Cross_sell_productsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Cross_sell_productsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Cross_sell_productsMaxAggregateInputType;
};
export type GetCross_sell_productsAggregateType<T extends Cross_sell_productsAggregateArgs> = {
    [P in keyof T & keyof AggregateCross_sell_products]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCross_sell_products[P]> : Prisma.GetScalarType<T[P], AggregateCross_sell_products[P]>;
};
export type cross_sell_productsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.cross_sell_productsWhereInput;
    orderBy?: Prisma.cross_sell_productsOrderByWithAggregationInput | Prisma.cross_sell_productsOrderByWithAggregationInput[];
    by: Prisma.Cross_sell_productsScalarFieldEnum[] | Prisma.Cross_sell_productsScalarFieldEnum;
    having?: Prisma.cross_sell_productsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Cross_sell_productsCountAggregateInputType | true;
    _avg?: Cross_sell_productsAvgAggregateInputType;
    _sum?: Cross_sell_productsSumAggregateInputType;
    _min?: Cross_sell_productsMinAggregateInputType;
    _max?: Cross_sell_productsMaxAggregateInputType;
};
export type Cross_sell_productsGroupByOutputType = {
    id: number;
    sort: number | null;
    user: string | null;
    _count: Cross_sell_productsCountAggregateOutputType | null;
    _avg: Cross_sell_productsAvgAggregateOutputType | null;
    _sum: Cross_sell_productsSumAggregateOutputType | null;
    _min: Cross_sell_productsMinAggregateOutputType | null;
    _max: Cross_sell_productsMaxAggregateOutputType | null;
};
type GetCross_sell_productsGroupByPayload<T extends cross_sell_productsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Cross_sell_productsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Cross_sell_productsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Cross_sell_productsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Cross_sell_productsGroupByOutputType[P]>;
}>>;
export type cross_sell_productsWhereInput = {
    AND?: Prisma.cross_sell_productsWhereInput | Prisma.cross_sell_productsWhereInput[];
    OR?: Prisma.cross_sell_productsWhereInput[];
    NOT?: Prisma.cross_sell_productsWhereInput | Prisma.cross_sell_productsWhereInput[];
    id?: Prisma.IntFilter<"cross_sell_products"> | number;
    sort?: Prisma.IntNullableFilter<"cross_sell_products"> | number | null;
    user?: Prisma.UuidNullableFilter<"cross_sell_products"> | string | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
    cross_sell_products_products?: Prisma.Cross_sell_products_productsListRelationFilter;
};
export type cross_sell_productsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    directus_users?: Prisma.directus_usersOrderByWithRelationInput;
    cross_sell_products_products?: Prisma.cross_sell_products_productsOrderByRelationAggregateInput;
};
export type cross_sell_productsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.cross_sell_productsWhereInput | Prisma.cross_sell_productsWhereInput[];
    OR?: Prisma.cross_sell_productsWhereInput[];
    NOT?: Prisma.cross_sell_productsWhereInput | Prisma.cross_sell_productsWhereInput[];
    sort?: Prisma.IntNullableFilter<"cross_sell_products"> | number | null;
    user?: Prisma.UuidNullableFilter<"cross_sell_products"> | string | null;
    directus_users?: Prisma.XOR<Prisma.Directus_usersNullableScalarRelationFilter, Prisma.directus_usersWhereInput> | null;
    cross_sell_products_products?: Prisma.Cross_sell_products_productsListRelationFilter;
}, "id">;
export type cross_sell_productsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrderInput | Prisma.SortOrder;
    user?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.cross_sell_productsCountOrderByAggregateInput;
    _avg?: Prisma.cross_sell_productsAvgOrderByAggregateInput;
    _max?: Prisma.cross_sell_productsMaxOrderByAggregateInput;
    _min?: Prisma.cross_sell_productsMinOrderByAggregateInput;
    _sum?: Prisma.cross_sell_productsSumOrderByAggregateInput;
};
export type cross_sell_productsScalarWhereWithAggregatesInput = {
    AND?: Prisma.cross_sell_productsScalarWhereWithAggregatesInput | Prisma.cross_sell_productsScalarWhereWithAggregatesInput[];
    OR?: Prisma.cross_sell_productsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.cross_sell_productsScalarWhereWithAggregatesInput | Prisma.cross_sell_productsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"cross_sell_products"> | number;
    sort?: Prisma.IntNullableWithAggregatesFilter<"cross_sell_products"> | number | null;
    user?: Prisma.UuidNullableWithAggregatesFilter<"cross_sell_products"> | string | null;
};
export type cross_sell_productsCreateInput = {
    sort?: number | null;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutCross_sell_productsInput;
    cross_sell_products_products?: Prisma.cross_sell_products_productsCreateNestedManyWithoutCross_sell_productsInput;
};
export type cross_sell_productsUncheckedCreateInput = {
    id?: number;
    sort?: number | null;
    user?: string | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUncheckedCreateNestedManyWithoutCross_sell_productsInput;
};
export type cross_sell_productsUpdateInput = {
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_users?: Prisma.directus_usersUpdateOneWithoutCross_sell_productsNestedInput;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUpdateManyWithoutCross_sell_productsNestedInput;
};
export type cross_sell_productsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUncheckedUpdateManyWithoutCross_sell_productsNestedInput;
};
export type cross_sell_productsCreateManyInput = {
    id?: number;
    sort?: number | null;
    user?: string | null;
};
export type cross_sell_productsUpdateManyMutationInput = {
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type cross_sell_productsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type cross_sell_productsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
};
export type cross_sell_productsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type cross_sell_productsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
};
export type cross_sell_productsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
    user?: Prisma.SortOrder;
};
export type cross_sell_productsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    sort?: Prisma.SortOrder;
};
export type Cross_sell_productsNullableScalarRelationFilter = {
    is?: Prisma.cross_sell_productsWhereInput | null;
    isNot?: Prisma.cross_sell_productsWhereInput | null;
};
export type Cross_sell_productsListRelationFilter = {
    every?: Prisma.cross_sell_productsWhereInput;
    some?: Prisma.cross_sell_productsWhereInput;
    none?: Prisma.cross_sell_productsWhereInput;
};
export type cross_sell_productsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type cross_sell_productsCreateNestedOneWithoutCross_sell_products_productsInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedCreateWithoutCross_sell_products_productsInput>;
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutCross_sell_products_productsInput;
    connect?: Prisma.cross_sell_productsWhereUniqueInput;
};
export type cross_sell_productsUpdateOneWithoutCross_sell_products_productsNestedInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedCreateWithoutCross_sell_products_productsInput>;
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutCross_sell_products_productsInput;
    upsert?: Prisma.cross_sell_productsUpsertWithoutCross_sell_products_productsInput;
    disconnect?: Prisma.cross_sell_productsWhereInput | boolean;
    delete?: Prisma.cross_sell_productsWhereInput | boolean;
    connect?: Prisma.cross_sell_productsWhereUniqueInput;
    update?: Prisma.XOR<Prisma.XOR<Prisma.cross_sell_productsUpdateToOneWithWhereWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUpdateWithoutCross_sell_products_productsInput>, Prisma.cross_sell_productsUncheckedUpdateWithoutCross_sell_products_productsInput>;
};
export type cross_sell_productsCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput> | Prisma.cross_sell_productsCreateWithoutDirectus_usersInput[] | Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput | Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.cross_sell_productsCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
};
export type cross_sell_productsUncheckedCreateNestedManyWithoutDirectus_usersInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput> | Prisma.cross_sell_productsCreateWithoutDirectus_usersInput[] | Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput | Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput[];
    createMany?: Prisma.cross_sell_productsCreateManyDirectus_usersInputEnvelope;
    connect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
};
export type cross_sell_productsUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput> | Prisma.cross_sell_productsCreateWithoutDirectus_usersInput[] | Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput | Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.cross_sell_productsUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.cross_sell_productsUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.cross_sell_productsCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    disconnect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    delete?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    connect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    update?: Prisma.cross_sell_productsUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.cross_sell_productsUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.cross_sell_productsUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.cross_sell_productsUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.cross_sell_productsScalarWhereInput | Prisma.cross_sell_productsScalarWhereInput[];
};
export type cross_sell_productsUncheckedUpdateManyWithoutDirectus_usersNestedInput = {
    create?: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput> | Prisma.cross_sell_productsCreateWithoutDirectus_usersInput[] | Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput[];
    connectOrCreate?: Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput | Prisma.cross_sell_productsCreateOrConnectWithoutDirectus_usersInput[];
    upsert?: Prisma.cross_sell_productsUpsertWithWhereUniqueWithoutDirectus_usersInput | Prisma.cross_sell_productsUpsertWithWhereUniqueWithoutDirectus_usersInput[];
    createMany?: Prisma.cross_sell_productsCreateManyDirectus_usersInputEnvelope;
    set?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    disconnect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    delete?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    connect?: Prisma.cross_sell_productsWhereUniqueInput | Prisma.cross_sell_productsWhereUniqueInput[];
    update?: Prisma.cross_sell_productsUpdateWithWhereUniqueWithoutDirectus_usersInput | Prisma.cross_sell_productsUpdateWithWhereUniqueWithoutDirectus_usersInput[];
    updateMany?: Prisma.cross_sell_productsUpdateManyWithWhereWithoutDirectus_usersInput | Prisma.cross_sell_productsUpdateManyWithWhereWithoutDirectus_usersInput[];
    deleteMany?: Prisma.cross_sell_productsScalarWhereInput | Prisma.cross_sell_productsScalarWhereInput[];
};
export type cross_sell_productsCreateWithoutCross_sell_products_productsInput = {
    sort?: number | null;
    directus_users?: Prisma.directus_usersCreateNestedOneWithoutCross_sell_productsInput;
};
export type cross_sell_productsUncheckedCreateWithoutCross_sell_products_productsInput = {
    id?: number;
    sort?: number | null;
    user?: string | null;
};
export type cross_sell_productsCreateOrConnectWithoutCross_sell_products_productsInput = {
    where: Prisma.cross_sell_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedCreateWithoutCross_sell_products_productsInput>;
};
export type cross_sell_productsUpsertWithoutCross_sell_products_productsInput = {
    update: Prisma.XOR<Prisma.cross_sell_productsUpdateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedUpdateWithoutCross_sell_products_productsInput>;
    create: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedCreateWithoutCross_sell_products_productsInput>;
    where?: Prisma.cross_sell_productsWhereInput;
};
export type cross_sell_productsUpdateToOneWithWhereWithoutCross_sell_products_productsInput = {
    where?: Prisma.cross_sell_productsWhereInput;
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateWithoutCross_sell_products_productsInput, Prisma.cross_sell_productsUncheckedUpdateWithoutCross_sell_products_productsInput>;
};
export type cross_sell_productsUpdateWithoutCross_sell_products_productsInput = {
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    directus_users?: Prisma.directus_usersUpdateOneWithoutCross_sell_productsNestedInput;
};
export type cross_sell_productsUncheckedUpdateWithoutCross_sell_products_productsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    user?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type cross_sell_productsCreateWithoutDirectus_usersInput = {
    sort?: number | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsCreateNestedManyWithoutCross_sell_productsInput;
};
export type cross_sell_productsUncheckedCreateWithoutDirectus_usersInput = {
    id?: number;
    sort?: number | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUncheckedCreateNestedManyWithoutCross_sell_productsInput;
};
export type cross_sell_productsCreateOrConnectWithoutDirectus_usersInput = {
    where: Prisma.cross_sell_productsWhereUniqueInput;
    create: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput>;
};
export type cross_sell_productsCreateManyDirectus_usersInputEnvelope = {
    data: Prisma.cross_sell_productsCreateManyDirectus_usersInput | Prisma.cross_sell_productsCreateManyDirectus_usersInput[];
    skipDuplicates?: boolean;
};
export type cross_sell_productsUpsertWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.cross_sell_productsWhereUniqueInput;
    update: Prisma.XOR<Prisma.cross_sell_productsUpdateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedUpdateWithoutDirectus_usersInput>;
    create: Prisma.XOR<Prisma.cross_sell_productsCreateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedCreateWithoutDirectus_usersInput>;
};
export type cross_sell_productsUpdateWithWhereUniqueWithoutDirectus_usersInput = {
    where: Prisma.cross_sell_productsWhereUniqueInput;
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateWithoutDirectus_usersInput, Prisma.cross_sell_productsUncheckedUpdateWithoutDirectus_usersInput>;
};
export type cross_sell_productsUpdateManyWithWhereWithoutDirectus_usersInput = {
    where: Prisma.cross_sell_productsScalarWhereInput;
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateManyMutationInput, Prisma.cross_sell_productsUncheckedUpdateManyWithoutDirectus_usersInput>;
};
export type cross_sell_productsScalarWhereInput = {
    AND?: Prisma.cross_sell_productsScalarWhereInput | Prisma.cross_sell_productsScalarWhereInput[];
    OR?: Prisma.cross_sell_productsScalarWhereInput[];
    NOT?: Prisma.cross_sell_productsScalarWhereInput | Prisma.cross_sell_productsScalarWhereInput[];
    id?: Prisma.IntFilter<"cross_sell_products"> | number;
    sort?: Prisma.IntNullableFilter<"cross_sell_products"> | number | null;
    user?: Prisma.UuidNullableFilter<"cross_sell_products"> | string | null;
};
export type cross_sell_productsCreateManyDirectus_usersInput = {
    id?: number;
    sort?: number | null;
};
export type cross_sell_productsUpdateWithoutDirectus_usersInput = {
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUpdateManyWithoutCross_sell_productsNestedInput;
};
export type cross_sell_productsUncheckedUpdateWithoutDirectus_usersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    cross_sell_products_products?: Prisma.cross_sell_products_productsUncheckedUpdateManyWithoutCross_sell_productsNestedInput;
};
export type cross_sell_productsUncheckedUpdateManyWithoutDirectus_usersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sort?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
/**
 * Count Type Cross_sell_productsCountOutputType
 */
export type Cross_sell_productsCountOutputType = {
    cross_sell_products_products: number;
};
export type Cross_sell_productsCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    cross_sell_products_products?: boolean | Cross_sell_productsCountOutputTypeCountCross_sell_products_productsArgs;
};
/**
 * Cross_sell_productsCountOutputType without action
 */
export type Cross_sell_productsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the Cross_sell_productsCountOutputType
     */
    select?: Prisma.Cross_sell_productsCountOutputTypeSelect<ExtArgs> | null;
};
/**
 * Cross_sell_productsCountOutputType without action
 */
export type Cross_sell_productsCountOutputTypeCountCross_sell_products_productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.cross_sell_products_productsWhereInput;
};
export type cross_sell_productsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    sort?: boolean;
    user?: boolean;
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
    cross_sell_products_products?: boolean | Prisma.cross_sell_products$cross_sell_products_productsArgs<ExtArgs>;
    _count?: boolean | Prisma.Cross_sell_productsCountOutputTypeDefaultArgs<ExtArgs>;
}, ExtArgs["result"]["cross_sell_products"]>;
export type cross_sell_productsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    sort?: boolean;
    user?: boolean;
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["cross_sell_products"]>;
export type cross_sell_productsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    sort?: boolean;
    user?: boolean;
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
}, ExtArgs["result"]["cross_sell_products"]>;
export type cross_sell_productsSelectScalar = {
    id?: boolean;
    sort?: boolean;
    user?: boolean;
};
export type cross_sell_productsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sort" | "user", ExtArgs["result"]["cross_sell_products"]>;
export type cross_sell_productsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
    cross_sell_products_products?: boolean | Prisma.cross_sell_products$cross_sell_products_productsArgs<ExtArgs>;
    _count?: boolean | Prisma.Cross_sell_productsCountOutputTypeDefaultArgs<ExtArgs>;
};
export type cross_sell_productsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
};
export type cross_sell_productsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    directus_users?: boolean | Prisma.cross_sell_products$directus_usersArgs<ExtArgs>;
};
export type $cross_sell_productsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "cross_sell_products";
    objects: {
        directus_users: Prisma.$directus_usersPayload<ExtArgs> | null;
        cross_sell_products_products: Prisma.$cross_sell_products_productsPayload<ExtArgs>[];
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        sort: number | null;
        user: string | null;
    }, ExtArgs["result"]["cross_sell_products"]>;
    composites: {};
};
export type cross_sell_productsGetPayload<S extends boolean | null | undefined | cross_sell_productsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload, S>;
export type cross_sell_productsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<cross_sell_productsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Cross_sell_productsCountAggregateInputType | true;
};
export interface cross_sell_productsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['cross_sell_products'];
        meta: {
            name: 'cross_sell_products';
        };
    };
    /**
     * Find zero or one Cross_sell_products that matches the filter.
     * @param {cross_sell_productsFindUniqueArgs} args - Arguments to find a Cross_sell_products
     * @example
     * // Get one Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends cross_sell_productsFindUniqueArgs>(args: Prisma.SelectSubset<T, cross_sell_productsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Cross_sell_products that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {cross_sell_productsFindUniqueOrThrowArgs} args - Arguments to find a Cross_sell_products
     * @example
     * // Get one Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends cross_sell_productsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, cross_sell_productsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Cross_sell_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 {cross_sell_productsFindFirstArgs} args - Arguments to find a Cross_sell_products
     * @example
     * // Get one Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends cross_sell_productsFindFirstArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsFindFirstArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Cross_sell_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 {cross_sell_productsFindFirstOrThrowArgs} args - Arguments to find a Cross_sell_products
     * @example
     * // Get one Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends cross_sell_productsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Cross_sell_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 {cross_sell_productsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findMany()
     *
     * // Get first 10 Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const cross_sell_productsWithIdOnly = await prisma.cross_sell_products.findMany({ select: { id: true } })
     *
     */
    findMany<T extends cross_sell_productsFindManyArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Cross_sell_products.
     * @param {cross_sell_productsCreateArgs} args - Arguments to create a Cross_sell_products.
     * @example
     * // Create one Cross_sell_products
     * const Cross_sell_products = await prisma.cross_sell_products.create({
     *   data: {
     *     // ... data to create a Cross_sell_products
     *   }
     * })
     *
     */
    create<T extends cross_sell_productsCreateArgs>(args: Prisma.SelectSubset<T, cross_sell_productsCreateArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Cross_sell_products.
     * @param {cross_sell_productsCreateManyArgs} args - Arguments to create many Cross_sell_products.
     * @example
     * // Create many Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends cross_sell_productsCreateManyArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Cross_sell_products and returns the data saved in the database.
     * @param {cross_sell_productsCreateManyAndReturnArgs} args - Arguments to create many Cross_sell_products.
     * @example
     * // Create many Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Cross_sell_products and only return the `id`
     * const cross_sell_productsWithIdOnly = await prisma.cross_sell_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 cross_sell_productsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Cross_sell_products.
     * @param {cross_sell_productsDeleteArgs} args - Arguments to delete one Cross_sell_products.
     * @example
     * // Delete one Cross_sell_products
     * const Cross_sell_products = await prisma.cross_sell_products.delete({
     *   where: {
     *     // ... filter to delete one Cross_sell_products
     *   }
     * })
     *
     */
    delete<T extends cross_sell_productsDeleteArgs>(args: Prisma.SelectSubset<T, cross_sell_productsDeleteArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Cross_sell_products.
     * @param {cross_sell_productsUpdateArgs} args - Arguments to update one Cross_sell_products.
     * @example
     * // Update one Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends cross_sell_productsUpdateArgs>(args: Prisma.SelectSubset<T, cross_sell_productsUpdateArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Cross_sell_products.
     * @param {cross_sell_productsDeleteManyArgs} args - Arguments to filter Cross_sell_products to delete.
     * @example
     * // Delete a few Cross_sell_products
     * const { count } = await prisma.cross_sell_products.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends cross_sell_productsDeleteManyArgs>(args?: Prisma.SelectSubset<T, cross_sell_productsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Cross_sell_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cross_sell_productsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends cross_sell_productsUpdateManyArgs>(args: Prisma.SelectSubset<T, cross_sell_productsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Cross_sell_products and returns the data updated in the database.
     * @param {cross_sell_productsUpdateManyAndReturnArgs} args - Arguments to update many Cross_sell_products.
     * @example
     * // Update many Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Cross_sell_products and only return the `id`
     * const cross_sell_productsWithIdOnly = await prisma.cross_sell_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 cross_sell_productsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, cross_sell_productsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Cross_sell_products.
     * @param {cross_sell_productsUpsertArgs} args - Arguments to update or create a Cross_sell_products.
     * @example
     * // Update or create a Cross_sell_products
     * const cross_sell_products = await prisma.cross_sell_products.upsert({
     *   create: {
     *     // ... data to create a Cross_sell_products
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Cross_sell_products we want to update
     *   }
     * })
     */
    upsert<T extends cross_sell_productsUpsertArgs>(args: Prisma.SelectSubset<T, cross_sell_productsUpsertArgs<ExtArgs>>): Prisma.Prisma__cross_sell_productsClient<runtime.Types.Result.GetResult<Prisma.$cross_sell_productsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Cross_sell_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cross_sell_productsCountArgs} args - Arguments to filter Cross_sell_products to count.
     * @example
     * // Count the number of Cross_sell_products
     * const count = await prisma.cross_sell_products.count({
     *   where: {
     *     // ... the filter for the Cross_sell_products we want to count
     *   }
     * })
    **/
    count<T extends cross_sell_productsCountArgs>(args?: Prisma.Subset<T, cross_sell_productsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Cross_sell_productsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Cross_sell_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Cross_sell_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 Cross_sell_productsAggregateArgs>(args: Prisma.Subset<T, Cross_sell_productsAggregateArgs>): Prisma.PrismaPromise<GetCross_sell_productsAggregateType<T>>;
    /**
     * Group by Cross_sell_products.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {cross_sell_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 cross_sell_productsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: cross_sell_productsGroupByArgs['orderBy'];
    } : {
        orderBy?: cross_sell_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, cross_sell_productsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCross_sell_productsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the cross_sell_products model
     */
    readonly fields: cross_sell_productsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for cross_sell_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__cross_sell_productsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    directus_users<T extends Prisma.cross_sell_products$directus_usersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.cross_sell_products$directus_usersArgs<ExtArgs>>): Prisma.Prisma__directus_usersClient<runtime.Types.Result.GetResult<Prisma.$directus_usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    cross_sell_products_products<T extends Prisma.cross_sell_products$cross_sell_products_productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.cross_sell_products$cross_sell_products_productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$cross_sell_products_productsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
    /**
     * 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 cross_sell_products model
 */
export interface cross_sell_productsFieldRefs {
    readonly id: Prisma.FieldRef<"cross_sell_products", 'Int'>;
    readonly sort: Prisma.FieldRef<"cross_sell_products", 'Int'>;
    readonly user: Prisma.FieldRef<"cross_sell_products", 'String'>;
}
/**
 * cross_sell_products findUnique
 */
export type cross_sell_productsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cross_sell_products to fetch.
     */
    where: Prisma.cross_sell_productsWhereUniqueInput;
};
/**
 * cross_sell_products findUniqueOrThrow
 */
export type cross_sell_productsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cross_sell_products to fetch.
     */
    where: Prisma.cross_sell_productsWhereUniqueInput;
};
/**
 * cross_sell_products findFirst
 */
export type cross_sell_productsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cross_sell_products to fetch.
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cross_sell_products to fetch.
     */
    orderBy?: Prisma.cross_sell_productsOrderByWithRelationInput | Prisma.cross_sell_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for cross_sell_products.
     */
    cursor?: Prisma.cross_sell_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cross_sell_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` cross_sell_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of cross_sell_products.
     */
    distinct?: Prisma.Cross_sell_productsScalarFieldEnum | Prisma.Cross_sell_productsScalarFieldEnum[];
};
/**
 * cross_sell_products findFirstOrThrow
 */
export type cross_sell_productsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cross_sell_products to fetch.
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cross_sell_products to fetch.
     */
    orderBy?: Prisma.cross_sell_productsOrderByWithRelationInput | Prisma.cross_sell_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for cross_sell_products.
     */
    cursor?: Prisma.cross_sell_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cross_sell_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` cross_sell_products.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of cross_sell_products.
     */
    distinct?: Prisma.Cross_sell_productsScalarFieldEnum | Prisma.Cross_sell_productsScalarFieldEnum[];
};
/**
 * cross_sell_products findMany
 */
export type cross_sell_productsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter, which cross_sell_products to fetch.
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of cross_sell_products to fetch.
     */
    orderBy?: Prisma.cross_sell_productsOrderByWithRelationInput | Prisma.cross_sell_productsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing cross_sell_products.
     */
    cursor?: Prisma.cross_sell_productsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` cross_sell_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` cross_sell_products.
     */
    skip?: number;
    distinct?: Prisma.Cross_sell_productsScalarFieldEnum | Prisma.Cross_sell_productsScalarFieldEnum[];
};
/**
 * cross_sell_products create
 */
export type cross_sell_productsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * The data needed to create a cross_sell_products.
     */
    data?: Prisma.XOR<Prisma.cross_sell_productsCreateInput, Prisma.cross_sell_productsUncheckedCreateInput>;
};
/**
 * cross_sell_products createMany
 */
export type cross_sell_productsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many cross_sell_products.
     */
    data: Prisma.cross_sell_productsCreateManyInput | Prisma.cross_sell_productsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * cross_sell_products createManyAndReturn
 */
export type cross_sell_productsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * The data used to create many cross_sell_products.
     */
    data: Prisma.cross_sell_productsCreateManyInput | Prisma.cross_sell_productsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * cross_sell_products update
 */
export type cross_sell_productsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * The data needed to update a cross_sell_products.
     */
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateInput, Prisma.cross_sell_productsUncheckedUpdateInput>;
    /**
     * Choose, which cross_sell_products to update.
     */
    where: Prisma.cross_sell_productsWhereUniqueInput;
};
/**
 * cross_sell_products updateMany
 */
export type cross_sell_productsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update cross_sell_products.
     */
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateManyMutationInput, Prisma.cross_sell_productsUncheckedUpdateManyInput>;
    /**
     * Filter which cross_sell_products to update
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * Limit how many cross_sell_products to update.
     */
    limit?: number;
};
/**
 * cross_sell_products updateManyAndReturn
 */
export type cross_sell_productsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * The data used to update cross_sell_products.
     */
    data: Prisma.XOR<Prisma.cross_sell_productsUpdateManyMutationInput, Prisma.cross_sell_productsUncheckedUpdateManyInput>;
    /**
     * Filter which cross_sell_products to update
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * Limit how many cross_sell_products to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * cross_sell_products upsert
 */
export type cross_sell_productsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * The filter to search for the cross_sell_products to update in case it exists.
     */
    where: Prisma.cross_sell_productsWhereUniqueInput;
    /**
     * In case the cross_sell_products found by the `where` argument doesn't exist, create a new cross_sell_products with this data.
     */
    create: Prisma.XOR<Prisma.cross_sell_productsCreateInput, Prisma.cross_sell_productsUncheckedCreateInput>;
    /**
     * In case the cross_sell_products was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.cross_sell_productsUpdateInput, Prisma.cross_sell_productsUncheckedUpdateInput>;
};
/**
 * cross_sell_products delete
 */
export type cross_sell_productsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
    /**
     * Filter which cross_sell_products to delete.
     */
    where: Prisma.cross_sell_productsWhereUniqueInput;
};
/**
 * cross_sell_products deleteMany
 */
export type cross_sell_productsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which cross_sell_products to delete
     */
    where?: Prisma.cross_sell_productsWhereInput;
    /**
     * Limit how many cross_sell_products to delete.
     */
    limit?: number;
};
/**
 * cross_sell_products.directus_users
 */
export type cross_sell_products$directus_usersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the directus_users
     */
    select?: Prisma.directus_usersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the directus_users
     */
    omit?: Prisma.directus_usersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.directus_usersInclude<ExtArgs> | null;
    where?: Prisma.directus_usersWhereInput;
};
/**
 * cross_sell_products.cross_sell_products_products
 */
export type cross_sell_products$cross_sell_products_productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products_products
     */
    select?: Prisma.cross_sell_products_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products_products
     */
    omit?: Prisma.cross_sell_products_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_products_productsInclude<ExtArgs> | null;
    where?: Prisma.cross_sell_products_productsWhereInput;
    orderBy?: Prisma.cross_sell_products_productsOrderByWithRelationInput | Prisma.cross_sell_products_productsOrderByWithRelationInput[];
    cursor?: Prisma.cross_sell_products_productsWhereUniqueInput;
    take?: number;
    skip?: number;
    distinct?: Prisma.Cross_sell_products_productsScalarFieldEnum | Prisma.Cross_sell_products_productsScalarFieldEnum[];
};
/**
 * cross_sell_products without action
 */
export type cross_sell_productsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the cross_sell_products
     */
    select?: Prisma.cross_sell_productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the cross_sell_products
     */
    omit?: Prisma.cross_sell_productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.cross_sell_productsInclude<ExtArgs> | null;
};
export {};
