@feedmepos/mf-connect 0.0.16-beta.1 → 0.0.16-beta.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 (95) hide show
  1. package/dist/{Analytic-C-zZmF5N.js → Analytic-Gq7PoNer.js} +368 -365
  2. package/dist/App-Cikl5jnp.js +177 -0
  3. package/dist/Broadcast-DU3JnBwZ.js +223 -0
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-VWLBlxy1.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0I8IZIR.js} +20 -20
  5. package/dist/Card-hIeQ5XUH.js +825 -0
  6. package/dist/Collections-B1SC1rr7.js +453 -0
  7. package/dist/Credit-BgwI8DR3.js +216 -0
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bz6TSmbW.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D9VR3P2d.js} +1026 -1022
  9. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-AhWnHG02.js → EffectSheet.vue_vue_type_style_index_0_lang-DPgu45MD.js} +29 -29
  10. package/dist/Experience-C2Q-zqV6.js +221 -0
  11. package/dist/Game-DU2pZDGk.js +255 -0
  12. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +144 -0
  13. package/dist/JsonViewer-v8_C7l5N.js +87 -0
  14. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-DykNOOFD.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js} +1 -1
  15. package/dist/{MainLayout-D0AoA1tk.js → MainLayout-B1aJoR95.js} +2 -2
  16. package/dist/Marketing-DWiTQp9I.js +316 -0
  17. package/dist/Member-BEXKBFry.js +69 -0
  18. package/dist/MemberList-DzMdajIf.js +1733 -0
  19. package/dist/MemberOverview-wL_ailso.js +58 -0
  20. package/dist/{MemberTransactions-CTAx5jIV.js → MemberTransactions-Bciankuu.js} +1 -1
  21. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-C-BtHxSc.js → MessageInput.vue_vue_type_script_setup_true_lang-DH25Hfk3.js} +46 -46
  22. package/dist/Mission-KzwRlaA5.js +259 -0
  23. package/dist/Point-CSKvZXHc.js +222 -0
  24. package/dist/Promotion-IiwPhx8p.js +221 -0
  25. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CrpJySSp.js → RuleGroup.vue_vue_type_script_setup_true_lang-4zIO3oCr.js} +545 -544
  26. package/dist/Segment-2Q0PonBb.js +447 -0
  27. package/dist/{Setting-Zrj5P_4m.js → Setting-Df5vVRt4.js} +600 -598
  28. package/dist/Store-C0WXCKs6.js +1503 -0
  29. package/dist/StoreRewards-eSSIO0nk.js +401 -0
  30. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DS4APaHw.js → StoreTransactions.vue_vue_type_script_setup_true_lang-BjnCRKGX.js} +106 -108
  31. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-ZYjWlDJ1.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-b0xTcoEp.js} +1 -1
  32. package/dist/{Tier-DVWJyQ9S.js → Tier-v-1FkRU-.js} +464 -449
  33. package/dist/{Title-B5kX64vs.js → Title-CQ2JWqBW.js} +315 -299
  34. package/dist/Transaction-0OouN_6s.js +39 -0
  35. package/dist/Voucher-CL0cgogx.js +488 -0
  36. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  37. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  38. package/dist/app-Bd19eW7X.js +5381 -0
  39. package/dist/app-CfS25Z66.js +34797 -0
  40. package/dist/app-wDQR6dpb.js +39 -0
  41. package/dist/app.js +5 -3
  42. package/dist/business-dQh3AEot.js +78 -0
  43. package/dist/{campaign-BZJuknWK.js → campaign-BOl8AgKA.js} +12 -12
  44. package/dist/{collection.fn-DoCkZ6z4.js → collection.fn-B_YsXmrP.js} +2 -2
  45. package/dist/dto-B8NfyVPG.js +1169 -0
  46. package/dist/{effect-B8kmnKvY.js → effect-C2jCStXO.js} +1 -1
  47. package/dist/{export-Dm6LYnWo.js → export-BtZc3Yzh.js} +3 -3
  48. package/dist/{helper-DR4XK3nv.js → helper-8oGsrM56.js} +1 -1
  49. package/dist/{index-DcUrk07Q.js → index-6FkKY3q0.js} +3 -3
  50. package/dist/{index-Bu4_26qI.js → index-C7oeXRUl.js} +1 -1
  51. package/dist/{index-CuL5-ORK.js → index-CZKYIefW.js} +6 -7
  52. package/dist/{index-yxJMhfxj.js → index-C_0IFnwi.js} +5 -5
  53. package/dist/{index-BryrRq8O.js → index-DCixRRvz.js} +36 -30
  54. package/dist/{index-CkiYkbXb.js → index-DFgt4-VW.js} +1 -1
  55. package/dist/{index-CWf0mh3a.js → index-DYDhH9bi.js} +177 -168
  56. package/dist/{index-boor8e80.js → index-Di-kWSmf.js} +3 -3
  57. package/dist/{app-DkI7dYRN.js → index-Dn0jdj0o.js} +9665 -13024
  58. package/dist/index-DwKqFNF6.js +3 -0
  59. package/dist/{index-BobRgQrE.js → index-HoacsZDk.js} +2 -2
  60. package/dist/{index-BxkxVtgm.js → index-UTQHDUdW.js} +1 -1
  61. package/dist/{loading-BzV5acUX.js → loading-D_AN6p24.js} +6807 -6805
  62. package/dist/{lodash-mg4435Qq.js → lodash-B5I3zXaY.js} +1 -1
  63. package/dist/{membership-CqbsLHqx.js → membership-Ccrx9R6r.js} +3 -3
  64. package/dist/{money-DA_gtp3q.js → money-waD-f-Zz.js} +1 -1
  65. package/dist/{number-C388eyOu.js → number-CwTGGsh9.js} +1 -1
  66. package/dist/{rule-Clmr5y4j.js → rule-DJ07h3Gh.js} +2 -2
  67. package/dist/{rule-builder-BgqNbM-P.js → rule-builder-DJ-acvVD.js} +1 -1
  68. package/dist/style.css +1 -1
  69. package/dist/template-clxvNnbF.js +190 -0
  70. package/dist/{usePagination-o5fgsZwU.js → usePagination-BeF5K3M7.js} +86 -86
  71. package/dist/vue-i18n-BxwiXSkp.js +2365 -0
  72. package/dist/{xlsx-BRdh9e2p.js → xlsx-BB366cdN.js} +1945 -1945
  73. package/package.json +9 -5
  74. package/dist/Broadcast-X69Mtv3b.js +0 -216
  75. package/dist/Card-D0X3v1UF.js +0 -822
  76. package/dist/Collections-umR6Ehqf.js +0 -452
  77. package/dist/Credit-C1EWF7R0.js +0 -214
  78. package/dist/Experience-CqL8wyPm.js +0 -211
  79. package/dist/Game--kYe64EV.js +0 -250
  80. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-BjOJ3XSL.js +0 -144
  81. package/dist/Marketing-CTCQ5ZmZ.js +0 -308
  82. package/dist/Member-DCduX7zP.js +0 -91
  83. package/dist/MemberList-B0EkXZJu.js +0 -1729
  84. package/dist/MemberOverview-C2n9oJZh.js +0 -58
  85. package/dist/Mission-CVr9rS_D.js +0 -248
  86. package/dist/Point-BnZ6M74y.js +0 -220
  87. package/dist/Promotion-B0PUve5S.js +0 -218
  88. package/dist/Segment-B-XpkyM5.js +0 -445
  89. package/dist/Store-B2gywCt2.js +0 -1503
  90. package/dist/StoreRewards-D8410Q_-.js +0 -434
  91. package/dist/Transaction-CZBO4v4d.js +0 -36
  92. package/dist/Voucher-se-4JF9B.js +0 -481
  93. package/dist/app-B2ImSO3V.js +0 -53382
  94. package/dist/dto-BWpvRpK2.js +0 -1151
  95. package/dist/template-Dwp7heBA.js +0 -190
