Variable VariantIncludeSchemaConst
VariantIncludeSchema: ZodObject<
{
attributes: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
attributeId: ...;
booleanValue: ...;
floatValue: ...;
id: ...;
textValue: ...;
variantId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
attributeId: ...;
booleanValue: ...;
floatValue: ...;
id: ...;
textValue: ...;
variantId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
discounts: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
categoryId: ...;
discountId: ...;
id: ...;
priceLevelId: ...;
productId: ...;
storeId: ...;
type: ...;
variantId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
categoryId: ...;
discountId: ...;
id: ...;
priceLevelId: ...;
productId: ...;
storeId: ...;
type: ...;
variantId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
prices: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
cost: ...;
description: ...;
id: ...;
price: ...;
priceLevelId: ...;
variantId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
cost: ...;
description: ...;
id: ...;
price: ...;
priceLevelId: ...;
variantId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
product: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
createdAt: ...;
description: ...;
id: ...;
isActive: ...;
name: ...;
slug: ...;
updatedAt: ...;
uuid: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
createdAt: ...;
description: ...;
id: ...;
isActive: ...;
name: ...;
slug: ...;
updatedAt: ...;
uuid: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
quantities: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
alertThreshold: ...;
id: ...;
quantity: ...;
storeId: ...;
variantId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
alertThreshold: ...;
id: ...;
quantity: ...;
storeId: ...;
variantId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
serrialNumbers: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
id: ...;
inStock: ...;
serialNumber: ...;
storeId: ...;
variantId: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
id: ...;
inStock: ...;
serialNumber: ...;
storeId: ...;
variantId: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
warranties: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{ id: ...; policyId: ...; productId: ...; variantId: ... },
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{ id: ...; policyId: ...; productId: ...; variantId: ... },
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
},
$strip,
> = ...