import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model variants
 * 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 variantsModel = runtime.Types.Result.DefaultSelection<Prisma.$variantsPayload>;
export type AggregateVariants = {
    _count: VariantsCountAggregateOutputType | null;
    _avg: VariantsAvgAggregateOutputType | null;
    _sum: VariantsSumAggregateOutputType | null;
    _min: VariantsMinAggregateOutputType | null;
    _max: VariantsMaxAggregateOutputType | null;
};
export type VariantsAvgAggregateOutputType = {
    id: number | null;
    product_id: number | null;
    price: runtime.Decimal | null;
    cost: runtime.Decimal | null;
};
export type VariantsSumAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
    price: runtime.Decimal | null;
    cost: runtime.Decimal | null;
};
export type VariantsMinAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
    sku: string | null;
    price: runtime.Decimal | null;
    cost: runtime.Decimal | null;
    barcode: string | null;
    created_at: Date | null;
    product_uuid: string | null;
};
export type VariantsMaxAggregateOutputType = {
    id: number | null;
    product_id: bigint | null;
    sku: string | null;
    price: runtime.Decimal | null;
    cost: runtime.Decimal | null;
    barcode: string | null;
    created_at: Date | null;
    product_uuid: string | null;
};
export type VariantsCountAggregateOutputType = {
    id: number;
    product_id: number;
    sku: number;
    options_json: number;
    price: number;
    cost: number;
    barcode: number;
    created_at: number;
    product_uuid: number;
    _all: number;
};
export type VariantsAvgAggregateInputType = {
    id?: true;
    product_id?: true;
    price?: true;
    cost?: true;
};
export type VariantsSumAggregateInputType = {
    id?: true;
    product_id?: true;
    price?: true;
    cost?: true;
};
export type VariantsMinAggregateInputType = {
    id?: true;
    product_id?: true;
    sku?: true;
    price?: true;
    cost?: true;
    barcode?: true;
    created_at?: true;
    product_uuid?: true;
};
export type VariantsMaxAggregateInputType = {
    id?: true;
    product_id?: true;
    sku?: true;
    price?: true;
    cost?: true;
    barcode?: true;
    created_at?: true;
    product_uuid?: true;
};
export type VariantsCountAggregateInputType = {
    id?: true;
    product_id?: true;
    sku?: true;
    options_json?: true;
    price?: true;
    cost?: true;
    barcode?: true;
    created_at?: true;
    product_uuid?: true;
    _all?: true;
};
export type VariantsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which variants to aggregate.
     */
    where?: Prisma.variantsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of variants to fetch.
     */
    orderBy?: Prisma.variantsOrderByWithRelationInput | Prisma.variantsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.variantsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` variants 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` variants.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned variants
    **/
    _count?: true | VariantsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: VariantsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: VariantsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: VariantsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: VariantsMaxAggregateInputType;
};
export type GetVariantsAggregateType<T extends VariantsAggregateArgs> = {
    [P in keyof T & keyof AggregateVariants]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateVariants[P]> : Prisma.GetScalarType<T[P], AggregateVariants[P]>;
};
export type variantsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.variantsWhereInput;
    orderBy?: Prisma.variantsOrderByWithAggregationInput | Prisma.variantsOrderByWithAggregationInput[];
    by: Prisma.VariantsScalarFieldEnum[] | Prisma.VariantsScalarFieldEnum;
    having?: Prisma.variantsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: VariantsCountAggregateInputType | true;
    _avg?: VariantsAvgAggregateInputType;
    _sum?: VariantsSumAggregateInputType;
    _min?: VariantsMinAggregateInputType;
    _max?: VariantsMaxAggregateInputType;
};
export type VariantsGroupByOutputType = {
    id: number;
    product_id: bigint | null;
    sku: string | null;
    options_json: runtime.JsonValue | null;
    price: runtime.Decimal | null;
    cost: runtime.Decimal | null;
    barcode: string | null;
    created_at: Date | null;
    product_uuid: string | null;
    _count: VariantsCountAggregateOutputType | null;
    _avg: VariantsAvgAggregateOutputType | null;
    _sum: VariantsSumAggregateOutputType | null;
    _min: VariantsMinAggregateOutputType | null;
    _max: VariantsMaxAggregateOutputType | null;
};
type GetVariantsGroupByPayload<T extends variantsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<VariantsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof VariantsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], VariantsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], VariantsGroupByOutputType[P]>;
}>>;
export type variantsWhereInput = {
    AND?: Prisma.variantsWhereInput | Prisma.variantsWhereInput[];
    OR?: Prisma.variantsWhereInput[];
    NOT?: Prisma.variantsWhereInput | Prisma.variantsWhereInput[];
    id?: Prisma.IntFilter<"variants"> | number;
    product_id?: Prisma.BigIntNullableFilter<"variants"> | bigint | number | null;
    sku?: Prisma.StringNullableFilter<"variants"> | string | null;
    options_json?: Prisma.JsonNullableFilter<"variants">;
    price?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.StringNullableFilter<"variants"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"variants"> | Date | string | null;
    product_uuid?: Prisma.UuidNullableFilter<"variants"> | string | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type variantsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    sku?: Prisma.SortOrderInput | Prisma.SortOrder;
    options_json?: Prisma.SortOrderInput | Prisma.SortOrder;
    price?: Prisma.SortOrderInput | Prisma.SortOrder;
    cost?: Prisma.SortOrderInput | Prisma.SortOrder;
    barcode?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    product_uuid?: Prisma.SortOrderInput | Prisma.SortOrder;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type variantsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.variantsWhereInput | Prisma.variantsWhereInput[];
    OR?: Prisma.variantsWhereInput[];
    NOT?: Prisma.variantsWhereInput | Prisma.variantsWhereInput[];
    product_id?: Prisma.BigIntNullableFilter<"variants"> | bigint | number | null;
    sku?: Prisma.StringNullableFilter<"variants"> | string | null;
    options_json?: Prisma.JsonNullableFilter<"variants">;
    price?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.StringNullableFilter<"variants"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"variants"> | Date | string | null;
    product_uuid?: Prisma.UuidNullableFilter<"variants"> | string | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type variantsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    sku?: Prisma.SortOrderInput | Prisma.SortOrder;
    options_json?: Prisma.SortOrderInput | Prisma.SortOrder;
    price?: Prisma.SortOrderInput | Prisma.SortOrder;
    cost?: Prisma.SortOrderInput | Prisma.SortOrder;
    barcode?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    product_uuid?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.variantsCountOrderByAggregateInput;
    _avg?: Prisma.variantsAvgOrderByAggregateInput;
    _max?: Prisma.variantsMaxOrderByAggregateInput;
    _min?: Prisma.variantsMinOrderByAggregateInput;
    _sum?: Prisma.variantsSumOrderByAggregateInput;
};
export type variantsScalarWhereWithAggregatesInput = {
    AND?: Prisma.variantsScalarWhereWithAggregatesInput | Prisma.variantsScalarWhereWithAggregatesInput[];
    OR?: Prisma.variantsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.variantsScalarWhereWithAggregatesInput | Prisma.variantsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"variants"> | number;
    product_id?: Prisma.BigIntNullableWithAggregatesFilter<"variants"> | bigint | number | null;
    sku?: Prisma.StringNullableWithAggregatesFilter<"variants"> | string | null;
    options_json?: Prisma.JsonNullableWithAggregatesFilter<"variants">;
    price?: Prisma.DecimalNullableWithAggregatesFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.DecimalNullableWithAggregatesFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.StringNullableWithAggregatesFilter<"variants"> | string | null;
    created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"variants"> | Date | string | null;
    product_uuid?: Prisma.UuidNullableWithAggregatesFilter<"variants"> | string | null;
};
export type variantsCreateInput = {
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
    products?: Prisma.productsCreateNestedOneWithoutVariantsInput;
};
export type variantsUncheckedCreateInput = {
    id?: number;
    product_id?: bigint | number | null;
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
};
export type variantsUpdateInput = {
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    products?: Prisma.productsUpdateOneWithoutVariantsNestedInput;
};
export type variantsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    product_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type variantsCreateManyInput = {
    id?: number;
    product_id?: bigint | number | null;
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
};
export type variantsUpdateManyMutationInput = {
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type variantsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    product_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type VariantsListRelationFilter = {
    every?: Prisma.variantsWhereInput;
    some?: Prisma.variantsWhereInput;
    none?: Prisma.variantsWhereInput;
};
export type variantsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type variantsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    sku?: Prisma.SortOrder;
    options_json?: Prisma.SortOrder;
    price?: Prisma.SortOrder;
    cost?: Prisma.SortOrder;
    barcode?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    product_uuid?: Prisma.SortOrder;
};
export type variantsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    price?: Prisma.SortOrder;
    cost?: Prisma.SortOrder;
};
export type variantsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    sku?: Prisma.SortOrder;
    price?: Prisma.SortOrder;
    cost?: Prisma.SortOrder;
    barcode?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    product_uuid?: Prisma.SortOrder;
};
export type variantsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    sku?: Prisma.SortOrder;
    price?: Prisma.SortOrder;
    cost?: Prisma.SortOrder;
    barcode?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    product_uuid?: Prisma.SortOrder;
};
export type variantsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    product_id?: Prisma.SortOrder;
    price?: Prisma.SortOrder;
    cost?: Prisma.SortOrder;
};
export type variantsCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput> | Prisma.variantsCreateWithoutProductsInput[] | Prisma.variantsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.variantsCreateOrConnectWithoutProductsInput | Prisma.variantsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.variantsCreateManyProductsInputEnvelope;
    connect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
};
export type variantsUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput> | Prisma.variantsCreateWithoutProductsInput[] | Prisma.variantsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.variantsCreateOrConnectWithoutProductsInput | Prisma.variantsCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.variantsCreateManyProductsInputEnvelope;
    connect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
};
export type variantsUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput> | Prisma.variantsCreateWithoutProductsInput[] | Prisma.variantsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.variantsCreateOrConnectWithoutProductsInput | Prisma.variantsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.variantsUpsertWithWhereUniqueWithoutProductsInput | Prisma.variantsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.variantsCreateManyProductsInputEnvelope;
    set?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    disconnect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    delete?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    connect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    update?: Prisma.variantsUpdateWithWhereUniqueWithoutProductsInput | Prisma.variantsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.variantsUpdateManyWithWhereWithoutProductsInput | Prisma.variantsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.variantsScalarWhereInput | Prisma.variantsScalarWhereInput[];
};
export type variantsUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput> | Prisma.variantsCreateWithoutProductsInput[] | Prisma.variantsUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.variantsCreateOrConnectWithoutProductsInput | Prisma.variantsCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.variantsUpsertWithWhereUniqueWithoutProductsInput | Prisma.variantsUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.variantsCreateManyProductsInputEnvelope;
    set?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    disconnect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    delete?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    connect?: Prisma.variantsWhereUniqueInput | Prisma.variantsWhereUniqueInput[];
    update?: Prisma.variantsUpdateWithWhereUniqueWithoutProductsInput | Prisma.variantsUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.variantsUpdateManyWithWhereWithoutProductsInput | Prisma.variantsUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.variantsScalarWhereInput | Prisma.variantsScalarWhereInput[];
};
export type variantsCreateWithoutProductsInput = {
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
};
export type variantsUncheckedCreateWithoutProductsInput = {
    id?: number;
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
};
export type variantsCreateOrConnectWithoutProductsInput = {
    where: Prisma.variantsWhereUniqueInput;
    create: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput>;
};
export type variantsCreateManyProductsInputEnvelope = {
    data: Prisma.variantsCreateManyProductsInput | Prisma.variantsCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type variantsUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.variantsWhereUniqueInput;
    update: Prisma.XOR<Prisma.variantsUpdateWithoutProductsInput, Prisma.variantsUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.variantsCreateWithoutProductsInput, Prisma.variantsUncheckedCreateWithoutProductsInput>;
};
export type variantsUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.variantsWhereUniqueInput;
    data: Prisma.XOR<Prisma.variantsUpdateWithoutProductsInput, Prisma.variantsUncheckedUpdateWithoutProductsInput>;
};
export type variantsUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.variantsScalarWhereInput;
    data: Prisma.XOR<Prisma.variantsUpdateManyMutationInput, Prisma.variantsUncheckedUpdateManyWithoutProductsInput>;
};
export type variantsScalarWhereInput = {
    AND?: Prisma.variantsScalarWhereInput | Prisma.variantsScalarWhereInput[];
    OR?: Prisma.variantsScalarWhereInput[];
    NOT?: Prisma.variantsScalarWhereInput | Prisma.variantsScalarWhereInput[];
    id?: Prisma.IntFilter<"variants"> | number;
    product_id?: Prisma.BigIntNullableFilter<"variants"> | bigint | number | null;
    sku?: Prisma.StringNullableFilter<"variants"> | string | null;
    options_json?: Prisma.JsonNullableFilter<"variants">;
    price?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.DecimalNullableFilter<"variants"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.StringNullableFilter<"variants"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"variants"> | Date | string | null;
    product_uuid?: Prisma.UuidNullableFilter<"variants"> | string | null;
};
export type variantsCreateManyProductsInput = {
    id?: number;
    sku?: string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: string | null;
    created_at?: Date | string | null;
    product_uuid?: string | null;
};
export type variantsUpdateWithoutProductsInput = {
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type variantsUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type variantsUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    sku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    options_json?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    cost?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
    barcode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    product_uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
};
export type variantsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    sku?: boolean;
    options_json?: boolean;
    price?: boolean;
    cost?: boolean;
    barcode?: boolean;
    created_at?: boolean;
    product_uuid?: boolean;
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
}, ExtArgs["result"]["variants"]>;
export type variantsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    sku?: boolean;
    options_json?: boolean;
    price?: boolean;
    cost?: boolean;
    barcode?: boolean;
    created_at?: boolean;
    product_uuid?: boolean;
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
}, ExtArgs["result"]["variants"]>;
export type variantsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    product_id?: boolean;
    sku?: boolean;
    options_json?: boolean;
    price?: boolean;
    cost?: boolean;
    barcode?: boolean;
    created_at?: boolean;
    product_uuid?: boolean;
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
}, ExtArgs["result"]["variants"]>;
export type variantsSelectScalar = {
    id?: boolean;
    product_id?: boolean;
    sku?: boolean;
    options_json?: boolean;
    price?: boolean;
    cost?: boolean;
    barcode?: boolean;
    created_at?: boolean;
    product_uuid?: boolean;
};
export type variantsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "product_id" | "sku" | "options_json" | "price" | "cost" | "barcode" | "created_at" | "product_uuid", ExtArgs["result"]["variants"]>;
export type variantsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
};
export type variantsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
};
export type variantsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    products?: boolean | Prisma.variants$productsArgs<ExtArgs>;
};
export type $variantsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "variants";
    objects: {
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        product_id: bigint | null;
        sku: string | null;
        options_json: runtime.JsonValue | null;
        price: runtime.Decimal | null;
        cost: runtime.Decimal | null;
        barcode: string | null;
        created_at: Date | null;
        product_uuid: string | null;
    }, ExtArgs["result"]["variants"]>;
    composites: {};
};
export type variantsGetPayload<S extends boolean | null | undefined | variantsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$variantsPayload, S>;
export type variantsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<variantsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: VariantsCountAggregateInputType | true;
};
export interface variantsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['variants'];
        meta: {
            name: 'variants';
        };
    };
    /**
     * Find zero or one Variants that matches the filter.
     * @param {variantsFindUniqueArgs} args - Arguments to find a Variants
     * @example
     * // Get one Variants
     * const variants = await prisma.variants.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends variantsFindUniqueArgs>(args: Prisma.SelectSubset<T, variantsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Variants that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {variantsFindUniqueOrThrowArgs} args - Arguments to find a Variants
     * @example
     * // Get one Variants
     * const variants = await prisma.variants.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends variantsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, variantsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Variants 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 {variantsFindFirstArgs} args - Arguments to find a Variants
     * @example
     * // Get one Variants
     * const variants = await prisma.variants.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends variantsFindFirstArgs>(args?: Prisma.SelectSubset<T, variantsFindFirstArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Variants 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 {variantsFindFirstOrThrowArgs} args - Arguments to find a Variants
     * @example
     * // Get one Variants
     * const variants = await prisma.variants.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends variantsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, variantsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Variants 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 {variantsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Variants
     * const variants = await prisma.variants.findMany()
     *
     * // Get first 10 Variants
     * const variants = await prisma.variants.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const variantsWithIdOnly = await prisma.variants.findMany({ select: { id: true } })
     *
     */
    findMany<T extends variantsFindManyArgs>(args?: Prisma.SelectSubset<T, variantsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Variants.
     * @param {variantsCreateArgs} args - Arguments to create a Variants.
     * @example
     * // Create one Variants
     * const Variants = await prisma.variants.create({
     *   data: {
     *     // ... data to create a Variants
     *   }
     * })
     *
     */
    create<T extends variantsCreateArgs>(args: Prisma.SelectSubset<T, variantsCreateArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Variants.
     * @param {variantsCreateManyArgs} args - Arguments to create many Variants.
     * @example
     * // Create many Variants
     * const variants = await prisma.variants.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends variantsCreateManyArgs>(args?: Prisma.SelectSubset<T, variantsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Variants and returns the data saved in the database.
     * @param {variantsCreateManyAndReturnArgs} args - Arguments to create many Variants.
     * @example
     * // Create many Variants
     * const variants = await prisma.variants.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Variants and only return the `id`
     * const variantsWithIdOnly = await prisma.variants.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 variantsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, variantsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Variants.
     * @param {variantsDeleteArgs} args - Arguments to delete one Variants.
     * @example
     * // Delete one Variants
     * const Variants = await prisma.variants.delete({
     *   where: {
     *     // ... filter to delete one Variants
     *   }
     * })
     *
     */
    delete<T extends variantsDeleteArgs>(args: Prisma.SelectSubset<T, variantsDeleteArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Variants.
     * @param {variantsUpdateArgs} args - Arguments to update one Variants.
     * @example
     * // Update one Variants
     * const variants = await prisma.variants.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends variantsUpdateArgs>(args: Prisma.SelectSubset<T, variantsUpdateArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Variants.
     * @param {variantsDeleteManyArgs} args - Arguments to filter Variants to delete.
     * @example
     * // Delete a few Variants
     * const { count } = await prisma.variants.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends variantsDeleteManyArgs>(args?: Prisma.SelectSubset<T, variantsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Variants.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {variantsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Variants
     * const variants = await prisma.variants.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends variantsUpdateManyArgs>(args: Prisma.SelectSubset<T, variantsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Variants and returns the data updated in the database.
     * @param {variantsUpdateManyAndReturnArgs} args - Arguments to update many Variants.
     * @example
     * // Update many Variants
     * const variants = await prisma.variants.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Variants and only return the `id`
     * const variantsWithIdOnly = await prisma.variants.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 variantsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, variantsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Variants.
     * @param {variantsUpsertArgs} args - Arguments to update or create a Variants.
     * @example
     * // Update or create a Variants
     * const variants = await prisma.variants.upsert({
     *   create: {
     *     // ... data to create a Variants
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Variants we want to update
     *   }
     * })
     */
    upsert<T extends variantsUpsertArgs>(args: Prisma.SelectSubset<T, variantsUpsertArgs<ExtArgs>>): Prisma.Prisma__variantsClient<runtime.Types.Result.GetResult<Prisma.$variantsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Variants.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {variantsCountArgs} args - Arguments to filter Variants to count.
     * @example
     * // Count the number of Variants
     * const count = await prisma.variants.count({
     *   where: {
     *     // ... the filter for the Variants we want to count
     *   }
     * })
    **/
    count<T extends variantsCountArgs>(args?: Prisma.Subset<T, variantsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], VariantsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Variants.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {VariantsAggregateArgs} 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 VariantsAggregateArgs>(args: Prisma.Subset<T, VariantsAggregateArgs>): Prisma.PrismaPromise<GetVariantsAggregateType<T>>;
    /**
     * Group by Variants.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {variantsGroupByArgs} 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 variantsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: variantsGroupByArgs['orderBy'];
    } : {
        orderBy?: variantsGroupByArgs['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, variantsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetVariantsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the variants model
     */
    readonly fields: variantsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for variants.
 * 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__variantsClient<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.variants$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.variants$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 variants model
 */
export interface variantsFieldRefs {
    readonly id: Prisma.FieldRef<"variants", 'Int'>;
    readonly product_id: Prisma.FieldRef<"variants", 'BigInt'>;
    readonly sku: Prisma.FieldRef<"variants", 'String'>;
    readonly options_json: Prisma.FieldRef<"variants", 'Json'>;
    readonly price: Prisma.FieldRef<"variants", 'Decimal'>;
    readonly cost: Prisma.FieldRef<"variants", 'Decimal'>;
    readonly barcode: Prisma.FieldRef<"variants", 'String'>;
    readonly created_at: Prisma.FieldRef<"variants", 'DateTime'>;
    readonly product_uuid: Prisma.FieldRef<"variants", 'String'>;
}
/**
 * variants findUnique
 */
export type variantsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter, which variants to fetch.
     */
    where: Prisma.variantsWhereUniqueInput;
};
/**
 * variants findUniqueOrThrow
 */
export type variantsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter, which variants to fetch.
     */
    where: Prisma.variantsWhereUniqueInput;
};
/**
 * variants findFirst
 */
export type variantsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter, which variants to fetch.
     */
    where?: Prisma.variantsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of variants to fetch.
     */
    orderBy?: Prisma.variantsOrderByWithRelationInput | Prisma.variantsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for variants.
     */
    cursor?: Prisma.variantsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` variants 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` variants.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of variants.
     */
    distinct?: Prisma.VariantsScalarFieldEnum | Prisma.VariantsScalarFieldEnum[];
};
/**
 * variants findFirstOrThrow
 */
export type variantsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter, which variants to fetch.
     */
    where?: Prisma.variantsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of variants to fetch.
     */
    orderBy?: Prisma.variantsOrderByWithRelationInput | Prisma.variantsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for variants.
     */
    cursor?: Prisma.variantsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` variants 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` variants.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of variants.
     */
    distinct?: Prisma.VariantsScalarFieldEnum | Prisma.VariantsScalarFieldEnum[];
};
/**
 * variants findMany
 */
export type variantsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter, which variants to fetch.
     */
    where?: Prisma.variantsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of variants to fetch.
     */
    orderBy?: Prisma.variantsOrderByWithRelationInput | Prisma.variantsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing variants.
     */
    cursor?: Prisma.variantsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` variants 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` variants.
     */
    skip?: number;
    distinct?: Prisma.VariantsScalarFieldEnum | Prisma.VariantsScalarFieldEnum[];
};
/**
 * variants create
 */
export type variantsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * The data needed to create a variants.
     */
    data?: Prisma.XOR<Prisma.variantsCreateInput, Prisma.variantsUncheckedCreateInput>;
};
/**
 * variants createMany
 */
export type variantsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many variants.
     */
    data: Prisma.variantsCreateManyInput | Prisma.variantsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * variants createManyAndReturn
 */
export type variantsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * The data used to create many variants.
     */
    data: Prisma.variantsCreateManyInput | Prisma.variantsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * variants update
 */
export type variantsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * The data needed to update a variants.
     */
    data: Prisma.XOR<Prisma.variantsUpdateInput, Prisma.variantsUncheckedUpdateInput>;
    /**
     * Choose, which variants to update.
     */
    where: Prisma.variantsWhereUniqueInput;
};
/**
 * variants updateMany
 */
export type variantsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update variants.
     */
    data: Prisma.XOR<Prisma.variantsUpdateManyMutationInput, Prisma.variantsUncheckedUpdateManyInput>;
    /**
     * Filter which variants to update
     */
    where?: Prisma.variantsWhereInput;
    /**
     * Limit how many variants to update.
     */
    limit?: number;
};
/**
 * variants updateManyAndReturn
 */
