@feedmepos/mf-order-setting 0.0.21-beta.3 → 0.0.23

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/{KioskDevicesView-Cb7Rw7t8.js → KioskDevicesView-BdJCcotz.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-raPhhBpi.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DUPfN7ti.js} +2 -2
  3. package/dist/KioskSettingView-BChhriPk.js +782 -0
  4. package/dist/KioskView-DPU-oQ1H.js +426 -0
  5. package/dist/{OrderSettingsView-BJ1b1Qjg.js → OrderSettingsView-BOiflwB_.js} +34011 -32822
  6. package/dist/{app-BY258ajB.js → app-CaYWSLe1.js} +39 -17
  7. package/dist/app.js +1 -1
  8. package/dist/common/convertor/index.d.ts +2 -0
  9. package/dist/common/sms/index.d.ts +1 -1
  10. package/dist/common/util/index.d.ts +6 -0
  11. package/dist/{dayjs.min-4COVK72W.js → dayjs.min-8NyoNely.js} +36 -36
  12. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
  13. package/dist/frontend/mf-order/src/app.d.ts +22 -0
  14. package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +13 -0
  16. package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
  17. package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
  18. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +168 -12
  19. package/dist/frontend/mf-order/src/stores/order-setting/mapper.d.ts +2 -1
  20. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
  21. package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
  22. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +15 -0
  23. package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +4 -3
  24. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
  25. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
  26. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
  27. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
  28. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
  29. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  30. package/dist/{index-t_7ThPjm.js → index-B7GFhkAE.js} +2 -2
  31. package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
  32. package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
  33. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
  34. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
  35. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +862 -4
  36. package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
  37. package/dist/package/entity/index.d.ts +34 -22
  38. package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
  39. package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
  40. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
  41. package/dist/package/entity/member/member.dto.d.ts +33 -0
  42. package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
  43. package/dist/package/entity/order/order.do.d.ts +37 -0
  44. package/dist/package/entity/order/order.dto.d.ts +808 -17435
  45. package/dist/package/entity/order/order.enum.d.ts +2 -0
  46. package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
  47. package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
  48. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
  49. package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
  50. package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
  51. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
  52. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
  53. package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
  54. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
  55. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
  56. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +98 -98
  57. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +345 -297
  58. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
  59. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
  60. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +65 -65
  61. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +311 -263
  62. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
  63. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +7 -7
  64. package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
  65. package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
  66. package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
  67. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
  68. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +115 -0
  69. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +225 -41
  70. package/dist/package/entity/order-setting/kiosk/kiosk.enum.d.ts +3 -0
  71. package/dist/package/entity/order-setting/order-setting.do.d.ts +138 -8
  72. package/dist/package/entity/order-setting/order-setting.dto.d.ts +276 -16
  73. package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +4 -4
  74. package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +4 -4
  75. package/dist/package/entity/payment/payment.enum.d.ts +2 -0
  76. package/dist/package/entity/printer/printer.do.d.ts +2 -2
  77. package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
  78. package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
  79. package/dist/package/entity/queue/queue.do.d.ts +40 -0
  80. package/dist/package/entity/restaurant/restaurant.dto.d.ts +136 -6
  81. package/dist/package/entity/websocket/websocket.dto.d.ts +288 -0
  82. package/dist/{auth.dto-BOoRSQkS.js → queue.do-CIyIpp22.js} +30390 -29706
  83. package/package.json +4 -3
  84. package/src/api/remoteOrder/index.ts +13 -2
  85. package/src/helpers/menu.ts +2 -2
  86. package/src/locales/en-US.json +13 -2
  87. package/src/locales/zh-CN.json +12 -1
  88. package/src/modules/order-setting/kiosk/interface.ts +16 -0
  89. package/src/stores/order-setting/mapper.ts +58 -7
  90. package/src/stores/restaurant/index.ts +4 -1
  91. package/src/views/kiosk/settings/KioskDineInSection.vue +4 -5
  92. package/src/views/kiosk/settings/KioskDisplayStandSection.vue +36 -0
  93. package/src/views/kiosk/settings/KioskInstructionSection.vue +40 -0
  94. package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +30 -19
  95. package/src/views/kiosk/settings/KioskPickAtCounterSection.vue +45 -7
  96. package/src/views/kiosk/settings/KioskSettingView.vue +15 -3
  97. package/src/views/kiosk/settings/KioskTakeawaySection.vue +38 -4
  98. package/src/views/order-settings/delivery/DeliverySetting.vue +82 -6
  99. package/src/views/order-settings/delivery/delivery.data.ts +16 -1
  100. package/src/views/order-settings/delivery/delivery.ts +1 -0
  101. package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
  102. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
  103. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
  104. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
  105. package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
  106. package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +216 -165
  107. package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
  108. package/dist/KioskSettingView-BQgyeWbo.js +0 -649
  109. package/dist/KioskView-BLkuqfZ_.js +0 -371
