@feedmepos/mf-order-setting 0.0.84 → 0.0.85

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 (109) hide show
  1. package/dist/DisplaySystemView-hmlT9gsb.js +6485 -0
  2. package/dist/{KioskDevicesView-DdwFuenU.js → KioskDevicesView-fW6M9Hao.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CxtLm_oh.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js} +3 -3
  4. package/dist/KioskSettingView-BdEPftHH.js +839 -0
  5. package/dist/{KioskView-fwBwUGCQ.js → KioskView-Bwk9S0tc.js} +82 -70
  6. package/dist/{OrderSettingsView-RhlyZmzs.js → OrderSettingsView-DVXfVdXj.js} +30858 -30699
  7. package/dist/{app-ClOkRxOZ.js → app-BnrruYco.js} +74 -12
  8. package/dist/app.js +1 -1
  9. package/dist/display-preview/assets/BandBoard-DIcfXsNV.js +1 -0
  10. package/dist/display-preview/assets/CarouselBlock-XAhTyEWB.js +1 -0
  11. package/dist/display-preview/assets/{CategoryBoard-DClMUGfS.js → CategoryBoard-DBKe18hv.js} +1 -1
  12. package/dist/display-preview/assets/ImageBlock-BCbnYSHq.js +1 -0
  13. package/dist/display-preview/assets/PickupMode-Df_TPCh8.js +1 -0
  14. package/dist/display-preview/assets/{StatusBoard-BVESD28J.js → StatusBoard-28z3bPOf.js} +1 -1
  15. package/dist/display-preview/assets/TextBlock-CvJKITtx.js +1 -0
  16. package/dist/display-preview/assets/VideoBlock-Dop43wDv.js +1 -0
  17. package/dist/display-preview/assets/index-C6DET5zJ.css +1 -0
  18. package/dist/display-preview/assets/index-cqMoOpSN.js +2 -0
  19. package/dist/display-preview/assets/pickupView-DRMVXqrc.js +1 -0
  20. package/dist/display-preview/index.html +2 -2
  21. package/dist/frontend/mf-order/src/app.d.ts +62 -0
  22. package/dist/frontend/mf-order/src/main.d.ts +62 -0
  23. package/dist/frontend/mf-order/src/modules/display-system/interface.d.ts +21 -0
  24. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/coverCarousel.d.ts +69 -0
  25. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +5 -1
  26. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +90 -3
  27. package/dist/frontend/mf-order/src/views/display-system/DisplayFieldControl.vue.d.ts +3 -0
  28. package/dist/frontend/mf-order/src/views/display-system/DisplayInspector.vue.d.ts +3 -13
  29. package/dist/frontend/mf-order/src/views/order-settings/auto-send-kitchen.d.ts +58 -0
  30. package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +16 -1
  31. package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +16 -1
  32. package/dist/frontend/mf-order/src/views/order-settings/useAutoSendGuard.d.ts +48 -0
  33. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  34. package/dist/{index-CKEbr9Es.js → index-D5wABuUx.js} +1 -1
  35. package/dist/{index-5k7kGCpJ.js → index-D7IWjZdy.js} +2 -2
  36. package/dist/{index-I2YGevce.js → index-LyvBqKnv.js} +1 -1
  37. package/dist/{order.dto-Dbn-hRrm.js → order.dto-D7HGiueX.js} +3579 -3428
  38. package/dist/package/entity/alert/investigation.dto.d.ts +25 -6
  39. package/dist/package/entity/alert/lark-callback.dto.d.ts +31 -12
  40. package/dist/package/entity/alert/suggestion.dto.d.ts +4 -4
  41. package/dist/package/entity/display/blocks.d.ts +42 -76
  42. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +47 -36
  43. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +1 -0
  44. package/dist/package/entity/index.d.ts +2 -0
  45. package/dist/package/entity/index.frontend.d.ts +2 -0
  46. package/dist/package/entity/order/effects/effect.dto.d.ts +266 -0
  47. package/dist/package/entity/order/order-item/order-item.dto.d.ts +36 -36
  48. package/dist/package/entity/order/order.do.d.ts +7 -64
  49. package/dist/package/entity/order/order.dto.d.ts +13006 -795
  50. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +13 -0
  51. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +3 -0
  52. package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
  53. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +11 -8
  54. package/dist/package/entity/order-setting/auto-accept.dto.d.ts +94 -0
  55. package/dist/package/entity/order-setting/auto-send.resolve.d.ts +110 -0
  56. package/dist/package/entity/order-setting/delivery/inhouse-delivery.do.d.ts +3 -0
  57. package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
  58. package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +3 -0
  59. package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +3 -0
  60. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +26 -0
  61. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +39 -0
  62. package/dist/package/entity/order-setting/order-setting.do.d.ts +57 -4
  63. package/dist/package/entity/order-setting/order-setting.dto.d.ts +259 -9
  64. package/dist/package/entity/order-setting/pickup/pickup.do.d.ts +3 -0
  65. package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
  66. package/dist/package/entity/order-setting/queue/queue.do.d.ts +2 -2
  67. package/dist/package/entity/order-setting/queue/queue.dto.d.ts +2 -2
  68. package/dist/package/entity/queue/queue.dto.d.ts +48 -48
  69. package/dist/package/entity/restaurant/restaurant.dto.d.ts +46 -8
  70. package/dist/package/entity/websocket/websocket.dto.d.ts +88 -0
  71. package/dist/style.css +1 -1
  72. package/package.json +2 -2
  73. package/src/locales/en-US.json +22 -2
  74. package/src/locales/ja-JP.json +12 -1
  75. package/src/locales/th-TH.json +12 -1
  76. package/src/locales/zh-CN.json +22 -2
  77. package/src/modules/display-system/interface.spec.ts +32 -18
  78. package/src/modules/display-system/interface.ts +32 -0
  79. package/src/modules/order-setting/kiosk/coverCarousel.spec.ts +172 -0
  80. package/src/modules/order-setting/kiosk/coverCarousel.ts +186 -0
  81. package/src/modules/order-setting/kiosk/interface.ts +138 -127
  82. package/src/stores/order-setting/mapper.spec.ts +26 -0
  83. package/src/stores/order-setting/mapper.ts +305 -293
  84. package/src/views/display-system/DisplayFieldControl.vue +46 -0
  85. package/src/views/display-system/DisplayInspector.vue +8 -3
  86. package/src/views/display-system/DisplaySystemView.vue +7 -3
  87. package/src/views/display-system/DisplayTemplateEditor.vue +28 -2
  88. package/src/views/kiosk/settings/KioskSettingView.vue +176 -60
  89. package/src/views/order-settings/auto-send-kitchen.spec.ts +137 -0
  90. package/src/views/order-settings/auto-send-kitchen.ts +92 -0
  91. package/src/views/order-settings/auto-send-resolve.spec.ts +123 -0
  92. package/src/views/order-settings/delivery/DeliverySetting.vue +10 -0
  93. package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +40 -5
  94. package/src/views/order-settings/dine-in/DineInSetting.vue +38 -5
  95. package/src/views/order-settings/pickup/PickUpSetting.vue +1 -0
  96. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +38 -5
  97. package/src/views/order-settings/queue/QueueSetting.vue +6 -9
  98. package/src/views/order-settings/useAutoSendGuard.ts +142 -0
  99. package/tsconfig.app.json +10 -1
  100. package/dist/DisplaySystemView-4Bz8p26A.js +0 -5892
  101. package/dist/KioskSettingView-D57KtQ-t.js +0 -711
  102. package/dist/display-preview/assets/BandBoard-BrDTYDc9.js +0 -1
  103. package/dist/display-preview/assets/CarouselBlock-CrkGxoGk.js +0 -1
  104. package/dist/display-preview/assets/ImageBlock-DtgfHd5G.js +0 -1
  105. package/dist/display-preview/assets/PickupMode-DKmqGlG8.js +0 -1
  106. package/dist/display-preview/assets/TextBlock-gAfeCCmE.js +0 -1
  107. package/dist/display-preview/assets/index-BB0ReVXy.js +0 -2
  108. package/dist/display-preview/assets/index-BWVpFSIw.css +0 -1
  109. package/dist/display-preview/assets/pickupView-C-BGcOu8.js +0 -1
