@feedmepos/mf-inventory-portal 1.8.0-dev.1 → 1.8.0-dev.3
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.
- package/dist/App-DRXADP0k.js +1498 -0
- package/dist/{ApprovalView-C8_ax05b.js → ApprovalView-hV1msz5Y.js} +9 -9
- package/dist/{BindingsDialog-t0ZY9eh5.js → BindingsDialog-BX1Lopf0.js} +2 -2
- package/dist/{BindingsPicker-C0Qblmml.js → BindingsPicker-BNKW8-XY.js} +2 -2
- package/dist/{BindingsTable-CsqUBbRA.js → BindingsTable-DiLDsL83.js} +4 -4
- package/dist/{BulkReceiveRequestView-DAG-TMox.js → BulkReceiveRequestView-oQh6kFLc.js} +20 -20
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BaMcGU-x.js +151 -0
- package/dist/{ClosingDraftView-CdKp4Ny6.js → ClosingDraftView-sgLoaSf4.js} +20 -20
- package/dist/{ClosingHistoryView-Blyq9-BS.js → ClosingHistoryView-BnE9HrzA.js} +5 -5
- package/dist/{ClosingTemplateView-C326DL4q.js → ClosingTemplateView-BD3Pa11r.js} +302 -291
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DlbyxkMQ.js} +1 -1
- package/dist/{DefaultView-CsIMmQAY.js → DefaultView-CuzvVkfE.js} +5 -5
- package/dist/{DeliveryOrderPrintPreview-eTrMvJzA.js → DeliveryOrderPrintPreview-w-1aAOY1.js} +2 -2
- package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-Bp8bjDU1.js +58 -0
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-B7nBbxMo.js → EmailDialog.vue_vue_type_script_setup_true_lang-CxD12Qct.js} +1668 -1671
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-CMoQKl_a.js +308 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-BqCh_vTP.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Db_FiSRe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CAXnmdUy.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-NhOdW33O.js +120 -0
- package/dist/{FmMultiselectDialog-BAw-gp5K.js → FmMultiselectDialog-BqZgHP8s.js} +1 -1
- package/dist/{FmMultiselectDialog-CYUxtxnS.js → FmMultiselectDialog-CULwA_hi.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DOkV11NN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CI3Y9kDl.js} +6 -6
- package/dist/{ImportView-BmotFC-3.js → ImportView-DqQG673_.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVCCpvS4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DfvNUu80.js} +1 -1
- package/dist/IngredientGroupView-CyngKxPo.js +1000 -0
- package/dist/{IngredientsView-CZ6E7cXf.js → IngredientsView-pzpP6oXT.js} +309 -296
- package/dist/{IntegrationExplorerView-B15ND4Fg.js → IntegrationExplorerView-C5aAhB6e.js} +4 -4
- package/dist/{IntegrationView-hkNhsqx2.js → IntegrationView-Bqun7nX0.js} +2403 -2408
- package/dist/{InventoryBindingForm-SfuUF0_O.js → InventoryBindingForm-r_Ua1C4a.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Zq81p_MF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYDuu4kU.js} +5 -5
- package/dist/{InventoryBindingSummary-DUcukkyJ.js → InventoryBindingSummary-BQuZLohR.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmfROiLM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-7r-QcJdU.js} +1 -1
- package/dist/{ProductionRunDetailView-BwgRX-14.js → ProductionRunDetailView-95fu_CfH.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BbNXNhpr.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-CdOca1tV.js} +7 -7
- package/dist/{ProductionRunView-CZU7LY9-.js → ProductionRunView-DIjor_Ix.js} +3 -3
- package/dist/{PublishView-DS2FZ66p.js → PublishView-DYObyHQq.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CZa0MVAs.js → PurchaseOrderPrintPreview-C0jCmI9L.js} +2 -2
- package/dist/{ReceiveRequestView-Bk5b3nVB.js → ReceiveRequestView-i7ibPfIE.js} +14 -14
- package/dist/{RecipeView-DvI6X-uN.js → RecipeView-C5VO7yr3.js} +18 -18
- package/dist/SettingsView-CdBloj9k.js +983 -0
- package/dist/{StockView-Z9wGihT7.js → StockView-g_6eJ62R.js} +327 -322
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DdZg9T4n.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C1rKc7MA.js} +1 -1
- package/dist/{SupplierView-D8q6siZW.js → SupplierView-DkYp_Frj.js} +451 -447
- package/dist/{SurchargeView-Db_5YFoR.js → SurchargeView-CfkV4Y3y.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-2MtN1p5t.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BtoP4XgE.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYMjKXq4.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.js → TransferDetails.vue_vue_type_script_setup_true_lang-D0zNr_vQ.js} +21 -21
- package/dist/{TransferTemplateView-DtsJzmUr.js → TransferTemplateView-Ne2gYUSn.js} +21 -21
- package/dist/{UnitCostHistoryView-BqDiQ4IE.js → UnitCostHistoryView-Db0_otOb.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-BzO1lq7j.js} +4 -4
- package/dist/{UnitView-CM695-VI.js → UnitView-CiCeQ63i.js} +8 -8
- package/dist/{WarehouseView-BdidU4p6.js → WarehouseView-BcuJSOMF.js} +193 -189
- package/dist/{WastageTemplateView-DdhwdXT6.js → WastageTemplateView-CPQmtOKQ.js} +15 -15
- package/dist/api/feature-flags.d.ts +10 -0
- package/dist/api/inventory.d.ts +9 -9
- package/dist/api/license.d.ts +9 -0
- package/dist/{app-Cb5s4jMu.js → app-DqJp3dcI.js} +146 -108
- package/dist/app.d.ts +36 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DnqnpXxn.js → closing-template-BNlgZviN.js} +1 -1
- package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
- package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +29 -0
- package/dist/components/{PreviewBadge.vue.d.ts → FeatureCapabilityGate.vue.d.ts} +10 -7
- package/dist/components/MultiLocationSelector.vue.d.ts +6 -6
- package/dist/components/{PremiumBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
- package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
- package/dist/composable/useNavigationMenu.d.ts +2 -1
- package/dist/{inventory-core-dart.default-DDRxXXnt.js → core-Js7d-3Pv.js} +121 -118
- package/dist/{date2-BPhD_1Of.js → date2-Ci7521dn.js} +1 -1
- package/dist/{dayjs.min-Zbd6-uVD.js → dayjs.min-Cyp32v4J.js} +1 -1
- package/dist/{decimal-Df6a50Ld.js → decimal-BGdm5R3A.js} +2 -2
- package/dist/{defineDeepModel-Brbsikbi.js → defineDeepModel-B2cJ-rtd.js} +1 -1
- package/dist/{duplicate-template-B9kuShaF.js → duplicate-template-By5WeKZ0.js} +1 -1
- package/dist/feature-fG7d73oi.js +371 -0
- package/dist/feature-flags/core.d.ts +27 -0
- package/dist/feature-flags/core.spec.d.ts +1 -0
- package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
- package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
- package/dist/feature-flags/plan-tier.d.ts +6 -0
- package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
- package/dist/feature-flags/portal-feature-catalog.d.ts +24 -0
- package/dist/feature-flags/vue.d.ts +14 -0
- package/dist/{format-time-from-id-DmUjUcVj.js → format-time-from-id-Q8C2P96H.js} +1 -1
- package/dist/{format-unit-display-CsQA0SQd.js → format-unit-display-CICrmm8r.js} +13 -13
- package/dist/id-to-date-DeN5x0LR.js +67 -0
- package/dist/{import-export.helper-DCQ6oX9s.js → import-export.helper-BOTQWxr6.js} +28 -28
- package/dist/{index-C-mazZwS.js → index-BbbqCCfp.js} +3 -3
- package/dist/{index-BXaIMGnI.js → index-Cxm3Sgfv.js} +1 -1
- package/dist/index-Dqf27vLH.js +841 -0
- package/dist/{index-UmM6gHJ1.js → index-tCYhLCKP.js} +1 -1
- package/dist/{lz-string-Bibw5D_6.js → lz-string-Dy4Pg8mh.js} +1 -1
- package/dist/{netsuite-Bev0OtQT.js → netsuite-BaJjkDM8.js} +2 -2
- package/dist/{number-y_W4pn_d.js → number-CB36d2PQ.js} +3 -3
- package/dist/{predefined-templates-BHvUnTk_.js → predefined-templates-DLm93Bpx.js} +1 -1
- package/dist/{purchase-order-template-DgOKEzhS.js → purchase-order-template-CDhn9ZIF.js} +1 -1
- package/dist/{recalculationUtils-Dv__DzZh.js → recalculationUtils-Cqvefakh.js} +1 -1
- package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-NTfVmGY8.js} +2 -2
- package/dist/{rules-CZTBvenw.js → rules-C8dfM84-.js} +2 -2
- package/dist/{stock-XINW8JOM.js → stock-BGB0Siue.js} +3 -3
- package/dist/{stock-CxCRZo_D.js → stock-Qu5IiN2_.js} +1 -1
- package/dist/stores/feature.d.ts +12 -0
- package/dist/stores/integration/netsuite.d.ts +2 -2
- package/dist/stores/location.d.ts +42 -42
- package/dist/stores/supplier.d.ts +48 -48
- package/dist/stores/warehouse.d.ts +1 -1
- package/dist/{supplier-CkZdeMcl.js → supplier-CZdNOSMN.js} +17 -17
- package/dist/{surcharge-FRSFqjGl.js → surcharge-Cm40oJvU.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Cm1styDr.js → uom-rules-L-IW4Nwk.js} +1 -1
- package/dist/{use-ingredient-select-dialog-ntAqHX04.js → use-ingredient-select-dialog-B2TDVJM6.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DVIJO8Cl.js → use-inventory-binding-dialog-BJ00hl5f.js} +2 -2
- package/dist/{use-template-enabled-locations-CIZqw-Z8.js → use-template-enabled-locations-DYAPMvo9.js} +2 -2
- package/dist/{use-transfer-locations-CM5vNttA.js → use-transfer-locations-w-9tymYS.js} +2 -2
- package/dist/{useHrmPermission-CslLuBoP.js → useHrmPermission-BFCIo5sA.js} +1 -1
- package/dist/useNavigationMenu-BPHAH5sJ.js +352 -0
- package/dist/{useSseClient-CCV4mPzD.js → useSseClient-CWjRacRs.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +36 -36
- package/dist/views/adjustment-template/wastage-template/table.d.ts +36 -36
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +6 -6
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +12 -12
- package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +6 -6
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +3 -3
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +18 -18
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +45 -45
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +36 -36
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +24 -24
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +5 -5
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +5 -5
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +39 -39
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +35 -35
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-form.d.ts +34 -34
- package/dist/views/receive-request-bulk/composables/use-bulk-receive-request-table.d.ts +6 -6
- package/dist/views/settings/FeatureFlagView.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +4 -4
- package/dist/views/supplier/composables/use-supplier-table.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +8 -8
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +24 -24
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +48 -48
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -2
- package/dist/{vue-i18n-C5j4EQhi.js → vue-i18n-S4YQ9w6a.js} +295 -295
- package/dist/{xlsx.util-B50OvX4z.js → xlsx.util-CP8_VajN.js} +2 -2
- package/package.json +5 -5
- package/dist/App-BXgpGzGR.js +0 -1476
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-zcEv1Swg.js +0 -243
- package/dist/IngredientGroupView-qrR9ksEn.js +0 -985
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js +0 -93
- package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
- package/dist/SettingsView-sThYErMz.js +0 -698
- package/dist/feature-Ckn5ra3z.js +0 -1136
- package/dist/useNavigationMenu-CSinmNCY.js +0 -172
- /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { ref as D, h as P, defineComponent as Y, resolveComponent as M, createElementBlock as C, openBlock as A, createElementVNode as T, createCommentVNode as z, normalizeClass as K, createTextVNode as ie, toDisplayString as j, unref as $, createVNode as I, createBlock as O, Fragment as H, renderList as Q, computed as U, watch as ue, createSlots as Le, withCtx as L, isRef as Ne, withModifiers as Xe, normalizeStyle as Ze, Teleport as et, normalizeProps as tt, guardReactiveProps as nt, mergeProps as Ee } from "vue";
|
|
2
2
|
import { u as at, _ as ot } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
3
|
import { useI18n as G, useCoreStore as Be } from "@feedmepos/mf-common";
|
|
4
|
-
import { D as le, R as B } from "./row-action.enum-
|
|
5
|
-
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as le, R as B } from "./row-action.enum-NTfVmGY8.js";
|
|
5
|
+
import { _ as st } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-NhOdW33O.js";
|
|
6
6
|
import { useDialog as X, useDialogChild as lt, useSnackbar as ce, FmButtonVariant as q, components as W, useProxiedModel as ze, useBreakpoints as rt } from "@feedmepos/ui-library";
|
|
7
7
|
import { defineStore as Oe, storeToRefs as We } from "pinia";
|
|
8
8
|
import { _ as it, F as re } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
9
|
-
import { u as he, c as He, a as Z, J as N, m as ut, E as fe, K as me } from "./app-
|
|
9
|
+
import { u as he, c as He, a as Z, J as N, m as ut, E as fe, K as me } from "./app-DqJp3dcI.js";
|
|
10
10
|
import { F as J } from "./form-mode.enum-BKiNVH6A.js";
|
|
11
11
|
import { c as ct } from "./component-BmLAdDiY.js";
|
|
12
|
-
import { f as mt } from "./format-time-from-id-
|
|
13
|
-
import { u as de } from "./closing-template-
|
|
14
|
-
import { _ as Pe } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { t as ve, a as Ke, d as Ye, s as Ge, r as dt } from "./xlsx.util-
|
|
16
|
-
import { f as pt, b as ft } from "./date2-
|
|
17
|
-
import { u as vt } from "./netsuite-
|
|
12
|
+
import { f as mt } from "./format-time-from-id-Q8C2P96H.js";
|
|
13
|
+
import { u as de } from "./closing-template-BNlgZviN.js";
|
|
14
|
+
import { _ as Pe } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CYMjKXq4.js";
|
|
15
|
+
import { t as ve, a as Ke, d as Ye, s as Ge, r as dt } from "./xlsx.util-CP8_VajN.js";
|
|
16
|
+
import { f as pt, b as ft } from "./date2-Ci7521dn.js";
|
|
17
|
+
import { u as vt } from "./netsuite-BaJjkDM8.js";
|
|
18
18
|
import { F as yt } from "./FmDroppableField-J0tG_U3w.js";
|
|
19
|
-
import { u as ht } from "./duplicate-template-
|
|
20
|
-
import { A as gt, R as Je } from "./rules-
|
|
21
|
-
import { d as bt } from "./defineDeepModel-
|
|
22
|
-
import { u as _t } from "./use-template-enabled-locations-
|
|
23
|
-
import { a as xt } from "./FmMultiselectDialog-
|
|
24
|
-
import { _ as wt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
19
|
+
import { u as ht } from "./duplicate-template-By5WeKZ0.js";
|
|
20
|
+
import { A as gt, R as Je } from "./rules-C8dfM84-.js";
|
|
21
|
+
import { d as bt } from "./defineDeepModel-B2cJ-rtd.js";
|
|
22
|
+
import { u as _t } from "./use-template-enabled-locations-DYAPMvo9.js";
|
|
23
|
+
import { a as xt } from "./FmMultiselectDialog-CULwA_hi.js";
|
|
24
|
+
import { _ as wt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-2MtN1p5t.js";
|
|
25
25
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ee = Oe(
|
|
27
27
|
"wastageTable",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface LocationFeatureFlag {
|
|
2
|
+
name: string;
|
|
3
|
+
enabled: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface LocationFeatureFlagResponse {
|
|
6
|
+
flags: LocationFeatureFlag[];
|
|
7
|
+
}
|
|
8
|
+
export declare const useFeatureFlagApi: () => {
|
|
9
|
+
listForScope(scopeDbName: string): Promise<LocationFeatureFlagResponse>;
|
|
10
|
+
};
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -20,14 +20,13 @@ export declare const useInventoryApi: () => {
|
|
|
20
20
|
businessId: string;
|
|
21
21
|
profile: {
|
|
22
22
|
code?: string | null | undefined;
|
|
23
|
-
url?: string | null | undefined;
|
|
24
|
-
description?: string | null | undefined;
|
|
25
23
|
_id?: string | null | undefined;
|
|
26
24
|
legalName?: string | null | undefined;
|
|
27
25
|
sstRegNo?: string | null | undefined;
|
|
28
26
|
discovery?: boolean | null | undefined;
|
|
29
27
|
coverPhoto?: string | null | undefined;
|
|
30
28
|
thumbnailPhoto?: string | null | undefined;
|
|
29
|
+
description?: string | null | undefined;
|
|
31
30
|
photos?: string[] | null | undefined;
|
|
32
31
|
operatingHours?: {
|
|
33
32
|
0: {
|
|
@@ -81,6 +80,7 @@ export declare const useInventoryApi: () => {
|
|
|
81
80
|
};
|
|
82
81
|
} | null | undefined;
|
|
83
82
|
tags?: string[] | null | undefined;
|
|
83
|
+
url?: string | null | undefined;
|
|
84
84
|
name: string;
|
|
85
85
|
address: {
|
|
86
86
|
coordinates?: number[] | null | undefined;
|
|
@@ -91,8 +91,8 @@ export declare const useInventoryApi: () => {
|
|
|
91
91
|
city: string;
|
|
92
92
|
postcode: string;
|
|
93
93
|
};
|
|
94
|
-
email: string;
|
|
95
94
|
phoneNo: string;
|
|
95
|
+
email: string;
|
|
96
96
|
regNo: string;
|
|
97
97
|
};
|
|
98
98
|
};
|
|
@@ -116,14 +116,13 @@ export declare const useInventoryApi: () => {
|
|
|
116
116
|
businessId: string;
|
|
117
117
|
profile: {
|
|
118
118
|
code?: string | null | undefined;
|
|
119
|
-
url?: string | null | undefined;
|
|
120
|
-
description?: string | null | undefined;
|
|
121
119
|
_id?: string | null | undefined;
|
|
122
120
|
legalName?: string | null | undefined;
|
|
123
121
|
sstRegNo?: string | null | undefined;
|
|
124
122
|
discovery?: boolean | null | undefined;
|
|
125
123
|
coverPhoto?: string | null | undefined;
|
|
126
124
|
thumbnailPhoto?: string | null | undefined;
|
|
125
|
+
description?: string | null | undefined;
|
|
127
126
|
photos?: string[] | null | undefined;
|
|
128
127
|
operatingHours?: {
|
|
129
128
|
0: {
|
|
@@ -177,6 +176,7 @@ export declare const useInventoryApi: () => {
|
|
|
177
176
|
};
|
|
178
177
|
} | null | undefined;
|
|
179
178
|
tags?: string[] | null | undefined;
|
|
179
|
+
url?: string | null | undefined;
|
|
180
180
|
name: string;
|
|
181
181
|
address: {
|
|
182
182
|
coordinates?: number[] | null | undefined;
|
|
@@ -187,8 +187,8 @@ export declare const useInventoryApi: () => {
|
|
|
187
187
|
city: string;
|
|
188
188
|
postcode: string;
|
|
189
189
|
};
|
|
190
|
-
email: string;
|
|
191
190
|
phoneNo: string;
|
|
191
|
+
email: string;
|
|
192
192
|
regNo: string;
|
|
193
193
|
};
|
|
194
194
|
};
|
|
@@ -207,14 +207,13 @@ export declare const useInventoryApi: () => {
|
|
|
207
207
|
businessId: string;
|
|
208
208
|
profile: {
|
|
209
209
|
code?: string | null | undefined;
|
|
210
|
-
url?: string | null | undefined;
|
|
211
|
-
description?: string | null | undefined;
|
|
212
210
|
_id?: string | null | undefined;
|
|
213
211
|
legalName?: string | null | undefined;
|
|
214
212
|
sstRegNo?: string | null | undefined;
|
|
215
213
|
discovery?: boolean | null | undefined;
|
|
216
214
|
coverPhoto?: string | null | undefined;
|
|
217
215
|
thumbnailPhoto?: string | null | undefined;
|
|
216
|
+
description?: string | null | undefined;
|
|
218
217
|
photos?: string[] | null | undefined;
|
|
219
218
|
operatingHours?: {
|
|
220
219
|
0: {
|
|
@@ -268,6 +267,7 @@ export declare const useInventoryApi: () => {
|
|
|
268
267
|
};
|
|
269
268
|
} | null | undefined;
|
|
270
269
|
tags?: string[] | null | undefined;
|
|
270
|
+
url?: string | null | undefined;
|
|
271
271
|
name: string;
|
|
272
272
|
address: {
|
|
273
273
|
coordinates?: number[] | null | undefined;
|
|
@@ -278,8 +278,8 @@ export declare const useInventoryApi: () => {
|
|
|
278
278
|
city: string;
|
|
279
279
|
postcode: string;
|
|
280
280
|
};
|
|
281
|
-
email: string;
|
|
282
281
|
phoneNo: string;
|
|
282
|
+
email: string;
|
|
283
283
|
regNo: string;
|
|
284
284
|
};
|
|
285
285
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface WarehouseLicense {
|
|
2
|
+
id: string;
|
|
3
|
+
expiredAt: string;
|
|
4
|
+
}
|
|
5
|
+
export type InventoryLicensePlan = 'Standard' | 'Premium' | null;
|
|
6
|
+
export declare function useLicenseApi(): {
|
|
7
|
+
getWarehouseQuota(businessId: string): Promise<WarehouseLicense[]>;
|
|
8
|
+
getInventoryPlan(restaurantId: string): Promise<InventoryLicensePlan>;
|
|
9
|
+
};
|