@feedmepos/mf-order-setting 0.0.21-beta.1 → 0.0.21-beta.2

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 (133) hide show
  1. package/dist/{KioskDevicesView-snR43qzG.js → KioskDevicesView-TgyDh8aI.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DkpYway-.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CiYEoMoW.js} +45 -44
  3. package/dist/KioskSettingView-fbOxH9m8.js +649 -0
  4. package/dist/KioskView-C0Vn5S89.js +334 -0
  5. package/dist/OrderSettingsView-mYvRn7u9.js +70872 -0
  6. package/dist/app-A306cfER.js +644 -0
  7. package/dist/app.js +4 -505
  8. package/dist/auth.dto-C5PLip9a.js +121625 -0
  9. package/dist/dayjs.min-CLR5r0qf.js +2110 -0
  10. package/dist/frontend/mf-order/src/app.d.ts +440 -410
  11. package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +1 -1
  12. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +18 -0
  13. package/dist/frontend/mf-order/src/stores/app/index.d.ts +4 -14
  14. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +2 -2
  15. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +2 -2
  16. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +35 -30
  17. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +242 -2
  18. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +2 -1
  19. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +750 -614
  20. package/dist/frontend/mf-order/src/views/all-orders/ActionMenuCell.vue.d.ts +1 -1
  21. package/dist/frontend/mf-order/src/views/all-orders/FilterStatus.vue.d.ts +1 -1
  22. package/dist/frontend/mf-order/src/views/all-orders/FilterStatusMenu.vue.d.ts +1 -1
  23. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +175 -141
  24. package/dist/frontend/mf-order/src/views/all-orders/UpdateDeliveryOrderDialog.vue.d.ts +1 -1
  25. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskUnbindConfirm.vue.d.ts +1 -1
  26. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDineInSection.vue.d.ts +2 -4
  27. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +1 -1
  28. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskMenuItemSection.vue.d.ts +9 -0
  29. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +93 -0
  30. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +1 -1
  31. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +1 -1
  32. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskTakeawaySection.vue.d.ts +2 -4
  33. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliveryList.vue.d.ts +1 -1
  34. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +1 -1
  35. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +1 -1
  36. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/CurrencyInput.vue.d.ts +1 -1
  37. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryCustomTime.vue.d.ts +1 -1
  38. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryOrder.vue.d.ts +35 -3
  39. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryTime.vue.d.ts +1 -1
  40. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +1 -1
  41. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/TimePicker.vue.d.ts +1 -1
  42. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/ZoneDialog.vue.d.ts +1 -1
  43. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue.d.ts +1 -1
  44. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaCampaignDialog.vue.d.ts +1 -1
  45. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue.d.ts +1 -1
  46. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
  47. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +1 -1
  48. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +1 -1
  49. package/dist/frontend/mf-order/src/views/order-settings/{dinein → dine-in}/OfflinePaymentTypeDialog.vue.d.ts +1 -1
  50. package/dist/frontend/mf-order/src/views/order-settings/{dinein → dine-in}/OfflinePaymentTypeDialogContent.vue.d.ts +1 -1
  51. package/dist/frontend/mf-order/src/views/order-settings/{dinein → dine-in}/PaymentType.vue.d.ts +1 -1
  52. package/dist/frontend/mf-order/src/views/order-settings/pickup/AddressInput.vue.d.ts +1 -1
  53. package/dist/frontend/mf-order/src/views/order-settings/pickup/CustomPayment.vue.d.ts +1 -1
  54. package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +1 -1
  55. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +1 -1
  56. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialogContent.vue.d.ts +35 -3
  57. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialog.vue.d.ts +1 -1
  58. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +1 -1
  59. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickupList.vue.d.ts +1 -1
  60. package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +1 -1
  61. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +1 -1
  62. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +1 -1
  63. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  64. package/dist/{index-BghBxhGG.js → index-BJuGDir8.js} +25 -24
  65. package/dist/index-DSCb3ndM.js +150 -0
  66. package/dist/package/entity/booking/booking.do.d.ts +95 -1025
  67. package/dist/package/entity/delivery/delivery.dto.d.ts +78 -264
  68. package/dist/package/entity/delivery/gateway/kosmo.dto.d.ts +2 -2
  69. package/dist/package/entity/food-court/food-court.dto.d.ts +51 -0
  70. package/dist/package/entity/food-court/order.dto.d.ts +2528 -6
  71. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +1377 -255
  72. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +632 -129
  73. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +1272 -244
  74. package/dist/package/entity/kiosk/kiosk.do.d.ts +14 -14
  75. package/dist/package/entity/kiosk/kiosk.dto.d.ts +17 -17
  76. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +105 -883
  77. package/dist/package/entity/kiosk/scanner/scanner.do.d.ts +9 -9
  78. package/dist/package/entity/kiosk/scanner/scanner.dto.d.ts +9 -9
  79. package/dist/package/entity/kiosk/scanner/scanner.enum.d.ts +1 -1
  80. package/dist/package/entity/member/member.dto.d.ts +2 -2
  81. package/dist/package/entity/order/effects/effect.dto.d.ts +6 -6
  82. package/dist/package/entity/order/manager/manager.dto.d.ts +8 -8
  83. package/dist/package/entity/order/order-item/order-item.dto.d.ts +3986 -0
  84. package/dist/package/entity/order/order.do.d.ts +951 -5
  85. package/dist/package/entity/order/order.dto.d.ts +63375 -23687
  86. package/dist/package/entity/order/order.enum.d.ts +5 -1
  87. package/dist/package/entity/order/payment/payment.dto.d.ts +9631 -138
  88. package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +54 -54
  89. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +72 -72
  90. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +55 -241
  91. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +29 -215
  92. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +40 -40
  93. package/dist/package/entity/order-platform/menu.dto.d.ts +88 -88
  94. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +19 -205
  95. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +259 -0
  96. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +266 -0
  97. package/dist/package/entity/order-setting/order-setting.do.d.ts +172 -0
  98. package/dist/package/entity/order-setting/order-setting.dto.d.ts +344 -0
  99. package/dist/package/entity/payment/payment.dto.d.ts +13 -13
  100. package/dist/package/entity/queue/queue.do.d.ts +80 -80
  101. package/dist/package/entity/queue/queue.dto.d.ts +7 -0
  102. package/dist/package/entity/restaurant/restaurant.dto.d.ts +226 -113
  103. package/dist/package/entity/websocket/websocket.dto.d.ts +384 -0
  104. package/package.json +17 -17
  105. package/src/app.ts +2 -3
  106. package/src/locales/en-US.json +218 -203
  107. package/src/locales/zh-CN.json +218 -203
  108. package/src/modules/order-setting/kiosk/interface.ts +25 -0
  109. package/src/stores/order-setting/mapper.ts +73 -51
  110. package/src/views/kiosk/KioskSummary.vue +36 -2
  111. package/src/views/kiosk/KioskView.vue +115 -96
  112. package/src/views/kiosk/settings/KioskDineInSection.vue +48 -33
  113. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +114 -67
  114. package/src/views/kiosk/settings/KioskMenuItemSection.vue +27 -0
  115. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +339 -0
  116. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +15 -14
  117. package/src/views/kiosk/settings/KioskSettingView.vue +169 -108
  118. package/src/views/kiosk/settings/KioskTakeawaySection.vue +16 -22
  119. package/src/views/order-settings/OrderSettingsView.vue +1 -1
  120. package/src/views/order-settings/delivery/DeliverySetting.vue +8 -10
  121. package/src/views/order-settings/pickup/CustomPayment.vue +1 -1
  122. package/dist/App-Dd-xqK-8.js +0 -60
  123. package/dist/KioskSettingView-6Q0qwSTl.js +0 -345
  124. package/dist/KioskView-5I0PelUy.js +0 -289
  125. package/dist/OrderSettingsView-CXZq8QAV.js +0 -51594
  126. package/dist/dayjs.min-DMfenXNY.js +0 -121871
  127. package/dist/index-B9mJLWE5.js +0 -70
  128. package/dist/map-UJBUHidz.js +0 -57
  129. /package/dist/frontend/mf-order/src/views/order-settings/{dinein → dine-in}/DineInSetting.vue.d.ts +0 -0
  130. /package/src/views/order-settings/{dinein → dine-in}/DineInSetting.vue +0 -0
  131. /package/src/views/order-settings/{dinein → dine-in}/OfflinePaymentTypeDialog.vue +0 -0
  132. /package/src/views/order-settings/{dinein → dine-in}/OfflinePaymentTypeDialogContent.vue +0 -0
  133. /package/src/views/order-settings/{dinein → dine-in}/PaymentType.vue +0 -0
