@feedmepos/mf-inventory-portal 1.2.2-dev.1 → 1.2.2-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-C9XQOsrP.js → App-DAab61Y3.js} +1 -1
- package/dist/{ApprovalView-1GBi8VK8.js → ApprovalView-BDt_IdgV.js} +2 -2
- package/dist/{BindingsDialog-D1jgrgHp.js → BindingsDialog-FF8USPP4.js} +2 -2
- package/dist/{BindingsPicker-BWpkVmRH.js → BindingsPicker-KFcppldz.js} +1 -1
- package/dist/{BindingsTable-C3a5rQsU.js → BindingsTable-jwQ801Fk.js} +1 -1
- package/dist/{ClosingDraftView-M1VZ7Ubp.js → ClosingDraftView-CYPkcKxk.js} +2 -2
- package/dist/{ClosingTemplateView-ubVOShkx.js → ClosingTemplateView-1UuB2aef.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-D8k7olwU.js → DeliveryOrderPrintPreview-NnfinFpy.js} +1 -1
- package/dist/FmAdminBadge-wjcRz0_J.js +44 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BzWLBxUC.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CUlu-YXe.js} +3 -3
- package/dist/{FmMultiselectDialog-DZlmvlH-.js → FmMultiselectDialog-Bum2P_DE.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-qJ57T17v.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CnIQI968.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BmWJSWWs.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CqGPRyAt.js} +1 -1
- package/dist/{IngredientGroupView-Lc4juIpn.js → IngredientGroupView-C7Z3zbzK.js} +2 -2
- package/dist/{IngredientsView-B7ilCUo1.js → IngredientsView-C8vAKCQU.js} +4 -4
- package/dist/{IntegrationView-CBbQi9eX.js → IntegrationView-BB-_EU26.js} +1282 -1267
- package/dist/{InventoryBindingForm-BYDnLY-B.js → InventoryBindingForm-Rjs3yODh.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DB_91rQK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-D9vjJDxP.js} +3 -3
- package/dist/{InventoryBindingSummary-CLk6_myJ.js → InventoryBindingSummary-BNy7uiUu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-TERMQx9m.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BApjHkbC.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DMS_1RZd.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C7wG_6bX.js} +1 -1
- package/dist/{PublishView-BzYVIzVH.js → PublishView-Btmo1Exg.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-DkhYCWlU.js → PurchaseOrderPrintPreview-DahOAnSq.js} +1 -1
- package/dist/{ReceiveRequestView-DYfMcV1P.js → ReceiveRequestView-DpLlm9By.js} +8 -8
- package/dist/{RecipeView-0v-PiaZL.js → RecipeView-BS3oR694.js} +3 -3
- package/dist/{StockView-DmVv6yZd.js → StockView-A1vau_vI.js} +837 -838
- package/dist/{SupplierView-EFvZjuXh.js → SupplierView-A-m1kPUl.js} +3 -3
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BgOY6LqL.js +2494 -0
- package/dist/{TransferTemplateView-B6dh3lAb.js → TransferTemplateView-BZMpQ0E_.js} +6 -6
- package/dist/{UnitView-Dwg-DzVw.js → UnitView-Bn6Kx8tl.js} +3 -3
- package/dist/{WarehouseView-DL0AMn3R.js → WarehouseView-0nCmwtBo.js} +1 -1
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +18 -18
- package/dist/api/netsuite.d.ts +19 -18
- package/dist/app-FwO7QbKs.js +153774 -0
- package/dist/app.d.ts +8 -8
- package/dist/app.js +1 -1
- package/dist/components/FmAdminBadge.vue.d.ts +1 -4
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +7 -7
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +4 -4
- package/dist/{decimal-eRlOd74V.js → decimal-CRt-kBvR.js} +1 -1
- package/dist/{format-unit-display-CYusbGmI.js → format-unit-display-C9RjXfAz.js} +2 -2
- package/dist/{index-BxmvJ-ui.js → index-B18gU7C5.js} +1 -1
- package/dist/{index-khYeCDt1.js → index-B8xXPx48.js} +1 -1
- package/dist/{stock-B0suhBSW.js → stock-CJ8thbAt.js} +1 -1
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +9 -9
- package/dist/stores/inventory.d.ts +37 -37
- package/dist/stores/supplier.d.ts +24 -24
- package/dist/stores/warehouse.d.ts +1 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-JDcv1lRx.js → supplier-Ci3-VSI6.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-w6dHX9B4.js → use-ingredient-select-dialog-B4k3p-nd.js} +1 -1
- package/dist/{use-inventory-binding-dialog--7QT5_-Q.js → use-inventory-binding-dialog-B7HiDfIi.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +12 -12
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +12 -12
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +32 -32
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +96 -96
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +3 -3
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +36 -36
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +36 -36
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +4 -4
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +3 -3
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +10 -10
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +6 -6
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +450 -94
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +10 -10
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +20 -20
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -5
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +111 -22
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +669 -135
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +780 -157
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +10 -10
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +4 -4
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +2 -2
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +12 -12
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +8 -8
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +10 -10
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +5 -5
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +15 -15
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +72 -72
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +72 -72
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +2 -4
- package/package.json +1 -1
- package/dist/FmAdminBadge-BFDkedmh.js +0 -34
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B7Y2vAlL.js +0 -2336
- package/dist/app-D6kqZa_9.js +0 -130114
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as ae, onMounted as Te, computed as L, ref as Y, watch as Ce, inject as ot, resolveComponent as V, openBlock as $, createElementBlock as N, createElementVNode as e, createVNode as m, withCtx as U, renderSlot as xe, withDirectives as Pe, normalizeClass as re, vModelText as Be, reactive as st, h as j, toDisplayString as I, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as _e, renderList as je, createBlock as le, mergeProps as Qe, createTextVNode as ne, mergeModels as qe, useModel as lt, isRef as Ye, Teleport as nt, normalizeProps as at, guardReactiveProps as rt } from "vue";
|
|
2
|
-
import { K as We, aJ as he, t as Ne, I as it, aK as ut, aL as dt, j as se, aM as mt, b as Ke, a as Ge, Q as Le, c as ge, m as ke, Y as be, T as ye, A as we, M as pt, G as ee, u as Je, an as ct, a0 as ft, E as Ze, e as ue, aN as ve, ai as yt, s as vt, aa as bt, B as gt, i as Ee, _ as ht, C as xt } from "./app-
|
|
2
|
+
import { K as We, aJ as he, t as Ne, I as it, aK as ut, aL as dt, j as se, aM as mt, b as Ke, a as Ge, Q as Le, c as ge, m as ke, Y as be, T as ye, A as we, M as pt, G as ee, u as Je, an as ct, a0 as ft, E as Ze, e as ue, aN as ve, ai as yt, s as vt, aa as bt, B as gt, i as Ee, _ as ht, C as xt } from "./app-FwO7QbKs.js";
|
|
3
3
|
import { useI18n as me } from "@feedmepos/mf-common";
|
|
4
|
-
import { P as X, a as _t, f as kt, t as wt, b as ze, u as Tt } from "./format-unit-display-
|
|
4
|
+
import { P as X, a as _t, f as kt, t as wt, b as ze, u as Tt } from "./format-unit-display-C9RjXfAz.js";
|
|
5
5
|
import { components as de, useSnackbar as Ct, useProxiedModel as Xe, useBreakpoints as Ft } from "@feedmepos/ui-library";
|
|
6
6
|
import { defineStore as St, storeToRefs as He } from "pinia";
|
|
7
|
-
import { _ as It, b as Mt, F as $t, a as Ot } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { c as Dt, u as Vt, _ as At } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { u as Rt } from "./supplier-
|
|
10
|
-
import { u as Ut } from "./use-ingredient-select-dialog-
|
|
7
|
+
import { _ as It, b as Mt, F as $t, a as Ot } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CnIQI968.js";
|
|
8
|
+
import { c as Dt, u as Vt, _ as At } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CUlu-YXe.js";
|
|
9
|
+
import { u as Rt } from "./supplier-Ci3-VSI6.js";
|
|
10
|
+
import { u as Ut } from "./use-ingredient-select-dialog-B4k3p-nd.js";
|
|
11
11
|
const Pt = { class: "flex flex-col" }, Bt = { class: "flex flex-col" }, qt = { class: "flex-1" }, Nt = { class: "flex items-center" }, Lt = { class: "flex-1" }, Et = { class: "flex-1" }, zt = /* @__PURE__ */ ae({
|
|
12
12
|
__name: "FmMinMaxInput",
|
|
13
13
|
props: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as G, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as R, watch as ee, resolveComponent as I, createBlock as T, withCtx as A, createVNode as f, unref as l, isRef as te, normalizeClass as ie, normalizeStyle as ue, Teleport as de, normalizeProps as me, guardReactiveProps as ce } from "vue";
|
|
2
|
-
import { a as K, e as U, S as pe, h as ve, D as ne, i as L, f as se, Q as fe, m as j, A as ye, j as J, T as be, V as ge, q as oe, u as xe, b as _e, B as he, _ as Ve, C as Ue, E as we, G as Ce } from "./app-
|
|
2
|
+
import { a as K, e as U, S as pe, h as ve, D as ne, i as L, f as se, Q as fe, m as j, A as ye, j as J, T as be, V as ge, q as oe, u as xe, b as _e, B as he, _ as Ve, C as Ue, E as we, G as Ce } from "./app-FwO7QbKs.js";
|
|
3
3
|
import { useDialog as Se, useSnackbar as ae, useProxiedModel as le, useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Fe, _ as Ee } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as $e, storeToRefs as Ie } from "pinia";
|
|
6
6
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
7
|
-
import { F as De } from "./decimal-
|
|
8
|
-
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { F as De } from "./decimal-CRt-kBvR.js";
|
|
8
|
+
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BApjHkbC.js";
|
|
9
9
|
const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as R, createElementBlock as q, toRaw as ge, reactive as $e, createElementVNode as g, toDisplayString as T, unref as c, createVNode as _, resolveComponent as N, createSlots as Se, withCtx as B, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as x, isRef as we, normalizeClass as Pe, normalizeStyle as Re } from "vue";
|
|
2
|
-
import { a3 as Ue, av as Ee, aw as Te, h as Le, D as Ve, i as Q, f as O, ax as Ne, ao as Be, m as L, e as E, S as qe, u as ze, B as Ie, _ as je, C as Ge, E as Oe, G as X } from "./app-
|
|
2
|
+
import { a3 as Ue, av as Ee, aw as Te, h as Le, D as Ve, i as Q, f as O, ax as Ne, ao as Be, m as L, e as E, S as qe, u as ze, B as Ie, _ as je, C as Ge, E as Oe, G as X } from "./app-FwO7QbKs.js";
|
|
3
3
|
import { useCoreStore as Me, useI18n as j } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ke, useDialog as Ce, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as He } from "@feedmepos/ui-library";
|
|
5
5
|
import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
|
|
@@ -4,7 +4,6 @@ export declare const useFMHApi: () => {
|
|
|
4
4
|
readSetting(): Promise<FdoFMHSetting>;
|
|
5
5
|
updateSetting(setting: FdoFMHSetting): Promise<{
|
|
6
6
|
_id: string;
|
|
7
|
-
branchCode: string;
|
|
8
7
|
enable: boolean;
|
|
9
8
|
bindings: {
|
|
10
9
|
combinationKey?: string | null | undefined;
|
|
@@ -18,6 +17,7 @@ export declare const useFMHApi: () => {
|
|
|
18
17
|
}[];
|
|
19
18
|
exportAsJson: boolean;
|
|
20
19
|
uniqueCode: string;
|
|
20
|
+
branchCode: string;
|
|
21
21
|
server: {
|
|
22
22
|
host: string;
|
|
23
23
|
username: string;
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -189,8 +189,8 @@ export declare const useInventoryApi: () => {
|
|
|
189
189
|
abbrev: string;
|
|
190
190
|
precision: number;
|
|
191
191
|
measurements: {
|
|
192
|
-
name: string;
|
|
193
192
|
id: string;
|
|
193
|
+
name: string;
|
|
194
194
|
abbrev: string;
|
|
195
195
|
conversion: {
|
|
196
196
|
amount: number;
|
|
@@ -204,8 +204,8 @@ export declare const useInventoryApi: () => {
|
|
|
204
204
|
name: string;
|
|
205
205
|
contains: {
|
|
206
206
|
measurement?: {
|
|
207
|
-
name: string;
|
|
208
207
|
id: string;
|
|
208
|
+
name: string;
|
|
209
209
|
abbrev: string;
|
|
210
210
|
conversion: {
|
|
211
211
|
amount: number;
|
|
@@ -227,8 +227,8 @@ export declare const useInventoryApi: () => {
|
|
|
227
227
|
measurement?: string | null | undefined;
|
|
228
228
|
inventoryBindings?: {
|
|
229
229
|
measurement?: {
|
|
230
|
-
name: string;
|
|
231
230
|
id: string;
|
|
231
|
+
name: string;
|
|
232
232
|
abbrev: string;
|
|
233
233
|
conversion: {
|
|
234
234
|
amount: number;
|
|
@@ -246,8 +246,8 @@ export declare const useInventoryApi: () => {
|
|
|
246
246
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
247
247
|
defaultCost?: {
|
|
248
248
|
measurement?: {
|
|
249
|
-
name: string;
|
|
250
249
|
id: string;
|
|
250
|
+
name: string;
|
|
251
251
|
abbrev: string;
|
|
252
252
|
conversion: {
|
|
253
253
|
amount: number;
|
|
@@ -275,8 +275,8 @@ export declare const useInventoryApi: () => {
|
|
|
275
275
|
abbrev: string;
|
|
276
276
|
precision: number;
|
|
277
277
|
measurements: {
|
|
278
|
-
name: string;
|
|
279
278
|
id: string;
|
|
279
|
+
name: string;
|
|
280
280
|
abbrev: string;
|
|
281
281
|
conversion: {
|
|
282
282
|
amount: number;
|
|
@@ -317,8 +317,8 @@ export declare const useInventoryApi: () => {
|
|
|
317
317
|
abbrev: string;
|
|
318
318
|
precision: number;
|
|
319
319
|
measurements: {
|
|
320
|
-
name: string;
|
|
321
320
|
id: string;
|
|
321
|
+
name: string;
|
|
322
322
|
abbrev: string;
|
|
323
323
|
conversion: {
|
|
324
324
|
amount: number;
|
|
@@ -332,8 +332,8 @@ export declare const useInventoryApi: () => {
|
|
|
332
332
|
name: string;
|
|
333
333
|
contains: {
|
|
334
334
|
measurement?: {
|
|
335
|
-
name: string;
|
|
336
335
|
id: string;
|
|
336
|
+
name: string;
|
|
337
337
|
abbrev: string;
|
|
338
338
|
conversion: {
|
|
339
339
|
amount: number;
|
|
@@ -355,8 +355,8 @@ export declare const useInventoryApi: () => {
|
|
|
355
355
|
measurement?: string | null | undefined;
|
|
356
356
|
inventoryBindings?: {
|
|
357
357
|
measurement?: {
|
|
358
|
-
name: string;
|
|
359
358
|
id: string;
|
|
359
|
+
name: string;
|
|
360
360
|
abbrev: string;
|
|
361
361
|
conversion: {
|
|
362
362
|
amount: number;
|
|
@@ -374,8 +374,8 @@ export declare const useInventoryApi: () => {
|
|
|
374
374
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
375
375
|
defaultCost?: {
|
|
376
376
|
measurement?: {
|
|
377
|
-
name: string;
|
|
378
377
|
id: string;
|
|
378
|
+
name: string;
|
|
379
379
|
abbrev: string;
|
|
380
380
|
conversion: {
|
|
381
381
|
amount: number;
|
|
@@ -403,8 +403,8 @@ export declare const useInventoryApi: () => {
|
|
|
403
403
|
abbrev: string;
|
|
404
404
|
precision: number;
|
|
405
405
|
measurements: {
|
|
406
|
-
name: string;
|
|
407
406
|
id: string;
|
|
407
|
+
name: string;
|
|
408
408
|
abbrev: string;
|
|
409
409
|
conversion: {
|
|
410
410
|
amount: number;
|
|
@@ -446,8 +446,8 @@ export declare const useInventoryApi: () => {
|
|
|
446
446
|
abbrev: string;
|
|
447
447
|
precision: number;
|
|
448
448
|
measurements: {
|
|
449
|
-
name: string;
|
|
450
449
|
id: string;
|
|
450
|
+
name: string;
|
|
451
451
|
abbrev: string;
|
|
452
452
|
conversion: {
|
|
453
453
|
amount: number;
|
|
@@ -461,8 +461,8 @@ export declare const useInventoryApi: () => {
|
|
|
461
461
|
name: string;
|
|
462
462
|
contains: {
|
|
463
463
|
measurement?: {
|
|
464
|
-
name: string;
|
|
465
464
|
id: string;
|
|
465
|
+
name: string;
|
|
466
466
|
abbrev: string;
|
|
467
467
|
conversion: {
|
|
468
468
|
amount: number;
|
|
@@ -484,8 +484,8 @@ export declare const useInventoryApi: () => {
|
|
|
484
484
|
measurement?: string | null | undefined;
|
|
485
485
|
inventoryBindings?: {
|
|
486
486
|
measurement?: {
|
|
487
|
-
name: string;
|
|
488
487
|
id: string;
|
|
488
|
+
name: string;
|
|
489
489
|
abbrev: string;
|
|
490
490
|
conversion: {
|
|
491
491
|
amount: number;
|
|
@@ -503,8 +503,8 @@ export declare const useInventoryApi: () => {
|
|
|
503
503
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
504
504
|
defaultCost?: {
|
|
505
505
|
measurement?: {
|
|
506
|
-
name: string;
|
|
507
506
|
id: string;
|
|
507
|
+
name: string;
|
|
508
508
|
abbrev: string;
|
|
509
509
|
conversion: {
|
|
510
510
|
amount: number;
|
|
@@ -532,8 +532,8 @@ export declare const useInventoryApi: () => {
|
|
|
532
532
|
abbrev: string;
|
|
533
533
|
precision: number;
|
|
534
534
|
measurements: {
|
|
535
|
-
name: string;
|
|
536
535
|
id: string;
|
|
536
|
+
name: string;
|
|
537
537
|
abbrev: string;
|
|
538
538
|
conversion: {
|
|
539
539
|
amount: number;
|
|
@@ -577,8 +577,8 @@ export declare const useInventoryApi: () => {
|
|
|
577
577
|
measurement?: string | null | undefined;
|
|
578
578
|
inventoryBindings?: {
|
|
579
579
|
measurement?: {
|
|
580
|
-
name: string;
|
|
581
580
|
id: string;
|
|
581
|
+
name: string;
|
|
582
582
|
abbrev: string;
|
|
583
583
|
conversion: {
|
|
584
584
|
amount: number;
|
|
@@ -596,8 +596,8 @@ export declare const useInventoryApi: () => {
|
|
|
596
596
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
597
597
|
defaultCost?: {
|
|
598
598
|
measurement?: {
|
|
599
|
-
name: string;
|
|
600
599
|
id: string;
|
|
600
|
+
name: string;
|
|
601
601
|
abbrev: string;
|
|
602
602
|
conversion: {
|
|
603
603
|
amount: number;
|
|
@@ -625,8 +625,8 @@ export declare const useInventoryApi: () => {
|
|
|
625
625
|
abbrev: string;
|
|
626
626
|
precision: number;
|
|
627
627
|
measurements: {
|
|
628
|
-
name: string;
|
|
629
628
|
id: string;
|
|
629
|
+
name: string;
|
|
630
630
|
abbrev: string;
|
|
631
631
|
conversion: {
|
|
632
632
|
amount: number;
|
package/dist/api/netsuite.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
27
27
|
}[];
|
|
28
28
|
enable: boolean;
|
|
29
29
|
locations: {
|
|
30
|
-
name: string;
|
|
31
30
|
id: string;
|
|
31
|
+
name: string;
|
|
32
32
|
type: "restaurant" | "warehouse";
|
|
33
33
|
netSuiteId: string;
|
|
34
34
|
subsidiaryId: string;
|
|
@@ -60,16 +60,16 @@ export declare const useNetSuiteApi: () => {
|
|
|
60
60
|
}[];
|
|
61
61
|
subsidiaries: {
|
|
62
62
|
parentId?: string | undefined;
|
|
63
|
-
name: string;
|
|
64
63
|
id: string;
|
|
64
|
+
name: string;
|
|
65
65
|
country: string;
|
|
66
66
|
currency: string;
|
|
67
67
|
}[];
|
|
68
68
|
vendors: {
|
|
69
69
|
externalId?: string | null | undefined;
|
|
70
70
|
custentity_financeapproval?: boolean | null | undefined;
|
|
71
|
-
name: string;
|
|
72
71
|
id: string;
|
|
72
|
+
name: string;
|
|
73
73
|
netSuiteId: string;
|
|
74
74
|
subsidiaryId: string;
|
|
75
75
|
}[];
|
|
@@ -105,8 +105,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
105
105
|
}[];
|
|
106
106
|
enable: boolean;
|
|
107
107
|
locations: {
|
|
108
|
-
name: string;
|
|
109
108
|
id: string;
|
|
109
|
+
name: string;
|
|
110
110
|
type: "restaurant" | "warehouse";
|
|
111
111
|
netSuiteId: string;
|
|
112
112
|
subsidiaryId: string;
|
|
@@ -138,16 +138,16 @@ export declare const useNetSuiteApi: () => {
|
|
|
138
138
|
}[];
|
|
139
139
|
subsidiaries: {
|
|
140
140
|
parentId?: string | undefined;
|
|
141
|
-
name: string;
|
|
142
141
|
id: string;
|
|
142
|
+
name: string;
|
|
143
143
|
country: string;
|
|
144
144
|
currency: string;
|
|
145
145
|
}[];
|
|
146
146
|
vendors: {
|
|
147
147
|
externalId?: string | null | undefined;
|
|
148
148
|
custentity_financeapproval?: boolean | null | undefined;
|
|
149
|
-
name: string;
|
|
150
149
|
id: string;
|
|
150
|
+
name: string;
|
|
151
151
|
netSuiteId: string;
|
|
152
152
|
subsidiaryId: string;
|
|
153
153
|
}[];
|
|
@@ -183,8 +183,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
183
183
|
}[];
|
|
184
184
|
enable: boolean;
|
|
185
185
|
locations: {
|
|
186
|
-
name: string;
|
|
187
186
|
id: string;
|
|
187
|
+
name: string;
|
|
188
188
|
type: "restaurant" | "warehouse";
|
|
189
189
|
netSuiteId: string;
|
|
190
190
|
subsidiaryId: string;
|
|
@@ -216,16 +216,16 @@ export declare const useNetSuiteApi: () => {
|
|
|
216
216
|
}[];
|
|
217
217
|
subsidiaries: {
|
|
218
218
|
parentId?: string | undefined;
|
|
219
|
-
name: string;
|
|
220
219
|
id: string;
|
|
220
|
+
name: string;
|
|
221
221
|
country: string;
|
|
222
222
|
currency: string;
|
|
223
223
|
}[];
|
|
224
224
|
vendors: {
|
|
225
225
|
externalId?: string | null | undefined;
|
|
226
226
|
custentity_financeapproval?: boolean | null | undefined;
|
|
227
|
-
name: string;
|
|
228
227
|
id: string;
|
|
228
|
+
name: string;
|
|
229
229
|
netSuiteId: string;
|
|
230
230
|
subsidiaryId: string;
|
|
231
231
|
}[];
|
|
@@ -234,8 +234,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
234
234
|
getItemAverageCosts(locationId: string): Promise<Record<string, number>>;
|
|
235
235
|
createInventoryTransfer(locationId: string, payload: InventoryTransferCreateDto): Promise<{
|
|
236
236
|
remark?: string | null | undefined;
|
|
237
|
-
reason?: string | null | undefined;
|
|
238
237
|
ref?: string | null | undefined;
|
|
238
|
+
reason?: string | null | undefined;
|
|
239
239
|
effectiveAt?: string | null | undefined;
|
|
240
240
|
skus?: {
|
|
241
241
|
history?: {
|
|
@@ -245,8 +245,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
245
245
|
remark?: string | null | undefined;
|
|
246
246
|
ref?: string | null | undefined;
|
|
247
247
|
measurement?: {
|
|
248
|
-
name: string;
|
|
249
248
|
id: string;
|
|
249
|
+
name: string;
|
|
250
250
|
abbrev: string;
|
|
251
251
|
conversion: {
|
|
252
252
|
amount: number;
|
|
@@ -260,8 +260,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
260
260
|
} | null | undefined;
|
|
261
261
|
physicalAmounts?: {
|
|
262
262
|
measurement?: {
|
|
263
|
-
name: string;
|
|
264
263
|
id: string;
|
|
264
|
+
name: string;
|
|
265
265
|
abbrev: string;
|
|
266
266
|
conversion: {
|
|
267
267
|
amount: number;
|
|
@@ -311,8 +311,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
311
311
|
measurement?: string | null | undefined;
|
|
312
312
|
inventoryBindings?: {
|
|
313
313
|
measurement?: {
|
|
314
|
-
name: string;
|
|
315
314
|
id: string;
|
|
315
|
+
name: string;
|
|
316
316
|
abbrev: string;
|
|
317
317
|
conversion: {
|
|
318
318
|
amount: number;
|
|
@@ -330,8 +330,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
330
330
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
331
331
|
defaultCost?: {
|
|
332
332
|
measurement?: {
|
|
333
|
-
name: string;
|
|
334
333
|
id: string;
|
|
334
|
+
name: string;
|
|
335
335
|
abbrev: string;
|
|
336
336
|
conversion: {
|
|
337
337
|
amount: number;
|
|
@@ -359,8 +359,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
359
359
|
abbrev: string;
|
|
360
360
|
precision: number;
|
|
361
361
|
measurements: {
|
|
362
|
-
name: string;
|
|
363
362
|
id: string;
|
|
363
|
+
name: string;
|
|
364
364
|
abbrev: string;
|
|
365
365
|
conversion: {
|
|
366
366
|
amount: number;
|
|
@@ -374,8 +374,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
374
374
|
remark?: string | null | undefined;
|
|
375
375
|
ref?: string | null | undefined;
|
|
376
376
|
measurement?: {
|
|
377
|
-
name: string;
|
|
378
377
|
id: string;
|
|
378
|
+
name: string;
|
|
379
379
|
abbrev: string;
|
|
380
380
|
conversion: {
|
|
381
381
|
amount: number;
|
|
@@ -389,8 +389,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
389
389
|
} | null | undefined;
|
|
390
390
|
physicalAmounts?: {
|
|
391
391
|
measurement?: {
|
|
392
|
-
name: string;
|
|
393
392
|
id: string;
|
|
393
|
+
name: string;
|
|
394
394
|
abbrev: string;
|
|
395
395
|
conversion: {
|
|
396
396
|
amount: number;
|
|
@@ -421,10 +421,11 @@ export declare const useNetSuiteApi: () => {
|
|
|
421
421
|
_id: string;
|
|
422
422
|
}>;
|
|
423
423
|
getInventoryTransferHistory(locationId: string, startDate?: Date, endDate?: Date): Promise<FdtoNetSuiteInventoryTransferRecord[]>;
|
|
424
|
-
|
|
424
|
+
getSyncLogs(query: string): Promise<{
|
|
425
425
|
url: string;
|
|
426
426
|
}>;
|
|
427
427
|
getMoreInfo(locationId: string, poId: string): Promise<FdtoNetSuiteOrderDetails>;
|
|
428
|
+
getChangeLogs(netsuiteId: string): Promise<NSOrderChangeLogDto[]>;
|
|
428
429
|
getUnSyncTransferInOrders(locationId: string): Promise<string[]>;
|
|
429
430
|
manualSyncMultipleTransferInOrders(netsuiteIds: string[]): Promise<void>;
|
|
430
431
|
getUnSyncPurchaseOrders(locationId: string): Promise<string[]>;
|