From e4853dc219b12ffc79ca49efb8d8481aa287b767 Mon Sep 17 00:00:00 2001 From: Yury Saukou Date: Thu, 3 Nov 2022 13:11:24 +0400 Subject: [PATCH] UIOR-1034 Use Orders Export History API (mod-orders) (#1421) --- CHANGELOG.md | 2 ++ package.json | 3 ++- src/components/Utils/api.js | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 764e5be91..50f370d82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## (IN PROGRESS) +* Use Orders Export History API (mod-orders). Refs UIOR-1034. + ## [3.3.0](https://github.com/folio-org/ui-orders/tree/v3.3.0) (2022-10-27) [Full Changelog](https://github.com/folio-org/ui-orders/compare/v3.2.2...v3.3.0) diff --git a/package.json b/package.json index 2dd5cd8d0..b93cc5b5c 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "order-lines": "2.0 3.0", "order-templates": "1.0", "orders": "11.0 12.0", + "orders.export-history": "1.0", "organizations.organizations": "1.0", "organizations-storage.organization-types": "1.0", "pieces": "2.0", @@ -137,7 +138,7 @@ "finance.expense-classes.collection.get", "finance.funds.expense-classes.collection.get", "inventory.instances.collection.get", - "orders-storage.export-history.collection.get", + "orders.export-history.collection.get", "orders-storage.order-invoice-relationships.collection.get", "orders.acquisition-method.item.get", "orders.acquisition-methods.collection.get", diff --git a/src/components/Utils/api.js b/src/components/Utils/api.js index 6af243a40..632f630aa 100644 --- a/src/components/Utils/api.js +++ b/src/components/Utils/api.js @@ -1,6 +1,6 @@ export const AGREEMENTS_API = 'erm/sas'; export const AGREEMENT_LINES_API = 'erm/entitlements'; -export const EXPORT_HISTORY_API = 'orders-storage/export-history'; +export const EXPORT_HISTORY_API = 'orders/export-history'; export const HOLDINGS_API = 'holdings-storage/holdings'; export const INVOICES_API = 'invoice/invoices'; export const INVOICE_LINES_API = 'invoice/invoice-lines';