@feedmepos/mf-order-setting 0.0.85 → 0.0.86

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 (84) hide show
  1. package/dist/{DisplaySystemView-hmlT9gsb.js → DisplaySystemView-DjFBEWoq.js} +1 -1
  2. package/dist/{KioskDevicesView-fW6M9Hao.js → KioskDevicesView-RKMdLuB3.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js} +3 -3
  4. package/dist/{KioskSettingView-BdEPftHH.js → KioskSettingView-CzelEig6.js} +3 -3
  5. package/dist/{KioskView-Bwk9S0tc.js → KioskView-Bi5Kc4cS.js} +35 -30
  6. package/dist/OrderSettingsView-BfxrjGAi.js +68958 -0
  7. package/dist/{app-BnrruYco.js → app-Bg-n-Eug.js} +8316 -7952
  8. package/dist/app.js +1 -1
  9. package/dist/common/index.d.ts +6 -7
  10. package/dist/frontend/mf-order/src/app.d.ts +24 -8
  11. package/dist/frontend/mf-order/src/main.d.ts +24 -8
  12. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
  13. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +18 -99
  14. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +1 -0
  15. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +3 -0
  16. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +12 -1
  17. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +12 -0
  18. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +3 -0
  19. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{index-LyvBqKnv.js → index-0eYg6XEb.js} +1 -1
  21. package/dist/{index-D5wABuUx.js → index-C7Ug4fCi.js} +1 -1
  22. package/dist/{index-D7IWjZdy.js → index-g_rocKrp.js} +2 -2
  23. package/dist/order.dto-MKeJAj6d.js +39215 -0
  24. package/dist/package/entity/alert/investigation.dto.d.ts +3 -0
  25. package/dist/package/entity/alert/suggestion.dto.d.ts +3 -0
  26. package/dist/package/entity/delivery/delivery.dto.d.ts +1 -11
  27. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +89 -51
  28. package/dist/package/entity/index.d.ts +0 -7
  29. package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -0
  30. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +26 -0
  31. package/dist/package/entity/member/member.dto.d.ts +12 -12
  32. package/dist/package/entity/order/dine-in/dine-in.do.d.ts +9 -159
  33. package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +3 -17
  34. package/dist/package/entity/order/effects/effect.dto.d.ts +32 -0
  35. package/dist/package/entity/order/menu/menu.dto.d.ts +6 -144
  36. package/dist/package/entity/order/order.do.d.ts +109 -269
  37. package/dist/package/entity/order/order.dto.d.ts +408 -782
  38. package/dist/package/entity/order/order.enum.d.ts +1 -1
  39. package/dist/package/entity/order/timeslot/timeslot.dto.d.ts +4 -4
  40. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +1 -11
  41. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +1 -11
  42. package/dist/package/entity/order-platform/order-platform.dto.d.ts +278 -234
  43. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +1 -11
  44. package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
  45. package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
  46. package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +65 -0
  47. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +1004 -0
  48. package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -337
  49. package/dist/package/entity/order-setting/order-setting.dto.d.ts +879 -678
  50. package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
  51. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +0 -41
  52. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +0 -43
  53. package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
  54. package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
  55. package/dist/package/entity/queue/queue.do.d.ts +2 -2
  56. package/dist/package/entity/queue/queue.dto.d.ts +49 -65
  57. package/dist/package/entity/restaurant/restaurant.dto.d.ts +11 -0
  58. package/dist/package/entity/websocket/websocket.dto.d.ts +33 -161
  59. package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
  60. package/dist/style.css +1 -1
  61. package/package.json +2 -2
  62. package/src/locales/en-US.json +6 -2
  63. package/src/locales/ja-JP.json +6 -2
  64. package/src/locales/th-TH.json +6 -2
  65. package/src/locales/zh-CN.json +6 -2
  66. package/src/modules/order-setting/kiosk/interface.ts +12 -0
  67. package/src/stores/order-setting/mapper.spec.ts +36 -0
  68. package/src/stores/order-setting/mapper.ts +5 -0
  69. package/src/views/order-settings/delivery/DeliverySetting.vue +5 -5
  70. package/src/views/order-settings/delivery/delivery.spec.ts +34 -0
  71. package/src/views/order-settings/delivery/delivery.ts +14 -1
  72. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +10 -1
  73. package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +121 -22
  74. package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +161 -10
  75. package/dist/OrderSettingsView-DVXfVdXj.js +0 -94831
  76. package/dist/common/booking/index.d.ts +0 -38
  77. package/dist/order.dto-D7HGiueX.js +0 -43514
  78. package/dist/package/entity/booking/booking.do.d.ts +0 -17197
  79. package/dist/package/entity/booking/booking.dto.d.ts +0 -305
  80. package/dist/package/entity/booking/booking.enum.d.ts +0 -7
  81. package/dist/package/entity/order/dine-in/reservation.do.d.ts +0 -75
  82. package/dist/package/entity/order/dine-in/reservation.dto.d.ts +0 -15
  83. package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +0 -662
  84. package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +0 -527
