@feedmepos/mf-connect 0.1.14-prod → 0.1.15-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-MRp7gtO3.js → Analytic-C7qqDS5D.js} +18 -17
- package/dist/{App-BU3B2A-F.js → App-DKZYz5r2.js} +68 -64
- package/dist/Bin-U7U1Vaju.js +165 -0
- package/dist/{Broadcast-DmciJlSU.js → Broadcast-BzChnp4V.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DJPOgBXj.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BELIbS3v.js} +6 -7
- package/dist/{Card-Dq2cAgTi.js → Card-DAfZz7q5.js} +78 -79
- package/dist/{Collections-B4x4VH1a.js → Collections-joGRHyag.js} +5 -5
- package/dist/{Credit-CVdT1KBU.js → Credit-N1qDB4XC.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BmjXu-U7.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-J95iaF7a.js} +27 -27
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-A_uosv-g.js → EffectSheet.vue_vue_type_style_index_0_lang-DwzQSmst.js} +8 -8
- package/dist/{Experience-CEeXWbue.js → Experience-D5GrDbft.js} +8 -8
- package/dist/{Game-mx5c5ZhV.js → Game-DI7BDPO_.js} +8 -8
- package/dist/{Index-DQ1qadwz.js → Index-CbuAJ2dE.js} +9 -9
- package/dist/{Marketing-CciBZijv.js → Marketing-BSqMfy70.js} +5 -5
- package/dist/{Member-C51SlKxj.js → Member-CGd5wNHJ.js} +4 -4
- package/dist/MemberList-DnS8KHYF.js +1596 -0
- package/dist/MemberTransactions-GAAX3aSV.js +45 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DZu24zwy.js → MessageInput.vue_vue_type_script_setup_true_lang-Bc2wcibo.js} +5 -5
- package/dist/{Mission-LpCnpKYD.js → Mission-BVM_1IJ8.js} +8 -8
- package/dist/{Overview-DxvOqUao.js → Overview-D2IYZCPn.js} +62 -63
- package/dist/{Point-BmI7y6h6.js → Point-B684quZM.js} +8 -8
- package/dist/{Promotion-MHaOqrwu.js → Promotion-DJOoRnxt.js} +9 -9
- package/dist/{Record-75BxMATe.js → Record-Bk74XVUj.js} +6 -6
- package/dist/{Reward-8VfyFuEt.js → Reward-BM0AGGL6.js} +35 -35
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-D12_r-9X.js → RewardGroup.vue_vue_type_script_setup_true_lang-CuA2D52B.js} +12 -13
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BIdBxvN7.js → RuleGroup.vue_vue_type_script_setup_true_lang-Cxv3cZ1v.js} +14 -15
- package/dist/{Segment-I9FUibZy.js → Segment-DqOsH95n.js} +13 -13
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BGeR0-AG.js → SelectItems.vue_vue_type_script_setup_true_lang-ypjkVZkZ.js} +2 -2
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-Qo0aOTI9.js +147 -0
- package/dist/{Setting-B8V2I0EZ.js → Setting-D6cRTVUl.js} +31 -31
- package/dist/{Store-CQkGNSSm.js → Store-DqtUurcv.js} +55 -56
- package/dist/{StoreRewards-DOtjveqw.js → StoreRewards-DPFMA3p9.js} +12 -12
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Cf9IsQXS.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CYqo5att.js} +321 -354
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DPmeW62s.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DxEV-6_4.js} +1 -1
- package/dist/{Tier-DAj_5abZ.js → Tier-CFd-HaGX.js} +20 -21
- package/dist/{Title-DryO4wcO.js → Title-CBktBb5l.js} +20 -21
- package/dist/{Transaction-DpibVFU-.js → Transaction-Bb8UU_lj.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DoiPRPPo.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DBiUmz3C.js} +6 -6
- package/dist/Voucher-Bukem4U7.js +353 -0
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-DRnVggfC.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CTbqVMCn.js} +10 -10
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-BzBcsSYS.js → ZodTextField.vue_vue_type_script_setup_true_lang-D8zMv7ks.js} +1 -1
- package/dist/{app-BoQTcBOD.js → app-BL2xIPMp.js} +102 -66
- package/dist/{app-BzPle2EI.js → app-CO6FVdHg.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-H9a63ymR.js → business-BMTDDe8v.js} +1 -1
- package/dist/{dto-BBLfD0Lh.js → campaign-C5TEfnWg.js} +610 -819
- package/dist/{campaign-CR-16mwD.js → campaign-CzpECNqa.js} +2 -2
- package/dist/{campaign.enum-DcaetYuk.js → campaign.enum-CVF3KbJ2.js} +1 -1
- package/dist/{campaign.fn-BqGZqM77.js → campaign.fn-WT1gfEwK.js} +110 -110
- package/dist/{collectible.enum-YKtiwQbt.js → collectible.enum-BW7-BEa-.js} +3 -3
- package/dist/{collection.fn-CI8lSAsC.js → collection.fn-BRsC9uPP.js} +2 -2
- package/dist/dto-B1tWHAjt.js +214 -0
- package/dist/{effect-36H79d0n.js → effect-4Ov4Jl68.js} +1 -1
- package/dist/{email-addresses-drrACeqJ.js → email-addresses-L25192f3.js} +1 -1
- package/dist/{export-BgnO3lJs.js → export-UEJjaL0g.js} +5 -5
- package/dist/{helper-CcV9DZXq.js → helper-BNBSbgdl.js} +1 -1
- package/dist/{index-mgoYj6L9.js → index-BWY2o9U9.js} +1 -1
- package/dist/index-BnWjqXOJ.js +115 -0
- package/dist/{index-DydNNBhY.js → index-BxwVs3Ot.js} +29 -4
- package/dist/index-Cg64BkVG.js +44 -0
- package/dist/{index-CibFRBGu.js → index-ChKwu49G.js} +6 -6
- package/dist/{index-ZycLk3NR.js → index-CtY-c-yc.js} +1 -1
- package/dist/{index-BPbhXWRp.js → index-D4iYmdD4.js} +12 -13
- package/dist/{index-BEDXujqZ.js → index-D8Qn3ZjQ.js} +1 -1
- package/dist/{index-Cidu1YZP.js → index-DpCBCiH_.js} +5 -5
- package/dist/{index-DLAAi9ur.js → index-DxjXJh5H.js} +3 -3
- package/dist/{index-BRTpdfj3.js → index-fdv6AHmk.js} +2057 -1010
- package/dist/{index-CB1CnEOn.js → index-jf1CG6wc.js} +1 -1
- package/dist/{index.esm2017-QS_XhcBp.js → index.esm2017-D-3LEGru.js} +1 -1
- package/dist/{loading-LktVwV5k.js → loading-CUp8ZsA0.js} +4 -4
- package/dist/{membership-7ETvXph3.js → membership-DwbiFGd7.js} +6 -6
- package/dist/{money-BYszknw8.js → money-BLrbHrdQ.js} +1 -1
- package/dist/{number-Dmd4vT4F.js → number--bZt83Nn.js} +1 -1
- package/dist/{objectid-BQtSeCVi.js → objectid-CCGQh_Y_.js} +4 -4
- package/dist/{reward-DJGOX-D1.js → reward-D99cFWcD.js} +1 -1
- package/dist/{rule-D7jM4gdg.js → rule-UpH1Y1i5.js} +3 -3
- package/dist/{rule-builder-FO9UeYUJ.js → rule-builder-ujLy6UTt.js} +1 -1
- package/dist/{template-C4Ddrpk1.js → template-FiuUP37O.js} +4 -4
- package/dist/{trigger-w7Q4qOMB.js → trigger-BZYtwSky.js} +13 -13
- package/dist/{usePagination-PH1OvyZM.js → usePagination-DDW-s6D3.js} +1 -1
- package/dist/{user-DRPXRVy2.js → user-BA3Sw5dU.js} +1 -1
- package/dist/{vue-i18n-B49HKiTU.js → vue-i18n-C5t_xZZj.js} +2 -2
- package/package.json +1 -1
- package/dist/MemberList-D1x731cU.js +0 -1043
- package/dist/MemberTransactions-BpoTQHFQ.js +0 -38
- package/dist/Voucher-CSc0_dGX.js +0 -491
- package/dist/index-6RqtavHk.js +0 -1051
- package/dist/index-B5ii6hOh.js +0 -99
package/dist/index-B5ii6hOh.js
DELETED
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { g as e, S as n, b as o } from "./index-DLAAi9ur.js";
|
|
2
|
-
const t = () => {
|
|
3
|
-
const a = n.getBusinessId();
|
|
4
|
-
if (!a) throw new Error("Invalid business ID");
|
|
5
|
-
return o(`businesses/${a}/campaigns`, {
|
|
6
|
-
// url: 'http://localhost:3000/portal/',
|
|
7
|
-
});
|
|
8
|
-
}, i = {
|
|
9
|
-
async readAllGrouped(a) {
|
|
10
|
-
const s = e(
|
|
11
|
-
await t().get("grouped", { params: a })
|
|
12
|
-
);
|
|
13
|
-
return {
|
|
14
|
-
meta: s.meta,
|
|
15
|
-
resources: s.resources
|
|
16
|
-
};
|
|
17
|
-
},
|
|
18
|
-
async readAll(a, s) {
|
|
19
|
-
const r = e(
|
|
20
|
-
await t().get("", {
|
|
21
|
-
params: { ...a, ...s }
|
|
22
|
-
})
|
|
23
|
-
);
|
|
24
|
-
return {
|
|
25
|
-
meta: r.meta,
|
|
26
|
-
resources: r.resources
|
|
27
|
-
};
|
|
28
|
-
},
|
|
29
|
-
async readById(a) {
|
|
30
|
-
return e(await t().get(`/${a}`));
|
|
31
|
-
},
|
|
32
|
-
async create(a) {
|
|
33
|
-
return e(await t().post("", a));
|
|
34
|
-
},
|
|
35
|
-
async update(a, s) {
|
|
36
|
-
return e(await t().put(a, s));
|
|
37
|
-
},
|
|
38
|
-
async delete(a) {
|
|
39
|
-
return e(await t().delete(a));
|
|
40
|
-
},
|
|
41
|
-
async readCollectionsByCampaignId(a, s) {
|
|
42
|
-
const r = e(
|
|
43
|
-
await t().get(`/${a}/collections`, {
|
|
44
|
-
params: s
|
|
45
|
-
})
|
|
46
|
-
);
|
|
47
|
-
return {
|
|
48
|
-
meta: r.meta,
|
|
49
|
-
resources: r.resources
|
|
50
|
-
};
|
|
51
|
-
},
|
|
52
|
-
async readTransactions(a) {
|
|
53
|
-
return e(
|
|
54
|
-
await t().get(
|
|
55
|
-
`/${a}/collections/transactions`
|
|
56
|
-
)
|
|
57
|
-
);
|
|
58
|
-
},
|
|
59
|
-
async createCollectionByCampaignId(a, s) {
|
|
60
|
-
return e(
|
|
61
|
-
await t().post(`/${a}/collections`, s)
|
|
62
|
-
);
|
|
63
|
-
},
|
|
64
|
-
async readGroups() {
|
|
65
|
-
return e(await t().get("/groups")) ?? [];
|
|
66
|
-
},
|
|
67
|
-
async readStats(a) {
|
|
68
|
-
return e(
|
|
69
|
-
await t().get("/stats", { params: a })
|
|
70
|
-
);
|
|
71
|
-
},
|
|
72
|
-
async createGroup(a) {
|
|
73
|
-
return e(await t().post("/groups", a));
|
|
74
|
-
},
|
|
75
|
-
async updateGroup(a, s) {
|
|
76
|
-
return e(
|
|
77
|
-
await t().put(`/groups/${a}`, s)
|
|
78
|
-
);
|
|
79
|
-
},
|
|
80
|
-
async deleteGroup(a) {
|
|
81
|
-
return e(await t().delete(`/groups/${a}`));
|
|
82
|
-
},
|
|
83
|
-
async sendCollection(a, s) {
|
|
84
|
-
return e(
|
|
85
|
-
await t().post(
|
|
86
|
-
`/${a}/collections/send`,
|
|
87
|
-
s
|
|
88
|
-
)
|
|
89
|
-
);
|
|
90
|
-
},
|
|
91
|
-
async syncAllPromotion() {
|
|
92
|
-
return e(
|
|
93
|
-
await t().post("/promotion/sync")
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
export {
|
|
98
|
-
i as c
|
|
99
|
-
};
|