@@ -5,6 +5,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
5
5
  businessId: z.ZodString;
6
6
  profile: z.ZodObject<{
7
7
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
9
  name: z.ZodString;
9
10
  address: z.ZodObject<{
10
11
  line1: z.ZodString;
@@ -321,6 +322,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
321
322
  tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
322
323
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
323
324
  }, "strip", z.ZodTypeAny, {
325
+ code?: string | null | undefined;
324
326
  url?: string | null | undefined;
325
327
  description?: string | null | undefined;
326
328
  _id?: string | null | undefined;
@@ -396,6 +398,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
396
398
  phoneNo: string;
397
399
  regNo: string;
398
400
  }, {
401
+ code?: string | null | undefined;
399
402
  url?: string | null | undefined;
400
403
  description?: string | null | undefined;
401
404
  _id?: string | null | undefined;
@@ -1180,17 +1183,20 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1180
1183
  term: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1181
1184
  instruction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1182
1185
  autoAccept: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1186
+ ignoreStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1183
1187
  }, "strip", z.ZodTypeAny, {
1184
1188
  instruction?: string | null | undefined;
1185
1189
  catalogId?: string | null | undefined;
1186
1190
  autoAccept?: boolean | null | undefined;
1187
1191
  term?: string | null | undefined;
1192
+ ignoreStock?: boolean | null | undefined;
1188
1193
  enable: boolean;
1189
1194
  }, {
1190
1195
  instruction?: string | null | undefined;
1191
1196
  catalogId?: string | null | undefined;
1192
1197
  autoAccept?: boolean | null | undefined;
1193
1198
  term?: string | null | undefined;
1199
+ ignoreStock?: boolean | null | undefined;
1194
1200
  enable: boolean;
1195
1201
  }>>>>;
1196
1202
  foodpandaDelivery: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
@@ -1662,6 +1668,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1662
1668
  catalogId?: string | null | undefined;
1663
1669
  autoAccept?: boolean | null | undefined;
1664
1670
  term?: string | null | undefined;
1671
+ ignoreStock?: boolean | null | undefined;
1665
1672
  enable: boolean;
1666
1673
  } | null | undefined;
