@feedmepos/mf-inventory-portal 1.0.9-dev.4 → 1.0.10-dev.1
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-BOKGVcoO.js → App-B650rzJv.js} +2 -2
- package/dist/{ApprovalView-Bo-4fnEU.js → ApprovalView-H0w0Pbkj.js} +2 -2
- package/dist/{BindingsDialog-DM2b4GN4.js → BindingsDialog-BTEnbuSr.js} +2 -2
- package/dist/{BindingsPicker-CJKBXA0c.js → BindingsPicker-DJVlBOBU.js} +3 -3
- package/dist/{BindingsTable-BxCEEJfb.js → BindingsTable-BWsGdzSB.js} +1 -1
- package/dist/{ClosingDraftView-bQxPF18V.js → ClosingDraftView-AWcZjvya.js} +106 -106
- package/dist/{ClosingTemplateView-DLkp9Qt8.js → ClosingTemplateView-N2Ap8Ekd.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CK3HdYVb.js → DeliveryOrderPrintPreview-C5EPAWPK.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DvCBsPdI.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DVfj4MgV.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-R8f-Q9Nk.js → FmUnitInput.vue_vue_type_script_setup_true_lang-wvRtPslo.js} +20 -20
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BOyqgaik.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DRygALNq.js} +1 -1
- package/dist/IngredientGroupView-B_xMnLFQ.js +604 -0
- package/dist/{IngredientsView-DmKCy_JQ.js → IngredientsView-DZxBsZI-.js} +4 -4
- package/dist/{IntegrationView-B1dzt8WK.js → IntegrationView-p63ruxVJ.js} +4 -4
- package/dist/{InventoryBindingForm-CeTlH0U1.js → InventoryBindingForm-DOCKvvbd.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DsM2bCNe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bzfh5vhC.js} +19 -19
- package/dist/{InventoryBindingSummary-QVSD87YL.js → InventoryBindingSummary-Bot16bHd.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C-lgLo2e.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cq1W66FY.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CEMRfo1C.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CLkcV3TQ.js} +1 -1
- package/dist/{PublishView-BYGKLC9D.js → PublishView-gf-pE1NP.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-CEVjGeom.js → PurchaseOrderPrintPreview-BB5aGGvb.js} +1 -1
- package/dist/{ReceiveRequestView-D5PcGCLv.js → ReceiveRequestView-CR2Ive4l.js} +42 -42
- package/dist/{RecipeView-DmTDCsvk.js → RecipeView-Cr1h7m7C.js} +3 -3
- package/dist/{StockView-EmTqUcP1.js → StockView-CbJu6pz1.js} +7 -7
- package/dist/{SupplierView-BaLnW761.js → SupplierView-DLnf0IXT.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-B3ew6mc5.js → TransferDetails.vue_vue_type_script_setup_true_lang-9saG4V9_.js} +36 -36
- package/dist/{TransferTemplateView-DoeLAFmJ.js → TransferTemplateView-Cwn20Rza.js} +114 -114
- package/dist/{UnitView-6Kobe5di.js → UnitView-ir5d8Ls0.js} +18 -18
- package/dist/{WarehouseView-BBMS14jU.js → WarehouseView-BA0b8JDG.js} +1 -1
- package/dist/api/inventory.d.ts +207 -0
- package/dist/{app-CUTIQqG_.js → app-DmpPc6HP.js} +15490 -15057
- package/dist/app.js +1 -1
- package/dist/{decimal-Bb7Chjpr.js → decimal-BdCdQEd5.js} +1 -1
- package/dist/{feature-D5GLIW5h.js → feature-B_qG9zNF.js} +579 -466
- package/dist/{format-unit-display-CqqBiewI.js → format-unit-display-y8ZPuai0.js} +29 -29
- package/dist/{index-B7QMXzGe.js → index-BdbeTU14.js} +2823 -2739
- package/dist/{index-DiEdX1Bs.js → index-rWHZ5j80.js} +2 -2
- package/dist/{stock-CO0XWh8j.js → stock-C05OFvav.js} +1 -1
- package/dist/stores/inventory.d.ts +211 -1
- package/dist/{supplier-C877x7mU.js → supplier-B58dle3W.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-ClufUFeU.js → use-ingredient-select-dialog-CrfP3e6M.js} +1 -1
- package/dist/{use-inventory-binding-dialog-BuRe6QNp.js → use-inventory-binding-dialog-D0RpVsqZ.js} +1 -1
- package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
- package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
- package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +218 -0
- package/dist/{vue-i18n-CxuQa0ds.js → vue-i18n-Dt--gl9w.js} +337 -337
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as H, computed as g, openBlock as v, createElementBlock as C, createElementVNode as l, Fragment as j, renderList as q, toDisplayString as V, createCommentVNode as
|
|
2
|
-
import { a as K, d as w, S as ce, f as pe, D as te, h as L, e as le, l as N, A as fe, i as
|
|
1
|
+
import { defineComponent as H, computed as g, openBlock as v, createElementBlock as C, createElementVNode as l, Fragment as j, renderList as q, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as $, createBlock as T, withCtx as A, createVNode as y, unref as o, isRef as ee, normalizeClass as re, normalizeStyle as ie, Teleport as ue, normalizeProps as de, guardReactiveProps as me } from "vue";
|
|
2
|
+
import { a as K, d as w, S as ce, f as pe, D as te, h as L, e as le, l as N, A as fe, i as J, K as ve, L as ye, p as ne, u as be, b as ge, z as xe, _ as _e, B as he, C as Ve, E as Ue } from "./app-DmpPc6HP.js";
|
|
3
3
|
import { useDialog as we, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Se, _ as ke } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as Ee, storeToRefs as Fe } from "pinia";
|
|
6
6
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
7
|
-
import { F as $e } from "./decimal-
|
|
8
|
-
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { F as $e } from "./decimal-BdCdQEd5.js";
|
|
8
|
+
import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cq1W66FY.js";
|
|
9
9
|
const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -51,7 +51,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
51
51
|
l("div", Me, V((n = a.bindedIngredient) != null && n.length ? "Convert binding" : "Item unit"), 1)
|
|
52
52
|
]);
|
|
53
53
|
}), 128))
|
|
54
|
-
])) :
|
|
54
|
+
])) : Y("", !0),
|
|
55
55
|
s.value.length ? (v(), C("div", Pe, [
|
|
56
56
|
p[1] || (p[1] = l("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
|
|
57
57
|
l("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
|
|
@@ -70,7 +70,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
70
70
|
l("div", Be, V((n = a.bindedIngredient) == null ? void 0 : n.slice(0, 3).map((_) => _.code).join(", ")) + " " + V(a.bindedIngredient && ((u = a.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((x = a.bindedIngredient) == null ? void 0 : x.length) - 3} more` : ""), 1)
|
|
71
71
|
]);
|
|
72
72
|
}), 128))
|
|
73
|
-
])) :
|
|
73
|
+
])) : Y("", !0),
|
|
74
74
|
d.value.length ? (v(), C("div", ze, [
|
|
75
75
|
p[2] || (p[2] = l("div", { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, [
|
|
76
76
|
l("div", { class: "flex-1 py-8 px-16" }, "Menu"),
|
|
@@ -89,7 +89,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
|
|
|
89
89
|
l("div", Ne, V((n = a.bindedIngredient) == null ? void 0 : n.slice(0, 3).map((_) => _.code).join(", ")) + " " + V(a.bindedIngredient && ((u = a.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((x = a.bindedIngredient) == null ? void 0 : x.length) - 3} more` : ""), 1)
|
|
90
90
|
]);
|
|
91
91
|
}), 128))
|
|
92
|
-
])) :
|
|
92
|
+
])) : Y("", !0)
|
|
93
93
|
]));
|
|
94
94
|
}
|
|
95
95
|
}), Q = Ee("unitForm", function() {
|
|
@@ -232,7 +232,7 @@ function qe() {
|
|
|
232
232
|
}
|
|
233
233
|
] };
|
|
234
234
|
}
|
|
235
|
-
const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge = { class: "flex-1" },
|
|
235
|
+
const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge = { class: "flex-1" }, Oe = { class: "flex-1" }, Ye = { class: "flex" }, Je = { class: "flex items-center" }, Qe = { class: "fm-typo-en-body-lg-600 flex-grow" }, We = { class: "flex flex-col gap-24" }, Xe = { class: "flex gap-24" }, Ze = { class: "flex-1" }, et = { class: "flex-1" }, tt = /* @__PURE__ */ H({
|
|
236
236
|
__name: "UnitForm",
|
|
237
237
|
props: {
|
|
238
238
|
mode: {},
|
|
@@ -316,8 +316,8 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
316
316
|
(t = (e = _.value) == null ? void 0 : e.resetInputs) == null || t.call(e);
|
|
317
317
|
}
|
|
318
318
|
}), (e, t) => {
|
|
319
|
-
const m = $("FmTextField"), I = $("FmStepperField"), D = $("FmButton"), U = $("FmCard"),
|
|
320
|
-
return v(), T(
|
|
319
|
+
const m = $("FmTextField"), I = $("FmStepperField"), D = $("FmButton"), U = $("FmCard"), O = $("FmForm");
|
|
320
|
+
return v(), T(O, {
|
|
321
321
|
ref_key: "formRef",
|
|
322
322
|
ref: _,
|
|
323
323
|
class: "flex flex-col gap-40",
|
|
@@ -338,7 +338,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
338
338
|
"label-mark": "required"
|
|
339
339
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
340
340
|
]),
|
|
341
|
-
l("div",
|
|
341
|
+
l("div", Oe, [
|
|
342
342
|
y(m, {
|
|
343
343
|
disabled: e.disabled,
|
|
344
344
|
label: o(s)("inventory.unit.symbol"),
|
|
@@ -360,7 +360,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
360
360
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
361
361
|
])
|
|
362
362
|
]),
|
|
363
|
-
l("div",
|
|
363
|
+
l("div", Ye, [
|
|
364
364
|
y(D, {
|
|
365
365
|
disabled: e.disabled,
|
|
366
366
|
type: "button",
|
|
@@ -376,7 +376,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
376
376
|
key: S.id
|
|
377
377
|
}, {
|
|
378
378
|
default: A(() => [
|
|
379
|
-
l("div",
|
|
379
|
+
l("div", Je, [
|
|
380
380
|
l("div", Qe, V(o(s)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
|
|
381
381
|
y(D, {
|
|
382
382
|
disabled: e.disabled,
|
|
@@ -413,7 +413,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
413
413
|
disabled: e.disabled,
|
|
414
414
|
class: "col-span-3",
|
|
415
415
|
label: o(s)("inventory.unit.measurement.conversion"),
|
|
416
|
-
"model-value": +o(
|
|
416
|
+
"model-value": +o(J)(e.modelValue.measurements[h].conversion),
|
|
417
417
|
"onUpdate:modelValue": (F) => n.value = n.value.map(
|
|
418
418
|
(P, R) => R === h ? {
|
|
419
419
|
...P,
|
|
@@ -424,10 +424,10 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
424
424
|
} : P
|
|
425
425
|
),
|
|
426
426
|
rules: [o(ye)(0)],
|
|
427
|
-
step: +o(
|
|
427
|
+
step: +o(J)({ amount: 1, precision: a.value }),
|
|
428
428
|
"helper-text": o(s)("inventory.unit.measurement.conversionHelper", {
|
|
429
429
|
measurementSymbol: e.modelValue.measurements[h].name || " measurement unit",
|
|
430
|
-
conversion: +o(
|
|
430
|
+
conversion: +o(J)(e.modelValue.measurements[h].conversion),
|
|
431
431
|
unitSymbol: p.value || "base unit"
|
|
432
432
|
})
|
|
433
433
|
}, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue", "rules", "step", "helper-text"])
|
|
@@ -572,7 +572,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
572
572
|
}
|
|
573
573
|
const u = M(""), x = g(() => p.value), { breakpoints: _ } = Ce(), e = g(() => _.value.xs || _.value.sm), t = g(() => e.value ? 10 : 20), m = xe(), { t: I } = G();
|
|
574
574
|
return (D, U) => {
|
|
575
|
-
const
|
|
575
|
+
const O = $("FmTable");
|
|
576
576
|
return v(), T(_e, {
|
|
577
577
|
title: o(I)("inventory.unit.title"),
|
|
578
578
|
actions: o(i).isEnabled ? [] : [
|
|
@@ -600,7 +600,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
|
|
|
600
600
|
search: u.value,
|
|
601
601
|
"onUpdate:search": U[0] || (U[0] = (E) => u.value = E)
|
|
602
602
|
}, null, 8, ["search"]),
|
|
603
|
-
y(
|
|
603
|
+
y(O, {
|
|
604
604
|
style: ie(o(m).tableHeight),
|
|
605
605
|
"column-defs": o(a),
|
|
606
606
|
"row-data": r.value,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as xe, openBlock as R, createElementBlock as z, toRaw as be, reactive as Fe, createElementVNode as g, toDisplayString as L, unref as c, createVNode as V, resolveComponent as B, createSlots as $e, withCtx as q, createTextVNode as Se, renderSlot as We, createBlock as I, createCommentVNode as Ae, computed as $, isRef as we, normalizeClass as De, normalizeStyle as Pe } from "vue";
|
|
2
|
-
import { X as Re, ak as Ue, al as Ee, f as Te, D as Ve, h as J, e as G, am as Le, ad as Ne, l as N, d as T, S as Be, u as qe, z as ze, _ as Ie, B as je, C as Oe, E as Q } from "./app-
|
|
2
|
+
import { X as Re, ak as Ue, al as Ee, f as Te, D as Ve, h as J, e as G, am as Le, ad as Ne, l as N, d as T, S as Be, u as qe, z as ze, _ as Ie, B as je, C as Oe, E as Q } from "./app-DmpPc6HP.js";
|
|
3
3
|
import { useCoreStore as Ge, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ke, useDialog as Me, 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";
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -215,6 +215,75 @@ export declare const useInventoryApi: () => {
|
|
|
215
215
|
};
|
|
216
216
|
}[];
|
|
217
217
|
}[] | null | undefined;
|
|
218
|
+
skuGroup?: {
|
|
219
|
+
ref?: string | null | undefined;
|
|
220
|
+
_id: string;
|
|
221
|
+
name: string;
|
|
222
|
+
unit: {
|
|
223
|
+
_id: string;
|
|
224
|
+
name: string;
|
|
225
|
+
abbrev: string;
|
|
226
|
+
precision: number;
|
|
227
|
+
measurements: {
|
|
228
|
+
id: string;
|
|
229
|
+
name: string;
|
|
230
|
+
abbrev: string;
|
|
231
|
+
conversion: {
|
|
232
|
+
amount: number;
|
|
233
|
+
precision: number;
|
|
234
|
+
};
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
skus: {
|
|
238
|
+
trackingMeasurement?: string | null | undefined;
|
|
239
|
+
convert?: {
|
|
240
|
+
measurement?: string | null | undefined;
|
|
241
|
+
inventoryBindings?: {
|
|
242
|
+
measurement?: {
|
|
243
|
+
id: string;
|
|
244
|
+
name: string;
|
|
245
|
+
abbrev: string;
|
|
246
|
+
conversion: {
|
|
247
|
+
amount: number;
|
|
248
|
+
precision: number;
|
|
249
|
+
};
|
|
250
|
+
} | null | undefined;
|
|
251
|
+
id: string;
|
|
252
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
253
|
+
amount: {
|
|
254
|
+
amount: number;
|
|
255
|
+
precision: number;
|
|
256
|
+
};
|
|
257
|
+
}[] | null | undefined;
|
|
258
|
+
} | null | undefined;
|
|
259
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
260
|
+
defaultCost?: {
|
|
261
|
+
measurement?: {
|
|
262
|
+
id: string;
|
|
263
|
+
name: string;
|
|
264
|
+
abbrev: string;
|
|
265
|
+
conversion: {
|
|
266
|
+
amount: number;
|
|
267
|
+
precision: number;
|
|
268
|
+
};
|
|
269
|
+
} | null | undefined;
|
|
270
|
+
costPerUnit: {
|
|
271
|
+
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";
|
|
272
|
+
amount: number;
|
|
273
|
+
precision: number;
|
|
274
|
+
};
|
|
275
|
+
} | null | undefined;
|
|
276
|
+
operationalGroup?: string | null | undefined;
|
|
277
|
+
thresholds?: {
|
|
278
|
+
low: number;
|
|
279
|
+
mid: number;
|
|
280
|
+
} | null | undefined;
|
|
281
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
282
|
+
_id: string;
|
|
283
|
+
name: string;
|
|
284
|
+
code: string;
|
|
285
|
+
}[];
|
|
286
|
+
}[] | null | undefined;
|
|
218
287
|
updatedAt?: string | null | undefined;
|
|
219
288
|
_id: string;
|
|
220
289
|
}>>;
|
|
@@ -342,6 +411,75 @@ export declare const useInventoryApi: () => {
|
|
|
342
411
|
};
|
|
343
412
|
}[];
|
|
344
413
|
}[] | null | undefined;
|
|
414
|
+
skuGroup?: {
|
|
415
|
+
ref?: string | null | undefined;
|
|
416
|
+
_id: string;
|
|
417
|
+
name: string;
|
|
418
|
+
unit: {
|
|
419
|
+
_id: string;
|
|
420
|
+
name: string;
|
|
421
|
+
abbrev: string;
|
|
422
|
+
precision: number;
|
|
423
|
+
measurements: {
|
|
424
|
+
id: string;
|
|
425
|
+
name: string;
|
|
426
|
+
abbrev: string;
|
|
427
|
+
conversion: {
|
|
428
|
+
amount: number;
|
|
429
|
+
precision: number;
|
|
430
|
+
};
|
|
431
|
+
}[];
|
|
432
|
+
};
|
|
433
|
+
skus: {
|
|
434
|
+
trackingMeasurement?: string | null | undefined;
|
|
435
|
+
convert?: {
|
|
436
|
+
measurement?: string | null | undefined;
|
|
437
|
+
inventoryBindings?: {
|
|
438
|
+
measurement?: {
|
|
439
|
+
id: string;
|
|
440
|
+
name: string;
|
|
441
|
+
abbrev: string;
|
|
442
|
+
conversion: {
|
|
443
|
+
amount: number;
|
|
444
|
+
precision: number;
|
|
445
|
+
};
|
|
446
|
+
} | null | undefined;
|
|
447
|
+
id: string;
|
|
448
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
449
|
+
amount: {
|
|
450
|
+
amount: number;
|
|
451
|
+
precision: number;
|
|
452
|
+
};
|
|
453
|
+
}[] | null | undefined;
|
|
454
|
+
} | null | undefined;
|
|
455
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
456
|
+
defaultCost?: {
|
|
457
|
+
measurement?: {
|
|
458
|
+
id: string;
|
|
459
|
+
name: string;
|
|
460
|
+
abbrev: string;
|
|
461
|
+
conversion: {
|
|
462
|
+
amount: number;
|
|
463
|
+
precision: number;
|
|
464
|
+
};
|
|
465
|
+
} | null | undefined;
|
|
466
|
+
costPerUnit: {
|
|
467
|
+
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";
|
|
468
|
+
amount: number;
|
|
469
|
+
precision: number;
|
|
470
|
+
};
|
|
471
|
+
} | null | undefined;
|
|
472
|
+
operationalGroup?: string | null | undefined;
|
|
473
|
+
thresholds?: {
|
|
474
|
+
low: number;
|
|
475
|
+
mid: number;
|
|
476
|
+
} | null | undefined;
|
|
477
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
478
|
+
_id: string;
|
|
479
|
+
name: string;
|
|
480
|
+
code: string;
|
|
481
|
+
}[];
|
|
482
|
+
}[] | null | undefined;
|
|
345
483
|
updatedAt?: string | null | undefined;
|
|
346
484
|
_id: string;
|
|
347
485
|
}>>;
|
|
@@ -469,6 +607,75 @@ export declare const useInventoryApi: () => {
|
|
|
469
607
|
};
|
|
470
608
|
}[];
|
|
471
609
|
}[] | null | undefined;
|
|
610
|
+
skuGroup?: {
|
|
611
|
+
ref?: string | null | undefined;
|
|
612
|
+
_id: string;
|
|
613
|
+
name: string;
|
|
614
|
+
unit: {
|
|
615
|
+
_id: string;
|
|
616
|
+
name: string;
|
|
617
|
+
abbrev: string;
|
|
618
|
+
precision: number;
|
|
619
|
+
measurements: {
|
|
620
|
+
id: string;
|
|
621
|
+
name: string;
|
|
622
|
+
abbrev: string;
|
|
623
|
+
conversion: {
|
|
624
|
+
amount: number;
|
|
625
|
+
precision: number;
|
|
626
|
+
};
|
|
627
|
+
}[];
|
|
628
|
+
};
|
|
629
|
+
skus: {
|
|
630
|
+
trackingMeasurement?: string | null | undefined;
|
|
631
|
+
convert?: {
|
|
632
|
+
measurement?: string | null | undefined;
|
|
633
|
+
inventoryBindings?: {
|
|
634
|
+
measurement?: {
|
|
635
|
+
id: string;
|
|
636
|
+
name: string;
|
|
637
|
+
abbrev: string;
|
|
638
|
+
conversion: {
|
|
639
|
+
amount: number;
|
|
640
|
+
precision: number;
|
|
641
|
+
};
|
|
642
|
+
} | null | undefined;
|
|
643
|
+
id: string;
|
|
644
|
+
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
645
|
+
amount: {
|
|
646
|
+
amount: number;
|
|
647
|
+
precision: number;
|
|
648
|
+
};
|
|
649
|
+
}[] | null | undefined;
|
|
650
|
+
} | null | undefined;
|
|
651
|
+
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
652
|
+
defaultCost?: {
|
|
653
|
+
measurement?: {
|
|
654
|
+
id: string;
|
|
655
|
+
name: string;
|
|
656
|
+
abbrev: string;
|
|
657
|
+
conversion: {
|
|
658
|
+
amount: number;
|
|
659
|
+
precision: number;
|
|
660
|
+
};
|
|
661
|
+
} | null | undefined;
|
|
662
|
+
costPerUnit: {
|
|
663
|
+
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";
|
|
664
|
+
amount: number;
|
|
665
|
+
precision: number;
|
|
666
|
+
};
|
|
667
|
+
} | null | undefined;
|
|
668
|
+
operationalGroup?: string | null | undefined;
|
|
669
|
+
thresholds?: {
|
|
670
|
+
low: number;
|
|
671
|
+
mid: number;
|
|
672
|
+
} | null | undefined;
|
|
673
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
674
|
+
_id: string;
|
|
675
|
+
name: string;
|
|
676
|
+
code: string;
|
|
677
|
+
}[];
|
|
678
|
+
}[] | null | undefined;
|
|
472
679
|
updatedAt?: string | null | undefined;
|
|
473
680
|
_id: string;
|
|
474
681
|
}>>;
|