@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
@@ -5,13 +5,12 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
5
5
  enable: z.ZodOptional<z.ZodBoolean>;
6
6
  autoCloseBill: z.ZodOptional<z.ZodBoolean>;
7
7
  printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
8
+ groupItemsBySubCategory: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
8
9
  lastSynchronize: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
9
10
  commissionRate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
10
- remoteId: z.ZodOptional<z.ZodString>;
11
- showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
12
11
  menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
12
+ showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
13
13
  syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
14
- partnerMerchantID: z.ZodOptional<z.ZodString>;
15
14
  reportConfig: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
16
15
  commissionRate: z.ZodNumber;
17
16
  discountCampaigns: z.ZodArray<z.ZodObject<{
@@ -72,12 +71,13 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
72
71
  _id?: string | undefined;
73
72
  catalogId?: string | null | undefined;
74
73
  enable?: boolean | undefined;
75
- updatedAt?: string | null | undefined;
76
74
  autoCloseBill?: boolean | undefined;
77
75
  printReceiptAfterClose?: boolean | null | undefined;
76
+ updatedAt?: string | null | undefined;
77
+ groupItemsBySubCategory?: boolean | null | undefined;
78
78
  lastSynchronize?: string | null | undefined;
79
79
  commissionRate?: number | null | undefined;
80
- remoteId?: string | undefined;
80
+ menuSyncError?: string | null | undefined;
81
81
  showProductAddon?: boolean | null | undefined;
82
82
  reportConfig?: {
83
83
  commissionRate: number;
@@ -91,21 +91,20 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
91
91
  }[];
92
92
  } | null | undefined;
93
93
  ignoreDiscount?: boolean | null | undefined;
94
- menuSyncError?: string | null | undefined;
95
94
  sstInclusive?: boolean | null | undefined;
96
95
  syncIGI?: boolean | null | undefined;
97
- partnerMerchantID?: string | undefined;
98
96
  }, {
99
97
  status?: string | null | undefined;
100
98
  _id?: string | undefined;
101
99
  catalogId?: string | null | undefined;
102
100
  enable?: boolean | undefined;
103
- updatedAt?: string | null | undefined;
104
101
  autoCloseBill?: boolean | undefined;
105
102
  printReceiptAfterClose?: boolean | null | undefined;
103
+ updatedAt?: string | null | undefined;
104
+ groupItemsBySubCategory?: boolean | null | undefined;
106
105
  lastSynchronize?: string | null | undefined;
107
106
  commissionRate?: number | null | undefined;
108
- remoteId?: string | undefined;
107
+ menuSyncError?: string | null | undefined;
109
108
  showProductAddon?: boolean | null | undefined;
110
109
  reportConfig?: {
111
110
  commissionRate: number;
@@ -119,9 +118,29 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
119
118
  }[];
120
119
  } | null | undefined;
121
120
  ignoreDiscount?: boolean | null | undefined;
122
- menuSyncError?: string | null | undefined;
123
121
  sstInclusive?: boolean | null | undefined;
124
122
  syncIGI?: boolean | null | undefined;
125
- partnerMerchantID?: string | undefined;
126
123
  }>;
127
124
  export type FPdtoCreateOrUpdateSetting = z.infer<typeof FPdtoCreateOrUpdateSetting>;