1667
1674
  foodpandaDelivery?: any;
@@ -1711,6 +1718,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1711
1718
  id: string;
1712
1719
  businessId: string;
1713
1720
  profile: {
1721
+ code?: string | null | undefined;
1714
1722
  url?: string | null | undefined;
1715
1723
  description?: string | null | undefined;
1716
1724
  _id?: string | null | undefined;
@@ -1934,6 +1942,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1934
1942
  catalogId?: string | null | undefined;
1935
1943
  autoAccept?: boolean | null | undefined;
1936
1944
  term?: string | null | undefined;
1945
+ ignoreStock?: boolean | null | undefined;
1937
1946
  enable: boolean;
1938
1947
  } | null | undefined;
1939
1948
  foodpandaDelivery?: any;
@@ -1987,6 +1996,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1987
1996
  id: string;
1988
1997
  businessId: string;
1989
1998
  profile: {
1999
+ code?: string | null | undefined;
1990
2000
  url?: string | null | undefined;
1991
2001
  description?: string | null | undefined;
1992
2002
  _id?: string | null | undefined;
@@ -2086,6 +2096,7 @@ export declare const RestaurantDto: z.ZodObject<{
2086
2096
  }>, "many">>>>;
2087
2097
  profile: z.ZodObject<z.extendShape<{
2088
2098
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2099
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2089
2100
  name: z.ZodString;
2090
2101
  address: z.ZodObject<{
2091
2102
  line1: z.ZodString;
@@ -2404,6 +2415,7 @@ export declare const RestaurantDto: z.ZodObject<{
2404
2415
  }, {
2405
2416
  url: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2406
2417
  }>, "strip", z.ZodTypeAny, {
2418
+ code?: string | null | undefined;
2407
2419
  _id?: string | null | undefined;
2408
2420
  description?: string | null | undefined;
2409
2421
  discovery?: boolean | null | undefined;
@@ -2479,6 +2491,7 @@ export declare const RestaurantDto: z.ZodObject<{
2479
2491
  regNo: string;
2480
2492
  url: string | null;
2481
2493
  }, {
2494
+ code?: string | null | undefined;
2482
2495
  _id?: string | null | undefined;
2483
2496
  description?: string | null | undefined;
2484
2497
  discovery?: boolean | null | undefined;
@@ -2755,6 +2768,7 @@ export declare const RestaurantDto: z.ZodObject<{
2755
2768
  expiredAt: string;
2756
2769
  features: string[] | null;
2757
2770
  profile: {
2771
+ code?: string | null | undefined;
2758
2772
  _id?: string | null | undefined;
2759
2773
  description?: string | null | undefined;
2760
2774
  discovery?: boolean | null | undefined;
@@ -2874,6 +2888,7 @@ export declare const RestaurantDto: z.ZodObject<{
2874
2888
  businessId: string;
2875
2889
  expiredAt: string;
2876
2890
  profile: {
2891
+ code?: string | null | undefined;
2877
2892
  _id?: string | null | undefined;
2878
2893
  description?: string | null | undefined;
2879
2894
  discovery?: boolean | null | undefined;
@@ -2964,6 +2979,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
2964
2979
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2965
2980
  profile: z.ZodObject<{
2966
2981
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2982
+ code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2967
2983
  name: z.ZodString;
2968
2984
  address: z.ZodObject<{
2969
2985
  line1: z.ZodString;
@@ -3280,6 +3296,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3280
3296
  tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3281
3297
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3282
3298
  }, "strip", z.ZodTypeAny, {
3299
+ code?: string | null | undefined;
3283
3300
  url?: string | null | undefined;
3284
3301
  description?: string | null | undefined;
3285
3302
  _id?: string | null | undefined;
@@ -3355,6 +3372,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3355
3372
  phoneNo: string;
3356
3373
  regNo: string;
3357
3374
  }, {
3375
+ code?: string | null | undefined;
3358
3376
  url?: string | null | undefined;
3359
3377
  description?: string | null | undefined;
3360
3378
  _id?: string | null | undefined;
@@ -3561,6 +3579,98 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3561
3579
  } | null | undefined;
3562
3580
  }>>>;
3563
3581
  canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
3582
+ paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3583
+ paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
3584
+ offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
3585
+ name: z.ZodString;
3586
+ instruction: z.ZodString;
3587
+ }, "strip", z.ZodTypeAny, {
3588
+ name: string;
3589
+ instruction: string;
3590
+ }, {
3591
+ name: string;
3592
+ instruction: string;
3593
+ }>>, "many">>>;
3594
+ ePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3595
+ card: z.ZodObject<{
3596
+ terminal: z.ZodDefault<z.ZodBoolean>;
3597
+ nfc: z.ZodDefault<z.ZodBoolean>;
3598
+ }, "strip", z.ZodTypeAny, {
3599
+ terminal: boolean;
3600
+ nfc: boolean;
3601
+ }, {
3602
+ terminal?: boolean | undefined;
3603
+ nfc?: boolean | undefined;
3604
+ }>;
3605
+ eWallet: z.ZodObject<{
3606
+ qrPay: z.ZodDefault<z.ZodBoolean>;
3607
+ scanPay: z.ZodDefault<z.ZodBoolean>;
3608
+ }, "strip", z.ZodTypeAny, {
3609
+ qrPay: boolean;
3610
+ scanPay: boolean;
3611
+ }, {
3612
+ qrPay?: boolean | undefined;
3613
+ scanPay?: boolean | undefined;
3614
+ }>;
3615
+ }, "strip", z.ZodTypeAny, {
3616
+ card: {
3617
+ terminal: boolean;
3618
+ nfc: boolean;
3619
+ };
3620
+ eWallet: {
3621
+ qrPay: boolean;
3622
+ scanPay: boolean;
3623
+ };
3624
+ }, {
3625
+ card: {
3626
+ terminal?: boolean | undefined;
3627
+ nfc?: boolean | undefined;
3628
+ };
3629
+ eWallet: {
3630
+ qrPay?: boolean | undefined;
3631
+ scanPay?: boolean | undefined;
3632
+ };
3633
+ }>>>;
3634
+ }, "strip", z.ZodTypeAny, {
3635
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3636
+ offlinePaymentTypes?: {
3637
+ name: string;
3638
+ instruction: string;
3639
+ }[] | null | undefined;
3640
+ ePaymentTypes?: {
3641
+ card: {
3642
+ terminal: boolean;
3643
+ nfc: boolean;
3644
+ };
3645
+ eWallet: {
3646
+ qrPay: boolean;
3647
+ scanPay: boolean;
3648
+ };
3649
+ } | null | undefined;
3650
+ }, {
3651
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3652
+ offlinePaymentTypes?: {
3653
+ name: string;
3654
+ instruction: string;
3655
+ }[] | null | undefined;
3656
+ ePaymentTypes?: {
3657
+ card: {
3658
+ terminal?: boolean | undefined;
3659
+ nfc?: boolean | undefined;
3660
+ };
3661
+ eWallet: {
3662
+ qrPay?: boolean | undefined;
3663
+ scanPay?: boolean | undefined;
3664
+ };
3665
+ } | null | undefined;
3666
+ }>>>;
3667
+ menuItem: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3668
+ showAllOnly: z.ZodBoolean;
3669
+ }, "strip", z.ZodTypeAny, {
3670
+ showAllOnly: boolean;
3671
+ }, {
3672
+ showAllOnly: boolean;
3673
+ }>>>;
3564
3674
  }, "strip", z.ZodTypeAny, {
3565
3675
  dineIn?: {
3566
3676
  requiredSlot?: boolean | null | undefined;
@@ -3578,6 +3688,26 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3578
3688
  } | null | undefined;
3579
3689
  } | null | undefined;
3580
3690
  canTakeaway?: boolean | null | undefined;
3691
+ paymentSetting?: {
3692
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3693
+ offlinePaymentTypes?: {
3694
+ name: string;
3695
+ instruction: string;
3696
+ }[] | null | undefined;
3697
+ ePaymentTypes?: {
3698
+ card: {
3699
+ terminal: boolean;
3700
+ nfc: boolean;
3701
+ };
3702
+ eWallet: {
3703
+ qrPay: boolean;
3704
+ scanPay: boolean;
3705
+ };
3706
+ } | null | undefined;
3707
+ } | null | undefined;
3708
+ menuItem?: {
3709
+ showAllOnly: boolean;
3710
+ } | null | undefined;
3581
3711
  }, {
3582
3712
  dineIn?: {
3583
3713
  requiredSlot?: boolean | null | undefined;
@@ -3595,11 +3725,31 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3595
3725
  } | null | undefined;
3596
3726
  } | null | undefined;
3597
3727
  canTakeaway?: boolean | null | undefined;
3728
+ paymentSetting?: {
3729
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3730
+ offlinePaymentTypes?: {
3731
+ name: string;
3732
+ instruction: string;
3733
+ }[] | null | undefined;
3734
+ ePaymentTypes?: {
3735
+ card: {
3736
+ terminal?: boolean | undefined;
3737
+ nfc?: boolean | undefined;
3738
+ };
3739
+ eWallet: {
3740
+ qrPay?: boolean | undefined;
3741
+ scanPay?: boolean | undefined;
3742
+ };
3743
+ } | null | undefined;
3744
+ } | null | undefined;
3745
+ menuItem?: {
3746
+ showAllOnly: boolean;
3747
+ } | null | undefined;
3598
3748
  }>>>>;
3599
3749
  paymentGateways: z.ZodArray<z.ZodDiscriminatedUnion<"paymentGateway", z.Primitive, z.ZodObject<z.extendShape<{
3600
3750
  _id: z.ZodString;
3601
3751
  _rev: z.ZodString;
3602
- paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3752
+ paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3603
3753
  active: z.ZodBoolean;
3604
3754
  }, {
3605
3755
  paymentGateway: z.ZodLiteral<"REVENUE_MONSTER">;
@@ -3610,14 +3760,14 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3610
3760
  storeId: z.ZodString;
3611
3761
  }, "strip", z.ZodTypeAny, {
3612
3762
  clientId: string;
3763
+ clientPrivateKey: string;
3613
3764
  clientSecret: string;
3614
3765
  storeId: string;
3615
- clientPrivateKey: string;
3616
3766
  }, {
3617
3767
  clientId: string;
3768
+ clientPrivateKey: string;
3618
3769
  clientSecret: string;
3619
3770
  storeId: string;
3620
- clientPrivateKey: string;
3621
3771
  }>;
3622
3772
  }>, "strip", z.ZodTypeAny, {
3623
3773
  _id: string;
@@ -3626,9 +3776,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3626
3776
  active: boolean;
3627
3777
  config: {
3628
3778
  clientId: string;
3779
+ clientPrivateKey: string;
3629
3780
  clientSecret: string;
3630
3781
  storeId: string;
3631
- clientPrivateKey: string;
3632
3782
  };
3633
3783
  }, {
3634
3784
  _id: string;
@@ -3637,14 +3787,14 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3637
3787
  active: boolean;
3638
3788
  config: {
3639
3789
  clientId: string;
3790
+ clientPrivateKey: string;
3640
3791
  clientSecret: string;
3641
3792
  storeId: string;
3642
- clientPrivateKey: string;
3643
3793
  };
3644
3794
  }> | z.ZodObject<z.extendShape<{
3645
3795
  _id: z.ZodString;
3646
3796
  _rev: z.ZodString;
3647
- paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3797
+ paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3648
3798
  active: z.ZodBoolean;
3649
3799
  }, {
3650
3800
  paymentGateway: z.ZodLiteral<"RAZER_MERCHANT_SERVICE">;
@@ -3658,17 +3808,17 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3658
3808
  }, "strip", z.ZodTypeAny, {
3659
3809
  applicationCode?: string | null | undefined;
3660
3810
  offlineSecret?: string | null | undefined;
3811
+ uniqueId: string;
3661
3812
  merchantId: string;
3662
- verifyKey: string;
3663
3813
  secretKey: string;
3664
- uniqueId: string;
3814
+ verifyKey: string;
3665
3815
  }, {
3666
3816
  applicationCode?: string | null | undefined;
3667
3817
  offlineSecret?: string | null | undefined;
3818
+ uniqueId: string;
3668
3819
  merchantId: string;
3669
- verifyKey: string;
3670
3820
  secretKey: string;
3671
- uniqueId: string;
3821
+ verifyKey: string;
3672
3822
  }>;
3673
3823
  }>, "strip", z.ZodTypeAny, {
3674
3824
  _id: string;
@@ -3678,10 +3828,10 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3678
3828
  config: {
3679
3829
  applicationCode?: string | null | undefined;
3680
3830
  offlineSecret?: string | null | undefined;
3831
+ uniqueId: string;
3681
3832
  merchantId: string;
3682
- verifyKey: string;
3683
3833
  secretKey: string;
3684
- uniqueId: string;
3834
+ verifyKey: string;
3685
3835
  };
3686
3836
  }, {
3687
3837
  _id: string;
@@ -3691,73 +3841,30 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3691
3841
  config: {
3692
3842
  applicationCode?: string | null | undefined;
3693
3843
  offlineSecret?: string | null | undefined;
3844
+ uniqueId: string;
3694
3845
  merchantId: string;
3695
- verifyKey: string;
3696
3846
  secretKey: string;
3697
- uniqueId: string;
3847
+ verifyKey: string;
3698
3848
  };
3699
3849
  }> | z.ZodObject<z.extendShape<{
3700
3850
  _id: z.ZodString;
3701
3851
  _rev: z.ZodString;
3702
- paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3852
+ paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3703
3853
  active: z.ZodBoolean;
3704
3854
  }, {
3705
3855
  paymentGateway: z.ZodLiteral<"E_GHL">;
3706
3856
  config: z.ZodObject<{
3707
- profile: z.ZodObject<{
3708
- country: z.ZodString;
3709
- state: z.ZodString;
3710
- city: z.ZodString;
3711
- email: z.ZodString;
3712
- companyName: z.ZodString;
3713
- companyWebsite: z.ZodString;
3714
- companyIndustry: z.ZodString;
3715
- }, "strip", z.ZodTypeAny, {
3716
- email: string;
3717
- city: string;
3718
- state: string;
3719
- country: string;
3720
- companyName: string;
3721
- companyWebsite: string;
3722
- companyIndustry: string;
3723
- }, {
3724
- email: string;
3725
- city: string;
3726
- state: string;
3727
- country: string;
3728
- companyName: string;
3729
- companyWebsite: string;
3730
- companyIndustry: string;
3731
- }>;
3732
3857
  merchantId: z.ZodString;
3733
- privateKey: z.ZodString;
3734
3858
  terminalId: z.ZodString;
3859
+ privateKey: z.ZodString;
3735
3860
  }, "strip", z.ZodTypeAny, {
3736
- privateKey: string;
3737
- merchantId: string;
3738
3861
  terminalId: string;
3739
- profile: {
3740
- email: string;
3741
- city: string;
3742
- state: string;
3743
- country: string;
3744
- companyName: string;
3745
- companyWebsite: string;
3746
- companyIndustry: string;
3747
- };
3748
- }, {
3749
- privateKey: string;
3750
3862
  merchantId: string;
3863
+ privateKey: string;
3864
+ }, {
3751
3865
  terminalId: string;
3752
- profile: {
3753
- email: string;
3754
- city: string;
3755
- state: string;
3756
- country: string;
3757
- companyName: string;
3758
- companyWebsite: string;
3759
- companyIndustry: string;
3760
- };
3866
+ merchantId: string;
3867
+ privateKey: string;
3761
3868
  }>;
3762
3869
  }>, "strip", z.ZodTypeAny, {
3763
3870
  _id: string;
@@ -3765,18 +3872,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3765
3872
  paymentGateway: "E_GHL";
3766
3873
  active: boolean;
3767
3874
  config: {
3768
- privateKey: string;
3769
- merchantId: string;
3770
3875
  terminalId: string;
3771
- profile: {
3772
- email: string;
3773
- city: string;
3774
- state: string;
3775
- country: string;
3776
- companyName: string;
3777
- companyWebsite: string;
3778
- companyIndustry: string;
3779
- };
3876
+ merchantId: string;
3877
+ privateKey: string;
3780
3878
  };
3781
3879
  }, {
3782
3880
  _id: string;
@@ -3784,18 +3882,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3784
3882
  paymentGateway: "E_GHL";
3785
3883
  active: boolean;
3786
3884
  config: {
3787
- privateKey: string;
3788
- merchantId: string;
3789
3885
  terminalId: string;
3790
- profile: {
3791
- email: string;
3792
- city: string;
3793
- state: string;
3794
- country: string;
3795
- companyName: string;
3796
- companyWebsite: string;
3797
- companyIndustry: string;
3798
- };
3886
+ merchantId: string;
3887
+ privateKey: string;
3799
3888
  };
3800
3889
  }>>, "many">;
