Variable DiscountTargetIncludeSchemaConst
DiscountTargetIncludeSchema: ZodObject<
{
category: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<{ id: ...; name: ...; parentId: ...; slug: ... }>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<{ id: ...; name: ...; parentId: ...; slug: ... }, $strip>,
>,
>;
},
$strip,
>,
],
>,
>;
discount: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
code: ...;
endDate: ...;
id: ...;
maxOrderTotal: ...;
maxQuantity: ...;
minOrderTotal: ...;
minQuantity: ...;
startDate: ...;
type: ...;
usageCount: ...;
usageLimit: ...;
value: ...;
valueType: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
code: ...;
endDate: ...;
id: ...;
maxOrderTotal: ...;
maxQuantity: ...;
minOrderTotal: ...;
minQuantity: ...;
startDate: ...;
type: ...;
usageCount: ...;
usageLimit: ...;
value: ...;
valueType: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
priceLevel: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
currencyId: ...;
id: ...;
name: ...;
notes: ...;
slug: ...;
taxrate: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
currencyId: ...;
id: ...;
name: ...;
notes: ...;
slug: ...;
taxrate: ...;
},
$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,
>,
],
>,
>;
store: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{
description: ...;
id: ...;
name: ...;
priceLevelId: ...;
slug: ...;
},
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{
description: ...;
id: ...;
name: ...;
priceLevelId: ...;
slug: ...;
},
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
variant: ZodOptional<
ZodUnion<
[
ZodCoercedBoolean<unknown>,
ZodObject<
{
distinct: ZodOptional<
ZodArray<
ZodEnum<
{ id: ...; productId: ...; sku: ...; upc: ...; uuid: ... },
>,
>,
>;
where: ZodOptional<
ZodPipe<
ZodTransform<any, unknown>,
ZodObject<
{ id: ...; productId: ...; sku: ...; upc: ...; uuid: ... },
$strip,
>,
>,
>;
},
$strip,
>,
],
>,
>;
},
$strip,
> = ...