@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
@@ -154,13 +154,16 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
154
154
  name: z.ZodString;
155
155
  unit_list_price: z.ZodNumber;
156
156
  unit_price: z.ZodNumber;
157
+ merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
157
158
  }, "strip", z.ZodTypeAny, {
159
+ merchant_item_subsidy_amount?: number | null | undefined;
158
160
  name: string;
159
161
  id: string;
160
162
  external_id: string;
161
163
  unit_list_price: number;
162
164
  unit_price: number;
163
165
  }, {
166
+ merchant_item_subsidy_amount?: number | null | undefined;
164
167
  name: string;
165
168
  id: string;
166
169
  external_id: string;
@@ -221,6 +224,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
221
224
  external_id: string;
222
225
  }[] | null | undefined;
223
226
  dish: {
227
+ merchant_item_subsidy_amount?: number | null | undefined;
224
228
  name: string;
225
229
  id: string;
226
230
  external_id: string;
@@ -240,6 +244,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
240
244
  external_id: string;
241
245
  }[] | null | undefined;
242
246
  dish: {
247
+ merchant_item_subsidy_amount?: number | null | undefined;
243
248
  name: string;
244
249
  id: string;
245
250
  external_id: string;
@@ -271,6 +276,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
271
276
  external_id: string;
272
277
  }[] | null | undefined;
273
278
  dish: {
279
+ merchant_item_subsidy_amount?: number | null | undefined;
274
280
  name: string;
275
281
  id: string;
276
282
  external_id: string;
@@ -297,6 +303,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
297
303
  external_id: string;
298
304
  }[] | null | undefined;
299
305
  dish: {
306
+ merchant_item_subsidy_amount?: number | null | undefined;
300
307
  name: string;
301
308
  id: string;
302
309
  external_id: string;
@@ -404,6 +411,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
404
411
  external_id: string;
405
412
  }[] | null | undefined;
406
413
  dish: {
414
+ merchant_item_subsidy_amount?: number | null | undefined;
407
415
  name: string;
408
416
  id: string;
409
417
  external_id: string;
@@ -476,6 +484,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
476
484
  external_id: string;
477
485
  }[] | null | undefined;
478
486
  dish: {
487
+ merchant_item_subsidy_amount?: number | null | undefined;
479
488
  name: string;
480
489
  id: string;
481
490
  external_id: string;
@@ -550,6 +559,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
550
559
  external_id: string;
551
560
  }[] | null | undefined;
