@feedmepos/mf-order-setting 0.0.27 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/{KioskDevicesView-AKvyDF3w.js → KioskDevicesView-Dvr4RUmt.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js} +2 -2
  3. package/dist/{KioskSettingView-equ5EIvU.js → KioskSettingView-DaJz8ZZi.js} +1 -1
  4. package/dist/{KioskView-CsE7BGtA.js → KioskView-v8Yl4x4R.js} +4 -4
  5. package/dist/OrderSettingsView-CN1PFwX_.js +74545 -0
  6. package/dist/{app-D-zQN9_E.js → app-d1Lptg6A.js} +123 -30
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-CWQSmujV.js → dayjs.min-BLlPHZkl.js} +278 -267
  9. package/dist/frontend/mf-order/src/api/business/index.d.ts +5 -0
  10. package/dist/frontend/mf-order/src/api/effects/index.d.ts +3 -0
  11. package/dist/frontend/mf-order/src/api/index.d.ts +2 -0
  12. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +1 -0
  13. package/dist/frontend/mf-order/src/app.d.ts +93 -0
  14. package/dist/frontend/mf-order/src/main.d.ts +93 -0
  15. package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
  16. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +139 -125
  17. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
  18. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +54 -52
  19. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -0
  20. package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
  21. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  22. package/dist/{index-BwrMcIf2.js → index-Cg9kSeyn.js} +2 -2
  23. package/dist/package/entity/booking/booking.do.d.ts +596 -551
  24. package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
  25. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +342 -652
  26. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13778 -478
  27. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +731 -1227
  28. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
  29. package/dist/package/entity/index.d.ts +1 -0
  30. package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
  31. package/dist/package/entity/kiosk/kiosk.dto.d.ts +14 -14
  32. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1469 -621
  33. package/dist/package/entity/member/member.dto.d.ts +14 -7
  34. package/dist/package/entity/order/effects/effect.dto.d.ts +154 -6
  35. package/dist/package/entity/order/order-item/order-item.dto.d.ts +87 -34
  36. package/dist/package/entity/order/order.do.d.ts +177 -572
  37. package/dist/package/entity/order/order.dto.d.ts +902 -1412
  38. package/dist/package/entity/order/pickup/pickup.dto.d.ts +37 -0
  39. package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +8 -0
  40. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +8 -0
  41. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +22 -3
  42. package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +1 -1
  43. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +5 -0
  44. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +5 -0
  45. package/dist/package/entity/order-platform/external/zus/zus-menu.dto.d.ts +192 -0
  46. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +104 -0
  47. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +152 -109
  48. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
  49. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
  50. package/dist/package/entity/order-platform/foodpanda/foodpanda.enum.d.ts +2 -0
  51. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +139 -109
  52. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
  53. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +152 -2
  54. package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +2 -0
  55. package/dist/package/entity/order-platform/order-platform.dto.d.ts +6 -3
  56. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +164 -109
  57. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +22 -0
  58. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
  59. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
  60. package/dist/package/entity/queue/queue.dto.d.ts +11446 -93
  61. package/dist/package/entity/user/user.do.d.ts +129 -18
  62. package/dist/queue.do-zk6sqriQ.js +125612 -0
  63. package/package.json +4 -3
  64. package/src/api/business/index.ts +16 -0
  65. package/src/api/effects/index.ts +7 -0
  66. package/src/api/index.ts +9 -1
  67. package/src/api/remoteOrder/index.ts +3 -0
  68. package/src/locales/en-US.json +31 -1
  69. package/src/locales/th-TH.json +31 -1
  70. package/src/locales/zh-CN.json +34 -1
  71. package/src/stores/business/index.ts +45 -0
  72. package/src/stores/restaurant/index.ts +3 -1
  73. package/src/views/order-settings/OrderSettingsView.vue +17 -5
  74. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +38 -1
  75. package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +452 -0
  76. package/dist/OrderSettingsView-BpLXyk_0.js +0 -49013
  77. package/dist/queue.do-F110q0_J.js +0 -100389