@@ -44,6 +44,52 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
44
44
  precision: number;
45
45
  };
46
46
  }>;
47
+ /**
48
+ * The ceiling on what the effect may take off, e.g. "50% off, but never more
49
+ * than IDR 250,000". Core's `FdoRawEffect` has always carried this; this DTO
50
+ * is a hand-written subset of it and used to omit the field, so every voucher
51
+ * routed through the online path reached POS uncapped while the same voucher
52
+ * rung up on POS stayed capped. See `toFinalBillEffect`.
53
+ *
54
+ * Typed as the concrete CAPPED_AT variant rather than core's
55
+ * `FdoEffectAdjustmentRule`: that one is the polymorphic BASE of a Dart union
56
+ * and declares only `type`, so parsing through it strips `amount` and leaves
57
+ * a cap with no ceiling — the same bug in a different disguise.
58
+ */
59
+ adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
60
+ type: z.ZodEnum<["CAPPED_AT"]>;
61
+ }, {
62
+ type: z.ZodLiteral<"CAPPED_AT">;
63
+ amount: z.ZodObject<{
64
+ amount: z.ZodNumber;
65
+ precision: z.ZodNumber;
66
+ }, "strip", z.ZodTypeAny, {
67
+ amount: number;
68
+ precision: number;
69
+ }, {
70
+ amount: number;
71
+ precision: number;
72
+ }>;
73
+ }>, "strip", z.ZodTypeAny, {
74
+ type: "CAPPED_AT";
75
+ amount: {
76
+ amount: number;
77
+ precision: number;
78
+ };
79
+ }, {
80
+ type: "CAPPED_AT";
81
+ amount: {
82
+ amount: number;
83
+ precision: number;
84
+ };
85
+ }>>>;
86
+ /**
87
+ * Mirrors core's `FdoRawEffect.options`, PAYMENT variant included. PAYMENT
88
+ * vouchers are a tender rather than a discount, but they travel the same
89
+ * customer-effect pipe (kiosk buckets them in `stores/effect`), and leaving
90
+ * the variant out made this schema reject a live effect outright —
91
+ * "Invalid discriminator value. Expected 'BILL' | 'ITEM'".
92
+ */
47
93
  options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
