@feedmepos/mf-order-setting 0.0.76 → 0.0.77
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-H7stMDFu.js → KioskDevicesView-Dgs5_UoK.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DgpV4oKE.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-B4DXPgAV.js} +3 -3
- package/dist/KioskSettingView-BUcPNVTc.js +681 -0
- package/dist/{KioskView-Cxcc1UL1.js → KioskView-DelVMMj4.js} +137 -127
- package/dist/{OrderSettingsView-Ds2L_rbu.js → OrderSettingsView-DE2U7vqW.js} +9232 -8262
- package/dist/{app-BDlPjU4y.js → app-BIvt4NBq.js} +1476 -1302
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-OJf1trOq.js → dayjs.min-B58_jBg3.js} +1 -1
- package/dist/frontend/mf-order/src/api/index.d.ts +3 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +65 -2
- package/dist/frontend/mf-order/src/app.d.ts +174 -0
- package/dist/frontend/mf-order/src/composables/useInternalUser.d.ts +3 -0
- package/dist/frontend/mf-order/src/main.d.ts +174 -0
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +4 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +15 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/AdditionalStores.vue.d.ts +16 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaAdditionalStores.vue.d.ts +10 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +15 -4
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +10 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodAdditionalStores.vue.d.ts +10 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/index-CLS-FSH-.js +762 -0
- package/dist/{index-gGOpbnY3.js → index-CahsmFL1.js} +1 -1
- package/dist/{lineman-settings.dto-Cny_fF4n.js → lineman-settings.dto-DBDThIb0.js} +8999 -8874
- package/dist/package/entity/delivery/delivery.enum.d.ts +1 -1
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +4 -4
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +11 -0
- package/dist/package/entity/order-platform/base-integration.dto.d.ts +179 -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.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +4 -4
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +1 -1
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +105 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +30 -11
- package/dist/package/entity/order-platform/gofood/gofood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/gofood/gofood-settings.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +10 -10
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +134 -6
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +42 -20
- package/dist/package/entity/order-platform/lineman/lineman-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/lineman/lineman-settings.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +102 -4
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +66 -5
- package/dist/package/entity/order-platform/tng/tng-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/tng/tng-settings.dto.d.ts +4 -4
- package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +2 -2
- package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +2 -2
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +6 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +6 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +14 -4
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +28 -8
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +24 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/api/index.ts +8 -2
- package/src/api/remoteOrder/index.ts +200 -4
- package/src/composables/useInternalUser.ts +14 -0
- package/src/locales/en-US.json +43 -0
- package/src/locales/ja-JP.json +43 -0
- package/src/locales/th-TH.json +90 -45
- package/src/locales/zh-CN.json +43 -0
- package/src/modules/order-setting/kiosk/interface.ts +29 -19
- package/src/stores/order-setting/mapper.ts +65 -55
- package/src/views/kiosk/settings/KioskSettingView.vue +33 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +0 -1
- package/src/views/order-settings/delivery/delivery.data.ts +3 -0
- package/src/views/order-settings/delivery/integrated-delivery/AdditionalStores.vue +472 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaAdditionalStores.vue +314 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +27 -8
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +31 -12
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +23 -11
- package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +144 -0
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodAdditionalStores.vue +335 -0
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +29 -8
- package/src/views/order-settings/queue/QueueSetting.vue +1 -1
- package/dist/KioskSettingView-fF6k9s_q.js +0 -658
- package/dist/index-Bid9lO2x.js +0 -665
|
@@ -5,7 +5,7 @@ export declare const F_DELIVERY_PROVIDER_TYPE: z.ZodEnum<["GRAB_EXPRESS", "PANDA
|
|
|
5
5
|
export type F_DELIVERY_PROVIDER_TYPE = z.infer<typeof F_DELIVERY_PROVIDER_TYPE>;
|
|
6
6
|
export declare const F_DELIVERY_QUOTE_STATUS: z.ZodEnum<["SHOW", "HIDDEN", "DISABLED"]>;
|
|
7
7
|
export type F_DELIVERY_QUOTE_STATUS = z.infer<typeof F_DELIVERY_QUOTE_STATUS>;
|
|
8
|
-
export declare const F_DELIVERY_PLATFORM_STATUS: z.ZodEnum<["DRIVER_ALLOCATED", "DRIVER_ARRIVED", "SECOND_DRIVER_ALLOCATED", "PICKED_UP", "DELIVERED", "COMPLETED", "CANCELLED", "FAILED"]>;
|
|
8
|
+
export declare const F_DELIVERY_PLATFORM_STATUS: z.ZodEnum<["DRIVER_ALLOCATED", "DRIVER_ARRIVED", "SECOND_DRIVER_ALLOCATED", "PICKED_UP", "DELIVERED", "COMPLETED", "CANCELLED", "FAILED", "READY"]>;
|
|
9
9
|
export type F_DELIVERY_PLATFORM_STATUS = z.infer<typeof F_DELIVERY_PLATFORM_STATUS>;
|
|
10
10
|
/**
|
|
11
11
|
* [F_DELIVERY_PROGRAM] Added 2026-06: identifier for a special delivery
|
|
@@ -63,17 +63,17 @@ export declare const FdoIncomingOrderConfig: z.ZodObject<{
|
|
|
63
63
|
inclusive: boolean;
|
|
64
64
|
ignoreDiscount: boolean;
|
|
65
65
|
} | null | undefined;
|
|
66
|
-
printChecklist?: boolean | null | undefined;
|
|
67
66
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
67
|
+
printChecklist?: boolean | null | undefined;
|
|
68
68
|
autoCloseOnDelivered?: boolean | null | undefined;
|
|
69
69
|
voidReturnStock?: boolean | null | undefined;
|
|
70
70
|
overridePax?: boolean | null | undefined;
|
|
71
71
|
remarkAction?: "concat" | "override" | "keep" | null | undefined;
|
|
72
72
|
canMerge?: boolean | null | undefined;
|
|
73
73
|
canProcess?: boolean | null | undefined;
|
|
74
|
+
autoCloseBill: boolean;
|
|
74
75
|
autoAccept: boolean;
|
|
75
76
|
autoSend: boolean;
|
|
76
|
-
autoCloseBill: boolean;
|
|
77
77
|
}, {
|
|
78
78
|
taxes?: {
|
|
79
79
|
taxOverride?: {
|
|
@@ -83,17 +83,17 @@ export declare const FdoIncomingOrderConfig: z.ZodObject<{
|
|
|
83
83
|
inclusive: boolean;
|
|
84
84
|
ignoreDiscount: boolean;
|
|
85
85
|
} | null | undefined;
|
|
86
|
-
printChecklist?: boolean | null | undefined;
|
|
87
86
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
87
|
+
printChecklist?: boolean | null | undefined;
|
|
88
88
|
autoCloseOnDelivered?: boolean | null | undefined;
|
|
89
89
|
voidReturnStock?: boolean | null | undefined;
|
|
90
90
|
overridePax?: boolean | null | undefined;
|
|
91
91
|
remarkAction?: "concat" | "override" | "keep" | null | undefined;
|
|
92
92
|
canMerge?: boolean | null | undefined;
|
|
93
93
|
canProcess?: boolean | null | undefined;
|
|
94
|
+
autoCloseBill: boolean;
|
|
94
95
|
autoAccept: boolean;
|
|
95
96
|
autoSend: boolean;
|
|
96
|
-
autoCloseBill: boolean;
|
|
97
97
|
}>;
|
|
98
98
|
export declare const FdoIncomingOrderRefund: z.ZodObject<{
|
|
99
99
|
reason: z.ZodString;
|
|
@@ -1123,7 +1123,9 @@ export declare const KioskMembershipDto: z.ZodObject<{
|
|
|
1123
1123
|
code: string;
|
|
1124
1124
|
phone: string;
|
|
1125
1125
|
}>, "many">>;
|
|
1126
|
+
freeCreditAsDiscount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1126
1127
|
}, "strip", z.ZodTypeAny, {
|
|
1128
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
1127
1129
|
targetRestaurant?: string[] | null | undefined;
|
|
1128
1130
|
benefits: {
|
|
1129
1131
|
image?: string | null | undefined;
|
|
@@ -1257,6 +1259,7 @@ export declare const KioskMembershipDto: z.ZodObject<{
|
|
|
1257
1259
|
phone: string;
|
|
1258
1260
|
}[] | null;
|
|
1259
1261
|
}, {
|
|
1262
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
1260
1263
|
targetRestaurant?: string[] | null | undefined;
|
|
1261
1264
|
benefits: {
|
|
1262
1265
|
image?: string | null | undefined;
|
|
@@ -1402,6 +1405,14 @@ export type KioskVerifyMemberDto = {
|
|
|
1402
1405
|
_id: string;
|
|
1403
1406
|
}>;
|
|
1404
1407
|
vouchers: Array<z.infer<typeof FdoVoucherClaim>>;
|
|
1408
|
+
credit?: {
|
|
1409
|
+
normal: number;
|
|
1410
|
+
expiryBalance: Array<{
|
|
1411
|
+
_id: string;
|
|
1412
|
+
amount: number;
|
|
1413
|
+
expiredAt: string;
|
|
1414
|
+
}>;
|
|
1415
|
+
} | null;
|
|
1405
1416
|
};
|
|
1406
1417
|
export type KioskMembershipDto = z.infer<typeof KioskMembershipDto>;
|
|
1407
1418
|
export {};
|
|
@@ -9,6 +9,37 @@ export declare const FdtoStoreStatus: z.ZodObject<{
|
|
|
9
9
|
closedReason?: string | null | undefined;
|
|
10
10
|
isOpen: boolean;
|
|
11
11
|
}>;
|
|
12
|
+
export declare const FdtoPlatformStoreStatus: z.ZodObject<{
|
|
13
|
+
integrationId: z.ZodString;
|
|
14
|
+
storeId: z.ZodString;
|
|
15
|
+
isPrimary: z.ZodBoolean;
|
|
16
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
17
|
+
isOpen: z.ZodBoolean;
|
|
18
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
closedReason?: string | null | undefined;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
}, {
|
|
23
|
+
closedReason?: string | null | undefined;
|
|
24
|
+
isOpen: boolean;
|
|
25
|
+
}>>>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
status?: {
|
|
28
|
+
closedReason?: string | null | undefined;
|
|
29
|
+
isOpen: boolean;
|
|
30
|
+
} | null | undefined;
|
|
31
|
+
integrationId: string;
|
|
32
|
+
storeId: string;
|
|
33
|
+
isPrimary: boolean;
|
|
34
|
+
}, {
|
|
35
|
+
status?: {
|
|
36
|
+
closedReason?: string | null | undefined;
|
|
37
|
+
isOpen: boolean;
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
integrationId: string;
|
|
40
|
+
storeId: string;
|
|
41
|
+
isPrimary: boolean;
|
|
42
|
+
}>;
|
|
12
43
|
export declare const FdtoStoreStatusRes: z.ZodObject<{
|
|
13
44
|
foodpanda: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
45
|
isOpen: z.ZodBoolean;
|
|
@@ -50,6 +81,99 @@ export declare const FdtoStoreStatusRes: z.ZodObject<{
|
|
|
50
81
|
closedReason?: string | null | undefined;
|
|
51
82
|
isOpen: boolean;
|
|
52
83
|
}>>>;
|
|
84
|
+
foodpandaStores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
|
+
integrationId: z.ZodString;
|
|
86
|
+
storeId: z.ZodString;
|
|
87
|
+
isPrimary: z.ZodBoolean;
|
|
88
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
89
|
+
isOpen: z.ZodBoolean;
|
|
90
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
closedReason?: string | null | undefined;
|
|
93
|
+
isOpen: boolean;
|
|
94
|
+
}, {
|
|
95
|
+
closedReason?: string | null | undefined;
|
|
96
|
+
isOpen: boolean;
|
|
97
|
+
}>>>;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
status?: {
|
|
100
|
+
closedReason?: string | null | undefined;
|
|
101
|
+
isOpen: boolean;
|
|
102
|
+
} | null | undefined;
|
|
103
|
+
integrationId: string;
|
|
104
|
+
storeId: string;
|
|
105
|
+
isPrimary: boolean;
|
|
106
|
+
}, {
|
|
107
|
+
status?: {
|
|
108
|
+
closedReason?: string | null | undefined;
|
|
109
|
+
isOpen: boolean;
|
|
110
|
+
} | null | undefined;
|
|
111
|
+
integrationId: string;
|
|
112
|
+
storeId: string;
|
|
113
|
+
isPrimary: boolean;
|
|
114
|
+
}>, "many">>;
|
|
115
|
+
grabfoodStores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
116
|
+
integrationId: z.ZodString;
|
|
117
|
+
storeId: z.ZodString;
|
|
118
|
+
isPrimary: z.ZodBoolean;
|
|
119
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
120
|
+
isOpen: z.ZodBoolean;
|
|
121
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
closedReason?: string | null | undefined;
|
|
124
|
+
isOpen: boolean;
|
|
125
|
+
}, {
|
|
126
|
+
closedReason?: string | null | undefined;
|
|
127
|
+
isOpen: boolean;
|
|
128
|
+
}>>>;
|
|
129
|
+
}, "strip", z.ZodTypeAny, {
|
|
130
|
+
status?: {
|
|
131
|
+
closedReason?: string | null | undefined;
|
|
132
|
+
isOpen: boolean;
|
|
133
|
+
} | null | undefined;
|
|
134
|
+
integrationId: string;
|
|
135
|
+
storeId: string;
|
|
136
|
+
isPrimary: boolean;
|
|
137
|
+
}, {
|
|
138
|
+
status?: {
|
|
139
|
+
closedReason?: string | null | undefined;
|
|
140
|
+
isOpen: boolean;
|
|
141
|
+
} | null | undefined;
|
|
142
|
+
integrationId: string;
|
|
143
|
+
storeId: string;
|
|
144
|
+
isPrimary: boolean;
|
|
145
|
+
}>, "many">>;
|
|
146
|
+
shopeefoodStores: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
147
|
+
integrationId: z.ZodString;
|
|
148
|
+
storeId: z.ZodString;
|
|
149
|
+
isPrimary: z.ZodBoolean;
|
|
150
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
151
|
+
isOpen: z.ZodBoolean;
|
|
152
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
closedReason?: string | null | undefined;
|
|
155
|
+
isOpen: boolean;
|
|
156
|
+
}, {
|
|
157
|
+
closedReason?: string | null | undefined;
|
|
158
|
+
isOpen: boolean;
|
|
159
|
+
}>>>;
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
status?: {
|
|
162
|
+
closedReason?: string | null | undefined;
|
|
163
|
+
isOpen: boolean;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
integrationId: string;
|
|
166
|
+
storeId: string;
|
|
167
|
+
isPrimary: boolean;
|
|
168
|
+
}, {
|
|
169
|
+
status?: {
|
|
170
|
+
closedReason?: string | null | undefined;
|
|
171
|
+
isOpen: boolean;
|
|
172
|
+
} | null | undefined;
|
|
173
|
+
integrationId: string;
|
|
174
|
+
storeId: string;
|
|
175
|
+
isPrimary: boolean;
|
|
176
|
+
}>, "many">>;
|
|
53
177
|
}, "strip", z.ZodTypeAny, {
|
|
54
178
|
foodpanda?: {
|
|
55
179
|
closedReason?: string | null | undefined;
|
|
@@ -67,6 +191,33 @@ export declare const FdtoStoreStatusRes: z.ZodObject<{
|
|
|
67
191
|
closedReason?: string | null | undefined;
|
|
68
192
|
isOpen: boolean;
|
|
69
193
|
} | null | undefined;
|
|
194
|
+
foodpandaStores?: {
|
|
195
|
+
status?: {
|
|
196
|
+
closedReason?: string | null | undefined;
|
|
197
|
+
isOpen: boolean;
|
|
198
|
+
} | null | undefined;
|
|
199
|
+
integrationId: string;
|
|
200
|
+
storeId: string;
|
|
201
|
+
isPrimary: boolean;
|
|
202
|
+
}[] | undefined;
|
|
203
|
+
grabfoodStores?: {
|
|
204
|
+
status?: {
|
|
205
|
+
closedReason?: string | null | undefined;
|
|
206
|
+
isOpen: boolean;
|
|
207
|
+
} | null | undefined;
|
|
208
|
+
integrationId: string;
|
|
209
|
+
storeId: string;
|
|
210
|
+
isPrimary: boolean;
|
|
211
|
+
}[] | undefined;
|
|
212
|
+
shopeefoodStores?: {
|
|
213
|
+
status?: {
|
|
214
|
+
closedReason?: string | null | undefined;
|
|
215
|
+
isOpen: boolean;
|
|
216
|
+
} | null | undefined;
|
|
217
|
+
integrationId: string;
|
|
218
|
+
storeId: string;
|
|
219
|
+
isPrimary: boolean;
|
|
220
|
+
}[] | undefined;
|
|
70
221
|
}, {
|
|
71
222
|
foodpanda?: {
|
|
72
223
|
closedReason?: string | null | undefined;
|
|
@@ -84,6 +235,34 @@ export declare const FdtoStoreStatusRes: z.ZodObject<{
|
|
|
84
235
|
closedReason?: string | null | undefined;
|
|
85
236
|
isOpen: boolean;
|
|
86
237
|
} | null | undefined;
|
|
238
|
+
foodpandaStores?: {
|
|
239
|
+
status?: {
|
|
240
|
+
closedReason?: string | null | undefined;
|
|
241
|
+
isOpen: boolean;
|
|
242
|
+
} | null | undefined;
|
|
243
|
+
integrationId: string;
|
|
244
|
+
storeId: string;
|
|
245
|
+
isPrimary: boolean;
|
|
246
|
+
}[] | undefined;
|
|
247
|
+
grabfoodStores?: {
|
|
248
|
+
status?: {
|
|
249
|
+
closedReason?: string | null | undefined;
|
|
250
|
+
isOpen: boolean;
|
|
251
|
+
} | null | undefined;
|
|
252
|
+
integrationId: string;
|
|
253
|
+
storeId: string;
|
|
254
|
+
isPrimary: boolean;
|
|
255
|
+
}[] | undefined;
|
|
256
|
+
shopeefoodStores?: {
|
|
257
|
+
status?: {
|
|
258
|
+
closedReason?: string | null | undefined;
|
|
259
|
+
isOpen: boolean;
|
|
260
|
+
} | null | undefined;
|
|
261
|
+
integrationId: string;
|
|
262
|
+
storeId: string;
|
|
263
|
+
isPrimary: boolean;
|
|
264
|
+
}[] | undefined;
|
|
87
265
|
}>;
|
|
88
266
|
export type FdtoStoreStatus = z.infer<typeof FdtoStoreStatus>;
|
|
267
|
+
export type FdtoPlatformStoreStatus = z.infer<typeof FdtoPlatformStoreStatus>;
|
|
89
268
|
export type FdtoStoreStatusRes = z.infer<typeof FdtoStoreStatusRes>;
|
|
@@ -19,8 +19,8 @@ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendSh
|
|
|
19
19
|
status?: string | null | undefined;
|
|
20
20
|
_id?: string | undefined;
|
|
21
21
|
catalogId?: string | null | undefined;
|
|
22
|
-
updatedAt?: string | null | undefined;
|
|
23
22
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
23
|
+
updatedAt?: string | null | undefined;
|
|
24
24
|
lastSynchronize?: string | null | undefined;
|
|
25
25
|
menuSyncError?: string | null | undefined;
|
|
26
26
|
syncIGI?: boolean | null | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendSh
|
|
|
31
31
|
status?: string | null | undefined;
|
|
32
32
|
_id?: string | undefined;
|
|
33
33
|
catalogId?: string | null | undefined;
|
|
34
|
-
updatedAt?: string | null | undefined;
|
|
35
34
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
35
|
+
updatedAt?: string | null | undefined;
|
|
36
36
|
lastSynchronize?: string | null | undefined;
|
|
37
37
|
menuSyncError?: string | null | undefined;
|
|
38
38
|
syncIGI?: boolean | null | undefined;
|
|
@@ -16,8 +16,8 @@ export declare const FdoDeliverooSettings: z.ZodObject<z.extendShape<{
|
|
|
16
16
|
status?: string | null | undefined;
|
|
17
17
|
_id?: string | undefined;
|
|
18
18
|
catalogId?: string | null | undefined;
|
|
19
|
-
updatedAt?: string | null | undefined;
|
|
20
19
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
20
|
+
updatedAt?: string | null | undefined;
|
|
21
21
|
lastSynchronize?: string | null | undefined;
|
|
22
22
|
menuSyncError?: string | null | undefined;
|
|
23
23
|
syncIGI?: boolean | null | undefined;
|
|
@@ -28,8 +28,8 @@ export declare const FdoDeliverooSettings: z.ZodObject<z.extendShape<{
|
|
|
28
28
|
status?: string | null | undefined;
|
|
29
29
|
_id?: string | undefined;
|
|
30
30
|
catalogId?: string | null | undefined;
|
|
31
|
-
updatedAt?: string | null | undefined;
|
|
32
31
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
32
|
+
updatedAt?: string | null | undefined;
|
|
33
33
|
lastSynchronize?: string | null | undefined;
|
|
34
34
|
menuSyncError?: string | null | undefined;
|
|
35
35
|
syncIGI?: boolean | null | undefined;
|
|
@@ -1905,11 +1905,11 @@ export declare const FdtoUpdateOrderStatus: z.ZodObject<{
|
|
|
1905
1905
|
}, "strip", z.ZodTypeAny, {
|
|
1906
1906
|
orderId: string;
|
|
1907
1907
|
restaurantId: string;
|
|
1908
|
-
state: "
|
|
1908
|
+
state: "READY" | "COLLECTED";
|
|
1909
1909
|
}, {
|
|
1910
1910
|
orderId: string;
|
|
1911
1911
|
restaurantId: string;
|
|
1912
|
-
state: "
|
|
1912
|
+
state: "READY" | "COLLECTED";
|
|
1913
1913
|
}>;
|
|
1914
1914
|
export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
1915
1915
|
orders: z.ZodArray<z.ZodObject<{
|
|
@@ -61,17 +61,17 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
61
61
|
bypass?: boolean | null | undefined;
|
|
62
62
|
skipAllocateTax?: boolean | null | undefined;
|
|
63
63
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
64
|
+
autoCloseBill: boolean;
|
|
64
65
|
autoAccept: boolean;
|
|
65
66
|
autoSend: boolean;
|
|
66
|
-
autoCloseBill: boolean;
|
|
67
67
|
}, {
|
|
68
68
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
69
69
|
bypass?: boolean | null | undefined;
|
|
70
70
|
skipAllocateTax?: boolean | null | undefined;
|
|
71
71
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
72
|
+
autoCloseBill: boolean;
|
|
72
73
|
autoAccept: boolean;
|
|
73
74
|
autoSend: boolean;
|
|
74
|
-
autoCloseBill: boolean;
|
|
75
75
|
}>;
|
|
76
76
|
platform: z.ZodEnum<["DELIVEROO", "FOOD_PANDA", "GRAB_FOOD", "SHOPEE_FOOD", "FEEDME", "IN_HOUSE", "ZUS", "TNG", "HAKSHAN", "US_PIZZA", "GO_FOOD"]>;
|
|
77
77
|
delivery: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -135,9 +135,9 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
135
135
|
bypass?: boolean | null | undefined;
|
|
136
136
|
skipAllocateTax?: boolean | null | undefined;
|
|
137
137
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
138
|
+
autoCloseBill: boolean;
|
|
138
139
|
autoAccept: boolean;
|
|
139
140
|
autoSend: boolean;
|
|
140
|
-
autoCloseBill: boolean;
|
|
141
141
|
};
|
|
142
142
|
}, {
|
|
143
143
|
pickup?: {
|
|
@@ -161,9 +161,9 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
161
161
|
bypass?: boolean | null | undefined;
|
|
162
162
|
skipAllocateTax?: boolean | null | undefined;
|
|
163
163
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
164
|
+
autoCloseBill: boolean;
|
|
164
165
|
autoAccept: boolean;
|
|
165
166
|
autoSend: boolean;
|
|
166
|
-
autoCloseBill: boolean;
|
|
167
167
|
};
|
|
168
168
|
}>;
|
|
169
169
|
export type FdoExternalSetting = z.infer<typeof FdoExternalSetting>;
|
|
@@ -15,17 +15,17 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
15
15
|
bypass?: boolean | null | undefined;
|
|
16
16
|
skipAllocateTax?: boolean | null | undefined;
|
|
17
17
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
18
|
+
autoCloseBill: boolean;
|
|
18
19
|
autoAccept: boolean;
|
|
19
20
|
autoSend: boolean;
|
|
20
|
-
autoCloseBill: boolean;
|
|
21
21
|
}, {
|
|
22
22
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
23
23
|
bypass?: boolean | null | undefined;
|
|
24
24
|
skipAllocateTax?: boolean | null | undefined;
|
|
25
25
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
26
|
+
autoCloseBill: boolean;
|
|
26
27
|
autoAccept: boolean;
|
|
27
28
|
autoSend: boolean;
|
|
28
|
-
autoCloseBill: boolean;
|
|
29
29
|
}>;
|
|
30
30
|
platform: z.ZodEnum<["DELIVEROO", "FOOD_PANDA", "GRAB_FOOD", "SHOPEE_FOOD", "FEEDME", "IN_HOUSE", "ZUS", "TNG", "HAKSHAN", "US_PIZZA", "GO_FOOD"]>;
|
|
31
31
|
delivery: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -88,9 +88,9 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
88
88
|
bypass?: boolean | null | undefined;
|
|
89
89
|
skipAllocateTax?: boolean | null | undefined;
|
|
90
90
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
91
|
+
autoCloseBill: boolean;
|
|
91
92
|
autoAccept: boolean;
|
|
92
93
|
autoSend: boolean;
|
|
93
|
-
autoCloseBill: boolean;
|
|
94
94
|
};
|
|
95
95
|
}, {
|
|
96
96
|
pickup?: {
|
|
@@ -113,9 +113,9 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
113
113
|
bypass?: boolean | null | undefined;
|
|
114
114
|
skipAllocateTax?: boolean | null | undefined;
|
|
115
115
|
groupItemsBySubCategory?: boolean | null | undefined;
|
|
116
|
+
autoCloseBill: boolean;
|
|
116
117
|
autoAccept: boolean;
|
|
117
118
|
autoSend: boolean;
|
|
118
|
-
autoCloseBill: boolean;
|
|
119
119
|
};
|
|
120
120
|
}>;
|
|
121
121
|
export type FdtoExternalSettingCreateOrUpdate = z.infer<typeof FdtoExternalSettingCreateOrUpdate>;
|
|
@@ -666,7 +666,7 @@ export declare const FPCatalogScheduleEntryV2: z.ZodObject<z.extendShape<{
|
|
|
666
666
|
startTime: string;
|
|
667
667
|
endTime: string;
|
|
668
668
|
}>;
|
|
669
|
-
declare const FPCatalogV2: z.ZodObject<{
|
|
669
|
+
export declare const FPCatalogV2: z.ZodObject<{
|
|
670
670
|
items: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<z.extendShape<{
|
|
671
671
|
id: z.ZodString;
|
|
672
672
|
type: z.ZodEnum<["ScheduleEntry", "Menu", "Product", "Category", "Topping", "Image"]>;
|
|
@@ -78,10 +78,40 @@ export declare const FdoFoodpandaReportCalculationConfig: z.ZodObject<{
|
|
|
78
78
|
vendorBearPercentage: number;
|
|
79
79
|
}[];
|
|
80
80
|
}>;
|
|
81
|
+
export declare const FdoFoodpandaAdditionalStore: z.ZodObject<{
|
|
82
|
+
integrationId: z.ZodString;
|
|
83
|
+
remoteId: z.ZodString;
|
|
84
|
+
catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
85
|
+
enable: z.ZodBoolean;
|
|
86
|
+
lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
87
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
88
|
+
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
89
|
+
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
status?: string | null | undefined;
|
|
92
|
+
catalogId?: string | null | undefined;
|
|
93
|
+
updatedAt?: string | null | undefined;
|
|
94
|
+
lastSynchronize?: string | null | undefined;
|
|
95
|
+
menuSyncError?: string | null | undefined;
|
|
96
|
+
enable: boolean;
|
|
97
|
+
integrationId: string;
|
|
98
|
+
remoteId: string;
|
|
99
|
+
}, {
|
|
100
|
+
status?: string | null | undefined;
|
|
101
|
+
catalogId?: string | null | undefined;
|
|
102
|
+
updatedAt?: string | null | undefined;
|
|
103
|
+
lastSynchronize?: string | null | undefined;
|
|
104
|
+
menuSyncError?: string | null | undefined;
|
|
105
|
+
enable: boolean;
|
|
106
|
+
integrationId: string;
|
|
107
|
+
remoteId: string;
|
|
108
|
+
}>;
|
|
109
|
+
export type FdoFoodpandaAdditionalStore = z.infer<typeof FdoFoodpandaAdditionalStore>;
|
|
81
110
|
export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
82
111
|
enable: z.ZodBoolean;
|
|
83
112
|
}, {
|
|
84
113
|
_id: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
114
|
+
integrationId: z.ZodString;
|
|
85
115
|
remoteId: z.ZodString;
|
|
86
116
|
catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
87
117
|
lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -148,15 +178,64 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
148
178
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
149
179
|
sstInclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
150
180
|
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
181
|
+
groupItemsBySubCategory: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
182
|
+
additionalStores: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
183
|
+
integrationId: z.ZodString;
|
|
184
|
+
remoteId: z.ZodString;
|
|
185
|
+
catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
186
|
+
enable: z.ZodBoolean;
|
|
187
|
+
lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
188
|
+
status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
189
|
+
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
190
|
+
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
status?: string | null | undefined;
|
|
193
|
+
catalogId?: string | null | undefined;
|
|
194
|
+
updatedAt?: string | null | undefined;
|
|
195
|
+
lastSynchronize?: string | null | undefined;
|
|
196
|
+
menuSyncError?: string | null | undefined;
|
|
197
|
+
enable: boolean;
|
|
198
|
+
integrationId: string;
|
|
199
|
+
remoteId: string;
|
|
200
|
+
}, {
|
|
201
|
+
status?: string | null | undefined;
|
|
202
|
+
catalogId?: string | null | undefined;
|
|
203
|
+
updatedAt?: string | null | undefined;
|
|
204
|
+
lastSynchronize?: string | null | undefined;
|
|
205
|
+
menuSyncError?: string | null | undefined;
|
|
206
|
+
enable: boolean;
|
|
207
|
+
integrationId: string;
|
|
208
|
+
remoteId: string;
|
|
209
|
+
}>, "many">>>, {
|
|
210
|
+
status?: string | null | undefined;
|
|
211
|
+
catalogId?: string | null | undefined;
|
|
212
|
+
updatedAt?: string | null | undefined;
|
|
213
|
+
lastSynchronize?: string | null | undefined;
|
|
214
|
+
menuSyncError?: string | null | undefined;
|
|
215
|
+
enable: boolean;
|
|
216
|
+
integrationId: string;
|
|
217
|
+
remoteId: string;
|
|
218
|
+
}[] | null | undefined, {
|
|
219
|
+
status?: string | null | undefined;
|
|
220
|
+
catalogId?: string | null | undefined;
|
|
221
|
+
updatedAt?: string | null | undefined;
|
|
222
|
+
lastSynchronize?: string | null | undefined;
|
|
223
|
+
menuSyncError?: string | null | undefined;
|
|
224
|
+
enable: boolean;
|
|
225
|
+
integrationId: string;
|
|
226
|
+
remoteId: string;
|
|
227
|
+
}[] | null | undefined>;
|
|
151
228
|
}>, "strip", z.ZodTypeAny, {
|
|
152
229
|
status?: string | null | undefined;
|
|
153
230
|
_id?: string | undefined;
|
|
154
231
|
catalogId?: string | null | undefined;
|
|
232
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
155
233
|
updatedAt?: string | null | undefined;
|
|
156
234
|
autoAccept?: boolean | null | undefined;
|
|
157
|
-
|
|
235
|
+
groupItemsBySubCategory?: boolean | null | undefined;
|
|
158
236
|
lastSynchronize?: string | null | undefined;
|
|
159
237
|
commissionRate?: number | null | undefined;
|
|
238
|
+
menuSyncError?: string | null | undefined;
|
|
160
239
|
showProductAddon?: boolean | null | undefined;
|
|
161
240
|
reportConfig?: {
|
|
162
241
|
commissionRate: number;
|
|
@@ -171,21 +250,33 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
171
250
|
} | null | undefined;
|
|
172
251
|
hasSst?: boolean | null | undefined;
|
|
173
252
|
ignoreDiscount?: boolean | null | undefined;
|
|
174
|
-
menuSyncError?: string | null | undefined;
|
|
175
253
|
sstInclusive?: boolean | null | undefined;
|
|
176
254
|
syncIGI?: boolean | null | undefined;
|
|
255
|
+
additionalStores?: {
|
|
256
|
+
status?: string | null | undefined;
|
|
257
|
+
catalogId?: string | null | undefined;
|
|
258
|
+
updatedAt?: string | null | undefined;
|
|
259
|
+
lastSynchronize?: string | null | undefined;
|
|
260
|
+
menuSyncError?: string | null | undefined;
|
|
261
|
+
enable: boolean;
|
|
262
|
+
integrationId: string;
|
|
263
|
+
remoteId: string;
|
|
264
|
+
}[] | null | undefined;
|
|
177
265
|
enable: boolean;
|
|
178
266
|
autoCloseBill: boolean;
|
|
267
|
+
integrationId: string;
|
|
179
268
|
remoteId: string;
|
|
180
269
|
}, {
|
|
181
270
|
status?: string | null | undefined;
|
|
182
271
|
_id?: string | undefined;
|
|
183
272
|
catalogId?: string | null | undefined;
|
|
273
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
184
274
|
updatedAt?: string | null | undefined;
|
|
185
275
|
autoAccept?: boolean | null | undefined;
|
|
186
|
-
|
|
276
|
+
groupItemsBySubCategory?: boolean | null | undefined;
|
|
187
277
|
lastSynchronize?: string | null | undefined;
|
|
188
278
|
commissionRate?: number | null | undefined;
|
|
279
|
+
menuSyncError?: string | null | undefined;
|
|
189
280
|
showProductAddon?: boolean | null | undefined;
|
|
190
281
|
reportConfig?: {
|
|
191
282
|
commissionRate: number;
|
|
@@ -200,11 +291,21 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
200
291
|
} | null | undefined;
|
|
201
292
|
hasSst?: boolean | null | undefined;
|
|
202
293
|
ignoreDiscount?: boolean | null | undefined;
|
|
203
|
-
menuSyncError?: string | null | undefined;
|
|
204
294
|
sstInclusive?: boolean | null | undefined;
|
|
205
295
|
syncIGI?: boolean | null | undefined;
|
|
296
|
+
additionalStores?: {
|
|
297
|
+
status?: string | null | undefined;
|
|
298
|
+
catalogId?: string | null | undefined;
|
|
299
|
+
updatedAt?: string | null | undefined;
|
|
300
|
+
lastSynchronize?: string | null | undefined;
|
|
301
|
+
menuSyncError?: string | null | undefined;
|
|
302
|
+
enable: boolean;
|
|
303
|
+
integrationId: string;
|
|
304
|
+
remoteId: string;
|
|
305
|
+
}[] | null | undefined;
|
|
206
306
|
enable: boolean;
|
|
207
307
|
autoCloseBill: boolean;
|
|
308
|
+
integrationId: string;
|
|
208
309
|
remoteId: string;
|
|
209
310
|
}>;
|
|
210
311
|
export type FdoFoodpandaDiscountCampaign = z.infer<typeof FdoFoodpandaDiscountCampaign>;
|