@@ -777,6 +777,7 @@ export declare const GFOrder: z.ZodObject<{
777
777
  estimatedOrderReadyTime: string;
778
778
  maxOrderReadyTime: string;
779
779
  }>>>;
780
+ orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>>>;
780
781
  }, "strip", z.ZodTypeAny, {
781
782
  receiver?: {
782
783
  name?: string | null | undefined;
@@ -825,6 +826,7 @@ export declare const GFOrder: z.ZodObject<{
825
826
  estimatedOrderReadyTime: string;
826
827
  maxOrderReadyTime: string;
827
828
  } | null | undefined;
829
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
828
830
  price: {
829
831
  deliveryFee?: number | null | undefined;
830
832
  tax?: number | null | undefined;
@@ -925,6 +927,7 @@ export declare const GFOrder: z.ZodObject<{
925
927
  estimatedOrderReadyTime: string;
926
928
  maxOrderReadyTime: string;
927
929
  } | null | undefined;
930
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
928
931
  price: {
929
932
  deliveryFee?: number | null | undefined;
930
933
  tax?: number | null | undefined;
@@ -1340,6 +1343,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1340
1343
  estimatedOrderReadyTime: string;
1341
1344
  maxOrderReadyTime: string;
1342
1345
  }>>>;
1346
+ orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>>>;
1343
1347
  }, "strip", z.ZodTypeAny, {
1344
1348
  receiver?: {
1345
1349
  name?: string | null | undefined;
@@ -1388,6 +1392,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1388
1392
  estimatedOrderReadyTime: string;
1389
1393
  maxOrderReadyTime: string;
1390
1394
  } | null | undefined;
1395
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
1391
1396
  price: {
1392
1397
  deliveryFee?: number | null | undefined;
1393
1398
  tax?: number | null | undefined;
@@ -1488,6 +1493,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1488
1493
  estimatedOrderReadyTime: string;
1489
1494
  maxOrderReadyTime: string;
1490
1495
  } | null | undefined;
1496
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
1491
1497
  price: {
1492
1498
  deliveryFee?: number | null | undefined;
1493
1499
  tax?: number | null | undefined;
@@ -1541,7 +1547,10 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1541
1547
  orderAcceptedType: "MANUAL" | "AUTO";
1542
1548
  };
1543
1549
  }>;
1550
+ /** Applicable to pos v7 and above */
1551
+ billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1544
1552
  }, "strip", z.ZodTypeAny, {
1553
+ billId?: string | null | undefined;
1545
1554
  _id: string;
1546
1555
  orderStatus: {
1547
1556
  message: string;
@@ -1595,6 +1604,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1595
1604
  estimatedOrderReadyTime: string;
1596
1605
  maxOrderReadyTime: string;
1597
1606
  } | null | undefined;
1607
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
1598
1608
  price: {
1599
1609
  deliveryFee?: number | null | undefined;
1600
1610
  tax?: number | null | undefined;
@@ -1649,6 +1659,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1649
1659
  };
1650
1660
  };
1651
1661
  }, {
1662
+ billId?: string | null | undefined;
1652
1663
  _id: string;
1653
1664
  orderStatus: {
1654
1665
  message: string;
@@ -1702,6 +1713,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1702
1713
  estimatedOrderReadyTime: string;
1703
1714
  maxOrderReadyTime: string;
1704
1715
  } | null | undefined;
1716
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
1705
1717
  price: {
1706
1718
  deliveryFee?: number | null | undefined;
1707
1719
  tax?: number | null | undefined;
@@ -2118,6 +2130,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2118
2130
  estimatedOrderReadyTime: string;
2119
2131
  maxOrderReadyTime: string;
2120
2132
  }>>>;
2133
+ orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>>>;
2121
2134
  }, "strip", z.ZodTypeAny, {
2122
2135
  receiver?: {
2123
2136
  name?: string | null | undefined;
@@ -2166,6 +2179,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2166
2179
  estimatedOrderReadyTime: string;
2167
2180
  maxOrderReadyTime: string;
2168
2181
  } | null | undefined;
2182
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
2169
2183
  price: {
2170
2184
  deliveryFee?: number | null | undefined;
2171
2185
  tax?: number | null | undefined;
@@ -2266,6 +2280,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2266
2280
  estimatedOrderReadyTime: string;
2267
2281
  maxOrderReadyTime: string;
2268
2282
  } | null | undefined;
2283
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
2269
2284
  price: {
2270
2285
  deliveryFee?: number | null | undefined;
2271
2286
  tax?: number | null | undefined;
@@ -2319,6 +2334,8 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2319
2334
  orderAcceptedType: "MANUAL" | "AUTO";
2320
2335
  };
2321
2336
  }>;
