@feedmepos/mf-connect 0.0.16-beta.10 → 0.0.16-beta.12

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 (85) hide show
  1. package/dist/{Analytic-BVk0jPDU.js → Analytic-DIc9BYb0.js} +32 -20
  2. package/dist/{App-BbAalq1k.js → App-BzzL9_Jw.js} +33 -27
  3. package/dist/Broadcast-dVPgK5QV.js +223 -0
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DiU3MnH0.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-TnEPvafD.js} +18 -11
  5. package/dist/{Card-B5in1RMa.js → Card-Bj2Yd2pr.js} +178 -158
  6. package/dist/ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js +97 -0
  7. package/dist/Collections-Fkb_zzqZ.js +453 -0
  8. package/dist/{Credit-Bc9EzdsC.js → Credit-DHn9OkE8.js} +78 -69
  9. package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-C1ZXQski.js +2788 -0
  10. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-D6mWny8y.js +344 -0
  11. package/dist/{Experience-CgKak5ik.js → Experience-DX3aJihS.js} +64 -55
  12. package/dist/{Game-QhfKqrN_.js → Game-CcVQvETd.js} +54 -45
  13. package/dist/ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js +144 -0
  14. package/dist/JsonViewer-v8_C7l5N.js +87 -0
  15. package/dist/LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js +18737 -0
  16. package/dist/MainLayout-B1aJoR95.js +41 -0
  17. package/dist/{Marketing-CSx4N7UJ.js → Marketing-B9kykWEh.js} +79 -72
  18. package/dist/{Member-CY6WMD8D.js → Member-RoJSCSC5.js} +25 -22
  19. package/dist/{MemberList-8iRwm7Sz.js → MemberList-BUDxqMEK.js} +321 -307
  20. package/dist/{MemberTransactions-CknqkWO3.js → MemberTransactions-Bh_tT1Rp.js} +1 -1
  21. package/dist/MessageInput.vue_vue_type_script_setup_true_lang-Cj3-JHOX.js +432 -0
  22. package/dist/{Mission-BTy1p7lU.js → Mission-DDvgCLy0.js} +50 -40
  23. package/dist/{Point-A6B_ggSy.js → Point-BbPkt4kF.js} +67 -58
  24. package/dist/Promotion-DEo-lxpX.js +221 -0
  25. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-BGjeTeqS.js +1751 -0
  26. package/dist/{Segment-CFVXtyEj.js → Segment-DAcpZWIN.js} +145 -130
  27. package/dist/{Setting-Jmtw-_DV.js → Setting-CgXohUPt.js} +167 -154
  28. package/dist/{Store-DQypT-7e.js → Store-BVyHbQ8o.js} +504 -489
  29. package/dist/{StoreRewards-M-utm0iI.js → StoreRewards-sccMDbkj.js} +124 -108
  30. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-B60mQ5kq.js → StoreTransactions.vue_vue_type_script_setup_true_lang--sdQ_l8g.js} +131 -123
  31. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-CXlkvt2u.js +139 -0
  32. package/dist/{Tier-D1jymeLK.js → Tier--P27XXbB.js} +144 -125
  33. package/dist/{Title-DN9DIP2k.js → Title-B27S3SxD.js} +107 -90
  34. package/dist/{Transaction-BAJvAoU6.js → Transaction-CYTtwwHY.js} +2 -2
  35. package/dist/Voucher-BZ8PKgO5.js +488 -0
  36. package/dist/ZodTextField.vue_vue_type_script_setup_true_lang-CWt4tVdk.js +55 -0
  37. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  38. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  39. package/dist/app-CnKzqAcN.js +53428 -0
  40. package/dist/app-FfENBuoE.js +5381 -0
  41. package/dist/app-wDQR6dpb.js +39 -0
  42. package/dist/app.js +2 -1
  43. package/dist/business-CXyP9G7A.js +78 -0
  44. package/dist/campaign-0aM2KYOy.js +96 -0
  45. package/dist/campaign-CpzFl8Vr.js +4 -0
  46. package/dist/collection.fn-FicQhH1t.js +26 -0
  47. package/dist/dto-BiYLkVdL.js +1169 -0
  48. package/dist/effect-Cg-eNEjg.js +61 -0
  49. package/dist/{export-DjeNY5Pc.js → export-D7BuObOL.js} +19 -16
  50. package/dist/helper-DvD-D7c7.js +71 -0
  51. package/dist/index-B1Q0GAWp.js +95 -0
  52. package/dist/index-B4UZgSB-.js +28058 -0
  53. package/dist/index-B6c-fUij.js +203 -0
  54. package/dist/index-BP_5cfKa.js +38 -0
  55. package/dist/index-BRXg5Si1.js +2071 -0
  56. package/dist/index-BuDwICBJ.js +761 -0
  57. package/dist/index-CDMC-8iO.js +94 -0
  58. package/dist/index-CcZt3OrE.js +73 -0
  59. package/dist/index-CuvNtC_M.js +61 -0
  60. package/dist/index-DA-fzkRR.js +1737 -0
  61. package/dist/index-Dbd4WA4r.js +61 -0
  62. package/dist/index-Dkeb_9ER.js +8832 -0
  63. package/dist/index-DmdKoKk_.js +298 -0
  64. package/dist/index-G-88ujCM.js +3 -0
  65. package/dist/loading-uCNeZibp.js +32697 -0
  66. package/dist/lodash-B5I3zXaY.js +3678 -0
  67. package/dist/membership-DFRO9TyM.js +221 -0
  68. package/dist/moment-BWErdI6_.js +2578 -0
  69. package/dist/money-OtkT4Pzp.js +15 -0
  70. package/dist/number-Cg3NCouc.js +12 -0
  71. package/dist/object-qECH92oz.js +26 -0
  72. package/dist/objectId-dwaoBfJX.js +7 -0
  73. package/dist/rule-Ch2HRiGw.js +1973 -0
  74. package/dist/rule-builder-B_M9yvEe.js +89 -0
  75. package/dist/template-1o0LbOoJ.js +190 -0
  76. package/dist/usePagination-BeF5K3M7.js +223 -0
  77. package/dist/vue-i18n-AtGIa4qH.js +2365 -0
  78. package/dist/xlsx-pChq0adn.js +15491 -0
  79. package/dist/zod-W_PvIofQ.js +90 -0
  80. package/package.json +3 -3
  81. package/dist/Collections-CFCZ9YIG.js +0 -4
  82. package/dist/MainLayout-JbHzENFy.js +0 -4
  83. package/dist/app-BpzzygYP.js +0 -87765
  84. package/dist/money-DKGIIplY.js +0 -15
  85. package/dist/number-tPodRxTN.js +0 -12
