@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.
- package/dist/{KioskDevicesView-Cb7Rw7t8.js → KioskDevicesView-BdJCcotz.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-raPhhBpi.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js} +2 -2
- package/dist/KioskSettingView-BChhriPk.js +782 -0
- package/dist/KioskView-DPU-oQ1H.js +426 -0
- package/dist/{OrderSettingsView-BJ1b1Qjg.js → OrderSettingsView-BOiflwB_.js} +34011 -32822
- package/dist/{app-BY258ajB.js → app-CaYWSLe1.js} +39 -17
- package/dist/app.js +1 -1
- package/dist/common/convertor/index.d.ts +2 -0
- package/dist/common/sms/index.d.ts +1 -1
- package/dist/common/util/index.d.ts +6 -0
- package/dist/{dayjs.min-4COVK72W.js → dayjs.min-8NyoNely.js} +36 -36
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/app.d.ts +22 -0
- package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +13 -0
- package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +168 -12
- package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +2 -1
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +4 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-t_7ThPjm.js → index-B7GFhkAE.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
- package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +862 -4
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +34 -22
- package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
- package/dist/package/entity/member/member.dto.d.ts +33 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +37 -0
- package/dist/package/entity/order/order.dto.d.ts +808 -17435
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +98 -98
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +345 -297
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +65 -65
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +311 -263
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +7 -7
- package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +115 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +225 -41
- package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +3 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +138 -8
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +276 -16
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +4 -4
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +4 -4
- package/dist/package/entity/payment/payment.enum.d.ts +2 -0
- package/dist/package/entity/printer/printer.do.d.ts +2 -2
- package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
- package/dist/package/entity/queue/queue.do.d.ts +40 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +136 -6
- package/dist/package/entity/websocket/websocket.dto.d.ts +288 -0
- package/dist/{auth.dto-BOoRSQkS.js → queue.do-CIyIpp22.js} +30390 -29706
- package/package.json +4 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/helpers/menu.ts +2 -2
- package/src/locales/en-US.json +13 -2
- package/src/locales/zh-CN.json +12 -1
- package/src/modules/order-setting/kiosk/interface.ts +16 -0
- package/src/stores/order-setting/mapper.ts +58 -7
- package/src/stores/restaurant/index.ts +4 -1
- package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
- package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
- package/src/views/kiosk/settings/KioskInstructionSection.vue +40 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +30 -19
- package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +45 -7
- package/src/views/kiosk/settings/KioskSettingView.vue +15 -3
- package/src/views/kiosk/settings/KioskTakeawaySection.vue +38 -4
- package/src/views/order-settings/delivery/DeliverySetting.vue +82 -6
- package/src/views/order-settings/delivery/delivery.data.ts +16 -1
- package/src/views/order-settings/delivery/delivery.ts +1 -0
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
- package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +216 -165
- package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
- package/dist/KioskSettingView-BQgyeWbo.js +0 -649
- package/dist/KioskView-BLkuqfZ_.js +0 -371
|
@@ -21,13 +21,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
21
21
|
};
|
|
22
22
|
prefix: string | null;
|
|
23
23
|
padDigit: number;
|
|
24
|
+
submitOrderInstruction: {
|
|
25
|
+
payAtCounter: string | null;
|
|
26
|
+
paid: string | null;
|
|
27
|
+
};
|
|
24
28
|
};
|
|
25
29
|
pickUp: {
|
|
26
30
|
enabled: boolean;
|
|
31
|
+
submitOrderInstruction: {
|
|
32
|
+
payAtCounter: string | null;
|
|
33
|
+
paid: string | null;
|
|
34
|
+
};
|
|
27
35
|
};
|
|
28
36
|
};
|
|
29
37
|
takeaway: {
|
|
30
38
|
enabled: boolean;
|
|
39
|
+
submitOrderInstruction: {
|
|
40
|
+
payAtCounter: string | null;
|
|
41
|
+
paid: string | null;
|
|
42
|
+
};
|
|
31
43
|
};
|
|
32
44
|
paymentSetting: {
|
|
33
45
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -130,11 +142,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
130
142
|
prefix: string;
|
|
131
143
|
current: number;
|
|
132
144
|
} | undefined;
|
|
133
|
-
|
|
145
|
+
takeaway?: {
|
|
134
146
|
prefix: string;
|
|
135
147
|
current: number;
|
|
136
148
|
} | undefined;
|
|
137
|
-
|
|
149
|
+
inHouseDelivery?: {
|
|
138
150
|
prefix: string;
|
|
139
151
|
current: number;
|
|
140
152
|
} | undefined;
|
|
@@ -170,9 +182,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
170
182
|
dineIn?: {
|
|
171
183
|
requiredSlot?: boolean | null | undefined;
|
|
172
184
|
pickUp?: {
|
|
185
|
+
submitOrderInstruction?: {
|
|
186
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
187
|
+
paid?: Record<string, string> | null | undefined;
|
|
188
|
+
} | null | undefined;
|
|
173
189
|
enabled: boolean;
|
|
174
190
|
} | null | undefined;
|
|
175
191
|
displayStand?: {
|
|
192
|
+
submitOrderInstruction?: {
|
|
193
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
194
|
+
paid?: Record<string, string> | null | undefined;
|
|
195
|
+
} | null | undefined;
|
|
176
196
|
enabled: boolean;
|
|
177
197
|
standSlotRange: {
|
|
178
198
|
min: number;
|
|
@@ -183,6 +203,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
183
203
|
} | null | undefined;
|
|
184
204
|
} | null | undefined;
|
|
185
205
|
canTakeaway?: boolean | null | undefined;
|
|
206
|
+
takeaway?: {
|
|
207
|
+
submitOrderInstruction?: {
|
|
208
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
209
|
+
paid?: Record<string, string> | null | undefined;
|
|
210
|
+
} | null | undefined;
|
|
211
|
+
} | null | undefined;
|
|
186
212
|
paymentSetting?: {
|
|
187
213
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
188
214
|
offlinePaymentTypes?: {
|
|
@@ -226,13 +252,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
226
252
|
};
|
|
227
253
|
prefix: string | null;
|
|
228
254
|
padDigit: number;
|
|
255
|
+
submitOrderInstruction: {
|
|
256
|
+
payAtCounter: string | null;
|
|
257
|
+
paid: string | null;
|
|
258
|
+
};
|
|
229
259
|
};
|
|
230
260
|
pickUp: {
|
|
231
261
|
enabled: boolean;
|
|
262
|
+
submitOrderInstruction: {
|
|
263
|
+
payAtCounter: string | null;
|
|
264
|
+
paid: string | null;
|
|
265
|
+
};
|
|
232
266
|
};
|
|
233
267
|
};
|
|
234
268
|
takeaway: {
|
|
235
269
|
enabled: boolean;
|
|
270
|
+
submitOrderInstruction: {
|
|
271
|
+
payAtCounter: string | null;
|
|
272
|
+
paid: string | null;
|
|
273
|
+
};
|
|
236
274
|
};
|
|
237
275
|
paymentSetting: {
|
|
238
276
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -335,11 +373,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
335
373
|
prefix: string;
|
|
336
374
|
current: number;
|
|
337
375
|
} | undefined;
|
|
338
|
-
|
|
376
|
+
takeaway?: {
|
|
339
377
|
prefix: string;
|
|
340
378
|
current: number;
|
|
341
379
|
} | undefined;
|
|
342
|
-
|
|
380
|
+
inHouseDelivery?: {
|
|
343
381
|
prefix: string;
|
|
344
382
|
current: number;
|
|
345
383
|
} | undefined;
|
|
@@ -375,9 +413,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
375
413
|
dineIn?: {
|
|
376
414
|
requiredSlot?: boolean | null | undefined;
|
|
377
415
|
pickUp?: {
|
|
416
|
+
submitOrderInstruction?: {
|
|
417
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
418
|
+
paid?: Record<string, string> | null | undefined;
|
|
419
|
+
} | null | undefined;
|
|
378
420
|
enabled: boolean;
|
|
379
421
|
} | null | undefined;
|
|
380
422
|
displayStand?: {
|
|
423
|
+
submitOrderInstruction?: {
|
|
424
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
425
|
+
paid?: Record<string, string> | null | undefined;
|
|
426
|
+
} | null | undefined;
|
|
381
427
|
enabled: boolean;
|
|
382
428
|
standSlotRange: {
|
|
383
429
|
min: number;
|
|
@@ -388,6 +434,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
388
434
|
} | null | undefined;
|
|
389
435
|
} | null | undefined;
|
|
390
436
|
canTakeaway?: boolean | null | undefined;
|
|
437
|
+
takeaway?: {
|
|
438
|
+
submitOrderInstruction?: {
|
|
439
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
440
|
+
paid?: Record<string, string> | null | undefined;
|
|
441
|
+
} | null | undefined;
|
|
442
|
+
} | null | undefined;
|
|
391
443
|
paymentSetting?: {
|
|
392
444
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
393
445
|
offlinePaymentTypes?: {
|
|
@@ -436,13 +488,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
436
488
|
};
|
|
437
489
|
prefix: string | null;
|
|
438
490
|
padDigit: number;
|
|
491
|
+
submitOrderInstruction: {
|
|
492
|
+
payAtCounter: string | null;
|
|
493
|
+
paid: string | null;
|
|
494
|
+
};
|
|
439
495
|
};
|
|
440
496
|
pickUp: {
|
|
441
497
|
enabled: boolean;
|
|
498
|
+
submitOrderInstruction: {
|
|
499
|
+
payAtCounter: string | null;
|
|
500
|
+
paid: string | null;
|
|
501
|
+
};
|
|
442
502
|
};
|
|
443
503
|
};
|
|
444
504
|
takeaway: {
|
|
445
505
|
enabled: boolean;
|
|
506
|
+
submitOrderInstruction: {
|
|
507
|
+
payAtCounter: string | null;
|
|
508
|
+
paid: string | null;
|
|
509
|
+
};
|
|
446
510
|
};
|
|
447
511
|
paymentSetting: {
|
|
448
512
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -545,11 +609,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
545
609
|
prefix: string;
|
|
546
610
|
current: number;
|
|
547
611
|
} | undefined;
|
|
548
|
-
|
|
612
|
+
takeaway?: {
|
|
549
613
|
prefix: string;
|
|
550
614
|
current: number;
|
|
551
615
|
} | undefined;
|
|
552
|
-
|
|
616
|
+
inHouseDelivery?: {
|
|
553
617
|
prefix: string;
|
|
554
618
|
current: number;
|
|
555
619
|
} | undefined;
|
|
@@ -585,9 +649,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
585
649
|
dineIn?: {
|
|
586
650
|
requiredSlot?: boolean | null | undefined;
|
|
587
651
|
pickUp?: {
|
|
652
|
+
submitOrderInstruction?: {
|
|
653
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
654
|
+
paid?: Record<string, string> | null | undefined;
|
|
655
|
+
} | null | undefined;
|
|
588
656
|
enabled: boolean;
|
|
589
657
|
} | null | undefined;
|
|
590
658
|
displayStand?: {
|
|
659
|
+
submitOrderInstruction?: {
|
|
660
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
661
|
+
paid?: Record<string, string> | null | undefined;
|
|
662
|
+
} | null | undefined;
|
|
591
663
|
enabled: boolean;
|
|
592
664
|
standSlotRange: {
|
|
593
665
|
min: number;
|
|
@@ -598,6 +670,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
598
670
|
} | null | undefined;
|
|
599
671
|
} | null | undefined;
|
|
600
672
|
canTakeaway?: boolean | null | undefined;
|
|
673
|
+
takeaway?: {
|
|
674
|
+
submitOrderInstruction?: {
|
|
675
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
676
|
+
paid?: Record<string, string> | null | undefined;
|
|
677
|
+
} | null | undefined;
|
|
678
|
+
} | null | undefined;
|
|
601
679
|
paymentSetting?: {
|
|
602
680
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
603
681
|
offlinePaymentTypes?: {
|
|
@@ -641,13 +719,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
641
719
|
};
|
|
642
720
|
prefix: string | null;
|
|
643
721
|
padDigit: number;
|
|
722
|
+
submitOrderInstruction: {
|
|
723
|
+
payAtCounter: string | null;
|
|
724
|
+
paid: string | null;
|
|
725
|
+
};
|
|
644
726
|
};
|
|
645
727
|
pickUp: {
|
|
646
728
|
enabled: boolean;
|
|
729
|
+
submitOrderInstruction: {
|
|
730
|
+
payAtCounter: string | null;
|
|
731
|
+
paid: string | null;
|
|
732
|
+
};
|
|
647
733
|
};
|
|
648
734
|
};
|
|
649
735
|
takeaway: {
|
|
650
736
|
enabled: boolean;
|
|
737
|
+
submitOrderInstruction: {
|
|
738
|
+
payAtCounter: string | null;
|
|
739
|
+
paid: string | null;
|
|
740
|
+
};
|
|
651
741
|
};
|
|
652
742
|
paymentSetting: {
|
|
653
743
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -750,11 +840,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
750
840
|
prefix: string;
|
|
751
841
|
current: number;
|
|
752
842
|
} | undefined;
|
|
753
|
-
|
|
843
|
+
takeaway?: {
|
|
754
844
|
prefix: string;
|
|
755
845
|
current: number;
|
|
756
846
|
} | undefined;
|
|
757
|
-
|
|
847
|
+
inHouseDelivery?: {
|
|
758
848
|
prefix: string;
|
|
759
849
|
current: number;
|
|
760
850
|
} | undefined;
|
|
@@ -790,9 +880,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
790
880
|
dineIn?: {
|
|
791
881
|
requiredSlot?: boolean | null | undefined;
|
|
792
882
|
pickUp?: {
|
|
883
|
+
submitOrderInstruction?: {
|
|
884
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
885
|
+
paid?: Record<string, string> | null | undefined;
|
|
886
|
+
} | null | undefined;
|
|
793
887
|
enabled: boolean;
|
|
794
888
|
} | null | undefined;
|
|
795
889
|
displayStand?: {
|
|
890
|
+
submitOrderInstruction?: {
|
|
891
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
892
|
+
paid?: Record<string, string> | null | undefined;
|
|
893
|
+
} | null | undefined;
|
|
796
894
|
enabled: boolean;
|
|
797
895
|
standSlotRange: {
|
|
798
896
|
min: number;
|
|
@@ -803,6 +901,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
803
901
|
} | null | undefined;
|
|
804
902
|
} | null | undefined;
|
|
805
903
|
canTakeaway?: boolean | null | undefined;
|
|
904
|
+
takeaway?: {
|
|
905
|
+
submitOrderInstruction?: {
|
|
906
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
907
|
+
paid?: Record<string, string> | null | undefined;
|
|
908
|
+
} | null | undefined;
|
|
909
|
+
} | null | undefined;
|
|
806
910
|
paymentSetting?: {
|
|
807
911
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
808
912
|
offlinePaymentTypes?: {
|
|
@@ -851,13 +955,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
851
955
|
};
|
|
852
956
|
prefix: string | null;
|
|
853
957
|
padDigit: number;
|
|
958
|
+
submitOrderInstruction: {
|
|
959
|
+
payAtCounter: string | null;
|
|
960
|
+
paid: string | null;
|
|
961
|
+
};
|
|
854
962
|
};
|
|
855
963
|
pickUp: {
|
|
856
964
|
enabled: boolean;
|
|
965
|
+
submitOrderInstruction: {
|
|
966
|
+
payAtCounter: string | null;
|
|
967
|
+
paid: string | null;
|
|
968
|
+
};
|
|
857
969
|
};
|
|
858
970
|
};
|
|
859
971
|
takeaway: {
|
|
860
972
|
enabled: boolean;
|
|
973
|
+
submitOrderInstruction: {
|
|
974
|
+
payAtCounter: string | null;
|
|
975
|
+
paid: string | null;
|
|
976
|
+
};
|
|
861
977
|
};
|
|
862
978
|
paymentSetting: {
|
|
863
979
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -960,11 +1076,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
960
1076
|
prefix: string;
|
|
961
1077
|
current: number;
|
|
962
1078
|
} | undefined;
|
|
963
|
-
|
|
1079
|
+
takeaway?: {
|
|
964
1080
|
prefix: string;
|
|
965
1081
|
current: number;
|
|
966
1082
|
} | undefined;
|
|
967
|
-
|
|
1083
|
+
inHouseDelivery?: {
|
|
968
1084
|
prefix: string;
|
|
969
1085
|
current: number;
|
|
970
1086
|
} | undefined;
|
|
@@ -1000,9 +1116,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1000
1116
|
dineIn?: {
|
|
1001
1117
|
requiredSlot?: boolean | null | undefined;
|
|
1002
1118
|
pickUp?: {
|
|
1119
|
+
submitOrderInstruction?: {
|
|
1120
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1121
|
+
paid?: Record<string, string> | null | undefined;
|
|
1122
|
+
} | null | undefined;
|
|
1003
1123
|
enabled: boolean;
|
|
1004
1124
|
} | null | undefined;
|
|
1005
1125
|
displayStand?: {
|
|
1126
|
+
submitOrderInstruction?: {
|
|
1127
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1128
|
+
paid?: Record<string, string> | null | undefined;
|
|
1129
|
+
} | null | undefined;
|
|
1006
1130
|
enabled: boolean;
|
|
1007
1131
|
standSlotRange: {
|
|
1008
1132
|
min: number;
|
|
@@ -1013,6 +1137,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1013
1137
|
} | null | undefined;
|
|
1014
1138
|
} | null | undefined;
|
|
1015
1139
|
canTakeaway?: boolean | null | undefined;
|
|
1140
|
+
takeaway?: {
|
|
1141
|
+
submitOrderInstruction?: {
|
|
1142
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1143
|
+
paid?: Record<string, string> | null | undefined;
|
|
1144
|
+
} | null | undefined;
|
|
1145
|
+
} | null | undefined;
|
|
1016
1146
|
paymentSetting?: {
|
|
1017
1147
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
1018
1148
|
offlinePaymentTypes?: {
|
|
@@ -1056,13 +1186,25 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1056
1186
|
};
|
|
1057
1187
|
prefix: string | null;
|
|
1058
1188
|
padDigit: number;
|
|
1189
|
+
submitOrderInstruction: {
|
|
1190
|
+
payAtCounter: string | null;
|
|
1191
|
+
paid: string | null;
|
|
1192
|
+
};
|
|
1059
1193
|
};
|
|
1060
1194
|
pickUp: {
|
|
1061
1195
|
enabled: boolean;
|
|
1196
|
+
submitOrderInstruction: {
|
|
1197
|
+
payAtCounter: string | null;
|
|
1198
|
+
paid: string | null;
|
|
1199
|
+
};
|
|
1062
1200
|
};
|
|
1063
1201
|
};
|
|
1064
1202
|
takeaway: {
|
|
1065
1203
|
enabled: boolean;
|
|
1204
|
+
submitOrderInstruction: {
|
|
1205
|
+
payAtCounter: string | null;
|
|
1206
|
+
paid: string | null;
|
|
1207
|
+
};
|
|
1066
1208
|
};
|
|
1067
1209
|
paymentSetting: {
|
|
1068
1210
|
paymentTypes: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[];
|
|
@@ -1165,11 +1307,11 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1165
1307
|
prefix: string;
|
|
1166
1308
|
current: number;
|
|
1167
1309
|
} | undefined;
|
|
1168
|
-
|
|
1310
|
+
takeaway?: {
|
|
1169
1311
|
prefix: string;
|
|
1170
1312
|
current: number;
|
|
1171
1313
|
} | undefined;
|
|
1172
|
-
|
|
1314
|
+
inHouseDelivery?: {
|
|
1173
1315
|
prefix: string;
|
|
1174
1316
|
current: number;
|
|
1175
1317
|
} | undefined;
|
|
@@ -1205,9 +1347,17 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1205
1347
|
dineIn?: {
|
|
1206
1348
|
requiredSlot?: boolean | null | undefined;
|
|
1207
1349
|
pickUp?: {
|
|
1350
|
+
submitOrderInstruction?: {
|
|
1351
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1352
|
+
paid?: Record<string, string> | null | undefined;
|
|
1353
|
+
} | null | undefined;
|
|
1208
1354
|
enabled: boolean;
|
|
1209
1355
|
} | null | undefined;
|
|
1210
1356
|
displayStand?: {
|
|
1357
|
+
submitOrderInstruction?: {
|
|
1358
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1359
|
+
paid?: Record<string, string> | null | undefined;
|
|
1360
|
+
} | null | undefined;
|
|
1211
1361
|
enabled: boolean;
|
|
1212
1362
|
standSlotRange: {
|
|
1213
1363
|
min: number;
|
|
@@ -1218,6 +1368,12 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
1218
1368
|
} | null | undefined;
|
|
1219
1369
|
} | null | undefined;
|
|
1220
1370
|
canTakeaway?: boolean | null | undefined;
|
|
1371
|
+
takeaway?: {
|
|
1372
|
+
submitOrderInstruction?: {
|
|
1373
|
+
payAtCounter?: Record<string, string> | null | undefined;
|
|
1374
|
+
paid?: Record<string, string> | null | undefined;
|
|
1375
|
+
} | null | undefined;
|
|
1376
|
+
} | null | undefined;
|
|
1221
1377
|
paymentSetting?: {
|
|
1222
1378
|
paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
1223
1379
|
offlinePaymentTypes?: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OrderSettingsDto, OrderKioskDineInSequenceDto } from "@entity";
|
|
2
|
-
import type { MfKioskOrderSetting, MfDisplayStandSetting, KioskTakeawaySettingForm, MfKioskOrderSettingForm } from '@/modules/order-setting/kiosk/interface';
|
|
2
|
+
import type { MfKioskOrderSetting, MfDisplayStandSetting, KioskTakeawaySettingForm, MfKioskOrderSettingForm, MfKioskSubmitOrderInstruction } from '@/modules/order-setting/kiosk/interface';
|
|
3
3
|
import type { MfOrderSetting } from "@/modules/order-setting/interface";
|
|
4
4
|
import type { OrderKioskSettings } from "@entity";
|
|
5
5
|
export declare const defaultDisplayStand: MfDisplayStandSetting;
|
|
6
6
|
export declare const defaultPickUp: KioskTakeawaySettingForm;
|
|
7
7
|
export declare const defaultKioskOrderSetting: MfKioskOrderSettingForm;
|
|
8
|
+
export declare const defaultSubmitOrderInstruction: MfKioskSubmitOrderInstruction;
|
|
8
9
|
export declare const OrderSettingMapper: {
|
|
9
10
|
convertOrderSettingDto: (dto: OrderSettingsDto) => MfOrderSetting;
|
|
10
11
|
toOrderKioskSettingsDto: (kioskSetting: MfKioskOrderSetting) => {
|