@feedmepos/mf-connect 0.1.3-prod → 0.1.4-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 (87) hide show
  1. package/dist/Analytic-07T9poLx.js +423 -0
  2. package/dist/{App-DvtYt9h5.js → App-C6MukSCT.js} +276 -275
  3. package/dist/Broadcast-CzsgeZNO.js +223 -0
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DoH4RX_Y.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BirunpzI.js} +8 -8
  5. package/dist/Card-DQnyWZZf.js +824 -0
  6. package/dist/{Collections-C5-k8WkG.js → Collections-BV7CSqRw.js} +4 -4
  7. package/dist/Credit-CxsbYGLZ.js +220 -0
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-DCbvlp5V.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BKSZYxvb.js} +918 -901
  9. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-DpsrI-Z3.js +345 -0
  10. package/dist/Experience-eMUbhq7h.js +221 -0
  11. package/dist/Game-CxAG2ViS.js +255 -0
  12. package/dist/Marketing-CozMj2Y5.js +316 -0
  13. package/dist/Member-DM1dj3F5.js +69 -0
  14. package/dist/{MemberList-CMefeirT.js → MemberList-DNjK9BbG.js} +14 -14
  15. package/dist/{MemberTransactions-B9oYdzjR.js → MemberTransactions-CsjN3LZA.js} +1 -1
  16. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-B0T7ze7r.js → MessageInput.vue_vue_type_script_setup_true_lang-DVQE9v2R.js} +2 -2
  17. package/dist/Mission-BugvTPPH.js +261 -0
  18. package/dist/Point-D8BjGtqT.js +222 -0
  19. package/dist/Promotion-mc9KBzoJ.js +253 -0
  20. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BGM1doWM.js → RuleGroup.vue_vue_type_script_setup_true_lang-B2H3D_kZ.js} +15 -15
  21. package/dist/Segment-DZRFA-Pb.js +565 -0
  22. package/dist/Setting-DxNhR44e.js +1871 -0
  23. package/dist/Store-CdkJWpjV.js +1530 -0
  24. package/dist/StoreRewards-Cdturia8.js +400 -0
  25. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-JumDBZLs.js → StoreTransactions.vue_vue_type_script_setup_true_lang-D7GcOiUM.js} +10 -10
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BtBCggcN.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-nuCOrrLE.js} +1 -1
  27. package/dist/{Tier-ms8r2E7c.js → Tier-I_MMd39Y.js} +470 -445
  28. package/dist/{Title-BBKoBs46.js → Title-DK5gmUvo.js} +298 -282
  29. package/dist/Transaction-BXpTIMS_.js +39 -0
  30. package/dist/Voucher-BQ5h2G0I.js +490 -0
  31. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-eAP99wyg.js +141 -0
  32. package/dist/app-CL2Wxzv5.js +5639 -0
  33. package/dist/{app-CGgrMOc_.js → app-DTAyCT-G.js} +1 -1
  34. package/dist/app.js +4 -3
  35. package/dist/{business-DeMUnCNX.js → business-B9OUlaFZ.js} +1 -1
  36. package/dist/{campaign-CBszI6An.js → campaign-CNbUA51l.js} +2 -2
  37. package/dist/{collection.fn-D4Qgx1aW.js → collection.fn-D_i45T4Q.js} +2 -2
  38. package/dist/dto-B4208_es.js +2770 -0
  39. package/dist/{effect-2p4_SGbQ.js → effect-Ye_yr8et.js} +1 -1
  40. package/dist/{email-addresses-Bc9od2gA.js → email-addresses-Gm7Dyaxy.js} +1 -1
  41. package/dist/{export-BK6FgeQO.js → export-Buee5oUV.js} +3 -3
  42. package/dist/{helper-DUkKW7uc.js → helper-BBlHhMFc.js} +1 -1
  43. package/dist/{index-BWWnWRpt.js → index-BxJgFvym.js} +2 -2
  44. package/dist/{index-g4L04WYz.js → index-ByaM-yoc.js} +91 -86
  45. package/dist/{index-B9f-K1No.js → index-C0QHb5SL.js} +2 -2
  46. package/dist/{index-M1SmasnI.js → index-C363BG5A.js} +3 -3
  47. package/dist/{index-Ci8tkzSn.js → index-CLL3no-v.js} +1 -1
  48. package/dist/{index-Cvbyv9Hx.js → index-ChSVaFk3.js} +1 -1
  49. package/dist/{index-D4HYMbSu.js → index-Co9n8I_5.js} +3 -3
  50. package/dist/index-CoGNKU8v.js +3 -0
  51. package/dist/{index-BFcrfL4W.js → index-DHGcUMVN.js} +1 -1
  52. package/dist/{index-CTmiZrHu.js → index-DWWtZSrm.js} +1 -1
  53. package/dist/{index-DRaETKbn.js → index-DdVZgYE4.js} +258 -256
  54. package/dist/{index-AZ8cKg9n.js → index-Dx3HwWcb.js} +1 -1
  55. package/dist/{index.esm2017-kvuav0Sd.js → index.esm2017-Dd02dg_O.js} +38 -38
  56. package/dist/{loading-MNCADfHc.js → loading-Or1ZDzDS.js} +11 -11
  57. package/dist/{membership-CsbTF-DX.js → membership-B8h5ku-v.js} +3 -3
  58. package/dist/{money-Lo7kavmu.js → money-CmsKAJBT.js} +1 -1
  59. package/dist/{number-BviV2K5O.js → number-iEhp7Uai.js} +1 -1
  60. package/dist/{rule-DKrUrnrM.js → rule-BORkgSMK.js} +3 -3
  61. package/dist/{rule-builder-DjPniLk6.js → rule-builder-DEfkSr68.js} +1 -1
  62. package/dist/{template-DteMEC9C.js → template-C_Y7bhlI.js} +4 -4
  63. package/dist/{usePagination-BKTq-UbV.js → usePagination-Ci8-uZvb.js} +1 -1
  64. package/dist/vue-i18n-BXzrZRP6.js +2365 -0
  65. package/package.json +7 -4
  66. package/dist/Analytic-DiPWt78u.js +0 -423
  67. package/dist/Broadcast-Dv4XcvBh.js +0 -216
  68. package/dist/Card-DDvwlZF0.js +0 -823
  69. package/dist/Credit-BDQIr_FJ.js +0 -214
  70. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-BQzgcn4V.js +0 -344
  71. package/dist/Experience-B9H3tOF0.js +0 -211
  72. package/dist/Game-cy3_ppLO.js +0 -250
  73. package/dist/Marketing-CWXV2n5F.js +0 -309
  74. package/dist/Member-DyTX22Zk.js +0 -92
  75. package/dist/Mission-DxSO3iES.js +0 -248
  76. package/dist/Point-C5UtlqkX.js +0 -220
  77. package/dist/Promotion-DhSGTj-R.js +0 -244
  78. package/dist/Segment-BzI6Ykxp.js +0 -564
  79. package/dist/Setting-SRUWwF9w.js +0 -1870
  80. package/dist/Store-CIrn_7Mh.js +0 -1533
  81. package/dist/StoreRewards-BYc0vgnr.js +0 -429
  82. package/dist/Transaction-IZL9-6fe.js +0 -36
  83. package/dist/Voucher-CIWulmcc.js +0 -485
  84. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js +0 -140
  85. package/dist/app-BQvluJk_.js +0 -2974
  86. package/dist/dto-Dtvg93Bz.js +0 -1145
  87. package/dist/index-UR1Lxi0C.js +0 -11
