@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
@@ -397,7 +397,6 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
397
397
  }>;
398
398
  }, "strip", z.ZodTypeAny, {
399
399
  pf_user?: any;
400
- userId: string;
401
400
  product: {
402
401
  id?: string | null | undefined;
403
402
  remark?: string | null | undefined;
@@ -457,9 +456,9 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
457
456
  }[];
458
457
  variantSelectionGroups: any[];
459
458
  };
459
+ userId: string;
460
460
  }, {
461
461
  pf_user?: any;
462
- userId: string;
463
462
  product: {
464
463
  id?: string | null | undefined;
465
464
  remark?: string | null | undefined;
@@ -519,6 +518,7 @@ export declare const RestaurantQueueCartDto: z.ZodObject<{
519
518
  }[];
520
519
  variantSelectionGroups: any[];
521
520
  };
521
+ userId: string;
522
522
  }>;
523
523
  export declare const RestaurantQueuePOSDto: z.ZodObject<{
524
524
  _id: z.ZodString;
@@ -3821,10 +3821,16 @@ export declare const RestaurantQueueDto: z.ZodObject<{
3821
3821
  }, {
3822
3822
  type: z.ZodLiteral<"SIMPLE">;
3823
3823
  withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3824
+ targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
3825
+ calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
3824
3826
  }>, "strip", z.ZodTypeAny, {
3827
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
3828
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
3825
3829
  withAddons?: string[] | null | undefined;
3826
3830
  type: "SIMPLE";
3827
3831
  }, {
3832
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
3833
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
3828
3834
  withAddons?: string[] | null | undefined;
3829
3835
  type: "SIMPLE";
3830
3836
  }> | z.ZodObject<z.extendShape<{
@@ -3934,6 +3940,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
3934
3940
  maxQuantity?: number | null | undefined;
3935
3941
  target: "ITEM";
3936
3942
  strategy: {
3943
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
3944
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
3937
3945
  withAddons?: string[] | null | undefined;
3938
3946
  type: "SIMPLE";
3939
3947
  } | {
@@ -3975,6 +3983,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
3975
3983
  maxQuantity?: number | null | undefined;
3976
3984
  target: "ITEM";
3977
3985
  strategy: {
3986
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
3987
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
3978
3988
  withAddons?: string[] | null | undefined;
3979
3989
  type: "SIMPLE";
3980
3990
  } | {
@@ -4081,6 +4091,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4081
4091
  reason?: string | null | undefined;
4082
4092
  priority?: number | null | undefined;
4083
4093
  items?: string[] | null | undefined;
4094
+ autoApplied?: boolean | null | undefined;
4084
4095
  adjustmentRule?: {
4085
4096
  type: "CAPPED_AT";
4086
4097
  } | null | undefined;
@@ -4097,7 +4108,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4097
4108
  toGet?: string[] | null | undefined;
4098
4109
  maximumReached?: boolean | null | undefined;
4099
4110
  returnId?: string | null | undefined;
4100
- autoApplied?: boolean | null | undefined;
4101
4111
  name: string;
4102
4112
  options: {
4103
4113
  excludeIds?: string[] | null | undefined;
@@ -4121,6 +4131,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4121
4131
  maxQuantity?: number | null | undefined;
4122
4132
  target: "ITEM";
4123
4133
  strategy: {
4134
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
4135
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
4124
4136
  withAddons?: string[] | null | undefined;
4125
4137
  type: "SIMPLE";
4126
4138
  } | {
@@ -4161,6 +4173,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4161
4173
  target: "PAYMENT";
4162
4174
  };
4163
4175
  success: boolean;
4176
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
4177
+ referenceId: string;
4164
4178
  adjustment: {
4165
4179
  inclusive?: boolean | null | undefined;
4166
4180
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -4169,12 +4183,11 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4169
4183
  precision: number;
4170
4184
  };
4171
4185
  };
4172
- referenceId: string;
4173
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
4174
4186
  }, {
4175
4187
  reason?: string | null | undefined;
4176
4188
  priority?: number | null | undefined;
4177
4189
  items?: string[] | null | undefined;
4190
+ autoApplied?: boolean | null | undefined;
4178
4191
  adjustmentRule?: {
4179
4192
  type: "CAPPED_AT";
4180
4193
  } | null | undefined;
@@ -4191,7 +4204,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4191
4204
  toGet?: string[] | null | undefined;
4192
4205
  maximumReached?: boolean | null | undefined;
4193
4206
  returnId?: string | null | undefined;
4194
- autoApplied?: boolean | null | undefined;
4195
4207
  name: string;
4196
4208
  options: {
4197
4209
  excludeIds?: string[] | null | undefined;
@@ -4215,6 +4227,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4215
4227
  maxQuantity?: number | null | undefined;
4216
4228
  target: "ITEM";
4217
4229
  strategy: {
4230
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
4231
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
4218
4232
  withAddons?: string[] | null | undefined;
4219
4233
  type: "SIMPLE";
4220
4234
  } | {
@@ -4255,6 +4269,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4255
4269
  target: "PAYMENT";
4256
4270
  };
4257
4271
  success: boolean;
4272
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
4273
+ referenceId: string;
4258
4274
  adjustment: {
4259
4275
  inclusive?: boolean | null | undefined;
4260
4276
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -4263,8 +4279,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4263
4279
  precision: number;
4264
4280
  };
4265
4281
  };
4266
- referenceId: string;
4267
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
4268
4282
  }>>, "many">>;
4269
4283
  option: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
4270
4284
  type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
@@ -4290,7 +4304,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4290
4304
  }>;
4291
4305
  }>>>;
4292
4306
  sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
4293
- type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4307
+ type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4294
4308
  }, {
4295
4309
  type: z.ZodLiteral<"QR">;
4296
4310
  session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -4304,7 +4318,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4304
4318
  slot: string;
4305
4319
  type: "QR";
4306
4320
  }> | z.ZodObject<z.extendShape<{
4307
- type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4321
+ type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4308
4322
  }, {
4309
4323
  type: z.ZodLiteral<"QUEUE">;
4310
4324
  queueId: z.ZodString;
@@ -4318,21 +4332,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4318
4332
  type: "QUEUE";
4319
4333
  queueId: string;
4320
4334
  }> | z.ZodObject<z.extendShape<{
4321
- type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4322
- }, {
4323
- type: z.ZodLiteral<"RESERVATION">;
4324
- reservationId: z.ZodString;
4325
- slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4326
- }>, "strip", z.ZodTypeAny, {
4327
- slot?: string | null | undefined;
4328
- type: "RESERVATION";
4329
- reservationId: string;
4330
- }, {
4331
- slot?: string | null | undefined;
4332
- type: "RESERVATION";
4333
- reservationId: string;
4334
- }> | z.ZodObject<z.extendShape<{
4335
- type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4335
+ type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4336
4336
  }, {
4337
4337
  type: z.ZodLiteral<"TAKEAWAY">;
4338
4338
  slot: z.ZodString;
@@ -4362,10 +4362,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4362
4362
  slot?: string | null | undefined;
4363
4363
  type: "QUEUE";
4364
4364
  queueId: string;
4365
- } | {
4366
- slot?: string | null | undefined;
4367
- type: "RESERVATION";
4368
- reservationId: string;
4369
4365
  } | {
4370
4366
  seqNumber?: string | null | undefined;
4371
4367
  slot: string;
@@ -4388,10 +4384,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
4388
4384
  slot?: string | null | undefined;
4389
4385
  type: "QUEUE";
4390
4386
  queueId: string;
4391
- } | {
4392
- slot?: string | null | undefined;
4393
- type: "RESERVATION";
4394
- reservationId: string;
4395
4387
  } | {
4396
4388
  seqNumber?: string | null | undefined;
4397
4389
  slot: string;
@@ -5915,6 +5907,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
5915
5907
  } | null | undefined;