125
+ export declare const FPdtoFoodpandaAdditionalStoreCreate: z.ZodObject<{
126
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
127
+ enable: z.ZodOptional<z.ZodBoolean>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ catalogId?: string | null | undefined;
130
+ enable?: boolean | undefined;
131
+ }, {
132
+ catalogId?: string | null | undefined;
133
+ enable?: boolean | undefined;
134
+ }>;
135
+ export type FPdtoFoodpandaAdditionalStoreCreate = z.infer<typeof FPdtoFoodpandaAdditionalStoreCreate>;
136
+ export declare const FPdtoFoodpandaAdditionalStoreUpsert: z.ZodObject<{
137
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
138
+ enable: z.ZodOptional<z.ZodBoolean>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ catalogId?: string | null | undefined;
141
+ enable?: boolean | undefined;
142
+ }, {
143
+ catalogId?: string | null | undefined;
144
+ enable?: boolean | undefined;
145
+ }>;
146
+ export type FPdtoFoodpandaAdditionalStoreUpsert = z.infer<typeof FPdtoFoodpandaAdditionalStoreUpsert>;
@@ -32,8 +32,8 @@ export declare const FdoGoFoodSettings: z.ZodObject<z.extendShape<{
32
32
  status?: string | null | undefined;
33
33
  _id?: string | undefined;
34
34
  catalogId?: string | null | undefined;
35
- updatedAt?: string | null | undefined;
36
35
  printReceiptAfterClose?: boolean | null | undefined;
36
+ updatedAt?: string | null | undefined;
37
37
  lastSynchronize?: string | null | undefined;
38
38
  menuSyncError?: string | null | undefined;
39
39
  enable: boolean;
@@ -43,8 +43,8 @@ export declare const FdoGoFoodSettings: z.ZodObject<z.extendShape<{
43
43
  status?: string | null | undefined;
44
44
  _id?: string | undefined;
45
45
  catalogId?: string | null | undefined;
46
- updatedAt?: string | null | undefined;
47
46
  printReceiptAfterClose?: boolean | null | undefined;
47
+ updatedAt?: string | null | undefined;
48
48
  lastSynchronize?: string | null | undefined;
49
49
  menuSyncError?: string | null | undefined;
50
50
  enable: boolean;
@@ -15,9 +15,9 @@ export declare const FdtoCreateOrUpdateGoFoodSettings: z.ZodObject<{
15
15
  _id?: string | undefined;
16
16
  catalogId?: string | null | undefined;
17
17
  enable?: boolean | undefined;
18
- updatedAt?: string | null | undefined;
19
18
  autoCloseBill?: boolean | undefined;
20
19
  printReceiptAfterClose?: boolean | null | undefined;
20
+ updatedAt?: string | null | undefined;
21
21
  lastSynchronize?: string | null | undefined;
22
22
  menuSyncError?: string | null | undefined;
23
23
  outletId?: string | undefined;
@@ -26,9 +26,9 @@ export declare const FdtoCreateOrUpdateGoFoodSettings: z.ZodObject<{
26
26
  _id?: string | undefined;
27
27
  catalogId?: string | null | undefined;
28
28
  enable?: boolean | undefined;
29
- updatedAt?: string | null | undefined;
30
29
  autoCloseBill?: boolean | undefined;
31
30
  printReceiptAfterClose?: boolean | null | undefined;
31
+ updatedAt?: string | null | undefined;
32
32
  lastSynchronize?: string | null | undefined;
33
33
  menuSyncError?: string | null | undefined;
34
34
  outletId?: string | undefined;
@@ -811,7 +811,6 @@ export declare const GFOrder: z.ZodObject<{
811
811
  tableID?: string | null | undefined;
812
812
  eaterCount?: number | null | undefined;
813
813
  } | null | undefined;
814
- partnerMerchantID?: string | null | undefined;
815
814
  campaigns?: {
816
815
  name?: string | null | undefined;
817
816
  type?: string | null | undefined;
@@ -829,6 +828,7 @@ export declare const GFOrder: z.ZodObject<{
829
828
  deductedAmount?: number | null | undefined;
830
829
  appliedItemIDs?: string[] | null | undefined;
831
830
  }[] | null | undefined;
831
+ partnerMerchantID?: string | null | undefined;
832
832
  submitTime?: string | null | undefined;
833
833
  completeTime?: string | null | undefined;
834
834
  scheduledTime?: string | null | undefined;
@@ -914,7 +914,6 @@ export declare const GFOrder: z.ZodObject<{
914
914
  tableID?: string | null | undefined;
915
915
  eaterCount?: number | null | undefined;
916
916
  } | null | undefined;
917
- partnerMerchantID?: string | null | undefined;
918
917
  campaigns?: {
919
918
  name?: string | null | undefined;
920
919
  type?: string | null | undefined;
@@ -932,6 +931,7 @@ export declare const GFOrder: z.ZodObject<{
932
931
  deductedAmount?: number | null | undefined;
933
932
  appliedItemIDs?: string[] | null | undefined;
934
933
  }[] | null | undefined;
934
+ partnerMerchantID?: string | null | undefined;
935
935
  submitTime?: string | null | undefined;
936
936
  completeTime?: string | null | undefined;
937
937
  scheduledTime?: string | null | undefined;
@@ -1387,7 +1387,6 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1387
1387
  tableID?: string | null | undefined;
1388
1388
  eaterCount?: number | null | undefined;
1389
1389
  } | null | undefined;
1390
- partnerMerchantID?: string | null | undefined;
1391
1390
  campaigns?: {
1392
1391
  name?: string | null | undefined;
1393
1392
  type?: string | null | undefined;
@@ -1405,6 +1404,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1405
1404
  deductedAmount?: number | null | undefined;
1406
1405
  appliedItemIDs?: string[] | null | undefined;
1407
1406
  }[] | null | undefined;
1407
+ partnerMerchantID?: string | null | undefined;
1408
1408
  submitTime?: string | null | undefined;
1409
1409
  completeTime?: string | null | undefined;
1410
1410
  scheduledTime?: string | null | undefined;
@@ -1490,7 +1490,6 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1490
1490
  tableID?: string | null | undefined;
1491
1491
  eaterCount?: number | null | undefined;
1492
1492
  } | null | undefined;
1493
- partnerMerchantID?: string | null | undefined;
1494
1493
  campaigns?: {
1495
1494
  name?: string | null | undefined;
1496
1495
  type?: string | null | undefined;
@@ -1508,6 +1507,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1508
1507
  deductedAmount?: number | null | undefined;
1509
1508
  appliedItemIDs?: string[] | null | undefined;
1510
1509
  }[] | null | undefined;
1510
+ partnerMerchantID?: string | null | undefined;
1511
1511
  submitTime?: string | null | undefined;
1512
1512
  completeTime?: string | null | undefined;
1513
1513
  scheduledTime?: string | null | undefined;
@@ -1603,7 +1603,6 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1603
1603
  tableID?: string | null | undefined;
1604
1604
  eaterCount?: number | null | undefined;
1605
1605
  } | null | undefined;
1606
- partnerMerchantID?: string | null | undefined;
1607
1606
  campaigns?: {
1608
1607
  name?: string | null | undefined;
1609
1608
  type?: string | null | undefined;
@@ -1621,6 +1620,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1621
1620
  deductedAmount?: number | null | undefined;
1622
1621
  appliedItemIDs?: string[] | null | undefined;
1623
1622
  }[] | null | undefined;
1623
+ partnerMerchantID?: string | null | undefined;
1624
1624
  submitTime?: string | null | undefined;
1625
1625
  completeTime?: string | null | undefined;
1626
1626
  scheduledTime?: string | null | undefined;
@@ -1714,7 +1714,6 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1714
1714
  tableID?: string | null | undefined;
1715
1715
  eaterCount?: number | null | undefined;
1716
1716
  } | null | undefined;
1717
- partnerMerchantID?: string | null | undefined;
1718
1717
  campaigns?: {
1719
1718
  name?: string | null | undefined;
1720
1719
  type?: string | null | undefined;
@@ -1732,6 +1731,7 @@ export declare const FdoGrabfoodOrder: z.ZodObject<{
1732
1731
  deductedAmount?: number | null | undefined;
1733
1732
  appliedItemIDs?: string[] | null | undefined;
1734
1733
  }[] | null | undefined;
1734
+ partnerMerchantID?: string | null | undefined;
1735
1735
  submitTime?: string | null | undefined;
1736
1736
  completeTime?: string | null | undefined;
1737
1737
  scheduledTime?: string | null | undefined;
@@ -2188,7 +2188,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2188
2188
  tableID?: string | null | undefined;
2189
2189
  eaterCount?: number | null | undefined;
2190
2190
  } | null | undefined;
2191
- partnerMerchantID?: string | null | undefined;
2192
2191
  campaigns?: {
2193
2192
  name?: string | null | undefined;
2194
2193
  type?: string | null | undefined;
@@ -2206,6 +2205,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2206
2205
  deductedAmount?: number | null | undefined;
2207
2206
  appliedItemIDs?: string[] | null | undefined;
2208
2207
  }[] | null | undefined;
2208
+ partnerMerchantID?: string | null | undefined;
2209
2209
  submitTime?: string | null | undefined;
2210
2210
  completeTime?: string | null | undefined;
2211
2211
  scheduledTime?: string | null | undefined;
@@ -2291,7 +2291,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2291
2291
  tableID?: string | null | undefined;
2292
2292
  eaterCount?: number | null | undefined;
2293
2293
  } | null | undefined;
2294
- partnerMerchantID?: string | null | undefined;
2295
2294
  campaigns?: {
2296
2295
  name?: string | null | undefined;
2297
2296
  type?: string | null | undefined;
@@ -2309,6 +2308,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
2309
2308
  deductedAmount?: number | null | undefined;
2310
2309
  appliedItemIDs?: string[] | null | undefined;
2311
2310
  }[] | null | undefined;
2311
+ partnerMerchantID?: string | null | undefined;
2312
2312
  submitTime?: string | null | undefined;
2313
2313
  completeTime?: string | null | undefined;
2314
2314
  scheduledTime?: string | null | undefined;
@@ -5347,7 +5347,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5347
5347
  tableID?: string | null | undefined;
5348
5348
  eaterCount?: number | null | undefined;
5349
5349
  } | null | undefined;
