@feedmepos/mf-order-setting 0.0.48 → 0.0.50
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-iZTQ--DO.js → KioskDevicesView-u14hzPbE.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js +501 -0
- package/dist/{KioskSettingView-mN7UPNYu.js → KioskSettingView-DmvtZcV1.js} +34 -33
- package/dist/KioskView-M8V91gD5.js +474 -0
- package/dist/{OrderSettingsView-B5Nq_u9Z.js → OrderSettingsView-Bl3LshG3.js} +15016 -14688
- package/dist/{app-B3KtJhiw.js → app-CLewMjcd.js} +89 -25
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-GjkM9dM2.js → dayjs.min-DCTYRWyD.js} +1 -1
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +64 -0
- package/dist/frontend/mf-order/src/main.d.ts +64 -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 +1 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +6 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/drive-thru/DriveThruSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -2
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Dwzta1U-.js → index-B7LtJeBJ.js} +2 -2
- package/dist/{menu.dto-DgPhiIVk.js → menu.dto-Co7iXHNr.js} +25558 -25019
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +108 -16
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +63 -18
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +118 -18
- package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +44 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1071 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +16 -8
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +62 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +178 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +6 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +6 -0
- 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 +5 -5
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +15 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +1834 -15
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +13 -13
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +5 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +528 -805
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +14 -11
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +0 -20
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +2 -2
- package/dist/package/entity/queue/queue.do.d.ts +12 -0
- package/dist/package/entity/queue/queue.dto.d.ts +26 -6
- package/package.json +4 -4
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/locales/en-US.json +16 -0
- package/src/locales/ja-JP.json +16 -0
- package/src/locales/th-TH.json +16 -0
- package/src/locales/zh-CN.json +16 -0
- package/src/main.ts +2 -2
- package/src/modules/kiosk/interface.ts +1 -0
- package/src/stores/kiosk/mapper.ts +1 -0
- package/src/stores/restaurant/index.ts +6 -0
- package/src/views/kiosk/KioskSummary.vue +37 -31
- package/src/views/kiosk/KioskView.vue +4 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +205 -89
- package/src/views/kiosk/devices/KioskDevicesView.vue +133 -17
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +8 -3
- package/src/views/order-settings/OrderSettingsView.vue +6 -1
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +22 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +101 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-CPDemTBj.js +0 -306
- package/dist/KioskView-NEpc7Ivb.js +0 -452
|
@@ -783,7 +783,7 @@ export declare const GFOrder: z.ZodObject<{
|
|
|
783
783
|
estimatedOrderReadyTime: string;
|
|
784
784
|
maxOrderReadyTime: string;
|
|
785
785
|
}>>>;
|
|
786
|
-
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED"]>>>;
|
|
786
|
+
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED", "BILL_PAID"]>>>;
|
|
787
787
|
}, "strip", z.ZodTypeAny, {
|
|
788
788
|
receiver?: {
|
|
789
789
|
name?: string | null | undefined;
|
|
@@ -832,7 +832,7 @@ export declare const GFOrder: z.ZodObject<{
|
|
|
832
832
|
estimatedOrderReadyTime: string;
|
|
833
833
|
maxOrderReadyTime: string;
|
|
834
834
|
} | null | undefined;
|
|
835
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
835
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
836
836
|
price: {
|
|
837
837
|
deliveryFee?: number | null | undefined;
|
|
838
838
|
tax?: number | null | undefined;
|
|
@@ -934,7 +934,7 @@ export declare const GFOrder: z.ZodObject<{
|
|
|
934
934
|
estimatedOrderReadyTime: string;
|
|
935
935
|
maxOrderReadyTime: string;
|
|
936
936
|
} | null | undefined;
|
|
937
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
937
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
938
938
|
price: {
|
|
939
939
|
deliveryFee?: number | null | undefined;
|
|
940
940
|
tax?: number | null | undefined;
|
|
@@ -1354,7 +1354,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1354
1354
|
estimatedOrderReadyTime: string;
|
|
1355
1355
|
maxOrderReadyTime: string;
|
|
1356
1356
|
}>>>;
|
|
1357
|
-
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED"]>>>;
|
|
1357
|
+
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED", "BILL_PAID"]>>>;
|
|
1358
1358
|
}, "strip", z.ZodTypeAny, {
|
|
1359
1359
|
receiver?: {
|
|
1360
1360
|
name?: string | null | undefined;
|
|
@@ -1403,7 +1403,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1403
1403
|
estimatedOrderReadyTime: string;
|
|
1404
1404
|
maxOrderReadyTime: string;
|
|
1405
1405
|
} | null | undefined;
|
|
1406
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
1406
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
1407
1407
|
price: {
|
|
1408
1408
|
deliveryFee?: number | null | undefined;
|
|
1409
1409
|
tax?: number | null | undefined;
|
|
@@ -1505,7 +1505,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1505
1505
|
estimatedOrderReadyTime: string;
|
|
1506
1506
|
maxOrderReadyTime: string;
|
|
1507
1507
|
} | null | undefined;
|
|
1508
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
1508
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
1509
1509
|
price: {
|
|
1510
1510
|
deliveryFee?: number | null | undefined;
|
|
1511
1511
|
tax?: number | null | undefined;
|
|
@@ -1617,7 +1617,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1617
1617
|
estimatedOrderReadyTime: string;
|
|
1618
1618
|
maxOrderReadyTime: string;
|
|
1619
1619
|
} | null | undefined;
|
|
1620
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
1620
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
1621
1621
|
price: {
|
|
1622
1622
|
deliveryFee?: number | null | undefined;
|
|
1623
1623
|
tax?: number | null | undefined;
|
|
@@ -1727,7 +1727,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1727
1727
|
estimatedOrderReadyTime: string;
|
|
1728
1728
|
maxOrderReadyTime: string;
|
|
1729
1729
|
} | null | undefined;
|
|
1730
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
1730
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
1731
1731
|
price: {
|
|
1732
1732
|
deliveryFee?: number | null | undefined;
|
|
1733
1733
|
tax?: number | null | undefined;
|
|
@@ -2148,7 +2148,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2148
2148
|
estimatedOrderReadyTime: string;
|
|
2149
2149
|
maxOrderReadyTime: string;
|
|
2150
2150
|
}>>>;
|
|
2151
|
-
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED"]>>>;
|
|
2151
|
+
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED", "BILL_PAID"]>>>;
|
|
2152
2152
|
}, "strip", z.ZodTypeAny, {
|
|
2153
2153
|
receiver?: {
|
|
2154
2154
|
name?: string | null | undefined;
|
|
@@ -2197,7 +2197,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2197
2197
|
estimatedOrderReadyTime: string;
|
|
2198
2198
|
maxOrderReadyTime: string;
|
|
2199
2199
|
} | null | undefined;
|
|
2200
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2200
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
2201
2201
|
price: {
|
|
2202
2202
|
deliveryFee?: number | null | undefined;
|
|
2203
2203
|
tax?: number | null | undefined;
|
|
@@ -2299,7 +2299,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2299
2299
|
estimatedOrderReadyTime: string;
|
|
2300
2300
|
maxOrderReadyTime: string;
|
|
2301
2301
|
} | null | undefined;
|
|
2302
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2302
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
2303
2303
|
price: {
|
|
2304
2304
|
deliveryFee?: number | null | undefined;
|
|
2305
2305
|
tax?: number | null | undefined;
|
|
@@ -5267,7 +5267,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5267
5267
|
estimatedOrderReadyTime: string;
|
|
5268
5268
|
maxOrderReadyTime: string;
|
|
5269
5269
|
} | null | undefined;
|
|
5270
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
5270
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
5271
5271
|
price: {
|
|
5272
5272
|
deliveryFee?: number | null | undefined;
|
|
5273
5273
|
tax?: number | null | undefined;
|
|
@@ -5710,7 +5710,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5710
5710
|
estimatedOrderReadyTime: string;
|
|
5711
5711
|
maxOrderReadyTime: string;
|
|
5712
5712
|
} | null | undefined;
|
|
5713
|
-
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
5713
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | "BILL_PAID" | null | undefined;
|
|
5714
5714
|
price: {
|
|
5715
5715
|
deliveryFee?: number | null | undefined;
|
|
5716
5716
|
tax?: number | null | undefined;
|
|
@@ -14,16 +14,18 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
|
|
|
14
14
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
15
15
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
16
|
syncV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
17
|
+
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
17
18
|
}>, "strip", z.ZodTypeAny, {
|
|
18
19
|
status?: string | null | undefined;
|
|
19
20
|
_id?: string | undefined;
|
|
20
21
|
catalogId?: string | null | undefined;
|
|
21
22
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
23
|
+
updatedAt?: string | null | undefined;
|
|
22
24
|
lastSynchronize?: string | null | undefined;
|
|
23
25
|
showProductAddon?: boolean | null | undefined;
|
|
24
|
-
updatedAt?: string | null | undefined;
|
|
25
26
|
menuSyncError?: string | null | undefined;
|
|
26
27
|
syncV2?: boolean | null | undefined;
|
|
28
|
+
syncIGI?: boolean | null | undefined;
|
|
27
29
|
enable: boolean;
|
|
28
30
|
autoCloseBill: boolean;
|
|
29
31
|
commissionRate: number;
|
|
@@ -33,11 +35,12 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
|
|
|
33
35
|
_id?: string | undefined;
|
|
34
36
|
catalogId?: string | null | undefined;
|
|
35
37
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
38
|
+
updatedAt?: string | null | undefined;
|
|
36
39
|
lastSynchronize?: string | null | undefined;
|
|
37
40
|
showProductAddon?: boolean | null | undefined;
|
|
38
|
-
updatedAt?: string | null | undefined;
|
|
39
41
|
menuSyncError?: string | null | undefined;
|
|
40
42
|
syncV2?: boolean | null | undefined;
|
|
43
|
+
syncIGI?: boolean | null | undefined;
|
|
41
44
|
enable: boolean;
|
|
42
45
|
autoCloseBill: boolean;
|
|
43
46
|
commissionRate: number;
|