@feedmepos/mf-order-setting 0.0.21-beta.3 → 0.0.23

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 (109) hide show
  1. package/dist/{KioskDevicesView-Cb7Rw7t8.js → KioskDevicesView-BdJCcotz.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-raPhhBpi.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js} +2 -2
  3. package/dist/KioskSettingView-BChhriPk.js +782 -0
  4. package/dist/KioskView-DPU-oQ1H.js +426 -0
  5. package/dist/{OrderSettingsView-BJ1b1Qjg.js → OrderSettingsView-BOiflwB_.js} +34011 -32822
  6. package/dist/{app-BY258ajB.js → app-CaYWSLe1.js} +39 -17
  7. package/dist/app.js +1 -1
  8. package/dist/common/convertor/index.d.ts +2 -0
  9. package/dist/common/sms/index.d.ts +1 -1
  10. package/dist/common/util/index.d.ts +6 -0
  11. package/dist/{dayjs.min-4COVK72W.js → dayjs.min-8NyoNely.js} +36 -36
  12. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
  13. package/dist/frontend/mf-order/src/app.d.ts +22 -0
  14. package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +13 -0
  16. package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
  17. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
  18. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +168 -12
  19. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +2 -1
  20. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
  21. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
  22. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +15 -0
  23. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +4 -3
  24. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
  25. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
  26. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
  27. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
  28. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
  29. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  30. package/dist/{index-t_7ThPjm.js → index-B7GFhkAE.js} +2 -2
  31. package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
  32. package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
  33. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
  34. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
  35. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +862 -4
  36. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
  37. package/dist/package/entity/index.d.ts +34 -22
  38. package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
  39. package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
  40. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
  41. package/dist/package/entity/member/member.dto.d.ts +33 -0
  42. package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
  43. package/dist/package/entity/order/order.do.d.ts +37 -0
  44. package/dist/package/entity/order/order.dto.d.ts +808 -17435
  45. package/dist/package/entity/order/order.enum.d.ts +2 -0
  46. package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
  47. package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
  48. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
  49. package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
  50. package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
  51. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
  52. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
  53. package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
  54. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
  55. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
  56. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +98 -98
  57. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +345 -297
  58. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
  59. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
  60. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +65 -65
  61. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +311 -263
  62. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
  63. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +7 -7
  64. package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
  65. package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
  66. package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
  67. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
  68. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +115 -0
  69. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +225 -41
  70. package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +3 -0
  71. package/dist/package/entity/order-setting/order-setting.do.d.ts +138 -8
  72. package/dist/package/entity/order-setting/order-setting.dto.d.ts +276 -16
  73. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +4 -4
  74. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +4 -4
  75. package/dist/package/entity/payment/payment.enum.d.ts +2 -0
  76. package/dist/package/entity/printer/printer.do.d.ts +2 -2
  77. package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
  78. package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
  79. package/dist/package/entity/queue/queue.do.d.ts +40 -0
  80. package/dist/package/entity/restaurant/restaurant.dto.d.ts +136 -6
  81. package/dist/package/entity/websocket/websocket.dto.d.ts +288 -0
  82. package/dist/{auth.dto-BOoRSQkS.js → queue.do-CIyIpp22.js} +30390 -29706
  83. package/package.json +4 -3
  84. package/src/api/remoteOrder/index.ts +13 -2
  85. package/src/helpers/menu.ts +2 -2
  86. package/src/locales/en-US.json +13 -2
  87. package/src/locales/zh-CN.json +12 -1
  88. package/src/modules/order-setting/kiosk/interface.ts +16 -0
  89. package/src/stores/order-setting/mapper.ts +58 -7
  90. package/src/stores/restaurant/index.ts +4 -1
  91. package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
  92. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
  93. package/src/views/kiosk/settings/KioskInstructionSection.vue +40 -0
  94. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +30 -19
  95. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +45 -7
  96. package/src/views/kiosk/settings/KioskSettingView.vue +15 -3
  97. package/src/views/kiosk/settings/KioskTakeawaySection.vue +38 -4
  98. package/src/views/order-settings/delivery/DeliverySetting.vue +82 -6
  99. package/src/views/order-settings/delivery/delivery.data.ts +16 -1
  100. package/src/views/order-settings/delivery/delivery.ts +1 -0
  101. package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
  102. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
  103. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
  104. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
  105. package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
  106. package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +216 -165
  107. package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
  108. package/dist/KioskSettingView-BQgyeWbo.js +0 -649
  109. package/dist/KioskView-BLkuqfZ_.js +0 -371
