@feedmepos/mf-brand-app-builder 0.5.12 → 0.5.14-alpha

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 (134) hide show
  1. package/dist/App-Xo6sYLKN.js +107 -0
  2. package/dist/{AssetsSettings-BRmUNWzU.js → AssetsSettings-GYv5Lgbv.js} +86 -84
  3. package/dist/BaDivider-Cp9gfB4r.js +10 -0
  4. package/dist/BuilderView-DbmdbQY9.js +9346 -0
  5. package/dist/{ButtonGroup-B3ba45VA.js → ButtonGroup-CbW3Lnxj.js} +2 -2
  6. package/dist/{CircularProgress-h90pbjU3.js → CircularProgress-DdblYCtV.js} +4 -4
  7. package/dist/ColorPicker-CD7uePb_.js +590 -0
  8. package/dist/HomeView-3aPMgIRl.js +10 -0
  9. package/dist/{Icon.vue_vue_type_style_index_0_lang-CVCHCcWR.js → Icon.vue_vue_type_style_index_0_lang-BcRjQndc.js} +2 -2
  10. package/dist/{ImageUpload-EpMFyZdg.js → ImageUpload-DbMJq_mi.js} +14 -14
  11. package/dist/{LinkButton-DENsxaU5.js → LinkButton-PteLpFYx.js} +44 -44
  12. package/dist/{ListRepeater-DLracrtI.js → ListRepeater-QEdnv9ML.js} +2 -2
  13. package/dist/{ManagementSettings-BM5Ln-Sx.js → ManagementSettings-A6ZjMlBQ.js} +6 -6
  14. package/dist/ProjectView-BWC0s0Bv.js +509 -0
  15. package/dist/{Select-CbQFoAzb.js → Select-C2r_c4vv.js} +2 -2
  16. package/dist/{SettingsView-DFAxZPug.js → SettingsView-BUGfoZhA.js} +2 -2
  17. package/dist/{StepperField-DrHM9EDn.js → StepperField-xVvcmxNx.js} +2 -2
  18. package/dist/{Switch-8mmNQUDo.js → Switch-uc_zN-mb.js} +2 -2
  19. package/dist/{TextAlign-BOC8ekaH.js → TextAlign-BSp1Xi7F.js} +2 -2
  20. package/dist/{TextDecorators-BJC4umDR.js → TextDecorators-1C54q7us.js} +4 -4
  21. package/dist/{TextField-BiVH5rLX.js → TextField-DfBJB6vQ.js} +2 -2
  22. package/dist/{TextStyleList-CuPE80Py.js → TextStyleList-Bef3irUx.js} +3 -3
  23. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  24. package/dist/{app-B1o1qlxh.js → app-DVFhgbmV.js} +42 -33
  25. package/dist/app.js +1 -1
  26. package/dist/components/src/components/BranchList.vue.d.ts +1 -1
  27. package/dist/components/src/components/ButtonList.vue.d.ts +1 -1
  28. package/dist/components/src/components/CountrySwitcher.vue.d.ts +1 -1
  29. package/dist/components/src/components/Homepage.vue.d.ts +5 -3
  30. package/dist/components/src/components/ImageCarousel.vue.d.ts +1 -1
  31. package/dist/components/src/components/ImageDisplay.vue.d.ts +1 -1
  32. package/dist/components/src/components/Member/MemberAchievements.vue.d.ts +33 -0
  33. package/dist/components/src/components/Member/MemberButtonList.vue.d.ts +21 -0
  34. package/dist/components/src/components/Member/MemberCards.vue.d.ts +19 -0
  35. package/dist/components/src/components/Member/MemberSummary.vue.d.ts +24 -0
  36. package/dist/components/src/components/Member/TransactionList.vue.d.ts +5 -0
  37. package/dist/components/src/components/MemberCard.vue.d.ts +1 -1
  38. package/dist/components/src/components/NavigationBar.vue.d.ts +17 -0
  39. package/dist/components/src/components/OrderHistoryCard.vue.d.ts +1 -1
  40. package/dist/components/src/components/OrderMethod.vue.d.ts +1 -1
  41. package/dist/components/src/components/TextDisplay.vue.d.ts +1 -1
  42. package/dist/components/src/components/atoms/Button.vue.d.ts +4 -4
  43. package/dist/components/src/components/atoms/CircularProgress.vue.d.ts +1 -1
  44. package/dist/components/src/components/atoms/Container.vue.d.ts +4 -3
  45. package/dist/components/src/components/atoms/Divider.vue.d.ts +1 -1
  46. package/dist/components/src/components/atoms/Icon.vue.d.ts +1 -1
  47. package/dist/components/src/components/atoms/LinkSlot.vue.d.ts +4 -4
  48. package/dist/components/src/main.d.ts +10 -1
  49. package/dist/components/src/utils/date.d.ts +22 -0
  50. package/dist/components/src/views/OrderDetails.vue.d.ts +1 -1
  51. package/dist/components/src/views/_Credit.vue.d.ts +20 -0
  52. package/dist/components/src/views/_MemberProfile.vue.d.ts +39 -0
  53. package/dist/components/src/views/_Point.vue.d.ts +20 -0
  54. package/dist/components/src/views/_Referral.vue.d.ts +31 -0
  55. package/dist/components/src/views/_ReferralTutorial.vue.d.ts +23 -0
  56. package/dist/{image-Dw_jz8xE.js → image-BTKrdsxd.js} +12 -12
  57. package/dist/index-CVTxYyKn.js +194 -0
  58. package/dist/{index-T23clKe0.js → index-DIGmVQHT.js} +52 -52
  59. package/dist/{index-Dw3CRqw2.js → index-H0Aroxdr.js} +1 -1
  60. package/dist/index-tAs8jqUd.js +1737 -0
  61. package/dist/main-DsKVTvvP.js +7980 -0
  62. package/dist/merchant/src/api/business/index.d.ts +1 -1
  63. package/dist/merchant/src/api/template/index.d.ts +2 -2
  64. package/dist/merchant/src/app.d.ts +1 -1
  65. package/dist/merchant/src/components/atoms/BaButtonGroup.vue.d.ts +1 -1
  66. package/dist/merchant/src/components/atoms/BaDivider.vue.d.ts +1 -1
  67. package/dist/merchant/src/components/editor/Editor.vue.d.ts +1 -1
  68. package/dist/merchant/src/components/editor/EditorFloatingToobar.vue.d.ts +1 -1
  69. package/dist/merchant/src/components/editor/toolbar/EditorToolbar.vue.d.ts +1 -1
  70. package/dist/merchant/src/components/element-sidebar/ElementSidebar.vue.d.ts +1 -1
  71. package/dist/merchant/src/components/inputs/ColorPicker.vue.d.ts +2 -1
  72. package/dist/merchant/src/components/inputs/ImageUpload.vue.d.ts +1 -1
  73. package/dist/merchant/src/components/inputs/TextAlign.vue.d.ts +1 -1
  74. package/dist/merchant/src/components/inputs/TextDecorators.vue.d.ts +1 -1
  75. package/dist/merchant/src/components/inputs/TextStyleList.vue.d.ts +1 -1
  76. package/dist/merchant/src/components/inspector/Inspector.vue.d.ts +1 -1
  77. package/dist/merchant/src/components/inspector/atoms/ConfigSection.vue.d.ts +3 -3
  78. package/dist/merchant/src/components/inspector/atoms/ConfigTab.vue.d.ts +3 -3
  79. package/dist/merchant/src/components/inspector/atoms/ConfigTabItem.vue.d.ts +3 -3
  80. package/dist/merchant/src/components/inspector/atoms/ConfigTabTitle.vue.d.ts +1 -1
  81. package/dist/merchant/src/components/navigation-sidebar/NavigationSidebar.vue.d.ts +1 -1
  82. package/dist/merchant/src/components/settings/AssetsSettings.vue.d.ts +1 -1
  83. package/dist/merchant/src/components/settings/ManagementSettings.vue.d.ts +1 -1
  84. package/dist/merchant/src/composables/useNode/index.d.ts +1 -1
  85. package/dist/merchant/src/node-configs/branch-list/props.d.ts +1 -0
  86. package/dist/merchant/src/node-configs/button-list/props.d.ts +1 -0
  87. package/dist/merchant/src/node-configs/carousel/props.d.ts +1 -0
  88. package/dist/merchant/src/node-configs/container/props.d.ts +28 -0
  89. package/dist/merchant/src/node-configs/display-image/props.d.ts +1 -0
  90. package/dist/merchant/src/node-configs/display-text/props.d.ts +1 -0
  91. package/dist/merchant/src/node-configs/member-achievements/mock-data.d.ts +15 -0
  92. package/dist/merchant/src/node-configs/member-achievements/props.d.ts +40 -0
  93. package/dist/merchant/src/node-configs/member-achievements/schema.d.ts +2 -0
  94. package/dist/merchant/src/node-configs/member-button-list/props.d.ts +31 -0
  95. package/dist/merchant/src/node-configs/member-button-list/schema.d.ts +2 -0
  96. package/dist/merchant/src/node-configs/member-card/props.d.ts +1 -0
  97. package/dist/merchant/src/node-configs/member-cards/mock-data.d.ts +3 -0
  98. package/dist/merchant/src/node-configs/member-cards/props.d.ts +24 -0
  99. package/dist/merchant/src/node-configs/member-cards/schema.d.ts +2 -0
  100. package/dist/merchant/src/node-configs/member-history/mock-data.d.ts +843 -0
  101. package/dist/merchant/src/node-configs/member-history/props.d.ts +1692 -0
  102. package/dist/merchant/src/node-configs/member-history/schema.d.ts +3 -0
  103. package/dist/merchant/src/node-configs/member-profile/props.d.ts +449 -0
  104. package/dist/merchant/src/node-configs/member-profile/schema.d.ts +2 -0
  105. package/dist/merchant/src/node-configs/member-referral/props.d.ts +98 -0
  106. package/dist/merchant/src/node-configs/member-referral/schema.d.ts +2 -0
  107. package/dist/merchant/src/node-configs/member-referral-tutorial/props.d.ts +8 -0
  108. package/dist/merchant/src/node-configs/member-referral-tutorial/schema.d.ts +2 -0
  109. package/dist/merchant/src/node-configs/member-summary/mock-data.d.ts +9 -0
  110. package/dist/merchant/src/node-configs/member-summary/props.d.ts +32 -0
  111. package/dist/merchant/src/node-configs/member-summary/schema.d.ts +2 -0
  112. package/dist/merchant/src/node-configs/mock-data.d.ts +5 -1
  113. package/dist/merchant/src/node-configs/order-history-card/props.d.ts +1 -0
  114. package/dist/merchant/src/node-configs/order-method/props.d.ts +1 -0
  115. package/dist/merchant/src/node-configs/props.d.ts +9 -1
  116. package/dist/merchant/src/node-configs/schema.d.ts +9 -1
  117. package/dist/merchant/src/stores/editor/index.d.ts +1 -1
  118. package/dist/merchant/src/stores/template/index.d.ts +85 -6
  119. package/dist/merchant/src/views/BuilderView.vue.d.ts +1 -1
  120. package/dist/merchant/src/views/HomeView.vue.d.ts +1 -1
  121. package/dist/merchant/src/views/ProjectView.vue.d.ts +2 -0
  122. package/dist/merchant/src/views/SettingsView.vue.d.ts +1 -1
  123. package/dist/merchant/src/views/views.d.ts +11 -0
  124. package/dist/package.json +5 -2
  125. package/dist/style.css +1 -1
  126. package/dist/{v4-ANoOI1Qw.js → v4-CKwdnpQf.js} +8 -8
  127. package/dist/views-Dd4l-D61.js +89 -0
  128. package/package.json +5 -2
  129. package/dist/App-D-sh0my5.js +0 -99
  130. package/dist/BuilderView-DPoES6BN.js +0 -5498
  131. package/dist/ColorPicker-DAysa9fA.js +0 -22
  132. package/dist/index-BMPqWhXR.js +0 -188
  133. package/dist/index-BxQr98LR.js +0 -1729
  134. package/dist/main-CZCjdYQJ.js +0 -6726