5916
5908
  bill?: any;
5917
5909
  userId?: string | null | undefined;
5910
+ userName?: string | null | undefined;
5918
5911
  pf_user?: {
5919
5912
  email?: string | null | undefined;
5920
5913
  photoURL?: string | null | undefined;
@@ -5929,7 +5922,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
5929
5922
  displayName?: string | null | undefined;
5930
5923
  _id: string;
5931
5924
  } | null | undefined;
5932
- userName?: string | null | undefined;
5933
5925
  freeCreditAsDiscount?: boolean | null | undefined;
5934
5926
  creditDiscountTransaction?: any;
5935
5927
  option: {
@@ -5948,10 +5940,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
5948
5940
  slot?: string | null | undefined;
5949
5941
  type: "QUEUE";
5950
5942
  queueId: string;
5951
- } | {
5952
- slot?: string | null | undefined;
5953
- type: "RESERVATION";
5954
- reservationId: string;
5955
5943
  } | {
5956
5944
  seqNumber?: string | null | undefined;
5957
5945
  slot: string;
@@ -6368,6 +6356,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6368
6356
  reason?: string | null | undefined;
6369
6357
  priority?: number | null | undefined;
6370
6358
  items?: string[] | null | undefined;
6359
+ autoApplied?: boolean | null | undefined;
6371
6360
  adjustmentRule?: {
6372
6361
  type: "CAPPED_AT";
6373
6362
  } | null | undefined;
@@ -6384,7 +6373,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6384
6373
  toGet?: string[] | null | undefined;
6385
6374
  maximumReached?: boolean | null | undefined;
6386
6375
  returnId?: string | null | undefined;
6387
- autoApplied?: boolean | null | undefined;
6388
6376
  name: string;
6389
6377
  options: {
6390
6378
  excludeIds?: string[] | null | undefined;
@@ -6408,6 +6396,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6408
6396
  maxQuantity?: number | null | undefined;
6409
6397
  target: "ITEM";
6410
6398
  strategy: {
6399
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
6400
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
6411
6401
  withAddons?: string[] | null | undefined;
6412
6402
  type: "SIMPLE";
6413
6403
  } | {
@@ -6448,6 +6438,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6448
6438
  target: "PAYMENT";
6449
6439
  };
6450
6440
  success: boolean;
6441
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
6442
+ referenceId: string;
6451
6443
  adjustment: {
6452
6444
  inclusive?: boolean | null | undefined;
6453
6445
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -6456,8 +6448,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6456
6448
  precision: number;
6457
6449
  };
6458
6450
  };
6459
- referenceId: string;
6460
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
6461
6451
  })[];