@@ -12,6 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
12
12
  channel?: string | null | undefined;
13
13
  machineId?: string | null | undefined;
14
14
  catalogId?: string | null | undefined;
15
+ customAttributes?: Record<string, any> | null | undefined;
15
16
  takeaway?: {
16
17
  catalogId?: string | null | undefined;
17
18
  } | null | undefined;
@@ -146,6 +147,73 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
146
147
  acceptQueue?: boolean | null | undefined;
147
148
  anonymousOrder: boolean;
148
149
  } | null | undefined;
150
+ pf_business?: {
151
+ internal?: boolean | null | undefined;
152
+ url?: string | null | undefined;
153
+ expiredAt?: string | null | undefined;
154
+ agentId?: string | null | undefined;
155
+ attributeSettings?: {
156
+ type: "string" | "number" | "boolean" | "date";
157
+ key: string;
158
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
159
+ }[] | null | undefined;
160
+ pf_agent?: {
161
+ clickupId?: string | null | undefined;
162
+ members?: {
163
+ pf_user?: {
164
+ email?: string | null | undefined;
165
+ phoneNumber?: string | null | undefined;
166
+ birthday?: string | null | undefined;
167
+ gender?: "MALE" | "FEMALE" | null | undefined;
168
+ addresses?: {
169
+ name: string;
170
+ address: string;
171
+ coordinates: number[];
172
+ }[] | null | undefined;
173
+ photoURL?: string | null | undefined;
174
+ displayName?: string | null | undefined;
175
+ imported?: {
176
+ raw: Record<string, any>;
177
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
178
+ } | null | undefined;
179
+ _id: string;
180
+ } | null | undefined;
181
+ role: "ADMIN";
182
+ userId: string;
183
+ }[] | null | undefined;
184
+ code: string;
185
+ name: string;
186
+ _id: string;
187
+ isReseller: boolean;
188
+ } | null | undefined;
189
+ thumbnail?: string | null | undefined;
190
+ billingInfos?: {
191
+ _id?: string | null | undefined;
192
+ name: string;
193
+ address: {
194
+ coordinates?: number[] | null | undefined;
195
+ line2?: string | null | undefined;
196
+ state: string;
197
+ country: string;
198
+ line1: string;
199
+ city: string;
200
+ postcode: string;
201
+ };
202
+ email: string;
203
+ companyName: string;
204
+ contact: string;
205
+ }[] | null | undefined;
206
+ customerDisplayImages?: {
207
+ url: string;
208
+ restaurantIds: string[];
209
+ }[] | null | undefined;
210
+ name: string;
211
+ _id: string;
212
+ ownerId: string;
213
+ restaurantQuota: number;
214
+ warehouseQuota: number;
215
+ menuVersion: string;
216
+ } | null | undefined;
149
217
  features?: string[] | null | undefined;
150
218
  machineOtp?: string | null | undefined;
151
219
  machineOtpExpiredAt?: string | null | undefined;
@@ -158,6 +226,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
158
226
  catalogId?: string | null | undefined;
159
227
  autoAccept?: boolean | null | undefined;
160
228
  term?: string | null | undefined;
229
+ ignoreStock?: boolean | null | undefined;
161
230
  enable: boolean;
162
231
  } | null | undefined;
163
232
  foodpandaDelivery?: {
@@ -221,31 +290,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
221
290
  anydeskPassword?: string | null | undefined;
222
291
  deviceName: string;
223
292
  }[] | null | undefined;
224
- payoutAccount?: {
225
- bank?: {
226
- type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
227
- accountNumber?: string | null | undefined;
228
- holderName?: string | null | undefined;
229
- name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
230
- } | null | undefined;
231
- ssm?: string | null | undefined;
232
- bankStatement?: string | null | undefined;
233
- exteriorPhoto?: string | null | undefined;
234
- keyPerson?: string | null | undefined;
235
- keyPersonPhone?: string | null | undefined;
236
- keyPersonEmail?: string | null | undefined;
237
- status: "NEW" | "PENDING" | "APPROVED";
238
- enable: boolean;
239
- methods: {
240
- variant: string;
241
- issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
242
- rate: {
243
- amount: number;
244
- precision: number;
245
- };
246
- tPlus: number;
247
- }[];
248
- } | null | undefined;
293
+ payoutAccount?: Record<string, any> | null | undefined;
249
294
  clearCount?: number | null | undefined;