5350
- partnerMerchantID?: string | null | undefined;
5351
5350
  campaigns?: {
5352
5351
  name?: string | null | undefined;
5353
5352
  type?: string | null | undefined;
@@ -5365,6 +5364,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5365
5364
  deductedAmount?: number | null | undefined;
5366
5365
  appliedItemIDs?: string[] | null | undefined;
5367
5366
  }[] | null | undefined;
5367
+ partnerMerchantID?: string | null | undefined;
5368
5368
  submitTime?: string | null | undefined;
5369
5369
  completeTime?: string | null | undefined;
5370
5370
  scheduledTime?: string | null | undefined;
@@ -5800,7 +5800,6 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5800
5800
  tableID?: string | null | undefined;
5801
5801
  eaterCount?: number | null | undefined;
5802
5802
  } | null | undefined;
5803
- partnerMerchantID?: string | null | undefined;
5804
5803
  campaigns?: {
5805
5804
  name?: string | null | undefined;
5806
5805
  type?: string | null | undefined;
@@ -5818,6 +5817,7 @@ export declare const FdoGrabfoodOrderOutput: z.ZodObject<z.extendShape<{
5818
5817
  deductedAmount?: number | null | undefined;
5819
5818
  appliedItemIDs?: string[] | null | undefined;
5820
5819
  }[] | null | undefined;
5820
+ partnerMerchantID?: string | null | undefined;
5821
5821
  submitTime?: string | null | undefined;
5822
5822
  completeTime?: string | null | undefined;
5823
5823
  scheduledTime?: string | null | undefined;
@@ -1,8 +1,51 @@
1
1
  import { z } from 'zod';
2
+ /**
3
+ * Multi-store: an *additional* GrabFood store under the same FeedMe restaurant.
4
+ * Holds only the fields that differ per store; everything else (commissionRate,
5
+ * autoCloseBill, printReceiptAfterClose, showProductAddon, syncV2, syncIGI …) is
6
+ * shared from the flat top-level (= the primary store). `integrationId` is the
7
+ * FeedMe routing identity; `merchantID` remains GrabFood-owned.
8
+ */
9
+ export declare const FdoGrabfoodAdditionalStore: z.ZodObject<{
10
+ integrationId: z.ZodString;
11
+ merchantID: z.ZodString;
12
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13
+ enable: z.ZodBoolean;
14
+ integrationStatus: z.ZodNullable<z.ZodOptional<z.ZodString>>;
15
+ lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16
+ status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17
+ menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18
+ menuRetryCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
19
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ status?: string | null | undefined;
22
+ catalogId?: string | null | undefined;
23
+ updatedAt?: string | null | undefined;
24
+ lastSynchronize?: string | null | undefined;
25
+ menuSyncError?: string | null | undefined;
26
+ integrationStatus?: string | null | undefined;
27
+ menuRetryCount?: number | null | undefined;
28
+ enable: boolean;
29
+ integrationId: string;
30
+ merchantID: string;
31
+ }, {
32
+ status?: string | null | undefined;
33
+ catalogId?: string | null | undefined;
34
+ updatedAt?: string | null | undefined;
35
+ lastSynchronize?: string | null | undefined;
36
+ menuSyncError?: string | null | undefined;
37
+ integrationStatus?: string | null | undefined;
38
+ menuRetryCount?: number | null | undefined;
39
+ enable: boolean;
40
+ integrationId: string;
41
+ merchantID: string;
42
+ }>;
43
+ export type FdoGrabfoodAdditionalStore = z.infer<typeof FdoGrabfoodAdditionalStore>;
2
44
  export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
3
45
  enable: z.ZodBoolean;
4
46
  }, {
5
47
  _id: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
48
+ integrationId: z.ZodString;
6
49
  merchantID: z.ZodString;
7
50
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
51
  lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -18,40 +61,125 @@ export declare const FdoGrabfoodSettings: z.ZodObject<z.extendShape<{
18
61
  syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
19
62
  ignoreDiscount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
20
63
  menuRetryCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
64
+ integrationStatus: z.ZodNullable<z.ZodOptional<z.ZodString>>;
65
+ additionalStores: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
66
+ integrationId: z.ZodString;
67
+ merchantID: z.ZodString;
68
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
69
+ enable: z.ZodBoolean;
70
+ integrationStatus: z.ZodNullable<z.ZodOptional<z.ZodString>>;
71
+ lastSynchronize: z.ZodNullable<z.ZodOptional<z.ZodString>>;
72
+ status: z.ZodNullable<z.ZodOptional<z.ZodString>>;
73
+ menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
74
+ menuRetryCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
75
+ updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ status?: string | null | undefined;
78
+ catalogId?: string | null | undefined;
79
+ updatedAt?: string | null | undefined;
80
+ lastSynchronize?: string | null | undefined;
81
+ menuSyncError?: string | null | undefined;
82
+ integrationStatus?: string | null | undefined;
83
+ menuRetryCount?: number | null | undefined;
84
+ enable: boolean;
85
+ integrationId: string;
86
+ merchantID: string;
87
+ }, {
88
+ status?: string | null | undefined;
89
+ catalogId?: string | null | undefined;
90
+ updatedAt?: string | null | undefined;
91
+ lastSynchronize?: string | null | undefined;
92
+ menuSyncError?: string | null | undefined;
93
+ integrationStatus?: string | null | undefined;
94
+ menuRetryCount?: number | null | undefined;
95
+ enable: boolean;
96
+ integrationId: string;
97
+ merchantID: string;
98
+ }>, "many">>>, {
99
+ status?: string | null | undefined;
100
+ catalogId?: string | null | undefined;
101
+ updatedAt?: string | null | undefined;
102
+ lastSynchronize?: string | null | undefined;
103
+ menuSyncError?: string | null | undefined;
104
+ integrationStatus?: string | null | undefined;
105
+ menuRetryCount?: number | null | undefined;
106
+ enable: boolean;
107
+ integrationId: string;
108
+ merchantID: string;
109
+ }[] | null | undefined, {
110
+ status?: string | null | undefined;
111
+ catalogId?: string | null | undefined;
112
+ updatedAt?: string | null | undefined;
113
+ lastSynchronize?: string | null | undefined;
114
+ menuSyncError?: string | null | undefined;
115
+ integrationStatus?: string | null | undefined;
116
+ menuRetryCount?: number | null | undefined;
117
+ enable: boolean;
118
+ integrationId: string;
119
+ merchantID: string;
120
+ }[] | null | undefined>;
21
121
  }>, "strip", z.ZodTypeAny, {
22
122
  status?: string | null | undefined;
23
123
  _id?: string | undefined;
24
124
  catalogId?: string | null | undefined;
25
- updatedAt?: string | null | undefined;
26
125
  printReceiptAfterClose?: boolean | null | undefined;
126
+ updatedAt?: string | null | undefined;
27
127
  lastSynchronize?: string | null | undefined;
128
+ menuSyncError?: string | null | undefined;
28
129
  showProductAddon?: boolean | null | undefined;
29
130
  ignoreDiscount?: boolean | null | undefined;
30
- menuSyncError?: string | null | undefined;
31
131
  syncIGI?: boolean | null | undefined;
132
+ additionalStores?: {
133
+ status?: string | null | undefined;
134
+ catalogId?: string | null | undefined;
135
+ updatedAt?: string | null | undefined;
136
+ lastSynchronize?: string | null | undefined;
137
+ menuSyncError?: string | null | undefined;
138
+ integrationStatus?: string | null | undefined;
139
+ menuRetryCount?: number | null | undefined;
140
+ enable: boolean;
141
+ integrationId: string;
142
+ merchantID: string;
143
+ }[] | null | undefined;
144
+ integrationStatus?: string | null | undefined;
145
+ menuRetryCount?: number | null | undefined;
32
146
  autoCloseOnDelivered?: boolean | null | undefined;
33
147
  syncV2?: boolean | null | undefined;
34
- menuRetryCount?: number | null | undefined;
35
148
  enable: boolean;
36
149
  autoCloseBill: boolean;
150
+ integrationId: string;
37
151
  commissionRate: number;
38
152
  merchantID: string;
39
153
  }, {
40
154
  status?: string | null | undefined;
41
155
  _id?: string | undefined;
42
156
  catalogId?: string | null | undefined;
43
- updatedAt?: string | null | undefined;
44
157
  printReceiptAfterClose?: boolean | null | undefined;
158
+ updatedAt?: string | null | undefined;
45
159
  lastSynchronize?: string | null | undefined;
160
+ menuSyncError?: string | null | undefined;
46
161
  showProductAddon?: boolean | null | undefined;
47
162
  ignoreDiscount?: boolean | null | undefined;
48
- menuSyncError?: string | null | undefined;
49
163
  syncIGI?: boolean | null | undefined;
164
+ additionalStores?: {
165
+ status?: string | null | undefined;
166
+ catalogId?: string | null | undefined;
167
+ updatedAt?: string | null | undefined;
168
+ lastSynchronize?: string | null | undefined;
169
+ menuSyncError?: string | null | undefined;
170
+ integrationStatus?: string | null | undefined;
171
+ menuRetryCount?: number | null | undefined;
172
+ enable: boolean;
173
+ integrationId: string;
174
+ merchantID: string;
175
+ }[] | null | undefined;
176
+ integrationStatus?: string | null | undefined;
177
+ menuRetryCount?: number | null | undefined;
50
178
  autoCloseOnDelivered?: boolean | null | undefined;
51
179
  syncV2?: boolean | null | undefined;
52
- menuRetryCount?: number | null | undefined;
53
180
  enable: boolean;
54
181
  autoCloseBill: boolean;
182
+ integrationId: string;
55
183
  commissionRate: number;
56
184
  merchantID: string;
57
185
  }>;