@@ -42,6 +42,7 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
42
42
  larkLink: z.ZodOptional<z.ZodString>;
43
43
  suggestionRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
44
44
  alertRecordIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
+ ticketRecordIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
46
  }, "strip", z.ZodTypeAny, {
46
47
  source?: string | undefined;
47
48
  summary?: string | undefined;
@@ -67,6 +68,7 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
67
68
  larkLink?: string | undefined;
68
69
  suggestionRefs?: string[] | undefined;
69
70
  alertRecordIds?: string[] | undefined;
71
+ ticketRecordIds?: string[] | undefined;
70
72
  issueKey: string;
71
73
  }, {
72
74
  source?: string | undefined;
@@ -93,6 +95,7 @@ export declare const FdtoInvestigationLog: z.ZodObject<{
93
95
  larkLink?: string | undefined;
94
96
  suggestionRefs?: string[] | undefined;
95
97
  alertRecordIds?: string[] | undefined;
98
+ ticketRecordIds?: string[] | undefined;
96
99
  issueKey: string;
97
100
  }>;
98
101
  export declare function parseInvestigationLogPayload(input: unknown): {
@@ -6,8 +6,10 @@ export declare const FdtoSuggestion: z.ZodObject<{
6
6
  details: z.ZodString;
7
7
  urgency: z.ZodEnum<["low", "medium", "high"]>;
8
8
  alertRecordId: z.ZodOptional<z.ZodString>;
9
+ ticketRecordId: z.ZodOptional<z.ZodString>;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  alertRecordId?: string | undefined;
12
+ ticketRecordId?: string | undefined;
11
13
  details: string;
12
14
  summary: string;
13
15
  signature: string;
@@ -15,6 +17,7 @@ export declare const FdtoSuggestion: z.ZodObject<{
15
17
  urgency: "low" | "medium" | "high";
16
18
  }, {
17
19
  alertRecordId?: string | undefined;
20
+ ticketRecordId?: string | undefined;
18
21
  details: string;
19
22
  summary: string;
20
23
  signature: string;
@@ -8031,17 +8031,7 @@ declare const FdtoCreateDelivery: z.ZodObject<{
8031
8031
  warehouseQuota: number;
8032
8032
  menuVersion: string;
8033
8033
  }>>>;
8034
- features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
8035
- stock: string;
8036
- discovery: string;
8037
- pickup: string;
8038
- delivery: string;
8039
- foodpanda: string;
8040
- deliveryIntegration: string;
8041
- kds: string;
8042
- ods: string;
8043
- queue: string;
8044
- }>, "many">>>;
8034
+ features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
8045
8035
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
8046
8036
  machineOtp: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8047
8037
  machineOtpExpiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -10306,26 +10306,26 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10306
10306
  amount: z.ZodNumber;
10307
10307
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
10308
10308
  }, "strip", z.ZodTypeAny, {
10309
- _id: string;
10310
10309
  amount: number;
10310
+ _id: string;
10311
10311
  expiredAt: string;
10312
10312
  }, {
10313
- _id: string;
10314
10313
  amount: number;
10314
+ _id: string;
10315
10315
  expiredAt: string;
10316
10316
  }>, "many">;
10317
10317
  }, "strip", z.ZodTypeAny, {
10318
10318
  normal: number;
10319
10319
  free: {
10320
- _id: string;
10321
10320
  amount: number;
10321
+ _id: string;
10322
10322
  expiredAt: string;
10323
10323
  }[];
10324
10324
  }, {
10325
10325
  normal: number;
10326
10326
  free: {
10327
- _id: string;
10328
10327
  amount: number;
10328
+ _id: string;
10329
10329
  expiredAt: string;
10330
10330
  }[];
10331
10331
  }>;
@@ -10446,8 +10446,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10446
10446
  creditBalance: {
10447
10447
  normal: number;
10448
10448
  free: {
10449
- _id: string;
10450
10449
  amount: number;
10450
+ _id: string;
10451
10451
  expiredAt: string;
10452
10452
  }[];
10453
10453
  };
@@ -10560,8 +10560,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10560
10560
  creditBalance: {
10561
10561
  normal: number;
10562
10562
  free: {
10563
- _id: string;
10564
10563
  amount: number;
10564
+ _id: string;
10565
10565
  expiredAt: string;
10566
10566
  }[];
10567
10567
  };
@@ -10581,26 +10581,26 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10581
10581
  amount: z.ZodNumber;
10582
10582
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
10583
10583
  }, "strip", z.ZodTypeAny, {
10584
- _id: string;
10585
10584
  amount: number;
10585
+ _id: string;
10586
10586
  expiredAt: string;
10587
10587
  }, {
10588
- _id: string;
10589
10588
  amount: number;
10589
+ _id: string;
10590
10590
  expiredAt: string;
10591
10591
  }>, "many">;