2337
+ /** Applicable to pos v7 and above */
2338
+ billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2322
2339
  }, {
2323
2340
  pf_restaurant: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2324
2341
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -2337,15 +2354,18 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2337
2354
  attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2338
2355
  key: z.ZodString;
2339
2356
  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">]>;
2357
+ entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"group">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
2358
+ options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
2341
2359
  }, "strip", z.ZodTypeAny, {
2360
+ options?: any[] | null | undefined;
2342
2361
  type: "string" | "number" | "boolean" | "date";
2343
2362
  key: string;
2344
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
2363
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
2345
2364
  }, {
2365
+ options?: any[] | null | undefined;
2346
2366
  type: "string" | "number" | "boolean" | "date";
2347
2367
  key: string;
2348
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
2368
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
2349
2369
  }>, "many">>>;
2350
2370
  pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
2351
2371
  _id: z.ZodEffects<z.ZodString, string, string>;
@@ -2601,9 +2621,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2601
2621
  expiredAt?: string | null | undefined;
2602
2622
  agentId?: string | null | undefined;
2603
2623
  attributeSettings?: {
2624
+ options?: any[] | null | undefined;
2604
2625
  type: "string" | "number" | "boolean" | "date";
2605
2626
  key: string;
2606
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
2627
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
2607
2628
  }[] | null | undefined;
2608
2629
  pf_agent?: {
2609
2630
  clickupId?: string | null | undefined;
@@ -2667,9 +2688,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2667
2688
  expiredAt?: string | null | undefined;
2668
2689
  agentId?: string | null | undefined;
2669
2690
  attributeSettings?: {
2691
+ options?: any[] | null | undefined;
2670
2692
  type: "string" | "number" | "boolean" | "date";
2671
2693
  key: string;
2672
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
2694
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
2673
2695
  }[] | null | undefined;
2674
2696
  pf_agent?: {
2675
2697
  clickupId?: string | null | undefined;
@@ -4399,6 +4421,31 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4399
4421
  }>>>;
4400
4422
  customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4401
4423
  }, "strip", z.ZodTypeAny, {
4424
+ pickup?: {
4425
+ catalogId?: string | null | undefined;
4426
+ autoAccept?: boolean | null | undefined;
4427
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4428
+ offlinePaymentTypes?: {
4429
+ name: string;
4430
+ instruction: string;
4431
+ }[] | null | undefined;
4432
+ autoAcceptPaidOnly?: boolean | null | undefined;
4433
+ ignoreStock?: boolean | null | undefined;
4434
+ pickupTime?: {
4435
+ day: {
4436
+ max: number;
4437
+ min: number;
4438
+ };
4439
+ } | null | undefined;
4440
+ pickupPointConfig?: {
4441
+ restaurantEnable: boolean;
4442
+ points: {
4443
+ name: string;
4444
+ address: string;
4445
+ coordinates: number[];
4446
+ }[];
4447
+ } | null | undefined;
4448
+ } | null | undefined;
4402
4449
  channel?: string | null | undefined;
4403
4450
  machineId?: string | null | undefined;
4404
4451
  catalogId?: string | null | undefined;
@@ -4500,31 +4547,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4500
4547
  }[];
4501
4548
  term: string;
4502
4549
  } | null | undefined;