@@ -1,4 +1,15 @@
1
1
  import { z } from 'zod';
2
+ export declare const FdoKioskTextSetting: z.ZodRecord<z.ZodString, z.ZodString>;
3
+ export declare const FdoKioskOrderInstructionSetting: z.ZodObject<{
4
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
5
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ payAtCounter?: Record<string, string> | null | undefined;
8
+ paid?: Record<string, string> | null | undefined;
9
+ }, {
10
+ payAtCounter?: Record<string, string> | null | undefined;
11
+ paid?: Record<string, string> | null | undefined;
12
+ }>;
2
13
  export declare const FdoEPaymentMethod: z.ZodObject<{
3
14
  card: z.ZodObject<{
4
15
  terminal: z.ZodDefault<z.ZodBoolean>;
@@ -129,9 +140,27 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
129
140
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
130
141
  pickUp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
131
142
  enabled: z.ZodBoolean;
143
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
144
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
145
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ payAtCounter?: Record<string, string> | null | undefined;
148
+ paid?: Record<string, string> | null | undefined;
149
+ }, {
150
+ payAtCounter?: Record<string, string> | null | undefined;
151
+ paid?: Record<string, string> | null | undefined;
152
+ }>>>;
132
153
  }, "strip", z.ZodTypeAny, {
154
+ submitOrderInstruction?: {
155
+ payAtCounter?: Record<string, string> | null | undefined;
156
+ paid?: Record<string, string> | null | undefined;
157
+ } | null | undefined;
133
158
  enabled: boolean;
134
159
  }, {
160
+ submitOrderInstruction?: {
161
+ payAtCounter?: Record<string, string> | null | undefined;
162
+ paid?: Record<string, string> | null | undefined;
163
+ } | null | undefined;
135
164
  enabled: boolean;
136
165
  }>>>;
137
166
  displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -154,7 +183,21 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
154
183
  }>;
155
184
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
156
185
  padDigit: z.ZodNumber;
