@feedmepos/mf-connect 0.1.20-prod → 0.1.22-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 (91) hide show
  1. package/dist/{Analytic-DaYL4IwZ.js → Analytic-CWvtQiXv.js} +10 -10
  2. package/dist/{App-CnRrmva6.js → App-BqAI4Hkg.js} +7 -7
  3. package/dist/{Bin-Bf8yL56G.js → Bin-BJRETFYp.js} +7 -7
  4. package/dist/{Broadcast-CyqZZRc1.js → Broadcast-BVNKXpst.js} +8 -8
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BBAGO9mc.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BeauGnZ8.js} +6 -6
  6. package/dist/{Card-BHOw7yjA.js → Card-BH5HR_Xt.js} +14 -14
  7. package/dist/{Collections-DQYk52tc.js → Collections-DUzS8_tu.js} +5 -5
  8. package/dist/{Credit-BVD4wCLN.js → Credit-DVyhB8Fx.js} +8 -8
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-EdpoxZlh.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BzSJIIBN.js} +28 -27
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-1tSUOxmX.js → EffectSheet.vue_vue_type_style_index_0_lang-CtgRejaJ.js} +45 -45
  11. package/dist/{Experience-BKTJKeqW.js → Experience-Uz-PdyS0.js} +8 -8
  12. package/dist/{Game-DDnwUySW.js → Game-yRSag2UH.js} +8 -8
  13. package/dist/{Index-Cf6d9PW1.js → Index-D54c-_3K.js} +9 -9
  14. package/dist/{MainLayout-DpZC6o3R.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js} +19 -53
  15. package/dist/MainLayout-B1aJoR95.js +41 -0
  16. package/dist/{Marketing-Dm2ECeZM.js → Marketing-wYfRoaP3.js} +12 -12
  17. package/dist/{Member-Bjx7KU3k.js → Member-BeX0-b7n.js} +4 -4
  18. package/dist/{MemberList-BEiuLggu.js → MemberList-B2dwBE3o.js} +23 -23
  19. package/dist/{MemberTransactions-C3YdUquh.js → MemberTransactions-jhOw4vzq.js} +1 -1
  20. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-B8b8FbZX.js +447 -0
  21. package/dist/{Mission-CZ-jJd14.js → Mission-DzBDmz68.js} +8 -8
  22. package/dist/{Overview-CgbAmJNJ.js → Overview-DZ1-IMkf.js} +16 -16
  23. package/dist/{Point-Bt3nTcqr.js → Point-aP-KiJV2.js} +8 -8
  24. package/dist/{Promotion-DnMvO6sH.js → Promotion-NYlrI4Ur.js} +9 -9
  25. package/dist/{Record-DGSd8OoA.js → Record-C3FG6v0j.js} +6 -6
  26. package/dist/{Reward-DjSvoVKB.js → Reward-BkgfktZX.js} +14 -14
  27. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CD5NQYu7.js → RewardGroup.vue_vue_type_script_setup_true_lang-CBkgYcan.js} +10 -10
  28. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DL9sCsHT.js → RuleGroup.vue_vue_type_script_setup_true_lang-DgTRcfYy.js} +181 -178
  29. package/dist/{Segment-CwyALcvm.js → Segment-BdCYCRF-.js} +13 -13
  30. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BpM7WgFp.js → SelectItems.vue_vue_type_script_setup_true_lang-DIWVzxxW.js} +2 -2
  31. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Bwa2RvTx.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BBXjK-Kc.js} +3 -3
  32. package/dist/Setting-CklTyVlf.js +1930 -0
  33. package/dist/{Store-BTejxCBe.js → Store-Ciud1AgX.js} +145 -143
  34. package/dist/StoreRewards-DUrZvdAy.js +422 -0
  35. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-B-z5tu9A.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DabfW0cB.js} +17 -17
  36. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CpIVuHaf.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C4g0D2WQ.js} +1 -1
  37. package/dist/{Tier-njMn6MiO.js → Tier-BcJfsKXP.js} +19 -19
  38. package/dist/{Title-Db8js_gS.js → Title-rtBtv9oZ.js} +100 -100
  39. package/dist/{Transaction-D9TjDeKD.js → Transaction-6fAgm3SK.js} +2 -2
  40. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Bod8YjzJ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bjvkwpb4.js} +6 -6
  41. package/dist/{Voucher--yr4TQ-G.js → Voucher-DsSs5cTE.js} +34 -34
  42. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-CeL94a07.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CrSH0qWc.js} +10 -10
  43. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BCc_w9J8.js → ZodTextField.vue_vue_type_script_setup_true_lang-DxDO6zJg.js} +1 -1
  44. package/dist/{app-BqAFUCz8.js → app-Cz0McG8i.js} +40 -40
  45. package/dist/{app-Ugrk96Pp.js → app-fPygt_FG.js} +1 -1
  46. package/dist/app.js +1 -1
  47. package/dist/{business-CTwB-cPM.js → business-wZVszwRW.js} +1 -1
  48. package/dist/{campaign-DwL2D9J5.js → campaign-B-WMI4r4.js} +9 -9
  49. package/dist/{campaign-CKZMkxH5.js → campaign-CXOSMRjR.js} +2 -2
  50. package/dist/{campaign.enum-uKI06HHx.js → campaign.enum-xd3odOwZ.js} +1 -1
  51. package/dist/{campaign.fn-Dp8mlrpN.js → campaign.fn-CeIsYBHA.js} +41 -41
  52. package/dist/{collectible.enum-Bw421zWp.js → collectible.enum-B7uqKLHE.js} +1 -1
  53. package/dist/{collection.fn-D2zmqc53.js → collection.fn-Cj3PpbiS.js} +2 -2
  54. package/dist/{dto-FP61IJwc.js → dto-CVyFNO4G.js} +7 -7
  55. package/dist/{effect-BE4EnD4B.js → effect-D8WiNma1.js} +35 -18
  56. package/dist/{email-addresses-D8_sMdak.js → email-addresses-CZGh6TJT.js} +1 -1
  57. package/dist/{export-kgzxrVkq.js → export-B-yEeKMb.js} +3 -3
  58. package/dist/{helper-BI6pWRqN.js → helper-rlgqVAdj.js} +1 -1
  59. package/dist/{index-DTbigOhK.js → index-BC2la2BP.js} +1 -1
  60. package/dist/{index-COe4sMRZ.js → index-BSWItpEw.js} +1 -1
  61. package/dist/{index-sLN88aCQ.js → index-BYP79OMe.js} +225 -218
  62. package/dist/{index-DcBjYW9W.js → index-C73nKr6T.js} +1 -1
  63. package/dist/{index-BUXc2Nw5.js → index-C9Eegvas.js} +1 -1
  64. package/dist/{index-BpBt6Y8F.js → index-CH0xVjYG.js} +1 -1
  65. package/dist/{index-DoHEyLZn.js → index-CgA8VVym.js} +3 -3
  66. package/dist/{index-aOnN-LXC.js → index-Cr8x5i6a.js} +12 -5
  67. package/dist/{index-DLIjZTu7.js → index-DENLOr_f.js} +21 -16
  68. package/dist/index-DVko1T2G.js +29556 -0
  69. package/dist/{index-Cga6gx-T.js → index-szngpT22.js} +1 -1
  70. package/dist/{index-fCUvdTQu.js → index-yzjCyahZ.js} +91 -73
  71. package/dist/{index.esm2017-CWKGaTMR.js → index.esm2017-B852lCgd.js} +38 -38
  72. package/dist/{loading-GiUoU2Fa.js → loading-YQhP-YKE.js} +4 -4
  73. package/dist/{membership-Bt_7SvV0.js → membership-C6EfMXD7.js} +3 -3
  74. package/dist/{money-BZq33xlW.js → money-CSas0WMX.js} +1 -1
  75. package/dist/{number-DFHYy76W.js → number-DBcS6xgD.js} +1 -1
  76. package/dist/objectid-VFD2vEs_.js +145 -0
  77. package/dist/{reward-Dy_FLF01.js → reward-BIMasAXq.js} +1 -1
  78. package/dist/{rule-zl6tGcQA.js → rule-BRALPXUn.js} +8 -4
  79. package/dist/{rule-builder-BpZ5uHIv.js → rule-builder-CBcoUD6U.js} +1 -1
  80. package/dist/style.css +1 -1
  81. package/dist/{template-BKEUsA_B.js → template-GsgcvRB8.js} +4 -4
  82. package/dist/{trigger-ChT3kWh_.js → trigger-B8pRScE6.js} +4 -4
  83. package/dist/{usePagination-DWyHwAZT.js → usePagination-BtU3EXqo.js} +1 -1
  84. package/dist/{user-CX5C_btL.js → user-CBmfFwbE.js} +1 -1
  85. package/dist/{vue-i18n--AFmNvm8.js → vue-i18n-C5G5eOJh.js} +327 -327
  86. package/package.json +2 -2
  87. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-ChUeeW90.js +0 -215
  88. package/dist/Setting-CCxSOD98.js +0 -1877
  89. package/dist/StoreRewards-DrUIjbjC.js +0 -401
  90. package/dist/index-CaJmkfzc.js +0 -29000
  91. package/dist/objectid-C6apWPpH.js +0 -145
