@feedmepos/mf-inventory-portal 0.0.22-dev.44 → 0.0.22-dev.46

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 (61) hide show
  1. package/dist/{ApprovalView-DJhk8ORX.js → ApprovalView-CjK-fcvU.js} +3 -3
  2. package/dist/{BindingsDialog-CNY83IzG.js → BindingsDialog-DWRDuKnY.js} +4 -4
  3. package/dist/{BindingsPicker-BCeGBlTl.js → BindingsPicker-DtgCTWo5.js} +4 -4
  4. package/dist/{BindingsTable-DwN0rUr_.js → BindingsTable-QevLem81.js} +4 -4
  5. package/dist/ClosingTemplateView-Cdbp7nYn.js +1812 -0
  6. package/dist/{FmDroppableField-DeZRIGOb.js → FmDroppableField-DHF0MZls.js} +13 -13
  7. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CptHxbFO.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CPhXgsQD.js} +3 -3
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGYVXLcj.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bl-BsJNP.js} +1 -1
  9. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-C0liaZ9Y.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B7dq1XS-.js} +1 -1
  10. package/dist/{IngredientsView-B6BPG_MN.js → IngredientsView-9xhWEl17.js} +5 -5
  11. package/dist/{IntegrationView-CXurxj5t.js → IntegrationView-D7916Kg2.js} +2 -2
  12. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4np_znK.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ZBxeayIl.js} +1 -1
  13. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CvSRvT_i.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Dp_JLw2L.js} +2 -2
  14. package/dist/{PurchaseOrderPrintPreview-BYSkl_zL.js → PurchaseOrderPrintPreview-U-M3r5H9.js} +3 -3
  15. package/dist/{ReceiveRequestView-DWKEL17S.js → ReceiveRequestView-BzChY8ca.js} +288 -288
  16. package/dist/{RecipeView-DEZblbQT.js → RecipeView-GrwiLQkW.js} +4 -4
  17. package/dist/{StockView-hijQ7wQL.js → StockView-CMvG-CIC.js} +5 -5
  18. package/dist/{SupplierView-B2xKGKCF.js → SupplierView-BmqzK7D6.js} +774 -2320
  19. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CBwT8yGC.js → TransferDetails.vue_vue_type_script_setup_true_lang-CE1aYr3I.js} +212 -208
  20. package/dist/{TransferTemplateView--2vvQWBW.js → TransferTemplateView-CBPSaIJs.js} +8 -8
  21. package/dist/{UnitView-B30FwZGg.js → UnitView-4JKlaXtj.js} +4 -4
  22. package/dist/{WarehouseView-BwbqpKwn.js → WarehouseView-B5qLIIAQ.js} +14 -14
  23. package/dist/api/inventory.d.ts +210 -6
  24. package/dist/api/netsuite.d.ts +14 -1
  25. package/dist/{app-DXZpbt33.js → app-B0BJjpJ5.js} +13618 -13426
  26. package/dist/app.js +1 -1
  27. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  28. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  29. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  30. package/dist/{decimal-BVO6jH4l.js → decimal-CDTaG5jr.js} +1 -1
  31. package/dist/{defineDeepModel-DlkycC_t.js → defineDeepModel-9-wLB59o.js} +1 -1
  32. package/dist/extensions/array.d.ts +1 -0
  33. package/dist/{format-time-from-id-Dhgv47T9.js → format-time-from-id-Bwq0tn09.js} +1 -1
  34. package/dist/{format-unit-display-D4D1b9F7.js → format-unit-display-BImgcRNp.js} +5 -5
  35. package/dist/stores/inventory.d.ts +146 -10
  36. package/dist/stores/netsuite.d.ts +16 -1
  37. package/dist/{supplier-Beauc4QC.js → supplier-D9s1N_M7.js} +1 -1
  38. package/dist/tsconfig.app.tsbuildinfo +1 -1
  39. package/dist/{use-template-enabled-locations-2-DbnvkOM9.js → use-template-enabled-locations-2-BQSfU_U_.js} +1 -1
  40. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  41. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -12
  42. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -12
  43. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  44. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  45. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  46. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  47. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
  48. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +23 -17
  49. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  50. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  51. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +33 -24
  52. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +33 -24
  53. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  54. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -2
  55. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  56. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +12 -12
  57. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -12
  58. package/dist/{xlsx-DXqCVrb5.js → xlsx-A9JiF_qH.js} +1 -1
  59. package/dist/{xlsx.util-7VhQushh.js → xlsx.util-J1g7CG7t.js} +1 -1
  60. package/package.json +3 -3
  61. package/dist/ClosingTemplateView-BE1JMBGd.js +0 -1768
