@feedmepos/mf-inventory-portal 0.0.5

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 (284) hide show
  1. package/README.md +31 -0
  2. package/dist/App.vue.d.ts +2 -0
  3. package/dist/ApprovalView-CTQdDgGH.js +119 -0
  4. package/dist/BindingsDialog-DvX_DRsO.js +82 -0
  5. package/dist/BindingsPicker-CQIGhTCR.js +124 -0
  6. package/dist/BindingsTable-Da4BLkvc.js +122 -0
  7. package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DcixBOcX.js +97 -0
  8. package/dist/Entry.vue.d.ts +2 -0
  9. package/dist/FmMultiselectDialog.vue_vue_type_script_setup_true_lang-BXU7x6di.js +144 -0
  10. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-CD89qCIa.js +49 -0
  11. package/dist/IngredientsView-2ZKdzsgI.js +739 -0
  12. package/dist/IntegrationView-BRWYO3VE.js +1172 -0
  13. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnsDmPTe.js +240 -0
  14. package/dist/NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DBK7mpQS.js +66 -0
  15. package/dist/PurchaseOrderPrintPreview-CH9gVYDg.js +152 -0
  16. package/dist/ReceiveRequestView-DQBqc3GF.js +1298 -0
  17. package/dist/RecipeView-DFG9Wkx-.js +594 -0
  18. package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CFjO4TPG.js +53 -0
  19. package/dist/Standalone.vue.d.ts +2 -0
  20. package/dist/StockView-DLWMp_I5.js +1733 -0
  21. package/dist/SupplierView-CZhM2ie3.js +607 -0
  22. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Ffe9bhq8.js +1027 -0
  23. package/dist/UnitView-C3XVSbJY.js +626 -0
  24. package/dist/WarehouseView-BntzAdz3.js +1139 -0
  25. package/dist/api/bill.d.ts +1364 -0
  26. package/dist/api/closing.d.ts +3 -0
  27. package/dist/api/error.d.ts +31 -0
  28. package/dist/api/food-market-hub.d.ts +38 -0
  29. package/dist/api/inventory.d.ts +176 -0
  30. package/dist/api/purchase-order.d.ts +13 -0
  31. package/dist/api/stock.d.ts +9 -0
  32. package/dist/api/supplier.d.ts +7 -0
  33. package/dist/api/type.d.ts +12 -0
  34. package/dist/api/warehouse.d.ts +7 -0
  35. package/dist/app-BzDhmCVx.js +36639 -0
  36. package/dist/app.d.ts +2 -0
  37. package/dist/app.js +5 -0
  38. package/dist/components/ChangeLocationComponent.vue.d.ts +2 -0
  39. package/dist/components/DeferableLoading.vue.d.ts +19 -0
  40. package/dist/components/DeferableLoadingProps.d.ts +4 -0
  41. package/dist/components/DeleteDialog.vue.d.ts +18 -0
  42. package/dist/components/FmCoordinateInput.vue.d.ts +24 -0
  43. package/dist/components/FmCoordinateInputProps.d.ts +23 -0
  44. package/dist/components/FmFilterableSelect.vue.d.ts +25 -0
  45. package/dist/components/FmFilterableSelectProps.d.ts +28 -0
  46. package/dist/components/FmMultiselectDialog.vue.d.ts +30 -0
  47. package/dist/components/FmMultiselectDialogProps.d.ts +16 -0
  48. package/dist/components/FmTableToolbar.vue.d.ts +49 -0
  49. package/dist/components/MultiSelectDialog.vue.d.ts +12 -0
  50. package/dist/components/MultiSelectDialogProps.d.ts +7 -0
  51. package/dist/components/NavigationTab.vue.d.ts +2 -0
  52. package/dist/components/NumberPrecisionInput.vue.d.ts +16 -0
  53. package/dist/components/NumberPrecisionInputProps.d.ts +12 -0
  54. package/dist/components/TableActionableRow.vue.d.ts +40 -0
  55. package/dist/components/UnitDisplayControl.vue.d.ts +12 -0
  56. package/dist/components/UnitDisplayControlProp.d.ts +7 -0
  57. package/dist/components/fm-components.type.d.ts +8 -0
  58. package/dist/components/form/form-mode.enum.d.ts +5 -0
  59. package/dist/components/icons/IconCommunity.vue.d.ts +2 -0
  60. package/dist/components/icons/IconDocumentation.vue.d.ts +2 -0
  61. package/dist/components/icons/IconEcosystem.vue.d.ts +2 -0
  62. package/dist/components/icons/IconSupport.vue.d.ts +2 -0
  63. package/dist/components/icons/IconTooling.vue.d.ts +2 -0
  64. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +145 -0
  65. package/dist/components/inventory-binding/InventoryBindingProps.d.ts +11 -0
  66. package/dist/components/map/CoordinateDialog.vue.d.ts +24 -0
  67. package/dist/components/map/GoogleMap.vue.d.ts +79 -0
  68. package/dist/components/map/coordinates.d.ts +6 -0
  69. package/dist/components/map/helper/coords-to-latlong.d.ts +8 -0
  70. package/dist/components/map/type.d.ts +27 -0
  71. package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +7 -0
  72. package/dist/components/nested-multiselect/FmNestedMultiselectDialogProps.d.ts +22 -0
  73. package/dist/components/nested-multiselect/helper/multiselect-utils.d.ts +2 -0
  74. package/dist/components/row-action.enum.d.ts +13 -0
  75. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +84 -0
  76. package/dist/components/shell/inventory/binding-ui.test.d.ts +1 -0
  77. package/dist/components/shell/inventory/binding-ui.vue.d.ts +110 -0
  78. package/dist/components/shell/inventory/utils.d.ts +5 -0
  79. package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +36 -0
  80. package/dist/components/ui-library/FmSpecialChip.vue.d.ts +79 -0
  81. package/dist/composable/defineApi.d.ts +18 -0
  82. package/dist/composable/useBreakpoints.d.ts +7 -0
  83. package/dist/composable/useIframe.d.ts +37 -0
  84. package/dist/composable/useSearch.d.ts +5 -0
  85. package/dist/composable/useTabStorage.d.ts +2 -0
  86. package/dist/composable/useToast.d.ts +36 -0
  87. package/dist/core.d.ts +12 -0
  88. package/dist/cypress/component/FmFilterableSelect.cy.d.ts +1 -0
  89. package/dist/cypress/component/FmNestedMultiselectDialog.cy.d.ts +1 -0
  90. package/dist/cypress/component/UnitDisplayControl.cy.d.ts +1 -0
  91. package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +2 -0
  92. package/dist/cypress/e2e/views/MenuV3.spec.cy.d.ts +0 -0
  93. package/dist/cypress/e2e/views/MenuV4.spec.cy.d.ts +0 -0
  94. package/dist/cypress/e2e/views/Root.spec.cy.d.ts +0 -0
  95. package/dist/cypress/e2e/views/StockView.spec.cy.d.ts +0 -0
  96. package/dist/cypress/support/commands.d.ts +0 -0
  97. package/dist/cypress/support/component.d.ts +10 -0
  98. package/dist/cypress/support/e2e.d.ts +1 -0
  99. package/dist/date2-C7HiAWQG.js +209 -0
  100. package/dist/dayjs.min-Db57WhI9.js +282 -0
  101. package/dist/decimal-D3a0BwVj.js +98 -0
  102. package/dist/empty-placeholder-wf6-BWE8.js +4 -0
  103. package/dist/extensions/array.d.ts +15 -0
  104. package/dist/favicon.ico +0 -0
  105. package/dist/fuzzy-BW8ZYsDG.js +41 -0
  106. package/dist/helper/address.d.ts +2 -0
  107. package/dist/helper/component.d.ts +4 -0
  108. package/dist/helper/core/country/codes.d.ts +255 -0
  109. package/dist/helper/core/country/utils.d.ts +8 -0
  110. package/dist/helper/core/id-to-date.d.ts +1 -0
  111. package/dist/helper/core/store/type.d.ts +2 -0
  112. package/dist/helper/country.d.ts +260 -0
  113. package/dist/helper/date.spec.d.ts +1 -0
  114. package/dist/helper/date2.d.ts +20 -0
  115. package/dist/helper/decimal.d.ts +15 -0
  116. package/dist/helper/decimal.spec.d.ts +1 -0
  117. package/dist/helper/export.d.ts +12 -0
  118. package/dist/helper/form.d.ts +5 -0
  119. package/dist/helper/inventory.d.ts +1 -0
  120. package/dist/helper/iteration.d.ts +15 -0
  121. package/dist/helper/number.d.ts +27 -0
  122. package/dist/helper/number.spec.d.ts +1 -0
  123. package/dist/helper/object.d.ts +36 -0
  124. package/dist/helper/object.spec.d.ts +1 -0
  125. package/dist/helper/rules.d.ts +22 -0
  126. package/dist/helper/search.d.ts +21 -0
  127. package/dist/helper/semver.d.ts +20 -0
  128. package/dist/helper/semver.spec.d.ts +1 -0
  129. package/dist/helper/type.d.ts +8 -0
  130. package/dist/helper/url.d.ts +7 -0
  131. package/dist/helper/validate.d.ts +70 -0
  132. package/dist/helper/xlsx.util.d.ts +8 -0
  133. package/dist/helper/zod.d.ts +21 -0
  134. package/dist/id-to-date-ReZIpUDw.js +30 -0
  135. package/dist/index-D46it8Rk.js +12956 -0
  136. package/dist/init-date-range-M3Q03-Fd.js +21 -0
  137. package/dist/is-linked-ingredient-error-C6AghEwR.js +37 -0
  138. package/dist/layout/InventoryLayout.vue.d.ts +2 -0
  139. package/dist/layout/SingleColumnLayout.vue.d.ts +55 -0
  140. package/dist/layout/components/NavigationButton.vue.d.ts +22 -0
  141. package/dist/layout/layout-routes.d.ts +7 -0
  142. package/dist/layout/type.d.ts +17 -0
  143. package/dist/layout-BvUjg6JS.js +151 -0
  144. package/dist/locales/en/common.json +7 -0
  145. package/dist/main.d.ts +2 -0
  146. package/dist/router/index.d.ts +5 -0
  147. package/dist/router/name.d.ts +17 -0
  148. package/dist/router/shared.d.ts +11 -0
  149. package/dist/row-action.enum-BwQbURNh.js +28 -0
  150. package/dist/rules-DHfAMDW3.js +86 -0
  151. package/dist/stores/api.d.ts +10 -0
  152. package/dist/stores/env.d.ts +5 -0
  153. package/dist/stores/feature.d.ts +9 -0
  154. package/dist/stores/googlemap.d.ts +37 -0
  155. package/dist/stores/helper/generate-backend-urls.d.ts +8 -0
  156. package/dist/stores/inventory.d.ts +1983 -0
  157. package/dist/stores/layout.d.ts +5 -0
  158. package/dist/stores/location.d.ts +1898 -0
  159. package/dist/stores/route.d.ts +12 -0
  160. package/dist/stores/stock.d.ts +58 -0
  161. package/dist/stores/supplier.d.ts +30 -0
  162. package/dist/stores/warehouse.d.ts +88 -0
  163. package/dist/style.css +1 -0
  164. package/dist/supplier-DTiiOLtg.js +65 -0
  165. package/dist/tsconfig.app.tsbuildinfo +1 -0
  166. package/dist/use-inventory-binding-dialog-B6JO7050.js +109 -0
  167. package/dist/views/InventoryView.vue.d.ts +2 -0
  168. package/dist/views/SelectBussinessDialog.vue.d.ts +2 -0
  169. package/dist/views/approval/ApprovalView.vue.d.ts +2 -0
  170. package/dist/views/dev/ComponentPreview.vue.d.ts +2 -0
  171. package/dist/views/dev/components/CoordinateTest.vue.d.ts +2 -0
  172. package/dist/views/dev/components/DateRange.vue.d.ts +2 -0
  173. package/dist/views/dev/components/FmSelectTest.vue.d.ts +2 -0
  174. package/dist/views/dev/components/InventoryIframe.vue.d.ts +2 -0
  175. package/dist/views/dev/components/LayoutDev.vue.d.ts +2 -0
  176. package/dist/views/dev/components/MfCommontTest.vue.d.ts +2 -0
  177. package/dist/views/dev/components/NestedSelection.vue.d.ts +2 -0
  178. package/dist/views/dev/components/NumberStepper.vue.d.ts +2 -0
  179. package/dist/views/dev/components/TabStorageTest.vue.d.ts +2 -0
  180. package/dist/views/dev/helpers/debug.d.ts +22 -0
  181. package/dist/views/dev/helpers/nested-options.d.ts +60 -0
  182. package/dist/views/dev/helpers/pinia-test.d.ts +9 -0
  183. package/dist/views/home/HomeView.vue.d.ts +2 -0
  184. package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +2 -0
  185. package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +2 -0
  186. package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +2 -0
  187. package/dist/views/ingredients/IngredientsView.vue.d.ts +2 -0
  188. package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +30 -0
  189. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +54 -0
  190. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +8 -0
  191. package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +12 -0
  192. package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItemProps.d.ts +5 -0
  193. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +31 -0
  194. package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +9 -0
  195. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +104 -0
  196. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +10 -0
  197. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +88 -0
  198. package/dist/views/ingredients/components/inventory-binding/composables/use-inventory-binding-dialog.d.ts +4 -0
  199. package/dist/views/ingredients/components/inventory-binding/util.d.ts +7 -0
  200. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -0
  201. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +46 -0
  202. package/dist/views/ingredients/helper/is-linked-ingredient-error.d.ts +7 -0
  203. package/dist/views/integration/IntegrationView.vue.d.ts +2 -0
  204. package/dist/views/integration/components/ApplyAddon.vue.d.ts +379 -0
  205. package/dist/views/integration/components/ApplyProduct.vue.d.ts +303 -0
  206. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +277 -0
  207. package/dist/views/integration/components/ApplyProductDialogProps.d.ts +17 -0
  208. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +277 -0
  209. package/dist/views/integration/helper/menu.d.ts +36 -0
  210. package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +2 -0
  211. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +12 -0
  212. package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistoryProps.d.ts +11 -0
  213. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +18 -0
  214. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +12 -0
  215. package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +22 -0
  216. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +11 -0
  217. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -0
  218. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +10 -0
  219. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +369 -0
  220. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1202 -0
  221. package/dist/views/receive-request/constants/dialog-templates.d.ts +8 -0
  222. package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
  223. package/dist/views/receive-request/constants/purchase-row-actions.d.ts +2 -0
  224. package/dist/views/receive-request/helper/format-time-from-id.d.ts +2 -0
  225. package/dist/views/receive-request/helper/format-unit-display.d.ts +6 -0
  226. package/dist/views/receive-request/helper/get-received-amount.d.ts +2 -0
  227. package/dist/views/receive-request/helper/init-date-range.d.ts +8 -0
  228. package/dist/views/receive-request/helper/print-po.d.ts +2 -0
  229. package/dist/views/receive-request/helper/status-to-background.d.ts +2 -0
  230. package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +47 -0
  231. package/dist/views/recipe/RecipeView.vue.d.ts +2 -0
  232. package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +31 -0
  233. package/dist/views/recipe/components/recipe-dialog/RecipeDialogProps.d.ts +9 -0
  234. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +62 -0
  235. package/dist/views/recipe/components/recipe-form/RecipeFormProps.d.ts +10 -0
  236. package/dist/views/recipe/composables/use-recipe-form.d.ts +9 -0
  237. package/dist/views/recipe/composables/use-recipe-table.d.ts +11 -0
  238. package/dist/views/recipe/helper/export-recipe.d.ts +1 -0
  239. package/dist/views/stock/StockView.vue.d.ts +2 -0
  240. package/dist/views/stock/components/StockHistory.vue.d.ts +17 -0
  241. package/dist/views/stock/components/StockHistoryProps.d.ts +7 -0
  242. package/dist/views/stock/components/StockRecordCard.vue.d.ts +712 -0
  243. package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +22 -0
  244. package/dist/views/stock/components/dialog/AdjustSkuDialogProps.d.ts +8 -0
  245. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +164 -0
  246. package/dist/views/stock/components/dialog/AdjustedItemFormProps.d.ts +8 -0
  247. package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +22 -0
  248. package/dist/views/stock/components/dialog/ConvertSkuDialogProps.d.ts +9 -0
  249. package/dist/views/stock/components/dialog/constant/adjustment-type-options.d.ts +7 -0
  250. package/dist/views/stock/components/dialog/helper/adjust.d.ts +3 -0
  251. package/dist/views/stock/components/dialog/helper/form-adjust.d.ts +10 -0
  252. package/dist/views/stock/composables/use-stock-table.d.ts +12 -0
  253. package/dist/views/stock/helper/compute-summary-total-test.d.ts +1 -0
  254. package/dist/views/stock/helper/compute-summary-total.d.ts +1 -0
  255. package/dist/views/stock/helper/compute-summary-total.spec.d.ts +1 -0
  256. package/dist/views/stock/helper/format-date-from-id.d.ts +2 -0
  257. package/dist/views/stock/helper/on-click-export-excel.d.ts +9 -0
  258. package/dist/views/stock/helper/stock-row-action.d.ts +13 -0
  259. package/dist/views/stock/type.d.ts +9 -0
  260. package/dist/views/supplier/SupplierView.vue.d.ts +2 -0
  261. package/dist/views/supplier/components/SupplierDialog.vue.d.ts +22 -0
  262. package/dist/views/supplier/components/SupplierDialogProps.d.ts +10 -0
  263. package/dist/views/supplier/components/SupplierForm.vue.d.ts +58 -0
  264. package/dist/views/supplier/components/SupplierFormProps.d.ts +8 -0
  265. package/dist/views/supplier/composables/use-supplier-table.d.ts +22 -0
  266. package/dist/views/unit/UnitView.vue.d.ts +2 -0
  267. package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +31 -0
  268. package/dist/views/unit/components/unit-dialog/UnitDialogProps.d.ts +9 -0
  269. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +50 -0
  270. package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +10 -0
  271. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +43 -0
  272. package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +12 -0
  273. package/dist/views/unit/components/unit-used-by/UnitUsedByProps.d.ts +3 -0
  274. package/dist/views/unit/composables/use-unit-form.d.ts +8 -0
  275. package/dist/views/unit/composables/use-unit-table.d.ts +19 -0
  276. package/dist/views/unit/type.d.ts +2 -0
  277. package/dist/views/warehouse/WarehouseView.vue.d.ts +2 -0
  278. package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +22 -0
  279. package/dist/views/warehouse/components/WarehouseDialogProps.d.ts +10 -0
  280. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +174 -0
  281. package/dist/views/warehouse/components/WarehouseFormProps.d.ts +8 -0
  282. package/dist/views/warehouse/composables/use-warehouse-table.d.ts +12 -0
  283. package/dist/xlsx-BljO4Lx2.js +15510 -0
  284. package/package.json +93 -0
