@learnorama/mozaik-sdk 0.18.0-staging.59.1 → 0.19.0-staging.60.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/CVS-PLAYBACK.md +5 -0
- package/dist/api/account.d.ts +1 -1
- package/dist/api/account.js.map +1 -1
- package/dist/api/admin-catalogue.d.ts +1 -1
- package/dist/api/admin-catalogue.js.map +1 -1
- package/dist/api/admin-consumption.d.ts +1 -1
- package/dist/api/admin-consumption.js.map +1 -1
- package/dist/api/admin-contracts.d.ts +1 -1
- package/dist/api/admin-contracts.js.map +1 -1
- package/dist/api/admin-customer.d.ts +1 -1
- package/dist/api/admin-customer.js.map +1 -1
- package/dist/api/admin-desk.d.ts +89 -1
- package/dist/api/admin-desk.js +253 -1
- package/dist/api/admin-desk.js.map +1 -1
- package/dist/api/admin-licenses.d.ts +1 -1
- package/dist/api/admin-licenses.js.map +1 -1
- package/dist/api/admin-partner-selections.d.ts +1 -1
- package/dist/api/admin-partner-selections.js.map +1 -1
- package/dist/api/admin-patrons.d.ts +1 -1
- package/dist/api/admin-patrons.js.map +1 -1
- package/dist/api/admin-reviews.d.ts +1 -1
- package/dist/api/admin-reviews.js.map +1 -1
- package/dist/api/admin-roles.d.ts +1 -1
- package/dist/api/admin-roles.js.map +1 -1
- package/dist/api/admin-support.d.ts +1 -1
- package/dist/api/admin-support.js.map +1 -1
- package/dist/api/admin-tenants.d.ts +1 -1
- package/dist/api/admin-tenants.js.map +1 -1
- package/dist/api/admin-tutoring.d.ts +1 -1
- package/dist/api/admin-tutoring.js.map +1 -1
- package/dist/api/admin-vod.d.ts +1 -1
- package/dist/api/admin-vod.js.map +1 -1
- package/dist/api/auth-device.d.ts +1 -1
- package/dist/api/auth-device.js.map +1 -1
- package/dist/api/auth.d.ts +1 -1
- package/dist/api/auth.js.map +1 -1
- package/dist/api/biblio-billing-webhooks.d.ts +1 -1
- package/dist/api/biblio-billing-webhooks.js.map +1 -1
- package/dist/api/biblio-billing.d.ts +1 -1
- package/dist/api/biblio-billing.js.map +1 -1
- package/dist/api/biblio-catalogue.d.ts +1 -1
- package/dist/api/biblio-catalogue.js.map +1 -1
- package/dist/api/biblio-home.d.ts +1 -1
- package/dist/api/biblio-home.js.map +1 -1
- package/dist/api/biblio-learning-author-profiles.d.ts +1 -1
- package/dist/api/biblio-learning-author-profiles.js.map +1 -1
- package/dist/api/biblio-learning-authoring.d.ts +1 -1
- package/dist/api/biblio-learning-authoring.js.map +1 -1
- package/dist/api/biblio-learning-editorial.d.ts +1 -1
- package/dist/api/biblio-learning-editorial.js.map +1 -1
- package/dist/api/biblio-learning-feedback.d.ts +1 -1
- package/dist/api/biblio-learning-feedback.js.map +1 -1
- package/dist/api/biblio-learning-finance.d.ts +1 -1
- package/dist/api/biblio-learning-finance.js.map +1 -1
- package/dist/api/biblio-learning-integrations.d.ts +1 -1
- package/dist/api/biblio-learning-integrations.js.map +1 -1
- package/dist/api/biblio-learning-membership.d.ts +1 -1
- package/dist/api/biblio-learning-membership.js.map +1 -1
- package/dist/api/biblio-learning.d.ts +1 -1
- package/dist/api/biblio-learning.js.map +1 -1
- package/dist/api/biblio-library.d.ts +1 -1
- package/dist/api/biblio-library.js.map +1 -1
- package/dist/api/biblio-nextory.d.ts +1 -1
- package/dist/api/biblio-nextory.js.map +1 -1
- package/dist/api/biblio-press.d.ts +1 -1
- package/dist/api/biblio-press.js.map +1 -1
- package/dist/api/biblio-search.d.ts +1 -1
- package/dist/api/biblio-search.js.map +1 -1
- package/dist/api/biblio-telemetry.d.ts +1 -1
- package/dist/api/biblio-telemetry.js.map +1 -1
- package/dist/api/biblio-youscribe.js.map +1 -1
- package/dist/api/consumption.d.ts +1 -1
- package/dist/api/consumption.js.map +1 -1
- package/dist/api/cvs-app.d.ts +1 -1
- package/dist/api/cvs-app.js.map +1 -1
- package/dist/api/cvs-documents.d.ts +1 -1
- package/dist/api/cvs-documents.js.map +1 -1
- package/dist/api/cvs-favorites.d.ts +1 -1
- package/dist/api/cvs-favorites.js.map +1 -1
- package/dist/api/cvs-ils.d.ts +1 -1
- package/dist/api/cvs-ils.js.map +1 -1
- package/dist/api/cvs-loans.d.ts +1 -1
- package/dist/api/cvs-loans.js.map +1 -1
- package/dist/api/cvs-payments.d.ts +1 -1
- package/dist/api/cvs-payments.js.map +1 -1
- package/dist/api/cvs-streaming.d.ts +1 -1
- package/dist/api/cvs-streaming.js.map +1 -1
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +2 -2
- package/dist/api/partner-catalogue.d.ts +1 -1
- package/dist/api/partner-catalogue.js.map +1 -1
- package/dist/api/partner-reader-nextory.d.ts +1 -1
- package/dist/api/partner-reader-nextory.js.map +1 -1
- package/dist/api/partner-reader-youscribe.d.ts +1 -1
- package/dist/api/partner-reader-youscribe.js.map +1 -1
- package/dist/api/partner-reading.d.ts +1 -1
- package/dist/api/partner-reading.js.map +1 -1
- package/dist/api/profiles.d.ts +1 -1
- package/dist/api/profiles.js.map +1 -1
- package/dist/api/search.d.ts +1 -1
- package/dist/api/search.js.map +1 -1
- package/dist/api/tutoring-catalogue.d.ts +1 -1
- package/dist/api/tutoring-catalogue.js.map +1 -1
- package/dist/api/tutoring-chat.d.ts +1 -1
- package/dist/api/tutoring-chat.js.map +1 -1
- package/dist/api/tutoring-dispatch.d.ts +1 -1
- package/dist/api/tutoring-dispatch.js.map +1 -1
- package/dist/api/tutoring-practitioner.js.map +1 -1
- package/dist/api/tutoring-requests.d.ts +1 -1
- package/dist/api/tutoring-requests.js.map +1 -1
- package/dist/auth.d.ts +1 -1
- package/dist/chunks/client2.d.ts +1 -1
- package/dist/chunks/connection.d.ts +1 -1
- package/dist/chunks/index.d.ts +1217 -597
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +2 -2
- package/dist/models.js +74 -3
- package/dist/models.js.map +1 -1
- package/dist/react/account.d.ts +1 -1
- package/dist/react/account.js +1 -1
- package/dist/react/account.js.map +1 -1
- package/dist/react/admin-catalogue.d.ts +1 -1
- package/dist/react/admin-catalogue.js +1 -1
- package/dist/react/admin-catalogue.js.map +1 -1
- package/dist/react/admin-consumption.d.ts +1 -1
- package/dist/react/admin-consumption.js +1 -1
- package/dist/react/admin-consumption.js.map +1 -1
- package/dist/react/admin-contracts.d.ts +1 -1
- package/dist/react/admin-contracts.js +1 -1
- package/dist/react/admin-contracts.js.map +1 -1
- package/dist/react/admin-customer.d.ts +1 -1
- package/dist/react/admin-customer.js +1 -1
- package/dist/react/admin-customer.js.map +1 -1
- package/dist/react/admin-desk.d.ts +269 -1
- package/dist/react/admin-desk.js +498 -2
- package/dist/react/admin-desk.js.map +1 -1
- package/dist/react/admin-licenses.d.ts +1 -1
- package/dist/react/admin-licenses.js +1 -1
- package/dist/react/admin-licenses.js.map +1 -1
- package/dist/react/admin-partner-selections.d.ts +1 -1
- package/dist/react/admin-partner-selections.js +1 -1
- package/dist/react/admin-partner-selections.js.map +1 -1
- package/dist/react/admin-patrons.d.ts +1 -1
- package/dist/react/admin-patrons.js +1 -1
- package/dist/react/admin-patrons.js.map +1 -1
- package/dist/react/admin-reviews.d.ts +1 -1
- package/dist/react/admin-reviews.js +1 -1
- package/dist/react/admin-reviews.js.map +1 -1
- package/dist/react/admin-roles.d.ts +1 -1
- package/dist/react/admin-roles.js +1 -1
- package/dist/react/admin-roles.js.map +1 -1
- package/dist/react/admin-support.d.ts +1 -1
- package/dist/react/admin-support.js +1 -1
- package/dist/react/admin-support.js.map +1 -1
- package/dist/react/admin-tenants.d.ts +1 -1
- package/dist/react/admin-tenants.js +1 -1
- package/dist/react/admin-tenants.js.map +1 -1
- package/dist/react/admin-tutoring.d.ts +1 -1
- package/dist/react/admin-tutoring.js +1 -1
- package/dist/react/admin-tutoring.js.map +1 -1
- package/dist/react/admin-vod.d.ts +1 -1
- package/dist/react/admin-vod.js +1 -1
- package/dist/react/admin-vod.js.map +1 -1
- package/dist/react/auth-device.d.ts +1 -1
- package/dist/react/auth-device.js +1 -1
- package/dist/react/auth-device.js.map +1 -1
- package/dist/react/auth.d.ts +1 -1
- package/dist/react/auth.js +1 -1
- package/dist/react/auth.js.map +1 -1
- package/dist/react/biblio-billing-webhooks.d.ts +1 -1
- package/dist/react/biblio-billing-webhooks.js +1 -1
- package/dist/react/biblio-billing-webhooks.js.map +1 -1
- package/dist/react/biblio-billing.d.ts +1 -1
- package/dist/react/biblio-billing.js +1 -1
- package/dist/react/biblio-billing.js.map +1 -1
- package/dist/react/biblio-catalogue.d.ts +1 -1
- package/dist/react/biblio-catalogue.js +1 -1
- package/dist/react/biblio-catalogue.js.map +1 -1
- package/dist/react/biblio-home.d.ts +1 -1
- package/dist/react/biblio-home.js +1 -1
- package/dist/react/biblio-home.js.map +1 -1
- package/dist/react/biblio-learning-author-profiles.d.ts +1 -1
- package/dist/react/biblio-learning-author-profiles.js +1 -1
- package/dist/react/biblio-learning-author-profiles.js.map +1 -1
- package/dist/react/biblio-learning-authoring.d.ts +1 -1
- package/dist/react/biblio-learning-authoring.js +1 -1
- package/dist/react/biblio-learning-authoring.js.map +1 -1
- package/dist/react/biblio-learning-editorial.d.ts +1 -1
- package/dist/react/biblio-learning-editorial.js +1 -1
- package/dist/react/biblio-learning-editorial.js.map +1 -1
- package/dist/react/biblio-learning-feedback.d.ts +1 -1
- package/dist/react/biblio-learning-feedback.js +1 -1
- package/dist/react/biblio-learning-feedback.js.map +1 -1
- package/dist/react/biblio-learning-finance.d.ts +1 -1
- package/dist/react/biblio-learning-finance.js +1 -1
- package/dist/react/biblio-learning-finance.js.map +1 -1
- package/dist/react/biblio-learning-integrations.d.ts +1 -1
- package/dist/react/biblio-learning-integrations.js +1 -1
- package/dist/react/biblio-learning-integrations.js.map +1 -1
- package/dist/react/biblio-learning-membership.d.ts +1 -1
- package/dist/react/biblio-learning-membership.js +1 -1
- package/dist/react/biblio-learning-membership.js.map +1 -1
- package/dist/react/biblio-learning.d.ts +1 -1
- package/dist/react/biblio-learning.js +1 -1
- package/dist/react/biblio-learning.js.map +1 -1
- package/dist/react/biblio-library.d.ts +1 -1
- package/dist/react/biblio-library.js +1 -1
- package/dist/react/biblio-library.js.map +1 -1
- package/dist/react/biblio-nextory.d.ts +1 -1
- package/dist/react/biblio-nextory.js +1 -1
- package/dist/react/biblio-nextory.js.map +1 -1
- package/dist/react/biblio-press.d.ts +1 -1
- package/dist/react/biblio-press.js +1 -1
- package/dist/react/biblio-press.js.map +1 -1
- package/dist/react/biblio-search.d.ts +1 -1
- package/dist/react/biblio-search.js +1 -1
- package/dist/react/biblio-search.js.map +1 -1
- package/dist/react/biblio-telemetry.d.ts +1 -1
- package/dist/react/biblio-telemetry.js +1 -1
- package/dist/react/biblio-telemetry.js.map +1 -1
- package/dist/react/biblio-youscribe.d.ts +1 -1
- package/dist/react/biblio-youscribe.js +1 -1
- package/dist/react/biblio-youscribe.js.map +1 -1
- package/dist/react/chat.d.ts +1 -1
- package/dist/react/consumption.d.ts +1 -1
- package/dist/react/consumption.js +1 -1
- package/dist/react/consumption.js.map +1 -1
- package/dist/react/cvs-app.d.ts +1 -1
- package/dist/react/cvs-app.js +1 -1
- package/dist/react/cvs-app.js.map +1 -1
- package/dist/react/cvs-documents.d.ts +1 -1
- package/dist/react/cvs-documents.js +1 -1
- package/dist/react/cvs-documents.js.map +1 -1
- package/dist/react/cvs-favorites.d.ts +1 -1
- package/dist/react/cvs-favorites.js +1 -1
- package/dist/react/cvs-favorites.js.map +1 -1
- package/dist/react/cvs-ils.d.ts +1 -1
- package/dist/react/cvs-ils.js +1 -1
- package/dist/react/cvs-ils.js.map +1 -1
- package/dist/react/cvs-loans.d.ts +1 -1
- package/dist/react/cvs-loans.js +1 -1
- package/dist/react/cvs-loans.js.map +1 -1
- package/dist/react/cvs-payments.d.ts +1 -1
- package/dist/react/cvs-payments.js +1 -1
- package/dist/react/cvs-payments.js.map +1 -1
- package/dist/react/cvs-streaming.d.ts +1 -1
- package/dist/react/cvs-streaming.js +1 -1
- package/dist/react/cvs-streaming.js.map +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/react/partner-catalogue.d.ts +1 -1
- package/dist/react/partner-catalogue.js +1 -1
- package/dist/react/partner-catalogue.js.map +1 -1
- package/dist/react/partner-reader-nextory.d.ts +1 -1
- package/dist/react/partner-reader-nextory.js +1 -1
- package/dist/react/partner-reader-nextory.js.map +1 -1
- package/dist/react/partner-reader-youscribe.d.ts +1 -1
- package/dist/react/partner-reader-youscribe.js +1 -1
- package/dist/react/partner-reader-youscribe.js.map +1 -1
- package/dist/react/partner-reading.d.ts +1 -1
- package/dist/react/partner-reading.js +1 -1
- package/dist/react/partner-reading.js.map +1 -1
- package/dist/react/profiles.d.ts +1 -1
- package/dist/react/profiles.js +1 -1
- package/dist/react/profiles.js.map +1 -1
- package/dist/react/search.d.ts +1 -1
- package/dist/react/search.js +1 -1
- package/dist/react/search.js.map +1 -1
- package/dist/react/tutoring-catalogue.d.ts +1 -1
- package/dist/react/tutoring-catalogue.js +1 -1
- package/dist/react/tutoring-catalogue.js.map +1 -1
- package/dist/react/tutoring-chat.d.ts +1 -1
- package/dist/react/tutoring-chat.js +1 -1
- package/dist/react/tutoring-chat.js.map +1 -1
- package/dist/react/tutoring-dispatch.d.ts +1 -1
- package/dist/react/tutoring-dispatch.js +1 -1
- package/dist/react/tutoring-dispatch.js.map +1 -1
- package/dist/react/tutoring-practitioner.d.ts +1 -1
- package/dist/react/tutoring-practitioner.js +1 -1
- package/dist/react/tutoring-practitioner.js.map +1 -1
- package/dist/react/tutoring-requests.d.ts +1 -1
- package/dist/react/tutoring-requests.js +1 -1
- package/dist/react/tutoring-requests.js.map +1 -1
- package/package.json +7 -7
package/dist/react/admin-desk.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useMutation, useQuery } from "@tanstack/react-query";
|
|
|
7
7
|
* Do not edit manually.
|
|
8
8
|
* Mozaik backend
|
|
9
9
|
* Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.
|
|
10
|
-
* OpenAPI spec version: 0.
|
|
10
|
+
* OpenAPI spec version: 0.19.0
|
|
11
11
|
*/
|
|
12
12
|
const withQueryKey = (query, queryKey) => {
|
|
13
13
|
const result = { queryKey };
|
|
@@ -1535,6 +1535,165 @@ function useDeskGetPatronActivity(params, options, queryClient) {
|
|
|
1535
1535
|
const query = useQuery(queryOptions, queryClient);
|
|
1536
1536
|
return withQueryKey(query, queryOptions.queryKey);
|
|
1537
1537
|
}
|
|
1538
|
+
const getPatronBulkChangeUrl = (params) => {
|
|
1539
|
+
const normalizedParams = new URLSearchParams();
|
|
1540
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
1541
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
1542
|
+
});
|
|
1543
|
+
const stringifiedParams = normalizedParams.toString();
|
|
1544
|
+
return stringifiedParams.length > 0 ? `/admin/desk/v2/patron-bulk-change?${stringifiedParams}` : `/admin/desk/v2/patron-bulk-change`;
|
|
1545
|
+
};
|
|
1546
|
+
/**
|
|
1547
|
+
* One applied bulk change: what was done to whom, and what a revert would restore.
|
|
1548
|
+
* @summary Patron Bulk Change
|
|
1549
|
+
*/
|
|
1550
|
+
const patronBulkChange = async (params, options) => {
|
|
1551
|
+
return request(getPatronBulkChangeUrl(params), {
|
|
1552
|
+
...options,
|
|
1553
|
+
method: "GET"
|
|
1554
|
+
});
|
|
1555
|
+
};
|
|
1556
|
+
const getPatronBulkChangeQueryKey = (params) => {
|
|
1557
|
+
return [`/admin/desk/v2/patron-bulk-change`, ...params ? [params] : []];
|
|
1558
|
+
};
|
|
1559
|
+
const getPatronBulkChangeQueryOptions = (params, options) => {
|
|
1560
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
1561
|
+
const queryKey = queryOptions?.queryKey ?? getPatronBulkChangeQueryKey(params);
|
|
1562
|
+
const queryFn = ({ signal }) => patronBulkChange(params, {
|
|
1563
|
+
signal,
|
|
1564
|
+
...requestOptions
|
|
1565
|
+
});
|
|
1566
|
+
return {
|
|
1567
|
+
queryKey,
|
|
1568
|
+
queryFn,
|
|
1569
|
+
...queryOptions
|
|
1570
|
+
};
|
|
1571
|
+
};
|
|
1572
|
+
/**
|
|
1573
|
+
* @summary Patron Bulk Change
|
|
1574
|
+
*/
|
|
1575
|
+
function usePatronBulkChange(params, options, queryClient) {
|
|
1576
|
+
const queryOptions = getPatronBulkChangeQueryOptions(params, options);
|
|
1577
|
+
const query = useQuery(queryOptions, queryClient);
|
|
1578
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
1579
|
+
}
|
|
1580
|
+
const getRevertPatronBulkChangeUrl = () => {
|
|
1581
|
+
return `/admin/desk/v2/patron-bulk-reverts`;
|
|
1582
|
+
};
|
|
1583
|
+
/**
|
|
1584
|
+
* Restore the values a bulk change replaced, where they still stand.
|
|
1585
|
+
*
|
|
1586
|
+
* Rows whose value changed again since are skipped and counted. Same
|
|
1587
|
+
* preview/confirm cycle.
|
|
1588
|
+
* @summary Revert Patron Bulk Change
|
|
1589
|
+
*/
|
|
1590
|
+
const revertPatronBulkChange = async (deskPatronBulkRevertWrite, options) => {
|
|
1591
|
+
const getHeaders = (h) => {
|
|
1592
|
+
if (!h) return {};
|
|
1593
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
1594
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
1595
|
+
const headers = {};
|
|
1596
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
1597
|
+
return headers;
|
|
1598
|
+
};
|
|
1599
|
+
return request(getRevertPatronBulkChangeUrl(), {
|
|
1600
|
+
...options,
|
|
1601
|
+
method: "POST",
|
|
1602
|
+
headers: {
|
|
1603
|
+
"Content-Type": "application/json",
|
|
1604
|
+
...getHeaders(options?.headers)
|
|
1605
|
+
},
|
|
1606
|
+
body: JSON.stringify(deskPatronBulkRevertWrite)
|
|
1607
|
+
});
|
|
1608
|
+
};
|
|
1609
|
+
const getRevertPatronBulkChangeMutationKey = () => ["revertPatronBulkChange"];
|
|
1610
|
+
const getRevertPatronBulkChangeMutationOptions = (options) => {
|
|
1611
|
+
const mutationKey = getRevertPatronBulkChangeMutationKey();
|
|
1612
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
1613
|
+
...options,
|
|
1614
|
+
mutation: {
|
|
1615
|
+
...options.mutation,
|
|
1616
|
+
mutationKey
|
|
1617
|
+
}
|
|
1618
|
+
} : {
|
|
1619
|
+
mutation: { mutationKey },
|
|
1620
|
+
request: void 0
|
|
1621
|
+
};
|
|
1622
|
+
const mutationFn = (props) => {
|
|
1623
|
+
const { data } = props ?? {};
|
|
1624
|
+
return revertPatronBulkChange(data, requestOptions);
|
|
1625
|
+
};
|
|
1626
|
+
return {
|
|
1627
|
+
mutationFn,
|
|
1628
|
+
...mutationOptions
|
|
1629
|
+
};
|
|
1630
|
+
};
|
|
1631
|
+
/**
|
|
1632
|
+
* @summary Revert Patron Bulk Change
|
|
1633
|
+
*/
|
|
1634
|
+
const useRevertPatronBulkChange = (options, queryClient) => {
|
|
1635
|
+
return useMutation(getRevertPatronBulkChangeMutationOptions(options), queryClient);
|
|
1636
|
+
};
|
|
1637
|
+
const getUpdatePatronsInBulkUrl = () => {
|
|
1638
|
+
return `/admin/desk/v2/patron-bulk-updates`;
|
|
1639
|
+
};
|
|
1640
|
+
/**
|
|
1641
|
+
* Apply one operation to one declared field of the patrons a filter reaches.
|
|
1642
|
+
*
|
|
1643
|
+
* The legacy hand-written ``UPDATE adh … WHERE bmid=…`` with a declared
|
|
1644
|
+
* field list, a mandatory filter, a preview bound to the rows and values
|
|
1645
|
+
* it showed, and a per-patron record of what was replaced. ``dryRun``
|
|
1646
|
+
* true (the default) previews and returns ``confirmToken``; the same body
|
|
1647
|
+
* with ``dryRun`` false and that token applies it once.
|
|
1648
|
+
* @summary Update Patrons In Bulk
|
|
1649
|
+
*/
|
|
1650
|
+
const updatePatronsInBulk = async (deskPatronBulkUpdateWrite, options) => {
|
|
1651
|
+
const getHeaders = (h) => {
|
|
1652
|
+
if (!h) return {};
|
|
1653
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
1654
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
1655
|
+
const headers = {};
|
|
1656
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
1657
|
+
return headers;
|
|
1658
|
+
};
|
|
1659
|
+
return request(getUpdatePatronsInBulkUrl(), {
|
|
1660
|
+
...options,
|
|
1661
|
+
method: "POST",
|
|
1662
|
+
headers: {
|
|
1663
|
+
"Content-Type": "application/json",
|
|
1664
|
+
...getHeaders(options?.headers)
|
|
1665
|
+
},
|
|
1666
|
+
body: JSON.stringify(deskPatronBulkUpdateWrite)
|
|
1667
|
+
});
|
|
1668
|
+
};
|
|
1669
|
+
const getUpdatePatronsInBulkMutationKey = () => ["updatePatronsInBulk"];
|
|
1670
|
+
const getUpdatePatronsInBulkMutationOptions = (options) => {
|
|
1671
|
+
const mutationKey = getUpdatePatronsInBulkMutationKey();
|
|
1672
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
1673
|
+
...options,
|
|
1674
|
+
mutation: {
|
|
1675
|
+
...options.mutation,
|
|
1676
|
+
mutationKey
|
|
1677
|
+
}
|
|
1678
|
+
} : {
|
|
1679
|
+
mutation: { mutationKey },
|
|
1680
|
+
request: void 0
|
|
1681
|
+
};
|
|
1682
|
+
const mutationFn = (props) => {
|
|
1683
|
+
const { data } = props ?? {};
|
|
1684
|
+
return updatePatronsInBulk(data, requestOptions);
|
|
1685
|
+
};
|
|
1686
|
+
return {
|
|
1687
|
+
mutationFn,
|
|
1688
|
+
...mutationOptions
|
|
1689
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
/**
|
|
1692
|
+
* @summary Update Patrons In Bulk
|
|
1693
|
+
*/
|
|
1694
|
+
const useUpdatePatronsInBulk = (options, queryClient) => {
|
|
1695
|
+
return useMutation(getUpdatePatronsInBulkMutationOptions(options), queryClient);
|
|
1696
|
+
};
|
|
1538
1697
|
const getAdjustPatronCreditsUrl = () => {
|
|
1539
1698
|
return `/admin/desk/v2/patron-credit-adjustments`;
|
|
1540
1699
|
};
|
|
@@ -1774,6 +1933,64 @@ const getAdjustPatronPurchasedCreditsMutationOptions = (options) => {
|
|
|
1774
1933
|
const useAdjustPatronPurchasedCredits = (options, queryClient) => {
|
|
1775
1934
|
return useMutation(getAdjustPatronPurchasedCreditsMutationOptions(options), queryClient);
|
|
1776
1935
|
};
|
|
1936
|
+
const getSetPatronQuotaUrl = () => {
|
|
1937
|
+
return `/admin/desk/v2/patron-quotas`;
|
|
1938
|
+
};
|
|
1939
|
+
/**
|
|
1940
|
+
* Set or clear a household's monthly maximum: global, or for one pillar.
|
|
1941
|
+
*
|
|
1942
|
+
* The legacy's per-patron ``adh.nbdocs_forfait*``. ``units`` null removes the
|
|
1943
|
+
* patron's own value so the library default applies again. Same
|
|
1944
|
+
* preview/confirm cycle as the refund.
|
|
1945
|
+
* @summary Set Patron Quota
|
|
1946
|
+
*/
|
|
1947
|
+
const setPatronQuota = async (deskPatronQuotaWrite, options) => {
|
|
1948
|
+
const getHeaders = (h) => {
|
|
1949
|
+
if (!h) return {};
|
|
1950
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
1951
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
1952
|
+
const headers = {};
|
|
1953
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
1954
|
+
return headers;
|
|
1955
|
+
};
|
|
1956
|
+
return request(getSetPatronQuotaUrl(), {
|
|
1957
|
+
...options,
|
|
1958
|
+
method: "POST",
|
|
1959
|
+
headers: {
|
|
1960
|
+
"Content-Type": "application/json",
|
|
1961
|
+
...getHeaders(options?.headers)
|
|
1962
|
+
},
|
|
1963
|
+
body: JSON.stringify(deskPatronQuotaWrite)
|
|
1964
|
+
});
|
|
1965
|
+
};
|
|
1966
|
+
const getSetPatronQuotaMutationKey = () => ["setPatronQuota"];
|
|
1967
|
+
const getSetPatronQuotaMutationOptions = (options) => {
|
|
1968
|
+
const mutationKey = getSetPatronQuotaMutationKey();
|
|
1969
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
1970
|
+
...options,
|
|
1971
|
+
mutation: {
|
|
1972
|
+
...options.mutation,
|
|
1973
|
+
mutationKey
|
|
1974
|
+
}
|
|
1975
|
+
} : {
|
|
1976
|
+
mutation: { mutationKey },
|
|
1977
|
+
request: void 0
|
|
1978
|
+
};
|
|
1979
|
+
const mutationFn = (props) => {
|
|
1980
|
+
const { data } = props ?? {};
|
|
1981
|
+
return setPatronQuota(data, requestOptions);
|
|
1982
|
+
};
|
|
1983
|
+
return {
|
|
1984
|
+
mutationFn,
|
|
1985
|
+
...mutationOptions
|
|
1986
|
+
};
|
|
1987
|
+
};
|
|
1988
|
+
/**
|
|
1989
|
+
* @summary Set Patron Quota
|
|
1990
|
+
*/
|
|
1991
|
+
const useSetPatronQuota = (options, queryClient) => {
|
|
1992
|
+
return useMutation(getSetPatronQuotaMutationOptions(options), queryClient);
|
|
1993
|
+
};
|
|
1777
1994
|
const getRefundPatronConsumptionUrl = () => {
|
|
1778
1995
|
return `/admin/desk/v2/patron-refunds`;
|
|
1779
1996
|
};
|
|
@@ -2199,6 +2416,64 @@ function useDeskFindPractitioners(params, options, queryClient) {
|
|
|
2199
2416
|
const query = useQuery(queryOptions, queryClient);
|
|
2200
2417
|
return withQueryKey(query, queryOptions.queryKey);
|
|
2201
2418
|
}
|
|
2419
|
+
const getGrantQuotaBonusUrl = () => {
|
|
2420
|
+
return `/admin/desk/v2/quota-bonuses`;
|
|
2421
|
+
};
|
|
2422
|
+
/**
|
|
2423
|
+
* Add (or remove) units to a monthly quota for this month only.
|
|
2424
|
+
*
|
|
2425
|
+
* For one patron's household or every patron of a library, without touching
|
|
2426
|
+
* the maximum (the legacy's query 190). Same preview/confirm cycle as the
|
|
2427
|
+
* refund.
|
|
2428
|
+
* @summary Grant Quota Bonus
|
|
2429
|
+
*/
|
|
2430
|
+
const grantQuotaBonus = async (deskQuotaBonusWrite, options) => {
|
|
2431
|
+
const getHeaders = (h) => {
|
|
2432
|
+
if (!h) return {};
|
|
2433
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
2434
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
2435
|
+
const headers = {};
|
|
2436
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
2437
|
+
return headers;
|
|
2438
|
+
};
|
|
2439
|
+
return request(getGrantQuotaBonusUrl(), {
|
|
2440
|
+
...options,
|
|
2441
|
+
method: "POST",
|
|
2442
|
+
headers: {
|
|
2443
|
+
"Content-Type": "application/json",
|
|
2444
|
+
...getHeaders(options?.headers)
|
|
2445
|
+
},
|
|
2446
|
+
body: JSON.stringify(deskQuotaBonusWrite)
|
|
2447
|
+
});
|
|
2448
|
+
};
|
|
2449
|
+
const getGrantQuotaBonusMutationKey = () => ["grantQuotaBonus"];
|
|
2450
|
+
const getGrantQuotaBonusMutationOptions = (options) => {
|
|
2451
|
+
const mutationKey = getGrantQuotaBonusMutationKey();
|
|
2452
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
2453
|
+
...options,
|
|
2454
|
+
mutation: {
|
|
2455
|
+
...options.mutation,
|
|
2456
|
+
mutationKey
|
|
2457
|
+
}
|
|
2458
|
+
} : {
|
|
2459
|
+
mutation: { mutationKey },
|
|
2460
|
+
request: void 0
|
|
2461
|
+
};
|
|
2462
|
+
const mutationFn = (props) => {
|
|
2463
|
+
const { data } = props ?? {};
|
|
2464
|
+
return grantQuotaBonus(data, requestOptions);
|
|
2465
|
+
};
|
|
2466
|
+
return {
|
|
2467
|
+
mutationFn,
|
|
2468
|
+
...mutationOptions
|
|
2469
|
+
};
|
|
2470
|
+
};
|
|
2471
|
+
/**
|
|
2472
|
+
* @summary Grant Quota Bonus
|
|
2473
|
+
*/
|
|
2474
|
+
const useGrantQuotaBonus = (options, queryClient) => {
|
|
2475
|
+
return useMutation(getGrantQuotaBonusMutationOptions(options), queryClient);
|
|
2476
|
+
};
|
|
2202
2477
|
const getDeskGetReadingProgressUrl = (params) => {
|
|
2203
2478
|
const normalizedParams = new URLSearchParams();
|
|
2204
2479
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -2822,6 +3097,111 @@ function useDeskTutoringRequestsSummary(params, options, queryClient) {
|
|
|
2822
3097
|
const query = useQuery(queryOptions, queryClient);
|
|
2823
3098
|
return withQueryKey(query, queryOptions.queryKey);
|
|
2824
3099
|
}
|
|
3100
|
+
const getSetTenantActivationUrl = () => {
|
|
3101
|
+
return `/admin/desk/v2/tenant-activations`;
|
|
3102
|
+
};
|
|
3103
|
+
/**
|
|
3104
|
+
* Open or close a tenant at once; nothing is deleted.
|
|
3105
|
+
*
|
|
3106
|
+
* The legacy manual deactivation without its two bugs (the flag reset
|
|
3107
|
+
* behind the operator's back, the link aimed at the list filter). The
|
|
3108
|
+
* preview counts the patrons, contracts, children and hosts it reaches.
|
|
3109
|
+
* Same preview/confirm cycle.
|
|
3110
|
+
* @summary Set Tenant Activation
|
|
3111
|
+
*/
|
|
3112
|
+
const setTenantActivation = async (deskTenantActivationWrite, options) => {
|
|
3113
|
+
const getHeaders = (h) => {
|
|
3114
|
+
if (!h) return {};
|
|
3115
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
3116
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
3117
|
+
const headers = {};
|
|
3118
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
3119
|
+
return headers;
|
|
3120
|
+
};
|
|
3121
|
+
return request(getSetTenantActivationUrl(), {
|
|
3122
|
+
...options,
|
|
3123
|
+
method: "POST",
|
|
3124
|
+
headers: {
|
|
3125
|
+
"Content-Type": "application/json",
|
|
3126
|
+
...getHeaders(options?.headers)
|
|
3127
|
+
},
|
|
3128
|
+
body: JSON.stringify(deskTenantActivationWrite)
|
|
3129
|
+
});
|
|
3130
|
+
};
|
|
3131
|
+
const getSetTenantActivationMutationKey = () => ["setTenantActivation"];
|
|
3132
|
+
const getSetTenantActivationMutationOptions = (options) => {
|
|
3133
|
+
const mutationKey = getSetTenantActivationMutationKey();
|
|
3134
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
3135
|
+
...options,
|
|
3136
|
+
mutation: {
|
|
3137
|
+
...options.mutation,
|
|
3138
|
+
mutationKey
|
|
3139
|
+
}
|
|
3140
|
+
} : {
|
|
3141
|
+
mutation: { mutationKey },
|
|
3142
|
+
request: void 0
|
|
3143
|
+
};
|
|
3144
|
+
const mutationFn = (props) => {
|
|
3145
|
+
const { data } = props ?? {};
|
|
3146
|
+
return setTenantActivation(data, requestOptions);
|
|
3147
|
+
};
|
|
3148
|
+
return {
|
|
3149
|
+
mutationFn,
|
|
3150
|
+
...mutationOptions
|
|
3151
|
+
};
|
|
3152
|
+
};
|
|
3153
|
+
/**
|
|
3154
|
+
* @summary Set Tenant Activation
|
|
3155
|
+
*/
|
|
3156
|
+
const useSetTenantActivation = (options, queryClient) => {
|
|
3157
|
+
return useMutation(getSetTenantActivationMutationOptions(options), queryClient);
|
|
3158
|
+
};
|
|
3159
|
+
const getTenantConfigurationUrl = (params) => {
|
|
3160
|
+
const normalizedParams = new URLSearchParams();
|
|
3161
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
3162
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
3163
|
+
});
|
|
3164
|
+
const stringifiedParams = normalizedParams.toString();
|
|
3165
|
+
return stringifiedParams.length > 0 ? `/admin/desk/v2/tenant-configuration?${stringifiedParams}` : `/admin/desk/v2/tenant-configuration`;
|
|
3166
|
+
};
|
|
3167
|
+
/**
|
|
3168
|
+
* One tenant's hosts, declared parameters and what closing it would reach.
|
|
3169
|
+
*
|
|
3170
|
+
* By Mozaik id or by legacy key (a Médiathèques ``bmid`` is
|
|
3171
|
+
* ``legacySource=mediatheques``). The settings blob is not echoed: only
|
|
3172
|
+
* the declared parameters are, with their current values.
|
|
3173
|
+
* @summary Tenant Configuration
|
|
3174
|
+
*/
|
|
3175
|
+
const tenantConfiguration = async (params, options) => {
|
|
3176
|
+
return request(getTenantConfigurationUrl(params), {
|
|
3177
|
+
...options,
|
|
3178
|
+
method: "GET"
|
|
3179
|
+
});
|
|
3180
|
+
};
|
|
3181
|
+
const getTenantConfigurationQueryKey = (params) => {
|
|
3182
|
+
return [`/admin/desk/v2/tenant-configuration`, ...params ? [params] : []];
|
|
3183
|
+
};
|
|
3184
|
+
const getTenantConfigurationQueryOptions = (params, options) => {
|
|
3185
|
+
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
3186
|
+
const queryKey = queryOptions?.queryKey ?? getTenantConfigurationQueryKey(params);
|
|
3187
|
+
const queryFn = ({ signal }) => tenantConfiguration(params, {
|
|
3188
|
+
signal,
|
|
3189
|
+
...requestOptions
|
|
3190
|
+
});
|
|
3191
|
+
return {
|
|
3192
|
+
queryKey,
|
|
3193
|
+
queryFn,
|
|
3194
|
+
...queryOptions
|
|
3195
|
+
};
|
|
3196
|
+
};
|
|
3197
|
+
/**
|
|
3198
|
+
* @summary Tenant Configuration
|
|
3199
|
+
*/
|
|
3200
|
+
function useTenantConfiguration(params, options, queryClient) {
|
|
3201
|
+
const queryOptions = getTenantConfigurationQueryOptions(params, options);
|
|
3202
|
+
const query = useQuery(queryOptions, queryClient);
|
|
3203
|
+
return withQueryKey(query, queryOptions.queryKey);
|
|
3204
|
+
}
|
|
2825
3205
|
const getTenantHierarchyUrl = (params) => {
|
|
2826
3206
|
const normalizedParams = new URLSearchParams();
|
|
2827
3207
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -2863,6 +3243,63 @@ function useTenantHierarchy(params, options, queryClient) {
|
|
|
2863
3243
|
const query = useQuery(queryOptions, queryClient);
|
|
2864
3244
|
return withQueryKey(query, queryOptions.queryKey);
|
|
2865
3245
|
}
|
|
3246
|
+
const getSetTenantHostUrl = () => {
|
|
3247
|
+
return `/admin/desk/v2/tenant-hosts`;
|
|
3248
|
+
};
|
|
3249
|
+
/**
|
|
3250
|
+
* Make a hostname the tenant's primary one, keeping the old as an alias.
|
|
3251
|
+
*
|
|
3252
|
+
* The legacy subdomain rename. DNS and certificates are outside this
|
|
3253
|
+
* write. Same preview/confirm cycle.
|
|
3254
|
+
* @summary Set Tenant Host
|
|
3255
|
+
*/
|
|
3256
|
+
const setTenantHost = async (deskTenantHostWrite, options) => {
|
|
3257
|
+
const getHeaders = (h) => {
|
|
3258
|
+
if (!h) return {};
|
|
3259
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
3260
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
3261
|
+
const headers = {};
|
|
3262
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
3263
|
+
return headers;
|
|
3264
|
+
};
|
|
3265
|
+
return request(getSetTenantHostUrl(), {
|
|
3266
|
+
...options,
|
|
3267
|
+
method: "POST",
|
|
3268
|
+
headers: {
|
|
3269
|
+
"Content-Type": "application/json",
|
|
3270
|
+
...getHeaders(options?.headers)
|
|
3271
|
+
},
|
|
3272
|
+
body: JSON.stringify(deskTenantHostWrite)
|
|
3273
|
+
});
|
|
3274
|
+
};
|
|
3275
|
+
const getSetTenantHostMutationKey = () => ["setTenantHost"];
|
|
3276
|
+
const getSetTenantHostMutationOptions = (options) => {
|
|
3277
|
+
const mutationKey = getSetTenantHostMutationKey();
|
|
3278
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
3279
|
+
...options,
|
|
3280
|
+
mutation: {
|
|
3281
|
+
...options.mutation,
|
|
3282
|
+
mutationKey
|
|
3283
|
+
}
|
|
3284
|
+
} : {
|
|
3285
|
+
mutation: { mutationKey },
|
|
3286
|
+
request: void 0
|
|
3287
|
+
};
|
|
3288
|
+
const mutationFn = (props) => {
|
|
3289
|
+
const { data } = props ?? {};
|
|
3290
|
+
return setTenantHost(data, requestOptions);
|
|
3291
|
+
};
|
|
3292
|
+
return {
|
|
3293
|
+
mutationFn,
|
|
3294
|
+
...mutationOptions
|
|
3295
|
+
};
|
|
3296
|
+
};
|
|
3297
|
+
/**
|
|
3298
|
+
* @summary Set Tenant Host
|
|
3299
|
+
*/
|
|
3300
|
+
const useSetTenantHost = (options, queryClient) => {
|
|
3301
|
+
return useMutation(getSetTenantHostMutationOptions(options), queryClient);
|
|
3302
|
+
};
|
|
2866
3303
|
const getDeskGetTenantIntegrationsUrl = (params) => {
|
|
2867
3304
|
const normalizedParams = new URLSearchParams();
|
|
2868
3305
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -2945,6 +3382,65 @@ function useTenantOverview(params, options, queryClient) {
|
|
|
2945
3382
|
const query = useQuery(queryOptions, queryClient);
|
|
2946
3383
|
return withQueryKey(query, queryOptions.queryKey);
|
|
2947
3384
|
}
|
|
3385
|
+
const getSetTenantParameterUrl = () => {
|
|
3386
|
+
return `/admin/desk/v2/tenant-parameters`;
|
|
3387
|
+
};
|
|
3388
|
+
/**
|
|
3389
|
+
* Set one declared parameter of a tenant.
|
|
3390
|
+
*
|
|
3391
|
+
* The legacy ``cvs_bm`` edit of one field, with the field list declared
|
|
3392
|
+
* and typed instead of a hard-coded staff allowlist per field. ``dryRun``
|
|
3393
|
+
* true (the default) previews and returns ``confirmToken``; the same body
|
|
3394
|
+
* with ``dryRun`` false and that token applies it once.
|
|
3395
|
+
* @summary Set Tenant Parameter
|
|
3396
|
+
*/
|
|
3397
|
+
const setTenantParameter = async (deskTenantParameterWrite, options) => {
|
|
3398
|
+
const getHeaders = (h) => {
|
|
3399
|
+
if (!h) return {};
|
|
3400
|
+
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
3401
|
+
if (Symbol.iterator in h) return Object.fromEntries(Array.from(h, (entry) => Array.from(entry)));
|
|
3402
|
+
const headers = {};
|
|
3403
|
+
for (const [name, value] of Object.entries(h)) if (value !== void 0) headers[name] = value;
|
|
3404
|
+
return headers;
|
|
3405
|
+
};
|
|
3406
|
+
return request(getSetTenantParameterUrl(), {
|
|
3407
|
+
...options,
|
|
3408
|
+
method: "POST",
|
|
3409
|
+
headers: {
|
|
3410
|
+
"Content-Type": "application/json",
|
|
3411
|
+
...getHeaders(options?.headers)
|
|
3412
|
+
},
|
|
3413
|
+
body: JSON.stringify(deskTenantParameterWrite)
|
|
3414
|
+
});
|
|
3415
|
+
};
|
|
3416
|
+
const getSetTenantParameterMutationKey = () => ["setTenantParameter"];
|
|
3417
|
+
const getSetTenantParameterMutationOptions = (options) => {
|
|
3418
|
+
const mutationKey = getSetTenantParameterMutationKey();
|
|
3419
|
+
const { mutation: mutationOptions, request: requestOptions } = options ? options.mutation && "mutationKey" in options.mutation && options.mutation.mutationKey ? options : {
|
|
3420
|
+
...options,
|
|
3421
|
+
mutation: {
|
|
3422
|
+
...options.mutation,
|
|
3423
|
+
mutationKey
|
|
3424
|
+
}
|
|
3425
|
+
} : {
|
|
3426
|
+
mutation: { mutationKey },
|
|
3427
|
+
request: void 0
|
|
3428
|
+
};
|
|
3429
|
+
const mutationFn = (props) => {
|
|
3430
|
+
const { data } = props ?? {};
|
|
3431
|
+
return setTenantParameter(data, requestOptions);
|
|
3432
|
+
};
|
|
3433
|
+
return {
|
|
3434
|
+
mutationFn,
|
|
3435
|
+
...mutationOptions
|
|
3436
|
+
};
|
|
3437
|
+
};
|
|
3438
|
+
/**
|
|
3439
|
+
* @summary Set Tenant Parameter
|
|
3440
|
+
*/
|
|
3441
|
+
const useSetTenantParameter = (options, queryClient) => {
|
|
3442
|
+
return useMutation(getSetTenantParameterMutationOptions(options), queryClient);
|
|
3443
|
+
};
|
|
2948
3444
|
const getDeskListTenantsUrl = (params) => {
|
|
2949
3445
|
const normalizedParams = new URLSearchParams();
|
|
2950
3446
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -3386,6 +3882,6 @@ function useDeskGetUsageLimits(params, options, queryClient) {
|
|
|
3386
3882
|
return withQueryKey(query, queryOptions.queryKey);
|
|
3387
3883
|
}
|
|
3388
3884
|
//#endregion
|
|
3389
|
-
export { adjustPatronCredits, adjustPatronPurchasedCredits, catalogueDetails, catalogueInventory, catalogueSummary, contractCoverage, contractUsage, dataCoverage, decideRefundRequest, deskAttentionItems, deskBackofficeContext, deskConsumptionSummary, deskContentRatingsSummary, deskCountPatrons, deskDashboardOverview, deskExplainAccess, deskFindPractitioners, deskGetAuditEvent, deskGetCatalogueCollection, deskGetCatalogueItem, deskGetConsumptionEvent, deskGetContract, deskGetIlsStatus, deskGetLoan, deskGetPatron, deskGetPatronActivity, deskGetPatronServices, deskGetPayment, deskGetPractitioner, deskGetReadingProgress, deskGetReview, deskGetTenant, deskGetTenantIntegrations, deskGetTutoringAnswer, deskGetTutoringRequest, deskGetUsageLimits, deskListAuditEvents, deskListCatalogueCollections, deskListConsumptionEvents, deskListContentRatings, deskListContracts, deskListEntitlementExclusions, deskListEntitlementGrants, deskListExpiringDocuments, deskListLiveLeases, deskListLoans, deskListPatronProfiles, deskListPatrons, deskListPayments, deskListPractitionerDocuments, deskListReviews, deskListTenants, deskListTutoringFeedback, deskListTutoringRequests, deskLoansSummary, deskMetricTimeseries, deskPartnerCatalogueFacets, deskPartnerHomeFeed, deskPartnerImportStatus, deskPartnerLicenseSummary, deskPaymentsSummary, deskReferenceData, deskReviewsSummary, deskSearchBackoffice, deskSearchCatalogue, deskTenantStats, deskTutoringRequestsSummary, getAdjustPatronCreditsMutationKey, getAdjustPatronCreditsMutationOptions, getAdjustPatronCreditsUrl, getAdjustPatronPurchasedCreditsMutationKey, getAdjustPatronPurchasedCreditsMutationOptions, getAdjustPatronPurchasedCreditsUrl, getCatalogueDetailsQueryKey, getCatalogueDetailsQueryOptions, getCatalogueDetailsUrl, getCatalogueInventoryQueryKey, getCatalogueInventoryQueryOptions, getCatalogueInventoryUrl, getCatalogueSummaryQueryKey, getCatalogueSummaryQueryOptions, getCatalogueSummaryUrl, getContractCoverageQueryKey, getContractCoverageQueryOptions, getContractCoverageUrl, getContractUsageQueryKey, getContractUsageQueryOptions, getContractUsageUrl, getDataCoverageQueryKey, getDataCoverageQueryOptions, getDataCoverageUrl, getDecideRefundRequestMutationKey, getDecideRefundRequestMutationOptions, getDecideRefundRequestUrl, getDeskAttentionItemsQueryKey, getDeskAttentionItemsQueryOptions, getDeskAttentionItemsUrl, getDeskBackofficeContextQueryKey, getDeskBackofficeContextQueryOptions, getDeskBackofficeContextUrl, getDeskConsumptionSummaryQueryKey, getDeskConsumptionSummaryQueryOptions, getDeskConsumptionSummaryUrl, getDeskContentRatingsSummaryQueryKey, getDeskContentRatingsSummaryQueryOptions, getDeskContentRatingsSummaryUrl, getDeskCountPatronsQueryKey, getDeskCountPatronsQueryOptions, getDeskCountPatronsUrl, getDeskDashboardOverviewQueryKey, getDeskDashboardOverviewQueryOptions, getDeskDashboardOverviewUrl, getDeskExplainAccessQueryKey, getDeskExplainAccessQueryOptions, getDeskExplainAccessUrl, getDeskFindPractitionersQueryKey, getDeskFindPractitionersQueryOptions, getDeskFindPractitionersUrl, getDeskGetAuditEventQueryKey, getDeskGetAuditEventQueryOptions, getDeskGetAuditEventUrl, getDeskGetCatalogueCollectionQueryKey, getDeskGetCatalogueCollectionQueryOptions, getDeskGetCatalogueCollectionUrl, getDeskGetCatalogueItemQueryKey, getDeskGetCatalogueItemQueryOptions, getDeskGetCatalogueItemUrl, getDeskGetConsumptionEventQueryKey, getDeskGetConsumptionEventQueryOptions, getDeskGetConsumptionEventUrl, getDeskGetContractQueryKey, getDeskGetContractQueryOptions, getDeskGetContractUrl, getDeskGetIlsStatusQueryKey, getDeskGetIlsStatusQueryOptions, getDeskGetIlsStatusUrl, getDeskGetLoanQueryKey, getDeskGetLoanQueryOptions, getDeskGetLoanUrl, getDeskGetPatronActivityQueryKey, getDeskGetPatronActivityQueryOptions, getDeskGetPatronActivityUrl, getDeskGetPatronQueryKey, getDeskGetPatronQueryOptions, getDeskGetPatronServicesQueryKey, getDeskGetPatronServicesQueryOptions, getDeskGetPatronServicesUrl, getDeskGetPatronUrl, getDeskGetPaymentQueryKey, getDeskGetPaymentQueryOptions, getDeskGetPaymentUrl, getDeskGetPractitionerQueryKey, getDeskGetPractitionerQueryOptions, getDeskGetPractitionerUrl, getDeskGetReadingProgressQueryKey, getDeskGetReadingProgressQueryOptions, getDeskGetReadingProgressUrl, getDeskGetReviewQueryKey, getDeskGetReviewQueryOptions, getDeskGetReviewUrl, getDeskGetTenantIntegrationsQueryKey, getDeskGetTenantIntegrationsQueryOptions, getDeskGetTenantIntegrationsUrl, getDeskGetTenantQueryKey, getDeskGetTenantQueryOptions, getDeskGetTenantUrl, getDeskGetTutoringAnswerQueryKey, getDeskGetTutoringAnswerQueryOptions, getDeskGetTutoringAnswerUrl, getDeskGetTutoringRequestQueryKey, getDeskGetTutoringRequestQueryOptions, getDeskGetTutoringRequestUrl, getDeskGetUsageLimitsQueryKey, getDeskGetUsageLimitsQueryOptions, getDeskGetUsageLimitsUrl, getDeskListAuditEventsQueryKey, getDeskListAuditEventsQueryOptions, getDeskListAuditEventsUrl, getDeskListCatalogueCollectionsQueryKey, getDeskListCatalogueCollectionsQueryOptions, getDeskListCatalogueCollectionsUrl, getDeskListConsumptionEventsQueryKey, getDeskListConsumptionEventsQueryOptions, getDeskListConsumptionEventsUrl, getDeskListContentRatingsQueryKey, getDeskListContentRatingsQueryOptions, getDeskListContentRatingsUrl, getDeskListContractsQueryKey, getDeskListContractsQueryOptions, getDeskListContractsUrl, getDeskListEntitlementExclusionsQueryKey, getDeskListEntitlementExclusionsQueryOptions, getDeskListEntitlementExclusionsUrl, getDeskListEntitlementGrantsQueryKey, getDeskListEntitlementGrantsQueryOptions, getDeskListEntitlementGrantsUrl, getDeskListExpiringDocumentsQueryKey, getDeskListExpiringDocumentsQueryOptions, getDeskListExpiringDocumentsUrl, getDeskListLiveLeasesQueryKey, getDeskListLiveLeasesQueryOptions, getDeskListLiveLeasesUrl, getDeskListLoansQueryKey, getDeskListLoansQueryOptions, getDeskListLoansUrl, getDeskListPatronProfilesQueryKey, getDeskListPatronProfilesQueryOptions, getDeskListPatronProfilesUrl, getDeskListPatronsQueryKey, getDeskListPatronsQueryOptions, getDeskListPatronsUrl, getDeskListPaymentsQueryKey, getDeskListPaymentsQueryOptions, getDeskListPaymentsUrl, getDeskListPractitionerDocumentsQueryKey, getDeskListPractitionerDocumentsQueryOptions, getDeskListPractitionerDocumentsUrl, getDeskListReviewsQueryKey, getDeskListReviewsQueryOptions, getDeskListReviewsUrl, getDeskListTenantsQueryKey, getDeskListTenantsQueryOptions, getDeskListTenantsUrl, getDeskListTutoringFeedbackQueryKey, getDeskListTutoringFeedbackQueryOptions, getDeskListTutoringFeedbackUrl, getDeskListTutoringRequestsQueryKey, getDeskListTutoringRequestsQueryOptions, getDeskListTutoringRequestsUrl, getDeskLoansSummaryQueryKey, getDeskLoansSummaryQueryOptions, getDeskLoansSummaryUrl, getDeskMetricTimeseriesQueryKey, getDeskMetricTimeseriesQueryOptions, getDeskMetricTimeseriesUrl, getDeskPartnerCatalogueFacetsQueryKey, getDeskPartnerCatalogueFacetsQueryOptions, getDeskPartnerCatalogueFacetsUrl, getDeskPartnerHomeFeedQueryKey, getDeskPartnerHomeFeedQueryOptions, getDeskPartnerHomeFeedUrl, getDeskPartnerImportStatusQueryKey, getDeskPartnerImportStatusQueryOptions, getDeskPartnerImportStatusUrl, getDeskPartnerLicenseSummaryQueryKey, getDeskPartnerLicenseSummaryQueryOptions, getDeskPartnerLicenseSummaryUrl, getDeskPaymentsSummaryQueryKey, getDeskPaymentsSummaryQueryOptions, getDeskPaymentsSummaryUrl, getDeskReferenceDataQueryKey, getDeskReferenceDataQueryOptions, getDeskReferenceDataUrl, getDeskReviewsSummaryQueryKey, getDeskReviewsSummaryQueryOptions, getDeskReviewsSummaryUrl, getDeskSearchBackofficeQueryKey, getDeskSearchBackofficeQueryOptions, getDeskSearchBackofficeUrl, getDeskSearchCatalogueQueryKey, getDeskSearchCatalogueQueryOptions, getDeskSearchCatalogueUrl, getDeskTenantStatsQueryKey, getDeskTenantStatsQueryOptions, getDeskTenantStatsUrl, getDeskTutoringRequestsSummaryQueryKey, getDeskTutoringRequestsSummaryQueryOptions, getDeskTutoringRequestsSummaryUrl, getListRefundRequestsQueryKey, getListRefundRequestsQueryOptions, getListRefundRequestsUrl, getPartnerLicenseQueryKey, getPartnerLicenseQueryOptions, getPartnerLicenseUrl, getPartnerLicensesQueryKey, getPartnerLicensesQueryOptions, getPartnerLicensesUrl, getPatronAccessMatrixQueryKey, getPatronAccessMatrixQueryOptions, getPatronAccessMatrixUrl, getPatronCreditsQueryKey, getPatronCreditsQueryOptions, getPatronCreditsUrl, getPatronOverviewQueryKey, getPatronOverviewQueryOptions, getPatronOverviewUrl, getPractitionerWorkloadQueryKey, getPractitionerWorkloadQueryOptions, getPractitionerWorkloadUrl, getRefundPatronConsumptionMutationKey, getRefundPatronConsumptionMutationOptions, getRefundPatronConsumptionUrl, getScreenManifestQueryKey, getScreenManifestQueryOptions, getScreenManifestUrl, getTenantHierarchyQueryKey, getTenantHierarchyQueryOptions, getTenantHierarchyUrl, getTenantOverviewQueryKey, getTenantOverviewQueryOptions, getTenantOverviewUrl, getTopContentQueryKey, getTopContentQueryOptions, getTopContentUrl, getTutoringPerformanceQueryKey, getTutoringPerformanceQueryOptions, getTutoringPerformanceUrl, getTutoringTimelineQueryKey, getTutoringTimelineQueryOptions, getTutoringTimelineUrl, listRefundRequests, partnerLicense, partnerLicenses, patronAccessMatrix, patronCredits, patronOverview, practitionerWorkload, refundPatronConsumption, screenManifest, tenantHierarchy, tenantOverview, topContent, tutoringPerformance, tutoringTimeline, useAdjustPatronCredits, useAdjustPatronPurchasedCredits, useCatalogueDetails, useCatalogueInventory, useCatalogueSummary, useContractCoverage, useContractUsage, useDataCoverage, useDecideRefundRequest, useDeskAttentionItems, useDeskBackofficeContext, useDeskConsumptionSummary, useDeskContentRatingsSummary, useDeskCountPatrons, useDeskDashboardOverview, useDeskExplainAccess, useDeskFindPractitioners, useDeskGetAuditEvent, useDeskGetCatalogueCollection, useDeskGetCatalogueItem, useDeskGetConsumptionEvent, useDeskGetContract, useDeskGetIlsStatus, useDeskGetLoan, useDeskGetPatron, useDeskGetPatronActivity, useDeskGetPatronServices, useDeskGetPayment, useDeskGetPractitioner, useDeskGetReadingProgress, useDeskGetReview, useDeskGetTenant, useDeskGetTenantIntegrations, useDeskGetTutoringAnswer, useDeskGetTutoringRequest, useDeskGetUsageLimits, useDeskListAuditEvents, useDeskListCatalogueCollections, useDeskListConsumptionEvents, useDeskListContentRatings, useDeskListContracts, useDeskListEntitlementExclusions, useDeskListEntitlementGrants, useDeskListExpiringDocuments, useDeskListLiveLeases, useDeskListLoans, useDeskListPatronProfiles, useDeskListPatrons, useDeskListPayments, useDeskListPractitionerDocuments, useDeskListReviews, useDeskListTenants, useDeskListTutoringFeedback, useDeskListTutoringRequests, useDeskLoansSummary, useDeskMetricTimeseries, useDeskPartnerCatalogueFacets, useDeskPartnerHomeFeed, useDeskPartnerImportStatus, useDeskPartnerLicenseSummary, useDeskPaymentsSummary, useDeskReferenceData, useDeskReviewsSummary, useDeskSearchBackoffice, useDeskSearchCatalogue, useDeskTenantStats, useDeskTutoringRequestsSummary, useListRefundRequests, usePartnerLicense, usePartnerLicenses, usePatronAccessMatrix, usePatronCredits, usePatronOverview, usePractitionerWorkload, useRefundPatronConsumption, useScreenManifest, useTenantHierarchy, useTenantOverview, useTopContent, useTutoringPerformance, useTutoringTimeline };
|
|
3885
|
+
export { adjustPatronCredits, adjustPatronPurchasedCredits, catalogueDetails, catalogueInventory, catalogueSummary, contractCoverage, contractUsage, dataCoverage, decideRefundRequest, deskAttentionItems, deskBackofficeContext, deskConsumptionSummary, deskContentRatingsSummary, deskCountPatrons, deskDashboardOverview, deskExplainAccess, deskFindPractitioners, deskGetAuditEvent, deskGetCatalogueCollection, deskGetCatalogueItem, deskGetConsumptionEvent, deskGetContract, deskGetIlsStatus, deskGetLoan, deskGetPatron, deskGetPatronActivity, deskGetPatronServices, deskGetPayment, deskGetPractitioner, deskGetReadingProgress, deskGetReview, deskGetTenant, deskGetTenantIntegrations, deskGetTutoringAnswer, deskGetTutoringRequest, deskGetUsageLimits, deskListAuditEvents, deskListCatalogueCollections, deskListConsumptionEvents, deskListContentRatings, deskListContracts, deskListEntitlementExclusions, deskListEntitlementGrants, deskListExpiringDocuments, deskListLiveLeases, deskListLoans, deskListPatronProfiles, deskListPatrons, deskListPayments, deskListPractitionerDocuments, deskListReviews, deskListTenants, deskListTutoringFeedback, deskListTutoringRequests, deskLoansSummary, deskMetricTimeseries, deskPartnerCatalogueFacets, deskPartnerHomeFeed, deskPartnerImportStatus, deskPartnerLicenseSummary, deskPaymentsSummary, deskReferenceData, deskReviewsSummary, deskSearchBackoffice, deskSearchCatalogue, deskTenantStats, deskTutoringRequestsSummary, getAdjustPatronCreditsMutationKey, getAdjustPatronCreditsMutationOptions, getAdjustPatronCreditsUrl, getAdjustPatronPurchasedCreditsMutationKey, getAdjustPatronPurchasedCreditsMutationOptions, getAdjustPatronPurchasedCreditsUrl, getCatalogueDetailsQueryKey, getCatalogueDetailsQueryOptions, getCatalogueDetailsUrl, getCatalogueInventoryQueryKey, getCatalogueInventoryQueryOptions, getCatalogueInventoryUrl, getCatalogueSummaryQueryKey, getCatalogueSummaryQueryOptions, getCatalogueSummaryUrl, getContractCoverageQueryKey, getContractCoverageQueryOptions, getContractCoverageUrl, getContractUsageQueryKey, getContractUsageQueryOptions, getContractUsageUrl, getDataCoverageQueryKey, getDataCoverageQueryOptions, getDataCoverageUrl, getDecideRefundRequestMutationKey, getDecideRefundRequestMutationOptions, getDecideRefundRequestUrl, getDeskAttentionItemsQueryKey, getDeskAttentionItemsQueryOptions, getDeskAttentionItemsUrl, getDeskBackofficeContextQueryKey, getDeskBackofficeContextQueryOptions, getDeskBackofficeContextUrl, getDeskConsumptionSummaryQueryKey, getDeskConsumptionSummaryQueryOptions, getDeskConsumptionSummaryUrl, getDeskContentRatingsSummaryQueryKey, getDeskContentRatingsSummaryQueryOptions, getDeskContentRatingsSummaryUrl, getDeskCountPatronsQueryKey, getDeskCountPatronsQueryOptions, getDeskCountPatronsUrl, getDeskDashboardOverviewQueryKey, getDeskDashboardOverviewQueryOptions, getDeskDashboardOverviewUrl, getDeskExplainAccessQueryKey, getDeskExplainAccessQueryOptions, getDeskExplainAccessUrl, getDeskFindPractitionersQueryKey, getDeskFindPractitionersQueryOptions, getDeskFindPractitionersUrl, getDeskGetAuditEventQueryKey, getDeskGetAuditEventQueryOptions, getDeskGetAuditEventUrl, getDeskGetCatalogueCollectionQueryKey, getDeskGetCatalogueCollectionQueryOptions, getDeskGetCatalogueCollectionUrl, getDeskGetCatalogueItemQueryKey, getDeskGetCatalogueItemQueryOptions, getDeskGetCatalogueItemUrl, getDeskGetConsumptionEventQueryKey, getDeskGetConsumptionEventQueryOptions, getDeskGetConsumptionEventUrl, getDeskGetContractQueryKey, getDeskGetContractQueryOptions, getDeskGetContractUrl, getDeskGetIlsStatusQueryKey, getDeskGetIlsStatusQueryOptions, getDeskGetIlsStatusUrl, getDeskGetLoanQueryKey, getDeskGetLoanQueryOptions, getDeskGetLoanUrl, getDeskGetPatronActivityQueryKey, getDeskGetPatronActivityQueryOptions, getDeskGetPatronActivityUrl, getDeskGetPatronQueryKey, getDeskGetPatronQueryOptions, getDeskGetPatronServicesQueryKey, getDeskGetPatronServicesQueryOptions, getDeskGetPatronServicesUrl, getDeskGetPatronUrl, getDeskGetPaymentQueryKey, getDeskGetPaymentQueryOptions, getDeskGetPaymentUrl, getDeskGetPractitionerQueryKey, getDeskGetPractitionerQueryOptions, getDeskGetPractitionerUrl, getDeskGetReadingProgressQueryKey, getDeskGetReadingProgressQueryOptions, getDeskGetReadingProgressUrl, getDeskGetReviewQueryKey, getDeskGetReviewQueryOptions, getDeskGetReviewUrl, getDeskGetTenantIntegrationsQueryKey, getDeskGetTenantIntegrationsQueryOptions, getDeskGetTenantIntegrationsUrl, getDeskGetTenantQueryKey, getDeskGetTenantQueryOptions, getDeskGetTenantUrl, getDeskGetTutoringAnswerQueryKey, getDeskGetTutoringAnswerQueryOptions, getDeskGetTutoringAnswerUrl, getDeskGetTutoringRequestQueryKey, getDeskGetTutoringRequestQueryOptions, getDeskGetTutoringRequestUrl, getDeskGetUsageLimitsQueryKey, getDeskGetUsageLimitsQueryOptions, getDeskGetUsageLimitsUrl, getDeskListAuditEventsQueryKey, getDeskListAuditEventsQueryOptions, getDeskListAuditEventsUrl, getDeskListCatalogueCollectionsQueryKey, getDeskListCatalogueCollectionsQueryOptions, getDeskListCatalogueCollectionsUrl, getDeskListConsumptionEventsQueryKey, getDeskListConsumptionEventsQueryOptions, getDeskListConsumptionEventsUrl, getDeskListContentRatingsQueryKey, getDeskListContentRatingsQueryOptions, getDeskListContentRatingsUrl, getDeskListContractsQueryKey, getDeskListContractsQueryOptions, getDeskListContractsUrl, getDeskListEntitlementExclusionsQueryKey, getDeskListEntitlementExclusionsQueryOptions, getDeskListEntitlementExclusionsUrl, getDeskListEntitlementGrantsQueryKey, getDeskListEntitlementGrantsQueryOptions, getDeskListEntitlementGrantsUrl, getDeskListExpiringDocumentsQueryKey, getDeskListExpiringDocumentsQueryOptions, getDeskListExpiringDocumentsUrl, getDeskListLiveLeasesQueryKey, getDeskListLiveLeasesQueryOptions, getDeskListLiveLeasesUrl, getDeskListLoansQueryKey, getDeskListLoansQueryOptions, getDeskListLoansUrl, getDeskListPatronProfilesQueryKey, getDeskListPatronProfilesQueryOptions, getDeskListPatronProfilesUrl, getDeskListPatronsQueryKey, getDeskListPatronsQueryOptions, getDeskListPatronsUrl, getDeskListPaymentsQueryKey, getDeskListPaymentsQueryOptions, getDeskListPaymentsUrl, getDeskListPractitionerDocumentsQueryKey, getDeskListPractitionerDocumentsQueryOptions, getDeskListPractitionerDocumentsUrl, getDeskListReviewsQueryKey, getDeskListReviewsQueryOptions, getDeskListReviewsUrl, getDeskListTenantsQueryKey, getDeskListTenantsQueryOptions, getDeskListTenantsUrl, getDeskListTutoringFeedbackQueryKey, getDeskListTutoringFeedbackQueryOptions, getDeskListTutoringFeedbackUrl, getDeskListTutoringRequestsQueryKey, getDeskListTutoringRequestsQueryOptions, getDeskListTutoringRequestsUrl, getDeskLoansSummaryQueryKey, getDeskLoansSummaryQueryOptions, getDeskLoansSummaryUrl, getDeskMetricTimeseriesQueryKey, getDeskMetricTimeseriesQueryOptions, getDeskMetricTimeseriesUrl, getDeskPartnerCatalogueFacetsQueryKey, getDeskPartnerCatalogueFacetsQueryOptions, getDeskPartnerCatalogueFacetsUrl, getDeskPartnerHomeFeedQueryKey, getDeskPartnerHomeFeedQueryOptions, getDeskPartnerHomeFeedUrl, getDeskPartnerImportStatusQueryKey, getDeskPartnerImportStatusQueryOptions, getDeskPartnerImportStatusUrl, getDeskPartnerLicenseSummaryQueryKey, getDeskPartnerLicenseSummaryQueryOptions, getDeskPartnerLicenseSummaryUrl, getDeskPaymentsSummaryQueryKey, getDeskPaymentsSummaryQueryOptions, getDeskPaymentsSummaryUrl, getDeskReferenceDataQueryKey, getDeskReferenceDataQueryOptions, getDeskReferenceDataUrl, getDeskReviewsSummaryQueryKey, getDeskReviewsSummaryQueryOptions, getDeskReviewsSummaryUrl, getDeskSearchBackofficeQueryKey, getDeskSearchBackofficeQueryOptions, getDeskSearchBackofficeUrl, getDeskSearchCatalogueQueryKey, getDeskSearchCatalogueQueryOptions, getDeskSearchCatalogueUrl, getDeskTenantStatsQueryKey, getDeskTenantStatsQueryOptions, getDeskTenantStatsUrl, getDeskTutoringRequestsSummaryQueryKey, getDeskTutoringRequestsSummaryQueryOptions, getDeskTutoringRequestsSummaryUrl, getGrantQuotaBonusMutationKey, getGrantQuotaBonusMutationOptions, getGrantQuotaBonusUrl, getListRefundRequestsQueryKey, getListRefundRequestsQueryOptions, getListRefundRequestsUrl, getPartnerLicenseQueryKey, getPartnerLicenseQueryOptions, getPartnerLicenseUrl, getPartnerLicensesQueryKey, getPartnerLicensesQueryOptions, getPartnerLicensesUrl, getPatronAccessMatrixQueryKey, getPatronAccessMatrixQueryOptions, getPatronAccessMatrixUrl, getPatronBulkChangeQueryKey, getPatronBulkChangeQueryOptions, getPatronBulkChangeUrl, getPatronCreditsQueryKey, getPatronCreditsQueryOptions, getPatronCreditsUrl, getPatronOverviewQueryKey, getPatronOverviewQueryOptions, getPatronOverviewUrl, getPractitionerWorkloadQueryKey, getPractitionerWorkloadQueryOptions, getPractitionerWorkloadUrl, getRefundPatronConsumptionMutationKey, getRefundPatronConsumptionMutationOptions, getRefundPatronConsumptionUrl, getRevertPatronBulkChangeMutationKey, getRevertPatronBulkChangeMutationOptions, getRevertPatronBulkChangeUrl, getScreenManifestQueryKey, getScreenManifestQueryOptions, getScreenManifestUrl, getSetPatronQuotaMutationKey, getSetPatronQuotaMutationOptions, getSetPatronQuotaUrl, getSetTenantActivationMutationKey, getSetTenantActivationMutationOptions, getSetTenantActivationUrl, getSetTenantHostMutationKey, getSetTenantHostMutationOptions, getSetTenantHostUrl, getSetTenantParameterMutationKey, getSetTenantParameterMutationOptions, getSetTenantParameterUrl, getTenantConfigurationQueryKey, getTenantConfigurationQueryOptions, getTenantConfigurationUrl, getTenantHierarchyQueryKey, getTenantHierarchyQueryOptions, getTenantHierarchyUrl, getTenantOverviewQueryKey, getTenantOverviewQueryOptions, getTenantOverviewUrl, getTopContentQueryKey, getTopContentQueryOptions, getTopContentUrl, getTutoringPerformanceQueryKey, getTutoringPerformanceQueryOptions, getTutoringPerformanceUrl, getTutoringTimelineQueryKey, getTutoringTimelineQueryOptions, getTutoringTimelineUrl, getUpdatePatronsInBulkMutationKey, getUpdatePatronsInBulkMutationOptions, getUpdatePatronsInBulkUrl, grantQuotaBonus, listRefundRequests, partnerLicense, partnerLicenses, patronAccessMatrix, patronBulkChange, patronCredits, patronOverview, practitionerWorkload, refundPatronConsumption, revertPatronBulkChange, screenManifest, setPatronQuota, setTenantActivation, setTenantHost, setTenantParameter, tenantConfiguration, tenantHierarchy, tenantOverview, topContent, tutoringPerformance, tutoringTimeline, updatePatronsInBulk, useAdjustPatronCredits, useAdjustPatronPurchasedCredits, useCatalogueDetails, useCatalogueInventory, useCatalogueSummary, useContractCoverage, useContractUsage, useDataCoverage, useDecideRefundRequest, useDeskAttentionItems, useDeskBackofficeContext, useDeskConsumptionSummary, useDeskContentRatingsSummary, useDeskCountPatrons, useDeskDashboardOverview, useDeskExplainAccess, useDeskFindPractitioners, useDeskGetAuditEvent, useDeskGetCatalogueCollection, useDeskGetCatalogueItem, useDeskGetConsumptionEvent, useDeskGetContract, useDeskGetIlsStatus, useDeskGetLoan, useDeskGetPatron, useDeskGetPatronActivity, useDeskGetPatronServices, useDeskGetPayment, useDeskGetPractitioner, useDeskGetReadingProgress, useDeskGetReview, useDeskGetTenant, useDeskGetTenantIntegrations, useDeskGetTutoringAnswer, useDeskGetTutoringRequest, useDeskGetUsageLimits, useDeskListAuditEvents, useDeskListCatalogueCollections, useDeskListConsumptionEvents, useDeskListContentRatings, useDeskListContracts, useDeskListEntitlementExclusions, useDeskListEntitlementGrants, useDeskListExpiringDocuments, useDeskListLiveLeases, useDeskListLoans, useDeskListPatronProfiles, useDeskListPatrons, useDeskListPayments, useDeskListPractitionerDocuments, useDeskListReviews, useDeskListTenants, useDeskListTutoringFeedback, useDeskListTutoringRequests, useDeskLoansSummary, useDeskMetricTimeseries, useDeskPartnerCatalogueFacets, useDeskPartnerHomeFeed, useDeskPartnerImportStatus, useDeskPartnerLicenseSummary, useDeskPaymentsSummary, useDeskReferenceData, useDeskReviewsSummary, useDeskSearchBackoffice, useDeskSearchCatalogue, useDeskTenantStats, useDeskTutoringRequestsSummary, useGrantQuotaBonus, useListRefundRequests, usePartnerLicense, usePartnerLicenses, usePatronAccessMatrix, usePatronBulkChange, usePatronCredits, usePatronOverview, usePractitionerWorkload, useRefundPatronConsumption, useRevertPatronBulkChange, useScreenManifest, useSetPatronQuota, useSetTenantActivation, useSetTenantHost, useSetTenantParameter, useTenantConfiguration, useTenantHierarchy, useTenantOverview, useTopContent, useTutoringPerformance, useTutoringTimeline, useUpdatePatronsInBulk };
|
|
3390
3886
|
|
|
3391
3887
|
//# sourceMappingURL=admin-desk.js.map
|