186
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
187
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
188
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
189
+ }, "strip", z.ZodTypeAny, {
190
+ payAtCounter?: Record<string, string> | null | undefined;
191
+ paid?: Record<string, string> | null | undefined;
192
+ }, {
193
+ payAtCounter?: Record<string, string> | null | undefined;
194
+ paid?: Record<string, string> | null | undefined;
195
+ }>>>;
157
196
  }, "strip", z.ZodTypeAny, {
197
+ submitOrderInstruction?: {
198
+ payAtCounter?: Record<string, string> | null | undefined;
199
+ paid?: Record<string, string> | null | undefined;
200
+ } | null | undefined;
158
201
  enabled: boolean;
159
202
  standSlotRange: {
160
203
  min: number;
@@ -165,6 +208,10 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
165
208
  }, {
166
209
  enabled?: boolean | undefined;
167
210
  prefix?: string | null | undefined;
211
+ submitOrderInstruction?: {
212
+ payAtCounter?: Record<string, string> | null | undefined;
213
+ paid?: Record<string, string> | null | undefined;
214
+ } | null | undefined;
168
215
  standSlotRange: {
169
216
  min: number;
170
217
  max: number;
@@ -174,9 +221,17 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
174
221
  }, "strip", z.ZodTypeAny, {
175
222
  requiredSlot?: boolean | null | undefined;
176
223
  pickUp?: {
224
+ submitOrderInstruction?: {
225
+ payAtCounter?: Record<string, string> | null | undefined;
226
+ paid?: Record<string, string> | null | undefined;
227
+ } | null | undefined;
177
228
  enabled: boolean;
178
229
  } | null | undefined;
179
230
  displayStand?: {
231
+ submitOrderInstruction?: {
232
+ payAtCounter?: Record<string, string> | null | undefined;
233
+ paid?: Record<string, string> | null | undefined;
234
+ } | null | undefined;
180
235
  enabled: boolean;
181
236
  standSlotRange: {
182
237
  min: number;
@@ -188,11 +243,19 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
188
243
  }, {
189
244
  requiredSlot?: boolean | null | undefined;
190
245
  pickUp?: {
246
+ submitOrderInstruction?: {
247
+ payAtCounter?: Record<string, string> | null | undefined;
248
+ paid?: Record<string, string> | null | undefined;
249
+ } | null | undefined;
191
250
  enabled: boolean;
192
251
  } | null | undefined;
193
252
  displayStand?: {
194
253
  enabled?: boolean | undefined;
195
254
  prefix?: string | null | undefined;
255
+ submitOrderInstruction?: {
256
+ payAtCounter?: Record<string, string> | null | undefined;
257
+ paid?: Record<string, string> | null | undefined;
258
+ } | null | undefined;
196
259
  standSlotRange: {
197
260
  min: number;
198
261
  max: number;
@@ -201,6 +264,28 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
201
264
  } | null | undefined;
202
265
  }>>>;
203
266
  canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
267
+ takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
268
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
269
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
270
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
271
+ }, "strip", z.ZodTypeAny, {
272
+ payAtCounter?: Record<string, string> | null | undefined;
273
+ paid?: Record<string, string> | null | undefined;
274
+ }, {
275
+ payAtCounter?: Record<string, string> | null | undefined;
276
+ paid?: Record<string, string> | null | undefined;
277
+ }>>>;
278
+ }, "strip", z.ZodTypeAny, {
279
+ submitOrderInstruction?: {
280
+ payAtCounter?: Record<string, string> | null | undefined;
281
+ paid?: Record<string, string> | null | undefined;
282
+ } | null | undefined;
283
+ }, {
284
+ submitOrderInstruction?: {
285
+ payAtCounter?: Record<string, string> | null | undefined;
286
+ paid?: Record<string, string> | null | undefined;
287
+ } | null | undefined;
288
+ }>>>;
204
289
  paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
205
290
  paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
206
291
  offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -297,9 +382,17 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
297
382
  dineIn?: {
298
383
  requiredSlot?: boolean | null | undefined;
299
384
  pickUp?: {
385
+ submitOrderInstruction?: {
386
+ payAtCounter?: Record<string, string> | null | undefined;
387
+ paid?: Record<string, string> | null | undefined;
388
+ } | null | undefined;
300
389
  enabled: boolean;
301
390
  } | null | undefined;
302
391
  displayStand?: {
392
+ submitOrderInstruction?: {
393
+ payAtCounter?: Record<string, string> | null | undefined;
394
+ paid?: Record<string, string> | null | undefined;
395
+ } | null | undefined;
303
396
  enabled: boolean;
304
397
  standSlotRange: {
305
398
  min: number;
@@ -310,6 +403,12 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
310
403
  } | null | undefined;
311
404
  } | null | undefined;
312
405
  canTakeaway?: boolean | null | undefined;
406
+ takeaway?: {
407
+ submitOrderInstruction?: {
408
+ payAtCounter?: Record<string, string> | null | undefined;
409
+ paid?: Record<string, string> | null | undefined;
410
+ } | null | undefined;
411
+ } | null | undefined;
313
412
  paymentSetting?: {
314
413
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
315
414
  offlinePaymentTypes?: {
@@ -334,11 +433,19 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
334
433
  dineIn?: {
335
434
  requiredSlot?: boolean | null | undefined;
336
435
  pickUp?: {
436
+ submitOrderInstruction?: {
437
+ payAtCounter?: Record<string, string> | null | undefined;
438
+ paid?: Record<string, string> | null | undefined;
439
+ } | null | undefined;
337
440
  enabled: boolean;
338
441
  } | null | undefined;
339
442
  displayStand?: {
340
443
  enabled?: boolean | undefined;
341
444
  prefix?: string | null | undefined;
445
+ submitOrderInstruction?: {
446
+ payAtCounter?: Record<string, string> | null | undefined;
447
+ paid?: Record<string, string> | null | undefined;
448
+ } | null | undefined;
342
449
  standSlotRange: {
343
450
  min: number;
344
451
  max: number;
@@ -347,6 +454,12 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
347
454
  } | null | undefined;
348
455
  } | null | undefined;
349
456
  canTakeaway?: boolean | null | undefined;
457
+ takeaway?: {
458
+ submitOrderInstruction?: {
459
+ payAtCounter?: Record<string, string> | null | undefined;
460
+ paid?: Record<string, string> | null | undefined;
461
+ } | null | undefined;
462
+ } | null | undefined;
350
463
  paymentSetting?: {
351
464
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
352
465
  offlinePaymentTypes?: {
@@ -371,3 +484,5 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
371
484
  export type FdoOrderKioskSettings = z.infer<typeof FdoOrderKioskSettings>;
372
485
  export type FdoEPaymentMethod = z.infer<typeof FdoEPaymentMethod>;
373
486
  export type FdoOrderKioskPaymentSetting = z.infer<typeof FdoOrderKioskPaymentSetting>;
487
+ export type FdoKioskOrderInstructionSetting = z.infer<typeof FdoKioskOrderInstructionSetting>;
488
+ export type FdoKioskTextSetting = z.infer<typeof FdoKioskTextSetting>;
@@ -1,4 +1,15 @@
1
1
  import { z } from 'zod';
2
+ export declare const KioskTextSettingDto: z.ZodRecord<z.ZodString, z.ZodString>;
3
+ export declare const KioskOrderInstructionSettingDto: z.ZodObject<{
4
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
5
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ payAtCounter?: Record<string, string> | null | undefined;
8
+ paid?: Record<string, string> | null | undefined;
9
+ }, {
10
+ payAtCounter?: Record<string, string> | null | undefined;
11
+ paid?: Record<string, string> | null | undefined;
12
+ }>;
2
13
  export declare const DisplayStandSettingDto: z.ZodObject<{
3
14
  enabled: z.ZodDefault<z.ZodBoolean>;
4
15
  standSlotRange: z.ZodEffects<z.ZodObject<{
@@ -19,7 +30,21 @@ export declare const DisplayStandSettingDto: z.ZodObject<{
19
30
  }>;
20
31
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
21
32
  padDigit: z.ZodNumber;
33
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
34
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
35
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ payAtCounter?: Record<string, string> | null | undefined;
38
+ paid?: Record<string, string> | null | undefined;
39
+ }, {
40
+ payAtCounter?: Record<string, string> | null | undefined;
41
+ paid?: Record<string, string> | null | undefined;
42
+ }>>>;
22
43
  }, "strip", z.ZodTypeAny, {
44
+ submitOrderInstruction?: {
45
+ payAtCounter?: Record<string, string> | null | undefined;
46
+ paid?: Record<string, string> | null | undefined;
47
+ } | null | undefined;
23
48
  enabled: boolean;
24
49
  standSlotRange: {
25
50
  min: number;
@@ -30,6 +55,10 @@ export declare const DisplayStandSettingDto: z.ZodObject<{
30
55
  }, {
31
56
  enabled?: boolean | undefined;
32
57
  prefix?: string | null | undefined;
58
+ submitOrderInstruction?: {
59
+ payAtCounter?: Record<string, string> | null | undefined;
60
+ paid?: Record<string, string> | null | undefined;
61
+ } | null | undefined;
33
62
  standSlotRange: {
34
63
  min: number;
35
64
  max: number;
@@ -38,58 +67,54 @@ export declare const DisplayStandSettingDto: z.ZodObject<{
38
67
  }>;
39
68
  export declare const KioskPickAtCounterSettingDto: z.ZodObject<{
40
69
  enabled: z.ZodBoolean;
41
- }, "strip", z.ZodTypeAny, {
42
- enabled: boolean;
43
- }, {
44
- enabled: boolean;
45
- }>;
46
- export declare const FdoEPaymentMethod: z.ZodObject<{
47
- card: z.ZodObject<{
48
- terminal: z.ZodDefault<z.ZodBoolean>;
49
- nfc: z.ZodDefault<z.ZodBoolean>;
50
- }, "strip", z.ZodTypeAny, {
51
- terminal: boolean;
52
- nfc: boolean;
53
- }, {
54
- terminal?: boolean | undefined;
55
- nfc?: boolean | undefined;
56
- }>;
57
- eWallet: z.ZodObject<{
58
- qrPay: z.ZodDefault<z.ZodBoolean>;
59
- scanPay: z.ZodDefault<z.ZodBoolean>;
70
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
71
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
72
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
60
73
  }, "strip", z.ZodTypeAny, {
61
- qrPay: boolean;
62
- scanPay: boolean;
74
+ payAtCounter?: Record<string, string> | null | undefined;
75
+ paid?: Record<string, string> | null | undefined;
63
76
  }, {
64
- qrPay?: boolean | undefined;
65
- scanPay?: boolean | undefined;
66
- }>;
77
+ payAtCounter?: Record<string, string> | null | undefined;
78
+ paid?: Record<string, string> | null | undefined;
79
+ }>>>;
67
80
  }, "strip", z.ZodTypeAny, {
68
- card: {
69
- terminal: boolean;
70
- nfc: boolean;
71
- };
72
- eWallet: {
73
- qrPay: boolean;
74
- scanPay: boolean;
75
- };
81
+ submitOrderInstruction?: {
82
+ payAtCounter?: Record<string, string> | null | undefined;
83
+ paid?: Record<string, string> | null | undefined;
84
+ } | null | undefined;
85
+ enabled: boolean;
76
86
  }, {
77
- card: {
78
- terminal?: boolean | undefined;
79
- nfc?: boolean | undefined;
80
- };
81
- eWallet: {
82
- qrPay?: boolean | undefined;
83
- scanPay?: boolean | undefined;
84
- };
87
+ submitOrderInstruction?: {
88
+ payAtCounter?: Record<string, string> | null | undefined;
89
+ paid?: Record<string, string> | null | undefined;
90
+ } | null | undefined;
91
+ enabled: boolean;
85
92
  }>;
86
93
  export declare const OrderKioskDineIn: z.ZodObject<{
87
94
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
88
95
  pickUp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
89
96
  enabled: z.ZodBoolean;
97
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
98
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
99
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ payAtCounter?: Record<string, string> | null | undefined;
102
+ paid?: Record<string, string> | null | undefined;
103
+ }, {
104
+ payAtCounter?: Record<string, string> | null | undefined;
105
+ paid?: Record<string, string> | null | undefined;
106
+ }>>>;
90
107
  }, "strip", z.ZodTypeAny, {
108
+ submitOrderInstruction?: {
109
+ payAtCounter?: Record<string, string> | null | undefined;
110
+ paid?: Record<string, string> | null | undefined;
111
+ } | null | undefined;
91
112
  enabled: boolean;
92
113
  }, {
114
+ submitOrderInstruction?: {
115
+ payAtCounter?: Record<string, string> | null | undefined;
116
+ paid?: Record<string, string> | null | undefined;
117
+ } | null | undefined;
93
118
  enabled: boolean;
94
119
  }>>>;
95
120
  displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -112,7 +137,21 @@ export declare const OrderKioskDineIn: z.ZodObject<{
112
137
  }>;
113
138
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
114
139
  padDigit: z.ZodNumber;
140
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
141
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
142
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ payAtCounter?: Record<string, string> | null | undefined;
145
+ paid?: Record<string, string> | null | undefined;
146
+ }, {
147
+ payAtCounter?: Record<string, string> | null | undefined;
148
+ paid?: Record<string, string> | null | undefined;
149
+ }>>>;
115
150
  }, "strip", z.ZodTypeAny, {
151
+ submitOrderInstruction?: {
152
+ payAtCounter?: Record<string, string> | null | undefined;
153
+ paid?: Record<string, string> | null | undefined;
154
+ } | null | undefined;
116
155
  enabled: boolean;
117
156
  standSlotRange: {
118
157
  min: number;
@@ -123,6 +162,10 @@ export declare const OrderKioskDineIn: z.ZodObject<{
123
162
  }, {
124
163
  enabled?: boolean | undefined;
125
164
  prefix?: string | null | undefined;
165
+ submitOrderInstruction?: {
166
+ payAtCounter?: Record<string, string> | null | undefined;
167
+ paid?: Record<string, string> | null | undefined;
168
+ } | null | undefined;
126
169
  standSlotRange: {
127
170
  min: number;
128
171
  max: number;
@@ -132,9 +175,17 @@ export declare const OrderKioskDineIn: z.ZodObject<{
132
175
  }, "strip", z.ZodTypeAny, {
133
176
  requiredSlot?: boolean | null | undefined;
134
177
  pickUp?: {
178
+ submitOrderInstruction?: {
179
+ payAtCounter?: Record<string, string> | null | undefined;
180
+ paid?: Record<string, string> | null | undefined;
181
+ } | null | undefined;
135
182
  enabled: boolean;
136
183
  } | null | undefined;
137
184
  displayStand?: {
185
+ submitOrderInstruction?: {
186
+ payAtCounter?: Record<string, string> | null | undefined;
187
+ paid?: Record<string, string> | null | undefined;
188
+ } | null | undefined;
138
189
  enabled: boolean;
139
190
  standSlotRange: {
140
191
  min: number;
@@ -146,11 +197,19 @@ export declare const OrderKioskDineIn: z.ZodObject<{
146
197
  }, {
147
198
  requiredSlot?: boolean | null | undefined;
148
199
  pickUp?: {
200
+ submitOrderInstruction?: {
201
+ payAtCounter?: Record<string, string> | null | undefined;
202
+ paid?: Record<string, string> | null | undefined;
203
+ } | null | undefined;
149
204
  enabled: boolean;
150
205
  } | null | undefined;
151
206
  displayStand?: {
152
207
  enabled?: boolean | undefined;
153
208
  prefix?: string | null | undefined;
209
+ submitOrderInstruction?: {
210
+ payAtCounter?: Record<string, string> | null | undefined;
211
+ paid?: Record<string, string> | null | undefined;
212
+ } | null | undefined;
154
213
  standSlotRange: {
155
214
  min: number;
156
215
  max: number;
@@ -250,14 +309,54 @@ export declare const OrderKioskMenuItemSetting: z.ZodObject<{
250
309
  }, {
251
310
  showAllOnly: boolean;
252
311
  }>;
312
+ export declare const OrderKioskTakeawaySetting: z.ZodObject<{
313
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
314
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
315
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
316
+ }, "strip", z.ZodTypeAny, {
317
+ payAtCounter?: Record<string, string> | null | undefined;
318
+ paid?: Record<string, string> | null | undefined;
319
+ }, {
320
+ payAtCounter?: Record<string, string> | null | undefined;
321
+ paid?: Record<string, string> | null | undefined;
322
+ }>>>;
323
+ }, "strip", z.ZodTypeAny, {
324
+ submitOrderInstruction?: {
325
+ payAtCounter?: Record<string, string> | null | undefined;
326
+ paid?: Record<string, string> | null | undefined;
327
+ } | null | undefined;
328
+ }, {
329
+ submitOrderInstruction?: {
330
+ payAtCounter?: Record<string, string> | null | undefined;
331
+ paid?: Record<string, string> | null | undefined;
332
+ } | null | undefined;
333
+ }>;
253
334
  export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
254
335
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
255
336
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
256
337
  pickUp: z.ZodNullable<z.ZodOptional<z.ZodObject<{
257
338
  enabled: z.ZodBoolean;
339
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
340
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
341
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ payAtCounter?: Record<string, string> | null | undefined;
344
+ paid?: Record<string, string> | null | undefined;
345
+ }, {
346
+ payAtCounter?: Record<string, string> | null | undefined;
347
+ paid?: Record<string, string> | null | undefined;
348
+ }>>>;
258
349
  }, "strip", z.ZodTypeAny, {
350
+ submitOrderInstruction?: {
351
+ payAtCounter?: Record<string, string> | null | undefined;
352
+ paid?: Record<string, string> | null | undefined;
353
+ } | null | undefined;
259
354
  enabled: boolean;
260
355
  }, {
356
+ submitOrderInstruction?: {
357
+ payAtCounter?: Record<string, string> | null | undefined;
358
+ paid?: Record<string, string> | null | undefined;
359
+ } | null | undefined;
261
360
  enabled: boolean;
262
361
  }>>>;
263
362
  displayStand: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -280,7 +379,21 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
280
379
  }>;
281
380
  prefix: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
282
381
  padDigit: z.ZodNumber;
382
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
383
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
384
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
385
+ }, "strip", z.ZodTypeAny, {
386
+ payAtCounter?: Record<string, string> | null | undefined;
387
+ paid?: Record<string, string> | null | undefined;
388
+ }, {
389
+ payAtCounter?: Record<string, string> | null | undefined;
390
+ paid?: Record<string, string> | null | undefined;
391
+ }>>>;
283
392
  }, "strip", z.ZodTypeAny, {
393
+ submitOrderInstruction?: {
394
+ payAtCounter?: Record<string, string> | null | undefined;
395
+ paid?: Record<string, string> | null | undefined;
396
+ } | null | undefined;
284
397
  enabled: boolean;
285
398
  standSlotRange: {
286
399
  min: number;
@@ -291,6 +404,10 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
291
404
  }, {
292
405
  enabled?: boolean | undefined;
293
406
  prefix?: string | null | undefined;
407
+ submitOrderInstruction?: {
408
+ payAtCounter?: Record<string, string> | null | undefined;
409
+ paid?: Record<string, string> | null | undefined;
410
+ } | null | undefined;
294
411
  standSlotRange: {
295
412
  min: number;
296
413
  max: number;
@@ -300,9 +417,17 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
300
417
  }, "strip", z.ZodTypeAny, {
301
418
  requiredSlot?: boolean | null | undefined;
302
419
  pickUp?: {
420
+ submitOrderInstruction?: {
421
+ payAtCounter?: Record<string, string> | null | undefined;
422
+ paid?: Record<string, string> | null | undefined;
423
+ } | null | undefined;
303
424
  enabled: boolean;
304
425
  } | null | undefined;
305
426
  displayStand?: {
427
+ submitOrderInstruction?: {
428
+ payAtCounter?: Record<string, string> | null | undefined;
429
+ paid?: Record<string, string> | null | undefined;
430
+ } | null | undefined;
306
431
  enabled: boolean;
307
432
  standSlotRange: {
308
433
  min: number;
@@ -314,11 +439,19 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
314
439
  }, {
315
440
  requiredSlot?: boolean | null | undefined;
316
441
  pickUp?: {
442
+ submitOrderInstruction?: {
443
+ payAtCounter?: Record<string, string> | null | undefined;
444
+ paid?: Record<string, string> | null | undefined;
445
+ } | null | undefined;
317
446
  enabled: boolean;
318
447
  } | null | undefined;
319
448
  displayStand?: {
320
449
  enabled?: boolean | undefined;
321
450
  prefix?: string | null | undefined;
451
+ submitOrderInstruction?: {
452
+ payAtCounter?: Record<string, string> | null | undefined;
453
+ paid?: Record<string, string> | null | undefined;
454
+ } | null | undefined;
322
455
  standSlotRange: {
323
456
  min: number;
324
457
  max: number;
@@ -327,6 +460,28 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
327
460
  } | null | undefined;
328
461
  }>>>;
329
462
  canTakeaway: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
463
+ takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
464
+ submitOrderInstruction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
465
+ payAtCounter: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
466
+ paid: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
467
+ }, "strip", z.ZodTypeAny, {
468
+ payAtCounter?: Record<string, string> | null | undefined;
469
+ paid?: Record<string, string> | null | undefined;
470
+ }, {
471
+ payAtCounter?: Record<string, string> | null | undefined;
472
+ paid?: Record<string, string> | null | undefined;
473
+ }>>>;
474
+ }, "strip", z.ZodTypeAny, {
475
+ submitOrderInstruction?: {
476
+ payAtCounter?: Record<string, string> | null | undefined;
477
+ paid?: Record<string, string> | null | undefined;
478
+ } | null | undefined;
479
+ }, {
480
+ submitOrderInstruction?: {
481
+ payAtCounter?: Record<string, string> | null | undefined;
482
+ paid?: Record<string, string> | null | undefined;
483
+ } | null | undefined;
484
+ }>>>;
330
485
  paymentSetting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
331
486
  paymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEnum<["cash", "ePayment", "ePaymentNonPayout", "credit", "ePaymentSandbox"]>>, "many">>>;
332
487
  offlinePaymentTypes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -423,9 +578,17 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
423
578
  dineIn?: {
424
579
  requiredSlot?: boolean | null | undefined;
425
580
  pickUp?: {
581
+ submitOrderInstruction?: {
582
+ payAtCounter?: Record<string, string> | null | undefined;
583
+ paid?: Record<string, string> | null | undefined;
584
+ } | null | undefined;
426
585
  enabled: boolean;
427
586
  } | null | undefined;
428
587
  displayStand?: {
588
+ submitOrderInstruction?: {
589
+ payAtCounter?: Record<string, string> | null | undefined;
590
+ paid?: Record<string, string> | null | undefined;
591
+ } | null | undefined;
429
592
  enabled: boolean;
430
593
  standSlotRange: {
431
594
  min: number;
@@ -436,6 +599,12 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
436
599
  } | null | undefined;
437
600
  } | null | undefined;
438
601
  canTakeaway?: boolean | null | undefined;
602
+ takeaway?: {
603
+ submitOrderInstruction?: {
604
+ payAtCounter?: Record<string, string> | null | undefined;
605
+ paid?: Record<string, string> | null | undefined;
606
+ } | null | undefined;
607
+ } | null | undefined;
439
608
  paymentSetting?: {
440
609
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
441
610
  offlinePaymentTypes?: {
@@ -460,11 +629,19 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
460
629
  dineIn?: {
461
630
  requiredSlot?: boolean | null | undefined;
462
631
  pickUp?: {
632
+ submitOrderInstruction?: {
633
+ payAtCounter?: Record<string, string> | null | undefined;
634
+ paid?: Record<string, string> | null | undefined;
635
+ } | null | undefined;
463
636
  enabled: boolean;
464
637
  } | null | undefined;
465
638
  displayStand?: {
466
639
  enabled?: boolean | undefined;
467
640
  prefix?: string | null | undefined;
641
+ submitOrderInstruction?: {
642
+ payAtCounter?: Record<string, string> | null | undefined;
643
+ paid?: Record<string, string> | null | undefined;
644
+ } | null | undefined;
468
645
  standSlotRange: {
469
646
  min: number;
470
647
  max: number;
@@ -473,6 +650,12 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
473
650
  } | null | undefined;
474
651
  } | null | undefined;
475
652
  canTakeaway?: boolean | null | undefined;
653
+ takeaway?: {
654
+ submitOrderInstruction?: {
655
+ payAtCounter?: Record<string, string> | null | undefined;
656
+ paid?: Record<string, string> | null | undefined;
657
+ } | null | undefined;
658
+ } | null | undefined;
476
659
  paymentSetting?: {
477
660
  paymentTypes?: ("cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox")[] | null | undefined;
478
661
  offlinePaymentTypes?: {
@@ -497,4 +680,5 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
497
680
  export type OrderKioskSettings = z.infer<typeof OrderKioskSettings>;
498
681
  export type OrderKioskDineIn = z.infer<typeof OrderKioskDineIn>;
499
682
  export type OrderKioskPaymentSetting = z.infer<typeof OrderKioskPaymentSetting>;
500
- export type FdoEPaymentMethod = z.infer<typeof FdoEPaymentMethod>;
683
+ export type KioskTextSettingDto = z.infer<typeof KioskTextSettingDto>;
684
+ export type KioskOrderInstructionSettingDto = z.infer<typeof KioskOrderInstructionSettingDto>;
@@ -0,0 +1,3 @@
1
+ import { z } from "zod";
2
+ export declare const F_LOCALE: z.ZodString;
3
+ export type F_LOCALE = z.infer<typeof F_LOCALE>;