10592
10592
  }, "strip", z.ZodTypeAny, {
10593
10593
  normal: number;
10594
10594
  free: {
10595
- _id: string;
10596
10595
  amount: number;
10596
+ _id: string;
10597
10597
  expiredAt: string;
10598
10598
  }[];
10599
10599
  }, {
10600
10600
  normal: number;
10601
10601
  free: {
10602
- _id: string;
10603
10602
  amount: number;
10603
+ _id: string;
10604
10604
  expiredAt: string;
10605
10605
  }[];
10606
10606
  }>;
@@ -10611,26 +10611,26 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10611
10611
  amount: z.ZodNumber;
10612
10612
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
10613
10613
  }, "strip", z.ZodTypeAny, {
10614
- _id: string;
10615
10614
  amount: number;
10615
+ _id: string;
10616
10616
  expiredAt: string;
10617
10617
  }, {
10618
- _id: string;
10619
10618
  amount: number;
10619
+ _id: string;
10620
10620
  expiredAt: string;
10621
10621
  }>, "many">;
10622
10622
  }, "strip", z.ZodTypeAny, {
10623
10623
  normal: number;
10624
10624
  free: {
10625
- _id: string;
10626
10625
  amount: number;
10626
+ _id: string;
10627
10627
  expiredAt: string;
10628
10628
  }[];
10629
10629
  }, {
10630
10630
  normal: number;
10631
10631
  free: {
10632
- _id: string;
10633
10632
  amount: number;
10633
+ _id: string;
10634
10634
  expiredAt: string;
10635
10635
  }[];
10636
10636
  }>;
@@ -10640,12 +10640,12 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
10640
10640
  amount: z.ZodNumber;
10641
10641
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
10642
10642
  }, "strip", z.ZodTypeAny, {
10643
- _id: string;
10644
10643
  amount: number;
10644
+ _id: string;
10645
10645
  expiredAt: string;
10646
10646
  }, {
10647
- _id: string;
10648
10647
  amount: number;
10648
+ _id: string;
10649
10649
  expiredAt: string;
10650
10650
  }>, "many">;
10651
10651
  createdAt: z.ZodEffects<z.ZodString, string, string>;
@@ -11135,17 +11135,7 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
11135
11135
  warehouseQuota: number;
11136
11136
  menuVersion: string;
11137
11137
  }>>>;
11138
- features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
11139
- stock: string;
11140
- discovery: string;
11141
- pickup: string;
11142
- delivery: string;
11143
- foodpanda: string;
11144
- deliveryIntegration: string;
11145
- kds: string;
11146
- ods: string;
11147
- queue: string;
11148
- }>, "many">>>;
11138
+ features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
11149
11139
  expiredAt: z.ZodEffects<z.ZodString, string, string>;
11150
11140
  machineOtp: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11151
