@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.
Files changed (88) hide show
  1. package/dist/{KioskDevicesView-TgyDh8aI.js → KioskDevicesView-C6YmdLKc.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CiYEoMoW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js} +2 -2
  3. package/dist/{KioskSettingView-fbOxH9m8.js → KioskSettingView-D-muNxlb.js} +1 -1
  4. package/dist/KioskView-kcjjk4fF.js +371 -0
  5. package/dist/{OrderSettingsView-mYvRn7u9.js → OrderSettingsView-D_bGK-3J.js} +34007 -32820
  6. package/dist/{app-A306cfER.js → app-C5qwExhL.js} +41 -23
  7. package/dist/app.js +1 -1
  8. package/dist/common/convertor/index.d.ts +2 -0
  9. package/dist/common/sms/index.d.ts +1 -1
  10. package/dist/common/util/index.d.ts +6 -0
  11. package/dist/{dayjs.min-CLR5r0qf.js → dayjs.min-kEC9G7bx.js} +36 -36
  12. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
  13. package/dist/frontend/mf-order/src/app.d.ts +18 -0
  14. package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
  16. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
  17. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
  18. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
  19. package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -0
  20. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
  21. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
  22. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
  23. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
  24. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
  25. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  26. package/dist/{index-BJuGDir8.js → index-C_53CwBa.js} +2 -2
  27. package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
  28. package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
  29. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
  30. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
  31. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +865 -4
  32. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
  33. package/dist/package/entity/index.d.ts +34 -22
  34. package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
  35. package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
  36. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
  37. package/dist/package/entity/member/member.dto.d.ts +33 -0
  38. package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
  39. package/dist/package/entity/order/order.do.d.ts +37 -0
  40. package/dist/package/entity/order/order.dto.d.ts +808 -17435
  41. package/dist/package/entity/order/order.enum.d.ts +2 -0
  42. package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
  43. package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
  44. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
  45. package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
  46. package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
  47. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
  48. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
  49. package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
  50. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
  51. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
  52. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +175 -82
  53. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +372 -291
  54. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
  55. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
  56. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +66 -65
  57. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +435 -263
  58. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
  59. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +47 -7
  60. package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
  61. package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
  62. package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
  63. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
  64. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +0 -41
  65. package/dist/package/entity/printer/printer.do.d.ts +2 -2
  66. package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
  67. package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
  68. package/dist/package/entity/queue/queue.do.d.ts +40 -0
  69. package/dist/{auth.dto-C5PLip9a.js → queue.do-Vog69wnQ.js} +34049 -33284
  70. package/package.json +4 -3
  71. package/src/api/remoteOrder/index.ts +13 -2
  72. package/src/helpers/menu.ts +2 -2
  73. package/src/locales/en-US.json +11 -1
  74. package/src/locales/zh-CN.json +10 -1
  75. package/src/stores/restaurant/index.ts +4 -1
  76. package/src/views/kiosk/KioskSummary.vue +4 -3
  77. package/src/views/kiosk/KioskView.vue +36 -3
  78. package/src/views/order-settings/delivery/DeliverySetting.vue +83 -6
  79. package/src/views/order-settings/delivery/delivery.data.ts +16 -1
  80. package/src/views/order-settings/delivery/delivery.ts +1 -0
  81. package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
  82. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
  83. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
  84. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
  85. package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
  86. package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +214 -158
  87. package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
  88. package/dist/KioskView-C0Vn5S89.js +0 -334
@@ -379,6 +379,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
379
379
  differenceToMinimumDeliveryValue?: string | null | undefined;
380
380
  vatVisible?: boolean | null | undefined;
381
381
  vatPercent?: string | null | undefined;
