@feedmepos/mf-connect 0.1.24-prod → 0.1.26-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-DH3odpBh.js → Analytic-WXmpLkLU.js} +18 -17
- package/dist/{App-DT9d3Bm2.js → App-jBGNDeCb.js} +6 -6
- package/dist/{Bin-CEFG1nRH.js → Bin-COj4GqKe.js} +19 -18
- package/dist/{Broadcast-B_rv159-.js → Broadcast-vIqSNTJh.js} +13 -12
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DzD9-r4-.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BVtfunGL.js} +14 -8
- package/dist/{Card-Dyya8J2U.js → Card-CGyBry4S.js} +57 -55
- package/dist/{Collections-Dl2FDFOD.js → Collections-BeQ_uFRE.js} +23 -21
- package/dist/{Credit-B9mz3eUI.js → Credit-DWsgc_P1.js} +35 -34
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-TrKmONi5.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-DxPsGM7d.js} +28 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CVCgGHg4.js → EffectSheet.vue_vue_type_style_index_0_lang-DlCdWAqB.js} +6 -6
- package/dist/{Experience-CGwG9JGa.js → Experience-DQ5ofpRU.js} +13 -12
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/Game-dl01-cxh.js +278 -0
- package/dist/{Index-D0IkkcBH.js → Index-B33SYml2.js} +14 -13
- package/dist/{Marketing-HmC8ZXqz.js → Marketing-CqWuI9r1.js} +8 -7
- package/dist/Member-PuWzURyR.js +348 -0
- package/dist/{MemberList-_MFrJqht.js → MemberList-dQljjKIC.js} +275 -269
- package/dist/{MemberTransactions-kUyU9Qn6.js → MemberTransactions-BH1U_v3f.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DypmZY2G.js → MessageInput.vue_vue_type_script_setup_true_lang-ZSNwpN6m.js} +7 -7
- package/dist/{Mission-OUjm7KRr.js → Mission-PjsS8VTH.js} +118 -96
- package/dist/{Overview-F2AvMo-g.js → Overview-B6zXdxIf.js} +63 -62
- package/dist/{Point-K9poYQjB.js → Point-DhYeSbYo.js} +11 -10
- package/dist/{Promotion-DpS6PQFU.js → Promotion-4yBcCEQA.js} +12 -11
- package/dist/Queue-BCOe370v.js +249 -0
- package/dist/{Record-CZMB7xKL.js → Record-FxeE4KZe.js} +21 -19
- package/dist/{Reward-zMCEkbO5.js → Reward-B4licTuW.js} +19 -18
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Dj73NYhp.js → RewardGroup.vue_vue_type_script_setup_true_lang-CKWOhSQh.js} +13 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-FyuAHi5K.js → RuleGroup.vue_vue_type_script_setup_true_lang-BbOzaj63.js} +12 -12
- package/dist/{Segment-LthACAfl.js → Segment-DONb4N1l.js} +19 -17
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DRe6Gyov.js → SelectItems.vue_vue_type_script_setup_true_lang-CvHYZpGm.js} +2 -2
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-NDwwOZSM.js +188 -0
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-Z9Nb9b6-.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D2ixqrV7.js} +3 -3
- package/dist/{Setting-8ASd681E.js → Setting-BQOcVtGa.js} +20 -19
- package/dist/{Store-C-bmQP0K.js → Store-BlaFXTeO.js} +24 -23
- package/dist/{StoreRewards-Bu3DWaCn.js → StoreRewards-Lqc34UoD.js} +15 -14
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C5dViJNi.js +994 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Bn7aoYqw.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-e_31o0i7.js} +1 -1
- package/dist/{Tier-DDKUGBRg.js → Tier-B26lO0SB.js} +25 -24
- package/dist/{Title-Cup_EWfZ.js → Title-BASSyfhP.js} +28 -27
- package/dist/{Transaction-BqvgfyiW.js → Transaction-BbzBRylw.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BCkXievQ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-BFyl96zy.js} +6 -6
- package/dist/{Voucher-Dxk6zfcN.js → Voucher-A_GG0E5t.js} +38 -37
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DmswMNi5.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CCGtKQTW.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-D-UPL1Rc.js → ZodTextField.vue_vue_type_script_setup_true_lang-DGNqvOl5.js} +1 -1
- package/dist/{app-bidojB9R.js → app-C7FQYfsn.js} +1 -1
- package/dist/{app-BDUrJlXZ.js → app-DV-5XPYF.js} +235 -166
- package/dist/app.js +1 -1
- package/dist/{business-CFOn3-Hz.js → business-C8PXQSRE.js} +1 -1
- package/dist/{campaign-DyzzIbnA.js → campaign-B4eKVpps.js} +9 -9
- package/dist/{campaign-BVIiGyq9.js → campaign-CuZ6u4yy.js} +2 -2
- package/dist/{campaign.enum-aFjayQfJ.js → campaign.enum-xbqqPDwY.js} +1 -1
- package/dist/{campaign.fn-BKADpFTx.js → campaign.fn-GFFtrWsz.js} +133 -133
- package/dist/{collectible.enum-vEUgo0YF.js → collectible.enum-DB4oBcfv.js} +1 -1
- package/dist/{collection.fn-D2Kbz9yq.js → collection.fn-BwpscyTl.js} +2 -2
- package/dist/{dto-CKxtFHko.js → dto-Cr20KGr0.js} +4 -4
- package/dist/{effect-BEWKDhDB.js → effect-D9-UiBiK.js} +1 -1
- package/dist/{email-addresses-BWDg5Wvf.js → email-addresses-F3hoXmRI.js} +1 -1
- package/dist/{export-DO-WeD6l.js → export-BIPF1ilY.js} +3 -3
- package/dist/{helper-CSGr0Zgt.js → helper-Tf1bFEee.js} +1 -1
- package/dist/{index-UVHHFXyh.js → index-B2jAIO5k.js} +1162 -1129
- package/dist/{index-Dw_jc7Et.js → index-BYzdfZKb.js} +3 -3
- package/dist/{index-BgJVKNYg.js → index-BhlEaLpy.js} +24 -21
- package/dist/{index-BV4M35iK.js → index-Bkw-11Tg.js} +2 -2
- package/dist/{index-CFXFhGs9.js → index-BvqdtS9H.js} +1 -1
- package/dist/{index-DVsh-nBE.js → index-CpUyyTF6.js} +1 -1
- package/dist/{index-CUlYeKKH.js → index-D4XX55M5.js} +1 -1
- package/dist/{index-CEjeBL2U.js → index-Dow2N7x1.js} +1 -1
- package/dist/{index--Mrx1FRI.js → index-IOTB7rGH.js} +1 -1
- package/dist/{index-CoMMyOsj.js → index-bb6Kd8k_.js} +10 -10
- package/dist/{index-DSBnWOie.js → index-gTmOLzQU.js} +1 -1
- package/dist/{index-Bg3caQS6.js → index-mjBmZtX2.js} +1273 -1273
- package/dist/{index.esm2017-CDzvT_fP.js → index.esm2017-Y_0J3nbR.js} +137 -137
- package/dist/loading-BbC_ZIPE.js +71 -0
- package/dist/{membership-DK9FNo2Y.js → membership-BM_2_hUW.js} +3 -3
- package/dist/{money-DJYiw0es.js → money-BsBmwalY.js} +1 -1
- package/dist/{number-BjhqQBza.js → number-QqpGrk9q.js} +1 -1
- package/dist/objectid-DQj-P2cH.js +145 -0
- package/dist/{loading-CWihCJvJ.js → plugins-DKPF0eaB.js} +1535 -1601
- package/dist/{reward-DlE5Zt3d.js → reward-Yl3EdHrH.js} +1 -1
- package/dist/{rule-a2_WCjR8.js → rule-DW_bLKtu.js} +3 -3
- package/dist/{rule-builder-Q8iGSpDV.js → rule-builder-BoITzEtm.js} +1 -1
- package/dist/{template-3faxO3XM.js → template-BSQzNJs5.js} +4 -4
- package/dist/{trigger-Cnvhgqkj.js → trigger-Bel1H8iR.js} +11 -11
- package/dist/usePagination-JoYaROkV.js +223 -0
- package/dist/{user-CoiXBmet.js → user-Dg2HfZlK.js} +1 -1
- package/dist/vue-i18n-CvvsV6dR.js +2365 -0
- package/dist/{usePagination-dNrSGtRV.js → xlsx-1oIZztwO.js} +2979 -3200
- package/package.json +3 -1
- package/dist/Game-DbhOlio1.js +0 -256
- package/dist/Member-NSQ2nHzW.js +0 -69
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CDRpkUaP.js +0 -1105
- package/dist/objectid-Cep7PkzN.js +0 -145
- package/dist/vue-i18n-B2XH0K8P.js +0 -2365
|
@@ -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-Bkw-11Tg.js";
|
|
2
|
+
import { z as e, F as i, m as d } from "./plugins-DKPF0eaB.js";
|
|
3
|
+
import { F as c } from "./collectible.enum-DB4oBcfv.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,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-mjBmZtX2.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,5 +1,5 @@
|
|
|
1
|
-
import { z as b, F as On, m as Zv } from "./
|
|
2
|
-
import { F as Lt, a as $f } from "./collectible.enum-
|
|
1
|
+
import { z as b, F as On, m as Zv } from "./plugins-DKPF0eaB.js";
|
|
2
|
+
import { F as Lt, a as $f } from "./collectible.enum-DB4oBcfv.js";
|
|
3
3
|
import { c as Hr, g as Vv } from "./_commonjsHelpers-BkfeUUK-.js";
|
|
4
4
|
//! moment.js
|
|
5
5
|
//! version : 2.30.1
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { z as e, F as a, m as o } from "./
|
|
2
|
-
import { c as v } from "./index-
|
|
3
|
-
import { R as t } from "./rule-builder-
|
|
4
|
-
import { i } from "./helper-
|
|
5
|
-
import {
|
|
6
|
-
import { a as r } from "./index-
|
|
1
|
+
import { z as e, F as a, m as o } from "./plugins-DKPF0eaB.js";
|
|
2
|
+
import { c as v } from "./index-Bkw-11Tg.js";
|
|
3
|
+
import { R as t } from "./rule-builder-BoITzEtm.js";
|
|
4
|
+
import { i } from "./helper-Tf1bFEee.js";
|
|
5
|
+
import { D as E, E as O, G as I, H as p } from "./index-B2jAIO5k.js";
|
|
6
|
+
import { a as r } from "./index-BYzdfZKb.js";
|
|
7
7
|
const z = {
|
|
8
8
|
PROMOTION: {
|
|
9
9
|
name: "Promotion Template",
|
|
@@ -1824,18 +1824,18 @@ e.object({
|
|
|
1824
1824
|
credit: e.number(),
|
|
1825
1825
|
forceSend: e.boolean().optional()
|
|
1826
1826
|
}).describe(o.describe(T));
|
|
1827
|
-
const m = e.enum(["PHONE"]), D = e.enum(["MOCEAN", "SLACK", "SMS", "EMAIL"]), S = e.enum(["PENDING", "COMPLETED", "FAILED"]),
|
|
1827
|
+
const m = e.enum(["PHONE"]), D = e.enum(["MOCEAN", "SLACK", "SMS", "EMAIL"]), S = e.enum(["PENDING", "COMPLETED", "FAILED"]), M = e.enum([
|
|
1828
1828
|
"General",
|
|
1829
1829
|
"Otp",
|
|
1830
1830
|
"Marketing",
|
|
1831
1831
|
"Ordering",
|
|
1832
1832
|
"MemberInvitation"
|
|
1833
|
-
]),
|
|
1833
|
+
]), A = e.object({
|
|
1834
1834
|
type: m
|
|
1835
|
-
}), s =
|
|
1835
|
+
}), s = A.extend({
|
|
1836
1836
|
type: e.literal(m.enum.PHONE),
|
|
1837
1837
|
provider: D,
|
|
1838
|
-
usage:
|
|
1838
|
+
usage: M.optional()
|
|
1839
1839
|
}), w = {
|
|
1840
1840
|
collectionName: "Notifications",
|
|
1841
1841
|
transform: { _id: "oid", business: "oid" }
|