3801
3890
  posHeartbeat: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3838,11 +3927,32 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3838
3927
  } | null | undefined;
3839
3928
  } | null | undefined;
3840
3929
  canTakeaway?: boolean | null | undefined;
3930
+ paymentSetting?: {
3931
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
3932
+ offlinePaymentTypes?: {
3933
+ name: string;
3934
+ instruction: string;
3935
+ }[] | null | undefined;
3936
+ ePaymentTypes?: {
3937
+ card: {
3938
+ terminal: boolean;
3939
+ nfc: boolean;
3940
+ };
3941
+ eWallet: {
3942
+ qrPay: boolean;
3943
+ scanPay: boolean;
3944
+ };
3945
+ } | null | undefined;
3946
+ } | null | undefined;
3947
+ menuItem?: {
3948
+ showAllOnly: boolean;
3949
+ } | null | undefined;
3841
3950
  } | null | undefined;
3842
3951
  posHeartbeat?: string | null | undefined;
3843
3952
  _id: string;
3844
3953
  businessId: string;
3845
3954
  profile: {
3955
+ code?: string | null | undefined;
3846
3956
  url?: string | null | undefined;
3847
3957
  description?: string | null | undefined;
3848
3958
  _id?: string | null | undefined;
@@ -3927,9 +4037,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3927
4037
  active: boolean;
3928
4038
  config: {
3929
4039
  clientId: string;
4040
+ clientPrivateKey: string;
3930
4041
  clientSecret: string;
3931
4042
  storeId: string;
3932
- clientPrivateKey: string;
3933
4043
  };
3934
4044
  } | {
3935
4045
  _id: string;
@@ -3939,10 +4049,10 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3939
4049
  config: {
3940
4050
  applicationCode?: string | null | undefined;
3941
4051
  offlineSecret?: string | null | undefined;
4052
+ uniqueId: string;
3942
4053
  merchantId: string;
3943
- verifyKey: string;
3944
4054
  secretKey: string;
3945
- uniqueId: string;
4055
+ verifyKey: string;
3946
4056
  };
3947
4057
  } | {
3948
4058
  _id: string;
@@ -3950,18 +4060,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3950
4060
  paymentGateway: "E_GHL";
3951
4061
  active: boolean;
3952
4062
  config: {
3953
- privateKey: string;
3954
- merchantId: string;
3955
4063
  terminalId: string;
3956
- profile: {
3957
- email: string;
3958
- city: string;
3959
- state: string;
3960
- country: string;
3961
- companyName: string;
3962
- companyWebsite: string;
3963
- companyIndustry: string;
3964
- };
4064
+ merchantId: string;
4065
+ privateKey: string;
3965
4066
  };
3966
4067
  })[];
