@feedmepos/mf-order-setting 0.0.54 → 0.0.56-dev.2
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/.tsbuildinfo +1 -0
- package/dist/{KioskDevicesView-CMKNjgWx.js → KioskDevicesView-Qv-xd_kZ.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B1sNvlUC.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CCF1mKni.js} +2 -2
- package/dist/KioskSettingView-CvvrK6Bv.js +643 -0
- package/dist/{KioskView-U-Wg8oMC.js → KioskView-CppTVBv-.js} +117 -117
- package/dist/OrderSettingsView-C38N61dM.js +36564 -0
- package/dist/{app-CFfgPAd8.js → app-Bss1GkKY.js} +392 -228
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CuRr-wlf.js → dayjs.min-DZfxGUk4.js} +1 -1
- package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/app.d.ts +164 -0
- package/dist/frontend/mf-order/src/main.d.ts +164 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +13 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +12 -4
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +4 -4
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +38 -4
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomSelect.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
- package/dist/{index-Bj0bCGTm.js → index-B6AGCsrw.js} +3 -3
- package/dist/index-BpKR-Cxd.js +19757 -0
- package/dist/{menu.dto-DAh1J2ES.js → menu.dto-C_B3M2fs.js} +7390 -7134
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +22443 -3
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +3 -3
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +6 -0
- package/dist/package/entity/marketing/marketing.dto.d.ts +1 -1
- package/dist/package/entity/order/dine-in/qr.dto.d.ts +38 -0
- package/dist/package/entity/order/order.do.d.ts +6358 -2
- package/dist/package/entity/order/order.dto.d.ts +22 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +3 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +12 -12
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +32 -32
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +21 -3
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +12 -2
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-edit-order.do.d.ts +9 -1
- 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 +3 -3
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +2 -2
- 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/order-setting.do.d.ts +864 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +6 -0
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
- package/dist/package/entity/queue/queue.do.d.ts +3 -8
- package/dist/package/entity/queue/queue.dto.d.ts +10 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +105 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +335 -0
- package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
- package/dist/style.css +1 -0
- package/package.json +1 -1
- package/src/api/reservation/index.ts +28 -0
- package/src/assets/images/not-found.png +0 -0
- package/src/locales/en-US.json +56 -0
- package/src/locales/th-TH.json +54 -0
- package/src/locales/zh-CN.json +54 -0
- package/src/views/kiosk/KioskSummary.vue +3 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +99 -211
- package/src/views/kiosk/settings/KioskSettingView.vue +43 -25
- package/src/views/order-settings/OrderSettingsView.vue +6 -1
- package/src/views/order-settings/dine-in/DineInSetting.vue +1 -0
- package/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue +2 -3
- package/src/views/order-settings/dine-in/PaymentType.vue +151 -43
- package/src/views/order-settings/pickup/PaymentSidesheet.vue +33 -172
- package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +1 -0
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
- package/src/views/order-settings/reservation/CustomSelect.vue +99 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +1555 -0
- package/tsconfig.app.json +8 -6
- package/dist/KioskSettingView-BE_pMA-i.js +0 -720
- package/dist/OrderSettingsView-BWzaITT6.js +0 -51916
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +0 -1
- package/dist/index-BXsnV_eO.js +0 -150
|
@@ -13,7 +13,7 @@ import { z } from 'zod';
|
|
|
13
13
|
* Important Notes:
|
|
14
14
|
* - ALL ordered items must be included regardless of changes
|
|
15
15
|
* - After edit, GF sends webhook with `isMexEditOrder: true`
|
|
16
|
-
* - Update item's price
|
|
16
|
+
* - Update item's price via adjustedPriceInMin
|
|
17
17
|
* - Replacement items append to end of existing item array
|
|
18
18
|
*/
|
|
19
19
|
export declare const GFEditOrderItemModifier: z.ZodObject<{
|
|
@@ -48,12 +48,14 @@ export declare const GFEditOrderItem: z.ZodObject<{
|
|
|
48
48
|
id: string;
|
|
49
49
|
quantity: number;
|
|
50
50
|
}>, "many">>>;
|
|
51
|
+
adjustedPriceInMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
51
52
|
}, "strip", z.ZodTypeAny, {
|
|
52
53
|
modifiers?: {
|
|
53
54
|
id: string;
|
|
54
55
|
quantity: number;
|
|
55
56
|
}[] | null | undefined;
|
|
56
57
|
isExternalItemID?: boolean | null | undefined;
|
|
58
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
57
59
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
58
60
|
quantity: number;
|
|
59
61
|
itemID: string;
|
|
@@ -63,6 +65,7 @@ export declare const GFEditOrderItem: z.ZodObject<{
|
|
|
63
65
|
quantity: number;
|
|
64
66
|
}[] | null | undefined;
|
|
65
67
|
isExternalItemID?: boolean | null | undefined;
|
|
68
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
66
69
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
67
70
|
quantity: number;
|
|
68
71
|
itemID: string;
|
|
@@ -85,12 +88,14 @@ export declare const GFEditOrderDto: z.ZodObject<{
|
|
|
85
88
|
id: string;
|
|
86
89
|
quantity: number;
|
|
87
90
|
}>, "many">>>;
|
|
91
|
+
adjustedPriceInMin: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
88
92
|
}, "strip", z.ZodTypeAny, {
|
|
89
93
|
modifiers?: {
|
|
90
94
|
id: string;
|
|
91
95
|
quantity: number;
|
|
92
96
|
}[] | null | undefined;
|
|
93
97
|
isExternalItemID?: boolean | null | undefined;
|
|
98
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
94
99
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
95
100
|
quantity: number;
|
|
96
101
|
itemID: string;
|
|
@@ -100,6 +105,7 @@ export declare const GFEditOrderDto: z.ZodObject<{
|
|
|
100
105
|
quantity: number;
|
|
101
106
|
}[] | null | undefined;
|
|
102
107
|
isExternalItemID?: boolean | null | undefined;
|
|
108
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
103
109
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
104
110
|
quantity: number;
|
|
105
111
|
itemID: string;
|
|
@@ -117,6 +123,7 @@ export declare const GFEditOrderDto: z.ZodObject<{
|
|
|
117
123
|
quantity: number;
|
|
118
124
|
}[] | null | undefined;
|
|
119
125
|
isExternalItemID?: boolean | null | undefined;
|
|
126
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
120
127
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
121
128
|
quantity: number;
|
|
122
129
|
itemID: string;
|
|
@@ -132,6 +139,7 @@ export declare const GFEditOrderDto: z.ZodObject<{
|
|
|
132
139
|
quantity: number;
|
|
133
140
|
}[] | null | undefined;
|
|
134
141
|
isExternalItemID?: boolean | null | undefined;
|
|
142
|
+
adjustedPriceInMin?: number | null | undefined;
|
|
135
143
|
status: "" | "DELETED" | "UPDATED" | "ADDED";
|
|
136
144
|
quantity: number;
|
|
137
145
|
itemID: string;
|
|
@@ -24,8 +24,8 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
|
|
|
24
24
|
lastSynchronize?: string | null | undefined;
|
|
25
25
|
showProductAddon?: boolean | null | undefined;
|
|
26
26
|
menuSyncError?: string | null | undefined;
|
|
27
|
-
syncV2?: boolean | null | undefined;
|
|
28
27
|
syncIGI?: boolean | null | undefined;
|
|
28
|
+
syncV2?: boolean | null | undefined;
|
|
29
29
|
enable: boolean;
|
|
30
30
|
autoCloseBill: boolean;
|
|
31
31
|
commissionRate: number;
|
|
@@ -39,8 +39,8 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
|
|
|
39
39
|
lastSynchronize?: string | null | undefined;
|
|
40
40
|
showProductAddon?: boolean | null | undefined;
|
|
41
41
|
menuSyncError?: string | null | undefined;
|
|
42
|
-
syncV2?: boolean | null | undefined;
|
|
43
42
|
syncIGI?: boolean | null | undefined;
|
|
43
|
+
syncV2?: boolean | null | undefined;
|
|
44
44
|
enable: boolean;
|
|
45
45
|
autoCloseBill: boolean;
|
|
46
46
|
commissionRate: number;
|
|
@@ -1702,9 +1702,9 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1702
1702
|
commissionRate: z.ZodOptional<z.ZodNumber>;
|
|
1703
1703
|
showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1704
1704
|
menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1705
|
+
syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1705
1706
|
merchantID: z.ZodOptional<z.ZodString>;
|
|
1706
1707
|
syncV2: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1707
|
-
syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1708
1708
|
partnerMerchantID: z.ZodOptional<z.ZodString>;
|
|
1709
1709
|
}, "strip", z.ZodTypeAny, {
|
|
1710
1710
|
status?: string | null | undefined;
|
|
@@ -1718,10 +1718,10 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1718
1718
|
commissionRate?: number | undefined;
|
|
1719
1719
|
showProductAddon?: boolean | null | undefined;
|
|
1720
1720
|
menuSyncError?: string | null | undefined;
|
|
1721
|
+
syncIGI?: boolean | null | undefined;
|
|
1721
1722
|
partnerMerchantID?: string | undefined;
|
|
1722
1723
|
merchantID?: string | undefined;
|
|
1723
1724
|
syncV2?: boolean | null | undefined;
|
|
1724
|
-
syncIGI?: boolean | null | undefined;
|
|
1725
1725
|
}, {
|
|
1726
1726
|
status?: string | null | undefined;
|
|
1727
1727
|
_id?: string | undefined;
|
|
@@ -1734,10 +1734,10 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1734
1734
|
commissionRate?: number | undefined;
|
|
1735
1735
|
showProductAddon?: boolean | null | undefined;
|
|
1736
1736
|
menuSyncError?: string | null | undefined;
|
|
1737
|
+
syncIGI?: boolean | null | undefined;
|
|
1737
1738
|
partnerMerchantID?: string | undefined;
|
|
1738
1739
|
merchantID?: string | undefined;
|
|
1739
1740
|
syncV2?: boolean | null | undefined;
|
|
1740
|
-
syncIGI?: boolean | null | undefined;
|
|
1741
1741
|
}>;
|
|
1742
1742
|
export declare const FdtoGrabfoodUpdateMenuItem: z.ZodObject<{
|
|
1743
1743
|
merchantId: z.ZodString;
|
|
@@ -6464,8 +6464,8 @@ export declare const FdtoIntegrationUpdateOrderRequest: z.ZodObject<z.extendShap
|
|
|
6464
6464
|
status: "COMPLETED" | "CANCELLED" | "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED" | "REFUND";
|
|
6465
6465
|
orderId: string;
|
|
6466
6466
|
action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
|
|
6467
|
-
platform: string;
|
|
6468
6467
|
billId: string;
|
|
6468
|
+
platform: string;
|
|
6469
6469
|
}, {
|
|
6470
6470
|
reason?: string | null | undefined;
|
|
6471
6471
|
bill?: {
|
|
@@ -7335,8 +7335,8 @@ export declare const FdtoIntegrationUpdateOrderRequest: z.ZodObject<z.extendShap
|
|
|
7335
7335
|
status: "COMPLETED" | "CANCELLED" | "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED" | "REFUND";
|
|
7336
7336
|
orderId: string;
|
|
7337
7337
|
action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
|
|
7338
|
-
platform: string;
|
|
7339
7338
|
billId: string;
|
|
7339
|
+
platform: string;
|
|
7340
7340
|
}>;
|
|
7341
7341
|
export declare const FdtoUpdateOrderPlatformSettingReq: z.ZodObject<z.extendShape<{
|
|
7342
7342
|
platform: z.ZodString;
|
|
@@ -143,6 +143,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
|
|
|
143
143
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
144
144
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
145
145
|
syncV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
146
|
+
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
146
147
|
}>, "strip", z.ZodTypeAny, {
|
|
147
148
|
status?: string | null | undefined;
|
|
148
149
|
_id?: string | undefined;
|
|
@@ -152,6 +153,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
|
|
|
152
153
|
lastSynchronize?: string | null | undefined;
|
|
153
154
|
showProductAddon?: boolean | null | undefined;
|
|
154
155
|
menuSyncError?: string | null | undefined;
|
|
156
|
+
syncIGI?: boolean | null | undefined;
|
|
155
157
|
syncV2?: boolean | null | undefined;
|
|
156
158
|
enable: boolean;
|
|
157
159
|
autoCloseBill: boolean;
|
|
@@ -176,6 +178,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
|
|
|
176
178
|
lastSynchronize?: string | null | undefined;
|
|
177
179
|
showProductAddon?: boolean | null | undefined;
|
|
178
180
|
menuSyncError?: string | null | undefined;
|
|
181
|
+
syncIGI?: boolean | null | undefined;
|
|
179
182
|
syncV2?: boolean | null | undefined;
|
|
180
183
|
enable: boolean;
|
|
181
184
|
autoCloseBill: boolean;
|
|
@@ -64,6 +64,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
|
|
|
64
64
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
65
65
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
66
66
|
syncV2: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
67
|
+
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
67
68
|
}>, never>, "strip", z.ZodTypeAny, {
|
|
68
69
|
status?: string | null | undefined;
|
|
69
70
|
_id?: string | undefined;
|
|
@@ -73,6 +74,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
|
|
|
73
74
|
lastSynchronize?: string | null | undefined;
|
|
74
75
|
showProductAddon?: boolean | null | undefined;
|
|
75
76
|
menuSyncError?: string | null | undefined;
|
|
77
|
+
syncIGI?: boolean | null | undefined;
|
|
76
78
|
syncV2?: boolean | null | undefined;
|
|
77
79
|
enable: boolean;
|
|
78
80
|
autoCloseBill: boolean;
|
|
@@ -97,6 +99,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
|
|
|
97
99
|
lastSynchronize?: string | null | undefined;
|
|
98
100
|
showProductAddon?: boolean | null | undefined;
|
|
99
101
|
menuSyncError?: string | null | undefined;
|
|
102
|
+
syncIGI?: boolean | null | undefined;
|
|
100
103
|
syncV2?: boolean | null | undefined;
|
|
101
104
|
enable: boolean;
|
|
102
105
|
autoCloseBill: boolean;
|