@@ -0,0 +1,203 @@
1
+ import { z as o, F as e, m as c } from "./loading-uCNeZibp.js";
2
+ import { n as d, o as u, p as m, m as a } from "./index-Dkeb_9ER.js";
3
+ const b = o.enum([
4
+ "PORTAL",
5
+ "BENEFIT",
6
+ "STORE",
7
+ "ORDER",
8
+ "BILL",
9
+ "BILL_DISCOUNT",
10
+ "CASHBACK",
11
+ "FEEDBACK",
12
+ "CYCLE",
13
+ "COUNTER",
14
+ "GAME",
15
+ "COUNTER_CONSUME",
16
+ "STAMP_REWARD",
17
+ "STAMP_CARRY_FORWARD",
18
+ "STAMP_MAX_REACHED",
19
+ "POS_CLAIM"
20
+ ]), i = o.string(), l = o.record(o.string(), o.any()).nullish(), p = {
21
+ collectionName: "Transactions",
22
+ transform: {
23
+ _id: "oid",
24
+ user: "oid",
25
+ collectible: "oid",
26
+ collection: "oid",
27
+ business: "oid",
28
+ refundedFrom: "oid"
29
+ },
30
+ lookups: {
31
+ user: {
32
+ fromCollection: "UsersV2",
33
+ as: "pf_user"
34
+ },
35
+ collectible: {
36
+ fromCollection: "CollectibleConfigs",
37
+ as: "pf_collectible"
38
+ }
39
+ }
40
+ }, A = o.object({
41
+ _id: e,
42
+ user: e.nullable(),
43
+ collectible: e,
44
+ collection: e,
45
+ business: e,
46
+ amount: o.number(),
47
+ expiryAmount: o.array(o.lazy(() => r)),
48
+ from: o.lazy(() => t),
49
+ to: o.lazy(() => t),
50
+ source: i,
51
+ ref: o.string(),
52
+ refunded: o.boolean().optional(),
53
+ refundedFrom: e.optional(),
54
+ metadata: l,
55
+ createdAt: o.coerce.date().optional(),
56
+ pf_user: o.any().optional(),
57
+ pf_collectible: o.any().optional(),
58
+ pf_collection: o.any().optional(),
59
+ totalAmount: o.number().optional()
60
+ }).describe(c.describe(p));
61
+ o.object({
62
+ amount: o.number(),
63
+ expiryAmount: o.array(o.lazy(() => r)),
64
+ collection: o.lazy(() => f),
65
+ source: i,
66
+ ref: o.string(),
67
+ from: o.lazy(() => t).optional(),
68
+ to: o.lazy(() => t),
69
+ metadata: l,
70
+ refunded: o.boolean().optional(),
71
+ refundedFrom: e.optional()
72
+ });
73
+ o.object({
74
+ id: o.string()
75
+ });
76
+ b.options;
77
+ const s = o.enum(["NORMAL", "EXPIRABLE"]), r = o.object({
78
+ _id: e,
79
+ amount: o.number(),
80
+ expiredAt: o.coerce.date()
81
+ }), t = o.object({
82
+ balance: o.number(),
83
+ expiryBalance: o.array(r).optional()
84
+ }), C = {
85
+ collectionName: "Collections",
86
+ transform: {
87
+ _id: "oid",
88
+ business: "oid",
89
+ collectible: "oid",
90
+ user: "oid",
91
+ deactivatedAt: "date"
92
+ },
93
+ lookups: {
94
+ user: {
95
+ as: "pf_user",
96
+ fromCollection: "UsersV2"
97
+ },
98
+ collectible: {
99
+ as: "pf_collectible",
100
+ fromCollection: "CollectibleConfigs"
101
+ }
102
+ }
103
+ }, f = o.object({
104
+ _id: e,
105
+ business: e,
106
+ user: e.nullish(),
107
+ code: o.string().optional(),
108
+ collectible: e,
109
+ type: d,
110
+ extras: u.nullish(),
111
+ options: m,
112
+ ref: o.string().nullish(),
113
+ deactivatedAt: o.date().nullish(),
114
+ pf_user: o.any().optional(),
115
+ pf_collectible: o.any().optional(),
116
+ pf_campaign: o.any().optional()
117
+ }).merge(t).describe(c.describe(C)), n = o.object({
118
+ amount: o.number(),
119
+ ref: o.string(),
120
+ source: i,
121
+ metadata: l
122
+ });
123
+ n.extend({
124
+ code: o.string().optional(),
125
+ collectible: e,
126
+ channelConfig: a.nullish(),
127
+ business: e,
128
+ user: e.nullable()
129
+ });
130
+ n.extend({
131
+ codes: o.array(o.string()),
132
+ collectible: e,
133
+ channelConfig: a.nullish(),
134
+ business: e,
135
+ user: e.nullable()
136
+ });
137
+ n.extend({
138
+ user: e,
139
+ business: e,
140
+ collectible: e
141
+ });
142
+ n.extend({
143
+ id: e,
144
+ code: o.string().optional(),
145
+ type: s.optional()
146
+ });
147
+ o.object({
148
+ collection: e,
149
+ to: e,
150
+ ref: o.string(),
151
+ source: i,
152
+ metadata: l
153
+ });
154
+ const g = o.object({
155
+ length: o.coerce.number().optional(),
156
+ charset: o.string(),
157
+ prefix: o.string().optional(),
158
+ suffix: o.string().optional(),
159
+ pattern: o.string().optional()
160
+ });
161
+ o.object({
162
+ quantity: o.number(),
163
+ code: o.string(),
164
+ codeConfig: g
165
+ });
166
+ const F = o.object({
167
+ amount: o.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
168
+ day: o.coerce.number().min(1).max(9999),
169
+ remark: o.string().optional()
170
+ }), E = o.object({
171
+ amount: o.coerce.number().min(1),
172
+ remark: o.string().optional()
173
+ });
174
+ o.object({
175
+ amount: o.coerce.number().min(1),
176
+ day: o.coerce.number().min(1).max(9999),
177
+ remark: o.string().optional()
178
+ });
179
+ o.object({
180
+ amount: o.coerce.number().min(1),
181
+ remark: o.string().optional()
182
+ });
183
+ n.extend({
184
+ business: o.string(),
185
+ user: o.string(),
186
+ type: s.optional()
187
+ });
188
+ n.extend({
189
+ business: o.string(),
190
+ user: o.string(),
191
+ channelConfig: a.nullish()
192
+ });
193
+ o.object({
194
+ memberId: o.array(e)
195
+ });
196
+ export {
197
+ F,
198
+ E as a,
199
+ A as b,
200
+ f as c,
201
+ b as d,
202
+ t as e
203
+ };
@@ -0,0 +1,38 @@
1
+ import { z as t, F as e, m as i } from "./loading-uCNeZibp.js";
2
+ const n = t.enum(["FACEBOOK", "INSTAGRAM", "TV", "BRAND_APP"]), s = {
3
+ collectionName: "MarketingMaterials",
4
+ transform: {
5
+ _id: "oid",
6
+ business: "oid",
7
+ campaign: "oid"
8
+ }
9
+ }, a = t.object({
10
+ platform: n,
11
+ contents: t.array(
12
+ t.object({
13
+ type: t.string(),
14
+ size: t.object({
15
+ width: t.number(),
16
+ height: t.number()
17
+ }),
18
+ images: t.array(t.string())
19
+ })
20
+ )
21
+ });
22
+ t.object({
23
+ _id: e,
24
+ business: e,
25
+ campaign: e.nullish(),
26
+ name: t.string(),
27
+ keywords: t.string(),
28
+ image: t.string(),
29
+ assets: t.array(t.lazy(() => a)),
30
+ headline: t.object({
31
+ content: t.string(),
32
+ key: t.string().optional()
33
+ }),
34
+ captions: t.array(t.object({ language: t.string(), content: t.string() }))
35
+ }).describe(i.describe(s));
36
+ export {
37
+ n as F
38
+ };