4503
- pickup?: {
4504
- catalogId?: string | null | undefined;
4505
- autoAccept?: boolean | null | undefined;
4506
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4507
- offlinePaymentTypes?: {
4508
- name: string;
4509
- instruction: string;
4510
- }[] | null | undefined;
4511
- autoAcceptPaidOnly?: boolean | null | undefined;
4512
- ignoreStock?: boolean | null | undefined;
4513
- pickupTime?: {
4514
- day: {
4515
- max: number;
4516
- min: number;
4517
- };
4518
- } | null | undefined;
4519
- pickupPointConfig?: {
4520
- restaurantEnable: boolean;
4521
- points: {
4522
- name: string;
4523
- address: string;
4524
- coordinates: number[];
4525
- }[];
4526
- } | null | undefined;
4527
- } | null | undefined;
4528
4550
  dineIn?: {
4529
4551
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4530
4552
  offlinePaymentTypes?: {
@@ -4543,9 +4565,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4543
4565
  expiredAt?: string | null | undefined;
4544
4566
  agentId?: string | null | undefined;
4545
4567
  attributeSettings?: {
4568
+ options?: any[] | null | undefined;
4546
4569
  type: "string" | "number" | "boolean" | "date";
4547
4570
  key: string;
4548
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
4571
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
4549
4572
  }[] | null | undefined;
4550
4573
  pf_agent?: {
4551
4574
  clickupId?: string | null | undefined;
@@ -4777,6 +4800,31 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4777
4800
  regNo: string;
4778
4801
  };
4779
4802
  }, {
4803
+ pickup?: {
4804
+ catalogId?: string | null | undefined;
4805
+ autoAccept?: boolean | null | undefined;
4806
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4807
+ offlinePaymentTypes?: {
4808
+ name: string;
4809
+ instruction: string;
4810
+ }[] | null | undefined;
4811
+ autoAcceptPaidOnly?: boolean | null | undefined;
4812
+ ignoreStock?: boolean | null | undefined;
4813
+ pickupTime?: {
4814
+ day: {
4815
+ max: number;
4816
+ min: number;
4817
+ };
4818
+ } | null | undefined;
4819
+ pickupPointConfig?: {
4820
+ restaurantEnable: boolean;
4821
+ points: {
4822
+ name: string;
4823
+ address: string;
4824
+ coordinates: number[];
4825
+ }[];
4826
+ } | null | undefined;
4827
+ } | null | undefined;
4780
4828
  channel?: string | null | undefined;
4781
4829
  machineId?: string | null | undefined;
4782
4830
  catalogId?: string | null | undefined;
@@ -4878,31 +4926,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4878
4926
  }[];
4879
4927
  term: string;
4880
4928
  } | null | undefined;
