@feedmepos/mf-connect 0.1.23-prod → 0.1.25-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 (93) hide show
  1. package/dist/{Analytic-DfTQmuSa.js → Analytic-DmQ3d3sr.js} +18 -17
  2. package/dist/{App-C5AMrBM2.js → App-BK6DtUuH.js} +6 -6
  3. package/dist/{Bin-nZv2ZrAD.js → Bin-B7F2tXkP.js} +19 -18
  4. package/dist/{Broadcast-1ViZILw6.js → Broadcast-6n2TGBgu.js} +13 -12
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Nuj7G5E1.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-_hoK2zXW.js} +14 -8
  6. package/dist/{Card-CUAfRl0P.js → Card-D6AU_9dV.js} +57 -55
  7. package/dist/{Collections-DNlV8CiV.js → Collections-CMbKkYFL.js} +13 -11
  8. package/dist/{Credit-C8WVgeKO.js → Credit-CqLwf2JA.js} +35 -34
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CZmd7K3H.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CRK5WI7g.js} +28 -27
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Crakwwgo.js → EffectSheet.vue_vue_type_style_index_0_lang-CaSqYPQ2.js} +6 -6
  11. package/dist/{Experience-C0ZrJ-rU.js → Experience-OoJ1ODiZ.js} +13 -12
  12. package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
  13. package/dist/Game-IAfjkExX.js +278 -0
  14. package/dist/{Index-C_mvHa_E.js → Index-DqHXbokQ.js} +14 -13
  15. package/dist/{Marketing-7lvR6gR_.js → Marketing-DIVehK5x.js} +8 -7
  16. package/dist/Member-BMT7m7s9.js +348 -0
  17. package/dist/{MemberList-BDsVY1bB.js → MemberList-C3JMhLW6.js} +270 -269
  18. package/dist/{MemberTransactions-DXgJ8Tua.js → MemberTransactions-lQLljdGi.js} +1 -1
  19. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BbiWEoQQ.js → MessageInput.vue_vue_type_script_setup_true_lang-DFPEfDUk.js} +15 -18
  20. package/dist/{Mission-CJnySjh4.js → Mission-BJsuCVHj.js} +118 -96
  21. package/dist/{Overview-ZENHKQhC.js → Overview-D1AMq951.js} +63 -62
  22. package/dist/{Point-DvYLQNmg.js → Point-DGffwTWG.js} +11 -10
  23. package/dist/{Promotion-CE6Mqev4.js → Promotion-Cdu7wiGv.js} +12 -11
  24. package/dist/Queue-Cm4ekHlP.js +249 -0
  25. package/dist/{Record-Cl4o08E4.js → Record-B0JjTQ3K.js} +21 -19
  26. package/dist/{Reward-C1hZ9c6y.js → Reward-U0gEl1no.js} +19 -18
  27. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Co1mzeQA.js → RewardGroup.vue_vue_type_script_setup_true_lang-CiQHPhkN.js} +13 -12
  28. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CDEiSeqW.js → RuleGroup.vue_vue_type_script_setup_true_lang-BgKlwCAG.js} +12 -12
  29. package/dist/{Segment-1RH6jUyt.js → Segment-BsXsG6Ga.js} +19 -17
  30. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-CJTZZ4EH.js → SelectItems.vue_vue_type_script_setup_true_lang-hPQP_srV.js} +2 -2
  31. package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-BLPLYvOq.js +188 -0
  32. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DL2A84oN.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-rL9NYAk0.js} +3 -3
  33. package/dist/{Setting-DK9lsogh.js → Setting-DJxzwVSf.js} +20 -19
  34. package/dist/{Store-DSeXriUy.js → Store-sTvnMjPJ.js} +24 -23
  35. package/dist/{StoreRewards-DFUg0n5g.js → StoreRewards-CffMLGzL.js} +15 -14
  36. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CUPPeZj5.js +994 -0
  37. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-hR4OBTrC.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DwhQONu8.js} +1 -1
  38. package/dist/{Tier-Yq3BNKGq.js → Tier-BbfX13Ns.js} +25 -24
  39. package/dist/{Title-CwWan9gL.js → Title-Bf4fC78d.js} +28 -27
  40. package/dist/{Transaction-BgO5EYZB.js → Transaction-Ef6ee3WD.js} +2 -2
  41. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CyUXbl30.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-w66fAQPQ.js} +6 -6
  42. package/dist/{Voucher-C2w8z86e.js → Voucher-CCH10Wrp.js} +38 -37
  43. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-dEgiWiLL.js → VoucherEditor.vue_vue_type_script_setup_true_lang-C31OGqSE.js} +10 -10
  44. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BME260O1.js → ZodTextField.vue_vue_type_script_setup_true_lang-BqzMSTXs.js} +1 -1
  45. package/dist/{app-BVIgk6aa.js → app-D2t3_10I.js} +1 -1
  46. package/dist/{app-BVsQcG_m.js → app-F5UOtzJ-.js} +235 -166
  47. package/dist/app.js +1 -1
  48. package/dist/{business-CdvE-WIp.js → business-NXwwmhbL.js} +1 -1
  49. package/dist/{campaign-WGLWFuCK.js → campaign-BWkn-fFd.js} +9 -9
  50. package/dist/{campaign-gunNEZhU.js → campaign-Iww5PvJV.js} +2 -2
  51. package/dist/{campaign.enum-O82qvpU2.js → campaign.enum--kHpbveJ.js} +1 -1
  52. package/dist/{campaign.fn-Bzr9Jc5X.js → campaign.fn-D0wKIDQf.js} +123 -123
  53. package/dist/{collectible.enum-CzUCHExj.js → collectible.enum-BpsFdy57.js} +1 -1
  54. package/dist/{collection.fn-Czs8Mpdz.js → collection.fn-B-_j1A52.js} +2 -2
  55. package/dist/{dto-Czd638gm.js → dto-CjOlAnWp.js} +4 -4
  56. package/dist/{effect-D8Km5OHX.js → effect-BMe9xjgR.js} +1 -1
  57. package/dist/{email-addresses-2-RgQal8.js → email-addresses-BwGoUD7O.js} +1 -1
  58. package/dist/{export--jJWZuJy.js → export-Bsk4-mYp.js} +3 -3
  59. package/dist/{helper-BOwvTpT_.js → helper-CiybWTiD.js} +1 -1
  60. package/dist/{index-Bg8Lqk3s.js → index-7QyaWVGn.js} +1 -1
  61. package/dist/{index-DGi6aLjD.js → index-BAW03Ygy.js} +24 -21
  62. package/dist/{index-C6j2uVRJ.js → index-BG_-ksol.js} +1 -1
  63. package/dist/{index-FBWWEOV0.js → index-COTHSMx7.js} +1 -1
  64. package/dist/{index-DExfBo0i.js → index-CRa7QWQZ.js} +3 -3
  65. package/dist/{index-DllRE4Xv.js → index-Cs0QJDgH.js} +1 -1
  66. package/dist/{index-BMPlc7it.js → index-Cu28MWwC.js} +1162 -1129
  67. package/dist/{index-CpsX7fKq.js → index-CvKxhzaQ.js} +1 -1
  68. package/dist/{index-7SYnV8B2.js → index-D7AjQ5_0.js} +1273 -1273
  69. package/dist/{index-CKSGfZ62.js → index-OLChRkvG.js} +2 -2
  70. package/dist/{index-DRVIuG-G.js → index-WxOdPYZc.js} +1 -1
  71. package/dist/{index-CFxA9VYh.js → index-eJ4ofwfd.js} +10 -10
  72. package/dist/{index.esm2017-CkIJgInI.js → index.esm2017-DMXNt25X.js} +137 -137
  73. package/dist/loading-CScT_lmc.js +71 -0
  74. package/dist/{membership-ByveC1Cs.js → membership-DenkPJ5U.js} +3 -3
  75. package/dist/{money-C_wAhRJ4.js → money-B5hybQjS.js} +1 -1
  76. package/dist/{number-B1OxEx_j.js → number-anjTvmBi.js} +1 -1
  77. package/dist/objectid-BHmtsFsO.js +145 -0
  78. package/dist/{loading-C-HOw2p9.js → plugins-VONaCeWn.js} +1535 -1601
  79. package/dist/{reward-BOA1fyrM.js → reward-FwctH8OP.js} +1 -1
  80. package/dist/{rule-CfePtJap.js → rule-BqLIsoB6.js} +3 -3
  81. package/dist/{rule-builder-B7wNFPfi.js → rule-builder-EwN0tKLd.js} +1 -1
  82. package/dist/{template-CvIL9Pex.js → template-bVlMDuHk.js} +4 -4
  83. package/dist/{trigger-D7uzmrxE.js → trigger-Bh7yq_a0.js} +11 -11
  84. package/dist/usePagination-JoYaROkV.js +223 -0
  85. package/dist/{user-NlenrMEw.js → user-z65INcT0.js} +1 -1
  86. package/dist/vue-i18n-59FFzX8P.js +2365 -0
  87. package/dist/{usePagination-BFzJ3YC7.js → xlsx-D9VDeVL9.js} +2979 -3200
  88. package/package.json +3 -1
  89. package/dist/Game-KiwAxjQX.js +0 -256
  90. package/dist/Member-DR406GTr.js +0 -69
  91. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-D_F7zaEl.js +0 -1105
  92. package/dist/objectid-CtnWn6lG.js +0 -145
  93. package/dist/vue-i18n-BjInRP6b.js +0 -2365
