@feedmepos/mf-connect 0.1.0-beta.8 → 0.1.0-prod

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 (101) hide show
  1. package/dist/Analytic-D1vIDmhJ.js +620 -0
  2. package/dist/{App-SRz4257n.js → App-DHrfWG8l.js} +249 -250
  3. package/dist/Broadcast-B2rxZAZi.js +216 -0
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CZXSxA9u.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D2a9rcXK.js} +20 -20
  5. package/dist/Card-Dr6pTTM0.js +824 -0
  6. package/dist/Collections-0tbg0MFt.js +441 -0
  7. package/dist/Credit-KbB_7Jq-.js +214 -0
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-Cuklmxur.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-we7ADwFk.js} +999 -1018
  9. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-VBNyvZCJ.js +344 -0
  10. package/dist/Experience-C_Q9Iml8.js +211 -0
  11. package/dist/Game-BwODw7M6.js +250 -0
  12. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-ByhTB9Ie.js +144 -0
  13. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js → MainLayout-DpZC6o3R.js} +53 -19
  14. package/dist/Marketing-QOKTAS_T.js +309 -0
  15. package/dist/Member-d7RIGRm1.js +92 -0
  16. package/dist/MemberList-CK9629ew.js +1737 -0
  17. package/dist/MemberOverview-C2n9oJZh.js +58 -0
  18. package/dist/{MemberTransactions-BwT3zE2a.js → MemberTransactions-D-pnlXiP.js} +1 -1
  19. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-3VS7JnK6.js +203 -0
  20. package/dist/Mission-BAKDm4VZ.js +248 -0
  21. package/dist/Point-Puu0jKz0.js +220 -0
  22. package/dist/Promotion-DRIaUvJi.js +244 -0
  23. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BkFm7tXq.js → RuleGroup.vue_vue_type_script_setup_true_lang-DTdfYGya.js} +557 -557
  24. package/dist/Segment-DpBxGuuu.js +435 -0
  25. package/dist/Setting-DLB2ywCp.js +1870 -0
  26. package/dist/Store-8DO6ITWc.js +1513 -0
  27. package/dist/StoreRewards-DZfqUeYR.js +429 -0
  28. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BqpsMcl1.js → StoreTransactions.vue_vue_type_script_setup_true_lang-RTfozD01.js} +10 -10
  29. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DrzmjYmU.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BGI78ycg.js} +1 -1
  30. package/dist/{Tier-CJ9-d8Zg.js → Tier-BnQRujpX.js} +453 -481
  31. package/dist/{Title-DZCpvg4q.js → Title-BPf1tUFx.js} +295 -314
  32. package/dist/Transaction-ese0oNrz.js +36 -0
  33. package/dist/Voucher--gtOZQx1.js +485 -0
  34. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js +140 -0
  35. package/dist/app-Bt59niI-.js +2974 -0
  36. package/dist/{app-Cg2pTZJK.js → app-DHE61XdR.js} +1 -1
  37. package/dist/app.js +3 -5
  38. package/dist/{business-Cw_qGw8y.js → business-BSo7EPan.js} +1 -1
  39. package/dist/{campaign-winsqufa.js → campaign-CsOje3Ap.js} +3 -5
  40. package/dist/{collection.fn-CI5Llblg.js → collection.fn-BYQfFJOr.js} +2 -2
  41. package/dist/dto-CfEXSCq6.js +1145 -0
  42. package/dist/{effect-CdkrIYgX.js → effect-Bn_ofYS3.js} +9 -9
  43. package/dist/{export-DGxfief1.js → export-CMR243CF.js} +3 -3
  44. package/dist/{helper-B8RqcTNu.js → helper-BqOQRtvW.js} +1 -1
  45. package/dist/index-BLDYTxnc.js +28058 -0
  46. package/dist/{index-Cw_aXFH6.js → index-BWnFs-Cb.js} +281 -299
  47. package/dist/{index-wzdbEEcZ.js → index-BaBNmzUb.js} +1 -1
  48. package/dist/{index-CjVmULNd.js → index-Boo5np6l.js} +1 -1
  49. package/dist/{index-HZC9LLAX.js → index-CC1GV8OW.js} +1 -1
  50. package/dist/{index-OzicErwL.js → index-CHO4_zsT.js} +1 -1
  51. package/dist/{index-DAEmawcj.js → index-DEZsrQ2f.js} +3 -3
  52. package/dist/{index-9w43_U1v.js → index-D_f2lmK2.js} +1 -1
  53. package/dist/{index-BaozRfWB.js → index-Da142OER.js} +66 -78
  54. package/dist/index-DbP04yeg.js +11 -0
  55. package/dist/{index-A34xEz20.js → index-DtPe-TEm.js} +3 -3
  56. package/dist/{index-BLACZ3-L.js → index-FvlaxwGB.js} +20 -20
  57. package/dist/{index.esm2017-CppSMh_U.js → index.esm2017-ePm--Atp.js} +55 -55
  58. package/dist/{loading-DuEFUCwF.js → loading-KNmEMBUB.js} +460 -469
  59. package/dist/{membership-nsMtWeTC.js → membership-DKoVIS1a.js} +3 -3
  60. package/dist/money-CkD3zl5C.js +15 -0
  61. package/dist/number-BDsGpOXm.js +12 -0
  62. package/dist/{rule-CPIMqt1h.js → rule-CzamI50_.js} +2 -2
  63. package/dist/{rule-builder-CSs5XRKP.js → rule-builder-DHf6wfaQ.js} +1 -1
  64. package/dist/style.css +1 -1
  65. package/dist/{template-CJZoYavu.js → template-CFAIPoD7.js} +63 -63
  66. package/dist/{usePagination-BeF5K3M7.js → usePagination-JoYaROkV.js} +85 -85
  67. package/dist/{xlsx-BZlnYinX.js → xlsx-BDJMaozs.js} +517 -517
  68. package/package.json +4 -7
  69. package/dist/Analytic-5QztrYSp.js +0 -622
  70. package/dist/Broadcast-DmkrJGp2.js +0 -223
  71. package/dist/Card-BsjFTVsH.js +0 -825
  72. package/dist/Collections-7wqZHOax.js +0 -453
  73. package/dist/Credit-CcNrq9qk.js +0 -220
  74. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BIZDiLns.js +0 -345
  75. package/dist/Experience-DNsQLzDH.js +0 -221
  76. package/dist/Game-DlzDerT7.js +0 -255
  77. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +0 -144
  78. package/dist/MainLayout-B1aJoR95.js +0 -41
  79. package/dist/Marketing-BqhpaG4o.js +0 -316
  80. package/dist/Member-AFgZcdtz.js +0 -69
  81. package/dist/MemberList-BKgrLz2C.js +0 -1733
  82. package/dist/MemberOverview-wL_ailso.js +0 -58
  83. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-GCEQCVOt.js +0 -432
  84. package/dist/Mission-BTAia7AS.js +0 -261
  85. package/dist/Point-Ck8EG_3k.js +0 -222
  86. package/dist/Promotion-0v3kvsK3.js +0 -247
  87. package/dist/Segment-BenLupqV.js +0 -437
  88. package/dist/Setting-0fpREqpJ.js +0 -1901
  89. package/dist/Store-BDGwe4ar.js +0 -1511
  90. package/dist/StoreRewards-TDZt9H1V.js +0 -401
  91. package/dist/Transaction-DpnTxlbf.js +0 -39
  92. package/dist/Voucher-DsP_rh8I.js +0 -490
  93. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-SukfoJpU.js +0 -56
  94. package/dist/app-DzAexOqx.js +0 -5639
  95. package/dist/dto-ozu1smC3.js +0 -2770
  96. package/dist/index-CZgQVRsm.js +0 -3
  97. package/dist/index-Oxr-mU6h.js +0 -29193
  98. package/dist/money-BGZPFtUc.js +0 -15
  99. package/dist/number-4J0xvXP9.js +0 -12
  100. package/dist/vue-i18n-CCyiVzOE.js +0 -2365
  101. package/dist/zod-Bg2FbC-D.js +0 -90