export type variantsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * The data used to update variants.
     */
    data: Prisma.XOR<Prisma.variantsUpdateManyMutationInput, Prisma.variantsUncheckedUpdateManyInput>;
    /**
     * Filter which variants to update
     */
    where?: Prisma.variantsWhereInput;
    /**
     * Limit how many variants to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * variants upsert
 */
export type variantsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * The filter to search for the variants to update in case it exists.
     */
    where: Prisma.variantsWhereUniqueInput;
    /**
     * In case the variants found by the `where` argument doesn't exist, create a new variants with this data.
     */
    create: Prisma.XOR<Prisma.variantsCreateInput, Prisma.variantsUncheckedCreateInput>;
    /**
     * In case the variants was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.variantsUpdateInput, Prisma.variantsUncheckedUpdateInput>;
};
/**
 * variants delete
 */
export type variantsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
    /**
     * Filter which variants to delete.
     */
    where: Prisma.variantsWhereUniqueInput;
};
/**
 * variants deleteMany
 */
export type variantsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which variants to delete
     */
    where?: Prisma.variantsWhereInput;
    /**
     * Limit how many variants to delete.
     */
    limit?: number;
};
/**
 * variants.products
 */
export type variants$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;
};
/**
 * variants without action
 */
export type variantsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the variants
     */
    select?: Prisma.variantsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the variants
     */
    omit?: Prisma.variantsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.variantsInclude<ExtArgs> | null;
};
export {};