@@ -1695,59 +1695,81 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
1695
1695
  _id: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1696
1696
  catalogId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1697
1697
  enable: z.ZodOptional<z.ZodBoolean>;
1698
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1699
1698
  autoCloseBill: z.ZodOptional<z.ZodBoolean>;
1700
1699
  printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1700
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1701
1701
  lastSynchronize: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1702
1702
  commissionRate: z.ZodOptional<z.ZodNumber>;
1703
+ menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1703
1704
  showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1704
1705
  ignoreDiscount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1705
- menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1706
1706
  syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1707
1707
  merchantID: z.ZodOptional<z.ZodString>;
1708
+ integrationStatus: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1709
+ menuRetryCount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1708
1710
  autoCloseOnDelivered: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1709
1711
  syncV2: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
1710
- menuRetryCount: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
1711
- partnerMerchantID: z.ZodOptional<z.ZodString>;
1712
+ partnerMerchantID: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1712
1713
  }, "strip", z.ZodTypeAny, {
1713
1714
  status?: string | null | undefined;
1714
1715
  _id?: string | undefined;
1715
1716
  catalogId?: string | null | undefined;
1716
1717
  enable?: boolean | undefined;
1717
- updatedAt?: string | null | undefined;
1718
1718
  autoCloseBill?: boolean | undefined;
1719
1719
  printReceiptAfterClose?: boolean | null | undefined;
1720
+ updatedAt?: string | null | undefined;
1720
1721
  lastSynchronize?: string | null | undefined;
1721
1722
  commissionRate?: number | undefined;
1723
+ menuSyncError?: string | null | undefined;
1722
1724
  showProductAddon?: boolean | null | undefined;
1723
1725
  ignoreDiscount?: boolean | null | undefined;
1724
- menuSyncError?: string | null | undefined;
1725
1726
  syncIGI?: boolean | null | undefined;
1726
- partnerMerchantID?: string | undefined;
1727
1727
  merchantID?: string | undefined;
1728
+ integrationStatus?: string | null | undefined;
1729
+ menuRetryCount?: number | null | undefined;
1728
1730
  autoCloseOnDelivered?: boolean | null | undefined;
1729
1731
  syncV2?: boolean | null | undefined;
1730
- menuRetryCount?: number | null | undefined;
1732
+ partnerMerchantID?: string | null | undefined;
1731
1733
  }, {
1732
1734
  status?: string | null | undefined;
1733
1735
  _id?: string | undefined;
1734
1736
  catalogId?: string | null | undefined;
1735
1737
  enable?: boolean | undefined;
1736
- updatedAt?: string | null | undefined;
1737
1738
  autoCloseBill?: boolean | undefined;
1738
1739
  printReceiptAfterClose?: boolean | null | undefined;
1740
+ updatedAt?: string | null | undefined;
1739
1741
  lastSynchronize?: string | null | undefined;
1740
1742
  commissionRate?: number | undefined;
1743
+ menuSyncError?: string | null | undefined;
1741
1744
  showProductAddon?: boolean | null | undefined;
1742
1745
  ignoreDiscount?: boolean | null | undefined;
1743
- menuSyncError?: string | null | undefined;
1744
1746
  syncIGI?: boolean | null | undefined;
1745
- partnerMerchantID?: string | undefined;
1746
1747
  merchantID?: string | undefined;
1748
+ integrationStatus?: string | null | undefined;
1749
+ menuRetryCount?: number | null | undefined;
1747
1750
  autoCloseOnDelivered?: boolean | null | undefined;
1748
1751
  syncV2?: boolean | null | undefined;
1749
- menuRetryCount?: number | null | undefined;
1752
+ partnerMerchantID?: string | null | undefined;
1750
1753
  }>;