11141
  machineOtpExpiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
@@ -13804,8 +13794,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
13804
13794
  creditBalance: {
13805
13795
  normal: number;
13806
13796
  free: {
13807
- _id: string;
13808
13797
  amount: number;
13798
+ _id: string;
13809
13799
  expiredAt: string;
13810
13800
  }[];
13811
13801
  };
@@ -13821,28 +13811,28 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
13821
13811
  from: {
13822
13812
  normal: number;
13823
13813
  free: {
13824
- _id: string;
13825
13814
  amount: number;
13815
+ _id: string;
13826
13816
  expiredAt: string;
13827
13817
  }[];
13828
13818
  };
13829
13819
  to: {
13830
13820
  normal: number;
13831
13821
  free: {
13832
- _id: string;
13833
13822
  amount: number;
13823
+ _id: string;
13834
13824
  expiredAt: string;
13835
13825
  }[];
13836
13826
  };
13827
+ member: string;
13837
13828
  createdAt: string;
13838
13829
  free: {
13839
- _id: string;
13840
13830
  amount: number;
13831
+ _id: string;
13841
13832
  expiredAt: string;
13842
13833
  }[];
13843
13834
  ref: string;
13844
13835
  business: string;
13845
- member: string;
13846
13836
  refunded: boolean;
13847
13837
  }, {
13848
13838
  remark?: string | null | undefined;
@@ -14377,8 +14367,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
14377
14367
  creditBalance: {
14378
14368
  normal: number;
14379
14369
  free: {
14380
- _id: string;
14381
14370
  amount: number;
14371
+ _id: string;
14382
14372
  expiredAt: string;
14383
14373
  }[];
14384
14374
  };
@@ -14394,28 +14384,28 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
14394
14384
  from: {
14395
14385
  normal: number;
14396
14386
  free: {
14397
- _id: string;
14398
14387
  amount: number;
14388
+ _id: string;
14399
14389
  expiredAt: string;
14400
14390
  }[];
14401
14391
  };
14402
14392
  to: {
14403
14393
  normal: number;
14404
14394
  free: {
14405
- _id: string;
14406
14395
  amount: number;
14396
+ _id: string;
14407
14397
  expiredAt: string;
14408
14398
  }[];
14409
14399
  };
14400
+ member: string;
14410
14401
  createdAt: string;
14411
14402
  free: {
14412
- _id: string;
14413
14403
  amount: number;
14404
+ _id: string;
14414
14405
  expiredAt: string;
14415
14406
  }[];
14416
14407
  ref: string;
14417
14408
  business: string;
14418
- member: string;
14419
14409
  refunded: boolean;
14420
14410
  }>, "many">>>;
14421
14411
  }, "strip", z.ZodTypeAny, {
@@ -15502,8 +15492,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
15502
15492
  creditBalance: {
15503
15493
  normal: number;
15504
15494
  free: {
15505
- _id: string;
15506
15495
  amount: number;
15496
+ _id: string;
15507
15497
  expiredAt: string;
15508
15498
  }[];
15509
15499
  };
@@ -15519,28 +15509,28 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
15519
15509
  from: {
15520
15510
  normal: number;
15521
15511
  free: {
15522
- _id: string;
15523
15512
  amount: number;
15513
+ _id: string;
15524
15514
  expiredAt: string;
15525
15515
  }[];
15526
15516
  };
15527
15517
  to: {
15528
15518
  normal: number;
15529
15519
  free: {
15530
- _id: string;
15531
15520
  amount: number;
15521
+ _id: string;
15532
15522
  expiredAt: string;
15533
15523
  }[];
15534
15524
  };
15525
+ member: string;
15535
15526
  createdAt: string;
15536
15527
  free: {
15537
- _id: string;
15538
15528
  amount: number;
15529
+ _id: string;
15539
15530
  expiredAt: string;
15540
15531
  }[];
15541
15532
  ref: string;
15542
15533
  business: string;
15543
- member: string;
15544
15534
  refunded: boolean;
15545
15535
  }[] | null | undefined;
15546
15536
  type: "cash" | "ePayment" | "credit" | "ePaymentSandbox";