250
295
  queueSetting?: {
251
296
  duration?: number | null | undefined;
@@ -263,68 +308,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
263
308
  } | null | undefined;
264
309
  _id: string;
265
310
  expiredAt: string;
266
- pf_business: {
267
- internal?: boolean | null | undefined;
268
- url?: string | null | undefined;
269
- expiredAt?: string | null | undefined;
270
- agentId?: string | null | undefined;
271
- pf_agent?: {
272
- clickupId?: string | null | undefined;
273
- members?: {
274
- pf_user?: {
275
- email?: string | null | undefined;
276
- phoneNumber?: string | null | undefined;
277
- birthday?: string | null | undefined;
278
- gender?: "MALE" | "FEMALE" | null | undefined;
279
- addresses?: {
280
- name: string;
281
- address: string;
282
- coordinates: number[];
283
- }[] | null | undefined;
284
- photoURL?: string | null | undefined;
285
- displayName?: string | null | undefined;
286
- imported?: {
287
- raw: Record<string, any>;
288
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
289
- } | null | undefined;
290
- _id: string;
291
- } | null | undefined;
292
- role: "ADMIN";
293
- userId: string;
294
- }[] | null | undefined;
295
- code: string;
296
- name: string;
297
- _id: string;
298
- isReseller: boolean;
299
- } | null | undefined;
300
- thumbnail?: string | null | undefined;
301
- billingInfos?: {
302
- _id?: string | null | undefined;
303
- name: string;
304
- address: {
305
- coordinates?: number[] | null | undefined;
306
- line2?: string | null | undefined;
307
- state: string;
308
- country: string;
309
- line1: string;
310
- city: string;
311
- postcode: string;
312
- };
313
- email: string;
314
- companyName: string;
315
- contact: string;
316
- }[] | null | undefined;
317
- customerDisplayImages?: {
318
- url: string;
319
- restaurantIds: string[];
320
- }[] | null | undefined;
321
- name: string;
322
- _id: string;
323
- ownerId: string;
324
- restaurantQuota: number;
325
- warehouseQuota: number;
326
- menuVersion: string;
327
- };
328
311
  businessId: string;
329
312
  profile: {
330
313
  code?: string | null | undefined;
@@ -414,6 +397,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
414
397
  channel?: string | null | undefined;
415
398
  machineId?: string | null | undefined;
416
399
  catalogId?: string | null | undefined;
400
+ customAttributes?: Record<string, any> | null | undefined;
417
401
  takeaway?: {
418
402
  catalogId?: string | null | undefined;
419
403
  } | null | undefined;
@@ -548,6 +532,73 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
548
532
  acceptQueue?: boolean | null | undefined;
549
533
  anonymousOrder: boolean;
550
534
  } | null | undefined;
535
+ pf_business?: {
536
+ internal?: boolean | null | undefined;
537
+ url?: string | null | undefined;
538
+ expiredAt?: string | null | undefined;
539
+ agentId?: string | null | undefined;
540
+ attributeSettings?: {
541
+ type: "string" | "number" | "boolean" | "date";
542
+ key: string;
543
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
544
+ }[] | null | undefined;
545
+ pf_agent?: {
546
+ clickupId?: string | null | undefined;
547
+ members?: {
548
+ pf_user?: {
549
+ email?: string | null | undefined;
550
+ phoneNumber?: string | null | undefined;
551
+ birthday?: string | null | undefined;
552
+ gender?: "MALE" | "FEMALE" | null | undefined;
553
+ addresses?: {
554
+ name: string;
555
+ address: string;
556
+ coordinates: number[];
557
+ }[] | null | undefined;
558
+ photoURL?: string | null | undefined;
559
+ displayName?: string | null | undefined;
560
+ imported?: {
561
+ raw: Record<string, any>;
562
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
563
+ } | null | undefined;
564
+ _id: string;
565
+ } | null | undefined;
566
+ role: "ADMIN";
567
+ userId: string;
568
+ }[] | null | undefined;
569
+ code: string;
570
+ name: string;
571
+ _id: string;
572
+ isReseller: boolean;
573
+ } | null | undefined;
574
+ thumbnail?: string | null | undefined;
575
+ billingInfos?: {
576
+ _id?: string | null | undefined;
577
+ name: string;
578
+ address: {
579
+ coordinates?: number[] | null | undefined;
580
+ line2?: string | null | undefined;
581
+ state: string;
582
+ country: string;
583
+ line1: string;
584
+ city: string;
585
+ postcode: string;
586
+ };
587
+ email: string;
588
+ companyName: string;
589
+ contact: string;
590
+ }[] | null | undefined;
591
+ customerDisplayImages?: {
592
+ url: string;
593
+ restaurantIds: string[];
594
+ }[] | null | undefined;
595
+ name: string;
596
+ _id: string;
597
+ ownerId: string;
598
+ restaurantQuota: number;
599
+ warehouseQuota: number;
600
+ menuVersion: string;
601
+ } | null | undefined;
551
602
  features?: string[] | null | undefined;