48
94
  target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
49
95
  minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -295,12 +341,58 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
295
341
  key: string;
296
342
  };
297
343
  targetIds: string[];
344
+ }> | z.ZodObject<z.extendShape<{
345
+ target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
346
+ minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
347
+ amount: z.ZodNumber;
348
+ precision: z.ZodNumber;
349
+ }, "strip", z.ZodTypeAny, {
350
+ amount: number;
351
+ precision: number;
352
+ }, {
353
+ amount: number;
354
+ precision: number;
355
+ }>>>;
356
+ minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
357
+ productId: z.ZodString;
358
+ }, "strip", z.ZodTypeAny, {
359
+ productId: string;
360
+ }, {
361
+ productId: string;
362
+ }>, "many">>>;
363
+ }, {
364
+ target: z.ZodLiteral<"PAYMENT">;
365
+ }>, "strip", z.ZodTypeAny, {
366
+ minPurchase?: {
367
+ amount: number;
368
+ precision: number;
369
+ } | null | undefined;
370
+ minPurchaseItems?: {
371
+ productId: string;
372
+ }[] | null | undefined;
373
+ target: "PAYMENT";
374
+ }, {
375
+ minPurchase?: {
376
+ amount: number;
377
+ precision: number;
378
+ } | null | undefined;
379
+ minPurchaseItems?: {
380
+ productId: string;
381
+ }[] | null | undefined;
382
+ target: "PAYMENT";
298
383
  }>>;
299
384
  availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
300
385
  priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
