@feedmepos/mf-order-setting 0.0.31 → 0.0.33

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 (67) hide show
  1. package/dist/{KioskDevicesView-CWzmu0rZ.js → KioskDevicesView-CxZI99me.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CldPl8BW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-EGj4fxeN.js} +2 -2
  3. package/dist/{KioskSettingView-BsxOiUdj.js → KioskSettingView-CTDY8__s.js} +1 -1
  4. package/dist/{KioskView-DBnQe7Mp.js → KioskView-IUQTvUF8.js} +4 -4
  5. package/dist/{OrderSettingsView-BvDtRpI_.js → OrderSettingsView-VLE9yxNt.js} +9404 -9191
  6. package/dist/{app-G3iTmEHp.js → app-cd45Ryph.js} +12 -8
  7. package/dist/app.js +1 -1
  8. package/dist/common/convertor/index.d.ts +2 -0
  9. package/dist/{dayjs.min-ChzYZzP1.js → dayjs.min-CRAlrjJy.js} +1 -1
  10. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
  11. package/dist/frontend/mf-order/src/app.d.ts +4 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +4 -0
  13. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
  14. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +3 -1
  16. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -1
  17. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue.d.ts +46 -0
  18. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -4
  19. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{index-Bacw_1Kj.js → index-DLWAy-3K.js} +2 -2
  21. package/dist/{queue.do-BtfSllT8.js → menu.dto-DGDI6XwH.js} +24399 -23624
  22. package/dist/package/entity/booking/booking.do.d.ts +20 -20
  23. package/dist/package/entity/delivery/delivery.dto.d.ts +4 -4
  24. package/dist/package/entity/food-court/food-court.dto.d.ts +29 -29
  25. package/dist/package/entity/food-court/order.do.d.ts +4 -2
  26. package/dist/package/entity/food-court/order.dto.d.ts +9524 -91
  27. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +4 -4
  28. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +126 -0
  29. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +12 -12
  30. package/dist/package/entity/index.d.ts +23 -1
  31. package/dist/package/entity/kiosk/kiosk.do.d.ts +6 -6
  32. package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -6
  33. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +64 -17
  34. package/dist/package/entity/marketing/marketing.dto.d.ts +239 -0
  35. package/dist/package/entity/order/order-item/order-item.dto.d.ts +10 -2
  36. package/dist/package/entity/order/order.dto.d.ts +24 -16
  37. package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +523 -0
  38. package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +7814 -0
  39. package/dist/package/entity/order-platform/deliveroo/deliveroo-order.dto.d.ts +15 -0
  40. package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +37 -0
  41. package/dist/package/entity/order-platform/deliveroo/deliveroo.enum.d.ts +31 -0
  42. package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +2341 -0
  43. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +2073 -0
  44. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +736 -214
  45. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +3 -3
  46. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +3 -3
  47. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +4 -4
  48. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +2 -2
  49. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +4 -4
  50. package/dist/package/entity/order-platform/menu.dto.d.ts +44 -44
  51. package/dist/package/entity/order-platform/order-platform.enum.d.ts +6 -1
  52. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +59 -4
  53. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +32 -0
  54. package/dist/package/entity/queue/queue.do.d.ts +12 -0
  55. package/dist/package/entity/queue/queue.dto.d.ts +9 -9
  56. package/dist/package/entity/restaurant/restaurant.dto.d.ts +9 -9
  57. package/package.json +2 -2
  58. package/src/api/remoteOrder/index.ts +20 -2
  59. package/src/locales/en-US.json +1 -0
  60. package/src/locales/th-TH.json +1 -0
  61. package/src/locales/zh-CN.json +2 -0
  62. package/src/stores/restaurant/index.ts +12 -7
  63. package/src/views/order-settings/delivery/DeliverySetting.vue +141 -57
  64. package/src/views/order-settings/delivery/delivery.data.ts +10 -1
  65. package/src/views/order-settings/delivery/delivery.ts +34 -9
  66. package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +109 -0
  67. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +11 -10
@@ -16541,7 +16541,7 @@ export declare const OrderDto: z.ZodObject<{
16541
16541
  postcode: string;
16542
16542
  }>;
16543
16543
  phoneNo: z.ZodString;