552
603
  machineOtp?: string | null | undefined;
553
604
  machineOtpExpiredAt?: string | null | undefined;
@@ -560,6 +611,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
560
611
  catalogId?: string | null | undefined;
561
612
  autoAccept?: boolean | null | undefined;
562
613
  term?: string | null | undefined;
614
+ ignoreStock?: boolean | null | undefined;
563
615
  enable: boolean;
564
616
  } | null | undefined;
565
617
  foodpandaDelivery?: {
@@ -623,31 +675,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
623
675
  anydeskPassword?: string | null | undefined;
624
676
  deviceName: string;
625
677
  }[] | null | undefined;
626
- payoutAccount?: {
627
- bank?: {
628
- type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
629
- accountNumber?: string | null | undefined;
630
- holderName?: string | null | undefined;
631
- name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
632
- } | null | undefined;
633
- ssm?: string | null | undefined;
634
- bankStatement?: string | null | undefined;
635
- exteriorPhoto?: string | null | undefined;
636
- keyPerson?: string | null | undefined;
637
- keyPersonPhone?: string | null | undefined;
638
- keyPersonEmail?: string | null | undefined;
639
- status: "NEW" | "PENDING" | "APPROVED";
640
- enable: boolean;
641
- methods: {
642
- variant: string;
643
- issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
644
- rate: {
645
- amount: number;
646
- precision: number;
647
- };
648
- tPlus: number;
649
- }[];
650
- } | null | undefined;
678
+ payoutAccount?: Record<string, any> | null | undefined;
651
679
  clearCount?: number | null | undefined;
652
680
  queueSetting?: {
653
681
  duration?: number | null | undefined;
@@ -665,68 +693,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
665
693
  } | null | undefined;
666
694
  _id: string;
667
695
  expiredAt: string;
668
- pf_business: {
669
- internal?: boolean | null | undefined;
670
- url?: string | null | undefined;
671
- expiredAt?: string | null | undefined;
672
- agentId?: string | null | undefined;
673
- pf_agent?: {
674
- clickupId?: string | null | undefined;
675
- members?: {
676
- pf_user?: {
677
- email?: string | null | undefined;
678
- phoneNumber?: string | null | undefined;
679
- birthday?: string | null | undefined;
680
- gender?: "MALE" | "FEMALE" | null | undefined;
681
- addresses?: {
682
- name: string;
683
- address: string;
684
- coordinates: number[];
685
- }[] | null | undefined;
686
- photoURL?: string | null | undefined;
687
- displayName?: string | null | undefined;
688
- imported?: {
689
- raw: Record<string, any>;
690
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
691
- } | null | undefined;
692
- _id: string;
693
- } | null | undefined;
694
- role: "ADMIN";
695
- userId: string;
696
- }[] | null | undefined;
697
- code: string;
698
- name: string;
699
- _id: string;
700
- isReseller: boolean;
701
- } | null | undefined;
702
- thumbnail?: string | null | undefined;
703
- billingInfos?: {
704
- _id?: string | null | undefined;
705
- name: string;
706
- address: {
707
- coordinates?: number[] | null | undefined;
708
- line2?: string | null | undefined;
709
- state: string;
710
- country: string;
711
- line1: string;
712
- city: string;
713
- postcode: string;
714
- };
715
- email: string;
716
- companyName: string;
717
- contact: string;
718
- }[] | null | undefined;
719
- customerDisplayImages?: {
720
- url: string;
721
- restaurantIds: string[];
722
- }[] | null | undefined;
723
- name: string;
724
- _id: string;
725
- ownerId: string;
726
- restaurantQuota: number;
727
- warehouseQuota: number;
728
- menuVersion: string;
729
- };
730
696
  businessId: string;