@@ -1,16 +1,16 @@
1
- import { defineComponent as U, ref as B, 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 P, createVNode as I, normalizeClass as L, createElementVNode as H, Fragment as k, renderList as Y } from "vue";
2
- import { z as e, F as m, m as f } from "./loading-MNCADfHc.js";
3
- import "./index-Cvbyv9Hx.js";
4
- import { R as a } from "./rule-builder-DjPniLk6.js";
5
- import { i as o } from "./helper-DUkKW7uc.js";
6
- import { d as K, e as j } from "./index-BWWnWRpt.js";
1
+ import { defineComponent as P, ref as V, resolveComponent as s, openBlock as p, createBlock as O, unref as I, withCtx as g, renderSlot as L, createElementBlock as d, toDisplayString as u, createCommentVNode as G, createVNode as h, normalizeClass as x, createElementVNode as H, Fragment as k, renderList as Y } from "vue";
2
+ import { z as e, F as c, m as f } from "./loading-Or1ZDzDS.js";
3
+ import "./index-ChSVaFk3.js";
4
+ import { R as t } from "./rule-builder-DEfkSr68.js";
5
+ import { i as o } from "./helper-BBlHhMFc.js";
6
+ import { d as K, e as j } from "./index-BxJgFvym.js";
7
7
  const W = {
8
8
  key: 0,
9
9
  class: "fm-typo-en-body-lg-400 mb-4"
10
10
  }, X = {
11
11
  key: 1,
12
12
  class: "fm-typo-en-body-lg-400"
13
- }, q = { class: "rounded-md bg-white shadow-md max-h-[300px] overflow-y-scroll pl-4 py-12" }, ue = /* @__PURE__ */ U({
13
+ }, q = { class: "rounded-md bg-white shadow-md max-h-[300px] overflow-y-scroll pl-4 py-12" }, ue = /* @__PURE__ */ P({
14
14
  __name: "CustomSelect",
15
15
  props: {
16
16
  label: {
@@ -36,41 +36,41 @@ const W = {
36
36
  }
37
37
  },
38
38
  emits: ["update:model-value"],
39
- setup(t, { emit: N }) {
40
- const v = N, s = B(!1);
41
- return (b, _) => {
42
- const M = c("FmIcon"), w = c("FmField"), A = c("FmMenuItem"), F = c("FmPopover");
43
- return r(), C(F, {
44
- "show-popover": O(s),
45
- onPopoverChanged: _[0] || (_[0] = (i) => s.value = i),
46
- "z-index": t.zIndex
39
+ setup(n, { emit: w }) {
40
+ const _ = w, m = V(!1);
41
+ return (v, b) => {
42
+ const A = s("FmIcon"), N = s("FmField"), F = s("FmMenuItem"), U = s("FmPopover");
43
+ return p(), O(U, {
44
+ "show-popover": I(m),
45
+ onPopoverChanged: b[0] || (b[0] = (a) => m.value = a),
46
+ "z-index": n.zIndex
47
47
  }, {
48
48
  "popover-button": g(() => [
49
- T(b.$slots, "popover-button", {}, () => [
50
- t.label ? (r(), d("div", W, u(t.label), 1)) : P("", !0),
51
- I(w, null, {
49
+ L(v.$slots, "popover-button", {}, () => [
50
+ n.label ? (p(), d("div", W, u(n.label), 1)) : G("", !0),
51
+ h(N, null, {
52
52
  append: g(() => [
53
- T(b.$slots, "append"),
54
- I(M, {
55
- name: O(s) ? "expand_less" : "expand_more",
53
+ L(v.$slots, "append"),
54
+ h(A, {
55
+ name: I(m) ? "expand_less" : "expand_more",
56
56
  size: "md",
57
57
  color: "black"
58
58
  }, null, 8, ["name"])
59
59
  ]),
60
60
  default: g(() => {
61
- var i;
61
+ var a;
62
62
  return [
63
- t.multiselect ? (r(), d("div", X, u(t.items.filter((n) => {
64
- var p;
65
- return (p = t.modelValue) == null ? void 0 : p.includes(n.value);
66
- }).map((n) => n.label).join(", ")), 1)) : (r(), d("div", {
63
+ n.multiselect ? (p(), d("div", X, u(n.items.filter((i) => {
64
+ var r;
65
+ return (r = n.modelValue) == null ? void 0 : r.includes(i.value);
66
+ }).map((i) => i.label).join(", ")), 1)) : (p(), d("div", {
67
67
  key: 0,
68
- class: L(["fm-typo-en-body-lg-400", {
69
- "text-fm-color-typo-secondary": !t.items.find(
70
- (n) => n.value == t.modelValue
68
+ class: x(["fm-typo-en-body-lg-400", {
69
+ "text-fm-color-typo-secondary": !n.items.find(
70
+ (i) => i.value == n.modelValue
71
71
  )
72
72
  }])
73
- }, u(((i = t.items.find((n) => n.value == t.modelValue)) == null ? void 0 : i.label) || t.placeholder), 3))
73
+ }, u(((a = n.items.find((i) => i.value == n.modelValue)) == null ? void 0 : a.label) || n.placeholder), 3))
74
74
  ];
75
75
  }),
76
76
  _: 3
@@ -79,23 +79,23 @@ const W = {
79
79
  ]),
80
80
  default: g(() => [
81
81
  H("div", q, [
82
- (r(!0), d(k, null, Y(t.items, (i) => {
83
- var n, p;
84
- return r(), C(A, {
85
- class: L(`${t.multiselect ? (n = t.modelValue) != null && n.some((l) => l == i.value) ? "bg-fm-color-system-warning-100" : "" : t.modelValue == i.value}`),
86
- "has-checkbox": t.multiselect,
87
- key: i.value,
88
- "model-value": t.multiselect ? (p = t.modelValue) == null ? void 0 : p.some((l) => l == i.value) : t.modelValue == i.value,
89
- label: i.label,
82
+ (p(!0), d(k, null, Y(n.items, (a) => {
83
+ var i, r;
84
+ return p(), O(F, {
85
+ class: x(`${n.multiselect ? (i = n.modelValue) != null && i.some((l) => l == a.value) ? "bg-fm-color-system-warning-100" : "" : n.modelValue == a.value}`),
86
+ "has-checkbox": n.multiselect,
87
+ key: a.value,
88
+ "model-value": n.multiselect ? (r = n.modelValue) == null ? void 0 : r.some((l) => l == a.value) : n.modelValue == a.value,
89
+ label: a.label,
90
90
  onClick: (l) => {
91
91
  var E;
92
- if (l.stopPropagation(), !t.multiselect)
93
- s.value = !1, v("update:model-value", i.value);
92
+ if (l.stopPropagation(), !n.multiselect)
93
+ m.value = !1, _("update:model-value", a.value);
94
94
  else {
95
- const V = (E = t.modelValue) == null ? void 0 : E.some((y) => y == i.value);
96
- v(
95
+ const B = (E = n.modelValue) == null ? void 0 : E.some((y) => y == a.value);
96
+ _(
97
97
  "update:model-value",
98
- V ? (t.modelValue ?? []).filter((y) => y !== i.value) : [...t.modelValue ?? [], i.value]
98
+ B ? (n.modelValue ?? []).filter((y) => y !== a.value) : [...n.modelValue ?? [], a.value]
99
99
  );
100
100
  }
101
101
  }
@@ -113,30 +113,30 @@ const W = {
113
113
  description: "Promotion template for campaign creation.",
114
114
  steps: [
115
115
  {
116
- name: "General information",
116
+ name: "connect.template.general_information",
117
117
  groups: [
118
118
  {
119
- name: "General",
119
+ name: "connect.template.general",
120
120
  fields: [
121
121
  {
122
- label: "Campaign name",
122
+ label: "connect.template.campaign_name",
123
123
  property: "campaign.name",
124
124
  type: "text"
125
125
  },
126
126
  {
127
- label: "Campaign description",
127
+ label: "connect.template.campaign_description",
128
128
  property: "campaign.description",
129
129
  type: "textarea"
130
130
  },
131
131
  {
132
- label: "Campaign period",
132
+ label: "connect.template.campaign_period",
133
133
  property: "campaign.timeframeOptions",
134
134
  type: "timeframe"
135
135
  }
136
136
  ]
137
137
  },
138
138
  {
139
- name: "Trigger",
139
+ name: "connect.template.trigger",
140
140
  fields: [
141
141
  {
142
142
  label: void 0,
@@ -149,10 +149,10 @@ const W = {
149
149
  ]
150
150
  },
151
151
  {
152
- name: "Discount",
152
+ name: "connect.template.discount",
153
153
  groups: [
154
154
  {
155
- name: "Discount",
155
+ name: "connect.template.discount",
156
156
  fields: [
157
157
  {
158
158
  label: void 0,
@@ -164,10 +164,10 @@ const W = {
164
164
  ]
165
165
  },
166
166
  {
167
- name: "Terms and conditions",
167
+ name: "connect.template.terms_conditions",
168
168
  groups: [
169
169
  {
170
- name: "Time limitation",
170
+ name: "connect.template.time_limitation",
171
171
  fields: [
172
172
  {
173
173
  label: void 0,
@@ -178,7 +178,7 @@ const W = {
178
178
  ]
179
179
  },
180
180
  {
181
- name: "Target audience",
181
+ name: "connect.template.target_audience",
182
182
  fields: [
183
183
  {
184
184
  label: void 0,
@@ -223,7 +223,7 @@ const W = {
223
223
  effect: null,
224
224
  event: {
225
225
  type: "MAKING_ORDER",
226
- rule: a.scaffoldGroup()
226
+ rule: t.scaffoldGroup()
227
227
  },
228
228
  group: null,
229
229
  targetLocation: null,
@@ -240,30 +240,30 @@ const W = {
240
240
  description: "Voucher template for campaign creation.",
241
241
  steps: [
242
242
  {
243
- name: "General information",
243
+ name: "connect.template.general_information",
244
244
  groups: [
245
245
  {
246
- name: "General",
246
+ name: "connect.template.general",
247
247
  fields: [
248
248
  {
249
- label: "Campaign name",
249
+ label: "connect.template.campaign_name",
250
250
  property: "campaign.name",
251
251
  type: "text"
252
252
  },
253
253
  {
254
- label: "Campaign description",
254
+ label: "connect.template.campaign_description",
255
255
  property: "campaign.description",
256
256
  type: "textarea"
257
257
  },
258
258
  {
259
- label: "Campaign period",
259
+ label: "connect.template.campaign_period",
260
260
  property: "campaign.timeframeOptions",
261
261
  type: "timeframe"
262
262
  }
263
263
  ]
264
264
  },
265
265
  {
266
- name: "Trigger",
266
+ name: "connect.template.trigger",
267
267
  fields: [
268
268
  {
269
269
  label: void 0,
@@ -291,10 +291,10 @@ const W = {
291
291
  ]
292
292
  },
293
293
  {
294
- name: "Discount",
294
+ name: "connect.template.discount",
295
295
  groups: [
296
296
  {
297
- name: "Discount",
297
+ name: "connect.template.discount",
298
298
  fields: [
299
299
  {
300
300
  label: void 0,
@@ -304,20 +304,20 @@ const W = {
304
304
  ]
305
305
  },
306
306
  {
307
- name: "Voucher detail",
307
+ name: "connect.template.voucher_detail",
308
308
  fields: [
309
309
  {
310
- label: "Voucher name",
310
+ label: "connect.template.voucher_name",
311
311
  property: "configs.name",
312
312
  type: "text"
313
313
  },
314
314
  {
315
- label: "Voucher description",
315
+ label: "connect.template.voucher_description",
316
316
  property: "configs.description",
317
317
  type: "textarea"
318
318
  },
319
319
  {
320
- label: "Voucher image",
320
+ label: "Voucher Image",
321
321
  property: "configs.image",
322
322
  type: "image"
323
323
  }
@@ -326,10 +326,10 @@ const W = {
326
326
  ]
327
327
  },
328
328
  {
329
- name: "Terms and conditions",
329
+ name: "connect.template.terms_conditions",
330
330
  groups: [
331
331
  {
332
- name: "Time limitation",
332
+ name: "connect.template.time_limitation",
333
333
  fields: [
334
334
  {
335
335
  label: void 0,
@@ -345,7 +345,7 @@ const W = {
345
345
  }
346
346
  },
347
347
  {
348
- name: "Spending criteria",
348
+ name: "connect.template.spending_criteria",
349
349
  fields: [
350
350
  {
351
351
  label: void 0,
@@ -359,7 +359,7 @@ const W = {
359
359
  }
360
360
  },
361
361
  {
362
- name: "Feedback criteria",
362
+ name: "connect.template.feedback_criteria",
363
363
  fields: [
364
364
  {
365
365
  label: void 0,
@@ -373,7 +373,7 @@ const W = {
373
373
  }
374
374
  },
375
375
  {
376
- name: "Target audience",
376
+ name: "connect.template.target_audience",
377
377
  fields: [
378
378
  {
379
379
  label: void 0,
@@ -388,7 +388,7 @@ const W = {
388
388
  ]
389
389
  },
390
390
  {
391
- name: "Voucher usage configuration",
391
+ name: "connect.template.voucher_usage_configuration",
392
392
  fields: [
393
393
  {
394
394
  label: void 0,
@@ -400,10 +400,10 @@ const W = {
400
400
  ]
401
401
  },
402
402
  {
403
- name: "Configuration",
403
+ name: "connect.template.configuration",
404
404
  groups: [
405
405
  {
406
- name: "Location",
406
+ name: "connect.template.location",
407
407
  fields: [
408
408
  {
409
409
  label: "Target location",
@@ -451,7 +451,7 @@ const W = {
451
451
  ]
452
452
  },
453
453
  {
454
- name: "Notify message",
454
+ name: "connect.template.notify_message",
455
455
  fields: [
456
456
  {
457
457
  label: "Notification message",
@@ -480,7 +480,7 @@ const W = {
480
480
  code: "",
481
481
  event: {
482
482
  type: "BILL_COMPLETED",
483
- rule: a.scaffoldGroup()
483
+ rule: t.scaffoldGroup()
484
484
  },
485
485
  group: null,
486
486
  targetLocation: null,
@@ -514,25 +514,25 @@ const W = {
514
514
  description: "Broadcast template for campaign creation.",
515
515
  steps: [
516
516
  {
517
- name: "General information",
517
+ name: "connect.template.general_information",
518
518
  groups: [
519
519
  {
520
- name: "General",
520
+ name: "connect.template.general",
521
521
  fields: [
522
522
  {
523
- label: "Campaign name",
523
+ label: "connect.template.campaign_name",
524
524
  property: "campaign.name",
525
525
  type: "text"
526
526
  },
527
527
  {
528
- label: "Campaign description",
528
+ label: "connect.template.campaign_description",
529
529
  property: "campaign.description",
530
530
  type: "textarea"
531
531
  }
532
532
  ]
533
533
  },
534
534
  {
535
- name: "Trigger",
535
+ name: "connect.template.trigger",
536
536
  fields: [
537
537
  {
538
538
  label: void 0,
@@ -543,7 +543,7 @@ const W = {
543
543
  ]
544
544
  },
545
545
  {
546
- name: "Broadcast configuration",
546
+ name: "connect.template.broadcast_configuration",
547
547
  fields: [
548
548
  {
549
549
  label: void 0,
@@ -560,10 +560,10 @@ const W = {
560
560
  ]
561
561
  },
562
562
  {
563
- name: "Terms and conditions",
563
+ name: "connect.template.terms_conditions",
564
564
  groups: [
565
565
  {
566
- name: "Target audience",
566
+ name: "connect.template.target_audience",
567
567
  fields: [
568
568
  {
569
569
  label: void 0,
@@ -573,7 +573,7 @@ const W = {
573
573
  ]
574
574
  },
575
575
  {
576
- name: "Feedback criteria",
576
+ name: "connect.template.feedback_criteria",
577
577
  fields: [
578
578
  {
579
579
  label: void 0,
@@ -589,10 +589,10 @@ const W = {
589
589
  ]
590
590
  },
591
591
  {
592
- name: "Configuration",
592
+ name: "connect.template.configuration",
593
593
  groups: [
594
594
  {
595
- name: "Content",
595
+ name: "connect.template.content",
596
596
  fields: [
597
597
  {
598
598
  label: void 0,
@@ -602,7 +602,7 @@ const W = {
602
602
  ]
603
603
  },
604
604
  {
605
- name: "Location",
605
+ name: "connect.template.location",
606
606
  fields: [
607
607
  {
608
608
  label: void 0,
@@ -625,17 +625,17 @@ const W = {
625
625
  image: "",
626
626
  event: {
627
627
  type: "SCHEDULE",
628
- rule: a.setRuleToGroup(
629
- a.scaffoldGroup(),
630
- a.setRuleToGroup(
631
- a.scaffoldGroup("g_schedule"),
628
+ rule: t.setRuleToGroup(
629
+ t.scaffoldGroup(),
630
+ t.setRuleToGroup(
631
+ t.scaffoldGroup("g_schedule"),
632
632
  [
633
- a.constructEntry(
633
+ t.constructEntry(
634
634
  "trigger.date",
635
635
  "_rrule",
636
636
  "RRULE:FREQ=DAILY;INTERVAL=1;BYHOUR=0;BYMINUTE=0;BYSECOND=0;WKST=SU"
637
637
  ),
638
- a.constructEntry(
638
+ t.constructEntry(
639
639
  "trigger.time",
640
640
  "_isOnTime",
641
641
  "00:00"
@@ -665,30 +665,30 @@ const W = {
665
665
  description: "Experience template for campaign creation.",
666
666
  steps: [
667
667
  {
668
- name: "General information",
668
+ name: "connect.template.general_information",
669
669
  groups: [
670
670
  {
671
- name: "General",
671
+ name: "connect.template.general",
672
672
  fields: [
673
673
  {
674
- label: "Campaign name",
674
+ label: "connect.template.campaign_name",
675
675
  property: "campaign.name",
676
676
  type: "text"
677
677
  },
678
678
  {
679
- label: "Campaign description",
679
+ label: "connect.template.campaign_description",
680
680
  property: "campaign.description",
681
681
  type: "textarea"
682
682
  },
683
683
  {
684
- label: "Campaign period",
684
+ label: "connect.template.campaign_period",
685
685
  property: "campaign.timeframeOptions",
686
686
  type: "timeframe"
687
687
  }
688
688
  ]
689
689
  },
690
690
  {
691
- name: "Trigger",
691
+ name: "connect.template.trigger",
692
692
  fields: [
693
693
  {
694
694
  label: void 0,
@@ -716,10 +716,10 @@ const W = {
716
716
  ]
717
717
  },
718
718
  {
719
- name: "Terms and conditions",
719
+ name: "connect.template.terms_conditions",
720
720
  groups: [
721
721
  {
722
- name: "Time limitation",
722
+ name: "connect.template.time_limitation",
723
723
  fields: [
724
724
  {
725
725
  label: void 0,
@@ -735,7 +735,7 @@ const W = {
735
735
  }
736
736
  },
737
737
  {
738
- name: "Spending criteria",
738
+ name: "connect.template.spending_criteria",
739
739
  fields: [
740
740
  {
741
741
  label: void 0,
@@ -749,7 +749,7 @@ const W = {
749
749
  }
750
750
  },
751
751
  {
752
- name: "Feedback criteria",
752
+ name: "connect.template.feedback_criteria",
753
753
  fields: [
754
754
  {
755
755
  label: void 0,
@@ -763,7 +763,7 @@ const W = {
763
763
  }
764
764
  },
765
765
  {
766
- name: "Target audience",
766
+ name: "connect.template.target_audience",
767
767
  fields: [
768
768
  {
769
769
  label: void 0,
@@ -775,10 +775,10 @@ const W = {
775
775
  ]
776
776
  },
777
777
  {
778
- name: "Configuration",
778
+ name: "connect.template.configuration",
779
779
  groups: [
780
780
  {
781
- name: "Earning type",
781
+ name: "connect.template.earning_type",
782
782
  fields: [
783
783
  {
784
784
  label: void 0,
@@ -794,7 +794,7 @@ const W = {
794
794
  ]
795
795
  },
796
796
  {
797
- name: "Location",
797
+ name: "connect.template.location",
798
798
  fields: [
799
799
  {
800
800
  label: "Target location",
@@ -829,7 +829,7 @@ const W = {
829
829
  image: "",
830
830
  event: {
831
831
  type: "BILL_COMPLETED",
832
- rule: a.scaffoldGroup()
832
+ rule: t.scaffoldGroup()
833
833
  },
834
834
  group: null,
835
835
  targetLocation: null,
@@ -852,30 +852,30 @@ const W = {
852
852
  description: "Point template for campaign creation.",
853
853
  steps: [
854
854
  {
855
- name: "General information",
855
+ name: "connect.template.general_information",
856
856
  groups: [
857
857
  {
858
- name: "General",
858
+ name: "connect.template.general",
859
859
  fields: [
860
860
  {
861
- label: "Campaign name",
861
+ label: "connect.template.campaign_name",
862
862
  property: "campaign.name",
863
863
  type: "text"
864
864
  },
865
865
  {
866
- label: "Campaign description",
866
+ label: "connect.template.campaign_description",
867
867
  property: "campaign.description",
868
868
  type: "textarea"
869
869
  },
870
870
  {
871
- label: "Campaign period",
871
+ label: "connect.template.campaign_period",
872
872
  property: "campaign.timeframeOptions",
873
873
  type: "timeframe"
874
874
  }
875
875
  ]
876
876
  },
877
877
  {
878
- name: "Trigger",
878
+ name: "connect.template.trigger",
879
879
  fields: [
880
880
  {
881
881
  label: void 0,
@@ -903,10 +903,10 @@ const W = {
903
903
  ]
904
904
  },
905
905
  {
906
- name: "Terms and conditions",
906
+ name: "connect.template.terms_conditions",
907
907
  groups: [
908
908
  {
909
- name: "Time limitation",
909
+ name: "connect.template.time_limitation",
910
910
  fields: [
911
911
  {
912
912
  label: void 0,
@@ -922,7 +922,7 @@ const W = {
922
922
  }
923
923
  },
924
924
  {
925
- name: "Spending criteria",
925
+ name: "connect.template.spending_criteria",
926
926
  fields: [
927
927
  {
928
928
  label: void 0,
@@ -936,7 +936,7 @@ const W = {
936
936
  }
937
937
  },
938
938
  {
939
- name: "Feedback criteria",
939
+ name: "connect.template.feedback_criteria",
940
940
  fields: [
941
941
  {
942
942
  label: void 0,
@@ -950,7 +950,7 @@ const W = {
950
950
  }
951
951
  },
952
952
  {
953
- name: "Target audience",
953
+ name: "connect.template.target_audience",
954
954
  fields: [
955
955
  {
956
956
  label: void 0,
@@ -962,10 +962,10 @@ const W = {
962
962
  ]
963
963
  },
964
964
  {
965
- name: "Configuration",
965
+ name: "connect.template.configuration",
966
966
  groups: [
967
967
  {
968
- name: "Earning type",
968
+ name: "connect.template.earning_type",
969
969
  fields: [
970
970
  {
971
971
  label: void 0,
@@ -981,7 +981,7 @@ const W = {
981
981
  ]
982
982
  },
983
983
  {
984
- name: "Location",
984
+ name: "connect.template.location",
985
985
  fields: [
986
986
  {
987
987
  label: "Target location",
@@ -1016,7 +1016,7 @@ const W = {
1016
1016
  image: "",
1017
1017
  event: {
1018
1018
  type: "BILL_COMPLETED",
1019
- rule: a.scaffoldGroup()
1019
+ rule: t.scaffoldGroup()
1020
1020
  },
1021
1021
  group: null,
1022
1022
  targetLocation: null,
@@ -1039,30 +1039,30 @@ const W = {
1039
1039
  description: "Credit template for campaign creation.",
1040
1040
  steps: [
1041
1041
  {
1042
- name: "General information",
1042
+ name: "connect.template.general_information",
1043
1043
  groups: [
1044
1044
  {
1045
- name: "General",
1045
+ name: "connect.template.general",
1046
1046
  fields: [
1047
1047
  {
1048
- label: "Campaign name",
1048
+ label: "connect.template.campaign_name",
1049
1049
  property: "campaign.name",
1050
1050
  type: "text"
1051
1051
  },
1052
1052
  {
1053
- label: "Campaign description",
1053
+ label: "connect.template.campaign_description",
1054
1054
  property: "campaign.description",
1055
1055
  type: "textarea"
1056
1056
  },
1057
1057
  {
1058
- label: "Campaign period",
1058
+ label: "connect.template.campaign_period",
1059
1059
  property: "campaign.timeframeOptions",
1060
1060
  type: "timeframe"
1061
1061
  }
1062
1062
  ]
1063
1063
  },
1064
1064
  {
1065
- name: "Trigger",
1065
+ name: "connect.template.trigger",
1066
1066
  fields: [
1067
1067
  {
1068
1068
  label: void 0,
@@ -1090,10 +1090,10 @@ const W = {
1090
1090
  ]
1091
1091
  },
1092
1092
  {
1093
- name: "Terms and conditions",
1093
+ name: "connect.template.terms_conditions",
1094
1094
  groups: [
1095
1095
  {
1096
- name: "Time limitation",
1096
+ name: "connect.template.time_limitation",
1097
1097
  fields: [
1098
1098
  {
1099
1099
  label: void 0,
@@ -1109,7 +1109,7 @@ const W = {
1109
1109
  }
1110
1110
  },
1111
1111
  {
1112
- name: "Spending criteria",
1112
+ name: "connect.template.spending_criteria",
1113
1113
  fields: [
1114
1114
  {
1115
1115
  label: void 0,
@@ -1123,7 +1123,7 @@ const W = {
1123
1123
  }
1124
1124
  },
1125
1125
  {
1126
- name: "Feedback criteria",
1126
+ name: "connect.template.feedback_criteria",
1127
1127
  fields: [
1128
1128
  {
1129
1129
  label: void 0,
@@ -1137,7 +1137,7 @@ const W = {
1137
1137
  }
1138
1138
  },
1139
1139
  {
1140
- name: "Target audience",
1140
+ name: "connect.template.target_audience",
1141
1141
  fields: [
1142
1142
  {
1143
1143
  label: void 0,
@@ -1149,10 +1149,10 @@ const W = {
1149
1149
  ]
1150
1150
  },
1151
1151
  {
1152
- name: "Configuration",
1152
+ name: "connect.template.configuration",
1153
1153
  groups: [
1154
1154
  {
1155
- name: "Earning type",
1155
+ name: "connect.template.earning_type",
1156
1156
  fields: [
1157
1157
  {
1158
1158
  label: void 0,
@@ -1168,7 +1168,7 @@ const W = {
1168
1168
  ]
1169
1169
  },
1170
1170
  {
1171
- name: "Location",
1171
+ name: "connect.template.location",
1172
1172
  fields: [
1173
1173
  {
1174
1174
  label: "Target location",
@@ -1203,7 +1203,7 @@ const W = {
1203
1203
  image: "",
1204
1204
  event: {
1205
1205
  type: "BILL_COMPLETED",
1206
- rule: a.scaffoldGroup()
1206
+ rule: t.scaffoldGroup()
1207
1207
  },
1208
1208
  group: null,
1209
1209
  targetLocation: null,
@@ -1216,7 +1216,9 @@ const W = {
1216
1216
  amount: 1
1217
1217
  },
1218
1218
  config: {
1219
- validityOption: {}
1219
+ validityOption: {
1220
+ validForDay: 1
1221
+ }
1220
1222
  }
1221
1223
  }
1222
1224
  }
@@ -1226,30 +1228,30 @@ const W = {
1226
1228
  description: "Token template for campaign creation.",
1227
1229
  steps: [
1228
1230
  {
1229
- name: "General information",
1231
+ name: "connect.template.general_information",
1230
1232
  groups: [
1231
1233
  {
1232
- name: "General",
1234
+ name: "connect.template.general",
1233
1235
  fields: [
1234
1236
  {
1235
- label: "Campaign name",
1237
+ label: "connect.template.campaign_name",
1236
1238
  property: "campaign.name",
1237
1239
  type: "text"
1238
1240
  },
1239
1241
  {
1240
- label: "Campaign description",
1242
+ label: "connect.template.campaign_description",
1241
1243
  property: "campaign.description",
1242
1244
  type: "textarea"
1243
1245
  },
1244
1246
  {
1245
- label: "Campaign period",
1247
+ label: "connect.template.campaign_period",
1246
1248
  property: "campaign.timeframeOptions",
1247
1249
  type: "timeframe"
1248
1250
  }
1249
1251
  ]
1250
1252
  },
1251
1253
  {
1252
- name: "Trigger",
1254
+ name: "connect.template.trigger",
1253
1255
  fields: [
1254
1256
  {
1255
1257
  label: void 0,
@@ -1277,10 +1279,10 @@ const W = {
1277
1279
  ]
1278
1280
  },
1279
1281
  {
1280
- name: "Terms and conditions",
1282
+ name: "connect.template.terms_conditions",
1281
1283
  groups: [
1282
1284
  {
1283
- name: "Time limitation",
1285
+ name: "connect.template.time_limitation",
1284
1286
  fields: [
1285
1287
  {
1286
1288
  label: void 0,
@@ -1296,7 +1298,7 @@ const W = {
1296
1298
  }
1297
1299
  },
1298
1300
  {
1299
- name: "Spending criteria",
1301
+ name: "connect.template.spending_criteria",
1300
1302
  fields: [
1301
1303
  {
1302
1304
  label: void 0,
@@ -1310,7 +1312,7 @@ const W = {
1310
1312
  }
1311
1313
  },
1312
1314
  {
1313
- name: "Feedback criteria",
1315
+ name: "connect.template.feedback_criteria",
1314
1316
  fields: [
1315
1317
  {
1316
1318
  label: void 0,
@@ -1324,7 +1326,7 @@ const W = {
1324
1326
  }
1325
1327
  },
1326
1328
  {
1327
- name: "Target audience",
1329
+ name: "connect.template.target_audience",
1328
1330
  fields: [
1329
1331
  {
1330
1332
  label: void 0,
@@ -1336,10 +1338,10 @@ const W = {
1336
1338
  ]
1337
1339
  },
1338
1340
  {
1339
- name: "Configuration",
1341
+ name: "connect.template.configuration",
1340
1342
  groups: [
1341
1343
  {
1342
- name: "Earning type",
1344
+ name: "connect.template.earning_type",
1343
1345
  fields: [
1344
1346
  {
1345
1347
  label: void 0,
@@ -1355,7 +1357,7 @@ const W = {
1355
1357
  ]
1356
1358
  },
1357
1359
  {
1358
- name: "Location",
1360
+ name: "connect.template.location",
1359
1361
  fields: [
1360
1362
  {
1361
1363
  label: "Target location",
@@ -1367,10 +1369,10 @@ const W = {
1367
1369
  ]
1368
1370
  },
1369
1371
  {
1370
- name: "Game configuration",
1372
+ name: "connect.template.game_configuration",
1371
1373
  groups: [
1372
1374
  {
1373
- name: "Game type",
1375
+ name: "connect.template.game_type",
1374
1376
  fields: [
1375
1377
  {
1376
1378
  label: "Select a game where you want your customer to play",
@@ -1382,10 +1384,10 @@ const W = {
1382
1384
  ]
1383
1385
  },
1384
1386
  {
1385
- name: "Reward pool",
1387
+ name: "connect.template.reward_pool",
1386
1388
  groups: [
1387
1389
  {
1388
- name: "Reward pool",
1390
+ name: "connect.template.reward_pool",
1389
1391
  fields: [
1390
1392
  {
1391
1393
  label: "Configure the reward type and weightage given to your customer.",
@@ -1410,7 +1412,7 @@ const W = {
1410
1412
  image: "",
1411
1413
  event: {
1412
1414
  type: "BILL_COMPLETED",
1413
- rule: a.scaffoldGroup()
1415
+ rule: t.scaffoldGroup()
1414
1416
  },
1415
1417
  group: null,
1416
1418
  targetLocation: null,
@@ -1428,7 +1430,7 @@ const W = {
1428
1430
  game: {
1429
1431
  event: {
1430
1432
  type: "GAME_COMPLETED",
1431
- rule: a.scaffoldGroup()
1433
+ rule: t.scaffoldGroup()
1432
1434
  },
1433
1435
  name: "rewardpool_",
1434
1436
  targetLocation: null,
@@ -1452,30 +1454,30 @@ const W = {
1452
1454
  description: "Mission template for campaign creation.",
1453
1455
  steps: [
1454
1456
  {
1455
- name: "General information",
1457
+ name: "connect.template.general_information",
1456
1458
  groups: [
1457
1459
  {
1458
- name: "General",
1460
+ name: "connect.template.general",
1459
1461
  fields: [
1460
1462
  {
1461
- label: "Campaign name",
1463
+ label: "connect.template.campaign_name",
1462
1464
  property: "campaign.name",
1463
1465
  type: "text"
1464
1466
  },
1465
1467
  {
1466
- label: "Campaign description",
1468
+ label: "connect.template.campaign_description",
1467
1469
  property: "campaign.description",
1468
1470
  type: "textarea"
1469
1471
  },
1470
1472
  {
1471
- label: "Campaign period",
1473
+ label: "connect.template.campaign_period",
1472
1474
  property: "campaign.timeframeOptions",
1473
1475
  type: "timeframe"
1474
1476
  }
1475
1477
  ]
1476
1478
  },
1477
1479
  {
1478
- name: "Trigger",
1480
+ name: "connect.template.trigger",
1479
1481
  fields: [
1480
1482
  {
1481
1483
  label: void 0,
@@ -1503,10 +1505,10 @@ const W = {
1503
1505
  ]
1504
1506
  },
1505
1507
  {
1506
- name: "Terms and conditions",
1508
+ name: "connect.template.terms_conditions",
1507
1509
  groups: [
1508
1510
  {
1509
- name: "Time limitation",
1511
+ name: "connect.template.time_limitation",
1510
1512
  fields: [
1511
1513
  {
1512
1514
  label: void 0,
@@ -1522,7 +1524,7 @@ const W = {
1522
1524
  }
1523
1525
  },
1524
1526
  {
1525
- name: "Feedback criteria",
1527
+ name: "connect.template.feedback_criteria",
1526
1528
  fields: [
1527
1529
  {
1528
1530
  label: void 0,
@@ -1536,7 +1538,7 @@ const W = {
1536
1538
  }
1537
1539
  },
1538
1540
  {
1539
- name: "Target audience",
1541
+ name: "connect.template.target_audience",
1540
1542
  fields: [
1541
1543
  {
1542
1544
  label: void 0,
@@ -1546,7 +1548,7 @@ const W = {
1546
1548
  ]
1547
1549
  },
1548
1550
  {
1549
- name: "Spending criteria",
1551
+ name: "connect.template.spending_criteria",
1550
1552
  fields: [
1551
1553
  {
1552
1554
  label: void 0,
@@ -1562,7 +1564,7 @@ const W = {
1562
1564
  ]
1563
1565
  },
1564
1566
  {
1565
- name: "Configuration",
1567
+ name: "connect.template.configuration",
1566
1568
  groups: [
1567
1569
  // {
1568
1570
  // name: 'Earning type',
@@ -1576,7 +1578,7 @@ const W = {
1576
1578
  // ],
1577
1579
  // },
1578
1580
  {
1579
- name: "Location",
1581
+ name: "connect.template.location",
1580
1582
  fields: [
1581
1583
  {
1582
1584
  label: "Target location",
@@ -1588,7 +1590,7 @@ const W = {
1588
1590
  ]
1589
1591
  },
1590
1592
  {
1591
- name: "Mission configuration",
1593
+ name: "connect.template.mission_configuration",
1592
1594
  groups: [
1593
1595
  {
1594
1596
  name: void 0,
@@ -1601,7 +1603,7 @@ const W = {
1601
1603
  ]
1602
1604
  },
1603
1605
  {
1604
- name: "Earning type",
1606
+ name: "connect.template.earning_type",
1605
1607
  fields: [
1606
1608
  {
1607
1609
  label: void 0,
@@ -1612,7 +1614,7 @@ const W = {
1612
1614
  ]
1613
1615
  },
1614
1616
  {
1615
- name: "Validity configuration",
1617
+ name: "connect.template.validity_configuration",
1616
1618
  fields: [
1617
1619
  {
1618
1620
  label: void 0,
@@ -1622,7 +1624,7 @@ const W = {
1622
1624
  ]
1623
1625
  },
1624
1626
  {
1625
- name: "Mission participation",
1627
+ name: "connect.template.mission_participation",
1626
1628
  fields: [
1627
1629
  {
1628
1630
  label: void 0,
@@ -1635,10 +1637,10 @@ const W = {
1635
1637
  ]
1636
1638
  },
1637
1639
  {
1638
- name: "Reward setup",
1640
+ name: "connect.template.reward_setup",
1639
1641
  groups: [
1640
1642
  {
1641
- name: "Configure reward",
1643
+ name: "connect.template.configure_reward",
1642
1644
  fields: [
1643
1645
  {
1644
1646
  label: "Configure the reward type given to your customer.",
@@ -1665,7 +1667,7 @@ const W = {
1665
1667
  },
1666
1668
  event: {
1667
1669
  type: "BILL_COMPLETED",
1668
- rule: a.scaffoldGroup()
1670
+ rule: t.scaffoldGroup()
1669
1671
  },
1670
1672
  mission: {
1671
1673
  type: "STAMP",
@@ -1688,46 +1690,46 @@ const W = {
1688
1690
  }
1689
1691
  }
1690
1692
  };
1691
- a.scaffoldGroup(), o("STAMP", {
1693
+ t.scaffoldGroup(), o("STAMP", {
1692
1694
  business: null,
1693
1695
  noCampaign: !1
1694
1696
  });
1695
1697
  ({
1696
- ...a.scaffoldGroup()
1698
+ ...t.scaffoldGroup()
1697
1699
  }, o("VOUCHER", {
1698
1700
  name: "",
1699
1701
  business: null,
1700
1702
  noCampaign: !1
1701
1703
  }));
1702
1704
  ({
1703
- ...a.scaffoldGroup()
1705
+ ...t.scaffoldGroup()
1704
1706
  }, o("VOUCHER", {
1705
1707
  name: "",
1706
1708
  business: null,
1707
1709
  noCampaign: !1
1708
1710
  }));
1709
1711
  ({
1710
- ...a.scaffoldGroup()
1712
+ ...t.scaffoldGroup()
1711
1713
  });
1712
1714
  ({
1713
- ...a.scaffoldGroup()
1715
+ ...t.scaffoldGroup()
1714
1716
  });
1715
1717
  ({
1716
- ...a.scaffoldGroup()
1718
+ ...t.scaffoldGroup()
1717
1719
  });
1718
- a.setRuleToGroup(
1719
- a.scaffoldGroup(),
1720
- a.setRuleToGroup(
1721
- a.scaffoldGroup("g_user"),
1722
- [a.constructEntry("user.member", "_isIn", [!0])],
1720
+ t.setRuleToGroup(
1721
+ t.scaffoldGroup(),
1722
+ t.setRuleToGroup(
1723
+ t.scaffoldGroup("g_user"),
1724
+ [t.constructEntry("user.member", "_isIn", [!0])],
1723
1725
  "&&"
1724
1726
  )
1725
1727
  );
1726
- a.setRuleToGroup(a.scaffoldGroup(), [
1727
- a.setRuleToGroup(
1728
- a.scaffoldGroup("g_user"),
1728
+ t.setRuleToGroup(t.scaffoldGroup(), [
1729
+ t.setRuleToGroup(
1730
+ t.scaffoldGroup("g_user"),
1729
1731
  [
1730
- a.constructEntry("user.birthday", "_isRange", {
1732
+ t.constructEntry("user.birthday", "_isRange", {
1731
1733
  op: "this",
1732
1734
  unit: "month",
1733
1735
  ignoreYear: !0
@@ -1737,88 +1739,88 @@ a.setRuleToGroup(a.scaffoldGroup(), [
1737
1739
  )
1738
1740
  ]);
1739
1741
  ({
1740
- ...a.scaffoldGroup()
1742
+ ...t.scaffoldGroup()
1741
1743
  });
1742
1744
  ({
1743
- ...a.scaffoldGroup()
1745
+ ...t.scaffoldGroup()
1744
1746
  });
1745
1747
  ({
1746
- ...a.scaffoldGroup()
1748
+ ...t.scaffoldGroup()
1747
1749
  }, o("VOUCHER", {
1748
1750
  name: "",
1749
1751
  business: null,
1750
1752
  noCampaign: !1
1751
1753
  }));
1752
- a.setRuleToGroup(
1753
- a.scaffoldGroup(),
1754
- a.setRuleToGroup(
1755
- a.scaffoldGroup("g_schedule"),
1754
+ t.setRuleToGroup(
1755
+ t.scaffoldGroup(),
1756
+ t.setRuleToGroup(
1757
+ t.scaffoldGroup("g_schedule"),
1756
1758
  [
1757
- a.constructEntry("trigger.date", "_isOnDate", ""),
1758
- a.constructEntry("trigger.time", "_isOnTime", "00:00")
1759
+ t.constructEntry("trigger.date", "_isOnDate", ""),
1760
+ t.constructEntry("trigger.time", "_isOnTime", "00:00")
1759
1761
  ],
1760
1762
  "&&"
1761
1763
  )
1762
1764
  );
1763
- a.setRuleToGroup(a.scaffoldGroup(), [
1764
- a.setRuleToGroup(
1765
- a.scaffoldGroup("g_schedule"),
1765
+ t.setRuleToGroup(t.scaffoldGroup(), [
1766
+ t.setRuleToGroup(
1767
+ t.scaffoldGroup("g_schedule"),
1766
1768
  [
1767
- a.constructEntry(
1769
+ t.constructEntry(
1768
1770
  "trigger.date",
1769
1771
  "_rrule",
1770
1772
  "RRULE:FREQ=MONTHLY;INTERVAL=1;BYHOUR=0;BYMINUTE=0;BYSECOND=0;WKST=SU;BYMONTHDAY=1"
1771
1773
  ),
1772
- a.constructEntry("trigger.time", "_isOnTime", "00:00")
1774
+ t.constructEntry("trigger.time", "_isOnTime", "00:00")
1773
1775
  ],
1774
1776
  "&&"
1775
1777
  )
1776
1778
  ]);
1777
- ({ ...a.scaffoldGroup() });
1778
- a.setRuleToGroup(
1779
- a.scaffoldGroup(),
1780
- a.setRuleToGroup(
1781
- a.scaffoldGroup("g_schedule"),
1779
+ ({ ...t.scaffoldGroup() });
1780
+ t.setRuleToGroup(
1781
+ t.scaffoldGroup(),
1782
+ t.setRuleToGroup(
1783
+ t.scaffoldGroup("g_schedule"),
1782
1784
  [
1783
- a.constructEntry(
1785
+ t.constructEntry(
1784
1786
  "trigger.date",
1785
1787
  "_rrule",
1786
1788
  "RRULE:FREQ=WEEKLY;INTERVAL=1;BYHOUR=0;BYMINUTE=0;BYSECOND=0;WKST=SU;BYDAY=MO"
1787
1789
  ),
1788
- a.constructEntry("trigger.time", "_isOnTime", "00:00")
1790
+ t.constructEntry("trigger.time", "_isOnTime", "00:00")
1789
1791
  ],
1790
1792
  "&&"
1791
1793
  )
1792
1794
  );
1793
- a.scaffoldGroup(), a.scaffoldGroup(), o("GAME", {
1795
+ t.scaffoldGroup(), t.scaffoldGroup(), o("GAME", {
1794
1796
  name: "Token",
1795
1797
  business: null,
1796
1798
  noCampaign: !1
1797
1799
  });
1798
1800
  ({
1799
- ...a.scaffoldGroup()
1801
+ ...t.scaffoldGroup()
1800
1802
  }, o("VOUCHER", {
1801
1803
  name: "",
1802
1804
  business: null,
1803
1805
  noCampaign: !1
1804
1806
  }));
1805
- a.setRuleToGroup(a.scaffoldGroup(), [
1806
- a.setRuleToGroup(
1807
- a.scaffoldGroup("g_schedule"),
1807
+ t.setRuleToGroup(t.scaffoldGroup(), [
1808
+ t.setRuleToGroup(
1809
+ t.scaffoldGroup("g_schedule"),
1808
1810
  [
1809
- a.constructEntry(
1811
+ t.constructEntry(
1810
1812
  "trigger.date",
1811
1813
  "_rrule",
1812
1814
  "RRULE:FREQ=MONTHLY;INTERVAL=1;BYHOUR=0;BYMINUTE=0;BYSECOND=0;WKST=SU;BYMONTHDAY=1"
1813
1815
  ),
1814
- a.constructEntry("trigger.time", "_isOnTime", "00:00")
1816
+ t.constructEntry("trigger.time", "_isOnTime", "00:00")
1815
1817
  ],
1816
1818
  "&&"
1817
1819
  ),
1818
- a.setRuleToGroup(
1819
- a.scaffoldGroup("g_user"),
1820
+ t.setRuleToGroup(
1821
+ t.scaffoldGroup("g_user"),
1820
1822
  [
1821
- a.constructEntry("user.birthday", "_isRange", {
1823
+ t.constructEntry("user.birthday", "_isRange", {
1822
1824
  op: "this",
1823
1825
  unit: "month",
1824
1826
  ignoreYear: !0
@@ -1832,22 +1834,22 @@ a.setRuleToGroup(a.scaffoldGroup(), [
1832
1834
  noCampaign: !1
1833
1835
  });
1834
1836
  ({
1835
- ...a.scaffoldGroup()
1837
+ ...t.scaffoldGroup()
1836
1838
  });
1837
1839
  ({
1838
- ...a.scaffoldGroup()
1840
+ ...t.scaffoldGroup()
1839
1841
  });
1840
1842
  ({
1841
- ...a.scaffoldGroup()
1843
+ ...t.scaffoldGroup()
1842
1844
  });
1843
1845
  ({
1844
- ...a.scaffoldGroup()
1846
+ ...t.scaffoldGroup()
1845
1847
  });
1846
1848
  ({
1847
- ...a.scaffoldGroup()
1849
+ ...t.scaffoldGroup()
1848
1850
  });
1849
1851
  ({
1850
- ...a.scaffoldGroup()
1852
+ ...t.scaffoldGroup()
1851
1853
  });
1852
1854
  const z = e.enum([
1853
1855
  "MEMBER_REWARD",
@@ -1905,7 +1907,7 @@ const z = e.enum([
1905
1907
  groups: e.array($)
1906
1908
  });
1907
1909
  e.object({
1908
- _id: m,
1910
+ _id: c,
1909
1911
  name: e.string(),
1910
1912
  description: e.string().nullish(),
1911
1913
  steps: e.array(Z).min(1),
@@ -1919,36 +1921,36 @@ const ee = {
1919
1921
  }
1920
1922
  };
1921
1923
  e.object({
1922
- _id: m,
1924
+ _id: c,
1923
1925
  ownerId: e.string(),
1924
1926
  name: e.string(),
1925
1927
  credit: e.number(),
1926
1928
  forceSend: e.boolean().optional()
1927
1929
  }).describe(f.describe(ee));
1928
- const h = e.enum(["PHONE"]), ae = e.enum(["MOCEAN", "SLACK"]), te = e.enum(["PENDING", "COMPLETED", "FAILED"]), ie = e.enum([
1930
+ const C = e.enum(["PHONE"]), te = e.enum(["MOCEAN", "SLACK"]), ne = e.enum(["PENDING", "COMPLETED", "FAILED"]), ae = e.enum([
1929
1931
  "General",
1930
1932
  "Otp",
1931
1933
  "Marketing",
1932
1934
  "Ordering",
1933
1935
  "MemberInvitation"
1934
- ]), ne = e.object({
1935
- type: h
1936
- }), D = ne.extend({
1937
- type: e.literal(h.enum.PHONE),
1938
- provider: ae,
1939
- usage: ie.optional()
1936
+ ]), ie = e.object({
1937
+ type: C
1938
+ }), D = ie.extend({
1939
+ type: e.literal(C.enum.PHONE),
1940
+ provider: te,
1941
+ usage: ae.optional()
1940
1942
  }), oe = {
1941
1943
  collectionName: "Notifications",
1942
1944
  transform: { _id: "oid", business: "oid" }
1943
1945
  };
1944
1946
  e.object({
1945
- _id: m,
1946
- business: m,
1947
+ _id: c,
1948
+ business: c,
1947
1949
  target: e.string(),
1948
1950
  title: e.string().optional(),
1949
1951
  message: e.string(),
1950
1952
  option: D,
1951
- status: te,
1953
+ status: ne,
1952
1954
  ref: e.string().optional()
1953
1955
  }).describe(f.describe(oe));
1954
1956
  e.object({
@@ -1989,15 +1991,15 @@ e.object({
1989
1991
  claimIds: e.array(e.string()),
1990
1992
  billId: e.string()
1991
1993
  });
1992
- var x = /* @__PURE__ */ ((t) => (t[t.feedMe = 0] = "feedMe", t[t.business = 1] = "business", t[t.restaurant = 2] = "restaurant", t))(x || {});
1993
- e.nativeEnum(x);
1994
+ var T = /* @__PURE__ */ ((n) => (n[n.feedMe = 0] = "feedMe", n[n.business = 1] = "business", n[n.restaurant = 2] = "restaurant", n))(T || {});
1995
+ e.nativeEnum(T);
1994
1996
  e.enum(["manage", "create", "read", "update", "delete"]);
1995
1997
  e.enum(["all", "restaurant", "business", "delivery", "agent"]);
1996
1998
  e.enum(["quota"]);
1997
- var S = /* @__PURE__ */ ((t) => (t.marketing = "business::marketing", t.campaign = "business::campaign", t.counter = "business::counter", t.permission = "business::permission", t.role = "business::role", t))(S || {});
1999
+ var S = /* @__PURE__ */ ((n) => (n.marketing = "business::marketing", n.campaign = "business::campaign", n.counter = "business::counter", n.permission = "business::permission", n.role = "business::role", n))(S || {});
1998
2000
  e.nativeEnum(S);
1999
2001
  e.enum(["restaurant"]);
2000
- const re = e.object({
2002
+ const pe = e.object({
2001
2003
  label: e.string(),
2002
2004
  subject: e.union([e.string(), e.array(e.string())]),
2003
2005
  actions: e.union([e.string(), e.array(e.string())]),
@@ -2007,12 +2009,12 @@ const re = e.object({
2007
2009
  reason: e.string().optional()
2008
2010
  });
2009
2011
  e.object({
2010
- _id: m,
2012
+ _id: c,
2011
2013
  businessId: e.string(),
2012
2014
  userId: e.string(),
2013
2015
  email: e.string().nullish(),
2014
2016
  phoneNo: e.string().nullish(),
2015
- permissions: e.array(e.lazy(() => re))
2017
+ permissions: e.array(e.lazy(() => pe))
2016
2018
  }).describe(
2017
2019
  f.describe({
2018
2020
  collectionName: "PermissionUsers",
@@ -2027,21 +2029,21 @@ const R = e.object({
2027
2029
  role: e.string().optional(),
2028
2030
  businessId: e.string().optional(),
2029
2031
  restaurantId: e.string().optional()
2030
- }), pe = e.function().args(e.any(), R).returns(e.boolean()), le = e.function().args(R).returns(e.promise(e.array(e.any())));
2032
+ }), re = e.function().args(e.any(), R).returns(e.boolean()), le = e.function().args(R).returns(e.promise(e.array(e.any())));
2031
2033
  e.object({
2032
- isAdmin: pe,
2034
+ isAdmin: re,
2033
2035
  getRules: le
2034
2036
  });
2035
2037
  e.object({
2036
2038
  transactions: e.array(K),
2037
2039
  collections: e.array(j)
2038
2040
  });
2039
- const G = e.enum([
2041
+ const M = e.enum([
2040
2042
  "ROCK_PAPER_SCISSOR"
2041
2043
  ]);
2042
- G.enum.ROCK_PAPER_SCISSOR + "";
2044
+ M.enum.ROCK_PAPER_SCISSOR + "";
2043
2045
  e.object({
2044
- type: G
2046
+ type: M
2045
2047
  });
2046
2048
  e.object({
2047
2049
  host: e.string().url(),