552
561
  dish: {
562
+ merchant_item_subsidy_amount?: number | null | undefined;
553
563
  name: string;
554
564
  id: string;
555
565
  external_id: string;
@@ -626,6 +636,7 @@ export declare const FdtoShopeefoodGetOrderRes: z.ZodObject<{
626
636
  external_id: string;
627
637
  }[] | null | undefined;
628
638
  dish: {
639
+ merchant_item_subsidy_amount?: number | null | undefined;
629
640
  name: string;
630
641
  id: string;
631
642
  external_id: string;
@@ -754,13 +765,16 @@ export declare const SFGetOrderRes: z.ZodObject<{
754
765
  name: z.ZodString;
755
766
  unit_list_price: z.ZodNumber;
756
767
  unit_price: z.ZodNumber;
768
+ merchant_item_subsidy_amount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
757
769
  }, "strip", z.ZodTypeAny, {
770
+ merchant_item_subsidy_amount?: number | null | undefined;
758
771
  name: string;
759
772
  id: string;
760
773
  external_id: string;
761
774
  unit_list_price: number;
762
775
  unit_price: number;
763
776
  }, {
777
+ merchant_item_subsidy_amount?: number | null | undefined;
764
778
  name: string;
765
779
  id: string;
766
780
  external_id: string;
@@ -821,6 +835,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
821
835
  external_id: string;
822
836
  }[] | null | undefined;
823
837
  dish: {
838
+ merchant_item_subsidy_amount?: number | null | undefined;
824
839
  name: string;
825
840
  id: string;
826
841
  external_id: string;
@@ -840,6 +855,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
840
855
  external_id: string;
841
856
  }[] | null | undefined;
842
857
  dish: {
858
+ merchant_item_subsidy_amount?: number | null | undefined;
843
859
  name: string;
844
860
  id: string;
845
861
  external_id: string;
@@ -871,6 +887,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
871
887
  external_id: string;
872
888
  }[] | null | undefined;
873
889
  dish: {
890
+ merchant_item_subsidy_amount?: number | null | undefined;
874
891
  name: string;
875
892
  id: string;
876
893
  external_id: string;
@@ -897,6 +914,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
897
914
  external_id: string;
898
915
  }[] | null | undefined;
899
916
  dish: {
917
+ merchant_item_subsidy_amount?: number | null | undefined;
900
918
  name: string;
901
919
  id: string;
902
920
  external_id: string;
@@ -1004,6 +1022,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
1004
1022
  external_id: string;
1005
1023
  }[] | null | undefined;
1006
1024
  dish: {
1025
+ merchant_item_subsidy_amount?: number | null | undefined;
1007
1026
  name: string;
1008
1027
  id: string;
1009
1028
  external_id: string;
@@ -1076,6 +1095,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
1076
1095
  external_id: string;
1077
1096
  }[] | null | undefined;
1078
1097
  dish: {
1098
+ merchant_item_subsidy_amount?: number | null | undefined;
1079
1099
  name: string;
1080
1100
  id: string;
1081
1101
  external_id: string;
@@ -1150,6 +1170,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
1150
1170
  external_id: string;
1151
1171
  }[] | null | undefined;
1152
1172
  dish: {
1173
+ merchant_item_subsidy_amount?: number | null | undefined;
1153
1174
  name: string;
1154
1175
  id: string;
1155
1176
  external_id: string;
@@ -1226,6 +1247,7 @@ export declare const SFGetOrderRes: z.ZodObject<{
1226
1247
  external_id: string;
1227
1248
  }[] | null | undefined;
1228
1249
  dish: {
1250
+ merchant_item_subsidy_amount?: number | null | undefined;
1229
1251
  name: string;
1230
1252
  id: string;
1231
1253
  external_id: string;
@@ -86,6 +86,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
86
86
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
87
87
  lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
88
88
  autoCloseBill: z.ZodBoolean;
89
+ printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
89
90
  reportConfig: z.ZodObject<{
90
91
  commissionRate: z.ZodNumber;
91
92
  discountCampaigns: z.ZodArray<z.ZodObject<{
@@ -145,6 +146,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
145
146
  status?: string | null | undefined;
146
147
  _id?: string | undefined;
147
148
  catalogId?: string | null | undefined;
149
+ printReceiptAfterClose?: boolean | null | undefined;
148
150
  lastSynchronize?: string | null | undefined;
149
151
  showProductAddon?: boolean | null | undefined;
150
152
  updatedAt?: string | null | undefined;
@@ -167,6 +169,7 @@ export declare const FdoShopeeFoodSettings: z.ZodObject<z.extendShape<{
167
169
  status?: string | null | undefined;
168
170
  _id?: string | undefined;
169
171
  catalogId?: string | null | undefined;
172
+ printReceiptAfterClose?: boolean | null | undefined;
170
173
  lastSynchronize?: string | null | undefined;
171
174
  showProductAddon?: boolean | null | undefined;
172
175
  updatedAt?: string | null | undefined;
@@ -7,6 +7,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
7
7
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
8
  lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9
9
  autoCloseBill: z.ZodBoolean;
10
+ printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
10
11
  reportConfig: z.ZodObject<{
11
12
  commissionRate: z.ZodNumber;
12
13
  discountCampaigns: z.ZodArray<z.ZodObject<{
@@ -66,6 +67,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
66
67
  status?: string | null | undefined;
67
68
  _id?: string | undefined;
68
69
  catalogId?: string | null | undefined;
70
+ printReceiptAfterClose?: boolean | null | undefined;
69
71
  lastSynchronize?: string | null | undefined;
70
72
  showProductAddon?: boolean | null | undefined;
71
73
  updatedAt?: string | null | undefined;
@@ -88,6 +90,7 @@ export declare const FdtoCreateOrUpdateShopeeFoodSettings: z.ZodObject<Omit<z.ex
88
90
  status?: string | null | undefined;
89
91
  _id?: string | undefined;
90
92
  catalogId?: string | null | undefined;
93
+ printReceiptAfterClose?: boolean | null | undefined;
91
94
  lastSynchronize?: string | null | undefined;
92
95
  showProductAddon?: boolean | null | undefined;
93
96
  updatedAt?: string | null | undefined;