@learnorama/mozaik-sdk 0.8.3-staging.32.1 → 0.9.1-staging.36.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/README.md +107 -0
- package/dist/api/account.d.ts +29 -28
- package/dist/api/account.js +43 -28
- 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-desk.d.ts +23 -1
- package/dist/api/admin-desk.js +59 -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-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/auth.d.ts +11 -1
- package/dist/api/auth.js +31 -1
- package/dist/api/auth.js.map +1 -1
- package/dist/api/biblio-catalogue.d.ts +11 -1
- package/dist/api/biblio-catalogue.js +23 -1
- package/dist/api/biblio-catalogue.js.map +1 -1
- package/dist/api/biblio-home.d.ts +6 -1
- package/dist/api/biblio-home.js +5 -0
- package/dist/api/biblio-home.js.map +1 -1
- package/dist/api/biblio-library.d.ts +9 -6
- package/dist/api/biblio-library.js +22 -9
- 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 +34 -25
- package/dist/api/biblio-press.js +73 -32
- 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/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 +9 -9
- package/dist/api/index.js +9 -9
- package/dist/api/partner-catalogue.d.ts +20 -1
- package/dist/api/partner-catalogue.js +44 -1
- package/dist/api/partner-catalogue.js.map +1 -1
- package/dist/api/partner-reader.d.ts +34 -6
- package/dist/api/partner-reader.js +48 -6
- package/dist/api/partner-reader.js.map +1 -1
- package/dist/api/profiles.d.ts +86 -33
- package/dist/api/profiles.js +302 -33
- 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.d.ts +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/chunks/client2.d.ts +1 -1
- package/dist/chunks/connection.d.ts +1 -1
- package/dist/chunks/index.d.ts +1220 -372
- 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 +91 -1
- package/dist/models.js.map +1 -1
- package/dist/react/account.d.ts +83 -28
- package/dist/react/account.js +92 -29
- 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-desk.d.ts +104 -1
- package/dist/react/admin-desk.js +132 -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-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/auth.d.ts +29 -1
- package/dist/react/auth.js +60 -2
- package/dist/react/auth.js.map +1 -1
- package/dist/react/biblio-catalogue.d.ts +38 -1
- package/dist/react/biblio-catalogue.js +48 -2
- package/dist/react/biblio-catalogue.js.map +1 -1
- package/dist/react/biblio-home.d.ts +6 -1
- package/dist/react/biblio-home.js +6 -1
- package/dist/react/biblio-home.js.map +1 -1
- package/dist/react/biblio-library.d.ts +15 -11
- package/dist/react/biblio-library.js +32 -19
- 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 +119 -64
- package/dist/react/biblio-press.js +153 -59
- 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/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 +9 -9
- package/dist/react/index.js +9 -9
- package/dist/react/partner-catalogue.d.ts +74 -1
- package/dist/react/partner-catalogue.js +95 -2
- package/dist/react/partner-catalogue.js.map +1 -1
- package/dist/react/partner-reader.d.ts +79 -6
- package/dist/react/partner-reader.js +102 -7
- package/dist/react/partner-reader.js.map +1 -1
- package/dist/react/profiles.d.ts +406 -33
- package/dist/react/profiles.js +760 -59
- 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/README.md
CHANGED
|
@@ -40,6 +40,113 @@ PKCE and session refresh, use the SSO client below. Neither transport automatica
|
|
|
40
40
|
replays failed application writes. Backend-owned Keycloak client secrets must
|
|
41
41
|
never be supplied to this SDK.
|
|
42
42
|
|
|
43
|
+
## Browse a universe without client-side catalogue filtering
|
|
44
|
+
|
|
45
|
+
`GET /me/capabilities` identifies the available Biblio universes in
|
|
46
|
+
`biblio.availableCategoryKinds`. Those values are accepted directly by `kind`:
|
|
47
|
+
`course`, `book`, `press` (also `music` and `service` where entitled).
|
|
48
|
+
|
|
49
|
+
| Need | API |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| Course home | `GET /biblio/home-feed?kind=course&limit=12` |
|
|
52
|
+
| Course category chips | `GET /biblio/me/categories?kind=course` |
|
|
53
|
+
| Browse course cards | `GET /biblio/contents?kind=course&page=1&limit=24` |
|
|
54
|
+
| Narrow to one category | `GET /biblio/contents?kind=course&categoryId=12&page=1&limit=24` |
|
|
55
|
+
| Search within a universe | `GET /biblio/contents?kind=course&q=anglais&page=1&limit=24` |
|
|
56
|
+
| Press home / publication selection | `GET /biblio/press-feed` / `GET /biblio/press-titles` |
|
|
57
|
+
| Provider book home / catalogue | Follow `partners[].homeFeedUrl` / `partners[].mediaUrl` from capabilities |
|
|
58
|
+
|
|
59
|
+
Categories return `categoryId`, `title`, `kind`, nullable `packId` and
|
|
60
|
+
`contentsUrl`. A pack groups course categories; it is not a universe. Follow the
|
|
61
|
+
returned content URL instead of deriving routes from category names. Content is
|
|
62
|
+
deduplicated and filtered for kind, category, rights, access level and age before
|
|
63
|
+
pagination/counting. `q` matches a literal case-insensitive title substring;
|
|
64
|
+
omitting it browses the catalogue. Results order by publication date (newest
|
|
65
|
+
first), then `contentId`. Unknown kinds return 422. An inaccessible category
|
|
66
|
+
returns an empty page.
|
|
67
|
+
|
|
68
|
+
A filtered home contains only that universe's content, history and publishers.
|
|
69
|
+
Each carousel supplies its `kind`, `categoryId` and `contentsUrl` for “See all”.
|
|
70
|
+
Unclassified global editorial banners are included only when `kind` is omitted;
|
|
71
|
+
`pressFeed` is populated only on the mixed or press home. Omitting `kind` keeps
|
|
72
|
+
the mixed Biblio home. Profile/household access checks still run on every read.
|
|
73
|
+
|
|
74
|
+
`kind=book` covers Biblio content rows; it does not merge the separately stored
|
|
75
|
+
Nextory/YouScribe media catalogue. Those providers already supply server-composed
|
|
76
|
+
feeds, category listings and paginated media endpoints through capabilities.
|
|
77
|
+
The frontend chooses the universe's layout, but does not load the full catalogue
|
|
78
|
+
to classify, filter or paginate it. These feeds do not supply individual press
|
|
79
|
+
articles or trending topics that the upstream catalogue does not contain.
|
|
80
|
+
|
|
81
|
+
## Press titles, onboarding and preferences
|
|
82
|
+
|
|
83
|
+
A title/publication (Le Monde), a dated edition and an article are distinct.
|
|
84
|
+
Use `contentId` from the title catalogue for all API paths and favourites.
|
|
85
|
+
`publicationId` is a separate provider identifier; never substitute it for
|
|
86
|
+
`contentId`. The optional `articleId` in a reader-access body is an actual
|
|
87
|
+
provider article identifier, not the catalogue content ID.
|
|
88
|
+
|
|
89
|
+
| Action | API |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| Browse/search | `GET /biblio/press-titles?page=1&limit=24&q=monde` |
|
|
92
|
+
| Selected titles only | `GET /biblio/press-titles?favorited=true` |
|
|
93
|
+
| Publication metadata | `GET /biblio/press-titles/{contentId}` |
|
|
94
|
+
| Dated editions | `GET /biblio/press-titles/{contentId}/issues` |
|
|
95
|
+
| Open an edition | `POST /biblio/press-titles/{contentId}/reader-access` with `issueDate`, optionally provider `articleId` |
|
|
96
|
+
| Select a title | `PUT /biblio/me/favorites/{contentId}` with `{ "mode": "press_title" }` |
|
|
97
|
+
| Unselect a title | `DELETE /biblio/me/favorites/{contentId}?mode=press_title` |
|
|
98
|
+
| Personalised press feed | `GET /biblio/press-feed?limit=6` |
|
|
99
|
+
|
|
100
|
+
The catalogue returns `data`, `meta` and accessible `themes`. Each title includes
|
|
101
|
+
`contentId`, `publicationId`, `title`, nullable `coverImage`/`periodicity`, and
|
|
102
|
+
`favorited`. Frequency is recorded metadata; hide its label when null. It is not
|
|
103
|
+
inferred from publication dates. `q` is a case-insensitive literal substring;
|
|
104
|
+
optional filters include `themeId`, `withoutTheme`, `lang`, `countries`,
|
|
105
|
+
`subthemes` and `favorited`. Omit filters you do not need. Ordering is alphabetical
|
|
106
|
+
with an ID tie-break; use `meta.totalPages` to fetch beyond the first page.
|
|
107
|
+
|
|
108
|
+
Only active, accessible titles are offered. Multiple catalogue variants of a
|
|
109
|
+
provider publication produce one entry, preferring an accessible non-test variant.
|
|
110
|
+
Selection applies across those variants, but never bypasses access or age checks.
|
|
111
|
+
Other saved, unavailable titles remain in favourites; they do not appear in the
|
|
112
|
+
selectable catalogue or press feed. Generic `mode=content` bookmarks remain
|
|
113
|
+
independent. DELETE without a mode removes only the generic content bookmark.
|
|
114
|
+
|
|
115
|
+
`GET /me/onboarding` returns `preferredPressTitleIds`, `pressTitlesUrl` and
|
|
116
|
+
`pressFavoritesUrl`, alongside category preferences. The returned selected IDs
|
|
117
|
+
refer to the current catalogue representatives; use each title's `favorited`
|
|
118
|
+
flag when paging. Press selection uses the existing favourites storage, not
|
|
119
|
+
category IDs. Use the same authenticated effective-profile context for every call.
|
|
120
|
+
|
|
121
|
+
The feed returns a `favorites` section ("Mes titres") first, then unsaved discovery
|
|
122
|
+
titles grouped by theme, including an unthemed discovery section. Empty sections
|
|
123
|
+
are omitted. Each section has `titles`, `meta` and `titlesUrl`; follow that URL
|
|
124
|
+
with the requested `page` to continue with the same filters and page size.
|
|
125
|
+
`GET /biblio/home-feed` exposes this same result as `pressFeed`.
|
|
126
|
+
|
|
127
|
+
```ts
|
|
128
|
+
import { listPressTitles, readPressFeed } from '@learnorama/mozaik-sdk/api/biblio-press';
|
|
129
|
+
import { addBiblioFavorite, removeBiblioFavorite } from '@learnorama/mozaik-sdk/api/biblio-library';
|
|
130
|
+
|
|
131
|
+
const page = await listPressTitles({ page: 1, limit: 24 }, { client });
|
|
132
|
+
const title = page.data[0];
|
|
133
|
+
if (title) {
|
|
134
|
+
await addBiblioFavorite(title.contentId, { mode: 'press_title' }, { client });
|
|
135
|
+
await removeBiblioFavorite(title.contentId, { mode: 'press_title' }, { client });
|
|
136
|
+
}
|
|
137
|
+
const feed = await readPressFeed({ limit: 6 }, { client });
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
After selection changes, invalidate/refetch title lists/details, favourites,
|
|
141
|
+
onboarding, the press feed and the home feed. Clear profile-scoped query caches
|
|
142
|
+
when switching accounts or profiles. HTTP responses containing these selections
|
|
143
|
+
are private and non-cacheable; application query caches still need this handling.
|
|
144
|
+
|
|
145
|
+
This is a breaking contract: `/press-articles` and `/press-review` have been
|
|
146
|
+
removed. Use `/press-titles` and `/press-feed`; `articleId` on a catalogue card
|
|
147
|
+
becomes `contentId`, `articles` in sections becomes `titles`, and home
|
|
148
|
+
`pressReview` becomes `pressFeed`. Regenerate/update the SDK with the backend.
|
|
149
|
+
|
|
43
150
|
## Google Workspace and partner SSO
|
|
44
151
|
|
|
45
152
|
```ts
|
package/dist/api/account.d.ts
CHANGED
|
@@ -1,37 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { In as OnboardingRead, X as ServiceListRead, bi as FrontendCapabilitiesRead, el as AccountUpdateWrite, nl as AccountDetailRead } from "../chunks/index.js";
|
|
3
3
|
import { c as request } from "../chunks/client.js";
|
|
4
4
|
//#region src/api/account/account.d.ts
|
|
5
5
|
export declare const getDeleteAccountUrl: () => string;
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Erase this authenticated identity while retaining its historical rows.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* confirmation of any kind and accepted the call from a sub-profile (defect D8).
|
|
14
|
-
*
|
|
15
|
-
* **What survives, and why.** The row stays, with identity cleared and
|
|
16
|
-
* ``is_anonymous`` set. Consumption history, loans and billing records point at
|
|
17
|
-
* this user, and deleting the row would either cascade them away — destroying
|
|
18
|
-
* the library's statutory reporting — or orphan them. Clearing the identifying
|
|
19
|
-
* columns satisfies erasure of personal data while leaving the countable facts
|
|
20
|
-
* countable. The retained set is: which tenant, when they registered, and what
|
|
21
|
-
* they consumed, with no name, login, email, birth date or member number.
|
|
22
|
-
*
|
|
23
|
-
* Sub-profiles go with the holder: they are people on the same membership and
|
|
24
|
-
* cannot outlive it. Their rows are anonymised too, not deleted, for the same
|
|
25
|
-
* reason.
|
|
26
|
-
*
|
|
27
|
-
* **The broker is disabled first, and a failure aborts the whole thing.** The
|
|
28
|
-
* credential lives in Keycloak, so anonymising locally while leaving it enabled
|
|
29
|
-
* would let the same person sign in tomorrow and be provisioned a fresh account
|
|
30
|
-
* — erasure that erases nothing. Disabling before any local write means the
|
|
31
|
-
* failure mode is "nothing happened", which is recoverable, rather than "half
|
|
32
|
-
* happened", which is not.
|
|
33
|
-
*
|
|
34
|
-
* Still missing, and not safe to ship without: no audit record is written.
|
|
9
|
+
* Other independently authenticated household members are never erased by
|
|
10
|
+
* this operation. The holder must first remove active/pending memberships;
|
|
11
|
+
* an adult who is a child's final guardian must assign another guardian first.
|
|
12
|
+
* All household writes take the same beneficiary lock, including invitations.
|
|
35
13
|
* @summary Delete Account
|
|
36
14
|
*/
|
|
37
15
|
export declare const deleteAccount: (options?: Parameters<typeof request>[1]) => Promise<void>;
|
|
@@ -55,6 +33,29 @@ export declare const getUpdateAccountUrl: () => string;
|
|
|
55
33
|
* @summary Update Account
|
|
56
34
|
*/
|
|
57
35
|
export declare const updateAccount: (accountUpdateWrite: AccountUpdateWrite, options?: Parameters<typeof request>[1]) => Promise<AccountDetailRead>;
|
|
36
|
+
export declare const getReadCapabilitiesUrl: () => string;
|
|
37
|
+
/**
|
|
38
|
+
* Current profile's local book rights, partner seats and navigation paths.
|
|
39
|
+
*
|
|
40
|
+
* Does not allocate a licence or contact a provider. ``readingAllowed`` is a
|
|
41
|
+
* local permission snapshot; configuration and upstream health are separate.
|
|
42
|
+
* The reader always authorizes again when opening a title.
|
|
43
|
+
* @summary Read Capabilities
|
|
44
|
+
*/
|
|
45
|
+
export declare const readCapabilities: (options?: Parameters<typeof request>[1]) => Promise<FrontendCapabilitiesRead>;
|
|
46
|
+
export declare const getReadOnboardingUrl: () => string;
|
|
47
|
+
/**
|
|
48
|
+
* State for optional profile setup, with existing write-resource paths.
|
|
49
|
+
*
|
|
50
|
+
* The signed-in adult updates their own fields using PATCH /me. A guardian
|
|
51
|
+
* manages a child through /me/profiles. Category selections use
|
|
52
|
+
* PUT /biblio/me/preferences/categories in the effective profile context.
|
|
53
|
+
* Press-title choices use pressTitlesUrl and pressFavoritesUrl; they are the
|
|
54
|
+
* profile's press_title favourites, not additional catalogue categories.
|
|
55
|
+
* No terms acceptance or mandatory onboarding completion is invented here.
|
|
56
|
+
* @summary Read Onboarding
|
|
57
|
+
*/
|
|
58
|
+
export declare const readOnboarding: (options?: Parameters<typeof request>[1]) => Promise<OnboardingRead>;
|
|
58
59
|
export declare const getListServicesUrl: () => string;
|
|
59
60
|
/**
|
|
60
61
|
* Third-party services this account's establishment offers (E27).
|
package/dist/api/account.js
CHANGED
|
@@ -5,34 +5,12 @@ const getDeleteAccountUrl = () => {
|
|
|
5
5
|
return `/me`;
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Erase this authenticated identity while retaining its historical rows.
|
|
9
9
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* confirmation of any kind and accepted the call from a sub-profile (defect D8).
|
|
15
|
-
*
|
|
16
|
-
* **What survives, and why.** The row stays, with identity cleared and
|
|
17
|
-
* ``is_anonymous`` set. Consumption history, loans and billing records point at
|
|
18
|
-
* this user, and deleting the row would either cascade them away — destroying
|
|
19
|
-
* the library's statutory reporting — or orphan them. Clearing the identifying
|
|
20
|
-
* columns satisfies erasure of personal data while leaving the countable facts
|
|
21
|
-
* countable. The retained set is: which tenant, when they registered, and what
|
|
22
|
-
* they consumed, with no name, login, email, birth date or member number.
|
|
23
|
-
*
|
|
24
|
-
* Sub-profiles go with the holder: they are people on the same membership and
|
|
25
|
-
* cannot outlive it. Their rows are anonymised too, not deleted, for the same
|
|
26
|
-
* reason.
|
|
27
|
-
*
|
|
28
|
-
* **The broker is disabled first, and a failure aborts the whole thing.** The
|
|
29
|
-
* credential lives in Keycloak, so anonymising locally while leaving it enabled
|
|
30
|
-
* would let the same person sign in tomorrow and be provisioned a fresh account
|
|
31
|
-
* — erasure that erases nothing. Disabling before any local write means the
|
|
32
|
-
* failure mode is "nothing happened", which is recoverable, rather than "half
|
|
33
|
-
* happened", which is not.
|
|
34
|
-
*
|
|
35
|
-
* Still missing, and not safe to ship without: no audit record is written.
|
|
10
|
+
* Other independently authenticated household members are never erased by
|
|
11
|
+
* this operation. The holder must first remove active/pending memberships;
|
|
12
|
+
* an adult who is a child's final guardian must assign another guardian first.
|
|
13
|
+
* All household writes take the same beneficiary lock, including invitations.
|
|
36
14
|
* @summary Delete Account
|
|
37
15
|
*/
|
|
38
16
|
const deleteAccount = async (options) => {
|
|
@@ -88,6 +66,43 @@ const updateAccount = async (accountUpdateWrite, options) => {
|
|
|
88
66
|
body: JSON.stringify(accountUpdateWrite)
|
|
89
67
|
});
|
|
90
68
|
};
|
|
69
|
+
const getReadCapabilitiesUrl = () => {
|
|
70
|
+
return `/me/capabilities`;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Current profile's local book rights, partner seats and navigation paths.
|
|
74
|
+
*
|
|
75
|
+
* Does not allocate a licence or contact a provider. ``readingAllowed`` is a
|
|
76
|
+
* local permission snapshot; configuration and upstream health are separate.
|
|
77
|
+
* The reader always authorizes again when opening a title.
|
|
78
|
+
* @summary Read Capabilities
|
|
79
|
+
*/
|
|
80
|
+
const readCapabilities = async (options) => {
|
|
81
|
+
return request(getReadCapabilitiesUrl(), {
|
|
82
|
+
...options,
|
|
83
|
+
method: "GET"
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
const getReadOnboardingUrl = () => {
|
|
87
|
+
return `/me/onboarding`;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* State for optional profile setup, with existing write-resource paths.
|
|
91
|
+
*
|
|
92
|
+
* The signed-in adult updates their own fields using PATCH /me. A guardian
|
|
93
|
+
* manages a child through /me/profiles. Category selections use
|
|
94
|
+
* PUT /biblio/me/preferences/categories in the effective profile context.
|
|
95
|
+
* Press-title choices use pressTitlesUrl and pressFavoritesUrl; they are the
|
|
96
|
+
* profile's press_title favourites, not additional catalogue categories.
|
|
97
|
+
* No terms acceptance or mandatory onboarding completion is invented here.
|
|
98
|
+
* @summary Read Onboarding
|
|
99
|
+
*/
|
|
100
|
+
const readOnboarding = async (options) => {
|
|
101
|
+
return request(getReadOnboardingUrl(), {
|
|
102
|
+
...options,
|
|
103
|
+
method: "GET"
|
|
104
|
+
});
|
|
105
|
+
};
|
|
91
106
|
const getListServicesUrl = () => {
|
|
92
107
|
return `/me/services`;
|
|
93
108
|
};
|
|
@@ -112,6 +127,6 @@ const listServices = async (options) => {
|
|
|
112
127
|
});
|
|
113
128
|
};
|
|
114
129
|
//#endregion
|
|
115
|
-
export { deleteAccount, getDeleteAccountUrl, getListServicesUrl, getReadAccountUrl, getUpdateAccountUrl, listServices, readAccount, updateAccount };
|
|
130
|
+
export { deleteAccount, getDeleteAccountUrl, getListServicesUrl, getReadAccountUrl, getReadCapabilitiesUrl, getReadOnboardingUrl, getUpdateAccountUrl, listServices, readAccount, readCapabilities, readOnboarding, updateAccount };
|
|
116
131
|
|
|
117
132
|
//# sourceMappingURL=account.js.map
|
package/dist/api/account.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.js","names":[],"sources":["../../src/api/account/account.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.
|
|
1
|
+
{"version":3,"file":"account.js","names":[],"sources":["../../src/api/account/account.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.9.1\n */\nimport type {\n AccountDetailRead,\n AccountUpdateWrite,\n FrontendCapabilitiesRead,\n OnboardingRead,\n ServiceListRead\n} from '../../models';\n\nimport { request } from '../../client';\n\nexport const getDeleteAccountUrl = () => {\n\n\n\n\n return `/me`\n}\n\n/**\n * Erase this authenticated identity while retaining its historical rows.\n *\n * Other independently authenticated household members are never erased by\n * this operation. The holder must first remove active/pending memberships;\n * an adult who is a child's final guardian must assign another guardian first.\n * All household writes take the same beneficiary lock, including invitations.\n * @summary Delete Account\n */\nexport const deleteAccount = async ( options?: Parameters<typeof request>[1]): Promise<void> => {\n\n return request<void>(getDeleteAccountUrl(),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\nexport const getReadAccountUrl = () => {\n\n\n\n\n return `/me`\n}\n\n/**\n * The authenticated account (E15).\n *\n * No query, no join: ``CurrentUserDep`` has already resolved the row behind the\n * token. The endpoint the legacy should have had here has been returning ``500``\n * on every request for as long as anyone has looked (defect D1).\n * @summary Read Account\n */\nexport const readAccount = async ( options?: Parameters<typeof request>[1]): Promise<AccountDetailRead> => {\n\n return request<AccountDetailRead>(getReadAccountUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getUpdateAccountUrl = () => {\n\n\n\n\n return `/me`\n}\n\n/**\n * Partially update the account (E16).\n *\n * ``exclude_unset`` is what separates PATCH from PUT here: a field the client\n * omitted is left alone, which is not the same as a field it sent as null. The\n * response is built from the persisted row rather than the submitted body.\n * @summary Update Account\n */\nexport const updateAccount = async (accountUpdateWrite: AccountUpdateWrite, options?: Parameters<typeof request>[1]): Promise<AccountDetailRead> => {\n\n const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {\n if (!h) return {};\n if (h instanceof Headers) return Object.fromEntries(h.entries());\n if (Symbol.iterator in h) {\n return Object.fromEntries(\n Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),\n );\n }\n const headers: Record<string, string | readonly string[]> = {};\n for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {\n if (value !== undefined) headers[name] = value;\n }\n return headers;\n };\nreturn request<AccountDetailRead>(getUpdateAccountUrl(),\n {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },\n body: JSON.stringify(accountUpdateWrite)\n }\n);}\n\n\nexport const getReadCapabilitiesUrl = () => {\n\n\n\n\n return `/me/capabilities`\n}\n\n/**\n * Current profile's local book rights, partner seats and navigation paths.\n *\n * Does not allocate a licence or contact a provider. ``readingAllowed`` is a\n * local permission snapshot; configuration and upstream health are separate.\n * The reader always authorizes again when opening a title.\n * @summary Read Capabilities\n */\nexport const readCapabilities = async ( options?: Parameters<typeof request>[1]): Promise<FrontendCapabilitiesRead> => {\n\n return request<FrontendCapabilitiesRead>(getReadCapabilitiesUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getReadOnboardingUrl = () => {\n\n\n\n\n return `/me/onboarding`\n}\n\n/**\n * State for optional profile setup, with existing write-resource paths.\n *\n * The signed-in adult updates their own fields using PATCH /me. A guardian\n * manages a child through /me/profiles. Category selections use\n * PUT /biblio/me/preferences/categories in the effective profile context.\n * Press-title choices use pressTitlesUrl and pressFavoritesUrl; they are the\n * profile's press_title favourites, not additional catalogue categories.\n * No terms acceptance or mandatory onboarding completion is invented here.\n * @summary Read Onboarding\n */\nexport const readOnboarding = async ( options?: Parameters<typeof request>[1]): Promise<OnboardingRead> => {\n\n return request<OnboardingRead>(getReadOnboardingUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getListServicesUrl = () => {\n\n\n\n\n return `/me/services`\n}\n\n/**\n * Third-party services this account's establishment offers (E27).\n *\n * Under ``/me`` rather than ``/biblio/me`` because it is not a catalogue: these\n * are the establishment's own service tiles, and they belong to the tenant\n * whichever catalogue that tenant reads from. It is also the one place the\n * biblio spec describes something the *CVS* schema models, which is why it sat\n * in the wrong module until the prefixes made the mismatch visible.\n *\n * Date-windowed. A service outside its window is absent rather than disabled:\n * the client should not have to know the difference, and a visible dead link is\n * worse than no link.\n * @summary List Services\n */\nexport const listServices = async ( options?: Parameters<typeof request>[1]): Promise<ServiceListRead> => {\n\n return request<ServiceListRead>(getListServicesUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\n"],"mappings":";;;AAiBA,MAAa,4BAA4B;CAKvC,OAAO;AACT;;;;;;;;;;AAWA,MAAa,gBAAgB,OAAQ,YAA2D;CAE9F,OAAO,QAAc,oBAAoB,GACzC;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,0BAA0B;CAKrC,OAAO;AACT;;;;;;;;;AAUA,MAAa,cAAc,OAAQ,YAAwE;CAEzG,OAAO,QAA2B,kBAAkB,GACpD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,4BAA4B;CAKvC,OAAO;AACT;;;;;;;;;AAUA,MAAa,gBAAgB,OAAO,oBAAwC,YAAwE;CAEhJ,MAAM,cAAc,MAAwF;EAC5G,IAAI,CAAC,GAAG,OAAO,CAAC;EAChB,IAAI,aAAa,SAAS,OAAO,OAAO,YAAY,EAAE,QAAQ,CAAC;EAC/D,IAAI,OAAO,YAAY,GACrB,OAAO,OAAO,YACZ,MAAM,KAAK,IAAkC,UAAU,MAAM,KAAK,KAAK,CAAqB,CAC9F;EAEF,MAAM,UAAsD,CAAC;EAC7D,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAgD,CAAC,GAClF,IAAI,UAAU,KAAA,GAAW,QAAQ,QAAQ;EAE3C,OAAO;CACT;CACF,OAAO,QAA2B,oBAAoB,GACpD;EACE,GAAG;EACH,QAAQ;EACR,SAAS;GAAE,gBAAgB;GAAoB,GAAG,WAAW,SAAS,OAAO;EAAE;EAC/E,MAAM,KAAK,UAAU,kBAAkB;CACzC,CACF;AAAE;AAGF,MAAa,+BAA+B;CAK1C,OAAO;AACT;;;;;;;;;AAUA,MAAa,mBAAmB,OAAQ,YAA+E;CAErH,OAAO,QAAkC,uBAAuB,GAChE;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,6BAA6B;CAKxC,OAAO;AACT;;;;;;;;;;;;AAaA,MAAa,iBAAiB,OAAQ,YAAqE;CAEzG,OAAO,QAAwB,qBAAqB,GACpD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,2BAA2B;CAKtC,OAAO;AACT;;;;;;;;;;;;;;;AAgBA,MAAa,eAAe,OAAQ,YAAsE;CAExG,OAAO,QAAyB,mBAAmB,GACnD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { A as ThemeListRead, O as ThemeWrite, Qn as ListThemesParams, j as ThemeRead, k as ThemeOrderWrite } from "../chunks/index.js";
|
|
3
3
|
import { c as request } from "../chunks/client.js";
|
|
4
4
|
//#region src/api/admin-catalogue/admin-catalogue.d.ts
|
|
5
5
|
export declare const getListThemesUrl: (params?: ListThemesParams) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-catalogue.js","names":[],"sources":["../../src/api/admin-catalogue/admin-catalogue.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.
|
|
1
|
+
{"version":3,"file":"admin-catalogue.js","names":[],"sources":["../../src/api/admin-catalogue/admin-catalogue.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.9.1\n */\nimport type {\n ListThemesParams,\n ThemeListRead,\n ThemeOrderWrite,\n ThemeRead,\n ThemeWrite\n} from '../../models';\n\nimport { request } from '../../client';\n\nexport const getListThemesUrl = (params?: ListThemesParams,) => {\n const normalizedParams = new URLSearchParams();\n\n Object.entries(params || {}).forEach(([key, value]) => {\n\n if (value !== undefined) {\n normalizedParams.append(key, value === null ? 'null' : String(value))\n }\n });\n\n const stringifiedParams = normalizedParams.toString();\n\n return stringifiedParams.length > 0 ? `/admin/themes?${stringifiedParams}` : `/admin/themes`\n}\n\n/**\n * Every theme, or one pillar's, in display order.\n *\n * Not paginated. There are 27 of them, and a client that has to page through\n * a list it is about to reorder cannot reorder it.\n * @summary List Themes\n */\nexport const listThemes = async (params?: ListThemesParams, options?: Parameters<typeof request>[1]): Promise<ThemeListRead> => {\n\n return request<ThemeListRead>(getListThemesUrl(params),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getCreateThemeUrl = () => {\n\n\n\n\n return `/admin/themes`\n}\n\n/**\n * Add a theme.\n *\n * ``409`` on a duplicate ``(pillar, title)``: that pair is unique in the\n * schema, and two themes with the same name in the same pillar are\n * indistinguishable to everyone downstream.\n *\n * With no ``sortOrder`` it goes last, which is what the legacy's form does by\n * defaulting the field to the current maximum plus one.\n * @summary Create Theme\n */\nexport const createTheme = async (themeWrite: ThemeWrite, options?: Parameters<typeof request>[1]): Promise<ThemeRead> => {\n\n const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {\n if (!h) return {};\n if (h instanceof Headers) return Object.fromEntries(h.entries());\n if (Symbol.iterator in h) {\n return Object.fromEntries(\n Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),\n );\n }\n const headers: Record<string, string | readonly string[]> = {};\n for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {\n if (value !== undefined) headers[name] = value;\n }\n return headers;\n };\nreturn request<ThemeRead>(getCreateThemeUrl(),\n {\n ...options,\n method: 'POST',\n headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },\n body: JSON.stringify(themeWrite)\n }\n);}\n\n\nexport const getReorderThemesUrl = () => {\n\n\n\n\n return `/admin/themes/order`\n}\n\n/**\n * Set the display order for a set of themes, in one transaction.\n *\n * The legacy renumbers one theme per request, so dragging an item in a list of\n * thirty was thirty requests — and closing the tab halfway left the order\n * half-applied, with two themes claiming the same position and the listing\n * silently choosing between them.\n *\n * Ids not named keep their relative order after the ones that are, so a client\n * may send only what moved. An unknown id is ``404`` and nothing is written:\n * a partially applied reorder is the failure this endpoint exists to prevent.\n * @summary Reorder Themes\n */\nexport const reorderThemes = async (themeOrderWrite: ThemeOrderWrite, options?: Parameters<typeof request>[1]): Promise<void> => {\n\n const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {\n if (!h) return {};\n if (h instanceof Headers) return Object.fromEntries(h.entries());\n if (Symbol.iterator in h) {\n return Object.fromEntries(\n Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),\n );\n }\n const headers: Record<string, string | readonly string[]> = {};\n for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {\n if (value !== undefined) headers[name] = value;\n }\n return headers;\n };\nreturn request<void>(getReorderThemesUrl(),\n {\n ...options,\n method: 'PUT',\n headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },\n body: JSON.stringify(themeOrderWrite)\n }\n);}\n\n\nexport const getDeleteThemeUrl = (themeId: number,) => {\n\n\n\n\n return `/admin/themes/${themeId}`\n}\n\n/**\n * Remove a theme.\n *\n * ``409`` when works still carry it. The legacy deletes and leaves the\n * references dangling, which is how a catalogue ends up with items filed under\n * a theme that no longer exists and no screen that can find them.\n *\n * Idempotent otherwise: deleting something already gone is ``204``, because\n * the caller wanted it gone and it is gone.\n * @summary Delete Theme\n */\nexport const deleteTheme = async (themeId: number, options?: Parameters<typeof request>[1]): Promise<void> => {\n\n return request<void>(getDeleteThemeUrl(themeId),\n {\n ...options,\n method: 'DELETE'\n\n\n }\n);}\n\n\nexport const getReadThemeUrl = (themeId: number,) => {\n\n\n\n\n return `/admin/themes/${themeId}`\n}\n\n/**\n * One theme.\n * @summary Read Theme\n */\nexport const readTheme = async (themeId: number, options?: Parameters<typeof request>[1]): Promise<ThemeRead> => {\n\n return request<ThemeRead>(getReadThemeUrl(themeId),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getAmendThemeUrl = (themeId: number,) => {\n\n\n\n\n return `/admin/themes/${themeId}`\n}\n\n/**\n * Amend a theme. Same uniqueness rule as creating one.\n * @summary Amend Theme\n */\nexport const amendTheme = async (themeId: number,\n themeWrite: ThemeWrite, options?: Parameters<typeof request>[1]): Promise<ThemeRead> => {\n\n const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {\n if (!h) return {};\n if (h instanceof Headers) return Object.fromEntries(h.entries());\n if (Symbol.iterator in h) {\n return Object.fromEntries(\n Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),\n );\n }\n const headers: Record<string, string | readonly string[]> = {};\n for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {\n if (value !== undefined) headers[name] = value;\n }\n return headers;\n };\nreturn request<ThemeRead>(getAmendThemeUrl(themeId),\n {\n ...options,\n method: 'PATCH',\n headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },\n body: JSON.stringify(themeWrite)\n }\n);}\n\n\n"],"mappings":";;;AAiBA,MAAa,oBAAoB,WAA+B;CAC9D,MAAM,mBAAmB,IAAI,gBAAgB;CAE7C,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAAK,WAAW;EAErD,IAAI,UAAU,KAAA,GACZ,iBAAiB,OAAO,KAAK,UAAU,OAAO,SAAS,OAAO,KAAK,CAAC;CAExE,CAAC;CAED,MAAM,oBAAoB,iBAAiB,SAAS;CAEpD,OAAO,kBAAkB,SAAS,IAAI,iBAAiB,sBAAsB;AAC/E;;;;;;;;AASA,MAAa,aAAa,OAAO,QAA2B,YAAoE;CAE9H,OAAO,QAAuB,iBAAiB,MAAM,GACrD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,0BAA0B;CAKrC,OAAO;AACT;;;;;;;;;;;;AAaA,MAAa,cAAc,OAAO,YAAwB,YAAgE;CAEtH,MAAM,cAAc,MAAwF;EAC5G,IAAI,CAAC,GAAG,OAAO,CAAC;EAChB,IAAI,aAAa,SAAS,OAAO,OAAO,YAAY,EAAE,QAAQ,CAAC;EAC/D,IAAI,OAAO,YAAY,GACrB,OAAO,OAAO,YACZ,MAAM,KAAK,IAAkC,UAAU,MAAM,KAAK,KAAK,CAAqB,CAC9F;EAEF,MAAM,UAAsD,CAAC;EAC7D,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAgD,CAAC,GAClF,IAAI,UAAU,KAAA,GAAW,QAAQ,QAAQ;EAE3C,OAAO;CACT;CACF,OAAO,QAAmB,kBAAkB,GAC1C;EACE,GAAG;EACH,QAAQ;EACR,SAAS;GAAE,gBAAgB;GAAoB,GAAG,WAAW,SAAS,OAAO;EAAE;EAC/E,MAAM,KAAK,UAAU,UAAU;CACjC,CACF;AAAE;AAGF,MAAa,4BAA4B;CAKvC,OAAO;AACT;;;;;;;;;;;;;;AAeA,MAAa,gBAAgB,OAAO,iBAAkC,YAA2D;CAE7H,MAAM,cAAc,MAAwF;EAC5G,IAAI,CAAC,GAAG,OAAO,CAAC;EAChB,IAAI,aAAa,SAAS,OAAO,OAAO,YAAY,EAAE,QAAQ,CAAC;EAC/D,IAAI,OAAO,YAAY,GACrB,OAAO,OAAO,YACZ,MAAM,KAAK,IAAkC,UAAU,MAAM,KAAK,KAAK,CAAqB,CAC9F;EAEF,MAAM,UAAsD,CAAC;EAC7D,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAgD,CAAC,GAClF,IAAI,UAAU,KAAA,GAAW,QAAQ,QAAQ;EAE3C,OAAO;CACT;CACF,OAAO,QAAc,oBAAoB,GACvC;EACE,GAAG;EACH,QAAQ;EACR,SAAS;GAAE,gBAAgB;GAAoB,GAAG,WAAW,SAAS,OAAO;EAAE;EAC/E,MAAM,KAAK,UAAU,eAAe;CACtC,CACF;AAAE;AAGF,MAAa,qBAAqB,YAAqB;CAKrD,OAAO,iBAAiB;AAC1B;;;;;;;;;;;;AAaA,MAAa,cAAc,OAAO,SAAiB,YAA2D;CAE5G,OAAO,QAAc,kBAAkB,OAAO,GAC9C;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,mBAAmB,YAAqB;CAKnD,OAAO,iBAAiB;AAC1B;;;;;AAMA,MAAa,YAAY,OAAO,SAAiB,YAAgE;CAE/G,OAAO,QAAmB,gBAAgB,OAAO,GACjD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,oBAAoB,YAAqB;CAKpD,OAAO,iBAAiB;AAC1B;;;;;AAMA,MAAa,aAAa,OAAO,SAC7B,YAAwB,YAAgE;CAExF,MAAM,cAAc,MAAwF;EAC5G,IAAI,CAAC,GAAG,OAAO,CAAC;EAChB,IAAI,aAAa,SAAS,OAAO,OAAO,YAAY,EAAE,QAAQ,CAAC;EAC/D,IAAI,OAAO,YAAY,GACrB,OAAO,OAAO,YACZ,MAAM,KAAK,IAAkC,UAAU,MAAM,KAAK,KAAK,CAAqB,CAC9F;EAEF,MAAM,UAAsD,CAAC;EAC7D,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAgD,CAAC,GAClF,IAAI,UAAU,KAAA,GAAW,QAAQ,QAAQ;EAE3C,OAAO;CACT;CACF,OAAO,QAAmB,iBAAiB,OAAO,GAChD;EACE,GAAG;EACH,QAAQ;EACR,SAAS;GAAE,gBAAgB;GAAoB,GAAG,WAAW,SAAS,OAAO;EAAE;EAC/E,MAAM,KAAK,UAAU,UAAU;CACjC,CACF;AAAE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import {
|
|
2
|
+
import { Dr as LeaseCloseWrite, Xn as LiveLeaseListRead } from "../chunks/index.js";
|
|
3
3
|
import { c as request } from "../chunks/client.js";
|
|
4
4
|
//#region src/api/admin-consumption/admin-consumption.d.ts
|
|
5
5
|
export declare const getListLiveLeasesUrl: () => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"admin-consumption.js","names":[],"sources":["../../src/api/admin-consumption/admin-consumption.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.
|
|
1
|
+
{"version":3,"file":"admin-consumption.js","names":[],"sources":["../../src/api/admin-consumption/admin-consumption.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * 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.\n * OpenAPI spec version: 0.9.1\n */\nimport type {\n LeaseCloseWrite,\n LiveLeaseListRead\n} from '../../models';\n\nimport { request } from '../../client';\n\nexport const getListLiveLeasesUrl = () => {\n\n\n\n\n return `/admin/consumption/live`\n}\n\n/**\n * What is open right now, within the caller's tenant scope.\n *\n * Read from the ledger rather than the Redis live set: this is a diagnostic and\n * must show the truth even when the cache is cold, and it runs once when\n * somebody opens a screen rather than on every read.\n *\n * Shares :func:`~app.services.entitlement.is_live` with the two seat counts.\n * An earlier version of this route filtered on ``returned_at`` alone and so\n * listed every lapsed-but-unreaped lease as live — which made the screen look\n * exactly like a stuck reaper even when the reaper was fine.\n * @summary List Live Leases\n */\nexport const listLiveLeases = async ( options?: Parameters<typeof request>[1]): Promise<LiveLeaseListRead> => {\n\n return request<LiveLeaseListRead>(getListLiveLeasesUrl(),\n {\n ...options,\n method: 'GET'\n\n\n }\n);}\n\n\nexport const getForceCloseLeaseUrl = (eventId: number,) => {\n\n\n\n\n return `/admin/consumption/${eventId}`\n}\n\n/**\n * Force-close somebody else's lease. The legacy's ``FermeSessionAdherent``.\n *\n * Audited, which the legacy's was not: a button that ends a stranger's reading\n * session and leaves no trace is indistinguishable from abuse of the same\n * button. Tenant-scoped like every staff action, so a lease outside the\n * caller's scope is ``404`` rather than ``403``.\n * @summary Force Close Lease\n */\nexport const forceCloseLease = async (eventId: number,\n leaseCloseWrite: LeaseCloseWrite, options?: Parameters<typeof request>[1]): Promise<void> => {\n\n const getHeaders = (h?: NonNullable<RequestInit['headers']>): Record<string, string | readonly string[]> => {\n if (!h) return {};\n if (h instanceof Headers) return Object.fromEntries(h.entries());\n if (Symbol.iterator in h) {\n return Object.fromEntries(\n Array.from(h as Iterable<Iterable<string>>, (entry) => Array.from(entry) as [string, string]),\n );\n }\n const headers: Record<string, string | readonly string[]> = {};\n for (const [name, value] of Object.entries<string | readonly string[] | undefined>(h)) {\n if (value !== undefined) headers[name] = value;\n }\n return headers;\n };\nreturn request<void>(getForceCloseLeaseUrl(eventId),\n {\n ...options,\n method: 'DELETE',\n headers: { 'Content-Type': 'application/json', ...getHeaders(options?.headers) },\n body: JSON.stringify(leaseCloseWrite)\n }\n);}\n\n\n"],"mappings":";;;AAcA,MAAa,6BAA6B;CAKxC,OAAO;AACT;;;;;;;;;;;;;;AAeA,MAAa,iBAAiB,OAAQ,YAAwE;CAE5G,OAAO,QAA2B,qBAAqB,GACvD;EACE,GAAG;EACH,QAAQ;CAGV,CACF;AAAE;AAGF,MAAa,yBAAyB,YAAqB;CAKzD,OAAO,sBAAsB;AAC/B;;;;;;;;;;AAWA,MAAa,kBAAkB,OAAO,SAClC,iBAAkC,YAA2D;CAE7F,MAAM,cAAc,MAAwF;EAC5G,IAAI,CAAC,GAAG,OAAO,CAAC;EAChB,IAAI,aAAa,SAAS,OAAO,OAAO,YAAY,EAAE,QAAQ,CAAC;EAC/D,IAAI,OAAO,YAAY,GACrB,OAAO,OAAO,YACZ,MAAM,KAAK,IAAkC,UAAU,MAAM,KAAK,KAAK,CAAqB,CAC9F;EAEF,MAAM,UAAsD,CAAC;EAC7D,KAAK,MAAM,CAAC,MAAM,UAAU,OAAO,QAAgD,CAAC,GAClF,IAAI,UAAU,KAAA,GAAW,QAAQ,QAAQ;EAE3C,OAAO;CACT;CACF,OAAO,QAAc,sBAAsB,OAAO,GAChD;EACE,GAAG;EACH,QAAQ;EACR,SAAS;GAAE,gBAAgB;GAAoB,GAAG,WAAW,SAAS,OAAO;EAAE;EAC/E,MAAM,KAAK,UAAU,eAAe;CACtC,CACF;AAAE"}
|
package/dist/api/admin-desk.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
import { $a as
|
|
2
|
+
import { $a as DeskPartnerHomeFeedParams, $i as DeskTutoringPerformanceRead, $o as DeskGetPatronServicesParams, Aa as DeskPaymentsSummaryParams, Ao as DeskListEntitlementGrantsParams, As as DeskContractPage, Ba as DeskPartnerLicensePage, Ca as DeskRatingPage, Co as DeskListPaymentsParams, D as TopContentParams, Da as DeskPractitionerPage, Do as DeskListLoansParams, Ds as DeskCountRead, Ea as DeskProgressRead, Eo as DeskListPatronProfilesParams, Fa as DeskPatronOverviewRead, Fc as CatalogueDetailsParams, Fo as DeskListCatalogueCollectionsParams, Fs as DeskConsumptionSummaryRead, Gs as DeskCataloguePage, Ha as DeskPartnerImportStatusRead, Ho as DeskIlsRead, Hs as DeskCollectionRead, Ia as DeskPatronDetailRead, Io as DeskListAuditEventsParams, Is as DeskConsumptionSummaryParams, Jo as DeskGetTenantIntegrationsParams, Ko as DeskGetUsageLimitsParams, Ks as DeskCatalogueDetailsRead, La as DeskPatronActivityPage, Lo as DeskLicenseSummaryRead, Ma as DeskPaymentRead, Mo as DeskListContractsParams, Ms as DeskContractRead, Nc as CatalogueInventoryParams, No as DeskListContentRatingsParams, Ns as DeskContextRead, Oa as DeskPractitionerRead, Oo as DeskListLiveLeasesParams, Os as DeskCountPatronsParams, Pa as DeskPatronPage, Po as DeskListConsumptionEventsParams, Ps as DeskContentRatingsSummaryParams, Qi as DeskTutoringRequestsSummaryParams, Qo as DeskGetPaymentParams, Qs as DeskAttentionPage, R as TenantOverviewParams, Rs as DeskConsumptionPage, Sa as DeskRatingSummaryRead, So as DeskListPractitionerDocumentsParams, Ss as DeskDashboardRead, To as DeskListPatronsParams, Ts as DeskDashboardOverviewParams, Ua as DeskPartnerImportStatusParams, Uo as DeskHierarchyRead, Us as DeskCatalogueSummaryRead, Va as DeskPartnerLicenseRead, Vo as DeskIntegrationRead, Vs as DeskCollectionPage, Xo as DeskGetReadingProgressParams, Xs as DeskAuditPage, Ya as DeskPartnerHomeRead, Yi as DeskWorkloadRead, Yo as DeskGetReviewParams, Zi as DeskTutoringTimelineRead, Zo as DeskGetPractitionerParams, Zs as DeskAuditRead, Zt as PractitionerWorkloadParams, _a as DeskReviewsSummaryParams, _c as ContractUsageParams, _o as DeskListTenantsParams, ac as DeskAccessRead, as as DeskGetCatalogueItemParams, ba as DeskReferenceDataRead, bn as PartnerLicenseParams, bo as DeskListReviewsParams, bs as DeskDataCoverageRead, ca as DeskTenantRead, cs as DeskFindPractitionersParams, da as DeskServicePage, do as DeskLoansSummaryParams, ds as DeskExplainAccessParams, ea as DeskTutoringPage, eo as DeskPartnerFacetsRead, es as DeskGetPatronActivityParams, fo as DeskListTutoringRequestsParams, fs as DeskExclusionPage, g as TutoringPerformanceParams, ga as DeskSearchBackofficeParams, gn as PatronAccessMatrixParams, go as DeskListTutoringFeedbackParams, ha as DeskSearchCatalogueParams, hs as DeskEntitlementPage, ia as DeskTimeseriesRead, is as DeskGetConsumptionEventParams, ja as DeskPaymentPage, jo as DeskListEntitlementExclusionsParams, js as DeskContractCoverageRead, ka as DeskPaymentSummaryRead, ko as DeskListExpiringDocumentsParams, ks as DeskContractUsageRead, la as DeskTenantOverviewRead, lo as DeskManifestRead, ls as DeskFeedbackPage, mn as PatronOverviewParams, na as DeskTopContentRead, ns as DeskGetIlsStatusParams, o as TutoringTimelineParams, oa as DeskTenantStatsRead, oo as DeskMetricTimeseriesParams, os as DeskGetCatalogueCollectionParams, pa as DeskSearchPage, pc as DataCoverageParams, qo as DeskGetTutoringAnswerParams, qs as DeskCatalogueRead, rc as DeskAnswerRead, ro as DeskPartnerCatalogueFacetsParams, rs as DeskGetContractParams, sa as DeskTenantPage, sc as DeskAccessMatrixRead, ss as DeskGetAuditEventParams, ta as DeskTutoringRead, tc as DeskAttentionItemsParams, ts as DeskGetLoanParams, ua as DeskSummaryRead, va as DeskReviewPage, vc as ContractCoverageParams, vs as DeskDocumentPage, ya as DeskReviewRead, yn as PartnerLicensesParams, z as TenantHierarchyParams, za as DeskPartnerLicenseSummaryParams, zo as DeskInventoryPage, zs as DeskConsumptionRead } from "../chunks/index.js";
|
|
3
3
|
import { c as request } from "../chunks/client.js";
|
|
4
4
|
//#region src/api/admin-desk/admin-desk.d.ts
|
|
5
5
|
export declare const getDeskExplainAccessUrl: (params: DeskExplainAccessParams) => string;
|
|
@@ -152,6 +152,28 @@ export declare const getDeskMetricTimeseriesUrl: (params: DeskMetricTimeseriesPa
|
|
|
152
152
|
* @summary Desk Metric Timeseries
|
|
153
153
|
*/
|
|
154
154
|
export declare const deskMetricTimeseries: (params: DeskMetricTimeseriesParams, options?: Parameters<typeof request>[1]) => Promise<DeskTimeseriesRead>;
|
|
155
|
+
export declare const getDeskPartnerCatalogueFacetsUrl: (params: DeskPartnerCatalogueFacetsParams) => string;
|
|
156
|
+
/**
|
|
157
|
+
* Actual visible language/shelf choices for one scoped patron, without a seat.
|
|
158
|
+
* @summary Desk Partner Catalogue Facets
|
|
159
|
+
*/
|
|
160
|
+
export declare const deskPartnerCatalogueFacets: (params: DeskPartnerCatalogueFacetsParams, options?: Parameters<typeof request>[1]) => Promise<DeskPartnerFacetsRead>;
|
|
161
|
+
export declare const getDeskPartnerHomeFeedUrl: (params: DeskPartnerHomeFeedParams) => string;
|
|
162
|
+
/**
|
|
163
|
+
* Bounded local shelves, favourites and saved progress; never opens a reader.
|
|
164
|
+
* @summary Desk Partner Home Feed
|
|
165
|
+
*/
|
|
166
|
+
export declare const deskPartnerHomeFeed: (params: DeskPartnerHomeFeedParams, options?: Parameters<typeof request>[1]) => Promise<DeskPartnerHomeRead>;
|
|
167
|
+
export declare const getDeskPartnerImportStatusUrl: (params?: DeskPartnerImportStatusParams) => string;
|
|
168
|
+
/**
|
|
169
|
+
* Global operational receipts, restricted to vendor administrators.
|
|
170
|
+
*
|
|
171
|
+
* Exposes recorded timestamps, not a guessed staleness verdict. A published
|
|
172
|
+
* catalogue whose index failed remains distinct from a completed success.
|
|
173
|
+
* Disabled providers can still have historical receipts. No import is started.
|
|
174
|
+
* @summary Desk Partner Import Status
|
|
175
|
+
*/
|
|
176
|
+
export declare const deskPartnerImportStatus: (params?: DeskPartnerImportStatusParams, options?: Parameters<typeof request>[1]) => Promise<DeskPartnerImportStatusRead>;
|
|
155
177
|
export declare const getPartnerLicenseUrl: (params: PartnerLicenseParams) => string;
|
|
156
178
|
/**
|
|
157
179
|
* @summary Partner License
|
package/dist/api/admin-desk.js
CHANGED
|
@@ -501,6 +501,64 @@ const deskMetricTimeseries = async (params, options) => {
|
|
|
501
501
|
method: "GET"
|
|
502
502
|
});
|
|
503
503
|
};
|
|
504
|
+
const getDeskPartnerCatalogueFacetsUrl = (params) => {
|
|
505
|
+
const normalizedParams = new URLSearchParams();
|
|
506
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
507
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
508
|
+
});
|
|
509
|
+
const stringifiedParams = normalizedParams.toString();
|
|
510
|
+
return stringifiedParams.length > 0 ? `/admin/desk/v2/partner-catalogue-facets?${stringifiedParams}` : `/admin/desk/v2/partner-catalogue-facets`;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Actual visible language/shelf choices for one scoped patron, without a seat.
|
|
514
|
+
* @summary Desk Partner Catalogue Facets
|
|
515
|
+
*/
|
|
516
|
+
const deskPartnerCatalogueFacets = async (params, options) => {
|
|
517
|
+
return request(getDeskPartnerCatalogueFacetsUrl(params), {
|
|
518
|
+
...options,
|
|
519
|
+
method: "GET"
|
|
520
|
+
});
|
|
521
|
+
};
|
|
522
|
+
const getDeskPartnerHomeFeedUrl = (params) => {
|
|
523
|
+
const normalizedParams = new URLSearchParams();
|
|
524
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
525
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
526
|
+
});
|
|
527
|
+
const stringifiedParams = normalizedParams.toString();
|
|
528
|
+
return stringifiedParams.length > 0 ? `/admin/desk/v2/partner-home-feed?${stringifiedParams}` : `/admin/desk/v2/partner-home-feed`;
|
|
529
|
+
};
|
|
530
|
+
/**
|
|
531
|
+
* Bounded local shelves, favourites and saved progress; never opens a reader.
|
|
532
|
+
* @summary Desk Partner Home Feed
|
|
533
|
+
*/
|
|
534
|
+
const deskPartnerHomeFeed = async (params, options) => {
|
|
535
|
+
return request(getDeskPartnerHomeFeedUrl(params), {
|
|
536
|
+
...options,
|
|
537
|
+
method: "GET"
|
|
538
|
+
});
|
|
539
|
+
};
|
|
540
|
+
const getDeskPartnerImportStatusUrl = (params) => {
|
|
541
|
+
const normalizedParams = new URLSearchParams();
|
|
542
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
543
|
+
if (value !== void 0) normalizedParams.append(key, value === null ? "null" : String(value));
|
|
544
|
+
});
|
|
545
|
+
const stringifiedParams = normalizedParams.toString();
|
|
546
|
+
return stringifiedParams.length > 0 ? `/admin/desk/v2/partner-import-status?${stringifiedParams}` : `/admin/desk/v2/partner-import-status`;
|
|
547
|
+
};
|
|
548
|
+
/**
|
|
549
|
+
* Global operational receipts, restricted to vendor administrators.
|
|
550
|
+
*
|
|
551
|
+
* Exposes recorded timestamps, not a guessed staleness verdict. A published
|
|
552
|
+
* catalogue whose index failed remains distinct from a completed success.
|
|
553
|
+
* Disabled providers can still have historical receipts. No import is started.
|
|
554
|
+
* @summary Desk Partner Import Status
|
|
555
|
+
*/
|
|
556
|
+
const deskPartnerImportStatus = async (params, options) => {
|
|
557
|
+
return request(getDeskPartnerImportStatusUrl(params), {
|
|
558
|
+
...options,
|
|
559
|
+
method: "GET"
|
|
560
|
+
});
|
|
561
|
+
};
|
|
504
562
|
const getPartnerLicenseUrl = (params) => {
|
|
505
563
|
const normalizedParams = new URLSearchParams();
|
|
506
564
|
Object.entries(params || {}).forEach(([key, value]) => {
|
|
@@ -1187,6 +1245,6 @@ const deskGetUsageLimits = async (params, options) => {
|
|
|
1187
1245
|
});
|
|
1188
1246
|
};
|
|
1189
1247
|
//#endregion
|
|
1190
|
-
export { catalogueDetails, catalogueInventory, catalogueSummary, contractCoverage, contractUsage, dataCoverage, 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, deskPartnerLicenseSummary, deskPaymentsSummary, deskReferenceData, deskReviewsSummary, deskSearchBackoffice, deskSearchCatalogue, deskTenantStats, deskTutoringRequestsSummary, getCatalogueDetailsUrl, getCatalogueInventoryUrl, getCatalogueSummaryUrl, getContractCoverageUrl, getContractUsageUrl, getDataCoverageUrl, getDeskAttentionItemsUrl, getDeskBackofficeContextUrl, getDeskConsumptionSummaryUrl, getDeskContentRatingsSummaryUrl, getDeskCountPatronsUrl, getDeskDashboardOverviewUrl, getDeskExplainAccessUrl, getDeskFindPractitionersUrl, getDeskGetAuditEventUrl, getDeskGetCatalogueCollectionUrl, getDeskGetCatalogueItemUrl, getDeskGetConsumptionEventUrl, getDeskGetContractUrl, getDeskGetIlsStatusUrl, getDeskGetLoanUrl, getDeskGetPatronActivityUrl, getDeskGetPatronServicesUrl, getDeskGetPatronUrl, getDeskGetPaymentUrl, getDeskGetPractitionerUrl, getDeskGetReadingProgressUrl, getDeskGetReviewUrl, getDeskGetTenantIntegrationsUrl, getDeskGetTenantUrl, getDeskGetTutoringAnswerUrl, getDeskGetTutoringRequestUrl, getDeskGetUsageLimitsUrl, getDeskListAuditEventsUrl, getDeskListCatalogueCollectionsUrl, getDeskListConsumptionEventsUrl, getDeskListContentRatingsUrl, getDeskListContractsUrl, getDeskListEntitlementExclusionsUrl, getDeskListEntitlementGrantsUrl, getDeskListExpiringDocumentsUrl, getDeskListLiveLeasesUrl, getDeskListLoansUrl, getDeskListPatronProfilesUrl, getDeskListPatronsUrl, getDeskListPaymentsUrl, getDeskListPractitionerDocumentsUrl, getDeskListReviewsUrl, getDeskListTenantsUrl, getDeskListTutoringFeedbackUrl, getDeskListTutoringRequestsUrl, getDeskLoansSummaryUrl, getDeskMetricTimeseriesUrl, getDeskPartnerLicenseSummaryUrl, getDeskPaymentsSummaryUrl, getDeskReferenceDataUrl, getDeskReviewsSummaryUrl, getDeskSearchBackofficeUrl, getDeskSearchCatalogueUrl, getDeskTenantStatsUrl, getDeskTutoringRequestsSummaryUrl, getPartnerLicenseUrl, getPartnerLicensesUrl, getPatronAccessMatrixUrl, getPatronOverviewUrl, getPractitionerWorkloadUrl, getScreenManifestUrl, getTenantHierarchyUrl, getTenantOverviewUrl, getTopContentUrl, getTutoringPerformanceUrl, getTutoringTimelineUrl, partnerLicense, partnerLicenses, patronAccessMatrix, patronOverview, practitionerWorkload, screenManifest, tenantHierarchy, tenantOverview, topContent, tutoringPerformance, tutoringTimeline };
|
|
1248
|
+
export { catalogueDetails, catalogueInventory, catalogueSummary, contractCoverage, contractUsage, dataCoverage, 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, getCatalogueDetailsUrl, getCatalogueInventoryUrl, getCatalogueSummaryUrl, getContractCoverageUrl, getContractUsageUrl, getDataCoverageUrl, getDeskAttentionItemsUrl, getDeskBackofficeContextUrl, getDeskConsumptionSummaryUrl, getDeskContentRatingsSummaryUrl, getDeskCountPatronsUrl, getDeskDashboardOverviewUrl, getDeskExplainAccessUrl, getDeskFindPractitionersUrl, getDeskGetAuditEventUrl, getDeskGetCatalogueCollectionUrl, getDeskGetCatalogueItemUrl, getDeskGetConsumptionEventUrl, getDeskGetContractUrl, getDeskGetIlsStatusUrl, getDeskGetLoanUrl, getDeskGetPatronActivityUrl, getDeskGetPatronServicesUrl, getDeskGetPatronUrl, getDeskGetPaymentUrl, getDeskGetPractitionerUrl, getDeskGetReadingProgressUrl, getDeskGetReviewUrl, getDeskGetTenantIntegrationsUrl, getDeskGetTenantUrl, getDeskGetTutoringAnswerUrl, getDeskGetTutoringRequestUrl, getDeskGetUsageLimitsUrl, getDeskListAuditEventsUrl, getDeskListCatalogueCollectionsUrl, getDeskListConsumptionEventsUrl, getDeskListContentRatingsUrl, getDeskListContractsUrl, getDeskListEntitlementExclusionsUrl, getDeskListEntitlementGrantsUrl, getDeskListExpiringDocumentsUrl, getDeskListLiveLeasesUrl, getDeskListLoansUrl, getDeskListPatronProfilesUrl, getDeskListPatronsUrl, getDeskListPaymentsUrl, getDeskListPractitionerDocumentsUrl, getDeskListReviewsUrl, getDeskListTenantsUrl, getDeskListTutoringFeedbackUrl, getDeskListTutoringRequestsUrl, getDeskLoansSummaryUrl, getDeskMetricTimeseriesUrl, getDeskPartnerCatalogueFacetsUrl, getDeskPartnerHomeFeedUrl, getDeskPartnerImportStatusUrl, getDeskPartnerLicenseSummaryUrl, getDeskPaymentsSummaryUrl, getDeskReferenceDataUrl, getDeskReviewsSummaryUrl, getDeskSearchBackofficeUrl, getDeskSearchCatalogueUrl, getDeskTenantStatsUrl, getDeskTutoringRequestsSummaryUrl, getPartnerLicenseUrl, getPartnerLicensesUrl, getPatronAccessMatrixUrl, getPatronOverviewUrl, getPractitionerWorkloadUrl, getScreenManifestUrl, getTenantHierarchyUrl, getTenantOverviewUrl, getTopContentUrl, getTutoringPerformanceUrl, getTutoringTimelineUrl, partnerLicense, partnerLicenses, patronAccessMatrix, patronOverview, practitionerWorkload, screenManifest, tenantHierarchy, tenantOverview, topContent, tutoringPerformance, tutoringTimeline };
|
|
1191
1249
|
|
|
1192
1250
|
//# sourceMappingURL=admin-desk.js.map
|