@feedmepos/mf-order-setting 0.0.31 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{KioskDevicesView-CWzmu0rZ.js → KioskDevicesView-CxZI99me.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CldPl8BW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-EGj4fxeN.js} +2 -2
  3. package/dist/{KioskSettingView-BsxOiUdj.js → KioskSettingView-CTDY8__s.js} +1 -1
  4. package/dist/{KioskView-DBnQe7Mp.js → KioskView-IUQTvUF8.js} +4 -4
  5. package/dist/{OrderSettingsView-BvDtRpI_.js → OrderSettingsView-VLE9yxNt.js} +9404 -9191
  6. package/dist/{app-G3iTmEHp.js → app-cd45Ryph.js} +12 -8
  7. package/dist/app.js +1 -1
  8. package/dist/common/convertor/index.d.ts +2 -0
  9. package/dist/{dayjs.min-ChzYZzP1.js → dayjs.min-CRAlrjJy.js} +1 -1
  10. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
  11. package/dist/frontend/mf-order/src/app.d.ts +4 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +4 -0
  13. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
  14. package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +1 -1
  15. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +3 -1
  16. package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -1
  17. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue.d.ts +46 -0
  18. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -4
  19. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  20. package/dist/{index-Bacw_1Kj.js → index-DLWAy-3K.js} +2 -2
  21. package/dist/{queue.do-BtfSllT8.js → menu.dto-DGDI6XwH.js} +24399 -23624
  22. package/dist/package/entity/booking/booking.do.d.ts +20 -20
  23. package/dist/package/entity/delivery/delivery.dto.d.ts +4 -4
  24. package/dist/package/entity/food-court/food-court.dto.d.ts +29 -29
  25. package/dist/package/entity/food-court/order.do.d.ts +4 -2
  26. package/dist/package/entity/food-court/order.dto.d.ts +9524 -91
  27. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +4 -4
  28. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +126 -0
  29. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +12 -12
  30. package/dist/package/entity/index.d.ts +23 -1
  31. package/dist/package/entity/kiosk/kiosk.do.d.ts +6 -6
  32. package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -6
  33. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +64 -17
  34. package/dist/package/entity/marketing/marketing.dto.d.ts +239 -0
  35. package/dist/package/entity/order/order-item/order-item.dto.d.ts +10 -2
  36. package/dist/package/entity/order/order.dto.d.ts +24 -16
  37. package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +523 -0
  38. package/dist/package/entity/order-platform/deliveroo/deliveroo-order.do.d.ts +7814 -0
  39. package/dist/package/entity/order-platform/deliveroo/deliveroo-order.dto.d.ts +15 -0
  40. package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +37 -0
  41. package/dist/package/entity/order-platform/deliveroo/deliveroo.enum.d.ts +31 -0
  42. package/dist/package/entity/order-platform/deliveroo/deliveroo.menu.dto.d.ts +2341 -0
  43. package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +2073 -0
  44. package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +736 -214
  45. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +3 -3
  46. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +3 -3
  47. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +4 -4
  48. package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +2 -2
  49. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +4 -4
  50. package/dist/package/entity/order-platform/menu.dto.d.ts +44 -44
  51. package/dist/package/entity/order-platform/order-platform.enum.d.ts +6 -1
  52. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +59 -4
  53. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +32 -0
  54. package/dist/package/entity/queue/queue.do.d.ts +12 -0
  55. package/dist/package/entity/queue/queue.dto.d.ts +9 -9
  56. package/dist/package/entity/restaurant/restaurant.dto.d.ts +9 -9
  57. package/package.json +2 -2
  58. package/src/api/remoteOrder/index.ts +20 -2
  59. package/src/locales/en-US.json +1 -0
  60. package/src/locales/th-TH.json +1 -0
  61. package/src/locales/zh-CN.json +2 -0
  62. package/src/stores/restaurant/index.ts +12 -7
  63. package/src/views/order-settings/delivery/DeliverySetting.vue +141 -57
  64. package/src/views/order-settings/delivery/delivery.data.ts +10 -1
  65. package/src/views/order-settings/delivery/delivery.ts +34 -9
  66. package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +109 -0
  67. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +11 -10
