@feedmepos/mf-order-setting 0.0.27 → 0.0.28
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-AKvyDF3w.js → KioskDevicesView-BgXkmJ7v.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js} +2 -2
- package/dist/{KioskSettingView-equ5EIvU.js → KioskSettingView-DyX3Wv_2.js} +1 -1
- package/dist/{KioskView-CsE7BGtA.js → KioskView-Bgff7QPc.js} +4 -4
- package/dist/OrderSettingsView-C63s4uCD.js +74334 -0
- package/dist/{app-D-zQN9_E.js → app-Dp79Gu_F.js} +97 -25
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CWQSmujV.js → dayjs.min-B2ZkfNUH.js} +278 -267
- package/dist/frontend/mf-order/src/api/business/index.d.ts +5 -0
- package/dist/frontend/mf-order/src/api/effects/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/api/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +72 -0
- package/dist/frontend/mf-order/src/main.d.ts +72 -0
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +138 -125
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +54 -52
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -0
- package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BwrMcIf2.js → index-DzQn92Tp.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +596 -551
- package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +342 -652
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13778 -478
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +728 -1227
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +14 -14
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1469 -621
- package/dist/package/entity/member/member.dto.d.ts +14 -7
- package/dist/package/entity/order/effects/effect.dto.d.ts +154 -6
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +87 -34
- package/dist/package/entity/order/order.do.d.ts +177 -572
- package/dist/package/entity/order/order.dto.d.ts +902 -1412
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +22 -3
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +5 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +5 -0
- package/dist/package/entity/order-platform/external/zus/zus-menu.dto.d.ts +192 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +104 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +152 -109
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +139 -109
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +112 -2
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +6 -3
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +164 -109
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +22 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
- package/dist/queue.do-BUtcyDk3.js +125578 -0
- package/package.json +4 -3
- package/src/api/business/index.ts +16 -0
- package/src/api/effects/index.ts +7 -0
- package/src/api/index.ts +9 -1
- package/src/locales/en-US.json +24 -1
- package/src/locales/th-TH.json +24 -1
- package/src/locales/zh-CN.json +27 -1
- package/src/stores/business/index.ts +45 -0
- package/src/stores/restaurant/index.ts +3 -1
- package/src/views/order-settings/OrderSettingsView.vue +17 -5
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +434 -0
- package/dist/OrderSettingsView-BpLXyk_0.js +0 -49013
- package/dist/queue.do-F110q0_J.js +0 -100389
|
@@ -101,13 +101,16 @@ export declare const SFOrderDish: z.ZodObject<{
|
|
|
101
101
|
name: z.ZodString;
|
|
102
102
|
unit_list_price: z.ZodNumber;
|
|
103
103
|
unit_price: z.ZodNumber;
|
|
104
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
104
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
105
107
|
name: string;
|
|
106
108
|
id: string;
|
|
107
109
|
external_id: string;
|
|
108
110
|
unit_list_price: number;
|
|
109
111
|
unit_price: number;
|
|
110
112
|
}, {
|
|
113
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
111
114
|
name: string;
|
|
112
115
|
id: string;
|
|
113
116
|
external_id: string;
|
|
@@ -178,13 +181,16 @@ export declare const SFItemDetail: z.ZodObject<{
|
|
|
178
181
|
name: z.ZodString;
|
|
179
182
|
unit_list_price: z.ZodNumber;
|
|
180
183
|
unit_price: z.ZodNumber;
|
|
184
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
181
185
|
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
182
187
|
name: string;
|
|
183
188
|
id: string;
|
|
184
189
|
external_id: string;
|
|
185
190
|
unit_list_price: number;
|
|
186
191
|
unit_price: number;
|
|
187
192
|
}, {
|
|
193
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
188
194
|
name: string;
|
|
189
195
|
id: string;
|
|
190
196
|
external_id: string;
|
|
@@ -245,6 +251,7 @@ export declare const SFItemDetail: z.ZodObject<{
|
|
|
245
251
|
external_id: string;
|
|
246
252
|
}[] | null | undefined;
|
|
247
253
|
dish: {
|
|
254
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
248
255
|
name: string;
|
|
249
256
|
id: string;
|
|
250
257
|
external_id: string;
|
|
@@ -264,6 +271,7 @@ export declare const SFItemDetail: z.ZodObject<{
|
|
|
264
271
|
external_id: string;
|
|
265
272
|
}[] | null | undefined;
|
|
266
273
|
dish: {
|
|
274
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
267
275
|
name: string;
|
|
268
276
|
id: string;
|
|
269
277
|
external_id: string;
|
|
@@ -279,13 +287,16 @@ export declare const SFOrderItem: z.ZodObject<{
|
|
|
279
287
|
name: z.ZodString;
|
|
280
288
|
unit_list_price: z.ZodNumber;
|
|
281
289
|
unit_price: z.ZodNumber;
|
|
290
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
282
291
|
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
283
293
|
name: string;
|
|
284
294
|
id: string;
|
|
285
295
|
external_id: string;
|
|
286
296
|
unit_list_price: number;
|
|
287
297
|
unit_price: number;
|
|
288
298
|
}, {
|
|
299
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
289
300
|
name: string;
|
|
290
301
|
id: string;
|
|
291
302
|
external_id: string;
|
|
@@ -346,6 +357,7 @@ export declare const SFOrderItem: z.ZodObject<{
|
|
|
346
357
|
external_id: string;
|
|
347
358
|
}[] | null | undefined;
|
|
348
359
|
dish: {
|
|
360
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
349
361
|
name: string;
|
|
350
362
|
id: string;
|
|
351
363
|
external_id: string;
|
|
@@ -365,6 +377,7 @@ export declare const SFOrderItem: z.ZodObject<{
|
|
|
365
377
|
external_id: string;
|
|
366
378
|
}[] | null | undefined;
|
|
367
379
|
dish: {
|
|
380
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
368
381
|
name: string;
|
|
369
382
|
id: string;
|
|
370
383
|
external_id: string;
|
|
@@ -396,6 +409,7 @@ export declare const SFOrderItem: z.ZodObject<{
|
|
|
396
409
|
external_id: string;
|
|
397
410
|
}[] | null | undefined;
|
|
398
411
|
dish: {
|
|
412
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
399
413
|
name: string;
|
|
400
414
|
id: string;
|
|
401
415
|
external_id: string;
|
|
@@ -422,6 +436,7 @@ export declare const SFOrderItem: z.ZodObject<{
|
|
|
422
436
|
external_id: string;
|
|
423
437
|
}[] | null | undefined;
|
|
424
438
|
dish: {
|
|
439
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
425
440
|
name: string;
|
|
426
441
|
id: string;
|
|
427
442
|
external_id: string;
|
|
@@ -553,13 +568,16 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
553
568
|
name: z.ZodString;
|
|
554
569
|
unit_list_price: z.ZodNumber;
|
|
555
570
|
unit_price: z.ZodNumber;
|
|
571
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
556
572
|
}, "strip", z.ZodTypeAny, {
|
|
573
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
557
574
|
name: string;
|
|
558
575
|
id: string;
|
|
559
576
|
external_id: string;
|
|
560
577
|
unit_list_price: number;
|
|
561
578
|
unit_price: number;
|
|
562
579
|
}, {
|
|
580
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
563
581
|
name: string;
|
|
564
582
|
id: string;
|
|
565
583
|
external_id: string;
|
|
@@ -620,6 +638,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
620
638
|
external_id: string;
|
|
621
639
|
}[] | null | undefined;
|
|
622
640
|
dish: {
|
|
641
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
623
642
|
name: string;
|
|
624
643
|
id: string;
|
|
625
644
|
external_id: string;
|
|
@@ -639,6 +658,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
639
658
|
external_id: string;
|
|
640
659
|
}[] | null | undefined;
|
|
641
660
|
dish: {
|
|
661
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
642
662
|
name: string;
|
|
643
663
|
id: string;
|
|
644
664
|
external_id: string;
|
|
@@ -670,6 +690,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
670
690
|
external_id: string;
|
|
671
691
|
}[] | null | undefined;
|
|
672
692
|
dish: {
|
|
693
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
673
694
|
name: string;
|
|
674
695
|
id: string;
|
|
675
696
|
external_id: string;
|
|
@@ -696,6 +717,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
696
717
|
external_id: string;
|
|
697
718
|
}[] | null | undefined;
|
|
698
719
|
dish: {
|
|
720
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
699
721
|
name: string;
|
|
700
722
|
id: string;
|
|
701
723
|
external_id: string;
|
|
@@ -803,6 +825,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
803
825
|
external_id: string;
|
|
804
826
|
}[] | null | undefined;
|
|
805
827
|
dish: {
|
|
828
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
806
829
|
name: string;
|
|
807
830
|
id: string;
|
|
808
831
|
external_id: string;
|
|
@@ -875,6 +898,7 @@ export declare const SFOrder: z.ZodObject<{
|
|
|
875
898
|
external_id: string;
|
|
876
899
|
}[] | null | undefined;
|
|
877
900
|
dish: {
|
|
901
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
878
902
|
name: string;
|
|
879
903
|
id: string;
|
|
880
904
|
external_id: string;
|
|
@@ -986,13 +1010,16 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
986
1010
|
name: z.ZodString;
|
|
987
1011
|
unit_list_price: z.ZodNumber;
|
|
988
1012
|
unit_price: z.ZodNumber;
|
|
1013
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
989
1014
|
}, "strip", z.ZodTypeAny, {
|
|
1015
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
990
1016
|
name: string;
|
|
991
1017
|
id: string;
|
|
992
1018
|
external_id: string;
|
|
993
1019
|
unit_list_price: number;
|
|
994
1020
|
unit_price: number;
|
|
995
1021
|
}, {
|
|
1022
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
996
1023
|
name: string;
|
|
997
1024
|
id: string;
|
|
998
1025
|
external_id: string;
|
|
@@ -1053,6 +1080,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1053
1080
|
external_id: string;
|
|
1054
1081
|
}[] | null | undefined;
|
|
1055
1082
|
dish: {
|
|
1083
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1056
1084
|
name: string;
|
|
1057
1085
|
id: string;
|
|
1058
1086
|
external_id: string;
|
|
@@ -1072,6 +1100,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1072
1100
|
external_id: string;
|
|
1073
1101
|
}[] | null | undefined;
|
|
1074
1102
|
dish: {
|
|
1103
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1075
1104
|
name: string;
|
|
1076
1105
|
id: string;
|
|
1077
1106
|
external_id: string;
|
|
@@ -1103,6 +1132,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1103
1132
|
external_id: string;
|
|
1104
1133
|
}[] | null | undefined;
|
|
1105
1134
|
dish: {
|
|
1135
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1106
1136
|
name: string;
|
|
1107
1137
|
id: string;
|
|
1108
1138
|
external_id: string;
|
|
@@ -1129,6 +1159,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1129
1159
|
external_id: string;
|
|
1130
1160
|
}[] | null | undefined;
|
|
1131
1161
|
dish: {
|
|
1162
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1132
1163
|
name: string;
|
|
1133
1164
|
id: string;
|
|
1134
1165
|
external_id: string;
|
|
@@ -1236,6 +1267,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1236
1267
|
external_id: string;
|
|
1237
1268
|
}[] | null | undefined;
|
|
1238
1269
|
dish: {
|
|
1270
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1239
1271
|
name: string;
|
|
1240
1272
|
id: string;
|
|
1241
1273
|
external_id: string;
|
|
@@ -1308,6 +1340,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1308
1340
|
external_id: string;
|
|
1309
1341
|
}[] | null | undefined;
|
|
1310
1342
|
dish: {
|
|
1343
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1311
1344
|
name: string;
|
|
1312
1345
|
id: string;
|
|
1313
1346
|
external_id: string;
|
|
@@ -1387,6 +1420,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1387
1420
|
external_id: string;
|
|
1388
1421
|
}[] | null | undefined;
|
|
1389
1422
|
dish: {
|
|
1423
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1390
1424
|
name: string;
|
|
1391
1425
|
id: string;
|
|
1392
1426
|
external_id: string;
|
|
@@ -1466,6 +1500,7 @@ export declare const FdoShopeeFoodOrder: z.ZodObject<{
|
|
|
1466
1500
|
external_id: string;
|
|
1467
1501
|
}[] | null | undefined;
|
|
1468
1502
|
dish: {
|
|
1503
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1469
1504
|
name: string;
|
|
1470
1505
|
id: string;
|
|
1471
1506
|
external_id: string;
|
|
@@ -1578,13 +1613,16 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1578
1613
|
name: z.ZodString;
|
|
1579
1614
|
unit_list_price: z.ZodNumber;
|
|
1580
1615
|
unit_price: z.ZodNumber;
|
|
1616
|
+
merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1581
1617
|
}, "strip", z.ZodTypeAny, {
|
|
1618
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1582
1619
|
name: string;
|
|
1583
1620
|
id: string;
|
|
1584
1621
|
external_id: string;
|
|
1585
1622
|
unit_list_price: number;
|
|
1586
1623
|
unit_price: number;
|
|
1587
1624
|
}, {
|
|
1625
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1588
1626
|
name: string;
|
|
1589
1627
|
id: string;
|
|
1590
1628
|
external_id: string;
|
|
@@ -1645,6 +1683,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1645
1683
|
external_id: string;
|
|
1646
1684
|
}[] | null | undefined;
|
|
1647
1685
|
dish: {
|
|
1686
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1648
1687
|
name: string;
|
|
1649
1688
|
id: string;
|
|
1650
1689
|
external_id: string;
|
|
@@ -1664,6 +1703,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1664
1703
|
external_id: string;
|
|
1665
1704
|
}[] | null | undefined;
|
|
1666
1705
|
dish: {
|
|
1706
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1667
1707
|
name: string;
|
|
1668
1708
|
id: string;
|
|
1669
1709
|
external_id: string;
|
|
@@ -1695,6 +1735,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1695
1735
|
external_id: string;
|
|
1696
1736
|
}[] | null | undefined;
|
|
1697
1737
|
dish: {
|
|
1738
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1698
1739
|
name: string;
|
|
1699
1740
|
id: string;
|
|
1700
1741
|
external_id: string;
|
|
@@ -1721,6 +1762,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1721
1762
|
external_id: string;
|
|
1722
1763
|
}[] | null | undefined;
|
|
1723
1764
|
dish: {
|
|
1765
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1724
1766
|
name: string;
|
|
1725
1767
|
id: string;
|
|
1726
1768
|
external_id: string;
|
|
@@ -1828,6 +1870,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1828
1870
|
external_id: string;
|
|
1829
1871
|
}[] | null | undefined;
|
|
1830
1872
|
dish: {
|
|
1873
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1831
1874
|
name: string;
|
|
1832
1875
|
id: string;
|
|
1833
1876
|
external_id: string;
|
|
@@ -1900,6 +1943,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1900
1943
|
external_id: string;
|
|
1901
1944
|
}[] | null | undefined;
|
|
1902
1945
|
dish: {
|
|
1946
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
1903
1947
|
name: string;
|
|
1904
1948
|
id: string;
|
|
1905
1949
|
external_id: string;
|
|
@@ -1932,15 +1976,18 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1932
1976
|
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1933
1977
|
key: z.ZodString;
|
|
1934
1978
|
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
1935
|
-
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
1979
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"group">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
1980
|
+
options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
1936
1981
|
}, "strip", z.ZodTypeAny, {
|
|
1982
|
+
options?: any[] | null | undefined;
|
|
1937
1983
|
type: "string" | "number" | "boolean" | "date";
|
|
1938
1984
|
key: string;
|
|
1939
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1985
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1940
1986
|
}, {
|
|
1987
|
+
options?: any[] | null | undefined;
|
|
1941
1988
|
type: "string" | "number" | "boolean" | "date";
|
|
1942
1989
|
key: string;
|
|
1943
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1990
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1944
1991
|
}>, "many">>>;
|
|
1945
1992
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
1946
1993
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2196,9 +2243,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2196
2243
|
expiredAt?: string | null | undefined;
|
|
2197
2244
|
agentId?: string | null | undefined;
|
|
2198
2245
|
attributeSettings?: {
|
|
2246
|
+
options?: any[] | null | undefined;
|
|
2199
2247
|
type: "string" | "number" | "boolean" | "date";
|
|
2200
2248
|
key: string;
|
|
2201
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2249
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2202
2250
|
}[] | null | undefined;
|
|
2203
2251
|
pf_agent?: {
|
|
2204
2252
|
clickupId?: string | null | undefined;
|
|
@@ -2262,9 +2310,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2262
2310
|
expiredAt?: string | null | undefined;
|
|
2263
2311
|
agentId?: string | null | undefined;
|
|
2264
2312
|
attributeSettings?: {
|
|
2313
|
+
options?: any[] | null | undefined;
|
|
2265
2314
|
type: "string" | "number" | "boolean" | "date";
|
|
2266
2315
|
key: string;
|
|
2267
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2316
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2268
2317
|
}[] | null | undefined;
|
|
2269
2318
|
pf_agent?: {
|
|
2270
2319
|
clickupId?: string | null | undefined;
|
|
@@ -3994,6 +4043,31 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3994
4043
|
}>>>;
|
|
3995
4044
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3996
4045
|
}, "strip", z.ZodTypeAny, {
|
|
4046
|
+
pickup?: {
|
|
4047
|
+
catalogId?: string | null | undefined;
|
|
4048
|
+
autoAccept?: boolean | null | undefined;
|
|
4049
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4050
|
+
offlinePaymentTypes?: {
|
|
4051
|
+
name: string;
|
|
4052
|
+
instruction: string;
|
|
4053
|
+
}[] | null | undefined;
|
|
4054
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4055
|
+
ignoreStock?: boolean | null | undefined;
|
|
4056
|
+
pickupTime?: {
|
|
4057
|
+
day: {
|
|
4058
|
+
max: number;
|
|
4059
|
+
min: number;
|
|
4060
|
+
};
|
|
4061
|
+
} | null | undefined;
|
|
4062
|
+
pickupPointConfig?: {
|
|
4063
|
+
restaurantEnable: boolean;
|
|
4064
|
+
points: {
|
|
4065
|
+
name: string;
|
|
4066
|
+
address: string;
|
|
4067
|
+
coordinates: number[];
|
|
4068
|
+
}[];
|
|
4069
|
+
} | null | undefined;
|
|
4070
|
+
} | null | undefined;
|
|
3997
4071
|
channel?: string | null | undefined;
|
|
3998
4072
|
machineId?: string | null | undefined;
|
|
3999
4073
|
catalogId?: string | null | undefined;
|
|
@@ -4095,31 +4169,6 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4095
4169
|
}[];
|
|
4096
4170
|
term: string;
|
|
4097
4171
|
} | null | undefined;
|
|
4098
|
-
pickup?: {
|
|
4099
|
-
catalogId?: string | null | undefined;
|
|
4100
|
-
autoAccept?: boolean | null | undefined;
|
|
4101
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4102
|
-
offlinePaymentTypes?: {
|
|
4103
|
-
name: string;
|
|
4104
|
-
instruction: string;
|
|
4105
|
-
}[] | null | undefined;
|
|
4106
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4107
|
-
ignoreStock?: boolean | null | undefined;
|
|
4108
|
-
pickupTime?: {
|
|
4109
|
-
day: {
|
|
4110
|
-
max: number;
|
|
4111
|
-
min: number;
|
|
4112
|
-
};
|
|
4113
|
-
} | null | undefined;
|
|
4114
|
-
pickupPointConfig?: {
|
|
4115
|
-
restaurantEnable: boolean;
|
|
4116
|
-
points: {
|
|
4117
|
-
name: string;
|
|
4118
|
-
address: string;
|
|
4119
|
-
coordinates: number[];
|
|
4120
|
-
}[];
|
|
4121
|
-
} | null | undefined;
|
|
4122
|
-
} | null | undefined;
|
|
4123
4172
|
dineIn?: {
|
|
4124
4173
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4125
4174
|
offlinePaymentTypes?: {
|
|
@@ -4138,9 +4187,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4138
4187
|
expiredAt?: string | null | undefined;
|
|
4139
4188
|
agentId?: string | null | undefined;
|
|
4140
4189
|
attributeSettings?: {
|
|
4190
|
+
options?: any[] | null | undefined;
|
|
4141
4191
|
type: "string" | "number" | "boolean" | "date";
|
|
4142
4192
|
key: string;
|
|
4143
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4193
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4144
4194
|
}[] | null | undefined;
|
|
4145
4195
|
pf_agent?: {
|
|
4146
4196
|
clickupId?: string | null | undefined;
|
|
@@ -4372,6 +4422,31 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4372
4422
|
regNo: string;
|
|
4373
4423
|
};
|
|
4374
4424
|
}, {
|
|
4425
|
+
pickup?: {
|
|
4426
|
+
catalogId?: string | null | undefined;
|
|
4427
|
+
autoAccept?: boolean | null | undefined;
|
|
4428
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4429
|
+
offlinePaymentTypes?: {
|
|
4430
|
+
name: string;
|
|
4431
|
+
instruction: string;
|
|
4432
|
+
}[] | null | undefined;
|
|
4433
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4434
|
+
ignoreStock?: boolean | null | undefined;
|
|
4435
|
+
pickupTime?: {
|
|
4436
|
+
day: {
|
|
4437
|
+
max: number;
|
|
4438
|
+
min: number;
|
|
4439
|
+
};
|
|
4440
|
+
} | null | undefined;
|
|
4441
|
+
pickupPointConfig?: {
|
|
4442
|
+
restaurantEnable: boolean;
|
|
4443
|
+
points: {
|
|
4444
|
+
name: string;
|
|
4445
|
+
address: string;
|
|
4446
|
+
coordinates: number[];
|
|
4447
|
+
}[];
|
|
4448
|
+
} | null | undefined;
|
|
4449
|
+
} | null | undefined;
|
|
4375
4450
|
channel?: string | null | undefined;
|
|
4376
4451
|
machineId?: string | null | undefined;
|
|
4377
4452
|
catalogId?: string | null | undefined;
|
|
@@ -4473,31 +4548,6 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4473
4548
|
}[];
|
|
4474
4549
|
term: string;
|
|
4475
4550
|
} | null | undefined;
|
|
4476
|
-
pickup?: {
|
|
4477
|
-
catalogId?: string | null | undefined;
|
|
4478
|
-
autoAccept?: boolean | null | undefined;
|
|
4479
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4480
|
-
offlinePaymentTypes?: {
|
|
4481
|
-
name: string;
|
|
4482
|
-
instruction: string;
|
|
4483
|
-
}[] | null | undefined;
|
|
4484
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4485
|
-
ignoreStock?: boolean | null | undefined;
|
|
4486
|
-
pickupTime?: {
|
|
4487
|
-
day: {
|
|
4488
|
-
max: number;
|
|
4489
|
-
min: number;
|
|
4490
|
-
};
|
|
4491
|
-
} | null | undefined;
|
|
4492
|
-
pickupPointConfig?: {
|
|
4493
|
-
restaurantEnable: boolean;
|
|
4494
|
-
points: {
|
|
4495
|
-
name: string;
|
|
4496
|
-
address: string;
|
|
4497
|
-
coordinates: number[];
|
|
4498
|
-
}[];
|
|
4499
|
-
} | null | undefined;
|
|
4500
|
-
} | null | undefined;
|
|
4501
4551
|
dineIn?: {
|
|
4502
4552
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4503
4553
|
offlinePaymentTypes?: {
|
|
@@ -4516,9 +4566,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4516
4566
|
expiredAt?: string | null | undefined;
|
|
4517
4567
|
agentId?: string | null | undefined;
|
|
4518
4568
|
attributeSettings?: {
|
|
4569
|
+
options?: any[] | null | undefined;
|
|
4519
4570
|
type: "string" | "number" | "boolean" | "date";
|
|
4520
4571
|
key: string;
|
|
4521
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4572
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4522
4573
|
}[] | null | undefined;
|
|
4523
4574
|
pf_agent?: {
|
|
4524
4575
|
clickupId?: string | null | undefined;
|
|
@@ -4752,6 +4803,31 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4752
4803
|
}>>>;
|
|
4753
4804
|
}>, "strip", z.ZodTypeAny, {
|
|
4754
4805
|
pf_restaurant?: {
|
|
4806
|
+
pickup?: {
|
|
4807
|
+
catalogId?: string | null | undefined;
|
|
4808
|
+
autoAccept?: boolean | null | undefined;
|
|
4809
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4810
|
+
offlinePaymentTypes?: {
|
|
4811
|
+
name: string;
|
|
4812
|
+
instruction: string;
|
|
4813
|
+
}[] | null | undefined;
|
|
4814
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4815
|
+
ignoreStock?: boolean | null | undefined;
|
|
4816
|
+
pickupTime?: {
|
|
4817
|
+
day: {
|
|
4818
|
+
max: number;
|
|
4819
|
+
min: number;
|
|
4820
|
+
};
|
|
4821
|
+
} | null | undefined;
|
|
4822
|
+
pickupPointConfig?: {
|
|
4823
|
+
restaurantEnable: boolean;
|
|
4824
|
+
points: {
|
|
4825
|
+
name: string;
|
|
4826
|
+
address: string;
|
|
4827
|
+
coordinates: number[];
|
|
4828
|
+
}[];
|
|
4829
|
+
} | null | undefined;
|
|
4830
|
+
} | null | undefined;
|
|
4755
4831
|
channel?: string | null | undefined;
|
|
4756
4832
|
machineId?: string | null | undefined;
|
|
4757
4833
|
catalogId?: string | null | undefined;
|
|
@@ -4853,31 +4929,6 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4853
4929
|
}[];
|
|
4854
4930
|
term: string;
|
|
4855
4931
|
} | null | undefined;
|
|
4856
|
-
pickup?: {
|
|
4857
|
-
catalogId?: string | null | undefined;
|
|
4858
|
-
autoAccept?: boolean | null | undefined;
|
|
4859
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4860
|
-
offlinePaymentTypes?: {
|
|
4861
|
-
name: string;
|
|
4862
|
-
instruction: string;
|
|
4863
|
-
}[] | null | undefined;
|
|
4864
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4865
|
-
ignoreStock?: boolean | null | undefined;
|
|
4866
|
-
pickupTime?: {
|
|
4867
|
-
day: {
|
|
4868
|
-
max: number;
|
|
4869
|
-
min: number;
|
|
4870
|
-
};
|
|
4871
|
-
} | null | undefined;
|
|
4872
|
-
pickupPointConfig?: {
|
|
4873
|
-
restaurantEnable: boolean;
|
|
4874
|
-
points: {
|
|
4875
|
-
name: string;
|
|
4876
|
-
address: string;
|
|
4877
|
-
coordinates: number[];
|
|
4878
|
-
}[];
|
|
4879
|
-
} | null | undefined;
|
|
4880
|
-
} | null | undefined;
|
|
4881
4932
|
dineIn?: {
|
|
4882
4933
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4883
4934
|
offlinePaymentTypes?: {
|
|
@@ -4896,9 +4947,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4896
4947
|
expiredAt?: string | null | undefined;
|
|
4897
4948
|
agentId?: string | null | undefined;
|
|
4898
4949
|
attributeSettings?: {
|
|
4950
|
+
options?: any[] | null | undefined;
|
|
4899
4951
|
type: "string" | "number" | "boolean" | "date";
|
|
4900
4952
|
key: string;
|
|
4901
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4953
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4902
4954
|
}[] | null | undefined;
|
|
4903
4955
|
pf_agent?: {
|
|
4904
4956
|
clickupId?: string | null | undefined;
|
|
@@ -5194,6 +5246,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5194
5246
|
external_id: string;
|
|
5195
5247
|
}[] | null | undefined;
|
|
5196
5248
|
dish: {
|
|
5249
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
5197
5250
|
name: string;
|
|
5198
5251
|
id: string;
|
|
5199
5252
|
external_id: string;
|
|
@@ -5210,6 +5263,31 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5210
5263
|
};
|
|
5211
5264
|
}, {
|
|
5212
5265
|
pf_restaurant?: {
|
|
5266
|
+
pickup?: {
|
|
5267
|
+
catalogId?: string | null | undefined;
|
|
5268
|
+
autoAccept?: boolean | null | undefined;
|
|
5269
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
5270
|
+
offlinePaymentTypes?: {
|
|
5271
|
+
name: string;
|
|
5272
|
+
instruction: string;
|
|
5273
|
+
}[] | null | undefined;
|
|
5274
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
5275
|
+
ignoreStock?: boolean | null | undefined;
|
|
5276
|
+
pickupTime?: {
|
|
5277
|
+
day: {
|
|
5278
|
+
max: number;
|
|
5279
|
+
min: number;
|
|
5280
|
+
};
|
|
5281
|
+
} | null | undefined;
|
|
5282
|
+
pickupPointConfig?: {
|
|
5283
|
+
restaurantEnable: boolean;
|
|
5284
|
+
points: {
|
|
5285
|
+
name: string;
|
|
5286
|
+
address: string;
|
|
5287
|
+
coordinates: number[];
|
|
5288
|
+
}[];
|
|
5289
|
+
} | null | undefined;
|
|
5290
|
+
} | null | undefined;
|
|
5213
5291
|
channel?: string | null | undefined;
|
|
5214
5292
|
machineId?: string | null | undefined;
|
|
5215
5293
|
catalogId?: string | null | undefined;
|
|
@@ -5311,31 +5389,6 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5311
5389
|
}[];
|
|
5312
5390
|
term: string;
|
|
5313
5391
|
} | null | undefined;
|
|
5314
|
-
pickup?: {
|
|
5315
|
-
catalogId?: string | null | undefined;
|
|
5316
|
-
autoAccept?: boolean | null | undefined;
|
|
5317
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
5318
|
-
offlinePaymentTypes?: {
|
|
5319
|
-
name: string;
|
|
5320
|
-
instruction: string;
|
|
5321
|
-
}[] | null | undefined;
|
|
5322
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
5323
|
-
ignoreStock?: boolean | null | undefined;
|
|
5324
|
-
pickupTime?: {
|
|
5325
|
-
day: {
|
|
5326
|
-
max: number;
|
|
5327
|
-
min: number;
|
|
5328
|
-
};
|
|
5329
|
-
} | null | undefined;
|
|
5330
|
-
pickupPointConfig?: {
|
|
5331
|
-
restaurantEnable: boolean;
|
|
5332
|
-
points: {
|
|
5333
|
-
name: string;
|
|
5334
|
-
address: string;
|
|
5335
|
-
coordinates: number[];
|
|
5336
|
-
}[];
|
|
5337
|
-
} | null | undefined;
|
|
5338
|
-
} | null | undefined;
|
|
5339
5392
|
dineIn?: {
|
|
5340
5393
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
5341
5394
|
offlinePaymentTypes?: {
|
|
@@ -5354,9 +5407,10 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5354
5407
|
expiredAt?: string | null | undefined;
|
|
5355
5408
|
agentId?: string | null | undefined;
|
|
5356
5409
|
attributeSettings?: {
|
|
5410
|
+
options?: any[] | null | undefined;
|
|
5357
5411
|
type: "string" | "number" | "boolean" | "date";
|
|
5358
5412
|
key: string;
|
|
5359
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5413
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
5360
5414
|
}[] | null | undefined;
|
|
5361
5415
|
pf_agent?: {
|
|
5362
5416
|
clickupId?: string | null | undefined;
|
|
@@ -5652,6 +5706,7 @@ export declare const FdoShopeeFoodOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
5652
5706
|
external_id: string;
|
|
5653
5707
|
}[] | null | undefined;
|
|
5654
5708
|
dish: {
|
|
5709
|
+
merchant_item_subsidy_amount?: number | null | undefined;
|
|
5655
5710
|
name: string;
|
|
5656
5711
|
id: string;
|
|
5657
5712
|
external_id: string;
|