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

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 (100) hide show
  1. package/dist/App-Dd-xqK-8.js +60 -0
  2. package/dist/{KioskDevicesView-BnU_Z30B.js → KioskDevicesView-snR43qzG.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-2dGio8Lw.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DkpYway-.js} +43 -43
  4. package/dist/{KioskView-DqV4IW7U.js → KioskView-5I0PelUy.js} +57 -57
  5. package/dist/OrderSettingsView-CXZq8QAV.js +51594 -0
  6. package/dist/app.js +505 -4
  7. package/dist/dayjs.min-DMfenXNY.js +121871 -0
  8. package/dist/frontend/mf-order/src/App.vue.d.ts +1 -1
  9. package/dist/frontend/mf-order/src/Entry.vue.d.ts +1 -1
  10. package/dist/frontend/mf-order/src/app.d.ts +1 -1
  11. package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +4 -2
  12. package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
  13. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +2 -2
  14. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +2 -2
  15. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +30 -35
  16. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +2 -2
  17. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +579 -715
  18. package/dist/frontend/mf-order/src/views/all-orders/ActionMenuCell.vue.d.ts +2 -2
  19. package/dist/frontend/mf-order/src/views/all-orders/FilterRestaurant.vue.d.ts +8 -1593
  20. package/dist/frontend/mf-order/src/views/all-orders/FilterStatus.vue.d.ts +6 -9
  21. package/dist/frontend/mf-order/src/views/all-orders/FilterStatusMenu.vue.d.ts +5 -11
  22. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +155 -193
  23. package/dist/frontend/mf-order/src/views/all-orders/UpdateDeliveryOrderDialog.vue.d.ts +2 -2
  24. package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -1
  25. package/dist/frontend/mf-order/src/views/kiosk/KioskView.vue.d.ts +1 -1
  26. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +1 -1
  27. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceDetail.vue.d.ts +1 -1
  28. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +1 -1
  29. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +1 -1
  30. package/dist/frontend/mf-order/src/views/kiosk/devices/KioskUnbindConfirm.vue.d.ts +2 -2
  31. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDineInSection.vue.d.ts +2 -2
  32. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +2 -2
  33. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +2 -2
  34. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +1 -1
  35. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskTakeawaySection.vue.d.ts +2 -2
  36. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliveryList.vue.d.ts +2 -2
  37. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +1 -1
  38. package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +2 -2
  39. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/CurrencyInput.vue.d.ts +1 -1
  40. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryCustomTime.vue.d.ts +1 -1
  41. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryOrder.vue.d.ts +105 -2
  42. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryTime.vue.d.ts +1 -1
  43. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +1 -1
  44. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/TimePicker.vue.d.ts +6 -120
  45. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/ZoneDialog.vue.d.ts +1 -1
  46. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue.d.ts +1 -1
  47. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaCampaignDialog.vue.d.ts +1 -1
  48. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue.d.ts +1 -1
  49. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
  50. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +1 -1
  51. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +1 -1
  52. package/dist/frontend/mf-order/src/views/order-settings/dinein/OfflinePaymentTypeDialog.vue.d.ts +1 -1
  53. package/dist/frontend/mf-order/src/views/order-settings/dinein/OfflinePaymentTypeDialogContent.vue.d.ts +2 -2
  54. package/dist/frontend/mf-order/src/views/order-settings/dinein/PaymentType.vue.d.ts +1 -1
  55. package/dist/frontend/mf-order/src/views/order-settings/pickup/AddressInput.vue.d.ts +8 -12
  56. package/dist/frontend/mf-order/src/views/order-settings/pickup/CustomPayment.vue.d.ts +6 -12
  57. package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +18 -15
  58. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +1 -1
  59. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialogContent.vue.d.ts +110 -15
  60. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialog.vue.d.ts +1 -1
  61. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +1 -1
  62. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickupList.vue.d.ts +2 -2
  63. package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +1 -1
  64. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +1 -1
  65. package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +1 -1
  66. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  67. package/dist/{index-DPl0R4fg.js → index-BghBxhGG.js} +7 -7
  68. package/dist/map-UJBUHidz.js +57 -0
  69. package/dist/package/entity/booking/booking.do.d.ts +1025 -95
  70. package/dist/package/entity/delivery/delivery.dto.d.ts +264 -78
  71. package/dist/package/entity/delivery/gateway/kosmo.dto.d.ts +2 -2
  72. package/dist/package/entity/food-court/food-court.dto.d.ts +0 -51
  73. package/dist/package/entity/food-court/order.dto.d.ts +3 -2525
  74. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +267 -1389
  75. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +130 -633
  76. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +188 -1216
  77. package/dist/package/entity/kiosk/kiosk.do.d.ts +2 -2
  78. package/dist/package/entity/kiosk/kiosk.dto.d.ts +2 -2
  79. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +883 -105
  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/order.do.d.ts +5 -5
  83. package/dist/package/entity/order/order.dto.d.ts +19749 -36446
  84. package/dist/package/entity/order/payment/payment.dto.d.ts +127 -9620
  85. package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +54 -54
  86. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +72 -72
  87. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +241 -55
  88. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +205 -19
  89. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +36 -36
  90. package/dist/package/entity/order-platform/menu.dto.d.ts +88 -88
  91. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +205 -19
  92. package/dist/package/entity/payment/payment.dto.d.ts +13 -13
  93. package/dist/package/entity/queue/queue.do.d.ts +80 -80
  94. package/dist/package/entity/queue/queue.dto.d.ts +0 -7
  95. package/dist/package/entity/restaurant/restaurant.dto.d.ts +140 -81
  96. package/package.json +16 -16
  97. package/src/app.ts +3 -2
  98. package/dist/OrderSettingsView-CIUddOED.js +0 -70945
  99. package/dist/app-CuyLbKuN.js +0 -614
  100. package/dist/dayjs.min-BJrst4DM.js +0 -123632
