@feedmepos/mf-order-setting 0.0.43 → 0.0.45
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-KBpXQJmy.js → KioskDevicesView-CZ9B7VmM.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-taf41a-7.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-B9mM8Vcl.js} +101 -96
- package/dist/{KioskSettingView-DG12ZvfT.js → KioskSettingView-CJAw9osg.js} +1 -1
- package/dist/KioskView-CN-Dk8fn.js +448 -0
- package/dist/{OrderSettingsView-CoAGawQi.js → OrderSettingsView-B0shsMTu.js} +33664 -34726
- package/dist/{app-Db1lhCv7.js → app-BK8d3ff5.js} +115 -43
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D9bsUd57.js → dayjs.min-DgWdPF1p.js} +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +2 -2
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +72 -0
- package/dist/frontend/mf-order/src/main.d.ts +72 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +111 -1
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +291 -288
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +20 -173
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +12 -114
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +4 -4
- package/dist/frontend/mf-order/src/views/order-settings/queue/PresetRemarksSheet.vue.d.ts +19 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/QueueSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-D_Tmm1qL.js → index-DHbH8gKt.js} +2 -2
- package/dist/{menu.dto-BY9dVf93.js → menu.dto-Cua9zYpc.js} +54753 -57698
- package/dist/package/entity/booking/booking.do.d.ts +168 -2368
- package/dist/package/entity/delivery/delivery.dto.d.ts +33 -473
- package/dist/package/entity/food-court/food-court.dto.d.ts +44 -44
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +23 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +432 -60
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +670 -628
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +2 -2
- package/dist/package/entity/index.d.ts +2 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +201 -2031
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +129 -16
- package/dist/package/entity/order/order.do.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +390 -974
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +367 -18
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +48 -8
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +33 -473
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +672 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.dto.d.ts +9 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +90 -508
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +1130 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +34 -47
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +8 -2
- package/dist/package/entity/order-platform/menu.dto.d.ts +46 -12
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +8 -5
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -473
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/customization/color.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +18 -18
- package/dist/package/entity/order-setting/order-setting.do.d.ts +72 -88
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +724 -1036
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +22 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +12 -0
- package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +4 -51
- package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +248 -585
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +10 -1
- package/dist/package/entity/queue/queue.dto.d.ts +76 -14
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +41 -26
- package/dist/package/entity/websocket/websocket.dto.d.ts +22 -22
- package/package.json +3 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/locales/en-US.json +24 -0
- package/src/locales/th-TH.json +24 -0
- package/src/locales/zh-CN.json +24 -0
- package/src/modules/kiosk/interface.ts +1 -0
- package/src/stores/kiosk/mapper.ts +1 -0
- package/src/stores/order-setting/mapper.ts +20 -33
- package/src/stores/restaurant/index.ts +7 -3
- package/src/views/all-orders/FilterStatus.vue +1 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +6 -0
- package/src/views/order-settings/OrderSettingsView.vue +13 -5
- package/src/views/order-settings/delivery/DeliverySetting.vue +10 -5
- package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +9 -7
- package/src/views/order-settings/delivery/delivery.data.ts +7 -4
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -2
- package/src/views/order-settings/dine-in/DineInSetting.vue +18 -2
- package/src/views/order-settings/general/GeneralSetting.vue +2 -2
- package/src/views/order-settings/queue/PresetRemarksSheet.vue +103 -0
- package/src/views/order-settings/queue/QueueSetting.vue +358 -0
- package/dist/KioskView-KNiT-upH.js +0 -453
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RestaurantSettingDoc } from '@/api/restaurant-setting';
|
|
2
|
-
import {
|
|
3
|
-
import { FdoDeliverooSettings, FdoGrabfoodSettings, FdoExternalSetting } from '@entity';
|
|
2
|
+
import { FdoRestaurantDineIn, FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery, FdoRestaurantPickup, FdoServiceChargeSetting, type FdoAddress, type FdoProfile, FdoRestaurant } from '@feedmepos/core/entity';
|
|
3
|
+
import { FdoDeliverooSettings, FdoGrabfoodSettings, FdoExternalSetting, FdoFoodpandaSettings, FdoShopeeFoodSettings } from '@entity';
|
|
4
4
|
export interface Profile extends FdoProfile {
|
|
5
5
|
address: Address;
|
|
6
6
|
}
|
|
@@ -46,7 +46,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
46
46
|
taxCode: string;
|
|
47
47
|
systemCode: string;
|
|
48
48
|
}> | null | undefined;
|
|
49
|
-
autoAccept?: boolean | null | undefined;
|
|
50
49
|
deliveryTime?: {
|
|
51
50
|
time?: string[] | null | undefined;
|
|
52
51
|
custom?: {
|
|
@@ -110,6 +109,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
110
109
|
name: string;
|
|
111
110
|
instruction: string;
|
|
112
111
|
}[] | null | undefined;
|
|
112
|
+
autoAccept?: boolean | null | undefined;
|
|
113
113
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
114
114
|
ignoreStock?: boolean | null | undefined;
|
|
115
115
|
catalogId: string | null;
|
|
@@ -136,12 +136,12 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
136
136
|
} | null | undefined;
|
|
137
137
|
pickup?: {
|
|
138
138
|
catalogId?: string | null | undefined;
|
|
139
|
-
autoAccept?: boolean | null | undefined;
|
|
140
139
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
141
140
|
offlinePaymentTypes?: {
|
|
142
141
|
name: string;
|
|
143
142
|
instruction: string;
|
|
144
143
|
}[] | null | undefined;
|
|
144
|
+
autoAccept?: boolean | null | undefined;
|
|
145
145
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
146
146
|
ignoreStock?: boolean | null | undefined;
|
|
147
147
|
pickupTime?: {
|
|
@@ -249,64 +249,10 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
249
249
|
feedmeDelivery?: {
|
|
250
250
|
instruction?: string | null | undefined;
|
|
251
251
|
catalogId?: string | null | undefined;
|
|
252
|
-
autoAccept?: boolean | null | undefined;
|
|
253
252
|
term?: string | null | undefined;
|
|
254
|
-
ignoreStock?: boolean | null | undefined;
|
|
255
|
-
enable: boolean;
|
|
256
|
-
} | null | undefined;
|
|
257
|
-
foodpandaDelivery?: {
|
|
258
|
-
_id?: string | undefined;
|
|
259
|
-
ignoreDiscount?: boolean | null | undefined;
|
|
260
|
-
catalogId?: string | null | undefined;
|
|
261
|
-
commissionRate?: number | null | undefined;
|
|
262
|
-
lastSynchronize?: string | null | undefined;
|
|
263
|
-
showProductAddon?: boolean | null | undefined;
|
|
264
253
|
autoAccept?: boolean | null | undefined;
|
|
265
|
-
|
|
266
|
-
commissionRate: number;
|
|
267
|
-
discountCampaigns: {
|
|
268
|
-
name: string;
|
|
269
|
-
date: {
|
|
270
|
-
end: string;
|
|
271
|
-
start: string;
|
|
272
|
-
};
|
|
273
|
-
vendorBearPercentage: number;
|
|
274
|
-
}[];
|
|
275
|
-
} | null | undefined;
|
|
276
|
-
hasSst?: boolean | null | undefined;
|
|
277
|
-
enable: boolean;
|
|
278
|
-
remoteId: string;
|
|
279
|
-
autoCloseBill: boolean;
|
|
280
|
-
} | null | undefined;
|
|
281
|
-
grabfoodDelivery?: {
|
|
282
|
-
_id?: string | undefined;
|
|
283
|
-
catalogId?: string | null | undefined;
|
|
284
|
-
lastSynchronize?: string | null | undefined;
|
|
285
|
-
showProductAddon?: boolean | null | undefined;
|
|
286
|
-
enable: boolean;
|
|
287
|
-
commissionRate: number;
|
|
288
|
-
autoCloseBill: boolean;
|
|
289
|
-
merchantID: string;
|
|
290
|
-
} | null | undefined;
|
|
291
|
-
shopeefoodDelivery?: {
|
|
292
|
-
_id?: string | undefined;
|
|
293
|
-
catalogId?: string | null | undefined;
|
|
294
|
-
lastSynchronize?: string | null | undefined;
|
|
295
|
-
showProductAddon?: boolean | null | undefined;
|
|
254
|
+
ignoreStock?: boolean | null | undefined;
|
|
296
255
|
enable: boolean;
|
|
297
|
-
autoCloseBill: boolean;
|
|
298
|
-
reportConfig: {
|
|
299
|
-
commissionRate: number;
|
|
300
|
-
discountCampaigns: {
|
|
301
|
-
name: string;
|
|
302
|
-
date: {
|
|
303
|
-
end: string;
|
|
304
|
-
start: string;
|
|
305
|
-
};
|
|
306
|
-
vendorBearPercentage: number;
|
|
307
|
-
}[];
|
|
308
|
-
};
|
|
309
|
-
storeID: string;
|
|
310
256
|
} | null | undefined;
|
|
311
257
|
couchDbPassword?: string | null | undefined;
|
|
312
258
|
apiToken?: string | null | undefined;
|
|
@@ -331,6 +277,9 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
331
277
|
mapBorderColor?: number | null | undefined;
|
|
332
278
|
mapLineColor?: number | null | undefined;
|
|
333
279
|
} | null | undefined;
|
|
280
|
+
foodpandaDelivery?: any;
|
|
281
|
+
grabfoodDelivery?: any;
|
|
282
|
+
shopeefoodDelivery?: any;
|
|
334
283
|
_id: string;
|
|
335
284
|
expiredAt: string;
|
|
336
285
|
businessId: string;
|
|
@@ -445,7 +394,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
445
394
|
taxCode: string;
|
|
446
395
|
systemCode: string;
|
|
447
396
|
}> | null | undefined;
|
|
448
|
-
autoAccept?: boolean | null | undefined;
|
|
449
397
|
deliveryTime?: {
|
|
450
398
|
time?: string[] | null | undefined;
|
|
451
399
|
custom?: {
|
|
@@ -509,6 +457,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
509
457
|
name: string;
|
|
510
458
|
instruction: string;
|
|
511
459
|
}[] | null | undefined;
|
|
460
|
+
autoAccept?: boolean | null | undefined;
|
|
512
461
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
513
462
|
ignoreStock?: boolean | null | undefined;
|
|
514
463
|
catalogId: string | null;
|
|
@@ -535,12 +484,12 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
535
484
|
} | null | undefined;
|
|
536
485
|
pickup?: {
|
|
537
486
|
catalogId?: string | null | undefined;
|
|
538
|
-
autoAccept?: boolean | null | undefined;
|
|
539
487
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
540
488
|
offlinePaymentTypes?: {
|
|
541
489
|
name: string;
|
|
542
490
|
instruction: string;
|
|
543
491
|
}[] | null | undefined;
|
|
492
|
+
autoAccept?: boolean | null | undefined;
|
|
544
493
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
545
494
|
ignoreStock?: boolean | null | undefined;
|
|
546
495
|
pickupTime?: {
|
|
@@ -648,64 +597,10 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
648
597
|
feedmeDelivery?: {
|
|
649
598
|
instruction?: string | null | undefined;
|
|
650
599
|
catalogId?: string | null | undefined;
|
|
651
|
-
autoAccept?: boolean | null | undefined;
|
|
652
600
|
term?: string | null | undefined;
|
|
653
|
-
ignoreStock?: boolean | null | undefined;
|
|
654
|
-
enable: boolean;
|
|
655
|
-
} | null | undefined;
|
|
656
|
-
foodpandaDelivery?: {
|
|
657
|
-
_id?: string | undefined;
|
|
658
|
-
ignoreDiscount?: boolean | null | undefined;
|
|
659
|
-
catalogId?: string | null | undefined;
|
|
660
|
-
commissionRate?: number | null | undefined;
|
|
661
|
-
lastSynchronize?: string | null | undefined;
|
|
662
|
-
showProductAddon?: boolean | null | undefined;
|
|
663
601
|
autoAccept?: boolean | null | undefined;
|
|
664
|
-
|
|
665
|
-
commissionRate: number;
|
|
666
|
-
discountCampaigns: {
|
|
667
|
-
name: string;
|
|
668
|
-
date: {
|
|
669
|
-
end: string;
|
|
670
|
-
start: string;
|
|
671
|
-
};
|
|
672
|
-
vendorBearPercentage: number;
|
|
673
|
-
}[];
|
|
674
|
-
} | null | undefined;
|
|
675
|
-
hasSst?: boolean | null | undefined;
|
|
676
|
-
enable: boolean;
|
|
677
|
-
remoteId: string;
|
|
678
|
-
autoCloseBill: boolean;
|
|
679
|
-
} | null | undefined;
|
|
680
|
-
grabfoodDelivery?: {
|
|
681
|
-
_id?: string | undefined;
|
|
682
|
-
catalogId?: string | null | undefined;
|
|
683
|
-
lastSynchronize?: string | null | undefined;
|
|
684
|
-
showProductAddon?: boolean | null | undefined;
|
|
602
|
+
ignoreStock?: boolean | null | undefined;
|
|
685
603
|
enable: boolean;
|
|
686
|
-
commissionRate: number;
|
|
687
|
-
autoCloseBill: boolean;
|
|
688
|
-
merchantID: string;
|
|
689
|
-
} | null | undefined;
|
|
690
|
-
shopeefoodDelivery?: {
|
|
691
|
-
_id?: string | undefined;
|
|
692
|
-
catalogId?: string | null | undefined;
|
|
693
|
-
lastSynchronize?: string | null | undefined;
|
|
694
|
-
showProductAddon?: boolean | null | undefined;
|
|
695
|
-
enable: boolean;
|
|
696
|
-
autoCloseBill: boolean;
|
|
697
|
-
reportConfig: {
|
|
698
|
-
commissionRate: number;
|
|
699
|
-
discountCampaigns: {
|
|
700
|
-
name: string;
|
|
701
|
-
date: {
|
|
702
|
-
end: string;
|
|
703
|
-
start: string;
|
|
704
|
-
};
|
|
705
|
-
vendorBearPercentage: number;
|
|
706
|
-
}[];
|
|
707
|
-
};
|
|
708
|
-
storeID: string;
|
|
709
604
|
} | null | undefined;
|
|
710
605
|
couchDbPassword?: string | null | undefined;
|
|
711
606
|
apiToken?: string | null | undefined;
|
|
@@ -730,6 +625,9 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
730
625
|
mapBorderColor?: number | null | undefined;
|
|
731
626
|
mapLineColor?: number | null | undefined;
|
|
732
627
|
} | null | undefined;
|
|
628
|
+
foodpandaDelivery?: any;
|
|
629
|
+
grabfoodDelivery?: any;
|
|
630
|
+
shopeefoodDelivery?: any;
|
|
733
631
|
_id: string;
|
|
734
632
|
expiredAt: string;
|
|
735
633
|
businessId: string;
|
|
@@ -844,7 +742,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
844
742
|
taxCode: string;
|
|
845
743
|
systemCode: string;
|
|
846
744
|
}> | null | undefined;
|
|
847
|
-
autoAccept?: boolean | null | undefined;
|
|
848
745
|
deliveryTime?: {
|
|
849
746
|
time?: string[] | null | undefined;
|
|
850
747
|
custom?: {
|
|
@@ -908,6 +805,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
908
805
|
name: string;
|
|
909
806
|
instruction: string;
|
|
910
807
|
}[] | null | undefined;
|
|
808
|
+
autoAccept?: boolean | null | undefined;
|
|
911
809
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
912
810
|
ignoreStock?: boolean | null | undefined;
|
|
913
811
|
catalogId: string | null;
|
|
@@ -934,12 +832,12 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
934
832
|
} | null | undefined;
|
|
935
833
|
pickup?: {
|
|
936
834
|
catalogId?: string | null | undefined;
|
|
937
|
-
autoAccept?: boolean | null | undefined;
|
|
938
835
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
939
836
|
offlinePaymentTypes?: {
|
|
940
837
|
name: string;
|
|
941
838
|
instruction: string;
|
|
942
839
|
}[] | null | undefined;
|
|
840
|
+
autoAccept?: boolean | null | undefined;
|
|
943
841
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
944
842
|
ignoreStock?: boolean | null | undefined;
|
|
945
843
|
pickupTime?: {
|
|
@@ -1047,64 +945,10 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1047
945
|
feedmeDelivery?: {
|
|
1048
946
|
instruction?: string | null | undefined;
|
|
1049
947
|
catalogId?: string | null | undefined;
|
|
1050
|
-
autoAccept?: boolean | null | undefined;
|
|
1051
948
|
term?: string | null | undefined;
|
|
1052
|
-
ignoreStock?: boolean | null | undefined;
|
|
1053
|
-
enable: boolean;
|
|
1054
|
-
} | null | undefined;
|
|
1055
|
-
foodpandaDelivery?: {
|
|
1056
|
-
_id?: string | undefined;
|
|
1057
|
-
ignoreDiscount?: boolean | null | undefined;
|
|
1058
|
-
catalogId?: string | null | undefined;
|
|
1059
|
-
commissionRate?: number | null | undefined;
|
|
1060
|
-
lastSynchronize?: string | null | undefined;
|
|
1061
|
-
showProductAddon?: boolean | null | undefined;
|
|
1062
949
|
autoAccept?: boolean | null | undefined;
|
|
1063
|
-
|
|
1064
|
-
commissionRate: number;
|
|
1065
|
-
discountCampaigns: {
|
|
1066
|
-
name: string;
|
|
1067
|
-
date: {
|
|
1068
|
-
end: string;
|
|
1069
|
-
start: string;
|
|
1070
|
-
};
|
|
1071
|
-
vendorBearPercentage: number;
|
|
1072
|
-
}[];
|
|
1073
|
-
} | null | undefined;
|
|
1074
|
-
hasSst?: boolean | null | undefined;
|
|
1075
|
-
enable: boolean;
|
|
1076
|
-
remoteId: string;
|
|
1077
|
-
autoCloseBill: boolean;
|
|
1078
|
-
} | null | undefined;
|
|
1079
|
-
grabfoodDelivery?: {
|
|
1080
|
-
_id?: string | undefined;
|
|
1081
|
-
catalogId?: string | null | undefined;
|
|
1082
|
-
lastSynchronize?: string | null | undefined;
|
|
1083
|
-
showProductAddon?: boolean | null | undefined;
|
|
1084
|
-
enable: boolean;
|
|
1085
|
-
commissionRate: number;
|
|
1086
|
-
autoCloseBill: boolean;
|
|
1087
|
-
merchantID: string;
|
|
1088
|
-
} | null | undefined;
|
|
1089
|
-
shopeefoodDelivery?: {
|
|
1090
|
-
_id?: string | undefined;
|
|
1091
|
-
catalogId?: string | null | undefined;
|
|
1092
|
-
lastSynchronize?: string | null | undefined;
|
|
1093
|
-
showProductAddon?: boolean | null | undefined;
|
|
950
|
+
ignoreStock?: boolean | null | undefined;
|
|
1094
951
|
enable: boolean;
|
|
1095
|
-
autoCloseBill: boolean;
|
|
1096
|
-
reportConfig: {
|
|
1097
|
-
commissionRate: number;
|
|
1098
|
-
discountCampaigns: {
|
|
1099
|
-
name: string;
|
|
1100
|
-
date: {
|
|
1101
|
-
end: string;
|
|
1102
|
-
start: string;
|
|
1103
|
-
};
|
|
1104
|
-
vendorBearPercentage: number;
|
|
1105
|
-
}[];
|
|
1106
|
-
};
|
|
1107
|
-
storeID: string;
|
|
1108
952
|
} | null | undefined;
|
|
1109
953
|
couchDbPassword?: string | null | undefined;
|
|
1110
954
|
apiToken?: string | null | undefined;
|
|
@@ -1129,6 +973,9 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1129
973
|
mapBorderColor?: number | null | undefined;
|
|
1130
974
|
mapLineColor?: number | null | undefined;
|
|
1131
975
|
} | null | undefined;
|
|
976
|
+
foodpandaDelivery?: any;
|
|
977
|
+
grabfoodDelivery?: any;
|
|
978
|
+
shopeefoodDelivery?: any;
|
|
1132
979
|
_id: string;
|
|
1133
980
|
expiredAt: string;
|
|
1134
981
|
businessId: string;
|
|
@@ -22,7 +22,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
22
22
|
taxCode: string;
|
|
23
23
|
systemCode: string;
|
|
24
24
|
}> | null | undefined;
|
|
25
|
-
autoAccept?: boolean | null | undefined;
|
|
26
25
|
deliveryTime?: {
|
|
27
26
|
time?: string[] | null | undefined;
|
|
28
27
|
custom?: {
|
|
@@ -86,6 +85,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
86
85
|
name: string;
|
|
87
86
|
instruction: string;
|
|
88
87
|
}[] | null | undefined;
|
|
88
|
+
autoAccept?: boolean | null | undefined;
|
|
89
89
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
90
90
|
ignoreStock?: boolean | null | undefined;
|
|
91
91
|
catalogId: string | null;
|
|
@@ -112,12 +112,12 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
112
112
|
} | null | undefined;
|
|
113
113
|
pickup?: {
|
|
114
114
|
catalogId?: string | null | undefined;
|
|
115
|
-
autoAccept?: boolean | null | undefined;
|
|
116
115
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
117
116
|
offlinePaymentTypes?: {
|
|
118
117
|
name: string;
|
|
119
118
|
instruction: string;
|
|
120
119
|
}[] | null | undefined;
|
|
120
|
+
autoAccept?: boolean | null | undefined;
|
|
121
121
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
122
122
|
ignoreStock?: boolean | null | undefined;
|
|
123
123
|
pickupTime?: {
|
|
@@ -225,64 +225,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
225
225
|
feedmeDelivery?: {
|
|
226
226
|
instruction?: string | null | undefined;
|
|
227
227
|
catalogId?: string | null | undefined;
|
|
228
|
-
autoAccept?: boolean | null | undefined;
|
|
229
228
|
term?: string | null | undefined;
|
|
230
|
-
ignoreStock?: boolean | null | undefined;
|
|
231
|
-
enable: boolean;
|
|
232
|
-
} | null | undefined;
|
|
233
|
-
foodpandaDelivery?: {
|
|
234
|
-
_id?: string | undefined;
|
|
235
|
-
ignoreDiscount?: boolean | null | undefined;
|
|
236
|
-
catalogId?: string | null | undefined;
|
|
237
|
-
commissionRate?: number | null | undefined;
|
|
238
|
-
lastSynchronize?: string | null | undefined;
|
|
239
|
-
showProductAddon?: boolean | null | undefined;
|
|
240
229
|
autoAccept?: boolean | null | undefined;
|
|
241
|
-
|
|
242
|
-
commissionRate: number;
|
|
243
|
-
discountCampaigns: {
|
|
244
|
-
name: string;
|
|
245
|
-
date: {
|
|
246
|
-
end: string;
|
|
247
|
-
start: string;
|
|
248
|
-
};
|
|
249
|
-
vendorBearPercentage: number;
|
|
250
|
-
}[];
|
|
251
|
-
} | null | undefined;
|
|
252
|
-
hasSst?: boolean | null | undefined;
|
|
253
|
-
enable: boolean;
|
|
254
|
-
remoteId: string;
|
|
255
|
-
autoCloseBill: boolean;
|
|
256
|
-
} | null | undefined;
|
|
257
|
-
grabfoodDelivery?: {
|
|
258
|
-
_id?: string | undefined;
|
|
259
|
-
catalogId?: string | null | undefined;
|
|
260
|
-
lastSynchronize?: string | null | undefined;
|
|
261
|
-
showProductAddon?: boolean | null | undefined;
|
|
262
|
-
enable: boolean;
|
|
263
|
-
commissionRate: number;
|
|
264
|
-
autoCloseBill: boolean;
|
|
265
|
-
merchantID: string;
|
|
266
|
-
} | null | undefined;
|
|
267
|
-
shopeefoodDelivery?: {
|
|
268
|
-
_id?: string | undefined;
|
|
269
|
-
catalogId?: string | null | undefined;
|
|
270
|
-
lastSynchronize?: string | null | undefined;
|
|
271
|
-
showProductAddon?: boolean | null | undefined;
|
|
230
|
+
ignoreStock?: boolean | null | undefined;
|
|
272
231
|
enable: boolean;
|
|
273
|
-
autoCloseBill: boolean;
|
|
274
|
-
reportConfig: {
|
|
275
|
-
commissionRate: number;
|
|
276
|
-
discountCampaigns: {
|
|
277
|
-
name: string;
|
|
278
|
-
date: {
|
|
279
|
-
end: string;
|
|
280
|
-
start: string;
|
|
281
|
-
};
|
|
282
|
-
vendorBearPercentage: number;
|
|
283
|
-
}[];
|
|
284
|
-
};
|
|
285
|
-
storeID: string;
|
|
286
232
|
} | null | undefined;
|
|
287
233
|
couchDbPassword?: string | null | undefined;
|
|
288
234
|
apiToken?: string | null | undefined;
|
|
@@ -307,6 +253,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
307
253
|
mapBorderColor?: number | null | undefined;
|
|
308
254
|
mapLineColor?: number | null | undefined;
|
|
309
255
|
} | null | undefined;
|
|
256
|
+
foodpandaDelivery?: any;
|
|
257
|
+
grabfoodDelivery?: any;
|
|
258
|
+
shopeefoodDelivery?: any;
|
|
310
259
|
_id: string;
|
|
311
260
|
expiredAt: string;
|
|
312
261
|
businessId: string;
|
|
@@ -408,7 +357,6 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
408
357
|
taxCode: string;
|
|
409
358
|
systemCode: string;
|
|
410
359
|
}> | null | undefined;
|
|
411
|
-
autoAccept?: boolean | null | undefined;
|
|
412
360
|
deliveryTime?: {
|
|
413
361
|
time?: string[] | null | undefined;
|
|
414
362
|
custom?: {
|
|
@@ -472,6 +420,7 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
472
420
|
name: string;
|
|
473
421
|
instruction: string;
|
|
474
422
|
}[] | null | undefined;
|
|
423
|
+
autoAccept?: boolean | null | undefined;
|
|
475
424
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
476
425
|
ignoreStock?: boolean | null | undefined;
|
|
477
426
|
catalogId: string | null;
|
|
@@ -498,12 +447,12 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
498
447
|
} | null | undefined;
|
|
499
448
|
pickup?: {
|
|
500
449
|
catalogId?: string | null | undefined;
|
|
501
|
-
autoAccept?: boolean | null | undefined;
|
|
502
450
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
503
451
|
offlinePaymentTypes?: {
|
|
504
452
|
name: string;
|
|
505
453
|
instruction: string;
|
|
506
454
|
}[] | null | undefined;
|
|
455
|
+
autoAccept?: boolean | null | undefined;
|
|
507
456
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
508
457
|
ignoreStock?: boolean | null | undefined;
|
|
509
458
|
pickupTime?: {
|
|
@@ -611,64 +560,10 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
611
560
|
feedmeDelivery?: {
|
|
612
561
|
instruction?: string | null | undefined;
|
|
613
562
|
catalogId?: string | null | undefined;
|
|
614
|
-
autoAccept?: boolean | null | undefined;
|
|
615
563
|
term?: string | null | undefined;
|
|
616
|
-
ignoreStock?: boolean | null | undefined;
|
|
617
|
-
enable: boolean;
|
|
618
|
-
} | null | undefined;
|
|
619
|
-
foodpandaDelivery?: {
|
|
620
|
-
_id?: string | undefined;
|
|
621
|
-
ignoreDiscount?: boolean | null | undefined;
|
|
622
|
-
catalogId?: string | null | undefined;
|
|
623
|
-
commissionRate?: number | null | undefined;
|
|
624
|
-
lastSynchronize?: string | null | undefined;
|
|
625
|
-
showProductAddon?: boolean | null | undefined;
|
|
626
564
|
autoAccept?: boolean | null | undefined;
|
|
627
|
-
|
|
628
|
-
commissionRate: number;
|
|
629
|
-
discountCampaigns: {
|
|
630
|
-
name: string;
|
|
631
|
-
date: {
|
|
632
|
-
end: string;
|
|
633
|
-
start: string;
|
|
634
|
-
};
|
|
635
|
-
vendorBearPercentage: number;
|
|
636
|
-
}[];
|
|
637
|
-
} | null | undefined;
|
|
638
|
-
hasSst?: boolean | null | undefined;
|
|
639
|
-
enable: boolean;
|
|
640
|
-
remoteId: string;
|
|
641
|
-
autoCloseBill: boolean;
|
|
642
|
-
} | null | undefined;
|
|
643
|
-
grabfoodDelivery?: {
|
|
644
|
-
_id?: string | undefined;
|
|
645
|
-
catalogId?: string | null | undefined;
|
|
646
|
-
lastSynchronize?: string | null | undefined;
|
|
647
|
-
showProductAddon?: boolean | null | undefined;
|
|
648
|
-
enable: boolean;
|
|
649
|
-
commissionRate: number;
|
|
650
|
-
autoCloseBill: boolean;
|
|
651
|
-
merchantID: string;
|
|
652
|
-
} | null | undefined;
|
|
653
|
-
shopeefoodDelivery?: {
|
|
654
|
-
_id?: string | undefined;
|
|
655
|
-
catalogId?: string | null | undefined;
|
|
656
|
-
lastSynchronize?: string | null | undefined;
|
|
657
|
-
showProductAddon?: boolean | null | undefined;
|
|
565
|
+
ignoreStock?: boolean | null | undefined;
|
|
658
566
|
enable: boolean;
|
|
659
|
-
autoCloseBill: boolean;
|
|
660
|
-
reportConfig: {
|
|
661
|
-
commissionRate: number;
|
|
662
|
-
discountCampaigns: {
|
|
663
|
-
name: string;
|
|
664
|
-
date: {
|
|
665
|
-
end: string;
|
|
666
|
-
start: string;
|
|
667
|
-
};
|
|
668
|
-
vendorBearPercentage: number;
|
|
669
|
-
}[];
|
|
670
|
-
};
|
|
671
|
-
storeID: string;
|
|
672
567
|
} | null | undefined;
|
|
673
568
|
couchDbPassword?: string | null | undefined;
|
|
674
569
|
apiToken?: string | null | undefined;
|
|
@@ -693,6 +588,9 @@ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
693
588
|
mapBorderColor?: number | null | undefined;
|
|
694
589
|
mapLineColor?: number | null | undefined;
|
|
695
590
|
} | null | undefined;
|
|
591
|
+
foodpandaDelivery?: any;
|
|
592
|
+
grabfoodDelivery?: any;
|
|
593
|
+
shopeefoodDelivery?: any;
|
|
696
594
|
_id: string;
|
|
697
595
|
expiredAt: string;
|
|
698
596
|
businessId: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FdoDeliverooSettings, FdoExternalSetting } from '@entity';
|
|
2
|
-
import { FdoRestaurantFeedmeDelivery,
|
|
1
|
+
import type { FdoDeliverooSettings, FdoExternalSetting, FdoGrabfoodSettings, FdoShopeeFoodSettings, FdoFoodpandaSettings } from '@entity';
|
|
2
|
+
import { FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery } from '@feedmepos/core/entity';
|
|
3
3
|
declare function initInhouseDelivery(): FdoRestaurantInHouseDelivery;
|
|
4
4
|
declare function initFeedmeExpress(): FdoRestaurantFeedmeDelivery;
|
|
5
5
|
export declare function initFoodpandaDelivery(): FdoFoodpandaSettings;
|
package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
30
30
|
taxCode: string;
|
|
31
31
|
systemCode: string;
|
|
32
32
|
}> | null | undefined;
|
|
33
|
-
autoAccept?: boolean | null | undefined;
|
|
34
33
|
deliveryTime?: {
|
|
35
34
|
time?: string[] | null | undefined;
|
|
36
35
|
custom?: {
|
|
@@ -94,6 +93,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
94
93
|
name: string;
|
|
95
94
|
instruction: string;
|
|
96
95
|
}[] | null | undefined;
|
|
96
|
+
autoAccept?: boolean | null | undefined;
|
|
97
97
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
98
98
|
ignoreStock?: boolean | null | undefined;
|
|
99
99
|
catalogId: string | null;
|
|
@@ -134,7 +134,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
134
|
taxCode: string;
|
|
135
135
|
systemCode: string;
|
|
136
136
|
}> | null | undefined;
|
|
137
|
-
autoAccept?: boolean | null | undefined;
|
|
138
137
|
deliveryTime?: {
|
|
139
138
|
time?: string[] | null | undefined;
|
|
140
139
|
custom?: {
|
|
@@ -198,6 +197,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
198
197
|
name: string;
|
|
199
198
|
instruction: string;
|
|
200
199
|
}[] | null | undefined;
|
|
200
|
+
autoAccept?: boolean | null | undefined;
|
|
201
201
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
202
202
|
ignoreStock?: boolean | null | undefined;
|
|
203
203
|
catalogId: string | null;
|
package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3
3
|
pickup: {
|
|
4
4
|
type: PropType<{
|
|
5
5
|
catalogId?: string | null | undefined;
|
|
6
|
-
autoAccept?: boolean | null | undefined;
|
|
7
6
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
8
7
|
offlinePaymentTypes?: {
|
|
9
8
|
name: string;
|
|
10
9
|
instruction: string;
|
|
11
10
|
}[] | null | undefined;
|
|
11
|
+
autoAccept?: boolean | null | undefined;
|
|
12
12
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
13
13
|
ignoreStock?: boolean | null | undefined;
|
|
14
14
|
pickupTime?: {
|
|
@@ -31,12 +31,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
31
31
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
32
|
"update-pickup": (v: {
|
|
33
33
|
catalogId?: string | null | undefined;
|
|
34
|
-
autoAccept?: boolean | null | undefined;
|
|
35
34
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
36
35
|
offlinePaymentTypes?: {
|
|
37
36
|
name: string;
|
|
38
37
|
instruction: string;
|
|
39
38
|
}[] | null | undefined;
|
|
39
|
+
autoAccept?: boolean | null | undefined;
|
|
40
40
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
41
41
|
ignoreStock?: boolean | null | undefined;
|
|
42
42
|
pickupTime?: {
|
|
@@ -58,12 +58,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
pickup: {
|
|
59
59
|
type: PropType<{
|
|
60
60
|
catalogId?: string | null | undefined;
|
|
61
|
-
autoAccept?: boolean | null | undefined;
|
|
62
61
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
63
62
|
offlinePaymentTypes?: {
|
|
64
63
|
name: string;
|
|
65
64
|
instruction: string;
|
|
66
65
|
}[] | null | undefined;
|
|
66
|
+
autoAccept?: boolean | null | undefined;
|
|
67
67
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
68
68
|
ignoreStock?: boolean | null | undefined;
|
|
69
69
|
pickupTime?: {
|
|
@@ -86,12 +86,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
86
86
|
}>> & Readonly<{
|
|
87
87
|
"onUpdate-pickup"?: ((v: {
|
|
88
88
|
catalogId?: string | null | undefined;
|
|
89
|
-
autoAccept?: boolean | null | undefined;
|
|
90
89
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
91
90
|
offlinePaymentTypes?: {
|
|
92
91
|
name: string;
|
|
93
92
|
instruction: string;
|
|
94
93
|
}[] | null | undefined;
|
|
94
|
+
autoAccept?: boolean | null | undefined;
|
|
95
95
|
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
96
96
|
ignoreStock?: boolean | null | undefined;
|
|
97
97
|
pickupTime?: {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
initialValue: {
|
|
4
|
+
type: PropType<string[]>;
|
|
5
|
+
default: () => never[];
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
"update:modelValue": (remarks: string[]) => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
initialValue: {
|
|
11
|
+
type: PropType<string[]>;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((remarks: string[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
initialValue: string[];
|
|
18
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|