@timardex/cluemart-shared 2.0.9 → 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.
Files changed (41) hide show
  1. package/dist/auth/index.mjs +1 -1
  2. package/dist/{chunk-P4NLBWEJ.mjs → chunk-3DYFIY72.mjs} +10 -1
  3. package/dist/chunk-3DYFIY72.mjs.map +1 -0
  4. package/dist/{chunk-ACCOACCV.mjs → chunk-4T3GEF5H.mjs} +9 -3
  5. package/dist/chunk-4T3GEF5H.mjs.map +1 -0
  6. package/dist/{chunk-JX7Q5EI4.mjs → chunk-AUWZYZK5.mjs} +3 -3
  7. package/dist/{chunk-JAIBL6IU.mjs → chunk-PNKTKJ47.mjs} +2 -2
  8. package/dist/{chunk-YRO6KEZG.mjs → chunk-UH6POK3Y.mjs} +2 -2
  9. package/dist/enums/index.cjs +10 -0
  10. package/dist/enums/index.cjs.map +1 -1
  11. package/dist/enums/index.d.mts +8 -1
  12. package/dist/enums/index.d.ts +8 -1
  13. package/dist/enums/index.mjs +3 -1
  14. package/dist/formFields/index.cjs +5 -0
  15. package/dist/formFields/index.cjs.map +1 -1
  16. package/dist/formFields/index.mjs +4 -4
  17. package/dist/graphql/index.mjs +1 -1
  18. package/dist/hooks/index.cjs +6 -1
  19. package/dist/hooks/index.cjs.map +1 -1
  20. package/dist/hooks/index.mjs +6 -6
  21. package/dist/hooks/index.mjs.map +1 -1
  22. package/dist/index.cjs +17 -0
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.mts +9 -1
  25. package/dist/index.d.ts +9 -1
  26. package/dist/index.mjs +15 -0
  27. package/dist/index.mjs.map +1 -1
  28. package/dist/sharing/index.cjs.map +1 -1
  29. package/dist/sharing/index.mjs +3 -3
  30. package/dist/types/index.mjs +1 -1
  31. package/dist/utils/index.cjs +9 -2
  32. package/dist/utils/index.cjs.map +1 -1
  33. package/dist/utils/index.d.mts +2 -1
  34. package/dist/utils/index.d.ts +2 -1
  35. package/dist/utils/index.mjs +7 -5
  36. package/package.json +1 -1
  37. package/dist/chunk-ACCOACCV.mjs.map +0 -1
  38. package/dist/chunk-P4NLBWEJ.mjs.map +0 -1
  39. /package/dist/{chunk-JX7Q5EI4.mjs.map → chunk-AUWZYZK5.mjs.map} +0 -0
  40. /package/dist/{chunk-JAIBL6IU.mjs.map → chunk-PNKTKJ47.mjs.map} +0 -0
  41. /package/dist/{chunk-YRO6KEZG.mjs.map → chunk-UH6POK3Y.mjs.map} +0 -0
@@ -42,17 +42,17 @@ import {
42
42
  vendorStallSize,
43
43
  vendorStartDateFields,
44
44
  vendorTable
45
- } from "../chunk-JX7Q5EI4.mjs";
45
+ } from "../chunk-AUWZYZK5.mjs";
46
46
  import {
47
47
  availableCategories,
48
48
  categoryColors
49
- } from "../chunk-ACCOACCV.mjs";
50
- import "../chunk-YRO6KEZG.mjs";
49
+ } from "../chunk-4T3GEF5H.mjs";
50
+ import "../chunk-UH6POK3Y.mjs";
51
51
  import "../chunk-L45XTF3X.mjs";
52
52
  import "../chunk-RAYUJODN.mjs";
53
53
  import "../chunk-DQ7ZHIXW.mjs";
54
54
  import "../chunk-7DQBUZXY.mjs";
55
- import "../chunk-P4NLBWEJ.mjs";
55
+ import "../chunk-3DYFIY72.mjs";
56
56
  export {
57
57
  availableCategories,
58
58
  availableTagTypes,
@@ -192,7 +192,7 @@ import {
192
192
  useValidateVerificationToken
193
193
  } from "../chunk-JOA6W4SP.mjs";
194
194
  import "../chunk-7DQBUZXY.mjs";
195
- import "../chunk-P4NLBWEJ.mjs";
195
+ import "../chunk-3DYFIY72.mjs";
196
196
  export {
197
197
  ACTIVATE_VENDOR_CLAIM_MUTATION,
198
198
  AD_BOOKING_FIELDS_FRAGMENT,
@@ -550,6 +550,11 @@ var licenseNiceNames = {
550
550
  ["standard_affiliate" /* STANDARD_AFFILIATE */]: "Affiliate",
551
551
  ["standard_school" /* STANDARD_SCHOOL */]: "School"
552
552
  };
553
+ var vendorLicences = [
554
+ "standard_vendor" /* STANDARD_VENDOR */,
555
+ "pro_vendor" /* PRO_VENDOR */,
556
+ "pro_plus_vendor" /* PRO_PLUS_VENDOR */
557
+ ];
553
558
  var cluemartSocialMedia = [
554
559
  {
555
560
  link: "https://www.facebook.com/ClueMartApp",
@@ -6408,7 +6413,7 @@ var couponPurchaseOptionSchema = yup10.object().shape({
6408
6413
  if (value === void 0 || buy === void 0) return true;
6409
6414
  return value < buy;
6410
6415
  }),
6411
- 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"),
6412
6417
  type: yup10.mixed().oneOf(["PURCHASE" /* PURCHASE */], "Type must be PURCHASE").required("Type is required"),
6413
6418
  unit: yup10.string().label("Unit").trim().required("Unit is required")
6414
6419
  }).nullable().defined("Coupon option is required");