package/dist/app.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ay as s, _ as r, az as e, aw as o, ax as t, u as i } from "./app-DXZpbt33.js";
1
+ import { aC as s, _ as r, aD as e, aA as o, aB as t, u as i } from "./app-B0BJjpJ5.js";
2
2
  export {
3
3
  s as FmApp,
4
4
  r as InventoryBindingForm,
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
14
14
  precision: number;
15
15
  };
16
16
  } | null | undefined;
17
- type: "RECIPE" | "SKU";
17
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
18
18
  amount: {
19
19
  amount: number;
20
20
  precision: number;
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
36
36
  precision: number;
37
37
  };
38
38
  } | null | undefined;
39
- type: "RECIPE" | "SKU";
39
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
40
40
  amount: {
41
41
  amount: number;
42
42
  precision: number;
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
58
58
  precision: number;
59
59
  };
60
60
  } | null | undefined;
61
- type: "RECIPE" | "SKU";
61
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
62
62
  amount: {
63
63
  amount: number;
64
64
  precision: number;
@@ -117,7 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
117
117
  precision: number;
118
118
  };
119
119
  } | null | undefined;
120
- type: "RECIPE" | "SKU";
120
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
121
121
  amount: {
122
122
  amount: number;
123
123
  precision: number;
@@ -137,7 +137,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
137
137
  precision: number;
138
138
  };
139
139
  } | null | undefined;
140
- type: "RECIPE" | "SKU";
140
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
141
141
  amount: {
142
142
  amount: number;
143
143
  precision: number;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
22
22
  precision: number;
23
23
  };
24
24
  } | null | undefined;
25
- type: "RECIPE" | "SKU";
25
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
26
26
  amount: {
27
27
  amount: number;
28
28
  precision: number;
@@ -59,7 +59,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  precision: number;
60
60
  };
61
61
  } | null | undefined;
62
- type: "RECIPE" | "SKU";
62
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
63
63
  amount: {
64
64
  amount: number;
65
65
  precision: number;
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
38
38
  precision: number;
39
39
  };
40
40
  } | null | undefined;
41
- type: "RECIPE" | "SKU";
41
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
42
42
  amount: {
43
43
  amount: number;
44
44
  precision: number;
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
102
102
  precision: number;
103
103
  };
104
104
  } | null | undefined;