16544
- email: z.ZodString;
16544
+ email: z.ZodDefault<z.ZodString>;
16545
16545
  regNo: z.ZodString;
16546
16546
  legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16547
16547
  sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -16911,6 +16911,7 @@ export declare const OrderDto: z.ZodObject<{
16911
16911
  code?: string | null | undefined;
16912
16912
  _id?: string | null | undefined;
16913
16913
  description?: string | null | undefined;
16914
+ email?: string | undefined;
16914
16915
  discovery?: boolean | null | undefined;
16915
16916
  legalName?: string | null | undefined;
16916
16917
  sstRegNo?: string | null | undefined;
@@ -16980,7 +16981,6 @@ export declare const OrderDto: z.ZodObject<{
16980
16981
  city: string;
16981
16982
  postcode: string;
16982
16983
  };
16983
- email: string;
16984
16984
  phoneNo: string;
16985
16985
  regNo: string;
16986
16986
  }>;
@@ -17308,6 +17308,7 @@ export declare const OrderDto: z.ZodObject<{
17308
17308
  code?: string | null | undefined;
17309
17309
  _id?: string | null | undefined;
17310
17310
  description?: string | null | undefined;
17311
+ email?: string | undefined;
17311
17312
  discovery?: boolean | null | undefined;
17312
17313
  legalName?: string | null | undefined;
17313
17314
  sstRegNo?: string | null | undefined;
@@ -17377,7 +17378,6 @@ export declare const OrderDto: z.ZodObject<{
17377
17378
  city: string;
17378
17379
  postcode: string;
17379
17380
  };
17380
- email: string;
17381
17381
  phoneNo: string;
17382
17382
  regNo: string;
17383
17383
  };
@@ -24094,6 +24094,7 @@ export declare const OrderDto: z.ZodObject<{
24094
24094
  code?: string | null | undefined;
24095
24095
  _id?: string | null | undefined;
24096
24096
  description?: string | null | undefined;
24097
+ email?: string | undefined;
24097
24098
  discovery?: boolean | null | undefined;
24098
24099
  legalName?: string | null | undefined;
24099
24100
  sstRegNo?: string | null | undefined;
@@ -24163,7 +24164,6 @@ export declare const OrderDto: z.ZodObject<{
24163
24164
  city: string;
24164
24165
  postcode: string;
24165
24166
  };
24166
- email: string;
24167
24167
  phoneNo: string;
24168
24168
  regNo: string;
24169
24169
  };
@@ -25800,7 +25800,7 @@ export declare const OrderKioskDto: z.ZodObject<{
25800
25800
  postcode: string;
25801
25801
  }>;
25802
25802
  phoneNo: z.ZodString;
25803
- email: z.ZodString;
25803
+ email: z.ZodDefault<z.ZodString>;
25804
25804
  regNo: z.ZodString;
25805
25805
  legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25806
25806
  sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -26170,6 +26170,7 @@ export declare const OrderKioskDto: z.ZodObject<{
26170
26170
  code?: string | null | undefined;
26171
26171
  _id?: string | null | undefined;
26172
26172
  description?: string | null | undefined;
26173
+ email?: string | undefined;
26173
26174
  discovery?: boolean | null | undefined;
26174
26175
  legalName?: string | null | undefined;
26175
26176
  sstRegNo?: string | null | undefined;
@@ -26239,7 +26240,6 @@ export declare const OrderKioskDto: z.ZodObject<{
26239
26240
  city: string;
26240
26241
  postcode: string;
26241
26242
  };
26242
- email: string;
26243
26243
  phoneNo: string;
26244
26244
  regNo: string;
26245
26245
  }>;
@@ -26567,6 +26567,7 @@ export declare const OrderKioskDto: z.ZodObject<{
26567
26567
  code?: string | null | undefined;
26568
26568
  _id?: string | null | undefined;
26569
26569
  description?: string | null | undefined;
26570
+ email?: string | undefined;
26570
26571
  discovery?: boolean | null | undefined;
26571
26572
  legalName?: string | null | undefined;
26572
26573
  sstRegNo?: string | null | undefined;
@@ -26636,7 +26637,6 @@ export declare const OrderKioskDto: z.ZodObject<{
26636
26637
  city: string;
26637
26638
  postcode: string;
26638
26639
  };
26639
- email: string;
26640
26640
  phoneNo: string;
26641
26641
  regNo: string;
26642
26642
  };