@@ -1,4 +1,4 @@
1
- import { c as o } from "./app-DkI7dYRN.js";
1
+ import { c as o } from "./index-Dn0jdj0o.js";
2
2
  function c(e) {
3
3
  if (!e)
4
4
  return null;
@@ -1,10 +1,10 @@
1
1
  var g = Object.defineProperty;
2
2
  var b = (s, e, o) => e in s ? g(s, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[e] = o;
3
3
  var d = (s, e, o) => b(s, typeof e != "symbol" ? e + "" : e, o);
4
- import { u as a, w as f } from "./xlsx-BRdh9e2p.js";
5
- import { u as h } from "./loading-BzV5acUX.js";
4
+ import { u as a, w as f } from "./xlsx-BB366cdN.js";
5
+ import { u as h } from "./loading-D_AN6p24.js";
6
6
  import { h as x } from "./moment-BWErdI6_.js";
7
- import { m as w } from "./index-Bu4_26qI.js";
7
+ import { m as w } from "./index-C7oeXRUl.js";
8
8
  class y {
9
9
  constructor() {
10
10
  d(this, "records", []);
@@ -1,4 +1,4 @@
1
- import { i } from "./index-CWf0mh3a.js";
1
+ import { i } from "./index-DYDhH9bi.js";
2
2
  function o(t, e) {
3
3
  switch (t) {
4
4
  case "COIN":
@@ -1,4 +1,4 @@
1
- import { d as n, S as I, e as C, f as _ } from "./app-DkI7dYRN.js";
1
+ import { g as n, S as I, u as C, b as _ } from "./index-Dn0jdj0o.js";
2
2
  const c = () => {
3
3
  if (!I.getBusinessId()) throw new Error("Invalid business ID");
4
4
  return C("users");
@@ -13,12 +13,12 @@ const c = () => {
13
13
  const s = n(
14
14
  await c().get("", { params: e })
15
15
  ), t = s.resources.map((r) => {
16
- var i, o, d, l, p, u, m, b;
16
+ var i, o, d, l, u, p, m, b;
17
17
  return {
18
18
  ...r,
19
19
  collection_TIER_0_balance: ((o = (i = r.collection.TIER) == null ? void 0 : i[0]) == null ? void 0 : o.balance) ?? 0,
20
20
  collection_CREDIT_0_balance: ((l = (d = r.collection.CREDIT) == null ? void 0 : d[0]) == null ? void 0 : l.balance) ?? 0,
21
- collection_COIN_0_balance: ((u = (p = r.collection.COIN) == null ? void 0 : p[0]) == null ? void 0 : u.balance) ?? 0,
21
+ collection_COIN_0_balance: ((p = (u = r.collection.COIN) == null ? void 0 : u[0]) == null ? void 0 : p.balance) ?? 0,
22
22
  collection_TITLE_0_title: ((b = (m = r.collection.TITLE) == null ? void 0 : m[0]) == null ? void 0 : b.title) ?? ""
23
23
  };
24
24
  });
@@ -1,4 +1,4 @@
1
- import { d as t, S as n, f as u } from "./app-DkI7dYRN.js";
1
+ import { g as t, S as n, b as u } from "./index-Dn0jdj0o.js";
2
2
  const a = () => {
3
3
  const e = n.getBusinessId();
4
4
  if (!e) throw new Error("Invalid business ID");
@@ -1,5 +1,5 @@
1
- import { z as o, F as e, m as c } from "./loading-BzV5acUX.js";
2
- import { n as d, o as u, p as m, m as a } from "./index-CWf0mh3a.js";
1
+ import { z as o, F as e, m as c } from "./loading-D_AN6p24.js";
2
+ import { n as d, o as u, p as m, m as a } from "./index-DYDhH9bi.js";
3
3
  const b = o.enum([
4
4
  "PORTAL",
5
5
  "BENEFIT",
@@ -7,7 +7,6 @@ const b = o.enum([
7
7
  "ORDER",
8
8
  "BILL",
9
9
  "BILL_DISCOUNT",
10
- "EXPIRED",
11
10
  "CASHBACK",
12
11
  "FEEDBACK",
13
12
  "CYCLE",
@@ -164,11 +163,11 @@ o.object({
164
163
  code: o.string(),
165
164
  codeConfig: g
166
165
  });
167
- const E = o.object({
166
+ const F = o.object({
168
167
  amount: o.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
169
168
  day: o.coerce.number().min(1).max(9999),
170
169
  remark: o.string().optional()
171
- }), F = o.object({
170
+ }), E = o.object({
172
171
  amount: o.coerce.number().min(1),
173
172
  remark: o.string().optional()
174
173
  });
@@ -195,8 +194,8 @@ o.object({
195
194
  memberId: o.array(e)
196
195
  });
197
196
  export {
198
- E as F,
199
- F as a,
197
+ F,
198
+ E as a,
200
199
  A as b,
201
200
  f as c,
202
201
  b as d,
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as B, ref as P, resolveComponent as c, openBlock as r, createBlock as C, unref as O, withCtx as g, renderSlot as T, createElementBlock as d, toDisplayString as u, createCommentVNode as H, createVNode as I, normalizeClass as L, createElementVNode as k, Fragment as Y, renderList as j } from "vue";
2
- import { z as e, F as m, m as f } from "./loading-BzV5acUX.js";
3
- import "./index-CWf0mh3a.js";
4
- import { R as a } from "./rule-builder-BgqNbM-P.js";
5
- import { i as o } from "./helper-DR4XK3nv.js";
6
- import { b as K, c as W } from "./index-CuL5-ORK.js";
2
+ import { z as e, F as m, m as f } from "./loading-D_AN6p24.js";
3
+ import "./index-DYDhH9bi.js";
4
+ import { R as a } from "./rule-builder-DJ-acvVD.js";
5
+ import { i as o } from "./helper-8oGsrM56.js";
6
+ import { b as K, c as W } from "./index-CZKYIefW.js";
7
7
  const X = {
8
8
  key: 0,
9
9
  class: "fm-typo-en-body-lg-400 mb-4"
@@ -1,8 +1,8 @@
1
- import { z as e, F as n, e as A, m as p } from "./loading-BzV5acUX.js";
2
- import { e as _, F as D, a as c, h as X, g as Z, j as d, k as Q, m as $ } from "./index-CWf0mh3a.js";
3
- import { b as T } from "./index-boor8e80.js";
4
- import { b as L, c as ee } from "./index-CuL5-ORK.js";
5
- import { d as ne } from "./index-BobRgQrE.js";
1
+ import { z as e, F as n, e as A, m as p } from "./loading-D_AN6p24.js";
2
+ import { e as _, F as D, a as c, h as X, g as Z, j as d, k as Q, m as $ } from "./index-DYDhH9bi.js";
3
+ import { b as T } from "./index-Di-kWSmf.js";
4
+ import { b as L, c as ee } from "./index-CZKYIefW.js";
5
+ import { d as ne } from "./index-HoacsZDk.js";
6
6
  const P = e.enum([
7
7
  "VOUCHER",
8
8
  "PROMOTION",
@@ -145,16 +145,17 @@ e.object({
145
145
  const m = e.object({
146
146
  type: i,
147
147
  context: e.any(),
148
+ businessIds: e.array(n).optional(),
148
149
  campaignIds: e.array(n).optional(),
149
150
  slackWebhookUrl: e.string().optional(),
150
151
  emittedAt: e.coerce.date().default(/* @__PURE__ */ new Date())
151
- }), Ce = m.extend({
152
+ }), ye = m.extend({
152
153
  type: e.literal(i.enum.BILL_COMPLETED),
153
154
  context: e.object({
154
155
  bill: ie,
155
156
  rawBill: e.any()
156
157
  })
157
- }), ye = m.extend({
158
+ }), Ce = m.extend({
158
159
  type: e.literal(i.enum.SCHEDULE),
159
160
  context: e.object({
160
161
  triggeredAt: e.coerce.date()
@@ -190,8 +191,8 @@ const m = e.object({
190
191
  })
191
192
  });
192
193
  e.discriminatedUnion("type", [
193
- Ce,
194
194
  ye,
195
+ Ce,
195
196
  _e,
196
197
  Ie,
197
198
  he,
@@ -289,16 +290,16 @@ const Te = e.enum(["SMS", "EMAIL"]), E = e.object({
289
290
  code: e.ZodIssueCode.custom,
290
291
  message: "Content is required"
291
292
  });
292
- const y = /{{(.*?)}}/g, R = [...o.content.matchAll(y)].map((u) => u[1]), O = o.variables, b = R.filter((u) => O.indexOf(u) < 0);
293
+ const C = /{{(.*?)}}/g, R = [...o.content.matchAll(C)].map((u) => u[1]), O = o.variables, b = R.filter((u) => O.indexOf(u) < 0);
293
294
  b.length && a.addIssue({
294
295
  code: e.ZodIssueCode.custom,
295
296
  message: "Invalid variable(s): " + b.join(", ")
296
297
  });
297
298
  });
298
299
  function qe(o, a) {
299
- return o.replace(/{{(.*?)}}/g, (y, R) => {
300
+ return o.replace(/{{(.*?)}}/g, (C, R) => {
300
301
  const b = R.trim().split(".").reduce((u, q) => (u != null ? u[q] : null) ?? null, a);
301
- return b !== null ? b : y;
302
+ return b !== null ? b : C;
302
303
  });
303
304
  }
304
305
  const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), S = e.number().min(0, "Weight need to be at least 0"), x = e.number().int("Must be integer").min(0, "Threshold need to be at least 0"), N = e.object({
@@ -337,17 +338,17 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), S = e.number().min(0, "We
337
338
  N
338
339
  ]), G = B.extend({
339
340
  threshold: x
340
- }), v = f.extend({
341
+ }), z = f.extend({
341
342
  threshold: x
342
- }), w = e.discriminatedUnion("type", [
343
+ }), v = e.discriminatedUnion("type", [
343
344
  G,
344
- v
345
+ z
345
346
  ]), Pe = e.discriminatedUnion("type", [
346
347
  G.extend({
347
348
  collectible: n.nullish(),
348
349
  business: n.nullish()
349
350
  }),
350
- v.extend({
351
+ z.extend({
351
352
  collectible: n.nullish(),
352
353
  collectibleConfig: D.nullish(),
353
354
  business: n.nullish()
@@ -358,7 +359,7 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), S = e.number().min(0, "We
358
359
  _id: "oid",
359
360
  business: "oid"
360
361
  }
361
- }, z = e.object({
362
+ }, w = e.object({
362
363
  _id: n,
363
364
  business: n,
364
365
  name: e.string(),
@@ -383,7 +384,7 @@ e.object({
383
384
  const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
384
385
  type: xe,
385
386
  end: e.number().int().min(0, "Threshold need to be at least 1"),
386
- rewards: e.array(e.lazy(() => w)).nullish()
387
+ rewards: e.array(e.lazy(() => v)).nullish()
387
388
  }).superRefine((o, a) => {
388
389
  o.type == "STAMP" && o.end > 40 && (a.addIssue({
389
390
  code: "custom",
@@ -444,7 +445,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
444
445
  email: Ue.nullish(),
445
446
  freeCreditAsDiscount: e.boolean().optional(),
446
447
  pf_title: e.array(e.lazy(() => d)).optional(),
447
- pf_targetLocation: e.array(e.lazy(() => z)).optional(),
448
+ pf_targetLocation: e.array(e.lazy(() => w)).optional(),
448
449
  // new structure
449
450
  group: e.string().nullish(),
450
451
  templateId: n.nullish()
@@ -459,8 +460,10 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
459
460
  timeframeOptions: Q.superRefine((o, a) => {
460
461
  o.start && o.end && o.end < o.start && a.addIssue({
461
462
  code: "custom",
462
- message: "End date must be later or same as start date",
463
- path: []
463
+ path: [],
464
+ params: {
465
+ i18n: { key: "timeframe.end_before_start" }
466
+ }
464
467
  });
465
468
  }).nullish(),
466
469
  targetLocation: e.array(n).nullish(),
@@ -470,7 +473,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
470
473
  // new group structure
471
474
  group: n.nullish(),
472
475
  templateId: n.nullish(),
473
- pf_targetLocation: e.array(e.lazy(() => z)).optional()
476
+ pf_targetLocation: e.array(e.lazy(() => w)).optional()
474
477
  }), r = {
475
478
  [t.enum.VOUCHER]: [
476
479
  "BILL_COMPLETED",
@@ -553,7 +556,10 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
553
556
  effect: e.custom().superRefine((o, a) => {
554
557
  o || a.addIssue({
555
558
  code: "custom",
556
- message: "Effect is required"
559
+ path: [],
560
+ params: {
561
+ i18n: { key: "zodCustom.campaign.effect_required" }
562
+ }
557
563
  });
558
564
  }),
559
565
  gameConfig: Ge.nullish()
@@ -612,7 +618,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
612
618
  notifyCampaign: n.nullish(),
613
619
  pf_collectible: e.lazy(() => d).optional(),
614
620
  pf_notifyCampaign: e.lazy(() => g).optional()
615
- }), C = l.extend({
621
+ }), y = l.extend({
616
622
  type: e.literal(t.enum.REWARD_POOL),
617
623
  // event
618
624
  event: s.merge(
@@ -631,7 +637,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
631
637
  ),
632
638
  earningOption: c,
633
639
  collectible: n,
634
- game: e.lazy(() => C).optional(),
640
+ game: e.lazy(() => y).optional(),
635
641
  pf_collectible: e.lazy(() => d).optional(),
636
642
  rewardPool: n.optional()
637
643
  }), Y = l.extend({
@@ -645,8 +651,8 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
645
651
  collectible: n,
646
652
  pf_collectible: e.lazy(() => d).optional(),
647
653
  mission: e.lazy(() => Ne),
648
- rewards: e.array(e.lazy(() => w)).min(1, "Requires at least 1 reward")
649
- }), ve = {
654
+ rewards: e.array(e.lazy(() => v)).min(1, "Requires at least 1 reward")
655
+ }), ze = {
650
656
  collectionName: "Campaigns",
651
657
  transform: {
652
658
  _id: "oid",
@@ -697,11 +703,11 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
697
703
  V,
698
704
  g,
699
705
  K,
700
- C,
706
+ y,
701
707
  J,
702
708
  Y
703
709
  ])
704
- ).describe(p.describe(ve)), $e = e.discriminatedUnion("type", [
710
+ ).describe(p.describe(ze)), $e = e.discriminatedUnion("type", [
705
711
  H.extend({
706
712
  business: n.nullish()
707
713
  }),
@@ -720,12 +726,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
720
726
  K.extend({
721
727
  business: n.nullish()
722
728
  }),
723
- C.extend({
729
+ y.extend({
724
730
  rewards: e.array(e.lazy(() => F)).min(1, "Requires at least 1 reward")
725
731
  }),
726
732
  J.extend({
727
733
  business: n.nullish(),
728
- game: C.extend({
734
+ game: y.extend({
729
735
  business: n.nullish(),
730
736
  rewards: e.array(e.lazy(() => F)).min(1, "Requires at least 1 reward")
731
737
  })
@@ -1,4 +1,4 @@
1
- import { z as t, F as e, m as i } from "./loading-BzV5acUX.js";
1
+ import { z as t, F as e, m as i } from "./loading-D_AN6p24.js";
2
2
  const n = t.enum(["FACEBOOK", "INSTAGRAM", "TV", "BRAND_APP"]), s = {
3
3
  collectionName: "MarketingMaterials",
4
4
  transform: {