@timardex/cluemart-shared 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6413,7 +6413,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
6413
6413
  if (value === void 0 || buy === void 0) return true;
6414
6414
  return value < buy;
6415
6415
  }),
6416
- maxRewardCount: yup10.number().transform((_, originalValue) => toOptionalNumber(originalValue)).label("Max reward count").typeError("Max reward count must be a number").integer("Max reward count must be a whole number").min(20, "Max reward count must be at least 20").max(200, "Max reward count cannot exceed 200").required("Max reward count is required"),
6416
+ maxRewardCount: yup10.number().transform((_, originalValue) => toOptionalNumber(originalValue)).label("Max coupon count").typeError("Max coupon count must be a number").integer("Max coupon count must be a whole number").min(20, "Max coupon count must be at least 20").max(200, "Max coupon count cannot exceed 200").required("Max coupon count is required"),
6417
6417
  type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
6418
6418
  unit: yup10.string().label("Unit").trim().required("Unit is required")
6419
6419
  }).nullable().defined("Coupon option is required");