@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
|
@@ -867,11 +867,11 @@ export declare const GFOrder: z.ZodObject<{
|
|
|
867
867
|
price: number;
|
|
868
868
|
}[];
|
|
869
869
|
paymentType: "CASH" | "CASHLESS";
|
|
870
|
+
orderTime: string;
|
|
870
871
|
merchantID: string;
|
|
871
872
|
orderID: string;
|
|
872
873
|
shortOrderNumber: string;
|
|
873
874
|
cutlery: boolean;
|
|
874
|
-
orderTime: string;
|
|
875
875
|
featureFlags: {
|
|
876
876
|
isMexEditOrder?: boolean | null | undefined;
|
|
877
877
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -967,11 +967,11 @@ export declare const GFOrder: z.ZodObject<{
|
|
|
967
967
|
price: number;
|
|
968
968
|
}[];
|
|
969
969
|
paymentType: "CASH" | "CASHLESS";
|
|
970
|
+
orderTime: string;
|
|
970
971
|
merchantID: string;
|
|
971
972
|
orderID: string;
|
|
972
973
|
shortOrderNumber: string;
|
|
973
974
|
cutlery: boolean;
|
|
974
|
-
orderTime: string;
|
|
975
975
|
featureFlags: {
|
|
976
976
|
isMexEditOrder?: boolean | null | undefined;
|
|
977
977
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -1430,11 +1430,11 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1430
1430
|
price: number;
|
|
1431
1431
|
}[];
|
|
1432
1432
|
paymentType: "CASH" | "CASHLESS";
|
|
1433
|
+
orderTime: string;
|
|
1433
1434
|
merchantID: string;
|
|
1434
1435
|
orderID: string;
|
|
1435
1436
|
shortOrderNumber: string;
|
|
1436
1437
|
cutlery: boolean;
|
|
1437
|
-
orderTime: string;
|
|
1438
1438
|
featureFlags: {
|
|
1439
1439
|
isMexEditOrder?: boolean | null | undefined;
|
|
1440
1440
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -1530,11 +1530,11 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1530
1530
|
price: number;
|
|
1531
1531
|
}[];
|
|
1532
1532
|
paymentType: "CASH" | "CASHLESS";
|
|
1533
|
+
orderTime: string;
|
|
1533
1534
|
merchantID: string;
|
|
1534
1535
|
orderID: string;
|
|
1535
1536
|
shortOrderNumber: string;
|
|
1536
1537
|
cutlery: boolean;
|
|
1537
|
-
orderTime: string;
|
|
1538
1538
|
featureFlags: {
|
|
1539
1539
|
isMexEditOrder?: boolean | null | undefined;
|
|
1540
1540
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -1637,11 +1637,11 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1637
1637
|
price: number;
|
|
1638
1638
|
}[];
|
|
1639
1639
|
paymentType: "CASH" | "CASHLESS";
|
|
1640
|
+
orderTime: string;
|
|
1640
1641
|
merchantID: string;
|
|
1641
1642
|
orderID: string;
|
|
1642
1643
|
shortOrderNumber: string;
|
|
1643
1644
|
cutlery: boolean;
|
|
1644
|
-
orderTime: string;
|
|
1645
1645
|
featureFlags: {
|
|
1646
1646
|
isMexEditOrder?: boolean | null | undefined;
|
|
1647
1647
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -1744,11 +1744,11 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
|
|
|
1744
1744
|
price: number;
|
|
1745
1745
|
}[];
|
|
1746
1746
|
paymentType: "CASH" | "CASHLESS";
|
|
1747
|
+
orderTime: string;
|
|
1747
1748
|
merchantID: string;
|
|
1748
1749
|
orderID: string;
|
|
1749
1750
|
shortOrderNumber: string;
|
|
1750
1751
|
cutlery: boolean;
|
|
1751
|
-
orderTime: string;
|
|
1752
1752
|
featureFlags: {
|
|
1753
1753
|
isMexEditOrder?: boolean | null | undefined;
|
|
1754
1754
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -2208,11 +2208,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2208
2208
|
price: number;
|
|
2209
2209
|
}[];
|
|
2210
2210
|
paymentType: "CASH" | "CASHLESS";
|
|
2211
|
+
orderTime: string;
|
|
2211
2212
|
merchantID: string;
|
|
2212
2213
|
orderID: string;
|
|
2213
2214
|
shortOrderNumber: string;
|
|
2214
2215
|
cutlery: boolean;
|
|
2215
|
-
orderTime: string;
|
|
2216
2216
|
featureFlags: {
|
|
2217
2217
|
isMexEditOrder?: boolean | null | undefined;
|
|
2218
2218
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -2308,11 +2308,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2308
2308
|
price: number;
|
|
2309
2309
|
}[];
|
|
2310
2310
|
paymentType: "CASH" | "CASHLESS";
|
|
2311
|
+
orderTime: string;
|
|
2311
2312
|
merchantID: string;
|
|
2312
2313
|
orderID: string;
|
|
2313
2314
|
shortOrderNumber: string;
|
|
2314
2315
|
cutlery: boolean;
|
|
2315
|
-
orderTime: string;
|
|
2316
2316
|
featureFlags: {
|
|
2317
2317
|
isMexEditOrder?: boolean | null | undefined;
|
|
2318
2318
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -2323,7 +2323,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2323
2323
|
pf_restaurant: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2324
2324
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2325
2325
|
businessId: z.ZodString;
|
|
2326
|
-
pf_business: z.ZodObject<{
|
|
2326
|
+
pf_business: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
2327
2327
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2328
2328
|
ownerId: z.ZodString;
|
|
2329
2329
|
name: z.ZodString;
|
|
@@ -2334,6 +2334,19 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2334
2334
|
expiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2335
2335
|
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2336
2336
|
agentId: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2337
|
+
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2338
|
+
key: z.ZodString;
|
|
2339
|
+
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
2340
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
2341
|
+
}, "strip", z.ZodTypeAny, {
|
|
2342
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2343
|
+
key: string;
|
|
2344
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2345
|
+
}, {
|
|
2346
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2347
|
+
key: string;
|
|
2348
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2349
|
+
}>, "many">>>;
|
|
2337
2350
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
2338
2351
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
2339
2352
|
name: z.ZodString;
|
|
@@ -2587,6 +2600,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2587
2600
|
url?: string | null | undefined;
|
|
2588
2601
|
expiredAt?: string | null | undefined;
|
|
2589
2602
|
agentId?: string | null | undefined;
|
|
2603
|
+
attributeSettings?: {
|
|
2604
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2605
|
+
key: string;
|
|
2606
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2607
|
+
}[] | null | undefined;
|
|
2590
2608
|
pf_agent?: {
|
|
2591
2609
|
clickupId?: string | null | undefined;
|
|
2592
2610
|
members?: {
|
|
@@ -2648,6 +2666,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2648
2666
|
url?: string | null | undefined;
|
|
2649
2667
|
expiredAt?: string | null | undefined;
|
|
2650
2668
|
agentId?: string | null | undefined;
|
|
2669
|
+
attributeSettings?: {
|
|
2670
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2671
|
+
key: string;
|
|
2672
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2673
|
+
}[] | null | undefined;
|
|
2651
2674
|
pf_agent?: {
|
|
2652
2675
|
clickupId?: string | null | undefined;
|
|
2653
2676
|
members?: {
|
|
@@ -2704,7 +2727,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2704
2727
|
restaurantQuota: number;
|
|
2705
2728
|
warehouseQuota: number;
|
|
2706
2729
|
menuVersion: string;
|
|
2707
|
-
}
|
|
2730
|
+
}>>>;
|
|
2708
2731
|
features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
|
|
2709
2732
|
stock: string;
|
|
2710
2733
|
discovery: string;
|
|
@@ -4374,10 +4397,12 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4374
4397
|
mapBorderColor?: number | null | undefined;
|
|
4375
4398
|
mapLineColor?: number | null | undefined;
|
|
4376
4399
|
}>>>;
|
|
4400
|
+
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
4377
4401
|
}, "strip", z.ZodTypeAny, {
|
|
4378
4402
|
channel?: string | null | undefined;
|
|
4379
4403
|
machineId?: string | null | undefined;
|
|
4380
4404
|
catalogId?: string | null | undefined;
|
|
4405
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
4381
4406
|
takeaway?: {
|
|
4382
4407
|
catalogId?: string | null | undefined;
|
|
4383
4408
|
} | null | undefined;
|
|
@@ -4512,6 +4537,73 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4512
4537
|
acceptQueue?: boolean | null | undefined;
|
|
4513
4538
|
anonymousOrder: boolean;
|
|
4514
4539
|
} | null | undefined;
|
|
4540
|
+
pf_business?: {
|
|
4541
|
+
internal?: boolean | null | undefined;
|
|
4542
|
+
url?: string | null | undefined;
|
|
4543
|
+
expiredAt?: string | null | undefined;
|
|
4544
|
+
agentId?: string | null | undefined;
|
|
4545
|
+
attributeSettings?: {
|
|
4546
|
+
type: "string" | "number" | "boolean" | "date";
|
|
4547
|
+
key: string;
|
|
4548
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4549
|
+
}[] | null | undefined;
|
|
4550
|
+
pf_agent?: {
|
|
4551
|
+
clickupId?: string | null | undefined;
|
|
4552
|
+
members?: {
|
|
4553
|
+
pf_user?: {
|
|
4554
|
+
email?: string | null | undefined;
|
|
4555
|
+
phoneNumber?: string | null | undefined;
|
|
4556
|
+
birthday?: string | null | undefined;
|
|
4557
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
4558
|
+
addresses?: {
|
|
4559
|
+
name: string;
|
|
4560
|
+
address: string;
|
|
4561
|
+
coordinates: number[];
|
|
4562
|
+
}[] | null | undefined;
|
|
4563
|
+
photoURL?: string | null | undefined;
|
|
4564
|
+
displayName?: string | null | undefined;
|
|
4565
|
+
imported?: {
|
|
4566
|
+
raw: Record<string, any>;
|
|
4567
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
4568
|
+
} | null | undefined;
|
|
4569
|
+
_id: string;
|
|
4570
|
+
} | null | undefined;
|
|
4571
|
+
role: "ADMIN";
|
|
4572
|
+
userId: string;
|
|
4573
|
+
}[] | null | undefined;
|
|
4574
|
+
code: string;
|
|
4575
|
+
name: string;
|
|
4576
|
+
_id: string;
|
|
4577
|
+
isReseller: boolean;
|
|
4578
|
+
} | null | undefined;
|
|
4579
|
+
thumbnail?: string | null | undefined;
|
|
4580
|
+
billingInfos?: {
|
|
4581
|
+
_id?: string | null | undefined;
|
|
4582
|
+
name: string;
|
|
4583
|
+
address: {
|
|
4584
|
+
coordinates?: number[] | null | undefined;
|
|
4585
|
+
line2?: string | null | undefined;
|
|
4586
|
+
state: string;
|
|
4587
|
+
country: string;
|
|
4588
|
+
line1: string;
|
|
4589
|
+
city: string;
|
|
4590
|
+
postcode: string;
|
|
4591
|
+
};
|
|
4592
|
+
email: string;
|
|
4593
|
+
companyName: string;
|
|
4594
|
+
contact: string;
|
|
4595
|
+
}[] | null | undefined;
|
|
4596
|
+
customerDisplayImages?: {
|
|
4597
|
+
url: string;
|
|
4598
|
+
restaurantIds: string[];
|
|
4599
|
+
}[] | null | undefined;
|
|
4600
|
+
name: string;
|
|
4601
|
+
_id: string;
|
|
4602
|
+
ownerId: string;
|
|
4603
|
+
restaurantQuota: number;
|
|
4604
|
+
warehouseQuota: number;
|
|
4605
|
+
menuVersion: string;
|
|
4606
|
+
} | null | undefined;
|
|
4515
4607
|
features?: string[] | null | undefined;
|
|
4516
4608
|
machineOtp?: string | null | undefined;
|
|
4517
4609
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -4606,68 +4698,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4606
4698
|
} | null | undefined;
|
|
4607
4699
|
_id: string;
|
|
4608
4700
|
expiredAt: string;
|
|
4609
|
-
pf_business: {
|
|
4610
|
-
internal?: boolean | null | undefined;
|
|
4611
|
-
url?: string | null | undefined;
|
|
4612
|
-
expiredAt?: string | null | undefined;
|
|
4613
|
-
agentId?: string | null | undefined;
|
|
4614
|
-
pf_agent?: {
|
|
4615
|
-
clickupId?: string | null | undefined;
|
|
4616
|
-
members?: {
|
|
4617
|
-
pf_user?: {
|
|
4618
|
-
email?: string | null | undefined;
|
|
4619
|
-
phoneNumber?: string | null | undefined;
|
|
4620
|
-
birthday?: string | null | undefined;
|
|
4621
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
4622
|
-
addresses?: {
|
|
4623
|
-
name: string;
|
|
4624
|
-
address: string;
|
|
4625
|
-
coordinates: number[];
|
|
4626
|
-
}[] | null | undefined;
|
|
4627
|
-
photoURL?: string | null | undefined;
|
|
4628
|
-
displayName?: string | null | undefined;
|
|
4629
|
-
imported?: {
|
|
4630
|
-
raw: Record<string, any>;
|
|
4631
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
4632
|
-
} | null | undefined;
|
|
4633
|
-
_id: string;
|
|
4634
|
-
} | null | undefined;
|
|
4635
|
-
role: "ADMIN";
|
|
4636
|
-
userId: string;
|
|
4637
|
-
}[] | null | undefined;
|
|
4638
|
-
code: string;
|
|
4639
|
-
name: string;
|
|
4640
|
-
_id: string;
|
|
4641
|
-
isReseller: boolean;
|
|
4642
|
-
} | null | undefined;
|
|
4643
|
-
thumbnail?: string | null | undefined;
|
|
4644
|
-
billingInfos?: {
|
|
4645
|
-
_id?: string | null | undefined;
|
|
4646
|
-
name: string;
|
|
4647
|
-
address: {
|
|
4648
|
-
coordinates?: number[] | null | undefined;
|
|
4649
|
-
line2?: string | null | undefined;
|
|
4650
|
-
state: string;
|
|
4651
|
-
country: string;
|
|
4652
|
-
line1: string;
|
|
4653
|
-
city: string;
|
|
4654
|
-
postcode: string;
|
|
4655
|
-
};
|
|
4656
|
-
email: string;
|
|
4657
|
-
companyName: string;
|
|
4658
|
-
contact: string;
|
|
4659
|
-
}[] | null | undefined;
|
|
4660
|
-
customerDisplayImages?: {
|
|
4661
|
-
url: string;
|
|
4662
|
-
restaurantIds: string[];
|
|
4663
|
-
}[] | null | undefined;
|
|
4664
|
-
name: string;
|
|
4665
|
-
_id: string;
|
|
4666
|
-
ownerId: string;
|
|
4667
|
-
restaurantQuota: number;
|
|
4668
|
-
warehouseQuota: number;
|
|
4669
|
-
menuVersion: string;
|
|
4670
|
-
};
|
|
4671
4701
|
businessId: string;
|
|
4672
4702
|
profile: {
|
|
4673
4703
|
code?: string | null | undefined;
|
|
@@ -4750,6 +4780,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4750
4780
|
channel?: string | null | undefined;
|
|
4751
4781
|
machineId?: string | null | undefined;
|
|
4752
4782
|
catalogId?: string | null | undefined;
|
|
4783
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
4753
4784
|
takeaway?: {
|
|
4754
4785
|
catalogId?: string | null | undefined;
|
|
4755
4786
|
} | null | undefined;
|
|
@@ -4884,6 +4915,73 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4884
4915
|
acceptQueue?: boolean | null | undefined;
|
|
4885
4916
|
anonymousOrder: boolean;
|
|
4886
4917
|
} | null | undefined;
|
|
4918
|
+
pf_business?: {
|
|
4919
|
+
internal?: boolean | null | undefined;
|
|
4920
|
+
url?: string | null | undefined;
|
|
4921
|
+
expiredAt?: string | null | undefined;
|
|
4922
|
+
agentId?: string | null | undefined;
|
|
4923
|
+
attributeSettings?: {
|
|
4924
|
+
type: "string" | "number" | "boolean" | "date";
|
|
4925
|
+
key: string;
|
|
4926
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4927
|
+
}[] | null | undefined;
|
|
4928
|
+
pf_agent?: {
|
|
4929
|
+
clickupId?: string | null | undefined;
|
|
4930
|
+
members?: {
|
|
4931
|
+
pf_user?: {
|
|
4932
|
+
email?: string | null | undefined;
|
|
4933
|
+
phoneNumber?: string | null | undefined;
|
|
4934
|
+
birthday?: string | null | undefined;
|
|
4935
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
4936
|
+
addresses?: {
|
|
4937
|
+
name: string;
|
|
4938
|
+
address: string;
|
|
4939
|
+
coordinates: number[];
|
|
4940
|
+
}[] | null | undefined;
|
|
4941
|
+
photoURL?: string | null | undefined;
|
|
4942
|
+
displayName?: string | null | undefined;
|
|
4943
|
+
imported?: {
|
|
4944
|
+
raw: Record<string, any>;
|
|
4945
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
4946
|
+
} | null | undefined;
|
|
4947
|
+
_id: string;
|
|
4948
|
+
} | null | undefined;
|
|
4949
|
+
role: "ADMIN";
|
|
4950
|
+
userId: string;
|
|
4951
|
+
}[] | null | undefined;
|
|
4952
|
+
code: string;
|
|
4953
|
+
name: string;
|
|
4954
|
+
_id: string;
|
|
4955
|
+
isReseller: boolean;
|
|
4956
|
+
} | null | undefined;
|
|
4957
|
+
thumbnail?: string | null | undefined;
|
|
4958
|
+
billingInfos?: {
|
|
4959
|
+
_id?: string | null | undefined;
|
|
4960
|
+
name: string;
|
|
4961
|
+
address: {
|
|
4962
|
+
coordinates?: number[] | null | undefined;
|
|
4963
|
+
line2?: string | null | undefined;
|
|
4964
|
+
state: string;
|
|
4965
|
+
country: string;
|
|
4966
|
+
line1: string;
|
|
4967
|
+
city: string;
|
|
4968
|
+
postcode: string;
|
|
4969
|
+
};
|
|
4970
|
+
email: string;
|
|
4971
|
+
companyName: string;
|
|
4972
|
+
contact: string;
|
|
4973
|
+
}[] | null | undefined;
|
|
4974
|
+
customerDisplayImages?: {
|
|
4975
|
+
url: string;
|
|
4976
|
+
restaurantIds: string[];
|
|
4977
|
+
}[] | null | undefined;
|
|
4978
|
+
name: string;
|
|
4979
|
+
_id: string;
|
|
4980
|
+
ownerId: string;
|
|
4981
|
+
restaurantQuota: number;
|
|
4982
|
+
warehouseQuota: number;
|
|
4983
|
+
menuVersion: string;
|
|
4984
|
+
} | null | undefined;
|
|
4887
4985
|
features?: string[] | null | undefined;
|
|
4888
4986
|
machineOtp?: string | null | undefined;
|
|
4889
4987
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -4978,71 +5076,9 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4978
5076
|
} | null | undefined;
|
|
4979
5077
|
_id: string;
|
|
4980
5078
|
expiredAt: string;
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
expiredAt?: string | null | undefined;
|
|
4985
|
-
agentId?: string | null | undefined;
|
|
4986
|
-
pf_agent?: {
|
|
4987
|
-
clickupId?: string | null | undefined;
|
|
4988
|
-
members?: {
|
|
4989
|
-
pf_user?: {
|
|
4990
|
-
email?: string | null | undefined;
|
|
4991
|
-
phoneNumber?: string | null | undefined;
|
|
4992
|
-
birthday?: string | null | undefined;
|
|
4993
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
4994
|
-
addresses?: {
|
|
4995
|
-
name: string;
|
|
4996
|
-
address: string;
|
|
4997
|
-
coordinates: number[];
|
|
4998
|
-
}[] | null | undefined;
|
|
4999
|
-
photoURL?: string | null | undefined;
|
|
5000
|
-
displayName?: string | null | undefined;
|
|
5001
|
-
imported?: {
|
|
5002
|
-
raw: Record<string, any>;
|
|
5003
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
5004
|
-
} | null | undefined;
|
|
5005
|
-
_id: string;
|
|
5006
|
-
} | null | undefined;
|
|
5007
|
-
role: "ADMIN";
|
|
5008
|
-
userId: string;
|
|
5009
|
-
}[] | null | undefined;
|
|
5010
|
-
code: string;
|
|
5011
|
-
name: string;
|
|
5012
|
-
_id: string;
|
|
5013
|
-
isReseller: boolean;
|
|
5014
|
-
} | null | undefined;
|
|
5015
|
-
thumbnail?: string | null | undefined;
|
|
5016
|
-
billingInfos?: {
|
|
5017
|
-
_id?: string | null | undefined;
|
|
5018
|
-
name: string;
|
|
5019
|
-
address: {
|
|
5020
|
-
coordinates?: number[] | null | undefined;
|
|
5021
|
-
line2?: string | null | undefined;
|
|
5022
|
-
state: string;
|
|
5023
|
-
country: string;
|
|
5024
|
-
line1: string;
|
|
5025
|
-
city: string;
|
|
5026
|
-
postcode: string;
|
|
5027
|
-
};
|
|
5028
|
-
email: string;
|
|
5029
|
-
companyName: string;
|
|
5030
|
-
contact: string;
|
|
5031
|
-
}[] | null | undefined;
|
|
5032
|
-
customerDisplayImages?: {
|
|
5033
|
-
url: string;
|
|
5034
|
-
restaurantIds: string[];
|
|
5035
|
-
}[] | null | undefined;
|
|
5036
|
-
name: string;
|
|
5037
|
-
_id: string;
|
|
5038
|
-
ownerId: string;
|
|
5039
|
-
restaurantQuota: number;
|
|
5040
|
-
warehouseQuota: number;
|
|
5041
|
-
menuVersion: string;
|
|
5042
|
-
};
|
|
5043
|
-
businessId: string;
|
|
5044
|
-
profile: {
|
|
5045
|
-
code?: string | null | undefined;
|
|
5079
|
+
businessId: string;
|
|
5080
|
+
profile: {
|
|
5081
|
+
code?: string | null | undefined;
|
|
5046
5082
|
url?: string | null | undefined;
|
|
5047
5083
|
description?: string | null | undefined;
|
|
5048
5084
|
_id?: string | null | undefined;
|
|
@@ -5124,6 +5160,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5124
5160
|
channel?: string | null | undefined;
|
|
5125
5161
|
machineId?: string | null | undefined;
|
|
5126
5162
|
catalogId?: string | null | undefined;
|
|
5163
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
5127
5164
|
takeaway?: {
|
|
5128
5165
|
catalogId?: string | null | undefined;
|
|
5129
5166
|
} | null | undefined;
|
|
@@ -5258,6 +5295,73 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5258
5295
|
acceptQueue?: boolean | null | undefined;
|
|
5259
5296
|
anonymousOrder: boolean;
|
|
5260
5297
|
} | null | undefined;
|
|
5298
|
+
pf_business?: {
|
|
5299
|
+
internal?: boolean | null | undefined;
|
|
5300
|
+
url?: string | null | undefined;
|
|
5301
|
+
expiredAt?: string | null | undefined;
|
|
5302
|
+
agentId?: string | null | undefined;
|
|
5303
|
+
attributeSettings?: {
|
|
5304
|
+
type: "string" | "number" | "boolean" | "date";
|
|
5305
|
+
key: string;
|
|
5306
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5307
|
+
}[] | null | undefined;
|
|
5308
|
+
pf_agent?: {
|
|
5309
|
+
clickupId?: string | null | undefined;
|
|
5310
|
+
members?: {
|
|
5311
|
+
pf_user?: {
|
|
5312
|
+
email?: string | null | undefined;
|
|
5313
|
+
phoneNumber?: string | null | undefined;
|
|
5314
|
+
birthday?: string | null | undefined;
|
|
5315
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
5316
|
+
addresses?: {
|
|
5317
|
+
name: string;
|
|
5318
|
+
address: string;
|
|
5319
|
+
coordinates: number[];
|
|
5320
|
+
}[] | null | undefined;
|
|
5321
|
+
photoURL?: string | null | undefined;
|
|
5322
|
+
displayName?: string | null | undefined;
|
|
5323
|
+
imported?: {
|
|
5324
|
+
raw: Record<string, any>;
|
|
5325
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
5326
|
+
} | null | undefined;
|
|
5327
|
+
_id: string;
|
|
5328
|
+
} | null | undefined;
|
|
5329
|
+
role: "ADMIN";
|
|
5330
|
+
userId: string;
|
|
5331
|
+
}[] | null | undefined;
|
|
5332
|
+
code: string;
|
|
5333
|
+
name: string;
|
|
5334
|
+
_id: string;
|
|
5335
|
+
isReseller: boolean;
|
|
5336
|
+
} | null | undefined;
|
|
5337
|
+
thumbnail?: string | null | undefined;
|
|
5338
|
+
billingInfos?: {
|
|
5339
|
+
_id?: string | null | undefined;
|
|
5340
|
+
name: string;
|
|
5341
|
+
address: {
|
|
5342
|
+
coordinates?: number[] | null | undefined;
|
|
5343
|
+
line2?: string | null | undefined;
|
|
5344
|
+
state: string;
|
|
5345
|
+
country: string;
|
|
5346
|
+
line1: string;
|
|
5347
|
+
city: string;
|
|
5348
|
+
postcode: string;
|
|
5349
|
+
};
|
|
5350
|
+
email: string;
|
|
5351
|
+
companyName: string;
|
|
5352
|
+
contact: string;
|
|
5353
|
+
}[] | null | undefined;
|
|
5354
|
+
customerDisplayImages?: {
|
|
5355
|
+
url: string;
|
|
5356
|
+
restaurantIds: string[];
|
|
5357
|
+
}[] | null | undefined;
|
|
5358
|
+
name: string;
|
|
5359
|
+
_id: string;
|
|
5360
|
+
ownerId: string;
|
|
5361
|
+
restaurantQuota: number;
|
|
5362
|
+
warehouseQuota: number;
|
|
5363
|
+
menuVersion: string;
|
|
5364
|
+
} | null | undefined;
|
|
5261
5365
|
features?: string[] | null | undefined;
|
|
5262
5366
|
machineOtp?: string | null | undefined;
|
|
5263
5367
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -5352,68 +5456,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5352
5456
|
} | null | undefined;
|
|
5353
5457
|
_id: string;
|
|
5354
5458
|
expiredAt: string;
|
|
5355
|
-
pf_business: {
|
|
5356
|
-
internal?: boolean | null | undefined;
|
|
5357
|
-
url?: string | null | undefined;
|
|
5358
|
-
expiredAt?: string | null | undefined;
|
|
5359
|
-
agentId?: string | null | undefined;
|
|
5360
|
-
pf_agent?: {
|
|
5361
|
-
clickupId?: string | null | undefined;
|
|
5362
|
-
members?: {
|
|
5363
|
-
pf_user?: {
|
|
5364
|
-
email?: string | null | undefined;
|
|
5365
|
-
phoneNumber?: string | null | undefined;
|
|
5366
|
-
birthday?: string | null | undefined;
|
|
5367
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
5368
|
-
addresses?: {
|
|
5369
|
-
name: string;
|
|
5370
|
-
address: string;
|
|
5371
|
-
coordinates: number[];
|
|
5372
|
-
}[] | null | undefined;
|
|
5373
|
-
photoURL?: string | null | undefined;
|
|
5374
|
-
displayName?: string | null | undefined;
|
|
5375
|
-
imported?: {
|
|
5376
|
-
raw: Record<string, any>;
|
|
5377
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
5378
|
-
} | null | undefined;
|
|
5379
|
-
_id: string;
|
|
5380
|
-
} | null | undefined;
|
|
5381
|
-
role: "ADMIN";
|
|
5382
|
-
userId: string;
|
|
5383
|
-
}[] | null | undefined;
|
|
5384
|
-
code: string;
|
|
5385
|
-
name: string;
|
|
5386
|
-
_id: string;
|
|
5387
|
-
isReseller: boolean;
|
|
5388
|
-
} | null | undefined;
|
|
5389
|
-
thumbnail?: string | null | undefined;
|
|
5390
|
-
billingInfos?: {
|
|
5391
|
-
_id?: string | null | undefined;
|
|
5392
|
-
name: string;
|
|
5393
|
-
address: {
|
|
5394
|
-
coordinates?: number[] | null | undefined;
|
|
5395
|
-
line2?: string | null | undefined;
|
|
5396
|
-
state: string;
|
|
5397
|
-
country: string;
|
|
5398
|
-
line1: string;
|
|
5399
|
-
city: string;
|
|
5400
|
-
postcode: string;
|
|
5401
|
-
};
|
|
5402
|
-
email: string;
|
|
5403
|
-
companyName: string;
|
|
5404
|
-
contact: string;
|
|
5405
|
-
}[] | null | undefined;
|
|
5406
|
-
customerDisplayImages?: {
|
|
5407
|
-
url: string;
|
|
5408
|
-
restaurantIds: string[];
|
|
5409
|
-
}[] | null | undefined;
|
|
5410
|
-
name: string;
|
|
5411
|
-
_id: string;
|
|
5412
|
-
ownerId: string;
|
|
5413
|
-
restaurantQuota: number;
|
|
5414
|
-
warehouseQuota: number;
|
|
5415
|
-
menuVersion: string;
|
|
5416
|
-
};
|
|
5417
5459
|
businessId: string;
|
|
5418
5460
|
profile: {
|
|
5419
5461
|
code?: string | null | undefined;
|
|
@@ -5588,11 +5630,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5588
5630
|
price: number;
|
|
5589
5631
|
}[];
|
|
5590
5632
|
paymentType: "CASH" | "CASHLESS";
|
|
5633
|
+
orderTime: string;
|
|
5591
5634
|
merchantID: string;
|
|
5592
5635
|
orderID: string;
|
|
5593
5636
|
shortOrderNumber: string;
|
|
5594
5637
|
cutlery: boolean;
|
|
5595
|
-
orderTime: string;
|
|
5596
5638
|
featureFlags: {
|
|
5597
5639
|
isMexEditOrder?: boolean | null | undefined;
|
|
5598
5640
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
@@ -5604,6 +5646,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5604
5646
|
channel?: string | null | undefined;
|
|
5605
5647
|
machineId?: string | null | undefined;
|
|
5606
5648
|
catalogId?: string | null | undefined;
|
|
5649
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
5607
5650
|
takeaway?: {
|
|
5608
5651
|
catalogId?: string | null | undefined;
|
|
5609
5652
|
} | null | undefined;
|
|
@@ -5738,6 +5781,73 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5738
5781
|
acceptQueue?: boolean | null | undefined;
|
|
5739
5782
|
anonymousOrder: boolean;
|
|
5740
5783
|
} | null | undefined;
|
|
5784
|
+
pf_business?: {
|
|
5785
|
+
internal?: boolean | null | undefined;
|
|
5786
|
+
url?: string | null | undefined;
|
|
5787
|
+
expiredAt?: string | null | undefined;
|
|
5788
|
+
agentId?: string | null | undefined;
|
|
5789
|
+
attributeSettings?: {
|
|
5790
|
+
type: "string" | "number" | "boolean" | "date";
|
|
5791
|
+
key: string;
|
|
5792
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5793
|
+
}[] | null | undefined;
|
|
5794
|
+
pf_agent?: {
|
|
5795
|
+
clickupId?: string | null | undefined;
|
|
5796
|
+
members?: {
|
|
5797
|
+
pf_user?: {
|
|
5798
|
+
email?: string | null | undefined;
|
|
5799
|
+
phoneNumber?: string | null | undefined;
|
|
5800
|
+
birthday?: string | null | undefined;
|
|
5801
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
5802
|
+
addresses?: {
|
|
5803
|
+
name: string;
|
|
5804
|
+
address: string;
|
|
5805
|
+
coordinates: number[];
|
|
5806
|
+
}[] | null | undefined;
|
|
5807
|
+
photoURL?: string | null | undefined;
|
|
5808
|
+
displayName?: string | null | undefined;
|
|
5809
|
+
imported?: {
|
|
5810
|
+
raw: Record<string, any>;
|
|
5811
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
5812
|
+
} | null | undefined;
|
|
5813
|
+
_id: string;
|
|
5814
|
+
} | null | undefined;
|
|
5815
|
+
role: "ADMIN";
|
|
5816
|
+
userId: string;
|
|
5817
|
+
}[] | null | undefined;
|
|
5818
|
+
code: string;
|
|
5819
|
+
name: string;
|
|
5820
|
+
_id: string;
|
|
5821
|
+
isReseller: boolean;
|
|
5822
|
+
} | null | undefined;
|
|
5823
|
+
thumbnail?: string | null | undefined;
|
|
5824
|
+
billingInfos?: {
|
|
5825
|
+
_id?: string | null | undefined;
|
|
5826
|
+
name: string;
|
|
5827
|
+
address: {
|
|
5828
|
+
coordinates?: number[] | null | undefined;
|
|
5829
|
+
line2?: string | null | undefined;
|
|
5830
|
+
state: string;
|
|
5831
|
+
country: string;
|
|
5832
|
+
line1: string;
|
|
5833
|
+
city: string;
|
|
5834
|
+
postcode: string;
|
|
5835
|
+
};
|
|
5836
|
+
email: string;
|
|
5837
|
+
companyName: string;
|
|
5838
|
+
contact: string;
|
|
5839
|
+
}[] | null | undefined;
|
|
5840
|
+
customerDisplayImages?: {
|
|
5841
|
+
url: string;
|
|
5842
|
+
restaurantIds: string[];
|
|
5843
|
+
}[] | null | undefined;
|
|
5844
|
+
name: string;
|
|
5845
|
+
_id: string;
|
|
5846
|
+
ownerId: string;
|
|
5847
|
+
restaurantQuota: number;
|
|
5848
|
+
warehouseQuota: number;
|
|
5849
|
+
menuVersion: string;
|
|
5850
|
+
} | null | undefined;
|
|
5741
5851
|
features?: string[] | null | undefined;
|
|
5742
5852
|
machineOtp?: string | null | undefined;
|
|
5743
5853
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -5832,68 +5942,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5832
5942
|
} | null | undefined;
|
|
5833
5943
|
_id: string;
|
|
5834
5944
|
expiredAt: string;
|
|
5835
|
-
pf_business: {
|
|
5836
|
-
internal?: boolean | null | undefined;
|
|
5837
|
-
url?: string | null | undefined;
|
|
5838
|
-
expiredAt?: string | null | undefined;
|
|
5839
|
-
agentId?: string | null | undefined;
|
|
5840
|
-
pf_agent?: {
|
|
5841
|
-
clickupId?: string | null | undefined;
|
|
5842
|
-
members?: {
|
|
5843
|
-
pf_user?: {
|
|
5844
|
-
email?: string | null | undefined;
|
|
5845
|
-
phoneNumber?: string | null | undefined;
|
|
5846
|
-
birthday?: string | null | undefined;
|
|
5847
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
5848
|
-
addresses?: {
|
|
5849
|
-
name: string;
|
|
5850
|
-
address: string;
|
|
5851
|
-
coordinates: number[];
|
|
5852
|
-
}[] | null | undefined;
|
|
5853
|
-
photoURL?: string | null | undefined;
|
|
5854
|
-
displayName?: string | null | undefined;
|
|
5855
|
-
imported?: {
|
|
5856
|
-
raw: Record<string, any>;
|
|
5857
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
5858
|
-
} | null | undefined;
|
|
5859
|
-
_id: string;
|
|
5860
|
-
} | null | undefined;
|
|
5861
|
-
role: "ADMIN";
|
|
5862
|
-
userId: string;
|
|
5863
|
-
}[] | null | undefined;
|
|
5864
|
-
code: string;
|
|
5865
|
-
name: string;
|
|
5866
|
-
_id: string;
|
|
5867
|
-
isReseller: boolean;
|
|
5868
|
-
} | null | undefined;
|
|
5869
|
-
thumbnail?: string | null | undefined;
|
|
5870
|
-
billingInfos?: {
|
|
5871
|
-
_id?: string | null | undefined;
|
|
5872
|
-
name: string;
|
|
5873
|
-
address: {
|
|
5874
|
-
coordinates?: number[] | null | undefined;
|
|
5875
|
-
line2?: string | null | undefined;
|
|
5876
|
-
state: string;
|
|
5877
|
-
country: string;
|
|
5878
|
-
line1: string;
|
|
5879
|
-
city: string;
|
|
5880
|
-
postcode: string;
|
|
5881
|
-
};
|
|
5882
|
-
email: string;
|
|
5883
|
-
companyName: string;
|
|
5884
|
-
contact: string;
|
|
5885
|
-
}[] | null | undefined;
|
|
5886
|
-
customerDisplayImages?: {
|
|
5887
|
-
url: string;
|
|
5888
|
-
restaurantIds: string[];
|
|
5889
|
-
}[] | null | undefined;
|
|
5890
|
-
name: string;
|
|
5891
|
-
_id: string;
|
|
5892
|
-
ownerId: string;
|
|
5893
|
-
restaurantQuota: number;
|
|
5894
|
-
warehouseQuota: number;
|
|
5895
|
-
menuVersion: string;
|
|
5896
|
-
};
|
|
5897
5945
|
businessId: string;
|
|
5898
5946
|
profile: {
|
|
5899
5947
|
code?: string | null | undefined;
|
|
@@ -6068,11 +6116,11 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
6068
6116
|
price: number;
|
|
6069
6117
|
}[];
|
|
6070
6118
|
paymentType: "CASH" | "CASHLESS";
|
|
6119
|
+
orderTime: string;
|
|
6071
6120
|
merchantID: string;
|
|
6072
6121
|
orderID: string;
|
|
6073
6122
|
shortOrderNumber: string;
|
|
6074
6123
|
cutlery: boolean;
|
|
6075
|
-
orderTime: string;
|
|
6076
6124
|
featureFlags: {
|
|
6077
6125
|
isMexEditOrder?: boolean | null | undefined;
|
|
6078
6126
|
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|