6462
6452
  }, {
6463
6453
  payment?: {
@@ -6654,6 +6644,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6654
6644
  } | null | undefined;
6655
6645
  bill?: any;
6656
6646
  userId?: string | null | undefined;
6647
+ userName?: string | null | undefined;
6657
6648
  pf_user?: {
6658
6649
  email?: string | null | undefined;
6659
6650
  photoURL?: string | null | undefined;
@@ -6668,7 +6659,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6668
6659
  displayName?: string | null | undefined;
6669
6660
  _id: string;
6670
6661
  } | null | undefined;
6671
- userName?: string | null | undefined;
6672
6662
  freeCreditAsDiscount?: boolean | null | undefined;
6673
6663
  creditDiscountTransaction?: any;
6674
6664
  effects?: ({
@@ -6677,6 +6667,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6677
6667
  reason?: string | null | undefined;
6678
6668
  priority?: number | null | undefined;
6679
6669
  items?: string[] | null | undefined;
6670
+ autoApplied?: boolean | null | undefined;
6680
6671
  adjustmentRule?: {
6681
6672
  type: "CAPPED_AT";
6682
6673
  } | null | undefined;
@@ -6693,7 +6684,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6693
6684
  toGet?: string[] | null | undefined;
6694
6685
  maximumReached?: boolean | null | undefined;
6695
6686
  returnId?: string | null | undefined;
6696
- autoApplied?: boolean | null | undefined;
6697
6687
  name: string;
6698
6688
  options: {
6699
6689
  excludeIds?: string[] | null | undefined;
@@ -6717,6 +6707,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6717
6707
  maxQuantity?: number | null | undefined;
6718
6708
  target: "ITEM";
6719
6709
  strategy: {
6710
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
6711
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
6720
6712
  withAddons?: string[] | null | undefined;
6721
6713
  type: "SIMPLE";
6722
6714
  } | {
@@ -6757,6 +6749,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6757
6749
  target: "PAYMENT";
6758
6750
  };
6759
6751
  success: boolean;
6752
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
6753
+ referenceId: string;
6760
6754
  adjustment: {
6761
6755
  inclusive?: boolean | null | undefined;
6762
6756
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -6765,8 +6759,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6765
6759
  precision: number;
6766
6760
  };
6767
6761
  };
6768
- referenceId: string;
6769
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
6770
6762
  })[] | undefined;
6771
6763
  option: {
6772
6764
  remark?: string | null | undefined;
@@ -6784,10 +6776,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6784
6776
  slot?: string | null | undefined;
6785
6777
  type: "QUEUE";
6786
6778
  queueId: string;
6787
- } | {
6788
- slot?: string | null | undefined;
6789
- type: "RESERVATION";
6790
- reservationId: string;
6791
6779
  } | {
6792
6780
  seqNumber?: string | null | undefined;
6793
6781
  slot: string;
@@ -7518,6 +7506,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7518
7506
  } | null | undefined;
7519
7507
  bill?: any;
7520
7508
  userId?: string | null | undefined;
7509
+ userName?: string | null | undefined;
7521
7510
  pf_user?: {
7522
7511
  email?: string | null | undefined;
7523
7512
  photoURL?: string | null | undefined;
@@ -7532,7 +7521,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7532
7521
  displayName?: string | null | undefined;
7533
7522
  _id: string;
7534
7523
  } | null | undefined;
7535
- userName?: string | null | undefined;
7536
7524
  freeCreditAsDiscount?: boolean | null | undefined;
7537
7525
  creditDiscountTransaction?: any;
7538
7526
  option: {
@@ -7551,10 +7539,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7551
7539
  slot?: string | null | undefined;
7552
7540
  type: "QUEUE";
7553
7541
  queueId: string;
7554
- } | {
7555
- slot?: string | null | undefined;
7556
- type: "RESERVATION";
7557
- reservationId: string;
7558
7542
  } | {
7559
7543
  seqNumber?: string | null | undefined;
7560
7544
  slot: string;
@@ -7971,6 +7955,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7971
7955
  reason?: string | null | undefined;
7972
7956
  priority?: number | null | undefined;
7973
7957
  items?: string[] | null | undefined;
7958
+ autoApplied?: boolean | null | undefined;
7974
7959
  adjustmentRule?: {
7975
7960
  type: "CAPPED_AT";
7976
7961
  } | null | undefined;
@@ -7987,7 +7972,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7987
7972
  toGet?: string[] | null | undefined;
7988
7973
  maximumReached?: boolean | null | undefined;
7989
7974
  returnId?: string | null | undefined;
7990
- autoApplied?: boolean | null | undefined;
7991
7975
  name: string;
7992
7976
  options: {
7993
7977
  excludeIds?: string[] | null | undefined;
@@ -8011,6 +7995,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8011
7995
  maxQuantity?: number | null | undefined;
8012
7996
  target: "ITEM";
8013
7997
  strategy: {
7998
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
7999
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
8014
8000
  withAddons?: string[] | null | undefined;
8015
8001
  type: "SIMPLE";
8016
8002
  } | {
@@ -8051,6 +8037,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8051
8037
  target: "PAYMENT";
8052
8038
  };
8053
8039
  success: boolean;
8040
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
8041
+ referenceId: string;
8054
8042
  adjustment: {
8055
8043
  inclusive?: boolean | null | undefined;
8056
8044
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -8059,8 +8047,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8059
8047
  precision: number;
8060
8048
  };
8061
8049
  };
8062
- referenceId: string;
8063
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
8064
8050
  })[];