3967
4068
  }, {
@@ -4003,11 +4104,32 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4003
4104
  } | null | undefined;
4004
4105
  } | null | undefined;
4005
4106
  canTakeaway?: boolean | null | undefined;
4107
+ paymentSetting?: {
4108
+ paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
4109
+ offlinePaymentTypes?: {
4110
+ name: string;
4111
+ instruction: string;
4112
+ }[] | null | undefined;
4113
+ ePaymentTypes?: {
4114
+ card: {
4115
+ terminal?: boolean | undefined;
4116
+ nfc?: boolean | undefined;
4117
+ };
4118
+ eWallet: {
4119
+ qrPay?: boolean | undefined;
4120
+ scanPay?: boolean | undefined;
4121
+ };
4122
+ } | null | undefined;
4123
+ } | null | undefined;
4124
+ menuItem?: {
4125
+ showAllOnly: boolean;
4126
+ } | null | undefined;
4006
4127
  } | null | undefined;
4007
4128
  posHeartbeat?: string | null | undefined;
4008
4129
  _id: string;
4009
4130
  businessId: string;
4010
4131
  profile: {
4132
+ code?: string | null | undefined;
4011
4133
  url?: string | null | undefined;
4012
4134
  description?: string | null | undefined;
4013
4135
  _id?: string | null | undefined;
@@ -4092,9 +4214,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4092
4214
  active: boolean;
4093
4215
  config: {
4094
4216
  clientId: string;
4217
+ clientPrivateKey: string;
4095
4218
  clientSecret: string;
4096
4219
  storeId: string;
4097
- clientPrivateKey: string;
4098
4220
  };
4099
4221
  } | {
4100
4222
  _id: string;
@@ -4104,10 +4226,10 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4104
4226
  config: {
4105
4227
  applicationCode?: string | null | undefined;
4106
4228
  offlineSecret?: string | null | undefined;
4229
+ uniqueId: string;
4107
4230
  merchantId: string;
4108
- verifyKey: string;
4109
4231
  secretKey: string;
4110
- uniqueId: string;
4232
+ verifyKey: string;
4111
4233
  };
4112
4234
  } | {
4113
4235
  _id: string;
@@ -4115,18 +4237,9 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4115
4237
  paymentGateway: "E_GHL";
4116
4238
  active: boolean;
4117
4239
  config: {
4118
- privateKey: string;
4119
- merchantId: string;
4120
4240
  terminalId: string;
4121
- profile: {
4122
- email: string;
4123
- city: string;
4124
- state: string;
4125
- country: string;
4126
- companyName: string;
4127
- companyWebsite: string;
4128
- companyIndustry: string;
4129
- };
4241
+ merchantId: string;
4242
+ privateKey: string;
4130
4243
  };
4131
4244
  })[];
4132
4245
  }>;