@feedmepos/mf-order-setting 0.0.76 → 0.0.77

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 (81) hide show
  1. package/dist/{KioskDevicesView-H7stMDFu.js → KioskDevicesView-Dgs5_UoK.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DgpV4oKE.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-B4DXPgAV.js} +3 -3
  3. package/dist/KioskSettingView-BUcPNVTc.js +681 -0
  4. package/dist/{KioskView-Cxcc1UL1.js → KioskView-DelVMMj4.js} +137 -127
  5. package/dist/{OrderSettingsView-Ds2L_rbu.js → OrderSettingsView-DE2U7vqW.js} +9232 -8262
  6. package/dist/{app-BDlPjU4y.js → app-BIvt4NBq.js} +1476 -1302
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-OJf1trOq.js → dayjs.min-B58_jBg3.js} +1 -1
  9. package/dist/frontend/mf-order/src/api/index.d.ts +3 -1
  10. package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +65 -2
  11. package/dist/frontend/mf-order/src/app.d.ts +174 -0
  12. package/dist/frontend/mf-order/src/composables/useInternalUser.d.ts +3 -0
  13. package/dist/frontend/mf-order/src/main.d.ts +174 -0
  14. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +4 -0
  15. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +15 -3
  16. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/AdditionalStores.vue.d.ts +16 -0
  17. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +2 -2
  18. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaAdditionalStores.vue.d.ts +10 -0
  19. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +15 -4
  20. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +10 -0
  21. package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodAdditionalStores.vue.d.ts +10 -0
  22. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  23. package/dist/index-CLS-FSH-.js +762 -0
  24. package/dist/{index-gGOpbnY3.js → index-CahsmFL1.js} +1 -1
  25. package/dist/{lineman-settings.dto-Cny_fF4n.js → lineman-settings.dto-DBDThIb0.js} +8999 -8874
  26. package/dist/package/entity/delivery/delivery.enum.d.ts +1 -1
  27. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +4 -4
  28. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +11 -0
  29. package/dist/package/entity/order-platform/base-integration.dto.d.ts +179 -0
  30. package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
  31. package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
  32. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2 -2
  33. package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +4 -4
  34. package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +4 -4
  35. package/dist/package/entity/order-platform/foodpanda/foodpanda-menu.dto.d.ts +1 -1
  36. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +105 -4
  37. package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +30 -11
  38. package/dist/package/entity/order-platform/gofood/gofood-settings.do.d.ts +2 -2
  39. package/dist/package/entity/order-platform/gofood/gofood-settings.dto.d.ts +2 -2
  40. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +10 -10
  41. package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +134 -6
  42. package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +42 -20
  43. package/dist/package/entity/order-platform/lineman/lineman-settings.do.d.ts +2 -2
  44. package/dist/package/entity/order-platform/lineman/lineman-settings.dto.d.ts +2 -2
  45. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +102 -4
  46. package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +66 -5
  47. package/dist/package/entity/order-platform/tng/tng-settings.do.d.ts +2 -2
  48. package/dist/package/entity/order-platform/tng/tng-settings.dto.d.ts +4 -4
  49. package/dist/package/entity/order-setting/dine-in/dine-in.do.d.ts +2 -2
  50. package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +2 -2
  51. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +6 -0
  52. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +6 -0
  53. package/dist/package/entity/order-setting/order-setting.do.d.ts +14 -4
  54. package/dist/package/entity/order-setting/order-setting.dto.d.ts +28 -8
  55. package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -0
  56. package/dist/package/entity/websocket/websocket.dto.d.ts +24 -0
  57. package/dist/style.css +1 -1
  58. package/package.json +1 -1
  59. package/src/api/index.ts +8 -2
  60. package/src/api/remoteOrder/index.ts +200 -4
  61. package/src/composables/useInternalUser.ts +14 -0
  62. package/src/locales/en-US.json +43 -0
  63. package/src/locales/ja-JP.json +43 -0
  64. package/src/locales/th-TH.json +90 -45
  65. package/src/locales/zh-CN.json +43 -0
  66. package/src/modules/order-setting/kiosk/interface.ts +29 -19
  67. package/src/stores/order-setting/mapper.ts +65 -55
  68. package/src/views/kiosk/settings/KioskSettingView.vue +33 -0
  69. package/src/views/order-settings/delivery/DeliverySetting.vue +0 -1
  70. package/src/views/order-settings/delivery/delivery.data.ts +3 -0
  71. package/src/views/order-settings/delivery/integrated-delivery/AdditionalStores.vue +472 -0
  72. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaAdditionalStores.vue +314 -0
  73. package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +27 -8
  74. package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +31 -12
  75. package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +23 -11
  76. package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +144 -0
  77. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodAdditionalStores.vue +335 -0
  78. package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +29 -8
  79. package/src/views/order-settings/queue/QueueSetting.vue +1 -1
  80. package/dist/KioskSettingView-fF6k9s_q.js +0 -658
  81. package/dist/index-Bid9lO2x.js +0 -665
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as e, t as r, v as o } from "./app-BDlPjU4y.js";
1
+ import { _ as e, t as r, v as o } from "./app-BIvt4NBq.js";
2
2
  export {
3
3
  e as FmApp,
4
4
  r as i18nMessages,
@@ -1,4 +1,4 @@
1
- import { g as Q, c as K } from "./app-BDlPjU4y.js";
1
+ import { g as Q, c as K } from "./app-BIvt4NBq.js";
2
2
  var E = { exports: {} };
3
3
  (function(V, X) {
4
4
  (function(W, Y) {
@@ -24,7 +24,9 @@ declare class ApiError extends Error {
24
24
  export declare class SvcCompanyApiError extends ApiError {
25
25
  /** HTTP status from the failed response, when available (e.g. 403 for permission denied). */
26
26
  readonly status?: number;
27
- constructor(message: string, status?: number);
27
+ /** Stable application error code from the failed response, when supplied. */
28
+ readonly code?: string;
29
+ constructor(message: string, status?: number, code?: string);
28
30
  }
29
31
  export declare const baseClientInstance: (path?: string, variant?: ApiVariant, config?: {
30
32
  noIdRequired?: boolean;
@@ -1,6 +1,57 @@
1
1
  import type { DeliveryCompany, LinkedDeliveryDoc } from '../../views/order-settings/delivery/delivery';
2
2
  import { FdoLinkedDelivery, FdoRestaurant, FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery } from '@feedmepos/core/entity';
3
- import type { FdoDeliverooSettings, FdoExternalSetting, FdoFoodpandaOrderOutput, FdoFoodpandaSettings, FdoGoFoodSettings, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdoLinemanSettings, FdoShopeeFoodOrder, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoGetOrderReq, FdoTngSettings } from '@entity';
3
+ import type { FdoDeliverooSettings, FdoExternalSetting, FdoFoodpandaOrderOutput, FdoFoodpandaSettings, FPdtoFoodpandaAdditionalStoreCreate, FPdtoFoodpandaAdditionalStoreUpsert, FdoGoFoodSettings, FdoGrabfoodOrderOutput, FdoGrabfoodSettings, FdtoGrabfoodAdditionalStoreUpsert, FdoLinemanSettings, FdoShopeeFoodOrder, FdoShopeeFoodOrderOutput, FdoShopeeFoodSettings, FdtoShopeeFoodAdditionalStoreUpsert, FdtoGetOrderReq, FdoTngSettings } from '@entity';
4
+ /** A store row as returned by GET /setting/:rid/stores — primary (flagged) + additional. */
5
+ export interface GrabfoodStoreView {
6
+ /** Canonical FeedMe identity used by all store CRUD routes. */
7
+ integrationId: string;
8
+ /** Client-only route identity; always equal to integrationId. */
9
+ routeId: string;
10
+ partnerId?: string | null;
11
+ providerId?: string | null;
12
+ merchantID: string;
13
+ catalogId?: string | null;
14
+ enable?: boolean;
15
+ lastSynchronize?: string | null;
16
+ status?: string | null;
17
+ menuSyncError?: string | null;
18
+ menuRetryCount?: number | null;
19
+ integrationStatus?: string | null;
20
+ updatedAt?: string | null;
21
+ isPrimary: boolean;
22
+ }
23
+ export interface FoodpandaStoreView {
24
+ /** Canonical FeedMe identity used by all store CRUD routes. */
25
+ integrationId: string;
26
+ /** Client-only route identity; always equal to integrationId. */
27
+ routeId: string;
28
+ partnerId?: string | null;
29
+ providerId?: string | null;
30
+ remoteId: string;
31
+ catalogId?: string | null;
32
+ enable?: boolean;
33
+ lastSynchronize?: string | null;
34
+ status?: string | null;
35
+ menuSyncError?: string | null;
36
+ updatedAt?: string | null;
37
+ isPrimary: boolean;
38
+ }
39
+ export interface ShopeefoodStoreView {
40
+ /** Canonical FeedMe identity used by all store CRUD routes. */
41
+ integrationId: string;
42
+ /** Client-only route identity; always equal to integrationId. */
43
+ routeId: string;
44
+ partnerId?: string | null;
45
+ providerId?: string | null;
46
+ storeID: string;
47
+ catalogId?: string | null;
48
+ enable?: boolean;
49
+ lastSynchronize?: string | null;
50
+ status?: string | null;
51
+ menuSyncError?: string | null;
52
+ updatedAt?: string | null;
53
+ isPrimary: boolean;
54
+ }
4
55
  type DeliveryCompanyUrl = 'foodpanda' | 'grabfood' | 'shopeefood' | 'deliveroo' | 'gofood' | 'tng' | 'external' | 'lineman';
5
56
  export declare const remoteOrderApi: {
6
57
  readLinkedDeliveryCompanies(): Promise<LinkedDeliveryDoc[]>;
@@ -17,19 +68,31 @@ export declare const remoteOrderApi: {
17
68
  rejectFoodpandaOrders(orderId: string): Promise<FdoFoodpandaOrderOutput>;
18
69
  updateFoodpanda(restaurantId: string, dto: FdoFoodpandaSettings): Promise<FdoFoodpandaSettings>;
19
70
  syncFoodpandaMenu(restaurantId: string): Promise<FdoFoodpandaSettings>;
71
+ listFoodpandaStores(restaurantId: string): Promise<FoodpandaStoreView[]>;
72
+ addFoodpandaStore(restaurantId: string, store: FPdtoFoodpandaAdditionalStoreCreate): Promise<FdoFoodpandaSettings | null>;
73
+ updateFoodpandaStore(restaurantId: string, routeId: string, store: FPdtoFoodpandaAdditionalStoreUpsert): Promise<FdoFoodpandaSettings | null>;
74
+ removeFoodpandaStore(restaurantId: string, routeId: string): Promise<FdoFoodpandaSettings | null>;
20
75
  readGrabfood(restaurantId: string): Promise<FdoGrabfoodSettings | null>;
21
76
  readGrabfoodOrders(req: FdtoGetOrderReq): Promise<FdoGrabfoodOrderOutput[]>;
22
77
  reflowGrabfoodOrders(orderId: string): Promise<FdoGrabfoodOrderOutput>;
23
78
  rejectGrabfoodOrders(orderId: string): Promise<FdoGrabfoodOrderOutput>;
24
79
  updateGrabfood(restaurantId: string, dto: FdoGrabfoodSettings): Promise<FdoRestaurant>;
25
80
  syncGrabfoodMenu(merchantId: string): Promise<FdoGrabfoodSettings>;
26
- startSelfServeFlow(restaurantId: string): Promise<string | null>;
81
+ startSelfServeFlow(restaurantId: string, routeId?: string): Promise<string | null>;
82
+ listGrabfoodStores(restaurantId: string): Promise<GrabfoodStoreView[]>;
83
+ addGrabfoodStore(restaurantId: string, store: FdtoGrabfoodAdditionalStoreUpsert): Promise<FdoGrabfoodSettings | null>;
84
+ updateGrabfoodStore(restaurantId: string, routeId: string, store: FdtoGrabfoodAdditionalStoreUpsert): Promise<FdoGrabfoodSettings | null>;
85
+ removeGrabfoodStore(restaurantId: string, routeId: string, forceLocal?: boolean): Promise<FdoGrabfoodSettings | null>;
27
86
  readShopeefood(restaurantId: string): Promise<FdoShopeeFoodSettings | null>;
28
87
  readShopeefoodOrders(req: FdtoGetOrderReq): Promise<(FdoShopeeFoodOrderOutput & FdoShopeeFoodOrder)[]>;
29
88
  reflowShopeefoodOrders(orderId: string): Promise<FdoShopeeFoodOrderOutput>;
30
89
  rejectShopeefoodOrders(orderId: string): Promise<FdoShopeeFoodOrderOutput>;
31
90
  updateShopeefood(restaurantId: string, dto: FdoShopeeFoodSettings): Promise<FdoRestaurant>;
32
91
  syncShopeefoodMenu(storeId: string): Promise<FdoShopeeFoodSettings>;
92
+ listShopeefoodStores(restaurantId: string): Promise<ShopeefoodStoreView[]>;
93
+ addShopeefoodStore(restaurantId: string, store: FdtoShopeeFoodAdditionalStoreUpsert): Promise<FdoShopeeFoodSettings | null>;
94
+ updateShopeefoodStore(restaurantId: string, routeId: string, store: FdtoShopeeFoodAdditionalStoreUpsert): Promise<FdoShopeeFoodSettings | null>;
95
+ removeShopeefoodStore(restaurantId: string, routeId: string): Promise<FdoShopeeFoodSettings | null>;
33
96
  readGofood(restaurantId: string): Promise<FdoGoFoodSettings | null>;
34
97
  updateGofood(restaurantId: string, dto: FdoGoFoodSettings): Promise<FdoGoFoodSettings | null>;
35
98
  syncGofoodMenu(restaurantId: string): Promise<FdoGoFoodSettings>;
@@ -3,6 +3,49 @@ export type AppMessagesSchema = typeof enUS;
3
3
  export declare const i18nMessages: {
4
4
  "en-US": {
5
5
  order: {
6
+ stores: string;
7
+ addStore: string;
8
+ editStore: string;
9
+ removeStore: string;
10
+ storeAdded: string;
11
+ storeUpdated: string;
12
+ storeRemoved: string;
13
+ merchantId: string;
14
+ merchantIdRequired: string;
15
+ merchantIdAlreadyExists: string;
16
+ integrationDetails: string;
17
+ integrationIdGuidance: string;
18
+ feedmeIntegrationId: string;
19
+ integrationIdNotAssigned: string;
20
+ partnerId: string;
21
+ integrationReferenceId: string;
22
+ platformStoreId: string;
23
+ copy: string;
24
+ integrationIdCopied: string;
25
+ integrationIdCopyFailed: string;
26
+ foodpandaStoreId: string;
27
+ foodpandaStoreIdGeneratedHint: string;
28
+ foodpandaStoreIdRequired: string;
29
+ foodpandaStoreIdAlreadyExists: string;
30
+ shopeefoodStoreId: string;
31
+ shopeefoodStoreIdRequired: string;
32
+ shopeefoodStoreIdAlreadyExists: string;
33
+ selectCatalog: string;
34
+ primaryStore: string;
35
+ activate: string;
36
+ storesHint: string;
37
+ foodpandaStoresHint: string;
38
+ shopeefoodStoresHint: string;
39
+ syncAllStoresHint: string;
40
+ saveBeforeActivate: string;
41
+ disableBeforeRemove: string;
42
+ shopeefoodRemovalWarning: string;
43
+ additionalStores: string;
44
+ menuSyncError: string;
45
+ removeStoreConfirm: string;
46
+ forceRemoveStore: string;
47
+ forceRemoveStoreConfirm: string;
48
+ forceRemoveStoreWarning: string;
6
49
  accept: string;
7
50
  acceptedPayment: string;
8
51
  acceptQueue: string;
@@ -436,6 +479,49 @@ export declare const i18nMessages: {
436
479
  };
437
480
  "zh-CN": {
438
481
  order: {
482
+ activate: string;
483
+ addStore: string;
484
+ additionalStores: string;
485
+ disableBeforeRemove: string;
486
+ editStore: string;
487
+ foodpandaStoreId: string;
488
+ foodpandaStoreIdGeneratedHint: string;
489
+ foodpandaStoreIdAlreadyExists: string;
490
+ foodpandaStoreIdRequired: string;
491
+ foodpandaStoresHint: string;
492
+ menuSyncError: string;
493
+ merchantId: string;
494
+ merchantIdAlreadyExists: string;
495
+ merchantIdRequired: string;
496
+ integrationDetails: string;
497
+ integrationIdGuidance: string;
498
+ feedmeIntegrationId: string;
499
+ integrationIdNotAssigned: string;
500
+ partnerId: string;
501
+ integrationReferenceId: string;
502
+ platformStoreId: string;
503
+ copy: string;
504
+ integrationIdCopied: string;
505
+ integrationIdCopyFailed: string;
506
+ primaryStore: string;
507
+ removeStore: string;
508
+ removeStoreConfirm: string;
509
+ forceRemoveStore: string;
510
+ forceRemoveStoreConfirm: string;
511
+ forceRemoveStoreWarning: string;
512
+ saveBeforeActivate: string;
513
+ selectCatalog: string;
514
+ shopeefoodRemovalWarning: string;
515
+ shopeefoodStoreId: string;
516
+ shopeefoodStoreIdAlreadyExists: string;
517
+ shopeefoodStoreIdRequired: string;
518
+ shopeefoodStoresHint: string;
519
+ storeAdded: string;
520
+ storeRemoved: string;
521
+ storeUpdated: string;
522
+ stores: string;
523
+ storesHint: string;
524
+ syncAllStoresHint: string;
439
525
  accept: string;
440
526
  acceptedPayment: string;
441
527
  acceptQueue: string;
@@ -857,6 +943,49 @@ export declare const i18nMessages: {
857
943
  };
858
944
  "th-TH": {
859
945
  order: {
946
+ activate: string;
947
+ addStore: string;
948
+ additionalStores: string;
949
+ disableBeforeRemove: string;
950
+ editStore: string;
951
+ foodpandaStoreId: string;
952
+ foodpandaStoreIdGeneratedHint: string;
953
+ foodpandaStoreIdAlreadyExists: string;
954
+ foodpandaStoreIdRequired: string;
955
+ foodpandaStoresHint: string;
956
+ menuSyncError: string;
957
+ merchantId: string;
958
+ merchantIdAlreadyExists: string;
959
+ merchantIdRequired: string;
960
+ integrationDetails: string;
961
+ integrationIdGuidance: string;
962
+ feedmeIntegrationId: string;
963
+ integrationIdNotAssigned: string;
964
+ partnerId: string;
965
+ integrationReferenceId: string;
966
+ platformStoreId: string;
967
+ copy: string;
968
+ integrationIdCopied: string;
969
+ integrationIdCopyFailed: string;
970
+ primaryStore: string;
971
+ removeStore: string;
972
+ removeStoreConfirm: string;
973
+ forceRemoveStore: string;
974
+ forceRemoveStoreConfirm: string;
975
+ forceRemoveStoreWarning: string;
976
+ saveBeforeActivate: string;
977
+ selectCatalog: string;
978
+ shopeefoodRemovalWarning: string;
979
+ shopeefoodStoreId: string;
980
+ shopeefoodStoreIdAlreadyExists: string;
981
+ shopeefoodStoreIdRequired: string;
982
+ shopeefoodStoresHint: string;
983
+ storeAdded: string;
984
+ storeRemoved: string;
985
+ storeUpdated: string;
986
+ stores: string;
987
+ storesHint: string;
988
+ syncAllStoresHint: string;
860
989
  accept: string;
861
990
  acceptedPayment: string;
862
991
  acceptQueue: string;
@@ -958,6 +1087,8 @@ export declare const i18nMessages: {
958
1087
  otaChannelHint: string;
959
1088
  dineIn: string;
960
1089
  dineInCanTakeaway: string;
1090
+ dineInRemarkEnabled: string;
1091
+ dineInRemarkEnabledSublabel: string;
961
1092
  driveThru: string;
962
1093
  driveThruSettingUpdated: string;
963
1094
  enableDriveThru: string;
@@ -1270,6 +1401,49 @@ export declare const i18nMessages: {
1270
1401
  };
1271
1402
  "ja-JP": {
1272
1403
  order: {
1404
+ activate: string;
1405
+ addStore: string;
1406
+ additionalStores: string;
1407
+ disableBeforeRemove: string;
1408
+ editStore: string;
1409
+ foodpandaStoreId: string;
1410
+ foodpandaStoreIdGeneratedHint: string;
1411
+ foodpandaStoreIdAlreadyExists: string;
1412
+ foodpandaStoreIdRequired: string;
1413
+ foodpandaStoresHint: string;
1414
+ menuSyncError: string;
1415
+ merchantId: string;
1416
+ merchantIdAlreadyExists: string;
1417
+ merchantIdRequired: string;
1418
+ integrationDetails: string;
1419
+ integrationIdGuidance: string;
1420
+ feedmeIntegrationId: string;
1421
+ integrationIdNotAssigned: string;
1422
+ partnerId: string;
1423
+ integrationReferenceId: string;
1424
+ platformStoreId: string;
1425
+ copy: string;
1426
+ integrationIdCopied: string;
1427
+ integrationIdCopyFailed: string;
1428
+ primaryStore: string;
1429
+ removeStore: string;
1430
+ removeStoreConfirm: string;
1431
+ forceRemoveStore: string;
1432
+ forceRemoveStoreConfirm: string;
1433
+ forceRemoveStoreWarning: string;
1434
+ saveBeforeActivate: string;
1435
+ selectCatalog: string;
1436
+ shopeefoodRemovalWarning: string;
1437
+ shopeefoodStoreId: string;
1438
+ shopeefoodStoreIdAlreadyExists: string;
1439
+ shopeefoodStoreIdRequired: string;
1440
+ shopeefoodStoresHint: string;
1441
+ storeAdded: string;
1442
+ storeRemoved: string;
1443
+ storeUpdated: string;
1444
+ stores: string;
1445
+ storesHint: string;
1446
+ syncAllStoresHint: string;
1273
1447
  accept: string;
1274
1448
  acceptedPayment: string;
1275
1449
  acceptQueue: string;
@@ -0,0 +1,3 @@
1
+ export declare function useInternalUser(): {
2
+ isInternal: import("vue").ComputedRef<boolean>;
3
+ };
@@ -2,6 +2,49 @@ import './assets/main.css';
2
2
  export declare const i18nMessages: {
3
3
  "en-US": {
4
4
  order: {
5
+ stores: string;
6
+ addStore: string;
7
+ editStore: string;
8
+ removeStore: string;
9
+ storeAdded: string;
10
+ storeUpdated: string;
11
+ storeRemoved: string;
12
+ merchantId: string;
13
+ merchantIdRequired: string;
14
+ merchantIdAlreadyExists: string;
15
+ integrationDetails: string;
16
+ integrationIdGuidance: string;
17
+ feedmeIntegrationId: string;
18
+ integrationIdNotAssigned: string;
19
+ partnerId: string;
20
+ integrationReferenceId: string;
21
+ platformStoreId: string;
22
+ copy: string;
23
+ integrationIdCopied: string;
24
+ integrationIdCopyFailed: string;
25
+ foodpandaStoreId: string;
26
+ foodpandaStoreIdGeneratedHint: string;
27
+ foodpandaStoreIdRequired: string;
28
+ foodpandaStoreIdAlreadyExists: string;
29
+ shopeefoodStoreId: string;
30
+ shopeefoodStoreIdRequired: string;
31
+ shopeefoodStoreIdAlreadyExists: string;
32
+ selectCatalog: string;
33
+ primaryStore: string;
34
+ activate: string;
35
+ storesHint: string;
36
+ foodpandaStoresHint: string;
37
+ shopeefoodStoresHint: string;
38
+ syncAllStoresHint: string;
39
+ saveBeforeActivate: string;
40
+ disableBeforeRemove: string;
41
+ shopeefoodRemovalWarning: string;
42
+ additionalStores: string;
43
+ menuSyncError: string;
44
+ removeStoreConfirm: string;
45
+ forceRemoveStore: string;
46
+ forceRemoveStoreConfirm: string;
47
+ forceRemoveStoreWarning: string;
5
48
  accept: string;
6
49
  acceptedPayment: string;
7
50
  acceptQueue: string;
@@ -435,6 +478,49 @@ export declare const i18nMessages: {
435
478
  };
436
479
  "zh-CN": {
437
480
  order: {
481
+ activate: string;
482
+ addStore: string;
483
+ additionalStores: string;
484
+ disableBeforeRemove: string;
485
+ editStore: string;
486
+ foodpandaStoreId: string;
487
+ foodpandaStoreIdGeneratedHint: string;
488
+ foodpandaStoreIdAlreadyExists: string;
489
+ foodpandaStoreIdRequired: string;
490
+ foodpandaStoresHint: string;
491
+ menuSyncError: string;
492
+ merchantId: string;
493
+ merchantIdAlreadyExists: string;
494
+ merchantIdRequired: string;
495
+ integrationDetails: string;
496
+ integrationIdGuidance: string;
497
+ feedmeIntegrationId: string;
498
+ integrationIdNotAssigned: string;
499
+ partnerId: string;
500
+ integrationReferenceId: string;
501
+ platformStoreId: string;
502
+ copy: string;
503
+ integrationIdCopied: string;
504
+ integrationIdCopyFailed: string;
505
+ primaryStore: string;
506
+ removeStore: string;
507
+ removeStoreConfirm: string;
508
+ forceRemoveStore: string;
509
+ forceRemoveStoreConfirm: string;
510
+ forceRemoveStoreWarning: string;
511
+ saveBeforeActivate: string;
512
+ selectCatalog: string;
513
+ shopeefoodRemovalWarning: string;
514
+ shopeefoodStoreId: string;
515
+ shopeefoodStoreIdAlreadyExists: string;
516
+ shopeefoodStoreIdRequired: string;
517
+ shopeefoodStoresHint: string;
518
+ storeAdded: string;
519
+ storeRemoved: string;
520
+ storeUpdated: string;
521
+ stores: string;
522
+ storesHint: string;
523
+ syncAllStoresHint: string;
438
524
  accept: string;
439
525
  acceptedPayment: string;
440
526
  acceptQueue: string;
@@ -856,6 +942,49 @@ export declare const i18nMessages: {
856
942
  };
857
943
  "th-TH": {
858
944
  order: {
945
+ activate: string;
946
+ addStore: string;
947
+ additionalStores: string;
948
+ disableBeforeRemove: string;
949
+ editStore: string;
950
+ foodpandaStoreId: string;
951
+ foodpandaStoreIdGeneratedHint: string;
952
+ foodpandaStoreIdAlreadyExists: string;
953
+ foodpandaStoreIdRequired: string;
954
+ foodpandaStoresHint: string;
955
+ menuSyncError: string;
956
+ merchantId: string;
957
+ merchantIdAlreadyExists: string;
958
+ merchantIdRequired: string;
959
+ integrationDetails: string;
960
+ integrationIdGuidance: string;
961
+ feedmeIntegrationId: string;
962
+ integrationIdNotAssigned: string;
963
+ partnerId: string;
964
+ integrationReferenceId: string;
965
+ platformStoreId: string;
966
+ copy: string;
967
+ integrationIdCopied: string;
968
+ integrationIdCopyFailed: string;
969
+ primaryStore: string;
970
+ removeStore: string;
971
+ removeStoreConfirm: string;
972
+ forceRemoveStore: string;
973
+ forceRemoveStoreConfirm: string;
974
+ forceRemoveStoreWarning: string;
975
+ saveBeforeActivate: string;
976
+ selectCatalog: string;
977
+ shopeefoodRemovalWarning: string;
978
+ shopeefoodStoreId: string;
979
+ shopeefoodStoreIdAlreadyExists: string;
980
+ shopeefoodStoreIdRequired: string;
981
+ shopeefoodStoresHint: string;
982
+ storeAdded: string;
983
+ storeRemoved: string;
984
+ storeUpdated: string;
985
+ stores: string;
986
+ storesHint: string;
987
+ syncAllStoresHint: string;
859
988
  accept: string;
860
989
  acceptedPayment: string;
861
990
  acceptQueue: string;
@@ -957,6 +1086,8 @@ export declare const i18nMessages: {
957
1086
  otaChannelHint: string;
958
1087
  dineIn: string;
959
1088
  dineInCanTakeaway: string;
1089
+ dineInRemarkEnabled: string;
1090
+ dineInRemarkEnabledSublabel: string;
960
1091
  driveThru: string;
961
1092
  driveThruSettingUpdated: string;
962
1093
  enableDriveThru: string;
@@ -1269,6 +1400,49 @@ export declare const i18nMessages: {
1269
1400
  };
1270
1401
  "ja-JP": {
1271
1402
  order: {
1403
+ activate: string;
1404
+ addStore: string;
1405
+ additionalStores: string;
1406
+ disableBeforeRemove: string;
1407
+ editStore: string;
1408
+ foodpandaStoreId: string;
1409
+ foodpandaStoreIdGeneratedHint: string;
1410
+ foodpandaStoreIdAlreadyExists: string;
1411
+ foodpandaStoreIdRequired: string;
1412
+ foodpandaStoresHint: string;
1413
+ menuSyncError: string;
1414
+ merchantId: string;
1415
+ merchantIdAlreadyExists: string;
1416
+ merchantIdRequired: string;
1417
+ integrationDetails: string;
1418
+ integrationIdGuidance: string;
1419
+ feedmeIntegrationId: string;
1420
+ integrationIdNotAssigned: string;
1421
+ partnerId: string;
1422
+ integrationReferenceId: string;
1423
+ platformStoreId: string;
1424
+ copy: string;
1425
+ integrationIdCopied: string;
1426
+ integrationIdCopyFailed: string;
1427
+ primaryStore: string;
1428
+ removeStore: string;
1429
+ removeStoreConfirm: string;
1430
+ forceRemoveStore: string;
1431
+ forceRemoveStoreConfirm: string;
1432
+ forceRemoveStoreWarning: string;
1433
+ saveBeforeActivate: string;
1434
+ selectCatalog: string;
1435
+ shopeefoodRemovalWarning: string;
1436
+ shopeefoodStoreId: string;
1437
+ shopeefoodStoreIdAlreadyExists: string;
1438
+ shopeefoodStoreIdRequired: string;
1439
+ shopeefoodStoresHint: string;
1440
+ storeAdded: string;
1441
+ storeRemoved: string;
1442
+ storeUpdated: string;
1443
+ stores: string;
1444
+ storesHint: string;
1445
+ syncAllStoresHint: string;
1272
1446
  accept: string;
1273
1447
  acceptedPayment: string;
1274
1448
  acceptQueue: string;
@@ -68,6 +68,8 @@ export interface MfKioskOrderSetting {
68
68
  coverImageLandscape: string | null;
69
69
  coverImagePortrait: string | null;
70
70
  otaChannel?: string | null;
71
+ autoCloseBill: boolean | null;
72
+ printReceiptAfterClose: boolean | null;
71
73
  }
72
74
  export interface MfKioskOrderSettingMenuItemForm {
73
75
  showAllOnly: boolean;
@@ -80,6 +82,8 @@ export interface MfKioskOrderSettingForm {
80
82
  coverImageLandscape: string | null;
81
83
  coverImagePortrait: string | null;
82
84
  otaChannel?: string | null;
85
+ autoCloseBill: boolean | null;
86
+ printReceiptAfterClose: boolean | null;
83
87
  }
84
88
  export type KioskPickAtCounterSettingForm = MfKioskPickAtCounterSetting;
85
89
  export type KioskMenuItemSettingForm = MfKioskOrderSettingMenuItemForm;
@@ -64,6 +64,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
64
64
  coverImageLandscape: string | null;
65
65
  coverImagePortrait: string | null;
66
66
  otaChannel?: string | null | undefined;
67
+ autoCloseBill: boolean | null;
68
+ printReceiptAfterClose: boolean | null;
67
69
  } | undefined;
68
70
  orderSetting?: {
69
71
  autoSendKitchen?: boolean | null | undefined;
@@ -156,6 +158,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
156
158
  coverImageLandscape?: string | null | undefined;
157
159
  coverImagePortrait?: string | null | undefined;
158
160
  otaChannel?: string | null | undefined;
161
+ autoCloseBill?: boolean | null | undefined;
162
+ printReceiptAfterClose?: boolean | null | undefined;
159
163
  } | null | undefined;
160
164
  queueSettings?: {
161
165
  codeSettings?: {
@@ -184,9 +188,9 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
184
188
  enabled: boolean;
185
189
  mergeAction: "concat" | "override" | "keep";
186
190
  } | null | undefined;
187
- printChecklist?: boolean | null | undefined;
188
191
  autoCloseBill?: boolean | null | undefined;
189
192
  printReceiptAfterClose?: boolean | null | undefined;
193
+ printChecklist?: boolean | null | undefined;
190
194
  overridePax: boolean | null;
191
195
  tableCartSyncMode: "poll" | "realtime" | null;
192
196
  } | null | undefined;
@@ -347,6 +351,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
347
351
  coverImageLandscape: string | null;
348
352
  coverImagePortrait: string | null;
349
353
  otaChannel?: string | null | undefined;
354
+ autoCloseBill: boolean | null;
355
+ printReceiptAfterClose: boolean | null;
350
356
  } | undefined;
351
357
  orderSetting?: {
352
358
  autoSendKitchen?: boolean | null | undefined;
@@ -439,6 +445,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
439
445
  coverImageLandscape?: string | null | undefined;
440
446
  coverImagePortrait?: string | null | undefined;
441
447
  otaChannel?: string | null | undefined;
448
+ autoCloseBill?: boolean | null | undefined;
449
+ printReceiptAfterClose?: boolean | null | undefined;
442
450
  } | null | undefined;
443
451
  queueSettings?: {
444
452
  codeSettings?: {
@@ -467,9 +475,9 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
467
475
  enabled: boolean;
468
476
  mergeAction: "concat" | "override" | "keep";
469
477
  } | null | undefined;
470
- printChecklist?: boolean | null | undefined;
471
478
  autoCloseBill?: boolean | null | undefined;
472
479
  printReceiptAfterClose?: boolean | null | undefined;
480
+ printChecklist?: boolean | null | undefined;
473
481
  overridePax: boolean | null;
474
482
  tableCartSyncMode: "poll" | "realtime" | null;
475
483
  } | null | undefined;
@@ -630,6 +638,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
630
638
  coverImageLandscape: string | null;
631
639
  coverImagePortrait: string | null;
632
640
  otaChannel?: string | null | undefined;
641
+ autoCloseBill: boolean | null;
642
+ printReceiptAfterClose: boolean | null;
633
643
  } | undefined;
634
644
  orderSetting?: {
635
645
  autoSendKitchen?: boolean | null | undefined;
@@ -722,6 +732,8 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
722
732
  coverImageLandscape?: string | null | undefined;
723
733
  coverImagePortrait?: string | null | undefined;
724
734
  otaChannel?: string | null | undefined;
735
+ autoCloseBill?: boolean | null | undefined;
736
+ printReceiptAfterClose?: boolean | null | undefined;
725
737
  } | null | undefined;
726
738
  queueSettings?: {
727
739
  codeSettings?: {
@@ -750,9 +762,9 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
750
762
  enabled: boolean;
751
763
  mergeAction: "concat" | "override" | "keep";
752
764
  } | null | undefined;
753
- printChecklist?: boolean | null | undefined;
754
765
  autoCloseBill?: boolean | null | undefined;
755
766
  printReceiptAfterClose?: boolean | null | undefined;
767
+ printChecklist?: boolean | null | undefined;
756
768
  overridePax: boolean | null;
757
769
  tableCartSyncMode: "poll" | "realtime" | null;
758
770
  } | null | undefined;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Multi-store: list of the ADDITIONAL GrabFood stores under this restaurant. The
3
+ * primary store is shown in the main GrabFood settings card above, not repeated
4
+ * here. Add / edit (catalog + enable) / remove all operate on additional stores;
5
+ * Add / Edit open a nested side sheet.
6
+ */
7
+ type __VLS_Props = {
8
+ restaurantId: string;
9
+ primaryEnabled: boolean;
10
+ };
11
+ declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ syncMenu: (merchantID?: string | undefined) => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onSyncMenu?: ((merchantID?: string | undefined) => any) | undefined;
15
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
28
28
  bypass?: boolean | null | undefined;
29
29
  skipAllocateTax?: boolean | null | undefined;
30
30
  groupItemsBySubCategory?: boolean | null | undefined;
31
+ autoCloseBill: boolean;
31
32
  autoAccept: boolean;
32
33
  autoSend: boolean;
33
- autoCloseBill: boolean;
34
34
  };
35
35
  }) => any;
36
36
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -61,9 +61,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
61
61
  bypass?: boolean | null | undefined;
62
62
  skipAllocateTax?: boolean | null | undefined;
63
63
  groupItemsBySubCategory?: boolean | null | undefined;
64
+ autoCloseBill: boolean;
64
65
  autoAccept: boolean;
65
66
  autoSend: boolean;
66
- autoCloseBill: boolean;
67
67
  };
68
68
  }) => any) | undefined;
69
69
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;