@feedmepos/mf-order-setting 0.0.72-prod → 0.0.73-dev
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/.env +1 -1
- package/README.md +7 -23
- package/dist/{KioskDevicesView-DIiEVc0i.js → KioskDevicesView-Dztw-Q35.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BD0Olm4_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ol419NZh.js} +3 -3
- package/dist/{KioskSettingView-Csm9he9M.js → KioskSettingView-BUHmoxyO.js} +183 -202
- package/dist/{KioskView-Ho2ts0j6.js → KioskView-B8j77zMA.js} +4 -4
- package/dist/OrderSettingsView-C5PK8CKZ.js +60009 -0
- package/dist/{app-xl2InG-H.js → app-C2_s0fkK.js} +5066 -4942
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BVqlMLNE.js → dayjs.min-B3nOmXcs.js} +1 -1
- package/dist/frontend/mf-order/src/api/menu/index.d.ts +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +10 -3
- package/dist/frontend/mf-order/src/app.d.ts +44 -8
- package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/composables/useQrOrderingEnabled.d.ts +2 -0
- package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
- package/dist/frontend/mf-order/src/main.d.ts +44 -8
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +21 -21
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +906 -1044
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +36 -3
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +3 -8
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +3 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +5 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +21 -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/GrabfoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +28 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue.d.ts +46 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/TngSetting.vue.d.ts +57 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +23 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +27 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +8 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/index-6PQJ07gD.js +665 -0
- package/dist/{index-B4qdL9W3.js → index-B4XxBqiV.js} +1 -1
- package/dist/lineman-settings.dto-DcYJFu0U.js +60394 -0
- package/dist/package/entity/_type-assert.d.ts +7 -0
- package/dist/package/entity/booking/booking.dto.d.ts +24 -24
- package/dist/package/entity/delivery/delivery.dto.d.ts +8 -8
- package/dist/package/entity/delivery/delivery.enum.d.ts +12 -0
- package/dist/package/entity/delivery/gateway/grab.dto.d.ts +2 -2
- package/dist/package/entity/delivery/gateway/kosmo.dto.d.ts +16 -16
- package/dist/package/entity/delivery/gateway/pandago.dto.d.ts +4 -4
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +282 -4591
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +32 -24
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +23 -11719
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +2 -2
- package/dist/package/entity/index.d.ts +12 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +140 -140
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +168 -168
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +63 -7
- package/dist/package/entity/marketing/marketing.dto.d.ts +4 -4
- package/dist/package/entity/member/member.dto.d.ts +6 -0
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +8 -8
- package/dist/package/entity/order/effects/effect.dto.d.ts +68 -16
- package/dist/package/entity/order/menu/menu.dto.d.ts +45 -8
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +358 -3853
- package/dist/package/entity/order/order.do.d.ts +239 -42
- package/dist/package/entity/order/order.dto.d.ts +6497 -2236
- package/dist/package/entity/order/payment/payment.dto.d.ts +52 -12
- package/dist/package/entity/order-platform/base-integration.do.d.ts +8 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +524 -524
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +58 -58
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +212 -284
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +331 -589
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +1 -1
- 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 +275 -275
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +3 -3
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +284 -284
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +40 -40
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +16 -16
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/gofood/gofood-order.do.d.ts +18 -18
- 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/gofood/gofood.dto.d.ts +32 -32
- package/dist/package/entity/order-platform/grabfood/grabfood-edit-order.do.d.ts +12 -12
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +134 -115
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +187 -165
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +8 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +49 -42
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +67 -54
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/lineman/lineman-settings.do.d.ts +37 -0
- package/dist/package/entity/order-platform/lineman/lineman-settings.dto.d.ts +40 -0
- package/dist/package/entity/order-platform/menu.dto.d.ts +716 -13887
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +136 -2
- package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +176 -176
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +62 -62
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +8 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +8 -2
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +1061 -0
- package/dist/package/entity/order-platform/tng/tng-order.do.d.ts +1915 -0
- package/dist/package/entity/order-platform/tng/tng-settings.do.d.ts +379 -0
- package/dist/package/entity/order-platform/tng/tng-settings.dto.d.ts +301 -0
- package/dist/package/entity/order-platform/tng/tng.dto.d.ts +1162 -0
- package/dist/package/entity/order-platform/tng/tng.enum.d.ts +29 -0
- package/dist/package/entity/order-setting/delivery/inhouse-delivery.do.d.ts +12 -0
- package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +12 -0
- package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +11 -0
- package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +9 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +2 -2
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +2 -2
- package/dist/package/entity/order-setting/order-setting.do.d.ts +55 -4
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +110 -8
- package/dist/package/entity/order-setting/pickup/pickup.do.d.ts +12 -0
- package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +12 -0
- package/dist/package/entity/payment/transaction.d.ts +80 -8
- package/dist/package/entity/printer/printer.do.d.ts +14 -14
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
- package/dist/package/entity/queue/queue.do.d.ts +236 -1901
- package/dist/package/entity/queue/queue.dto.d.ts +743 -445
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +27 -4
- package/dist/package/entity/websocket/websocket.dto.d.ts +10 -10
- package/dist/style.css +1 -0
- package/golar.config.ts +20 -0
- package/package.json +28 -22
- package/src/Entry.vue +2 -10
- package/src/api/menu/index.ts +1 -1
- package/src/api/remoteOrder/index.ts +176 -110
- package/src/composables/useQrOrderingEnabled.ts +66 -0
- package/src/helpers/menu.ts +1 -1
- package/src/locales/en-US.json +421 -412
- package/src/locales/ja-JP.json +1769 -1760
- package/src/locales/th-TH.json +409 -400
- package/src/locales/zh-CN.json +417 -408
- package/src/main.ts +4 -44
- package/src/router/index.ts +2 -2
- package/src/stores/menu/menu.ts +48 -27
- package/src/stores/restaurant/index.ts +24 -9
- package/src/utils/firebase-storage.ts +3 -13
- package/src/views/kiosk/settings/KioskSettingView.vue +3 -2
- package/src/views/order-settings/OrderSettingsView.vue +31 -11
- package/src/views/order-settings/delivery/DeliverySetting.vue +223 -11
- package/src/views/order-settings/delivery/components/TaxInput.vue +1 -1
- package/src/views/order-settings/delivery/delivery.data.ts +31 -10
- package/src/views/order-settings/delivery/delivery.ts +60 -28
- package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +40 -1
- package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +1 -1
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +15 -7
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +83 -27
- package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +79 -0
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +2 -0
- package/src/views/order-settings/delivery/integrated-delivery/TngSetting.vue +749 -0
- package/src/views/order-settings/dine-in/DineInSetting.vue +54 -23
- package/src/views/order-settings/general/GeneralSetting.vue +15 -6
- package/src/views/order-settings/pickup/PickUpSettingDialog.vue +31 -3
- package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +34 -0
- package/src/views/order-settings/pickup/Preorder.vue +13 -12
- package/src/views/order-settings/queue/QueueSetting.vue +30 -1
- package/src/views/order-settings/servicecharge/RateInput.vue +9 -7
- package/vite.config.ts +16 -16
- package/dist/OrderSettingsView-C0G8kP3v.js +0 -32222
- package/dist/frontend/mf-order/src/api/auth/index.d.ts +0 -7
- package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +0 -14
- package/dist/index-kCI8JdNP.js +0 -628
- package/dist/queue-transfer.dto-BLyCakS5.js +0 -45618
- package/src/api/auth/index.ts +0 -20
- package/src/stores/iframe/index.ts +0 -23
|
@@ -1158,22 +1158,22 @@ export declare const DRPromotion: z.ZodObject<{
|
|
|
1158
1158
|
}>;
|
|
1159
1159
|
pos_item_ids: z.ZodArray<z.ZodString, "many">;
|
|
1160
1160
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
id: string;
|
|
1162
1161
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
1163
1162
|
value: number;
|
|
1164
1163
|
amount: {
|
|
1165
1164
|
fractional: number;
|
|
1166
1165
|
currency_code: string;
|
|
1167
1166
|
};
|
|
1167
|
+
id: string;
|
|
1168
1168
|
pos_item_ids: string[];
|
|
1169
1169
|
}, {
|
|
1170
|
-
id: string;
|
|
1171
1170
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
1172
1171
|
value: number;
|
|
1173
1172
|
amount: {
|
|
1174
1173
|
fractional: number;
|
|
1175
1174
|
currency_code: string;
|
|
1176
1175
|
};
|
|
1176
|
+
id: string;
|
|
1177
1177
|
pos_item_ids: string[];
|
|
1178
1178
|
}>;
|
|
1179
1179
|
export declare const DRRemakeDetail: z.ZodObject<{
|
|
@@ -2012,22 +2012,22 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2012
2012
|
}>;
|
|
2013
2013
|
pos_item_ids: z.ZodArray<z.ZodString, "many">;
|
|
2014
2014
|
}, "strip", z.ZodTypeAny, {
|
|
2015
|
-
id: string;
|
|
2016
2015
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
2017
2016
|
value: number;
|
|
2018
2017
|
amount: {
|
|
2019
2018
|
fractional: number;
|
|
2020
2019
|
currency_code: string;
|
|
2021
2020
|
};
|
|
2021
|
+
id: string;
|
|
2022
2022
|
pos_item_ids: string[];
|
|
2023
2023
|
}, {
|
|
2024
|
-
id: string;
|
|
2025
2024
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
2026
2025
|
value: number;
|
|
2027
2026
|
amount: {
|
|
2028
2027
|
fractional: number;
|
|
2029
2028
|
currency_code: string;
|
|
2030
2029
|
};
|
|
2030
|
+
id: string;
|
|
2031
2031
|
pos_item_ids: string[];
|
|
2032
2032
|
}>;
|
|
2033
2033
|
remake_details: z.ZodObject<{
|
|
@@ -2089,41 +2089,12 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2089
2089
|
};
|
|
2090
2090
|
}>;
|
|
2091
2091
|
}, "strip", z.ZodTypeAny, {
|
|
2092
|
-
id: string;
|
|
2093
2092
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
2093
|
+
id: string;
|
|
2094
2094
|
surcharge: {
|
|
2095
2095
|
fractional: number;
|
|
2096
2096
|
currency_code: string;
|
|
2097
2097
|
};
|
|
2098
|
-
delivery: {
|
|
2099
|
-
location: {
|
|
2100
|
-
latitude: number;
|
|
2101
|
-
longitude: number;
|
|
2102
|
-
};
|
|
2103
|
-
delivery_fee: {
|
|
2104
|
-
fractional: number;
|
|
2105
|
-
currency_code: string;
|
|
2106
|
-
};
|
|
2107
|
-
city: string;
|
|
2108
|
-
line1: string;
|
|
2109
|
-
line2: string;
|
|
2110
|
-
postcode: string;
|
|
2111
|
-
delivery_notes: string;
|
|
2112
|
-
contact_number: string;
|
|
2113
|
-
contact_access_code: string;
|
|
2114
|
-
deliver_by: string;
|
|
2115
|
-
customer_name: string;
|
|
2116
|
-
};
|
|
2117
|
-
customer: {
|
|
2118
|
-
contact_number: string;
|
|
2119
|
-
contact_access_code: string;
|
|
2120
|
-
first_name: string;
|
|
2121
|
-
order_frequency_at_site: string;
|
|
2122
|
-
loyalty: {
|
|
2123
|
-
card_number: string;
|
|
2124
|
-
loyalty_id: string;
|
|
2125
|
-
};
|
|
2126
|
-
};
|
|
2127
2098
|
items: {
|
|
2128
2099
|
name: string;
|
|
2129
2100
|
quantity: number;
|
|
@@ -2206,6 +2177,35 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2206
2177
|
};
|
|
2207
2178
|
}[];
|
|
2208
2179
|
}[];
|
|
2180
|
+
customer: {
|
|
2181
|
+
contact_number: string;
|
|
2182
|
+
contact_access_code: string;
|
|
2183
|
+
first_name: string;
|
|
2184
|
+
order_frequency_at_site: string;
|
|
2185
|
+
loyalty: {
|
|
2186
|
+
card_number: string;
|
|
2187
|
+
loyalty_id: string;
|
|
2188
|
+
};
|
|
2189
|
+
};
|
|
2190
|
+
delivery: {
|
|
2191
|
+
location: {
|
|
2192
|
+
latitude: number;
|
|
2193
|
+
longitude: number;
|
|
2194
|
+
};
|
|
2195
|
+
delivery_fee: {
|
|
2196
|
+
fractional: number;
|
|
2197
|
+
currency_code: string;
|
|
2198
|
+
};
|
|
2199
|
+
city: string;
|
|
2200
|
+
line1: string;
|
|
2201
|
+
line2: string;
|
|
2202
|
+
postcode: string;
|
|
2203
|
+
delivery_notes: string;
|
|
2204
|
+
contact_number: string;
|
|
2205
|
+
contact_access_code: string;
|
|
2206
|
+
deliver_by: string;
|
|
2207
|
+
customer_name: string;
|
|
2208
|
+
};
|
|
2209
2209
|
subtotal: {
|
|
2210
2210
|
fractional: number;
|
|
2211
2211
|
currency_code: string;
|
|
@@ -2263,13 +2263,13 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2263
2263
|
start_preparing_at: string;
|
|
2264
2264
|
confirm_at: string;
|
|
2265
2265
|
promotions: {
|
|
2266
|
-
id: string;
|
|
2267
2266
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
2268
2267
|
value: number;
|
|
2269
2268
|
amount: {
|
|
2270
2269
|
fractional: number;
|
|
2271
2270
|
currency_code: string;
|
|
2272
2271
|
};
|
|
2272
|
+
id: string;
|
|
2273
2273
|
pos_item_ids: string[];
|
|
2274
2274
|
};
|
|
2275
2275
|
remake_details: {
|
|
@@ -2283,41 +2283,12 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2283
2283
|
provider: "UP" | "EDENRED" | "SODEXO" | "APETIZ" | "SWILE";
|
|
2284
2284
|
}[];
|
|
2285
2285
|
}, {
|
|
2286
|
-
id: string;
|
|
2287
2286
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
2287
|
+
id: string;
|
|
2288
2288
|
surcharge: {
|
|
2289
2289
|
fractional: number;
|
|
2290
2290
|
currency_code: string;
|
|
2291
2291
|
};
|
|
2292
|
-
delivery: {
|
|
2293
|
-
location: {
|
|
2294
|
-
latitude: number;
|
|
2295
|
-
longitude: number;
|
|
2296
|
-
};
|
|
2297
|
-
delivery_fee: {
|
|
2298
|
-
fractional: number;
|
|
2299
|
-
currency_code: string;
|
|
2300
|
-
};
|
|
2301
|
-
city: string;
|
|
2302
|
-
line1: string;
|
|
2303
|
-
line2: string;
|
|
2304
|
-
postcode: string;
|
|
2305
|
-
delivery_notes: string;
|
|
2306
|
-
contact_number: string;
|
|
2307
|
-
contact_access_code: string;
|
|
2308
|
-
deliver_by: string;
|
|
2309
|
-
customer_name: string;
|
|
2310
|
-
};
|
|
2311
|
-
customer: {
|
|
2312
|
-
contact_number: string;
|
|
2313
|
-
contact_access_code: string;
|
|
2314
|
-
first_name: string;
|
|
2315
|
-
order_frequency_at_site: string;
|
|
2316
|
-
loyalty: {
|
|
2317
|
-
card_number: string;
|
|
2318
|
-
loyalty_id: string;
|
|
2319
|
-
};
|
|
2320
|
-
};
|
|
2321
2292
|
items: {
|
|
2322
2293
|
name: string;
|
|
2323
2294
|
quantity: number;
|
|
@@ -2400,6 +2371,35 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2400
2371
|
};
|
|
2401
2372
|
}[];
|
|
2402
2373
|
}[];
|
|
2374
|
+
customer: {
|
|
2375
|
+
contact_number: string;
|
|
2376
|
+
contact_access_code: string;
|
|
2377
|
+
first_name: string;
|
|
2378
|
+
order_frequency_at_site: string;
|
|
2379
|
+
loyalty: {
|
|
2380
|
+
card_number: string;
|
|
2381
|
+
loyalty_id: string;
|
|
2382
|
+
};
|
|
2383
|
+
};
|
|
2384
|
+
delivery: {
|
|
2385
|
+
location: {
|
|
2386
|
+
latitude: number;
|
|
2387
|
+
longitude: number;
|
|
2388
|
+
};
|
|
2389
|
+
delivery_fee: {
|
|
2390
|
+
fractional: number;
|
|
2391
|
+
currency_code: string;
|
|
2392
|
+
};
|
|
2393
|
+
city: string;
|
|
2394
|
+
line1: string;
|
|
2395
|
+
line2: string;
|
|
2396
|
+
postcode: string;
|
|
2397
|
+
delivery_notes: string;
|
|
2398
|
+
contact_number: string;
|
|
2399
|
+
contact_access_code: string;
|
|
2400
|
+
deliver_by: string;
|
|
2401
|
+
customer_name: string;
|
|
2402
|
+
};
|
|
2403
2403
|
subtotal: {
|
|
2404
2404
|
fractional: number;
|
|
2405
2405
|
currency_code: string;
|
|
@@ -2457,13 +2457,13 @@ export declare const DROrder: z.ZodObject<{
|
|
|
2457
2457
|
start_preparing_at: string;
|
|
2458
2458
|
confirm_at: string;
|
|
2459
2459
|
promotions: {
|
|
2460
|
-
id: string;
|
|
2461
2460
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
2462
2461
|
value: number;
|
|
2463
2462
|
amount: {
|
|
2464
2463
|
fractional: number;
|
|
2465
2464
|
currency_code: string;
|
|
2466
2465
|
};
|
|
2466
|
+
id: string;
|
|
2467
2467
|
pos_item_ids: string[];
|
|
2468
2468
|
};
|
|
2469
2469
|
remake_details: {
|
|
@@ -3247,22 +3247,22 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3247
3247
|
}>;
|
|
3248
3248
|
pos_item_ids: z.ZodArray<z.ZodString, "many">;
|
|
3249
3249
|
}, "strip", z.ZodTypeAny, {
|
|
3250
|
-
id: string;
|
|
3251
3250
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
3252
3251
|
value: number;
|
|
3253
3252
|
amount: {
|
|
3254
3253
|
fractional: number;
|
|
3255
3254
|
currency_code: string;
|
|
3256
3255
|
};
|
|
3256
|
+
id: string;
|
|
3257
3257
|
pos_item_ids: string[];
|
|
3258
3258
|
}, {
|
|
3259
|
-
id: string;
|
|
3260
3259
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
3261
3260
|
value: number;
|
|
3262
3261
|
amount: {
|
|
3263
3262
|
fractional: number;
|
|
3264
3263
|
currency_code: string;
|
|
3265
3264
|
};
|
|
3265
|
+
id: string;
|
|
3266
3266
|
pos_item_ids: string[];
|
|
3267
3267
|
}>;
|
|
3268
3268
|
remake_details: z.ZodObject<{
|
|
@@ -3324,41 +3324,12 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3324
3324
|
};
|
|
3325
3325
|
}>;
|
|
3326
3326
|
}, "strip", z.ZodTypeAny, {
|
|
3327
|
-
id: string;
|
|
3328
3327
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
3328
|
+
id: string;
|
|
3329
3329
|
surcharge: {
|
|
3330
3330
|
fractional: number;
|
|
3331
3331
|
currency_code: string;
|
|
3332
3332
|
};
|
|
3333
|
-
delivery: {
|
|
3334
|
-
location: {
|
|
3335
|
-
latitude: number;
|
|
3336
|
-
longitude: number;
|
|
3337
|
-
};
|
|
3338
|
-
delivery_fee: {
|
|
3339
|
-
fractional: number;
|
|
3340
|
-
currency_code: string;
|
|
3341
|
-
};
|
|
3342
|
-
city: string;
|
|
3343
|
-
line1: string;
|
|
3344
|
-
line2: string;
|
|
3345
|
-
postcode: string;
|
|
3346
|
-
delivery_notes: string;
|
|
3347
|
-
contact_number: string;
|
|
3348
|
-
contact_access_code: string;
|
|
3349
|
-
deliver_by: string;
|
|
3350
|
-
customer_name: string;
|
|
3351
|
-
};
|
|
3352
|
-
customer: {
|
|
3353
|
-
contact_number: string;
|
|
3354
|
-
contact_access_code: string;
|
|
3355
|
-
first_name: string;
|
|
3356
|
-
order_frequency_at_site: string;
|
|
3357
|
-
loyalty: {
|
|
3358
|
-
card_number: string;
|
|
3359
|
-
loyalty_id: string;
|
|
3360
|
-
};
|
|
3361
|
-
};
|
|
3362
3333
|
items: {
|
|
3363
3334
|
name: string;
|
|
3364
3335
|
quantity: number;
|
|
@@ -3441,6 +3412,35 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3441
3412
|
};
|
|
3442
3413
|
}[];
|
|
3443
3414
|
}[];
|
|
3415
|
+
customer: {
|
|
3416
|
+
contact_number: string;
|
|
3417
|
+
contact_access_code: string;
|
|
3418
|
+
first_name: string;
|
|
3419
|
+
order_frequency_at_site: string;
|
|
3420
|
+
loyalty: {
|
|
3421
|
+
card_number: string;
|
|
3422
|
+
loyalty_id: string;
|
|
3423
|
+
};
|
|
3424
|
+
};
|
|
3425
|
+
delivery: {
|
|
3426
|
+
location: {
|
|
3427
|
+
latitude: number;
|
|
3428
|
+
longitude: number;
|
|
3429
|
+
};
|
|
3430
|
+
delivery_fee: {
|
|
3431
|
+
fractional: number;
|
|
3432
|
+
currency_code: string;
|
|
3433
|
+
};
|
|
3434
|
+
city: string;
|
|
3435
|
+
line1: string;
|
|
3436
|
+
line2: string;
|
|
3437
|
+
postcode: string;
|
|
3438
|
+
delivery_notes: string;
|
|
3439
|
+
contact_number: string;
|
|
3440
|
+
contact_access_code: string;
|
|
3441
|
+
deliver_by: string;
|
|
3442
|
+
customer_name: string;
|
|
3443
|
+
};
|
|
3444
3444
|
subtotal: {
|
|
3445
3445
|
fractional: number;
|
|
3446
3446
|
currency_code: string;
|
|
@@ -3498,13 +3498,13 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3498
3498
|
start_preparing_at: string;
|
|
3499
3499
|
confirm_at: string;
|
|
3500
3500
|
promotions: {
|
|
3501
|
-
id: string;
|
|
3502
3501
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
3503
3502
|
value: number;
|
|
3504
3503
|
amount: {
|
|
3505
3504
|
fractional: number;
|
|
3506
3505
|
currency_code: string;
|
|
3507
3506
|
};
|
|
3507
|
+
id: string;
|
|
3508
3508
|
pos_item_ids: string[];
|
|
3509
3509
|
};
|
|
3510
3510
|
remake_details: {
|
|
@@ -3518,41 +3518,12 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3518
3518
|
provider: "UP" | "EDENRED" | "SODEXO" | "APETIZ" | "SWILE";
|
|
3519
3519
|
}[];
|
|
3520
3520
|
}, {
|
|
3521
|
-
id: string;
|
|
3522
3521
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
3522
|
+
id: string;
|
|
3523
3523
|
surcharge: {
|
|
3524
3524
|
fractional: number;
|
|
3525
3525
|
currency_code: string;
|
|
3526
3526
|
};
|
|
3527
|
-
delivery: {
|
|
3528
|
-
location: {
|
|
3529
|
-
latitude: number;
|
|
3530
|
-
longitude: number;
|
|
3531
|
-
};
|
|
3532
|
-
delivery_fee: {
|
|
3533
|
-
fractional: number;
|
|
3534
|
-
currency_code: string;
|
|
3535
|
-
};
|
|
3536
|
-
city: string;
|
|
3537
|
-
line1: string;
|
|
3538
|
-
line2: string;
|
|
3539
|
-
postcode: string;
|
|
3540
|
-
delivery_notes: string;
|
|
3541
|
-
contact_number: string;
|
|
3542
|
-
contact_access_code: string;
|
|
3543
|
-
deliver_by: string;
|
|
3544
|
-
customer_name: string;
|
|
3545
|
-
};
|
|
3546
|
-
customer: {
|
|
3547
|
-
contact_number: string;
|
|
3548
|
-
contact_access_code: string;
|
|
3549
|
-
first_name: string;
|
|
3550
|
-
order_frequency_at_site: string;
|
|
3551
|
-
loyalty: {
|
|
3552
|
-
card_number: string;
|
|
3553
|
-
loyalty_id: string;
|
|
3554
|
-
};
|
|
3555
|
-
};
|
|
3556
3527
|
items: {
|
|
3557
3528
|
name: string;
|
|
3558
3529
|
quantity: number;
|
|
@@ -3635,25 +3606,54 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3635
3606
|
};
|
|
3636
3607
|
}[];
|
|
3637
3608
|
}[];
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3609
|
+
customer: {
|
|
3610
|
+
contact_number: string;
|
|
3611
|
+
contact_access_code: string;
|
|
3612
|
+
first_name: string;
|
|
3613
|
+
order_frequency_at_site: string;
|
|
3614
|
+
loyalty: {
|
|
3615
|
+
card_number: string;
|
|
3616
|
+
loyalty_id: string;
|
|
3617
|
+
};
|
|
3646
3618
|
};
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3619
|
+
delivery: {
|
|
3620
|
+
location: {
|
|
3621
|
+
latitude: number;
|
|
3622
|
+
longitude: number;
|
|
3623
|
+
};
|
|
3624
|
+
delivery_fee: {
|
|
3625
|
+
fractional: number;
|
|
3626
|
+
currency_code: string;
|
|
3627
|
+
};
|
|
3628
|
+
city: string;
|
|
3629
|
+
line1: string;
|
|
3630
|
+
line2: string;
|
|
3631
|
+
postcode: string;
|
|
3632
|
+
delivery_notes: string;
|
|
3633
|
+
contact_number: string;
|
|
3634
|
+
contact_access_code: string;
|
|
3635
|
+
deliver_by: string;
|
|
3636
|
+
customer_name: string;
|
|
3637
|
+
};
|
|
3638
|
+
subtotal: {
|
|
3639
|
+
fractional: number;
|
|
3640
|
+
currency_code: string;
|
|
3641
|
+
};
|
|
3642
|
+
brand_id: string;
|
|
3643
|
+
total_price: {
|
|
3644
|
+
fractional: number;
|
|
3645
|
+
currency_code: string;
|
|
3646
|
+
};
|
|
3647
|
+
order_number: string;
|
|
3648
|
+
location_id: string;
|
|
3649
|
+
display_id: string;
|
|
3650
|
+
status_log: {
|
|
3651
|
+
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
3652
|
+
at: string;
|
|
3653
|
+
}[];
|
|
3654
|
+
fulfillment_type: "restaurant" | "customer" | "deliveroo" | "table_service";
|
|
3655
|
+
order_notes: string;
|
|
3656
|
+
cutlery_notes: string;
|
|
3657
3657
|
asap: boolean;
|
|
3658
3658
|
prepare_for: string;
|
|
3659
3659
|
table_number: string;
|
|
@@ -3692,13 +3692,13 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3692
3692
|
start_preparing_at: string;
|
|
3693
3693
|
confirm_at: string;
|
|
3694
3694
|
promotions: {
|
|
3695
|
-
id: string;
|
|
3696
3695
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
3697
3696
|
value: number;
|
|
3698
3697
|
amount: {
|
|
3699
3698
|
fractional: number;
|
|
3700
3699
|
currency_code: string;
|
|
3701
3700
|
};
|
|
3701
|
+
id: string;
|
|
3702
3702
|
pos_item_ids: string[];
|
|
3703
3703
|
};
|
|
3704
3704
|
remake_details: {
|
|
@@ -3714,41 +3714,12 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3714
3714
|
}>;
|
|
3715
3715
|
}, "strip", z.ZodTypeAny, {
|
|
3716
3716
|
order: {
|
|
3717
|
-
id: string;
|
|
3718
3717
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
3718
|
+
id: string;
|
|
3719
3719
|
surcharge: {
|
|
3720
3720
|
fractional: number;
|
|
3721
3721
|
currency_code: string;
|
|
3722
3722
|
};
|
|
3723
|
-
delivery: {
|
|
3724
|
-
location: {
|
|
3725
|
-
latitude: number;
|
|
3726
|
-
longitude: number;
|
|
3727
|
-
};
|
|
3728
|
-
delivery_fee: {
|
|
3729
|
-
fractional: number;
|
|
3730
|
-
currency_code: string;
|
|
3731
|
-
};
|
|
3732
|
-
city: string;
|
|
3733
|
-
line1: string;
|
|
3734
|
-
line2: string;
|
|
3735
|
-
postcode: string;
|
|
3736
|
-
delivery_notes: string;
|
|
3737
|
-
contact_number: string;
|
|
3738
|
-
contact_access_code: string;
|
|
3739
|
-
deliver_by: string;
|
|
3740
|
-
customer_name: string;
|
|
3741
|
-
};
|
|
3742
|
-
customer: {
|
|
3743
|
-
contact_number: string;
|
|
3744
|
-
contact_access_code: string;
|
|
3745
|
-
first_name: string;
|
|
3746
|
-
order_frequency_at_site: string;
|
|
3747
|
-
loyalty: {
|
|
3748
|
-
card_number: string;
|
|
3749
|
-
loyalty_id: string;
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
3723
|
items: {
|
|
3753
3724
|
name: string;
|
|
3754
3725
|
quantity: number;
|
|
@@ -3831,6 +3802,35 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3831
3802
|
};
|
|
3832
3803
|
}[];
|
|
3833
3804
|
}[];
|
|
3805
|
+
customer: {
|
|
3806
|
+
contact_number: string;
|
|
3807
|
+
contact_access_code: string;
|
|
3808
|
+
first_name: string;
|
|
3809
|
+
order_frequency_at_site: string;
|
|
3810
|
+
loyalty: {
|
|
3811
|
+
card_number: string;
|
|
3812
|
+
loyalty_id: string;
|
|
3813
|
+
};
|
|
3814
|
+
};
|
|
3815
|
+
delivery: {
|
|
3816
|
+
location: {
|
|
3817
|
+
latitude: number;
|
|
3818
|
+
longitude: number;
|
|
3819
|
+
};
|
|
3820
|
+
delivery_fee: {
|
|
3821
|
+
fractional: number;
|
|
3822
|
+
currency_code: string;
|
|
3823
|
+
};
|
|
3824
|
+
city: string;
|
|
3825
|
+
line1: string;
|
|
3826
|
+
line2: string;
|
|
3827
|
+
postcode: string;
|
|
3828
|
+
delivery_notes: string;
|
|
3829
|
+
contact_number: string;
|
|
3830
|
+
contact_access_code: string;
|
|
3831
|
+
deliver_by: string;
|
|
3832
|
+
customer_name: string;
|
|
3833
|
+
};
|
|
3834
3834
|
subtotal: {
|
|
3835
3835
|
fractional: number;
|
|
3836
3836
|
currency_code: string;
|
|
@@ -3888,13 +3888,13 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3888
3888
|
start_preparing_at: string;
|
|
3889
3889
|
confirm_at: string;
|
|
3890
3890
|
promotions: {
|
|
3891
|
-
id: string;
|
|
3892
3891
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
3893
3892
|
value: number;
|
|
3894
3893
|
amount: {
|
|
3895
3894
|
fractional: number;
|
|
3896
3895
|
currency_code: string;
|
|
3897
3896
|
};
|
|
3897
|
+
id: string;
|
|
3898
3898
|
pos_item_ids: string[];
|
|
3899
3899
|
};
|
|
3900
3900
|
remake_details: {
|
|
@@ -3910,41 +3910,12 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
3910
3910
|
};
|
|
3911
3911
|
}, {
|
|
3912
3912
|
order: {
|
|
3913
|
-
id: string;
|
|
3914
3913
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
3914
|
+
id: string;
|
|
3915
3915
|
surcharge: {
|
|
3916
3916
|
fractional: number;
|
|
3917
3917
|
currency_code: string;
|
|
3918
3918
|
};
|
|
3919
|
-
delivery: {
|
|
3920
|
-
location: {
|
|
3921
|
-
latitude: number;
|
|
3922
|
-
longitude: number;
|
|
3923
|
-
};
|
|
3924
|
-
delivery_fee: {
|
|
3925
|
-
fractional: number;
|
|
3926
|
-
currency_code: string;
|
|
3927
|
-
};
|
|
3928
|
-
city: string;
|
|
3929
|
-
line1: string;
|
|
3930
|
-
line2: string;
|
|
3931
|
-
postcode: string;
|
|
3932
|
-
delivery_notes: string;
|
|
3933
|
-
contact_number: string;
|
|
3934
|
-
contact_access_code: string;
|
|
3935
|
-
deliver_by: string;
|
|
3936
|
-
customer_name: string;
|
|
3937
|
-
};
|
|
3938
|
-
customer: {
|
|
3939
|
-
contact_number: string;
|
|
3940
|
-
contact_access_code: string;
|
|
3941
|
-
first_name: string;
|
|
3942
|
-
order_frequency_at_site: string;
|
|
3943
|
-
loyalty: {
|
|
3944
|
-
card_number: string;
|
|
3945
|
-
loyalty_id: string;
|
|
3946
|
-
};
|
|
3947
|
-
};
|
|
3948
3919
|
items: {
|
|
3949
3920
|
name: string;
|
|
3950
3921
|
quantity: number;
|
|
@@ -4027,6 +3998,35 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
4027
3998
|
};
|
|
4028
3999
|
}[];
|
|
4029
4000
|
}[];
|
|
4001
|
+
customer: {
|
|
4002
|
+
contact_number: string;
|
|
4003
|
+
contact_access_code: string;
|
|
4004
|
+
first_name: string;
|
|
4005
|
+
order_frequency_at_site: string;
|
|
4006
|
+
loyalty: {
|
|
4007
|
+
card_number: string;
|
|
4008
|
+
loyalty_id: string;
|
|
4009
|
+
};
|
|
4010
|
+
};
|
|
4011
|
+
delivery: {
|
|
4012
|
+
location: {
|
|
4013
|
+
latitude: number;
|
|
4014
|
+
longitude: number;
|
|
4015
|
+
};
|
|
4016
|
+
delivery_fee: {
|
|
4017
|
+
fractional: number;
|
|
4018
|
+
currency_code: string;
|
|
4019
|
+
};
|
|
4020
|
+
city: string;
|
|
4021
|
+
line1: string;
|
|
4022
|
+
line2: string;
|
|
4023
|
+
postcode: string;
|
|
4024
|
+
delivery_notes: string;
|
|
4025
|
+
contact_number: string;
|
|
4026
|
+
contact_access_code: string;
|
|
4027
|
+
deliver_by: string;
|
|
4028
|
+
customer_name: string;
|
|
4029
|
+
};
|
|
4030
4030
|
subtotal: {
|
|
4031
4031
|
fractional: number;
|
|
4032
4032
|
currency_code: string;
|
|
@@ -4084,13 +4084,13 @@ export declare const DROrderEventBody: z.ZodObject<{
|
|
|
4084
4084
|
start_preparing_at: string;
|
|
4085
4085
|
confirm_at: string;
|
|
4086
4086
|
promotions: {
|
|
4087
|
-
id: string;
|
|
4088
4087
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
4089
4088
|
value: number;
|
|
4090
4089
|
amount: {
|
|
4091
4090
|
fractional: number;
|
|
4092
4091
|
currency_code: string;
|
|
4093
4092
|
};
|
|
4093
|
+
id: string;
|
|
4094
4094
|
pos_item_ids: string[];
|
|
4095
4095
|
};
|
|
4096
4096
|
remake_details: {
|
|
@@ -4877,22 +4877,22 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
4877
4877
|
}>;
|
|
4878
4878
|
pos_item_ids: z.ZodArray<z.ZodString, "many">;
|
|
4879
4879
|
}, "strip", z.ZodTypeAny, {
|
|
4880
|
-
id: string;
|
|
4881
4880
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
4882
4881
|
value: number;
|
|
4883
4882
|
amount: {
|
|
4884
4883
|
fractional: number;
|
|
4885
4884
|
currency_code: string;
|
|
4886
4885
|
};
|
|
4886
|
+
id: string;
|
|
4887
4887
|
pos_item_ids: string[];
|
|
4888
4888
|
}, {
|
|
4889
|
-
id: string;
|
|
4890
4889
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
4891
4890
|
value: number;
|
|
4892
4891
|
amount: {
|
|
4893
4892
|
fractional: number;
|
|
4894
4893
|
currency_code: string;
|
|
4895
4894
|
};
|
|
4895
|
+
id: string;
|
|
4896
4896
|
pos_item_ids: string[];
|
|
4897
4897
|
}>;
|
|
4898
4898
|
remake_details: z.ZodObject<{
|
|
@@ -4954,41 +4954,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
4954
4954
|
};
|
|
4955
4955
|
}>;
|
|
4956
4956
|
}, "strip", z.ZodTypeAny, {
|
|
4957
|
-
id: string;
|
|
4958
4957
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
4958
|
+
id: string;
|
|
4959
4959
|
surcharge: {
|
|
4960
4960
|
fractional: number;
|
|
4961
4961
|
currency_code: string;
|
|
4962
4962
|
};
|
|
4963
|
-
delivery: {
|
|
4964
|
-
location: {
|
|
4965
|
-
latitude: number;
|
|
4966
|
-
longitude: number;
|
|
4967
|
-
};
|
|
4968
|
-
delivery_fee: {
|
|
4969
|
-
fractional: number;
|
|
4970
|
-
currency_code: string;
|
|
4971
|
-
};
|
|
4972
|
-
city: string;
|
|
4973
|
-
line1: string;
|
|
4974
|
-
line2: string;
|
|
4975
|
-
postcode: string;
|
|
4976
|
-
delivery_notes: string;
|
|
4977
|
-
contact_number: string;
|
|
4978
|
-
contact_access_code: string;
|
|
4979
|
-
deliver_by: string;
|
|
4980
|
-
customer_name: string;
|
|
4981
|
-
};
|
|
4982
|
-
customer: {
|
|
4983
|
-
contact_number: string;
|
|
4984
|
-
contact_access_code: string;
|
|
4985
|
-
first_name: string;
|
|
4986
|
-
order_frequency_at_site: string;
|
|
4987
|
-
loyalty: {
|
|
4988
|
-
card_number: string;
|
|
4989
|
-
loyalty_id: string;
|
|
4990
|
-
};
|
|
4991
|
-
};
|
|
4992
4963
|
items: {
|
|
4993
4964
|
name: string;
|
|
4994
4965
|
quantity: number;
|
|
@@ -5071,6 +5042,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5071
5042
|
};
|
|
5072
5043
|
}[];
|
|
5073
5044
|
}[];
|
|
5045
|
+
customer: {
|
|
5046
|
+
contact_number: string;
|
|
5047
|
+
contact_access_code: string;
|
|
5048
|
+
first_name: string;
|
|
5049
|
+
order_frequency_at_site: string;
|
|
5050
|
+
loyalty: {
|
|
5051
|
+
card_number: string;
|
|
5052
|
+
loyalty_id: string;
|
|
5053
|
+
};
|
|
5054
|
+
};
|
|
5055
|
+
delivery: {
|
|
5056
|
+
location: {
|
|
5057
|
+
latitude: number;
|
|
5058
|
+
longitude: number;
|
|
5059
|
+
};
|
|
5060
|
+
delivery_fee: {
|
|
5061
|
+
fractional: number;
|
|
5062
|
+
currency_code: string;
|
|
5063
|
+
};
|
|
5064
|
+
city: string;
|
|
5065
|
+
line1: string;
|
|
5066
|
+
line2: string;
|
|
5067
|
+
postcode: string;
|
|
5068
|
+
delivery_notes: string;
|
|
5069
|
+
contact_number: string;
|
|
5070
|
+
contact_access_code: string;
|
|
5071
|
+
deliver_by: string;
|
|
5072
|
+
customer_name: string;
|
|
5073
|
+
};
|
|
5074
5074
|
subtotal: {
|
|
5075
5075
|
fractional: number;
|
|
5076
5076
|
currency_code: string;
|
|
@@ -5128,13 +5128,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5128
5128
|
start_preparing_at: string;
|
|
5129
5129
|
confirm_at: string;
|
|
5130
5130
|
promotions: {
|
|
5131
|
-
id: string;
|
|
5132
5131
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
5133
5132
|
value: number;
|
|
5134
5133
|
amount: {
|
|
5135
5134
|
fractional: number;
|
|
5136
5135
|
currency_code: string;
|
|
5137
5136
|
};
|
|
5137
|
+
id: string;
|
|
5138
5138
|
pos_item_ids: string[];
|
|
5139
5139
|
};
|
|
5140
5140
|
remake_details: {
|
|
@@ -5148,41 +5148,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5148
5148
|
provider: "UP" | "EDENRED" | "SODEXO" | "APETIZ" | "SWILE";
|
|
5149
5149
|
}[];
|
|
5150
5150
|
}, {
|
|
5151
|
-
id: string;
|
|
5152
5151
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
5152
|
+
id: string;
|
|
5153
5153
|
surcharge: {
|
|
5154
5154
|
fractional: number;
|
|
5155
5155
|
currency_code: string;
|
|
5156
5156
|
};
|
|
5157
|
-
delivery: {
|
|
5158
|
-
location: {
|
|
5159
|
-
latitude: number;
|
|
5160
|
-
longitude: number;
|
|
5161
|
-
};
|
|
5162
|
-
delivery_fee: {
|
|
5163
|
-
fractional: number;
|
|
5164
|
-
currency_code: string;
|
|
5165
|
-
};
|
|
5166
|
-
city: string;
|
|
5167
|
-
line1: string;
|
|
5168
|
-
line2: string;
|
|
5169
|
-
postcode: string;
|
|
5170
|
-
delivery_notes: string;
|
|
5171
|
-
contact_number: string;
|
|
5172
|
-
contact_access_code: string;
|
|
5173
|
-
deliver_by: string;
|
|
5174
|
-
customer_name: string;
|
|
5175
|
-
};
|
|
5176
|
-
customer: {
|
|
5177
|
-
contact_number: string;
|
|
5178
|
-
contact_access_code: string;
|
|
5179
|
-
first_name: string;
|
|
5180
|
-
order_frequency_at_site: string;
|
|
5181
|
-
loyalty: {
|
|
5182
|
-
card_number: string;
|
|
5183
|
-
loyalty_id: string;
|
|
5184
|
-
};
|
|
5185
|
-
};
|
|
5186
5157
|
items: {
|
|
5187
5158
|
name: string;
|
|
5188
5159
|
quantity: number;
|
|
@@ -5265,6 +5236,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5265
5236
|
};
|
|
5266
5237
|
}[];
|
|
5267
5238
|
}[];
|
|
5239
|
+
customer: {
|
|
5240
|
+
contact_number: string;
|
|
5241
|
+
contact_access_code: string;
|
|
5242
|
+
first_name: string;
|
|
5243
|
+
order_frequency_at_site: string;
|
|
5244
|
+
loyalty: {
|
|
5245
|
+
card_number: string;
|
|
5246
|
+
loyalty_id: string;
|
|
5247
|
+
};
|
|
5248
|
+
};
|
|
5249
|
+
delivery: {
|
|
5250
|
+
location: {
|
|
5251
|
+
latitude: number;
|
|
5252
|
+
longitude: number;
|
|
5253
|
+
};
|
|
5254
|
+
delivery_fee: {
|
|
5255
|
+
fractional: number;
|
|
5256
|
+
currency_code: string;
|
|
5257
|
+
};
|
|
5258
|
+
city: string;
|
|
5259
|
+
line1: string;
|
|
5260
|
+
line2: string;
|
|
5261
|
+
postcode: string;
|
|
5262
|
+
delivery_notes: string;
|
|
5263
|
+
contact_number: string;
|
|
5264
|
+
contact_access_code: string;
|
|
5265
|
+
deliver_by: string;
|
|
5266
|
+
customer_name: string;
|
|
5267
|
+
};
|
|
5268
5268
|
subtotal: {
|
|
5269
5269
|
fractional: number;
|
|
5270
5270
|
currency_code: string;
|
|
@@ -5322,13 +5322,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5322
5322
|
start_preparing_at: string;
|
|
5323
5323
|
confirm_at: string;
|
|
5324
5324
|
promotions: {
|
|
5325
|
-
id: string;
|
|
5326
5325
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
5327
5326
|
value: number;
|
|
5328
5327
|
amount: {
|
|
5329
5328
|
fractional: number;
|
|
5330
5329
|
currency_code: string;
|
|
5331
5330
|
};
|
|
5331
|
+
id: string;
|
|
5332
5332
|
pos_item_ids: string[];
|
|
5333
5333
|
};
|
|
5334
5334
|
remake_details: {
|
|
@@ -5344,41 +5344,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5344
5344
|
}>;
|
|
5345
5345
|
}, "strip", z.ZodTypeAny, {
|
|
5346
5346
|
order: {
|
|
5347
|
-
id: string;
|
|
5348
5347
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
5348
|
+
id: string;
|
|
5349
5349
|
surcharge: {
|
|
5350
5350
|
fractional: number;
|
|
5351
5351
|
currency_code: string;
|
|
5352
5352
|
};
|
|
5353
|
-
delivery: {
|
|
5354
|
-
location: {
|
|
5355
|
-
latitude: number;
|
|
5356
|
-
longitude: number;
|
|
5357
|
-
};
|
|
5358
|
-
delivery_fee: {
|
|
5359
|
-
fractional: number;
|
|
5360
|
-
currency_code: string;
|
|
5361
|
-
};
|
|
5362
|
-
city: string;
|
|
5363
|
-
line1: string;
|
|
5364
|
-
line2: string;
|
|
5365
|
-
postcode: string;
|
|
5366
|
-
delivery_notes: string;
|
|
5367
|
-
contact_number: string;
|
|
5368
|
-
contact_access_code: string;
|
|
5369
|
-
deliver_by: string;
|
|
5370
|
-
customer_name: string;
|
|
5371
|
-
};
|
|
5372
|
-
customer: {
|
|
5373
|
-
contact_number: string;
|
|
5374
|
-
contact_access_code: string;
|
|
5375
|
-
first_name: string;
|
|
5376
|
-
order_frequency_at_site: string;
|
|
5377
|
-
loyalty: {
|
|
5378
|
-
card_number: string;
|
|
5379
|
-
loyalty_id: string;
|
|
5380
|
-
};
|
|
5381
|
-
};
|
|
5382
5353
|
items: {
|
|
5383
5354
|
name: string;
|
|
5384
5355
|
quantity: number;
|
|
@@ -5461,6 +5432,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5461
5432
|
};
|
|
5462
5433
|
}[];
|
|
5463
5434
|
}[];
|
|
5435
|
+
customer: {
|
|
5436
|
+
contact_number: string;
|
|
5437
|
+
contact_access_code: string;
|
|
5438
|
+
first_name: string;
|
|
5439
|
+
order_frequency_at_site: string;
|
|
5440
|
+
loyalty: {
|
|
5441
|
+
card_number: string;
|
|
5442
|
+
loyalty_id: string;
|
|
5443
|
+
};
|
|
5444
|
+
};
|
|
5445
|
+
delivery: {
|
|
5446
|
+
location: {
|
|
5447
|
+
latitude: number;
|
|
5448
|
+
longitude: number;
|
|
5449
|
+
};
|
|
5450
|
+
delivery_fee: {
|
|
5451
|
+
fractional: number;
|
|
5452
|
+
currency_code: string;
|
|
5453
|
+
};
|
|
5454
|
+
city: string;
|
|
5455
|
+
line1: string;
|
|
5456
|
+
line2: string;
|
|
5457
|
+
postcode: string;
|
|
5458
|
+
delivery_notes: string;
|
|
5459
|
+
contact_number: string;
|
|
5460
|
+
contact_access_code: string;
|
|
5461
|
+
deliver_by: string;
|
|
5462
|
+
customer_name: string;
|
|
5463
|
+
};
|
|
5464
5464
|
subtotal: {
|
|
5465
5465
|
fractional: number;
|
|
5466
5466
|
currency_code: string;
|
|
@@ -5518,13 +5518,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5518
5518
|
start_preparing_at: string;
|
|
5519
5519
|
confirm_at: string;
|
|
5520
5520
|
promotions: {
|
|
5521
|
-
id: string;
|
|
5522
5521
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
5523
5522
|
value: number;
|
|
5524
5523
|
amount: {
|
|
5525
5524
|
fractional: number;
|
|
5526
5525
|
currency_code: string;
|
|
5527
5526
|
};
|
|
5527
|
+
id: string;
|
|
5528
5528
|
pos_item_ids: string[];
|
|
5529
5529
|
};
|
|
5530
5530
|
remake_details: {
|
|
@@ -5540,41 +5540,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5540
5540
|
};
|
|
5541
5541
|
}, {
|
|
5542
5542
|
order: {
|
|
5543
|
-
id: string;
|
|
5544
5543
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
5544
|
+
id: string;
|
|
5545
5545
|
surcharge: {
|
|
5546
5546
|
fractional: number;
|
|
5547
5547
|
currency_code: string;
|
|
5548
5548
|
};
|
|
5549
|
-
delivery: {
|
|
5550
|
-
location: {
|
|
5551
|
-
latitude: number;
|
|
5552
|
-
longitude: number;
|
|
5553
|
-
};
|
|
5554
|
-
delivery_fee: {
|
|
5555
|
-
fractional: number;
|
|
5556
|
-
currency_code: string;
|
|
5557
|
-
};
|
|
5558
|
-
city: string;
|
|
5559
|
-
line1: string;
|
|
5560
|
-
line2: string;
|
|
5561
|
-
postcode: string;
|
|
5562
|
-
delivery_notes: string;
|
|
5563
|
-
contact_number: string;
|
|
5564
|
-
contact_access_code: string;
|
|
5565
|
-
deliver_by: string;
|
|
5566
|
-
customer_name: string;
|
|
5567
|
-
};
|
|
5568
|
-
customer: {
|
|
5569
|
-
contact_number: string;
|
|
5570
|
-
contact_access_code: string;
|
|
5571
|
-
first_name: string;
|
|
5572
|
-
order_frequency_at_site: string;
|
|
5573
|
-
loyalty: {
|
|
5574
|
-
card_number: string;
|
|
5575
|
-
loyalty_id: string;
|
|
5576
|
-
};
|
|
5577
|
-
};
|
|
5578
5549
|
items: {
|
|
5579
5550
|
name: string;
|
|
5580
5551
|
quantity: number;
|
|
@@ -5657,6 +5628,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5657
5628
|
};
|
|
5658
5629
|
}[];
|
|
5659
5630
|
}[];
|
|
5631
|
+
customer: {
|
|
5632
|
+
contact_number: string;
|
|
5633
|
+
contact_access_code: string;
|
|
5634
|
+
first_name: string;
|
|
5635
|
+
order_frequency_at_site: string;
|
|
5636
|
+
loyalty: {
|
|
5637
|
+
card_number: string;
|
|
5638
|
+
loyalty_id: string;
|
|
5639
|
+
};
|
|
5640
|
+
};
|
|
5641
|
+
delivery: {
|
|
5642
|
+
location: {
|
|
5643
|
+
latitude: number;
|
|
5644
|
+
longitude: number;
|
|
5645
|
+
};
|
|
5646
|
+
delivery_fee: {
|
|
5647
|
+
fractional: number;
|
|
5648
|
+
currency_code: string;
|
|
5649
|
+
};
|
|
5650
|
+
city: string;
|
|
5651
|
+
line1: string;
|
|
5652
|
+
line2: string;
|
|
5653
|
+
postcode: string;
|
|
5654
|
+
delivery_notes: string;
|
|
5655
|
+
contact_number: string;
|
|
5656
|
+
contact_access_code: string;
|
|
5657
|
+
deliver_by: string;
|
|
5658
|
+
customer_name: string;
|
|
5659
|
+
};
|
|
5660
5660
|
subtotal: {
|
|
5661
5661
|
fractional: number;
|
|
5662
5662
|
currency_code: string;
|
|
@@ -5714,13 +5714,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5714
5714
|
start_preparing_at: string;
|
|
5715
5715
|
confirm_at: string;
|
|
5716
5716
|
promotions: {
|
|
5717
|
-
id: string;
|
|
5718
5717
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
5719
5718
|
value: number;
|
|
5720
5719
|
amount: {
|
|
5721
5720
|
fractional: number;
|
|
5722
5721
|
currency_code: string;
|
|
5723
5722
|
};
|
|
5723
|
+
id: string;
|
|
5724
5724
|
pos_item_ids: string[];
|
|
5725
5725
|
};
|
|
5726
5726
|
remake_details: {
|
|
@@ -5739,41 +5739,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5739
5739
|
event: "order.new" | "order.status_update";
|
|
5740
5740
|
body: {
|
|
5741
5741
|
order: {
|
|
5742
|
-
id: string;
|
|
5743
5742
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
5743
|
+
id: string;
|
|
5744
5744
|
surcharge: {
|
|
5745
5745
|
fractional: number;
|
|
5746
5746
|
currency_code: string;
|
|
5747
5747
|
};
|
|
5748
|
-
delivery: {
|
|
5749
|
-
location: {
|
|
5750
|
-
latitude: number;
|
|
5751
|
-
longitude: number;
|
|
5752
|
-
};
|
|
5753
|
-
delivery_fee: {
|
|
5754
|
-
fractional: number;
|
|
5755
|
-
currency_code: string;
|
|
5756
|
-
};
|
|
5757
|
-
city: string;
|
|
5758
|
-
line1: string;
|
|
5759
|
-
line2: string;
|
|
5760
|
-
postcode: string;
|
|
5761
|
-
delivery_notes: string;
|
|
5762
|
-
contact_number: string;
|
|
5763
|
-
contact_access_code: string;
|
|
5764
|
-
deliver_by: string;
|
|
5765
|
-
customer_name: string;
|
|
5766
|
-
};
|
|
5767
|
-
customer: {
|
|
5768
|
-
contact_number: string;
|
|
5769
|
-
contact_access_code: string;
|
|
5770
|
-
first_name: string;
|
|
5771
|
-
order_frequency_at_site: string;
|
|
5772
|
-
loyalty: {
|
|
5773
|
-
card_number: string;
|
|
5774
|
-
loyalty_id: string;
|
|
5775
|
-
};
|
|
5776
|
-
};
|
|
5777
5748
|
items: {
|
|
5778
5749
|
name: string;
|
|
5779
5750
|
quantity: number;
|
|
@@ -5856,6 +5827,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5856
5827
|
};
|
|
5857
5828
|
}[];
|
|
5858
5829
|
}[];
|
|
5830
|
+
customer: {
|
|
5831
|
+
contact_number: string;
|
|
5832
|
+
contact_access_code: string;
|
|
5833
|
+
first_name: string;
|
|
5834
|
+
order_frequency_at_site: string;
|
|
5835
|
+
loyalty: {
|
|
5836
|
+
card_number: string;
|
|
5837
|
+
loyalty_id: string;
|
|
5838
|
+
};
|
|
5839
|
+
};
|
|
5840
|
+
delivery: {
|
|
5841
|
+
location: {
|
|
5842
|
+
latitude: number;
|
|
5843
|
+
longitude: number;
|
|
5844
|
+
};
|
|
5845
|
+
delivery_fee: {
|
|
5846
|
+
fractional: number;
|
|
5847
|
+
currency_code: string;
|
|
5848
|
+
};
|
|
5849
|
+
city: string;
|
|
5850
|
+
line1: string;
|
|
5851
|
+
line2: string;
|
|
5852
|
+
postcode: string;
|
|
5853
|
+
delivery_notes: string;
|
|
5854
|
+
contact_number: string;
|
|
5855
|
+
contact_access_code: string;
|
|
5856
|
+
deliver_by: string;
|
|
5857
|
+
customer_name: string;
|
|
5858
|
+
};
|
|
5859
5859
|
subtotal: {
|
|
5860
5860
|
fractional: number;
|
|
5861
5861
|
currency_code: string;
|
|
@@ -5913,13 +5913,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5913
5913
|
start_preparing_at: string;
|
|
5914
5914
|
confirm_at: string;
|
|
5915
5915
|
promotions: {
|
|
5916
|
-
id: string;
|
|
5917
5916
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
5918
5917
|
value: number;
|
|
5919
5918
|
amount: {
|
|
5920
5919
|
fractional: number;
|
|
5921
5920
|
currency_code: string;
|
|
5922
5921
|
};
|
|
5922
|
+
id: string;
|
|
5923
5923
|
pos_item_ids: string[];
|
|
5924
5924
|
};
|
|
5925
5925
|
remake_details: {
|
|
@@ -5938,41 +5938,12 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
5938
5938
|
event: "order.new" | "order.status_update";
|
|
5939
5939
|
body: {
|
|
5940
5940
|
order: {
|
|
5941
|
-
id: string;
|
|
5942
5941
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
5942
|
+
id: string;
|
|
5943
5943
|
surcharge: {
|
|
5944
5944
|
fractional: number;
|
|
5945
5945
|
currency_code: string;
|
|
5946
5946
|
};
|
|
5947
|
-
delivery: {
|
|
5948
|
-
location: {
|
|
5949
|
-
latitude: number;
|
|
5950
|
-
longitude: number;
|
|
5951
|
-
};
|
|
5952
|
-
delivery_fee: {
|
|
5953
|
-
fractional: number;
|
|
5954
|
-
currency_code: string;
|
|
5955
|
-
};
|
|
5956
|
-
city: string;
|
|
5957
|
-
line1: string;
|
|
5958
|
-
line2: string;
|
|
5959
|
-
postcode: string;
|
|
5960
|
-
delivery_notes: string;
|
|
5961
|
-
contact_number: string;
|
|
5962
|
-
contact_access_code: string;
|
|
5963
|
-
deliver_by: string;
|
|
5964
|
-
customer_name: string;
|
|
5965
|
-
};
|
|
5966
|
-
customer: {
|
|
5967
|
-
contact_number: string;
|
|
5968
|
-
contact_access_code: string;
|
|
5969
|
-
first_name: string;
|
|
5970
|
-
order_frequency_at_site: string;
|
|
5971
|
-
loyalty: {
|
|
5972
|
-
card_number: string;
|
|
5973
|
-
loyalty_id: string;
|
|
5974
|
-
};
|
|
5975
|
-
};
|
|
5976
5947
|
items: {
|
|
5977
5948
|
name: string;
|
|
5978
5949
|
quantity: number;
|
|
@@ -6055,6 +6026,35 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
6055
6026
|
};
|
|
6056
6027
|
}[];
|
|
6057
6028
|
}[];
|
|
6029
|
+
customer: {
|
|
6030
|
+
contact_number: string;
|
|
6031
|
+
contact_access_code: string;
|
|
6032
|
+
first_name: string;
|
|
6033
|
+
order_frequency_at_site: string;
|
|
6034
|
+
loyalty: {
|
|
6035
|
+
card_number: string;
|
|
6036
|
+
loyalty_id: string;
|
|
6037
|
+
};
|
|
6038
|
+
};
|
|
6039
|
+
delivery: {
|
|
6040
|
+
location: {
|
|
6041
|
+
latitude: number;
|
|
6042
|
+
longitude: number;
|
|
6043
|
+
};
|
|
6044
|
+
delivery_fee: {
|
|
6045
|
+
fractional: number;
|
|
6046
|
+
currency_code: string;
|
|
6047
|
+
};
|
|
6048
|
+
city: string;
|
|
6049
|
+
line1: string;
|
|
6050
|
+
line2: string;
|
|
6051
|
+
postcode: string;
|
|
6052
|
+
delivery_notes: string;
|
|
6053
|
+
contact_number: string;
|
|
6054
|
+
contact_access_code: string;
|
|
6055
|
+
deliver_by: string;
|
|
6056
|
+
customer_name: string;
|
|
6057
|
+
};
|
|
6058
6058
|
subtotal: {
|
|
6059
6059
|
fractional: number;
|
|
6060
6060
|
currency_code: string;
|
|
@@ -6112,13 +6112,13 @@ export declare const DROrderEvent: z.ZodObject<{
|
|
|
6112
6112
|
start_preparing_at: string;
|
|
6113
6113
|
confirm_at: string;
|
|
6114
6114
|
promotions: {
|
|
6115
|
-
id: string;
|
|
6116
6115
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
6117
6116
|
value: number;
|
|
6118
6117
|
amount: {
|
|
6119
6118
|
fractional: number;
|
|
6120
6119
|
currency_code: string;
|
|
6121
6120
|
};
|
|
6121
|
+
id: string;
|
|
6122
6122
|
pos_item_ids: string[];
|
|
6123
6123
|
};
|
|
6124
6124
|
remake_details: {
|
|
@@ -6925,22 +6925,22 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
6925
6925
|
}>;
|
|
6926
6926
|
pos_item_ids: z.ZodArray<z.ZodString, "many">;
|
|
6927
6927
|
}, "strip", z.ZodTypeAny, {
|
|
6928
|
-
id: string;
|
|
6929
6928
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
6930
6929
|
value: number;
|
|
6931
6930
|
amount: {
|
|
6932
6931
|
fractional: number;
|
|
6933
6932
|
currency_code: string;
|
|
6934
6933
|
};
|
|
6934
|
+
id: string;
|
|
6935
6935
|
pos_item_ids: string[];
|
|
6936
6936
|
}, {
|
|
6937
|
-
id: string;
|
|
6938
6937
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
6939
6938
|
value: number;
|
|
6940
6939
|
amount: {
|
|
6941
6940
|
fractional: number;
|
|
6942
6941
|
currency_code: string;
|
|
6943
6942
|
};
|
|
6943
|
+
id: string;
|
|
6944
6944
|
pos_item_ids: string[];
|
|
6945
6945
|
}>;
|
|
6946
6946
|
remake_details: z.ZodObject<{
|
|
@@ -7002,41 +7002,12 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7002
7002
|
};
|
|
7003
7003
|
}>;
|
|
7004
7004
|
}, "strip", z.ZodTypeAny, {
|
|
7005
|
-
id: string;
|
|
7006
7005
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7006
|
+
id: string;
|
|
7007
7007
|
surcharge: {
|
|
7008
7008
|
fractional: number;
|
|
7009
7009
|
currency_code: string;
|
|
7010
7010
|
};
|
|
7011
|
-
delivery: {
|
|
7012
|
-
location: {
|
|
7013
|
-
latitude: number;
|
|
7014
|
-
longitude: number;
|
|
7015
|
-
};
|
|
7016
|
-
delivery_fee: {
|
|
7017
|
-
fractional: number;
|
|
7018
|
-
currency_code: string;
|
|
7019
|
-
};
|
|
7020
|
-
city: string;
|
|
7021
|
-
line1: string;
|
|
7022
|
-
line2: string;
|
|
7023
|
-
postcode: string;
|
|
7024
|
-
delivery_notes: string;
|
|
7025
|
-
contact_number: string;
|
|
7026
|
-
contact_access_code: string;
|
|
7027
|
-
deliver_by: string;
|
|
7028
|
-
customer_name: string;
|
|
7029
|
-
};
|
|
7030
|
-
customer: {
|
|
7031
|
-
contact_number: string;
|
|
7032
|
-
contact_access_code: string;
|
|
7033
|
-
first_name: string;
|
|
7034
|
-
order_frequency_at_site: string;
|
|
7035
|
-
loyalty: {
|
|
7036
|
-
card_number: string;
|
|
7037
|
-
loyalty_id: string;
|
|
7038
|
-
};
|
|
7039
|
-
};
|
|
7040
7011
|
items: {
|
|
7041
7012
|
name: string;
|
|
7042
7013
|
quantity: number;
|
|
@@ -7119,6 +7090,35 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7119
7090
|
};
|
|
7120
7091
|
}[];
|
|
7121
7092
|
}[];
|
|
7093
|
+
customer: {
|
|
7094
|
+
contact_number: string;
|
|
7095
|
+
contact_access_code: string;
|
|
7096
|
+
first_name: string;
|
|
7097
|
+
order_frequency_at_site: string;
|
|
7098
|
+
loyalty: {
|
|
7099
|
+
card_number: string;
|
|
7100
|
+
loyalty_id: string;
|
|
7101
|
+
};
|
|
7102
|
+
};
|
|
7103
|
+
delivery: {
|
|
7104
|
+
location: {
|
|
7105
|
+
latitude: number;
|
|
7106
|
+
longitude: number;
|
|
7107
|
+
};
|
|
7108
|
+
delivery_fee: {
|
|
7109
|
+
fractional: number;
|
|
7110
|
+
currency_code: string;
|
|
7111
|
+
};
|
|
7112
|
+
city: string;
|
|
7113
|
+
line1: string;
|
|
7114
|
+
line2: string;
|
|
7115
|
+
postcode: string;
|
|
7116
|
+
delivery_notes: string;
|
|
7117
|
+
contact_number: string;
|
|
7118
|
+
contact_access_code: string;
|
|
7119
|
+
deliver_by: string;
|
|
7120
|
+
customer_name: string;
|
|
7121
|
+
};
|
|
7122
7122
|
subtotal: {
|
|
7123
7123
|
fractional: number;
|
|
7124
7124
|
currency_code: string;
|
|
@@ -7176,13 +7176,13 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7176
7176
|
start_preparing_at: string;
|
|
7177
7177
|
confirm_at: string;
|
|
7178
7178
|
promotions: {
|
|
7179
|
-
id: string;
|
|
7180
7179
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
7181
7180
|
value: number;
|
|
7182
7181
|
amount: {
|
|
7183
7182
|
fractional: number;
|
|
7184
7183
|
currency_code: string;
|
|
7185
7184
|
};
|
|
7185
|
+
id: string;
|
|
7186
7186
|
pos_item_ids: string[];
|
|
7187
7187
|
};
|
|
7188
7188
|
remake_details: {
|
|
@@ -7196,41 +7196,12 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7196
7196
|
provider: "UP" | "EDENRED" | "SODEXO" | "APETIZ" | "SWILE";
|
|
7197
7197
|
}[];
|
|
7198
7198
|
}, {
|
|
7199
|
-
id: string;
|
|
7200
7199
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7200
|
+
id: string;
|
|
7201
7201
|
surcharge: {
|
|
7202
7202
|
fractional: number;
|
|
7203
7203
|
currency_code: string;
|
|
7204
7204
|
};
|
|
7205
|
-
delivery: {
|
|
7206
|
-
location: {
|
|
7207
|
-
latitude: number;
|
|
7208
|
-
longitude: number;
|
|
7209
|
-
};
|
|
7210
|
-
delivery_fee: {
|
|
7211
|
-
fractional: number;
|
|
7212
|
-
currency_code: string;
|
|
7213
|
-
};
|
|
7214
|
-
city: string;
|
|
7215
|
-
line1: string;
|
|
7216
|
-
line2: string;
|
|
7217
|
-
postcode: string;
|
|
7218
|
-
delivery_notes: string;
|
|
7219
|
-
contact_number: string;
|
|
7220
|
-
contact_access_code: string;
|
|
7221
|
-
deliver_by: string;
|
|
7222
|
-
customer_name: string;
|
|
7223
|
-
};
|
|
7224
|
-
customer: {
|
|
7225
|
-
contact_number: string;
|
|
7226
|
-
contact_access_code: string;
|
|
7227
|
-
first_name: string;
|
|
7228
|
-
order_frequency_at_site: string;
|
|
7229
|
-
loyalty: {
|
|
7230
|
-
card_number: string;
|
|
7231
|
-
loyalty_id: string;
|
|
7232
|
-
};
|
|
7233
|
-
};
|
|
7234
7205
|
items: {
|
|
7235
7206
|
name: string;
|
|
7236
7207
|
quantity: number;
|
|
@@ -7313,6 +7284,35 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7313
7284
|
};
|
|
7314
7285
|
}[];
|
|
7315
7286
|
}[];
|
|
7287
|
+
customer: {
|
|
7288
|
+
contact_number: string;
|
|
7289
|
+
contact_access_code: string;
|
|
7290
|
+
first_name: string;
|
|
7291
|
+
order_frequency_at_site: string;
|
|
7292
|
+
loyalty: {
|
|
7293
|
+
card_number: string;
|
|
7294
|
+
loyalty_id: string;
|
|
7295
|
+
};
|
|
7296
|
+
};
|
|
7297
|
+
delivery: {
|
|
7298
|
+
location: {
|
|
7299
|
+
latitude: number;
|
|
7300
|
+
longitude: number;
|
|
7301
|
+
};
|
|
7302
|
+
delivery_fee: {
|
|
7303
|
+
fractional: number;
|
|
7304
|
+
currency_code: string;
|
|
7305
|
+
};
|
|
7306
|
+
city: string;
|
|
7307
|
+
line1: string;
|
|
7308
|
+
line2: string;
|
|
7309
|
+
postcode: string;
|
|
7310
|
+
delivery_notes: string;
|
|
7311
|
+
contact_number: string;
|
|
7312
|
+
contact_access_code: string;
|
|
7313
|
+
deliver_by: string;
|
|
7314
|
+
customer_name: string;
|
|
7315
|
+
};
|
|
7316
7316
|
subtotal: {
|
|
7317
7317
|
fractional: number;
|
|
7318
7318
|
currency_code: string;
|
|
@@ -7370,13 +7370,13 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7370
7370
|
start_preparing_at: string;
|
|
7371
7371
|
confirm_at: string;
|
|
7372
7372
|
promotions: {
|
|
7373
|
-
id: string;
|
|
7374
7373
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
7375
7374
|
value: number;
|
|
7376
7375
|
amount: {
|
|
7377
7376
|
fractional: number;
|
|
7378
7377
|
currency_code: string;
|
|
7379
7378
|
};
|
|
7379
|
+
id: string;
|
|
7380
7380
|
pos_item_ids: string[];
|
|
7381
7381
|
};
|
|
7382
7382
|
remake_details: {
|
|
@@ -7397,41 +7397,12 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7397
7397
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7398
7398
|
};
|
|
7399
7399
|
raw: {
|
|
7400
|
-
id: string;
|
|
7401
7400
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7401
|
+
id: string;
|
|
7402
7402
|
surcharge: {
|
|
7403
7403
|
fractional: number;
|
|
7404
7404
|
currency_code: string;
|
|
7405
7405
|
};
|
|
7406
|
-
delivery: {
|
|
7407
|
-
location: {
|
|
7408
|
-
latitude: number;
|
|
7409
|
-
longitude: number;
|
|
7410
|
-
};
|
|
7411
|
-
delivery_fee: {
|
|
7412
|
-
fractional: number;
|
|
7413
|
-
currency_code: string;
|
|
7414
|
-
};
|
|
7415
|
-
city: string;
|
|
7416
|
-
line1: string;
|
|
7417
|
-
line2: string;
|
|
7418
|
-
postcode: string;
|
|
7419
|
-
delivery_notes: string;
|
|
7420
|
-
contact_number: string;
|
|
7421
|
-
contact_access_code: string;
|
|
7422
|
-
deliver_by: string;
|
|
7423
|
-
customer_name: string;
|
|
7424
|
-
};
|
|
7425
|
-
customer: {
|
|
7426
|
-
contact_number: string;
|
|
7427
|
-
contact_access_code: string;
|
|
7428
|
-
first_name: string;
|
|
7429
|
-
order_frequency_at_site: string;
|
|
7430
|
-
loyalty: {
|
|
7431
|
-
card_number: string;
|
|
7432
|
-
loyalty_id: string;
|
|
7433
|
-
};
|
|
7434
|
-
};
|
|
7435
7406
|
items: {
|
|
7436
7407
|
name: string;
|
|
7437
7408
|
quantity: number;
|
|
@@ -7514,6 +7485,35 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7514
7485
|
};
|
|
7515
7486
|
}[];
|
|
7516
7487
|
}[];
|
|
7488
|
+
customer: {
|
|
7489
|
+
contact_number: string;
|
|
7490
|
+
contact_access_code: string;
|
|
7491
|
+
first_name: string;
|
|
7492
|
+
order_frequency_at_site: string;
|
|
7493
|
+
loyalty: {
|
|
7494
|
+
card_number: string;
|
|
7495
|
+
loyalty_id: string;
|
|
7496
|
+
};
|
|
7497
|
+
};
|
|
7498
|
+
delivery: {
|
|
7499
|
+
location: {
|
|
7500
|
+
latitude: number;
|
|
7501
|
+
longitude: number;
|
|
7502
|
+
};
|
|
7503
|
+
delivery_fee: {
|
|
7504
|
+
fractional: number;
|
|
7505
|
+
currency_code: string;
|
|
7506
|
+
};
|
|
7507
|
+
city: string;
|
|
7508
|
+
line1: string;
|
|
7509
|
+
line2: string;
|
|
7510
|
+
postcode: string;
|
|
7511
|
+
delivery_notes: string;
|
|
7512
|
+
contact_number: string;
|
|
7513
|
+
contact_access_code: string;
|
|
7514
|
+
deliver_by: string;
|
|
7515
|
+
customer_name: string;
|
|
7516
|
+
};
|
|
7517
7517
|
subtotal: {
|
|
7518
7518
|
fractional: number;
|
|
7519
7519
|
currency_code: string;
|
|
@@ -7571,13 +7571,13 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7571
7571
|
start_preparing_at: string;
|
|
7572
7572
|
confirm_at: string;
|
|
7573
7573
|
promotions: {
|
|
7574
|
-
id: string;
|
|
7575
7574
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
7576
7575
|
value: number;
|
|
7577
7576
|
amount: {
|
|
7578
7577
|
fractional: number;
|
|
7579
7578
|
currency_code: string;
|
|
7580
7579
|
};
|
|
7580
|
+
id: string;
|
|
7581
7581
|
pos_item_ids: string[];
|
|
7582
7582
|
};
|
|
7583
7583
|
remake_details: {
|
|
@@ -7598,41 +7598,12 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7598
7598
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7599
7599
|
};
|
|
7600
7600
|
raw: {
|
|
7601
|
-
id: string;
|
|
7602
7601
|
status: "delivered" | "pending" | "accepted" | "rejected" | "placed" | "confirmed" | "canceled";
|
|
7602
|
+
id: string;
|
|
7603
7603
|
surcharge: {
|
|
7604
7604
|
fractional: number;
|
|
7605
7605
|
currency_code: string;
|
|
7606
7606
|
};
|
|
7607
|
-
delivery: {
|
|
7608
|
-
location: {
|
|
7609
|
-
latitude: number;
|
|
7610
|
-
longitude: number;
|
|
7611
|
-
};
|
|
7612
|
-
delivery_fee: {
|
|
7613
|
-
fractional: number;
|
|
7614
|
-
currency_code: string;
|
|
7615
|
-
};
|
|
7616
|
-
city: string;
|
|
7617
|
-
line1: string;
|
|
7618
|
-
line2: string;
|
|
7619
|
-
postcode: string;
|
|
7620
|
-
delivery_notes: string;
|
|
7621
|
-
contact_number: string;
|
|
7622
|
-
contact_access_code: string;
|
|
7623
|
-
deliver_by: string;
|
|
7624
|
-
customer_name: string;
|
|
7625
|
-
};
|
|
7626
|
-
customer: {
|
|
7627
|
-
contact_number: string;
|
|
7628
|
-
contact_access_code: string;
|
|
7629
|
-
first_name: string;
|
|
7630
|
-
order_frequency_at_site: string;
|
|
7631
|
-
loyalty: {
|
|
7632
|
-
card_number: string;
|
|
7633
|
-
loyalty_id: string;
|
|
7634
|
-
};
|
|
7635
|
-
};
|
|
7636
7607
|
items: {
|
|
7637
7608
|
name: string;
|
|
7638
7609
|
quantity: number;
|
|
@@ -7715,6 +7686,35 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7715
7686
|
};
|
|
7716
7687
|
}[];
|
|
7717
7688
|
}[];
|
|
7689
|
+
customer: {
|
|
7690
|
+
contact_number: string;
|
|
7691
|
+
contact_access_code: string;
|
|
7692
|
+
first_name: string;
|
|
7693
|
+
order_frequency_at_site: string;
|
|
7694
|
+
loyalty: {
|
|
7695
|
+
card_number: string;
|
|
7696
|
+
loyalty_id: string;
|
|
7697
|
+
};
|
|
7698
|
+
};
|
|
7699
|
+
delivery: {
|
|
7700
|
+
location: {
|
|
7701
|
+
latitude: number;
|
|
7702
|
+
longitude: number;
|
|
7703
|
+
};
|
|
7704
|
+
delivery_fee: {
|
|
7705
|
+
fractional: number;
|
|
7706
|
+
currency_code: string;
|
|
7707
|
+
};
|
|
7708
|
+
city: string;
|
|
7709
|
+
line1: string;
|
|
7710
|
+
line2: string;
|
|
7711
|
+
postcode: string;
|
|
7712
|
+
delivery_notes: string;
|
|
7713
|
+
contact_number: string;
|
|
7714
|
+
contact_access_code: string;
|
|
7715
|
+
deliver_by: string;
|
|
7716
|
+
customer_name: string;
|
|
7717
|
+
};
|
|
7718
7718
|
subtotal: {
|
|
7719
7719
|
fractional: number;
|
|
7720
7720
|
currency_code: string;
|
|
@@ -7772,13 +7772,13 @@ export declare const FdoDeliverooOrder: z.ZodObject<{
|
|
|
7772
7772
|
start_preparing_at: string;
|
|
7773
7773
|
confirm_at: string;
|
|
7774
7774
|
promotions: {
|
|
7775
|
-
id: string;
|
|
7776
7775
|
type: "percentage_off_on_items" | "percentage_off_on_basket";
|
|
7777
7776
|
value: number;
|
|
7778
7777
|
amount: {
|
|
7779
7778
|
fractional: number;
|
|
7780
7779
|
currency_code: string;
|
|
7781
7780
|
};
|
|
7781
|
+
id: string;
|
|
7782
7782
|
pos_item_ids: string[];
|
|
7783
7783
|
};
|
|
7784
7784
|
remake_details: {
|