301
386
  }, "strip", z.ZodTypeAny, {
302
387
  priority?: number | null | undefined;
303
388
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
389
+ adjustmentRule?: {
390
+ type: "CAPPED_AT";
391
+ amount: {
392
+ amount: number;
393
+ precision: number;
394
+ };
395
+ } | null | undefined;
304
396
  options: {
305
397
  excludeIds?: string[] | null | undefined;
306
398
  minPurchase?: {
@@ -352,6 +444,15 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
352
444
  key: string;
353
445
  };
354
446
  targetIds: string[];
447
+ } | {
448
+ minPurchase?: {
449
+ amount: number;
450
+ precision: number;
451
+ } | null | undefined;
452
+ minPurchaseItems?: {
453
+ productId: string;
454
+ }[] | null | undefined;
455
+ target: "PAYMENT";
355
456
  };
356
457
  adjustment: {
357
458
  inclusive?: boolean | null | undefined;
@@ -364,6 +465,13 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
364
465
  }, {
365
466
  priority?: number | null | undefined;
366
467
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
468
+ adjustmentRule?: {
469
+ type: "CAPPED_AT";
470
+ amount: {
471
+ amount: number;
472
+ precision: number;
473
+ };
474
+ } | null | undefined;
367
475
  options: {
368
476
  excludeIds?: string[] | null | undefined;
369
477
  minPurchase?: {
@@ -415,6 +523,15 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
415
523
  key: string;
416
524
  };
417
525
  targetIds: string[];
526
+ } | {
527
+ minPurchase?: {
528
+ amount: number;
529
+ precision: number;
530
+ } | null | undefined;
531
+ minPurchaseItems?: {
532
+ productId: string;
533
+ }[] | null | undefined;
534
+ target: "PAYMENT";
418
535
  };
419
536
  adjustment: {
420
537
  inclusive?: boolean | null | undefined;
@@ -455,6 +572,52 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
455
572
  precision: number;
456
573
  };
457
574
  }>;
575
+ /**
576
+ * The ceiling on what the effect may take off, e.g. "50% off, but never more
577
+ * than IDR 250,000". Core's `FdoRawEffect` has always carried this; this DTO
578
+ * is a hand-written subset of it and used to omit the field, so every voucher
579
+ * routed through the online path reached POS uncapped while the same voucher
580
+ * rung up on POS stayed capped. See `toFinalBillEffect`.
581
+ *
582
+ * Typed as the concrete CAPPED_AT variant rather than core's
583
+ * `FdoEffectAdjustmentRule`: that one is the polymorphic BASE of a Dart union
584
+ * and declares only `type`, so parsing through it strips `amount` and leaves
585
+ * a cap with no ceiling — the same bug in a different disguise.
586
+ */
587
+ adjustmentRule: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
588
+ type: z.ZodEnum<["CAPPED_AT"]>;
589
+ }, {
590
+ type: z.ZodLiteral<"CAPPED_AT">;
591
+ amount: z.ZodObject<{
592
+ amount: z.ZodNumber;
593
+ precision: z.ZodNumber;
594
+ }, "strip", z.ZodTypeAny, {
595
+ amount: number;
596
+ precision: number;
597
+ }, {
598
+ amount: number;
599
+ precision: number;
600
+ }>;
601
+ }>, "strip", z.ZodTypeAny, {
602
+ type: "CAPPED_AT";
603
+ amount: {
604
+ amount: number;
605
+ precision: number;
606
+ };
607
+ }, {
608
+ type: "CAPPED_AT";
609
+ amount: {
610
+ amount: number;
611
+ precision: number;
612
+ };
613
+ }>>>;
614
+ /**
615
+ * Mirrors core's `FdoRawEffect.options`, PAYMENT variant included. PAYMENT
616
+ * vouchers are a tender rather than a discount, but they travel the same
617
+ * customer-effect pipe (kiosk buckets them in `stores/effect`), and leaving
618
+ * the variant out made this schema reject a live effect outright —
619
+ * "Invalid discriminator value. Expected 'BILL' | 'ITEM'".
620
+ */
458
621
  options: z.ZodDiscriminatedUnion<"target", z.Primitive, z.ZodObject<z.extendShape<{
459
622
  target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
460
623
  minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -706,12 +869,58 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
706
869
  key: string;
707
870
  };
708
871
  targetIds: string[];
872
+ }> | z.ZodObject<z.extendShape<{
873
+ target: z.ZodEnum<["BILL", "ITEM", "ADVANCE", "PAYMENT"]>;
874
+ minPurchase: z.ZodNullable<z.ZodOptional<z.ZodObject<{
875
+ amount: z.ZodNumber;
876
+ precision: z.ZodNumber;
877
+ }, "strip", z.ZodTypeAny, {
878
+ amount: number;
879
+ precision: number;
880
+ }, {
881
+ amount: number;
882
+ precision: number;
883
+ }>>>;
884
+ minPurchaseItems: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
885
+ productId: z.ZodString;
886
+ }, "strip", z.ZodTypeAny, {
887
+ productId: string;
888
+ }, {
889
+ productId: string;
890
+ }>, "many">>>;
891
+ }, {
892
+ target: z.ZodLiteral<"PAYMENT">;
893
+ }>, "strip", z.ZodTypeAny, {
894
+ minPurchase?: {
895
+ amount: number;
896
+ precision: number;
897
+ } | null | undefined;
898
+ minPurchaseItems?: {
899
+ productId: string;
900
+ }[] | null | undefined;
901
+ target: "PAYMENT";
902
+ }, {
903
+ minPurchase?: {
904
+ amount: number;
905
+ precision: number;
906
+ } | null | undefined;
907
+ minPurchaseItems?: {
908
+ productId: string;
909
+ }[] | null | undefined;
910
+ target: "PAYMENT";
709
911
  }>>;