@@ -0,0 +1,523 @@
1
+ import { z } from 'zod';
2
+ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendShape<{
3
+ enable: z.ZodOptional<z.ZodBoolean>;
4
+ _id: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
5
+ merchantID: z.ZodOptional<z.ZodString>;
6
+ catalogId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
7
+ lastSynchronize: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
8
+ autoCloseBill: z.ZodOptional<z.ZodBoolean>;
9
+ status: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
10
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
11
+ menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
12
+ printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
13
+ }, {
14
+ enable: z.ZodBoolean;
15
+ merchantID: z.ZodString;
16
+ autoCloseBill: z.ZodBoolean;
17
+ }>, "strip", z.ZodTypeAny, {
18
+ status?: string | null | undefined;
19
+ _id?: string | undefined;
20
+ catalogId?: string | null | undefined;
21
+ printReceiptAfterClose?: boolean | null | undefined;
22
+ lastSynchronize?: string | null | undefined;
23
+ updatedAt?: string | null | undefined;
24
+ menuSyncError?: string | null | undefined;
25
+ enable: boolean;
26
+ autoCloseBill: boolean;
27
+ merchantID: string;
28
+ }, {
29
+ status?: string | null | undefined;
30
+ _id?: string | undefined;
31
+ catalogId?: string | null | undefined;
32
+ printReceiptAfterClose?: boolean | null | undefined;
33
+ lastSynchronize?: string | null | undefined;
34
+ updatedAt?: string | null | undefined;
35
+ menuSyncError?: string | null | undefined;
36
+ enable: boolean;
37
+ autoCloseBill: boolean;
38
+ merchantID: string;
39
+ }>;
40
+ export declare const DRConfig: z.ZodObject<{
41
+ client_id: z.ZodString;
42
+ client_secret: z.ZodString;
43
+ grant_type: z.ZodString;
44
+ }, "strip", z.ZodTypeAny, {
45
+ client_id: string;
46
+ grant_type: string;
47
+ client_secret: string;
48
+ }, {
49
+ client_id: string;
50
+ grant_type: string;
51
+ client_secret: string;
52
+ }>;
53
+ export declare const DRLoginRes: z.ZodObject<{
54
+ access_token: z.ZodString;
55
+ token_type: z.ZodString;
56
+ expires_in: z.ZodNumber;
57
+ }, "strip", z.ZodTypeAny, {
58
+ access_token: string;
59
+ expires_in: number;
60
+ token_type: string;
61
+ }, {
62
+ access_token: string;
63
+ expires_in: number;
64
+ token_type: string;
65
+ }>;
66
+ export declare const DRBrandRes: z.ZodObject<{
67
+ id: z.ZodString;
68
+ brand_id: z.ZodArray<z.ZodString, "many">;
69
+ }, "strip", z.ZodTypeAny, {
70
+ id: string;
71
+ brand_id: string[];
72
+ }, {
73
+ id: string;
74
+ brand_id: string[];
75
+ }>;
76
+ export declare const DRMenuErrorBarcode: z.ZodObject<{
77
+ barcode: z.ZodString;
78
+ message: z.ZodString;
79
+ }, "strip", z.ZodTypeAny, {
80
+ message: string;
81
+ barcode: string;
82
+ }, {
83
+ message: string;
84
+ barcode: string;
85
+ }>;
86
+ export declare const DRMenuErrorImage: z.ZodObject<{
87
+ url: z.ZodString;
88
+ message: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ message: string;
91
+ url: string;
92
+ }, {
93
+ message: string;
94
+ url: string;
95
+ }>;
96
+ export declare const DRMenuUploadError: z.ZodObject<{
97
+ processing: z.ZodString;
98
+ images: z.ZodArray<z.ZodObject<{
99
+ url: z.ZodString;
100
+ message: z.ZodString;
101
+ }, "strip", z.ZodTypeAny, {
102
+ message: string;
103
+ url: string;
104
+ }, {
105
+ message: string;
106
+ url: string;
107
+ }>, "many">;
108
+ barcodes: z.ZodArray<z.ZodObject<{
109
+ barcode: z.ZodString;
110
+ message: z.ZodString;
111
+ }, "strip", z.ZodTypeAny, {
112
+ message: string;
113
+ barcode: string;
114
+ }, {
115
+ message: string;
116
+ barcode: string;
117
+ }>, "many">;
118
+ }, "strip", z.ZodTypeAny, {
119
+ images: {
120
+ message: string;
121
+ url: string;
122
+ }[];
123
+ barcodes: {
124
+ message: string;
125
+ barcode: string;
126
+ }[];
127
+ processing: string;
128
+ }, {
129
+ images: {
130
+ message: string;
131
+ url: string;
132
+ }[];
133
+ barcodes: {
134
+ message: string;
135
+ barcode: string;
136
+ }[];
137
+ processing: string;
138
+ }>;
139
+ export declare const DRMenuUploadResult: z.ZodObject<{
140
+ http_status: z.ZodNumber;
141
+ brand_id: z.ZodString;
142
+ menu_id: z.ZodString;
143
+ site_ids: z.ZodArray<z.ZodString, "many">;
144
+ errors: z.ZodOptional<z.ZodObject<{
145
+ processing: z.ZodString;
146
+ images: z.ZodArray<z.ZodObject<{
147
+ url: z.ZodString;
148
+ message: z.ZodString;
149
+ }, "strip", z.ZodTypeAny, {
150
+ message: string;
151
+ url: string;
152
+ }, {
153
+ message: string;
154
+ url: string;
155
+ }>, "many">;
156
+ barcodes: z.ZodArray<z.ZodObject<{
157
+ barcode: z.ZodString;
158
+ message: z.ZodString;
159
+ }, "strip", z.ZodTypeAny, {
160
+ message: string;
161
+ barcode: string;
162
+ }, {
163
+ message: string;
164
+ barcode: string;
165
+ }>, "many">;
166
+ }, "strip", z.ZodTypeAny, {
167
+ images: {
168
+ message: string;
169
+ url: string;
170
+ }[];
171
+ barcodes: {
172
+ message: string;
173
+ barcode: string;
174
+ }[];
175
+ processing: string;
176
+ }, {
177
+ images: {
178
+ message: string;
179
+ url: string;
180
+ }[];
181
+ barcodes: {
182
+ message: string;
183
+ barcode: string;
184
+ }[];
185
+ processing: string;
186
+ }>>;
187
+ }, "strip", z.ZodTypeAny, {
188
+ errors?: {
189
+ images: {
190
+ message: string;
191
+ url: string;
192
+ }[];
193
+ barcodes: {
194
+ message: string;
195
+ barcode: string;
196
+ }[];
197
+ processing: string;
198
+ } | undefined;
199
+ site_ids: string[];
200
+ brand_id: string;
201
+ http_status: number;
202
+ menu_id: string;
203
+ }, {
204
+ errors?: {
205
+ images: {
206
+ message: string;
207
+ url: string;
208
+ }[];
209
+ barcodes: {
210
+ message: string;
211
+ barcode: string;
212
+ }[];
213
+ processing: string;
214
+ } | undefined;
215
+ site_ids: string[];
216
+ brand_id: string;
217
+ http_status: number;
218
+ menu_id: string;
219
+ }>;
220
+ export declare const DRMenuUploadResultBody: z.ZodObject<{
221
+ menu_upload_result: z.ZodObject<{
222
+ http_status: z.ZodNumber;
223
+ brand_id: z.ZodString;
224
+ menu_id: z.ZodString;
225
+ site_ids: z.ZodArray<z.ZodString, "many">;
226
+ errors: z.ZodOptional<z.ZodObject<{
227
+ processing: z.ZodString;
228
+ images: z.ZodArray<z.ZodObject<{
229
+ url: z.ZodString;
230
+ message: z.ZodString;
231
+ }, "strip", z.ZodTypeAny, {
232
+ message: string;
233
+ url: string;
234
+ }, {
235
+ message: string;
236
+ url: string;
237
+ }>, "many">;
238
+ barcodes: z.ZodArray<z.ZodObject<{
239
+ barcode: z.ZodString;
240
+ message: z.ZodString;
241
+ }, "strip", z.ZodTypeAny, {
242
+ message: string;
243
+ barcode: string;
244
+ }, {
245
+ message: string;
246
+ barcode: string;
247
+ }>, "many">;
248
+ }, "strip", z.ZodTypeAny, {
249
+ images: {
250
+ message: string;
251
+ url: string;
252
+ }[];
253
+ barcodes: {
254
+ message: string;
255
+ barcode: string;
256
+ }[];
257
+ processing: string;
258
+ }, {
259
+ images: {
260
+ message: string;
261
+ url: string;
262
+ }[];
263
+ barcodes: {
264
+ message: string;
265
+ barcode: string;
266
+ }[];
267
+ processing: string;
268
+ }>>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ errors?: {
271
+ images: {
272
+ message: string;
273
+ url: string;
274
+ }[];
275
+ barcodes: {
276
+ message: string;
277
+ barcode: string;
278
+ }[];
279
+ processing: string;
280
+ } | undefined;
281
+ site_ids: string[];
282
+ brand_id: string;
283
+ http_status: number;
284
+ menu_id: string;
285
+ }, {
286
+ errors?: {
287
+ images: {
288
+ message: string;
289
+ url: string;
290
+ }[];
291
+ barcodes: {
292
+ message: string;
293
+ barcode: string;
294
+ }[];
295
+ processing: string;
296
+ } | undefined;
297
+ site_ids: string[];
298
+ brand_id: string;
299
+ http_status: number;
300
+ menu_id: string;
301
+ }>;
302
+ }, "strip", z.ZodTypeAny, {
303
+ menu_upload_result: {
304
+ errors?: {
305
+ images: {
306
+ message: string;
307
+ url: string;
308
+ }[];
309
+ barcodes: {
310
+ message: string;
311
+ barcode: string;
312
+ }[];
313
+ processing: string;
314
+ } | undefined;
315
+ site_ids: string[];
316
+ brand_id: string;
317
+ http_status: number;
318
+ menu_id: string;
319
+ };
320
+ }, {
321
+ menu_upload_result: {
322
+ errors?: {
323
+ images: {
324
+ message: string;
325
+ url: string;
326
+ }[];
327
+ barcodes: {
328
+ message: string;
329
+ barcode: string;
330
+ }[];
331
+ processing: string;
332
+ } | undefined;
333
+ site_ids: string[];
334
+ brand_id: string;
335
+ http_status: number;
336
+ menu_id: string;
337
+ };
338
+ }>;
339
+ export declare const FdtoDeliverooSyncDataDto: z.ZodObject<{
340
+ event: z.ZodString;
341
+ body: z.ZodObject<{
342
+ menu_upload_result: z.ZodObject<{
343
+ http_status: z.ZodNumber;
344
+ brand_id: z.ZodString;
345
+ menu_id: z.ZodString;
346
+ site_ids: z.ZodArray<z.ZodString, "many">;
347
+ errors: z.ZodOptional<z.ZodObject<{
348
+ processing: z.ZodString;
349
+ images: z.ZodArray<z.ZodObject<{
350
+ url: z.ZodString;
351
+ message: z.ZodString;
352
+ }, "strip", z.ZodTypeAny, {
353
+ message: string;
354
+ url: string;
355
+ }, {
356
+ message: string;
357
+ url: string;
358
+ }>, "many">;
359
+ barcodes: z.ZodArray<z.ZodObject<{
360
+ barcode: z.ZodString;
361
+ message: z.ZodString;
362
+ }, "strip", z.ZodTypeAny, {
363
+ message: string;
364
+ barcode: string;
365
+ }, {
366
+ message: string;
367
+ barcode: string;
368
+ }>, "many">;
369
+ }, "strip", z.ZodTypeAny, {
370
+ images: {
371
+ message: string;
372
+ url: string;
373
+ }[];
374
+ barcodes: {
375
+ message: string;
376
+ barcode: string;
377
+ }[];
378
+ processing: string;
379
+ }, {
380
+ images: {
381
+ message: string;
382
+ url: string;
383
+ }[];
384
+ barcodes: {
385
+ message: string;
386
+ barcode: string;
387
+ }[];
388
+ processing: string;
389
+ }>>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ errors?: {
392
+ images: {
393
+ message: string;
394
+ url: string;
395
+ }[];
396
+ barcodes: {
397
+ message: string;
398
+ barcode: string;
399
+ }[];
400
+ processing: string;
401
+ } | undefined;
402
+ site_ids: string[];
403
+ brand_id: string;
404
+ http_status: number;
405
+ menu_id: string;
406
+ }, {
407
+ errors?: {
408
+ images: {
409
+ message: string;
410
+ url: string;
411
+ }[];
412
+ barcodes: {
413
+ message: string;
414
+ barcode: string;
415
+ }[];
416
+ processing: string;
417
+ } | undefined;
418
+ site_ids: string[];
419
+ brand_id: string;
420
+ http_status: number;
421
+ menu_id: string;
422
+ }>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ menu_upload_result: {
425
+ errors?: {
426
+ images: {
427
+ message: string;
428
+ url: string;
429
+ }[];
430
+ barcodes: {
431
+ message: string;
432
+ barcode: string;
433
+ }[];
434
+ processing: string;
435
+ } | undefined;
436
+ site_ids: string[];
437
+ brand_id: string;
438
+ http_status: number;
439
+ menu_id: string;
440
+ };
441
+ }, {
442
+ menu_upload_result: {
443
+ errors?: {
444
+ images: {
445
+ message: string;
446
+ url: string;
447
+ }[];
448
+ barcodes: {
449
+ message: string;
450
+ barcode: string;
451
+ }[];
452
+ processing: string;
453
+ } | undefined;
454
+ site_ids: string[];
455
+ brand_id: string;
456
+ http_status: number;
457
+ menu_id: string;
458
+ };
459
+ }>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ event: string;
462
+ body: {
463
+ menu_upload_result: {
464
+ errors?: {
465
+ images: {
466
+ message: string;
467
+ url: string;
468
+ }[];
469
+ barcodes: {
470
+ message: string;
471
+ barcode: string;
472
+ }[];
473
+ processing: string;
474
+ } | undefined;
475
+ site_ids: string[];
476
+ brand_id: string;
477
+ http_status: number;
478
+ menu_id: string;
479
+ };
480
+ };
481
+ }, {
482
+ event: string;
483
+ body: {
484
+ menu_upload_result: {
485
+ errors?: {
486
+ images: {
487
+ message: string;
488
+ url: string;
489
+ }[];
490
+ barcodes: {
491
+ message: string;
492
+ barcode: string;
493
+ }[];
494
+ processing: string;
495
+ } | undefined;
496
+ site_ids: string[];
497
+ brand_id: string;
498
+ http_status: number;
499
+ menu_id: string;
500
+ };
501
+ };
502
+ }>;
503
+ export declare const DRItemUnavailabilityResult: z.ZodObject<{
504
+ unavailable_ids: z.ZodArray<z.ZodString, "many">;
505
+ hidden_ids: z.ZodArray<z.ZodString, "many">;
506
+ }, "strip", z.ZodTypeAny, {
507
+ unavailable_ids: string[];
508
+ hidden_ids: string[];
509
+ }, {
510
+ unavailable_ids: string[];
511
+ hidden_ids: string[];
512
+ }>;
513
+ export type FdtoDeliverooCreateOrUpdateSettings = z.infer<typeof FdtoDeliverooCreateOrUpdateSettings>;
514
+ export type DRConfig = z.infer<typeof DRConfig>;
515
+ export type DRLoginRes = z.infer<typeof DRLoginRes>;
516
+ export type DRBrandRes = z.infer<typeof DRBrandRes>;
517
+ export type DRMenuUploadResult = z.infer<typeof DRMenuUploadResult>;
518
+ export type FdtoDeliverooSyncDataDto = z.infer<typeof FdtoDeliverooSyncDataDto>;
519
+ export type DRMenuUploadError = z.infer<typeof DRMenuUploadError>;
520
+ export type DRMenuErrorImage = z.infer<typeof DRMenuErrorImage>;
521
+ export type DRMenuErrorBarcode = z.infer<typeof DRMenuErrorBarcode>;
522
+ export type DRMenuUploadResultBody = z.infer<typeof DRMenuUploadResultBody>;
523
+ export type DRItemUnavailabilityResult = z.infer<typeof DRItemUnavailabilityResult>;