8065
8051
  } | null | undefined;
8066
8052
  userId?: string | null | undefined;
@@ -8394,6 +8380,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8394
8380
  } | null | undefined;
8395
8381
  bill?: any;
8396
8382
  userId?: string | null | undefined;
8383
+ userName?: string | null | undefined;
8397
8384
  pf_user?: {
8398
8385
  email?: string | null | undefined;
8399
8386
  photoURL?: string | null | undefined;
@@ -8408,7 +8395,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8408
8395
  displayName?: string | null | undefined;
8409
8396
  _id: string;
8410
8397
  } | null | undefined;
8411
- userName?: string | null | undefined;
8412
8398
  freeCreditAsDiscount?: boolean | null | undefined;
8413
8399
  creditDiscountTransaction?: any;
8414
8400
  effects?: ({
@@ -8417,6 +8403,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8417
8403
  reason?: string | null | undefined;
8418
8404
  priority?: number | null | undefined;
8419
8405
  items?: string[] | null | undefined;
8406
+ autoApplied?: boolean | null | undefined;
8420
8407
  adjustmentRule?: {
8421
8408
  type: "CAPPED_AT";
8422
8409
  } | null | undefined;
@@ -8433,7 +8420,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8433
8420
  toGet?: string[] | null | undefined;
8434
8421
  maximumReached?: boolean | null | undefined;
8435
8422
  returnId?: string | null | undefined;
8436
- autoApplied?: boolean | null | undefined;
8437
8423
  name: string;
8438
8424
  options: {
8439
8425
  excludeIds?: string[] | null | undefined;
@@ -8457,6 +8443,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8457
8443
  maxQuantity?: number | null | undefined;
8458
8444
  target: "ITEM";
8459
8445
  strategy: {
8446
+ targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
8447
+ calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
8460
8448
  withAddons?: string[] | null | undefined;
8461
8449
  type: "SIMPLE";
8462
8450
  } | {
@@ -8497,6 +8485,8 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8497
8485
  target: "PAYMENT";
8498
8486
  };
8499
8487
  success: boolean;
8488
+ from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
8489
+ referenceId: string;
8500
8490
  adjustment: {
8501
8491
  inclusive?: boolean | null | undefined;
8502
8492
  type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
@@ -8505,8 +8495,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8505
8495
  precision: number;
8506
8496
  };
8507
8497
  };
8508
- referenceId: string;
8509
- from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
8510
8498
  })[] | undefined;