4881
- pickup?: {
4882
- catalogId?: string | null | undefined;
4883
- autoAccept?: boolean | null | undefined;
4884
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4885
- offlinePaymentTypes?: {
4886
- name: string;
4887
- instruction: string;
4888
- }[] | null | undefined;
4889
- autoAcceptPaidOnly?: boolean | null | undefined;
4890
- ignoreStock?: boolean | null | undefined;
4891
- pickupTime?: {
4892
- day: {
4893
- max: number;
4894
- min: number;
4895
- };
4896
- } | null | undefined;
4897
- pickupPointConfig?: {
4898
- restaurantEnable: boolean;
4899
- points: {
4900
- name: string;
4901
- address: string;
4902
- coordinates: number[];
4903
- }[];
4904
- } | null | undefined;
4905
- } | null | undefined;
4906
4929
  dineIn?: {
4907
4930
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
4908
4931
  offlinePaymentTypes?: {
@@ -4921,9 +4944,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
4921
4944
  expiredAt?: string | null | undefined;
4922
4945
  agentId?: string | null | undefined;
4923
4946
  attributeSettings?: {
4947
+ options?: any[] | null | undefined;
4924
4948
  type: "string" | "number" | "boolean" | "date";
4925
4949
  key: string;
4926
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
4950
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
4927
4951
  }[] | null | undefined;
4928
4952
  pf_agent?: {
4929
4953
  clickupId?: string | null | undefined;
@@ -5157,6 +5181,31 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5157
5181
  }>>>;
5158
5182
  }>, "strip", z.ZodTypeAny, {
5159
5183
  pf_restaurant?: {
5184
+ pickup?: {
5185
+ catalogId?: string | null | undefined;
5186
+ autoAccept?: boolean | null | undefined;
5187
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5188
+ offlinePaymentTypes?: {
5189
+ name: string;
5190
+ instruction: string;
5191
+ }[] | null | undefined;
5192
+ autoAcceptPaidOnly?: boolean | null | undefined;
5193
+ ignoreStock?: boolean | null | undefined;
5194
+ pickupTime?: {
5195
+ day: {
5196
+ max: number;
5197
+ min: number;
5198
+ };
5199
+ } | null | undefined;
5200
+ pickupPointConfig?: {
5201
+ restaurantEnable: boolean;
5202
+ points: {
5203
+ name: string;
5204
+ address: string;
5205
+ coordinates: number[];
5206
+ }[];
5207
+ } | null | undefined;
5208
+ } | null | undefined;
5160
5209
  channel?: string | null | undefined;
5161
5210
  machineId?: string | null | undefined;
5162
5211
  catalogId?: string | null | undefined;
@@ -5258,31 +5307,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5258
5307
  }[];
5259
5308
  term: string;
5260
5309
  } | null | undefined;
5261
- pickup?: {
5262
- catalogId?: string | null | undefined;
5263
- autoAccept?: boolean | null | undefined;
5264
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5265
- offlinePaymentTypes?: {
5266
- name: string;
5267
- instruction: string;
5268
- }[] | null | undefined;
5269
- autoAcceptPaidOnly?: boolean | null | undefined;
5270
- ignoreStock?: boolean | null | undefined;
5271
- pickupTime?: {
5272
- day: {
5273
- max: number;
5274
- min: number;
5275
- };
5276
- } | null | undefined;
5277
- pickupPointConfig?: {
5278
- restaurantEnable: boolean;
5279
- points: {
5280
- name: string;
5281
- address: string;
5282
- coordinates: number[];
5283
- }[];
5284
- } | null | undefined;
5285
- } | null | undefined;
5286
5310
  dineIn?: {
5287
5311
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5288
5312
  offlinePaymentTypes?: {
@@ -5301,9 +5325,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5301
5325
  expiredAt?: string | null | undefined;
5302
5326
  agentId?: string | null | undefined;
5303
5327
  attributeSettings?: {
5328
+ options?: any[] | null | undefined;
5304
5329
  type: "string" | "number" | "boolean" | "date";
5305
5330
  key: string;
5306
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
5331
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
5307
5332
  }[] | null | undefined;
5308
5333
  pf_agent?: {
5309
5334
  clickupId?: string | null | undefined;
@@ -5535,6 +5560,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5535
5560
  regNo: string;
5536
5561
  };
5537
5562
  } | null | undefined;
5563
+ billId?: string | null | undefined;
5538
5564
  _id: string;
5539
5565
  orderStatus: {
5540
5566
  message: string;
@@ -5588,6 +5614,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5588
5614
  estimatedOrderReadyTime: string;
5589
5615
  maxOrderReadyTime: string;
5590
5616
  } | null | undefined;
5617
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
5591
5618
  price: {
5592
5619
  deliveryFee?: number | null | undefined;
5593
5620
  tax?: number | null | undefined;
@@ -5643,6 +5670,31 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5643
5670
  };
5644
5671
  }, {
5645
5672
  pf_restaurant?: {
5673
+ pickup?: {
5674
+ catalogId?: string | null | undefined;
5675
+ autoAccept?: boolean | null | undefined;
5676
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5677
+ offlinePaymentTypes?: {
5678
+ name: string;
5679
+ instruction: string;
5680
+ }[] | null | undefined;
5681
+ autoAcceptPaidOnly?: boolean | null | undefined;
5682
+ ignoreStock?: boolean | null | undefined;
5683
+ pickupTime?: {
5684
+ day: {
5685
+ max: number;
5686
+ min: number;
5687
+ };
5688
+ } | null | undefined;
5689
+ pickupPointConfig?: {
5690
+ restaurantEnable: boolean;
5691
+ points: {
5692
+ name: string;
5693
+ address: string;
5694
+ coordinates: number[];
5695
+ }[];
5696
+ } | null | undefined;
5697
+ } | null | undefined;
5646
5698
  channel?: string | null | undefined;
5647
5699
  machineId?: string | null | undefined;
5648
5700
  catalogId?: string | null | undefined;
@@ -5744,31 +5796,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5744
5796
  }[];
5745
5797
  term: string;
5746
5798
  } | null | undefined;
5747
- pickup?: {
5748
- catalogId?: string | null | undefined;
5749
- autoAccept?: boolean | null | undefined;
5750
- paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5751
- offlinePaymentTypes?: {
5752
- name: string;
5753
- instruction: string;
5754
- }[] | null | undefined;
5755
- autoAcceptPaidOnly?: boolean | null | undefined;
5756
- ignoreStock?: boolean | null | undefined;
5757
- pickupTime?: {
5758
- day: {
5759
- max: number;
5760
- min: number;
5761
- };
5762
- } | null | undefined;
5763
- pickupPointConfig?: {
5764
- restaurantEnable: boolean;
5765
- points: {
5766
- name: string;
5767
- address: string;
5768
- coordinates: number[];
5769
- }[];
5770
- } | null | undefined;
5771
- } | null | undefined;
5772
5799
  dineIn?: {
5773
5800
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
5774
5801
  offlinePaymentTypes?: {
@@ -5787,9 +5814,10 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5787
5814
  expiredAt?: string | null | undefined;
5788
5815
  agentId?: string | null | undefined;
5789
5816
  attributeSettings?: {
5817
+ options?: any[] | null | undefined;
5790
5818
  type: "string" | "number" | "boolean" | "date";
5791
5819
  key: string;
5792
- entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
5820
+ entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
5793
5821
  }[] | null | undefined;
5794
5822
  pf_agent?: {
5795
5823
  clickupId?: string | null | undefined;
@@ -6021,6 +6049,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
6021
6049
  regNo: string;
6022
6050
  };
6023
6051
  } | null | undefined;
6052
+ billId?: string | null | undefined;
6024
6053
  _id: string;
6025
6054
  orderStatus: {
6026
6055
  message: string;
@@ -6074,6 +6103,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
6074
6103
  estimatedOrderReadyTime: string;
6075
6104
  maxOrderReadyTime: string;
6076
6105
  } | null | undefined;
6106
+ orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
6077
6107
  price: {
6078
6108
  deliveryFee?: number | null | undefined;
6079
6109
  tax?: number | null | undefined;
@@ -6,6 +6,7 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
6
6
  merchantID: z.ZodString;
7
7
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
8
  lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
+ printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
9
10
  commissionRate: z.ZodNumber;
10
11
  autoCloseBill: z.ZodBoolean;
11
12
  showProductAddon: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -16,6 +17,7 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
16
17
  status?: string | null | undefined;
17
18
  _id?: string | undefined;
18
19
  catalogId?: string | null | undefined;
20
+ printReceiptAfterClose?: boolean | null | undefined;
19
21
  lastSynchronize?: string | null | undefined;
20
22
  showProductAddon?: boolean | null | undefined;
21
23
  updatedAt?: string | null | undefined;
@@ -28,6 +30,7 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
28
30
  status?: string | null | undefined;
29
31
  _id?: string | undefined;
30
32
  catalogId?: string | null | undefined;
33
+ printReceiptAfterClose?: boolean | null | undefined;
31
34
  lastSynchronize?: string | null | undefined;
32
35
  showProductAddon?: boolean | null | undefined;
33
36
  updatedAt?: string | null | undefined;