105
- type: "RECIPE" | "SKU";
105
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
106
106
  amount: {
107
107
  amount: number;
108
108
  precision: number;
@@ -1,4 +1,4 @@
1
- import "./app-DXZpbt33.js";
1
+ import "./app-B0BJjpJ5.js";
2
2
  function m(a) {
3
3
  function t(o, n = !0) {
4
4
  const e = Math.round(Math.log10(o));
@@ -1,4 +1,4 @@
1
- import { c as i, ao as d } from "./app-DXZpbt33.js";
1
+ import { c as i, ao as d } from "./app-B0BJjpJ5.js";
2
2
  import { getCurrentInstance as n, reactive as m, watch as l } from "vue";
3
3
  function b(e = "modelValue") {
4
4
  var t, r;
@@ -17,6 +17,7 @@ declare global {
17
17
  */
18
18
  insert(element: T, at: number): T[];
19
19
  chunk(chunkSize: number): Generator<T[], void, unknown>;
20
+ groupBy<K, M = T>(key: keyof T, mapper?: (element: T, index: number, array: this) => M): Map<K, [M, ...M[]]>;
20
21
  }
21
22
  }
22
23
  export {};
@@ -1,4 +1,4 @@
1
- import { ar as n } from "./app-DXZpbt33.js";
1
+ import { ar as n } from "./app-B0BJjpJ5.js";
2
2
  function d(t) {
3
3
  const r = a(t);
4
4
  return r === null ? "" : n(r);
@@ -1,15 +1,15 @@
1
1
  import { F as ee, D as j, R as I } from "./row-action.enum-PMKMRrZR.js";
2
2
  import { c as be } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
3
- import { n as Te, u as M, f as Se, i as V, a as D, h as _e, al as te, t as Q, r as L, ak as we, ae as $e, w as ke, c as W, as as re, y as Re } from "./app-DXZpbt33.js";
4
- import { f as Ee } from "./format-time-from-id-Dhgv47T9.js";
3
+ import { n as Te, u as M, f as Se, i as V, a as D, h as _e, al as te, t as Q, r as L, ak as we, ae as $e, w as ke, c as W, as as re, y as Re } from "./app-B0BJjpJ5.js";
4
+ import { f as Ee } from "./format-time-from-id-Bwq0tn09.js";
5
5
  import { useCoreStore as Y, useI18n as G } from "@feedmepos/mf-common";
6
6
  import { useDialogChild as Ce, useSnackbar as le, useDialog as Ae, FmButtonVariant as ne, components as oe } from "@feedmepos/ui-library";
7
7
  import { defineStore as me } from "pinia";
8
8
  import { defineComponent as ce, resolveComponent as P, openBlock as _, createElementBlock as $, createElementVNode as w, normalizeClass as U, createTextVNode as Ie, toDisplayString as C, unref as E, createCommentVNode as B, createVNode as N, withCtx as K, Fragment as F, renderList as q, ref as k, onMounted as Ne, computed as ae, watch as De, createSlots as Fe, createBlock as H, h as z } from "vue";
9
9
  import { useRouter as Oe } from "vue-router";
10
- import { a as O, b as ue, d as pe, s as de, r as Pe } from "./xlsx.util-7VhQushh.js";
11
- import { F as Ue } from "./FmDroppableField-DeZRIGOb.js";
12
- import { u as J } from "./supplier-Beauc4QC.js";
10
+ import { a as O, b as ue, d as pe, s as de, r as Pe } from "./xlsx.util-J1g7CG7t.js";
11
+ import { F as Ue } from "./FmDroppableField-DHF0MZls.js";
12
+ import { u as J } from "./supplier-D9s1N_M7.js";
13
13
  const fe = Te((t, r) => {
14
14
  function a() {
15
15
  var n;
@@ -62,7 +62,7 @@ export declare function useInventoryStore(): {
62
62
  precision: number;
63
63
  };
64
64
  } | null | undefined;
65
- type: "RECIPE" | "SKU";
65
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
66
66
  amount: {
67
67
  amount: number;
68
68
  precision: number;
@@ -124,7 +124,7 @@ export declare function useInventoryStore(): {
124
124
  precision: number;
125
125
  };
126
126
  } | null | undefined;
127
- type: "RECIPE" | "SKU";
127
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
128
128
  amount: {
129
129
  amount: number;
130
130
  precision: number;
@@ -132,6 +132,74 @@ export declare function useInventoryStore(): {
132
132
  id: string;
133
133
  }[];
134
134
  }[] | null | undefined;
135
+ skuGroup?: {
136
+ ref?: string | null | undefined;
137
+ unit: {
138
+ _id: string;
139
+ name: string;
140
+ abbrev: string;
141
+ precision: number;
142
+ measurements: {
143
+ id: string;
144
+ name: string;
145
+ abbrev: string;
146
+ conversion: {
147
+ amount: number;
148
+ precision: number;
149
+ };
150
+ }[];
151
+ };
152
+ _id: string;
153
+ name: string;
154
+ skus: {
155
+ trackingMeasurement?: string | null | undefined;
156
+ convert?: {
157
+ measurement?: string | null | undefined;
158
+ inventoryBindings?: {
159
+ measurement?: {
160
+ id: string;
161
+ name: string;
162
+ abbrev: string;
163
+ conversion: {
164
+ amount: number;
165
+ precision: number;
166
+ };
167
+ } | null | undefined;
168
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
169
+ amount: {
170
+ amount: number;
171
+ precision: number;
172
+ };
173
+ id: string;
174
+ }[] | null | undefined;
175
+ } | null | undefined;
176
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
177
+ defaultCost?: {
178
+ measurement?: {
179
+ id: string;
180
+ name: string;
181
+ abbrev: string;
182
+ conversion: {
183
+ amount: number;
184
+ precision: number;
185
+ };
186
+ } | null | undefined;
187
+ costPerUnit: {
188
+ 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";
189
+ amount: number;
190
+ precision: number;
191
+ };
192
+ } | null | undefined;
193
+ thresholds?: {
194
+ low: number;
195
+ mid: number;
196
+ } | null | undefined;
197
+ operationalGroup?: string | null | undefined;
198
+ code: string;
199
+ _id: string;
200
+ name: string;
201
+ }[];
202
+ }[] | null | undefined;
135
203
  updatedAt?: string | null | undefined;
136
204
  _id: string;
137
205
  } & {
@@ -767,7 +835,7 @@ export declare function useInventoryStore(): {
767
835
  precision: number;
768
836
  };
769
837
  } | null | undefined;
770
- type: "RECIPE" | "SKU";
838
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
771
839
  amount: {
772
840
  amount: number;
773
841
  precision: number;
@@ -829,7 +897,7 @@ export declare function useInventoryStore(): {
829
897
  precision: number;
830
898
  };
831
899
  } | null | undefined;
832
- type: "RECIPE" | "SKU";
900
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
833
901
  amount: {
834
902
  amount: number;
835
903
  precision: number;
@@ -837,6 +905,74 @@ export declare function useInventoryStore(): {
837
905
  id: string;
838
906
  }[];
839
907
  }[] | null | undefined;
908
+ skuGroup?: {
909
+ ref?: string | null | undefined;
910
+ unit: {
911
+ _id: string;
912
+ name: string;
913
+ abbrev: string;
914
+ precision: number;
915
+ measurements: {
916
+ id: string;
917
+ name: string;
918
+ abbrev: string;
919
+ conversion: {
920
+ amount: number;
921
+ precision: number;
922
+ };
923
+ }[];
924
+ };
925
+ _id: string;
926
+ name: string;
927
+ skus: {
928
+ trackingMeasurement?: string | null | undefined;
929
+ convert?: {
930
+ measurement?: string | null | undefined;
931
+ inventoryBindings?: {
932
+ measurement?: {
933
+ id: string;
934
+ name: string;
935
+ abbrev: string;
936
+ conversion: {
937
+ amount: number;
938
+ precision: number;
939
+ };
940
+ } | null | undefined;
941
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
942
+ amount: {
943
+ amount: number;
944
+ precision: number;
945
+ };
946
+ id: string;
947
+ }[] | null | undefined;
948
+ } | null | undefined;
949
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
950
+ defaultCost?: {
951
+ measurement?: {
952
+ id: string;
953
+ name: string;
954
+ abbrev: string;
955
+ conversion: {
956
+ amount: number;
957
+ precision: number;
958
+ };
959
+ } | null | undefined;
960
+ costPerUnit: {
961
+ 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";
962
+ amount: number;
963
+ precision: number;
964
+ };
965
+ } | null | undefined;
966
+ thresholds?: {
967
+ low: number;
968
+ mid: number;
969
+ } | null | undefined;
970
+ operationalGroup?: string | null | undefined;
971
+ code: string;
972
+ _id: string;
973
+ name: string;
974
+ }[];
975
+ }[] | null | undefined;
840
976
  updatedAt?: string | null | undefined;
841
977
  _id: string;
842
978
  _rev: string;
@@ -1828,7 +1964,6 @@ export declare function useInventoryStore(): {
1828
1964
  passcode: string;
1829
1965
  } | null | undefined;
1830
1966
  _id?: string | undefined;
1831
- adjustmentIds?: string[] | undefined;
1832
1967
  skus?: {
1833
1968
  costs?: {
1834
1969
  adjustmentId?: string | null | undefined;
@@ -1868,6 +2003,7 @@ export declare function useInventoryStore(): {
1868
2003
  };
1869
2004
  id: string;
1870
2005
  }[] | undefined;
2006
+ adjustmentIds?: string[] | undefined;
1871
2007
  } | null;
1872
2008
  };
1873
2009
  readonly units: {
@@ -1913,7 +2049,7 @@ export declare function useInventoryStore(): {
1913
2049
  precision: number;
1914
2050
  };
1915
2051
  } | null | undefined;
1916
- type: "RECIPE" | "SKU";
2052
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1917
2053
  amount: {
1918
2054
  amount: number;
1919
2055
  precision: number;
@@ -1934,7 +2070,7 @@ export declare function useInventoryStore(): {
1934
2070
  precision: number;
1935
2071
  };
1936
2072
  } | null | undefined;
1937
- type: "RECIPE" | "SKU";
2073
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1938
2074
  amount: {
1939
2075
  amount: number;
1940
2076
  precision: number;
@@ -1956,7 +2092,7 @@ export declare function useInventoryStore(): {
1956
2092
  precision: number;
1957
2093
  };
1958
2094
  } | null | undefined;
1959
- type: "RECIPE" | "SKU";
2095
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1960
2096
  amount: {
1961
2097
  amount: number;
1962
2098
  precision: number;
@@ -2019,7 +2155,7 @@ export declare function useInventoryStore(): {
2019
2155
  precision: number;
2020
2156
  };
2021
2157
  } | null | undefined;
2022
- type: "RECIPE" | "SKU";
2158
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2023
2159
  amount: {
2024
2160
  amount: number;
2025
2161
  precision: number;
@@ -2082,7 +2218,7 @@ export declare function useInventoryStore(): {
2082
2218
  precision: number;
2083
2219
  };
2084
2220
  } | null | undefined;
2085
- type: "RECIPE" | "SKU";
2221
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2086
2222
  amount: {
2087
2223
  amount: number;
2088
2224
  precision: number;
@@ -10,8 +10,8 @@ export declare function useNetSuiteStore(): {
10
10
  items: {
11
11
  id: string;
12
12
  netSuiteId: string;
13
- unitTypeId: string;
14
13
  unitOfMeasureId: string;
14
+ unitTypeId: string;
15
15
  subsidiaryIds: string[];
16
16
  }[];
17
17
  locations: {
@@ -22,6 +22,19 @@ export declare function useNetSuiteStore(): {
22
22
  subsidiaryId: string;
23
23
  }[];
24
24
  syncedAt?: string | null | undefined;
25
+ restlet?: {
26
+ type: "createItemReceipt";
27
+ scriptId: string;
28
+ deploymentId: string;
29
+ }[] | null | undefined;
30
+ childItems: {
31
+ pktName?: string | null | undefined;
32
+ externalId?: string | null | undefined;
33
+ netSuiteId: string;
34
+ parentNetSuiteId: string;
35
+ unitOfMeasureId: string;
36
+ pktCode: string;
37
+ }[];
25
38
  units: {
26
39
  id: string;
27
40
  measurements: {
@@ -39,6 +52,8 @@ export declare function useNetSuiteStore(): {
39
52
  }[];
40
53
  };
41
54
  };
55
+ readonly netSuiteItemIdToSkuId: Map<unknown, [string, ...string[]]>;
56
+ readonly netSuiteMeasurementIdToMeasurementId: Map<unknown, [string, ...string[]]>;
42
57
  getNetSuiteLocation(locationId: string): FdoNetSuiteLocation | undefined;
43
58
  getLocationSubsidiary(netSuiteLocationId?: string | null): {
44
59
  id: string | undefined;
@@ -1,4 +1,4 @@
1
- import { n as m, i as u, h as y, Y as b, Z as v } from "./app-DXZpbt33.js";
1
+ import { n as m, i as u, h as y, Z as b, $ as v } from "./app-B0BJjpJ5.js";
2
2
  import { useCoreStore as c } from "@feedmepos/mf-common";
3
3
  import { defineStore as w } from "pinia";
4
4
  import { ref as l, computed as d } from "vue";