@@ -16529,8 +16519,8 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
16529
16519
  creditBalance: {
16530
16520
  normal: number;
16531
16521
  free: {
16532
- _id: string;
16533
16522
  amount: number;
16523
+ _id: string;
16534
16524
  expiredAt: string;
16535
16525
  }[];
16536
16526
  };
@@ -16546,28 +16536,28 @@ export declare const FdtoPosOrderPayment: z.ZodObject<{
16546
16536
  from: {
16547
16537
  normal: number;
16548
16538
  free: {
16549
- _id: string;
16550
16539
  amount: number;
16540
+ _id: string;
16551
16541
  expiredAt: string;
16552
16542
  }[];
16553
16543
  };
16554
16544
  to: {
16555
16545
  normal: number;
16556
16546
  free: {
16557
- _id: string;
16558
16547
  amount: number;
16548
+ _id: string;
16559
16549
  expiredAt: string;
16560
16550
  }[];
16561
16551
  };
16552
+ member: string;
16562
16553
  createdAt: string;
16563
16554
  free: {
16564
- _id: string;
16565
16555
  amount: number;
16556
+ _id: string;
16566
16557
  expiredAt: string;
16567
16558
  }[];
16568
16559
  ref: string;
16569
16560
  business: string;
16570
- member: string;
16571
16561
  refunded: boolean;
16572
16562
  }[] | null | undefined;
16573
16563
  type: "cash" | "ePayment" | "credit" | "ePaymentSandbox";
