@feedmepos/mf-order-setting 0.0.21-beta.2 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{KioskDevicesView-TgyDh8aI.js → KioskDevicesView-C6YmdLKc.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CiYEoMoW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js} +2 -2
- package/dist/{KioskSettingView-fbOxH9m8.js → KioskSettingView-D-muNxlb.js} +1 -1
- package/dist/KioskView-kcjjk4fF.js +371 -0
- package/dist/{OrderSettingsView-mYvRn7u9.js → OrderSettingsView-D_bGK-3J.js} +34007 -32820
- package/dist/{app-A306cfER.js → app-C5qwExhL.js} +41 -23
- package/dist/app.js +1 -1
- package/dist/common/convertor/index.d.ts +2 -0
- package/dist/common/sms/index.d.ts +1 -1
- package/dist/common/util/index.d.ts +6 -0
- package/dist/{dayjs.min-CLR5r0qf.js → dayjs.min-kEC9G7bx.js} +36 -36
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/app.d.ts +18 -0
- package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
- package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
- package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -0
- 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/delivery.d.ts +2 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BJuGDir8.js → index-C_53CwBa.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
- package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +865 -4
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +34 -22
- package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
- package/dist/package/entity/member/member.dto.d.ts +33 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +37 -0
- package/dist/package/entity/order/order.dto.d.ts +808 -17435
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +175 -82
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +372 -291
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +66 -65
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +435 -263
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +47 -7
- package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
- 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 +298 -250
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +0 -41
- package/dist/package/entity/printer/printer.do.d.ts +2 -2
- package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
- package/dist/package/entity/queue/queue.do.d.ts +40 -0
- package/dist/{auth.dto-C5PLip9a.js → queue.do-Vog69wnQ.js} +34049 -33284
- package/package.json +4 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/helpers/menu.ts +2 -2
- package/src/locales/en-US.json +11 -1
- package/src/locales/zh-CN.json +10 -1
- package/src/stores/restaurant/index.ts +4 -1
- package/src/views/kiosk/KioskSummary.vue +4 -3
- package/src/views/kiosk/KioskView.vue +36 -3
- package/src/views/order-settings/delivery/DeliverySetting.vue +83 -6
- package/src/views/order-settings/delivery/delivery.data.ts +16 -1
- package/src/views/order-settings/delivery/delivery.ts +1 -0
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
- package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +214 -158
- package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
- package/dist/KioskView-C0Vn5S89.js +0 -334
|
@@ -427,6 +427,7 @@ export declare const FPPrice: z.ZodObject<{
|
|
|
427
427
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
428
428
|
vatVisible?: boolean | null | undefined;
|
|
429
429
|
vatPercent?: string | null | undefined;
|
|
430
|
+
subTotal: string;
|
|
430
431
|
deliveryFees: {
|
|
431
432
|
name: string;
|
|
432
433
|
value: number;
|
|
@@ -434,7 +435,6 @@ export declare const FPPrice: z.ZodObject<{
|
|
|
434
435
|
grandTotal: string;
|
|
435
436
|
minimumDeliveryValue: string;
|
|
436
437
|
payRestaurant: string;
|
|
437
|
-
subTotal: string;
|
|
438
438
|
vatTotal: string;
|
|
439
439
|
}, {
|
|
440
440
|
deliveryFee?: string | null | undefined;
|
|
@@ -451,6 +451,7 @@ export declare const FPPrice: z.ZodObject<{
|
|
|
451
451
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
452
452
|
vatVisible?: boolean | null | undefined;
|
|
453
453
|
vatPercent?: string | null | undefined;
|
|
454
|
+
subTotal: string;
|
|
454
455
|
deliveryFees: {
|
|
455
456
|
name: string;
|
|
456
457
|
value: number;
|
|
@@ -458,7 +459,6 @@ export declare const FPPrice: z.ZodObject<{
|
|
|
458
459
|
grandTotal: string;
|
|
459
460
|
minimumDeliveryValue: string;
|
|
460
461
|
payRestaurant: string;
|
|
461
|
-
subTotal: string;
|
|
462
462
|
vatTotal: string;
|
|
463
463
|
}>;
|
|
464
464
|
export type FPSelectedTopping = {
|
|
@@ -535,6 +535,19 @@ export declare const FPProduct: z.ZodObject<{
|
|
|
535
535
|
name: string;
|
|
536
536
|
};
|
|
537
537
|
}>;
|
|
538
|
+
export declare const FPCallbackUrls: z.ZodObject<{
|
|
539
|
+
orderAcceptedUrl: z.ZodString;
|
|
540
|
+
orderRejectedUrl: z.ZodString;
|
|
541
|
+
orderPreparedUrl: z.ZodString;
|
|
542
|
+
}, "strip", z.ZodTypeAny, {
|
|
543
|
+
orderAcceptedUrl: string;
|
|
544
|
+
orderRejectedUrl: string;
|
|
545
|
+
orderPreparedUrl: string;
|
|
546
|
+
}, {
|
|
547
|
+
orderAcceptedUrl: string;
|
|
548
|
+
orderRejectedUrl: string;
|
|
549
|
+
orderPreparedUrl: string;
|
|
550
|
+
}>;
|
|
538
551
|
export declare const FPOrder: z.ZodObject<{
|
|
539
552
|
token: z.ZodString;
|
|
540
553
|
code: z.ZodString;
|
|
@@ -871,6 +884,7 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
871
884
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
872
885
|
vatVisible?: boolean | null | undefined;
|
|
873
886
|
vatPercent?: string | null | undefined;
|
|
887
|
+
subTotal: string;
|
|
874
888
|
deliveryFees: {
|
|
875
889
|
name: string;
|
|
876
890
|
value: number;
|
|
@@ -878,7 +892,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
878
892
|
grandTotal: string;
|
|
879
893
|
minimumDeliveryValue: string;
|
|
880
894
|
payRestaurant: string;
|
|
881
|
-
subTotal: string;
|
|
882
895
|
vatTotal: string;
|
|
883
896
|
}, {
|
|
884
897
|
deliveryFee?: string | null | undefined;
|
|
@@ -895,6 +908,7 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
895
908
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
896
909
|
vatVisible?: boolean | null | undefined;
|
|
897
910
|
vatPercent?: string | null | undefined;
|
|
911
|
+
subTotal: string;
|
|
898
912
|
deliveryFees: {
|
|
899
913
|
name: string;
|
|
900
914
|
value: number;
|
|
@@ -902,7 +916,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
902
916
|
grandTotal: string;
|
|
903
917
|
minimumDeliveryValue: string;
|
|
904
918
|
payRestaurant: string;
|
|
905
|
-
subTotal: string;
|
|
906
919
|
vatTotal: string;
|
|
907
920
|
}>;
|
|
908
921
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -970,6 +983,19 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
970
983
|
mobileOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
971
984
|
webOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
972
985
|
vouchers: z.ZodArray<z.ZodString, "many">;
|
|
986
|
+
callbackUrls: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
987
|
+
orderAcceptedUrl: z.ZodString;
|
|
988
|
+
orderRejectedUrl: z.ZodString;
|
|
989
|
+
orderPreparedUrl: z.ZodString;
|
|
990
|
+
}, "strip", z.ZodTypeAny, {
|
|
991
|
+
orderAcceptedUrl: string;
|
|
992
|
+
orderRejectedUrl: string;
|
|
993
|
+
orderPreparedUrl: string;
|
|
994
|
+
}, {
|
|
995
|
+
orderAcceptedUrl: string;
|
|
996
|
+
orderRejectedUrl: string;
|
|
997
|
+
orderPreparedUrl: string;
|
|
998
|
+
}>>>;
|
|
973
999
|
}, "strip", z.ZodTypeAny, {
|
|
974
1000
|
pickup?: {
|
|
975
1001
|
pickupTime?: string | null | undefined;
|
|
@@ -1009,13 +1035,18 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1009
1035
|
riderPickupTime?: string | null | undefined;
|
|
1010
1036
|
expressDelivery: boolean;
|
|
1011
1037
|
} | null | undefined;
|
|
1012
|
-
extraParameters?: unknown;
|
|
1013
1038
|
shortCode?: string | null | undefined;
|
|
1039
|
+
integrationInfo?: unknown;
|
|
1040
|
+
extraParameters?: unknown;
|
|
1014
1041
|
corporateTaxId?: string | null | undefined;
|
|
1015
1042
|
corporateOrder?: boolean | null | undefined;
|
|
1016
|
-
integrationInfo?: unknown;
|
|
1017
1043
|
mobileOrder?: boolean | null | undefined;
|
|
1018
1044
|
webOrder?: boolean | null | undefined;
|
|
1045
|
+
callbackUrls?: {
|
|
1046
|
+
orderAcceptedUrl: string;
|
|
1047
|
+
orderRejectedUrl: string;
|
|
1048
|
+
orderPreparedUrl: string;
|
|
1049
|
+
} | null | undefined;
|
|
1019
1050
|
code: string;
|
|
1020
1051
|
price: {
|
|
1021
1052
|
deliveryFee?: string | null | undefined;
|
|
@@ -1032,6 +1063,7 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1032
1063
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1033
1064
|
vatVisible?: boolean | null | undefined;
|
|
1034
1065
|
vatPercent?: string | null | undefined;
|
|
1066
|
+
subTotal: string;
|
|
1035
1067
|
deliveryFees: {
|
|
1036
1068
|
name: string;
|
|
1037
1069
|
value: number;
|
|
@@ -1039,7 +1071,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1039
1071
|
grandTotal: string;
|
|
1040
1072
|
minimumDeliveryValue: string;
|
|
1041
1073
|
payRestaurant: string;
|
|
1042
|
-
subTotal: string;
|
|
1043
1074
|
vatTotal: string;
|
|
1044
1075
|
};
|
|
1045
1076
|
products: {
|
|
@@ -1079,16 +1110,17 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1079
1110
|
vatId: string;
|
|
1080
1111
|
vatName: string;
|
|
1081
1112
|
};
|
|
1082
|
-
|
|
1083
|
-
comments: {
|
|
1084
|
-
customerComment?: string | null | undefined;
|
|
1085
|
-
vendorComment: string;
|
|
1086
|
-
};
|
|
1113
|
+
vouchers: string[];
|
|
1087
1114
|
discounts: {
|
|
1088
1115
|
name: string;
|
|
1089
1116
|
type: string;
|
|
1090
1117
|
amount: string;
|
|
1091
1118
|
}[];
|
|
1119
|
+
token: string;
|
|
1120
|
+
comments: {
|
|
1121
|
+
customerComment?: string | null | undefined;
|
|
1122
|
+
vendorComment: string;
|
|
1123
|
+
};
|
|
1092
1124
|
expeditionType: "pickup" | "delivery";
|
|
1093
1125
|
expiryDate: string;
|
|
1094
1126
|
localInfo: {
|
|
@@ -1110,7 +1142,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1110
1142
|
platformRestaurant: {
|
|
1111
1143
|
id: string;
|
|
1112
1144
|
};
|
|
1113
|
-
vouchers: string[];
|
|
1114
1145
|
}, {
|
|
1115
1146
|
pickup?: {
|
|
1116
1147
|
pickupTime?: string | null | undefined;
|
|
@@ -1150,13 +1181,18 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1150
1181
|
riderPickupTime?: string | null | undefined;
|
|
1151
1182
|
expressDelivery: boolean;
|
|
1152
1183
|
} | null | undefined;
|
|
1153
|
-
extraParameters?: unknown;
|
|
1154
1184
|
shortCode?: string | null | undefined;
|
|
1185
|
+
integrationInfo?: unknown;
|
|
1186
|
+
extraParameters?: unknown;
|
|
1155
1187
|
corporateTaxId?: string | null | undefined;
|
|
1156
1188
|
corporateOrder?: boolean | null | undefined;
|
|
1157
|
-
integrationInfo?: unknown;
|
|
1158
1189
|
mobileOrder?: boolean | null | undefined;
|
|
1159
1190
|
webOrder?: boolean | null | undefined;
|
|
1191
|
+
callbackUrls?: {
|
|
1192
|
+
orderAcceptedUrl: string;
|
|
1193
|
+
orderRejectedUrl: string;
|
|
1194
|
+
orderPreparedUrl: string;
|
|
1195
|
+
} | null | undefined;
|
|
1160
1196
|
code: string;
|
|
1161
1197
|
price: {
|
|
1162
1198
|
deliveryFee?: string | null | undefined;
|
|
@@ -1173,6 +1209,7 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1173
1209
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1174
1210
|
vatVisible?: boolean | null | undefined;
|
|
1175
1211
|
vatPercent?: string | null | undefined;
|
|
1212
|
+
subTotal: string;
|
|
1176
1213
|
deliveryFees: {
|
|
1177
1214
|
name: string;
|
|
1178
1215
|
value: number;
|
|
@@ -1180,7 +1217,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1180
1217
|
grandTotal: string;
|
|
1181
1218
|
minimumDeliveryValue: string;
|
|
1182
1219
|
payRestaurant: string;
|
|
1183
|
-
subTotal: string;
|
|
1184
1220
|
vatTotal: string;
|
|
1185
1221
|
};
|
|
1186
1222
|
products: {
|
|
@@ -1220,16 +1256,17 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1220
1256
|
vatId: string;
|
|
1221
1257
|
vatName: string;
|
|
1222
1258
|
};
|
|
1223
|
-
|
|
1224
|
-
comments: {
|
|
1225
|
-
customerComment?: string | null | undefined;
|
|
1226
|
-
vendorComment: string;
|
|
1227
|
-
};
|
|
1259
|
+
vouchers: string[];
|
|
1228
1260
|
discounts: {
|
|
1229
1261
|
name: string;
|
|
1230
1262
|
type: string;
|
|
1231
1263
|
amount: string;
|
|
1232
1264
|
}[];
|
|
1265
|
+
token: string;
|
|
1266
|
+
comments: {
|
|
1267
|
+
customerComment?: string | null | undefined;
|
|
1268
|
+
vendorComment: string;
|
|
1269
|
+
};
|
|
1233
1270
|
expeditionType: "pickup" | "delivery";
|
|
1234
1271
|
expiryDate: string;
|
|
1235
1272
|
localInfo: {
|
|
@@ -1251,7 +1288,6 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1251
1288
|
platformRestaurant: {
|
|
1252
1289
|
id: string;
|
|
1253
1290
|
};
|
|
1254
|
-
vouchers: string[];
|
|
1255
1291
|
}>;
|
|
1256
1292
|
export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
1257
1293
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1602,6 +1638,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1602
1638
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1603
1639
|
vatVisible?: boolean | null | undefined;
|
|
1604
1640
|
vatPercent?: string | null | undefined;
|
|
1641
|
+
subTotal: string;
|
|
1605
1642
|
deliveryFees: {
|
|
1606
1643
|
name: string;
|
|
1607
1644
|
value: number;
|
|
@@ -1609,7 +1646,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1609
1646
|
grandTotal: string;
|
|
1610
1647
|
minimumDeliveryValue: string;
|
|
1611
1648
|
payRestaurant: string;
|
|
1612
|
-
subTotal: string;
|
|
1613
1649
|
vatTotal: string;
|
|
1614
1650
|
}, {
|
|
1615
1651
|
deliveryFee?: string | null | undefined;
|
|
@@ -1626,6 +1662,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1626
1662
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1627
1663
|
vatVisible?: boolean | null | undefined;
|
|
1628
1664
|
vatPercent?: string | null | undefined;
|
|
1665
|
+
subTotal: string;
|
|
1629
1666
|
deliveryFees: {
|
|
1630
1667
|
name: string;
|
|
1631
1668
|
value: number;
|
|
@@ -1633,7 +1670,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1633
1670
|
grandTotal: string;
|
|
1634
1671
|
minimumDeliveryValue: string;
|
|
1635
1672
|
payRestaurant: string;
|
|
1636
|
-
subTotal: string;
|
|
1637
1673
|
vatTotal: string;
|
|
1638
1674
|
}>;
|
|
1639
1675
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -1701,6 +1737,19 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1701
1737
|
mobileOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1702
1738
|
webOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1703
1739
|
vouchers: z.ZodArray<z.ZodString, "many">;
|
|
1740
|
+
callbackUrls: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
1741
|
+
orderAcceptedUrl: z.ZodString;
|
|
1742
|
+
orderRejectedUrl: z.ZodString;
|
|
1743
|
+
orderPreparedUrl: z.ZodString;
|
|
1744
|
+
}, "strip", z.ZodTypeAny, {
|
|
1745
|
+
orderAcceptedUrl: string;
|
|
1746
|
+
orderRejectedUrl: string;
|
|
1747
|
+
orderPreparedUrl: string;
|
|
1748
|
+
}, {
|
|
1749
|
+
orderAcceptedUrl: string;
|
|
1750
|
+
orderRejectedUrl: string;
|
|
1751
|
+
orderPreparedUrl: string;
|
|
1752
|
+
}>>>;
|
|
1704
1753
|
}, "strip", z.ZodTypeAny, {
|
|
1705
1754
|
pickup?: {
|
|
1706
1755
|
pickupTime?: string | null | undefined;
|
|
@@ -1740,13 +1789,18 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1740
1789
|
riderPickupTime?: string | null | undefined;
|
|
1741
1790
|
expressDelivery: boolean;
|
|
1742
1791
|
} | null | undefined;
|
|
1743
|
-
extraParameters?: unknown;
|
|
1744
1792
|
shortCode?: string | null | undefined;
|
|
1793
|
+
integrationInfo?: unknown;
|
|
1794
|
+
extraParameters?: unknown;
|
|
1745
1795
|
corporateTaxId?: string | null | undefined;
|
|
1746
1796
|
corporateOrder?: boolean | null | undefined;
|
|
1747
|
-
integrationInfo?: unknown;
|
|
1748
1797
|
mobileOrder?: boolean | null | undefined;
|
|
1749
1798
|
webOrder?: boolean | null | undefined;
|
|
1799
|
+
callbackUrls?: {
|
|
1800
|
+
orderAcceptedUrl: string;
|
|
1801
|
+
orderRejectedUrl: string;
|
|
1802
|
+
orderPreparedUrl: string;
|
|
1803
|
+
} | null | undefined;
|
|
1750
1804
|
code: string;
|
|
1751
1805
|
price: {
|
|
1752
1806
|
deliveryFee?: string | null | undefined;
|
|
@@ -1763,6 +1817,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1763
1817
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1764
1818
|
vatVisible?: boolean | null | undefined;
|
|
1765
1819
|
vatPercent?: string | null | undefined;
|
|
1820
|
+
subTotal: string;
|
|
1766
1821
|
deliveryFees: {
|
|
1767
1822
|
name: string;
|
|
1768
1823
|
value: number;
|
|
@@ -1770,7 +1825,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1770
1825
|
grandTotal: string;
|
|
1771
1826
|
minimumDeliveryValue: string;
|
|
1772
1827
|
payRestaurant: string;
|
|
1773
|
-
subTotal: string;
|
|
1774
1828
|
vatTotal: string;
|
|
1775
1829
|
};
|
|
1776
1830
|
products: {
|
|
@@ -1810,16 +1864,17 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1810
1864
|
vatId: string;
|
|
1811
1865
|
vatName: string;
|
|
1812
1866
|
};
|
|
1813
|
-
|
|
1814
|
-
comments: {
|
|
1815
|
-
customerComment?: string | null | undefined;
|
|
1816
|
-
vendorComment: string;
|
|
1817
|
-
};
|
|
1867
|
+
vouchers: string[];
|
|
1818
1868
|
discounts: {
|
|
1819
1869
|
name: string;
|
|
1820
1870
|
type: string;
|
|
1821
1871
|
amount: string;
|
|
1822
1872
|
}[];
|
|
1873
|
+
token: string;
|
|
1874
|
+
comments: {
|
|
1875
|
+
customerComment?: string | null | undefined;
|
|
1876
|
+
vendorComment: string;
|
|
1877
|
+
};
|
|
1823
1878
|
expeditionType: "pickup" | "delivery";
|
|
1824
1879
|
expiryDate: string;
|
|
1825
1880
|
localInfo: {
|
|
@@ -1841,7 +1896,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1841
1896
|
platformRestaurant: {
|
|
1842
1897
|
id: string;
|
|
1843
1898
|
};
|
|
1844
|
-
vouchers: string[];
|
|
1845
1899
|
}, {
|
|
1846
1900
|
pickup?: {
|
|
1847
1901
|
pickupTime?: string | null | undefined;
|
|
@@ -1881,13 +1935,18 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1881
1935
|
riderPickupTime?: string | null | undefined;
|
|
1882
1936
|
expressDelivery: boolean;
|
|
1883
1937
|
} | null | undefined;
|
|
1884
|
-
extraParameters?: unknown;
|
|
1885
1938
|
shortCode?: string | null | undefined;
|
|
1939
|
+
integrationInfo?: unknown;
|
|
1940
|
+
extraParameters?: unknown;
|
|
1886
1941
|
corporateTaxId?: string | null | undefined;
|
|
1887
1942
|
corporateOrder?: boolean | null | undefined;
|
|
1888
|
-
integrationInfo?: unknown;
|
|
1889
1943
|
mobileOrder?: boolean | null | undefined;
|
|
1890
1944
|
webOrder?: boolean | null | undefined;
|
|
1945
|
+
callbackUrls?: {
|
|
1946
|
+
orderAcceptedUrl: string;
|
|
1947
|
+
orderRejectedUrl: string;
|
|
1948
|
+
orderPreparedUrl: string;
|
|
1949
|
+
} | null | undefined;
|
|
1891
1950
|
code: string;
|
|
1892
1951
|
price: {
|
|
1893
1952
|
deliveryFee?: string | null | undefined;
|
|
@@ -1904,6 +1963,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1904
1963
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
1905
1964
|
vatVisible?: boolean | null | undefined;
|
|
1906
1965
|
vatPercent?: string | null | undefined;
|
|
1966
|
+
subTotal: string;
|
|
1907
1967
|
deliveryFees: {
|
|
1908
1968
|
name: string;
|
|
1909
1969
|
value: number;
|
|
@@ -1911,7 +1971,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1911
1971
|
grandTotal: string;
|
|
1912
1972
|
minimumDeliveryValue: string;
|
|
1913
1973
|
payRestaurant: string;
|
|
1914
|
-
subTotal: string;
|
|
1915
1974
|
vatTotal: string;
|
|
1916
1975
|
};
|
|
1917
1976
|
products: {
|
|
@@ -1951,16 +2010,17 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1951
2010
|
vatId: string;
|
|
1952
2011
|
vatName: string;
|
|
1953
2012
|
};
|
|
1954
|
-
|
|
1955
|
-
comments: {
|
|
1956
|
-
customerComment?: string | null | undefined;
|
|
1957
|
-
vendorComment: string;
|
|
1958
|
-
};
|
|
2013
|
+
vouchers: string[];
|
|
1959
2014
|
discounts: {
|
|
1960
2015
|
name: string;
|
|
1961
2016
|
type: string;
|
|
1962
2017
|
amount: string;
|
|
1963
2018
|
}[];
|
|
2019
|
+
token: string;
|
|
2020
|
+
comments: {
|
|
2021
|
+
customerComment?: string | null | undefined;
|
|
2022
|
+
vendorComment: string;
|
|
2023
|
+
};
|
|
1964
2024
|
expeditionType: "pickup" | "delivery";
|
|
1965
2025
|
expiryDate: string;
|
|
1966
2026
|
localInfo: {
|
|
@@ -1982,7 +2042,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1982
2042
|
platformRestaurant: {
|
|
1983
2043
|
id: string;
|
|
1984
2044
|
};
|
|
1985
|
-
vouchers: string[];
|
|
1986
2045
|
}>;
|
|
1987
2046
|
}, "strip", z.ZodTypeAny, {
|
|
1988
2047
|
_id: string;
|
|
@@ -2029,13 +2088,18 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2029
2088
|
riderPickupTime?: string | null | undefined;
|
|
2030
2089
|
expressDelivery: boolean;
|
|
2031
2090
|
} | null | undefined;
|
|
2032
|
-
extraParameters?: unknown;
|
|
2033
2091
|
shortCode?: string | null | undefined;
|
|
2092
|
+
integrationInfo?: unknown;
|
|
2093
|
+
extraParameters?: unknown;
|
|
2034
2094
|
corporateTaxId?: string | null | undefined;
|
|
2035
2095
|
corporateOrder?: boolean | null | undefined;
|
|
2036
|
-
integrationInfo?: unknown;
|
|
2037
2096
|
mobileOrder?: boolean | null | undefined;
|
|
2038
2097
|
webOrder?: boolean | null | undefined;
|
|
2098
|
+
callbackUrls?: {
|
|
2099
|
+
orderAcceptedUrl: string;
|
|
2100
|
+
orderRejectedUrl: string;
|
|
2101
|
+
orderPreparedUrl: string;
|
|
2102
|
+
} | null | undefined;
|
|
2039
2103
|
code: string;
|
|
2040
2104
|
price: {
|
|
2041
2105
|
deliveryFee?: string | null | undefined;
|
|
@@ -2052,6 +2116,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2052
2116
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
2053
2117
|
vatVisible?: boolean | null | undefined;
|
|
2054
2118
|
vatPercent?: string | null | undefined;
|
|
2119
|
+
subTotal: string;
|
|
2055
2120
|
deliveryFees: {
|
|
2056
2121
|
name: string;
|
|
2057
2122
|
value: number;
|
|
@@ -2059,7 +2124,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2059
2124
|
grandTotal: string;
|
|
2060
2125
|
minimumDeliveryValue: string;
|
|
2061
2126
|
payRestaurant: string;
|
|
2062
|
-
subTotal: string;
|
|
2063
2127
|
vatTotal: string;
|
|
2064
2128
|
};
|
|
2065
2129
|
products: {
|
|
@@ -2099,16 +2163,17 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2099
2163
|
vatId: string;
|
|
2100
2164
|
vatName: string;
|
|
2101
2165
|
};
|
|
2102
|
-
|
|
2103
|
-
comments: {
|
|
2104
|
-
customerComment?: string | null | undefined;
|
|
2105
|
-
vendorComment: string;
|
|
2106
|
-
};
|
|
2166
|
+
vouchers: string[];
|
|
2107
2167
|
discounts: {
|
|
2108
2168
|
name: string;
|
|
2109
2169
|
type: string;
|
|
2110
2170
|
amount: string;
|
|
2111
2171
|
}[];
|
|
2172
|
+
token: string;
|
|
2173
|
+
comments: {
|
|
2174
|
+
customerComment?: string | null | undefined;
|
|
2175
|
+
vendorComment: string;
|
|
2176
|
+
};
|
|
2112
2177
|
expeditionType: "pickup" | "delivery";
|
|
2113
2178
|
expiryDate: string;
|
|
2114
2179
|
localInfo: {
|
|
@@ -2130,7 +2195,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2130
2195
|
platformRestaurant: {
|
|
2131
2196
|
id: string;
|
|
2132
2197
|
};
|
|
2133
|
-
vouchers: string[];
|
|
2134
2198
|
};
|
|
2135
2199
|
remoteId: string;
|
|
2136
2200
|
}, {
|
|
@@ -2178,13 +2242,18 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2178
2242
|
riderPickupTime?: string | null | undefined;
|
|
2179
2243
|
expressDelivery: boolean;
|
|
2180
2244
|
} | null | undefined;
|
|
2181
|
-
extraParameters?: unknown;
|
|
2182
2245
|
shortCode?: string | null | undefined;
|
|
2246
|
+
integrationInfo?: unknown;
|
|
2247
|
+
extraParameters?: unknown;
|
|
2183
2248
|
corporateTaxId?: string | null | undefined;
|
|
2184
2249
|
corporateOrder?: boolean | null | undefined;
|
|
2185
|
-
integrationInfo?: unknown;
|
|
2186
2250
|
mobileOrder?: boolean | null | undefined;
|
|
2187
2251
|
webOrder?: boolean | null | undefined;
|
|
2252
|
+
callbackUrls?: {
|
|
2253
|
+
orderAcceptedUrl: string;
|
|
2254
|
+
orderRejectedUrl: string;
|
|
2255
|
+
orderPreparedUrl: string;
|
|
2256
|
+
} | null | undefined;
|
|
2188
2257
|
code: string;
|
|
2189
2258
|
price: {
|
|
2190
2259
|
deliveryFee?: string | null | undefined;
|
|
@@ -2201,6 +2270,7 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2201
2270
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
2202
2271
|
vatVisible?: boolean | null | undefined;
|
|
2203
2272
|
vatPercent?: string | null | undefined;
|
|
2273
|
+
subTotal: string;
|
|
2204
2274
|
deliveryFees: {
|
|
2205
2275
|
name: string;
|
|
2206
2276
|
value: number;
|
|
@@ -2208,7 +2278,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2208
2278
|
grandTotal: string;
|
|
2209
2279
|
minimumDeliveryValue: string;
|
|
2210
2280
|
payRestaurant: string;
|
|
2211
|
-
subTotal: string;
|
|
2212
2281
|
vatTotal: string;
|
|
2213
2282
|
};
|
|
2214
2283
|
products: {
|
|
@@ -2248,16 +2317,17 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2248
2317
|
vatId: string;
|
|
2249
2318
|
vatName: string;
|
|
2250
2319
|
};
|
|
2251
|
-
|
|
2252
|
-
comments: {
|
|
2253
|
-
customerComment?: string | null | undefined;
|
|
2254
|
-
vendorComment: string;
|
|
2255
|
-
};
|
|
2320
|
+
vouchers: string[];
|
|
2256
2321
|
discounts: {
|
|
2257
2322
|
name: string;
|
|
2258
2323
|
type: string;
|
|
2259
2324
|
amount: string;
|
|
2260
2325
|
}[];
|
|
2326
|
+
token: string;
|
|
2327
|
+
comments: {
|
|
2328
|
+
customerComment?: string | null | undefined;
|
|
2329
|
+
vendorComment: string;
|
|
2330
|
+
};
|
|
2261
2331
|
expeditionType: "pickup" | "delivery";
|
|
2262
2332
|
expiryDate: string;
|
|
2263
2333
|
localInfo: {
|
|
@@ -2279,7 +2349,6 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2279
2349
|
platformRestaurant: {
|
|
2280
2350
|
id: string;
|
|
2281
2351
|
};
|
|
2282
|
-
vouchers: string[];
|
|
2283
2352
|
};
|
|
2284
2353
|
remoteId: string;
|
|
2285
2354
|
}>;
|
|
@@ -3236,6 +3305,7 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3236
3305
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
3237
3306
|
vatVisible?: boolean | null | undefined;
|
|
3238
3307
|
vatPercent?: string | null | undefined;
|
|
3308
|
+
subTotal: string;
|
|
3239
3309
|
deliveryFees: {
|
|
3240
3310
|
name: string;
|
|
3241
3311
|
value: number;
|
|
@@ -3243,7 +3313,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3243
3313
|
grandTotal: string;
|
|
3244
3314
|
minimumDeliveryValue: string;
|
|
3245
3315
|
payRestaurant: string;
|
|
3246
|
-
subTotal: string;
|
|
3247
3316
|
vatTotal: string;
|
|
3248
3317
|
}, {
|
|
3249
3318
|
deliveryFee?: string | null | undefined;
|
|
@@ -3260,6 +3329,7 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3260
3329
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
3261
3330
|
vatVisible?: boolean | null | undefined;
|
|
3262
3331
|
vatPercent?: string | null | undefined;
|
|
3332
|
+
subTotal: string;
|
|
3263
3333
|
deliveryFees: {
|
|
3264
3334
|
name: string;
|
|
3265
3335
|
value: number;
|
|
@@ -3267,7 +3337,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3267
3337
|
grandTotal: string;
|
|
3268
3338
|
minimumDeliveryValue: string;
|
|
3269
3339
|
payRestaurant: string;
|
|
3270
|
-
subTotal: string;
|
|
3271
3340
|
vatTotal: string;
|
|
3272
3341
|
}>;
|
|
3273
3342
|
products: z.ZodArray<z.ZodObject<{
|
|
@@ -3335,6 +3404,19 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3335
3404
|
mobileOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
3336
3405
|
webOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
3337
3406
|
vouchers: z.ZodArray<z.ZodString, "many">;
|
|
3407
|
+
callbackUrls: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
3408
|
+
orderAcceptedUrl: z.ZodString;
|
|
3409
|
+
orderRejectedUrl: z.ZodString;
|
|
3410
|
+
orderPreparedUrl: z.ZodString;
|
|
3411
|
+
}, "strip", z.ZodTypeAny, {
|
|
3412
|
+
orderAcceptedUrl: string;
|
|
3413
|
+
orderRejectedUrl: string;
|
|
3414
|
+
orderPreparedUrl: string;
|
|
3415
|
+
}, {
|
|
3416
|
+
orderAcceptedUrl: string;
|
|
3417
|
+
orderRejectedUrl: string;
|
|
3418
|
+
orderPreparedUrl: string;
|
|
3419
|
+
}>>>;
|
|
3338
3420
|
}, {
|
|
3339
3421
|
status: z.ZodEnum<["pending", "accepted", "cancelled"]>;
|
|
3340
3422
|
reason: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
@@ -3378,13 +3460,18 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3378
3460
|
riderPickupTime?: string | null | undefined;
|
|
3379
3461
|
expressDelivery: boolean;
|
|
3380
3462
|
} | null | undefined;
|
|
3381
|
-
extraParameters?: unknown;
|
|
3382
3463
|
shortCode?: string | null | undefined;
|
|
3464
|
+
integrationInfo?: unknown;
|
|
3465
|
+
extraParameters?: unknown;
|
|
3383
3466
|
corporateTaxId?: string | null | undefined;
|
|
3384
3467
|
corporateOrder?: boolean | null | undefined;
|
|
3385
|
-
integrationInfo?: unknown;
|
|
3386
3468
|
mobileOrder?: boolean | null | undefined;
|
|
3387
3469
|
webOrder?: boolean | null | undefined;
|
|
3470
|
+
callbackUrls?: {
|
|
3471
|
+
orderAcceptedUrl: string;
|
|
3472
|
+
orderRejectedUrl: string;
|
|
3473
|
+
orderPreparedUrl: string;
|
|
3474
|
+
} | null | undefined;
|
|
3388
3475
|
code: string;
|
|
3389
3476
|
status: "cancelled" | "pending" | "accepted";
|
|
3390
3477
|
price: {
|
|
@@ -3402,6 +3489,7 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3402
3489
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
3403
3490
|
vatVisible?: boolean | null | undefined;
|
|
3404
3491
|
vatPercent?: string | null | undefined;
|
|
3492
|
+
subTotal: string;
|
|
3405
3493
|
deliveryFees: {
|
|
3406
3494
|
name: string;
|
|
3407
3495
|
value: number;
|
|
@@ -3409,7 +3497,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3409
3497
|
grandTotal: string;
|
|
3410
3498
|
minimumDeliveryValue: string;
|
|
3411
3499
|
payRestaurant: string;
|
|
3412
|
-
subTotal: string;
|
|
3413
3500
|
vatTotal: string;
|
|
3414
3501
|
};
|
|
3415
3502
|
products: {
|
|
@@ -3449,16 +3536,17 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3449
3536
|
vatId: string;
|
|
3450
3537
|
vatName: string;
|
|
3451
3538
|
};
|
|
3452
|
-
|
|
3453
|
-
comments: {
|
|
3454
|
-
customerComment?: string | null | undefined;
|
|
3455
|
-
vendorComment: string;
|
|
3456
|
-
};
|
|
3539
|
+
vouchers: string[];
|
|
3457
3540
|
discounts: {
|
|
3458
3541
|
name: string;
|
|
3459
3542
|
type: string;
|
|
3460
3543
|
amount: string;
|
|
3461
3544
|
}[];
|
|
3545
|
+
token: string;
|
|
3546
|
+
comments: {
|
|
3547
|
+
customerComment?: string | null | undefined;
|
|
3548
|
+
vendorComment: string;
|
|
3549
|
+
};
|
|
3462
3550
|
expeditionType: "pickup" | "delivery";
|
|
3463
3551
|
expiryDate: string;
|
|
3464
3552
|
localInfo: {
|
|
@@ -3480,7 +3568,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3480
3568
|
platformRestaurant: {
|
|
3481
3569
|
id: string;
|
|
3482
3570
|
};
|
|
3483
|
-
vouchers: string[];
|
|
3484
3571
|
}, {
|
|
3485
3572
|
pickup?: {
|
|
3486
3573
|
pickupTime?: string | null | undefined;
|
|
@@ -3521,13 +3608,18 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3521
3608
|
riderPickupTime?: string | null | undefined;
|
|
3522
3609
|
expressDelivery: boolean;
|
|
3523
3610
|
} | null | undefined;
|
|
3524
|
-
extraParameters?: unknown;
|
|
3525
3611
|
shortCode?: string | null | undefined;
|
|
3612
|
+
integrationInfo?: unknown;
|
|
3613
|
+
extraParameters?: unknown;
|
|
3526
3614
|
corporateTaxId?: string | null | undefined;
|
|
3527
3615
|
corporateOrder?: boolean | null | undefined;
|
|
3528
|
-
integrationInfo?: unknown;
|
|
3529
3616
|
mobileOrder?: boolean | null | undefined;
|
|
3530
3617
|
webOrder?: boolean | null | undefined;
|
|
3618
|
+
callbackUrls?: {
|
|
3619
|
+
orderAcceptedUrl: string;
|
|
3620
|
+
orderRejectedUrl: string;
|
|
3621
|
+
orderPreparedUrl: string;
|
|
3622
|
+
} | null | undefined;
|
|
3531
3623
|
code: string;
|
|
3532
3624
|
status: "cancelled" | "pending" | "accepted";
|
|
3533
3625
|
price: {
|
|
@@ -3545,6 +3637,7 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3545
3637
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
3546
3638
|
vatVisible?: boolean | null | undefined;
|
|
3547
3639
|
vatPercent?: string | null | undefined;
|
|
3640
|
+
subTotal: string;
|
|
3548
3641
|
deliveryFees: {
|
|
3549
3642
|
name: string;
|
|
3550
3643
|
value: number;
|
|
@@ -3552,7 +3645,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3552
3645
|
grandTotal: string;
|
|
3553
3646
|
minimumDeliveryValue: string;
|
|
3554
3647
|
payRestaurant: string;
|
|
3555
|
-
subTotal: string;
|
|
3556
3648
|
vatTotal: string;
|
|
3557
3649
|
};
|
|
3558
3650
|
products: {
|
|
@@ -3592,16 +3684,17 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3592
3684
|
vatId: string;
|
|
3593
3685
|
vatName: string;
|
|
3594
3686
|
};
|
|
3595
|
-
|
|
3596
|
-
comments: {
|
|
3597
|
-
customerComment?: string | null | undefined;
|
|
3598
|
-
vendorComment: string;
|
|
3599
|
-
};
|
|
3687
|
+
vouchers: string[];
|
|
3600
3688
|
discounts: {
|
|
3601
3689
|
name: string;
|
|
3602
3690
|
type: string;
|
|
3603
3691
|
amount: string;
|
|
3604
3692
|
}[];
|
|
3693
|
+
token: string;
|
|
3694
|
+
comments: {
|
|
3695
|
+
customerComment?: string | null | undefined;
|
|
3696
|
+
vendorComment: string;
|
|
3697
|
+
};
|
|
3605
3698
|
expeditionType: "pickup" | "delivery";
|
|
3606
3699
|
expiryDate: string;
|
|
3607
3700
|
localInfo: {
|
|
@@ -3623,7 +3716,6 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3623
3716
|
platformRestaurant: {
|
|
3624
3717
|
id: string;
|
|
3625
3718
|
};
|
|
3626
|
-
vouchers: string[];
|
|
3627
3719
|
}>;
|
|
3628
3720
|
declare const FPConfig: z.ZodObject<{
|
|
3629
3721
|
username: z.ZodString;
|
|
@@ -3631,14 +3723,14 @@ declare const FPConfig: z.ZodObject<{
|
|
|
3631
3723
|
grant_type: z.ZodString;
|
|
3632
3724
|
chainCode: z.ZodString;
|
|
3633
3725
|
}, "strip", z.ZodTypeAny, {
|
|
3726
|
+
password: string;
|
|
3634
3727
|
grant_type: string;
|
|
3635
3728
|
username: string;
|
|
3636
|
-
password: string;
|
|
3637
3729
|
chainCode: string;
|
|
3638
3730
|
}, {
|
|
3731
|
+
password: string;
|
|
3639
3732
|
grant_type: string;
|
|
3640
3733
|
username: string;
|
|
3641
|
-
password: string;
|
|
3642
3734
|
chainCode: string;
|
|
3643
3735
|
}>;
|
|
3644
3736
|
declare const FPLoginRes: z.ZodObject<{
|
|
@@ -3775,6 +3867,7 @@ export type FPProductItem = z.infer<typeof FPProductItem>;
|
|
|
3775
3867
|
export type FPProductVariation = z.infer<typeof FPProductVariation>;
|
|
3776
3868
|
export type FPProductVariationToppingTemplates = z.infer<typeof FPProductVariationToppingTemplates>;
|
|
3777
3869
|
export type FPToppingTemplateProducts = z.infer<typeof FPToppingTemplateProducts>;
|
|
3870
|
+
export type FPCallbackUrls = z.infer<typeof FPCallbackUrls>;
|
|
3778
3871
|
export type FPToppingTemplates = z.infer<typeof FPToppingTemplates>;
|
|
3779
3872
|
export type FPMenuProducts = z.infer<typeof FPMenuProducts>;
|
|
3780
3873
|
export type FPMenuCategories = z.infer<typeof FPMenuCategories>;
|