@@ -1,4 +1,4 @@
1
- import { g as a, S as n, b as o } from "./index-CaJmkfzc.js";
1
+ import { g as a, S as n, b as o } from "./index-DVko1T2G.js";
2
2
  const t = () => {
3
3
  const e = n.getBusinessId();
4
4
  if (!e) throw new Error("Invalid business ID");
@@ -1,4 +1,4 @@
1
- import { g as r, a as n, S as o, b as c } from "./index-CaJmkfzc.js";
1
+ import { g as r, a as n, S as o, b as c } from "./index-DVko1T2G.js";
2
2
  const a = () => {
3
3
  const e = o.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-CaJmkfzc.js";
1
+ import { g as n, S as I, u as C, b as _ } from "./index-DVko1T2G.js";
2
2
  const c = () => {
3
3
  if (!I.getBusinessId()) throw new Error("Invalid business ID");
4
4
  return C("users");
@@ -1,6 +1,6 @@
1
- import { F as o, e as t, g as a } from "./index-DLIjZTu7.js";
2
- import { z as e, F as i, m as d } from "./loading-GiUoU2Fa.js";
3
- import { F as c } from "./collectible.enum-Bw421zWp.js";
1
+ import { F as o, e as t, g as a } from "./index-DENLOr_f.js";
2
+ import { z as e, F as i, m as d } from "./loading-YQhP-YKE.js";
3
+ import { F as c } from "./collectible.enum-B7uqKLHE.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,11 +1,11 @@
1
- import { g as t, S as c, b as u } from "./index-CaJmkfzc.js";
1
+ import { g as t, S as c, b as u } from "./index-DVko1T2G.js";
2
2
  const a = () => {
3
3
  const e = c.getBusinessId();
4
4
  if (!e) throw new Error("Invalid business ID");
5
5
  return u(`businesses/${e}/membership`, {
6
6
  noIdRequired: !0
7
7
  });
8
- }, o = {
8
+ }, d = {
9
9
  async read() {
10
10
  return t(await a().get(""));
11
11
  },
@@ -46,10 +46,14 @@ const a = () => {
46
46
  );
47
47
  },
48
48
  async sendBundle(e) {
49
- return t(await a().post("store/bundle/send", e));
49
+ return t(
50
+ await a().post("store/bundle/send", e)
51
+ );
50
52
  },
51
53
  async refundStoreTransaction(e) {
52
- return t(await a().post("store/refund", e));
54
+ return t(
55
+ await a().post("store/refund", e)
56
+ );
53
57
  },
54
58
  async readRewards() {
55
59
  return t(await a().get("rewards"));
@@ -101,6 +105,9 @@ const a = () => {
101
105
  async deleteReward(e) {
102
106
  return t(await a().delete(`rewards/${e}`));
103
107
  },
108
+ async getEmailAddresses() {
109
+ return t(await a().get("email-addresses"));
110
+ },
104
111
  async readCollectionCountByMemberId(e, r) {
105
112
  return t(
106
113
  await a().get(`/collections/count/${e}`, {
@@ -128,5 +135,5 @@ const a = () => {
128
135
  }
129
136
  };
130
137
  export {
131
- o as m
138
+ d as m
132
139
  };
@@ -1,5 +1,5 @@
1
- import { z as b, F as On, m as Zv } from "./loading-GiUoU2Fa.js";
2
- import { F as Lt, a as $f } from "./collectible.enum-Bw421zWp.js";
1
+ import { z as b, F as On, m as Zv } from "./loading-YQhP-YKE.js";
2
+ import { F as Lt, a as $f } from "./collectible.enum-B7uqKLHE.js";
3
3
  import { c as Hr, g as Vv } from "./_commonjsHelpers-BkfeUUK-.js";
4
4
  //! moment.js
5
5
  //! version : 2.30.1
@@ -8106,7 +8106,7 @@ function print() { __p += __j.call(arguments, '') }
8106
8106
  }).call(Hr);
8107
8107
  })(fs, fs.exports);
8108
8108
  var VE = fs.exports;
8109
- const mD = /* @__PURE__ */ Vv(VE), qE = Object.getOwnPropertyNames(Kf.prototype).filter(
8109
+ const gD = /* @__PURE__ */ Vv(VE), qE = Object.getOwnPropertyNames(Kf.prototype).filter(
8110
8110
  (t) => typeof Kf.prototype[t] == "function"
8111
8111
  );
8112
8112
  b.enum(qE);
@@ -8581,14 +8581,14 @@ const JE = b.enum([
8581
8581
  // triggers: ['GAME_COMPLETED'],
8582
8582
  // },
8583
8583
  ];
8584
- function gD(t, n) {
8584
+ function _D(t, n) {
8585
8585
  return XE.filter(
8586
8586
  (i) => i.triggers.findIndex(
8587
8587
  (a) => a === t && (!n || i.property.startsWith(n))
8588
8588
  ) >= 0
8589
8589
  ).sort((i, a) => !i.premium && a.premium ? -1 : i.premium && !a.premium ? 1 : i.name.length < a.name.length ? -1 : i.name.length > a.name.length ? 1 : i.name.toLowerCase() < a.name.toLowerCase() ? -1 : i.name.toLowerCase() > a.name.toLowerCase() ? 1 : 0);
8590
8590
  }
8591
- const QE = b.enum(["timeframe"]), _D = b.object({
8591
+ const QE = b.enum(["timeframe"]), vD = b.object({
8592
8592
  type: b.literal(QE.enum.timeframe),
8593
8593
  property: b.string().optional(),
8594
8594
  start: b.date({ coerce: !0 }).nullish(),
@@ -8686,7 +8686,7 @@ const Fu = b.enum(["FIXED", "PROPORTIONAL"]), eD = b.array(b.string()).nullish()
8686
8686
  every: b.number(),
8687
8687
  amount: b.number(),
8688
8688
  property: eD
8689
- }), vD = b.discriminatedUnion("type", [
8689
+ }), wD = b.discriminatedUnion("type", [
8690
8690
  tD,
8691
8691
  nD
8692
8692
  ]).superRefine((t, n) => {
@@ -8726,7 +8726,7 @@ const Fu = b.enum(["FIXED", "PROPORTIONAL"]), eD = b.array(b.string()).nullish()
8726
8726
  message: 'Valid days cannot exceed 99999, toggle "expires" to off for unlimited',
8727
8727
  path: []
8728
8728
  });
8729
- }), wD = ni.superRefine(
8729
+ }), bD = ni.superRefine(
8730
8730
  (t, n) => {
8731
8731
  ["validForDay", "validBefore"].every((a) => t[a] == null) && n.addIssue({
8732
8732
  code: "custom",
@@ -8748,7 +8748,7 @@ const Fu = b.enum(["FIXED", "PROPORTIONAL"]), eD = b.array(b.string()).nullish()
8748
8748
  cooldown: b.number().min(0).nullish(),
8749
8749
  maxUse: b.number().min(1).max(1e4).nullish(),
8750
8750
  consumeRule: qh.nullish()
8751
- }), bD = Bu.extend({
8751
+ }), ED = Bu.extend({
8752
8752
  validityOption: ni
8753
8753
  }), rD = {
8754
8754
  collectionName: "CollectibleConfigs",
@@ -8832,24 +8832,29 @@ const Fu = b.enum(["FIXED", "PROPORTIONAL"]), eD = b.array(b.string()).nullish()
8832
8832
  fD,
8833
8833
  hD,
8834
8834
  cD
8835
- ]), ED = b.object({ _id: On }).and(Xh).describe(Zv.describe(rD)), DD = b.object({ _id: On.nullish(), business: On.nullish() }).and(Xh);
8835
+ ]), dD = b.object({ _id: On }).and(Xh).describe(Zv.describe(rD)), DD = b.object({ _id: On.nullish(), business: On.nullish() }).and(Xh);
8836
+ dD.and(
8837
+ b.object({
8838
+ updateCollection: b.boolean().optional()
8839
+ })
8840
+ );
8836
8841
  export {
8837
8842
  jE as C,
8838
8843
  DD as F,
8839
8844
  Kf as R,
8840
- mD as _,
8845
+ gD as _,
8841
8846
  XE as a,
8842
- gD as b,
8847
+ _D as b,
8843
8848
  qh as c,
8844
8849
  Zh as d,
8845
- vD as e,
8846
- wD as f,
8850
+ wD as e,
8851
+ bD as f,
8847
8852
  ni as g,
8848
8853
  O as h,
8849
8854
  Hu as i,
8850
8855
  Bu as j,
8851
- bD as k,
8856
+ ED as k,
8852
8857
  VE as l,
8853
- ED as m,
8854
- _D as n
8858
+ dD as m,
8859
+ vD as n
8855
8860
  };