@@ -1,4 +1,4 @@
1
- import { z as e } from "./loading-C-HOw2p9.js";
1
+ import { z as e } from "./plugins-VONaCeWn.js";
2
2
  const E = e.enum([
3
3
  "VOUCHER",
4
4
  "CREDIT",
@@ -1,5 +1,5 @@
1
- import "./index-CKSGfZ62.js";
2
- import "./loading-C-HOw2p9.js";
1
+ import "./index-OLChRkvG.js";
2
+ import "./plugins-VONaCeWn.js";
3
3
  function r(e) {
4
4
  switch (e) {
5
5
  case "PROMOTION":
@@ -1,7 +1,7 @@
1
- import { F as i, z as t } from "./loading-C-HOw2p9.js";
2
- import { x as C, a as r, y as h } from "./index-BMPlc7it.js";
3
- import { F as u } from "./index-CKSGfZ62.js";
4
- import { i as I, R as d } from "./rule-builder-B7wNFPfi.js";
1
+ import { F as i, z as t } from "./plugins-VONaCeWn.js";
2
+ import { y as C, a as r, z as h } from "./index-Cu28MWwC.js";
3
+ import { F as u } from "./index-OLChRkvG.js";
4
+ import { i as I, R as d } from "./rule-builder-EwN0tKLd.js";
5
5
  function N(a, e) {
6
6
  var c, l;
7
7
  if (!a) return;
@@ -1,4 +1,4 @@
1
- import { c as r } from "./index-7SYnV8B2.js";
1
+ import { c as r } from "./index-D7AjQ5_0.js";
2
2
  function m(e) {
3
3
  if (!e)
4
4
  return null;
@@ -1,7 +1,7 @@
1
1
  var ur = Object.defineProperty;
2
2
  var ir = (S, b, h) => b in S ? ur(S, b, { enumerable: !0, configurable: !0, writable: !0, value: h }) : S[b] = h;
3
3
  var pn = (S, b, h) => ir(S, typeof b != "symbol" ? b + "" : b, h);
4
- import { u as V } from "./usePagination-BFzJ3YC7.js";
4
+ import { u as V } from "./xlsx-D9VDeVL9.js";
5
5
  import { g as ar } from "./_commonjsHelpers-BkfeUUK-.js";
6
6
  class fr {
7
7
  constructor() {
@@ -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 "./usePagination-BFzJ3YC7.js";
5
- import { u as h } from "./loading-C-HOw2p9.js";
4
+ import { u as a, w as f } from "./xlsx-D9VDeVL9.js";
5
+ import { u as h } from "./loading-CScT_lmc.js";
6
6
  import { h as x } from "./moment-BWErdI6_.js";
7
- import { m as w } from "./index-FBWWEOV0.js";
7
+ import { m as w } from "./index-COTHSMx7.js";
8
8
  class y {
9
9
  constructor() {
10
10
  d(this, "records", []);
@@ -1,4 +1,4 @@
1
- import { h as i } from "./index-CKSGfZ62.js";
1
+ import { h as i } from "./index-OLChRkvG.js";
2
2
  function o(t, e) {
3
3
  switch (t) {
4
4
  case "COIN":
@@ -1,4 +1,4 @@
1
- import { z as t, F as e, m as i } from "./loading-C-HOw2p9.js";
1
+ import { z as t, F as e, m as i } from "./plugins-VONaCeWn.js";
2
2
  const n = t.enum(["FACEBOOK", "INSTAGRAM", "TV", "BRAND_APP"]), s = {
3
3
  collectionName: "MarketingMaterials",
4
4
  transform: {
@@ -1,71 +1,74 @@
1
- import { g as n, S as I, u as C, b as _ } from "./index-7SYnV8B2.js";
2
- const c = () => {
1
+ import { g as t, S as I, u as C, b as w } from "./index-D7AjQ5_0.js";
2
+ const a = () => {
3
3
  if (!I.getBusinessId()) throw new Error("Invalid business ID");
4
4
  return C("users");
5
- }, a = () => {
5
+ }, c = () => {
6
6
  const e = I.getBusinessId();
7
7
  if (!e) throw new Error("Invalid business ID");
8
- return _(`businesses/${e}/membership`, {
8
+ return w(`businesses/${e}/membership`, {
9
9
  noIdRequired: !0
10
10
  });
11
11
  }, y = {
12
12
  async read(e) {
13
- const s = n(
14
- await c().get("", { params: e })
15
- ), t = s.resources.map((r) => {
16
- var i, o, d, l, u, p, m, b;
13
+ const s = t(
14
+ await a().get("", { params: e })
15
+ ), n = s.resources.map((r) => {
16
+ var i, o, d, l, p, u, 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: ((p = (u = r.collection.COIN) == null ? void 0 : u[0]) == null ? void 0 : p.balance) ?? 0,
21
+ collection_COIN_0_balance: ((u = (p = r.collection.COIN) == null ? void 0 : p[0]) == null ? void 0 : u.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
  });
25
25
  return {
26
26
  meta: s.meta,
27
- resources: t
27
+ resources: n
28
28
  };
29
29
  },
30
30
  async readById(e) {
31
- return n(await c().get(`${e}`));
31
+ return t(await a().get(`${e}`));
32
32
  },
33
33
  async sendCredit(e, s) {
34
- return n(
35
- await a().post(
34
+ return t(
35
+ await c().post(
36
36
  `members/${e}/send-credit`,
37
37
  s
38
38
  )
39
39
  );
40
40
  },
41
41
  async deductCredit(e, s) {
42
- return n(
43
- await a().post(
42
+ return t(
43
+ await c().post(
44
44
  `members/${e}/deduct-credit`,
45
45
  s
46
46
  )
47
47
  );
48
48
  },
49
49
  async sendCoin(e, s) {
50
- return n(
51
- await a().post(
50
+ return t(
51
+ await c().post(
52
52
  `members/${e}/send-coin`,
53
53
  s
54
54
  )
55
55
  );
56
56
  },
57
57
  async deductCoin(e, s) {
58
- return n(
59
- await a().post(
58
+ return t(
59
+ await c().post(
60
60
  `members/${e}/deduct-coin`,
61
61
  s
62
62
  )
63
63
  );
64
64
  },
65
65
  async updateMember(e, s) {
66
- return n(
67
- await c().put(`${e}`, s)
66
+ return t(
67
+ await a().put(`${e}`, s)
68
68
  );
69
+ },
70
+ async import(e) {
71
+ return await a().post("import", e);
69
72
  }
70
73
  };
71
74
  export {
@@ -1,3 +1,3 @@
1
1
  import "vue-router";
2
- import { R as o } from "./app-BVsQcG_m.js";
2
+ import { R as o } from "./app-F5UOtzJ-.js";
3
3
  o["$connect-DASHBOARD"];
@@ -1,4 +1,4 @@
1
- import { g as t, S as c, b as u } from "./index-7SYnV8B2.js";
1
+ import { g as t, S as c, b as u } from "./index-D7AjQ5_0.js";
2
2
  const a = () => {
3
3
  const e = c.getBusinessId();
4
4
  if (!e) throw new Error("Invalid business ID");
@@ -1,6 +1,6 @@
1
- import { F as o, e as t, g as a } from "./index-CKSGfZ62.js";
2
- import { z as e, F as i, m as d } from "./loading-C-HOw2p9.js";
3
- import { F as c } from "./collectible.enum-CzUCHExj.js";
1
+ import { F as o, e as t, g as a } from "./index-OLChRkvG.js";
2
+ import { z as e, F as i, m as d } from "./plugins-VONaCeWn.js";
3
+ import { F as c } from "./collectible.enum-BpsFdy57.js";
4
4
  const l = e.enum(["VOUCHER", "LOYALTY"]), n = e.object({
5
5
  type: e.literal(l.enum.VOUCHER),
6
6
  collectible: i,
@@ -1,4 +1,4 @@
1
- import { g as s, S as o, b as i } from "./index-7SYnV8B2.js";
1
+ import { g as s, S as o, b as i } from "./index-D7AjQ5_0.js";
2
2
  const a = () => {
3
3
  const r = o.getBusinessId();
4
4
  if (!r) throw new Error("Invalid business ID");