@feedmepos/mf-inventory-portal 1.2.12-dev.2 → 1.2.12
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-T4sL7Sy4.js → App-CP0Qx_82.js} +40 -44
- package/dist/{ApprovalView-CfmNwkYs.js → ApprovalView-D8_PzEpZ.js} +30 -30
- package/dist/{BindingsDialog-DDYAQsNs.js → BindingsDialog-BbpKhb0L.js} +2 -2
- package/dist/{BindingsPicker-CXZhlZ4b.js → BindingsPicker-DzDxisHj.js} +1 -1
- package/dist/{BindingsTable-LQ59h-NA.js → BindingsTable-DCXXSY8e.js} +1 -1
- package/dist/{ClosingDraftView-B1J4RCvY.js → ClosingDraftView-CkF-9An8.js} +129 -129
- package/dist/{ClosingTemplateView-6NoqcDMF.js → ClosingTemplateView-Ce1l7n0x.js} +28 -28
- package/dist/{DeliveryOrderPrintPreview--XMB1yg_.js → DeliveryOrderPrintPreview-CFzsECiK.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BXxGymbF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ZSERZzyn.js} +3 -3
- package/dist/{FmMultiselectDialog-DPPNjHO8.js → FmMultiselectDialog-DP992D0Q.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CSgYZv-j.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CzUvuj_c.js} +45 -45
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-tUefDFh2.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DsYwSn0d.js} +1 -1
- package/dist/{IngredientGroupView-BjtjeGay.js → IngredientGroupView-DUiKKpvF.js} +32 -31
- package/dist/IngredientsView-C3ozIXV8.js +2475 -0
- package/dist/{IntegrationView-D8HiAM5K.js → IntegrationView-CydpIwrf.js} +57 -57
- package/dist/{InventoryBindingForm-DCtBdWkM.js → InventoryBindingForm-BVd2FzOW.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-RxoPehX0.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYp_JSBb.js} +31 -31
- package/dist/{InventoryBindingSummary-DGLMoDKd.js → InventoryBindingSummary-Dthool-6.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0ElZcnn.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DR0_Qtyc.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BNm3V8o4.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BLfGb7mm.js} +1 -1
- package/dist/{PublishView-DQcrQkVJ.js → PublishView-BE_aIhZ6.js} +15 -15
- package/dist/{PurchaseOrderPrintPreview-1NMEozJD.js → PurchaseOrderPrintPreview-CGeqqFg-.js} +1 -1
- package/dist/{ReceiveRequestView-BFs8VYre.js → ReceiveRequestView-Bul9Esf1.js} +63 -62
- package/dist/RecipeView-B9AGELV7.js +621 -0
- package/dist/{StockView-B80E0r1r.js → StockView-fpJrx4Bd.js} +166 -165
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CFFDw9Mj.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DeOEgJ1N.js} +1 -1
- package/dist/{SupplierView-E_fX8cgQ.js → SupplierView-cfZTJqef.js} +492 -490
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-m5o77oG-.js +3057 -0
- package/dist/{TransferTemplateView-B-uBdQgp.js → TransferTemplateView-PZ8Mad4D.js} +48 -48
- package/dist/UnitView-C3gJq1Mt.js +667 -0
- package/dist/{WarehouseView-DZSetx-S.js → WarehouseView-CWGQjwJm.js} +32 -32
- package/dist/api/inventory.d.ts +0 -306
- package/dist/api/purchase-order.d.ts +0 -1
- package/dist/{app-CLG8lnmY.js → app-D5PlbdVa.js} +8475 -8810
- package/dist/app.d.ts +0 -169
- package/dist/app.js +1 -1
- package/dist/array-Ca8T3f_G.js +44 -0
- package/dist/{closing-template-CHz79DOu.js → closing-template-C4FizLUw.js} +1 -1
- package/dist/{decimal-BNFgzHyV.js → decimal-Cv7FZ14q.js} +1 -1
- package/dist/{format-unit-display-DYY0F6KV.js → format-unit-display-B0NO6FLh.js} +25 -25
- package/dist/helper/number.d.ts +0 -1
- package/dist/{index-Bu7FmfHi.js → index-BCo2jtpG.js} +1 -1
- package/dist/{index-DiYSFnk1.js → index-DaJ92t7D.js} +1 -1
- package/dist/{purchase-order-template-DtfKTZLV.js → purchase-order-template-DLkR7Mva.js} +1 -1
- package/dist/router/name.d.ts +0 -1
- package/dist/{stock-RE6RExO9.js → stock-AUSAF9Ij.js} +1 -1
- package/dist/stores/feature.d.ts +0 -2
- package/dist/stores/inventory.d.ts +199 -26
- package/dist/{supplier-DkLAGLl7.js → supplier-DBXoP2UX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Bg_kT9z-.js → use-ingredient-select-dialog-DZQR6jfi.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CpS4GfwM.js → use-inventory-binding-dialog-8PZ37vLV.js} +1 -1
- package/dist/views/ingredients/helper/import-export.helper.d.ts +1 -3
- package/dist/views/recipe/RecipeView.vue.d.ts +0 -1
- package/dist/views/unit/UnitView.vue.d.ts +0 -1
- package/package.json +1 -1
- package/dist/ImportView-ClHIcxRw.js +0 -1195
- package/dist/IngredientsView-BA6Y-uhX.js +0 -2240
- package/dist/RecipeView-DgF_kShy.js +0 -636
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Bxl2Gege.js +0 -3221
- package/dist/UnitView-DOIy_8oz.js +0 -674
- package/dist/import-export.helper-uZNU9S1q.js +0 -243
- package/dist/views/import/ImportView.vue.d.ts +0 -3
- package/dist/views/import/components/ImportDialog.vue.d.ts +0 -2
- package/dist/views/import/helper/import-export.helper.d.ts +0 -4
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +0 -17
- package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +0 -16
- package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +0 -2
- package/dist/views/recipe/helper/import-recipe.d.ts +0 -48
- package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +0 -12
- package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +0 -6
- package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +0 -9
- package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +0 -5
- package/dist/views/unit/helper/import-export.helper.d.ts +0 -40
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as q, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as q, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Pe } from "vue";
|
|
2
|
+
import { a8 as Re, aA as Ue, aB as Ee, i as Ne, D as _e, j as Z, f as G, aC as Le, at as Ie, aD as Be, p as L, c as qe, e as U, S as ze, u as je, O as Oe, P as Ge, Q as Ke, T as He, V as J } from "./app-D5PlbdVa.js";
|
|
3
3
|
import { useCoreStore as Ce, useI18n as O } from "@feedmepos/mf-common";
|
|
4
|
-
import { useDialogChild as
|
|
4
|
+
import { useDialogChild as Qe, useDialog as xe, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
|
|
6
6
|
import { _ as Ze } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
7
7
|
const X = Re((v, h) => {
|
|
@@ -29,12 +29,12 @@ const X = Re((v, h) => {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
});
|
|
32
|
-
function
|
|
32
|
+
function Je() {
|
|
33
33
|
return {
|
|
34
34
|
warehouses: []
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
const ke = D(
|
|
37
|
+
const ke = D(Je());
|
|
38
38
|
function Fe() {
|
|
39
39
|
return {
|
|
40
40
|
// state
|
|
@@ -282,9 +282,9 @@ const eo = /* @__PURE__ */ j({
|
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
setup(v) {
|
|
285
|
-
const h = v, b =
|
|
285
|
+
const h = v, b = Qe(), a = re(), { t: n } = O(), i = Se(
|
|
286
286
|
G(h.coordinate ? h.coordinate : se.jb)
|
|
287
|
-
), r = D(""), l =
|
|
287
|
+
), r = D(""), l = Le(async function() {
|
|
288
288
|
r.value = await a.getFirstMatchingAddress(
|
|
289
289
|
i.lat,
|
|
290
290
|
i.lng
|
|
@@ -324,7 +324,7 @@ const eo = /* @__PURE__ */ j({
|
|
|
324
324
|
}, null, 8, ["center", "markers"])
|
|
325
325
|
]));
|
|
326
326
|
}
|
|
327
|
-
}), co = /* @__PURE__ */
|
|
327
|
+
}), co = /* @__PURE__ */ Ie(io, [["__scopeId", "data-v-272f5e8b"]]);
|
|
328
328
|
function Ae([v, h]) {
|
|
329
329
|
return {
|
|
330
330
|
lat: h,
|
|
@@ -411,13 +411,13 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
411
411
|
"helper-state": c.helperState,
|
|
412
412
|
onClick: C[0] || (C[0] = (A) => F())
|
|
413
413
|
}, Te({
|
|
414
|
-
default:
|
|
414
|
+
default: I(({ invalid: A }) => [
|
|
415
415
|
c.modelValue && c.modelValue[0] && c.modelValue[1] ? (W(), q("div", fo, [
|
|
416
416
|
k(S, {
|
|
417
417
|
invalid: A,
|
|
418
418
|
class: "fm-typo-en-body-lg-400"
|
|
419
419
|
}, {
|
|
420
|
-
default:
|
|
420
|
+
default: I(() => [
|
|
421
421
|
Me(E(w(c.modelValue)), 1)
|
|
422
422
|
]),
|
|
423
423
|
_: 2
|
|
@@ -434,7 +434,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
434
434
|
}, [
|
|
435
435
|
c.$slots.label ? {
|
|
436
436
|
name: "label",
|
|
437
|
-
fn:
|
|
437
|
+
fn: I(() => [
|
|
438
438
|
De(c.$slots, "label")
|
|
439
439
|
]),
|
|
440
440
|
key: "0"
|
|
@@ -611,12 +611,12 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
611
611
|
ref: V,
|
|
612
612
|
onValidationSuccess: e[13] || (e[13] = (p) => n("validation-success"))
|
|
613
613
|
}, {
|
|
614
|
-
default:
|
|
614
|
+
default: I(() => [
|
|
615
615
|
g("div", ho, [
|
|
616
616
|
g("div", bo, [
|
|
617
617
|
k(t, {
|
|
618
618
|
disabled: o.disabled,
|
|
619
|
-
rules: [u(
|
|
619
|
+
rules: [u(L)()],
|
|
620
620
|
"label-mark": "required",
|
|
621
621
|
label: u(r)("inventory.warehouse.companyName"),
|
|
622
622
|
modelValue: l.value,
|
|
@@ -624,7 +624,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
624
624
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
625
625
|
k(t, {
|
|
626
626
|
disabled: o.disabled,
|
|
627
|
-
rules: [u(
|
|
627
|
+
rules: [u(L)()],
|
|
628
628
|
"label-mark": "required",
|
|
629
629
|
label: u(r)("inventory.warehouse.registrationNo"),
|
|
630
630
|
modelValue: d.value,
|
|
@@ -636,7 +636,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
636
636
|
g("div", Vo, [
|
|
637
637
|
k(t, {
|
|
638
638
|
disabled: o.disabled,
|
|
639
|
-
rules: [u(
|
|
639
|
+
rules: [u(L)()],
|
|
640
640
|
"label-mark": "required",
|
|
641
641
|
label: u(r)("inventory.warehouse.address.line1"),
|
|
642
642
|
modelValue: M.value,
|
|
@@ -651,7 +651,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
651
651
|
}, null, 8, ["disabled", "label", "modelValue"]),
|
|
652
652
|
k(t, {
|
|
653
653
|
disabled: o.disabled,
|
|
654
|
-
rules: [u(
|
|
654
|
+
rules: [u(L)()],
|
|
655
655
|
"label-mark": "required",
|
|
656
656
|
label: u(r)("inventory.warehouse.address.city"),
|
|
657
657
|
modelValue: x.value,
|
|
@@ -659,7 +659,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
659
659
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
660
660
|
k(t, {
|
|
661
661
|
disabled: o.disabled,
|
|
662
|
-
rules: [u(
|
|
662
|
+
rules: [u(L)()],
|
|
663
663
|
"label-mark": "required",
|
|
664
664
|
label: u(r)("inventory.warehouse.address.postcode"),
|
|
665
665
|
modelValue: T.value,
|
|
@@ -667,7 +667,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
667
667
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
668
668
|
k(t, {
|
|
669
669
|
disabled: o.disabled,
|
|
670
|
-
rules: [u(
|
|
670
|
+
rules: [u(L)()],
|
|
671
671
|
"label-mark": "required",
|
|
672
672
|
label: u(r)("inventory.warehouse.address.state"),
|
|
673
673
|
modelValue: F.value,
|
|
@@ -675,7 +675,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
675
675
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
676
676
|
k(t, {
|
|
677
677
|
disabled: o.disabled,
|
|
678
|
-
rules: [u(
|
|
678
|
+
rules: [u(L)()],
|
|
679
679
|
"label-mark": "required",
|
|
680
680
|
label: u(r)("inventory.warehouse.address.country"),
|
|
681
681
|
modelValue: R.value,
|
|
@@ -687,7 +687,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
687
687
|
g("div", ko, E(u(r)("inventory.warehouse.coordinate.title")), 1),
|
|
688
688
|
k(vo, {
|
|
689
689
|
disabled: o.disabled,
|
|
690
|
-
rules: [u(
|
|
690
|
+
rules: [u(L)()],
|
|
691
691
|
"label-mark": "required",
|
|
692
692
|
modelValue: C.value,
|
|
693
693
|
"onUpdate:modelValue": e[8] || (e[8] = (p) => C.value = p)
|
|
@@ -711,7 +711,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
711
711
|
g("div", Fo, [
|
|
712
712
|
k(y, {
|
|
713
713
|
disabled: o.disabled,
|
|
714
|
-
rules: [u(
|
|
714
|
+
rules: [u(L)()],
|
|
715
715
|
"label-mark": "required",
|
|
716
716
|
label: u(r)("inventory.warehouse.contact.phoneNumber"),
|
|
717
717
|
modelValue: S.value,
|
|
@@ -862,7 +862,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
862
862
|
"close-button": "",
|
|
863
863
|
"max-width": 500
|
|
864
864
|
}, {
|
|
865
|
-
default:
|
|
865
|
+
default: I(() => {
|
|
866
866
|
var V;
|
|
867
867
|
return [
|
|
868
868
|
(W(), z($o, {
|
|
@@ -877,7 +877,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
877
877
|
}, null, 8, ["modelValue", "disabled"]))
|
|
878
878
|
];
|
|
879
879
|
}),
|
|
880
|
-
"side-sheet-footer":
|
|
880
|
+
"side-sheet-footer": I(() => [
|
|
881
881
|
g("div", So, [
|
|
882
882
|
k(A, {
|
|
883
883
|
loading: i.value,
|
|
@@ -981,7 +981,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
981
981
|
],
|
|
982
982
|
"onClick:action": c
|
|
983
983
|
}, {
|
|
984
|
-
default:
|
|
984
|
+
default: I(() => [
|
|
985
985
|
g("div", {
|
|
986
986
|
class: We([
|
|
987
987
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -1006,35 +1006,35 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
1006
1006
|
key: a.value.length,
|
|
1007
1007
|
"page-size": A.value
|
|
1008
1008
|
}, {
|
|
1009
|
-
"list-row":
|
|
1009
|
+
"list-row": I((t) => [
|
|
1010
1010
|
k(He, {
|
|
1011
1011
|
row: t,
|
|
1012
1012
|
onRowClick: (s) => w(s.original)
|
|
1013
1013
|
}, {
|
|
1014
|
-
default:
|
|
1015
|
-
var y, _, p, P, K, ne, ue, ie, H, de, ce, pe, me, fe,
|
|
1014
|
+
default: I((s) => {
|
|
1015
|
+
var y, _, p, P, K, ne, ue, ie, H, de, ce, pe, me, fe, Q, ye, ve, he, be, Y, ge;
|
|
1016
1016
|
return [
|
|
1017
1017
|
g("div", Do, [
|
|
1018
1018
|
g("div", Wo, [
|
|
1019
|
-
k(u(
|
|
1019
|
+
k(u(J), {
|
|
1020
1020
|
render: (p = (_ = (y = s.warehouse) == null ? void 0 : y.column) == null ? void 0 : _.columnDef) == null ? void 0 : p.cell,
|
|
1021
1021
|
props: (K = (P = s.warehouse) == null ? void 0 : P.getContext) == null ? void 0 : K.call(P)
|
|
1022
1022
|
}, null, 8, ["render", "props"])
|
|
1023
1023
|
]),
|
|
1024
1024
|
g("div", Po, [
|
|
1025
|
-
k(u(
|
|
1025
|
+
k(u(J), {
|
|
1026
1026
|
render: (ie = (ue = (ne = s.contact) == null ? void 0 : ne.column) == null ? void 0 : ue.columnDef) == null ? void 0 : ie.cell,
|
|
1027
1027
|
props: (de = (H = s.contact) == null ? void 0 : H.getContext) == null ? void 0 : de.call(H)
|
|
1028
1028
|
}, null, 8, ["render", "props"])
|
|
1029
1029
|
]),
|
|
1030
1030
|
(ce = t.original) != null && ce.email ? (W(), q("div", Ro, [
|
|
1031
|
-
k(u(
|
|
1031
|
+
k(u(J), {
|
|
1032
1032
|
render: (fe = (me = (pe = s.email) == null ? void 0 : pe.column) == null ? void 0 : me.columnDef) == null ? void 0 : fe.cell,
|
|
1033
|
-
props: (ye = (
|
|
1033
|
+
props: (ye = (Q = s.email) == null ? void 0 : Q.getContext) == null ? void 0 : ye.call(Q)
|
|
1034
1034
|
}, null, 8, ["render", "props"])
|
|
1035
1035
|
])) : ae("", !0),
|
|
1036
1036
|
g("div", Uo, [
|
|
1037
|
-
k(u(
|
|
1037
|
+
k(u(J), {
|
|
1038
1038
|
render: (be = (he = (ve = s.address) == null ? void 0 : ve.column) == null ? void 0 : he.columnDef) == null ? void 0 : be.cell,
|
|
1039
1039
|
props: (ge = (Y = s.address) == null ? void 0 : Y.getContext) == null ? void 0 : ge.call(Y)
|
|
1040
1040
|
}, null, 8, ["render", "props"])
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type WithRev } from '@/api/type';
|
|
2
|
-
import type { FdtoBulkSkuRequest, FdtoBulkUnitsRequest, FdtoBulkRecipeRequest } from '@feedmepos/zod-inventory';
|
|
3
2
|
export declare const useInventoryApi: () => {
|
|
4
3
|
readInventoryLocations(): Promise<{
|
|
5
4
|
inventory?: {
|
|
@@ -737,311 +736,6 @@ export declare const useInventoryApi: () => {
|
|
|
737
736
|
};
|
|
738
737
|
}[];
|
|
739
738
|
}>;
|
|
740
|
-
importUnits(units: FdtoBulkUnitsRequest): Promise<{
|
|
741
|
-
inventory: {
|
|
742
|
-
unit?: {
|
|
743
|
-
_id: string;
|
|
744
|
-
name: string;
|
|
745
|
-
abbrev: string;
|
|
746
|
-
precision: number;
|
|
747
|
-
measurements: {
|
|
748
|
-
id: string;
|
|
749
|
-
name: string;
|
|
750
|
-
abbrev: string;
|
|
751
|
-
conversion: {
|
|
752
|
-
amount: number;
|
|
753
|
-
precision: number;
|
|
754
|
-
};
|
|
755
|
-
}[];
|
|
756
|
-
}[] | null | undefined;
|
|
757
|
-
recipe?: {
|
|
758
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
759
|
-
_id: string;
|
|
760
|
-
name: string;
|
|
761
|
-
contains: {
|
|
762
|
-
measurement?: {
|
|
763
|
-
id: string;
|
|
764
|
-
name: string;
|
|
765
|
-
abbrev: string;
|
|
766
|
-
conversion: {
|
|
767
|
-
amount: number;
|
|
768
|
-
precision: number;
|
|
769
|
-
};
|
|
770
|
-
} | null | undefined;
|
|
771
|
-
id: string;
|
|
772
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
773
|
-
amount: {
|
|
774
|
-
amount: number;
|
|
775
|
-
precision: number;
|
|
776
|
-
};
|
|
777
|
-
}[];
|
|
778
|
-
}[] | null | undefined;
|
|
779
|
-
sku?: {
|
|
780
|
-
isInactive?: boolean | null | undefined;
|
|
781
|
-
trackingMeasurement?: string | null | undefined;
|
|
782
|
-
convert?: {
|
|
783
|
-
measurement?: string | null | undefined;
|
|
784
|
-
inventoryBindings?: {
|
|
785
|
-
measurement?: {
|
|
786
|
-
id: string;
|
|
787
|
-
name: string;
|
|
788
|
-
abbrev: string;
|
|
789
|
-
conversion: {
|
|
790
|
-
amount: number;
|
|
791
|
-
precision: number;
|
|
792
|
-
};
|
|
793
|
-
} | null | undefined;
|
|
794
|
-
id: string;
|
|
795
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
796
|
-
amount: {
|
|
797
|
-
amount: number;
|
|
798
|
-
precision: number;
|
|
799
|
-
};
|
|
800
|
-
}[] | null | undefined;
|
|
801
|
-
} | null | undefined;
|
|
802
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
803
|
-
defaultCost?: {
|
|
804
|
-
measurement?: {
|
|
805
|
-
id: string;
|
|
806
|
-
name: string;
|
|
807
|
-
abbrev: string;
|
|
808
|
-
conversion: {
|
|
809
|
-
amount: number;
|
|
810
|
-
precision: number;
|
|
811
|
-
};
|
|
812
|
-
} | null | undefined;
|
|
813
|
-
costPerUnit: {
|
|
814
|
-
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";
|
|
815
|
-
amount: number;
|
|
816
|
-
precision: number;
|
|
817
|
-
};
|
|
818
|
-
} | null | undefined;
|
|
819
|
-
operationalGroup?: string | null | undefined;
|
|
820
|
-
thresholds?: {
|
|
821
|
-
low: number;
|
|
822
|
-
mid: number;
|
|
823
|
-
} | null | undefined;
|
|
824
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
825
|
-
_id: string;
|
|
826
|
-
name: string;
|
|
827
|
-
code: string;
|
|
828
|
-
unit: {
|
|
829
|
-
_id: string;
|
|
830
|
-
name: string;
|
|
831
|
-
abbrev: string;
|
|
832
|
-
precision: number;
|
|
833
|
-
measurements: {
|
|
834
|
-
id: string;
|
|
835
|
-
name: string;
|
|
836
|
-
abbrev: string;
|
|
837
|
-
conversion: {
|
|
838
|
-
amount: number;
|
|
839
|
-
precision: number;
|
|
840
|
-
};
|
|
841
|
-
}[];
|
|
842
|
-
};
|
|
843
|
-
}[] | null | undefined;
|
|
844
|
-
skuGroup?: {
|
|
845
|
-
ref?: string | null | undefined;
|
|
846
|
-
defaultSkuRefs?: {
|
|
847
|
-
priority?: number | null | undefined;
|
|
848
|
-
trackingMeasurement?: string | null | undefined;
|
|
849
|
-
default?: boolean | null | undefined;
|
|
850
|
-
_id: string;
|
|
851
|
-
}[] | null | undefined;
|
|
852
|
-
rules?: {
|
|
853
|
-
rule?: any;
|
|
854
|
-
_id: string;
|
|
855
|
-
name: string;
|
|
856
|
-
skuRefs: {
|
|
857
|
-
priority?: number | null | undefined;
|
|
858
|
-
trackingMeasurement?: string | null | undefined;
|
|
859
|
-
default?: boolean | null | undefined;
|
|
860
|
-
_id: string;
|
|
861
|
-
}[];
|
|
862
|
-
}[] | null | undefined;
|
|
863
|
-
_id: string;
|
|
864
|
-
name: string;
|
|
865
|
-
}[] | null | undefined;
|
|
866
|
-
updatedAt?: string | null | undefined;
|
|
867
|
-
_id: string;
|
|
868
|
-
_rev: string;
|
|
869
|
-
};
|
|
870
|
-
errors: {
|
|
871
|
-
error?: any;
|
|
872
|
-
data: {
|
|
873
|
-
_id: string;
|
|
874
|
-
name: string;
|
|
875
|
-
abbrev: string;
|
|
876
|
-
precision: number;
|
|
877
|
-
measurements: {
|
|
878
|
-
id: string;
|
|
879
|
-
name: string;
|
|
880
|
-
abbrev: string;
|
|
881
|
-
conversion: {
|
|
882
|
-
amount: number;
|
|
883
|
-
precision: number;
|
|
884
|
-
};
|
|
885
|
-
}[];
|
|
886
|
-
};
|
|
887
|
-
}[];
|
|
888
|
-
}>;
|
|
889
|
-
importRecipes(recipes: FdtoBulkRecipeRequest): Promise<{
|
|
890
|
-
inventory: {
|
|
891
|
-
unit?: {
|
|
892
|
-
_id: string;
|
|
893
|
-
name: string;
|
|
894
|
-
abbrev: string;
|
|
895
|
-
precision: number;
|
|
896
|
-
measurements: {
|
|
897
|
-
id: string;
|
|
898
|
-
name: string;
|
|
899
|
-
abbrev: string;
|
|
900
|
-
conversion: {
|
|
901
|
-
amount: number;
|
|
902
|
-
precision: number;
|
|
903
|
-
};
|
|
904
|
-
}[];
|
|
905
|
-
}[] | null | undefined;
|
|
906
|
-
recipe?: {
|
|
907
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
908
|
-
_id: string;
|
|
909
|
-
name: string;
|
|
910
|
-
contains: {
|
|
911
|
-
measurement?: {
|
|
912
|
-
id: string;
|
|
913
|
-
name: string;
|
|
914
|
-
abbrev: string;
|
|
915
|
-
conversion: {
|
|
916
|
-
amount: number;
|
|
917
|
-
precision: number;
|
|
918
|
-
};
|
|
919
|
-
} | null | undefined;
|
|
920
|
-
id: string;
|
|
921
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
922
|
-
amount: {
|
|
923
|
-
amount: number;
|
|
924
|
-
precision: number;
|
|
925
|
-
};
|
|
926
|
-
}[];
|
|
927
|
-
}[] | null | undefined;
|
|
928
|
-
sku?: {
|
|
929
|
-
isInactive?: boolean | null | undefined;
|
|
930
|
-
trackingMeasurement?: string | null | undefined;
|
|
931
|
-
convert?: {
|
|
932
|
-
measurement?: string | null | undefined;
|
|
933
|
-
inventoryBindings?: {
|
|
934
|
-
measurement?: {
|
|
935
|
-
id: string;
|
|
936
|
-
name: string;
|
|
937
|
-
abbrev: string;
|
|
938
|
-
conversion: {
|
|
939
|
-
amount: number;
|
|
940
|
-
precision: number;
|
|
941
|
-
};
|
|
942
|
-
} | null | undefined;
|
|
943
|
-
id: string;
|
|
944
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
945
|
-
amount: {
|
|
946
|
-
amount: number;
|
|
947
|
-
precision: number;
|
|
948
|
-
};
|
|
949
|
-
}[] | null | undefined;
|
|
950
|
-
} | null | undefined;
|
|
951
|
-
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
952
|
-
defaultCost?: {
|
|
953
|
-
measurement?: {
|
|
954
|
-
id: string;
|
|
955
|
-
name: string;
|
|
956
|
-
abbrev: string;
|
|
957
|
-
conversion: {
|
|
958
|
-
amount: number;
|
|
959
|
-
precision: number;
|
|
960
|
-
};
|
|
961
|
-
} | null | undefined;
|
|
962
|
-
costPerUnit: {
|
|
963
|
-
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";
|
|
964
|
-
amount: number;
|
|
965
|
-
precision: number;
|
|
966
|
-
};
|
|
967
|
-
} | null | undefined;
|
|
968
|
-
operationalGroup?: string | null | undefined;
|
|
969
|
-
thresholds?: {
|
|
970
|
-
low: number;
|
|
971
|
-
mid: number;
|
|
972
|
-
} | null | undefined;
|
|
973
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
974
|
-
_id: string;
|
|
975
|
-
name: string;
|
|
976
|
-
code: string;
|
|
977
|
-
unit: {
|
|
978
|
-
_id: string;
|
|
979
|
-
name: string;
|
|
980
|
-
abbrev: string;
|
|
981
|
-
precision: number;
|
|
982
|
-
measurements: {
|
|
983
|
-
id: string;
|
|
984
|
-
name: string;
|
|
985
|
-
abbrev: string;
|
|
986
|
-
conversion: {
|
|
987
|
-
amount: number;
|
|
988
|
-
precision: number;
|
|
989
|
-
};
|
|
990
|
-
}[];
|
|
991
|
-
};
|
|
992
|
-
}[] | null | undefined;
|
|
993
|
-
skuGroup?: {
|
|
994
|
-
ref?: string | null | undefined;
|
|
995
|
-
defaultSkuRefs?: {
|
|
996
|
-
priority?: number | null | undefined;
|
|
997
|
-
trackingMeasurement?: string | null | undefined;
|
|
998
|
-
default?: boolean | null | undefined;
|
|
999
|
-
_id: string;
|
|
1000
|
-
}[] | null | undefined;
|
|
1001
|
-
rules?: {
|
|
1002
|
-
rule?: any;
|
|
1003
|
-
_id: string;
|
|
1004
|
-
name: string;
|
|
1005
|
-
skuRefs: {
|
|
1006
|
-
priority?: number | null | undefined;
|
|
1007
|
-
trackingMeasurement?: string | null | undefined;
|
|
1008
|
-
default?: boolean | null | undefined;
|
|
1009
|
-
_id: string;
|
|
1010
|
-
}[];
|
|
1011
|
-
}[] | null | undefined;
|
|
1012
|
-
_id: string;
|
|
1013
|
-
name: string;
|
|
1014
|
-
}[] | null | undefined;
|
|
1015
|
-
updatedAt?: string | null | undefined;
|
|
1016
|
-
_id: string;
|
|
1017
|
-
_rev: string;
|
|
1018
|
-
};
|
|
1019
|
-
errors: {
|
|
1020
|
-
error?: any;
|
|
1021
|
-
data: {
|
|
1022
|
-
customAttributes?: Record<string, any> | null | undefined;
|
|
1023
|
-
_id: string;
|
|
1024
|
-
name: string;
|
|
1025
|
-
contains: {
|
|
1026
|
-
measurement?: {
|
|
1027
|
-
id: string;
|
|
1028
|
-
name: string;
|
|
1029
|
-
abbrev: string;
|
|
1030
|
-
conversion: {
|
|
1031
|
-
amount: number;
|
|
1032
|
-
precision: number;
|
|
1033
|
-
};
|
|
1034
|
-
} | null | undefined;
|
|
1035
|
-
id: string;
|
|
1036
|
-
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1037
|
-
amount: {
|
|
1038
|
-
amount: number;
|
|
1039
|
-
precision: number;
|
|
1040
|
-
};
|
|
1041
|
-
}[];
|
|
1042
|
-
};
|
|
1043
|
-
}[];
|
|
1044
|
-
}>;
|
|
1045
739
|
publishInventory(locationId: string): Promise<String[]>;
|
|
1046
740
|
publishAllInventory(): Promise<String[]>;
|
|
1047
741
|
urls: {
|
|
@@ -23,6 +23,5 @@ export declare const usePurchaseOrderApi: () => {
|
|
|
23
23
|
getWorkflowConfig(): Promise<FdoOrderWorkflowConfig>;
|
|
24
24
|
updateDeliveryOrder(payload: FdtoDeliveryOrderUpdateRequest): Promise<void>;
|
|
25
25
|
createDeliveryOrder(payload: FdtoDeliveryOrderCreateRequest): Promise<void>;
|
|
26
|
-
getDeliveryOrderTrails(purchaseOrderId: string, deliveryOrderId: string): Promise<any>;
|
|
27
26
|
};
|
|
28
27
|
export declare const purchaseOrderApi: {};
|