@@ -33365,6 +33365,7 @@ export declare const OrderKioskDto: z.ZodObject<{
33365
33365
  code?: string | null | undefined;
33366
33366
  _id?: string | null | undefined;
33367
33367
  description?: string | null | undefined;
33368
+ email?: string | undefined;
33368
33369
  discovery?: boolean | null | undefined;
33369
33370
  legalName?: string | null | undefined;
33370
33371
  sstRegNo?: string | null | undefined;
@@ -33434,7 +33435,6 @@ export declare const OrderKioskDto: z.ZodObject<{
33434
33435
  city: string;
33435
33436
  postcode: string;
33436
33437
  };
33437
- email: string;
33438
33438
  phoneNo: string;
33439
33439
  regNo: string;
33440
33440
  };
@@ -38374,7 +38374,7 @@ export declare const OrderPOSGetDto: z.ZodObject<{
38374
38374
  postcode: string;
38375
38375
  }>;
38376
38376
  phoneNo: z.ZodString;
38377
- email: z.ZodString;
38377
+ email: z.ZodDefault<z.ZodString>;
38378
38378
  regNo: z.ZodString;
38379
38379
  legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
38380
38380
  sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -38741,6 +38741,7 @@ export declare const OrderPOSGetDto: z.ZodObject<{
38741
38741
  }, {
38742
38742
  code?: string | null | undefined;
38743
38743
  url?: string | null | undefined;
38744
+ email?: string | undefined;
38744
38745
  description?: string | null | undefined;
38745
38746
  _id?: string | null | undefined;
38746
38747
  legalName?: string | null | undefined;
@@ -38811,7 +38812,6 @@ export declare const OrderPOSGetDto: z.ZodObject<{
38811
38812
  city: string;
38812
38813
  postcode: string;
38813
38814
  };
38814
- email: string;
38815
38815
  phoneNo: string;
38816
38816
  regNo: string;
38817
38817
  }>;
@@ -40680,6 +40680,7 @@ export declare const OrderPOSGetDto: z.ZodObject<{
40680
40680
  profile: {
40681
40681
  code?: string | null | undefined;
40682
40682
  url?: string | null | undefined;
40683
+ email?: string | undefined;
40683
40684
  description?: string | null | undefined;
40684
40685
  _id?: string | null | undefined;
40685
40686
  legalName?: string | null | undefined;
@@ -40750,7 +40751,6 @@ export declare const OrderPOSGetDto: z.ZodObject<{
40750
40751
  city: string;
40751
40752
  postcode: string;
40752
40753
  };
40753
- email: string;
40754
40754
  phoneNo: string;
40755
40755
  regNo: string;
40756
40756
  };
@@ -43751,6 +43751,7 @@ export declare const OrderPOSGetDto: z.ZodObject<{
43751
43751
  profile: {
43752
43752
  code?: string | null | undefined;
43753
43753
  url?: string | null | undefined;
43754
+ email?: string | undefined;
43754
43755
  description?: string | null | undefined;
43755
43756
  _id?: string | null | undefined;
43756
43757
  legalName?: string | null | undefined;
@@ -43821,7 +43822,6 @@ export declare const OrderPOSGetDto: z.ZodObject<{
43821
43822
  city: string;
43822
43823
  postcode: string;
43823
43824
  };
43824
- email: string;
43825
43825
  phoneNo: string;
43826
43826
  regNo: string;
43827
43827
  };
@@ -58500,7 +58500,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
58500
58500
  postcode: string;
58501
58501
  }>;
58502
58502
  phoneNo: z.ZodString;
58503
- email: z.ZodString;
58503
+ email: z.ZodDefault<z.ZodString>;
58504
58504
  regNo: z.ZodString;
58505
58505
  legalName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
58506
58506
  sstRegNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -58867,6 +58867,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
58867
58867
  }, {
58868
58868
  code?: string | null | undefined;
58869
58869
  url?: string | null | undefined;
58870
+ email?: string | undefined;
58870
58871
  description?: string | null | undefined;
58871
58872
  _id?: string | null | undefined;
58872
58873
  legalName?: string | null | undefined;
@@ -58937,7 +58938,6 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
58937
58938
  city: string;
58938
58939
  postcode: string;
58939
58940
  };