8511
8499
  option: {
8512
8500
  remark?: string | null | undefined;
@@ -8524,10 +8512,6 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8524
8512
  slot?: string | null | undefined;
8525
8513
  type: "QUEUE";
8526
8514
  queueId: string;
8527
- } | {
8528
- slot?: string | null | undefined;
8529
- type: "RESERVATION";
8530
- reservationId: string;
8531
8515
  } | {
8532
8516
  seqNumber?: string | null | undefined;
8533
8517
  slot: string;
@@ -1658,6 +1658,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1658
1658
  buttonPrimaryChip: string;
1659
1659
  } | null | undefined;
1660
1660
  }>>>;
1661
+ customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1661
1662
  }, "strip", z.ZodTypeAny, {
1662
1663
  pickup?: {
1663
1664
  catalogId?: string | null | undefined;
@@ -1819,6 +1820,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1819
1820
  buttonPrimaryChip: string;
1820
1821
  } | null | undefined;
1821
1822
  } | null | undefined;
1823
+ customAttributes?: Record<string, any> | null | undefined;
1822
1824
  posVersion?: string | null | undefined;
1823
1825
  posHeartbeat?: string | null | undefined;
1824
1826
  acceptQueue?: boolean | null | undefined;
@@ -2118,6 +2120,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
2118
2120
  buttonPrimaryChip: string;
2119
2121
  } | null | undefined;
2120
2122
  } | null | undefined;
2123
+ customAttributes?: Record<string, any> | null | undefined;
2121
2124
  posVersion?: string | null | undefined;
2122
2125
  posHeartbeat?: string | null | undefined;
2123
2126
  acceptQueue?: boolean | null | undefined;
@@ -4429,9 +4432,11 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4429
4432
  autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4430
4433
  autoCloseBill: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4431
4434
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4435
+ allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4432
4436
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4433
4437
  }, "strip", z.ZodTypeAny, {
4434
4438
  autoCloseBill?: boolean | null | undefined;
4439
+ allowReject?: boolean | null | undefined;
4435
4440
  printReceiptAfterClose?: boolean | null | undefined;
4436
4441
  dineIn?: {
4437
4442
  requiredSlot?: boolean | null | undefined;
@@ -4500,6 +4505,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4500
4505
  languages?: string[] | null | undefined;
4501
4506
  }, {
4502
4507
  autoCloseBill?: boolean | null | undefined;
4508
+ allowReject?: boolean | null | undefined;
4503
4509
  printReceiptAfterClose?: boolean | null | undefined;
4504
4510
  dineIn?: {
4505
4511
  requiredSlot?: boolean | null | undefined;
@@ -5539,6 +5545,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
5539
5545
  }[];
5540
5546
  };
5541
5547
  }>>>;
5548
+ customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
5542
5549
  }, "strip", z.ZodTypeAny, {
5543
5550
  hideProductCode?: boolean | null | undefined;
5544
5551
  catalogId?: string | null | undefined;
@@ -5564,6 +5571,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
5564
5571
  } | null | undefined;
5565
5572
  kioskSettings?: {
5566
5573
  autoCloseBill?: boolean | null | undefined;
5574
+ allowReject?: boolean | null | undefined;
5567
5575
  printReceiptAfterClose?: boolean | null | undefined;
5568
5576
  dineIn?: {
5569
5577
  requiredSlot?: boolean | null | undefined;
@@ -5660,6 +5668,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
5660
5668
  enableOrder: boolean;
5661
5669
  autoCalledLimit: number;
5662
5670
  } | null | undefined;
5671
+ customAttributes?: Record<string, any> | null | undefined;
5663
5672
  posHeartbeat?: string | null | undefined;
5664
5673
  pricingContext?: {
5665
5674
  roundToNearest?: number | undefined;
@@ -5916,6 +5925,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
5916
5925
  } | null | undefined;
5917
5926
  kioskSettings?: {
5918
5927
  autoCloseBill?: boolean | null | undefined;
5928
+ allowReject?: boolean | null | undefined;
5919
5929
  printReceiptAfterClose?: boolean | null | undefined;
5920
5930
  dineIn?: {
5921
5931
  requiredSlot?: boolean | null | undefined;
@@ -6012,6 +6022,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
6012
6022
  enableOrder: boolean;
6013
6023
  autoCalledLimit: number;
6014
6024
  } | null | undefined;
6025
+ customAttributes?: Record<string, any> | null | undefined;
6015
6026
  posHeartbeat?: string | null | undefined;
6016
6027
  pricingContext?: {
6017
6028
  roundToNearest?: number | undefined;