731
697
  profile: {
732
698
  code?: string | null | undefined;
@@ -0,0 +1,15 @@
1
+ interface ITextField {
2
+ id: string;
3
+ value: string | undefined;
4
+ title: string;
5
+ defaultValue: string;
6
+ }
7
+ interface Props {
8
+ fields: ITextField[];
9
+ }
10
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:field": (id: string, value: string) => any;
12
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
13
+ "onUpdate:field"?: ((id: string, value: string) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ export default _default;
@@ -1,9 +1,10 @@
1
+ import type { PickAtCounterSettingForm } from '@/modules/order-setting/kiosk/interface';
1
2
  interface Props {
2
- enabled: boolean;
3
+ form: PickAtCounterSettingForm;
3
4
  }
4
5
  declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update-pick-up": (enabled: boolean) => any;
6
+ "update-pick-up": (form: PickAtCounterSettingForm) => any;
6
7
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
7
- "onUpdate-pick-up"?: ((enabled: boolean) => any) | undefined;
8
+ "onUpdate-pick-up"?: ((form: PickAtCounterSettingForm) => any) | undefined;
8
9
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
9
10
  export default _default;
@@ -1,4 +1,4 @@
1
- import type { FdoFoodpandaSettings } from '@entity';
1
+ import type { FdoExternalSetting, FdoFoodpandaSettings } from '@entity';
2
2
  import type { FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery } from '@feedmepos/core/entity';
3
3
  import { FdoGrabfoodSettings, FdoShopeeFoodSettings } from '@entity';
4
4
  import { type DeliveryCompany, type LinkedDeliveryDoc } from './delivery';
@@ -10,7 +10,7 @@ export interface DeliveryRow {
10
10
  paymentType: string;
11
11
  status: string[];
12
12
  }
13
- type IntegratedDeliveryCompany = FdoRestaurantInHouseDelivery | FdoRestaurantFeedmeDelivery | FdoFoodpandaSettings | FdoGrabfoodSettings | FdoShopeeFoodSettings;
13
+ type IntegratedDeliveryCompany = FdoRestaurantInHouseDelivery | FdoRestaurantFeedmeDelivery | FdoFoodpandaSettings | FdoGrabfoodSettings | FdoShopeeFoodSettings | FdoExternalSetting;
14
14
  export interface IntegratedDeliveryRow extends DeliveryRow {
15
15
  setting: IntegratedDeliveryCompany;
16
16
  company?: DeliveryCompany;
@@ -5,7 +5,8 @@ export type LinkedDeliveryDoc = FdoLinkedDelivery & {
5
5
  export declare enum AUTO_INTEGRATION_CLIENT {
6
6
  foodpanda = "foodpanda",
7
7
  grabfood = "grabfood",
8
- shopeefood = "shopeefood"
8
+ shopeefood = "shopeefood",
9
+ external = "external"
9
10
  }
10
11
  export interface DeliveryCompany {
11
12
  id: string;
@@ -1,14 +1,17 @@
1
+ import type { FdoExternalSetting } from '@entity';
1
2
  import { FdoRestaurantFeedmeDelivery, FdoGrabfoodSettings, FdoShopeeFoodSettings, FdoFoodpandaSettings, FdoRestaurantInHouseDelivery } from '@feedmepos/core/entity';
2
3
  declare function initInhouseDelivery(): FdoRestaurantInHouseDelivery;
3
4
  declare function initFeedmeExpress(): FdoRestaurantFeedmeDelivery;
4
5
  export declare function initFoodpandaDelivery(): FdoFoodpandaSettings;
5
6
  declare function initGrabfoodDelivery(): FdoGrabfoodSettings;
6
7
  declare function initShopeefoodDelivery(): FdoShopeeFoodSettings;
8
+ declare function initExternalDelivery(): FdoExternalSetting;
7
9
  declare const _default: {
8
10
  initInhouseDelivery: typeof initInhouseDelivery;
9
11
  initFeedmeExpress: typeof initFeedmeExpress;
10
12
  initFoodpandaDelivery: typeof initFoodpandaDelivery;
11
13
  initGrabfoodDelivery: typeof initGrabfoodDelivery;
12
14
  initShopeefoodDelivery: typeof initShopeefoodDelivery;
15
+ initExternalDelivery: typeof initExternalDelivery;
13
16
  };
14
17
  export default _default;
@@ -0,0 +1,97 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ initialValue: {
4
+ type: PropType<{
5
+ pickup?: {
6
+ catalogId?: string | null | undefined;
7
+ } | null | undefined;
8
+ delivery?: {
9
+ catalogId?: string | null | undefined;
10
+ deliveryFeeTax?: {
11
+ inclusive: boolean;
12
+ taxCode: string;
13
+ systemCode: string;
14
+ } | null | undefined;
15
+ } | null | undefined;
16
+ _id: string;
17
+ enable: boolean;
18
+ platform: "IN_HOUSE" | "FEEDME" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
19
+ config: {
20
+ autoAccept: boolean;
21
+ autoSend: boolean;
22
+ autoCloseBill: boolean;
23
+ };
24
+ }>;
25
+ required: true;
26
+ };
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:model-value": (v: {
29
+ pickup?: {
30
+ catalogId?: string | null | undefined;
31
+ } | null | undefined;
32
+ delivery?: {
33
+ catalogId?: string | null | undefined;
34
+ deliveryFeeTax?: {
35
+ inclusive: boolean;
36
+ taxCode: string;
37
+ systemCode: string;
38
+ } | null | undefined;
39
+ } | null | undefined;
40
+ _id: string;
41
+ enable: boolean;
42
+ platform: "IN_HOUSE" | "FEEDME" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
43
+ config: {
44
+ autoAccept: boolean;
45
+ autoSend: boolean;
46
+ autoCloseBill: boolean;
47
+ };
48
+ }) => any;
49
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
50
+ initialValue: {
51
+ type: PropType<{
52
+ pickup?: {
53
+ catalogId?: string | null | undefined;
54
+ } | null | undefined;
55
+ delivery?: {
56
+ catalogId?: string | null | undefined;
57
+ deliveryFeeTax?: {
58
+ inclusive: boolean;
59
+ taxCode: string;
60
+ systemCode: string;
61
+ } | null | undefined;
62
+ } | null | undefined;
63
+ _id: string;
64
+ enable: boolean;
65
+ platform: "IN_HOUSE" | "FEEDME" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
66
+ config: {
67
+ autoAccept: boolean;
68
+ autoSend: boolean;
69
+ autoCloseBill: boolean;
70
+ };
71
+ }>;
72
+ required: true;
73
+ };
74
+ }>> & Readonly<{
75
+ "onUpdate:model-value"?: ((v: {
76
+ pickup?: {
77
+ catalogId?: string | null | undefined;
78
+ } | null | undefined;
79
+ delivery?: {
80
+ catalogId?: string | null | undefined;
81
+ deliveryFeeTax?: {
82
+ inclusive: boolean;
83
+ taxCode: string;
84
+ systemCode: string;
85
+ } | null | undefined;
86
+ } | null | undefined;
87
+ _id: string;
88
+ enable: boolean;
89
+ platform: "IN_HOUSE" | "FEEDME" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
90
+ config: {
91
+ autoAccept: boolean;
92
+ autoSend: boolean;
93
+ autoCloseBill: boolean;
94
+ };
95
+ }) => any) | undefined;
96
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
97
+ export default _default;
@@ -1,7 +1,7 @@
1
- import { FdoLinkedDelivery } from "@feedmepos/core/entity";
1
+ import { FdoLinkedDelivery } from '@feedmepos/core/entity';
2
2
  import { FdoShopeeFoodSettings } from '@entity';
3
- import { type PropType } from "vue";
4
- import type { DeliveryCompany } from "../delivery";
3
+ import { type PropType } from 'vue';
4
+ import type { DeliveryCompany } from '../delivery';
5
5
  export interface ShopeefoodDeliveryData {
6
6
  manual: FdoLinkedDelivery | null;
7
7
  integrated: FdoShopeeFoodSettings;