Type Alias: DiscountCodeConfig
type DiscountCodeConfig = ZodObject<{
codes: ZodArray<ZodString>;
condition_type: ZodLiteral<"DISCOUNT_CODE">;
field: ZodOptional<ZodString>;
}, $strip>;Defined in: shared/rules/types/conditions.ts:195
Resolve field (defaults to "order.discount_codes.*") and pass if the
value matches any of the allowed codes.