@feedmepos/mf-inventory-portal 0.0.25-dev.9 → 0.0.26-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.
Files changed (116) hide show
  1. package/dist/{App-9zSE_swt.js → App-CipfIdtR.js} +71 -72
  2. package/dist/ApprovalView-IC33yBg7.js +143 -0
  3. package/dist/{BindingsDialog-eGbOIQkw.js → BindingsDialog-EN6Kbnu7.js} +2 -2
  4. package/dist/{BindingsPicker-CVXrd29s.js → BindingsPicker-DQ_LEoqq.js} +3 -3
  5. package/dist/BindingsTable-DGXpAyM4.js +120 -0
  6. package/dist/ClosingDraftView-DR9xsW9I.js +1348 -0
  7. package/dist/ClosingTemplateView-CC1T7ovX.js +1804 -0
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9un0wCK.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CovzlB-s.js} +43 -43
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRSABJnM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BxEtsFXp.js} +29 -29
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeRvrF7O.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8H6vFJ5.js} +1 -1
  11. package/dist/{IngredientGroupView-ZWCOAljO.js → IngredientGroupView-DRPbXH8d.js} +24 -24
  12. package/dist/IngredientsView-DSHcH30X.js +1731 -0
  13. package/dist/{IntegrationView-DO3Ambro.js → IntegrationView-BgACk-jP.js} +605 -669
  14. package/dist/{InventoryBindingForm-BjtFP29c.js → InventoryBindingForm-Fs-CHoT-.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFMZ4VsK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVHQjAEC.js} +63 -63
  16. package/dist/{InventoryBindingSummary-C6DkVX-B.js → InventoryBindingSummary-CHWMtGtk.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu9V-8Cf.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BcMAXo4F.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CyVRCAqv.js} +12 -12
  19. package/dist/PublishView-CI7o5a0F.js +222 -0
  20. package/dist/{PurchaseOrderPrintPreview-_MCAsdw9.js → PurchaseOrderPrintPreview-CO4a811o.js} +1 -1
  21. package/dist/ReceiveRequestView-KH5wY5BA.js +2562 -0
  22. package/dist/{RecipeView-dmmjklwh.js → RecipeView-DxVbUxOG.js} +47 -47
  23. package/dist/StockView-CiHPAaYh.js +1840 -0
  24. package/dist/{SupplierView-CO5460uC.js → SupplierView-DPj87kld.js} +448 -461
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfPPCFh8.js +1566 -0
  26. package/dist/TransferTemplateView-3W29v8hd.js +1420 -0
  27. package/dist/{UnitView-DbYzxCXF.js → UnitView-WCtNQFf8.js} +23 -23
  28. package/dist/{WarehouseView-BII4SEVC.js → WarehouseView-tgFFbQY7.js} +40 -40
  29. package/dist/api/bill.d.ts +12 -2
  30. package/dist/api/closing-draft.d.ts +1 -0
  31. package/dist/api/inventory.d.ts +8 -7
  32. package/dist/api/netsuite.d.ts +22 -5
  33. package/dist/api/purchase-order.d.ts +6 -1
  34. package/dist/api/stock.d.ts +1 -0
  35. package/dist/{app-IM1yJnE8.js → app-Ba80HxT3.js} +38448 -34777
  36. package/dist/app.d.ts +965 -120
  37. package/dist/app.js +1 -1
  38. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  39. package/dist/components/FmMultiselectDialog.d.ts +23 -0
  40. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  41. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  42. package/dist/{decimal-DQUpCN-B.js → decimal-DFqusYHB.js} +1 -1
  43. package/dist/{format-unit-display-COuIZISg.js → format-unit-display-Bsod5Ra6.js} +232 -238
  44. package/dist/helper/country.d.ts +1 -0
  45. package/dist/helper/fuzzy.d.ts +1 -1
  46. package/dist/helper/number.d.ts +1 -1
  47. package/dist/index-0ekVGPtB.js +12197 -0
  48. package/dist/index-ZAEVHtfa.js +84 -0
  49. package/dist/{stock-BJUTiXXk.js → stock-Cn6EQvTz.js} +29 -25
  50. package/dist/stores/feature.d.ts +11 -6
  51. package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
  52. package/dist/stores/integration/index.d.ts +2 -0
  53. package/dist/stores/integration/netsuite.d.ts +22 -5
  54. package/dist/stores/inventory.d.ts +141 -8
  55. package/dist/stores/location.d.ts +0 -9
  56. package/dist/stores/stock.d.ts +5 -0
  57. package/dist/stores/warehouse.d.ts +4 -7
  58. package/dist/style.css +1 -1
  59. package/dist/{supplier-CM-qQVyI.js → supplier-P1gi71dg.js} +4 -4
  60. package/dist/tsconfig.app.tsbuildinfo +1 -1
  61. package/dist/{use-ingredient-select-dialog-Cn79xFNg.js → use-ingredient-select-dialog-BW5imbB5.js} +1 -1
  62. package/dist/{use-inventory-binding-dialog-zwOG19YV.js → use-inventory-binding-dialog-BYxb8nXg.js} +1 -1
  63. package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -24
  64. package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -24
  65. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +92 -8
  66. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  67. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +552 -48
  68. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -36
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -36
  72. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  73. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  74. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  75. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  76. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
  77. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
  78. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  79. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +529 -489
  80. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +8 -4
  81. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
  82. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -2
  83. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1238 -972
  84. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1080 -1003
  85. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  86. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  87. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  88. package/dist/views/receive-request/import/export.d.ts +14 -0
  89. package/dist/views/receive-request/import/props.d.ts +7 -0
  90. package/dist/views/stock/components/StockRecordCard.vue.d.ts +6 -1
  91. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  92. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
  93. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -8
  94. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +0 -1
  95. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +7 -2
  96. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +530 -530
  97. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +530 -530
  98. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
  99. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  100. package/dist/vue-i18n-CjtRsQMl.js +2365 -0
  101. package/package.json +7 -7
  102. package/dist/ApprovalView-C2tg-wsm.js +0 -138
  103. package/dist/BindingsTable-CCsQEFnu.js +0 -145
  104. package/dist/ClosingDraftView-BI8b3CJ9.js +0 -1225
  105. package/dist/ClosingTemplateView-miJnC-ML.js +0 -1859
  106. package/dist/IngredientsView-5-pSX6y_.js +0 -1718
  107. package/dist/PublishView-DOMQdIJ7.js +0 -192
  108. package/dist/ReceiveRequestView-902hWGtz.js +0 -1877
  109. package/dist/StockView-C4lEYLXU.js +0 -7847
  110. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D6sZDCEY.js +0 -1328
  111. package/dist/TransferTemplateView-C9UwNTnY.js +0 -1371
  112. package/dist/components/FmAutocompleteTextField.vue.d.ts +0 -31
  113. package/dist/feature-DMBVVBsQ.js +0 -1005
  114. package/dist/index-CIrsMt6f.js +0 -35546
  115. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +0 -2
  116. package/dist/vue-i18n-CzPFJ9JY.js +0 -2365
