@learnorama/mozaik-sdk 0.5.0-staging.22.1 → 0.7.0-staging.26.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.
Files changed (189) hide show
  1. package/README.md +37 -0
  2. package/dist/api/account.d.ts +1 -1
  3. package/dist/api/account.js.map +1 -1
  4. package/dist/api/admin-catalogue.d.ts +1 -1
  5. package/dist/api/admin-catalogue.js.map +1 -1
  6. package/dist/api/admin-consumption.d.ts +1 -1
  7. package/dist/api/admin-consumption.js.map +1 -1
  8. package/dist/api/admin-desk.d.ts +282 -0
  9. package/dist/api/admin-desk.js +913 -0
  10. package/dist/api/admin-desk.js.map +1 -0
  11. package/dist/api/admin-licenses.js.map +1 -1
  12. package/dist/api/admin-patrons.d.ts +1 -1
  13. package/dist/api/admin-patrons.js.map +1 -1
  14. package/dist/api/admin-reviews.d.ts +1 -1
  15. package/dist/api/admin-reviews.js.map +1 -1
  16. package/dist/api/admin-roles.js.map +1 -1
  17. package/dist/api/admin-support.d.ts +1 -1
  18. package/dist/api/admin-support.js.map +1 -1
  19. package/dist/api/admin-tenants.js.map +1 -1
  20. package/dist/api/admin-tutoring.d.ts +1 -1
  21. package/dist/api/admin-tutoring.js.map +1 -1
  22. package/dist/api/auth.d.ts +7 -3
  23. package/dist/api/auth.js +6 -2
  24. package/dist/api/auth.js.map +1 -1
  25. package/dist/api/biblio-catalogue.d.ts +1 -1
  26. package/dist/api/biblio-catalogue.js.map +1 -1
  27. package/dist/api/biblio-home.d.ts +1 -1
  28. package/dist/api/biblio-home.js.map +1 -1
  29. package/dist/api/biblio-library.d.ts +1 -1
  30. package/dist/api/biblio-library.js.map +1 -1
  31. package/dist/api/biblio-nextory.d.ts +1 -1
  32. package/dist/api/biblio-nextory.js.map +1 -1
  33. package/dist/api/biblio-press.d.ts +1 -1
  34. package/dist/api/biblio-press.js.map +1 -1
  35. package/dist/api/biblio-search.js.map +1 -1
  36. package/dist/api/biblio-telemetry.js.map +1 -1
  37. package/dist/api/consumption.d.ts +1 -1
  38. package/dist/api/consumption.js.map +1 -1
  39. package/dist/api/cvs-app.d.ts +1 -1
  40. package/dist/api/cvs-app.js.map +1 -1
  41. package/dist/api/cvs-documents.d.ts +1 -1
  42. package/dist/api/cvs-documents.js.map +1 -1
  43. package/dist/api/cvs-favorites.d.ts +1 -1
  44. package/dist/api/cvs-favorites.js.map +1 -1
  45. package/dist/api/cvs-ils.d.ts +1 -1
  46. package/dist/api/cvs-ils.js.map +1 -1
  47. package/dist/api/cvs-loans.d.ts +1 -1
  48. package/dist/api/cvs-loans.js.map +1 -1
  49. package/dist/api/cvs-payments.js.map +1 -1
  50. package/dist/api/cvs-streaming.js.map +1 -1
  51. package/dist/api/index.d.ts +2 -1
  52. package/dist/api/index.js +2 -1
  53. package/dist/api/partner-catalogue.d.ts +1 -1
  54. package/dist/api/partner-catalogue.js.map +1 -1
  55. package/dist/api/partner-reader.d.ts +1 -1
  56. package/dist/api/partner-reader.js.map +1 -1
  57. package/dist/api/profiles.js.map +1 -1
  58. package/dist/api/search.d.ts +1 -1
  59. package/dist/api/search.js.map +1 -1
  60. package/dist/api/tutoring-catalogue.d.ts +1 -1
  61. package/dist/api/tutoring-catalogue.js.map +1 -1
  62. package/dist/api/tutoring-chat.d.ts +1 -1
  63. package/dist/api/tutoring-chat.js.map +1 -1
  64. package/dist/api/tutoring-dispatch.d.ts +1 -1
  65. package/dist/api/tutoring-dispatch.js.map +1 -1
  66. package/dist/api/tutoring-practitioner.js.map +1 -1
  67. package/dist/api/tutoring-requests.d.ts +1 -1
  68. package/dist/api/tutoring-requests.js.map +1 -1
  69. package/dist/chunks/client2.d.ts +1 -1
  70. package/dist/chunks/connection.d.ts +1 -1
  71. package/dist/chunks/index.d.ts +2141 -382
  72. package/dist/index.d.ts +3 -3
  73. package/dist/index.js +3 -3
  74. package/dist/index.js.map +1 -1
  75. package/dist/models.d.ts +2 -2
  76. package/dist/models.js +72 -1
  77. package/dist/models.js.map +1 -1
  78. package/dist/react/account.d.ts +1 -1
  79. package/dist/react/account.js +1 -1
  80. package/dist/react/account.js.map +1 -1
  81. package/dist/react/admin-catalogue.d.ts +1 -1
  82. package/dist/react/admin-catalogue.js +1 -1
  83. package/dist/react/admin-catalogue.js.map +1 -1
  84. package/dist/react/admin-consumption.d.ts +1 -1
  85. package/dist/react/admin-consumption.js +1 -1
  86. package/dist/react/admin-consumption.js.map +1 -1
  87. package/dist/react/admin-desk.d.ts +1769 -0
  88. package/dist/react/admin-desk.js +2257 -0
  89. package/dist/react/admin-desk.js.map +1 -0
  90. package/dist/react/admin-licenses.d.ts +1 -1
  91. package/dist/react/admin-licenses.js +1 -1
  92. package/dist/react/admin-licenses.js.map +1 -1
  93. package/dist/react/admin-patrons.d.ts +1 -1
  94. package/dist/react/admin-patrons.js +1 -1
  95. package/dist/react/admin-patrons.js.map +1 -1
  96. package/dist/react/admin-reviews.d.ts +1 -1
  97. package/dist/react/admin-reviews.js +1 -1
  98. package/dist/react/admin-reviews.js.map +1 -1
  99. package/dist/react/admin-roles.d.ts +1 -1
  100. package/dist/react/admin-roles.js +1 -1
  101. package/dist/react/admin-roles.js.map +1 -1
  102. package/dist/react/admin-support.d.ts +1 -1
  103. package/dist/react/admin-support.js +1 -1
  104. package/dist/react/admin-support.js.map +1 -1
  105. package/dist/react/admin-tenants.d.ts +1 -1
  106. package/dist/react/admin-tenants.js +1 -1
  107. package/dist/react/admin-tenants.js.map +1 -1
  108. package/dist/react/admin-tutoring.d.ts +1 -1
  109. package/dist/react/admin-tutoring.js +1 -1
  110. package/dist/react/admin-tutoring.js.map +1 -1
  111. package/dist/react/auth.d.ts +7 -3
  112. package/dist/react/auth.js +7 -3
  113. package/dist/react/auth.js.map +1 -1
  114. package/dist/react/biblio-catalogue.d.ts +1 -1
  115. package/dist/react/biblio-catalogue.js +1 -1
  116. package/dist/react/biblio-catalogue.js.map +1 -1
  117. package/dist/react/biblio-home.d.ts +1 -1
  118. package/dist/react/biblio-home.js +1 -1
  119. package/dist/react/biblio-home.js.map +1 -1
  120. package/dist/react/biblio-library.d.ts +1 -1
  121. package/dist/react/biblio-library.js +1 -1
  122. package/dist/react/biblio-library.js.map +1 -1
  123. package/dist/react/biblio-nextory.d.ts +1 -1
  124. package/dist/react/biblio-nextory.js +1 -1
  125. package/dist/react/biblio-nextory.js.map +1 -1
  126. package/dist/react/biblio-press.d.ts +1 -1
  127. package/dist/react/biblio-press.js +1 -1
  128. package/dist/react/biblio-press.js.map +1 -1
  129. package/dist/react/biblio-search.d.ts +1 -1
  130. package/dist/react/biblio-search.js +1 -1
  131. package/dist/react/biblio-search.js.map +1 -1
  132. package/dist/react/biblio-telemetry.d.ts +1 -1
  133. package/dist/react/biblio-telemetry.js +1 -1
  134. package/dist/react/biblio-telemetry.js.map +1 -1
  135. package/dist/react/chat.d.ts +1 -1
  136. package/dist/react/consumption.d.ts +1 -1
  137. package/dist/react/consumption.js +1 -1
  138. package/dist/react/consumption.js.map +1 -1
  139. package/dist/react/cvs-app.d.ts +1 -1
  140. package/dist/react/cvs-app.js +1 -1
  141. package/dist/react/cvs-app.js.map +1 -1
  142. package/dist/react/cvs-documents.d.ts +1 -1
  143. package/dist/react/cvs-documents.js +1 -1
  144. package/dist/react/cvs-documents.js.map +1 -1
  145. package/dist/react/cvs-favorites.d.ts +1 -1
  146. package/dist/react/cvs-favorites.js +1 -1
  147. package/dist/react/cvs-favorites.js.map +1 -1
  148. package/dist/react/cvs-ils.d.ts +1 -1
  149. package/dist/react/cvs-ils.js +1 -1
  150. package/dist/react/cvs-ils.js.map +1 -1
  151. package/dist/react/cvs-loans.d.ts +1 -1
  152. package/dist/react/cvs-loans.js +1 -1
  153. package/dist/react/cvs-loans.js.map +1 -1
  154. package/dist/react/cvs-payments.d.ts +1 -1
  155. package/dist/react/cvs-payments.js +1 -1
  156. package/dist/react/cvs-payments.js.map +1 -1
  157. package/dist/react/cvs-streaming.d.ts +1 -1
  158. package/dist/react/cvs-streaming.js +1 -1
  159. package/dist/react/cvs-streaming.js.map +1 -1
  160. package/dist/react/index.d.ts +2 -1
  161. package/dist/react/index.js +2 -1
  162. package/dist/react/partner-catalogue.d.ts +1 -1
  163. package/dist/react/partner-catalogue.js +1 -1
  164. package/dist/react/partner-catalogue.js.map +1 -1
  165. package/dist/react/partner-reader.d.ts +1 -1
  166. package/dist/react/partner-reader.js +1 -1
  167. package/dist/react/partner-reader.js.map +1 -1
  168. package/dist/react/profiles.d.ts +1 -1
  169. package/dist/react/profiles.js +1 -1
  170. package/dist/react/profiles.js.map +1 -1
  171. package/dist/react/search.d.ts +1 -1
  172. package/dist/react/search.js +1 -1
  173. package/dist/react/search.js.map +1 -1
  174. package/dist/react/tutoring-catalogue.d.ts +1 -1
  175. package/dist/react/tutoring-catalogue.js +1 -1
  176. package/dist/react/tutoring-catalogue.js.map +1 -1
  177. package/dist/react/tutoring-chat.d.ts +1 -1
  178. package/dist/react/tutoring-chat.js +1 -1
  179. package/dist/react/tutoring-chat.js.map +1 -1
  180. package/dist/react/tutoring-dispatch.d.ts +1 -1
  181. package/dist/react/tutoring-dispatch.js +1 -1
  182. package/dist/react/tutoring-dispatch.js.map +1 -1
  183. package/dist/react/tutoring-practitioner.d.ts +1 -1
  184. package/dist/react/tutoring-practitioner.js +1 -1
  185. package/dist/react/tutoring-practitioner.js.map +1 -1
  186. package/dist/react/tutoring-requests.d.ts +1 -1
  187. package/dist/react/tutoring-requests.js +1 -1
  188. package/dist/react/tutoring-requests.js.map +1 -1
  189. package/package.json +7 -7
@@ -5,7 +5,7 @@
5
5
  * Do not edit manually.
6
6
  * Mozaik backend
7
7
  * 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.
8
- * OpenAPI spec version: 0.5.0
8
+ * OpenAPI spec version: 0.7.0
9
9
  */
10
10
  /**
11
11
  * Consult in place, or take a copy away. Legacy ``$upload``.
@@ -31,7 +31,7 @@ declare const AccessMode: {
31
31
  * Do not edit manually.
32
32
  * Mozaik backend
33
33
  * 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.
34
- * OpenAPI spec version: 0.5.0
34
+ * OpenAPI spec version: 0.7.0
35
35
  */
36
36
  /**
37
37
  * Which of the three platforms a functional grant applies to.
@@ -59,7 +59,7 @@ declare const Product: {
59
59
  * Do not edit manually.
60
60
  * Mozaik backend
61
61
  * 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.
62
- * OpenAPI spec version: 0.5.0
62
+ * OpenAPI spec version: 0.7.0
63
63
  */
64
64
  /**
65
65
  * What kind of participant somebody is, in one product at one tenant.
@@ -169,7 +169,7 @@ interface AccountDetailRead {
169
169
  * Do not edit manually.
170
170
  * Mozaik backend
171
171
  * 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.
172
- * OpenAPI spec version: 0.5.0
172
+ * OpenAPI spec version: 0.7.0
173
173
  */
174
174
  /**
175
175
  * The local ``app_user`` row the session resolved to.
@@ -196,7 +196,7 @@ interface AccountRead {
196
196
  * Do not edit manually.
197
197
  * Mozaik backend
198
198
  * 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.
199
- * OpenAPI spec version: 0.5.0
199
+ * OpenAPI spec version: 0.7.0
200
200
  */
201
201
  /**
202
202
  * Partial update of the authenticated account (E16, ``PATCH /me``).
@@ -230,7 +230,7 @@ interface AccountUpdateWrite {
230
230
  * Do not edit manually.
231
231
  * Mozaik backend
232
232
  * 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.
233
- * OpenAPI spec version: 0.5.0
233
+ * OpenAPI spec version: 0.7.0
234
234
  */
235
235
  /**
236
236
  * A model's first pass, as the reviewing practitioner sees it.
@@ -261,7 +261,7 @@ interface AiDraftRead {
261
261
  * Do not edit manually.
262
262
  * Mozaik backend
263
263
  * 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.
264
- * OpenAPI spec version: 0.5.0
264
+ * OpenAPI spec version: 0.7.0
265
265
  */
266
266
  /**
267
267
  * A practitioner's verdict on a draft.
@@ -286,7 +286,7 @@ interface AiDraftReviewWrite {
286
286
  * Do not edit manually.
287
287
  * Mozaik backend
288
288
  * 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.
289
- * OpenAPI spec version: 0.5.0
289
+ * OpenAPI spec version: 0.7.0
290
290
  */
291
291
  /**
292
292
  * Which side of the exchange a file belongs to.
@@ -309,7 +309,7 @@ declare const AttachmentRole: {
309
309
  * Do not edit manually.
310
310
  * Mozaik backend
311
311
  * 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.
312
- * OpenAPI spec version: 0.5.0
312
+ * OpenAPI spec version: 0.7.0
313
313
  */