@@ -1,4 +1,4 @@
1
- import { z as t, F as e, m as i } from "./loading-DuEFUCwF.js";
1
+ import { z as t, F as e, m as i } from "./loading-KNmEMBUB.js";
2
2
  const n = t.enum(["FACEBOOK", "INSTAGRAM", "TV", "BRAND_APP"]), s = {
3
3
  collectionName: "MarketingMaterials",
4
4
  transform: {
@@ -1,4 +1,4 @@
1
- import { g as e, S as n, b as o } from "./index-Oxr-mU6h.js";
1
+ import { g as e, S as n, b as o } from "./index-BLDYTxnc.js";
2
2
  const t = () => {
3
3
  const a = n.getBusinessId();
4
4
  if (!a) throw new Error("Invalid business ID");
@@ -1,4 +1,4 @@
1
- import { g as t, S as n, b as u } from "./index-Oxr-mU6h.js";
1
+ import { g as t, S as n, b as u } from "./index-BLDYTxnc.js";
2
2
  const a = () => {
3
3
  const e = n.getBusinessId();
4
4
  if (!e) throw new Error("Invalid business ID");
@@ -1,4 +1,4 @@
1
- import { g as n, S as I, u as C, b as _ } from "./index-Oxr-mU6h.js";
1
+ import { g as n, S as I, u as C, b as _ } from "./index-BLDYTxnc.js";
2
2
  const c = () => {
3
3
  if (!I.getBusinessId()) throw new Error("Invalid business ID");
4
4
  return C("users");
@@ -1,5 +1,5 @@
1
- import { z as e, F as t, g as f, e as s, d as r, m as a } from "./loading-DuEFUCwF.js";
2
- import { e as l } from "./index-9w43_U1v.js";
1
+ import { z as e, F as t, g as f, e as s, d as r, m as a } from "./loading-KNmEMBUB.js";
2
+ import { e as l } from "./index-D_f2lmK2.js";
3
3
  import "vue";
4
4
  const I = e.object({
5
5
  icon: e.string(),
@@ -85,7 +85,7 @@ const C = e.object({
85
85
  rule: l.nullish()
86
86
  }), N = (o, i) => {
87
87
  const n = o;
88
- n.isFeedvibe && r.Dinero.fromFdoDinero(n.price).toUnit() < 0.1 && i.addIssue({
88
+ n.isFeedvibe && r.Dinero.fromFdoDinero(n.price).toUnit() < 10 && i.addIssue({
89
89
  code: "custom",
90
90
  path: ["price"],
91
91
  message: "Price must be at least RM10"
@@ -1,4 +1,4 @@
1
- import { z as b, F as Mn, m as Zv } from "./loading-DuEFUCwF.js";
1
+ import { z as b, F as Mn, m as Zv } from "./loading-KNmEMBUB.js";
2
2
  import { c as Hr, g as Vv } from "./_commonjsHelpers-BkfeUUK-.js";
3
3
  //! moment.js
4
4
  //! version : 2.30.1
@@ -1,8 +1,8 @@
1
- import { z as e, F as n, e as A, m as p } from "./loading-DuEFUCwF.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-9w43_U1v.js";
3
- import { b as T } from "./index-A34xEz20.js";
4
- import { b as L, c as ee } from "./index-BLACZ3-L.js";
5
- import { d as ne } from "./index-DAEmawcj.js";
1
+ import { z as e, F as n, e as A, m as p } from "./loading-KNmEMBUB.js";
2
+ import { e as _, F as D, a as d, h as X, g as Z, j as c, k as Q, m as $ } from "./index-D_f2lmK2.js";
3
+ import { b as T } from "./index-DtPe-TEm.js";
4
+ import { d as L, e as ee } from "./index-FvlaxwGB.js";
5
+ import { d as ne } from "./index-DEZsrQ2f.js";
6
6
  const P = e.enum([
7
7
  "VOUCHER",
8
8
  "PROMOTION",
@@ -14,7 +14,7 @@ const P = e.enum([
14
14
  "REWARD_POOL",
15
15
  "GAME",
16
16
  "MISSION"
17
- ]), M = e.enum(["TIME_BASED_PROMOTION", "GAME_PROMOTION"]), Ke = {
17
+ ]), M = e.enum(["TIME_BASED_PROMOTION", "GAME_PROMOTION"]), Ve = {
18
18
  [M.enum.TIME_BASED_PROMOTION]: "7.7.4",
19
19
  [M.enum.GAME_PROMOTION]: "7.7.4"
20
20
  };
@@ -82,7 +82,7 @@ const oe = {
82
82
  "MEMBER_REWARD",
83
83
  "GAME_COMPLETED",
84
84
  "PAGINATE_SCHEDULE"
85
- ]), Je = i.extract([
85
+ ]), Ke = i.extract([
86
86
  "BILL_COMPLETED",
87
87
  "FEEDBACK",
88
88
  "GAME_COMPLETED",
@@ -109,9 +109,9 @@ s.extend({
109
109
  type: e.literal(i.enum.ENTER_SEGMENT),
110
110
  segment: e.string()
111
111
  });
112
- const ce = s.extend({
112
+ const de = s.extend({
113
113
  type: e.literal(i.enum.MEMBER_REWARD)
114
- }), de = s.extend({
114
+ }), ce = s.extend({
115
115
  type: e.literal(i.enum.SCHEDULE)
116
116
  // option: FdoCronRule,
117
117
  }), me = s.extend({
@@ -127,13 +127,13 @@ const ce = s.extend({
127
127
  }), be = e.discriminatedUnion("type", [
128
128
  re,
129
129
  ae,
130
- de,
130
+ ce,
131
131
  le,
132
132
  me,
133
133
  ue,
134
134
  pe,
135
135
  Ee,
136
- ce,
136
+ de,
137
137
  ge
138
138
  ]);
139
139
  e.object({
@@ -149,13 +149,13 @@ const m = e.object({
149
149
  campaignIds: e.array(n).optional(),
150
150
  slackWebhookUrl: e.string().optional(),
151
151
  emittedAt: e.coerce.date().default(/* @__PURE__ */ new Date())
152
- }), ye = m.extend({
152
+ }), Ce = m.extend({
153
153
  type: e.literal(i.enum.BILL_COMPLETED),
154
154
  context: e.object({
155
155
  bill: ie,
156
156
  rawBill: e.any()
157
157
  })
158
- }), Ce = m.extend({
158
+ }), ye = m.extend({
159
159
  type: e.literal(i.enum.SCHEDULE),
160
160
  context: e.object({
161
161
  triggeredAt: e.coerce.date()
@@ -191,8 +191,8 @@ const m = e.object({
191
191
  })
192
192
  });
193
193
  e.discriminatedUnion("type", [
194
- ye,
195
194
  Ce,
195
+ ye,
196
196
  _e,
197
197
  Ie,
198
198
  he,
@@ -227,7 +227,7 @@ const Fe = e.object({
227
227
  I.partial({
228
228
  _id: !0
229
229
  });
230
- const Ye = I.partial({
230
+ const Je = I.partial({
231
231
  _id: !0
232
232
  }), Ae = {
233
233
  collectionName: "Cards",
@@ -277,29 +277,27 @@ e.object({
277
277
  bundle: e.string().optional(),
278
278
  subscriptionBundle: e.string().optional()
279
279
  });
280
- const Te = e.enum(["SMS", "EMAIL"]), E = e.object({
280
+ const Te = e.enum(["SMS", "WHATSAPP"]), E = e.object({
281
281
  channel: Te,
282
282
  variables: e.array(e.string()),
283
- title: e.string().nullish(),
284
- design: e.any(),
285
283
  content: e.string(),
286
284
  language: e.string(),
287
- imageUrl: e.string().nullish()
285
+ imageUrl: e.string().optional()
288
286
  }).superRefine((o, a) => {
289
287
  o.content.length == 0 && a.addIssue({
290
288
  code: e.ZodIssueCode.custom,
291
289
  message: "Content is required"
292
290
  });
293
- const C = /{{(.*?)}}/g, R = [...o.content.matchAll(C)].map((u) => u[1]), O = o.variables, b = R.filter((u) => O.indexOf(u) < 0);
291
+ const y = /{{(.*?)}}/g, R = [...o.content.matchAll(y)].map((u) => u[1]), O = o.variables, b = R.filter((u) => O.indexOf(u) < 0);
294
292
  b.length && a.addIssue({
295
293
  code: e.ZodIssueCode.custom,
296
294
  message: "Invalid variable(s): " + b.join(", ")
297
295
  });
298
296
  });
299
- function qe(o, a) {
300
- return o.replace(/{{(.*?)}}/g, (C, R) => {
297
+ function Ye(o, a) {
298
+ return o.replace(/{{(.*?)}}/g, (y, R) => {
301
299
  const b = R.trim().split(".").reduce((u, q) => (u != null ? u[q] : null) ?? null, a);
302
- return b !== null ? b : C;
300
+ return b !== null ? b : y;
303
301
  });
304
302
  }
305
303
  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({
@@ -310,17 +308,17 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), S = e.number().min(0, "We
310
308
  type: e.literal(h.enum.VOUCHER),
311
309
  collectible: n,
312
310
  collectibleConfig: e.lazy(() => D._def.right.options[0]),
313
- earningOption: e.lazy(() => c)
311
+ earningOption: e.lazy(() => d)
314
312
  }), f = e.object({
315
313
  type: e.literal(h.enum.LOYALTY),
316
314
  collectible: n,
317
- earningOption: e.lazy(() => c),
315
+ earningOption: e.lazy(() => d),
318
316
  validityOption: e.lazy(() => X)
319
317
  }), U = B.extend({
320
318
  weight: S
321
319
  }), j = f.extend({
322
320
  weight: e.number().min(0, "Weight need to be at least 0")
323
- }), Xe = f.extend({
321
+ }), qe = f.extend({
324
322
  validityOption: Z
325
323
  }), Le = e.discriminatedUnion("type", [
326
324
  U,
@@ -338,17 +336,17 @@ const h = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), S = e.number().min(0, "We
338
336
  N
339
337
  ]), G = B.extend({
340
338
  threshold: x
341
- }), z = f.extend({
339
+ }), H = f.extend({
342
340
  threshold: x
343
341
  }), v = e.discriminatedUnion("type", [
344
342
  G,
345
- z
343
+ H
346
344
  ]), Pe = e.discriminatedUnion("type", [
347
345
  G.extend({
348
346
  collectible: n.nullish(),
349
347
  business: n.nullish()
350
348
  }),
351
- z.extend({
349
+ H.extend({
352
350
  collectible: n.nullish(),
353
351
  collectibleConfig: D.nullish(),
354
352
  business: n.nullish()
@@ -413,15 +411,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
413
411
  foreignField: "group"
414
412
  }
415
413
  }
416
- }, Ze = e.object({
414
+ }, Xe = e.object({
417
415
  _id: n,
418
416
  name: e.string().min(1).max(300),
419
417
  business: n,
420
418
  pf_campaigns: e.array(e.any()).optional()
421
419
  }).describe(p.describe(Be)), Ue = e.object({
422
- from: e.string().email().nullish(),
423
- name: e.string().min(1).max(50).nullish()
424
- }), je = e.object({
425
420
  type: e.literal(P.enum.MEMBERSHIP),
426
421
  business: n,
427
422
  name: e.string().min(1).max(50),
@@ -442,9 +437,8 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
442
437
  ).optional(),
443
438
  targetLocation: e.array(n).nullish(),
444
439
  brand: e.string().nullish(),
445
- email: Ue.nullish(),
446
440
  freeCreditAsDiscount: e.boolean().optional(),
447
- pf_title: e.array(e.lazy(() => d)).optional(),
441
+ pf_title: e.array(e.lazy(() => c)).optional(),
448
442
  pf_targetLocation: e.array(e.lazy(() => w)).optional(),
449
443
  // new structure
450
444
  group: e.string().nullish(),
@@ -460,10 +454,8 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
460
454
  timeframeOptions: Q.superRefine((o, a) => {
461
455
  o.start && o.end && o.end < o.start && a.addIssue({
462
456
  code: "custom",
463
- path: [],
464
- params: {
465
- i18n: { key: "timeframe.end_before_start" }
466
- }
457
+ message: "End date must be later or same as start date",
458
+ path: []
467
459
  });
468
460
  }).nullish(),
469
461
  targetLocation: e.array(n).nullish(),
@@ -524,7 +516,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
524
516
  "FEEDBACK",
525
517
  "SCHEDULE"
526
518
  ]
527
- }, H = l.extend({
519
+ }, z = l.extend({
528
520
  type: e.literal(t.enum.VOUCHER),
529
521
  // event
530
522
  code: e.string().min(0).max(15).optional(),
@@ -533,7 +525,7 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
533
525
  type: e.enum(r[t.enum.VOUCHER])
534
526
  })
535
527
  ),
536
- earningOption: c.default({
528
+ earningOption: d.default({
537
529
  amount: 1,
538
530
  type: "FIXED"
539
531
  }),
@@ -542,9 +534,9 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
542
534
  notify: e.boolean().optional(),
543
535
  notifyMessage: e.lazy(() => E).optional(),
544
536
  notifyCampaign: n.nullish(),
545
- pf_collectible: e.lazy(() => d).optional(),
537
+ pf_collectible: e.lazy(() => c).optional(),
546
538
  pf_notifyCampaign: e.lazy(() => g).optional()
547
- }), Ge = e.object({
539
+ }), je = e.object({
548
540
  gameType: e.string()
549
541
  }), k = l.extend({
550
542
  type: e.literal(t.enum.PROMOTION),
@@ -557,13 +549,10 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
557
549
  effect: e.custom().superRefine((o, a) => {
558
550
  o || a.addIssue({
559
551
  code: "custom",
560
- path: [],
561
- params: {
562
- i18n: { key: "zodCustom.campaign.effect_required" }
563
- }
552
+ message: "Effect is required"
564
553
  });
565
554
  }),
566
- gameConfig: Ge.nullish()
555
+ gameConfig: je.nullish()
567
556
  }), W = l.extend({
568
557
  type: e.literal(t.enum.POINT),
569
558
  // event
@@ -572,12 +561,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
572
561
  type: e.enum(r[t.enum.POINT])
573
562
  })
574
563
  ),
575
- earningOption: c,
564
+ earningOption: d,
576
565
  collectible: n,
577
566
  notify: e.boolean().optional(),
578
567
  notifyMessage: e.lazy(() => E).optional(),
579
568
  notifyCampaign: n.nullish(),
580
- pf_collectible: e.lazy(() => d).optional(),
569
+ pf_collectible: e.lazy(() => c).optional(),
581
570
  pf_notifyCampaign: e.lazy(() => g).optional()
582
571
  }), V = l.extend({
583
572
  type: e.literal(t.enum.CREDIT),
@@ -587,12 +576,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
587
576
  type: e.enum(r[t.enum.CREDIT])
588
577
  })
589
578
  ),
590
- earningOption: c,
579
+ earningOption: d,
591
580
  collectible: n,
592
581
  notify: e.boolean().optional(),
593
582
  notifyMessage: e.lazy(() => E).optional(),
594
583
  notifyCampaign: n.nullish(),
595
- pf_collectible: e.lazy(() => d).optional(),
584
+ pf_collectible: e.lazy(() => c).optional(),
596
585
  pf_notifyCampaign: e.lazy(() => g).optional()
597
586
  }), g = l.extend({
598
587
  type: e.literal(t.enum.BROADCAST),
@@ -612,14 +601,14 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
612
601
  type: e.enum(r[t.enum.COIN])
613
602
  })
614
603
  ),
615
- earningOption: c,
604
+ earningOption: d,
616
605
  collectible: n,
617
606
  notify: e.boolean().optional(),
618
607
  notifyMessage: e.lazy(() => E).optional(),
619
608
  notifyCampaign: n.nullish(),
620
- pf_collectible: e.lazy(() => d).optional(),
609
+ pf_collectible: e.lazy(() => c).optional(),
621
610
  pf_notifyCampaign: e.lazy(() => g).optional()
622
- }), y = l.extend({
611
+ }), C = l.extend({
623
612
  type: e.literal(t.enum.REWARD_POOL),
624
613
  // event
625
614
  event: s.merge(
@@ -636,10 +625,10 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
636
625
  type: e.enum(r[t.enum.GAME])
637
626
  })
638
627
  ),
639
- earningOption: c,
628
+ earningOption: d,
640
629
  collectible: n,
641
- game: e.lazy(() => y).optional(),
642
- pf_collectible: e.lazy(() => d).optional(),
630
+ game: e.lazy(() => C).optional(),
631
+ pf_collectible: e.lazy(() => c).optional(),
643
632
  rewardPool: n.optional()
644
633
  }), Y = l.extend({
645
634
  type: e.literal(t.enum.MISSION),
@@ -648,12 +637,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
648
637
  type: e.enum(r[t.enum.MISSION])
649
638
  })
650
639
  ),
651
- earningOption: c,
640
+ earningOption: d,
652
641
  collectible: n,
653
- pf_collectible: e.lazy(() => d).optional(),
642
+ pf_collectible: e.lazy(() => c).optional(),
654
643
  mission: e.lazy(() => Ne),
655
644
  rewards: e.array(e.lazy(() => v)).min(1, "Requires at least 1 reward")
656
- }), ze = {
645
+ }), Ge = {
657
646
  collectionName: "Campaigns",
658
647
  transform: {
659
648
  _id: "oid",
@@ -695,21 +684,21 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
695
684
  as: "game"
696
685
  }
697
686
  }
698
- }, Qe = e.object({ _id: n }).and(
687
+ }, Ze = e.object({ _id: n }).and(
699
688
  e.discriminatedUnion("type", [
700
- je,
701
- H,
689
+ Ue,
690
+ z,
702
691
  k,
703
692
  W,
704
693
  V,
705
694
  g,
706
695
  K,
707
- y,
696
+ C,
708
697
  J,
709
698
  Y
710
699
  ])
711
- ).describe(p.describe(ze)), $e = e.discriminatedUnion("type", [
712
- H.extend({
700
+ ).describe(p.describe(Ge)), Qe = e.discriminatedUnion("type", [
701
+ z.extend({
713
702
  business: n.nullish()
714
703
  }),
715
704
  k.extend({
@@ -727,12 +716,12 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
727
716
  K.extend({
728
717
  business: n.nullish()
729
718
  }),
730
- y.extend({
719
+ C.extend({
731
720
  rewards: e.array(e.lazy(() => F)).min(1, "Requires at least 1 reward")
732
721
  }),
733
722
  J.extend({
734
723
  business: n.nullish(),
735
- game: y.extend({
724
+ game: C.extend({
736
725
  business: n.nullish(),
737
726
  rewards: e.array(e.lazy(() => F)).min(1, "Requires at least 1 reward")
738
727
  })
@@ -744,19 +733,18 @@ const xe = e.enum(["PROGRESSIVE", "STAMP"]), Ne = e.object({
744
733
  ]);
745
734
  export {
746
735
  r as C,
747
- Ye as F,
736
+ Je as F,
748
737
  t as a,
749
- Je as b,
750
- Xe as c,
738
+ Ke as b,
739
+ qe as c,
751
740
  F as d,
752
741
  xe as e,
753
742
  Pe as f,
754
743
  Ne as g,
755
- Ke as h,
744
+ Ve as h,
756
745
  P as i,
757
- Ze as j,
758
- $e as k,
759
- Qe as l,
760
- je as m,
761
- qe as r
746
+ Xe as j,
747
+ Qe as k,
748
+ Ze as l,
749
+ Ye as r
762
750
  };
@@ -0,0 +1,11 @@
1
+ import { createRouter as o, createWebHistory as r } from "vue-router";
2
+ import { r as t, R as e } from "./app-Bt59niI-.js";
3
+ const s = o({
4
+ history: r(),
5
+ routes: t
6
+ });
7
+ e["$connect-DASHBOARD"];
8
+ const a = s;
9
+ export {
10
+ a as R
11
+ };