@@ -1,11 +1,11 @@
1
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, o as ne, u as be, b as ge, y as xe, _ as _e, z as he, B as Ve, E as Ue } from "./app-IM1yJnE8.js";
2
+ import { a as G, e as w, S as ce, h as pe, D as te, i as z, f as le, m as N, A as fe, j as J, L as ve, N as ye, q as ne, u as be, b as ge, B as xe, _ as _e, C as he, E as Ve, G as Ue } from "./app-Ba80HxT3.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
- import { useI18n as G } from "@feedmepos/mf-common";
7
- import { F as $e } from "./decimal-DQUpCN-B.js";
8
- import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js";
6
+ import { useI18n as K } from "@feedmepos/mf-common";
7
+ import { F as $e } from "./decimal-DFqusYHB.js";
8
+ import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu9V-8Cf.js";
9
9
  const De = { class: "flex flex-col gap-8" }, Ae = {
10
10
  key: 0,
11
11
  class: "flex flex-col"
@@ -18,10 +18,10 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
18
18
  }, Te = { class: "flex-1 py-8 px-16" }, Be = {
19
19
  class: "flex-0 py-8 px-16",
20
20
  style: { "flex-basis": "240px" }
21
- }, ze = {
21
+ }, Le = {
22
22
  key: 2,
23
23
  class: "flex flex-col"
24
- }, Le = { class: "flex-1 py-8 px-16" }, Ne = {
24
+ }, ze = { class: "flex-1 py-8 px-16" }, Ne = {
25
25
  class: "flex-0 py-8 px-16",
26
26
  style: { "flex-basis": "240px" }
27
27
  }, je = /* @__PURE__ */ H({
@@ -30,7 +30,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
30
30
  unit: {}
31
31
  },
32
32
  setup(k) {
33
- const f = k, b = K(), i = g(() => b.validateUnitUsage(f.unit)), r = g(() => i.value.filter((c) => c.from === "INGREDIENT")), s = g(() => i.value.filter((c) => c.from === "RECIPE")), d = g(() => i.value.filter((c) => c.from === "MENU"));
33
+ const f = k, b = G(), i = g(() => b.validateUnitUsage(f.unit)), r = g(() => i.value.filter((c) => c.from === "INGREDIENT")), s = g(() => i.value.filter((c) => c.from === "RECIPE")), d = g(() => i.value.filter((c) => c.from === "MENU"));
34
34
  return (c, p) => (v(), C("div", De, [
35
35
  p[3] || (p[3] = l("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
36
36
  r.value.length ? (v(), C("div", Ae, [
@@ -71,7 +71,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
71
71
  ]);
72
72
  }), 128))
73
73
  ])) : Y("", !0),
74
- d.value.length ? (v(), C("div", ze, [
74
+ d.value.length ? (v(), C("div", Le, [
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"),
77
77
  l("div", {
@@ -85,7 +85,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
85
85
  key: a.code,
86
86
  class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
87
87
  }, [
88
- l("div", Le, V(a.code) + " " + V(a.name), 1),
88
+ l("div", ze, V(a.code) + " " + V(a.name), 1),
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))
@@ -93,7 +93,7 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
93
93
  ]));
94
94
  }
95
95
  }), Q = Ee("unitForm", function() {
96
- const f = we(), b = se(), i = K(), r = M(!1), s = M();
96
+ const f = we(), b = se(), i = G(), r = M(!1), s = M();
97
97
  function d() {
98
98
  const n = {
99
99
  unit: {},
@@ -187,14 +187,14 @@ const De = { class: "flex flex-col gap-8" }, Ae = {
187
187
  };
188
188
  });
189
189
  function qe() {
190
- const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = G();
190
+ const { updateUnit: k, deleteUnit: f } = Q(), { t: b } = K();
191
191
  async function i(s, d) {
192
192
  const c = le(d);
193
- if (s === L.Edit) {
193
+ if (s === z.Edit) {
194
194
  await k(c);
195
195
  return;
196
196
  }
197
- if (s === L.Delete) {
197
+ if (s === z.Delete) {
198
198
  await f(c);
199
199
  return;
200
200
  }
@@ -217,7 +217,7 @@ function qe() {
217
217
  header: "",
218
218
  cell(s) {
219
219
  return pe(
220
- [te[L.Edit], te[L.Delete]],
220
+ [te[z.Edit], te[z.Delete]],
221
221
  (d) => {
222
222
  i(d, s.row.original);
223
223
  }
@@ -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" }, 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({
235
+ const He = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Ke = { 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: {},
@@ -241,7 +241,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
241
241
  },
242
242
  emits: ["update:modelValue", "click:submit"],
243
243
  setup(k, { expose: f, emit: b }) {
244
- const i = k, r = b, { t: s } = G();
244
+ const i = k, r = b, { t: s } = K();
245
245
  function d() {
246
246
  r("click:submit");
247
247
  }
@@ -327,8 +327,8 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
327
327
  var E;
328
328
  return [
329
329
  l("div", He, [
330
- l("div", Ke, [
331
- l("div", Ge, [
330
+ l("div", Ge, [
331
+ l("div", Ke, [
332
332
  y(m, {
333
333
  disabled: e.disabled,
334
334
  label: o(s)("inventory.unit.name"),
@@ -450,7 +450,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
450
450
  },
451
451
  emits: ["update:show"],
452
452
  setup(k) {
453
- const f = k, b = K(), i = se(), { t: r } = G(), s = oe(f, "show"), d = oe(f, "unit"), c = g(() => {
453
+ const f = k, b = G(), i = se(), { t: r } = K(), s = oe(f, "show"), d = oe(f, "unit"), c = g(() => {
454
454
  switch (f.mode) {
455
455
  case w.READ:
456
456
  return "";
@@ -566,11 +566,11 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
566
566
  }), lt = { class: "flex flex-col py-8" }, st = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, at = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vt = /* @__PURE__ */ H({
567
567
  __name: "UnitView",
568
568
  setup(k) {
569
- const f = K(), b = be(), i = ge(), r = g(() => f.units), { createUnit: s, updateUnit: d } = Q(), { unitDialogProps: c, unitViewLoading: p } = Fe(Q()), { columnDefs: a } = qe();
569
+ const f = G(), b = be(), i = ge(), r = g(() => f.units), { createUnit: s, updateUnit: d } = Q(), { unitDialogProps: c, unitViewLoading: p } = Fe(Q()), { columnDefs: a } = qe();
570
570
  function n(D) {
571
571
  D === "add" && s();
572
572
  }
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();
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 } = K();
574
574
  return (D, U) => {
575
575
  const O = $("FmTable");
576
576
  return v(), T(_e, {
@@ -615,7 +615,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
615
615
  onRowClick: o(d)
616
616
  }, {
617
617
  default: A((S) => {
618
- var h, F, P, R, W, B, X, z, Z;
618
+ var h, F, P, R, W, B, X, L, Z;
619
619
  return [
620
620
  l("div", lt, [
621
621
  l("div", st, [
@@ -624,7 +624,7 @@ const He = { class: "flex flex-col gap-24" }, Ke = { class: "flex gap-24" }, Ge
624
624
  props: (W = (R = S.name) == null ? void 0 : R.getContext) == null ? void 0 : W.call(R)
625
625
  }, null, 8, ["render", "props"])
626
626
  ]),
627
- l("div", at, V((Z = (z = (X = (B = E.original.measurements) == null ? void 0 : B.map) == null ? void 0 : X.call(B, (ae) => ae.name)) == null ? void 0 : z.join) == null ? void 0 : Z.call(z, ", ")), 1)
627
+ l("div", at, V((Z = (L = (X = (B = E.original.measurements) == null ? void 0 : B.map) == null ? void 0 : X.call(B, (ae) => ae.name)) == null ? void 0 : L.join) == null ? void 0 : Z.call(L, ", ")), 1)
628
628
  ])
629
629
  ];
630
630
  }),
@@ -1,11 +1,11 @@
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 { W as Re, ap as Ue, aq as Ee, f as Te, D as Ve, h as Q, e as G, ar as Le, ah as Ne, l as N, d as T, S as Be, u as qe, y as ze, _ as Ie, z as je, B as Oe, E as X } from "./app-IM1yJnE8.js";
3
- import { useCoreStore as Ge, useI18n as O } from "@feedmepos/mf-common";
2
+ import { Y as Re, al as Ue, am as Ee, h as Te, D as Ve, i as J, f as O, an as Le, ae as Ne, m as N, e as T, S as Be, u as qe, B as ze, _ as Ie, C as je, E as Ge, G as Q } from "./app-Ba80HxT3.js";
3
+ import { useCoreStore as Oe, useI18n as G } 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";
6
- import { _ as Ze } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
7
- const Y = Re((m, h) => {
8
- const y = Ge();
6
+ import { _ as Ye } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
7
+ const X = Re((m, h) => {
8
+ const y = Oe();
9
9
  return {
10
10
  async readWarehouses() {
11
11
  var l;
@@ -29,12 +29,12 @@ const Y = Re((m, h) => {
29
29
  }
30
30
  };
31
31
  });
32
- function Je() {
32
+ function Ze() {
33
33
  return {
34
34
  warehouses: []
35
35
  };
36
36
  }
37
- const _e = D(Je());
37
+ const _e = D(Ze());
38
38
  function Ce() {
39
39
  return {
40
40
  // state
@@ -46,17 +46,17 @@ function Ce() {
46
46
  },
47
47
  // actions
48
48
  async readWarehouses() {
49
- const m = Y();
49
+ const m = X();
50
50
  this.warehouses = await m.readWarehouses();
51
51
  },
52
52
  async createWarehouse(m) {
53
- await Y().createWarehouse(m);
53
+ await X().createWarehouse(m);
54
54
  },
55
55
  async updateWarehouse(m) {
56
- await Y().updateWarehouse(m._id, m.profile);
56
+ await X().updateWarehouse(m._id, m.profile);
57
57
  },
58
58
  async deleteWarehouse(m) {
59
- await Y().deleteWarehouse(m._id);
59
+ await X().deleteWarehouse(m._id);
60
60
  },
61
61
  async init() {
62
62
  const m = Ue();
@@ -68,18 +68,18 @@ function Ce() {
68
68
  }
69
69
  };
70
70
  }
71
- function Qe(m, h) {
71
+ function Je(m, h) {
72
72
  function y(p, s) {
73
- if (p === Q.Edit) {
74
- m(G(s));
73
+ if (p === J.Edit) {
74
+ m(O(s));
75
75
  return;
76
76
  }
77
- if (p === Q.Delete) {
78
- h(G(s));
77
+ if (p === J.Delete) {
78
+ h(O(s));
79
79
  return;
80
80
  }
81
81
  }
82
- const { t } = O(), n = [
82
+ const { t } = G(), n = [
83
83
  {
84
84
  accessorKey: "warehouse",
85
85
  header: () => t("inventory.warehouse.table.warehouse"),
@@ -105,7 +105,7 @@ function Qe(m, h) {
105
105
  header: "",
106
106
  cell(p) {
107
107
  return Te(
108
- [Ve[Q.Edit], Ve[Q.Delete]],
108
+ [Ve[J.Edit], Ve[J.Delete]],
109
109
  (s) => {
110
110
  y(s, p.row.original.original);
111
111
  }
@@ -140,7 +140,7 @@ function Qe(m, h) {
140
140
  }
141
141
  return { columnDefs: n, formatRowData: l };
142
142
  }
143
- const Xe = /* @__PURE__ */ j({
143
+ const Qe = /* @__PURE__ */ j({
144
144
  __name: "GoogleMap",
145
145
  props: {
146
146
  markers: {
@@ -266,7 +266,7 @@ const Xe = /* @__PURE__ */ j({
266
266
  class: "map app-map"
267
267
  }, null, 512));
268
268
  }
269
- }), Ye = { class: "flex flex-col gap-24" }, eo = { class: "flex flex-col gap-8" }, oo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, to = { class: "fm-typo-en-body-lg-600" }, ao = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, lo = { class: "fm-typo-en-body-lg-600" }, so = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ro = { class: "fm-typo-en-body-lg-600" }, no = /* @__PURE__ */ j({
269
+ }), Xe = { class: "flex flex-col gap-24" }, eo = { class: "flex flex-col gap-8" }, oo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, to = { class: "fm-typo-en-body-lg-600" }, ao = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, lo = { class: "fm-typo-en-body-lg-600" }, so = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ro = { class: "fm-typo-en-body-lg-600" }, no = /* @__PURE__ */ j({
270
270
  __name: "CoordinateDialog",
271
271
  props: {
272
272
  address: {
@@ -279,8 +279,8 @@ const Xe = /* @__PURE__ */ j({
279
279
  }
280
280
  },
281
281
  setup(m) {
282
- const h = m, y = Ke(), t = se(), { t: n } = O(), l = Fe(
283
- G(h.coordinate ? h.coordinate : le.jb)
282
+ const h = m, y = Ke(), t = se(), { t: n } = G(), l = Fe(
283
+ O(h.coordinate ? h.coordinate : le.jb)
284
284
  ), p = D(""), s = Le(async function() {
285
285
  p.value = await t.getFirstMatchingAddress(
286
286
  l.lat,
@@ -288,13 +288,13 @@ const Xe = /* @__PURE__ */ j({
288
288
  );
289
289
  }, 1e3);
290
290
  te(() => {
291
- y.emitData(G(l)), s();
291
+ y.emitData(O(l)), s();
292
292
  });
293
293
  function u({ position: b }) {
294
- l.lat = b.lat, l.lng = b.lng, y.emitData(G(l)), s();
294
+ l.lat = b.lat, l.lng = b.lng, y.emitData(O(l)), s();
295
295
  }
296
296
  const k = D();
297
- return (b, M) => (R(), z("div", Ye, [
297
+ return (b, M) => (R(), z("div", Xe, [
298
298
  g("div", eo, [
299
299
  g("div", null, [
300
300
  g("span", oo, L(c(n)("inventory.formField.coordinate.address")) + ": ", 1),
@@ -309,7 +309,7 @@ const Xe = /* @__PURE__ */ j({
309
309
  g("span", ro, L(l.lat), 1)
310
310
  ])
311
311
  ]),
312
- V(Xe, {
312
+ V(Qe, {
313
313
  ref_key: "gmapRef",
314
314
  ref: k,
315
315
  class: "h-[272px] sm:h-[240px] xs:h-[240px]",
@@ -348,7 +348,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
348
348
  },
349
349
  emits: ["update:modelValue"],
350
350
  setup(m, { emit: h }) {
351
- const y = m, t = h, n = se(), l = Me(), p = ae(), s = oe(y, "modelValue"), u = D(!1), { t: k } = O();
351
+ const y = m, t = h, n = se(), l = Me(), p = ae(), s = oe(y, "modelValue"), u = D(!1), { t: k } = G();
352
352
  function b(d) {
353
353
  if (d != null && d[0] && (d != null && d[1]))
354
354
  return k("inventory.formField.coordinate.longLat", [d[0].toFixed(3), d[1].toFixed(3)]);
@@ -454,7 +454,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
454
454
  },
455
455
  emits: ["update:modelValue", "validation-success"],
456
456
  setup(m, { expose: h, emit: y }) {
457
- const t = m, n = y, { t: l } = O(), p = $({
457
+ const t = m, n = y, { t: l } = G(), p = $({
458
458
  get() {
459
459
  var o, e;
460
460
  return ((e = (o = t.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
@@ -695,7 +695,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
695
695
  ])
696
696
  ]),
697
697
  g("div", null, [
698
- V(Ze, {
698
+ V(Ye, {
699
699
  entity: "warehouse",
700
700
  modelValue: F.value,
701
701
  "onUpdate:modelValue": e[11] || (e[11] = (v) => F.value = v)
@@ -716,7 +716,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
716
716
  },
717
717
  emits: ["update:show", "submitted"],
718
718
  setup(m, { expose: h, emit: y }) {
719
- const t = m, n = y, l = D(!1), p = ae(), { t: s } = O(), u = Ce(), k = $(() => {
719
+ const t = m, n = y, l = D(!1), p = ae(), { t: s } = G(), u = Ce(), k = $(() => {
720
720
  switch (t.mode) {
721
721
  case T.READ:
722
722
  return "";
@@ -862,7 +862,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
862
862
  }, Do = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, No = /* @__PURE__ */ j({
863
863
  __name: "WarehouseView",
864
864
  setup(m) {
865
- const h = Ce(), y = qe(), t = $(() => h.warehouses), n = Me(), l = ae(), p = D(!1), { t: s } = O();
865
+ const h = Ce(), y = qe(), t = $(() => h.warehouses), n = Me(), l = ae(), p = D(!1), { t: s } = G();
866
866
  te(() => {
867
867
  y._currentLocation && F();
868
868
  }), ee([() => y._currentLocation], () => {
@@ -911,7 +911,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
911
911
  n.close();
912
912
  }
913
913
  }
914
- const { columnDefs: C, formatRowData: U } = Qe(
914
+ const { columnDefs: C, formatRowData: U } = Je(
915
915
  b,
916
916
  M
917
917
  );
@@ -973,36 +973,36 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
973
973
  "page-size": e.value
974
974
  }, {
975
975
  "list-row": q((E) => [
976
- V(Oe, {
976
+ V(Ge, {
977
977
  row: E,
978
978
  onRowClick: (r) => b(r.original)
979
979
  }, {
980
980
  default: q((r) => {
981
- var f, w, S, P, K, re, ne, ue, H, ie, de, ce, pe, me, Z, fe, he, ye, ve, J, ge;
981
+ var f, w, S, P, K, re, ne, ue, H, ie, de, ce, pe, me, Y, fe, he, ye, ve, Z, ge;
982
982
  return [
983
983
  g("div", Fo, [
984
984
  g("div", $o, [
985
- V(c(X), {
985
+ V(c(Q), {
986
986
  render: (S = (w = (f = r.warehouse) == null ? void 0 : f.column) == null ? void 0 : w.columnDef) == null ? void 0 : S.cell,
987
987
  props: (K = (P = r.warehouse) == null ? void 0 : P.getContext) == null ? void 0 : K.call(P)
988
988
  }, null, 8, ["render", "props"])
989
989
  ]),
990
990
  g("div", So, [
991
- V(c(X), {
991
+ V(c(Q), {
992
992
  render: (ue = (ne = (re = r.contact) == null ? void 0 : re.column) == null ? void 0 : ne.columnDef) == null ? void 0 : ue.cell,
993
993
  props: (ie = (H = r.contact) == null ? void 0 : H.getContext) == null ? void 0 : ie.call(H)
994
994
  }, null, 8, ["render", "props"])
995
995
  ]),
996
996
  (de = E.original) != null && de.email ? (R(), z("div", Wo, [
997
- V(c(X), {
997
+ V(c(Q), {
998
998
  render: (me = (pe = (ce = r.email) == null ? void 0 : ce.column) == null ? void 0 : pe.columnDef) == null ? void 0 : me.cell,
999
- props: (fe = (Z = r.email) == null ? void 0 : Z.getContext) == null ? void 0 : fe.call(Z)
999
+ props: (fe = (Y = r.email) == null ? void 0 : Y.getContext) == null ? void 0 : fe.call(Y)
1000
1000
  }, null, 8, ["render", "props"])
1001
1001
  ])) : Ae("", !0),
1002
1002
  g("div", Do, [
1003
- V(c(X), {
1003
+ V(c(Q), {
1004
1004
  render: (ve = (ye = (he = r.address) == null ? void 0 : he.column) == null ? void 0 : ye.columnDef) == null ? void 0 : ve.cell,
1005
- props: (ge = (J = r.address) == null ? void 0 : J.getContext) == null ? void 0 : ge.call(J)
1005
+ props: (ge = (Z = r.address) == null ? void 0 : Z.getContext) == null ? void 0 : ge.call(Z)
1006
1006
  }, null, 8, ["render", "props"])
1007
1007
  ])
1008
1008
  ])
@@ -104,6 +104,7 @@ export declare const useBillApi: () => {
104
104
  amount: number;
105
105
  precision: number;
106
106
  } | null | undefined;
107
+ canRefund?: boolean | null | undefined;
107
108
  name: string;
108
109
  key: string;
109
110
  slotPrefix: string;
@@ -207,6 +208,8 @@ export declare const useBillApi: () => {
207
208
  } | null | undefined;
208
209
  membership?: {
209
210
  name?: string | null | undefined;
211
+ source?: string | null | undefined;
212
+ title?: string[] | null | undefined;
210
213
  level?: number | null | undefined;
211
214
  phoneNumber?: string | null | undefined;
212
215
  balance?: number | null | undefined;
@@ -261,6 +264,7 @@ export declare const useBillApi: () => {
261
264
  };
262
265
  level: number;
263
266
  }> | null | undefined;
267
+ canRefund?: boolean | null | undefined;
264
268
  pickupPoint?: {
265
269
  name: string;
266
270
  address: string;
@@ -411,6 +415,7 @@ export declare const useBillApi: () => {
411
415
  }> | null | undefined;
412
416
  productId?: string | null | undefined;
413
417
  servedAt?: string | null | undefined;
418
+ collectedAt?: string | null | undefined;
414
419
  variantSelected?: {
415
420
  name: string[];
416
421
  combinationKey: string;
@@ -719,7 +724,7 @@ export declare const useBillApi: () => {
719
724
  } | null | undefined;
720
725
  paymentGateway?: {
721
726
  response?: Record<string, any> | null | undefined;
722
- key: "FEEDME" | "REVENUE_MONSTER" | "FEEDME_MEMBER_CREDIT" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "FEEDME_TERMINAL" | "MACAU_PASS" | "NETS";
727
+ key: "FEEDME" | "REVENUE_MONSTER" | "FEEDME_MEMBER_CREDIT" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "FEEDME_TERMINAL" | "MACAU_PASS" | "NETS" | "FEEDME_CARD";
723
728
  transactionId: string;
724
729
  } | null | undefined;
725
730
  reference?: string | null | undefined;
@@ -863,6 +868,7 @@ export declare const useBillApi: () => {
863
868
  amount: number;
864
869
  precision: number;
865
870
  } | null | undefined;
871
+ canRefund?: boolean | null | undefined;
866
872
  name: string;
867
873
  key: string;
868
874
  slotPrefix: string;
@@ -966,6 +972,8 @@ export declare const useBillApi: () => {
966
972
  } | null | undefined;
967
973
  membership?: {
968
974
  name?: string | null | undefined;
975
+ source?: string | null | undefined;
976
+ title?: string[] | null | undefined;
969
977
  level?: number | null | undefined;
970
978
  phoneNumber?: string | null | undefined;
971
979
  balance?: number | null | undefined;
@@ -1020,6 +1028,7 @@ export declare const useBillApi: () => {
1020
1028
  };
1021
1029
  level: number;
1022
1030
  }> | null | undefined;
1031
+ canRefund?: boolean | null | undefined;
1023
1032
  pickupPoint?: {
1024
1033
  name: string;
1025
1034
  address: string;
@@ -1170,6 +1179,7 @@ export declare const useBillApi: () => {
1170
1179
  }> | null | undefined;
1171
1180
  productId?: string | null | undefined;
1172
1181
  servedAt?: string | null | undefined;
1182
+ collectedAt?: string | null | undefined;
1173
1183
  variantSelected?: {
1174
1184
  name: string[];
1175
1185
  combinationKey: string;
@@ -1478,7 +1488,7 @@ export declare const useBillApi: () => {
1478
1488
  } | null | undefined;
1479
1489
  paymentGateway?: {
1480
1490
  response?: Record<string, any> | null | undefined;
1481
- key: "FEEDME" | "REVENUE_MONSTER" | "FEEDME_MEMBER_CREDIT" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "FEEDME_TERMINAL" | "MACAU_PASS" | "NETS";
1491
+ key: "FEEDME" | "REVENUE_MONSTER" | "FEEDME_MEMBER_CREDIT" | "RAZER_MERCHANT_SERVICE" | "E_GHL" | "FEEDME_TERMINAL" | "MACAU_PASS" | "NETS" | "FEEDME_CARD";
1482
1492
  transactionId: string;
1483
1493
  } | null | undefined;
1484
1494
  reference?: string | null | undefined;
@@ -3,4 +3,5 @@ export declare const useClosingDraftApi: () => {
3
3
  getDraft(id: string): Promise<FdoClosingDraft & RevisionIdMeta>;
4
4
  readDrafts(): Promise<(FdoClosingDraft & RevisionIdMeta)[]>;
5
5
  runOperation(operation: FdtoClosingDraftOperation): Promise<void>;
6
+ sync(operation: FdtoClosingDraftOperation): Promise<void>;
6
7
  };
@@ -10,7 +10,6 @@ export declare const useInventoryApi: () => {
10
10
  acceptRequest: boolean;
11
11
  dbName: string;
12
12
  doc: {
13
- customAttributes?: Record<string, any> | null | undefined;
14
13
  _id: string;
15
14
  businessId: string;
16
15
  profile: {
@@ -109,7 +108,6 @@ export declare const useInventoryApi: () => {
109
108
  }[];
110
109
  }[] | null | undefined;
111
110
  sku?: {
112
- customAttributes?: Record<string, any> | null | undefined;
113
111
  trackingMeasurement?: string | null | undefined;
114
112
  convert?: {
115
113
  measurement?: string | null | undefined;
@@ -153,6 +151,7 @@ export declare const useInventoryApi: () => {
153
151
  low: number;
154
152
  mid: number;
155
153
  } | null | undefined;
154
+ customAttributes?: Record<string, any> | null | undefined;
156
155
  unit: {
157
156
  _id: string;
158
157
  name: string;
@@ -214,7 +213,6 @@ export declare const useInventoryApi: () => {
214
213
  _id: string;
215
214
  name: string;
216
215
  skus: {
217
- customAttributes?: Record<string, any> | null | undefined;
218
216
  trackingMeasurement?: string | null | undefined;
219
217
  convert?: {
220
218
  measurement?: string | null | undefined;
@@ -258,6 +256,7 @@ export declare const useInventoryApi: () => {
258
256
  low: number;
259
257
  mid: number;
260
258
  } | null | undefined;
259
+ customAttributes?: Record<string, any> | null | undefined;
261
260
  code: string;
262
261
  _id: string;
263
262
  name: string;
@@ -283,7 +282,6 @@ export declare const useInventoryApi: () => {
283
282
  }[];
284
283
  }[] | null | undefined;
285
284
  sku?: {
286
- customAttributes?: Record<string, any> | null | undefined;
287
285
  trackingMeasurement?: string | null | undefined;
288
286
  convert?: {
289
287
  measurement?: string | null | undefined;
@@ -327,6 +325,7 @@ export declare const useInventoryApi: () => {
327
325
  low: number;
328
326
  mid: number;
329
327
  } | null | undefined;
328
+ customAttributes?: Record<string, any> | null | undefined;
330
329
  unit: {
331
330
  _id: string;
332
331
  name: string;
@@ -388,7 +387,6 @@ export declare const useInventoryApi: () => {
388
387
  _id: string;
389
388
  name: string;
390
389
  skus: {
391
- customAttributes?: Record<string, any> | null | undefined;
392
390
  trackingMeasurement?: string | null | undefined;
393
391
  convert?: {
394
392
  measurement?: string | null | undefined;
@@ -432,6 +430,7 @@ export declare const useInventoryApi: () => {
432
430
  low: number;
433
431
  mid: number;
434
432
  } | null | undefined;
433
+ customAttributes?: Record<string, any> | null | undefined;
435
434
  code: string;
436
435
  _id: string;
437
436
  name: string;
@@ -457,7 +456,6 @@ export declare const useInventoryApi: () => {
457
456
  }[];
458
457
  }[] | null | undefined;
459
458
  sku?: {
460
- customAttributes?: Record<string, any> | null | undefined;
461
459
  trackingMeasurement?: string | null | undefined;
462
460
  convert?: {
463
461
  measurement?: string | null | undefined;
@@ -501,6 +499,7 @@ export declare const useInventoryApi: () => {
501
499
  low: number;
502
500
  mid: number;
503
501
  } | null | undefined;
502
+ customAttributes?: Record<string, any> | null | undefined;
504
503
  unit: {
505
504
  _id: string;
506
505
  name: string;
@@ -562,7 +561,6 @@ export declare const useInventoryApi: () => {
562
561
  _id: string;
563
562
  name: string;
564
563
  skus: {
565
- customAttributes?: Record<string, any> | null | undefined;
566
564
  trackingMeasurement?: string | null | undefined;
567
565
  convert?: {
568
566
  measurement?: string | null | undefined;
@@ -606,6 +604,7 @@ export declare const useInventoryApi: () => {
606
604
  low: number;
607
605
  mid: number;
608
606
  } | null | undefined;
607
+ customAttributes?: Record<string, any> | null | undefined;
609
608
  code: string;
610
609
  _id: string;
611
610
  name: string;
@@ -614,6 +613,8 @@ export declare const useInventoryApi: () => {
614
613
  updatedAt?: string | null | undefined;
615
614
  _id: string;
616
615
  }>>;
616
+ publishInventory(locationId: string): Promise<String[]>;
617
+ publishAllInventory(): Promise<String[]>;
617
618
  urls: {
618
619
  portalBackendUrl: string;
619
620
  netSuiteBackendUrl: string;
@@ -9,9 +9,13 @@ export declare const useNetSuiteApi: () => {
9
9
  }[] | null | undefined;
10
10
  _id: string;
11
11
  items: {
12
+ externalId?: string | null | undefined;
13
+ cogsAccount?: {
14
+ id: string;
15
+ refName: string;
16
+ } | null | undefined;
12
17
  pktCode?: string | null | undefined;
13
18
  pktName?: string | null | undefined;
14
- externalId?: string | null | undefined;
15
19
  id: string;
16
20
  netSuiteId: string;
17
21
  unitTypeId: string;
@@ -28,9 +32,13 @@ export declare const useNetSuiteApi: () => {
28
32
  subsidiaryId: string;
29
33
  }[];
30
34
  childItems: {
35
+ externalId?: string | null | undefined;
36
+ cogsAccount?: {
37
+ id: string;
38
+ refName: string;
39
+ } | null | undefined;
31
40
  pktCode?: string | null | undefined;
32
41
  pktName?: string | null | undefined;
33
- externalId?: string | null | undefined;
34
42
  netSuiteId: string;
35
43
  parentNetSuiteId: string;
36
44
  unitTypeId: string;
@@ -64,7 +72,8 @@ export declare const useNetSuiteApi: () => {
64
72
  }[];
65
73
  realm: string;
66
74
  }>;
67
- syncTransferOrder(type: string, locationId: string, poId: string, porId?: string): Promise<{
75
+ getNetSuiteLocation(): Promise<any>;
76
+ syncPurchaseOrder(locationId: string, poId: string): Promise<{
68
77
  accessToken?: string | null | undefined;
69
78
  syncedAt?: string | null | undefined;
70
79
  restlet?: {
@@ -74,9 +83,13 @@ export declare const useNetSuiteApi: () => {
74
83
  }[] | null | undefined;
75
84
  _id: string;
76
85
  items: {
86
+ externalId?: string | null | undefined;
87
+ cogsAccount?: {
88
+ id: string;
89
+ refName: string;
90
+ } | null | undefined;
77
91
  pktCode?: string | null | undefined;
78
92
  pktName?: string | null | undefined;
79
- externalId?: string | null | undefined;
80
93
  id: string;
81
94
  netSuiteId: string;
82
95
  unitTypeId: string;
@@ -93,9 +106,13 @@ export declare const useNetSuiteApi: () => {
93
106
  subsidiaryId: string;
94
107
  }[];
95
108
  childItems: {
109
+ externalId?: string | null | undefined;
110
+ cogsAccount?: {
111
+ id: string;
112
+ refName: string;
113
+ } | null | undefined;
96
114
  pktCode?: string | null | undefined;
97
115
  pktName?: string | null | undefined;
98
- externalId?: string | null | undefined;
99
116
  netSuiteId: string;
100
117
  parentNetSuiteId: string;
101
118
  unitTypeId: string;