@feedmepos/mf-connect 0.1.0-beta.2 → 0.1.0-beta.21
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-CZ8gfj2V.js +424 -0
- package/dist/{App-D8a5eW51.js → App-Da9h7lhI.js} +397 -384
- package/dist/{Broadcast-C8jgMe6g.js → Broadcast-m6ehTw7F.js} +32 -32
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-pG8WvV4I.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BTKA2Ygl.js} +8 -8
- package/dist/Card-DqZveZ44.js +685 -0
- package/dist/{Collections-lMrdPUuM.js → Collections-XIY6SLgQ.js} +4 -4
- package/dist/{Credit-CJfU5tP4.js → Credit-B6Yg3_al.js} +14 -14
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-D1gub9ZP.js +2198 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-CzEtOmp0.js → EffectSheet.vue_vue_type_style_index_0_lang-tRUwA8zh.js} +8 -8
- package/dist/{Experience-Bp2ki8gU.js → Experience-CsoneWLZ.js} +8 -8
- package/dist/{Game-BpTf6ebE.js → Game-B029f9yE.js} +15 -15
- package/dist/Index-B2LvLfrR.js +226 -0
- package/dist/Marketing-DUTyDRXu.js +20070 -0
- package/dist/{Member-BSWyy32a.js → Member-CATybMaC.js} +4 -4
- package/dist/MemberList-DxvQ7DnC.js +1045 -0
- package/dist/{MemberTransactions-BzHiXCnp.js → MemberTransactions-fEZyBY9P.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-e-zWg08J.js → MessageInput.vue_vue_type_script_setup_true_lang-BCCEsJZj.js} +2 -2
- package/dist/{Mission-8IGT3T2C.js → Mission-Cl3O0ULj.js} +16 -16
- package/dist/Overview-BVI2xGvT.js +1014 -0
- package/dist/{Point-CbbJ6ohd.js → Point-DSVn47pK.js} +23 -23
- package/dist/{Promotion-BYXCJa_S.js → Promotion-C4HyMpPg.js} +53 -47
- package/dist/Record-BSKXwUu2.js +187 -0
- package/dist/Reward-Cus20Wq5.js +399 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-Dm6Vgx8-.js +151 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CqMCdTsv.js +1597 -0
- package/dist/Segment-DAHJ2FYV.js +567 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-DpkIgpqy.js +181 -0
- package/dist/{Setting-CLpvvZTv.js → Setting-D7dKlTiZ.js} +8 -8
- package/dist/Store-DQdWn1Dw.js +1745 -0
- package/dist/{StoreRewards-CUM2irXK.js → StoreRewards-Cut9mJGn.js} +12 -12
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BQscw_Di.js +957 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-DEb4OBcX.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-BVzz2Zkl.js} +1 -1
- package/dist/{Tier-DZTDxWBo.js → Tier-DGpNybHO.js} +15 -15
- package/dist/{Title-C2Dr5ceK.js → Title-D5y8GEwE.js} +15 -15
- package/dist/{Transaction-BL4mS29d.js → Transaction-CCnZouEv.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-Cr9DV7hr.js +130 -0
- package/dist/{Voucher-Cx0r2-df.js → Voucher-BJ6RC4SS.js} +31 -31
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-6751WdaT.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DWuAODUF.js → ZodTextField.vue_vue_type_script_setup_true_lang-aq-9V3Gc.js} +1 -1
- package/dist/{app-wE5HTF_Y.js → app-D3chCumI.js} +1279 -1282
- package/dist/{app-B_xuZ5HB.js → app-PfWyqx7U.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-DSv8zM8C.js → business-trsrJyHK.js} +1 -1
- package/dist/{campaign-7y5qquHZ.js → campaign-B1rgdv77.js} +2 -2
- package/dist/collectible.enum-ZoD0ya1M.js +19 -0
- package/dist/{collection.fn-BxVZQAx0.js → collection.fn-CnQjdokW.js} +2 -2
- package/dist/{dto-Ew1QwLci.js → dto-DuJumvC2.js} +12 -20
- package/dist/{effect-BzPh8fRI.js → effect-CFYktLyZ.js} +9 -9
- package/dist/email-addresses-BocLAqLt.js +705 -0
- package/dist/{export-C9tDplkA.js → export-BDxbvd3c.js} +3 -3
- package/dist/{helper-Sz7oQ0F4.js → helper-Bx6u7f_W.js} +1 -1
- package/dist/{index-DH_1nOJ_.js → index-7QsBQpBM.js} +39 -35
- package/dist/{index-z0IfdrZk.js → index-AcoIUTDS.js} +203 -195
- package/dist/{index-C3_4GUiI.js → index-BAUe6Mqp.js} +7 -1
- package/dist/{index-C0lpADCo.js → index-C20tnKDo.js} +1 -1
- package/dist/{index-C-SOz7jt.js → index-CDgSJNKm.js} +1 -1
- package/dist/{index-DBMaUGYI.js → index-CTnZ9dt0.js} +30 -26
- package/dist/index-CUMB0mpB.js +28997 -0
- package/dist/index-CsF6BSZU.js +1067 -0
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/{index-tv4t0Pnh.js → index-DwXHEi0X.js} +1 -1
- package/dist/{index-_3qBsogG.js → index-ZXWgygOr.js} +1500 -1479
- package/dist/index-_v_LQTuR.js +53 -0
- package/dist/index-kLMiwwB-.js +38 -0
- package/dist/{index-gIRszcHf.js → index-pRpTA8Kd.js} +1 -1
- package/dist/{index.esm2017-BnKJDxUo.js → index.esm2017-DuOZ7nuk.js} +33 -33
- package/dist/{loading-Ds-yFYhc.js → loading-BTEwnG5-.js} +591 -597
- package/dist/{membership-DaiVw9qF.js → membership-DkH7qw6W.js} +51 -43
- package/dist/money-BfCdj0Ts.js +15 -0
- package/dist/number-BKHcstZb.js +12 -0
- package/dist/objectid-CumRza_j.js +145 -0
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-DpR3xoxT.js +36 -0
- package/dist/{rule-Cd2M6Ri2.js → rule-Hb9_sJvP.js} +180 -177
- package/dist/{rule-builder-B6og27Q1.js → rule-builder-BhwlX4fv.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-DouRWBpv.js → template-PkDFDppy.js} +5 -5
- package/dist/trigger-vLHrldAH.js +114 -0
- package/dist/{vue-i18n-BTlOChXs.js → vue-i18n-ComnFt3O.js} +2 -2
- package/dist/{xlsx-SahfXQ70.js → xlsx-CsUJ1mq4.js} +1 -1
- package/package.json +8 -7
- package/dist/Analytic-DSD9TsKr.js +0 -622
- package/dist/Card-C1K7ULPo.js +0 -825
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BYoaa_-x.js +0 -2809
- package/dist/Marketing-BiKE2gxA.js +0 -316
- package/dist/MemberList-CHlGREyR.js +0 -1733
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Bruh-umZ.js +0 -1753
- package/dist/Segment-DXDNM0yd.js +0 -437
- package/dist/Store-C6-P6bwc.js +0 -1511
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-JaRdmqif.js +0 -890
- package/dist/index-BQm0C3Jm.js +0 -298
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-D-2nFLsg.js +0 -762
- package/dist/index-Dy4pmQpt.js +0 -29193
- package/dist/money-BHtBdZoz.js +0 -15
- package/dist/number-CZhcB8ef.js +0 -12
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { z as o, F as e, m as
|
|
2
|
-
import {
|
|
1
|
+
import { z as o, F as e, m as r } from "./loading-BTEwnG5-.js";
|
|
2
|
+
import { m as d, n as u, k as a } from "./index-ZXWgygOr.js";
|
|
3
|
+
import { a as m } from "./collectible.enum-ZoD0ya1M.js";
|
|
3
4
|
const b = o.enum([
|
|
4
5
|
"PORTAL",
|
|
5
6
|
"BENEFIT",
|
|
@@ -19,7 +20,9 @@ const b = o.enum([
|
|
|
19
20
|
"POS_CLAIM",
|
|
20
21
|
"MEMBER_APP-CLAIM",
|
|
21
22
|
"MEMBER_APP-TRANSFER",
|
|
22
|
-
"FEEDVIBE_APP-CLAIM"
|
|
23
|
+
"FEEDVIBE_APP-CLAIM",
|
|
24
|
+
"REFERRAL",
|
|
25
|
+
"REFERRAL_REWARD"
|
|
23
26
|
]), i = o.string(), l = o.record(o.string(), o.any()).nullish(), p = {
|
|
24
27
|
collectionName: "Transactions",
|
|
25
28
|
transform: {
|
|
@@ -40,14 +43,14 @@ const b = o.enum([
|
|
|
40
43
|
as: "pf_collectible"
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
|
-
},
|
|
46
|
+
}, F = o.object({
|
|
44
47
|
_id: e,
|
|
45
48
|
user: e.nullable(),
|
|
46
49
|
collectible: e,
|
|
47
50
|
collection: e,
|
|
48
51
|
business: e,
|
|
49
52
|
amount: o.number(),
|
|
50
|
-
expiryAmount: o.array(o.lazy(() =>
|
|
53
|
+
expiryAmount: o.array(o.lazy(() => c)),
|
|
51
54
|
from: o.lazy(() => t),
|
|
52
55
|
to: o.lazy(() => t),
|
|
53
56
|
source: i,
|
|
@@ -60,10 +63,10 @@ const b = o.enum([
|
|
|
60
63
|
pf_collectible: o.any().optional(),
|
|
61
64
|
pf_collection: o.any().optional(),
|
|
62
65
|
totalAmount: o.number().optional()
|
|
63
|
-
}).describe(
|
|
66
|
+
}).describe(r.describe(p));
|
|
64
67
|
o.object({
|
|
65
68
|
amount: o.number(),
|
|
66
|
-
expiryAmount: o.array(o.lazy(() =>
|
|
69
|
+
expiryAmount: o.array(o.lazy(() => c)),
|
|
67
70
|
collection: o.lazy(() => f),
|
|
68
71
|
source: i,
|
|
69
72
|
ref: o.string(),
|
|
@@ -77,13 +80,13 @@ o.object({
|
|
|
77
80
|
id: o.string()
|
|
78
81
|
});
|
|
79
82
|
b.options;
|
|
80
|
-
const s = o.enum(["NORMAL", "EXPIRABLE"]),
|
|
83
|
+
const s = o.enum(["NORMAL", "EXPIRABLE"]), c = o.object({
|
|
81
84
|
_id: e,
|
|
82
85
|
amount: o.number(),
|
|
83
86
|
expiredAt: o.coerce.date()
|
|
84
87
|
}), t = o.object({
|
|
85
88
|
balance: o.number(),
|
|
86
|
-
expiryBalance: o.array(
|
|
89
|
+
expiryBalance: o.array(c).optional()
|
|
87
90
|
}), C = {
|
|
88
91
|
collectionName: "Collections",
|
|
89
92
|
transform: {
|
|
@@ -109,15 +112,15 @@ const s = o.enum(["NORMAL", "EXPIRABLE"]), r = o.object({
|
|
|
109
112
|
user: e.nullish(),
|
|
110
113
|
code: o.string().optional(),
|
|
111
114
|
collectible: e,
|
|
112
|
-
type:
|
|
113
|
-
extras:
|
|
114
|
-
options:
|
|
115
|
+
type: m,
|
|
116
|
+
extras: d.nullish(),
|
|
117
|
+
options: u,
|
|
115
118
|
ref: o.string().nullish(),
|
|
116
119
|
deactivatedAt: o.date().nullish(),
|
|
117
120
|
pf_user: o.any().optional(),
|
|
118
121
|
pf_collectible: o.any().optional(),
|
|
119
122
|
pf_campaign: o.any().optional()
|
|
120
|
-
}).merge(t).describe(
|
|
123
|
+
}).merge(t).describe(r.describe(C)), n = o.object({
|
|
121
124
|
amount: o.number(),
|
|
122
125
|
ref: o.string(),
|
|
123
126
|
source: i,
|
|
@@ -145,7 +148,8 @@ n.extend({
|
|
|
145
148
|
n.extend({
|
|
146
149
|
id: e,
|
|
147
150
|
code: o.string().optional(),
|
|
148
|
-
type: s.optional()
|
|
151
|
+
type: s.optional(),
|
|
152
|
+
skipValidateOption: o.boolean().optional()
|
|
149
153
|
});
|
|
150
154
|
o.object({
|
|
151
155
|
collection: e,
|
|
@@ -170,16 +174,14 @@ const y = o.object({
|
|
|
170
174
|
amount: o.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
|
|
171
175
|
day: o.coerce.number().min(1).max(9999),
|
|
172
176
|
remark: o.string().optional()
|
|
173
|
-
}),
|
|
177
|
+
}), R = o.object({
|
|
174
178
|
amount: o.coerce.number().min(1),
|
|
175
179
|
remark: o.string().optional()
|
|
176
|
-
})
|
|
177
|
-
o.object({
|
|
180
|
+
}), x = o.object({
|
|
178
181
|
amount: o.coerce.number().min(1),
|
|
179
|
-
day: o.coerce.number().min(1).max(9999),
|
|
182
|
+
day: o.coerce.number().min(1).max(9999).optional(),
|
|
180
183
|
remark: o.string().optional()
|
|
181
|
-
})
|
|
182
|
-
o.object({
|
|
184
|
+
}), O = o.object({
|
|
183
185
|
amount: o.coerce.number().min(1),
|
|
184
186
|
remark: o.string().optional()
|
|
185
187
|
});
|
|
@@ -197,10 +199,12 @@ o.object({
|
|
|
197
199
|
memberId: o.array(e)
|
|
198
200
|
});
|
|
199
201
|
export {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
202
|
+
x as F,
|
|
203
|
+
y as a,
|
|
204
|
+
O as b,
|
|
205
|
+
R as c,
|
|
206
|
+
F as d,
|
|
207
|
+
f as e,
|
|
208
|
+
b as f,
|
|
209
|
+
t as g
|
|
206
210
|
};
|