@@ -493,7 +493,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
493
493
  }>, "many">>>>;
494
494
  profile: z.ZodObject<z.extendShape<{
495
495
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
496
- code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
497
496
  name: z.ZodString;
498
497
  address: z.ZodObject<{
499
498
  line1: z.ZodString;
@@ -812,7 +811,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
812
811
  }, {
813
812
  url: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
814
813
  }>, "strip", z.ZodTypeAny, {
815
- code?: string | null | undefined;
816
814
  _id?: string | null | undefined;
817
815
  description?: string | null | undefined;
818
816
  discovery?: boolean | null | undefined;
@@ -888,7 +886,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
888
886
  regNo: string;
889
887
  url: string | null;
890
888
  }, {
891
- code?: string | null | undefined;
892
889
  _id?: string | null | undefined;
893
890
  description?: string | null | undefined;
894
891
  discovery?: boolean | null | undefined;
@@ -1165,7 +1162,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1165
1162
  expiredAt: string;
1166
1163
  features: string[] | null;
1167
1164
  profile: {
1168
- code?: string | null | undefined;
1169
1165
  _id?: string | null | undefined;
1170
1166
  description?: string | null | undefined;
1171
1167
  discovery?: boolean | null | undefined;
@@ -1285,7 +1281,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1285
1281
  businessId: string;
1286
1282
  expiredAt: string;
1287
1283
  profile: {
1288
- code?: string | null | undefined;
1289
1284
  _id?: string | null | undefined;
1290
1285
  description?: string | null | undefined;
1291
1286
  discovery?: boolean | null | undefined;
@@ -1416,7 +1411,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1416
1411
  expiredAt: string;
1417
1412
  features: string[] | null;
1418
1413
  profile: {
1419
- code?: string | null | undefined;
1420
1414
  _id?: string | null | undefined;
1421
1415
  description?: string | null | undefined;
1422
1416
  discovery?: boolean | null | undefined;
@@ -1549,7 +1543,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1549
1543
  businessId: string;
1550
1544
  expiredAt: string;
1551
1545
  profile: {
1552
- code?: string | null | undefined;
1553
1546
  _id?: string | null | undefined;
1554
1547
  description?: string | null | undefined;
1555
1548
  discovery?: boolean | null | undefined;
@@ -5,7 +5,6 @@ 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>>;
9
8
  name: z.ZodString;
10
9
  address: z.ZodObject<{
11
10
  line1: z.ZodString;
@@ -322,7 +321,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
322
321
  tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
323
322
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
324
323
  }, "strip", z.ZodTypeAny, {
325
- code?: string | null | undefined;
326
324
  url?: string | null | undefined;
327
325
  description?: string | null | undefined;
328
326
  _id?: string | null | undefined;
@@ -398,7 +396,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
398
396
  phoneNo: string;
399
397
  regNo: string;
400
398
  }, {
401
- code?: string | null | undefined;
402
399
  url?: string | null | undefined;
403
400
  description?: string | null | undefined;
404
401
  _id?: string | null | undefined;
@@ -1183,20 +1180,17 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1183
1180
  term: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1184
1181
  instruction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1185
1182
  autoAccept: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1186
- ignoreStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1187
1183
  }, "strip", z.ZodTypeAny, {
1188
1184
  instruction?: string | null | undefined;
1189
1185
  catalogId?: string | null | undefined;
1190
1186
  autoAccept?: boolean | null | undefined;
1191
1187
  term?: string | null | undefined;
1192
- ignoreStock?: boolean | null | undefined;
1193
1188
  enable: boolean;
1194
1189
  }, {
1195
1190
  instruction?: string | null | undefined;
1196
1191
  catalogId?: string | null | undefined;
1197
1192
  autoAccept?: boolean | null | undefined;
1198
1193
  term?: string | null | undefined;
1199
- ignoreStock?: boolean | null | undefined;
1200
1194
  enable: boolean;
1201
1195
  }>>>>;
1202
1196
  foodpandaDelivery: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
@@ -1668,7 +1662,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1668
1662
  catalogId?: string | null | undefined;
1669
1663
  autoAccept?: boolean | null | undefined;
1670
1664
  term?: string | null | undefined;
1671
- ignoreStock?: boolean | null | undefined;
1672
1665
  enable: boolean;
1673
1666
  } | null | undefined;
1674
1667
  foodpandaDelivery?: any;
@@ -1718,7 +1711,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1718
1711
  id: string;
1719
1712
  businessId: string;
1720
1713
  profile: {
1721
- code?: string | null | undefined;
1722
1714
  url?: string | null | undefined;
1723
1715
  description?: string | null | undefined;
1724
1716
  _id?: string | null | undefined;
@@ -1942,7 +1934,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1942
1934
  catalogId?: string | null | undefined;
1943
1935
  autoAccept?: boolean | null | undefined;
1944
1936
  term?: string | null | undefined;
1945
- ignoreStock?: boolean | null | undefined;
1946
1937
  enable: boolean;
1947
1938
  } | null | undefined;
1948
1939
  foodpandaDelivery?: any;
@@ -1996,7 +1987,6 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1996
1987
  id: string;
1997
1988
  businessId: string;
1998
1989
  profile: {
1999
- code?: string | null | undefined;
2000
1990
  url?: string | null | undefined;
2001
1991
  description?: string | null | undefined;
2002
1992
  _id?: string | null | undefined;
@@ -2096,7 +2086,6 @@ export declare const RestaurantDto: z.ZodObject<{
2096
2086
  }>, "many">>>>;
2097
2087
  profile: z.ZodObject<z.extendShape<{
2098
2088
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2099
- code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2100
2089
  name: z.ZodString;
2101
2090
  address: z.ZodObject<{
2102
2091
  line1: z.ZodString;
@@ -2415,7 +2404,6 @@ export declare const RestaurantDto: z.ZodObject<{
2415
2404
  }, {
2416
2405
  url: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
2417
2406
  }>, "strip", z.ZodTypeAny, {
2418
- code?: string | null | undefined;
2419
2407
  _id?: string | null | undefined;
2420
2408
  description?: string | null | undefined;
2421
2409
  discovery?: boolean | null | undefined;
@@ -2491,7 +2479,6 @@ export declare const RestaurantDto: z.ZodObject<{
2491
2479
  regNo: string;
2492
2480
  url: string | null;
2493
2481
  }, {
2494
- code?: string | null | undefined;
2495
2482
  _id?: string | null | undefined;
2496
2483
  description?: string | null | undefined;
2497
2484
  discovery?: boolean | null | undefined;
@@ -2768,7 +2755,6 @@ export declare const RestaurantDto: z.ZodObject<{
2768
2755
  expiredAt: string;
2769
2756
  features: string[] | null;
2770
2757
  profile: {
2771
- code?: string | null | undefined;
2772
2758
  _id?: string | null | undefined;
2773
2759
  description?: string | null | undefined;
2774
2760
  discovery?: boolean | null | undefined;
@@ -2888,7 +2874,6 @@ export declare const RestaurantDto: z.ZodObject<{
2888
2874
  businessId: string;
2889
2875
  expiredAt: string;
2890
2876
  profile: {
2891
- code?: string | null | undefined;
2892
2877
  _id?: string | null | undefined;
2893
2878
  description?: string | null | undefined;
2894
2879
  discovery?: boolean | null | undefined;
@@ -2979,7 +2964,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
2979
2964
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2980
2965
  profile: z.ZodObject<{
2981
2966
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2982
- code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2983
2967
  name: z.ZodString;
2984
2968
  address: z.ZodObject<{
2985
2969
  line1: z.ZodString;
@@ -3296,7 +3280,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3296
3280
  tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3297
3281
  url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3298
3282
  }, "strip", z.ZodTypeAny, {
3299
- code?: string | null | undefined;
3300
3283
  url?: string | null | undefined;
3301
3284
  description?: string | null | undefined;
3302
3285
  _id?: string | null | undefined;
@@ -3372,7 +3355,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3372
3355
  phoneNo: string;
3373
3356
  regNo: string;
3374
3357
  }, {
3375
- code?: string | null | undefined;
3376
3358
  url?: string | null | undefined;
3377
3359
  description?: string | null | undefined;
3378
3360
  _id?: string | null | undefined;
@@ -3617,7 +3599,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3617
3599
  paymentGateways: z.ZodArray<z.ZodDiscriminatedUnion<"paymentGateway", z.Primitive, z.ZodObject<z.extendShape<{
3618
3600
  _id: z.ZodString;
3619
3601
  _rev: z.ZodString;
3620
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS"]>;
3602
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3621
3603
  active: z.ZodBoolean;
3622
3604
  }, {
3623
3605
  paymentGateway: z.ZodLiteral<"REVENUE_MONSTER">;
@@ -3628,41 +3610,41 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3628
3610
  storeId: z.ZodString;
3629
3611
  }, "strip", z.ZodTypeAny, {
3630
3612
  clientId: string;
3631
- clientPrivateKey: string;
3632
3613
  clientSecret: string;
3633
3614
  storeId: string;
3615
+ clientPrivateKey: string;
3634
3616
  }, {
3635
3617
  clientId: string;
3636
- clientPrivateKey: string;
3637
3618
  clientSecret: string;
3638
3619
  storeId: string;
3620
+ clientPrivateKey: string;
3639
3621
  }>;
3640
3622
  }>, "strip", z.ZodTypeAny, {
3641
3623
  _id: string;
3624
+ _rev: string;
3625
+ paymentGateway: "REVENUE_MONSTER";
3626
+ active: boolean;
3642
3627
  config: {
3643
3628
  clientId: string;
3644
- clientPrivateKey: string;
3645
3629
  clientSecret: string;
3646
3630
  storeId: string;
3631
+ clientPrivateKey: string;
3647
3632
  };
3633
+ }, {
3634
+ _id: string;
3648
3635
  _rev: string;
3649
3636
  paymentGateway: "REVENUE_MONSTER";
3650
3637
  active: boolean;
3651
- }, {
3652
- _id: string;
3653
3638
  config: {
3654
3639
  clientId: string;
3655
- clientPrivateKey: string;
3656
3640
  clientSecret: string;
3657
3641
  storeId: string;
3642
+ clientPrivateKey: string;
3658
3643
  };
3659
- _rev: string;
3660
- paymentGateway: "REVENUE_MONSTER";
3661
- active: boolean;
3662
3644
  }> | z.ZodObject<z.extendShape<{
3663
3645
  _id: z.ZodString;
3664
3646
  _rev: z.ZodString;
3665
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS"]>;
3647
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3666
3648
  active: z.ZodBoolean;
3667
3649
  }, {
3668
3650
  paymentGateway: z.ZodLiteral<"RAZER_MERCHANT_SERVICE">;
@@ -3677,83 +3659,144 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3677
3659
  applicationCode?: string | null | undefined;
3678
3660
  offlineSecret?: string | null | undefined;
3679
3661
  merchantId: string;
3680
- uniqueId: string;
3681
- secretKey: string;
3682
3662
  verifyKey: string;
3663
+ secretKey: string;
3664
+ uniqueId: string;
3683
3665
  }, {
3684
3666
  applicationCode?: string | null | undefined;
3685
3667
  offlineSecret?: string | null | undefined;
3686
3668
  merchantId: string;
3687
- uniqueId: string;
3688
- secretKey: string;
3689
3669
  verifyKey: string;
3670
+ secretKey: string;
3671
+ uniqueId: string;
3690
3672
  }>;
3691
3673
  }>, "strip", z.ZodTypeAny, {
3692
3674
  _id: string;
3675
+ _rev: string;
3676
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
3677
+ active: boolean;
3693
3678
  config: {
3694
3679
  applicationCode?: string | null | undefined;
3695
3680
  offlineSecret?: string | null | undefined;
3696
3681
  merchantId: string;
3697
- uniqueId: string;
3698
- secretKey: string;
3699
3682
  verifyKey: string;
3683
+ secretKey: string;
3684
+ uniqueId: string;
3700
3685
  };
3686
+ }, {
3687
+ _id: string;
3701
3688
  _rev: string;
3702
3689
  paymentGateway: "RAZER_MERCHANT_SERVICE";
3703
3690
  active: boolean;
3704
- }, {
3705
- _id: string;
3706
3691
  config: {
3707
3692
  applicationCode?: string | null | undefined;
3708
3693
  offlineSecret?: string | null | undefined;
3709
3694
  merchantId: string;
3710
- uniqueId: string;
3711
- secretKey: string;
3712
3695
  verifyKey: string;
3696
+ secretKey: string;
3697
+ uniqueId: string;
3713
3698
  };
3714
- _rev: string;
3715
- paymentGateway: "RAZER_MERCHANT_SERVICE";
3716
- active: boolean;
3717
3699
  }> | z.ZodObject<z.extendShape<{
3718
3700
  _id: z.ZodString;
3719
3701
  _rev: z.ZodString;
3720
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS"]>;
3702
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_MEMBER_CREDIT", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL"]>;
3721
3703
  active: z.ZodBoolean;
3722
3704
  }, {
3723
3705
  paymentGateway: z.ZodLiteral<"E_GHL">;
3724
3706
  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
+ }>;
3725
3732
  merchantId: z.ZodString;
3726
- terminalId: z.ZodString;
3727
3733
  privateKey: z.ZodString;
3734
+ terminalId: z.ZodString;
3728
3735
  }, "strip", z.ZodTypeAny, {
3736
+ privateKey: string;
3729
3737
  merchantId: string;
3730
3738
  terminalId: string;
3731
- privateKey: 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
+ };
3732
3748
  }, {
3749
+ privateKey: string;
3733
3750
  merchantId: string;
3734
3751
  terminalId: string;
3735
- privateKey: 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
+ };
3736
3761
  }>;
3737
3762
  }>, "strip", z.ZodTypeAny, {
3738
3763
  _id: string;
3764
+ _rev: string;
3765
+ paymentGateway: "E_GHL";
3766
+ active: boolean;
3739
3767
  config: {
3768
+ privateKey: string;
3740
3769
  merchantId: string;
3741
3770
  terminalId: string;
3742
- privateKey: 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
+ };
3743
3780
  };
3781
+ }, {
3782
+ _id: string;
3744
3783
  _rev: string;
3745
3784
  paymentGateway: "E_GHL";
3746
3785
  active: boolean;
3747
- }, {
3748
- _id: string;
3749
3786
  config: {
3787
+ privateKey: string;
3750
3788
  merchantId: string;
3751
3789
  terminalId: string;
3752
- privateKey: 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
+ };
3753
3799
  };
3754
- _rev: string;
3755
- paymentGateway: "E_GHL";
3756
- active: boolean;
3757
3800
  }>>, "many">;
3758
3801
  posHeartbeat: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3759
3802
  }, "strip", z.ZodTypeAny, {
@@ -3800,7 +3843,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3800
3843
  _id: string;
3801
3844
  businessId: string;
3802
3845
  profile: {
3803
- code?: string | null | undefined;
3804
3846
  url?: string | null | undefined;
3805
3847
  description?: string | null | undefined;
3806
3848
  _id?: string | null | undefined;
@@ -3880,38 +3922,47 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3880
3922
  acceptDineIn: boolean;
3881
3923
  paymentGateways: ({
3882
3924
  _id: string;
3925
+ _rev: string;
3926
+ paymentGateway: "REVENUE_MONSTER";
3927
+ active: boolean;
3883
3928
  config: {
3884
3929
  clientId: string;
3885
- clientPrivateKey: string;
3886
3930
  clientSecret: string;
3887
3931
  storeId: string;
3932
+ clientPrivateKey: string;
3888
3933
  };
3889
- _rev: string;
3890
- paymentGateway: "REVENUE_MONSTER";
3891
- active: boolean;
3892
3934
  } | {
3893
3935
  _id: string;
3936
+ _rev: string;
3937
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
3938
+ active: boolean;
3894
3939
  config: {
3895
3940
  applicationCode?: string | null | undefined;
3896
3941
  offlineSecret?: string | null | undefined;
3897
3942
  merchantId: string;
3898
- uniqueId: string;
3899
- secretKey: string;
3900
3943
  verifyKey: string;
3944
+ secretKey: string;
3945
+ uniqueId: string;
3901
3946
  };
3902
- _rev: string;
3903
- paymentGateway: "RAZER_MERCHANT_SERVICE";
3904
- active: boolean;
3905
3947
  } | {
3906
3948
  _id: string;
3949
+ _rev: string;
3950
+ paymentGateway: "E_GHL";
3951
+ active: boolean;
3907
3952
  config: {
3953
+ privateKey: string;
3908
3954
  merchantId: string;
3909
3955
  terminalId: string;
3910
- privateKey: 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
+ };
3911
3965
  };
3912
- _rev: string;
3913
- paymentGateway: "E_GHL";
3914
- active: boolean;
3915
3966
  })[];
3916
3967
  }, {
3917
3968
  catalogId?: string | null | undefined;
@@ -3957,7 +4008,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3957
4008
  _id: string;
3958
4009
  businessId: string;
3959
4010
  profile: {
3960
- code?: string | null | undefined;
3961
4011
  url?: string | null | undefined;
3962
4012
  description?: string | null | undefined;
3963
4013
  _id?: string | null | undefined;
@@ -4037,38 +4087,47 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4037
4087
  acceptDineIn: boolean;
4038
4088
  paymentGateways: ({
4039
4089
  _id: string;
4090
+ _rev: string;
4091
+ paymentGateway: "REVENUE_MONSTER";
4092
+ active: boolean;
4040
4093
  config: {
4041
4094
  clientId: string;
4042
- clientPrivateKey: string;
4043
4095
  clientSecret: string;
4044
4096
  storeId: string;
4097
+ clientPrivateKey: string;
4045
4098
  };
4046
- _rev: string;
4047
- paymentGateway: "REVENUE_MONSTER";
4048
- active: boolean;
4049
4099
  } | {
4050
4100
  _id: string;
4101
+ _rev: string;
4102
+ paymentGateway: "RAZER_MERCHANT_SERVICE";
4103
+ active: boolean;
4051
4104
  config: {
4052
4105
  applicationCode?: string | null | undefined;
4053
4106
  offlineSecret?: string | null | undefined;
4054
4107
  merchantId: string;
4055
- uniqueId: string;
4056
- secretKey: string;
4057
4108
  verifyKey: string;
4109
+ secretKey: string;
4110
+ uniqueId: string;
4058
4111
  };
4059
- _rev: string;
4060
- paymentGateway: "RAZER_MERCHANT_SERVICE";
4061
- active: boolean;
4062
4112
  } | {
4063
4113
  _id: string;
4114
+ _rev: string;
4115
+ paymentGateway: "E_GHL";
4116
+ active: boolean;
4064
4117
  config: {
4118
+ privateKey: string;
4065
4119
  merchantId: string;
4066
4120
  terminalId: string;
4067
- privateKey: 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
+ };
4068
4130
  };
4069
- _rev: string;
4070
- paymentGateway: "E_GHL";
4071
- active: boolean;
4072
4131
  })[];
4073
4132
  }>;
4074
4133
  export type RestaurantCustomerKioskDto = z.infer<typeof RestaurantCustomerKioskDto>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-order-setting",
3
- "version": "0.0.20",
3
+ "version": "0.0.21-beta.1",
4
4
  "type": "module",
5
5
  "module": "./dist/app.js",
6
6
  "license": "UNLICENSED",
@@ -9,21 +9,6 @@
9
9
  "import": "./dist/app.js"
10
10
  }
11
11
  },
12
- "scripts": {
13
- "dev": "vite --mode dev",
14
- "prod": "cross-env NODE_ENV=prod vite --mode prod",
15
- "preview": "vite preview",
16
- "build": "NODE_OPTIONS=--max-old-space-size=16384 run-p type-check \"build-only {@}\" --",
17
- "build:mf": "vite build --mode fmmf",
18
- "build:dts": "NODE_OPTIONS=--max-old-space-size=16384 vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist",
19
- "publish-npm": "yarn build && yarn npm publish --no-git-checks",
20
- "build-only": "dotenv -e .env.dev -- yarn build:mf && yarn build:dts",
21
- "build:dev": "cross-env NODE_ENV=dev vite build --mode dev",
22
- "build:prod": "vite build --mode prod",
23
- "type-check": "set NODE_OPTIONS=--max-old-space-size=16384 && vue-tsc --noEmit -p tsconfig.app.json --composite false",
24
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
25
- "format": "prettier --write src/"
26
- },
27
12
  "dependencies": {
28
13
  "@feedmepos/core": "^2.12.14",
29
14
  "@feedmepos/menu": "^1.2.4",
@@ -67,5 +52,20 @@
67
52
  "typescript": "~5.2.0",
68
53
  "vite": "^5.1.4",
69
54
  "vue-tsc": "^2.1.6"
55
+ },
56
+ "scripts": {
57
+ "dev": "vite --mode dev",
58
+ "prod": "cross-env NODE_ENV=prod vite --mode prod",
59
+ "preview": "vite preview",
60
+ "build": "NODE_OPTIONS=--max-old-space-size=16384 run-p type-check \"build-only {@}\" --",
61
+ "build:mf": "vite build --mode fmmf",
62
+ "build:dts": "NODE_OPTIONS=--max-old-space-size=16384 vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist",
63
+ "publish-npm": "yarn build && yarn npm publish --no-git-checks",
64
+ "build-only": "dotenv -e .env.dev -- yarn build:mf && yarn build:dts",
65
+ "build:dev": "cross-env NODE_ENV=dev vite build --mode dev",
66
+ "build:prod": "vite build --mode prod",
67
+ "type-check": "set NODE_OPTIONS=--max-old-space-size=16384 && vue-tsc --noEmit -p tsconfig.app.json --composite false",
68
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
69
+ "format": "prettier --write src/"
70
70
  }
71
71
  }
package/src/app.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { defineAsyncComponent } from "vue"
1
2
  import enUS from "./locales/en-US.json"
2
3
  import zhCN from "./locales/zh-CN.json"
3
4
  export type AppMessagesSchema = typeof enUS
@@ -7,5 +8,5 @@ export const i18nMessages = {
7
8
  "zh-CN": zhCN
8
9
  }
9
10
 
10
- export { default as FmApp } from './App.vue'
11
- export { routes as routers } from '../src/router/routes'
11
+ export const FmApp = defineAsyncComponent(() => import('./App.vue'))
12
+ export { routes as routers } from '../src/router/routes'