@@ -0,0 +1,1898 @@
1
+ import type { FdoRestaurant } from '@feedmepos/core/entity';
2
+ export declare enum InventoryLocationType {
3
+ restaurant = "restaurant",
4
+ warehouse = "warehouse"
5
+ }
6
+ export interface InventoryLocation {
7
+ name: string;
8
+ type: InventoryLocationType;
9
+ acceptRequest: boolean;
10
+ dbName: string;
11
+ doc: FdoWarehouse | FdoRestaurant;
12
+ }
13
+ export declare function useLocationStore(): {
14
+ _currentLocation: InventoryLocation | null;
15
+ _locations: InventoryLocation[] | null;
16
+ readonly state: {
17
+ _currentLocation: {
18
+ name: string;
19
+ type: InventoryLocationType;
20
+ acceptRequest: boolean;
21
+ dbName: string;
22
+ doc: {
23
+ pf_business?: {
24
+ internal?: boolean | null | undefined;
25
+ url?: string | null | undefined;
26
+ expiredAt?: string | null | undefined;
27
+ agentId?: string | null | undefined;
28
+ pf_agent?: {
29
+ clickupId?: string | null | undefined;
30
+ members?: {
31
+ pf_user?: {
32
+ email?: string | null | undefined;
33
+ phoneNumber?: string | null | undefined;
34
+ birthday?: string | null | undefined;
35
+ gender?: "MALE" | "FEMALE" | null | undefined;
36
+ addresses?: {
37
+ address: string;
38
+ name: string;
39
+ coordinates: number[];
40
+ }[] | null | undefined;
41
+ photoURL?: string | null | undefined;
42
+ displayName?: string | null | undefined;
43
+ imported?: {
44
+ raw: Record<string, any>;
45
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
46
+ } | null | undefined;
47
+ _id: string;
48
+ } | null | undefined;
49
+ role: "ADMIN";
50
+ userId: string;
51
+ }[] | null | undefined;
52
+ code: string;
53
+ name: string;
54
+ _id: string;
55
+ isReseller: boolean;
56
+ } | null | undefined;
57
+ thumbnail?: string | null | undefined;
58
+ billingInfos?: {
59
+ _id?: string | null | undefined;
60
+ address: {
61
+ coordinates?: number[] | null | undefined;
62
+ line2?: string | null | undefined;
63
+ state: string;
64
+ line1: string;
65
+ city: string;
66
+ postcode: string;
67
+ country: string;
68
+ };
69
+ name: string;
70
+ email: string;
71
+ companyName: string;
72
+ contact: string;
73
+ }[] | null | undefined;
74
+ name: string;
75
+ _id: string;
76
+ ownerId: string;
77
+ restaurantQuota: number;
78
+ warehouseQuota: number;
79
+ menuVersion: string;
80
+ } | null | undefined;
81
+ _id: string;
82
+ profile: {
83
+ email?: string | null | undefined;
84
+ phoneNo?: string | null | undefined;
85
+ name: string;
86
+ address: {
87
+ coordinates?: number[] | null | undefined;
88
+ line2?: string | null | undefined;
89
+ state: string;
90
+ line1: string;
91
+ city: string;
92
+ postcode: string;
93
+ country: string;
94
+ };
95
+ regNo: string;
96
+ };
97
+ businessId: string;
98
+ } | {
99
+ channel?: string | null | undefined;
100
+ machineId?: string | null | undefined;
101
+ catalogId?: string | null | undefined;
102
+ takeaway?: {
103
+ catalogId?: string | null | undefined;
104
+ } | null | undefined;
105
+ inHouseDelivery?: {
106
+ autoAccept?: boolean | null | undefined;
107
+ deliveryTime?: {
108
+ time?: string[] | null | undefined;
109
+ custom?: {
110
+ 0: {
111
+ hours: {
112
+ end: string;
113
+ start: string;
114
+ }[];
115
+ enable: boolean;
116
+ };
117
+ 2: {
118
+ hours: {
119
+ end: string;
120
+ start: string;
121
+ }[];
122
+ enable: boolean;
123
+ };
124
+ 1: {
125
+ hours: {
126
+ end: string;
127
+ start: string;
128
+ }[];
129
+ enable: boolean;
130
+ };
131
+ 3: {
132
+ hours: {
133
+ end: string;
134
+ start: string;
135
+ }[];
136
+ enable: boolean;
137
+ };
138
+ 4: {
139
+ hours: {
140
+ end: string;
141
+ start: string;
142
+ }[];
143
+ enable: boolean;
144
+ };
145
+ 5: {
146
+ hours: {
147
+ end: string;
148
+ start: string;
149
+ }[];
150
+ enable: boolean;
151
+ };
152
+ 6: {
153
+ hours: {
154
+ end: string;
155
+ start: string;
156
+ }[];
157
+ enable: boolean;
158
+ };
159
+ } | null | undefined;
160
+ day: {
161
+ max: number;
162
+ min: number;
163
+ };
164
+ } | null | undefined;
165
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
166
+ offlinePaymentTypes?: {
167
+ name: string;
168
+ instruction: string;
169
+ }[] | null | undefined;
170
+ autoAcceptPaidOnly?: boolean | null | undefined;
171
+ ignoreStock?: boolean | null | undefined;
172
+ catalogId: string | null;
173
+ enable: boolean;
174
+ areas: {
175
+ minPurchase?: {
176
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
177
+ amount: number;
178
+ precision: number;
179
+ } | null | undefined;
180
+ freeAfterTotal?: {
181
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
182
+ amount: number;
183
+ precision: number;
184
+ } | null | undefined;
185
+ polygon: number[][];
186
+ deliveryFee: {
187
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
188
+ amount: number;
189
+ precision: number;
190
+ };
191
+ }[];
192
+ term: string;
193
+ } | null | undefined;
194
+ pickup?: {
195
+ catalogId?: string | null | undefined;
196
+ autoAccept?: boolean | null | undefined;
197
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
198
+ offlinePaymentTypes?: {
199
+ name: string;
200
+ instruction: string;
201
+ }[] | null | undefined;
202
+ autoAcceptPaidOnly?: boolean | null | undefined;
203
+ ignoreStock?: boolean | null | undefined;
204
+ pickupTime?: {
205
+ day: {
206
+ max: number;
207
+ min: number;
208
+ };
209
+ } | null | undefined;
210
+ pickupPointConfig?: {
211
+ restaurantEnable: boolean;
212
+ points: {
213
+ address: string;
214
+ name: string;
215
+ coordinates: number[];
216
+ }[];
217
+ } | null | undefined;
218
+ } | null | undefined;
219
+ dineIn?: {
220
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
221
+ offlinePaymentTypes?: {
222
+ name: string;
223
+ instruction: string;
224
+ }[] | null | undefined;
225
+ ignoreStock?: boolean | null | undefined;
226
+ staticQr?: boolean | null | undefined;
227
+ disableItemRemark?: boolean | null | undefined;
228
+ acceptQueue?: boolean | null | undefined;
229
+ anonymousOrder: boolean;
230
+ } | null | undefined;
231
+ features?: string[] | null | undefined;
232
+ machineOtp?: string | null | undefined;
233
+ machineOtpExpiredAt?: string | null | undefined;
234
+ posVersion?: string | null | undefined;
235
+ posHeartbeat?: string | null | undefined;
236
+ posVersionHistory?: Record<string, string> | null | undefined;
237
+ additionalCatalogs?: string[] | null | undefined;
238
+ feedmeDelivery?: {
239
+ instruction?: string | null | undefined;
240
+ catalogId?: string | null | undefined;
241
+ autoAccept?: boolean | null | undefined;
242
+ term?: string | null | undefined;
243
+ enable: boolean;
244
+ } | null | undefined;
245
+ foodpandaDelivery?: {
246
+ _id?: string | undefined;
247
+ catalogId?: string | null | undefined;
248
+ ignoreDiscount?: boolean | null | undefined;
249
+ commissionRate?: number | null | undefined;
250
+ lastSynchronize?: string | null | undefined;
251
+ showProductAddon?: boolean | null | undefined;
252
+ autoAccept?: boolean | null | undefined;
253
+ reportConfig?: {
254
+ commissionRate: number;
255
+ discountCampaigns: {
256
+ name: string;
257
+ date: {
258
+ end: string;
259
+ start: string;
260
+ };
261
+ vendorBearPercentage: number;
262
+ }[];
263
+ } | null | undefined;
264
+ hasSst?: boolean | null | undefined;
265
+ enable: boolean;
266
+ remoteId: string;
267
+ autoCloseBill: boolean;
268
+ } | null | undefined;
269
+ grabfoodDelivery?: {
270
+ _id?: string | undefined;
271
+ catalogId?: string | null | undefined;
272
+ lastSynchronize?: string | null | undefined;
273
+ showProductAddon?: boolean | null | undefined;
274
+ enable: boolean;
275
+ commissionRate: number;
276
+ autoCloseBill: boolean;
277
+ merchantID: string;
278
+ } | null | undefined;
279
+ shopeefoodDelivery?: {
280
+ _id?: string | undefined;
281
+ catalogId?: string | null | undefined;
282
+ lastSynchronize?: string | null | undefined;
283
+ showProductAddon?: boolean | null | undefined;
284
+ enable: boolean;
285
+ autoCloseBill: boolean;
286
+ reportConfig: {
287
+ commissionRate: number;
288
+ discountCampaigns: {
289
+ name: string;
290
+ date: {
291
+ end: string;
292
+ start: string;
293
+ };
294
+ vendorBearPercentage: number;
295
+ }[];
296
+ };
297
+ storeID: string;
298
+ } | null | undefined;
299
+ couchDbPassword?: string | null | undefined;
300
+ apiToken?: string | null | undefined;
301
+ remoteSupports?: {
302
+ anydeskId?: string | null | undefined;
303
+ anydeskPassword?: string | null | undefined;
304
+ deviceName: string;
305
+ }[] | null | undefined;
306
+ payoutAccount?: {
307
+ bank?: {
308
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
309
+ accountNumber?: string | null | undefined;
310
+ holderName?: string | null | undefined;
311
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
312
+ } | null | undefined;
313
+ ssm?: string | null | undefined;
314
+ bankStatement?: string | null | undefined;
315
+ exteriorPhoto?: string | null | undefined;
316
+ keyPerson?: string | null | undefined;
317
+ keyPersonPhone?: string | null | undefined;
318
+ keyPersonEmail?: string | null | undefined;
319
+ status: "NEW" | "PENDING" | "APPROVED";
320
+ enable: boolean;
321
+ methods: {
322
+ variant: string;
323
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
324
+ rate: {
325
+ amount: number;
326
+ precision: number;
327
+ };
328
+ tPlus: number;
329
+ }[];
330
+ } | null | undefined;
331
+ clearCount?: number | null | undefined;
332
+ queueSetting?: {
333
+ duration?: number | null | undefined;
334
+ enableOrder: boolean;
335
+ initialNumber: number;
336
+ endNumber: number;
337
+ currentNumber: number;
338
+ autoCalledLimit: number;
339
+ } | null | undefined;
340
+ tableMappingSetting?: {
341
+ enable?: boolean | null | undefined;
342
+ showSeat?: boolean | null | undefined;
343
+ mapBorderColor?: number | null | undefined;
344
+ mapLineColor?: number | null | undefined;
345
+ } | null | undefined;
346
+ _id: string;
347
+ expiredAt: string;
348
+ pf_business: {
349
+ internal?: boolean | null | undefined;
350
+ url?: string | null | undefined;
351
+ expiredAt?: string | null | undefined;
352
+ agentId?: string | null | undefined;
353
+ pf_agent?: {
354
+ clickupId?: string | null | undefined;
355
+ members?: {
356
+ pf_user?: {
357
+ email?: string | null | undefined;
358
+ phoneNumber?: string | null | undefined;
359
+ birthday?: string | null | undefined;
360
+ gender?: "MALE" | "FEMALE" | null | undefined;
361
+ addresses?: {
362
+ address: string;
363
+ name: string;
364
+ coordinates: number[];
365
+ }[] | null | undefined;
366
+ photoURL?: string | null | undefined;
367
+ displayName?: string | null | undefined;
368
+ imported?: {
369
+ raw: Record<string, any>;
370
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
371
+ } | null | undefined;
372
+ _id: string;
373
+ } | null | undefined;
374
+ role: "ADMIN";
375
+ userId: string;
376
+ }[] | null | undefined;
377
+ code: string;
378
+ name: string;
379
+ _id: string;
380
+ isReseller: boolean;
381
+ } | null | undefined;
382
+ thumbnail?: string | null | undefined;
383
+ billingInfos?: {
384
+ _id?: string | null | undefined;
385
+ address: {
386
+ coordinates?: number[] | null | undefined;
387
+ line2?: string | null | undefined;
388
+ state: string;
389
+ line1: string;
390
+ city: string;
391
+ postcode: string;
392
+ country: string;
393
+ };
394
+ name: string;
395
+ email: string;
396
+ companyName: string;
397
+ contact: string;
398
+ }[] | null | undefined;
399
+ name: string;
400
+ _id: string;
401
+ ownerId: string;
402
+ restaurantQuota: number;
403
+ warehouseQuota: number;
404
+ menuVersion: string;
405
+ };
406
+ businessId: string;
407
+ profile: {
408
+ url?: string | null | undefined;
409
+ description?: string | null | undefined;
410
+ _id?: string | null | undefined;
411
+ legalName?: string | null | undefined;
412
+ sstRegNo?: string | null | undefined;
413
+ discovery?: boolean | null | undefined;
414
+ coverPhoto?: string | null | undefined;
415
+ thumbnailPhoto?: string | null | undefined;
416
+ photos?: string[] | null | undefined;
417
+ operatingHours?: {
418
+ 0: {
419
+ hours: {
420
+ end: string;
421
+ start: string;
422
+ }[];
423
+ enable: boolean;
424
+ };
425
+ 2: {
426
+ hours: {
427
+ end: string;
428
+ start: string;
429
+ }[];
430
+ enable: boolean;
431
+ };
432
+ 1: {
433
+ hours: {
434
+ end: string;
435
+ start: string;
436
+ }[];
437
+ enable: boolean;
438
+ };
439
+ 3: {
440
+ hours: {
441
+ end: string;
442
+ start: string;
443
+ }[];
444
+ enable: boolean;
445
+ };
446
+ 4: {
447
+ hours: {
448
+ end: string;
449
+ start: string;
450
+ }[];
451
+ enable: boolean;
452
+ };
453
+ 5: {
454
+ hours: {
455
+ end: string;
456
+ start: string;
457
+ }[];
458
+ enable: boolean;
459
+ };
460
+ 6: {
461
+ hours: {
462
+ end: string;
463
+ start: string;
464
+ }[];
465
+ enable: boolean;
466
+ };
467
+ } | null | undefined;
468
+ tags?: string[] | null | undefined;
469
+ address: {
470
+ coordinates?: number[] | null | undefined;
471
+ line2?: string | null | undefined;
472
+ state: string;
473
+ line1: string;
474
+ city: string;
475
+ postcode: string;
476
+ country: string;
477
+ };
478
+ name: string;
479
+ email: string;
480
+ phoneNo: string;
481
+ regNo: string;
482
+ };
483
+ };
484
+ } | null;
485
+ _locations: {
486
+ name: string;
487
+ type: InventoryLocationType;
488
+ acceptRequest: boolean;
489
+ dbName: string;
490
+ doc: {
491
+ pf_business?: {
492
+ internal?: boolean | null | undefined;
493
+ url?: string | null | undefined;
494
+ expiredAt?: string | null | undefined;
495
+ agentId?: string | null | undefined;
496
+ pf_agent?: {
497
+ clickupId?: string | null | undefined;
498
+ members?: {
499
+ pf_user?: {
500
+ email?: string | null | undefined;
501
+ phoneNumber?: string | null | undefined;
502
+ birthday?: string | null | undefined;
503
+ gender?: "MALE" | "FEMALE" | null | undefined;
504
+ addresses?: {
505
+ address: string;
506
+ name: string;
507
+ coordinates: number[];
508
+ }[] | null | undefined;
509
+ photoURL?: string | null | undefined;
510
+ displayName?: string | null | undefined;
511
+ imported?: {
512
+ raw: Record<string, any>;
513
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
514
+ } | null | undefined;
515
+ _id: string;
516
+ } | null | undefined;
517
+ role: "ADMIN";
518
+ userId: string;
519
+ }[] | null | undefined;
520
+ code: string;
521
+ name: string;
522
+ _id: string;
523
+ isReseller: boolean;
524
+ } | null | undefined;
525
+ thumbnail?: string | null | undefined;
526
+ billingInfos?: {
527
+ _id?: string | null | undefined;
528
+ address: {
529
+ coordinates?: number[] | null | undefined;
530
+ line2?: string | null | undefined;
531
+ state: string;
532
+ line1: string;
533
+ city: string;
534
+ postcode: string;
535
+ country: string;
536
+ };
537
+ name: string;
538
+ email: string;
539
+ companyName: string;
540
+ contact: string;
541
+ }[] | null | undefined;
542
+ name: string;
543
+ _id: string;
544
+ ownerId: string;
545
+ restaurantQuota: number;
546
+ warehouseQuota: number;
547
+ menuVersion: string;
548
+ } | null | undefined;
549
+ _id: string;
550
+ profile: {
551
+ email?: string | null | undefined;
552
+ phoneNo?: string | null | undefined;
553
+ name: string;
554
+ address: {
555
+ coordinates?: number[] | null | undefined;
556
+ line2?: string | null | undefined;
557
+ state: string;
558
+ line1: string;
559
+ city: string;
560
+ postcode: string;
561
+ country: string;
562
+ };
563
+ regNo: string;
564
+ };
565
+ businessId: string;
566
+ } | {
567
+ channel?: string | null | undefined;
568
+ machineId?: string | null | undefined;
569
+ catalogId?: string | null | undefined;
570
+ takeaway?: {
571
+ catalogId?: string | null | undefined;
572
+ } | null | undefined;
573
+ inHouseDelivery?: {
574
+ autoAccept?: boolean | null | undefined;
575
+ deliveryTime?: {
576
+ time?: string[] | null | undefined;
577
+ custom?: {
578
+ 0: {
579
+ hours: {
580
+ end: string;
581
+ start: string;
582
+ }[];
583
+ enable: boolean;
584
+ };
585
+ 2: {
586
+ hours: {
587
+ end: string;
588
+ start: string;
589
+ }[];
590
+ enable: boolean;
591
+ };
592
+ 1: {
593
+ hours: {
594
+ end: string;
595
+ start: string;
596
+ }[];
597
+ enable: boolean;
598
+ };
599
+ 3: {
600
+ hours: {
601
+ end: string;
602
+ start: string;
603
+ }[];
604
+ enable: boolean;
605
+ };
606
+ 4: {
607
+ hours: {
608
+ end: string;
609
+ start: string;
610
+ }[];
611
+ enable: boolean;
612
+ };
613
+ 5: {
614
+ hours: {
615
+ end: string;
616
+ start: string;
617
+ }[];
618
+ enable: boolean;
619
+ };
620
+ 6: {
621
+ hours: {
622
+ end: string;
623
+ start: string;
624
+ }[];
625
+ enable: boolean;
626
+ };
627
+ } | null | undefined;
628
+ day: {
629
+ max: number;
630
+ min: number;
631
+ };
632
+ } | null | undefined;
633
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
634
+ offlinePaymentTypes?: {
635
+ name: string;
636
+ instruction: string;
637
+ }[] | null | undefined;
638
+ autoAcceptPaidOnly?: boolean | null | undefined;
639
+ ignoreStock?: boolean | null | undefined;
640
+ catalogId: string | null;
641
+ enable: boolean;
642
+ areas: {
643
+ minPurchase?: {
644
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
645
+ amount: number;
646
+ precision: number;
647
+ } | null | undefined;
648
+ freeAfterTotal?: {
649
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
650
+ amount: number;
651
+ precision: number;
652
+ } | null | undefined;
653
+ polygon: number[][];
654
+ deliveryFee: {
655
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
656
+ amount: number;
657
+ precision: number;
658
+ };
659
+ }[];
660
+ term: string;
661
+ } | null | undefined;
662
+ pickup?: {
663
+ catalogId?: string | null | undefined;
664
+ autoAccept?: boolean | null | undefined;
665
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
666
+ offlinePaymentTypes?: {
667
+ name: string;
668
+ instruction: string;
669
+ }[] | null | undefined;
670
+ autoAcceptPaidOnly?: boolean | null | undefined;
671
+ ignoreStock?: boolean | null | undefined;
672
+ pickupTime?: {
673
+ day: {
674
+ max: number;
675
+ min: number;
676
+ };
677
+ } | null | undefined;
678
+ pickupPointConfig?: {
679
+ restaurantEnable: boolean;
680
+ points: {
681
+ address: string;
682
+ name: string;
683
+ coordinates: number[];
684
+ }[];
685
+ } | null | undefined;
686
+ } | null | undefined;
687
+ dineIn?: {
688
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
689
+ offlinePaymentTypes?: {
690
+ name: string;
691
+ instruction: string;
692
+ }[] | null | undefined;
693
+ ignoreStock?: boolean | null | undefined;
694
+ staticQr?: boolean | null | undefined;
695
+ disableItemRemark?: boolean | null | undefined;
696
+ acceptQueue?: boolean | null | undefined;
697
+ anonymousOrder: boolean;
698
+ } | null | undefined;
699
+ features?: string[] | null | undefined;
700
+ machineOtp?: string | null | undefined;
701
+ machineOtpExpiredAt?: string | null | undefined;
702
+ posVersion?: string | null | undefined;
703
+ posHeartbeat?: string | null | undefined;
704
+ posVersionHistory?: Record<string, string> | null | undefined;
705
+ additionalCatalogs?: string[] | null | undefined;
706
+ feedmeDelivery?: {
707
+ instruction?: string | null | undefined;
708
+ catalogId?: string | null | undefined;
709
+ autoAccept?: boolean | null | undefined;
710
+ term?: string | null | undefined;
711
+ enable: boolean;
712
+ } | null | undefined;
713
+ foodpandaDelivery?: {
714
+ _id?: string | undefined;
715
+ catalogId?: string | null | undefined;
716
+ ignoreDiscount?: boolean | null | undefined;
717
+ commissionRate?: number | null | undefined;
718
+ lastSynchronize?: string | null | undefined;
719
+ showProductAddon?: boolean | null | undefined;
720
+ autoAccept?: boolean | null | undefined;
721
+ reportConfig?: {
722
+ commissionRate: number;
723
+ discountCampaigns: {
724
+ name: string;
725
+ date: {
726
+ end: string;
727
+ start: string;
728
+ };
729
+ vendorBearPercentage: number;
730
+ }[];
731
+ } | null | undefined;
732
+ hasSst?: boolean | null | undefined;
733
+ enable: boolean;
734
+ remoteId: string;
735
+ autoCloseBill: boolean;
736
+ } | null | undefined;
737
+ grabfoodDelivery?: {
738
+ _id?: string | undefined;
739
+ catalogId?: string | null | undefined;
740
+ lastSynchronize?: string | null | undefined;
741
+ showProductAddon?: boolean | null | undefined;
742
+ enable: boolean;
743
+ commissionRate: number;
744
+ autoCloseBill: boolean;
745
+ merchantID: string;
746
+ } | null | undefined;
747
+ shopeefoodDelivery?: {
748
+ _id?: string | undefined;
749
+ catalogId?: string | null | undefined;
750
+ lastSynchronize?: string | null | undefined;
751
+ showProductAddon?: boolean | null | undefined;
752
+ enable: boolean;
753
+ autoCloseBill: boolean;
754
+ reportConfig: {
755
+ commissionRate: number;
756
+ discountCampaigns: {
757
+ name: string;
758
+ date: {
759
+ end: string;
760
+ start: string;
761
+ };
762
+ vendorBearPercentage: number;
763
+ }[];
764
+ };
765
+ storeID: string;
766
+ } | null | undefined;
767
+ couchDbPassword?: string | null | undefined;
768
+ apiToken?: string | null | undefined;
769
+ remoteSupports?: {
770
+ anydeskId?: string | null | undefined;
771
+ anydeskPassword?: string | null | undefined;
772
+ deviceName: string;
773
+ }[] | null | undefined;
774
+ payoutAccount?: {
775
+ bank?: {
776
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
777
+ accountNumber?: string | null | undefined;
778
+ holderName?: string | null | undefined;
779
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
780
+ } | null | undefined;
781
+ ssm?: string | null | undefined;
782
+ bankStatement?: string | null | undefined;
783
+ exteriorPhoto?: string | null | undefined;
784
+ keyPerson?: string | null | undefined;
785
+ keyPersonPhone?: string | null | undefined;
786
+ keyPersonEmail?: string | null | undefined;
787
+ status: "NEW" | "PENDING" | "APPROVED";
788
+ enable: boolean;
789
+ methods: {
790
+ variant: string;
791
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
792
+ rate: {
793
+ amount: number;
794
+ precision: number;
795
+ };
796
+ tPlus: number;
797
+ }[];
798
+ } | null | undefined;
799
+ clearCount?: number | null | undefined;
800
+ queueSetting?: {
801
+ duration?: number | null | undefined;
802
+ enableOrder: boolean;
803
+ initialNumber: number;
804
+ endNumber: number;
805
+ currentNumber: number;
806
+ autoCalledLimit: number;
807
+ } | null | undefined;
808
+ tableMappingSetting?: {
809
+ enable?: boolean | null | undefined;
810
+ showSeat?: boolean | null | undefined;
811
+ mapBorderColor?: number | null | undefined;
812
+ mapLineColor?: number | null | undefined;
813
+ } | null | undefined;
814
+ _id: string;
815
+ expiredAt: string;
816
+ pf_business: {
817
+ internal?: boolean | null | undefined;
818
+ url?: string | null | undefined;
819
+ expiredAt?: string | null | undefined;
820
+ agentId?: string | null | undefined;
821
+ pf_agent?: {
822
+ clickupId?: string | null | undefined;
823
+ members?: {
824
+ pf_user?: {
825
+ email?: string | null | undefined;
826
+ phoneNumber?: string | null | undefined;
827
+ birthday?: string | null | undefined;
828
+ gender?: "MALE" | "FEMALE" | null | undefined;
829
+ addresses?: {
830
+ address: string;
831
+ name: string;
832
+ coordinates: number[];
833
+ }[] | null | undefined;
834
+ photoURL?: string | null | undefined;
835
+ displayName?: string | null | undefined;
836
+ imported?: {
837
+ raw: Record<string, any>;
838
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
839
+ } | null | undefined;
840
+ _id: string;
841
+ } | null | undefined;
842
+ role: "ADMIN";
843
+ userId: string;
844
+ }[] | null | undefined;
845
+ code: string;
846
+ name: string;
847
+ _id: string;
848
+ isReseller: boolean;
849
+ } | null | undefined;
850
+ thumbnail?: string | null | undefined;
851
+ billingInfos?: {
852
+ _id?: string | null | undefined;
853
+ address: {
854
+ coordinates?: number[] | null | undefined;
855
+ line2?: string | null | undefined;
856
+ state: string;
857
+ line1: string;
858
+ city: string;
859
+ postcode: string;
860
+ country: string;
861
+ };
862
+ name: string;
863
+ email: string;
864
+ companyName: string;
865
+ contact: string;
866
+ }[] | null | undefined;
867
+ name: string;
868
+ _id: string;
869
+ ownerId: string;
870
+ restaurantQuota: number;
871
+ warehouseQuota: number;
872
+ menuVersion: string;
873
+ };
874
+ businessId: string;
875
+ profile: {
876
+ url?: string | null | undefined;
877
+ description?: string | null | undefined;
878
+ _id?: string | null | undefined;
879
+ legalName?: string | null | undefined;
880
+ sstRegNo?: string | null | undefined;
881
+ discovery?: boolean | null | undefined;
882
+ coverPhoto?: string | null | undefined;
883
+ thumbnailPhoto?: string | null | undefined;
884
+ photos?: string[] | null | undefined;
885
+ operatingHours?: {
886
+ 0: {
887
+ hours: {
888
+ end: string;
889
+ start: string;
890
+ }[];
891
+ enable: boolean;
892
+ };
893
+ 2: {
894
+ hours: {
895
+ end: string;
896
+ start: string;
897
+ }[];
898
+ enable: boolean;
899
+ };
900
+ 1: {
901
+ hours: {
902
+ end: string;
903
+ start: string;
904
+ }[];
905
+ enable: boolean;
906
+ };
907
+ 3: {
908
+ hours: {
909
+ end: string;
910
+ start: string;
911
+ }[];
912
+ enable: boolean;
913
+ };
914
+ 4: {
915
+ hours: {
916
+ end: string;
917
+ start: string;
918
+ }[];
919
+ enable: boolean;
920
+ };
921
+ 5: {
922
+ hours: {
923
+ end: string;
924
+ start: string;
925
+ }[];
926
+ enable: boolean;
927
+ };
928
+ 6: {
929
+ hours: {
930
+ end: string;
931
+ start: string;
932
+ }[];
933
+ enable: boolean;
934
+ };
935
+ } | null | undefined;
936
+ tags?: string[] | null | undefined;
937
+ address: {
938
+ coordinates?: number[] | null | undefined;
939
+ line2?: string | null | undefined;
940
+ state: string;
941
+ line1: string;
942
+ city: string;
943
+ postcode: string;
944
+ country: string;
945
+ };
946
+ name: string;
947
+ email: string;
948
+ phoneNo: string;
949
+ regNo: string;
950
+ };
951
+ };
952
+ }[] | null;
953
+ };
954
+ readonly currentLocation: {
955
+ name: string;
956
+ type: InventoryLocationType;
957
+ acceptRequest: boolean;
958
+ dbName: string;
959
+ doc: {
960
+ pf_business?: {
961
+ internal?: boolean | null | undefined;
962
+ url?: string | null | undefined;
963
+ expiredAt?: string | null | undefined;
964
+ agentId?: string | null | undefined;
965
+ pf_agent?: {
966
+ clickupId?: string | null | undefined;
967
+ members?: {
968
+ pf_user?: {
969
+ email?: string | null | undefined;
970
+ phoneNumber?: string | null | undefined;
971
+ birthday?: string | null | undefined;
972
+ gender?: "MALE" | "FEMALE" | null | undefined;
973
+ addresses?: {
974
+ address: string;
975
+ name: string;
976
+ coordinates: number[];
977
+ }[] | null | undefined;
978
+ photoURL?: string | null | undefined;
979
+ displayName?: string | null | undefined;
980
+ imported?: {
981
+ raw: Record<string, any>;
982
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
983
+ } | null | undefined;
984
+ _id: string;
985
+ } | null | undefined;
986
+ role: "ADMIN";
987
+ userId: string;
988
+ }[] | null | undefined;
989
+ code: string;
990
+ name: string;
991
+ _id: string;
992
+ isReseller: boolean;
993
+ } | null | undefined;
994
+ thumbnail?: string | null | undefined;
995
+ billingInfos?: {
996
+ _id?: string | null | undefined;
997
+ address: {
998
+ coordinates?: number[] | null | undefined;
999
+ line2?: string | null | undefined;
1000
+ state: string;
1001
+ line1: string;
1002
+ city: string;
1003
+ postcode: string;
1004
+ country: string;
1005
+ };
1006
+ name: string;
1007
+ email: string;
1008
+ companyName: string;
1009
+ contact: string;
1010
+ }[] | null | undefined;
1011
+ name: string;
1012
+ _id: string;
1013
+ ownerId: string;
1014
+ restaurantQuota: number;
1015
+ warehouseQuota: number;
1016
+ menuVersion: string;
1017
+ } | null | undefined;
1018
+ _id: string;
1019
+ profile: {
1020
+ email?: string | null | undefined;
1021
+ phoneNo?: string | null | undefined;
1022
+ name: string;
1023
+ address: {
1024
+ coordinates?: number[] | null | undefined;
1025
+ line2?: string | null | undefined;
1026
+ state: string;
1027
+ line1: string;
1028
+ city: string;
1029
+ postcode: string;
1030
+ country: string;
1031
+ };
1032
+ regNo: string;
1033
+ };
1034
+ businessId: string;
1035
+ } | {
1036
+ channel?: string | null | undefined;
1037
+ machineId?: string | null | undefined;
1038
+ catalogId?: string | null | undefined;
1039
+ takeaway?: {
1040
+ catalogId?: string | null | undefined;
1041
+ } | null | undefined;
1042
+ inHouseDelivery?: {
1043
+ autoAccept?: boolean | null | undefined;
1044
+ deliveryTime?: {
1045
+ time?: string[] | null | undefined;
1046
+ custom?: {
1047
+ 0: {
1048
+ hours: {
1049
+ end: string;
1050
+ start: string;
1051
+ }[];
1052
+ enable: boolean;
1053
+ };
1054
+ 2: {
1055
+ hours: {
1056
+ end: string;
1057
+ start: string;
1058
+ }[];
1059
+ enable: boolean;
1060
+ };
1061
+ 1: {
1062
+ hours: {
1063
+ end: string;
1064
+ start: string;
1065
+ }[];
1066
+ enable: boolean;
1067
+ };
1068
+ 3: {
1069
+ hours: {
1070
+ end: string;
1071
+ start: string;
1072
+ }[];
1073
+ enable: boolean;
1074
+ };
1075
+ 4: {
1076
+ hours: {
1077
+ end: string;
1078
+ start: string;
1079
+ }[];
1080
+ enable: boolean;
1081
+ };
1082
+ 5: {
1083
+ hours: {
1084
+ end: string;
1085
+ start: string;
1086
+ }[];
1087
+ enable: boolean;
1088
+ };
1089
+ 6: {
1090
+ hours: {
1091
+ end: string;
1092
+ start: string;
1093
+ }[];
1094
+ enable: boolean;
1095
+ };
1096
+ } | null | undefined;
1097
+ day: {
1098
+ max: number;
1099
+ min: number;
1100
+ };
1101
+ } | null | undefined;
1102
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1103
+ offlinePaymentTypes?: {
1104
+ name: string;
1105
+ instruction: string;
1106
+ }[] | null | undefined;
1107
+ autoAcceptPaidOnly?: boolean | null | undefined;
1108
+ ignoreStock?: boolean | null | undefined;
1109
+ catalogId: string | null;
1110
+ enable: boolean;
1111
+ areas: {
1112
+ minPurchase?: {
1113
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1114
+ amount: number;
1115
+ precision: number;
1116
+ } | null | undefined;
1117
+ freeAfterTotal?: {
1118
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1119
+ amount: number;
1120
+ precision: number;
1121
+ } | null | undefined;
1122
+ polygon: number[][];
1123
+ deliveryFee: {
1124
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1125
+ amount: number;
1126
+ precision: number;
1127
+ };
1128
+ }[];
1129
+ term: string;
1130
+ } | null | undefined;
1131
+ pickup?: {
1132
+ catalogId?: string | null | undefined;
1133
+ autoAccept?: boolean | null | undefined;
1134
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1135
+ offlinePaymentTypes?: {
1136
+ name: string;
1137
+ instruction: string;
1138
+ }[] | null | undefined;
1139
+ autoAcceptPaidOnly?: boolean | null | undefined;
1140
+ ignoreStock?: boolean | null | undefined;
1141
+ pickupTime?: {
1142
+ day: {
1143
+ max: number;
1144
+ min: number;
1145
+ };
1146
+ } | null | undefined;
1147
+ pickupPointConfig?: {
1148
+ restaurantEnable: boolean;
1149
+ points: {
1150
+ address: string;
1151
+ name: string;
1152
+ coordinates: number[];
1153
+ }[];
1154
+ } | null | undefined;
1155
+ } | null | undefined;
1156
+ dineIn?: {
1157
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1158
+ offlinePaymentTypes?: {
1159
+ name: string;
1160
+ instruction: string;
1161
+ }[] | null | undefined;
1162
+ ignoreStock?: boolean | null | undefined;
1163
+ staticQr?: boolean | null | undefined;
1164
+ disableItemRemark?: boolean | null | undefined;
1165
+ acceptQueue?: boolean | null | undefined;
1166
+ anonymousOrder: boolean;
1167
+ } | null | undefined;
1168
+ features?: string[] | null | undefined;
1169
+ machineOtp?: string | null | undefined;
1170
+ machineOtpExpiredAt?: string | null | undefined;
1171
+ posVersion?: string | null | undefined;
1172
+ posHeartbeat?: string | null | undefined;
1173
+ posVersionHistory?: Record<string, string> | null | undefined;
1174
+ additionalCatalogs?: string[] | null | undefined;
1175
+ feedmeDelivery?: {
1176
+ instruction?: string | null | undefined;
1177
+ catalogId?: string | null | undefined;
1178
+ autoAccept?: boolean | null | undefined;
1179
+ term?: string | null | undefined;
1180
+ enable: boolean;
1181
+ } | null | undefined;
1182
+ foodpandaDelivery?: {
1183
+ _id?: string | undefined;
1184
+ catalogId?: string | null | undefined;
1185
+ ignoreDiscount?: boolean | null | undefined;
1186
+ commissionRate?: number | null | undefined;
1187
+ lastSynchronize?: string | null | undefined;
1188
+ showProductAddon?: boolean | null | undefined;
1189
+ autoAccept?: boolean | null | undefined;
1190
+ reportConfig?: {
1191
+ commissionRate: number;
1192
+ discountCampaigns: {
1193
+ name: string;
1194
+ date: {
1195
+ end: string;
1196
+ start: string;
1197
+ };
1198
+ vendorBearPercentage: number;
1199
+ }[];
1200
+ } | null | undefined;
1201
+ hasSst?: boolean | null | undefined;
1202
+ enable: boolean;
1203
+ remoteId: string;
1204
+ autoCloseBill: boolean;
1205
+ } | null | undefined;
1206
+ grabfoodDelivery?: {
1207
+ _id?: string | undefined;
1208
+ catalogId?: string | null | undefined;
1209
+ lastSynchronize?: string | null | undefined;
1210
+ showProductAddon?: boolean | null | undefined;
1211
+ enable: boolean;
1212
+ commissionRate: number;
1213
+ autoCloseBill: boolean;
1214
+ merchantID: string;
1215
+ } | null | undefined;
1216
+ shopeefoodDelivery?: {
1217
+ _id?: string | undefined;
1218
+ catalogId?: string | null | undefined;
1219
+ lastSynchronize?: string | null | undefined;
1220
+ showProductAddon?: boolean | null | undefined;
1221
+ enable: boolean;
1222
+ autoCloseBill: boolean;
1223
+ reportConfig: {
1224
+ commissionRate: number;
1225
+ discountCampaigns: {
1226
+ name: string;
1227
+ date: {
1228
+ end: string;
1229
+ start: string;
1230
+ };
1231
+ vendorBearPercentage: number;
1232
+ }[];
1233
+ };
1234
+ storeID: string;
1235
+ } | null | undefined;
1236
+ couchDbPassword?: string | null | undefined;
1237
+ apiToken?: string | null | undefined;
1238
+ remoteSupports?: {
1239
+ anydeskId?: string | null | undefined;
1240
+ anydeskPassword?: string | null | undefined;
1241
+ deviceName: string;
1242
+ }[] | null | undefined;
1243
+ payoutAccount?: {
1244
+ bank?: {
1245
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
1246
+ accountNumber?: string | null | undefined;
1247
+ holderName?: string | null | undefined;
1248
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
1249
+ } | null | undefined;
1250
+ ssm?: string | null | undefined;
1251
+ bankStatement?: string | null | undefined;
1252
+ exteriorPhoto?: string | null | undefined;
1253
+ keyPerson?: string | null | undefined;
1254
+ keyPersonPhone?: string | null | undefined;
1255
+ keyPersonEmail?: string | null | undefined;
1256
+ status: "NEW" | "PENDING" | "APPROVED";
1257
+ enable: boolean;
1258
+ methods: {
1259
+ variant: string;
1260
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
1261
+ rate: {
1262
+ amount: number;
1263
+ precision: number;
1264
+ };
1265
+ tPlus: number;
1266
+ }[];
1267
+ } | null | undefined;
1268
+ clearCount?: number | null | undefined;
1269
+ queueSetting?: {
1270
+ duration?: number | null | undefined;
1271
+ enableOrder: boolean;
1272
+ initialNumber: number;
1273
+ endNumber: number;
1274
+ currentNumber: number;
1275
+ autoCalledLimit: number;
1276
+ } | null | undefined;
1277
+ tableMappingSetting?: {
1278
+ enable?: boolean | null | undefined;
1279
+ showSeat?: boolean | null | undefined;
1280
+ mapBorderColor?: number | null | undefined;
1281
+ mapLineColor?: number | null | undefined;
1282
+ } | null | undefined;
1283
+ _id: string;
1284
+ expiredAt: string;
1285
+ pf_business: {
1286
+ internal?: boolean | null | undefined;
1287
+ url?: string | null | undefined;
1288
+ expiredAt?: string | null | undefined;
1289
+ agentId?: string | null | undefined;
1290
+ pf_agent?: {
1291
+ clickupId?: string | null | undefined;
1292
+ members?: {
1293
+ pf_user?: {
1294
+ email?: string | null | undefined;
1295
+ phoneNumber?: string | null | undefined;
1296
+ birthday?: string | null | undefined;
1297
+ gender?: "MALE" | "FEMALE" | null | undefined;
1298
+ addresses?: {
1299
+ address: string;
1300
+ name: string;
1301
+ coordinates: number[];
1302
+ }[] | null | undefined;
1303
+ photoURL?: string | null | undefined;
1304
+ displayName?: string | null | undefined;
1305
+ imported?: {
1306
+ raw: Record<string, any>;
1307
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1308
+ } | null | undefined;
1309
+ _id: string;
1310
+ } | null | undefined;
1311
+ role: "ADMIN";
1312
+ userId: string;
1313
+ }[] | null | undefined;
1314
+ code: string;
1315
+ name: string;
1316
+ _id: string;
1317
+ isReseller: boolean;
1318
+ } | null | undefined;
1319
+ thumbnail?: string | null | undefined;
1320
+ billingInfos?: {
1321
+ _id?: string | null | undefined;
1322
+ address: {
1323
+ coordinates?: number[] | null | undefined;
1324
+ line2?: string | null | undefined;
1325
+ state: string;
1326
+ line1: string;
1327
+ city: string;
1328
+ postcode: string;
1329
+ country: string;
1330
+ };
1331
+ name: string;
1332
+ email: string;
1333
+ companyName: string;
1334
+ contact: string;
1335
+ }[] | null | undefined;
1336
+ name: string;
1337
+ _id: string;
1338
+ ownerId: string;
1339
+ restaurantQuota: number;
1340
+ warehouseQuota: number;
1341
+ menuVersion: string;
1342
+ };
1343
+ businessId: string;
1344
+ profile: {
1345
+ url?: string | null | undefined;
1346
+ description?: string | null | undefined;
1347
+ _id?: string | null | undefined;
1348
+ legalName?: string | null | undefined;
1349
+ sstRegNo?: string | null | undefined;
1350
+ discovery?: boolean | null | undefined;
1351
+ coverPhoto?: string | null | undefined;
1352
+ thumbnailPhoto?: string | null | undefined;
1353
+ photos?: string[] | null | undefined;
1354
+ operatingHours?: {
1355
+ 0: {
1356
+ hours: {
1357
+ end: string;
1358
+ start: string;
1359
+ }[];
1360
+ enable: boolean;
1361
+ };
1362
+ 2: {
1363
+ hours: {
1364
+ end: string;
1365
+ start: string;
1366
+ }[];
1367
+ enable: boolean;
1368
+ };
1369
+ 1: {
1370
+ hours: {
1371
+ end: string;
1372
+ start: string;
1373
+ }[];
1374
+ enable: boolean;
1375
+ };
1376
+ 3: {
1377
+ hours: {
1378
+ end: string;
1379
+ start: string;
1380
+ }[];
1381
+ enable: boolean;
1382
+ };
1383
+ 4: {
1384
+ hours: {
1385
+ end: string;
1386
+ start: string;
1387
+ }[];
1388
+ enable: boolean;
1389
+ };
1390
+ 5: {
1391
+ hours: {
1392
+ end: string;
1393
+ start: string;
1394
+ }[];
1395
+ enable: boolean;
1396
+ };
1397
+ 6: {
1398
+ hours: {
1399
+ end: string;
1400
+ start: string;
1401
+ }[];
1402
+ enable: boolean;
1403
+ };
1404
+ } | null | undefined;
1405
+ tags?: string[] | null | undefined;
1406
+ address: {
1407
+ coordinates?: number[] | null | undefined;
1408
+ line2?: string | null | undefined;
1409
+ state: string;
1410
+ line1: string;
1411
+ city: string;
1412
+ postcode: string;
1413
+ country: string;
1414
+ };
1415
+ name: string;
1416
+ email: string;
1417
+ phoneNo: string;
1418
+ regNo: string;
1419
+ };
1420
+ };
1421
+ };
1422
+ /** prefixed with restaurant_ or warehouse_ */
1423
+ readonly currentLocationDBName: string;
1424
+ readonly currentLocationId: any;
1425
+ readonly locations: {
1426
+ name: string;
1427
+ type: InventoryLocationType;
1428
+ acceptRequest: boolean;
1429
+ dbName: string;
1430
+ doc: {
1431
+ pf_business?: {
1432
+ internal?: boolean | null | undefined;
1433
+ url?: string | null | undefined;
1434
+ expiredAt?: string | null | undefined;
1435
+ agentId?: string | null | undefined;
1436
+ pf_agent?: {
1437
+ clickupId?: string | null | undefined;
1438
+ members?: {
1439
+ pf_user?: {
1440
+ email?: string | null | undefined;
1441
+ phoneNumber?: string | null | undefined;
1442
+ birthday?: string | null | undefined;
1443
+ gender?: "MALE" | "FEMALE" | null | undefined;
1444
+ addresses?: {
1445
+ address: string;
1446
+ name: string;
1447
+ coordinates: number[];
1448
+ }[] | null | undefined;
1449
+ photoURL?: string | null | undefined;
1450
+ displayName?: string | null | undefined;
1451
+ imported?: {
1452
+ raw: Record<string, any>;
1453
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1454
+ } | null | undefined;
1455
+ _id: string;
1456
+ } | null | undefined;
1457
+ role: "ADMIN";
1458
+ userId: string;
1459
+ }[] | null | undefined;
1460
+ code: string;
1461
+ name: string;
1462
+ _id: string;
1463
+ isReseller: boolean;
1464
+ } | null | undefined;
1465
+ thumbnail?: string | null | undefined;
1466
+ billingInfos?: {
1467
+ _id?: string | null | undefined;
1468
+ address: {
1469
+ coordinates?: number[] | null | undefined;
1470
+ line2?: string | null | undefined;
1471
+ state: string;
1472
+ line1: string;
1473
+ city: string;
1474
+ postcode: string;
1475
+ country: string;
1476
+ };
1477
+ name: string;
1478
+ email: string;
1479
+ companyName: string;
1480
+ contact: string;
1481
+ }[] | null | undefined;
1482
+ name: string;
1483
+ _id: string;
1484
+ ownerId: string;
1485
+ restaurantQuota: number;
1486
+ warehouseQuota: number;
1487
+ menuVersion: string;
1488
+ } | null | undefined;
1489
+ _id: string;
1490
+ profile: {
1491
+ email?: string | null | undefined;
1492
+ phoneNo?: string | null | undefined;
1493
+ name: string;
1494
+ address: {
1495
+ coordinates?: number[] | null | undefined;
1496
+ line2?: string | null | undefined;
1497
+ state: string;
1498
+ line1: string;
1499
+ city: string;
1500
+ postcode: string;
1501
+ country: string;
1502
+ };
1503
+ regNo: string;
1504
+ };
1505
+ businessId: string;
1506
+ } | {
1507
+ channel?: string | null | undefined;
1508
+ machineId?: string | null | undefined;
1509
+ catalogId?: string | null | undefined;
1510
+ takeaway?: {
1511
+ catalogId?: string | null | undefined;
1512
+ } | null | undefined;
1513
+ inHouseDelivery?: {
1514
+ autoAccept?: boolean | null | undefined;
1515
+ deliveryTime?: {
1516
+ time?: string[] | null | undefined;
1517
+ custom?: {
1518
+ 0: {
1519
+ hours: {
1520
+ end: string;
1521
+ start: string;
1522
+ }[];
1523
+ enable: boolean;
1524
+ };
1525
+ 2: {
1526
+ hours: {
1527
+ end: string;
1528
+ start: string;
1529
+ }[];
1530
+ enable: boolean;
1531
+ };
1532
+ 1: {
1533
+ hours: {
1534
+ end: string;
1535
+ start: string;
1536
+ }[];
1537
+ enable: boolean;
1538
+ };
1539
+ 3: {
1540
+ hours: {
1541
+ end: string;
1542
+ start: string;
1543
+ }[];
1544
+ enable: boolean;
1545
+ };
1546
+ 4: {
1547
+ hours: {
1548
+ end: string;
1549
+ start: string;
1550
+ }[];
1551
+ enable: boolean;
1552
+ };
1553
+ 5: {
1554
+ hours: {
1555
+ end: string;
1556
+ start: string;
1557
+ }[];
1558
+ enable: boolean;
1559
+ };
1560
+ 6: {
1561
+ hours: {
1562
+ end: string;
1563
+ start: string;
1564
+ }[];
1565
+ enable: boolean;
1566
+ };
1567
+ } | null | undefined;
1568
+ day: {
1569
+ max: number;
1570
+ min: number;
1571
+ };
1572
+ } | null | undefined;
1573
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1574
+ offlinePaymentTypes?: {
1575
+ name: string;
1576
+ instruction: string;
1577
+ }[] | null | undefined;
1578
+ autoAcceptPaidOnly?: boolean | null | undefined;
1579
+ ignoreStock?: boolean | null | undefined;
1580
+ catalogId: string | null;
1581
+ enable: boolean;
1582
+ areas: {
1583
+ minPurchase?: {
1584
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1585
+ amount: number;
1586
+ precision: number;
1587
+ } | null | undefined;
1588
+ freeAfterTotal?: {
1589
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1590
+ amount: number;
1591
+ precision: number;
1592
+ } | null | undefined;
1593
+ polygon: number[][];
1594
+ deliveryFee: {
1595
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1596
+ amount: number;
1597
+ precision: number;
1598
+ };
1599
+ }[];
1600
+ term: string;
1601
+ } | null | undefined;
1602
+ pickup?: {
1603
+ catalogId?: string | null | undefined;
1604
+ autoAccept?: boolean | null | undefined;
1605
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1606
+ offlinePaymentTypes?: {
1607
+ name: string;
1608
+ instruction: string;
1609
+ }[] | null | undefined;
1610
+ autoAcceptPaidOnly?: boolean | null | undefined;
1611
+ ignoreStock?: boolean | null | undefined;
1612
+ pickupTime?: {
1613
+ day: {
1614
+ max: number;
1615
+ min: number;
1616
+ };
1617
+ } | null | undefined;
1618
+ pickupPointConfig?: {
1619
+ restaurantEnable: boolean;
1620
+ points: {
1621
+ address: string;
1622
+ name: string;
1623
+ coordinates: number[];
1624
+ }[];
1625
+ } | null | undefined;
1626
+ } | null | undefined;
1627
+ dineIn?: {
1628
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1629
+ offlinePaymentTypes?: {
1630
+ name: string;
1631
+ instruction: string;
1632
+ }[] | null | undefined;
1633
+ ignoreStock?: boolean | null | undefined;
1634
+ staticQr?: boolean | null | undefined;
1635
+ disableItemRemark?: boolean | null | undefined;
1636
+ acceptQueue?: boolean | null | undefined;
1637
+ anonymousOrder: boolean;
1638
+ } | null | undefined;
1639
+ features?: string[] | null | undefined;
1640
+ machineOtp?: string | null | undefined;
1641
+ machineOtpExpiredAt?: string | null | undefined;
1642
+ posVersion?: string | null | undefined;
1643
+ posHeartbeat?: string | null | undefined;
1644
+ posVersionHistory?: Record<string, string> | null | undefined;
1645
+ additionalCatalogs?: string[] | null | undefined;
1646
+ feedmeDelivery?: {
1647
+ instruction?: string | null | undefined;
1648
+ catalogId?: string | null | undefined;
1649
+ autoAccept?: boolean | null | undefined;
1650
+ term?: string | null | undefined;
1651
+ enable: boolean;
1652
+ } | null | undefined;
1653
+ foodpandaDelivery?: {
1654
+ _id?: string | undefined;
1655
+ catalogId?: string | null | undefined;
1656
+ ignoreDiscount?: boolean | null | undefined;
1657
+ commissionRate?: number | null | undefined;
1658
+ lastSynchronize?: string | null | undefined;
1659
+ showProductAddon?: boolean | null | undefined;
1660
+ autoAccept?: boolean | null | undefined;
1661
+ reportConfig?: {
1662
+ commissionRate: number;
1663
+ discountCampaigns: {
1664
+ name: string;
1665
+ date: {
1666
+ end: string;
1667
+ start: string;
1668
+ };
1669
+ vendorBearPercentage: number;
1670
+ }[];
1671
+ } | null | undefined;
1672
+ hasSst?: boolean | null | undefined;
1673
+ enable: boolean;
1674
+ remoteId: string;
1675
+ autoCloseBill: boolean;
1676
+ } | null | undefined;
1677
+ grabfoodDelivery?: {
1678
+ _id?: string | undefined;
1679
+ catalogId?: string | null | undefined;
1680
+ lastSynchronize?: string | null | undefined;
1681
+ showProductAddon?: boolean | null | undefined;
1682
+ enable: boolean;
1683
+ commissionRate: number;
1684
+ autoCloseBill: boolean;
1685
+ merchantID: string;
1686
+ } | null | undefined;
1687
+ shopeefoodDelivery?: {
1688
+ _id?: string | undefined;
1689
+ catalogId?: string | null | undefined;
1690
+ lastSynchronize?: string | null | undefined;
1691
+ showProductAddon?: boolean | null | undefined;
1692
+ enable: boolean;
1693
+ autoCloseBill: boolean;
1694
+ reportConfig: {
1695
+ commissionRate: number;
1696
+ discountCampaigns: {
1697
+ name: string;
1698
+ date: {
1699
+ end: string;
1700
+ start: string;
1701
+ };
1702
+ vendorBearPercentage: number;
1703
+ }[];
1704
+ };
1705
+ storeID: string;
1706
+ } | null | undefined;
1707
+ couchDbPassword?: string | null | undefined;
1708
+ apiToken?: string | null | undefined;
1709
+ remoteSupports?: {
1710
+ anydeskId?: string | null | undefined;
1711
+ anydeskPassword?: string | null | undefined;
1712
+ deviceName: string;
1713
+ }[] | null | undefined;
1714
+ payoutAccount?: {
1715
+ bank?: {
1716
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
1717
+ accountNumber?: string | null | undefined;
1718
+ holderName?: string | null | undefined;
1719
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
1720
+ } | null | undefined;
1721
+ ssm?: string | null | undefined;
1722
+ bankStatement?: string | null | undefined;
1723
+ exteriorPhoto?: string | null | undefined;
1724
+ keyPerson?: string | null | undefined;
1725
+ keyPersonPhone?: string | null | undefined;
1726
+ keyPersonEmail?: string | null | undefined;
1727
+ status: "NEW" | "PENDING" | "APPROVED";
1728
+ enable: boolean;
1729
+ methods: {
1730
+ variant: string;
1731
+ issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
1732
+ rate: {
1733
+ amount: number;
1734
+ precision: number;
1735
+ };
1736
+ tPlus: number;
1737
+ }[];
1738
+ } | null | undefined;
1739
+ clearCount?: number | null | undefined;
1740
+ queueSetting?: {
1741
+ duration?: number | null | undefined;
1742
+ enableOrder: boolean;
1743
+ initialNumber: number;
1744
+ endNumber: number;
1745
+ currentNumber: number;
1746
+ autoCalledLimit: number;
1747
+ } | null | undefined;
1748
+ tableMappingSetting?: {
1749
+ enable?: boolean | null | undefined;
1750
+ showSeat?: boolean | null | undefined;
1751
+ mapBorderColor?: number | null | undefined;
1752
+ mapLineColor?: number | null | undefined;
1753
+ } | null | undefined;
1754
+ _id: string;
1755
+ expiredAt: string;
1756
+ pf_business: {
1757
+ internal?: boolean | null | undefined;
1758
+ url?: string | null | undefined;
1759
+ expiredAt?: string | null | undefined;
1760
+ agentId?: string | null | undefined;
1761
+ pf_agent?: {
1762
+ clickupId?: string | null | undefined;
1763
+ members?: {
1764
+ pf_user?: {
1765
+ email?: string | null | undefined;
1766
+ phoneNumber?: string | null | undefined;
1767
+ birthday?: string | null | undefined;
1768
+ gender?: "MALE" | "FEMALE" | null | undefined;
1769
+ addresses?: {
1770
+ address: string;
1771
+ name: string;
1772
+ coordinates: number[];
1773
+ }[] | null | undefined;
1774
+ photoURL?: string | null | undefined;
1775
+ displayName?: string | null | undefined;
1776
+ imported?: {
1777
+ raw: Record<string, any>;
1778
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1779
+ } | null | undefined;
1780
+ _id: string;
1781
+ } | null | undefined;
1782
+ role: "ADMIN";
1783
+ userId: string;
1784
+ }[] | null | undefined;
1785
+ code: string;
1786
+ name: string;
1787
+ _id: string;
1788
+ isReseller: boolean;
1789
+ } | null | undefined;
1790
+ thumbnail?: string | null | undefined;
1791
+ billingInfos?: {
1792
+ _id?: string | null | undefined;
1793
+ address: {
1794
+ coordinates?: number[] | null | undefined;
1795
+ line2?: string | null | undefined;
1796
+ state: string;
1797
+ line1: string;
1798
+ city: string;
1799
+ postcode: string;
1800
+ country: string;
1801
+ };
1802
+ name: string;
1803
+ email: string;
1804
+ companyName: string;
1805
+ contact: string;
1806
+ }[] | null | undefined;
1807
+ name: string;
1808
+ _id: string;
1809
+ ownerId: string;
1810
+ restaurantQuota: number;
1811
+ warehouseQuota: number;
1812
+ menuVersion: string;
1813
+ };
1814
+ businessId: string;
1815
+ profile: {
1816
+ url?: string | null | undefined;
1817
+ description?: string | null | undefined;
1818
+ _id?: string | null | undefined;
1819
+ legalName?: string | null | undefined;
1820
+ sstRegNo?: string | null | undefined;
1821
+ discovery?: boolean | null | undefined;
1822
+ coverPhoto?: string | null | undefined;
1823
+ thumbnailPhoto?: string | null | undefined;
1824
+ photos?: string[] | null | undefined;
1825
+ operatingHours?: {
1826
+ 0: {
1827
+ hours: {
1828
+ end: string;
1829
+ start: string;
1830
+ }[];
1831
+ enable: boolean;
1832
+ };
1833
+ 2: {
1834
+ hours: {
1835
+ end: string;
1836
+ start: string;
1837
+ }[];
1838
+ enable: boolean;
1839
+ };
1840
+ 1: {
1841
+ hours: {
1842
+ end: string;
1843
+ start: string;
1844
+ }[];
1845
+ enable: boolean;
1846
+ };
1847
+ 3: {
1848
+ hours: {
1849
+ end: string;
1850
+ start: string;
1851
+ }[];
1852
+ enable: boolean;
1853
+ };
1854
+ 4: {
1855
+ hours: {
1856
+ end: string;
1857
+ start: string;
1858
+ }[];
1859
+ enable: boolean;
1860
+ };
1861
+ 5: {
1862
+ hours: {
1863
+ end: string;
1864
+ start: string;
1865
+ }[];
1866
+ enable: boolean;
1867
+ };
1868
+ 6: {
1869
+ hours: {
1870
+ end: string;
1871
+ start: string;
1872
+ }[];
1873
+ enable: boolean;
1874
+ };
1875
+ } | null | undefined;
1876
+ tags?: string[] | null | undefined;
1877
+ address: {
1878
+ coordinates?: number[] | null | undefined;
1879
+ line2?: string | null | undefined;
1880
+ state: string;
1881
+ line1: string;
1882
+ city: string;
1883
+ postcode: string;
1884
+ country: string;
1885
+ };
1886
+ name: string;
1887
+ email: string;
1888
+ phoneNo: string;
1889
+ regNo: string;
1890
+ };
1891
+ };
1892
+ }[];
1893
+ watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>): void;
1894
+ readLocations(): Promise<void>;
1895
+ setLocations(resp: InventoryLocation[]): void;
1896
+ selectLocation(location?: InventoryLocation, skipStorage?: boolean): void;
1897
+ init(): Promise<void>;
1898
+ };