@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.
- package/dist/{Analytic-DfTQmuSa.js → Analytic-DmQ3d3sr.js} +18 -17
- package/dist/{App-C5AMrBM2.js → App-BK6DtUuH.js} +6 -6
- package/dist/{Bin-nZv2ZrAD.js → Bin-B7F2tXkP.js} +19 -18
- package/dist/{Broadcast-1ViZILw6.js → Broadcast-6n2TGBgu.js} +13 -12
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Nuj7G5E1.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-_hoK2zXW.js} +14 -8
- package/dist/{Card-CUAfRl0P.js → Card-D6AU_9dV.js} +57 -55
- package/dist/{Collections-DNlV8CiV.js → Collections-CMbKkYFL.js} +13 -11
- package/dist/{Credit-C8WVgeKO.js → Credit-CqLwf2JA.js} +35 -34
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-CZmd7K3H.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CRK5WI7g.js} +28 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-Crakwwgo.js → EffectSheet.vue_vue_type_style_index_0_lang-CaSqYPQ2.js} +6 -6
- package/dist/{Experience-C0ZrJ-rU.js → Experience-OoJ1ODiZ.js} +13 -12
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/Game-IAfjkExX.js +278 -0
- package/dist/{Index-C_mvHa_E.js → Index-DqHXbokQ.js} +14 -13
- package/dist/{Marketing-7lvR6gR_.js → Marketing-DIVehK5x.js} +8 -7
- package/dist/Member-BMT7m7s9.js +348 -0
- package/dist/{MemberList-BDsVY1bB.js → MemberList-C3JMhLW6.js} +270 -269
- package/dist/{MemberTransactions-DXgJ8Tua.js → MemberTransactions-lQLljdGi.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BbiWEoQQ.js → MessageInput.vue_vue_type_script_setup_true_lang-DFPEfDUk.js} +15 -18
- package/dist/{Mission-CJnySjh4.js → Mission-BJsuCVHj.js} +118 -96
- package/dist/{Overview-ZENHKQhC.js → Overview-D1AMq951.js} +63 -62
- package/dist/{Point-DvYLQNmg.js → Point-DGffwTWG.js} +11 -10
- package/dist/{Promotion-CE6Mqev4.js → Promotion-Cdu7wiGv.js} +12 -11
- package/dist/Queue-Cm4ekHlP.js +249 -0
- package/dist/{Record-Cl4o08E4.js → Record-B0JjTQ3K.js} +21 -19
- package/dist/{Reward-C1hZ9c6y.js → Reward-U0gEl1no.js} +19 -18
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Co1mzeQA.js → RewardGroup.vue_vue_type_script_setup_true_lang-CiQHPhkN.js} +13 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CDEiSeqW.js → RuleGroup.vue_vue_type_script_setup_true_lang-BgKlwCAG.js} +12 -12
- package/dist/{Segment-1RH6jUyt.js → Segment-BsXsG6Ga.js} +19 -17
- 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
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-BLPLYvOq.js +188 -0
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DL2A84oN.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-rL9NYAk0.js} +3 -3
- package/dist/{Setting-DK9lsogh.js → Setting-DJxzwVSf.js} +20 -19
- package/dist/{Store-DSeXriUy.js → Store-sTvnMjPJ.js} +24 -23
- package/dist/{StoreRewards-DFUg0n5g.js → StoreRewards-CffMLGzL.js} +15 -14
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CUPPeZj5.js +994 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-hR4OBTrC.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DwhQONu8.js} +1 -1
- package/dist/{Tier-Yq3BNKGq.js → Tier-BbfX13Ns.js} +25 -24
- package/dist/{Title-CwWan9gL.js → Title-Bf4fC78d.js} +28 -27
- package/dist/{Transaction-BgO5EYZB.js → Transaction-Ef6ee3WD.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CyUXbl30.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-w66fAQPQ.js} +6 -6
- package/dist/{Voucher-C2w8z86e.js → Voucher-CCH10Wrp.js} +38 -37
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-dEgiWiLL.js → VoucherEditor.vue_vue_type_script_setup_true_lang-C31OGqSE.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BME260O1.js → ZodTextField.vue_vue_type_script_setup_true_lang-BqzMSTXs.js} +1 -1
- package/dist/{app-BVIgk6aa.js → app-D2t3_10I.js} +1 -1
- package/dist/{app-BVsQcG_m.js → app-F5UOtzJ-.js} +235 -166
- package/dist/app.js +1 -1
- package/dist/{business-CdvE-WIp.js → business-NXwwmhbL.js} +1 -1
- package/dist/{campaign-WGLWFuCK.js → campaign-BWkn-fFd.js} +9 -9
- package/dist/{campaign-gunNEZhU.js → campaign-Iww5PvJV.js} +2 -2
- package/dist/{campaign.enum-O82qvpU2.js → campaign.enum--kHpbveJ.js} +1 -1
- package/dist/{campaign.fn-Bzr9Jc5X.js → campaign.fn-D0wKIDQf.js} +123 -123
- package/dist/{collectible.enum-CzUCHExj.js → collectible.enum-BpsFdy57.js} +1 -1
- package/dist/{collection.fn-Czs8Mpdz.js → collection.fn-B-_j1A52.js} +2 -2
- package/dist/{dto-Czd638gm.js → dto-CjOlAnWp.js} +4 -4
- package/dist/{effect-D8Km5OHX.js → effect-BMe9xjgR.js} +1 -1
- package/dist/{email-addresses-2-RgQal8.js → email-addresses-BwGoUD7O.js} +1 -1
- package/dist/{export--jJWZuJy.js → export-Bsk4-mYp.js} +3 -3
- package/dist/{helper-BOwvTpT_.js → helper-CiybWTiD.js} +1 -1
- package/dist/{index-Bg8Lqk3s.js → index-7QyaWVGn.js} +1 -1
- package/dist/{index-DGi6aLjD.js → index-BAW03Ygy.js} +24 -21
- package/dist/{index-C6j2uVRJ.js → index-BG_-ksol.js} +1 -1
- package/dist/{index-FBWWEOV0.js → index-COTHSMx7.js} +1 -1
- package/dist/{index-DExfBo0i.js → index-CRa7QWQZ.js} +3 -3
- package/dist/{index-DllRE4Xv.js → index-Cs0QJDgH.js} +1 -1
- package/dist/{index-BMPlc7it.js → index-Cu28MWwC.js} +1162 -1129
- package/dist/{index-CpsX7fKq.js → index-CvKxhzaQ.js} +1 -1
- package/dist/{index-7SYnV8B2.js → index-D7AjQ5_0.js} +1273 -1273
- package/dist/{index-CKSGfZ62.js → index-OLChRkvG.js} +2 -2
- package/dist/{index-DRVIuG-G.js → index-WxOdPYZc.js} +1 -1
- package/dist/{index-CFxA9VYh.js → index-eJ4ofwfd.js} +10 -10
- package/dist/{index.esm2017-CkIJgInI.js → index.esm2017-DMXNt25X.js} +137 -137
- package/dist/loading-CScT_lmc.js +71 -0
- package/dist/{membership-ByveC1Cs.js → membership-DenkPJ5U.js} +3 -3
- package/dist/{money-C_wAhRJ4.js → money-B5hybQjS.js} +1 -1
- package/dist/{number-B1OxEx_j.js → number-anjTvmBi.js} +1 -1
- package/dist/objectid-BHmtsFsO.js +145 -0
- package/dist/{loading-C-HOw2p9.js → plugins-VONaCeWn.js} +1535 -1601
- package/dist/{reward-BOA1fyrM.js → reward-FwctH8OP.js} +1 -1
- package/dist/{rule-CfePtJap.js → rule-BqLIsoB6.js} +3 -3
- package/dist/{rule-builder-B7wNFPfi.js → rule-builder-EwN0tKLd.js} +1 -1
- package/dist/{template-CvIL9Pex.js → template-bVlMDuHk.js} +4 -4
- package/dist/{trigger-D7uzmrxE.js → trigger-Bh7yq_a0.js} +11 -11
- package/dist/usePagination-JoYaROkV.js +223 -0
- package/dist/{user-NlenrMEw.js → user-z65INcT0.js} +1 -1
- package/dist/vue-i18n-59FFzX8P.js +2365 -0
- package/dist/{usePagination-BFzJ3YC7.js → xlsx-D9VDeVL9.js} +2979 -3200
- package/package.json +3 -1
- package/dist/Game-KiwAxjQX.js +0 -256
- package/dist/Member-DR406GTr.js +0 -69
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-D_F7zaEl.js +0 -1105
- package/dist/objectid-CtnWn6lG.js +0 -145
- package/dist/vue-i18n-BjInRP6b.js +0 -2365
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { F as i, z as t } from "./
|
|
2
|
-
import {
|
|
3
|
-
import { F as u } from "./index-
|
|
4
|
-
import { i as I, R as d } from "./rule-builder-
|
|
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,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 "./
|
|
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 "./
|
|
5
|
-
import { u as h } from "./loading-
|
|
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-
|
|
7
|
+
import { m as w } from "./index-COTHSMx7.js";
|
|
8
8
|
class y {
|
|
9
9
|
constructor() {
|
|
10
10
|
d(this, "records", []);
|
|
@@ -1,71 +1,74 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
const
|
|
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
|
-
},
|
|
5
|
+
}, c = () => {
|
|
6
6
|
const e = I.getBusinessId();
|
|
7
7
|
if (!e) throw new Error("Invalid business ID");
|
|
8
|
-
return
|
|
8
|
+
return w(`businesses/${e}/membership`, {
|
|
9
9
|
noIdRequired: !0
|
|
10
10
|
});
|
|
11
11
|
}, y = {
|
|
12
12
|
async read(e) {
|
|
13
|
-
const s =
|
|
14
|
-
await
|
|
15
|
-
),
|
|
16
|
-
var i, o, d, l,
|
|
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: ((
|
|
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:
|
|
27
|
+
resources: n
|
|
28
28
|
};
|
|
29
29
|
},
|
|
30
30
|
async readById(e) {
|
|
31
|
-
return
|
|
31
|
+
return t(await a().get(`${e}`));
|
|
32
32
|
},
|
|
33
33
|
async sendCredit(e, s) {
|
|
34
|
-
return
|
|
35
|
-
await
|
|
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
|
|
43
|
-
await
|
|
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
|
|
51
|
-
await
|
|
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
|
|
59
|
-
await
|
|
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
|
|
67
|
-
await
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import { F as o, e as t, g as a } from "./index-
|
|
2
|
-
import { z as e, F as i, m as d } from "./
|
|
3
|
-
import { F as c } from "./collectible.enum-
|
|
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,
|