58940
- email: string;
58941
58941
  phoneNo: string;
58942
58942
  regNo: string;
58943
58943
  }>;
@@ -60806,6 +60806,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
60806
60806
  profile: {
60807
60807
  code?: string | null | undefined;
60808
60808
  url?: string | null | undefined;
60809
+ email?: string | undefined;
60809
60810
  description?: string | null | undefined;
60810
60811
  _id?: string | null | undefined;
60811
60812
  legalName?: string | null | undefined;
@@ -60876,7 +60877,6 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
60876
60877
  city: string;
60877
60878
  postcode: string;
60878
60879
  };
60879
- email: string;
60880
60880
  phoneNo: string;
60881
60881
  regNo: string;
60882
60882
  };
@@ -61855,6 +61855,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
61855
61855
  }>, "many">>>;
61856
61856
  unit: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61857
61857
  customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
61858
+ subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
61858
61859
  }, "strip", z.ZodTypeAny, {
61859
61860
  unit?: string | null | undefined;
61860
61861
  categoryName?: string | null | undefined;
@@ -61900,6 +61901,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
61900
61901
  systemCode: string;
61901
61902
  }[] | null | undefined;
61902
61903
  customAttributes?: Record<string, any> | null | undefined;
61904
+ subCategories?: string[] | null | undefined;
61903
61905
  code: string;
61904
61906
  name: string;
61905
61907
  price: {
@@ -61952,6 +61954,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
61952
61954
  systemCode: string;
61953
61955
  }[] | null | undefined;
61954
61956
  customAttributes?: Record<string, any> | null | undefined;
61957
+ subCategories?: string[] | null | undefined;
61955
61958
  code: string;
61956
61959
  name: string;
61957
61960
  price: {
@@ -62754,6 +62757,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
62754
62757
  systemCode: string;
62755
62758
  }[] | null | undefined;
62756
62759
  customAttributes?: Record<string, any> | null | undefined;
62760
+ subCategories?: string[] | null | undefined;
62757
62761
  code: string;
62758
62762
  name: string;
62759
62763
  price: {
@@ -62990,6 +62994,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
62990
62994
  systemCode: string;
62991
62995
  }[] | null | undefined;
62992
62996
  customAttributes?: Record<string, any> | null | undefined;
62997
+ subCategories?: string[] | null | undefined;
62993
62998
  code: string;
62994
62999
  name: string;
62995
63000
  price: {
@@ -63772,6 +63777,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
63772
63777
  systemCode: string;
63773
63778
  }[] | null | undefined;
63774
63779
  customAttributes?: Record<string, any> | null | undefined;
63780
+ subCategories?: string[] | null | undefined;
63775
63781
  code: string;
63776
63782
  name: string;
63777
63783
  price: {
@@ -64148,6 +64154,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
64148
64154
  profile: {
64149
64155
  code?: string | null | undefined;
64150
64156
  url?: string | null | undefined;
64157
+ email?: string | undefined;
64151
64158
  description?: string | null | undefined;
64152
64159
  _id?: string | null | undefined;
64153
64160
  legalName?: string | null | undefined;
@@ -64218,7 +64225,6 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
64218
64225
  city: string;
64219
64226
  postcode: string;
64220
64227
  };
64221
- email: string;
64222
64228
  phoneNo: string;
64223
64229
  regNo: string;
64224
64230
  };
@@ -64499,6 +64505,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
64499
64505
  systemCode: string;
64500
64506
  }[] | null | undefined;
64501
64507
  customAttributes?: Record<string, any> | null | undefined;
64508
+ subCategories?: string[] | null | undefined;
64502
64509
  code: string;
64503
64510
  name: string;
64504
64511
  price: {
@@ -64735,6 +64742,7 @@ export declare const FdtoRerunOrderRequest: z.ZodObject<{
64735
64742
  systemCode: string;
64736
64743
  }[] | null | undefined;
64737
64744
  customAttributes?: Record<string, any> | null | undefined;
64745
+ subCategories?: string[] | null | undefined;
64738
64746
  code: string;
64739
64747
  name: string;
64740
64748
  price: {