@feedmepos/mf-inventory-portal 1.2.13 → 1.2.14-dev.2
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-BsAX8Df8.js +286 -0
- package/dist/{ApprovalView-BWX6xBQs.js → ApprovalView-BT-A6f4_.js} +26 -26
- package/dist/{BindingsDialog-CuwkcDKX.js → BindingsDialog-CNpvAGHr.js} +2 -2
- package/dist/{BindingsPicker-BibFsY0g.js → BindingsPicker-D-vmVplT.js} +10 -10
- package/dist/{BindingsTable-AdjKwSPH.js → BindingsTable-Z7PTxSy6.js} +1 -1
- package/dist/{ClosingDraftView-DWFHP9nE.js → ClosingDraftView-C_3P7kh0.js} +44 -44
- package/dist/{ClosingTemplateView-DOCF5f_u.js → ClosingTemplateView-CimxBGT-.js} +26 -26
- package/dist/{DeliveryOrderPrintPreview-DNDtL_Vo.js → DeliveryOrderPrintPreview-CMTO9y6R.js} +10 -10
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BWhINOE8.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DMK3P4pu.js} +15 -15
- package/dist/{FmMultiselectDialog-Dfo04ak5.js → FmMultiselectDialog-D6f0A92U.js} +4 -4
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DGVs4zLl.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CJvnR-aO.js} +54 -54
- package/dist/ImportView-CTYLH5Mz.js +1303 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BESx2u4Y.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BbmtJ6Ge.js} +1 -1
- package/dist/{IngredientGroupView-M9sXlnE0.js → IngredientGroupView-wygIXAKy.js} +19 -20
- package/dist/IngredientsView-Ct3eNIqS.js +2240 -0
- package/dist/{IntegrationView-BlUNz1yc.js → IntegrationView-CKA76Mi6.js} +3 -3
- package/dist/{InventoryBindingForm-CvQ5zh6v.js → InventoryBindingForm-CdK2Ujur.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BEAEmPsU.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B-O0bjxU.js} +12 -12
- package/dist/{InventoryBindingSummary-CsJ-6G2P.js → InventoryBindingSummary-DN6sSW2u.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjN_ktl1.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BK65pQy4.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BN_e7k7U.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DrFtLYGt.js} +1 -1
- package/dist/{PublishView-DZgCyLK2.js → PublishView-LJA3-Xmq.js} +25 -25
- package/dist/{PurchaseOrderPrintPreview-CB2xvQ33.js → PurchaseOrderPrintPreview-CpnoNRcV.js} +12 -12
- package/dist/{ReceiveRequestView-DgDHOS-Y.js → ReceiveRequestView-d7KmB_XN.js} +131 -132
- package/dist/RecipeView-B7PtWfJ-.js +636 -0
- package/dist/{StockView-eJOngk08.js → StockView-DoataAnD.js} +165 -166
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMFfegsk.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BZNMBDJ7.js} +1 -1
- package/dist/{SupplierView-BS8rBAKC.js → SupplierView-D9Kb7rAO.js} +4 -4
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfnN-1oC.js +3385 -0
- package/dist/{TransferTemplateView-By5Ci4Yg.js → TransferTemplateView-D9mrfBH5.js} +166 -166
- package/dist/UnitView-BP5IzLw2.js +674 -0
- package/dist/{WarehouseView-4ZLSJXYc.js → WarehouseView-B-qnAHv5.js} +32 -32
- package/dist/api/inventory.d.ts +306 -0
- package/dist/api/purchase-order.d.ts +1 -0
- package/dist/{app-D2lun71R.js → app-DDKw9H3a.js} +11730 -11115
- package/dist/app.d.ts +421 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Cm1TtVzm.js → closing-template-BYCZ8etT.js} +1 -1
- package/dist/{decimal-eeicE4jp.js → decimal-DMb7zEqx.js} +1 -1
- package/dist/{format-unit-display-vHKazw0l.js → format-unit-display-BCTXGGeT.js} +24 -24
- package/dist/helper/number.d.ts +1 -0
- package/dist/import-export.helper-B4JVPOJK.js +243 -0
- package/dist/{index-DvX9cMJV.js → index-BZIogw8R.js} +1 -1
- package/dist/{index-C5s-1g7c.js → index-B__hxI_k.js} +1 -1
- package/dist/{purchase-order-template-uTs7bR89.js → purchase-order-template-Duc9oBWo.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-CL2LNdXp.js → stock-cFTv_nsm.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/inventory.d.ts +26 -199
- package/dist/{supplier-CuzoW2k4.js → supplier-CESqvbEF.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Cpg4lHHC.js → use-ingredient-select-dialog-DRJNoQTb.js} +4 -4
- package/dist/{use-inventory-binding-dialog-h4M4ICQK.js → use-inventory-binding-dialog-DTK5yRv9.js} +1 -1
- package/dist/views/import/ImportView.vue.d.ts +3 -0
- package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
- package/dist/views/import/helper/import-export.helper.d.ts +4 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +3 -1
- package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +17 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteTransactionChangeLog.vue.d.ts +15 -0
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
- package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
- package/dist/views/unit/UnitView.vue.d.ts +1 -0
- package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
- package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
- package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
- package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
- package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
- package/package.json +3 -3
- package/dist/App-ZoXow3DD.js +0 -276
- package/dist/IngredientsView-DUwhH3j1.js +0 -2475
- package/dist/RecipeView-DQDfwCJd.js +0 -621
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-w98ibfql.js +0 -3060
- package/dist/UnitView-DmuWMFlA.js +0 -667
- package/dist/array-Ca8T3f_G.js +0 -44
|
@@ -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 L, 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 { a7 as Re, aB as Ue, aC as Ee, i as Ne, D as _e, j as Z, f as G, aD as Ie, au as Le, aE as Be, q as I, c as qe, e as U, S as ze, u as je, E as Oe, G as Ge, I as Ke, J as He, K as Q } from "./app-DDKw9H3a.js";
|
|
3
3
|
import { useCoreStore as Ce, useI18n as O } from "@feedmepos/mf-common";
|
|
4
|
-
import { useDialogChild as
|
|
4
|
+
import { useDialogChild as Je, 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 Qe() {
|
|
33
33
|
return {
|
|
34
34
|
warehouses: []
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
const ke = D(
|
|
37
|
+
const ke = D(Qe());
|
|
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 = Je(), a = re(), { t: n } = O(), i = Se(
|
|
286
286
|
G(h.coordinate ? h.coordinate : se.jb)
|
|
287
|
-
), r = D(""), l =
|
|
287
|
+
), r = D(""), l = Ie(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__ */ Le(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: L(({ 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: L(() => [
|
|
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: L(() => [
|
|
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: L(() => [
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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(I)()],
|
|
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: L(() => {
|
|
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": L(() => [
|
|
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: L(() => [
|
|
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": L((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: L((s) => {
|
|
1015
|
+
var y, _, p, P, K, ne, ue, ie, H, de, ce, pe, me, fe, J, 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(Q), {
|
|
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(Q), {
|
|
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(Q), {
|
|
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 = (J = s.email) == null ? void 0 : J.getContext) == null ? void 0 : ye.call(J)
|
|
1034
1034
|
}, null, 8, ["render", "props"])
|
|
1035
1035
|
])) : ae("", !0),
|
|
1036
1036
|
g("div", Uo, [
|
|
1037
|
-
k(u(
|
|
1037
|
+
k(u(Q), {
|
|
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,4 +1,5 @@
|
|
|
1
1
|
import { type WithRev } from '@/api/type';
|
|
2
|
+
import type { FdtoBulkSkuRequest, FdtoBulkUnitsRequest, FdtoBulkRecipeRequest } from '@feedmepos/zod-inventory';
|
|
2
3
|
export declare const useInventoryApi: () => {
|
|
3
4
|
readInventoryLocations(): Promise<{
|
|
4
5
|
inventory?: {
|
|
@@ -736,6 +737,311 @@ export declare const useInventoryApi: () => {
|
|
|
736
737
|
};
|
|
737
738
|
}[];
|
|
738
739
|
}>;
|
|
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
|
+
}>;
|
|
739
1045
|
publishInventory(locationId: string): Promise<String[]>;
|
|
740
1046
|
publishAllInventory(): Promise<String[]>;
|
|
741
1047
|
urls: {
|
|
@@ -23,5 +23,6 @@ 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>;
|
|
26
27
|
};
|
|
27
28
|
export declare const purchaseOrderApi: {};
|