1754
+ /**
1755
+ * Upsert payload for an *additional* GrabFood store (POST/PUT /stores).
1756
+ * Only Portal-editable fields belong here. Sync/error state and immutable
1757
+ * identities are owned by the backend and must not be accepted from clients.
1758
+ */
1759
+ export declare const FdtoGrabfoodAdditionalStoreUpsert: z.ZodObject<{
1760
+ merchantID: z.ZodString;
1761
+ catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1762
+ enable: z.ZodOptional<z.ZodBoolean>;
1763
+ }, "strip", z.ZodTypeAny, {
1764
+ catalogId?: string | null | undefined;
1765
+ enable?: boolean | undefined;
1766
+ merchantID: string;
1767
+ }, {
1768
+ catalogId?: string | null | undefined;
1769
+ enable?: boolean | undefined;
1770
+ merchantID: string;
1771
+ }>;
1772
+ export type FdtoGrabfoodAdditionalStoreUpsert = z.infer<typeof FdtoGrabfoodAdditionalStoreUpsert>;
1751
1773
  export declare const FdtoGrabfoodUpdateMenuItem: z.ZodObject<{
1752
1774
  merchantId: z.ZodString;
1753
1775
  field: z.ZodEnum<["ITEM", "MODIFIER"]>;
@@ -2344,7 +2366,6 @@ export declare const GFListOrdersRes: z.ZodObject<{
2344
2366
  tableID?: string | null | undefined;
2345
2367
  eaterCount?: number | null | undefined;
2346
2368
  } | null | undefined;
2347
- partnerMerchantID?: string | null | undefined;
2348
2369
  campaigns?: {
2349
2370
  name?: string | null | undefined;
2350
2371
  type?: string | null | undefined;
@@ -2362,6 +2383,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
2362
2383
  deductedAmount?: number | null | undefined;
2363
2384
  appliedItemIDs?: string[] | null | undefined;
2364
2385
  }[] | null | undefined;
2386
+ partnerMerchantID?: string | null | undefined;
2365
2387
  submitTime?: string | null | undefined;
2366
2388
  completeTime?: string | null | undefined;
2367
2389
  scheduledTime?: string | null | undefined;
@@ -2447,7 +2469,6 @@ export declare const GFListOrdersRes: z.ZodObject<{
2447
2469
  tableID?: string | null | undefined;
2448
2470
  eaterCount?: number | null | undefined;
2449
2471
  } | null | undefined;
2450
- partnerMerchantID?: string | null | undefined;
2451
2472
  campaigns?: {
2452
2473
  name?: string | null | undefined;
2453
2474
  type?: string | null | undefined;
@@ -2465,6 +2486,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
2465
2486
  deductedAmount?: number | null | undefined;
2466
2487
  appliedItemIDs?: string[] | null | undefined;
2467
2488
  }[] | null | undefined;
2489
+ partnerMerchantID?: string | null | undefined;
2468
2490
  submitTime?: string | null | undefined;
2469
2491
  completeTime?: string | null | undefined;
2470
2492
  scheduledTime?: string | null | undefined;
@@ -2552,7 +2574,6 @@ export declare const GFListOrdersRes: z.ZodObject<{
2552
2574
  tableID?: string | null | undefined;
2553
2575
  eaterCount?: number | null | undefined;
2554
2576
  } | null | undefined;
2555
- partnerMerchantID?: string | null | undefined;
2556
2577
  campaigns?: {
2557
2578
  name?: string | null | undefined;
2558
2579
  type?: string | null | undefined;
@@ -2570,6 +2591,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
2570
2591
  deductedAmount?: number | null | undefined;
2571
2592
  appliedItemIDs?: string[] | null | undefined;
2572
2593
  }[] | null | undefined;
2594
+ partnerMerchantID?: string | null | undefined;
2573
2595
  submitTime?: string | null | undefined;
2574
2596
  completeTime?: string | null | undefined;
2575
2597
  scheduledTime?: string | null | undefined;
@@ -2658,7 +2680,6 @@ export declare const GFListOrdersRes: z.ZodObject<{
2658
2680
  tableID?: string | null | undefined;
2659
2681
  eaterCount?: number | null | undefined;
2660
2682
  } | null | undefined;
2661
- partnerMerchantID?: string | null | undefined;
2662
2683
  campaigns?: {
2663
2684
  name?: string | null | undefined;
2664
2685
  type?: string | null | undefined;
@@ -2676,6 +2697,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
2676
2697
  deductedAmount?: number | null | undefined;
2677
2698
  appliedItemIDs?: string[] | null | undefined;
2678
2699
  }[] | null | undefined;
2700
+ partnerMerchantID?: string | null | undefined;
2679
2701
  submitTime?: string | null | undefined;
2680
2702
  completeTime?: string | null | undefined;
2681
2703
  scheduledTime?: string | null | undefined;
@@ -4495,16 +4517,16 @@ export declare const FdtoGrabfoodSyncDataDto: z.ZodObject<{
4495
4517
  }, "strip", z.ZodTypeAny, {
4496
4518
  status: string;
4497
4519
  updatedAt: string;
4498
- partnerMerchantID: string;
4499
4520
  merchantID: string;
4521
+ partnerMerchantID: string;
4500
4522
  requestID: string;
4501
4523
  jobID: string;
4502
4524
  errors: (string | null)[] | null;
4503
4525
  }, {
4504
4526
  status: string;
4505
4527
  updatedAt: string;
4506
- partnerMerchantID: string;
4507
4528
  merchantID: string;
4529
+ partnerMerchantID: string;
4508
4530
  requestID: string;
4509
4531
  jobID: string;
4510
4532
  errors: (string | null)[] | null;
@@ -4538,13 +4560,13 @@ export declare const FdtoGrabfoodIntegrationStatusDto: z.ZodObject<{
4538
4560
  grabMerchantID: z.ZodString;
4539
4561
  integrationStatus: z.ZodEnum<["INACTIVE", "ACTIVE", "SYNCING", "FAILED"]>;
4540
4562
  }, "strip", z.ZodTypeAny, {
4563
+ integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4541
4564
  partnerMerchantID: string;
4542
4565
  grabMerchantID: string;
4543
- integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4544
4566
  }, {
4567
+ integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4545
4568
  partnerMerchantID: string;
4546
4569
  grabMerchantID: string;
4547
- integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
4548
4570
  }>;
4549
4571
  export type FdtoGrabfoodIntegrationStatusDto = z.infer<typeof FdtoGrabfoodIntegrationStatusDto>;
4550
4572
  export type FdtoGrabfoodIntegrationUrlResp = z.infer<typeof FdtoGrabfoodIntegrationUrlResp>;