@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
|
@@ -7552,7 +7552,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
7552
7552
|
restaurant: z.ZodObject<{
|
|
7553
7553
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7554
7554
|
businessId: z.ZodString;
|
|
7555
|
-
pf_business: z.ZodObject<{
|
|
7555
|
+
pf_business: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7556
7556
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7557
7557
|
ownerId: z.ZodString;
|
|
7558
7558
|
name: z.ZodString;
|
|
@@ -7561,9 +7561,21 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
7561
7561
|
menuVersion: z.ZodString;
|
|
7562
7562
|
internal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
7563
7563
|
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
7564
|
-
/** @deprecated 15 Aug 2023 */
|
|
7565
7564
|
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7566
7565
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
7566
|
+
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7567
|
+
key: z.ZodString;
|
|
7568
|
+
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
7569
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
7570
|
+
}, "strip", z.ZodTypeAny, {
|
|
7571
|
+
type: "string" | "number" | "boolean" | "date";
|
|
7572
|
+
key: string;
|
|
7573
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7574
|
+
}, {
|
|
7575
|
+
type: "string" | "number" | "boolean" | "date";
|
|
7576
|
+
key: string;
|
|
7577
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7578
|
+
}>, "many">>>;
|
|
7567
7579
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
7568
7580
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
7569
7581
|
name: z.ZodString;
|
|
@@ -7817,6 +7829,11 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
7817
7829
|
url?: string | null | undefined;
|
|
7818
7830
|
expiredAt?: string | null | undefined;
|
|
7819
7831
|
agentId?: string | null | undefined;
|
|
7832
|
+
attributeSettings?: {
|
|
7833
|
+
type: "string" | "number" | "boolean" | "date";
|
|
7834
|
+
key: string;
|
|
7835
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7836
|
+
}[] | null | undefined;
|
|
7820
7837
|
pf_agent?: {
|
|
7821
7838
|
clickupId?: string | null | undefined;
|
|
7822
7839
|
members?: {
|
|
@@ -7878,6 +7895,11 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
7878
7895
|
url?: string | null | undefined;
|
|
7879
7896
|
expiredAt?: string | null | undefined;
|
|
7880
7897
|
agentId?: string | null | undefined;
|
|
7898
|
+
attributeSettings?: {
|
|
7899
|
+
type: "string" | "number" | "boolean" | "date";
|
|
7900
|
+
key: string;
|
|
7901
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
7902
|
+
}[] | null | undefined;
|
|
7881
7903
|
pf_agent?: {
|
|
7882
7904
|
clickupId?: string | null | undefined;
|
|
7883
7905
|
members?: {
|
|
@@ -7934,7 +7956,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
7934
7956
|
restaurantQuota: number;
|
|
7935
7957
|
warehouseQuota: number;
|
|
7936
7958
|
menuVersion: string;
|
|
7937
|
-
}
|
|
7959
|
+
}>>>;
|
|
7938
7960
|
features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
7939
7961
|
stock: string;
|
|
7940
7962
|
discovery: string;
|
|
@@ -9604,10 +9626,12 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
9604
9626
|
mapBorderColor?: number | null | undefined;
|
|
9605
9627
|
mapLineColor?: number | null | undefined;
|
|
9606
9628
|
}>>>;
|
|
9629
|
+
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
9607
9630
|
}, "strip", z.ZodTypeAny, {
|
|
9608
9631
|
channel?: string | null | undefined;
|
|
9609
9632
|
machineId?: string | null | undefined;
|
|
9610
9633
|
catalogId?: string | null | undefined;
|
|
9634
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
9611
9635
|
takeaway?: {
|
|
9612
9636
|
catalogId?: string | null | undefined;
|
|
9613
9637
|
} | null | undefined;
|
|
@@ -9742,6 +9766,73 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
9742
9766
|
acceptQueue?: boolean | null | undefined;
|
|
9743
9767
|
anonymousOrder: boolean;
|
|
9744
9768
|
} | null | undefined;
|
|
9769
|
+
pf_business?: {
|
|
9770
|
+
internal?: boolean | null | undefined;
|
|
9771
|
+
url?: string | null | undefined;
|
|
9772
|
+
expiredAt?: string | null | undefined;
|
|
9773
|
+
agentId?: string | null | undefined;
|
|
9774
|
+
attributeSettings?: {
|
|
9775
|
+
type: "string" | "number" | "boolean" | "date";
|
|
9776
|
+
key: string;
|
|
9777
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
9778
|
+
}[] | null | undefined;
|
|
9779
|
+
pf_agent?: {
|
|
9780
|
+
clickupId?: string | null | undefined;
|
|
9781
|
+
members?: {
|
|
9782
|
+
pf_user?: {
|
|
9783
|
+
email?: string | null | undefined;
|
|
9784
|
+
phoneNumber?: string | null | undefined;
|
|
9785
|
+
birthday?: string | null | undefined;
|
|
9786
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
9787
|
+
addresses?: {
|
|
9788
|
+
name: string;
|
|
9789
|
+
address: string;
|
|
9790
|
+
coordinates: number[];
|
|
9791
|
+
}[] | null | undefined;
|
|
9792
|
+
photoURL?: string | null | undefined;
|
|
9793
|
+
displayName?: string | null | undefined;
|
|
9794
|
+
imported?: {
|
|
9795
|
+
raw: Record<string, any>;
|
|
9796
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
9797
|
+
} | null | undefined;
|
|
9798
|
+
_id: string;
|
|
9799
|
+
} | null | undefined;
|
|
9800
|
+
role: "ADMIN";
|
|
9801
|
+
userId: string;
|
|
9802
|
+
}[] | null | undefined;
|
|
9803
|
+
code: string;
|
|
9804
|
+
name: string;
|
|
9805
|
+
_id: string;
|
|
9806
|
+
isReseller: boolean;
|
|
9807
|
+
} | null | undefined;
|
|
9808
|
+
thumbnail?: string | null | undefined;
|
|
9809
|
+
billingInfos?: {
|
|
9810
|
+
_id?: string | null | undefined;
|
|
9811
|
+
name: string;
|
|
9812
|
+
address: {
|
|
9813
|
+
coordinates?: number[] | null | undefined;
|
|
9814
|
+
line2?: string | null | undefined;
|
|
9815
|
+
state: string;
|
|
9816
|
+
country: string;
|
|
9817
|
+
line1: string;
|
|
9818
|
+
city: string;
|
|
9819
|
+
postcode: string;
|
|
9820
|
+
};
|
|
9821
|
+
email: string;
|
|
9822
|
+
companyName: string;
|
|
9823
|
+
contact: string;
|
|
9824
|
+
}[] | null | undefined;
|
|
9825
|
+
customerDisplayImages?: {
|
|
9826
|
+
url: string;
|
|
9827
|
+
restaurantIds: string[];
|
|
9828
|
+
}[] | null | undefined;
|
|
9829
|
+
name: string;
|
|
9830
|
+
_id: string;
|
|
9831
|
+
ownerId: string;
|
|
9832
|
+
restaurantQuota: number;
|
|
9833
|
+
warehouseQuota: number;
|
|
9834
|
+
menuVersion: string;
|
|
9835
|
+
} | null | undefined;
|
|
9745
9836
|
features?: string[] | null | undefined;
|
|
9746
9837
|
machineOtp?: string | null | undefined;
|
|
9747
9838
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -9836,68 +9927,6 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
9836
9927
|
} | null | undefined;
|
|
9837
9928
|
_id: string;
|
|
9838
9929
|
expiredAt: string;
|
|
9839
|
-
pf_business: {
|
|
9840
|
-
internal?: boolean | null | undefined;
|
|
9841
|
-
url?: string | null | undefined;
|
|
9842
|
-
expiredAt?: string | null | undefined;
|
|
9843
|
-
agentId?: string | null | undefined;
|
|
9844
|
-
pf_agent?: {
|
|
9845
|
-
clickupId?: string | null | undefined;
|
|
9846
|
-
members?: {
|
|
9847
|
-
pf_user?: {
|
|
9848
|
-
email?: string | null | undefined;
|
|
9849
|
-
phoneNumber?: string | null | undefined;
|
|
9850
|
-
birthday?: string | null | undefined;
|
|
9851
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
9852
|
-
addresses?: {
|
|
9853
|
-
name: string;
|
|
9854
|
-
address: string;
|
|
9855
|
-
coordinates: number[];
|
|
9856
|
-
}[] | null | undefined;
|
|
9857
|
-
photoURL?: string | null | undefined;
|
|
9858
|
-
displayName?: string | null | undefined;
|
|
9859
|
-
imported?: {
|
|
9860
|
-
raw: Record<string, any>;
|
|
9861
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
9862
|
-
} | null | undefined;
|
|
9863
|
-
_id: string;
|
|
9864
|
-
} | null | undefined;
|
|
9865
|
-
role: "ADMIN";
|
|
9866
|
-
userId: string;
|
|
9867
|
-
}[] | null | undefined;
|
|
9868
|
-
code: string;
|
|
9869
|
-
name: string;
|
|
9870
|
-
_id: string;
|
|
9871
|
-
isReseller: boolean;
|
|
9872
|
-
} | null | undefined;
|
|
9873
|
-
thumbnail?: string | null | undefined;
|
|
9874
|
-
billingInfos?: {
|
|
9875
|
-
_id?: string | null | undefined;
|
|
9876
|
-
name: string;
|
|
9877
|
-
address: {
|
|
9878
|
-
coordinates?: number[] | null | undefined;
|
|
9879
|
-
line2?: string | null | undefined;
|
|
9880
|
-
state: string;
|
|
9881
|
-
country: string;
|
|
9882
|
-
line1: string;
|
|
9883
|
-
city: string;
|
|
9884
|
-
postcode: string;
|
|
9885
|
-
};
|
|
9886
|
-
email: string;
|
|
9887
|
-
companyName: string;
|
|
9888
|
-
contact: string;
|
|
9889
|
-
}[] | null | undefined;
|
|
9890
|
-
customerDisplayImages?: {
|
|
9891
|
-
url: string;
|
|
9892
|
-
restaurantIds: string[];
|
|
9893
|
-
}[] | null | undefined;
|
|
9894
|
-
name: string;
|
|
9895
|
-
_id: string;
|
|
9896
|
-
ownerId: string;
|
|
9897
|
-
restaurantQuota: number;
|
|
9898
|
-
warehouseQuota: number;
|
|
9899
|
-
menuVersion: string;
|
|
9900
|
-
};
|
|
9901
9930
|
businessId: string;
|
|
9902
9931
|
profile: {
|
|
9903
9932
|
code?: string | null | undefined;
|
|
@@ -9980,6 +10009,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
9980
10009
|
channel?: string | null | undefined;
|
|
9981
10010
|
machineId?: string | null | undefined;
|
|
9982
10011
|
catalogId?: string | null | undefined;
|
|
10012
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
9983
10013
|
takeaway?: {
|
|
9984
10014
|
catalogId?: string | null | undefined;
|
|
9985
10015
|
} | null | undefined;
|
|
@@ -10114,6 +10144,73 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10114
10144
|
acceptQueue?: boolean | null | undefined;
|
|
10115
10145
|
anonymousOrder: boolean;
|
|
10116
10146
|
} | null | undefined;
|
|
10147
|
+
pf_business?: {
|
|
10148
|
+
internal?: boolean | null | undefined;
|
|
10149
|
+
url?: string | null | undefined;
|
|
10150
|
+
expiredAt?: string | null | undefined;
|
|
10151
|
+
agentId?: string | null | undefined;
|
|
10152
|
+
attributeSettings?: {
|
|
10153
|
+
type: "string" | "number" | "boolean" | "date";
|
|
10154
|
+
key: string;
|
|
10155
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10156
|
+
}[] | null | undefined;
|
|
10157
|
+
pf_agent?: {
|
|
10158
|
+
clickupId?: string | null | undefined;
|
|
10159
|
+
members?: {
|
|
10160
|
+
pf_user?: {
|
|
10161
|
+
email?: string | null | undefined;
|
|
10162
|
+
phoneNumber?: string | null | undefined;
|
|
10163
|
+
birthday?: string | null | undefined;
|
|
10164
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
10165
|
+
addresses?: {
|
|
10166
|
+
name: string;
|
|
10167
|
+
address: string;
|
|
10168
|
+
coordinates: number[];
|
|
10169
|
+
}[] | null | undefined;
|
|
10170
|
+
photoURL?: string | null | undefined;
|
|
10171
|
+
displayName?: string | null | undefined;
|
|
10172
|
+
imported?: {
|
|
10173
|
+
raw: Record<string, any>;
|
|
10174
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
10175
|
+
} | null | undefined;
|
|
10176
|
+
_id: string;
|
|
10177
|
+
} | null | undefined;
|
|
10178
|
+
role: "ADMIN";
|
|
10179
|
+
userId: string;
|
|
10180
|
+
}[] | null | undefined;
|
|
10181
|
+
code: string;
|
|
10182
|
+
name: string;
|
|
10183
|
+
_id: string;
|
|
10184
|
+
isReseller: boolean;
|
|
10185
|
+
} | null | undefined;
|
|
10186
|
+
thumbnail?: string | null | undefined;
|
|
10187
|
+
billingInfos?: {
|
|
10188
|
+
_id?: string | null | undefined;
|
|
10189
|
+
name: string;
|
|
10190
|
+
address: {
|
|
10191
|
+
coordinates?: number[] | null | undefined;
|
|
10192
|
+
line2?: string | null | undefined;
|
|
10193
|
+
state: string;
|
|
10194
|
+
country: string;
|
|
10195
|
+
line1: string;
|
|
10196
|
+
city: string;
|
|
10197
|
+
postcode: string;
|
|
10198
|
+
};
|
|
10199
|
+
email: string;
|
|
10200
|
+
companyName: string;
|
|
10201
|
+
contact: string;
|
|
10202
|
+
}[] | null | undefined;
|
|
10203
|
+
customerDisplayImages?: {
|
|
10204
|
+
url: string;
|
|
10205
|
+
restaurantIds: string[];
|
|
10206
|
+
}[] | null | undefined;
|
|
10207
|
+
name: string;
|
|
10208
|
+
_id: string;
|
|
10209
|
+
ownerId: string;
|
|
10210
|
+
restaurantQuota: number;
|
|
10211
|
+
warehouseQuota: number;
|
|
10212
|
+
menuVersion: string;
|
|
10213
|
+
} | null | undefined;
|
|
10117
10214
|
features?: string[] | null | undefined;
|
|
10118
10215
|
machineOtp?: string | null | undefined;
|
|
10119
10216
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -10208,68 +10305,6 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10208
10305
|
} | null | undefined;
|
|
10209
10306
|
_id: string;
|
|
10210
10307
|
expiredAt: string;
|
|
10211
|
-
pf_business: {
|
|
10212
|
-
internal?: boolean | null | undefined;
|
|
10213
|
-
url?: string | null | undefined;
|
|
10214
|
-
expiredAt?: string | null | undefined;
|
|
10215
|
-
agentId?: string | null | undefined;
|
|
10216
|
-
pf_agent?: {
|
|
10217
|
-
clickupId?: string | null | undefined;
|
|
10218
|
-
members?: {
|
|
10219
|
-
pf_user?: {
|
|
10220
|
-
email?: string | null | undefined;
|
|
10221
|
-
phoneNumber?: string | null | undefined;
|
|
10222
|
-
birthday?: string | null | undefined;
|
|
10223
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
10224
|
-
addresses?: {
|
|
10225
|
-
name: string;
|
|
10226
|
-
address: string;
|
|
10227
|
-
coordinates: number[];
|
|
10228
|
-
}[] | null | undefined;
|
|
10229
|
-
photoURL?: string | null | undefined;
|
|
10230
|
-
displayName?: string | null | undefined;
|
|
10231
|
-
imported?: {
|
|
10232
|
-
raw: Record<string, any>;
|
|
10233
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
10234
|
-
} | null | undefined;
|
|
10235
|
-
_id: string;
|
|
10236
|
-
} | null | undefined;
|
|
10237
|
-
role: "ADMIN";
|
|
10238
|
-
userId: string;
|
|
10239
|
-
}[] | null | undefined;
|
|
10240
|
-
code: string;
|
|
10241
|
-
name: string;
|
|
10242
|
-
_id: string;
|
|
10243
|
-
isReseller: boolean;
|
|
10244
|
-
} | null | undefined;
|
|
10245
|
-
thumbnail?: string | null | undefined;
|
|
10246
|
-
billingInfos?: {
|
|
10247
|
-
_id?: string | null | undefined;
|
|
10248
|
-
name: string;
|
|
10249
|
-
address: {
|
|
10250
|
-
coordinates?: number[] | null | undefined;
|
|
10251
|
-
line2?: string | null | undefined;
|
|
10252
|
-
state: string;
|
|
10253
|
-
country: string;
|
|
10254
|
-
line1: string;
|
|
10255
|
-
city: string;
|
|
10256
|
-
postcode: string;
|
|
10257
|
-
};
|
|
10258
|
-
email: string;
|
|
10259
|
-
companyName: string;
|
|
10260
|
-
contact: string;
|
|
10261
|
-
}[] | null | undefined;
|
|
10262
|
-
customerDisplayImages?: {
|
|
10263
|
-
url: string;
|
|
10264
|
-
restaurantIds: string[];
|
|
10265
|
-
}[] | null | undefined;
|
|
10266
|
-
name: string;
|
|
10267
|
-
_id: string;
|
|
10268
|
-
ownerId: string;
|
|
10269
|
-
restaurantQuota: number;
|
|
10270
|
-
warehouseQuota: number;
|
|
10271
|
-
menuVersion: string;
|
|
10272
|
-
};
|
|
10273
10308
|
businessId: string;
|
|
10274
10309
|
profile: {
|
|
10275
10310
|
code?: string | null | undefined;
|
|
@@ -10372,6 +10407,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10372
10407
|
channel?: string | null | undefined;
|
|
10373
10408
|
machineId?: string | null | undefined;
|
|
10374
10409
|
catalogId?: string | null | undefined;
|
|
10410
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
10375
10411
|
takeaway?: {
|
|
10376
10412
|
catalogId?: string | null | undefined;
|
|
10377
10413
|
} | null | undefined;
|
|
@@ -10506,6 +10542,73 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10506
10542
|
acceptQueue?: boolean | null | undefined;
|
|
10507
10543
|
anonymousOrder: boolean;
|
|
10508
10544
|
} | null | undefined;
|
|
10545
|
+
pf_business?: {
|
|
10546
|
+
internal?: boolean | null | undefined;
|
|
10547
|
+
url?: string | null | undefined;
|
|
10548
|
+
expiredAt?: string | null | undefined;
|
|
10549
|
+
agentId?: string | null | undefined;
|
|
10550
|
+
attributeSettings?: {
|
|
10551
|
+
type: "string" | "number" | "boolean" | "date";
|
|
10552
|
+
key: string;
|
|
10553
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10554
|
+
}[] | null | undefined;
|
|
10555
|
+
pf_agent?: {
|
|
10556
|
+
clickupId?: string | null | undefined;
|
|
10557
|
+
members?: {
|
|
10558
|
+
pf_user?: {
|
|
10559
|
+
email?: string | null | undefined;
|
|
10560
|
+
phoneNumber?: string | null | undefined;
|
|
10561
|
+
birthday?: string | null | undefined;
|
|
10562
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
10563
|
+
addresses?: {
|
|
10564
|
+
name: string;
|
|
10565
|
+
address: string;
|
|
10566
|
+
coordinates: number[];
|
|
10567
|
+
}[] | null | undefined;
|
|
10568
|
+
photoURL?: string | null | undefined;
|
|
10569
|
+
displayName?: string | null | undefined;
|
|
10570
|
+
imported?: {
|
|
10571
|
+
raw: Record<string, any>;
|
|
10572
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
10573
|
+
} | null | undefined;
|
|
10574
|
+
_id: string;
|
|
10575
|
+
} | null | undefined;
|
|
10576
|
+
role: "ADMIN";
|
|
10577
|
+
userId: string;
|
|
10578
|
+
}[] | null | undefined;
|
|
10579
|
+
code: string;
|
|
10580
|
+
name: string;
|
|
10581
|
+
_id: string;
|
|
10582
|
+
isReseller: boolean;
|
|
10583
|
+
} | null | undefined;
|
|
10584
|
+
thumbnail?: string | null | undefined;
|
|
10585
|
+
billingInfos?: {
|
|
10586
|
+
_id?: string | null | undefined;
|
|
10587
|
+
name: string;
|
|
10588
|
+
address: {
|
|
10589
|
+
coordinates?: number[] | null | undefined;
|
|
10590
|
+
line2?: string | null | undefined;
|
|
10591
|
+
state: string;
|
|
10592
|
+
country: string;
|
|
10593
|
+
line1: string;
|
|
10594
|
+
city: string;
|
|
10595
|
+
postcode: string;
|
|
10596
|
+
};
|
|
10597
|
+
email: string;
|
|
10598
|
+
companyName: string;
|
|
10599
|
+
contact: string;
|
|
10600
|
+
}[] | null | undefined;
|
|
10601
|
+
customerDisplayImages?: {
|
|
10602
|
+
url: string;
|
|
10603
|
+
restaurantIds: string[];
|
|
10604
|
+
}[] | null | undefined;
|
|
10605
|
+
name: string;
|
|
10606
|
+
_id: string;
|
|
10607
|
+
ownerId: string;
|
|
10608
|
+
restaurantQuota: number;
|
|
10609
|
+
warehouseQuota: number;
|
|
10610
|
+
menuVersion: string;
|
|
10611
|
+
} | null | undefined;
|
|
10509
10612
|
features?: string[] | null | undefined;
|
|
10510
10613
|
machineOtp?: string | null | undefined;
|
|
10511
10614
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -10600,68 +10703,6 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10600
10703
|
} | null | undefined;
|
|
10601
10704
|
_id: string;
|
|
10602
10705
|
expiredAt: string;
|
|
10603
|
-
pf_business: {
|
|
10604
|
-
internal?: boolean | null | undefined;
|
|
10605
|
-
url?: string | null | undefined;
|
|
10606
|
-
expiredAt?: string | null | undefined;
|
|
10607
|
-
agentId?: string | null | undefined;
|
|
10608
|
-
pf_agent?: {
|
|
10609
|
-
clickupId?: string | null | undefined;
|
|
10610
|
-
members?: {
|
|
10611
|
-
pf_user?: {
|
|
10612
|
-
email?: string | null | undefined;
|
|
10613
|
-
phoneNumber?: string | null | undefined;
|
|
10614
|
-
birthday?: string | null | undefined;
|
|
10615
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
10616
|
-
addresses?: {
|
|
10617
|
-
name: string;
|
|
10618
|
-
address: string;
|
|
10619
|
-
coordinates: number[];
|
|
10620
|
-
}[] | null | undefined;
|
|
10621
|
-
photoURL?: string | null | undefined;
|
|
10622
|
-
displayName?: string | null | undefined;
|
|
10623
|
-
imported?: {
|
|
10624
|
-
raw: Record<string, any>;
|
|
10625
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
10626
|
-
} | null | undefined;
|
|
10627
|
-
_id: string;
|
|
10628
|
-
} | null | undefined;
|
|
10629
|
-
role: "ADMIN";
|
|
10630
|
-
userId: string;
|
|
10631
|
-
}[] | null | undefined;
|
|
10632
|
-
code: string;
|
|
10633
|
-
name: string;
|
|
10634
|
-
_id: string;
|
|
10635
|
-
isReseller: boolean;
|
|
10636
|
-
} | null | undefined;
|
|
10637
|
-
thumbnail?: string | null | undefined;
|
|
10638
|
-
billingInfos?: {
|
|
10639
|
-
_id?: string | null | undefined;
|
|
10640
|
-
name: string;
|
|
10641
|
-
address: {
|
|
10642
|
-
coordinates?: number[] | null | undefined;
|
|
10643
|
-
line2?: string | null | undefined;
|
|
10644
|
-
state: string;
|
|
10645
|
-
country: string;
|
|
10646
|
-
line1: string;
|
|
10647
|
-
city: string;
|
|
10648
|
-
postcode: string;
|
|
10649
|
-
};
|
|
10650
|
-
email: string;
|
|
10651
|
-
companyName: string;
|
|
10652
|
-
contact: string;
|
|
10653
|
-
}[] | null | undefined;
|
|
10654
|
-
customerDisplayImages?: {
|
|
10655
|
-
url: string;
|
|
10656
|
-
restaurantIds: string[];
|
|
10657
|
-
}[] | null | undefined;
|
|
10658
|
-
name: string;
|
|
10659
|
-
_id: string;
|
|
10660
|
-
ownerId: string;
|
|
10661
|
-
restaurantQuota: number;
|
|
10662
|
-
warehouseQuota: number;
|
|
10663
|
-
menuVersion: string;
|
|
10664
|
-
};
|
|
10665
10706
|
businessId: string;
|
|
10666
10707
|
profile: {
|
|
10667
10708
|
code?: string | null | undefined;
|
|
@@ -10786,6 +10827,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10786
10827
|
channel?: string | null | undefined;
|
|
10787
10828
|
machineId?: string | null | undefined;
|
|
10788
10829
|
catalogId?: string | null | undefined;
|
|
10830
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
10789
10831
|
takeaway?: {
|
|
10790
10832
|
catalogId?: string | null | undefined;
|
|
10791
10833
|
} | null | undefined;
|
|
@@ -10920,6 +10962,73 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
10920
10962
|
acceptQueue?: boolean | null | undefined;
|
|
10921
10963
|
anonymousOrder: boolean;
|
|
10922
10964
|
} | null | undefined;
|
|
10965
|
+
pf_business?: {
|
|
10966
|
+
internal?: boolean | null | undefined;
|
|
10967
|
+
url?: string | null | undefined;
|
|
10968
|
+
expiredAt?: string | null | undefined;
|
|
10969
|
+
agentId?: string | null | undefined;
|
|
10970
|
+
attributeSettings?: {
|
|
10971
|
+
type: "string" | "number" | "boolean" | "date";
|
|
10972
|
+
key: string;
|
|
10973
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
10974
|
+
}[] | null | undefined;
|
|
10975
|
+
pf_agent?: {
|
|
10976
|
+
clickupId?: string | null | undefined;
|
|
10977
|
+
members?: {
|
|
10978
|
+
pf_user?: {
|
|
10979
|
+
email?: string | null | undefined;
|
|
10980
|
+
phoneNumber?: string | null | undefined;
|
|
10981
|
+
birthday?: string | null | undefined;
|
|
10982
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
10983
|
+
addresses?: {
|
|
10984
|
+
name: string;
|
|
10985
|
+
address: string;
|
|
10986
|
+
coordinates: number[];
|
|
10987
|
+
}[] | null | undefined;
|
|
10988
|
+
photoURL?: string | null | undefined;
|
|
10989
|
+
displayName?: string | null | undefined;
|
|
10990
|
+
imported?: {
|
|
10991
|
+
raw: Record<string, any>;
|
|
10992
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
10993
|
+
} | null | undefined;
|
|
10994
|
+
_id: string;
|
|
10995
|
+
} | null | undefined;
|
|
10996
|
+
role: "ADMIN";
|
|
10997
|
+
userId: string;
|
|
10998
|
+
}[] | null | undefined;
|
|
10999
|
+
code: string;
|
|
11000
|
+
name: string;
|
|
11001
|
+
_id: string;
|
|
11002
|
+
isReseller: boolean;
|
|
11003
|
+
} | null | undefined;
|
|
11004
|
+
thumbnail?: string | null | undefined;
|
|
11005
|
+
billingInfos?: {
|
|
11006
|
+
_id?: string | null | undefined;
|
|
11007
|
+
name: string;
|
|
11008
|
+
address: {
|
|
11009
|
+
coordinates?: number[] | null | undefined;
|
|
11010
|
+
line2?: string | null | undefined;
|
|
11011
|
+
state: string;
|
|
11012
|
+
country: string;
|
|
11013
|
+
line1: string;
|
|
11014
|
+
city: string;
|
|
11015
|
+
postcode: string;
|
|
11016
|
+
};
|
|
11017
|
+
email: string;
|
|
11018
|
+
companyName: string;
|
|
11019
|
+
contact: string;
|
|
11020
|
+
}[] | null | undefined;
|
|
11021
|
+
customerDisplayImages?: {
|
|
11022
|
+
url: string;
|
|
11023
|
+
restaurantIds: string[];
|
|
11024
|
+
}[] | null | undefined;
|
|
11025
|
+
name: string;
|
|
11026
|
+
_id: string;
|
|
11027
|
+
ownerId: string;
|
|
11028
|
+
restaurantQuota: number;
|
|
11029
|
+
warehouseQuota: number;
|
|
11030
|
+
menuVersion: string;
|
|
11031
|
+
} | null | undefined;
|
|
10923
11032
|
features?: string[] | null | undefined;
|
|
10924
11033
|
machineOtp?: string | null | undefined;
|
|
10925
11034
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -11014,68 +11123,6 @@ declare const FdtoCreateDelivery: z.ZodObject<{
|
|
|
11014
11123
|
} | null | undefined;
|
|
11015
11124
|
_id: string;
|
|
11016
11125
|
expiredAt: string;
|
|
11017
|
-
pf_business: {
|
|
11018
|
-
internal?: boolean | null | undefined;
|
|
11019
|
-
url?: string | null | undefined;
|
|
11020
|
-
expiredAt?: string | null | undefined;
|
|
11021
|
-
agentId?: string | null | undefined;
|
|
11022
|
-
pf_agent?: {
|
|
11023
|
-
clickupId?: string | null | undefined;
|
|
11024
|
-
members?: {
|
|
11025
|
-
pf_user?: {
|
|
11026
|
-
email?: string | null | undefined;
|
|
11027
|
-
phoneNumber?: string | null | undefined;
|
|
11028
|
-
birthday?: string | null | undefined;
|
|
11029
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
11030
|
-
addresses?: {
|
|
11031
|
-
name: string;
|
|
11032
|
-
address: string;
|
|
11033
|
-
coordinates: number[];
|
|
11034
|
-
}[] | null | undefined;
|
|
11035
|
-
photoURL?: string | null | undefined;
|
|
11036
|
-
displayName?: string | null | undefined;
|
|
11037
|
-
imported?: {
|
|
11038
|
-
raw: Record<string, any>;
|
|
11039
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
11040
|
-
} | null | undefined;
|
|
11041
|
-
_id: string;
|
|
11042
|
-
} | null | undefined;
|
|
11043
|
-
role: "ADMIN";
|
|
11044
|
-
userId: string;
|
|
11045
|
-
}[] | null | undefined;
|
|
11046
|
-
code: string;
|
|
11047
|
-
name: string;
|
|
11048
|
-
_id: string;
|
|
11049
|
-
isReseller: boolean;
|
|
11050
|
-
} | null | undefined;
|
|
11051
|
-
thumbnail?: string | null | undefined;
|
|
11052
|
-
billingInfos?: {
|
|
11053
|
-
_id?: string | null | undefined;
|
|
11054
|
-
name: string;
|
|
11055
|
-
address: {
|
|
11056
|
-
coordinates?: number[] | null | undefined;
|
|
11057
|
-
line2?: string | null | undefined;
|
|
11058
|
-
state: string;
|
|
11059
|
-
country: string;
|
|
11060
|
-
line1: string;
|
|
11061
|
-
city: string;
|
|
11062
|
-
postcode: string;
|
|
11063
|
-
};
|
|
11064
|
-
email: string;
|
|
11065
|
-
companyName: string;
|
|
11066
|
-
contact: string;
|
|
11067
|
-
}[] | null | undefined;
|
|
11068
|
-
customerDisplayImages?: {
|
|
11069
|
-
url: string;
|
|
11070
|
-
restaurantIds: string[];
|
|
11071
|
-
}[] | null | undefined;
|
|
11072
|
-
name: string;
|
|
11073
|
-
_id: string;
|
|
11074
|
-
ownerId: string;
|
|
11075
|
-
restaurantQuota: number;
|
|
11076
|
-
warehouseQuota: number;
|
|
11077
|
-
menuVersion: string;
|
|
11078
|
-
};
|
|
11079
11126
|
businessId: string;
|
|
11080
11127
|
profile: {
|
|
11081
11128
|
code?: string | null | undefined;
|