710
912
  availableOnlineOrder: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>, "many">>>;
711
913
  priority: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
712
914
  }, "strip", z.ZodTypeAny, {
713
915
  priority?: number | null | undefined;
714
916
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
917
+ adjustmentRule?: {
918
+ type: "CAPPED_AT";
919
+ amount: {
920
+ amount: number;
921
+ precision: number;
922
+ };
923
+ } | null | undefined;
715
924
  options: {
716
925
  excludeIds?: string[] | null | undefined;
717
926
  minPurchase?: {
@@ -763,6 +972,15 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
763
972
  key: string;
764
973
  };
765
974
  targetIds: string[];
975
+ } | {
976
+ minPurchase?: {
977
+ amount: number;
978
+ precision: number;
979
+ } | null | undefined;
980
+ minPurchaseItems?: {
981
+ productId: string;
982
+ }[] | null | undefined;
983
+ target: "PAYMENT";
766
984
  };
767
985
  adjustment: {
768
986
  inclusive?: boolean | null | undefined;
@@ -775,6 +993,13 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
775
993
  }, {
776
994
  priority?: number | null | undefined;
777
995
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
996
+ adjustmentRule?: {
997
+ type: "CAPPED_AT";
998
+ amount: {
999
+ amount: number;
1000
+ precision: number;
1001
+ };
1002
+ } | null | undefined;
778
1003
  options: {
779
1004
  excludeIds?: string[] | null | undefined;
780
1005
  minPurchase?: {
@@ -826,6 +1051,15 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
826
1051
  key: string;
827
1052
  };
828
1053
  targetIds: string[];
1054
+ } | {
1055
+ minPurchase?: {
1056
+ amount: number;
1057
+ precision: number;
1058
+ } | null | undefined;
1059
+ minPurchaseItems?: {
1060
+ productId: string;
1061
+ }[] | null | undefined;
1062
+ target: "PAYMENT";
829
1063
  };
830
1064
  adjustment: {
831
1065
  inclusive?: boolean | null | undefined;
@@ -849,6 +1083,13 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
849
1083
  raw: {
850
1084
  priority?: number | null | undefined;
851
1085
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
1086
+ adjustmentRule?: {
1087
+ type: "CAPPED_AT";
1088
+ amount: {
1089
+ amount: number;
1090
+ precision: number;
1091
+ };
1092
+ } | null | undefined;
852
1093
  options: {
853
1094
  excludeIds?: string[] | null | undefined;
854
1095
  minPurchase?: {
@@ -900,6 +1141,15 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
900
1141
  key: string;
901
1142
  };
902
1143
  targetIds: string[];
1144
+ } | {
1145
+ minPurchase?: {
1146
+ amount: number;
1147
+ precision: number;
1148
+ } | null | undefined;
1149
+ minPurchaseItems?: {
1150
+ productId: string;
1151
+ }[] | null | undefined;
1152
+ target: "PAYMENT";
903
1153
  };
904
1154
  adjustment: {
905
1155
  inclusive?: boolean | null | undefined;
@@ -920,6 +1170,13 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
920
1170
  raw: {
921
1171
  priority?: number | null | undefined;
922
1172
  availableOnlineOrder?: ("DINE_IN" | "PICKUP" | "DELIVERY")[] | null | undefined;
1173
+ adjustmentRule?: {
1174
+ type: "CAPPED_AT";
1175
+ amount: {
1176
+ amount: number;
1177
+ precision: number;
1178
+ };
1179
+ } | null | undefined;
923
1180
  options: {
924
1181
  excludeIds?: string[] | null | undefined;
925
1182
  minPurchase?: {
@@ -971,6 +1228,15 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
971
1228
  key: string;
972
1229
  };
973
1230
  targetIds: string[];
1231
+ } | {
1232
+ minPurchase?: {
1233
+ amount: number;
1234
+ precision: number;
1235
+ } | null | undefined;
1236
+ minPurchaseItems?: {
1237
+ productId: string;
1238
+ }[] | null | undefined;
1239
+ target: "PAYMENT";
974
1240
  };
975
1241
  adjustment: {
976
1242
  inclusive?: boolean | null | undefined;