@@ -17265,15 +17255,39 @@ export declare const FdtoOrderItem: z.ZodObject<{
17265
17255
  ignoreMinPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
17266
17256
  afterTaxLevel: z.ZodNumber;
17267
17257
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17258
+ targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
17259
+ calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
17260
+ calculationOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
17261
+ subItemAllocations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
17262
+ path: z.ZodArray<z.ZodNumber, "many">;
17263
+ selection: z.ZodString;
17264
+ unitIndexes: z.ZodArray<z.ZodNumber, "many">;
17265
+ }, "strip", z.ZodTypeAny, {
17266
+ path: number[];
17267
+ selection: string;
17268
+ unitIndexes: number[];
17269
+ }, {
17270
+ path: number[];
17271
+ selection: string;
17272
+ unitIndexes: number[];
17273
+ }>, "many">>>;
17268
17274
  }, "strip", z.ZodTypeAny, {
17269
17275
  reason?: string | null | undefined;
17276
+ referenceId?: string | null | undefined;
17270
17277
  remark?: string | null | undefined;
17271
17278
  excludeAddonPrice?: boolean | null | undefined;
17272
- referenceId?: string | null | undefined;
17273
17279
  adjustmentRule?: {
17274
17280
  type: "CAPPED_AT";
17275
17281
  } | null | undefined;
17276
17282
  ignoreMinPrice?: boolean | null | undefined;
17283
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
17284
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
17285
+ calculationOrder?: number | null | undefined;
17286
+ subItemAllocations?: {
17287
+ path: number[];
17288
+ selection: string;
17289
+ unitIndexes: number[];
17290
+ }[] | null | undefined;
17277
17291
  total: {
17278
17292
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
17279
17293
  amount: number;
@@ -17299,13 +17313,21 @@ export declare const FdtoOrderItem: z.ZodObject<{
17299
17313
  afterTaxLevel: number;
17300
17314
  }, {
17301
17315
  reason?: string | null | undefined;
17316
+ referenceId?: string | null | undefined;
17302
17317
  remark?: string | null | undefined;
17303
17318
  excludeAddonPrice?: boolean | null | undefined;
17304
- referenceId?: string | null | undefined;
17305
17319
  adjustmentRule?: {
17306
17320
  type: "CAPPED_AT";
17307
17321
  } | null | undefined;
17308
17322
  ignoreMinPrice?: boolean | null | undefined;
17323
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
17324
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
17325
+ calculationOrder?: number | null | undefined;
17326
+ subItemAllocations?: {
17327
+ path: number[];
17328
+ selection: string;
17329
+ unitIndexes: number[];
17330
+ }[] | null | undefined;
17309
17331
  total: {
17310
17332
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
17311
17333
  amount: number;
@@ -17437,13 +17459,21 @@ export declare const FdtoOrderItem: z.ZodObject<{
17437
17459
  } | null | undefined;
17438
17460
  adjustment?: Record<string, {
17439
17461
  reason?: string | null | undefined;
17462
+ referenceId?: string | null | undefined;
17440
17463
  remark?: string | null | undefined;
17441
17464
  excludeAddonPrice?: boolean | null | undefined;
17442
- referenceId?: string | null | undefined;
17443
17465
  adjustmentRule?: {
17444
17466
  type: "CAPPED_AT";
17445
17467
  } | null | undefined;
17446
17468
  ignoreMinPrice?: boolean | null | undefined;
17469
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
17470
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
17471
+ calculationOrder?: number | null | undefined;
17472
+ subItemAllocations?: {
17473
+ path: number[];
17474
+ selection: string;
17475
+ unitIndexes: number[];
17476
+ }[] | null | undefined;
17447
17477
  total: {
17448
17478
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
17449
17479
  amount: number;
@@ -17574,13 +17604,21 @@ export declare const FdtoOrderItem: z.ZodObject<{
17574
17604
  } | null | undefined;
17575
17605
  adjustment?: Record<string, {
17576
17606
  reason?: string | null | undefined;
17607
+ referenceId?: string | null | undefined;
17577
17608
  remark?: string | null | undefined;
17578
17609
  excludeAddonPrice?: boolean | null | undefined;
17579
- referenceId?: string | null | undefined;
17580
17610
  adjustmentRule?: {
17581
17611
  type: "CAPPED_AT";
17582
17612
  } | null | undefined;
17583
17613
  ignoreMinPrice?: boolean | null | undefined;
17614
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
17615
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
17616
+ calculationOrder?: number | null | undefined;
17617
+ subItemAllocations?: {
17618
+ path: number[];
17619
+ selection: string;
17620
+ unitIndexes: number[];
17621
+ }[] | null | undefined;
17584
17622
  total: {
17585
17623
  currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
17586
17624
  amount: number;
@@ -9,7 +9,6 @@ export * from './alert/categories/integration';
9
9
  export * from './alert/categories/kiosk';
10
10
  export * from './alert/categories/mini-program';
11
11
  export * from './auth/auth.dto';
12
- export * from './booking/booking.enum';
13
12
  export * from './business/business.dto';
14
13
  export * from './clickup/clickup.dto';
15
14
  export * from './cursor/cursor.dto';
@@ -82,8 +81,6 @@ export * from './order-setting/auto-accept.dto';
82
81
  export * from './order-setting/auto-send.resolve';
83
82
  export * from './order-setting/queue/queue.do';
84
83
  export * from './order-setting/queue/queue.dto';
85
- export * from './order-setting/reservation/reservation.do';
86
- export * from './order-setting/reservation/reservation.dto';
87
84
  export * from './order-setting/sequence/sequence.do';
88
85
  export * from './order-setting/sequence/sequence.dto';
89
86
  export * from './order-setting/sms/sms.do';
@@ -97,8 +94,6 @@ export * from './order-setting/v3/v3.enum';
97
94
  export * from './order/dine-in/dine-in.dto';
98
95
  export * from './order/dine-in/qr.do';
99
96
  export * from './order/dine-in/qr.dto';
100
- export * from './order/dine-in/reservation.do';
101
- export * from './order/dine-in/reservation.dto';
102
97
  export * from './order/effects/effect.enum';
103
98
  export * from './order/manager/manager.dto';
104
99
  export * from './order/manager/manager.enum';
@@ -120,8 +115,6 @@ export * from './queue/queue.enum';
120
115
  export * from './restaurant/restaurant.dto';
121
116
  export * from './user/user.do';
122
117
  export * from './websocket/websocket.enum';
123
- export * from './booking/booking.do';
124
- export * from './booking/booking.dto';
125
118
  export * from './delivery/gateway/kosmo.dto';
126
119
  export * from './delivery/gateway/pandago.dto';
127
120
  export * from './incoming-order/incoming-order.do';
@@ -29,10 +29,16 @@ export declare const KioskBindDto: z.ZodObject<{
29
29
  }>;
30
30
  export declare const KioskBindResultDto: z.ZodObject<{
31
31
  token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
+ restaurantId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
+ restaurantName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
32
34
  }, "strip", z.ZodTypeAny, {
35
+ restaurantId?: string | null | undefined;
33
36
  token?: string | null | undefined;
37
+ restaurantName?: string | null | undefined;
34
38
  }, {
39
+ restaurantId?: string | null | undefined;
35
40
  token?: string | null | undefined;
41
+ restaurantName?: string | null | undefined;
36
42
  }>;
37
43
  export declare const KioskTerminalInfoDto: z.ZodObject<{
38
44
  gateway: z.ZodLiteral<"E_GHL">;
@@ -114,10 +114,16 @@ export declare const KioskMembershipDto: z.ZodObject<{
114
114
  }, {
115
115
  type: z.ZodLiteral<"SIMPLE">;
116
116
  withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
117
+ targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
118
+ calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
117
119
  }>, "strip", z.ZodTypeAny, {
120
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
121
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
118
122
  withAddons?: string[] | null | undefined;
119
123
  type: "SIMPLE";
120
124
  }, {
125
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
126
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
121
127
  withAddons?: string[] | null | undefined;
122
128
  type: "SIMPLE";
123
129
  }> | z.ZodObject<z.extendShape<{
@@ -227,6 +233,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
227
233
  maxQuantity?: number | null | undefined;
228
234
  target: "ITEM";
229
235
  strategy: {
236
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
237
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
230
238
  withAddons?: string[] | null | undefined;
231
239
  type: "SIMPLE";
232
240
  } | {
@@ -268,6 +276,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
268
276
  maxQuantity?: number | null | undefined;
269
277
  target: "ITEM";
270
278
  strategy: {
279
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
280
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
271
281
  withAddons?: string[] | null | undefined;
272
282
  type: "SIMPLE";
273
283
  } | {
@@ -366,6 +376,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
366
376
  maxQuantity?: number | null | undefined;
367
377
  target: "ITEM";
368
378
  strategy: {
379
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
380
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
369
381
  withAddons?: string[] | null | undefined;
370
382
  type: "SIMPLE";
371
383
  } | {
@@ -441,6 +453,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
441
453
  maxQuantity?: number | null | undefined;
442
454
  target: "ITEM";
443
455
  strategy: {
456
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
457
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
444
458
  withAddons?: string[] | null | undefined;
445
459
  type: "SIMPLE";
446
460
  } | {
@@ -647,6 +661,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
647
661
  maxQuantity?: number | null | undefined;
648
662
  target: "ITEM";
649
663
  strategy: {
664
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
665
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
650
666
  withAddons?: string[] | null | undefined;
651
667
  type: "SIMPLE";
652
668
  } | {
@@ -745,6 +761,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
745
761
  maxQuantity?: number | null | undefined;
746
762
  target: "ITEM";
747
763
  strategy: {
764
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
765
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
748
766
  withAddons?: string[] | null | undefined;
749
767
  type: "SIMPLE";
750
768
  } | {
@@ -922,6 +940,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
922
940
  maxQuantity?: number | null | undefined;
923
941
  target: "ITEM";
924
942
  strategy: {
943
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
944
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
925
945
  withAddons?: string[] | null | undefined;
926
946
  type: "SIMPLE";
927
947
  } | {
@@ -1047,6 +1067,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
1047
1067
  maxQuantity?: number | null | undefined;
1048
1068
  target: "ITEM";
1049
1069
  strategy: {
1070
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
1071
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
1050
1072
  withAddons?: string[] | null | undefined;
1051
1073
  type: "SIMPLE";
1052
1074
  } | {
@@ -1191,6 +1213,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
1191
1213
  maxQuantity?: number | null | undefined;
1192
1214
  target: "ITEM";
1193
1215
  strategy: {
1216
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
1217
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
1194
1218
  withAddons?: string[] | null | undefined;
1195
1219
  type: "SIMPLE";
1196
1220
  } | {
@@ -1325,6 +1349,8 @@ export declare const KioskMembershipDto: z.ZodObject<{
1325
1349
  maxQuantity?: number | null | undefined;
1326
1350
  target: "ITEM";
1327
1351
  strategy: {
1352
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
1353
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
1328
1354
  withAddons?: string[] | null | undefined;
1329
1355
  type: "SIMPLE";
1330
1356
  } | {