@feedmepos/mf-order-setting 0.0.72-test.1 → 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-CP_cGMXE.js → KioskDevicesView-Dztw-Q35.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CiNLqFw6.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Ol419NZh.js} +3 -3
- package/dist/{KioskSettingView-BiKYEjfe.js → KioskSettingView-BUHmoxyO.js} +183 -202
- package/dist/{KioskView-BYxPrI7N.js → KioskView-B8j77zMA.js} +4 -4
- package/dist/OrderSettingsView-C5PK8CKZ.js +60009 -0
- package/dist/{app-BN02cB5o.js → app-C2_s0fkK.js} +4921 -4797
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-Bml-FvS7.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-BlKeAWPk.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 +9 -3
- 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/dine-in/PaymentType.vue +9 -12
- 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-C7Y-_y5U.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-DZA8A0m4.js +0 -630
- package/dist/queue-transfer.dto-C7nRZOZH.js +0 -45618
- package/src/api/auth/index.ts +0 -20
- package/src/stores/iframe/index.ts +0 -23
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type Normalize<T> = T extends (...args: any[]) => any ? T : T extends object ? {
|
|
2
|
+
[K in keyof T]: Normalize<T[K]>;
|
|
3
|
+
} : T;
|
|
4
|
+
export type AssertTypesEqual<A, B> = [
|
|
5
|
+
Normalize<A>
|
|
6
|
+
] extends [Normalize<B>] ? ([Normalize<B>] extends [Normalize<A>] ? true : false) : false;
|
|
7
|
+
export {};
|
|
@@ -10,8 +10,8 @@ export declare const BookingBaseDto: z.ZodObject<{
|
|
|
10
10
|
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
11
11
|
pf_user: z.ZodOptional<z.ZodAny>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
seqNumber?: string | undefined;
|
|
14
13
|
userId?: string | undefined;
|
|
14
|
+
seqNumber?: string | undefined;
|
|
15
15
|
rejectReason?: string | undefined;
|
|
16
16
|
pf_restaurant?: any;
|
|
17
17
|
pf_user?: any;
|
|
@@ -20,8 +20,8 @@ export declare const BookingBaseDto: z.ZodObject<{
|
|
|
20
20
|
restaurantId: string;
|
|
21
21
|
pax: number;
|
|
22
22
|
}, {
|
|
23
|
-
seqNumber?: string | undefined;
|
|
24
23
|
userId?: string | undefined;
|
|
24
|
+
seqNumber?: string | undefined;
|
|
25
25
|
rejectReason?: string | undefined;
|
|
26
26
|
pf_restaurant?: any;
|
|
27
27
|
pf_user?: any;
|
|
@@ -43,8 +43,8 @@ export declare const BookingQueueDto: z.ZodObject<z.extendShape<{
|
|
|
43
43
|
}, {
|
|
44
44
|
type: z.ZodLiteral<"QUEUE">;
|
|
45
45
|
}>, "strip", z.ZodTypeAny, {
|
|
46
|
-
seqNumber?: string | undefined;
|
|
47
46
|
userId?: string | undefined;
|
|
47
|
+
seqNumber?: string | undefined;
|
|
48
48
|
rejectReason?: string | undefined;
|
|
49
49
|
pf_restaurant?: any;
|
|
50
50
|
pf_user?: any;
|
|
@@ -53,8 +53,8 @@ export declare const BookingQueueDto: z.ZodObject<z.extendShape<{
|
|
|
53
53
|
restaurantId: string;
|
|
54
54
|
pax: number;
|
|
55
55
|
}, {
|
|
56
|
-
seqNumber?: string | undefined;
|
|
57
56
|
userId?: string | undefined;
|
|
57
|
+
seqNumber?: string | undefined;
|
|
58
58
|
rejectReason?: string | undefined;
|
|
59
59
|
pf_restaurant?: any;
|
|
60
60
|
pf_user?: any;
|
|
@@ -78,8 +78,8 @@ export declare const BookingReservationDto: z.ZodObject<z.extendShape<{
|
|
|
78
78
|
type: z.ZodLiteral<"RESERVATION">;
|
|
79
79
|
reserveAt: z.ZodString;
|
|
80
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
|
-
seqNumber?: string | undefined;
|
|
82
81
|
userId?: string | undefined;
|
|
82
|
+
seqNumber?: string | undefined;
|
|
83
83
|
rejectReason?: string | undefined;
|
|
84
84
|
pf_restaurant?: any;
|
|
85
85
|
pf_user?: any;
|
|
@@ -89,8 +89,8 @@ export declare const BookingReservationDto: z.ZodObject<z.extendShape<{
|
|
|
89
89
|
pax: number;
|
|
90
90
|
reserveAt: string;
|
|
91
91
|
}, {
|
|
92
|
-
seqNumber?: string | undefined;
|
|
93
92
|
userId?: string | undefined;
|
|
93
|
+
seqNumber?: string | undefined;
|
|
94
94
|
rejectReason?: string | undefined;
|
|
95
95
|
pf_restaurant?: any;
|
|
96
96
|
pf_user?: any;
|
|
@@ -112,27 +112,30 @@ export declare const BookingDto: z.ZodDiscriminatedUnion<"type", z.Primitive, z.
|
|
|
112
112
|
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
113
113
|
pf_user: z.ZodOptional<z.ZodAny>;
|
|
114
114
|
}, {
|
|
115
|
-
type: z.ZodLiteral<"
|
|
115
|
+
type: z.ZodLiteral<"RESERVATION">;
|
|
116
|
+
reserveAt: z.ZodString;
|
|
116
117
|
}>, "strip", z.ZodTypeAny, {
|
|
117
|
-
seqNumber?: string | undefined;
|
|
118
118
|
userId?: string | undefined;
|
|
119
|
+
seqNumber?: string | undefined;
|
|
119
120
|
rejectReason?: string | undefined;
|
|
120
121
|
pf_restaurant?: any;
|
|
121
122
|
pf_user?: any;
|
|
122
|
-
type: "
|
|
123
|
+
type: "RESERVATION";
|
|
123
124
|
_id: string;
|
|
124
125
|
restaurantId: string;
|
|
125
126
|
pax: number;
|
|
127
|
+
reserveAt: string;
|
|
126
128
|
}, {
|
|
127
|
-
seqNumber?: string | undefined;
|
|
128
129
|
userId?: string | undefined;
|
|
130
|
+
seqNumber?: string | undefined;
|
|
129
131
|
rejectReason?: string | undefined;
|
|
130
132
|
pf_restaurant?: any;
|
|
131
133
|
pf_user?: any;
|
|
132
|
-
type: "
|
|
134
|
+
type: "RESERVATION";
|
|
133
135
|
_id: string;
|
|
134
136
|
restaurantId: string;
|
|
135
137
|
pax: number;
|
|
138
|
+
reserveAt: string;
|
|
136
139
|
}> | z.ZodObject<z.extendShape<{
|
|
137
140
|
_id: z.ZodString;
|
|
138
141
|
type: z.ZodEnum<["QUEUE", "RESERVATION"]>;
|
|
@@ -144,30 +147,27 @@ export declare const BookingDto: z.ZodDiscriminatedUnion<"type", z.Primitive, z.
|
|
|
144
147
|
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
145
148
|
pf_user: z.ZodOptional<z.ZodAny>;
|
|
146
149
|
}, {
|
|
147
|
-
type: z.ZodLiteral<"
|
|
148
|
-
reserveAt: z.ZodString;
|
|
150
|
+
type: z.ZodLiteral<"QUEUE">;
|
|
149
151
|
}>, "strip", z.ZodTypeAny, {
|
|
150
|
-
seqNumber?: string | undefined;
|
|
151
152
|
userId?: string | undefined;
|
|
153
|
+
seqNumber?: string | undefined;
|
|
152
154
|
rejectReason?: string | undefined;
|
|
153
155
|
pf_restaurant?: any;
|
|
154
156
|
pf_user?: any;
|
|
155
|
-
type: "
|
|
157
|
+
type: "QUEUE";
|
|
156
158
|
_id: string;
|
|
157
159
|
restaurantId: string;
|
|
158
160
|
pax: number;
|
|
159
|
-
reserveAt: string;
|
|
160
161
|
}, {
|
|
161
|
-
seqNumber?: string | undefined;
|
|
162
162
|
userId?: string | undefined;
|
|
163
|
+
seqNumber?: string | undefined;
|
|
163
164
|
rejectReason?: string | undefined;
|
|
164
165
|
pf_restaurant?: any;
|
|
165
166
|
pf_user?: any;
|
|
166
|
-
type: "
|
|
167
|
+
type: "QUEUE";
|
|
167
168
|
_id: string;
|
|
168
169
|
restaurantId: string;
|
|
169
170
|
pax: number;
|
|
170
|
-
reserveAt: string;
|
|
171
171
|
}>>;
|
|
172
172
|
export type BookingDto = z.infer<typeof BookingDto>;
|
|
173
173
|
export declare const BookingCreateDto: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<Omit<z.extendShape<{
|
|
@@ -183,8 +183,8 @@ export declare const BookingCreateDto: z.ZodDiscriminatedUnion<"type", z.Primiti
|
|
|
183
183
|
}, {
|
|
184
184
|
type: z.ZodLiteral<"QUEUE">;
|
|
185
185
|
}>, "_id">, "strip", z.ZodTypeAny, {
|
|
186
|
-
seqNumber?: string | undefined;
|
|
187
186
|
userId?: string | undefined;
|
|
187
|
+
seqNumber?: string | undefined;
|
|
188
188
|
rejectReason?: string | undefined;
|
|
189
189
|
pf_restaurant?: any;
|
|
190
190
|
pf_user?: any;
|
|
@@ -192,8 +192,8 @@ export declare const BookingCreateDto: z.ZodDiscriminatedUnion<"type", z.Primiti
|
|
|
192
192
|
restaurantId: string;
|
|
193
193
|
pax: number;
|
|
194
194
|
}, {
|
|
195
|
-
seqNumber?: string | undefined;
|
|
196
195
|
userId?: string | undefined;
|
|
196
|
+
seqNumber?: string | undefined;
|
|
197
197
|
rejectReason?: string | undefined;
|
|
198
198
|
pf_restaurant?: any;
|
|
199
199
|
pf_user?: any;
|
|
@@ -214,16 +214,16 @@ export declare const BookingCreateDto: z.ZodDiscriminatedUnion<"type", z.Primiti
|
|
|
214
214
|
type: z.ZodLiteral<"RESERVATION">;
|
|
215
215
|
reserveAt: z.ZodString;
|
|
216
216
|
}>, "_id" | "pf_restaurant" | "pf_user">, "strip", z.ZodTypeAny, {
|
|
217
|
-
seqNumber?: string | undefined;
|
|
218
217
|
userId?: string | undefined;
|
|
218
|
+
seqNumber?: string | undefined;
|
|
219
219
|
rejectReason?: string | undefined;
|
|
220
220
|
type: "RESERVATION";
|
|
221
221
|
restaurantId: string;
|
|
222
222
|
pax: number;
|
|
223
223
|
reserveAt: string;
|
|
224
224
|
}, {
|
|
225
|
-
seqNumber?: string | undefined;
|
|
226
225
|
userId?: string | undefined;
|
|
226
|
+
seqNumber?: string | undefined;
|
|
227
227
|
rejectReason?: string | undefined;
|
|
228
228
|
type: "RESERVATION";
|
|
229
229
|
restaurantId: string;
|
|
@@ -266,7 +266,7 @@ export declare const BookingUpdateDto: z.ZodDiscriminatedUnion<"type", z.Primiti
|
|
|
266
266
|
}, {
|
|
267
267
|
type: z.ZodLiteral<"RESERVATION">;
|
|
268
268
|
reserveAt: z.ZodString;
|
|
269
|
-
}>, "type" | "pax" | "
|
|
269
|
+
}>, "type" | "pax" | "userId" | "rejectReason" | "reserveAt">, "strip", z.ZodTypeAny, {
|
|
270
270
|
userId?: string | undefined;
|
|
271
271
|
rejectReason?: string | undefined;
|
|
272
272
|
type: "RESERVATION";
|
|
@@ -6733,7 +6733,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6733
6733
|
currentLng: string;
|
|
6734
6734
|
}>;
|
|
6735
6735
|
}, "strip", z.ZodTypeAny, {
|
|
6736
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
6736
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
6737
6737
|
merchantOrderID: string;
|
|
6738
6738
|
sender: {
|
|
6739
6739
|
name: string;
|
|
@@ -6759,7 +6759,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6759
6759
|
currentLng: string;
|
|
6760
6760
|
};
|
|
6761
6761
|
}, {
|
|
6762
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
6762
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
6763
6763
|
merchantOrderID: string;
|
|
6764
6764
|
sender: {
|
|
6765
6765
|
name: string;
|
|
@@ -6788,7 +6788,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6788
6788
|
}>, "strip", z.ZodTypeAny, {
|
|
6789
6789
|
gateway: "GRAB_EXPRESS";
|
|
6790
6790
|
webhook: {
|
|
6791
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
6791
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
6792
6792
|
merchantOrderID: string;
|
|
6793
6793
|
sender: {
|
|
6794
6794
|
name: string;
|
|
@@ -6817,7 +6817,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6817
6817
|
}, {
|
|
6818
6818
|
gateway: "GRAB_EXPRESS";
|
|
6819
6819
|
webhook: {
|
|
6820
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
6820
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
6821
6821
|
merchantOrderID: string;
|
|
6822
6822
|
sender: {
|
|
6823
6823
|
name: string;
|
|
@@ -6897,7 +6897,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6897
6897
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
6898
6898
|
} | null | undefined;
|
|
6899
6899
|
proof_of_delivery_url?: string | null | undefined;
|
|
6900
|
-
status: "NEW" | "
|
|
6900
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
6901
6901
|
driver: {
|
|
6902
6902
|
name: string;
|
|
6903
6903
|
id: string;
|
|
@@ -6918,7 +6918,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6918
6918
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
6919
6919
|
} | null | undefined;
|
|
6920
6920
|
proof_of_delivery_url?: string | null | undefined;
|
|
6921
|
-
status: "NEW" | "
|
|
6921
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
6922
6922
|
driver: {
|
|
6923
6923
|
name: string;
|
|
6924
6924
|
id: string;
|
|
@@ -6942,7 +6942,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6942
6942
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
6943
6943
|
} | null | undefined;
|
|
6944
6944
|
proof_of_delivery_url?: string | null | undefined;
|
|
6945
|
-
status: "NEW" | "
|
|
6945
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
6946
6946
|
driver: {
|
|
6947
6947
|
name: string;
|
|
6948
6948
|
id: string;
|
|
@@ -6966,7 +6966,7 @@ declare const FdtoDeliveryGatewayWebhook: z.ZodDiscriminatedUnion<"gateway", z.P
|
|
|
6966
6966
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
6967
6967
|
} | null | undefined;
|
|
6968
6968
|
proof_of_delivery_url?: string | null | undefined;
|
|
6969
|
-
status: "NEW" | "
|
|
6969
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
6970
6970
|
driver: {
|
|
6971
6971
|
name: string;
|
|
6972
6972
|
id: string;
|
|
@@ -5,3 +5,15 @@ 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"]>;
|
|
9
|
+
export type F_DELIVERY_PLATFORM_STATUS = z.infer<typeof F_DELIVERY_PLATFORM_STATUS>;
|
|
10
|
+
/**
|
|
11
|
+
* [F_DELIVERY_PROGRAM] Added 2026-06: identifier for a special delivery
|
|
12
|
+
* program/scheme an order belongs to, stamped onto `bill.delivery.program` /
|
|
13
|
+
* `bill.pickup.program` (plain string in @feedmepos/core). POS maps it to the
|
|
14
|
+
* program's logo + confirmation-app name. Distinct from the delivery platform.
|
|
15
|
+
* - TH5050: Thai government 50:50/60:40 co-payment subsidy ("ไทยช่วยไทย พลัส"),
|
|
16
|
+
* confirmed by the merchant in the Tung Ngern (ถุงเงิน) app.
|
|
17
|
+
*/
|
|
18
|
+
export declare const F_DELIVERY_PROGRAM: z.ZodEnum<["TH5050"]>;
|
|
19
|
+
export type F_DELIVERY_PROGRAM = z.infer<typeof F_DELIVERY_PROGRAM>;
|
|
@@ -681,7 +681,7 @@ export declare const GrabWebhook: z.ZodObject<{
|
|
|
681
681
|
currentLng: string;
|
|
682
682
|
}>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
684
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
685
685
|
merchantOrderID: string;
|
|
686
686
|
sender: {
|
|
687
687
|
name: string;
|
|
@@ -707,7 +707,7 @@ export declare const GrabWebhook: z.ZodObject<{
|
|
|
707
707
|
currentLng: string;
|
|
708
708
|
};
|
|
709
709
|
}, {
|
|
710
|
-
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "
|
|
710
|
+
status: "PICKING_UP" | "IN_RETURN" | "CANCELED" | "RETURNED" | "FAILED" | "COMPLETED" | "ALLOCATING" | "IN_DELIVERY";
|
|
711
711
|
merchantOrderID: string;
|
|
712
712
|
sender: {
|
|
713
713
|
name: string;
|
|
@@ -1014,11 +1014,11 @@ declare const KosmoQuote: z.ZodObject<{
|
|
|
1014
1014
|
services: z.ZodArray<z.ZodEnum<["proofDelivery", "insurance", "door2door"]>, "many">;
|
|
1015
1015
|
rank: z.ZodNumber;
|
|
1016
1016
|
}, "strip", z.ZodTypeAny, {
|
|
1017
|
-
id: string;
|
|
1018
1017
|
price: {
|
|
1019
1018
|
amount: number;
|
|
1020
1019
|
currency: string;
|
|
1021
1020
|
};
|
|
1021
|
+
id: string;
|
|
1022
1022
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1023
1023
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1024
1024
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1039,11 +1039,11 @@ declare const KosmoQuote: z.ZodObject<{
|
|
|
1039
1039
|
services: ("proofDelivery" | "insurance" | "door2door")[];
|
|
1040
1040
|
rank: number;
|
|
1041
1041
|
}, {
|
|
1042
|
-
id: string;
|
|
1043
1042
|
price: {
|
|
1044
1043
|
amount: number;
|
|
1045
1044
|
currency: string;
|
|
1046
1045
|
};
|
|
1046
|
+
id: string;
|
|
1047
1047
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1048
1048
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1049
1049
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1129,11 +1129,11 @@ declare const KosmoCreateQuoteRes: z.ZodObject<{
|
|
|
1129
1129
|
services: z.ZodArray<z.ZodEnum<["proofDelivery", "insurance", "door2door"]>, "many">;
|
|
1130
1130
|
rank: z.ZodNumber;
|
|
1131
1131
|
}, "strip", z.ZodTypeAny, {
|
|
1132
|
-
id: string;
|
|
1133
1132
|
price: {
|
|
1134
1133
|
amount: number;
|
|
1135
1134
|
currency: string;
|
|
1136
1135
|
};
|
|
1136
|
+
id: string;
|
|
1137
1137
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1138
1138
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1139
1139
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1154,11 +1154,11 @@ declare const KosmoCreateQuoteRes: z.ZodObject<{
|
|
|
1154
1154
|
services: ("proofDelivery" | "insurance" | "door2door")[];
|
|
1155
1155
|
rank: number;
|
|
1156
1156
|
}, {
|
|
1157
|
-
id: string;
|
|
1158
1157
|
price: {
|
|
1159
1158
|
amount: number;
|
|
1160
1159
|
currency: string;
|
|
1161
1160
|
};
|
|
1161
|
+
id: string;
|
|
1162
1162
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1163
1163
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1164
1164
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1183,11 +1183,11 @@ declare const KosmoCreateQuoteRes: z.ZodObject<{
|
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1184
1184
|
quoteBatchId: string;
|
|
1185
1185
|
quotes: {
|
|
1186
|
-
id: string;
|
|
1187
1186
|
price: {
|
|
1188
1187
|
amount: number;
|
|
1189
1188
|
currency: string;
|
|
1190
1189
|
};
|
|
1190
|
+
id: string;
|
|
1191
1191
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1192
1192
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1193
1193
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1212,11 +1212,11 @@ declare const KosmoCreateQuoteRes: z.ZodObject<{
|
|
|
1212
1212
|
}, {
|
|
1213
1213
|
quoteBatchId: string;
|
|
1214
1214
|
quotes: {
|
|
1215
|
-
id: string;
|
|
1216
1215
|
price: {
|
|
1217
1216
|
amount: number;
|
|
1218
1217
|
currency: string;
|
|
1219
1218
|
};
|
|
1219
|
+
id: string;
|
|
1220
1220
|
deliveryType: "ASAP" | "2H" | "4H" | "NEXT_DAY" | "NEXT_3_DAYS";
|
|
1221
1221
|
vehicleType: "motorcycle" | "car" | "van";
|
|
1222
1222
|
provider: "PANDAGO" | "LALAMOVE" | "PICKUPP" | "ZEEK" | "BORZO";
|
|
@@ -1630,8 +1630,8 @@ declare const KosmoOrder: z.ZodObject<{
|
|
|
1630
1630
|
}>;
|
|
1631
1631
|
provider: z.ZodEnum<["PANDAGO", "LALAMOVE", "PICKUPP", "ZEEK", "BORZO"]>;
|
|
1632
1632
|
}, "strip", z.ZodTypeAny, {
|
|
1633
|
-
id: string;
|
|
1634
1633
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
1634
|
+
id: string;
|
|
1635
1635
|
driver: {
|
|
1636
1636
|
phone: string;
|
|
1637
1637
|
photoURL: string;
|
|
@@ -1724,8 +1724,8 @@ declare const KosmoOrder: z.ZodObject<{
|
|
|
1724
1724
|
currency: string;
|
|
1725
1725
|
};
|
|
1726
1726
|
}, {
|
|
1727
|
-
id: string;
|
|
1728
1727
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
1728
|
+
id: string;
|
|
1729
1729
|
driver: {
|
|
1730
1730
|
phone: string;
|
|
1731
1731
|
photoURL: string;
|
|
@@ -2203,8 +2203,8 @@ declare const KosmoOrderResponse: z.ZodObject<{
|
|
|
2203
2203
|
}>;
|
|
2204
2204
|
provider: z.ZodEnum<["PANDAGO", "LALAMOVE", "PICKUPP", "ZEEK", "BORZO"]>;
|
|
2205
2205
|
}, "strip", z.ZodTypeAny, {
|
|
2206
|
-
id: string;
|
|
2207
2206
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
2207
|
+
id: string;
|
|
2208
2208
|
driver: {
|
|
2209
2209
|
phone: string;
|
|
2210
2210
|
photoURL: string;
|
|
@@ -2297,8 +2297,8 @@ declare const KosmoOrderResponse: z.ZodObject<{
|
|
|
2297
2297
|
currency: string;
|
|
2298
2298
|
};
|
|
2299
2299
|
}, {
|
|
2300
|
-
id: string;
|
|
2301
2300
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
2301
|
+
id: string;
|
|
2302
2302
|
driver: {
|
|
2303
2303
|
phone: string;
|
|
2304
2304
|
photoURL: string;
|
|
@@ -2395,8 +2395,8 @@ declare const KosmoOrderResponse: z.ZodObject<{
|
|
|
2395
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2396
2396
|
pickupLocationId: string;
|
|
2397
2397
|
order: {
|
|
2398
|
-
id: string;
|
|
2399
2398
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
2399
|
+
id: string;
|
|
2400
2400
|
driver: {
|
|
2401
2401
|
phone: string;
|
|
2402
2402
|
photoURL: string;
|
|
@@ -2492,8 +2492,8 @@ declare const KosmoOrderResponse: z.ZodObject<{
|
|
|
2492
2492
|
}, {
|
|
2493
2493
|
pickupLocationId: string;
|
|
2494
2494
|
order: {
|
|
2495
|
-
id: string;
|
|
2496
2495
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
2496
|
+
id: string;
|
|
2497
2497
|
driver: {
|
|
2498
2498
|
phone: string;
|
|
2499
2499
|
photoURL: string;
|
|
@@ -3019,8 +3019,8 @@ export declare const KosmoListOrdersResponse: z.ZodObject<{
|
|
|
3019
3019
|
}>;
|
|
3020
3020
|
provider: z.ZodEnum<["PANDAGO", "LALAMOVE", "PICKUPP", "ZEEK", "BORZO"]>;
|
|
3021
3021
|
}, "strip", z.ZodTypeAny, {
|
|
3022
|
-
id: string;
|
|
3023
3022
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
3023
|
+
id: string;
|
|
3024
3024
|
driver: {
|
|
3025
3025
|
phone: string;
|
|
3026
3026
|
photoURL: string;
|
|
@@ -3113,8 +3113,8 @@ export declare const KosmoListOrdersResponse: z.ZodObject<{
|
|
|
3113
3113
|
currency: string;
|
|
3114
3114
|
};
|
|
3115
3115
|
}, {
|
|
3116
|
-
id: string;
|
|
3117
3116
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
3117
|
+
id: string;
|
|
3118
3118
|
driver: {
|
|
3119
3119
|
phone: string;
|
|
3120
3120
|
photoURL: string;
|
|
@@ -3265,8 +3265,8 @@ export declare const KosmoListOrdersResponse: z.ZodObject<{
|
|
|
3265
3265
|
pickedUp: number;
|
|
3266
3266
|
};
|
|
3267
3267
|
orders: {
|
|
3268
|
-
id: string;
|
|
3269
3268
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
3269
|
+
id: string;
|
|
3270
3270
|
driver: {
|
|
3271
3271
|
phone: string;
|
|
3272
3272
|
photoURL: string;
|
|
@@ -3373,8 +3373,8 @@ export declare const KosmoListOrdersResponse: z.ZodObject<{
|
|
|
3373
3373
|
pickedUp: number;
|
|
3374
3374
|
};
|
|
3375
3375
|
orders: {
|
|
3376
|
-
id: string;
|
|
3377
3376
|
status: "created" | "submitted" | "to_pickup" | "picked_up" | "delivered" | "failed" | "cancelled" | "returning" | "returned" | "at_hub" | "to_dropoff";
|
|
3377
|
+
id: string;
|
|
3378
3378
|
driver: {
|
|
3379
3379
|
phone: string;
|
|
3380
3380
|
photoURL: string;
|
|
@@ -431,7 +431,7 @@ declare const PandaGoOrderRes: z.ZodObject<{
|
|
|
431
431
|
source: "CLIENT" | "LOGISTICS";
|
|
432
432
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
433
433
|
} | null | undefined;
|
|
434
|
-
status: "NEW" | "
|
|
434
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
435
435
|
description: string;
|
|
436
436
|
amount: number;
|
|
437
437
|
recipient: {
|
|
@@ -473,7 +473,7 @@ declare const PandaGoOrderRes: z.ZodObject<{
|
|
|
473
473
|
source: "CLIENT" | "LOGISTICS";
|
|
474
474
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
475
475
|
} | null | undefined;
|
|
476
|
-
status: "NEW" | "
|
|
476
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
477
477
|
description: string;
|
|
478
478
|
amount: number;
|
|
479
479
|
recipient: {
|
|
@@ -899,7 +899,7 @@ export declare const PandaGoWebhook: z.ZodObject<{
|
|
|
899
899
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
900
900
|
} | null | undefined;
|
|
901
901
|
proof_of_delivery_url?: string | null | undefined;
|
|
902
|
-
status: "NEW" | "
|
|
902
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
903
903
|
driver: {
|
|
904
904
|
name: string;
|
|
905
905
|
id: string;
|
|
@@ -920,7 +920,7 @@ export declare const PandaGoWebhook: z.ZodObject<{
|
|
|
920
920
|
reason: "ADDRESS_INCOMPLETE_MISSTATED" | "BAD_LOCATION" | "BAD_WEATHER" | "BILLING_PROBLEM" | "BLACKLISTED" | "CARD_READER_NOT_AVAILABLE" | "CLOSED" | "CONTENT_WRONG_MISLEADING" | "COURIER_ACCIDENT" | "COURIER_UNREACHABLE" | "DELIVERY_ETA_TOO_LONG" | "DUPLICATE_ORDER" | "EXTRA_CHARGE_NEEDED" | "FOOD_QUALITY_SPILLAGE" | "FRAUD_PRANK" | "ITEM_UNAVAILABLE" | "LATE_DELIVERY" | "MENU_ACCOUNT_SETTINGS" | "MISTAKE_ERROR" | "MOV_NOT_REACHED" | "NEVER_DELIVERED" | "NO_COURIER" | "NO_PICKER" | "NO_RESPONSE" | "ORDER_MODIFICATION_NOT_POSSIBLE" | "OUTSIDE_DELIVERY_AREA" | "OUTSIDE_SERVICE_HOURS" | "REASON_UNKNOWN" | "TECHNICAL_PROBLEM" | "TEST_ORDER" | "TOO_BUSY" | "UNABLE_TO_FIND" | "UNABLE_TO_PAY" | "UNPROFESSIONAL_BEHAVIOUR" | "UNREACHABLE" | "VOUCHER_NOT_APPLIED" | "WILL_NOT_WORK_WITH_PLATFORM" | "WRONG_ORDER_ITEMS_DELIVERED";
|
|
921
921
|
} | null | undefined;
|
|
922
922
|
proof_of_delivery_url?: string | null | undefined;
|
|
923
|
-
status: "NEW" | "
|
|
923
|
+
status: "NEW" | "PICKED_UP" | "DELIVERED" | "CANCELLED" | "RECEIVED" | "WAITING_FOR_TRANSPORT" | "ASSIGNED_TO_TRANSPORT" | "COURIER_ACCEPTED_DELIVERY" | "NEAR_VENDOR" | "COURIER_LEFT_VENDOR" | "NEAR_CUSTOMER" | "DELAYED";
|
|
924
924
|
driver: {
|
|
925
925
|
name: string;
|
|
926
926
|
id: string;
|