382
+ subTotal: string;
382
383
  deliveryFees: {
383
384
  name: string;
384
385
  value: number;
@@ -386,7 +387,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
386
387
  grandTotal: string;
387
388
  minimumDeliveryValue: string;
388
389
  payRestaurant: string;
389
- subTotal: string;
390
390
  vatTotal: string;
391
391
  }, {
392
392
  deliveryFee?: string | null | undefined;
@@ -403,6 +403,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
403
403
  differenceToMinimumDeliveryValue?: string | null | undefined;
404
404
  vatVisible?: boolean | null | undefined;
405
405
  vatPercent?: string | null | undefined;
406
+ subTotal: string;
406
407
  deliveryFees: {
407
408
  name: string;
408
409
  value: number;
@@ -410,7 +411,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
410
411
  grandTotal: string;
411
412
  minimumDeliveryValue: string;
412
413
  payRestaurant: string;
413
- subTotal: string;
414
414
  vatTotal: string;
415
415
  }>;
416
416
  products: z.ZodArray<z.ZodObject<{
@@ -478,6 +478,19 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
478
478
  mobileOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
479
479
  webOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
480
480
  vouchers: z.ZodArray<z.ZodString, "many">;
481
+ callbackUrls: z.ZodNullable<z.ZodOptional<z.ZodObject<{
482
+ orderAcceptedUrl: z.ZodString;
483
+ orderRejectedUrl: z.ZodString;
484
+ orderPreparedUrl: z.ZodString;
485
+ }, "strip", z.ZodTypeAny, {
486
+ orderAcceptedUrl: string;
487
+ orderRejectedUrl: string;
488
+ orderPreparedUrl: string;
489
+ }, {
490
+ orderAcceptedUrl: string;
491
+ orderRejectedUrl: string;
492
+ orderPreparedUrl: string;
493
+ }>>>;
481
494
  }, "strip", z.ZodTypeAny, {
482
495
  pickup?: {
483
496
  pickupTime?: string | null | undefined;
@@ -517,13 +530,18 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
517
530
  riderPickupTime?: string | null | undefined;
518
531
  expressDelivery: boolean;
519
532
  } | null | undefined;
520
- extraParameters?: unknown;
521
533
  shortCode?: string | null | undefined;
534
+ integrationInfo?: unknown;
535
+ extraParameters?: unknown;
522
536
  corporateTaxId?: string | null | undefined;
523
537
  corporateOrder?: boolean | null | undefined;
524
- integrationInfo?: unknown;
525
538
  mobileOrder?: boolean | null | undefined;
526
539
  webOrder?: boolean | null | undefined;
540
+ callbackUrls?: {
541
+ orderAcceptedUrl: string;
542
+ orderRejectedUrl: string;
543
+ orderPreparedUrl: string;
544
+ } | null | undefined;
527
545
  code: string;
528
546
  price: {
529
547
  deliveryFee?: string | null | undefined;
@@ -540,6 +558,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
540
558
  differenceToMinimumDeliveryValue?: string | null | undefined;
541
559
  vatVisible?: boolean | null | undefined;
542
560
  vatPercent?: string | null | undefined;
561
+ subTotal: string;
543
562
  deliveryFees: {
544
563
  name: string;
545
564
  value: number;
@@ -547,7 +566,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
547
566
  grandTotal: string;
548
567
  minimumDeliveryValue: string;
549
568
  payRestaurant: string;
550
- subTotal: string;
551
569
  vatTotal: string;
552
570
  };
553
571
  products: {
@@ -587,16 +605,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
587
605
  vatId: string;
588
606
  vatName: string;
589
607
  };
590
- token: string;
591
- comments: {
592
- customerComment?: string | null | undefined;
593
- vendorComment: string;
594
- };
608
+ vouchers: string[];
595
609
  discounts: {
596
610
  name: string;
597
611
  type: string;
598
612
  amount: string;
599
613
  }[];
614
+ token: string;
615
+ comments: {
616
+ customerComment?: string | null | undefined;
617
+ vendorComment: string;
618
+ };
600
619
  expeditionType: "pickup" | "delivery";
601
620
  expiryDate: string;
602
621
  localInfo: {
@@ -618,7 +637,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
618
637
  platformRestaurant: {
619
638
  id: string;
620
639
  };
621
- vouchers: string[];
622
640
  }, {
623
641
  pickup?: {
624
642
  pickupTime?: string | null | undefined;
@@ -658,13 +676,18 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
658
676
  riderPickupTime?: string | null | undefined;
659
677
  expressDelivery: boolean;
660
678
  } | null | undefined;
661
- extraParameters?: unknown;
662
679
  shortCode?: string | null | undefined;
680
+ integrationInfo?: unknown;
681
+ extraParameters?: unknown;
663
682
  corporateTaxId?: string | null | undefined;
664
683
  corporateOrder?: boolean | null | undefined;
665
- integrationInfo?: unknown;
666
684
  mobileOrder?: boolean | null | undefined;
667
685
  webOrder?: boolean | null | undefined;
686
+ callbackUrls?: {
687
+ orderAcceptedUrl: string;
688
+ orderRejectedUrl: string;
689
+ orderPreparedUrl: string;
690
+ } | null | undefined;
668
691
  code: string;
669
692
  price: {
670
693
  deliveryFee?: string | null | undefined;
@@ -681,6 +704,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
681
704
  differenceToMinimumDeliveryValue?: string | null | undefined;
682
705
  vatVisible?: boolean | null | undefined;
683
706
  vatPercent?: string | null | undefined;
707
+ subTotal: string;
684
708
  deliveryFees: {
685
709
  name: string;
686
710
  value: number;
@@ -688,7 +712,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
688
712
  grandTotal: string;
689
713
  minimumDeliveryValue: string;
690
714
  payRestaurant: string;
691
- subTotal: string;
692
715
  vatTotal: string;
693
716
  };
694
717
  products: {
@@ -728,16 +751,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
728
751
  vatId: string;
729
752
  vatName: string;
730
753
  };
731
- token: string;
732
- comments: {
733
- customerComment?: string | null | undefined;
734
- vendorComment: string;
735
- };
754
+ vouchers: string[];
736
755
  discounts: {
737
756
  name: string;
738
757
  type: string;
739
758
  amount: string;
740
759
  }[];
760
+ token: string;
761
+ comments: {
762
+ customerComment?: string | null | undefined;
763
+ vendorComment: string;
764
+ };
741
765
  expeditionType: "pickup" | "delivery";
742
766
  expiryDate: string;
743
767
  localInfo: {
@@ -759,13 +783,12 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
759
783
  platformRestaurant: {
760
784
  id: string;
761
785
  };
762
- vouchers: string[];
763
786
  }>;
764
787
  }, {
765
788
  pf_restaurant: z.ZodNullable<z.ZodOptional<z.ZodObject<{
766
789
  _id: z.ZodEffects<z.ZodString, string, string>;
767
790
  businessId: z.ZodString;
768
- pf_business: z.ZodObject<{
791
+ pf_business: z.ZodNullable<z.ZodOptional<z.ZodObject<{
769
792
  _id: z.ZodEffects<z.ZodString, string, string>;
770
793
  ownerId: z.ZodString;
771
794
  name: z.ZodString;
@@ -776,6 +799,19 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
776
799
  expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
777
800
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
778
801
  agentId: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
802
+ attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
803
+ key: z.ZodString;
804
+ type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
805
+ entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
806
+ }, "strip", z.ZodTypeAny, {
807
+ type: "string" | "number" | "boolean" | "date";
808
+ key: string;
809
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
810
+ }, {
811
+ type: "string" | "number" | "boolean" | "date";
812
+ key: string;
813
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
814
+ }>, "many">>>;
779
815
  pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
780
816
  _id: z.ZodEffects<z.ZodString, string, string>;
781
817
  name: z.ZodString;
@@ -1029,6 +1065,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
1029
1065
  url?: string | null | undefined;
1030
1066
  expiredAt?: string | null | undefined;
1031
1067
  agentId?: string | null | undefined;
1068
+ attributeSettings?: {
1069
+ type: "string" | "number" | "boolean" | "date";
1070
+ key: string;
1071
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
1072
+ }[] | null | undefined;
1032
1073
  pf_agent?: {
1033
1074
  clickupId?: string | null | undefined;
1034
1075
  members?: {
@@ -1090,6 +1131,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
1090
1131
  url?: string | null | undefined;
1091
1132
  expiredAt?: string | null | undefined;
1092
1133
  agentId?: string | null | undefined;
1134
+ attributeSettings?: {
1135
+ type: "string" | "number" | "boolean" | "date";
1136
+ key: string;
1137
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
1138
+ }[] | null | undefined;
1093
1139
  pf_agent?: {
1094
1140
  clickupId?: string | null | undefined;
1095
1141
  members?: {
@@ -1146,7 +1192,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
1146
1192
  restaurantQuota: number;
1147
1193
  warehouseQuota: number;
1148
1194
  menuVersion: string;
1149
- }>;
1195
+ }>>>;
1150
1196
  features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
1151
1197
  stock: string;
1152
1198
  discovery: string;
@@ -2816,10 +2862,12 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
2816
2862
  mapBorderColor?: number | null | undefined;
2817
2863
  mapLineColor?: number | null | undefined;
2818
2864
  }>>>;
2865
+ customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2819
2866
  }, "strip", z.ZodTypeAny, {
2820
2867
  channel?: string | null | undefined;
2821
2868
  machineId?: string | null | undefined;
2822
2869
  catalogId?: string | null | undefined;
2870
+ customAttributes?: Record<string, any> | null | undefined;
2823
2871
  takeaway?: {
2824
2872
  catalogId?: string | null | undefined;
2825
2873
  } | null | undefined;
@@ -2954,6 +3002,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
2954
3002
  acceptQueue?: boolean | null | undefined;
2955
3003
  anonymousOrder: boolean;
2956
3004
  } | null | undefined;
3005
+ pf_business?: {
3006
+ internal?: boolean | null | undefined;
3007
+ url?: string | null | undefined;
3008
+ expiredAt?: string | null | undefined;
3009
+ agentId?: string | null | undefined;
3010
+ attributeSettings?: {
3011
+ type: "string" | "number" | "boolean" | "date";
3012
+ key: string;
3013
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
3014
+ }[] | null | undefined;
3015
+ pf_agent?: {
3016
+ clickupId?: string | null | undefined;
3017
+ members?: {
3018
+ pf_user?: {
3019
+ email?: string | null | undefined;
3020
+ phoneNumber?: string | null | undefined;
3021
+ birthday?: string | null | undefined;
3022
+ gender?: "MALE" | "FEMALE" | null | undefined;
3023
+ addresses?: {
3024
+ name: string;
3025
+ address: string;
3026
+ coordinates: number[];
3027
+ }[] | null | undefined;
3028
+ photoURL?: string | null | undefined;
3029
+ displayName?: string | null | undefined;
3030
+ imported?: {
3031
+ raw: Record<string, any>;
3032
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3033
+ } | null | undefined;
3034
+ _id: string;
3035
+ } | null | undefined;
3036
+ role: "ADMIN";
3037
+ userId: string;
3038
+ }[] | null | undefined;
3039
+ code: string;
3040
+ name: string;
3041
+ _id: string;
3042
+ isReseller: boolean;
3043
+ } | null | undefined;
3044
+ thumbnail?: string | null | undefined;
3045
+ billingInfos?: {
3046
+ _id?: string | null | undefined;
3047
+ name: string;
3048
+ address: {
3049
+ coordinates?: number[] | null | undefined;
3050
+ line2?: string | null | undefined;
3051
+ state: string;
3052
+ country: string;
3053
+ line1: string;
3054
+ city: string;
3055
+ postcode: string;
3056
+ };
3057
+ email: string;
3058
+ companyName: string;
3059
+ contact: string;
3060
+ }[] | null | undefined;
3061
+ customerDisplayImages?: {
3062
+ url: string;
3063
+ restaurantIds: string[];
3064
+ }[] | null | undefined;
3065
+ name: string;
3066
+ _id: string;
3067
+ ownerId: string;
3068
+ restaurantQuota: number;
3069
+ warehouseQuota: number;
3070
+ menuVersion: string;
3071
+ } | null | undefined;
2957
3072
  features?: string[] | null | undefined;
2958
3073
  machineOtp?: string | null | undefined;
2959
3074
  machineOtpExpiredAt?: string | null | undefined;
@@ -3048,68 +3163,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3048
3163
  } | null | undefined;
3049
3164
  _id: string;
3050
3165
  expiredAt: string;
3051
- pf_business: {
3052
- internal?: boolean | null | undefined;
3053
- url?: string | null | undefined;
3054
- expiredAt?: string | null | undefined;
3055
- agentId?: string | null | undefined;
3056
- pf_agent?: {
3057
- clickupId?: string | null | undefined;
3058
- members?: {
3059
- pf_user?: {
3060
- email?: string | null | undefined;
3061
- phoneNumber?: string | null | undefined;
3062
- birthday?: string | null | undefined;
3063
- gender?: "MALE" | "FEMALE" | null | undefined;
3064
- addresses?: {
3065
- name: string;
3066
- address: string;
3067
- coordinates: number[];
3068
- }[] | null | undefined;
3069
- photoURL?: string | null | undefined;
3070
- displayName?: string | null | undefined;
3071
- imported?: {
3072
- raw: Record<string, any>;
3073
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3074
- } | null | undefined;
3075
- _id: string;
3076
- } | null | undefined;
3077
- role: "ADMIN";
3078
- userId: string;
3079
- }[] | null | undefined;
3080
- code: string;
3081
- name: string;
3082
- _id: string;
3083
- isReseller: boolean;
3084
- } | null | undefined;
3085
- thumbnail?: string | null | undefined;
3086
- billingInfos?: {
3087
- _id?: string | null | undefined;
3088
- name: string;
3089
- address: {
3090
- coordinates?: number[] | null | undefined;
3091
- line2?: string | null | undefined;
3092
- state: string;
3093
- country: string;
3094
- line1: string;
3095
- city: string;
3096
- postcode: string;
3097
- };
3098
- email: string;
3099
- companyName: string;
3100
- contact: string;
3101
- }[] | null | undefined;
3102
- customerDisplayImages?: {
3103
- url: string;
3104
- restaurantIds: string[];
3105
- }[] | null | undefined;
3106
- name: string;
3107
- _id: string;
3108
- ownerId: string;
3109
- restaurantQuota: number;
3110
- warehouseQuota: number;
3111
- menuVersion: string;
3112
- };
3113
3166
  businessId: string;
3114
3167
  profile: {
3115
3168
  code?: string | null | undefined;
@@ -3192,6 +3245,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3192
3245
  channel?: string | null | undefined;
3193
3246
  machineId?: string | null | undefined;
3194
3247
  catalogId?: string | null | undefined;
3248
+ customAttributes?: Record<string, any> | null | undefined;
3195
3249
  takeaway?: {
3196
3250
  catalogId?: string | null | undefined;
3197
3251
  } | null | undefined;
@@ -3326,6 +3380,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3326
3380
  acceptQueue?: boolean | null | undefined;
3327
3381
  anonymousOrder: boolean;
3328
3382
  } | null | undefined;
3383
+ pf_business?: {
3384
+ internal?: boolean | null | undefined;
3385
+ url?: string | null | undefined;
3386
+ expiredAt?: string | null | undefined;
3387
+ agentId?: string | null | undefined;
3388
+ attributeSettings?: {
3389
+ type: "string" | "number" | "boolean" | "date";
3390
+ key: string;
3391
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
3392
+ }[] | null | undefined;
3393
+ pf_agent?: {
3394
+ clickupId?: string | null | undefined;
3395
+ members?: {
3396
+ pf_user?: {
3397
+ email?: string | null | undefined;
3398
+ phoneNumber?: string | null | undefined;
3399
+ birthday?: string | null | undefined;
3400
+ gender?: "MALE" | "FEMALE" | null | undefined;
3401
+ addresses?: {
3402
+ name: string;
3403
+ address: string;
3404
+ coordinates: number[];
3405
+ }[] | null | undefined;
3406
+ photoURL?: string | null | undefined;
3407
+ displayName?: string | null | undefined;
3408
+ imported?: {
3409
+ raw: Record<string, any>;
3410
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3411
+ } | null | undefined;
3412
+ _id: string;
3413
+ } | null | undefined;
3414
+ role: "ADMIN";
3415
+ userId: string;
3416
+ }[] | null | undefined;
3417
+ code: string;
3418
+ name: string;
3419
+ _id: string;
3420
+ isReseller: boolean;
3421
+ } | null | undefined;
3422
+ thumbnail?: string | null | undefined;
3423
+ billingInfos?: {
3424
+ _id?: string | null | undefined;
3425
+ name: string;
3426
+ address: {
3427
+ coordinates?: number[] | null | undefined;
3428
+ line2?: string | null | undefined;
3429
+ state: string;
3430
+ country: string;
3431
+ line1: string;
3432
+ city: string;
3433
+ postcode: string;
3434
+ };
3435
+ email: string;
3436
+ companyName: string;
3437
+ contact: string;
3438
+ }[] | null | undefined;
3439
+ customerDisplayImages?: {
3440
+ url: string;
3441
+ restaurantIds: string[];
3442
+ }[] | null | undefined;
3443
+ name: string;
3444
+ _id: string;
3445
+ ownerId: string;
3446
+ restaurantQuota: number;
3447
+ warehouseQuota: number;
3448
+ menuVersion: string;
3449
+ } | null | undefined;
3329
3450
  features?: string[] | null | undefined;
3330
3451
  machineOtp?: string | null | undefined;
3331
3452
  machineOtpExpiredAt?: string | null | undefined;
@@ -3420,71 +3541,9 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3420
3541
  } | null | undefined;
3421
3542
  _id: string;
3422
3543
  expiredAt: string;
3423
- pf_business: {
3424
- internal?: boolean | null | undefined;
3425
- url?: string | null | undefined;
3426
- expiredAt?: string | null | undefined;
3427
- agentId?: string | null | undefined;
3428
- pf_agent?: {
3429
- clickupId?: string | null | undefined;
3430
- members?: {
3431
- pf_user?: {
3432
- email?: string | null | undefined;
3433
- phoneNumber?: string | null | undefined;
3434
- birthday?: string | null | undefined;
3435
- gender?: "MALE" | "FEMALE" | null | undefined;
3436
- addresses?: {
3437
- name: string;
3438
- address: string;
3439
- coordinates: number[];
3440
- }[] | null | undefined;
3441
- photoURL?: string | null | undefined;
3442
- displayName?: string | null | undefined;
3443
- imported?: {
3444
- raw: Record<string, any>;
3445
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3446
- } | null | undefined;
3447
- _id: string;
3448
- } | null | undefined;
3449
- role: "ADMIN";
3450
- userId: string;
3451
- }[] | null | undefined;
3452
- code: string;
3453
- name: string;
3454
- _id: string;
3455
- isReseller: boolean;
3456
- } | null | undefined;
3457
- thumbnail?: string | null | undefined;
3458
- billingInfos?: {
3459
- _id?: string | null | undefined;
3460
- name: string;
3461
- address: {
3462
- coordinates?: number[] | null | undefined;
3463
- line2?: string | null | undefined;
3464
- state: string;
3465
- country: string;
3466
- line1: string;
3467
- city: string;
3468
- postcode: string;
3469
- };
3470
- email: string;
3471
- companyName: string;
3472
- contact: string;
3473
- }[] | null | undefined;
3474
- customerDisplayImages?: {
3475
- url: string;
3476
- restaurantIds: string[];
3477
- }[] | null | undefined;
3478
- name: string;
3479
- _id: string;
3480
- ownerId: string;
3481
- restaurantQuota: number;
3482
- warehouseQuota: number;
3483
- menuVersion: string;
3484
- };
3485
- businessId: string;
3486
- profile: {
3487
- code?: string | null | undefined;
3544
+ businessId: string;
3545
+ profile: {
3546
+ code?: string | null | undefined;
3488
3547
  url?: string | null | undefined;
3489
3548
  description?: string | null | undefined;
3490
3549
  _id?: string | null | undefined;
@@ -3566,6 +3625,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3566
3625
  channel?: string | null | undefined;
3567
3626
  machineId?: string | null | undefined;
3568
3627
  catalogId?: string | null | undefined;
3628
+ customAttributes?: Record<string, any> | null | undefined;
3569
3629
  takeaway?: {
3570
3630
  catalogId?: string | null | undefined;
3571
3631
  } | null | undefined;
@@ -3700,6 +3760,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3700
3760
  acceptQueue?: boolean | null | undefined;
3701
3761
  anonymousOrder: boolean;
3702
3762
  } | null | undefined;
3763
+ pf_business?: {
3764
+ internal?: boolean | null | undefined;
3765
+ url?: string | null | undefined;
3766
+ expiredAt?: string | null | undefined;
3767
+ agentId?: string | null | undefined;
3768
+ attributeSettings?: {
3769
+ type: "string" | "number" | "boolean" | "date";
3770
+ key: string;
3771
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
3772
+ }[] | null | undefined;
3773
+ pf_agent?: {
3774
+ clickupId?: string | null | undefined;
3775
+ members?: {
3776
+ pf_user?: {
3777
+ email?: string | null | undefined;
3778
+ phoneNumber?: string | null | undefined;
3779
+ birthday?: string | null | undefined;
3780
+ gender?: "MALE" | "FEMALE" | null | undefined;
3781
+ addresses?: {
3782
+ name: string;
3783
+ address: string;
3784
+ coordinates: number[];
3785
+ }[] | null | undefined;
3786
+ photoURL?: string | null | undefined;
3787
+ displayName?: string | null | undefined;
3788
+ imported?: {
3789
+ raw: Record<string, any>;
3790
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3791
+ } | null | undefined;
3792
+ _id: string;
3793
+ } | null | undefined;
3794
+ role: "ADMIN";
3795
+ userId: string;
3796
+ }[] | null | undefined;
3797
+ code: string;
3798
+ name: string;
3799
+ _id: string;
3800
+ isReseller: boolean;
3801
+ } | null | undefined;
3802
+ thumbnail?: string | null | undefined;
3803
+ billingInfos?: {
3804
+ _id?: string | null | undefined;
3805
+ name: string;
3806
+ address: {
3807
+ coordinates?: number[] | null | undefined;
3808
+ line2?: string | null | undefined;
3809
+ state: string;
3810
+ country: string;
3811
+ line1: string;
3812
+ city: string;
3813
+ postcode: string;
3814
+ };
3815
+ email: string;
3816
+ companyName: string;
3817
+ contact: string;
3818
+ }[] | null | undefined;
3819
+ customerDisplayImages?: {
3820
+ url: string;
3821
+ restaurantIds: string[];
3822
+ }[] | null | undefined;
3823
+ name: string;
3824
+ _id: string;
3825
+ ownerId: string;
3826
+ restaurantQuota: number;
3827
+ warehouseQuota: number;
3828
+ menuVersion: string;
3829
+ } | null | undefined;
3703
3830
  features?: string[] | null | undefined;
3704
3831
  machineOtp?: string | null | undefined;
3705
3832
  machineOtpExpiredAt?: string | null | undefined;
@@ -3794,68 +3921,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3794
3921
  } | null | undefined;
3795
3922
  _id: string;
3796
3923
  expiredAt: string;
3797
- pf_business: {
3798
- internal?: boolean | null | undefined;
3799
- url?: string | null | undefined;
3800
- expiredAt?: string | null | undefined;
3801
- agentId?: string | null | undefined;
3802
- pf_agent?: {
3803
- clickupId?: string | null | undefined;
3804
- members?: {
3805
- pf_user?: {
3806
- email?: string | null | undefined;
3807
- phoneNumber?: string | null | undefined;
3808
- birthday?: string | null | undefined;
3809
- gender?: "MALE" | "FEMALE" | null | undefined;
3810
- addresses?: {
3811
- name: string;
3812
- address: string;
3813
- coordinates: number[];
3814
- }[] | null | undefined;
3815
- photoURL?: string | null | undefined;
3816
- displayName?: string | null | undefined;
3817
- imported?: {
3818
- raw: Record<string, any>;
3819
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3820
- } | null | undefined;
3821
- _id: string;
3822
- } | null | undefined;
3823
- role: "ADMIN";
3824
- userId: string;
3825
- }[] | null | undefined;
3826
- code: string;
3827
- name: string;
3828
- _id: string;
3829
- isReseller: boolean;
3830
- } | null | undefined;
3831
- thumbnail?: string | null | undefined;
3832
- billingInfos?: {
3833
- _id?: string | null | undefined;
3834
- name: string;
3835
- address: {
3836
- coordinates?: number[] | null | undefined;
3837
- line2?: string | null | undefined;
3838
- state: string;
3839
- country: string;
3840
- line1: string;
3841
- city: string;
3842
- postcode: string;
3843
- };
3844
- email: string;
3845
- companyName: string;
3846
- contact: string;
3847
- }[] | null | undefined;
3848
- customerDisplayImages?: {
3849
- url: string;
3850
- restaurantIds: string[];
3851
- }[] | null | undefined;
3852
- name: string;
3853
- _id: string;
3854
- ownerId: string;
3855
- restaurantQuota: number;
3856
- warehouseQuota: number;
3857
- menuVersion: string;
3858
- };
3859
3924
  businessId: string;
3860
3925
  profile: {
3861
3926
  code?: string | null | undefined;
@@ -3979,13 +4044,18 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
3979
4044
  riderPickupTime?: string | null | undefined;
3980
4045
  expressDelivery: boolean;
3981
4046
  } | null | undefined;
3982
- extraParameters?: unknown;
3983
4047
  shortCode?: string | null | undefined;
4048
+ integrationInfo?: unknown;
4049
+ extraParameters?: unknown;
3984
4050
  corporateTaxId?: string | null | undefined;
3985
4051
  corporateOrder?: boolean | null | undefined;
3986
- integrationInfo?: unknown;
3987
4052
  mobileOrder?: boolean | null | undefined;
3988
4053
  webOrder?: boolean | null | undefined;
4054
+ callbackUrls?: {
4055
+ orderAcceptedUrl: string;
4056
+ orderRejectedUrl: string;
4057
+ orderPreparedUrl: string;
4058
+ } | null | undefined;
3989
4059
  code: string;
3990
4060
  price: {
3991
4061
  deliveryFee?: string | null | undefined;
@@ -4002,6 +4072,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4002
4072
  differenceToMinimumDeliveryValue?: string | null | undefined;
4003
4073
  vatVisible?: boolean | null | undefined;
4004
4074
  vatPercent?: string | null | undefined;
4075
+ subTotal: string;
4005
4076
  deliveryFees: {
4006
4077
  name: string;
4007
4078
  value: number;
@@ -4009,7 +4080,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4009
4080
  grandTotal: string;
4010
4081
  minimumDeliveryValue: string;
4011
4082
  payRestaurant: string;
4012
- subTotal: string;
4013
4083
  vatTotal: string;
4014
4084
  };
4015
4085
  products: {
@@ -4049,16 +4119,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4049
4119
  vatId: string;
4050
4120
  vatName: string;
4051
4121
  };
4052
- token: string;
4053
- comments: {
4054
- customerComment?: string | null | undefined;
4055
- vendorComment: string;
4056
- };
4122
+ vouchers: string[];
4057
4123
  discounts: {
4058
4124
  name: string;
4059
4125
  type: string;
4060
4126
  amount: string;
4061
4127
  }[];
4128
+ token: string;
4129
+ comments: {
4130
+ customerComment?: string | null | undefined;
4131
+ vendorComment: string;
4132
+ };
4062
4133
  expeditionType: "pickup" | "delivery";
4063
4134
  expiryDate: string;
4064
4135
  localInfo: {
@@ -4080,7 +4151,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4080
4151
  platformRestaurant: {
4081
4152
  id: string;
4082
4153
  };
4083
- vouchers: string[];
4084
4154
  };
4085
4155
  remoteId: string;
4086
4156
  }, {
@@ -4088,6 +4158,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4088
4158
  channel?: string | null | undefined;
4089
4159
  machineId?: string | null | undefined;
4090
4160
  catalogId?: string | null | undefined;
4161
+ customAttributes?: Record<string, any> | null | undefined;
4091
4162
  takeaway?: {
4092
4163
  catalogId?: string | null | undefined;
4093
4164
  } | null | undefined;
@@ -4222,6 +4293,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4222
4293
  acceptQueue?: boolean | null | undefined;
4223
4294
  anonymousOrder: boolean;
4224
4295
  } | null | undefined;
4296
+ pf_business?: {
4297
+ internal?: boolean | null | undefined;
4298
+ url?: string | null | undefined;
4299
+ expiredAt?: string | null | undefined;
4300
+ agentId?: string | null | undefined;
4301
+ attributeSettings?: {
4302
+ type: "string" | "number" | "boolean" | "date";
4303
+ key: string;
4304
+ entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
4305
+ }[] | null | undefined;
4306
+ pf_agent?: {
4307
+ clickupId?: string | null | undefined;
4308
+ members?: {
4309
+ pf_user?: {
4310
+ email?: string | null | undefined;
4311
+ phoneNumber?: string | null | undefined;
4312
+ birthday?: string | null | undefined;
4313
+ gender?: "MALE" | "FEMALE" | null | undefined;
4314
+ addresses?: {
4315
+ name: string;
4316
+ address: string;
4317
+ coordinates: number[];
4318
+ }[] | null | undefined;
4319
+ photoURL?: string | null | undefined;
4320
+ displayName?: string | null | undefined;
4321
+ imported?: {
4322
+ raw: Record<string, any>;
4323
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
4324
+ } | null | undefined;
4325
+ _id: string;
4326
+ } | null | undefined;
4327
+ role: "ADMIN";
4328
+ userId: string;
4329
+ }[] | null | undefined;
4330
+ code: string;
4331
+ name: string;
4332
+ _id: string;
4333
+ isReseller: boolean;
4334
+ } | null | undefined;
4335
+ thumbnail?: string | null | undefined;
4336
+ billingInfos?: {
4337
+ _id?: string | null | undefined;
4338
+ name: string;
4339
+ address: {
4340
+ coordinates?: number[] | null | undefined;
4341
+ line2?: string | null | undefined;
4342
+ state: string;
4343
+ country: string;
4344
+ line1: string;
4345
+ city: string;
4346
+ postcode: string;
4347
+ };
4348
+ email: string;
4349
+ companyName: string;
4350
+ contact: string;
4351
+ }[] | null | undefined;
4352
+ customerDisplayImages?: {
4353
+ url: string;
4354
+ restaurantIds: string[];
4355
+ }[] | null | undefined;
4356
+ name: string;
4357
+ _id: string;
4358
+ ownerId: string;
4359
+ restaurantQuota: number;
4360
+ warehouseQuota: number;
4361
+ menuVersion: string;
4362
+ } | null | undefined;
4225
4363
  features?: string[] | null | undefined;
4226
4364
  machineOtp?: string | null | undefined;
4227
4365
  machineOtpExpiredAt?: string | null | undefined;
@@ -4316,68 +4454,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4316
4454
  } | null | undefined;
4317
4455
  _id: string;
4318
4456
  expiredAt: string;
4319
- pf_business: {
4320
- internal?: boolean | null | undefined;
4321
- url?: string | null | undefined;
4322
- expiredAt?: string | null | undefined;
4323
- agentId?: string | null | undefined;
4324
- pf_agent?: {
4325
- clickupId?: string | null | undefined;
4326
- members?: {
4327
- pf_user?: {
4328
- email?: string | null | undefined;
4329
- phoneNumber?: string | null | undefined;
4330
- birthday?: string | null | undefined;
4331
- gender?: "MALE" | "FEMALE" | null | undefined;
4332
- addresses?: {
4333
- name: string;
4334
- address: string;
4335
- coordinates: number[];
4336
- }[] | null | undefined;
4337
- photoURL?: string | null | undefined;
4338
- displayName?: string | null | undefined;
4339
- imported?: {
4340
- raw: Record<string, any>;
4341
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
4342
- } | null | undefined;
4343
- _id: string;
4344
- } | null | undefined;
4345
- role: "ADMIN";
4346
- userId: string;
4347
- }[] | null | undefined;
4348
- code: string;
4349
- name: string;
4350
- _id: string;
4351
- isReseller: boolean;
4352
- } | null | undefined;
4353
- thumbnail?: string | null | undefined;
4354
- billingInfos?: {
4355
- _id?: string | null | undefined;
4356
- name: string;
4357
- address: {
4358
- coordinates?: number[] | null | undefined;
4359
- line2?: string | null | undefined;
4360
- state: string;
4361
- country: string;
4362
- line1: string;
4363
- city: string;
4364
- postcode: string;
4365
- };
4366
- email: string;
4367
- companyName: string;
4368
- contact: string;
4369
- }[] | null | undefined;
4370
- customerDisplayImages?: {
4371
- url: string;
4372
- restaurantIds: string[];
4373
- }[] | null | undefined;
4374
- name: string;
4375
- _id: string;
4376
- ownerId: string;
4377
- restaurantQuota: number;
4378
- warehouseQuota: number;
4379
- menuVersion: string;
4380
- };
4381
4457
  businessId: string;
4382
4458
  profile: {
4383
4459
  code?: string | null | undefined;
@@ -4501,13 +4577,18 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4501
4577
  riderPickupTime?: string | null | undefined;
4502
4578
  expressDelivery: boolean;
4503
4579
  } | null | undefined;
4504
- extraParameters?: unknown;
4505
4580
  shortCode?: string | null | undefined;
4581
+ integrationInfo?: unknown;
4582
+ extraParameters?: unknown;
4506
4583
  corporateTaxId?: string | null | undefined;
4507
4584
  corporateOrder?: boolean | null | undefined;
4508
- integrationInfo?: unknown;
4509
4585
  mobileOrder?: boolean | null | undefined;
4510
4586
  webOrder?: boolean | null | undefined;
4587
+ callbackUrls?: {
4588
+ orderAcceptedUrl: string;
4589
+ orderRejectedUrl: string;
4590
+ orderPreparedUrl: string;
4591
+ } | null | undefined;
4511
4592
  code: string;
4512
4593
  price: {
4513
4594
  deliveryFee?: string | null | undefined;
@@ -4524,6 +4605,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4524
4605
  differenceToMinimumDeliveryValue?: string | null | undefined;
4525
4606
  vatVisible?: boolean | null | undefined;
4526
4607
  vatPercent?: string | null | undefined;
4608
+ subTotal: string;
4527
4609
  deliveryFees: {
4528
4610
  name: string;
4529
4611
  value: number;
@@ -4531,7 +4613,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4531
4613
  grandTotal: string;
4532
4614
  minimumDeliveryValue: string;
4533
4615
  payRestaurant: string;
4534
- subTotal: string;
4535
4616
  vatTotal: string;
4536
4617
  };
4537
4618
  products: {
@@ -4571,16 +4652,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4571
4652
  vatId: string;
4572
4653
  vatName: string;
4573
4654
  };
4574
- token: string;
4575
- comments: {
4576
- customerComment?: string | null | undefined;
4577
- vendorComment: string;
4578
- };
4655
+ vouchers: string[];
4579
4656
  discounts: {
4580
4657
  name: string;
4581
4658
  type: string;
4582
4659
  amount: string;
4583
4660
  }[];
4661
+ token: string;
4662
+ comments: {
4663
+ customerComment?: string | null | undefined;
4664
+ vendorComment: string;
4665
+ };
4584
4666
  expeditionType: "pickup" | "delivery";
4585
4667
  expiryDate: string;
4586
4668
  localInfo: {
@@ -4602,7 +4684,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
4602
4684
  platformRestaurant: {
4603
4685
  id: string;
4604
4686
  };
4605
- vouchers: string[];
4606
4687
  };
4607
4688
  remoteId: string;
4608
4689
  }>;