@@ -0,0 +1,1692 @@
1
+ export declare const _Credit: {
2
+ data: {
3
+ member: {
4
+ _id: string;
5
+ name: string;
6
+ birthday: string;
7
+ gender: string;
8
+ email: string;
9
+ phoneNumber: string;
10
+ externalMemberId: string;
11
+ cardNo: string;
12
+ joinAt: string;
13
+ business: string;
14
+ stats: {
15
+ avgBillSize: number;
16
+ avgVisitFrequency: number;
17
+ products: {};
18
+ topupCount: number;
19
+ visitCount: number;
20
+ lastVisit: string;
21
+ feedbackCount: number;
22
+ lastSeasonPointEarned: number;
23
+ };
24
+ segment: string[];
25
+ member: boolean;
26
+ collection: {
27
+ CREDIT: {
28
+ _id: string;
29
+ balance: number;
30
+ business: string;
31
+ collectible: string;
32
+ expiryBalance: {
33
+ _id: string;
34
+ expiredAt: string;
35
+ amount: number;
36
+ }[];
37
+ extras: null;
38
+ options: {
39
+ validityOption: {
40
+ validForDay: number;
41
+ };
42
+ };
43
+ type: string;
44
+ user: string;
45
+ }[];
46
+ POINT: {
47
+ _id: string;
48
+ balance: number;
49
+ business: string;
50
+ collectible: string;
51
+ expiryBalance: never[];
52
+ extras: null;
53
+ options: {
54
+ validityOption: {};
55
+ };
56
+ type: string;
57
+ user: string;
58
+ }[];
59
+ TITLE: {
60
+ _id: string;
61
+ balance: number;
62
+ business: string;
63
+ collectible: string;
64
+ expiryBalance: {
65
+ _id: string;
66
+ amount: number;
67
+ expiredAt: string;
68
+ }[];
69
+ extras: null;
70
+ options: {
71
+ validityOption: {
72
+ validForDay: number;
73
+ };
74
+ };
75
+ type: string;
76
+ user: string;
77
+ }[];
78
+ TIER: {
79
+ _id: string;
80
+ balance: number;
81
+ business: string;
82
+ collectible: string;
83
+ expiryBalance: never[];
84
+ extras: null;
85
+ options: {};
86
+ type: string;
87
+ user: string;
88
+ }[];
89
+ VOUCHER: {
90
+ _id: string;
91
+ balance: number;
92
+ business: string;
93
+ collectible: string;
94
+ expiryBalance: {
95
+ _id: string;
96
+ amount: number;
97
+ expiredAt: string;
98
+ }[];
99
+ extras: {
100
+ targetLocation: null;
101
+ effect: {
102
+ options: {
103
+ target: string;
104
+ excludeIds: null;
105
+ minPurchase: null;
106
+ };
107
+ availableOnlineOrder: null;
108
+ priority: null;
109
+ adjustment: {
110
+ amount: {
111
+ amount: number;
112
+ precision: number;
113
+ };
114
+ type: string;
115
+ };
116
+ };
117
+ };
118
+ options: {
119
+ validityOption: {
120
+ validForDay: number;
121
+ };
122
+ enableTransfer: boolean;
123
+ cooldown: number;
124
+ maxUse: number;
125
+ };
126
+ type: string;
127
+ user: string;
128
+ }[];
129
+ COIN: {
130
+ _id: string;
131
+ balance: number;
132
+ business: string;
133
+ collectible: string;
134
+ expiryBalance: never[];
135
+ extras: null;
136
+ options: {
137
+ validityOption: {};
138
+ };
139
+ type: string;
140
+ user: string;
141
+ }[];
142
+ };
143
+ address: never[];
144
+ photoUrl: string;
145
+ expiringVouchers: {
146
+ days7: number;
147
+ days30: number;
148
+ days90: number;
149
+ d_5: number;
150
+ };
151
+ lastReadAt: string;
152
+ importCollection: {
153
+ TIER: number;
154
+ POINT: number;
155
+ CREDIT: number;
156
+ COIN: number;
157
+ TITLE: never[];
158
+ };
159
+ user: string;
160
+ credit: {
161
+ _id: string;
162
+ balance: number;
163
+ business: string;
164
+ collectible: string;
165
+ expiryBalance: {
166
+ _id: string;
167
+ expiredAt: string;
168
+ amount: number;
169
+ }[];
170
+ extras: null;
171
+ options: {
172
+ validityOption: {
173
+ validForDay: number;
174
+ };
175
+ };
176
+ type: string;
177
+ user: string;
178
+ };
179
+ point: {
180
+ _id: string;
181
+ balance: number;
182
+ business: string;
183
+ collectible: string;
184
+ expiryBalance: never[];
185
+ extras: null;
186
+ options: {
187
+ validityOption: {};
188
+ };
189
+ type: string;
190
+ user: string;
191
+ };
192
+ coin: {
193
+ _id: string;
194
+ balance: number;
195
+ business: string;
196
+ collectible: string;
197
+ expiryBalance: never[];
198
+ extras: null;
199
+ options: {
200
+ validityOption: {};
201
+ };
202
+ type: string;
203
+ user: string;
204
+ };
205
+ tier: {
206
+ _id: string;
207
+ balance: number;
208
+ business: string;
209
+ collectible: string;
210
+ expiryBalance: never[];
211
+ extras: null;
212
+ options: {};
213
+ type: string;
214
+ user: string;
215
+ };
216
+ voucherCount: number;
217
+ gameCount: number;
218
+ titles: {
219
+ _id: string;
220
+ balance: number;
221
+ business: string;
222
+ collectible: string;
223
+ expiryBalance: {
224
+ _id: string;
225
+ amount: number;
226
+ expiredAt: string;
227
+ }[];
228
+ extras: null;
229
+ options: {
230
+ validityOption: {
231
+ validForDay: number;
232
+ };
233
+ };
234
+ type: string;
235
+ user: string;
236
+ }[];
237
+ };
238
+ transactions: ({
239
+ _id: string;
240
+ user: string;
241
+ collectible: string;
242
+ collection: string;
243
+ business: string;
244
+ source: string;
245
+ ref: string;
246
+ amount: number;
247
+ expiryAmount: never[];
248
+ from: {
249
+ balance: number;
250
+ expiryBalance: never[];
251
+ };
252
+ to: {
253
+ balance: number;
254
+ expiryBalance: never[];
255
+ };
256
+ metadata: {
257
+ campaign: string;
258
+ location: string;
259
+ user?: undefined;
260
+ };
261
+ refunded: null;
262
+ refundedFrom: null;
263
+ createdAt: string;
264
+ pf_user: {
265
+ _id: string;
266
+ name: string;
267
+ birthday: string;
268
+ gender: string;
269
+ email: string;
270
+ phoneNumber: string;
271
+ externalMemberId: string;
272
+ cardNo: string;
273
+ joinAt: string;
274
+ business: string;
275
+ stats: {
276
+ avgBillSize: number;
277
+ avgVisitFrequency: number;
278
+ products: {};
279
+ topupCount: number;
280
+ visitCount: number;
281
+ lastVisit: string;
282
+ feedbackCount: number;
283
+ lastSeasonPointEarned: number;
284
+ };
285
+ segment: string[];
286
+ member: boolean;
287
+ collection: {
288
+ CREDIT: {
289
+ _id: string;
290
+ balance: number;
291
+ business: string;
292
+ collectible: string;
293
+ expiryBalance: {
294
+ _id: string;
295
+ expiredAt: string;
296
+ amount: number;
297
+ }[];
298
+ extras: null;
299
+ options: {
300
+ validityOption: {
301
+ validForDay: number;
302
+ };
303
+ };
304
+ type: string;
305
+ user: string;
306
+ }[];
307
+ POINT: {
308
+ _id: string;
309
+ balance: number;
310
+ business: string;
311
+ collectible: string;
312
+ expiryBalance: never[];
313
+ extras: null;
314
+ options: {
315
+ validityOption: {};
316
+ };
317
+ type: string;
318
+ user: string;
319
+ }[];
320
+ TITLE: {
321
+ _id: string;
322
+ balance: number;
323
+ business: string;
324
+ collectible: string;
325
+ expiryBalance: {
326
+ _id: string;
327
+ amount: number;
328
+ expiredAt: string;
329
+ }[];
330
+ extras: null;
331
+ options: {
332
+ validityOption: {
333
+ validForDay: number;
334
+ };
335
+ };
336
+ type: string;
337
+ user: string;
338
+ }[];
339
+ TIER: {
340
+ _id: string;
341
+ balance: number;
342
+ business: string;
343
+ collectible: string;
344
+ expiryBalance: never[];
345
+ extras: null;
346
+ options: {};
347
+ type: string;
348
+ user: string;
349
+ }[];
350
+ VOUCHER: {
351
+ _id: string;
352
+ balance: number;
353
+ business: string;
354
+ collectible: string;
355
+ expiryBalance: {
356
+ _id: string;
357
+ amount: number;
358
+ expiredAt: string;
359
+ }[];
360
+ extras: {
361
+ targetLocation: null;
362
+ effect: {
363
+ options: {
364
+ target: string;
365
+ excludeIds: null;
366
+ minPurchase: null;
367
+ };
368
+ availableOnlineOrder: null;
369
+ priority: null;
370
+ adjustment: {
371
+ amount: {
372
+ amount: number;
373
+ precision: number;
374
+ };
375
+ type: string;
376
+ };
377
+ };
378
+ };
379
+ options: {
380
+ validityOption: {
381
+ validForDay: number;
382
+ };
383
+ enableTransfer: boolean;
384
+ cooldown: number;
385
+ maxUse: number;
386
+ };
387
+ type: string;
388
+ user: string;
389
+ }[];
390
+ COIN: {
391
+ _id: string;
392
+ balance: number;
393
+ business: string;
394
+ collectible: string;
395
+ expiryBalance: never[];
396
+ extras: null;
397
+ options: {
398
+ validityOption: {};
399
+ };
400
+ type: string;
401
+ user: string;
402
+ }[];
403
+ };
404
+ address: never[];
405
+ photoUrl: string;
406
+ expiringVouchers: {
407
+ days7: number;
408
+ days30: number;
409
+ days90: number;
410
+ d_24: number;
411
+ };
412
+ lastReadAt: string;
413
+ importCollection: {
414
+ TIER: number;
415
+ POINT: number;
416
+ CREDIT: number;
417
+ COIN: number;
418
+ TITLE: never[];
419
+ };
420
+ user: string;
421
+ referralCode: string;
422
+ };
423
+ pf_collectible: {
424
+ _id: string;
425
+ name: string;
426
+ business: string;
427
+ type: string;
428
+ options: {};
429
+ stackable: boolean;
430
+ currentReceive: number;
431
+ };
432
+ totalAmount: number;
433
+ } | {
434
+ _id: string;
435
+ user: string;
436
+ collectible: string;
437
+ collection: string;
438
+ business: string;
439
+ source: string;
440
+ ref: string;
441
+ amount: number;
442
+ expiryAmount: {
443
+ _id: string;
444
+ amount: number;
445
+ expiredAt: string;
446
+ }[];
447
+ from: {
448
+ balance: number;
449
+ expiryBalance: {
450
+ _id: string;
451
+ amount: number;
452
+ expiredAt: string;
453
+ }[];
454
+ };
455
+ to: {
456
+ balance: number;
457
+ expiryBalance: never[];
458
+ };
459
+ metadata: {
460
+ campaign?: undefined;
461
+ location?: undefined;
462
+ user?: undefined;
463
+ };
464
+ refunded: null;
465
+ refundedFrom: null;
466
+ createdAt: string;
467
+ pf_user: {
468
+ _id: string;
469
+ name: string;
470
+ birthday: string;
471
+ gender: string;
472
+ email: string;
473
+ phoneNumber: string;
474
+ externalMemberId: string;
475
+ cardNo: string;
476
+ joinAt: string;
477
+ business: string;
478
+ stats: {
479
+ avgBillSize: number;
480
+ avgVisitFrequency: number;
481
+ products: {};
482
+ topupCount: number;
483
+ visitCount: number;
484
+ lastVisit: string;
485
+ feedbackCount: number;
486
+ lastSeasonPointEarned: number;
487
+ };
488
+ segment: string[];
489
+ member: boolean;
490
+ collection: {
491
+ CREDIT: {
492
+ _id: string;
493
+ balance: number;
494
+ business: string;
495
+ collectible: string;
496
+ expiryBalance: {
497
+ _id: string;
498
+ expiredAt: string;
499
+ amount: number;
500
+ }[];
501
+ extras: null;
502
+ options: {
503
+ validityOption: {
504
+ validForDay: number;
505
+ };
506
+ };
507
+ type: string;
508
+ user: string;
509
+ }[];
510
+ POINT: {
511
+ _id: string;
512
+ balance: number;
513
+ business: string;
514
+ collectible: string;
515
+ expiryBalance: never[];
516
+ extras: null;
517
+ options: {
518
+ validityOption: {};
519
+ };
520
+ type: string;
521
+ user: string;
522
+ }[];
523
+ TITLE: {
524
+ _id: string;
525
+ balance: number;
526
+ business: string;
527
+ collectible: string;
528
+ expiryBalance: {
529
+ _id: string;
530
+ amount: number;
531
+ expiredAt: string;
532
+ }[];
533
+ extras: null;
534
+ options: {
535
+ validityOption: {
536
+ validForDay: number;
537
+ };
538
+ };
539
+ type: string;
540
+ user: string;
541
+ }[];
542
+ TIER: {
543
+ _id: string;
544
+ balance: number;
545
+ business: string;
546
+ collectible: string;
547
+ expiryBalance: never[];
548
+ extras: null;
549
+ options: {};
550
+ type: string;
551
+ user: string;
552
+ }[];
553
+ VOUCHER: {
554
+ _id: string;
555
+ balance: number;
556
+ business: string;
557
+ collectible: string;
558
+ expiryBalance: {
559
+ _id: string;
560
+ amount: number;
561
+ expiredAt: string;
562
+ }[];
563
+ extras: {
564
+ targetLocation: null;
565
+ effect: {
566
+ options: {
567
+ target: string;
568
+ excludeIds: null;
569
+ minPurchase: null;
570
+ };
571
+ availableOnlineOrder: null;
572
+ priority: null;
573
+ adjustment: {
574
+ amount: {
575
+ amount: number;
576
+ precision: number;
577
+ };
578
+ type: string;
579
+ };
580
+ };
581
+ };
582
+ options: {
583
+ validityOption: {
584
+ validForDay: number;
585
+ };
586
+ enableTransfer: boolean;
587
+ cooldown: number;
588
+ maxUse: number;
589
+ };
590
+ type: string;
591
+ user: string;
592
+ }[];
593
+ COIN: {
594
+ _id: string;
595
+ balance: number;
596
+ business: string;
597
+ collectible: string;
598
+ expiryBalance: never[];
599
+ extras: null;
600
+ options: {
601
+ validityOption: {};
602
+ };
603
+ type: string;
604
+ user: string;
605
+ }[];
606
+ };
607
+ address: never[];
608
+ photoUrl: string;
609
+ expiringVouchers: {
610
+ days7: number;
611
+ days30: number;
612
+ days90: number;
613
+ d_24: number;
614
+ };
615
+ lastReadAt: string;
616
+ importCollection: {
617
+ TIER: number;
618
+ POINT: number;
619
+ CREDIT: number;
620
+ COIN: number;
621
+ TITLE: never[];
622
+ };
623
+ user: string;
624
+ referralCode: string;
625
+ };
626
+ pf_collectible: {
627
+ _id: string;
628
+ name: string;
629
+ business: string;
630
+ type: string;
631
+ options: {};
632
+ stackable: boolean;
633
+ currentReceive: number;
634
+ };
635
+ totalAmount: number;
636
+ } | {
637
+ _id: string;
638
+ user: string;
639
+ collectible: string;
640
+ collection: string;
641
+ business: string;
642
+ source: string;
643
+ ref: string;
644
+ amount: number;
645
+ expiryAmount: {
646
+ _id: string;
647
+ amount: number;
648
+ expiredAt: string;
649
+ }[];
650
+ from: {
651
+ balance: number;
652
+ expiryBalance: never[];
653
+ };
654
+ to: {
655
+ balance: number;
656
+ expiryBalance: {
657
+ _id: string;
658
+ amount: number;
659
+ expiredAt: string;
660
+ }[];
661
+ };
662
+ metadata: {
663
+ campaign: string;
664
+ user: string;
665
+ location?: undefined;
666
+ };
667
+ refunded: null;
668
+ refundedFrom: null;
669
+ createdAt: string;
670
+ pf_user: {
671
+ _id: string;
672
+ name: string;
673
+ birthday: string;
674
+ gender: string;
675
+ email: string;
676
+ phoneNumber: string;
677
+ externalMemberId: string;
678
+ cardNo: string;
679
+ joinAt: string;
680
+ business: string;
681
+ stats: {
682
+ avgBillSize: number;
683
+ avgVisitFrequency: number;
684
+ products: {};
685
+ topupCount: number;
686
+ visitCount: number;
687
+ lastVisit: string;
688
+ feedbackCount: number;
689
+ lastSeasonPointEarned: number;
690
+ };
691
+ segment: string[];
692
+ member: boolean;
693
+ collection: {
694
+ CREDIT: {
695
+ _id: string;
696
+ balance: number;
697
+ business: string;
698
+ collectible: string;
699
+ expiryBalance: {
700
+ _id: string;
701
+ expiredAt: string;
702
+ amount: number;
703
+ }[];
704
+ extras: null;
705
+ options: {
706
+ validityOption: {
707
+ validForDay: number;
708
+ };
709
+ };
710
+ type: string;
711
+ user: string;
712
+ }[];
713
+ POINT: {
714
+ _id: string;
715
+ balance: number;
716
+ business: string;
717
+ collectible: string;
718
+ expiryBalance: never[];
719
+ extras: null;
720
+ options: {
721
+ validityOption: {};
722
+ };
723
+ type: string;
724
+ user: string;
725
+ }[];
726
+ TITLE: {
727
+ _id: string;
728
+ balance: number;
729
+ business: string;
730
+ collectible: string;
731
+ expiryBalance: {
732
+ _id: string;
733
+ amount: number;
734
+ expiredAt: string;
735
+ }[];
736
+ extras: null;
737
+ options: {
738
+ validityOption: {
739
+ validForDay: number;
740
+ };
741
+ };
742
+ type: string;
743
+ user: string;
744
+ }[];
745
+ TIER: {
746
+ _id: string;
747
+ balance: number;
748
+ business: string;
749
+ collectible: string;
750
+ expiryBalance: never[];
751
+ extras: null;
752
+ options: {};
753
+ type: string;
754
+ user: string;
755
+ }[];
756
+ VOUCHER: {
757
+ _id: string;
758
+ balance: number;
759
+ business: string;
760
+ collectible: string;
761
+ expiryBalance: {
762
+ _id: string;
763
+ amount: number;
764
+ expiredAt: string;
765
+ }[];
766
+ extras: {
767
+ targetLocation: null;
768
+ effect: {
769
+ options: {
770
+ target: string;
771
+ excludeIds: null;
772
+ minPurchase: null;
773
+ };
774
+ availableOnlineOrder: null;
775
+ priority: null;
776
+ adjustment: {
777
+ amount: {
778
+ amount: number;
779
+ precision: number;
780
+ };
781
+ type: string;
782
+ };
783
+ };
784
+ };
785
+ options: {
786
+ validityOption: {
787
+ validForDay: number;
788
+ };
789
+ enableTransfer: boolean;
790
+ cooldown: number;
791
+ maxUse: number;
792
+ };
793
+ type: string;
794
+ user: string;
795
+ }[];
796
+ COIN: {
797
+ _id: string;
798
+ balance: number;
799
+ business: string;
800
+ collectible: string;
801
+ expiryBalance: never[];
802
+ extras: null;
803
+ options: {
804
+ validityOption: {};
805
+ };
806
+ type: string;
807
+ user: string;
808
+ }[];
809
+ };
810
+ address: never[];
811
+ photoUrl: string;
812
+ expiringVouchers: {
813
+ days7: number;
814
+ days30: number;
815
+ days90: number;
816
+ d_24: number;
817
+ };
818
+ lastReadAt: string;
819
+ importCollection: {
820
+ TIER: number;
821
+ POINT: number;
822
+ CREDIT: number;
823
+ COIN: number;
824
+ TITLE: never[];
825
+ };
826
+ user: string;
827
+ referralCode: string;
828
+ };
829
+ pf_collectible: {
830
+ _id: string;
831
+ name: string;
832
+ business: string;
833
+ type: string;
834
+ options: {};
835
+ stackable: boolean;
836
+ currentReceive: number;
837
+ };
838
+ totalAmount: number;
839
+ })[];
840
+ amount: number;
841
+ amountExpiring: number;
842
+ isLoading: boolean;
843
+ isCompleted: boolean;
844
+ };
845
+ designStyle: number;
846
+ };
847
+ export declare const _Point: {
848
+ data: {
849
+ member: {
850
+ _id: string;
851
+ name: string;
852
+ birthday: string;
853
+ gender: string;
854
+ email: string;
855
+ phoneNumber: string;
856
+ externalMemberId: string;
857
+ cardNo: string;
858
+ joinAt: string;
859
+ business: string;
860
+ stats: {
861
+ avgBillSize: number;
862
+ avgVisitFrequency: number;
863
+ products: {};
864
+ topupCount: number;
865
+ visitCount: number;
866
+ lastVisit: string;
867
+ feedbackCount: number;
868
+ lastSeasonPointEarned: number;
869
+ };
870
+ segment: string[];
871
+ member: boolean;
872
+ collection: {
873
+ CREDIT: {
874
+ _id: string;
875
+ balance: number;
876
+ business: string;
877
+ collectible: string;
878
+ expiryBalance: {
879
+ _id: string;
880
+ expiredAt: string;
881
+ amount: number;
882
+ }[];
883
+ extras: null;
884
+ options: {
885
+ validityOption: {
886
+ validForDay: number;
887
+ };
888
+ };
889
+ type: string;
890
+ user: string;
891
+ }[];
892
+ POINT: {
893
+ _id: string;
894
+ balance: number;
895
+ business: string;
896
+ collectible: string;
897
+ expiryBalance: never[];
898
+ extras: null;
899
+ options: {
900
+ validityOption: {};
901
+ };
902
+ type: string;
903
+ user: string;
904
+ }[];
905
+ TITLE: {
906
+ _id: string;
907
+ balance: number;
908
+ business: string;
909
+ collectible: string;
910
+ expiryBalance: {
911
+ _id: string;
912
+ amount: number;
913
+ expiredAt: string;
914
+ }[];
915
+ extras: null;
916
+ options: {
917
+ validityOption: {
918
+ validForDay: number;
919
+ };
920
+ };
921
+ type: string;
922
+ user: string;
923
+ }[];
924
+ TIER: {
925
+ _id: string;
926
+ balance: number;
927
+ business: string;
928
+ collectible: string;
929
+ expiryBalance: never[];
930
+ extras: null;
931
+ options: {};
932
+ type: string;
933
+ user: string;
934
+ }[];
935
+ VOUCHER: {
936
+ _id: string;
937
+ balance: number;
938
+ business: string;
939
+ collectible: string;
940
+ expiryBalance: {
941
+ _id: string;
942
+ amount: number;
943
+ expiredAt: string;
944
+ }[];
945
+ extras: {
946
+ targetLocation: null;
947
+ effect: {
948
+ options: {
949
+ target: string;
950
+ excludeIds: null;
951
+ minPurchase: null;
952
+ };
953
+ availableOnlineOrder: null;
954
+ priority: null;
955
+ adjustment: {
956
+ amount: {
957
+ amount: number;
958
+ precision: number;
959
+ };
960
+ type: string;
961
+ };
962
+ };
963
+ };
964
+ options: {
965
+ validityOption: {
966
+ validForDay: number;
967
+ };
968
+ enableTransfer: boolean;
969
+ cooldown: number;
970
+ maxUse: number;
971
+ };
972
+ type: string;
973
+ user: string;
974
+ }[];
975
+ COIN: {
976
+ _id: string;
977
+ balance: number;
978
+ business: string;
979
+ collectible: string;
980
+ expiryBalance: never[];
981
+ extras: null;
982
+ options: {
983
+ validityOption: {};
984
+ };
985
+ type: string;
986
+ user: string;
987
+ }[];
988
+ };
989
+ address: never[];
990
+ photoUrl: string;
991
+ expiringVouchers: {
992
+ days7: number;
993
+ days30: number;
994
+ days90: number;
995
+ d_5: number;
996
+ };
997
+ lastReadAt: string;
998
+ importCollection: {
999
+ TIER: number;
1000
+ POINT: number;
1001
+ CREDIT: number;
1002
+ COIN: number;
1003
+ TITLE: never[];
1004
+ };
1005
+ user: string;
1006
+ credit: {
1007
+ _id: string;
1008
+ balance: number;
1009
+ business: string;
1010
+ collectible: string;
1011
+ expiryBalance: {
1012
+ _id: string;
1013
+ expiredAt: string;
1014
+ amount: number;
1015
+ }[];
1016
+ extras: null;
1017
+ options: {
1018
+ validityOption: {
1019
+ validForDay: number;
1020
+ };
1021
+ };
1022
+ type: string;
1023
+ user: string;
1024
+ };
1025
+ point: {
1026
+ _id: string;
1027
+ balance: number;
1028
+ business: string;
1029
+ collectible: string;
1030
+ expiryBalance: never[];
1031
+ extras: null;
1032
+ options: {
1033
+ validityOption: {};
1034
+ };
1035
+ type: string;
1036
+ user: string;
1037
+ };
1038
+ coin: {
1039
+ _id: string;
1040
+ balance: number;
1041
+ business: string;
1042
+ collectible: string;
1043
+ expiryBalance: never[];
1044
+ extras: null;
1045
+ options: {
1046
+ validityOption: {};
1047
+ };
1048
+ type: string;
1049
+ user: string;
1050
+ };
1051
+ tier: {
1052
+ _id: string;
1053
+ balance: number;
1054
+ business: string;
1055
+ collectible: string;
1056
+ expiryBalance: never[];
1057
+ extras: null;
1058
+ options: {};
1059
+ type: string;
1060
+ user: string;
1061
+ };
1062
+ voucherCount: number;
1063
+ gameCount: number;
1064
+ titles: {
1065
+ _id: string;
1066
+ balance: number;
1067
+ business: string;
1068
+ collectible: string;
1069
+ expiryBalance: {
1070
+ _id: string;
1071
+ amount: number;
1072
+ expiredAt: string;
1073
+ }[];
1074
+ extras: null;
1075
+ options: {
1076
+ validityOption: {
1077
+ validForDay: number;
1078
+ };
1079
+ };
1080
+ type: string;
1081
+ user: string;
1082
+ }[];
1083
+ };
1084
+ transactions: ({
1085
+ _id: string;
1086
+ user: string;
1087
+ collectible: string;
1088
+ collection: string;
1089
+ business: string;
1090
+ source: string;
1091
+ ref: string;
1092
+ amount: number;
1093
+ expiryAmount: never[];
1094
+ from: {
1095
+ balance: number;
1096
+ expiryBalance: never[];
1097
+ };
1098
+ to: {
1099
+ balance: number;
1100
+ expiryBalance: never[];
1101
+ };
1102
+ metadata: {
1103
+ campaign: string;
1104
+ location: string;
1105
+ user?: undefined;
1106
+ };
1107
+ refunded: null;
1108
+ refundedFrom: null;
1109
+ createdAt: string;
1110
+ pf_user: {
1111
+ _id: string;
1112
+ name: string;
1113
+ birthday: string;
1114
+ gender: string;
1115
+ email: string;
1116
+ phoneNumber: string;
1117
+ externalMemberId: string;
1118
+ cardNo: string;
1119
+ joinAt: string;
1120
+ business: string;
1121
+ stats: {
1122
+ avgBillSize: number;
1123
+ avgVisitFrequency: number;
1124
+ products: {};
1125
+ topupCount: number;
1126
+ visitCount: number;
1127
+ lastVisit: string;
1128
+ feedbackCount: number;
1129
+ lastSeasonPointEarned: number;
1130
+ };
1131
+ segment: string[];
1132
+ member: boolean;
1133
+ collection: {
1134
+ CREDIT: {
1135
+ _id: string;
1136
+ balance: number;
1137
+ business: string;
1138
+ collectible: string;
1139
+ expiryBalance: {
1140
+ _id: string;
1141
+ expiredAt: string;
1142
+ amount: number;
1143
+ }[];
1144
+ extras: null;
1145
+ options: {
1146
+ validityOption: {
1147
+ validForDay: number;
1148
+ };
1149
+ };
1150
+ type: string;
1151
+ user: string;
1152
+ }[];
1153
+ POINT: {
1154
+ _id: string;
1155
+ balance: number;
1156
+ business: string;
1157
+ collectible: string;
1158
+ expiryBalance: never[];
1159
+ extras: null;
1160
+ options: {
1161
+ validityOption: {};
1162
+ };
1163
+ type: string;
1164
+ user: string;
1165
+ }[];
1166
+ TITLE: {
1167
+ _id: string;
1168
+ balance: number;
1169
+ business: string;
1170
+ collectible: string;
1171
+ expiryBalance: {
1172
+ _id: string;
1173
+ amount: number;
1174
+ expiredAt: string;
1175
+ }[];
1176
+ extras: null;
1177
+ options: {
1178
+ validityOption: {
1179
+ validForDay: number;
1180
+ };
1181
+ };
1182
+ type: string;
1183
+ user: string;
1184
+ }[];
1185
+ TIER: {
1186
+ _id: string;
1187
+ balance: number;
1188
+ business: string;
1189
+ collectible: string;
1190
+ expiryBalance: never[];
1191
+ extras: null;
1192
+ options: {};
1193
+ type: string;
1194
+ user: string;
1195
+ }[];
1196
+ VOUCHER: {
1197
+ _id: string;
1198
+ balance: number;
1199
+ business: string;
1200
+ collectible: string;
1201
+ expiryBalance: {
1202
+ _id: string;
1203
+ amount: number;
1204
+ expiredAt: string;
1205
+ }[];
1206
+ extras: {
1207
+ targetLocation: null;
1208
+ effect: {
1209
+ options: {
1210
+ target: string;
1211
+ excludeIds: null;
1212
+ minPurchase: null;
1213
+ };
1214
+ availableOnlineOrder: null;
1215
+ priority: null;
1216
+ adjustment: {
1217
+ amount: {
1218
+ amount: number;
1219
+ precision: number;
1220
+ };
1221
+ type: string;
1222
+ };
1223
+ };
1224
+ };
1225
+ options: {
1226
+ validityOption: {
1227
+ validForDay: number;
1228
+ };
1229
+ enableTransfer: boolean;
1230
+ cooldown: number;
1231
+ maxUse: number;
1232
+ };
1233
+ type: string;
1234
+ user: string;
1235
+ }[];
1236
+ COIN: {
1237
+ _id: string;
1238
+ balance: number;
1239
+ business: string;
1240
+ collectible: string;
1241
+ expiryBalance: never[];
1242
+ extras: null;
1243
+ options: {
1244
+ validityOption: {};
1245
+ };
1246
+ type: string;
1247
+ user: string;
1248
+ }[];
1249
+ };
1250
+ address: never[];
1251
+ photoUrl: string;
1252
+ expiringVouchers: {
1253
+ days7: number;
1254
+ days30: number;
1255
+ days90: number;
1256
+ d_24: number;
1257
+ };
1258
+ lastReadAt: string;
1259
+ importCollection: {
1260
+ TIER: number;
1261
+ POINT: number;
1262
+ CREDIT: number;
1263
+ COIN: number;
1264
+ TITLE: never[];
1265
+ };
1266
+ user: string;
1267
+ referralCode: string;
1268
+ };
1269
+ pf_collectible: {
1270
+ _id: string;
1271
+ name: string;
1272
+ business: string;
1273
+ type: string;
1274
+ options: {};
1275
+ stackable: boolean;
1276
+ currentReceive: number;
1277
+ };
1278
+ totalAmount: number;
1279
+ } | {
1280
+ _id: string;
1281
+ user: string;
1282
+ collectible: string;
1283
+ collection: string;
1284
+ business: string;
1285
+ source: string;
1286
+ ref: string;
1287
+ amount: number;
1288
+ expiryAmount: {
1289
+ _id: string;
1290
+ amount: number;
1291
+ expiredAt: string;
1292
+ }[];
1293
+ from: {
1294
+ balance: number;
1295
+ expiryBalance: {
1296
+ _id: string;
1297
+ amount: number;
1298
+ expiredAt: string;
1299
+ }[];
1300
+ };
1301
+ to: {
1302
+ balance: number;
1303
+ expiryBalance: never[];
1304
+ };
1305
+ metadata: {
1306
+ campaign?: undefined;
1307
+ location?: undefined;
1308
+ user?: undefined;
1309
+ };
1310
+ refunded: null;
1311
+ refundedFrom: null;
1312
+ createdAt: string;
1313
+ pf_user: {
1314
+ _id: string;
1315
+ name: string;
1316
+ birthday: string;
1317
+ gender: string;
1318
+ email: string;
1319
+ phoneNumber: string;
1320
+ externalMemberId: string;
1321
+ cardNo: string;
1322
+ joinAt: string;
1323
+ business: string;
1324
+ stats: {
1325
+ avgBillSize: number;
1326
+ avgVisitFrequency: number;
1327
+ products: {};
1328
+ topupCount: number;
1329
+ visitCount: number;
1330
+ lastVisit: string;
1331
+ feedbackCount: number;
1332
+ lastSeasonPointEarned: number;
1333
+ };
1334
+ segment: string[];
1335
+ member: boolean;
1336
+ collection: {
1337
+ CREDIT: {
1338
+ _id: string;
1339
+ balance: number;
1340
+ business: string;
1341
+ collectible: string;
1342
+ expiryBalance: {
1343
+ _id: string;
1344
+ expiredAt: string;
1345
+ amount: number;
1346
+ }[];
1347
+ extras: null;
1348
+ options: {
1349
+ validityOption: {
1350
+ validForDay: number;
1351
+ };
1352
+ };
1353
+ type: string;
1354
+ user: string;
1355
+ }[];
1356
+ POINT: {
1357
+ _id: string;
1358
+ balance: number;
1359
+ business: string;
1360
+ collectible: string;
1361
+ expiryBalance: never[];
1362
+ extras: null;
1363
+ options: {
1364
+ validityOption: {};
1365
+ };
1366
+ type: string;
1367
+ user: string;
1368
+ }[];
1369
+ TITLE: {
1370
+ _id: string;
1371
+ balance: number;
1372
+ business: string;
1373
+ collectible: string;
1374
+ expiryBalance: {
1375
+ _id: string;
1376
+ amount: number;
1377
+ expiredAt: string;
1378
+ }[];
1379
+ extras: null;
1380
+ options: {
1381
+ validityOption: {
1382
+ validForDay: number;
1383
+ };
1384
+ };
1385
+ type: string;
1386
+ user: string;
1387
+ }[];
1388
+ TIER: {
1389
+ _id: string;
1390
+ balance: number;
1391
+ business: string;
1392
+ collectible: string;
1393
+ expiryBalance: never[];
1394
+ extras: null;
1395
+ options: {};
1396
+ type: string;
1397
+ user: string;
1398
+ }[];
1399
+ VOUCHER: {
1400
+ _id: string;
1401
+ balance: number;
1402
+ business: string;
1403
+ collectible: string;
1404
+ expiryBalance: {
1405
+ _id: string;
1406
+ amount: number;
1407
+ expiredAt: string;
1408
+ }[];
1409
+ extras: {
1410
+ targetLocation: null;
1411
+ effect: {
1412
+ options: {
1413
+ target: string;
1414
+ excludeIds: null;
1415
+ minPurchase: null;
1416
+ };
1417
+ availableOnlineOrder: null;
1418
+ priority: null;
1419
+ adjustment: {
1420
+ amount: {
1421
+ amount: number;
1422
+ precision: number;
1423
+ };
1424
+ type: string;
1425
+ };
1426
+ };
1427
+ };
1428
+ options: {
1429
+ validityOption: {
1430
+ validForDay: number;
1431
+ };
1432
+ enableTransfer: boolean;
1433
+ cooldown: number;
1434
+ maxUse: number;
1435
+ };
1436
+ type: string;
1437
+ user: string;
1438
+ }[];
1439
+ COIN: {
1440
+ _id: string;
1441
+ balance: number;
1442
+ business: string;
1443
+ collectible: string;
1444
+ expiryBalance: never[];
1445
+ extras: null;
1446
+ options: {
1447
+ validityOption: {};
1448
+ };
1449
+ type: string;
1450
+ user: string;
1451
+ }[];
1452
+ };
1453
+ address: never[];
1454
+ photoUrl: string;
1455
+ expiringVouchers: {
1456
+ days7: number;
1457
+ days30: number;
1458
+ days90: number;
1459
+ d_24: number;
1460
+ };
1461
+ lastReadAt: string;
1462
+ importCollection: {
1463
+ TIER: number;
1464
+ POINT: number;
1465
+ CREDIT: number;
1466
+ COIN: number;
1467
+ TITLE: never[];
1468
+ };
1469
+ user: string;
1470
+ referralCode: string;
1471
+ };
1472
+ pf_collectible: {
1473
+ _id: string;
1474
+ name: string;
1475
+ business: string;
1476
+ type: string;
1477
+ options: {};
1478
+ stackable: boolean;
1479
+ currentReceive: number;
1480
+ };
1481
+ totalAmount: number;
1482
+ } | {
1483
+ _id: string;
1484
+ user: string;
1485
+ collectible: string;
1486
+ collection: string;
1487
+ business: string;
1488
+ source: string;
1489
+ ref: string;
1490
+ amount: number;
1491
+ expiryAmount: {
1492
+ _id: string;
1493
+ amount: number;
1494
+ expiredAt: string;
1495
+ }[];
1496
+ from: {
1497
+ balance: number;
1498
+ expiryBalance: never[];
1499
+ };
1500
+ to: {
1501
+ balance: number;
1502
+ expiryBalance: {
1503
+ _id: string;
1504
+ amount: number;
1505
+ expiredAt: string;
1506
+ }[];
1507
+ };
1508
+ metadata: {
1509
+ campaign: string;
1510
+ user: string;
1511
+ location?: undefined;
1512
+ };
1513
+ refunded: null;
1514
+ refundedFrom: null;
1515
+ createdAt: string;
1516
+ pf_user: {
1517
+ _id: string;
1518
+ name: string;
1519
+ birthday: string;
1520
+ gender: string;
1521
+ email: string;
1522
+ phoneNumber: string;
1523
+ externalMemberId: string;
1524
+ cardNo: string;
1525
+ joinAt: string;
1526
+ business: string;
1527
+ stats: {
1528
+ avgBillSize: number;
1529
+ avgVisitFrequency: number;
1530
+ products: {};
1531
+ topupCount: number;
1532
+ visitCount: number;
1533
+ lastVisit: string;
1534
+ feedbackCount: number;
1535
+ lastSeasonPointEarned: number;
1536
+ };
1537
+ segment: string[];
1538
+ member: boolean;
1539
+ collection: {
1540
+ CREDIT: {
1541
+ _id: string;
1542
+ balance: number;
1543
+ business: string;
1544
+ collectible: string;
1545
+ expiryBalance: {
1546
+ _id: string;
1547
+ expiredAt: string;
1548
+ amount: number;
1549
+ }[];
1550
+ extras: null;
1551
+ options: {
1552
+ validityOption: {
1553
+ validForDay: number;
1554
+ };
1555
+ };
1556
+ type: string;
1557
+ user: string;
1558
+ }[];
1559
+ POINT: {
1560
+ _id: string;
1561
+ balance: number;
1562
+ business: string;
1563
+ collectible: string;
1564
+ expiryBalance: never[];
1565
+ extras: null;
1566
+ options: {
1567
+ validityOption: {};
1568
+ };
1569
+ type: string;
1570
+ user: string;
1571
+ }[];
1572
+ TITLE: {
1573
+ _id: string;
1574
+ balance: number;
1575
+ business: string;
1576
+ collectible: string;
1577
+ expiryBalance: {
1578
+ _id: string;
1579
+ amount: number;
1580
+ expiredAt: string;
1581
+ }[];
1582
+ extras: null;
1583
+ options: {
1584
+ validityOption: {
1585
+ validForDay: number;
1586
+ };
1587
+ };
1588
+ type: string;
1589
+ user: string;
1590
+ }[];
1591
+ TIER: {
1592
+ _id: string;
1593
+ balance: number;
1594
+ business: string;
1595
+ collectible: string;
1596
+ expiryBalance: never[];
1597
+ extras: null;
1598
+ options: {};
1599
+ type: string;
1600
+ user: string;
1601
+ }[];
1602
+ VOUCHER: {
1603
+ _id: string;
1604
+ balance: number;
1605
+ business: string;
1606
+ collectible: string;
1607
+ expiryBalance: {
1608
+ _id: string;
1609
+ amount: number;
1610
+ expiredAt: string;
1611
+ }[];
1612
+ extras: {
1613
+ targetLocation: null;
1614
+ effect: {
1615
+ options: {
1616
+ target: string;
1617
+ excludeIds: null;
1618
+ minPurchase: null;
1619
+ };
1620
+ availableOnlineOrder: null;
1621
+ priority: null;
1622
+ adjustment: {
1623
+ amount: {
1624
+ amount: number;
1625
+ precision: number;
1626
+ };
1627
+ type: string;
1628
+ };
1629
+ };
1630
+ };
1631
+ options: {
1632
+ validityOption: {
1633
+ validForDay: number;
1634
+ };
1635
+ enableTransfer: boolean;
1636
+ cooldown: number;
1637
+ maxUse: number;
1638
+ };
1639
+ type: string;
1640
+ user: string;
1641
+ }[];
1642
+ COIN: {
1643
+ _id: string;
1644
+ balance: number;
1645
+ business: string;
1646
+ collectible: string;
1647
+ expiryBalance: never[];
1648
+ extras: null;
1649
+ options: {
1650
+ validityOption: {};
1651
+ };
1652
+ type: string;
1653
+ user: string;
1654
+ }[];
1655
+ };
1656
+ address: never[];
1657
+ photoUrl: string;
1658
+ expiringVouchers: {
1659
+ days7: number;
1660
+ days30: number;
1661
+ days90: number;
1662
+ d_24: number;
1663
+ };
1664
+ lastReadAt: string;
1665
+ importCollection: {
1666
+ TIER: number;
1667
+ POINT: number;
1668
+ CREDIT: number;
1669
+ COIN: number;
1670
+ TITLE: never[];
1671
+ };
1672
+ user: string;
1673
+ referralCode: string;
1674
+ };
1675
+ pf_collectible: {
1676
+ _id: string;
1677
+ name: string;
1678
+ business: string;
1679
+ type: string;
1680
+ options: {};
1681
+ stackable: boolean;
1682
+ currentReceive: number;
1683
+ };
1684
+ totalAmount: number;
1685
+ })[];
1686
+ amount: number;
1687
+ amountExpiring: number;
1688
+ isLoading: boolean;
1689
+ isCompleted: boolean;
1690
+ };
1691
+ designStyle: number;
1692
+ };