314
314
  type AuthorizationParams = {
315
315
  /**
@@ -329,6 +329,7 @@ type AuthorizationParams = {
329
329
  nonce?: string | null;
330
330
  provider?: string | null;
331
331
  prompt?: string | null;
332
+ client_id?: string | null;
332
333
  };
333
334
  //#endregion
334
335
  //#region src/models/authorizationRead.d.ts
@@ -337,7 +338,7 @@ type AuthorizationParams = {
337
338
  * Do not edit manually.
338
339
  * Mozaik backend
339
340
  * 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.
340
- * OpenAPI spec version: 0.5.0
341
+ * OpenAPI spec version: 0.7.0
341
342
  */
342
343
  /**
343
344
  * Where to send the browser to start a login.
@@ -362,7 +363,7 @@ interface AuthorizationRead {
362
363
  * Do not edit manually.
363
364
  * Mozaik backend
364
365
  * 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.
365
- * OpenAPI spec version: 0.5.0
366
+ * OpenAPI spec version: 0.7.0
366
367
  */
367
368
  /**
368
369
  * A cardholder's address, passed straight through to the provider.
@@ -399,7 +400,7 @@ interface BillingWrite {
399
400
  * Do not edit manually.
400
401
  * Mozaik backend
401
402
  * 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.
402
- * OpenAPI spec version: 0.5.0
403
+ * OpenAPI spec version: 0.7.0
403
404
  */
404
405
  interface BodyUploadAttachment {
405
406
  file: Blob;
@@ -411,7 +412,7 @@ interface BodyUploadAttachment {
411
412
  * Do not edit manually.
412
413
  * Mozaik backend
413
414
  * 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.
414
- * OpenAPI spec version: 0.5.0
415
+ * OpenAPI spec version: 0.7.0
415
416
  */
416
417
  /**
417
418
  * What a grant permits somebody to *do* with a work.
@@ -465,7 +466,7 @@ interface BorrowWrite {
465
466
  * Do not edit manually.
466
467
  * Mozaik backend
467
468
  * 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.
468
- * OpenAPI spec version: 0.5.0
469
+ * OpenAPI spec version: 0.7.0
469
470
  */
470
471
  /**
471
472
  * Denormalised onto ``content`` from the kind of its categories.
@@ -510,7 +511,7 @@ interface ContentSummaryRead {
510
511
  * Do not edit manually.
511
512
  * Mozaik backend
512
513
  * 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.
513
- * OpenAPI spec version: 0.5.0
514
+ * OpenAPI spec version: 0.7.0
514
515
  */
515
516
  /**
516
517
  * The ``meta`` block on a paginated collection (spec §2.1).
@@ -532,7 +533,7 @@ interface PageMeta {
532
533
  * Do not edit manually.
533
534
  * Mozaik backend
534
535
  * 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.
535
- * OpenAPI spec version: 0.5.0
536
+ * OpenAPI spec version: 0.7.0
536
537
  */
537
538
  /**
538
539
  * A theme inside a catalog, as listed by E39. PROVISIONAL.
@@ -562,7 +563,7 @@ interface CatalogRead {
562
563
  * Do not edit manually.
563
564
  * Mozaik backend
564
565
  * 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.
565
- * OpenAPI spec version: 0.5.0
566
+ * OpenAPI spec version: 0.7.0
566
567
  */
567
568
  /**
568
569
  * A catalog inside a pack, as listed by E38.
@@ -579,7 +580,7 @@ interface CatalogRefRead {
579
580
  * Do not edit manually.
580
581
  * Mozaik backend
581
582
  * 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.
582
- * OpenAPI spec version: 0.5.0
583
+ * OpenAPI spec version: 0.7.0
583
584
  */
584
585
  /**
585
586
  * One bucket of the result set, counted after entitlement.
@@ -599,7 +600,7 @@ interface SearchFacetRead {
599
600
  * Do not edit manually.
600
601
  * Mozaik backend
601
602
  * 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.
602
- * OpenAPI spec version: 0.5.0
603
+ * OpenAPI spec version: 0.7.0
603
604
  */
604
605
  /**
605
606
  * What a search hit *is*, in one vocabulary across every catalogue.
@@ -633,7 +634,7 @@ declare const SearchKind: {
633
634
  * Do not edit manually.
634
635
  * Mozaik backend
635
636
  * 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.
636
- * OpenAPI spec version: 0.5.0
637
+ * OpenAPI spec version: 0.7.0
637
638
  */
638
639
  /**
639
640
  * Which catalogue a cross-catalogue search hit came from.
@@ -703,7 +704,7 @@ interface CatalogueSearchRead {
703
704
  * Do not edit manually.
704
705
  * Mozaik backend
705
706
  * 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.
706
- * OpenAPI spec version: 0.5.0
707
+ * OpenAPI spec version: 0.7.0
707
708
  */
708
709
  /**
709
710
  * A favourite category (E26 item). PROVISIONAL, as :class:`PackRead`.
@@ -727,7 +728,7 @@ interface CategoryListRead {
727
728
  * Do not edit manually.
728
729
  * Mozaik backend
729
730
  * 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.
730
- * OpenAPI spec version: 0.5.0
731
+ * OpenAPI spec version: 0.7.0
731
732
  */
732
733
  /**
733
734
  * Replace the favourite-category set wholesale (E29).
@@ -750,7 +751,7 @@ interface CategoryPreferencesWrite {
750
751
  * Do not edit manually.
751
752
  * Mozaik backend
752
753
  * 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.
753
- * OpenAPI spec version: 0.5.0
754
+ * OpenAPI spec version: 0.7.0
754
755
  */
755
756
  /**
756
757
  * A single-use credential for opening one socket.
@@ -774,7 +775,7 @@ interface ChatTicketRead {
774
775
  * Do not edit manually.
775
776
  * Mozaik backend
776
777
  * 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.
777
- * OpenAPI spec version: 0.5.0
778
+ * OpenAPI spec version: 0.7.0
778
779
  */
779
780
  /**
780
781
  * Cast-target playback parameters — ``Entity/Chromecast.php``.
@@ -801,13 +802,13 @@ interface ChromecastRead {
801
802
  * Do not edit manually.
802
803
  * Mozaik backend
803
804
  * 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.
804
- * OpenAPI spec version: 0.5.0
805
+ * OpenAPI spec version: 0.7.0
805
806
  */
806
807
  /**
807
808
  * Complete a login started at :class:`AuthorizationRead`.
808
809
  *
809
810
  * ``redirect_uri`` must match the one the authorization request carried, and is
810
- * validated against ``AUTH_ALLOWED_REDIRECT_ORIGINS`` as well as by Keycloak.
811
+ * validated against the selected client's callback allow-list and by Keycloak.
811
812
  * Two gates rather than one because an open redirect on the login callback is
812
813
  * how a stolen code leaves the building — the legacy carried an unvalidated
813
814
  * ``RelayState`` for exactly this shape of bug.
@@ -817,6 +818,8 @@ interface ChromecastRead {
817
818
  * it, and pretending otherwise would be worse than not asking.
818
819
  */
819
820
  interface CodeExchangeWrite {
821
+ /** Client used for authorization: mozaik-web (default) or mozaik-mobile. */
822
+ clientId?: string | null;
820
823
  /**
821
824
  * @minLength 1
822
825
  * @maxLength 4096
@@ -841,7 +844,7 @@ interface CodeExchangeWrite {
841
844
  * Do not edit manually.
842
845
  * Mozaik backend
843
846
  * 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.
844
- * OpenAPI spec version: 0.5.0
847
+ * OpenAPI spec version: 0.7.0
845
848
  */
846
849
  /**
847
850
  * Why a consumption lease stopped. Legacy ``sessions.cloture``.
@@ -910,7 +913,7 @@ interface ContentRead {
910
913
  * Do not edit manually.
911
914
  * Mozaik backend
912
915
  * 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.
913
- * OpenAPI spec version: 0.5.0
916
+ * OpenAPI spec version: 0.7.0
914
917
  */
915
918
  /**
916
919
  * Username and password, for the direct grant.
@@ -939,7 +942,7 @@ interface CredentialsWrite {
939
942
  * Do not edit manually.
940
943
  * Mozaik backend
941
944
  * 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.
942
- * OpenAPI spec version: 0.5.0
945
+ * OpenAPI spec version: 0.7.0
943
946
  */
944
947
  /**
945
948
  * One entry of the partner's own "continue reading" list.
@@ -972,7 +975,7 @@ interface CurrentReadingListRead {
972
975
  * Do not edit manually.
973
976
  * Mozaik backend
974
977
  * 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.
975
- * OpenAPI spec version: 0.5.0
978
+ * OpenAPI spec version: 0.7.0
976
979
  */
977
980
  /**
978
981
  * The demonstration account (E57). ``201`` when created, ``200`` when it existed.
@@ -998,7 +1001,7 @@ interface DemoUserRead {
998
1001
  * Do not edit manually.
999
1002
  * Mozaik backend
1000
1003
  * 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.
1001
- * OpenAPI spec version: 0.5.0
1004
+ * OpenAPI spec version: 0.7.0
1002
1005
  */
1003
1006
  /**
1004
1007
  * Create or fetch a demonstration account for an establishment (E57).
@@ -1008,13 +1011,2002 @@ interface DemoUserWrite {
1008
1011
  establishmentId: number;
1009
1012
  }
1010
1013
  //#endregion
1014
+ //#region src/models/deskAccessCheckRead.d.ts
1015
+ /**
1016
+ * Generated by orval 🍺
1017
+ * Do not edit manually.
1018
+ * Mozaik backend
1019
+ * 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.
1020
+ * OpenAPI spec version: 0.7.0
1021
+ */
1022
+ interface DeskAccessCheckRead {
1023
+ check: string;
1024
+ passed: boolean;
1025
+ }
1026
+ //#endregion
1027
+ //#region src/models/deskCatalogueSource.d.ts
1028
+ /**
1029
+ * Generated by orval 🍺
1030
+ * Do not edit manually.
1031
+ * Mozaik backend
1032
+ * 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.
1033
+ * OpenAPI spec version: 0.7.0
1034
+ */
1035
+ type DeskCatalogueSource = typeof DeskCatalogueSource[keyof typeof DeskCatalogueSource];
1036
+ declare const DeskCatalogueSource: {
1037
+ readonly biblio: 'biblio';
1038
+ readonly cvs: 'cvs';
1039
+ readonly nextory: 'nextory';
1040
+ readonly youscribe: 'youscribe';
1041
+ };
1042
+ //#endregion
1043
+ //#region src/models/deskReferenceRead.d.ts
1044
+ /**
1045
+ * Generated by orval 🍺
1046
+ * Do not edit manually.
1047
+ * Mozaik backend
1048
+ * 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.
1049
+ * OpenAPI spec version: 0.7.0
1050
+ */
1051
+ interface DeskReferenceRead {
1052
+ id: string;
1053
+ name: string;
1054
+ }
1055
+ //#endregion
1056
+ //#region src/models/deskUsageRead.d.ts
1057
+ /**
1058
+ * Generated by orval 🍺
1059
+ * Do not edit manually.
1060
+ * Mozaik backend
1061
+ * 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.
1062
+ * OpenAPI spec version: 0.7.0
1063
+ */
1064
+ interface DeskUsageRead {
1065
+ act: string;
1066
+ contractId: string;
1067
+ durationUnit?: string | null;
1068
+ grantId: string;
1069
+ ledgerUnitsRemaining?: number | null;
1070
+ ledgerUnitsSpent: number;
1071
+ maxConcurrent?: number | null;
1072
+ maxDevices?: number | null;
1073
+ maxDuration?: number | null;
1074
+ maxExtensions?: number | null;
1075
+ occupiedSeats: number;
1076
+ personal: boolean;
1077
+ unitsGranted?: number | null;
1078
+ }
1079
+ //#endregion
1080
+ //#region src/models/deskAccessRead.d.ts
1081
+ interface DeskAccessRead {
1082
+ checks: DeskAccessCheckRead[];
1083
+ itemId: string;
1084
+ notEvaluated: string[];
1085
+ observedAt: string;
1086
+ source: DeskCatalogueSource;
1087
+ tenant: DeskReferenceRead;
1088
+ usage?: DeskUsageRead | null;
1089
+ user: DeskReferenceRead;
1090
+ verdict: string;
1091
+ }
1092
+ //#endregion
1093
+ //#region src/models/deskActLimitRead.d.ts
1094
+ /**
1095
+ * Generated by orval 🍺
1096
+ * Do not edit manually.
1097
+ * Mozaik backend
1098
+ * 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.
1099
+ * OpenAPI spec version: 0.7.0
1100
+ */
1101
+ interface DeskActLimitRead {
1102
+ act: string;
1103
+ durationUnit?: string | null;
1104
+ maxConcurrent?: number | null;
1105
+ maxDevices?: number | null;
1106
+ maxDuration?: number | null;
1107
+ maxExtensions?: number | null;
1108
+ unitsGranted?: number | null;
1109
+ }
1110
+ //#endregion
1111
+ //#region src/models/deskAnswerRead.d.ts
1112
+ /**
1113
+ * Generated by orval 🍺
1114
+ * Do not edit manually.
1115
+ * Mozaik backend
1116
+ * 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.
1117
+ * OpenAPI spec version: 0.7.0
1118
+ */
1119
+ interface DeskAnswerRead {
1120
+ body?: string | null;
1121
+ channel?: string | null;
1122
+ createdAt?: string | null;
1123
+ deliveryId?: string | null;
1124
+ requestId: string;
1125
+ source?: string;
1126
+ textTruncated: boolean;
1127
+ }
1128
+ //#endregion
1129
+ //#region src/models/deskAttentionKind.d.ts
1130
+ /**
1131
+ * Generated by orval 🍺
1132
+ * Do not edit manually.
1133
+ * Mozaik backend
1134
+ * 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.
1135
+ * OpenAPI spec version: 0.7.0
1136
+ */
1137
+ type DeskAttentionKind = typeof DeskAttentionKind[keyof typeof DeskAttentionKind];
1138
+ declare const DeskAttentionKind: {
1139
+ readonly expiring_contract: 'expiring_contract';
1140
+ readonly waiting_tutoring: 'waiting_tutoring';
1141
+ readonly lapsed_document: 'lapsed_document';
1142
+ readonly pending_review: 'pending_review';
1143
+ };
1144
+ //#endregion
1145
+ //#region src/models/deskOrder.d.ts
1146
+ /**
1147
+ * Generated by orval 🍺
1148
+ * Do not edit manually.
1149
+ * Mozaik backend
1150
+ * 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.
1151
+ * OpenAPI spec version: 0.7.0
1152
+ */
1153
+ type DeskOrder = typeof DeskOrder[keyof typeof DeskOrder];
1154
+ declare const DeskOrder: {
1155
+ readonly id: 'id';
1156
+ readonly '-id': '-id';
1157
+ readonly name: 'name';
1158
+ readonly '-name': '-name';
1159
+ readonly created_at: 'created_at';
1160
+ readonly '-created_at': '-created_at';
1161
+ };
1162
+ //#endregion
1163
+ //#region src/models/deskAttentionItemsParams.d.ts
1164
+ type DeskAttentionItemsParams = {
1165
+ cursor?: string | null;
1166
+ /**
1167
+ * @minimum 1
1168
+ * @maximum 50
1169
+ */
1170
+ limit?: number;
1171
+ orderBy?: DeskOrder;
1172
+ includeTotal?: boolean;
1173
+ tenantId?: number | null;
1174
+ asOf: string;
1175
+ kind?: DeskAttentionKind | null;
1176
+ /**
1177
+ * @minimum 1
1178
+ * @maximum 366
1179
+ */
1180
+ contractExpiryWithinDays?: number;
1181
+ tutoringWaitHours?: number | null;
1182
+ };
1183
+ //#endregion
1184
+ //#region src/models/deskAttentionRead.d.ts
1185
+ interface DeskAttentionRead {
1186
+ detailTool: string;
1187
+ eventAt: string;
1188
+ id: string;
1189
+ kind: DeskAttentionKind;
1190
+ name: string;
1191
+ practitioner?: DeskReferenceRead | null;
1192
+ reason: string;
1193
+ tenant?: DeskReferenceRead | null;
1194
+ }
1195
+ //#endregion
1196
+ //#region src/models/deskCursorMetaRead.d.ts
1197
+ interface DeskCursorMetaRead {
1198
+ hasMore: boolean;
1199
+ limit: number;
1200
+ nextCursor: string | null;
1201
+ observedAt: string;
1202
+ orderBy: DeskOrder;
1203
+ schemaVersion?: string;
1204
+ total: number | null;
1205
+ }
1206
+ //#endregion
1207
+ //#region src/models/deskAttentionPage.d.ts
1208
+ interface DeskAttentionPage {
1209
+ contractExpiryWithinDays: number;
1210
+ data: DeskAttentionRead[];
1211
+ evaluatedAt: string;
1212
+ meta: DeskCursorMetaRead;
1213
+ tutoringWaitHours?: number | null;
1214
+ }
1215
+ //#endregion
1216
+ //#region src/models/deskAuditRead.d.ts
1217
+ interface DeskAuditRead {
1218
+ /** @maxLength 100 */
1219
+ action: string;
1220
+ actor?: DeskReferenceRead | null;
1221
+ id: string;
1222
+ occurredAt: string;
1223
+ subject?: DeskReferenceRead | null;
1224
+ tenant?: DeskReferenceRead | null;
1225
+ }
1226
+ //#endregion
1227
+ //#region src/models/deskAuditPage.d.ts
1228
+ interface DeskAuditPage {
1229
+ /** @maxItems 50 */
1230
+ data: DeskAuditRead[];
1231
+ meta: DeskCursorMetaRead;
1232
+ }
1233
+ //#endregion
1234
+ //#region src/models/deskBucketRead.d.ts
1235
+ /**
1236
+ * Generated by orval 🍺
1237
+ * Do not edit manually.
1238
+ * Mozaik backend
1239
+ * 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.
1240
+ * OpenAPI spec version: 0.7.0
1241
+ */
1242
+ interface DeskBucketRead {
1243
+ count: number;
1244
+ key: string;
1245
+ }
1246
+ //#endregion
1247
+ //#region src/models/deskCapabilityRead.d.ts
1248
+ /**
1249
+ * Generated by orval 🍺
1250
+ * Do not edit manually.
1251
+ * Mozaik backend
1252
+ * 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.
1253
+ * OpenAPI spec version: 0.7.0
1254
+ */
1255
+ interface DeskCapabilityRead {
1256
+ allowed: boolean;
1257
+ key: string;
1258
+ reason: string;
1259
+ }
1260
+ //#endregion
1261
+ //#region src/models/deskCatalogueRead.d.ts
1262
+ interface DeskCatalogueRead {
1263
+ descriptionPreview?: string | null;
1264
+ id: string;
1265
+ kind?: string | null;
1266
+ language?: string | null;
1267
+ /** @maxLength 2000 */
1268
+ name: string;
1269
+ source: DeskCatalogueSource;
1270
+ textTruncated: boolean;
1271
+ }
1272
+ //#endregion
1273
+ //#region src/models/deskCataloguePage.d.ts
1274
+ interface DeskCataloguePage {
1275
+ /** @maxItems 50 */
1276
+ data: DeskCatalogueRead[];
1277
+ meta: DeskCursorMetaRead;
1278
+ }
1279
+ //#endregion
1280
+ //#region src/models/deskCollectionRead.d.ts
1281
+ interface DeskCollectionRead {
1282
+ id: string;
1283
+ /** @maxLength 2000 */
1284
+ name: string;
1285
+ parent?: DeskReferenceRead | null;
1286
+ source: DeskCatalogueSource;
1287
+ tenant?: DeskReferenceRead | null;
1288
+ }
1289
+ //#endregion
1290
+ //#region src/models/deskCollectionPage.d.ts
1291
+ interface DeskCollectionPage {
1292
+ /** @maxItems 50 */
1293
+ data: DeskCollectionRead[];
1294
+ meta: DeskCursorMetaRead;
1295
+ }
1296
+ //#endregion
1297
+ //#region src/models/deskSubjectRead.d.ts
1298
+ /**
1299
+ * Generated by orval 🍺
1300
+ * Do not edit manually.
1301
+ * Mozaik backend
1302
+ * 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.
1303
+ * OpenAPI spec version: 0.7.0
1304
+ */
1305
+ interface DeskSubjectRead {
1306
+ /** @maxLength 19 */
1307
+ id: string;
1308
+ /** @maxLength 50 */
1309
+ kind: string;
1310
+ name?: string | null;
1311
+ }
1312
+ //#endregion
1313
+ //#region src/models/deskConsumptionRead.d.ts
1314
+ interface DeskConsumptionRead {
1315
+ act: string;
1316
+ closeReason?: string | null;
1317
+ contractId?: string | null;
1318
+ endedAt?: string | null;
1319
+ expiresAt?: string | null;
1320
+ extensionCount: number;
1321
+ grantId?: string | null;
1322
+ id: string;
1323
+ isLive: boolean;
1324
+ isReported: boolean;
1325
+ occurredAt: string;
1326
+ recordedDurationSeconds?: number | null;
1327
+ returnedAt?: string | null;
1328
+ subject?: DeskSubjectRead | null;
1329
+ tenant: DeskReferenceRead;
1330
+ timingProvenance?: string;
1331
+ units: number;
1332
+ user?: DeskReferenceRead | null;
1333
+ }
1334
+ //#endregion
1335
+ //#region src/models/deskConsumptionPage.d.ts
1336
+ interface DeskConsumptionPage {
1337
+ /** @maxItems 50 */
1338
+ data: DeskConsumptionRead[];
1339
+ meta: DeskCursorMetaRead;
1340
+ }
1341
+ //#endregion
1342
+ //#region src/models/subjectKind.d.ts
1343
+ /**
1344
+ * Generated by orval 🍺
1345
+ * Do not edit manually.
1346
+ * Mozaik backend
1347
+ * 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.
1348
+ * OpenAPI spec version: 0.7.0
1349
+ */
1350
+ /**
1351
+ * Which catalogue a consumed item belongs to. The ledger's polymorphic key.
1352
+ *
1353
+ * Replaces the three nullable FKs the ledger used to carry (``work_id`` /
1354
+ * ``content_id`` / ``partner_media_id``) with one ``(kind, id)`` pair, so a new
1355
+ * platform costs **an enum value, not a migration** — the same trade every
1356
+ * other enum here makes. The id has no database foreign key: the ledger is a
1357
+ * billing and history record, and a consumed item being deleted from its
1358
+ * catalogue must not erase the record of it having been consumed.
1359
+ *
1360
+ * Grant *resolution* stays keyed by the concrete catalogue FK (grants are
1361
+ * defined per work, per content, per category); only the *ledger* subject is
1362
+ * polymorphic. :class:`app.services.consumption.Subject` bridges the two.
1363
+ */
1364
+ type SubjectKind = typeof SubjectKind[keyof typeof SubjectKind];
1365
+ declare const SubjectKind: {
1366
+ readonly content: 'content';
1367
+ readonly work: 'work';
1368
+ readonly partner_media: 'partner_media';
1369
+ readonly tutoring_request: 'tutoring_request';
1370
+ };
1371
+ //#endregion
1372
+ //#region src/models/deskConsumptionSummaryParams.d.ts
1373
+ type DeskConsumptionSummaryParams = {
1374
+ tenantId?: number | null;
1375
+ userId?: number | null;
1376
+ occurredFrom?: string | null;
1377
+ occurredUntil?: string | null;
1378
+ act?: EntitlementAct | null;
1379
+ subjectKind?: SubjectKind | null;
1380
+ subjectId?: number | null;
1381
+ contractId?: number | null;
1382
+ grantId?: number | null;
1383
+ isReported?: boolean | null;
1384
+ liveOnly?: boolean;
1385
+ };
1386
+ //#endregion
1387
+ //#region src/models/deskConsumptionSummaryRead.d.ts
1388
+ /**
1389
+ * Generated by orval 🍺
1390
+ * Do not edit manually.
1391
+ * Mozaik backend
1392
+ * 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.
1393
+ * OpenAPI spec version: 0.7.0
1394
+ */
1395
+ interface DeskConsumptionSummaryRead {
1396
+ consumedUnits: number;
1397
+ distinctUsers: number;
1398
+ eventCount: number;
1399
+ invalidDurationCount: number;
1400
+ missingEndCount: number;
1401
+ observedAt: string;
1402
+ recordedDurationSeconds: number;
1403
+ reportedEventCount: number;
1404
+ timingProvenance?: string;
1405
+ }
1406
+ //#endregion
1407
+ //#region src/models/deskContentRatingsSummaryParams.d.ts
1408
+ /**
1409
+ * Generated by orval 🍺
1410
+ * Do not edit manually.
1411
+ * Mozaik backend
1412
+ * 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.
1413
+ * OpenAPI spec version: 0.7.0
1414
+ */
1415
+ type DeskContentRatingsSummaryParams = {
1416
+ tenantId?: number | null;
1417
+ userId?: number | null;
1418
+ occurredFrom?: string | null;
1419
+ occurredUntil?: string | null;
1420
+ contentId?: number | null;
1421
+ };
1422
+ //#endregion
1423
+ //#region src/models/deskContextRead.d.ts
1424
+ interface DeskContextRead {
1425
+ authorizationNotice?: string;
1426
+ backendVersion: string;
1427
+ capabilities: DeskCapabilityRead[];
1428
+ employeeName: string;
1429
+ environment: string;
1430
+ homeTenant?: DeskReferenceRead | null;
1431
+ reachableTenantCount?: number | null;
1432
+ roles: string[];
1433
+ scopeKind: string;
1434
+ }
1435
+ //#endregion
1436
+ //#region src/models/deskContractRead.d.ts
1437
+ interface DeskContractRead {
1438
+ billingMode?: string | null;
1439
+ endsAt: string;
1440
+ graceEndsAt: string;
1441
+ id: string;
1442
+ isActive: boolean;
1443
+ reference?: string | null;
1444
+ reportingCoefficient: string;
1445
+ startsAt: string;
1446
+ supplierId?: string | null;
1447
+ tenant: DeskReferenceRead;
1448
+ }
1449
+ //#endregion
1450
+ //#region src/models/deskContractPage.d.ts
1451
+ interface DeskContractPage {
1452
+ /** @maxItems 50 */
1453
+ data: DeskContractRead[];
1454
+ meta: DeskCursorMetaRead;
1455
+ }
1456
+ //#endregion
1457
+ //#region src/models/deskCountPatronsParams.d.ts
1458
+ type DeskCountPatronsParams = {
1459
+ tenantId?: number | null;
1460
+ q?: string | null;
1461
+ isActive?: boolean | null;
1462
+ pendingOnly?: boolean | null;
1463
+ product?: Product | null;
1464
+ };
1465
+ //#endregion
1466
+ //#region src/models/deskCountRead.d.ts
1467
+ /**
1468
+ * Generated by orval 🍺
1469
+ * Do not edit manually.
1470
+ * Mozaik backend
1471
+ * 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.
1472
+ * OpenAPI spec version: 0.7.0
1473
+ */
1474
+ interface DeskCountRead {
1475
+ observedAt: string;
1476
+ total: number;
1477
+ }
1478
+ //#endregion
1479
+ //#region src/models/deskMetricSection.d.ts
1480
+ /**
1481
+ * Generated by orval 🍺
1482
+ * Do not edit manually.
1483
+ * Mozaik backend
1484
+ * 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.
1485
+ * OpenAPI spec version: 0.7.0
1486
+ */
1487
+ type DeskMetricSection = typeof DeskMetricSection[keyof typeof DeskMetricSection];
1488
+ declare const DeskMetricSection: {
1489
+ readonly all: 'all';
1490
+ readonly accounts: 'accounts';
1491
+ readonly consumption: 'consumption';
1492
+ readonly tutoring: 'tutoring';
1493
+ readonly payments: 'payments';
1494
+ };
1495
+ //#endregion
1496
+ //#region src/models/deskDashboardOverviewParams.d.ts
1497
+ type DeskDashboardOverviewParams = {
1498
+ tenantId?: number | null;
1499
+ occurredFrom: string;
1500
+ occurredUntil: string;
1501
+ section?: DeskMetricSection;
1502
+ };
1503
+ //#endregion
1504
+ //#region src/models/deskMetric.d.ts
1505
+ /**
1506
+ * Generated by orval 🍺
1507
+ * Do not edit manually.
1508
+ * Mozaik backend
1509
+ * 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.
1510
+ * OpenAPI spec version: 0.7.0
1511
+ */
1512
+ type DeskMetric = typeof DeskMetric[keyof typeof DeskMetric];
1513
+ declare const DeskMetric: {
1514
+ readonly registrations: 'registrations';
1515
+ readonly active_users: 'active_users';
1516
+ readonly consumption_events: 'consumption_events';
1517
+ readonly consumed_units: 'consumed_units';
1518
+ readonly tutoring_requests: 'tutoring_requests';
1519
+ readonly settled_payment_amount: 'settled_payment_amount';
1520
+ };
1521
+ //#endregion
1522
+ //#region src/models/deskMetricValueRead.d.ts
1523
+ interface DeskMetricValueRead {
1524
+ additive: boolean;
1525
+ change?: string | null;
1526
+ definition: string;
1527
+ label: string;
1528
+ metric: DeskMetric;
1529
+ previousValue?: string | null;
1530
+ status?: string;
1531
+ unit: string;
1532
+ value?: string | null;
1533
+ }
1534
+ //#endregion
1535
+ //#region src/models/deskDashboardRead.d.ts
1536
+ interface DeskDashboardRead {
1537
+ coverageNotice?: string;
1538
+ metrics: DeskMetricValueRead[];
1539
+ observedAt: string;
1540
+ occurredFrom: string;
1541
+ occurredUntil: string;
1542
+ periodComplete: boolean;
1543
+ previousFrom: string;
1544
+ previousUntil: string;
1545
+ }
1546
+ //#endregion
1547
+ //#region src/models/deskDocumentRead.d.ts
1548
+ interface DeskDocumentRead {
1549
+ expiresAt?: string | null;
1550
+ id: string;
1551
+ isLapsed: boolean;
1552
+ issuedAt?: string | null;
1553
+ kind: string;
1554
+ practitioner: DeskReferenceRead;
1555
+ }
1556
+ //#endregion
1557
+ //#region src/models/deskDocumentPage.d.ts
1558
+ interface DeskDocumentPage {
1559
+ /** @maxItems 50 */
1560
+ data: DeskDocumentRead[];
1561
+ meta: DeskCursorMetaRead;
1562
+ }
1563
+ //#endregion
1564
+ //#region src/models/deskEntitlementRead.d.ts
1565
+ interface DeskEntitlementRead {
1566
+ /** @maxItems 20 */
1567
+ acts: DeskActLimitRead[];
1568
+ contractId: string;
1569
+ endsAt?: string | null;
1570
+ id: string;
1571
+ isActive: boolean;
1572
+ startsAt?: string | null;
1573
+ subject?: DeskSubjectRead | null;
1574
+ supplierId?: string | null;
1575
+ tenant: DeskReferenceRead;
1576
+ user?: DeskReferenceRead | null;
1577
+ }
1578
+ //#endregion
1579
+ //#region src/models/deskEntitlementPage.d.ts
1580
+ interface DeskEntitlementPage {
1581
+ /** @maxItems 50 */
1582
+ data: DeskEntitlementRead[];
1583
+ meta: DeskCursorMetaRead;
1584
+ }
1585
+ //#endregion
1586
+ //#region src/models/deskEntity.d.ts
1587
+ /**
1588
+ * Generated by orval 🍺
1589
+ * Do not edit manually.
1590
+ * Mozaik backend
1591
+ * 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.
1592
+ * OpenAPI spec version: 0.7.0
1593
+ */
1594
+ type DeskEntity = typeof DeskEntity[keyof typeof DeskEntity];
1595
+ declare const DeskEntity: {
1596
+ readonly tenant: 'tenant';
1597
+ readonly patron: 'patron';
1598
+ readonly contract: 'contract';
1599
+ readonly tutoring_request: 'tutoring_request';
1600
+ };
1601
+ //#endregion
1602
+ //#region src/models/deskExclusionRead.d.ts
1603
+ interface DeskExclusionRead {
1604
+ id: string;
1605
+ reason?: string | null;
1606
+ subject?: DeskSubjectRead | null;
1607
+ tenant: DeskReferenceRead;
1608
+ }
1609
+ //#endregion
1610
+ //#region src/models/deskExclusionPage.d.ts
1611
+ interface DeskExclusionPage {
1612
+ /** @maxItems 50 */
1613
+ data: DeskExclusionRead[];
1614
+ meta: DeskCursorMetaRead;
1615
+ }
1616
+ //#endregion
1617
+ //#region src/models/deskExplainAccessParams.d.ts
1618
+ type DeskExplainAccessParams = {
1619
+ tenantId?: number | null;
1620
+ /**
1621
+ * @minimum 1
1622
+ * @maximum 9223372036854776000
1623
+ */
1624
+ userId: number;
1625
+ source: DeskCatalogueSource;
1626
+ /**
1627
+ * @minimum 1
1628
+ * @maximum 9223372036854776000
1629
+ */
1630
+ id: number;
1631
+ act?: EntitlementAct;
1632
+ };
1633
+ //#endregion
1634
+ //#region src/models/deskFeedbackRead.d.ts
1635
+ interface DeskFeedbackRead {
1636
+ author?: DeskReferenceRead | null;
1637
+ commentPreview?: string | null;
1638
+ createdAt: string;
1639
+ id: string;
1640
+ isPublishable: boolean;
1641
+ rating: number;
1642
+ requestId: string;
1643
+ tenant: DeskReferenceRead;
1644
+ textTruncated: boolean;
1645
+ }
1646
+ //#endregion
1647
+ //#region src/models/deskFeedbackPage.d.ts
1648
+ interface DeskFeedbackPage {
1649
+ /** @maxItems 50 */
1650
+ data: DeskFeedbackRead[];
1651
+ meta: DeskCursorMetaRead;
1652
+ }
1653
+ //#endregion
1654
+ //#region src/models/deskFindPractitionersParams.d.ts
1655
+ type DeskFindPractitionersParams = {
1656
+ cursor?: string | null;
1657
+ /**
1658
+ * @minimum 1
1659
+ * @maximum 50
1660
+ */
1661
+ limit?: number;
1662
+ orderBy?: DeskOrder;
1663
+ includeTotal?: boolean;
1664
+ tenantId?: number | null;
1665
+ userId?: number | null;
1666
+ role?: ProductRole | null;
1667
+ capability?: string | null;
1668
+ subjectId?: number | null;
1669
+ levelId?: number | null;
1670
+ isAvailable?: boolean | null;
1671
+ lapsedDocuments?: boolean | null;
1672
+ };
1673
+ //#endregion
1674
+ //#region src/models/deskGetAuditEventParams.d.ts
1675
+ /**
1676
+ * Generated by orval 🍺
1677
+ * Do not edit manually.
1678
+ * Mozaik backend
1679
+ * 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.
1680
+ * OpenAPI spec version: 0.7.0
1681
+ */
1682
+ type DeskGetAuditEventParams = {
1683
+ /**
1684
+ * @minimum 1
1685
+ * @maximum 9223372036854776000
1686
+ */
1687
+ id: number;
1688
+ };
1689
+ //#endregion
1690
+ //#region src/models/deskGetCatalogueCollectionParams.d.ts
1691
+ type DeskGetCatalogueCollectionParams = {
1692
+ tenantId?: number | null;
1693
+ /**
1694
+ * @minimum 1
1695
+ * @maximum 9223372036854776000
1696
+ */
1697
+ userId: number;
1698
+ source: DeskCatalogueSource;
1699
+ /**
1700
+ * @minimum 1
1701
+ * @maximum 9223372036854776000
1702
+ */
1703
+ id: number;
1704
+ };
1705
+ //#endregion
1706
+ //#region src/models/deskGetCatalogueItemParams.d.ts
1707
+ type DeskGetCatalogueItemParams = {
1708
+ tenantId?: number | null;
1709
+ /**
1710
+ * @minimum 1
1711
+ * @maximum 9223372036854776000
1712
+ */
1713
+ userId: number;
1714
+ source: DeskCatalogueSource;
1715
+ /**
1716
+ * @minimum 1
1717
+ * @maximum 9223372036854776000
1718
+ */
1719
+ id: number;
1720
+ };
1721
+ //#endregion
1722
+ //#region src/models/deskGetConsumptionEventParams.d.ts
1723
+ /**
1724
+ * Generated by orval 🍺
1725
+ * Do not edit manually.
1726
+ * Mozaik backend
1727
+ * 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.
1728
+ * OpenAPI spec version: 0.7.0
1729
+ */
1730
+ type DeskGetConsumptionEventParams = {
1731
+ /**
1732
+ * @minimum 1
1733
+ * @maximum 9223372036854776000
1734
+ */
1735
+ id: number;
1736
+ };
1737
+ //#endregion
1738
+ //#region src/models/deskGetContractParams.d.ts
1739
+ /**
1740
+ * Generated by orval 🍺
1741
+ * Do not edit manually.
1742
+ * Mozaik backend
1743
+ * 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.
1744
+ * OpenAPI spec version: 0.7.0
1745
+ */
1746
+ type DeskGetContractParams = {
1747
+ /**
1748
+ * @minimum 1
1749
+ * @maximum 9223372036854776000
1750
+ */
1751
+ id: number;
1752
+ };
1753
+ //#endregion
1754
+ //#region src/models/deskGetIlsStatusParams.d.ts
1755
+ /**
1756
+ * Generated by orval 🍺
1757
+ * Do not edit manually.
1758
+ * Mozaik backend
1759
+ * 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.
1760
+ * OpenAPI spec version: 0.7.0
1761
+ */
1762
+ type DeskGetIlsStatusParams = {
1763
+ tenantId?: number | null;
1764
+ /**
1765
+ * @minimum 1
1766
+ * @maximum 9223372036854776000
1767
+ */
1768
+ userId: number;
1769
+ };
1770
+ //#endregion
1771
+ //#region src/models/deskGetLoanParams.d.ts
1772
+ /**
1773
+ * Generated by orval 🍺
1774
+ * Do not edit manually.
1775
+ * Mozaik backend
1776
+ * 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.
1777
+ * OpenAPI spec version: 0.7.0
1778
+ */
1779
+ type DeskGetLoanParams = {
1780
+ /**
1781
+ * @minimum 1
1782
+ * @maximum 9223372036854776000
1783
+ */
1784
+ id: number;
1785
+ };
1786
+ //#endregion
1787
+ //#region src/models/deskGetPatronActivityParams.d.ts
1788
+ type DeskGetPatronActivityParams = {
1789
+ cursor?: string | null;
1790
+ /**
1791
+ * @minimum 1
1792
+ * @maximum 50
1793
+ */
1794
+ limit?: number;
1795
+ orderBy?: DeskOrder;
1796
+ includeTotal?: boolean;
1797
+ tenantId?: number | null;
1798
+ /**
1799
+ * @minimum 1
1800
+ * @maximum 9223372036854776000
1801
+ */
1802
+ userId: number;
1803
+ };
1804
+ //#endregion
1805
+ //#region src/models/deskGetPatronServicesParams.d.ts
1806
+ type DeskGetPatronServicesParams = {
1807
+ cursor?: string | null;
1808
+ /**
1809
+ * @minimum 1
1810
+ * @maximum 50
1811
+ */
1812
+ limit?: number;
1813
+ orderBy?: DeskOrder;
1814
+ includeTotal?: boolean;
1815
+ tenantId?: number | null;
1816
+ /**
1817
+ * @minimum 1
1818
+ * @maximum 9223372036854776000
1819
+ */
1820
+ userId: number;
1821
+ };
1822
+ //#endregion
1823
+ //#region src/models/deskGetPaymentParams.d.ts
1824
+ /**
1825
+ * Generated by orval 🍺
1826
+ * Do not edit manually.
1827
+ * Mozaik backend
1828
+ * 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.
1829
+ * OpenAPI spec version: 0.7.0
1830
+ */
1831
+ type DeskGetPaymentParams = {
1832
+ /**
1833
+ * @minimum 1
1834
+ * @maximum 9223372036854776000
1835
+ */
1836
+ id: number;
1837
+ };
1838
+ //#endregion
1839
+ //#region src/models/deskGetPractitionerParams.d.ts
1840
+ /**
1841
+ * Generated by orval 🍺
1842
+ * Do not edit manually.
1843
+ * Mozaik backend
1844
+ * 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.
1845
+ * OpenAPI spec version: 0.7.0
1846
+ */
1847
+ type DeskGetPractitionerParams = {
1848
+ /**
1849
+ * @minimum 1
1850
+ * @maximum 9223372036854776000
1851
+ */
1852
+ id: number;
1853
+ };
1854
+ //#endregion
1855
+ //#region src/models/deskGetReadingProgressParams.d.ts
1856
+ /**
1857
+ * Generated by orval 🍺
1858
+ * Do not edit manually.
1859
+ * Mozaik backend
1860
+ * 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.
1861
+ * OpenAPI spec version: 0.7.0
1862
+ */
1863
+ type DeskGetReadingProgressParams = {
1864
+ tenantId?: number | null;
1865
+ /**
1866
+ * @minimum 1
1867
+ * @maximum 9223372036854776000
1868
+ */
1869
+ userId: number;
1870
+ contentId?: number | null;
1871
+ workId?: number | null;
1872
+ };
1873
+ //#endregion
1874
+ //#region src/models/deskGetReviewParams.d.ts
1875
+ /**
1876
+ * Generated by orval 🍺
1877
+ * Do not edit manually.
1878
+ * Mozaik backend
1879
+ * 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.
1880
+ * OpenAPI spec version: 0.7.0
1881
+ */
1882
+ type DeskGetReviewParams = {
1883
+ /**
1884
+ * @minimum 1
1885
+ * @maximum 9223372036854776000
1886
+ */
1887
+ id: number;
1888
+ };
1889
+ //#endregion
1890
+ //#region src/models/deskGetTenantIntegrationsParams.d.ts
1891
+ /**
1892
+ * Generated by orval 🍺
1893
+ * Do not edit manually.
1894
+ * Mozaik backend
1895
+ * 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.
1896
+ * OpenAPI spec version: 0.7.0
1897
+ */
1898
+ type DeskGetTenantIntegrationsParams = {
1899
+ /**
1900
+ * @minimum 1
1901
+ * @maximum 9223372036854776000
1902
+ */
1903
+ id: number;
1904
+ };
1905
+ //#endregion
1906
+ //#region src/models/deskGetTutoringAnswerParams.d.ts
1907
+ /**
1908
+ * Generated by orval 🍺
1909
+ * Do not edit manually.
1910
+ * Mozaik backend
1911
+ * 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.
1912
+ * OpenAPI spec version: 0.7.0
1913
+ */
1914
+ type DeskGetTutoringAnswerParams = {
1915
+ /**
1916
+ * @minimum 1
1917
+ * @maximum 9223372036854776000
1918
+ */
1919
+ id: number;
1920
+ };
1921
+ //#endregion
1922
+ //#region src/models/deskGetUsageLimitsParams.d.ts
1923
+ type DeskGetUsageLimitsParams = {
1924
+ tenantId?: number | null;
1925
+ /**
1926
+ * @minimum 1
1927
+ * @maximum 9223372036854776000
1928
+ */
1929
+ userId: number;
1930
+ source: DeskCatalogueSource;
1931
+ /**
1932
+ * @minimum 1
1933
+ * @maximum 9223372036854776000
1934
+ */
1935
+ id: number;
1936
+ act?: EntitlementAct;
1937
+ };
1938
+ //#endregion
1939
+ //#region src/models/deskGrantRead.d.ts
1940
+ interface DeskGrantRead {
1941
+ grantedAt: string;
1942
+ product: Product;
1943
+ role: string;
1944
+ tenant: DeskReferenceRead;
1945
+ }
1946
+ //#endregion
1947
+ //#region src/models/deskIlsRead.d.ts
1948
+ interface DeskIlsRead {
1949
+ cachedPatronSession: boolean;
1950
+ supported: boolean;
1951
+ tenant: DeskReferenceRead;
1952
+ upstreamProbed?: boolean;
1953
+ vendor?: string | null;
1954
+ }
1955
+ //#endregion
1956
+ //#region src/models/deskIntegrationRead.d.ts
1957
+ interface DeskIntegrationRead {
1958
+ ilsSupported: boolean;
1959
+ ilsVendor?: string | null;
1960
+ paymentProvider: string;
1961
+ tenant: DeskReferenceRead;
1962
+ upstreamProbed?: boolean;
1963
+ }
1964
+ //#endregion
1965
+ //#region src/models/deskInterval.d.ts
1966
+ /**
1967
+ * Generated by orval 🍺
1968
+ * Do not edit manually.
1969
+ * Mozaik backend
1970
+ * 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.
1971
+ * OpenAPI spec version: 0.7.0
1972
+ */
1973
+ type DeskInterval = typeof DeskInterval[keyof typeof DeskInterval];
1974
+ declare const DeskInterval: {
1975
+ readonly day: 'day';
1976
+ readonly week: 'week';
1977
+ readonly month: 'month';
1978
+ };
1979
+ //#endregion
1980
+ //#region src/models/deskLicenseBucketRead.d.ts
1981
+ /**
1982
+ * Generated by orval 🍺
1983
+ * Do not edit manually.
1984
+ * Mozaik backend
1985
+ * 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.
1986
+ * OpenAPI spec version: 0.7.0
1987
+ */
1988
+ interface DeskLicenseBucketRead {
1989
+ active: number;
1990
+ inactive: number;
1991
+ provider: string;
1992
+ unassigned: number;
1993
+ }
1994
+ //#endregion
1995
+ //#region src/models/deskLicenseSummaryRead.d.ts
1996
+ interface DeskLicenseSummaryRead {
1997
+ byProvider: DeskLicenseBucketRead[];
1998
+ observedAt: string;
1999
+ source?: string;
2000
+ }
2001
+ //#endregion
2002
+ //#region src/models/deskListAuditEventsParams.d.ts
2003
+ type DeskListAuditEventsParams = {
2004
+ cursor?: string | null;
2005
+ /**
2006
+ * @minimum 1
2007
+ * @maximum 50
2008
+ */
2009
+ limit?: number;
2010
+ orderBy?: DeskOrder;
2011
+ includeTotal?: boolean;
2012
+ tenantId?: number | null;
2013
+ userId?: number | null;
2014
+ occurredFrom?: string | null;
2015
+ occurredUntil?: string | null;
2016
+ action?: string | null;
2017
+ };
2018
+ //#endregion
2019
+ //#region src/models/deskListCatalogueCollectionsParams.d.ts
2020
+ type DeskListCatalogueCollectionsParams = {
2021
+ cursor?: string | null;
2022
+ /**
2023
+ * @minimum 1
2024
+ * @maximum 50
2025
+ */
2026
+ limit?: number;
2027
+ orderBy?: DeskOrder;
2028
+ includeTotal?: boolean;
2029
+ tenantId?: number | null;
2030
+ /**
2031
+ * @minimum 1
2032
+ * @maximum 9223372036854776000
2033
+ */
2034
+ userId: number;
2035
+ source: DeskCatalogueSource;
2036
+ q?: string | null;
2037
+ };
2038
+ //#endregion
2039
+ //#region src/models/deskListConsumptionEventsParams.d.ts
2040
+ type DeskListConsumptionEventsParams = {
2041
+ cursor?: string | null;
2042
+ /**
2043
+ * @minimum 1
2044
+ * @maximum 50
2045
+ */
2046
+ limit?: number;
2047
+ orderBy?: DeskOrder;
2048
+ includeTotal?: boolean;
2049
+ tenantId?: number | null;
2050
+ userId?: number | null;
2051
+ occurredFrom?: string | null;
2052
+ occurredUntil?: string | null;
2053
+ act?: EntitlementAct | null;
2054
+ subjectKind?: SubjectKind | null;
2055
+ subjectId?: number | null;
2056
+ contractId?: number | null;
2057
+ grantId?: number | null;
2058
+ isReported?: boolean | null;
2059
+ liveOnly?: boolean;
2060
+ };
2061
+ //#endregion
2062
+ //#region src/models/deskListContentRatingsParams.d.ts
2063
+ type DeskListContentRatingsParams = {
2064
+ cursor?: string | null;
2065
+ /**
2066
+ * @minimum 1
2067
+ * @maximum 50
2068
+ */
2069
+ limit?: number;
2070
+ orderBy?: DeskOrder;
2071
+ includeTotal?: boolean;
2072
+ tenantId?: number | null;
2073
+ userId?: number | null;
2074
+ occurredFrom?: string | null;
2075
+ occurredUntil?: string | null;
2076
+ contentId?: number | null;
2077
+ };
2078
+ //#endregion
2079
+ //#region src/models/deskListContractsParams.d.ts
2080
+ type DeskListContractsParams = {
2081
+ cursor?: string | null;
2082
+ /**
2083
+ * @minimum 1
2084
+ * @maximum 50
2085
+ */
2086
+ limit?: number;
2087
+ orderBy?: DeskOrder;
2088
+ includeTotal?: boolean;
2089
+ tenantId?: number | null;
2090
+ isActive?: boolean | null;
2091
+ };
2092
+ //#endregion
2093
+ //#region src/models/deskListEntitlementExclusionsParams.d.ts
2094
+ type DeskListEntitlementExclusionsParams = {
2095
+ cursor?: string | null;
2096
+ /**
2097
+ * @minimum 1
2098
+ * @maximum 50
2099
+ */
2100
+ limit?: number;
2101
+ orderBy?: DeskOrder;
2102
+ includeTotal?: boolean;
2103
+ tenantId?: number | null;
2104
+ workId?: number | null;
2105
+ contentId?: number | null;
2106
+ categoryId?: number | null;
2107
+ };
2108
+ //#endregion
2109
+ //#region src/models/deskListEntitlementGrantsParams.d.ts
2110
+ type DeskListEntitlementGrantsParams = {
2111
+ cursor?: string | null;
2112
+ /**
2113
+ * @minimum 1
2114
+ * @maximum 50
2115
+ */
2116
+ limit?: number;
2117
+ orderBy?: DeskOrder;
2118
+ includeTotal?: boolean;
2119
+ tenantId?: number | null;
2120
+ isActive?: boolean | null;
2121
+ contractId?: number | null;
2122
+ userId?: number | null;
2123
+ };
2124
+ //#endregion
2125
+ //#region src/models/deskListExpiringDocumentsParams.d.ts
2126
+ type DeskListExpiringDocumentsParams = {
2127
+ cursor?: string | null;
2128
+ /**
2129
+ * @minimum 1
2130
+ * @maximum 50
2131
+ */
2132
+ limit?: number;
2133
+ orderBy?: DeskOrder;
2134
+ includeTotal?: boolean;
2135
+ tenantId?: number | null;
2136
+ userId?: number | null;
2137
+ /**
2138
+ * @minimum 0
2139
+ * @maximum 365
2140
+ */
2141
+ withinDays?: number;
2142
+ };
2143
+ //#endregion
2144
+ //#region src/models/deskListLiveLeasesParams.d.ts
2145
+ type DeskListLiveLeasesParams = {
2146
+ cursor?: string | null;
2147
+ /**
2148
+ * @minimum 1
2149
+ * @maximum 50
2150
+ */
2151
+ limit?: number;
2152
+ orderBy?: DeskOrder;
2153
+ includeTotal?: boolean;
2154
+ tenantId?: number | null;
2155
+ userId?: number | null;
2156
+ occurredFrom?: string | null;
2157
+ occurredUntil?: string | null;
2158
+ act?: EntitlementAct | null;
2159
+ subjectKind?: SubjectKind | null;
2160
+ subjectId?: number | null;
2161
+ contractId?: number | null;
2162
+ grantId?: number | null;
2163
+ isReported?: boolean | null;
2164
+ liveOnly?: boolean;
2165
+ };
2166
+ //#endregion
2167
+ //#region src/models/deskListLoansParams.d.ts
2168
+ type DeskListLoansParams = {
2169
+ cursor?: string | null;
2170
+ /**
2171
+ * @minimum 1
2172
+ * @maximum 50
2173
+ */
2174
+ limit?: number;
2175
+ orderBy?: DeskOrder;
2176
+ includeTotal?: boolean;
2177
+ tenantId?: number | null;
2178
+ userId?: number | null;
2179
+ occurredFrom?: string | null;
2180
+ occurredUntil?: string | null;
2181
+ act?: EntitlementAct | null;
2182
+ subjectKind?: SubjectKind | null;
2183
+ subjectId?: number | null;
2184
+ contractId?: number | null;
2185
+ grantId?: number | null;
2186
+ isReported?: boolean | null;
2187
+ liveOnly?: boolean;
2188
+ };
2189
+ //#endregion
2190
+ //#region src/models/deskListPatronProfilesParams.d.ts
2191
+ type DeskListPatronProfilesParams = {
2192
+ cursor?: string | null;
2193
+ /**
2194
+ * @minimum 1
2195
+ * @maximum 50
2196
+ */
2197
+ limit?: number;
2198
+ orderBy?: DeskOrder;
2199
+ includeTotal?: boolean;
2200
+ tenantId?: number | null;
2201
+ /**
2202
+ * @minimum 1
2203
+ * @maximum 9223372036854776000
2204
+ */
2205
+ userId: number;
2206
+ };
2207
+ //#endregion
2208
+ //#region src/models/deskListPatronsParams.d.ts
2209
+ type DeskListPatronsParams = {
2210
+ cursor?: string | null;
2211
+ /**
2212
+ * @minimum 1
2213
+ * @maximum 50
2214
+ */
2215
+ limit?: number;
2216
+ orderBy?: DeskOrder;
2217
+ includeTotal?: boolean;
2218
+ tenantId?: number | null;
2219
+ q?: string | null;
2220
+ isActive?: boolean | null;
2221
+ pendingOnly?: boolean | null;
2222
+ product?: Product | null;
2223
+ };
2224
+ //#endregion
2225
+ //#region src/models/paymentStatus.d.ts
2226
+ /**
2227
+ * Generated by orval 🍺
2228
+ * Do not edit manually.
2229
+ * Mozaik backend
2230
+ * 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.
2231
+ * OpenAPI spec version: 0.7.0
2232
+ */
2233
+ /**
2234
+ * Where a top-up is in its life. Legacy ``paiement_abonnement.status``.
2235
+ *
2236
+ * The legacy stores the four ``PBX_STATUT_*`` integers from
2237
+ * ``v1/config.inc.php``, named for Paybox and now carried by PayPal — which is
2238
+ * why the constants say ``PBX`` and the code calls ``createPaypalOrder``. The
2239
+ * integers are kept as the wire values so rows already written keep meaning
2240
+ * what they meant.
2241
+ *
2242
+ * ``PENDING`` is the only state a payment may be created in, and only the
2243
+ * provider's server-to-server callback may move it out.
2244
+ */
2245
+ type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
2246
+ declare const PaymentStatus: {
2247
+ readonly pending: 'pending';
2248
+ readonly settled: 'settled';
2249
+ readonly declined: 'declined';
2250
+ readonly awaiting: 'awaiting';
2251
+ };
2252
+ //#endregion
2253
+ //#region src/models/deskListPaymentsParams.d.ts
2254
+ type DeskListPaymentsParams = {
2255
+ cursor?: string | null;
2256
+ /**
2257
+ * @minimum 1
2258
+ * @maximum 50
2259
+ */
2260
+ limit?: number;
2261
+ orderBy?: DeskOrder;
2262
+ includeTotal?: boolean;
2263
+ tenantId?: number | null;
2264
+ userId?: number | null;
2265
+ occurredFrom?: string | null;
2266
+ occurredUntil?: string | null;
2267
+ status?: PaymentStatus | null;
2268
+ };
2269
+ //#endregion
2270
+ //#region src/models/deskListPractitionerDocumentsParams.d.ts
2271
+ type DeskListPractitionerDocumentsParams = {
2272
+ cursor?: string | null;
2273
+ /**
2274
+ * @minimum 1
2275
+ * @maximum 50
2276
+ */
2277
+ limit?: number;
2278
+ orderBy?: DeskOrder;
2279
+ includeTotal?: boolean;
2280
+ tenantId?: number | null;
2281
+ userId?: number | null;
2282
+ /**
2283
+ * @minimum 0
2284
+ * @maximum 365
2285
+ */
2286
+ withinDays?: number;
2287
+ };
2288
+ //#endregion
2289
+ //#region src/models/reviewState.d.ts
2290
+ /**
2291
+ * Generated by orval 🍺
2292
+ * Do not edit manually.
2293
+ * Mozaik backend
2294
+ * 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.
2295
+ * OpenAPI spec version: 0.7.0
2296
+ */
2297
+ /**
2298
+ * ``avis.state``. Values recovered from the moderation screens.
2299
+ *
2300
+ * Unconstrained in the schema — the column is a ``tinyint`` with no decoder —
2301
+ * so this names what the API accepts, not what the column is known to hold.
2302
+ */
2303
+ type ReviewState = typeof ReviewState[keyof typeof ReviewState];
2304
+ declare const ReviewState: {
2305
+ readonly pending: 'pending';
2306
+ readonly published: 'published';
2307
+ readonly rejected: 'rejected';
2308
+ };
2309
+ //#endregion
2310
+ //#region src/models/deskListReviewsParams.d.ts
2311
+ type DeskListReviewsParams = {
2312
+ cursor?: string | null;
2313
+ /**
2314
+ * @minimum 1
2315
+ * @maximum 50
2316
+ */
2317
+ limit?: number;
2318
+ orderBy?: DeskOrder;
2319
+ includeTotal?: boolean;
2320
+ tenantId?: number | null;
2321
+ state?: ReviewState | null;
2322
+ };
2323
+ //#endregion
2324
+ //#region src/models/tenantKind.d.ts
2325
+ /**
2326
+ * Generated by orval 🍺
2327
+ * Do not edit manually.
2328
+ * Mozaik backend
2329
+ * 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.
2330
+ * OpenAPI spec version: 0.7.0
2331
+ */
2332
+ /**
2333
+ * What sort of organisation a tenant is.
2334
+ *
2335
+ * VENDOR is the operator itself and sits at the root of the tree; internal staff
2336
+ * are its users. CONSORTIUM covers a département or network portal that owns
2337
+ * member libraries beneath it.
2338
+ *
2339
+ * Merged from biblio's ``ClientTypeFactory::dbCode()`` and the CVS tenant list.
2340
+ * Unconstrained until the full ``bm`` value set is known.
2341
+ *
2342
+ * Note the lossy code: ``dbCode()`` maps **six** client types onto **five**
2343
+ * letters — RATTA (a *rattachement*, an affiliated site) and MED both emit
2344
+ * ``'M'``, and ``'C'`` is also the default arm, absorbing anything
2345
+ * unrecognised. So the stored letter cannot distinguish an affiliated site from
2346
+ * a plain library. Here that distinction is carried structurally instead: an
2347
+ * affiliated site is a LIBRARY with a non-null ``parent_id``. Keep
2348
+ * ``kind_detail`` until the raw values confirm nothing else is encoded.
2349
+ */
2350
+ type TenantKind = typeof TenantKind[keyof typeof TenantKind];
2351
+ declare const TenantKind: {
2352
+ readonly vendor: 'vendor';
2353
+ readonly consortium: 'consortium';
2354
+ readonly library: 'library';
2355
+ readonly works_council: 'works_council';
2356
+ readonly corporate: 'corporate';
2357
+ readonly small_business: 'small_business';
2358
+ readonly school: 'school';
2359
+ };
2360
+ //#endregion
2361
+ //#region src/models/deskListTenantsParams.d.ts
2362
+ type DeskListTenantsParams = {
2363
+ cursor?: string | null;
2364
+ /**
2365
+ * @minimum 1
2366
+ * @maximum 50
2367
+ */
2368
+ limit?: number;
2369
+ orderBy?: DeskOrder;
2370
+ includeTotal?: boolean;
2371
+ tenantId?: number | null;
2372
+ q?: string | null;
2373
+ parentId?: number | null;
2374
+ kind?: TenantKind | null;
2375
+ isActive?: boolean | null;
2376
+ };
2377
+ //#endregion
2378
+ //#region src/models/deskListTutoringFeedbackParams.d.ts
2379
+ type DeskListTutoringFeedbackParams = {
2380
+ cursor?: string | null;
2381
+ /**
2382
+ * @minimum 1
2383
+ * @maximum 50
2384
+ */
2385
+ limit?: number;
2386
+ orderBy?: DeskOrder;
2387
+ includeTotal?: boolean;
2388
+ tenantId?: number | null;
2389
+ userId?: number | null;
2390
+ occurredFrom?: string | null;
2391
+ occurredUntil?: string | null;
2392
+ requestId?: number | null;
2393
+ isPublishable?: boolean | null;
2394
+ };
2395
+ //#endregion
2396
+ //#region src/models/tutoringChannel.d.ts
2397
+ /**
2398
+ * Generated by orval 🍺
2399
+ * Do not edit manually.
2400
+ * Mozaik backend
2401
+ * 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.
2402
+ * OpenAPI spec version: 0.7.0
2403
+ */
2404
+ /**
2405
+ * How the answer reaches the pupil.
2406
+ *
2407
+ * Orthogonal to :class:`TutoringKind`: any kind can be delivered by any
2408
+ * channel the tenant has enabled, and a request legitimately changes channel
2409
+ * mid-flight — the legacy's ``differed_to_live`` and ``ai_to_live`` are both
2410
+ * that transition, recorded as booleans because the schema had nowhere to put
2411
+ * a channel.
2412
+ */
2413
+ type TutoringChannel = typeof TutoringChannel[keyof typeof TutoringChannel];
2414
+ declare const TutoringChannel: {
2415
+ readonly chat: 'chat';
2416
+ readonly classroom: 'classroom';
2417
+ readonly phone: 'phone';
2418
+ readonly written: 'written';
2419
+ readonly ai: 'ai';
2420
+ };
2421
+ //#endregion
2422
+ //#region src/models/tutoringKind.d.ts
2423
+ /**
2424
+ * Generated by orval 🍺
2425
+ * Do not edit manually.
2426
+ * Mozaik backend
2427
+ * 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.
2428
+ * OpenAPI spec version: 0.7.0
2429
+ */
2430
+ /**
2431
+ * What is being asked for.
2432
+ *
2433
+ * Replaces six independent booleans on ``inquiries`` — ``for_librarian``,
2434
+ * ``for_grand_oral``, ``for_ai``, ``for_coach``, ``parents_web_advice`` and
2435
+ * (in the archives) ``for_school_counselor`` / ``for_psychologist``. Six flags
2436
+ * describe 64 states, of which a handful are meaningful and none is documented;
2437
+ * one enum describes exactly the states that exist.
2438
+ *
2439
+ * Two of those flags are **not** kinds and are modelled elsewhere: ``for_ai``
2440
+ * is a delivery channel (:class:`TutoringChannel`), and ``differed_to_live`` is
2441
+ * a transition between channels rather than a state.
2442
+ *
2443
+ * Provisional in one respect: whether the legacy flags are mutually exclusive
2444
+ * in the data is answered by section F of ``tools/profexpress_probe.sql``,
2445
+ * which groups the live combinations. If a real row carries two at once, that
2446
+ * combination needs a value here rather than a second column.
2447
+ */
2448
+ type TutoringKind = typeof TutoringKind[keyof typeof TutoringKind];
2449
+ declare const TutoringKind: {
2450
+ readonly homework: 'homework';
2451
+ readonly grand_oral: 'grand_oral';
2452
+ readonly coaching: 'coaching';
2453
+ readonly orientation: 'orientation';
2454
+ readonly librarian: 'librarian';
2455
+ readonly parent_advice: 'parent_advice';
2456
+ };
2457
+ //#endregion
2458
+ //#region src/models/tutoringStatus.d.ts
2459
+ /**
2460
+ * Generated by orval 🍺
2461
+ * Do not edit manually.
2462
+ * Mozaik backend
2463
+ * 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.
2464
+ * OpenAPI spec version: 0.7.0
2465
+ */
2466
+ /**
2467
+ * Where a request has got to.
2468
+ *
2469
+ * The legacy vocabulary is now known rather than guessed. ``InquiryStatus``
2470
+ * holds no fixture, but ``InquiryStatus::getHrList()`` names ids 1-13 and
2471
+ * ``AdminInquiriesController::applyStatusFilter`` maps each id to its initials,
2472
+ * which together give the complete set — twelve initials, not the four that
2473
+ * appear in ``whereInitials(...)`` calls:
2474
+ *
2475
+ * ==== ============================ ========= ========= =======================
2476
+ * id name initials type_id maps to
2477
+ * ==== ============================ ========= ========= =======================
2478
+ * 1 En édition ``E`` -- :attr:`DRAFT`
2479
+ * 2 Différées enregistrées ``R`` 2 :attr:`SUBMITTED` + WRITTEN
2480
+ * 3 Live en chat ``CHA`` 1 :attr:`SUBMITTED` + CHAT
2481
+ * 4 Différées validées ``V`` 2 :attr:`DISPATCHED` + WRITTEN
2482
+ * 5 Live validées ``V`` 1 :attr:`DISPATCHED` + CHAT
2483
+ * 6 Succès ``S`` -- :attr:`SUCCEEDED`
2484
+ * 7 Echec ``F`` -- :attr:`FAILED`
2485
+ * 8 Annulation du RDV ``CAN`` -- :attr:`CANCELLED`
2486
+ * 9 Non-présentation au RDV ``ABS`` -- FAILED + ``no_show``
2487
+ * 10 Problème compte ``NI`` -- FAILED + ``account_problem``
2488
+ * 11 Problème compte traité ``FIX`` -- back to DISPATCHED
2489
+ * 12 Problème mot de passe ``MDP`` -- FAILED + ``password_problem``
2490
+ * 13 Autre *(none)* -- anything not above
2491
+ * -- Abandon ``A`` -- :attr:`EXPIRED`
2492
+ * ==== ============================ ========= ========= =======================
2493
+ *
2494
+ * **The important find: ``V`` is ambiguous on its own.** Ids 4 and 5 share it
2495
+ * and are told apart by ``type_id`` — 1 is live, 2 is *différé*. So a legacy
2496
+ * status is the pair ``(initials, type_id)``, which is exactly why this enum
2497
+ * carries no channel: state and delivery are two axes, and the legacy conflated
2498
+ * them into one lookup table with duplicate initials.
2499
+ *
2500
+ * Three of the twelve are not states at all. ``ABS``, ``NI`` and ``MDP``
2501
+ * describe *why* a request stopped, so they are
2502
+ * :class:`TutoringCloseReason` values on a FAILED request; and ``FIX`` is a
2503
+ * transition back into the queue rather than a resting place. Modelling them as
2504
+ * statuses is what forces the legacy to ask "is this status final?" with a
2505
+ * hard-coded list of names (``InquiryStatus::final``).
2506
+ *
2507
+ * :attr:`TRIAGED`, :attr:`CLAIMED` and :attr:`ANSWERED` have no legacy status
2508
+ * at all — the legacy records those moments only as timestamps, which is why
2509
+ * "how long did triage take" is a question its own reporting code has to
2510
+ * subtract to answer.
2511
+ */
2512
+ type TutoringStatus = typeof TutoringStatus[keyof typeof TutoringStatus];
2513
+ declare const TutoringStatus: {
2514
+ readonly draft: 'draft';
2515
+ readonly submitted: 'submitted';
2516
+ readonly triaged: 'triaged';
2517
+ readonly dispatched: 'dispatched';
2518
+ readonly claimed: 'claimed';
2519
+ readonly answered: 'answered';
2520
+ readonly succeeded: 'succeeded';
2521
+ readonly failed: 'failed';
2522
+ readonly cancelled: 'cancelled';
2523
+ readonly expired: 'expired';
2524
+ };
2525
+ //#endregion
2526
+ //#region src/models/deskListTutoringRequestsParams.d.ts
2527
+ type DeskListTutoringRequestsParams = {
2528
+ cursor?: string | null;
2529
+ /**
2530
+ * @minimum 1
2531
+ * @maximum 50
2532
+ */
2533
+ limit?: number;
2534
+ orderBy?: DeskOrder;
2535
+ includeTotal?: boolean;
2536
+ tenantId?: number | null;
2537
+ status?: TutoringStatus | null;
2538
+ kind?: TutoringKind | null;
2539
+ channel?: TutoringChannel | null;
2540
+ subjectId?: number | null;
2541
+ levelId?: number | null;
2542
+ submittedFrom?: string | null;
2543
+ submittedUntil?: string | null;
2544
+ };
2545
+ //#endregion
2546
+ //#region src/models/deskLoansSummaryParams.d.ts
2547
+ type DeskLoansSummaryParams = {
2548
+ tenantId?: number | null;
2549
+ userId?: number | null;
2550
+ occurredFrom?: string | null;
2551
+ occurredUntil?: string | null;
2552
+ act?: EntitlementAct | null;
2553
+ subjectKind?: SubjectKind | null;
2554
+ subjectId?: number | null;
2555
+ contractId?: number | null;
2556
+ grantId?: number | null;
2557
+ isReported?: boolean | null;
2558
+ liveOnly?: boolean;
2559
+ };
2560
+ //#endregion
2561
+ //#region src/models/deskMetricDefinitionRead.d.ts
2562
+ interface DeskMetricDefinitionRead {
2563
+ additive: boolean;
2564
+ definition: string;
2565
+ label: string;
2566
+ metric: DeskMetric;
2567
+ unit: string;
2568
+ }
2569
+ //#endregion
2570
+ //#region src/models/deskMetricPointRead.d.ts
2571
+ /**
2572
+ * Generated by orval 🍺
2573
+ * Do not edit manually.
2574
+ * Mozaik backend
2575
+ * 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.
2576
+ * OpenAPI spec version: 0.7.0
2577
+ */
2578
+ interface DeskMetricPointRead {
2579
+ endsAt: string;
2580
+ startsAt: string;
2581
+ value: string;
2582
+ }
2583
+ //#endregion
2584
+ //#region src/models/deskMetricTimeseriesParams.d.ts
2585
+ type DeskMetricTimeseriesParams = {
2586
+ tenantId?: number | null;
2587
+ occurredFrom: string;
2588
+ occurredUntil: string;
2589
+ metric: DeskMetric;
2590
+ interval?: DeskInterval;
2591
+ /**
2592
+ * @minLength 1
2593
+ * @maxLength 64
2594
+ */
2595
+ timezone?: string;
2596
+ };
2597
+ //#endregion
2598
+ //#region src/models/partnerProvider.d.ts
2599
+ /**
2600
+ * Generated by orval 🍺
2601
+ * Do not edit manually.
2602
+ * Mozaik backend
2603
+ * 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.
2604
+ * OpenAPI spec version: 0.7.0
2605
+ */
2606
+ /**
2607
+ * A partner whose catalogue and reader we host directly.
2608
+ *
2609
+ * Names both halves of the integration: the seat pool
2610
+ * (:class:`~app.models.biblio.license.PartnerLicense`) and the ingested
2611
+ * catalogue (``app.models.partner.catalogue``). One enum rather than two
2612
+ * because a provider is a provider — a licence for Nextory and a Nextory media
2613
+ * row are the same partner seen from two sides.
2614
+ *
2615
+ * Distinct from :class:`BookSource`, which says which feed produced a *biblio*
2616
+ * ``book`` row. The two vocabularies overlap on ``nextory`` and will keep
2617
+ * overlapping: the partner catalogue is deliberately a separate subsystem from
2618
+ * ``book``/``book_content_link``, bridged rather than merged.
2619
+ */
2620
+ type PartnerProvider = typeof PartnerProvider[keyof typeof PartnerProvider];
2621
+ declare const PartnerProvider: {
2622
+ readonly nextory: 'nextory';
2623
+ readonly youscribe: 'youscribe';
2624
+ };
2625
+ //#endregion
2626
+ //#region src/models/deskPartnerLicenseSummaryParams.d.ts
2627
+ type DeskPartnerLicenseSummaryParams = {
2628
+ tenantId?: number | null;
2629
+ provider?: PartnerProvider | null;
2630
+ };
2631
+ //#endregion
2632
+ //#region src/models/deskPatronRead.d.ts
2633
+ interface DeskPatronRead {
2634
+ id: string;
2635
+ isActive: boolean;
2636
+ isPendingActivation: boolean;
2637
+ lastLoginAt: string | null;
2638
+ name: string;
2639
+ registeredAt: string;
2640
+ subscriptionEndsAt: string | null;
2641
+ tenant: DeskReferenceRead;
2642
+ }
2643
+ //#endregion
2644
+ //#region src/models/deskPatronActivityPage.d.ts
2645
+ interface DeskPatronActivityPage {
2646
+ /** @maxItems 50 */
2647
+ data: DeskConsumptionRead[];
2648
+ meta: DeskCursorMetaRead;
2649
+ patron: DeskPatronRead;
2650
+ }
2651
+ //#endregion
2652
+ //#region src/models/deskPatronDetailRead.d.ts
2653
+ interface DeskPatronDetailRead {
2654
+ id: string;
2655
+ isActive: boolean;
2656
+ isPendingActivation: boolean;
2657
+ lastLoginAt: string | null;
2658
+ name: string;
2659
+ productRoles: DeskGrantRead[];
2660
+ registeredAt: string;
2661
+ subscriptionEndsAt: string | null;
2662
+ tenant: DeskReferenceRead;
2663
+ }
2664
+ //#endregion
2665
+ //#region src/models/deskPatronPage.d.ts
2666
+ interface DeskPatronPage {
2667
+ data: DeskPatronRead[];
2668
+ meta: DeskCursorMetaRead;
2669
+ }
2670
+ //#endregion
2671
+ //#region src/models/deskPaymentBucketRead.d.ts
2672
+ /**
2673
+ * Generated by orval 🍺
2674
+ * Do not edit manually.
2675
+ * Mozaik backend
2676
+ * 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.
2677
+ * OpenAPI spec version: 0.7.0
2678
+ */
2679
+ interface DeskPaymentBucketRead {
2680
+ amount: string;
2681
+ count: number;
2682
+ status: string;
2683
+ }
2684
+ //#endregion
2685
+ //#region src/models/deskPaymentRead.d.ts
2686
+ interface DeskPaymentRead {
2687
+ amount: string;
2688
+ createdAt?: string | null;
2689
+ currency?: string;
2690
+ endsAt?: string | null;
2691
+ id: string;
2692
+ startsAt?: string | null;
2693
+ status: string;
2694
+ statusCode: number;
2695
+ tenant?: DeskReferenceRead | null;
2696
+ user?: DeskReferenceRead | null;
2697
+ }
2698
+ //#endregion
2699
+ //#region src/models/deskPaymentPage.d.ts
2700
+ interface DeskPaymentPage {
2701
+ /** @maxItems 50 */
2702
+ data: DeskPaymentRead[];
2703
+ meta: DeskCursorMetaRead;
2704
+ }
2705
+ //#endregion
2706
+ //#region src/models/deskPaymentsSummaryParams.d.ts
2707
+ type DeskPaymentsSummaryParams = {
2708
+ tenantId?: number | null;
2709
+ userId?: number | null;
2710
+ occurredFrom?: string | null;
2711
+ occurredUntil?: string | null;
2712
+ status?: PaymentStatus | null;
2713
+ };
2714
+ //#endregion
2715
+ //#region src/models/deskPaymentSummaryRead.d.ts
2716
+ interface DeskPaymentSummaryRead {
2717
+ byStatus: DeskPaymentBucketRead[];
2718
+ currency?: string;
2719
+ observedAt: string;
2720
+ }
2721
+ //#endregion
2722
+ //#region src/models/deskPractitionerRead.d.ts
2723
+ interface DeskPractitionerRead {
2724
+ capabilities: string[];
2725
+ hasLapsedDocument: boolean;
2726
+ id: string;
2727
+ isAvailable: boolean;
2728
+ levels: DeskReferenceRead[];
2729
+ name: string;
2730
+ roles: string[];
2731
+ subjects: DeskReferenceRead[];
2732
+ tenant: DeskReferenceRead | null;
2733
+ }
2734
+ //#endregion
2735
+ //#region src/models/deskPractitionerPage.d.ts
2736
+ interface DeskPractitionerPage {
2737
+ data: DeskPractitionerRead[];
2738
+ meta: DeskCursorMetaRead;
2739
+ }
2740
+ //#endregion
2741
+ //#region src/models/deskProgressRead.d.ts
2742
+ interface DeskProgressRead {
2743
+ content: DeskSubjectRead;
2744
+ position?: number | null;
2745
+ progressPercent?: string | null;
2746
+ source?: string;
2747
+ unit?: string | null;
2748
+ updatedAt?: string | null;
2749
+ user: DeskReferenceRead;
2750
+ }
2751
+ //#endregion
2752
+ //#region src/models/deskRatingBucketRead.d.ts
2753
+ /**
2754
+ * Generated by orval 🍺
2755
+ * Do not edit manually.
2756
+ * Mozaik backend
2757
+ * 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.
2758
+ * OpenAPI spec version: 0.7.0
2759
+ */
2760
+ interface DeskRatingBucketRead {
2761
+ count: number;
2762
+ value: number;
2763
+ }
2764
+ //#endregion
2765
+ //#region src/models/deskRatingRead.d.ts
2766
+ interface DeskRatingRead {
2767
+ content: DeskSubjectRead;
2768
+ createdAt: string;
2769
+ tenant: DeskReferenceRead;
2770
+ user?: DeskReferenceRead | null;
2771
+ value: number;
2772
+ }
2773
+ //#endregion
2774
+ //#region src/models/deskRatingPage.d.ts
2775
+ interface DeskRatingPage {
2776
+ /** @maxItems 50 */
2777
+ data: DeskRatingRead[];
2778
+ meta: DeskCursorMetaRead;
2779
+ }
2780
+ //#endregion
2781
+ //#region src/models/deskRatingSummaryRead.d.ts
2782
+ interface DeskRatingSummaryRead {
2783
+ byValue: DeskRatingBucketRead[];
2784
+ observedAt: string;
2785
+ }
2786
+ //#endregion
2787
+ //#region src/models/deskReferenceOptionRead.d.ts
2788
+ /**
2789
+ * Generated by orval 🍺
2790
+ * Do not edit manually.
2791
+ * Mozaik backend
2792
+ * 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.
2793
+ * OpenAPI spec version: 0.7.0
2794
+ */
2795
+ interface DeskReferenceOptionRead {
2796
+ description: string;
2797
+ group: string;
2798
+ label: string;
2799
+ value: string;
2800
+ }
2801
+ //#endregion
2802
+ //#region src/models/deskReferenceDataRead.d.ts
2803
+ interface DeskReferenceDataRead {
2804
+ metrics: DeskMetricDefinitionRead[];
2805
+ options: DeskReferenceOptionRead[];
2806
+ paginationNotice?: string;
2807
+ }
2808
+ //#endregion
2809
+ //#region src/models/deskReviewRead.d.ts
2810
+ interface DeskReviewRead {
2811
+ author: DeskReferenceRead | null;
2812
+ documentId: string | null;
2813
+ id: string;
2814
+ rating: number | null;
2815
+ state: string;
2816
+ submittedAt: string | null;
2817
+ tenant: DeskReferenceRead | null;
2818
+ textPreview: string | null;
2819
+ textTruncated: boolean;
2820
+ }
2821
+ //#endregion
2822
+ //#region src/models/deskReviewPage.d.ts
2823
+ interface DeskReviewPage {
2824
+ data: DeskReviewRead[];
2825
+ meta: DeskCursorMetaRead;
2826
+ }
2827
+ //#endregion
2828
+ //#region src/models/deskReviewsSummaryParams.d.ts
2829
+ type DeskReviewsSummaryParams = {
2830
+ tenantId?: number | null;
2831
+ state?: ReviewState | null;
2832
+ };
2833
+ //#endregion
2834
+ //#region src/models/deskSearchBackofficeParams.d.ts
2835
+ type DeskSearchBackofficeParams = {
2836
+ cursor?: string | null;
2837
+ /**
2838
+ * @minimum 1
2839
+ * @maximum 50
2840
+ */
2841
+ limit?: number;
2842
+ orderBy?: DeskOrder;
2843
+ includeTotal?: boolean;
2844
+ tenantId?: number | null;
2845
+ /**
2846
+ * @minLength 1
2847
+ * @maxLength 100
2848
+ */
2849
+ q: string;
2850
+ entity?: DeskEntity | null;
2851
+ };
2852
+ //#endregion
2853
+ //#region src/models/deskSearchCatalogueParams.d.ts
2854
+ type DeskSearchCatalogueParams = {
2855
+ cursor?: string | null;
2856
+ /**
2857
+ * @minimum 1
2858
+ * @maximum 50
2859
+ */
2860
+ limit?: number;
2861
+ orderBy?: DeskOrder;
2862
+ includeTotal?: boolean;
2863
+ tenantId?: number | null;
2864
+ /**
2865
+ * @minimum 1
2866
+ * @maximum 9223372036854776000
2867
+ */
2868
+ userId: number;
2869
+ source: DeskCatalogueSource;
2870
+ q?: string | null;
2871
+ collectionId?: number | null;
2872
+ };
2873
+ //#endregion
2874
+ //#region src/models/deskSearchRead.d.ts
2875
+ interface DeskSearchRead {
2876
+ detailTool: string;
2877
+ entity: DeskEntity;
2878
+ id: string;
2879
+ name: string;
2880
+ tenant: DeskReferenceRead;
2881
+ }
2882
+ //#endregion
2883
+ //#region src/models/deskSearchPage.d.ts
2884
+ interface DeskSearchPage {
2885
+ data: DeskSearchRead[];
2886
+ meta: DeskCursorMetaRead;
2887
+ }
2888
+ //#endregion
2889
+ //#region src/models/deskServiceRead.d.ts
2890
+ /**
2891
+ * Generated by orval 🍺
2892
+ * Do not edit manually.
2893
+ * Mozaik backend
2894
+ * 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.
2895
+ * OpenAPI spec version: 0.7.0
2896
+ */
2897
+ interface DeskServiceRead {
2898
+ endsAt?: string | null;
2899
+ id: string;
2900
+ /** @maxLength 2000 */
2901
+ name: string;
2902
+ startsAt?: string | null;
2903
+ }
2904
+ //#endregion
2905
+ //#region src/models/deskServicePage.d.ts
2906
+ interface DeskServicePage {
2907
+ /** @maxItems 50 */
2908
+ data: DeskServiceRead[];
2909
+ meta: DeskCursorMetaRead;
2910
+ }
2911
+ //#endregion
2912
+ //#region src/models/deskSummaryRead.d.ts
2913
+ interface DeskSummaryRead {
2914
+ byState: DeskBucketRead[];
2915
+ observedAt: string;
2916
+ source: string;
2917
+ total: number;
2918
+ }
2919
+ //#endregion
2920
+ //#region src/models/deskTenantRead.d.ts
2921
+ interface DeskTenantRead {
2922
+ blocksIndividualAccounts: boolean;
2923
+ forcesIndividualAccounts: boolean;
2924
+ id: string;
2925
+ isActive: boolean;
2926
+ isInMaintenance: boolean;
2927
+ kind: TenantKind;
2928
+ name: string;
2929
+ parent: DeskReferenceRead | null;
2930
+ }
2931
+ //#endregion
2932
+ //#region src/models/deskTenantPage.d.ts
2933
+ interface DeskTenantPage {
2934
+ data: DeskTenantRead[];
2935
+ meta: DeskCursorMetaRead;
2936
+ }
2937
+ //#endregion
2938
+ //#region src/models/deskTenantStatsRead.d.ts
2939
+ interface DeskTenantStatsRead {
2940
+ activePatrons: number;
2941
+ cvsReviews: number;
2942
+ observedAt: string;
2943
+ patrons: number;
2944
+ pendingPatrons: number;
2945
+ tenant: DeskTenantRead;
2946
+ tutoringRequests: number;
2947
+ }
2948
+ //#endregion
2949
+ //#region src/models/deskTimeseriesRead.d.ts
2950
+ interface DeskTimeseriesRead {
2951
+ additive: boolean;
2952
+ coverageNotice?: string;
2953
+ definition: string;
2954
+ interval: DeskInterval;
2955
+ label: string;
2956
+ metric: DeskMetric;
2957
+ observedAt: string;
2958
+ occurredFrom: string;
2959
+ occurredUntil: string;
2960
+ periodComplete: boolean;
2961
+ points: DeskMetricPointRead[];
2962
+ timezone: string;
2963
+ total: string;
2964
+ unit: string;
2965
+ }
2966
+ //#endregion
2967
+ //#region src/models/deskTutoringRead.d.ts
2968
+ interface DeskTutoringRead {
2969
+ answeredAt: string | null;
2970
+ channel: TutoringChannel;
2971
+ claimedAt: string | null;
2972
+ closedAt: string | null;
2973
+ id: string;
2974
+ kind: TutoringKind;
2975
+ level: DeskReferenceRead;
2976
+ practitioner: DeskReferenceRead | null;
2977
+ scheduledAt: string | null;
2978
+ status: TutoringStatus;
2979
+ student: DeskReferenceRead | null;
2980
+ subject: DeskReferenceRead;
2981
+ submittedAt: string;
2982
+ tenant: DeskReferenceRead;
2983
+ }
2984
+ //#endregion
2985
+ //#region src/models/deskTutoringPage.d.ts
2986
+ interface DeskTutoringPage {
2987
+ data: DeskTutoringRead[];
2988
+ meta: DeskCursorMetaRead;
2989
+ }
2990
+ //#endregion
2991
+ //#region src/models/deskTutoringRequestsSummaryParams.d.ts
2992
+ type DeskTutoringRequestsSummaryParams = {
2993
+ tenantId?: number | null;
2994
+ status?: TutoringStatus | null;
2995
+ kind?: TutoringKind | null;
2996
+ channel?: TutoringChannel | null;
2997
+ subjectId?: number | null;
2998
+ levelId?: number | null;
2999
+ submittedFrom?: string | null;
3000
+ submittedUntil?: string | null;
3001
+ };
3002
+ //#endregion
1011
3003
  //#region src/models/documentInformationRead.d.ts
1012
3004
  /**
1013
3005
  * Generated by orval 🍺
1014
3006
  * Do not edit manually.
1015
3007
  * Mozaik backend
1016
3008
  * 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.
1017
- * OpenAPI spec version: 0.5.0
3009
+ * OpenAPI spec version: 0.7.0
1018
3010
  */
1019
3011
  /**
1020
3012
  * A labelled metadata row shown on the document sheet.
@@ -1040,7 +3032,7 @@ interface DocumentInformationRead {
1040
3032
  * Do not edit manually.
1041
3033
  * Mozaik backend
1042
3034
  * 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.
1043
- * OpenAPI spec version: 0.5.0
3035
+ * OpenAPI spec version: 0.7.0
1044
3036
  */
1045
3037
  /**
1046
3038
  * An action the client may invoke on a document — ``Entity/DocumentLink.php``.
@@ -1064,7 +3056,7 @@ interface DocumentLinkRead {
1064
3056
  * Do not edit manually.
1065
3057
  * Mozaik backend
1066
3058
  * 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.
1067
- * OpenAPI spec version: 0.5.0
3059
+ * OpenAPI spec version: 0.7.0
1068
3060
  */
1069
3061
  /**
1070
3062
  * A content vertical. The single most load-bearing decoder in the schema.
@@ -1135,7 +3127,7 @@ interface DocumentPage {
1135
3127
  * Do not edit manually.
1136
3128
  * Mozaik backend
1137
3129
  * 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.
1138
- * OpenAPI spec version: 0.5.0
3130
+ * OpenAPI spec version: 0.7.0
1139
3131
  */
1140
3132
  /**
1141
3133
  * A visual overlay on a document's artwork — ``Entity/Layer.php``.
@@ -1161,7 +3153,7 @@ interface LayerRead {
1161
3153
  * Do not edit manually.
1162
3154
  * Mozaik backend
1163
3155
  * 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.
1164
- * OpenAPI spec version: 0.5.0
3156
+ * OpenAPI spec version: 0.7.0
1165
3157
  */
1166
3158
  /**
1167
3159
  * One track of a multi-part document — ``Entity/Track.php``.
@@ -1248,7 +3240,7 @@ interface DocumentRead {
1248
3240
  * Do not edit manually.
1249
3241
  * Mozaik backend
1250
3242
  * 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.
1251
- * OpenAPI spec version: 0.5.0
3243
+ * OpenAPI spec version: 0.7.0
1252
3244
  */
1253
3245
  /**
1254
3246
  * Full-text search over the catalogue (``POST /document/search``).
@@ -1274,7 +3266,7 @@ interface DocumentSearchWrite {
1274
3266
  * Do not edit manually.
1275
3267
  * Mozaik backend
1276
3268
  * 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.
1277
- * OpenAPI spec version: 0.5.0
3269
+ * OpenAPI spec version: 0.7.0
1278
3270
  */
1279
3271
  /**
1280
3272
  * DRM playback parameters — ``Entity/DRM.php``.
@@ -1322,7 +3314,7 @@ interface EditorDetailRead {
1322
3314
  * Do not edit manually.
1323
3315
  * Mozaik backend
1324
3316
  * 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.
1325
- * OpenAPI spec version: 0.5.0
3317
+ * OpenAPI spec version: 0.7.0
1326
3318
  */
1327
3319
  /**
1328
3320
  * A merchandising slide in the home feed's ``editos`` (E48). PROVISIONAL.
@@ -1344,7 +3336,7 @@ interface EditorialSlideRead {
1344
3336
  * Do not edit manually.
1345
3337
  * Mozaik backend
1346
3338
  * 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.
1347
- * OpenAPI spec version: 0.5.0
3339
+ * OpenAPI spec version: 0.7.0
1348
3340
  */
1349
3341
  /**
1350
3342
  * An editor as listed (E44 item). PROVISIONAL.
@@ -1373,7 +3365,7 @@ interface EditorListRead {
1373
3365
  * Do not edit manually.
1374
3366
  * Mozaik backend
1375
3367
  * 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.
1376
- * OpenAPI spec version: 0.5.0
3368
+ * OpenAPI spec version: 0.7.0
1377
3369
  */
1378
3370
  /**
1379
3371
  * Why the pupil is asking, as an option they pick.
@@ -1399,7 +3391,7 @@ interface EducationalGoalListRead {
1399
3391
  * Do not edit manually.
1400
3392
  * Mozaik backend
1401
3393
  * 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.
1402
- * OpenAPI spec version: 0.5.0
3394
+ * OpenAPI spec version: 0.7.0
1403
3395
  */
1404
3396
  /**
1405
3397
  * Create or amend a goal.
@@ -1427,7 +3419,7 @@ interface EducationalGoalWrite {
1427
3419
  * Do not edit manually.
1428
3420
  * Mozaik backend
1429
3421
  * 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.
1430
- * OpenAPI spec version: 0.5.0
3422
+ * OpenAPI spec version: 0.7.0
1431
3423
  */
1432
3424
  /**
1433
3425
  * ``favorites.mode``: 'C' / 'P'. The one enum the legacy code validates.
@@ -1460,7 +3452,7 @@ interface FavoriteAddWrite {
1460
3452
  * Do not edit manually.
1461
3453
  * Mozaik backend
1462
3454
  * 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.
1463
- * OpenAPI spec version: 0.5.0
3455
+ * OpenAPI spec version: 0.7.0
1464
3456
  */
1465
3457
  /**
1466
3458
  * A named list a patron files favourites into.
@@ -1527,7 +3519,7 @@ interface FavoritePage {
1527
3519
  * Do not edit manually.
1528
3520
  * Mozaik backend
1529
3521
  * 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.
1530
- * OpenAPI spec version: 0.5.0
3522
+ * OpenAPI spec version: 0.7.0
1531
3523
  */
1532
3524
  /**
1533
3525
  * One hidden field of a provider form. **Order matters** — see
@@ -1544,7 +3536,7 @@ interface FormFieldRead {
1544
3536
  * Do not edit manually.
1545
3537
  * Mozaik backend
1546
3538
  * 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.
1547
- * OpenAPI spec version: 0.5.0
3539
+ * OpenAPI spec version: 0.7.0
1548
3540
  */
1549
3541
  /**
1550
3542
  * One consumption-history entry (E33 item). PROVISIONAL beyond the named fields.
@@ -1589,7 +3581,7 @@ interface HomeFeedSectionRead {
1589
3581
  * Do not edit manually.
1590
3582
  * Mozaik backend
1591
3583
  * 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.
1592
- * OpenAPI spec version: 0.5.0
3584
+ * OpenAPI spec version: 0.7.0
1593
3585
  */
1594
3586
  /**
1595
3587
  * A press article as listed (E41 item, E43 item). PROVISIONAL.
@@ -1644,7 +3636,7 @@ interface HomeFeedRead {
1644
3636
  * Do not edit manually.
1645
3637
  * Mozaik backend
1646
3638
  * 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.
1647
- * OpenAPI spec version: 0.5.0
3639
+ * OpenAPI spec version: 0.7.0
1648
3640
  */
1649
3641
  /**
1650
3642
  * Body of a raised ``HTTPException``. Declared so it lands in the spec.
@@ -1663,7 +3655,7 @@ interface HTTPExceptionResponse {
1663
3655
  * Do not edit manually.
1664
3656
  * Mozaik backend
1665
3657
  * 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.
1666
- * OpenAPI spec version: 0.5.0
3658
+ * OpenAPI spec version: 0.7.0
1667
3659
  */
1668
3660
  type IlsAccountReadFields = {
1669
3661
  [key: string]: unknown;
@@ -1688,7 +3680,7 @@ interface IlsAccountRead {
1688
3680
  * Do not edit manually.
1689
3681
  * Mozaik backend
1690
3682
  * 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.
1691
- * OpenAPI spec version: 0.5.0
3683
+ * OpenAPI spec version: 0.7.0
1692
3684
  */
1693
3685
  /**
1694
3686
  * The result of an action the library's system either took or refused.
@@ -1708,7 +3700,7 @@ interface IlsActionRead {
1708
3700
  * Do not edit manually.
1709
3701
  * Mozaik backend
1710
3702
  * 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.
1711
- * OpenAPI spec version: 0.5.0
3703
+ * OpenAPI spec version: 0.7.0
1712
3704
  */
1713
3705
  /**
1714
3706
  * Whether this record may be reserved by this patron, and why not.
@@ -1724,7 +3716,7 @@ interface IlsHoldableRead {
1724
3716
  * Do not edit manually.
1725
3717
  * Mozaik backend
1726
3718
  * 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.
1727
- * OpenAPI spec version: 0.5.0
3719
+ * OpenAPI spec version: 0.7.0
1728
3720
  */
1729
3721
  /**
1730
3722
  * One hold. ``rank`` is the patron's place in the queue.
@@ -1751,7 +3743,7 @@ interface IlsHoldListRead {
1751
3743
  * Do not edit manually.
1752
3744
  * Mozaik backend
1753
3745
  * 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.
1754
- * OpenAPI spec version: 0.5.0
3746
+ * OpenAPI spec version: 0.7.0
1755
3747
  */
1756
3748
  /**
1757
3749
  * Place a hold. ``locationId`` is where the patron will collect it.
@@ -1774,7 +3766,7 @@ interface IlsHoldWrite {
1774
3766
  * Do not edit manually.
1775
3767
  * Mozaik backend
1776
3768
  * 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.
1777
- * OpenAPI spec version: 0.5.0
3769
+ * OpenAPI spec version: 0.7.0
1778
3770
  */
1779
3771
  /**
1780
3772
  * One physical loan, as PMB reports it.
@@ -1807,7 +3799,7 @@ interface IlsLoanListRead {
1807
3799
  * Do not edit manually.
1808
3800
  * Mozaik backend
1809
3801
  * 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.
1810
- * OpenAPI spec version: 0.5.0
3802
+ * OpenAPI spec version: 0.7.0
1811
3803
  */
1812
3804
  interface IlsLocationRead {
1813
3805
  locationId?: number | null;
@@ -1826,7 +3818,7 @@ interface IlsLocationListRead {
1826
3818
  * Do not edit manually.
1827
3819
  * Mozaik backend
1828
3820
  * 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.
1829
- * OpenAPI spec version: 0.5.0
3821
+ * OpenAPI spec version: 0.7.0
1830
3822
  */
1831
3823
  /**
1832
3824
  * Change the password **on the library's system**, not on this platform.
@@ -1853,7 +3845,7 @@ interface IlsPasswordWrite {
1853
3845
  * Do not edit manually.
1854
3846
  * Mozaik backend
1855
3847
  * 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.
1856
- * OpenAPI spec version: 0.5.0
3848
+ * OpenAPI spec version: 0.7.0
1857
3849
  */
1858
3850
  /**
1859
3851
  * A review posted to the library's OPAC, where other borrowers see it.
@@ -1885,7 +3877,7 @@ interface IlsReviewWrite {
1885
3877
  * Do not edit manually.
1886
3878
  * Mozaik backend
1887
3879
  * 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.
1888
- * OpenAPI spec version: 0.5.0
3880
+ * OpenAPI spec version: 0.7.0
1889
3881
  */
1890
3882
  /**
1891
3883
  * A patron's credentials for their own library.
@@ -1913,7 +3905,7 @@ interface IlsSignInWrite {
1913
3905
  * Do not edit manually.
1914
3906
  * Mozaik backend
1915
3907
  * 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.
1916
- * OpenAPI spec version: 0.5.0
3908
+ * OpenAPI spec version: 0.7.0
1917
3909
  */
1918
3910
  /**
1919
3911
  * Whether this library has a catalogue system, and whether we speak it.
@@ -1934,7 +3926,7 @@ interface IlsStatusRead {
1934
3926
  * Do not edit manually.
1935
3927
  * Mozaik backend
1936
3928
  * 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.
1937
- * OpenAPI spec version: 0.5.0
3929
+ * OpenAPI spec version: 0.7.0
1938
3930
  */
1939
3931
  /**
1940
3932
  * A category or source a purchase suggestion can name.
@@ -1956,7 +3948,7 @@ interface IlsSuggestionOptionListRead {
1956
3948
  * Do not edit manually.
1957
3949
  * Mozaik backend
1958
3950
  * 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.
1959
- * OpenAPI spec version: 0.5.0
3951
+ * OpenAPI spec version: 0.7.0
1960
3952
  */
1961
3953
  interface IlsTagWrite {
1962
3954
  /**
@@ -1994,7 +3986,7 @@ interface ImpersonationWrite {
1994
3986
  * Do not edit manually.
1995
3987
  * Mozaik backend
1996
3988
  * 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.
1997
- * OpenAPI spec version: 0.5.0
3989
+ * OpenAPI spec version: 0.7.0
1998
3990
  */
1999
3991
  /**
2000
3992
  * Report the patron's playback or reading position (``/document/last-position/{docId}``).
@@ -2050,7 +4042,7 @@ interface LearningPathDetailRead {
2050
4042
  * Do not edit manually.
2051
4043
  * Mozaik backend
2052
4044
  * 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.
2053
- * OpenAPI spec version: 0.5.0
4045
+ * OpenAPI spec version: 0.7.0
2054
4046
  */
2055
4047
  /**
2056
4048
  * A ``parcours`` — an ordered sequence of content — as listed by E38.
@@ -2084,7 +4076,7 @@ interface LeaseCloseWrite {
2084
4076
  * Do not edit manually.
2085
4077
  * Mozaik backend
2086
4078
  * 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.
2087
- * OpenAPI spec version: 0.5.0
4079
+ * OpenAPI spec version: 0.7.0
2088
4080
  */
2089
4081
  /**
2090
4082
  * An open consumption, and when it lapses if nobody renews it.
@@ -2104,7 +4096,7 @@ interface LeaseRead {
2104
4096
  * Do not edit manually.
2105
4097
  * Mozaik backend
2106
4098
  * 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.
2107
- * OpenAPI spec version: 0.5.0
4099
+ * OpenAPI spec version: 0.7.0
2108
4100
  */
2109
4101
  /**
2110
4102
  * The French school cycle a level belongs to.
@@ -2169,34 +4161,6 @@ interface LevelWrite {
2169
4161
  slug: string;
2170
4162
  }
2171
4163
  //#endregion
2172
- //#region src/models/partnerProvider.d.ts
2173
- /**
2174
- * Generated by orval 🍺
2175
- * Do not edit manually.
2176
- * Mozaik backend
2177
- * 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.
2178
- * OpenAPI spec version: 0.5.0
2179
- */
2180
- /**
2181
- * A partner whose catalogue and reader we host directly.
2182
- *
2183
- * Names both halves of the integration: the seat pool
2184
- * (:class:`~app.models.biblio.license.PartnerLicense`) and the ingested
2185
- * catalogue (``app.models.partner.catalogue``). One enum rather than two
2186
- * because a provider is a provider — a licence for Nextory and a Nextory media
2187
- * row are the same partner seen from two sides.
2188
- *
2189
- * Distinct from :class:`BookSource`, which says which feed produced a *biblio*
2190
- * ``book`` row. The two vocabularies overlap on ``nextory`` and will keep
2191
- * overlapping: the partner catalogue is deliberately a separate subsystem from
2192
- * ``book``/``book_content_link``, bridged rather than merged.
2193
- */
2194
- type PartnerProvider = typeof PartnerProvider[keyof typeof PartnerProvider];
2195
- declare const PartnerProvider: {
2196
- readonly nextory: 'nextory';
2197
- readonly youscribe: 'youscribe';
2198
- };
2199
- //#endregion
2200
4164
  //#region src/models/licenseRead.d.ts
2201
4165
  /**
2202
4166
  * An external reading licence — one seat at the partner (E49 read, E50 write).
@@ -2226,7 +4190,7 @@ interface LicenseRead {
2226
4190
  * Do not edit manually.
2227
4191
  * Mozaik backend
2228
4192
  * 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.
2229
- * OpenAPI spec version: 0.5.0
4193
+ * OpenAPI spec version: 0.7.0
2230
4194
  */
2231
4195
  /**
2232
4196
  * The account a staff licence diagnostic refers to (E51).
@@ -2246,7 +4210,7 @@ interface LicenseUserRead {
2246
4210
  * Do not edit manually.
2247
4211
  * Mozaik backend
2248
4212
  * 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.
2249
- * OpenAPI spec version: 0.5.0
4213
+ * OpenAPI spec version: 0.7.0
2250
4214
  */
2251
4215
  /**
2252
4216
  * The result of liking or unliking (E36, E37).
@@ -2260,136 +4224,6 @@ interface LikeRead {
2260
4224
  liked: boolean;
2261
4225
  }
2262
4226
  //#endregion
2263
- //#region src/models/tutoringChannel.d.ts
2264
- /**
2265
- * Generated by orval 🍺
2266
- * Do not edit manually.
2267
- * Mozaik backend
2268
- * 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.
2269
- * OpenAPI spec version: 0.5.0
2270
- */
2271
- /**
2272
- * How the answer reaches the pupil.
2273
- *
2274
- * Orthogonal to :class:`TutoringKind`: any kind can be delivered by any
2275
- * channel the tenant has enabled, and a request legitimately changes channel
2276
- * mid-flight — the legacy's ``differed_to_live`` and ``ai_to_live`` are both
2277
- * that transition, recorded as booleans because the schema had nowhere to put
2278
- * a channel.
2279
- */
2280
- type TutoringChannel = typeof TutoringChannel[keyof typeof TutoringChannel];
2281
- declare const TutoringChannel: {
2282
- readonly chat: 'chat';
2283
- readonly classroom: 'classroom';
2284
- readonly phone: 'phone';
2285
- readonly written: 'written';
2286
- readonly ai: 'ai';
2287
- };
2288
- //#endregion
2289
- //#region src/models/tutoringKind.d.ts
2290
- /**
2291
- * Generated by orval 🍺
2292
- * Do not edit manually.
2293
- * Mozaik backend
2294
- * 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.
2295
- * OpenAPI spec version: 0.5.0
2296
- */
2297
- /**
2298
- * What is being asked for.
2299
- *
2300
- * Replaces six independent booleans on ``inquiries`` — ``for_librarian``,
2301
- * ``for_grand_oral``, ``for_ai``, ``for_coach``, ``parents_web_advice`` and
2302
- * (in the archives) ``for_school_counselor`` / ``for_psychologist``. Six flags
2303
- * describe 64 states, of which a handful are meaningful and none is documented;
2304
- * one enum describes exactly the states that exist.
2305
- *
2306
- * Two of those flags are **not** kinds and are modelled elsewhere: ``for_ai``
2307
- * is a delivery channel (:class:`TutoringChannel`), and ``differed_to_live`` is
2308
- * a transition between channels rather than a state.
2309
- *
2310
- * Provisional in one respect: whether the legacy flags are mutually exclusive
2311
- * in the data is answered by section F of ``tools/profexpress_probe.sql``,
2312
- * which groups the live combinations. If a real row carries two at once, that
2313
- * combination needs a value here rather than a second column.
2314
- */
2315
- type TutoringKind = typeof TutoringKind[keyof typeof TutoringKind];
2316
- declare const TutoringKind: {
2317
- readonly homework: 'homework';
2318
- readonly grand_oral: 'grand_oral';
2319
- readonly coaching: 'coaching';
2320
- readonly orientation: 'orientation';
2321
- readonly librarian: 'librarian';
2322
- readonly parent_advice: 'parent_advice';
2323
- };
2324
- //#endregion
2325
- //#region src/models/tutoringStatus.d.ts
2326
- /**
2327
- * Generated by orval 🍺
2328
- * Do not edit manually.
2329
- * Mozaik backend
2330
- * 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.
2331
- * OpenAPI spec version: 0.5.0
2332
- */
2333
- /**
2334
- * Where a request has got to.
2335
- *
2336
- * The legacy vocabulary is now known rather than guessed. ``InquiryStatus``
2337
- * holds no fixture, but ``InquiryStatus::getHrList()`` names ids 1-13 and
2338
- * ``AdminInquiriesController::applyStatusFilter`` maps each id to its initials,
2339
- * which together give the complete set — twelve initials, not the four that
2340
- * appear in ``whereInitials(...)`` calls:
2341
- *
2342
- * ==== ============================ ========= ========= =======================
2343
- * id name initials type_id maps to
2344
- * ==== ============================ ========= ========= =======================
2345
- * 1 En édition ``E`` -- :attr:`DRAFT`
2346
- * 2 Différées enregistrées ``R`` 2 :attr:`SUBMITTED` + WRITTEN
2347
- * 3 Live en chat ``CHA`` 1 :attr:`SUBMITTED` + CHAT
2348
- * 4 Différées validées ``V`` 2 :attr:`DISPATCHED` + WRITTEN
2349
- * 5 Live validées ``V`` 1 :attr:`DISPATCHED` + CHAT
2350
- * 6 Succès ``S`` -- :attr:`SUCCEEDED`
2351
- * 7 Echec ``F`` -- :attr:`FAILED`
2352
- * 8 Annulation du RDV ``CAN`` -- :attr:`CANCELLED`
2353
- * 9 Non-présentation au RDV ``ABS`` -- FAILED + ``no_show``
2354
- * 10 Problème compte ``NI`` -- FAILED + ``account_problem``
2355
- * 11 Problème compte traité ``FIX`` -- back to DISPATCHED
2356
- * 12 Problème mot de passe ``MDP`` -- FAILED + ``password_problem``
2357
- * 13 Autre *(none)* -- anything not above
2358
- * -- Abandon ``A`` -- :attr:`EXPIRED`
2359
- * ==== ============================ ========= ========= =======================
2360
- *
2361
- * **The important find: ``V`` is ambiguous on its own.** Ids 4 and 5 share it
2362
- * and are told apart by ``type_id`` — 1 is live, 2 is *différé*. So a legacy
2363
- * status is the pair ``(initials, type_id)``, which is exactly why this enum
2364
- * carries no channel: state and delivery are two axes, and the legacy conflated
2365
- * them into one lookup table with duplicate initials.
2366
- *
2367
- * Three of the twelve are not states at all. ``ABS``, ``NI`` and ``MDP``
2368
- * describe *why* a request stopped, so they are
2369
- * :class:`TutoringCloseReason` values on a FAILED request; and ``FIX`` is a
2370
- * transition back into the queue rather than a resting place. Modelling them as
2371
- * statuses is what forces the legacy to ask "is this status final?" with a
2372
- * hard-coded list of names (``InquiryStatus::final``).
2373
- *
2374
- * :attr:`TRIAGED`, :attr:`CLAIMED` and :attr:`ANSWERED` have no legacy status
2375
- * at all — the legacy records those moments only as timestamps, which is why
2376
- * "how long did triage take" is a question its own reporting code has to
2377
- * subtract to answer.
2378
- */
2379
- type TutoringStatus = typeof TutoringStatus[keyof typeof TutoringStatus];
2380
- declare const TutoringStatus: {
2381
- readonly draft: 'draft';
2382
- readonly submitted: 'submitted';
2383
- readonly triaged: 'triaged';
2384
- readonly dispatched: 'dispatched';
2385
- readonly claimed: 'claimed';
2386
- readonly answered: 'answered';
2387
- readonly succeeded: 'succeeded';
2388
- readonly failed: 'failed';
2389
- readonly cancelled: 'cancelled';
2390
- readonly expired: 'expired';
2391
- };
2392
- //#endregion
2393
4227
  //#region src/models/listAllRequestsParams.d.ts
2394
4228
  type ListAllRequestsParams = {
2395
4229
  /**
@@ -2430,7 +4264,7 @@ type ListBiblioFavoritesParams = {
2430
4264
  * Do not edit manually.
2431
4265
  * Mozaik backend
2432
4266
  * 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.
2433
- * OpenAPI spec version: 0.5.0
4267
+ * OpenAPI spec version: 0.7.0
2434
4268
  */
2435
4269
  type ListEditorsParams = {
2436
4270
  /**
@@ -2454,7 +4288,7 @@ type ListEditorsParams = {
2454
4288
  * Do not edit manually.
2455
4289
  * Mozaik backend
2456
4290
  * 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.
2457
- * OpenAPI spec version: 0.5.0
4291
+ * OpenAPI spec version: 0.7.0
2458
4292
  */
2459
4293
  type ListExpiringDocumentsParams = {
2460
4294
  /**
@@ -2470,7 +4304,7 @@ type ListExpiringDocumentsParams = {
2470
4304
  * Do not edit manually.
2471
4305
  * Mozaik backend
2472
4306
  * 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.
2473
- * OpenAPI spec version: 0.5.0
4307
+ * OpenAPI spec version: 0.7.0
2474
4308
  */
2475
4309
  type ListFeedbackParams = {
2476
4310
  /**
@@ -2496,7 +4330,7 @@ type ListGoalsParams = {
2496
4330
  * Do not edit manually.
2497
4331
  * Mozaik backend
2498
4332
  * 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.
2499
- * OpenAPI spec version: 0.5.0
4333
+ * OpenAPI spec version: 0.7.0
2500
4334
  */
2501
4335
  type ListHistoryParams = {
2502
4336
  /**
@@ -2518,7 +4352,7 @@ type ListHistoryParams = {
2518
4352
  * Do not edit manually.
2519
4353
  * Mozaik backend
2520
4354
  * 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.
2521
- * OpenAPI spec version: 0.5.0
4355
+ * OpenAPI spec version: 0.7.0
2522
4356
  */
2523
4357
  type ListIlsLoansParams = {
2524
4358
  /**
@@ -2533,7 +4367,7 @@ type ListIlsLoansParams = {
2533
4367
  * Do not edit manually.
2534
4368
  * Mozaik backend
2535
4369
  * 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.
2536
- * OpenAPI spec version: 0.5.0
4370
+ * OpenAPI spec version: 0.7.0
2537
4371
  */
2538
4372
  type ListLoansParams = {
2539
4373
  include_returned?: boolean;
@@ -2545,7 +4379,7 @@ type ListLoansParams = {
2545
4379
  * Do not edit manually.
2546
4380
  * Mozaik backend
2547
4381
  * 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.
2548
- * OpenAPI spec version: 0.5.0
4382
+ * OpenAPI spec version: 0.7.0
2549
4383
  */
2550
4384
  /**
2551
4385
  * How the partner catalogue shelves one media.
@@ -2614,7 +4448,7 @@ type ListMediaParams = {
2614
4448
  * Do not edit manually.
2615
4449
  * Mozaik backend
2616
4450
  * 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.
2617
- * OpenAPI spec version: 0.5.0
4451
+ * OpenAPI spec version: 0.7.0
2618
4452
  */
2619
4453
  type ListMessagesParams = {
2620
4454
  before?: number | null;
@@ -2651,7 +4485,7 @@ type ListMyRequestsParams = {
2651
4485
  * Do not edit manually.
2652
4486
  * Mozaik backend
2653
4487
  * 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.
2654
- * OpenAPI spec version: 0.5.0
4488
+ * OpenAPI spec version: 0.7.0
2655
4489
  */
2656
4490
  type ListNotificationsParams = {
2657
4491
  /**
@@ -2667,7 +4501,7 @@ type ListNotificationsParams = {
2667
4501
  * Do not edit manually.
2668
4502
  * Mozaik backend
2669
4503
  * 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.
2670
- * OpenAPI spec version: 0.5.0
4504
+ * OpenAPI spec version: 0.7.0
2671
4505
  */
2672
4506
  type ListPatronsParams = {
2673
4507
  /**
@@ -2690,7 +4524,7 @@ type ListPatronsParams = {
2690
4524
  * Do not edit manually.
2691
4525
  * Mozaik backend
2692
4526
  * 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.
2693
- * OpenAPI spec version: 0.5.0
4527
+ * OpenAPI spec version: 0.7.0
2694
4528
  */
2695
4529
  type ListPractitionersParams = {
2696
4530
  /**
@@ -2716,7 +4550,7 @@ type ListPractitionersParams = {
2716
4550
  * Do not edit manually.
2717
4551
  * Mozaik backend
2718
4552
  * 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.
2719
- * OpenAPI spec version: 0.5.0
4553
+ * OpenAPI spec version: 0.7.0
2720
4554
  */
2721
4555
  type ListPressArticlesParams = {
2722
4556
  /**
@@ -2755,27 +4589,6 @@ type ListQueueParams = {
2755
4589
  submittedUntil?: string | null;
2756
4590
  };
2757
4591
  //#endregion
2758
- //#region src/models/reviewState.d.ts
2759
- /**
2760
- * Generated by orval 🍺
2761
- * Do not edit manually.
2762
- * Mozaik backend
2763
- * 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.
2764
- * OpenAPI spec version: 0.5.0
2765
- */
2766
- /**
2767
- * ``avis.state``. Values recovered from the moderation screens.
2768
- *
2769
- * Unconstrained in the schema — the column is a ``tinyint`` with no decoder —
2770
- * so this names what the API accepts, not what the column is known to hold.
2771
- */
2772
- type ReviewState = typeof ReviewState[keyof typeof ReviewState];
2773
- declare const ReviewState: {
2774
- readonly pending: 'pending';
2775
- readonly published: 'published';
2776
- readonly rejected: 'rejected';
2777
- };
2778
- //#endregion
2779
4592
  //#region src/models/listReviewsParams.d.ts
2780
4593
  type ListReviewsParams = {
2781
4594
  /**
@@ -2796,42 +4609,12 @@ type ListReviewsParams = {
2796
4609
  * Do not edit manually.
2797
4610
  * Mozaik backend
2798
4611
  * 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.
2799
- * OpenAPI spec version: 0.5.0
4612
+ * OpenAPI spec version: 0.7.0
2800
4613
  */
2801
4614
  type ListThemesParams = {
2802
4615
  pillar?: number | null;
2803
4616
  };
2804
4617
  //#endregion
2805
- //#region src/models/subjectKind.d.ts
2806
- /**
2807
- * Generated by orval 🍺
2808
- * Do not edit manually.
2809
- * Mozaik backend
2810
- * 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.
2811
- * OpenAPI spec version: 0.5.0
2812
- */
2813
- /**
2814
- * Which catalogue a consumed item belongs to. The ledger's polymorphic key.
2815
- *
2816
- * Replaces the three nullable FKs the ledger used to carry (``work_id`` /
2817
- * ``content_id`` / ``partner_media_id``) with one ``(kind, id)`` pair, so a new
2818
- * platform costs **an enum value, not a migration** — the same trade every
2819
- * other enum here makes. The id has no database foreign key: the ledger is a
2820
- * billing and history record, and a consumed item being deleted from its
2821
- * catalogue must not erase the record of it having been consumed.
2822
- *
2823
- * Grant *resolution* stays keyed by the concrete catalogue FK (grants are
2824
- * defined per work, per content, per category); only the *ledger* subject is
2825
- * polymorphic. :class:`app.services.consumption.Subject` bridges the two.
2826
- */
2827
- type SubjectKind = typeof SubjectKind[keyof typeof SubjectKind];
2828
- declare const SubjectKind: {
2829
- readonly content: 'content';
2830
- readonly work: 'work';
2831
- readonly partner_media: 'partner_media';
2832
- readonly tutoring_request: 'tutoring_request';
2833
- };
2834
- //#endregion
2835
4618
  //#region src/models/liveLeaseRead.d.ts
2836
4619
  /**
2837
4620
  * One live lease, as staff see it. The legacy's "sessions en cours".
@@ -2875,7 +4658,7 @@ interface LiveLeaseListRead {
2875
4658
  * Do not edit manually.
2876
4659
  * Mozaik backend
2877
4660
  * 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.
2878
- * OpenAPI spec version: 0.5.0
4661
+ * OpenAPI spec version: 0.7.0
2879
4662
  */
2880
4663
  /**
2881
4664
  * One loan, as the new ledger sees it.
@@ -2915,7 +4698,7 @@ interface LoanPage {
2915
4698
  * Do not edit manually.
2916
4699
  * Mozaik backend
2917
4700
  * 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.
2918
- * OpenAPI spec version: 0.5.0
4701
+ * OpenAPI spec version: 0.7.0
2919
4702
  */
2920
4703
  /**
2921
4704
  * End the session at the broker.
@@ -2927,6 +4710,8 @@ interface LoanPage {
2927
4710
  * lifetimes are short.
2928
4711
  */
2929
4712
  interface LogoutWrite {
4713
+ /** Client that owns the refresh token; defaults to mozaik-web. */
4714
+ clientId?: string | null;
2930
4715
  /**
2931
4716
  * @minLength 1
2932
4717
  * @maxLength 8192
@@ -2940,7 +4725,7 @@ interface LogoutWrite {
2940
4725
  * Do not edit manually.
2941
4726
  * Mozaik backend
2942
4727
  * 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.
2943
- * OpenAPI spec version: 0.5.0
4728
+ * OpenAPI spec version: 0.7.0
2944
4729
  */
2945
4730
  /**
2946
4731
  * What the platform believes about the current session.
@@ -2987,7 +4772,7 @@ interface MeRead {
2987
4772
  * Do not edit manually.
2988
4773
  * Mozaik backend
2989
4774
  * 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.
2990
- * OpenAPI spec version: 0.5.0
4775
+ * OpenAPI spec version: 0.7.0
2991
4776
  */
2992
4777
  /**
2993
4778
  * What a chat line is.
@@ -3044,7 +4829,7 @@ interface MessagePage {
3044
4829
  * Do not edit manually.
3045
4830
  * Mozaik backend
3046
4831
  * 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.
3047
- * OpenAPI spec version: 0.5.0
4832
+ * OpenAPI spec version: 0.7.0
3048
4833
  */
3049
4834
  /**
3050
4835
  * Something to say.
@@ -3082,7 +4867,7 @@ interface ModerationWrite {
3082
4867
  * Do not edit manually.
3083
4868
  * Mozaik backend
3084
4869
  * 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.
3085
- * OpenAPI spec version: 0.5.0
4870
+ * OpenAPI spec version: 0.7.0
3086
4871
  */
3087
4872
  /**
3088
4873
  * One notification addressed to a patron.
@@ -3122,7 +4907,7 @@ type OpenAtSupplierParams = {
3122
4907
  * Do not edit manually.
3123
4908
  * Mozaik backend
3124
4909
  * 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.
3125
- * OpenAPI spec version: 0.5.0
4910
+ * OpenAPI spec version: 0.7.0
3126
4911
  */
3127
4912
  type PackDetailReadFilters = {
3128
4913
  [key: string]: unknown;
@@ -3160,7 +4945,7 @@ interface PackDetailRead {
3160
4945
  * Do not edit manually.
3161
4946
  * Mozaik backend
3162
4947
  * 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.
3163
- * OpenAPI spec version: 0.5.0
4948
+ * OpenAPI spec version: 0.7.0
3164
4949
  */
3165
4950
  /**
3166
4951
  * A content pack the caller is entitled to (E25 item).
@@ -3189,7 +4974,7 @@ interface PackListRead {
3189
4974
  * Do not edit manually.
3190
4975
  * Mozaik backend
3191
4976
  * 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.
3192
- * OpenAPI spec version: 0.5.0
4977
+ * OpenAPI spec version: 0.7.0
3193
4978
  */
3194
4979
  /**
3195
4980
  * One node of a provider's taxonomy.
@@ -3293,7 +5078,7 @@ interface PartnerMediaRead {
3293
5078
  * Do not edit manually.
3294
5079
  * Mozaik backend
3295
5080
  * 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.
3296
- * OpenAPI spec version: 0.5.0
5081
+ * OpenAPI spec version: 0.7.0
3297
5082
  */
3298
5083
  /**
3299
5084
  * One patron in full.
@@ -3328,7 +5113,7 @@ interface PatronDetailRead {
3328
5113
  * Do not edit manually.
3329
5114
  * Mozaik backend
3330
5115
  * 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.
3331
- * OpenAPI spec version: 0.5.0
5116
+ * OpenAPI spec version: 0.7.0
3332
5117
  */
3333
5118
  /**
3334
5119
  * A patron as a row in a list.
@@ -3361,7 +5146,7 @@ interface PatronPage {
3361
5146
  * Do not edit manually.
3362
5147
  * Mozaik backend
3363
5148
  * 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.
3364
- * OpenAPI spec version: 0.5.0
5149
+ * OpenAPI spec version: 0.7.0
3365
5150
  */
3366
5151
  /**
3367
5152
  * What a staff member may change about a patron.
@@ -3396,34 +5181,6 @@ interface PaymentFormRead {
3396
5181
  method?: string;
3397
5182
  }
3398
5183
  //#endregion
3399
- //#region src/models/paymentStatus.d.ts
3400
- /**
3401
- * Generated by orval 🍺
3402
- * Do not edit manually.
3403
- * Mozaik backend
3404
- * 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.
3405
- * OpenAPI spec version: 0.5.0
3406
- */
3407
- /**
3408
- * Where a top-up is in its life. Legacy ``paiement_abonnement.status``.
3409
- *
3410
- * The legacy stores the four ``PBX_STATUT_*`` integers from
3411
- * ``v1/config.inc.php``, named for Paybox and now carried by PayPal — which is
3412
- * why the constants say ``PBX`` and the code calls ``createPaypalOrder``. The
3413
- * integers are kept as the wire values so rows already written keep meaning
3414
- * what they meant.
3415
- *
3416
- * ``PENDING`` is the only state a payment may be created in, and only the
3417
- * provider's server-to-server callback may move it out.
3418
- */
3419
- type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
3420
- declare const PaymentStatus: {
3421
- readonly pending: 'pending';
3422
- readonly settled: 'settled';
3423
- readonly declined: 'declined';
3424
- readonly awaiting: 'awaiting';
3425
- };
3426
- //#endregion
3427
5184
  //#region src/models/paymentRead.d.ts
3428
5185
  /**
3429
5186
  * One top-up, as the patron sees it.
@@ -3457,7 +5214,7 @@ interface PaymentListRead {
3457
5214
  * Do not edit manually.
3458
5215
  * Mozaik backend
3459
5216
  * 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.
3460
- * OpenAPI spec version: 0.5.0
5217
+ * OpenAPI spec version: 0.7.0
3461
5218
  */
3462
5219
  /**
3463
5220
  * Who takes the card. Legacy ``bm.txt_param['payment_type']``.
@@ -3527,7 +5284,7 @@ interface PaymentStartWrite {
3527
5284
  * Do not edit manually.
3528
5285
  * Mozaik backend
3529
5286
  * 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.
3530
- * OpenAPI spec version: 0.5.0
5287
+ * OpenAPI spec version: 0.7.0
3531
5288
  */
3532
5289
  /**
3533
5290
  * An accepted incident report — ``Entity/Report.php``.
@@ -3553,7 +5310,7 @@ interface PlaybackReportRead {
3553
5310
  * Do not edit manually.
3554
5311
  * Mozaik backend
3555
5312
  * 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.
3556
- * OpenAPI spec version: 0.5.0
5313
+ * OpenAPI spec version: 0.7.0
3557
5314
  */
3558
5315
  /**
3559
5316
  * Report a playback problem (``/streaming/report``, ``/application/report``).
@@ -3604,7 +5361,7 @@ interface PlaybackReportWrite {
3604
5361
  * Do not edit manually.
3605
5362
  * Mozaik backend
3606
5363
  * 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.
3607
- * OpenAPI spec version: 0.5.0
5364
+ * OpenAPI spec version: 0.7.0
3608
5365
  */
3609
5366
  /**
3610
5367
  * A compliance document a contracted practitioner must hold.
@@ -3657,7 +5414,7 @@ interface PractitionerDocumentListRead {
3657
5414
  * Do not edit manually.
3658
5415
  * Mozaik backend
3659
5416
  * 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.
3660
- * OpenAPI spec version: 0.5.0
5417
+ * OpenAPI spec version: 0.7.0
3661
5418
  */
3662
5419
  /**
3663
5420
  * A teacher, dispatcher or coach as the back office sees them.
@@ -3697,7 +5454,7 @@ interface PractitionerPage {
3697
5454
  * Do not edit manually.
3698
5455
  * Mozaik backend
3699
5456
  * 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.
3700
- * OpenAPI spec version: 0.5.0
5457
+ * OpenAPI spec version: 0.7.0
3701
5458
  */
3702
5459
  /**
3703
5460
  * What the back office may change about a practitioner.
@@ -3728,7 +5485,7 @@ interface PractitionerWrite {
3728
5485
  * Do not edit manually.
3729
5486
  * Mozaik backend
3730
5487
  * 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.
3731
- * OpenAPI spec version: 0.5.0
5488
+ * OpenAPI spec version: 0.7.0
3732
5489
  */
3733
5490
  /**
3734
5491
  * The caller's preferences (E28).
@@ -3746,7 +5503,7 @@ interface PreferencesRead {
3746
5503
  * Do not edit manually.
3747
5504
  * Mozaik backend
3748
5505
  * 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.
3749
- * OpenAPI spec version: 0.5.0
5506
+ * OpenAPI spec version: 0.7.0
3750
5507
  */
3751
5508
  type PressArticleListReadFilters = {
3752
5509
  [key: string]: unknown;
@@ -3774,7 +5531,7 @@ interface PressArticleListRead {
3774
5531
  * Do not edit manually.
3775
5532
  * Mozaik backend
3776
5533
  * 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.
3777
- * OpenAPI spec version: 0.5.0
5534
+ * OpenAPI spec version: 0.7.0
3778
5535
  */
3779
5536
  /**
3780
5537
  * One press article (E42). PROVISIONAL beyond the named fields.
@@ -3842,7 +5599,7 @@ interface ProductGrantWrite {
3842
5599
  * Do not edit manually.
3843
5600
  * Mozaik backend
3844
5601
  * 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.
3845
- * OpenAPI spec version: 0.5.0
5602
+ * OpenAPI spec version: 0.7.0
3846
5603
  */
3847
5604
  /**
3848
5605
  * Add a profile to the caller's account (E21).
@@ -3870,7 +5627,7 @@ interface ProfileCreateWrite {
3870
5627
  * Do not edit manually.
3871
5628
  * Mozaik backend
3872
5629
  * 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.
3873
- * OpenAPI spec version: 0.5.0
5630
+ * OpenAPI spec version: 0.7.0
3874
5631
  */
3875
5632
  /**
3876
5633
  * One profile under the caller's account (E20 item shape, E22 whole body).
@@ -3911,7 +5668,7 @@ interface ProfileListRead {
3911
5668
  * Do not edit manually.
3912
5669
  * Mozaik backend
3913
5670
  * 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.
3914
- * OpenAPI spec version: 0.5.0
5671
+ * OpenAPI spec version: 0.7.0
3915
5672
  */
3916
5673
  /**
3917
5674
  * Partially update one of the caller's profiles (E23).
@@ -3934,7 +5691,7 @@ interface ProfileUpdateWrite {
3934
5691
  * Do not edit manually.
3935
5692
  * Mozaik backend
3936
5693
  * 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.
3937
- * OpenAPI spec version: 0.5.0
5694
+ * OpenAPI spec version: 0.7.0
3938
5695
  */
3939
5696
  /**
3940
5697
  * Rate a document (``POST /document/rating/update``).
@@ -3955,7 +5712,7 @@ interface RatingUpdateWrite {
3955
5712
  * Do not edit manually.
3956
5713
  * Mozaik backend
3957
5714
  * 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.
3958
- * OpenAPI spec version: 0.5.0
5715
+ * OpenAPI spec version: 0.7.0
3959
5716
  */
3960
5717
  type ReadCatalogParams = {
3961
5718
  /**
@@ -3975,7 +5732,7 @@ type ReadCatalogParams = {
3975
5732
  * Do not edit manually.
3976
5733
  * Mozaik backend
3977
5734
  * 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.
3978
- * OpenAPI spec version: 0.5.0
5735
+ * OpenAPI spec version: 0.7.0
3979
5736
  */
3980
5737
  type ReadCatalogThemeParams = {
3981
5738
  /**
@@ -3995,7 +5752,7 @@ type ReadCatalogThemeParams = {
3995
5752
  * Do not edit manually.
3996
5753
  * Mozaik backend
3997
5754
  * 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.
3998
- * OpenAPI spec version: 0.5.0
5755
+ * OpenAPI spec version: 0.7.0
3999
5756
  */
4000
5757
  type ReadEditorParams = {
4001
5758
  /**
@@ -4033,7 +5790,7 @@ interface ReaderPackageRead {
4033
5790
  * Do not edit manually.
4034
5791
  * Mozaik backend
4035
5792
  * 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.
4036
- * OpenAPI spec version: 0.5.0
5793
+ * OpenAPI spec version: 0.7.0
4037
5794
  */
4038
5795
  type ReadHomeFeedParams = {
4039
5796
  /**
@@ -4049,7 +5806,7 @@ type ReadHomeFeedParams = {
4049
5806
  * Do not edit manually.
4050
5807
  * Mozaik backend
4051
5808
  * 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.
4052
- * OpenAPI spec version: 0.5.0
5809
+ * OpenAPI spec version: 0.7.0
4053
5810
  */
4054
5811
  type ReadIlsHoldableParams = {
4055
5812
  /**
@@ -4064,7 +5821,7 @@ type ReadIlsHoldableParams = {
4064
5821
  * Do not edit manually.
4065
5822
  * Mozaik backend
4066
5823
  * 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.
4067
- * OpenAPI spec version: 0.5.0
5824
+ * OpenAPI spec version: 0.7.0
4068
5825
  */
4069
5826
  /**
4070
5827
  * Where this reader last was.
@@ -4092,7 +5849,7 @@ interface ReadingPositionRead {
4092
5849
  * Do not edit manually.
4093
5850
  * Mozaik backend
4094
5851
  * 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.
4095
- * OpenAPI spec version: 0.5.0
5852
+ * OpenAPI spec version: 0.7.0
4096
5853
  */
4097
5854
  type ReadingPositionWriteUsageBlocks = {
4098
5855
  [key: string]: unknown;
@@ -4129,7 +5886,7 @@ interface ReadingPositionWrite {
4129
5886
  * Do not edit manually.
4130
5887
  * Mozaik backend
4131
5888
  * 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.
4132
- * OpenAPI spec version: 0.5.0
5889
+ * OpenAPI spec version: 0.7.0
4133
5890
  */
4134
5891
  /**
4135
5892
  * The stored session's id (E54).
@@ -4148,7 +5905,7 @@ interface ReadingSessionRead {
4148
5905
  * Do not edit manually.
4149
5906
  * Mozaik backend
4150
5907
  * 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.
4151
- * OpenAPI spec version: 0.5.0
5908
+ * OpenAPI spec version: 0.7.0
4152
5909
  */
4153
5910
  /**
4154
5911
  * Record one content-consumption session (E54).
@@ -4180,7 +5937,7 @@ interface ReadingSessionWrite {
4180
5937
  * Do not edit manually.
4181
5938
  * Mozaik backend
4182
5939
  * 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.
4183
- * OpenAPI spec version: 0.5.0
5940
+ * OpenAPI spec version: 0.7.0
4184
5941
  */
4185
5942
  type ReadPackageParams = {
4186
5943
  /**
@@ -4195,7 +5952,7 @@ type ReadPackageParams = {
4195
5952
  * Do not edit manually.
4196
5953
  * Mozaik backend
4197
5954
  * 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.
4198
- * OpenAPI spec version: 0.5.0
5955
+ * OpenAPI spec version: 0.7.0
4199
5956
  */
4200
5957
  type ReadPackParams = {
4201
5958
  /**
@@ -4215,7 +5972,7 @@ type ReadPackParams = {
4215
5972
  * Do not edit manually.
4216
5973
  * Mozaik backend
4217
5974
  * 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.
4218
- * OpenAPI spec version: 0.5.0
5975
+ * OpenAPI spec version: 0.7.0
4219
5976
  */
4220
5977
  type ReadPatronLicenseParams = {
4221
5978
  /**
@@ -4231,7 +5988,7 @@ type ReadPatronLicenseParams = {
4231
5988
  * Do not edit manually.
4232
5989
  * Mozaik backend
4233
5990
  * 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.
4234
- * OpenAPI spec version: 0.5.0
5991
+ * OpenAPI spec version: 0.7.0
4235
5992
  */
4236
5993
  type ReadPressReviewParams = {
4237
5994
  theme_id?: number | null;
@@ -4248,7 +6005,7 @@ type ReadPressReviewParams = {
4248
6005
  * Do not edit manually.
4249
6006
  * Mozaik backend
4250
6007
  * 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.
4251
- * OpenAPI spec version: 0.5.0
6008
+ * OpenAPI spec version: 0.7.0
4252
6009
  */
4253
6010
  type ReadRecommendationsParams = {
4254
6011
  /**
@@ -4274,7 +6031,7 @@ interface RecommendationsRead {
4274
6031
  * Do not edit manually.
4275
6032
  * Mozaik backend
4276
6033
  * 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.
4277
- * OpenAPI spec version: 0.5.0
6034
+ * OpenAPI spec version: 0.7.0
4278
6035
  */
4279
6036
  /**
4280
6037
  * Exchange a refresh token for a new pair.
@@ -4287,6 +6044,8 @@ interface RecommendationsRead {
4287
6044
  * :class:`TokenPairRead`.
4288
6045
  */
4289
6046
  interface RefreshWrite {
6047
+ /** Client that owns the refresh token; defaults to mozaik-web. */
6048
+ clientId?: string | null;
4290
6049
  /**
4291
6050
  * @minLength 1
4292
6051
  * @maxLength 8192
@@ -4321,7 +6080,7 @@ interface ReviewPage {
4321
6080
  * Do not edit manually.
4322
6081
  * Mozaik backend
4323
6082
  * 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.
4324
- * OpenAPI spec version: 0.5.0
6083
+ * OpenAPI spec version: 0.7.0
4325
6084
  */
4326
6085
  /**
4327
6086
  * A patron's written review — ``Entity/Review.php``.
@@ -4339,7 +6098,7 @@ interface ReviewRead {
4339
6098
  * Do not edit manually.
4340
6099
  * Mozaik backend
4341
6100
  * 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.
4342
- * OpenAPI spec version: 0.5.0
6101
+ * OpenAPI spec version: 0.7.0
4343
6102
  */
4344
6103
  /**
4345
6104
  * Write or amend a review (``POST /document/review/update/{docId}[/{avisId}]``).
@@ -4384,7 +6143,7 @@ type SearchEverythingParams = {
4384
6143
  * Do not edit manually.
4385
6144
  * Mozaik backend
4386
6145
  * 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.
4387
- * OpenAPI spec version: 0.5.0
6146
+ * OpenAPI spec version: 0.7.0
4388
6147
  */
4389
6148
  /**
4390
6149
  * One tab of the search result navigation (E46).
@@ -4406,7 +6165,7 @@ interface SearchNavigationRead {
4406
6165
  * Do not edit manually.
4407
6166
  * Mozaik backend
4408
6167
  * 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.
4409
- * OpenAPI spec version: 0.5.0
6168
+ * OpenAPI spec version: 0.7.0
4410
6169
  */
4411
6170
  type SearchParams = {
4412
6171
  /**
@@ -4442,7 +6201,7 @@ interface SearchResultsRead {
4442
6201
  * Do not edit manually.
4443
6202
  * Mozaik backend
4444
6203
  * 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.
4445
- * OpenAPI spec version: 0.5.0
6204
+ * OpenAPI spec version: 0.7.0
4446
6205
  */
4447
6206
  type SearchTenantsParams = {
4448
6207
  /**
@@ -4468,7 +6227,7 @@ type SearchTenantsParams = {
4468
6227
  * Do not edit manually.
4469
6228
  * Mozaik backend
4470
6229
  * 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.
4471
- * OpenAPI spec version: 0.5.0
6230
+ * OpenAPI spec version: 0.7.0
4472
6231
  */
4473
6232
  /**
4474
6233
  * A third-party service the caller's establishment entitles them to (E27).
@@ -4556,7 +6315,7 @@ interface StreamingSessionRead {
4556
6315
  * Do not edit manually.
4557
6316
  * Mozaik backend
4558
6317
  * 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.
4559
- * OpenAPI spec version: 0.5.0
6318
+ * OpenAPI spec version: 0.7.0
4560
6319
  */
4561
6320
  /**
4562
6321
  * Begin a streaming session (``/streaming/post-execute``, ``/from-app-execute``).
@@ -4578,7 +6337,7 @@ interface StreamingStartQuery {
4578
6337
  * Do not edit manually.
4579
6338
  * Mozaik backend
4580
6339
  * 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.
4581
- * OpenAPI spec version: 0.5.0
6340
+ * OpenAPI spec version: 0.7.0
4582
6341
  */
4583
6342
  /**
4584
6343
  * A school subject, as the request form offers it.
@@ -4612,7 +6371,7 @@ interface SubjectListRead {
4612
6371
  * Do not edit manually.
4613
6372
  * Mozaik backend
4614
6373
  * 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.
4615
- * OpenAPI spec version: 0.5.0
6374
+ * OpenAPI spec version: 0.7.0
4616
6375
  */
4617
6376
  /**
4618
6377
  * Create or amend a subject. Reference data somebody has to maintain.
@@ -4649,7 +6408,7 @@ interface SubjectWrite {
4649
6408
  * Do not edit manually.
4650
6409
  * Mozaik backend
4651
6410
  * 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.
4652
- * OpenAPI spec version: 0.5.0
6411
+ * OpenAPI spec version: 0.7.0
4653
6412
  */
4654
6413
  /**
4655
6414
  * Authorisation to open one title at the supplier that hosts it.
@@ -4715,7 +6474,7 @@ interface SupportSessionRead {
4715
6474
  * Do not edit manually.
4716
6475
  * Mozaik backend
4717
6476
  * 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.
4718
- * OpenAPI spec version: 0.5.0
6477
+ * OpenAPI spec version: 0.7.0
4719
6478
  */
4720
6479
  type TenantDirectoryParams = {
4721
6480
  /**
@@ -4736,7 +6495,7 @@ type TenantDirectoryParams = {
4736
6495
  * Do not edit manually.
4737
6496
  * Mozaik backend
4738
6497
  * 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.
4739
- * OpenAPI spec version: 0.5.0
6498
+ * OpenAPI spec version: 0.7.0
4740
6499
  */
4741
6500
  /**
4742
6501
  * Staff lookup result, without the administrator-only settings blob.
@@ -4765,7 +6524,7 @@ interface TenantSearchPage {
4765
6524
  * Do not edit manually.
4766
6525
  * Mozaik backend
4767
6526
  * 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.
4768
- * OpenAPI spec version: 0.5.0
6527
+ * OpenAPI spec version: 0.7.0
4769
6528
  */
4770
6529
  type TenantSettingsReadSettings = {
4771
6530
  [key: string]: unknown;
@@ -4798,7 +6557,7 @@ interface TenantSettingsRead {
4798
6557
  * Do not edit manually.
4799
6558
  * Mozaik backend
4800
6559
  * 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.
4801
- * OpenAPI spec version: 0.5.0
6560
+ * OpenAPI spec version: 0.7.0
4802
6561
  */
4803
6562
  type TenantSettingsUpdateWriteSettings = {
4804
6563
  [key: string]: unknown;
@@ -4831,7 +6590,7 @@ interface TenantSettingsUpdateWrite {
4831
6590
  * Do not edit manually.
4832
6591
  * Mozaik backend
4833
6592
  * 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.
4834
- * OpenAPI spec version: 0.5.0
6593
+ * OpenAPI spec version: 0.7.0
4835
6594
  */
4836
6595
  /**
4837
6596
  * One catalogue theme. Legacy ``themes`` / ``ThemeController``.
@@ -4866,7 +6625,7 @@ interface ThemeListRead {
4866
6625
  * Do not edit manually.
4867
6626
  * Mozaik backend
4868
6627
  * 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.
4869
- * OpenAPI spec version: 0.5.0
6628
+ * OpenAPI spec version: 0.7.0
4870
6629
  */
4871
6630
  /**
4872
6631
  * Reorder a pillar's themes in one call.
@@ -4892,7 +6651,7 @@ interface ThemeOrderWrite {
4892
6651
  * Do not edit manually.
4893
6652
  * Mozaik backend
4894
6653
  * 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.
4895
- * OpenAPI spec version: 0.5.0
6654
+ * OpenAPI spec version: 0.7.0
4896
6655
  */
4897
6656
  /**
4898
6657
  * Create or amend a theme.
@@ -4923,7 +6682,7 @@ interface ThemeWrite {
4923
6682
  * Do not edit manually.
4924
6683
  * Mozaik backend
4925
6684
  * 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.
4926
- * OpenAPI spec version: 0.5.0
6685
+ * OpenAPI spec version: 0.7.0
4927
6686
  */
4928
6687
  /**
4929
6688
  * A practitioner delivering an answer.
@@ -4966,7 +6725,7 @@ interface TutoringAttachmentRead {
4966
6725
  * Do not edit manually.
4967
6726
  * Mozaik backend
4968
6727
  * 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.
4969
- * OpenAPI spec version: 0.5.0
6728
+ * OpenAPI spec version: 0.7.0
4970
6729
  */
4971
6730
  /**
4972
6731
  * Why a request closed without succeeding.
@@ -5042,7 +6801,7 @@ interface TutoringDispatchWrite {
5042
6801
  * Do not edit manually.
5043
6802
  * Mozaik backend
5044
6803
  * 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.
5045
- * OpenAPI spec version: 0.5.0
6804
+ * OpenAPI spec version: 0.7.0
5046
6805
  */
5047
6806
  /**
5048
6807
  * Clear a rating for the public showcase, or withhold it.
@@ -5057,7 +6816,7 @@ interface TutoringFeedbackModerationWrite {
5057
6816
  * Do not edit manually.
5058
6817
  * Mozaik backend
5059
6818
  * 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.
5060
- * OpenAPI spec version: 0.5.0
6819
+ * OpenAPI spec version: 0.7.0
5061
6820
  */
5062
6821
  /**
5063
6822
  * A rating, as the back office reviews it.
@@ -5089,7 +6848,7 @@ interface TutoringFeedbackPage {
5089
6848
  * Do not edit manually.
5090
6849
  * Mozaik backend
5091
6850
  * 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.
5092
- * OpenAPI spec version: 0.5.0
6851
+ * OpenAPI spec version: 0.7.0
5093
6852
  */
5094
6853
  /**
5095
6854
  * What the pupil thought of the answer.
@@ -5152,7 +6911,7 @@ interface TutoringRequestAdminCloseWrite {
5152
6911
  * Do not edit manually.
5153
6912
  * Mozaik backend
5154
6913
  * 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.
5155
- * OpenAPI spec version: 0.5.0
6914
+ * OpenAPI spec version: 0.7.0
5156
6915
  */
5157
6916
  /**
5158
6917
  * Staff corrections to a request in flight.
@@ -5306,7 +7065,7 @@ interface TutoringRoomRead {
5306
7065
  * Do not edit manually.
5307
7066
  * Mozaik backend
5308
7067
  * 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.
5309
- * OpenAPI spec version: 0.5.0
7068
+ * OpenAPI spec version: 0.7.0
5310
7069
  */
5311
7070
  type ValidationErrorDetailCtx = {
5312
7071
  [key: string]: unknown;
@@ -5356,5 +7115,5 @@ interface ValidationErrorResponse {
5356
7115
  detail: ValidationErrorDetail[] | string;
5357
7116
  }
5358
7117
  //#endregion
5359
- export { ReviewModerationRead as $, LeaseRead as $n, DocumentSummaryRead as $r, PartnerCategoryListRead as $t, TenantSettingsReadSettings as A, BodyUploadAttachment as Ai, ListMessagesParams as An, HistoryPage as Ar, PractitionerWrite as At, StreamingSessionRead as B, ProductRoleRead as Bi, ListBiblioFavoritesParams as Bn, EducationalGoalWrite as Br, PaymentProvider as Bt, ThemeWrite as C, CatalogRead as Ci, ReviewState as Cn, IlsAccountReadFields as Cr, ProductGrantWrite as Ct, TenantSettingsUpdateWrite as D, ContentType as Di, ListPatronsParams as Dn, PressReviewSectionRead as Dr, PressArticleListRead as Dt, ThemeRead as E, ContentSummaryRead as Ei, ListPractitionersParams as En, PressReviewRead as Er, PressArticleRead as Et, SupplierGrantRead as F, AiDraftReviewWrite as Fi, ListHistoryParams as Fn, FavoriteListRead as Fr, PractitionerDocumentKind as Ft, SearchTenantsParams as G, LikeRead as Gn, EditorialSlideRead as Gr, PatronUpdateWrite as Gt, SessionRead as H, Product as Hi, TutoringStatus as Hn, EducationalGoalRead as Hr, PaymentRead as Ht, SubjectWrite as I, AiDraftRead as Ii, ListGoalsParams as In, FavoriteEntryRead as Ir, PlaybackReportWrite as It, SearchNavigationRead as J, PartnerProvider as Jn, DocumentSearchWrite as Jr, PatronDetailRead as Jt, SearchResultsRead as K, LicenseUserRead as Kn, EditorDetailRead as Kr, PatronPage as Kt, SubjectListRead as L, AccountUpdateWrite as Li, ListFeedbackParams as Ln, SelectionRead as Lr, PlaybackReportRead as Lt, TenantSummaryRead as M, AuthorizationRead as Mi, PartnerMediaType as Mn, FormFieldRead as Mr, PractitionerRead as Mt, TenantDirectoryParams as N, AuthorizationParams as Ni, ListLoansParams as Nn, FavoritePage as Nr, PractitionerDocumentListRead as Nt, TenantSettingsUpdateWriteSettings as O, BorrowWrite as Oi, ListNotificationsParams as On, PressArticleSummaryRead as Or, PressArticleListReadFilters as Ot, SupportSessionRead as P, AttachmentRole as Pi, ListIlsLoansParams as Pn, FavoriteRead as Pr, PractitionerDocumentRead as Pt, ReviewPage as Q, SchoolCycle as Qn, DocumentPage as Qr, PartnerMediaSummaryRead as Qt, SubjectRead as R, AccountRead as Ri, ListExpiringDocumentsParams as Rn, FavoriteAddWrite as Rr, PaymentStartWrite as Rt, TutoringAnswerWrite as S, CatalogRefRead as Si, ListReviewsParams as Sn, IlsAccountRead as Sr, ProfileCreateWrite as St, ThemeListRead as T, PageMeta as Ti, ListPressArticlesParams as Tn, HomeFeedRead as Tr, ProductGrantRead as Tt, ServiceListRead as U, AccessMode as Ui, TutoringKind as Un, EditorListRead as Ur, PaymentStatus as Ut, StaffLicenseRead as V, ProductRole as Vi, ListAllRequestsParams as Vn, EducationalGoalListRead as Vr, PaymentListRead as Vt, ServiceRead as W, TutoringChannel as Wn, EditorRead as Wr, PaymentFormRead as Wt, ReviewUpdateWrite as X, LevelListRead as Xn, TrackRead as Xr, PartnerMediaPage as Xt, SearchEverythingParams as Y, LevelWrite as Yn, DocumentRead as Yr, PartnerMediaRead as Yt, ReviewRead as Z, LevelRead as Zn, LayerRead as Zr, PartnerFavoriteListRead as Zt, TutoringDispatchWrite as _, CatalogueSearchRead as _i, LoanRead as _n, IlsHoldWrite as _r, ReadCatalogParams as _t, TutoringRequestWrite as a, CurrentReadingListRead as ai, OpenAtSupplierParams as an, ImpersonationWrite as ar, ReadPackParams as at, TutoringCloseReason as b, SearchKind as bi, SubjectKind as bn, IlsHoldableRead as br, ProfileListRead as bt, TutoringRequestRead as c, ContentRead as ci, ModerationWrite as cn, IlsSuggestionOptionRead as cr, ReadingSessionRead as ct, TutoringQueuePage as d, CodeExchangeWrite as di, MessageRead as dn, IlsReviewWrite as dr, ReadingPositionRead as dt, Pillar as ei, PartnerCategoryRead as en, LeaseCloseWrite as er, RefreshWrite as et, TutoringQueueItemRead as f, ChromecastRead as fi, MessageKind as fn, IlsPasswordWrite as fr, ReadIlsHoldableParams as ft, TutoringFeedbackModerationWrite as g, CategoryRead as gi, LoanPage as gn, IlsLoanRead as gr, ReadCatalogThemeParams as gt, TutoringFeedbackRead as h, CategoryListRead as hi, LogoutWrite as hn, IlsLoanListRead as hr, ReadEditorParams as ht, TutoringRoomRead as i, DemoUserRead as ii, PackDetailReadFilters as in, LastPositionWrite as ir, ReadPatronLicenseParams as it, TenantSearchPage as j, BillingWrite as ji, ListMediaParams as jn, HistoryEntryRead as jr, PractitionerPage as jt, TenantSettingsRead as k, EntitlementAct as ki, ListMyRequestsParams as kn, HomeFeedSectionRead as kr, PreferencesRead as kt, TutoringRequestAdminWrite as l, ContentPage as li, MessageWrite as ln, IlsStatusRead as lr, ReadingPositionWrite as lt, TutoringFeedbackPage as m, CategoryPreferencesWrite as mi, PrincipalRead as mn, IlsLocationRead as mr, ReaderPackageRead as mt, ValidationErrorDetail as n, DocumentInformationRead as ni, PackRead as nn, LearningPathDetailRead as nr, ReadRecommendationsParams as nt, TutoringRequestStaffRead as o, CurrentReadingRead as oi, NotificationListRead as on, IlsTagWrite as or, ReadPackageParams as ot, TutoringFeedbackWrite as p, ChatTicketRead as pi, MeRead as pn, IlsLocationListRead as pr, ReadHomeFeedParams as pt, SearchParams as q, LicenseRead as qn, DrmRead as qr, PatronSummaryRead as qt, ValidationErrorDetailCtx as r, DemoUserWrite as ri, PackDetailRead as rn, LearningPathStepRead as rr, ReadPressReviewParams as rt, TutoringRequestPage as s, CredentialsWrite as si, NotificationRead as sn, IlsSuggestionOptionListRead as sr, ReadingSessionWrite as st, ValidationErrorResponse as t, DocumentLinkRead as ti, PackListRead as tn, LearningPathRefRead as tr, RecommendationsRead as tt, TutoringRequestAdminCloseWrite as u, ConsumptionCloseReason as ui, MessagePage as un, IlsSignInWrite as ur, ReadingPositionWriteUsageBlocks as ut, TutoringDeliveryRead as v, SearchHitRead as vi, LiveLeaseListRead as vn, IlsHoldListRead as vr, RatingUpdateWrite as vt, ThemeOrderWrite as w, ThemeRefRead as wi, ListQueueParams as wn, HTTPExceptionResponse as wr, ProductGrantListRead as wt, TutoringAttachmentRead as x, SearchFacetRead as xi, ListThemesParams as xn, IlsActionRead as xr, ProfileRead as xt, TutoringCloseWrite as y, SearchSource as yi, LiveLeaseRead as yn, IlsHoldRead as yr, ProfileUpdateWrite as yt, StreamingStartQuery as z, AccountDetailRead as zi, ListEditorsParams as zn, FavoriteKind as zr, PaymentStartRead as zt };
7118
+ export { ReviewModerationRead as $, SubjectKind as $a, DeskListExpiringDocumentsParams as $i, IlsTagWrite as $n, AuthorizationRead as $o, DeskTimeseriesRead as $r, PartnerCategoryRead as $t, TenantSettingsReadSettings as A, DeskFeedbackPage as Aa, DeskPatronRead as Ai, ListLoansParams as An, ContentPage as Ao, SelectionRead as Ar, PractitionerWrite as At, StreamingSessionRead as B, DeskDashboardRead as Ba, TutoringChannel as Bi, LicenseUserRead as Bn, SearchSource as Bo, DrmRead as Br, PaymentProvider as Bt, ThemeWrite as C, DeskGetIlsStatusParams as Ca, DeskPaymentsSummaryParams as Ci, ListPractitionersParams as Cn, DeskAccessCheckRead as Co, HistoryPage as Cr, ProductGrantWrite as Ct, TenantSettingsUpdateWrite as D, DeskGetCatalogueCollectionParams as Da, DeskPatronPage as Di, ListMessagesParams as Dn, CurrentReadingRead as Do, FavoriteRead as Dr, PressArticleListRead as Dt, ThemeRead as E, DeskGetCatalogueItemParams as Ea, DeskPaymentBucketRead as Ei, ListMyRequestsParams as En, CurrentReadingListRead as Eo, FavoritePage as Er, PressArticleRead as Et, SupplierGrantRead as F, DeskEntity as Fa, DeskMetricDefinitionRead as Fi, ListExpiringDocumentsParams as Fn, CategoryPreferencesWrite as Fo, EducationalGoalRead as Fr, PractitionerDocumentKind as Ft, SearchTenantsParams as G, DeskCountRead as Ga, ReviewState as Gi, SchoolCycle as Gn, ThemeRefRead as Go, DocumentPage as Gr, PatronPage as Gt, SessionRead as H, DeskMetric as Ha, DeskListTenantsParams as Hi, LevelWrite as Hn, SearchFacetRead as Ho, DocumentRead as Hr, PaymentRead as Ht, SubjectWrite as I, DeskEntitlementPage as Ia, DeskLoansSummaryParams as Ii, ListEditorsParams as In, CategoryListRead as Io, EditorListRead as Ir, PlaybackReportWrite as It, SearchNavigationRead as J, DeskContractRead as Ja, PaymentStatus as Ji, LearningPathRefRead as Jn, ContentType as Jo, DocumentLinkRead as Jr, PartnerMediaRead as Jt, SearchResultsRead as K, DeskCountPatronsParams as Ka, DeskListPractitionerDocumentsParams as Ki, LeaseRead as Kn, PageMeta as Ko, DocumentSummaryRead as Kr, PatronSummaryRead as Kt, SubjectListRead as L, DeskEntitlementRead as La, DeskListTutoringRequestsParams as Li, ListBiblioFavoritesParams as Ln, CategoryRead as Lo, EditorRead as Lr, PlaybackReportRead as Lt, TenantSummaryRead as M, DeskExplainAccessParams as Ma, PartnerProvider as Mi, ListHistoryParams as Mn, CodeExchangeWrite as Mo, FavoriteKind as Mr, PractitionerRead as Mt, TenantDirectoryParams as N, DeskExclusionPage as Na, DeskMetricTimeseriesParams as Ni, ListGoalsParams as Nn, ChromecastRead as No, EducationalGoalWrite as Nr, PractitionerDocumentListRead as Nt, TenantSettingsUpdateWriteSettings as O, DeskGetAuditEventParams as Oa, DeskPatronDetailRead as Oi, ListMediaParams as On, CredentialsWrite as Oo, FavoriteListRead as Or, PressArticleListReadFilters as Ot, SupportSessionRead as P, DeskExclusionRead as Pa, DeskMetricPointRead as Pi, ListFeedbackParams as Pn, ChatTicketRead as Po, EducationalGoalListRead as Pr, PractitionerDocumentRead as Pt, ReviewPage as Q, DeskConsumptionSummaryParams as Qa, DeskListLiveLeasesParams as Qi, ImpersonationWrite as Qn, BillingWrite as Qo, DeskTutoringRead as Qr, PartnerCategoryListRead as Qt, SubjectRead as R, DeskDocumentPage as Ra, TutoringStatus as Ri, ListAllRequestsParams as Rn, CatalogueSearchRead as Ro, EditorialSlideRead as Rr, PaymentStartWrite as Rt, TutoringAnswerWrite as S, DeskGetLoanParams as Sa, DeskPaymentSummaryRead as Si, ListPressArticlesParams as Sn, DeskCatalogueSource as So, HomeFeedSectionRead as Sr, ProfileCreateWrite as St, ThemeListRead as T, DeskGetConsumptionEventParams as Ta, DeskPaymentRead as Ti, ListNotificationsParams as Tn, DemoUserRead as To, FormFieldRead as Tr, ProductGrantRead as Tt, ServiceListRead as U, DeskDashboardOverviewParams as Ua, TenantKind as Ui, LevelListRead as Un, CatalogRefRead as Uo, TrackRead as Ur, PaymentFormRead as Ut, StaffLicenseRead as V, DeskMetricValueRead as Va, DeskListTutoringFeedbackParams as Vi, LicenseRead as Vn, SearchKind as Vo, DocumentSearchWrite as Vr, PaymentListRead as Vt, ServiceRead as W, DeskMetricSection as Wa, DeskListReviewsParams as Wi, LevelRead as Wn, CatalogRead as Wo, LayerRead as Wr, PatronUpdateWrite as Wt, ReviewUpdateWrite as X, DeskContentRatingsSummaryParams as Xa, DeskListPatronProfilesParams as Xi, LearningPathStepRead as Xn, EntitlementAct as Xo, DeskTutoringRequestsSummaryParams as Xr, PartnerFavoriteListRead as Xt, SearchEverythingParams as Y, DeskContextRead as Ya, DeskListPatronsParams as Yi, LearningPathDetailRead as Yn, BorrowWrite as Yo, DocumentInformationRead as Yr, PartnerMediaPage as Yt, ReviewRead as Z, DeskConsumptionSummaryRead as Za, DeskListLoansParams as Zi, LastPositionWrite as Zn, BodyUploadAttachment as Zo, DeskTutoringPage as Zr, PartnerMediaSummaryRead as Zt, TutoringDispatchWrite as _, DeskGetReadingProgressParams as _a, DeskRatingRead as _i, LiveLeaseListRead as _n, DeskAnswerRead as _o, HTTPExceptionResponse as _r, ReadCatalogParams as _t, TutoringRequestWrite as a, DeskListCatalogueCollectionsParams as aa, DeskServiceRead as ai, NotificationListRead as an, DeskCataloguePage as ao, IlsPasswordWrite as ar, AccountRead as as, ReadPackParams as at, TutoringCloseReason as b, DeskGetPatronServicesParams as ba, DeskPractitionerPage as bi, ListReviewsParams as bn, DeskUsageRead as bo, PressReviewSectionRead as br, ProfileListRead as bt, TutoringRequestRead as c, DeskLicenseBucketRead as ca, DeskSearchCatalogueParams as ci, MessageWrite as cn, DeskBucketRead as co, IlsLoanListRead as cr, ProductRole as cs, ReadingSessionRead as ct, TutoringQueuePage as d, DeskIlsRead as da, DeskReviewPage as di, MessageKind as dn, DeskAttentionPage as do, IlsHoldListRead as dr, ReadingPositionRead as dt, DeskListEntitlementGrantsParams as ea, DeskTenantStatsRead as ei, PackListRead as en, DeskConsumptionPage as eo, IlsSuggestionOptionListRead as er, AuthorizationParams as es, RefreshWrite as et, TutoringQueueItemRead as f, DeskGrantRead as fa, DeskReviewRead as fi, MeRead as fn, DeskCursorMetaRead as fo, IlsHoldRead as fr, ReadIlsHoldableParams as ft, TutoringFeedbackModerationWrite as g, DeskGetReviewParams as ga, DeskRatingPage as gi, LoanRead as gn, DeskAttentionKind as go, IlsAccountReadFields as gr, ReadCatalogThemeParams as gt, TutoringFeedbackRead as h, DeskGetTenantIntegrationsParams as ha, DeskRatingSummaryRead as hi, LoanPage as hn, DeskOrder as ho, IlsAccountRead as hr, ReadEditorParams as ht, TutoringRoomRead as i, DeskListConsumptionEventsParams as ia, DeskServicePage as ii, OpenAtSupplierParams as in, DeskCollectionRead as io, IlsReviewWrite as ir, AccountUpdateWrite as is, ReadPatronLicenseParams as it, TenantSearchPage as j, DeskFeedbackRead as ja, DeskPartnerLicenseSummaryParams as ji, ListIlsLoansParams as jn, ConsumptionCloseReason as jo, FavoriteAddWrite as jr, PractitionerPage as jt, TenantSettingsRead as k, DeskFindPractitionersParams as ka, DeskPatronActivityPage as ki, PartnerMediaType as kn, ContentRead as ko, FavoriteEntryRead as kr, PreferencesRead as kt, TutoringRequestAdminWrite as l, DeskInterval as la, DeskSearchBackofficeParams as li, MessagePage as ln, DeskAuditPage as lo, IlsLoanRead as lr, Product as ls, ReadingPositionWrite as lt, TutoringFeedbackPage as m, DeskGetTutoringAnswerParams as ma, DeskReferenceOptionRead as mi, LogoutWrite as mn, DeskAttentionItemsParams as mo, IlsActionRead as mr, ReaderPackageRead as mt, ValidationErrorDetail as n, DeskListContractsParams as na, DeskTenantRead as ni, PackDetailRead as nn, DeskSubjectRead as no, IlsStatusRead as nr, AiDraftReviewWrite as ns, ReadRecommendationsParams as nt, TutoringRequestStaffRead as o, DeskListAuditEventsParams as oa, DeskSearchPage as oi, NotificationRead as on, DeskCatalogueRead as oo, IlsLocationListRead as or, AccountDetailRead as os, ReadPackageParams as ot, TutoringFeedbackWrite as p, DeskGetUsageLimitsParams as pa, DeskReferenceDataRead as pi, PrincipalRead as pn, DeskAttentionRead as po, IlsHoldableRead as pr, ReadHomeFeedParams as pt, SearchParams as q, DeskContractPage as qa, DeskListPaymentsParams as qi, LeaseCloseWrite as qn, ContentSummaryRead as qo, Pillar as qr, PatronDetailRead as qt, ValidationErrorDetailCtx as r, DeskListContentRatingsParams as ra, DeskSummaryRead as ri, PackDetailReadFilters as rn, DeskCollectionPage as ro, IlsSignInWrite as rr, AiDraftRead as rs, ReadPressReviewParams as rt, TutoringRequestPage as s, DeskLicenseSummaryRead as sa, DeskSearchRead as si, ModerationWrite as sn, DeskCapabilityRead as so, IlsLocationRead as sr, ProductRoleRead as ss, ReadingSessionWrite as st, ValidationErrorResponse as t, DeskListEntitlementExclusionsParams as ta, DeskTenantPage as ti, PackRead as tn, DeskConsumptionRead as to, IlsSuggestionOptionRead as tr, AttachmentRole as ts, RecommendationsRead as tt, TutoringRequestAdminCloseWrite as u, DeskIntegrationRead as ua, DeskReviewsSummaryParams as ui, MessageRead as un, DeskAuditRead as uo, IlsHoldWrite as ur, AccessMode as us, ReadingPositionWriteUsageBlocks as ut, TutoringDeliveryRead as v, DeskGetPractitionerParams as va, DeskRatingBucketRead as vi, LiveLeaseRead as vn, DeskActLimitRead as vo, HomeFeedRead as vr, RatingUpdateWrite as vt, ThemeOrderWrite as w, DeskGetContractParams as wa, DeskPaymentPage as wi, ListPatronsParams as wn, DemoUserWrite as wo, HistoryEntryRead as wr, ProductGrantListRead as wt, TutoringAttachmentRead as x, DeskGetPatronActivityParams as xa, DeskPractitionerRead as xi, ListQueueParams as xn, DeskReferenceRead as xo, PressArticleSummaryRead as xr, ProfileRead as xt, TutoringCloseWrite as y, DeskGetPaymentParams as ya, DeskProgressRead as yi, ListThemesParams as yn, DeskAccessRead as yo, PressReviewRead as yr, ProfileUpdateWrite as yt, StreamingStartQuery as z, DeskDocumentRead as za, TutoringKind as zi, LikeRead as zn, SearchHitRead as zo, EditorDetailRead as zr, PaymentStartRead as zt };
5360
7119
  //# sourceMappingURL=index.d.ts.map