@feedmepos/mf-inventory-portal 1.2.64 → 1.2.66-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-apJIvz1w.js → App-BUNonuLz.js} +82 -78
- package/dist/{ApprovalView-CnT6gEI8.js → ApprovalView-BlS1tfbh.js} +6 -6
- package/dist/{BindingsDialog-DLEGDbV2.js → BindingsDialog-tRpsVTm0.js} +5 -5
- package/dist/{BindingsPicker-1Xt1vCu9.js → BindingsPicker-CUvkqcAG.js} +3 -3
- package/dist/{BindingsTable-_0cOM0Kx.js → BindingsTable-B86pWYMk.js} +5 -5
- package/dist/{ClosingDraftView-DsVPsN87.js → ClosingDraftView-gMVnQcWw.js} +226 -224
- package/dist/ClosingHistoryView-DhbE1pEl.js +1147 -0
- package/dist/{ClosingTemplateView-DB3F1wul.js → ClosingTemplateView-Ywbdj05y.js} +15 -15
- package/dist/{DeliveryOrderPrintPreview-CglCMgHc.js → DeliveryOrderPrintPreview-BPhVNc_r.js} +7 -7
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-MMPTJodu.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BrPh_Nvx.js} +16 -16
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CCID5O2Y.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CkUwLhut.js} +3 -3
- package/dist/{FmMultiselectDialog-B8xFmCsH.js → FmMultiselectDialog-C6E_KMFO.js} +1 -1
- package/dist/{FmMultiselectDialog-lQM1qEEW.js → FmMultiselectDialog-DBXpkw5b.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BLDz8wwK.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D-ZqJ8sU.js} +23 -22
- package/dist/{ImportView-DeC-MPFn.js → ImportView-DV1e51qk.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BGDZlmsr.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DkQL7hK2.js} +1 -1
- package/dist/{IngredientGroupView-CuFwQ8Bo.js → IngredientGroupView-CdXGO34J.js} +6 -6
- package/dist/{IngredientsView-CfloqEqn.js → IngredientsView-D2qffNiJ.js} +26 -25
- package/dist/{IntegrationView-CFU0yG6C.js → IntegrationView-RFJIHXQv.js} +19 -18
- package/dist/{InventoryBindingForm-i7eNurS2.js → InventoryBindingForm-CPn-IXgg.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-zOo9YVJe.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-0Vrih8D5.js} +17 -16
- package/dist/{InventoryBindingSummary-BbHLCdjj.js → InventoryBindingSummary-B_WUQ6By.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-NEPqmkHR.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmDuR4Yb.js} +5 -5
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DhIHSpzG.js +93 -0
- package/dist/{PublishView-CbwCLtph.js → PublishView-BtTSOUyL.js} +9 -9
- package/dist/{PurchaseOrderPrintPreview-DLhgjhHB.js → PurchaseOrderPrintPreview-CxhMPx5u.js} +11 -11
- package/dist/{ReceiveRequestView-CE2aQR-o.js → ReceiveRequestView-CsqEjf7r.js} +144 -142
- package/dist/RecipeView-DASoba97.js +1558 -0
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js +254 -0
- package/dist/StockView-B4Km4DgB.js +2395 -0
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0BDdq4d.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cki-LAZR.js} +1 -1
- package/dist/{SupplierView-wSzWjZLY.js → SupplierView-CrzFvBIx.js} +21 -20
- package/dist/{SurchargeView-G8OyE60y.js → SurchargeView-BoNWpxFY.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CROQL761.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dcp5vZPM.js} +3 -3
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-IAknr-ye.js +292 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D1AGDeEP.js → TransferDetails.vue_vue_type_script_setup_true_lang-D9aNX0oM.js} +131 -130
- package/dist/{TransferTemplateView-CVfi8jsk.js → TransferTemplateView-DwIU0paO.js} +23 -22
- package/dist/UnitCostHistoryView-Bjs4RwyR.js +651 -0
- package/dist/UnitDisplayControl.vue_vue_type_script_setup_true_lang-BH0PxivU.js +137 -0
- package/dist/{UnitView-Dn3nuQHm.js → UnitView-BbQ0jOgS.js} +12 -10
- package/dist/{WarehouseView-GSxQ_Ev2.js → WarehouseView-DzPttKzE.js} +6 -6
- package/dist/WastageTemplateView-CxyZz5JC.js +2327 -0
- package/dist/api/adjustment-template.d.ts +1 -0
- package/dist/api/closing.d.ts +2 -0
- package/dist/api/inventory.d.ts +126 -36
- package/dist/api/netsuite.d.ts +8 -1
- package/dist/api/stock.d.ts +5 -1
- package/dist/api/unit-cost-history.d.ts +28 -0
- package/dist/{app-CYbiMVcX.js → app-EoCCjoRh.js} +9021 -7945
- package/dist/app.d.ts +236 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Dq16W8vW.js → closing-template-O_hzhisU.js} +5 -1
- package/dist/components/TemplatePublishDialog.d.ts +1 -0
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +37 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +14 -0
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +16 -1
- package/dist/{date2-De3BHKh5.js → date2-CTHKdfXp.js} +1 -1
- package/dist/{dayjs.min-DxdfVXA-.js → dayjs.min-Ccv4NdEp.js} +16 -16
- package/dist/decimal-tRyklLh0.js +99 -0
- package/dist/{defineDeepModel-2n_afItE.js → defineDeepModel-rmOd66to.js} +1 -1
- package/dist/{duplicate-template-DM7YIgor.js → duplicate-template-k8Erwdzo.js} +1 -1
- package/dist/export-TmaGpV98.js +25 -0
- package/dist/{feature-_nNpSZuh.js → feature-D4-lt7R6.js} +94 -89
- package/dist/{format-time-from-id-D5HSMsS-.js → format-time-from-id-Cru7cG1h.js} +1 -1
- package/dist/{format-unit-display-CQUFDxVm.js → format-unit-display-DZDD796a.js} +16 -15
- package/dist/{import-export.helper-BoxczUsX.js → import-export.helper-BjzXGudc.js} +16 -15
- package/dist/{index-B6nDUCCe.js → index-BeEz64I1.js} +3 -3
- package/dist/{index-Cp_mpu5S.js → index-DKCY6354.js} +1471 -1412
- package/dist/{index-CdfF5GGW.js → index-gGbN4qbt.js} +1 -1
- package/dist/{lodash-2R7Rgorb.js → lodash-BSCFf0k7.js} +1 -1
- package/dist/{netsuite-Bss4fURp.js → netsuite-DwoCq3Mv.js} +92 -92
- package/dist/number-CEUoMyIk.js +138 -0
- package/dist/{purchase-order-template-CBSvv0b2.js → purchase-order-template-DWTdjo9l.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/rules-CyW1Bx31.js +98 -0
- package/dist/{stock-DMX_hH5c.js → stock-DYWJ4DZW.js} +28 -27
- package/dist/stock-Ds3GNgHG.js +75 -0
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +8 -1
- package/dist/stores/inventory.d.ts +120 -30
- package/dist/{supplier-Cf5HW15s.js → supplier-DwUb1oVo.js} +2 -2
- package/dist/{surcharge-CyReT8lG.js → surcharge-UTJFNBLN.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BCyydlHR.js → use-ingredient-select-dialog-D8A3bPTe.js} +2 -2
- package/dist/{use-inventory-binding-dialog-WGQs-_2i.js → use-inventory-binding-dialog-DFmiAQ9d.js} +2 -2
- package/dist/{use-template-enabled-locations-2-B0nlqUjb.js → use-template-enabled-locations-2-snlITfW8.js} +2 -2
- package/dist/views/adjustment-template/wastage-template/table.d.ts +10 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -12
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +204 -36
- package/dist/views/closing-history/ClosingDetailDialog.vue.d.ts +23 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +96 -12
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +96 -12
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +18 -18
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +14 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -4
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +28 -0
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +169 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +43 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingRule.vue.d.ts +25 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +125 -0
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +129 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +30 -0
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-dialog.d.ts +4 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +33 -5
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +16 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +32 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +41 -6
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +246 -36
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +287 -42
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +16 -0
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +16 -2
- package/dist/views/stock/components/dialog/SnapshotRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/stock/components/dialog/recalculationUtils.d.ts +16 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +16 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +24 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -12
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -12
- package/dist/views/unit-cost-history/UnitCostHistoryView.vue.d.ts +2 -0
- package/dist/views/unit-cost-history/components/UnitCostDetailsSideSheet.vue.d.ts +19 -0
- package/dist/views/unit-cost-history/components/UnitCostRecalculationDialog.vue.d.ts +11 -0
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +65 -0
- package/dist/{vue-i18n-DwS_fjo9.js → vue-i18n-CY4442Fb.js} +510 -510
- package/dist/{xlsx-9MOvXxhT.js → xlsx-Kc1XotGV.js} +1 -1
- package/dist/{xlsx.util-D1DdGA1N.js → xlsx.util-Dy4jmPyv.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingHistoryView-YrEVWvGu.js +0 -447
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BDVHkTSE.js +0 -116
- package/dist/RecipeView-B-gmrXHR.js +0 -646
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +0 -251
- package/dist/StockView-BNe2_5bA.js +0 -2520
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CwV2luel.js +0 -263
- package/dist/WastageTemplateView-BG-y48uc.js +0 -2388
- package/dist/rules-T-fs8_4_.js +0 -327
- package/dist/stock-CFWu5bRA.js +0 -75
|
@@ -25,5 +25,6 @@ export declare const useAdjustmentTemplateApi: () => {
|
|
|
25
25
|
importTemplates(templates: Array<(FdoAdjustmentTemplate & RevisionIdMeta) | Omit<FdoAdjustmentTemplate, '_id'>>): Promise<any>;
|
|
26
26
|
getReasons(): Promise<FdoAdjustmentTemplateReason>;
|
|
27
27
|
update(reason: FdoAdjustmentTemplateReason): Promise<any>;
|
|
28
|
+
publishReasonDoc(locationDbNames?: string[] | null): Promise<FdoAdjustmentTemplatePublish>;
|
|
28
29
|
getAuditTrails(templateId: string): Promise<FdoInventorySystemTrail[]>;
|
|
29
30
|
};
|
package/dist/api/closing.d.ts
CHANGED
|
@@ -9,4 +9,6 @@ export declare const useClosingApi: () => {
|
|
|
9
9
|
skuBalances: FdoSkuBalance[];
|
|
10
10
|
}): Promise<FdoClosing | null>;
|
|
11
11
|
initiateClosing(): Promise<void>;
|
|
12
|
+
initiateStockSnapshot(date: string): Promise<FdoStockSnapshot>;
|
|
13
|
+
getLastNStockSnapshots(limit?: number): Promise<FdoStockSnapshot[]>;
|
|
12
14
|
};
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -300,6 +300,7 @@ export declare const useInventoryApi: () => {
|
|
|
300
300
|
}[] | null | undefined;
|
|
301
301
|
recipe?: {
|
|
302
302
|
customAttributes?: Record<string, any> | null | undefined;
|
|
303
|
+
version?: "v2" | null | undefined;
|
|
303
304
|
_id: string;
|
|
304
305
|
name: string;
|
|
305
306
|
contains: {
|
|
@@ -312,6 +313,13 @@ export declare const useInventoryApi: () => {
|
|
|
312
313
|
precision: number;
|
|
313
314
|
};
|
|
314
315
|
} | null | undefined;
|
|
316
|
+
rules?: Record<string, any> | null | undefined;
|
|
317
|
+
alternatives?: {
|
|
318
|
+
priority?: number | null | undefined;
|
|
319
|
+
default?: boolean | null | undefined;
|
|
320
|
+
trackingMeasurement?: string | null | undefined;
|
|
321
|
+
_id: string;
|
|
322
|
+
}[] | null | undefined;
|
|
315
323
|
id: string;
|
|
316
324
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
317
325
|
amount: {
|
|
@@ -321,8 +329,8 @@ export declare const useInventoryApi: () => {
|
|
|
321
329
|
}[];
|
|
322
330
|
}[] | null | undefined;
|
|
323
331
|
sku?: {
|
|
324
|
-
isInactive?: boolean | null | undefined;
|
|
325
332
|
trackingMeasurement?: string | null | undefined;
|
|
333
|
+
isInactive?: boolean | null | undefined;
|
|
326
334
|
convert?: {
|
|
327
335
|
measurement?: string | null | undefined;
|
|
328
336
|
inventoryBindings?: {
|
|
@@ -335,6 +343,13 @@ export declare const useInventoryApi: () => {
|
|
|
335
343
|
precision: number;
|
|
336
344
|
};
|
|
337
345
|
} | null | undefined;
|
|
346
|
+
rules?: Record<string, any> | null | undefined;
|
|
347
|
+
alternatives?: {
|
|
348
|
+
priority?: number | null | undefined;
|
|
349
|
+
default?: boolean | null | undefined;
|
|
350
|
+
trackingMeasurement?: string | null | undefined;
|
|
351
|
+
_id: string;
|
|
352
|
+
}[] | null | undefined;
|
|
338
353
|
id: string;
|
|
339
354
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
340
355
|
amount: {
|
|
@@ -387,12 +402,6 @@ export declare const useInventoryApi: () => {
|
|
|
387
402
|
}[] | null | undefined;
|
|
388
403
|
skuGroup?: {
|
|
389
404
|
ref?: string | null | undefined;
|
|
390
|
-
defaultSkuRefs?: {
|
|
391
|
-
priority?: number | null | undefined;
|
|
392
|
-
default?: boolean | null | undefined;
|
|
393
|
-
trackingMeasurement?: string | null | undefined;
|
|
394
|
-
_id: string;
|
|
395
|
-
}[] | null | undefined;
|
|
396
405
|
rules?: {
|
|
397
406
|
rule?: any;
|
|
398
407
|
_id: string;
|
|
@@ -404,6 +413,12 @@ export declare const useInventoryApi: () => {
|
|
|
404
413
|
_id: string;
|
|
405
414
|
}[];
|
|
406
415
|
}[] | null | undefined;
|
|
416
|
+
defaultSkuRefs?: {
|
|
417
|
+
priority?: number | null | undefined;
|
|
418
|
+
default?: boolean | null | undefined;
|
|
419
|
+
trackingMeasurement?: string | null | undefined;
|
|
420
|
+
_id: string;
|
|
421
|
+
}[] | null | undefined;
|
|
407
422
|
_id: string;
|
|
408
423
|
name: string;
|
|
409
424
|
}[] | null | undefined;
|
|
@@ -428,6 +443,7 @@ export declare const useInventoryApi: () => {
|
|
|
428
443
|
}[] | null | undefined;
|
|
429
444
|
recipe?: {
|
|
430
445
|
customAttributes?: Record<string, any> | null | undefined;
|
|
446
|
+
version?: "v2" | null | undefined;
|
|
431
447
|
_id: string;
|
|
432
448
|
name: string;
|
|
433
449
|
contains: {
|
|
@@ -440,6 +456,13 @@ export declare const useInventoryApi: () => {
|
|
|
440
456
|
precision: number;
|
|
441
457
|
};
|
|
442
458
|
} | null | undefined;
|
|
459
|
+
rules?: Record<string, any> | null | undefined;
|
|
460
|
+
alternatives?: {
|
|
461
|
+
priority?: number | null | undefined;
|
|
462
|
+
default?: boolean | null | undefined;
|
|
463
|
+
trackingMeasurement?: string | null | undefined;
|
|
464
|
+
_id: string;
|
|
465
|
+
}[] | null | undefined;
|
|
443
466
|
id: string;
|
|
444
467
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
445
468
|
amount: {
|
|
@@ -449,8 +472,8 @@ export declare const useInventoryApi: () => {
|
|
|
449
472
|
}[];
|
|
450
473
|
}[] | null | undefined;
|
|
451
474
|
sku?: {
|
|
452
|
-
isInactive?: boolean | null | undefined;
|
|
453
475
|
trackingMeasurement?: string | null | undefined;
|
|
476
|
+
isInactive?: boolean | null | undefined;
|
|
454
477
|
convert?: {
|
|
455
478
|
measurement?: string | null | undefined;
|
|
456
479
|
inventoryBindings?: {
|
|
@@ -463,6 +486,13 @@ export declare const useInventoryApi: () => {
|
|
|
463
486
|
precision: number;
|
|
464
487
|
};
|
|
465
488
|
} | null | undefined;
|
|
489
|
+
rules?: Record<string, any> | null | undefined;
|
|
490
|
+
alternatives?: {
|
|
491
|
+
priority?: number | null | undefined;
|
|
492
|
+
default?: boolean | null | undefined;
|
|
493
|
+
trackingMeasurement?: string | null | undefined;
|
|
494
|
+
_id: string;
|
|
495
|
+
}[] | null | undefined;
|
|
466
496
|
id: string;
|
|
467
497
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
468
498
|
amount: {
|
|
@@ -515,12 +545,6 @@ export declare const useInventoryApi: () => {
|
|
|
515
545
|
}[] | null | undefined;
|
|
516
546
|
skuGroup?: {
|
|
517
547
|
ref?: string | null | undefined;
|
|
518
|
-
defaultSkuRefs?: {
|
|
519
|
-
priority?: number | null | undefined;
|
|
520
|
-
default?: boolean | null | undefined;
|
|
521
|
-
trackingMeasurement?: string | null | undefined;
|
|
522
|
-
_id: string;
|
|
523
|
-
}[] | null | undefined;
|
|
524
548
|
rules?: {
|
|
525
549
|
rule?: any;
|
|
526
550
|
_id: string;
|
|
@@ -532,6 +556,12 @@ export declare const useInventoryApi: () => {
|
|
|
532
556
|
_id: string;
|
|
533
557
|
}[];
|
|
534
558
|
}[] | null | undefined;
|
|
559
|
+
defaultSkuRefs?: {
|
|
560
|
+
priority?: number | null | undefined;
|
|
561
|
+
default?: boolean | null | undefined;
|
|
562
|
+
trackingMeasurement?: string | null | undefined;
|
|
563
|
+
_id: string;
|
|
564
|
+
}[] | null | undefined;
|
|
535
565
|
_id: string;
|
|
536
566
|
name: string;
|
|
537
567
|
}[] | null | undefined;
|
|
@@ -557,6 +587,7 @@ export declare const useInventoryApi: () => {
|
|
|
557
587
|
}[] | null | undefined;
|
|
558
588
|
recipe?: {
|
|
559
589
|
customAttributes?: Record<string, any> | null | undefined;
|
|
590
|
+
version?: "v2" | null | undefined;
|
|
560
591
|
_id: string;
|
|
561
592
|
name: string;
|
|
562
593
|
contains: {
|
|
@@ -569,6 +600,13 @@ export declare const useInventoryApi: () => {
|
|
|
569
600
|
precision: number;
|
|
570
601
|
};
|
|
571
602
|
} | null | undefined;
|
|
603
|
+
rules?: Record<string, any> | null | undefined;
|
|
604
|
+
alternatives?: {
|
|
605
|
+
priority?: number | null | undefined;
|
|
606
|
+
default?: boolean | null | undefined;
|
|
607
|
+
trackingMeasurement?: string | null | undefined;
|
|
608
|
+
_id: string;
|
|
609
|
+
}[] | null | undefined;
|
|
572
610
|
id: string;
|
|
573
611
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
574
612
|
amount: {
|
|
@@ -578,8 +616,8 @@ export declare const useInventoryApi: () => {
|
|
|
578
616
|
}[];
|
|
579
617
|
}[] | null | undefined;
|
|
580
618
|
sku?: {
|
|
581
|
-
isInactive?: boolean | null | undefined;
|
|
582
619
|
trackingMeasurement?: string | null | undefined;
|
|
620
|
+
isInactive?: boolean | null | undefined;
|
|
583
621
|
convert?: {
|
|
584
622
|
measurement?: string | null | undefined;
|
|
585
623
|
inventoryBindings?: {
|
|
@@ -592,6 +630,13 @@ export declare const useInventoryApi: () => {
|
|
|
592
630
|
precision: number;
|
|
593
631
|
};
|
|
594
632
|
} | null | undefined;
|
|
633
|
+
rules?: Record<string, any> | null | undefined;
|
|
634
|
+
alternatives?: {
|
|
635
|
+
priority?: number | null | undefined;
|
|
636
|
+
default?: boolean | null | undefined;
|
|
637
|
+
trackingMeasurement?: string | null | undefined;
|
|
638
|
+
_id: string;
|
|
639
|
+
}[] | null | undefined;
|
|
595
640
|
id: string;
|
|
596
641
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
597
642
|
amount: {
|
|
@@ -644,12 +689,6 @@ export declare const useInventoryApi: () => {
|
|
|
644
689
|
}[] | null | undefined;
|
|
645
690
|
skuGroup?: {
|
|
646
691
|
ref?: string | null | undefined;
|
|
647
|
-
defaultSkuRefs?: {
|
|
648
|
-
priority?: number | null | undefined;
|
|
649
|
-
default?: boolean | null | undefined;
|
|
650
|
-
trackingMeasurement?: string | null | undefined;
|
|
651
|
-
_id: string;
|
|
652
|
-
}[] | null | undefined;
|
|
653
692
|
rules?: {
|
|
654
693
|
rule?: any;
|
|
655
694
|
_id: string;
|
|
@@ -661,6 +700,12 @@ export declare const useInventoryApi: () => {
|
|
|
661
700
|
_id: string;
|
|
662
701
|
}[];
|
|
663
702
|
}[] | null | undefined;
|
|
703
|
+
defaultSkuRefs?: {
|
|
704
|
+
priority?: number | null | undefined;
|
|
705
|
+
default?: boolean | null | undefined;
|
|
706
|
+
trackingMeasurement?: string | null | undefined;
|
|
707
|
+
_id: string;
|
|
708
|
+
}[] | null | undefined;
|
|
664
709
|
_id: string;
|
|
665
710
|
name: string;
|
|
666
711
|
}[] | null | undefined;
|
|
@@ -671,8 +716,8 @@ export declare const useInventoryApi: () => {
|
|
|
671
716
|
errors: {
|
|
672
717
|
error?: any;
|
|
673
718
|
data: {
|
|
674
|
-
isInactive?: boolean | null | undefined;
|
|
675
719
|
trackingMeasurement?: string | null | undefined;
|
|
720
|
+
isInactive?: boolean | null | undefined;
|
|
676
721
|
convert?: {
|
|
677
722
|
measurement?: string | null | undefined;
|
|
678
723
|
inventoryBindings?: {
|
|
@@ -685,6 +730,13 @@ export declare const useInventoryApi: () => {
|
|
|
685
730
|
precision: number;
|
|
686
731
|
};
|
|
687
732
|
} | null | undefined;
|
|
733
|
+
rules?: Record<string, any> | null | undefined;
|
|
734
|
+
alternatives?: {
|
|
735
|
+
priority?: number | null | undefined;
|
|
736
|
+
default?: boolean | null | undefined;
|
|
737
|
+
trackingMeasurement?: string | null | undefined;
|
|
738
|
+
_id: string;
|
|
739
|
+
}[] | null | undefined;
|
|
688
740
|
id: string;
|
|
689
741
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
690
742
|
amount: {
|
|
@@ -756,6 +808,7 @@ export declare const useInventoryApi: () => {
|
|
|
756
808
|
}[] | null | undefined;
|
|
757
809
|
recipe?: {
|
|
758
810
|
customAttributes?: Record<string, any> | null | undefined;
|
|
811
|
+
version?: "v2" | null | undefined;
|
|
759
812
|
_id: string;
|
|
760
813
|
name: string;
|
|
761
814
|
contains: {
|
|
@@ -768,6 +821,13 @@ export declare const useInventoryApi: () => {
|
|
|
768
821
|
precision: number;
|
|
769
822
|
};
|
|
770
823
|
} | null | undefined;
|
|
824
|
+
rules?: Record<string, any> | null | undefined;
|
|
825
|
+
alternatives?: {
|
|
826
|
+
priority?: number | null | undefined;
|
|
827
|
+
default?: boolean | null | undefined;
|
|
828
|
+
trackingMeasurement?: string | null | undefined;
|
|
829
|
+
_id: string;
|
|
830
|
+
}[] | null | undefined;
|
|
771
831
|
id: string;
|
|
772
832
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
773
833
|
amount: {
|
|
@@ -777,8 +837,8 @@ export declare const useInventoryApi: () => {
|
|
|
777
837
|
}[];
|
|
778
838
|
}[] | null | undefined;
|
|
779
839
|
sku?: {
|
|
780
|
-
isInactive?: boolean | null | undefined;
|
|
781
840
|
trackingMeasurement?: string | null | undefined;
|
|
841
|
+
isInactive?: boolean | null | undefined;
|
|
782
842
|
convert?: {
|
|
783
843
|
measurement?: string | null | undefined;
|
|
784
844
|
inventoryBindings?: {
|
|
@@ -791,6 +851,13 @@ export declare const useInventoryApi: () => {
|
|
|
791
851
|
precision: number;
|
|
792
852
|
};
|
|
793
853
|
} | null | undefined;
|
|
854
|
+
rules?: Record<string, any> | null | undefined;
|
|
855
|
+
alternatives?: {
|
|
856
|
+
priority?: number | null | undefined;
|
|
857
|
+
default?: boolean | null | undefined;
|
|
858
|
+
trackingMeasurement?: string | null | undefined;
|
|
859
|
+
_id: string;
|
|
860
|
+
}[] | null | undefined;
|
|
794
861
|
id: string;
|
|
795
862
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
796
863
|
amount: {
|
|
@@ -843,12 +910,6 @@ export declare const useInventoryApi: () => {
|
|
|
843
910
|
}[] | null | undefined;
|
|
844
911
|
skuGroup?: {
|
|
845
912
|
ref?: string | null | undefined;
|
|
846
|
-
defaultSkuRefs?: {
|
|
847
|
-
priority?: number | null | undefined;
|
|
848
|
-
default?: boolean | null | undefined;
|
|
849
|
-
trackingMeasurement?: string | null | undefined;
|
|
850
|
-
_id: string;
|
|
851
|
-
}[] | null | undefined;
|
|
852
913
|
rules?: {
|
|
853
914
|
rule?: any;
|
|
854
915
|
_id: string;
|
|
@@ -860,6 +921,12 @@ export declare const useInventoryApi: () => {
|
|
|
860
921
|
_id: string;
|
|
861
922
|
}[];
|
|
862
923
|
}[] | null | undefined;
|
|
924
|
+
defaultSkuRefs?: {
|
|
925
|
+
priority?: number | null | undefined;
|
|
926
|
+
default?: boolean | null | undefined;
|
|
927
|
+
trackingMeasurement?: string | null | undefined;
|
|
928
|
+
_id: string;
|
|
929
|
+
}[] | null | undefined;
|
|
863
930
|
_id: string;
|
|
864
931
|
name: string;
|
|
865
932
|
}[] | null | undefined;
|
|
@@ -905,6 +972,7 @@ export declare const useInventoryApi: () => {
|
|
|
905
972
|
}[] | null | undefined;
|
|
906
973
|
recipe?: {
|
|
907
974
|
customAttributes?: Record<string, any> | null | undefined;
|
|
975
|
+
version?: "v2" | null | undefined;
|
|
908
976
|
_id: string;
|
|
909
977
|
name: string;
|
|
910
978
|
contains: {
|
|
@@ -917,6 +985,13 @@ export declare const useInventoryApi: () => {
|
|
|
917
985
|
precision: number;
|
|
918
986
|
};
|
|
919
987
|
} | null | undefined;
|
|
988
|
+
rules?: Record<string, any> | null | undefined;
|
|
989
|
+
alternatives?: {
|
|
990
|
+
priority?: number | null | undefined;
|
|
991
|
+
default?: boolean | null | undefined;
|
|
992
|
+
trackingMeasurement?: string | null | undefined;
|
|
993
|
+
_id: string;
|
|
994
|
+
}[] | null | undefined;
|
|
920
995
|
id: string;
|
|
921
996
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
922
997
|
amount: {
|
|
@@ -926,8 +1001,8 @@ export declare const useInventoryApi: () => {
|
|
|
926
1001
|
}[];
|
|
927
1002
|
}[] | null | undefined;
|
|
928
1003
|
sku?: {
|
|
929
|
-
isInactive?: boolean | null | undefined;
|
|
930
1004
|
trackingMeasurement?: string | null | undefined;
|
|
1005
|
+
isInactive?: boolean | null | undefined;
|
|
931
1006
|
convert?: {
|
|
932
1007
|
measurement?: string | null | undefined;
|
|
933
1008
|
inventoryBindings?: {
|
|
@@ -940,6 +1015,13 @@ export declare const useInventoryApi: () => {
|
|
|
940
1015
|
precision: number;
|
|
941
1016
|
};
|
|
942
1017
|
} | null | undefined;
|
|
1018
|
+
rules?: Record<string, any> | null | undefined;
|
|
1019
|
+
alternatives?: {
|
|
1020
|
+
priority?: number | null | undefined;
|
|
1021
|
+
default?: boolean | null | undefined;
|
|
1022
|
+
trackingMeasurement?: string | null | undefined;
|
|
1023
|
+
_id: string;
|
|
1024
|
+
}[] | null | undefined;
|
|
943
1025
|
id: string;
|
|
944
1026
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
945
1027
|
amount: {
|
|
@@ -992,12 +1074,6 @@ export declare const useInventoryApi: () => {
|
|
|
992
1074
|
}[] | null | undefined;
|
|
993
1075
|
skuGroup?: {
|
|
994
1076
|
ref?: string | null | undefined;
|
|
995
|
-
defaultSkuRefs?: {
|
|
996
|
-
priority?: number | null | undefined;
|
|
997
|
-
default?: boolean | null | undefined;
|
|
998
|
-
trackingMeasurement?: string | null | undefined;
|
|
999
|
-
_id: string;
|
|
1000
|
-
}[] | null | undefined;
|
|
1001
1077
|
rules?: {
|
|
1002
1078
|
rule?: any;
|
|
1003
1079
|
_id: string;
|
|
@@ -1009,6 +1085,12 @@ export declare const useInventoryApi: () => {
|
|
|
1009
1085
|
_id: string;
|
|
1010
1086
|
}[];
|
|
1011
1087
|
}[] | null | undefined;
|
|
1088
|
+
defaultSkuRefs?: {
|
|
1089
|
+
priority?: number | null | undefined;
|
|
1090
|
+
default?: boolean | null | undefined;
|
|
1091
|
+
trackingMeasurement?: string | null | undefined;
|
|
1092
|
+
_id: string;
|
|
1093
|
+
}[] | null | undefined;
|
|
1012
1094
|
_id: string;
|
|
1013
1095
|
name: string;
|
|
1014
1096
|
}[] | null | undefined;
|
|
@@ -1020,6 +1102,7 @@ export declare const useInventoryApi: () => {
|
|
|
1020
1102
|
error?: any;
|
|
1021
1103
|
data: {
|
|
1022
1104
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1105
|
+
version?: "v2" | null | undefined;
|
|
1023
1106
|
_id: string;
|
|
1024
1107
|
name: string;
|
|
1025
1108
|
contains: {
|
|
@@ -1032,6 +1115,13 @@ export declare const useInventoryApi: () => {
|
|
|
1032
1115
|
precision: number;
|
|
1033
1116
|
};
|
|
1034
1117
|
} | null | undefined;
|
|
1118
|
+
rules?: Record<string, any> | null | undefined;
|
|
1119
|
+
alternatives?: {
|
|
1120
|
+
priority?: number | null | undefined;
|
|
1121
|
+
default?: boolean | null | undefined;
|
|
1122
|
+
trackingMeasurement?: string | null | undefined;
|
|
1123
|
+
_id: string;
|
|
1124
|
+
}[] | null | undefined;
|
|
1035
1125
|
id: string;
|
|
1036
1126
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
1037
1127
|
amount: {
|
package/dist/api/netsuite.d.ts
CHANGED
|
@@ -408,8 +408,8 @@ export declare const useNetSuiteApi: () => {
|
|
|
408
408
|
};
|
|
409
409
|
}[] | null | undefined;
|
|
410
410
|
sku: {
|
|
411
|
-
isInactive?: boolean | null | undefined;
|
|
412
411
|
trackingMeasurement?: string | null | undefined;
|
|
412
|
+
isInactive?: boolean | null | undefined;
|
|
413
413
|
convert?: {
|
|
414
414
|
measurement?: string | null | undefined;
|
|
415
415
|
inventoryBindings?: {
|
|
@@ -422,6 +422,13 @@ export declare const useNetSuiteApi: () => {
|
|
|
422
422
|
precision: number;
|
|
423
423
|
};
|
|
424
424
|
} | null | undefined;
|
|
425
|
+
rules?: Record<string, any> | null | undefined;
|
|
426
|
+
alternatives?: {
|
|
427
|
+
priority?: number | null | undefined;
|
|
428
|
+
default?: boolean | null | undefined;
|
|
429
|
+
trackingMeasurement?: string | null | undefined;
|
|
430
|
+
_id: string;
|
|
431
|
+
}[] | null | undefined;
|
|
425
432
|
id: string;
|
|
426
433
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
427
434
|
amount: {
|
package/dist/api/stock.d.ts
CHANGED
|
@@ -19,7 +19,11 @@ export declare const useStockApi: () => {
|
|
|
19
19
|
scheduleCalculateStockSnapshotAtDate(effectiveAt: string, closingDraftId: string): Promise<boolean>;
|
|
20
20
|
scheduleInvalidateClosingDraftCache(closingDraftIds: string[]): Promise<boolean>;
|
|
21
21
|
recalculationRequests(): Promise<FdoInventoryRecalculationRequest[]>;
|
|
22
|
-
scheduleRecalculation(
|
|
22
|
+
scheduleRecalculation(args: {
|
|
23
|
+
openingId: string;
|
|
24
|
+
untilDate: string;
|
|
25
|
+
recalculateBySnapshot?: boolean;
|
|
26
|
+
}): Promise<any>;
|
|
23
27
|
getAffectedClosingDrafts(openingId: string, untilDate: string): Promise<FdoClosingDraft[]>;
|
|
24
28
|
};
|
|
25
29
|
readUnitCostHistory(skuId: string, startDate: string, endDate: string): Promise<FdoUnitCostHistory[]>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface UnitCostHistoryRecalculateParams {
|
|
2
|
+
businessId: string;
|
|
3
|
+
locationId?: string;
|
|
4
|
+
startDate?: string;
|
|
5
|
+
endDate?: string;
|
|
6
|
+
skuId?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CostRecalculationRequestResponse {
|
|
9
|
+
_id: string;
|
|
10
|
+
location: string;
|
|
11
|
+
recalculateStartDate: string;
|
|
12
|
+
recalculateEndDate: string;
|
|
13
|
+
createdBy: {
|
|
14
|
+
_id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
createdAt: string;
|
|
18
|
+
completedAt?: string;
|
|
19
|
+
failedReason?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const useUnitCostHistoryApi: () => {
|
|
22
|
+
getLatestCostForAllSkus(locationId: string): Promise<FdoUnitCostHistory[]>;
|
|
23
|
+
recalculate(params: UnitCostHistoryRecalculateParams): Promise<{
|
|
24
|
+
jobId: string;
|
|
25
|
+
}>;
|
|
26
|
+
getJobStatus(jobId: string): Promise<CostRecalculationRequestResponse>;
|
|
27
|
+
listRecentRecalculationRequests(): Promise<CostRecalculationRequestResponse[]>;
|
|
28
|
+
};
|