@feedmepos/mf-order-setting 0.0.21-beta.3 → 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-Cb7Rw7t8.js → KioskDevicesView-C6YmdLKc.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-raPhhBpi.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js} +2 -2
- package/dist/{KioskSettingView-BQgyeWbo.js → KioskSettingView-D-muNxlb.js} +1 -1
- package/dist/{KioskView-BLkuqfZ_.js → KioskView-kcjjk4fF.js} +4 -4
- package/dist/{OrderSettingsView-BJ1b1Qjg.js → OrderSettingsView-D_bGK-3J.js} +34007 -32821
- package/dist/{app-BY258ajB.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-4COVK72W.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/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-t_7ThPjm.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 +862 -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 +82 -82
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +339 -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 +65 -65
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +311 -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 +7 -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-BOoRSQkS.js → queue.do-Vog69wnQ.js} +30760 -30095
- 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/order-settings/delivery/DeliverySetting.vue +82 -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
|
@@ -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<{
|
|
@@ -530,11 +530,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
530
530
|
riderPickupTime?: string | null | undefined;
|
|
531
531
|
expressDelivery: boolean;
|
|
532
532
|
} | null | undefined;
|
|
533
|
-
extraParameters?: unknown;
|
|
534
533
|
shortCode?: string | null | undefined;
|
|
534
|
+
integrationInfo?: unknown;
|
|
535
|
+
extraParameters?: unknown;
|
|
535
536
|
corporateTaxId?: string | null | undefined;
|
|
536
537
|
corporateOrder?: boolean | null | undefined;
|
|
537
|
-
integrationInfo?: unknown;
|
|
538
538
|
mobileOrder?: boolean | null | undefined;
|
|
539
539
|
webOrder?: boolean | null | undefined;
|
|
540
540
|
callbackUrls?: {
|
|
@@ -558,6 +558,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
558
558
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
559
559
|
vatVisible?: boolean | null | undefined;
|
|
560
560
|
vatPercent?: string | null | undefined;
|
|
561
|
+
subTotal: string;
|
|
561
562
|
deliveryFees: {
|
|
562
563
|
name: string;
|
|
563
564
|
value: number;
|
|
@@ -565,7 +566,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
565
566
|
grandTotal: string;
|
|
566
567
|
minimumDeliveryValue: string;
|
|
567
568
|
payRestaurant: string;
|
|
568
|
-
subTotal: string;
|
|
569
569
|
vatTotal: string;
|
|
570
570
|
};
|
|
571
571
|
products: {
|
|
@@ -605,16 +605,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
605
605
|
vatId: string;
|
|
606
606
|
vatName: string;
|
|
607
607
|
};
|
|
608
|
-
|
|
609
|
-
comments: {
|
|
610
|
-
customerComment?: string | null | undefined;
|
|
611
|
-
vendorComment: string;
|
|
612
|
-
};
|
|
608
|
+
vouchers: string[];
|
|
613
609
|
discounts: {
|
|
614
610
|
name: string;
|
|
615
611
|
type: string;
|
|
616
612
|
amount: string;
|
|
617
613
|
}[];
|
|
614
|
+
token: string;
|
|
615
|
+
comments: {
|
|
616
|
+
customerComment?: string | null | undefined;
|
|
617
|
+
vendorComment: string;
|
|
618
|
+
};
|
|
618
619
|
expeditionType: "pickup" | "delivery";
|
|
619
620
|
expiryDate: string;
|
|
620
621
|
localInfo: {
|
|
@@ -636,7 +637,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
636
637
|
platformRestaurant: {
|
|
637
638
|
id: string;
|
|
638
639
|
};
|
|
639
|
-
vouchers: string[];
|
|
640
640
|
}, {
|
|
641
641
|
pickup?: {
|
|
642
642
|
pickupTime?: string | null | undefined;
|
|
@@ -676,11 +676,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
676
676
|
riderPickupTime?: string | null | undefined;
|
|
677
677
|
expressDelivery: boolean;
|
|
678
678
|
} | null | undefined;
|
|
679
|
-
extraParameters?: unknown;
|
|
680
679
|
shortCode?: string | null | undefined;
|
|
680
|
+
integrationInfo?: unknown;
|
|
681
|
+
extraParameters?: unknown;
|
|
681
682
|
corporateTaxId?: string | null | undefined;
|
|
682
683
|
corporateOrder?: boolean | null | undefined;
|
|
683
|
-
integrationInfo?: unknown;
|
|
684
684
|
mobileOrder?: boolean | null | undefined;
|
|
685
685
|
webOrder?: boolean | null | undefined;
|
|
686
686
|
callbackUrls?: {
|
|
@@ -704,6 +704,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
704
704
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
705
705
|
vatVisible?: boolean | null | undefined;
|
|
706
706
|
vatPercent?: string | null | undefined;
|
|
707
|
+
subTotal: string;
|
|
707
708
|
deliveryFees: {
|
|
708
709
|
name: string;
|
|
709
710
|
value: number;
|
|
@@ -711,7 +712,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
711
712
|
grandTotal: string;
|
|
712
713
|
minimumDeliveryValue: string;
|
|
713
714
|
payRestaurant: string;
|
|
714
|
-
subTotal: string;
|
|
715
715
|
vatTotal: string;
|
|
716
716
|
};
|
|
717
717
|
products: {
|
|
@@ -751,16 +751,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
751
751
|
vatId: string;
|
|
752
752
|
vatName: string;
|
|
753
753
|
};
|
|
754
|
-
|
|
755
|
-
comments: {
|
|
756
|
-
customerComment?: string | null | undefined;
|
|
757
|
-
vendorComment: string;
|
|
758
|
-
};
|
|
754
|
+
vouchers: string[];
|
|
759
755
|
discounts: {
|
|
760
756
|
name: string;
|
|
761
757
|
type: string;
|
|
762
758
|
amount: string;
|
|
763
759
|
}[];
|
|
760
|
+
token: string;
|
|
761
|
+
comments: {
|
|
762
|
+
customerComment?: string | null | undefined;
|
|
763
|
+
vendorComment: string;
|
|
764
|
+
};
|
|
764
765
|
expeditionType: "pickup" | "delivery";
|
|
765
766
|
expiryDate: string;
|
|
766
767
|
localInfo: {
|
|
@@ -782,13 +783,12 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
782
783
|
platformRestaurant: {
|
|
783
784
|
id: string;
|
|
784
785
|
};
|
|
785
|
-
vouchers: string[];
|
|
786
786
|
}>;
|
|
787
787
|
}, {
|
|
788
788
|
pf_restaurant: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
789
789
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
790
790
|
businessId: z.ZodString;
|
|
791
|
-
pf_business: z.ZodObject<{
|
|
791
|
+
pf_business: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
792
792
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
793
793
|
ownerId: z.ZodString;
|
|
794
794
|
name: z.ZodString;
|
|
@@ -799,6 +799,19 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
799
799
|
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
800
800
|
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
801
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">>>;
|
|
802
815
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
803
816
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
804
817
|
name: z.ZodString;
|
|
@@ -1052,6 +1065,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1052
1065
|
url?: string | null | undefined;
|
|
1053
1066
|
expiredAt?: string | null | undefined;
|
|
1054
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;
|
|
1055
1073
|
pf_agent?: {
|
|
1056
1074
|
clickupId?: string | null | undefined;
|
|
1057
1075
|
members?: {
|
|
@@ -1113,6 +1131,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1113
1131
|
url?: string | null | undefined;
|
|
1114
1132
|
expiredAt?: string | null | undefined;
|
|
1115
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;
|
|
1116
1139
|
pf_agent?: {
|
|
1117
1140
|
clickupId?: string | null | undefined;
|
|
1118
1141
|
members?: {
|
|
@@ -1169,7 +1192,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1169
1192
|
restaurantQuota: number;
|
|
1170
1193
|
warehouseQuota: number;
|
|
1171
1194
|
menuVersion: string;
|
|
1172
|
-
}
|
|
1195
|
+
}>>>;
|
|
1173
1196
|
features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
1174
1197
|
stock: string;
|
|
1175
1198
|
discovery: string;
|
|
@@ -2839,10 +2862,12 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2839
2862
|
mapBorderColor?: number | null | undefined;
|
|
2840
2863
|
mapLineColor?: number | null | undefined;
|
|
2841
2864
|
}>>>;
|
|
2865
|
+
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2842
2866
|
}, "strip", z.ZodTypeAny, {
|
|
2843
2867
|
channel?: string | null | undefined;
|
|
2844
2868
|
machineId?: string | null | undefined;
|
|
2845
2869
|
catalogId?: string | null | undefined;
|
|
2870
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2846
2871
|
takeaway?: {
|
|
2847
2872
|
catalogId?: string | null | undefined;
|
|
2848
2873
|
} | null | undefined;
|
|
@@ -2977,6 +3002,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2977
3002
|
acceptQueue?: boolean | null | undefined;
|
|
2978
3003
|
anonymousOrder: boolean;
|
|
2979
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;
|
|
2980
3072
|
features?: string[] | null | undefined;
|
|
2981
3073
|
machineOtp?: string | null | undefined;
|
|
2982
3074
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -3071,68 +3163,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3071
3163
|
} | null | undefined;
|
|
3072
3164
|
_id: string;
|
|
3073
3165
|
expiredAt: string;
|
|
3074
|
-
pf_business: {
|
|
3075
|
-
internal?: boolean | null | undefined;
|
|
3076
|
-
url?: string | null | undefined;
|
|
3077
|
-
expiredAt?: string | null | undefined;
|
|
3078
|
-
agentId?: string | null | undefined;
|
|
3079
|
-
pf_agent?: {
|
|
3080
|
-
clickupId?: string | null | undefined;
|
|
3081
|
-
members?: {
|
|
3082
|
-
pf_user?: {
|
|
3083
|
-
email?: string | null | undefined;
|
|
3084
|
-
phoneNumber?: string | null | undefined;
|
|
3085
|
-
birthday?: string | null | undefined;
|
|
3086
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3087
|
-
addresses?: {
|
|
3088
|
-
name: string;
|
|
3089
|
-
address: string;
|
|
3090
|
-
coordinates: number[];
|
|
3091
|
-
}[] | null | undefined;
|
|
3092
|
-
photoURL?: string | null | undefined;
|
|
3093
|
-
displayName?: string | null | undefined;
|
|
3094
|
-
imported?: {
|
|
3095
|
-
raw: Record<string, any>;
|
|
3096
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3097
|
-
} | null | undefined;
|
|
3098
|
-
_id: string;
|
|
3099
|
-
} | null | undefined;
|
|
3100
|
-
role: "ADMIN";
|
|
3101
|
-
userId: string;
|
|
3102
|
-
}[] | null | undefined;
|
|
3103
|
-
code: string;
|
|
3104
|
-
name: string;
|
|
3105
|
-
_id: string;
|
|
3106
|
-
isReseller: boolean;
|
|
3107
|
-
} | null | undefined;
|
|
3108
|
-
thumbnail?: string | null | undefined;
|
|
3109
|
-
billingInfos?: {
|
|
3110
|
-
_id?: string | null | undefined;
|
|
3111
|
-
name: string;
|
|
3112
|
-
address: {
|
|
3113
|
-
coordinates?: number[] | null | undefined;
|
|
3114
|
-
line2?: string | null | undefined;
|
|
3115
|
-
state: string;
|
|
3116
|
-
country: string;
|
|
3117
|
-
line1: string;
|
|
3118
|
-
city: string;
|
|
3119
|
-
postcode: string;
|
|
3120
|
-
};
|
|
3121
|
-
email: string;
|
|
3122
|
-
companyName: string;
|
|
3123
|
-
contact: string;
|
|
3124
|
-
}[] | null | undefined;
|
|
3125
|
-
customerDisplayImages?: {
|
|
3126
|
-
url: string;
|
|
3127
|
-
restaurantIds: string[];
|
|
3128
|
-
}[] | null | undefined;
|
|
3129
|
-
name: string;
|
|
3130
|
-
_id: string;
|
|
3131
|
-
ownerId: string;
|
|
3132
|
-
restaurantQuota: number;
|
|
3133
|
-
warehouseQuota: number;
|
|
3134
|
-
menuVersion: string;
|
|
3135
|
-
};
|
|
3136
3166
|
businessId: string;
|
|
3137
3167
|
profile: {
|
|
3138
3168
|
code?: string | null | undefined;
|
|
@@ -3215,6 +3245,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3215
3245
|
channel?: string | null | undefined;
|
|
3216
3246
|
machineId?: string | null | undefined;
|
|
3217
3247
|
catalogId?: string | null | undefined;
|
|
3248
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3218
3249
|
takeaway?: {
|
|
3219
3250
|
catalogId?: string | null | undefined;
|
|
3220
3251
|
} | null | undefined;
|
|
@@ -3349,6 +3380,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3349
3380
|
acceptQueue?: boolean | null | undefined;
|
|
3350
3381
|
anonymousOrder: boolean;
|
|
3351
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;
|
|
3352
3450
|
features?: string[] | null | undefined;
|
|
3353
3451
|
machineOtp?: string | null | undefined;
|
|
3354
3452
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -3443,71 +3541,9 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3443
3541
|
} | null | undefined;
|
|
3444
3542
|
_id: string;
|
|
3445
3543
|
expiredAt: string;
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
expiredAt?: string | null | undefined;
|
|
3450
|
-
agentId?: string | null | undefined;
|
|
3451
|
-
pf_agent?: {
|
|
3452
|
-
clickupId?: string | null | undefined;
|
|
3453
|
-
members?: {
|
|
3454
|
-
pf_user?: {
|
|
3455
|
-
email?: string | null | undefined;
|
|
3456
|
-
phoneNumber?: string | null | undefined;
|
|
3457
|
-
birthday?: string | null | undefined;
|
|
3458
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3459
|
-
addresses?: {
|
|
3460
|
-
name: string;
|
|
3461
|
-
address: string;
|
|
3462
|
-
coordinates: number[];
|
|
3463
|
-
}[] | null | undefined;
|
|
3464
|
-
photoURL?: string | null | undefined;
|
|
3465
|
-
displayName?: string | null | undefined;
|
|
3466
|
-
imported?: {
|
|
3467
|
-
raw: Record<string, any>;
|
|
3468
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3469
|
-
} | null | undefined;
|
|
3470
|
-
_id: string;
|
|
3471
|
-
} | null | undefined;
|
|
3472
|
-
role: "ADMIN";
|
|
3473
|
-
userId: string;
|
|
3474
|
-
}[] | null | undefined;
|
|
3475
|
-
code: string;
|
|
3476
|
-
name: string;
|
|
3477
|
-
_id: string;
|
|
3478
|
-
isReseller: boolean;
|
|
3479
|
-
} | null | undefined;
|
|
3480
|
-
thumbnail?: string | null | undefined;
|
|
3481
|
-
billingInfos?: {
|
|
3482
|
-
_id?: string | null | undefined;
|
|
3483
|
-
name: string;
|
|
3484
|
-
address: {
|
|
3485
|
-
coordinates?: number[] | null | undefined;
|
|
3486
|
-
line2?: string | null | undefined;
|
|
3487
|
-
state: string;
|
|
3488
|
-
country: string;
|
|
3489
|
-
line1: string;
|
|
3490
|
-
city: string;
|
|
3491
|
-
postcode: string;
|
|
3492
|
-
};
|
|
3493
|
-
email: string;
|
|
3494
|
-
companyName: string;
|
|
3495
|
-
contact: string;
|
|
3496
|
-
}[] | null | undefined;
|
|
3497
|
-
customerDisplayImages?: {
|
|
3498
|
-
url: string;
|
|
3499
|
-
restaurantIds: string[];
|
|
3500
|
-
}[] | null | undefined;
|
|
3501
|
-
name: string;
|
|
3502
|
-
_id: string;
|
|
3503
|
-
ownerId: string;
|
|
3504
|
-
restaurantQuota: number;
|
|
3505
|
-
warehouseQuota: number;
|
|
3506
|
-
menuVersion: string;
|
|
3507
|
-
};
|
|
3508
|
-
businessId: string;
|
|
3509
|
-
profile: {
|
|
3510
|
-
code?: string | null | undefined;
|
|
3544
|
+
businessId: string;
|
|
3545
|
+
profile: {
|
|
3546
|
+
code?: string | null | undefined;
|
|
3511
3547
|
url?: string | null | undefined;
|
|
3512
3548
|
description?: string | null | undefined;
|
|
3513
3549
|
_id?: string | null | undefined;
|
|
@@ -3589,6 +3625,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3589
3625
|
channel?: string | null | undefined;
|
|
3590
3626
|
machineId?: string | null | undefined;
|
|
3591
3627
|
catalogId?: string | null | undefined;
|
|
3628
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
3592
3629
|
takeaway?: {
|
|
3593
3630
|
catalogId?: string | null | undefined;
|
|
3594
3631
|
} | null | undefined;
|
|
@@ -3723,6 +3760,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3723
3760
|
acceptQueue?: boolean | null | undefined;
|
|
3724
3761
|
anonymousOrder: boolean;
|
|
3725
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;
|
|
3726
3830
|
features?: string[] | null | undefined;
|
|
3727
3831
|
machineOtp?: string | null | undefined;
|
|
3728
3832
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -3817,68 +3921,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3817
3921
|
} | null | undefined;
|
|
3818
3922
|
_id: string;
|
|
3819
3923
|
expiredAt: string;
|
|
3820
|
-
pf_business: {
|
|
3821
|
-
internal?: boolean | null | undefined;
|
|
3822
|
-
url?: string | null | undefined;
|
|
3823
|
-
expiredAt?: string | null | undefined;
|
|
3824
|
-
agentId?: string | null | undefined;
|
|
3825
|
-
pf_agent?: {
|
|
3826
|
-
clickupId?: string | null | undefined;
|
|
3827
|
-
members?: {
|
|
3828
|
-
pf_user?: {
|
|
3829
|
-
email?: string | null | undefined;
|
|
3830
|
-
phoneNumber?: string | null | undefined;
|
|
3831
|
-
birthday?: string | null | undefined;
|
|
3832
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3833
|
-
addresses?: {
|
|
3834
|
-
name: string;
|
|
3835
|
-
address: string;
|
|
3836
|
-
coordinates: number[];
|
|
3837
|
-
}[] | null | undefined;
|
|
3838
|
-
photoURL?: string | null | undefined;
|
|
3839
|
-
displayName?: string | null | undefined;
|
|
3840
|
-
imported?: {
|
|
3841
|
-
raw: Record<string, any>;
|
|
3842
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3843
|
-
} | null | undefined;
|
|
3844
|
-
_id: string;
|
|
3845
|
-
} | null | undefined;
|
|
3846
|
-
role: "ADMIN";
|
|
3847
|
-
userId: string;
|
|
3848
|
-
}[] | null | undefined;
|
|
3849
|
-
code: string;
|
|
3850
|
-
name: string;
|
|
3851
|
-
_id: string;
|
|
3852
|
-
isReseller: boolean;
|
|
3853
|
-
} | null | undefined;
|
|
3854
|
-
thumbnail?: string | null | undefined;
|
|
3855
|
-
billingInfos?: {
|
|
3856
|
-
_id?: string | null | undefined;
|
|
3857
|
-
name: string;
|
|
3858
|
-
address: {
|
|
3859
|
-
coordinates?: number[] | null | undefined;
|
|
3860
|
-
line2?: string | null | undefined;
|
|
3861
|
-
state: string;
|
|
3862
|
-
country: string;
|
|
3863
|
-
line1: string;
|
|
3864
|
-
city: string;
|
|
3865
|
-
postcode: string;
|
|
3866
|
-
};
|
|
3867
|
-
email: string;
|
|
3868
|
-
companyName: string;
|
|
3869
|
-
contact: string;
|
|
3870
|
-
}[] | null | undefined;
|
|
3871
|
-
customerDisplayImages?: {
|
|
3872
|
-
url: string;
|
|
3873
|
-
restaurantIds: string[];
|
|
3874
|
-
}[] | null | undefined;
|
|
3875
|
-
name: string;
|
|
3876
|
-
_id: string;
|
|
3877
|
-
ownerId: string;
|
|
3878
|
-
restaurantQuota: number;
|
|
3879
|
-
warehouseQuota: number;
|
|
3880
|
-
menuVersion: string;
|
|
3881
|
-
};
|
|
3882
3924
|
businessId: string;
|
|
3883
3925
|
profile: {
|
|
3884
3926
|
code?: string | null | undefined;
|
|
@@ -4002,11 +4044,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4002
4044
|
riderPickupTime?: string | null | undefined;
|
|
4003
4045
|
expressDelivery: boolean;
|
|
4004
4046
|
} | null | undefined;
|
|
4005
|
-
extraParameters?: unknown;
|
|
4006
4047
|
shortCode?: string | null | undefined;
|
|
4048
|
+
integrationInfo?: unknown;
|
|
4049
|
+
extraParameters?: unknown;
|
|
4007
4050
|
corporateTaxId?: string | null | undefined;
|
|
4008
4051
|
corporateOrder?: boolean | null | undefined;
|
|
4009
|
-
integrationInfo?: unknown;
|
|
4010
4052
|
mobileOrder?: boolean | null | undefined;
|
|
4011
4053
|
webOrder?: boolean | null | undefined;
|
|
4012
4054
|
callbackUrls?: {
|
|
@@ -4030,6 +4072,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4030
4072
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
4031
4073
|
vatVisible?: boolean | null | undefined;
|
|
4032
4074
|
vatPercent?: string | null | undefined;
|
|
4075
|
+
subTotal: string;
|
|
4033
4076
|
deliveryFees: {
|
|
4034
4077
|
name: string;
|
|
4035
4078
|
value: number;
|
|
@@ -4037,7 +4080,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4037
4080
|
grandTotal: string;
|
|
4038
4081
|
minimumDeliveryValue: string;
|
|
4039
4082
|
payRestaurant: string;
|
|
4040
|
-
subTotal: string;
|
|
4041
4083
|
vatTotal: string;
|
|
4042
4084
|
};
|
|
4043
4085
|
products: {
|
|
@@ -4077,16 +4119,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4077
4119
|
vatId: string;
|
|
4078
4120
|
vatName: string;
|
|
4079
4121
|
};
|
|
4080
|
-
|
|
4081
|
-
comments: {
|
|
4082
|
-
customerComment?: string | null | undefined;
|
|
4083
|
-
vendorComment: string;
|
|
4084
|
-
};
|
|
4122
|
+
vouchers: string[];
|
|
4085
4123
|
discounts: {
|
|
4086
4124
|
name: string;
|
|
4087
4125
|
type: string;
|
|
4088
4126
|
amount: string;
|
|
4089
4127
|
}[];
|
|
4128
|
+
token: string;
|
|
4129
|
+
comments: {
|
|
4130
|
+
customerComment?: string | null | undefined;
|
|
4131
|
+
vendorComment: string;
|
|
4132
|
+
};
|
|
4090
4133
|
expeditionType: "pickup" | "delivery";
|
|
4091
4134
|
expiryDate: string;
|
|
4092
4135
|
localInfo: {
|
|
@@ -4108,7 +4151,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4108
4151
|
platformRestaurant: {
|
|
4109
4152
|
id: string;
|
|
4110
4153
|
};
|
|
4111
|
-
vouchers: string[];
|
|
4112
4154
|
};
|
|
4113
4155
|
remoteId: string;
|
|
4114
4156
|
}, {
|
|
@@ -4116,6 +4158,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4116
4158
|
channel?: string | null | undefined;
|
|
4117
4159
|
machineId?: string | null | undefined;
|
|
4118
4160
|
catalogId?: string | null | undefined;
|
|
4161
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
4119
4162
|
takeaway?: {
|
|
4120
4163
|
catalogId?: string | null | undefined;
|
|
4121
4164
|
} | null | undefined;
|
|
@@ -4250,6 +4293,73 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4250
4293
|
acceptQueue?: boolean | null | undefined;
|
|
4251
4294
|
anonymousOrder: boolean;
|
|
4252
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;
|
|
4253
4363
|
features?: string[] | null | undefined;
|
|
4254
4364
|
machineOtp?: string | null | undefined;
|
|
4255
4365
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -4344,68 +4454,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4344
4454
|
} | null | undefined;
|
|
4345
4455
|
_id: string;
|
|
4346
4456
|
expiredAt: string;
|
|
4347
|
-
pf_business: {
|
|
4348
|
-
internal?: boolean | null | undefined;
|
|
4349
|
-
url?: string | null | undefined;
|
|
4350
|
-
expiredAt?: string | null | undefined;
|
|
4351
|
-
agentId?: string | null | undefined;
|
|
4352
|
-
pf_agent?: {
|
|
4353
|
-
clickupId?: string | null | undefined;
|
|
4354
|
-
members?: {
|
|
4355
|
-
pf_user?: {
|
|
4356
|
-
email?: string | null | undefined;
|
|
4357
|
-
phoneNumber?: string | null | undefined;
|
|
4358
|
-
birthday?: string | null | undefined;
|
|
4359
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
4360
|
-
addresses?: {
|
|
4361
|
-
name: string;
|
|
4362
|
-
address: string;
|
|
4363
|
-
coordinates: number[];
|
|
4364
|
-
}[] | null | undefined;
|
|
4365
|
-
photoURL?: string | null | undefined;
|
|
4366
|
-
displayName?: string | null | undefined;
|
|
4367
|
-
imported?: {
|
|
4368
|
-
raw: Record<string, any>;
|
|
4369
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
4370
|
-
} | null | undefined;
|
|
4371
|
-
_id: string;
|
|
4372
|
-
} | null | undefined;
|
|
4373
|
-
role: "ADMIN";
|
|
4374
|
-
userId: string;
|
|
4375
|
-
}[] | null | undefined;
|
|
4376
|
-
code: string;
|
|
4377
|
-
name: string;
|
|
4378
|
-
_id: string;
|
|
4379
|
-
isReseller: boolean;
|
|
4380
|
-
} | null | undefined;
|
|
4381
|
-
thumbnail?: string | null | undefined;
|
|
4382
|
-
billingInfos?: {
|
|
4383
|
-
_id?: string | null | undefined;
|
|
4384
|
-
name: string;
|
|
4385
|
-
address: {
|
|
4386
|
-
coordinates?: number[] | null | undefined;
|
|
4387
|
-
line2?: string | null | undefined;
|
|
4388
|
-
state: string;
|
|
4389
|
-
country: string;
|
|
4390
|
-
line1: string;
|
|
4391
|
-
city: string;
|
|
4392
|
-
postcode: string;
|
|
4393
|
-
};
|
|
4394
|
-
email: string;
|
|
4395
|
-
companyName: string;
|
|
4396
|
-
contact: string;
|
|
4397
|
-
}[] | null | undefined;
|
|
4398
|
-
customerDisplayImages?: {
|
|
4399
|
-
url: string;
|
|
4400
|
-
restaurantIds: string[];
|
|
4401
|
-
}[] | null | undefined;
|
|
4402
|
-
name: string;
|
|
4403
|
-
_id: string;
|
|
4404
|
-
ownerId: string;
|
|
4405
|
-
restaurantQuota: number;
|
|
4406
|
-
warehouseQuota: number;
|
|
4407
|
-
menuVersion: string;
|
|
4408
|
-
};
|
|
4409
4457
|
businessId: string;
|
|
4410
4458
|
profile: {
|
|
4411
4459
|
code?: string | null | undefined;
|
|
@@ -4529,11 +4577,11 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4529
4577
|
riderPickupTime?: string | null | undefined;
|
|
4530
4578
|
expressDelivery: boolean;
|
|
4531
4579
|
} | null | undefined;
|
|
4532
|
-
extraParameters?: unknown;
|
|
4533
4580
|
shortCode?: string | null | undefined;
|
|
4581
|
+
integrationInfo?: unknown;
|
|
4582
|
+
extraParameters?: unknown;
|
|
4534
4583
|
corporateTaxId?: string | null | undefined;
|
|
4535
4584
|
corporateOrder?: boolean | null | undefined;
|
|
4536
|
-
integrationInfo?: unknown;
|
|
4537
4585
|
mobileOrder?: boolean | null | undefined;
|
|
4538
4586
|
webOrder?: boolean | null | undefined;
|
|
4539
4587
|
callbackUrls?: {
|
|
@@ -4557,6 +4605,7 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4557
4605
|
differenceToMinimumDeliveryValue?: string | null | undefined;
|
|
4558
4606
|
vatVisible?: boolean | null | undefined;
|
|
4559
4607
|
vatPercent?: string | null | undefined;
|
|
4608
|
+
subTotal: string;
|
|
4560
4609
|
deliveryFees: {
|
|
4561
4610
|
name: string;
|
|
4562
4611
|
value: number;
|
|
@@ -4564,7 +4613,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4564
4613
|
grandTotal: string;
|
|
4565
4614
|
minimumDeliveryValue: string;
|
|
4566
4615
|
payRestaurant: string;
|
|
4567
|
-
subTotal: string;
|
|
4568
4616
|
vatTotal: string;
|
|
4569
4617
|
};
|
|
4570
4618
|
products: {
|
|
@@ -4604,16 +4652,17 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4604
4652
|
vatId: string;
|
|
4605
4653
|
vatName: string;
|
|
4606
4654
|
};
|
|
4607
|
-
|
|
4608
|
-
comments: {
|
|
4609
|
-
customerComment?: string | null | undefined;
|
|
4610
|
-
vendorComment: string;
|
|
4611
|
-
};
|
|
4655
|
+
vouchers: string[];
|
|
4612
4656
|
discounts: {
|
|
4613
4657
|
name: string;
|
|
4614
4658
|
type: string;
|
|
4615
4659
|
amount: string;
|
|
4616
4660
|
}[];
|
|
4661
|
+
token: string;
|
|
4662
|
+
comments: {
|
|
4663
|
+
customerComment?: string | null | undefined;
|
|
4664
|
+
vendorComment: string;
|
|
4665
|
+
};
|
|
4617
4666
|
expeditionType: "pickup" | "delivery";
|
|
4618
4667
|
expiryDate: string;
|
|
4619
4668
|
localInfo: {
|
|
@@ -4635,7 +4684,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4635
4684
|
platformRestaurant: {
|
|
4636
4685
|
id: string;
|
|
4637
4686
|
};
|
|
4638
|
-
vouchers: string[];
|
|
4639
4687
|
};
|
|
4640
4688
|
remoteId: string;
|
|
4641
4689
|
}>;
|