@learnorama/mozaik-sdk 0.1.0

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 (208) hide show
  1. package/README.md +94 -0
  2. package/dist/api/account.d.ts +75 -0
  3. package/dist/api/account.js +117 -0
  4. package/dist/api/account.js.map +1 -0
  5. package/dist/api/admin-catalogue.d.ts +68 -0
  6. package/dist/api/admin-catalogue.js +155 -0
  7. package/dist/api/admin-catalogue.js.map +1 -0
  8. package/dist/api/admin-consumption.d.ts +27 -0
  9. package/dist/api/admin-consumption.js +55 -0
  10. package/dist/api/admin-consumption.js.map +1 -0
  11. package/dist/api/admin-licenses.d.ts +21 -0
  12. package/dist/api/admin-licenses.js +34 -0
  13. package/dist/api/admin-licenses.js.map +1 -0
  14. package/dist/api/admin-patrons.d.ts +36 -0
  15. package/dist/api/admin-patrons.js +76 -0
  16. package/dist/api/admin-patrons.js.map +1 -0
  17. package/dist/api/admin-reviews.d.ts +30 -0
  18. package/dist/api/admin-reviews.js +63 -0
  19. package/dist/api/admin-reviews.js.map +1 -0
  20. package/dist/api/admin-roles.d.ts +34 -0
  21. package/dist/api/admin-roles.js +62 -0
  22. package/dist/api/admin-roles.js.map +1 -0
  23. package/dist/api/admin-support.d.ts +68 -0
  24. package/dist/api/admin-support.js +116 -0
  25. package/dist/api/admin-support.js.map +1 -0
  26. package/dist/api/admin-tenants.d.ts +33 -0
  27. package/dist/api/admin-tenants.js +68 -0
  28. package/dist/api/admin-tenants.js.map +1 -0
  29. package/dist/api/admin-tutoring.d.ts +159 -0
  30. package/dist/api/admin-tutoring.js +455 -0
  31. package/dist/api/admin-tutoring.js.map +1 -0
  32. package/dist/api/auth.d.ts +92 -0
  33. package/dist/api/auth.js +192 -0
  34. package/dist/api/auth.js.map +1 -0
  35. package/dist/api/biblio-catalogue.d.ts +122 -0
  36. package/dist/api/biblio-catalogue.js +223 -0
  37. package/dist/api/biblio-catalogue.js.map +1 -0
  38. package/dist/api/biblio-home.d.ts +18 -0
  39. package/dist/api/biblio-home.js +31 -0
  40. package/dist/api/biblio-home.js.map +1 -0
  41. package/dist/api/biblio-library.d.ts +94 -0
  42. package/dist/api/biblio-library.js +187 -0
  43. package/dist/api/biblio-library.js.map +1 -0
  44. package/dist/api/biblio-nextory.d.ts +43 -0
  45. package/dist/api/biblio-nextory.js +65 -0
  46. package/dist/api/biblio-nextory.js.map +1 -0
  47. package/dist/api/biblio-press.d.ts +38 -0
  48. package/dist/api/biblio-press.js +70 -0
  49. package/dist/api/biblio-press.js.map +1 -0
  50. package/dist/api/biblio-search.d.ts +17 -0
  51. package/dist/api/biblio-search.js +30 -0
  52. package/dist/api/biblio-search.js.map +1 -0
  53. package/dist/api/biblio-telemetry.d.ts +28 -0
  54. package/dist/api/biblio-telemetry.js +49 -0
  55. package/dist/api/biblio-telemetry.js.map +1 -0
  56. package/dist/api/consumption.d.ts +30 -0
  57. package/dist/api/consumption.js +45 -0
  58. package/dist/api/consumption.js.map +1 -0
  59. package/dist/api/cvs-app.d.ts +39 -0
  60. package/dist/api/cvs-app.js +72 -0
  61. package/dist/api/cvs-app.js.map +1 -0
  62. package/dist/api/cvs-documents.d.ts +106 -0
  63. package/dist/api/cvs-documents.js +208 -0
  64. package/dist/api/cvs-documents.js.map +1 -0
  65. package/dist/api/cvs-favorites.d.ts +53 -0
  66. package/dist/api/cvs-favorites.js +82 -0
  67. package/dist/api/cvs-favorites.js.map +1 -0
  68. package/dist/api/cvs-loans.d.ts +59 -0
  69. package/dist/api/cvs-loans.js +106 -0
  70. package/dist/api/cvs-loans.js.map +1 -0
  71. package/dist/api/cvs-streaming.d.ts +40 -0
  72. package/dist/api/cvs-streaming.js +68 -0
  73. package/dist/api/cvs-streaming.js.map +1 -0
  74. package/dist/api/index.d.ts +34 -0
  75. package/dist/api/index.js +34 -0
  76. package/dist/api/partner-catalogue.d.ts +77 -0
  77. package/dist/api/partner-catalogue.js +125 -0
  78. package/dist/api/partner-catalogue.js.map +1 -0
  79. package/dist/api/partner-reader.d.ts +56 -0
  80. package/dist/api/partner-reader.js +103 -0
  81. package/dist/api/partner-reader.js.map +1 -0
  82. package/dist/api/profiles.d.ts +64 -0
  83. package/dist/api/profiles.js +126 -0
  84. package/dist/api/profiles.js.map +1 -0
  85. package/dist/api/tutoring-catalogue.d.ts +32 -0
  86. package/dist/api/tutoring-catalogue.js +59 -0
  87. package/dist/api/tutoring-catalogue.js.map +1 -0
  88. package/dist/api/tutoring-chat.d.ts +31 -0
  89. package/dist/api/tutoring-chat.js +71 -0
  90. package/dist/api/tutoring-chat.js.map +1 -0
  91. package/dist/api/tutoring-dispatch.d.ts +37 -0
  92. package/dist/api/tutoring-dispatch.js +83 -0
  93. package/dist/api/tutoring-dispatch.js.map +1 -0
  94. package/dist/api/tutoring-practitioner.d.ts +55 -0
  95. package/dist/api/tutoring-practitioner.js +110 -0
  96. package/dist/api/tutoring-practitioner.js.map +1 -0
  97. package/dist/api/tutoring-requests.d.ts +86 -0
  98. package/dist/api/tutoring-requests.js +176 -0
  99. package/dist/api/tutoring-requests.js.map +1 -0
  100. package/dist/client-BDwBZYB0.d.ts +28 -0
  101. package/dist/client-D3kMOcIr.js +61 -0
  102. package/dist/client-D3kMOcIr.js.map +1 -0
  103. package/dist/index-wL_20vR8.d.ts +4566 -0
  104. package/dist/index.d.ts +9 -0
  105. package/dist/index.js +10 -0
  106. package/dist/index.js.map +1 -0
  107. package/dist/models.d.ts +3 -0
  108. package/dist/models.js +175 -0
  109. package/dist/models.js.map +1 -0
  110. package/dist/react/account.d.ts +163 -0
  111. package/dist/react/account.js +240 -0
  112. package/dist/react/account.js.map +1 -0
  113. package/dist/react/admin-catalogue.d.ts +196 -0
  114. package/dist/react/admin-catalogue.js +336 -0
  115. package/dist/react/admin-catalogue.js.map +1 -0
  116. package/dist/react/admin-consumption.d.ts +75 -0
  117. package/dist/react/admin-consumption.js +127 -0
  118. package/dist/react/admin-consumption.js.map +1 -0
  119. package/dist/react/admin-licenses.d.ts +50 -0
  120. package/dist/react/admin-licenses.js +78 -0
  121. package/dist/react/admin-licenses.js.map +1 -0
  122. package/dist/react/admin-patrons.d.ts +111 -0
  123. package/dist/react/admin-patrons.js +173 -0
  124. package/dist/react/admin-patrons.js.map +1 -0
  125. package/dist/react/admin-reviews.d.ts +78 -0
  126. package/dist/react/admin-reviews.js +135 -0
  127. package/dist/react/admin-reviews.js.map +1 -0
  128. package/dist/react/admin-roles.d.ts +82 -0
  129. package/dist/react/admin-roles.js +135 -0
  130. package/dist/react/admin-roles.js.map +1 -0
  131. package/dist/react/admin-support.d.ts +123 -0
  132. package/dist/react/admin-support.js +208 -0
  133. package/dist/react/admin-support.js.map +1 -0
  134. package/dist/react/admin-tenants.d.ts +108 -0
  135. package/dist/react/admin-tenants.js +165 -0
  136. package/dist/react/admin-tenants.js.map +1 -0
  137. package/dist/react/admin-tutoring.d.ts +556 -0
  138. package/dist/react/admin-tutoring.js +954 -0
  139. package/dist/react/admin-tutoring.js.map +1 -0
  140. package/dist/react/auth.d.ts +220 -0
  141. package/dist/react/auth.js +372 -0
  142. package/dist/react/auth.js.map +1 -0
  143. package/dist/react/biblio-catalogue.d.ts +374 -0
  144. package/dist/react/biblio-catalogue.js +498 -0
  145. package/dist/react/biblio-catalogue.js.map +1 -0
  146. package/dist/react/biblio-home.d.ts +47 -0
  147. package/dist/react/biblio-home.js +75 -0
  148. package/dist/react/biblio-home.js.map +1 -0
  149. package/dist/react/biblio-library.d.ts +285 -0
  150. package/dist/react/biblio-library.js +411 -0
  151. package/dist/react/biblio-library.js.map +1 -0
  152. package/dist/react/biblio-nextory.d.ts +100 -0
  153. package/dist/react/biblio-nextory.js +163 -0
  154. package/dist/react/biblio-nextory.js.map +1 -0
  155. package/dist/react/biblio-press.d.ts +121 -0
  156. package/dist/react/biblio-press.js +163 -0
  157. package/dist/react/biblio-press.js.map +1 -0
  158. package/dist/react/biblio-search.d.ts +46 -0
  159. package/dist/react/biblio-search.js +74 -0
  160. package/dist/react/biblio-search.js.map +1 -0
  161. package/dist/react/biblio-telemetry.d.ts +49 -0
  162. package/dist/react/biblio-telemetry.js +85 -0
  163. package/dist/react/biblio-telemetry.js.map +1 -0
  164. package/dist/react/consumption.d.ts +66 -0
  165. package/dist/react/consumption.js +109 -0
  166. package/dist/react/consumption.js.map +1 -0
  167. package/dist/react/cvs-app.d.ts +86 -0
  168. package/dist/react/cvs-app.js +144 -0
  169. package/dist/react/cvs-app.js.map +1 -0
  170. package/dist/react/cvs-documents.d.ts +254 -0
  171. package/dist/react/cvs-documents.js +418 -0
  172. package/dist/react/cvs-documents.js.map +1 -0
  173. package/dist/react/cvs-favorites.d.ts +143 -0
  174. package/dist/react/cvs-favorites.js +206 -0
  175. package/dist/react/cvs-favorites.js.map +1 -0
  176. package/dist/react/cvs-loans.d.ts +140 -0
  177. package/dist/react/cvs-loans.js +234 -0
  178. package/dist/react/cvs-loans.js.map +1 -0
  179. package/dist/react/cvs-streaming.d.ts +87 -0
  180. package/dist/react/cvs-streaming.js +141 -0
  181. package/dist/react/cvs-streaming.js.map +1 -0
  182. package/dist/react/index.d.ts +34 -0
  183. package/dist/react/index.js +34 -0
  184. package/dist/react/partner-catalogue.d.ts +223 -0
  185. package/dist/react/partner-catalogue.js +301 -0
  186. package/dist/react/partner-catalogue.js.map +1 -0
  187. package/dist/react/partner-reader.d.ts +159 -0
  188. package/dist/react/partner-reader.js +226 -0
  189. package/dist/react/partner-reader.js.map +1 -0
  190. package/dist/react/profiles.d.ts +174 -0
  191. package/dist/react/profiles.js +279 -0
  192. package/dist/react/profiles.js.map +1 -0
  193. package/dist/react/tutoring-catalogue.d.ts +115 -0
  194. package/dist/react/tutoring-catalogue.js +151 -0
  195. package/dist/react/tutoring-catalogue.js.map +1 -0
  196. package/dist/react/tutoring-chat.d.ts +96 -0
  197. package/dist/react/tutoring-chat.js +172 -0
  198. package/dist/react/tutoring-chat.js.map +1 -0
  199. package/dist/react/tutoring-dispatch.d.ts +102 -0
  200. package/dist/react/tutoring-dispatch.js +183 -0
  201. package/dist/react/tutoring-dispatch.js.map +1 -0
  202. package/dist/react/tutoring-practitioner.d.ts +129 -0
  203. package/dist/react/tutoring-practitioner.js +230 -0
  204. package/dist/react/tutoring-practitioner.js.map +1 -0
  205. package/dist/react/tutoring-requests.d.ts +233 -0
  206. package/dist/react/tutoring-requests.js +385 -0
  207. package/dist/react/tutoring-requests.js.map +1 -0
  208. package/package.json +58 -0
@@ -0,0 +1,9 @@
1
+
2
+ import { c as request, i as ClientOptions, o as RequestOptions, r as Client, s as createClient, t as ApiError } from "./client-BDwBZYB0.js";
3
+ //#region src/metadata.d.ts
4
+ export declare const apiVersion = "0.1.0";
5
+ export declare const backendRevision = "4169787409c07dd40e9824c253abe7d33eba32d6";
6
+ export declare const schemaSha256 = "91f833d6f7df5b736bae080465520e3073290c31deea313c3d0637718ea8243c";
7
+ //#endregion
8
+ export { ApiError, type Client, type ClientOptions, type RequestOptions, createClient, request };
9
+ //# sourceMappingURL=index.d.ts.map
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+
2
+ import { n as createClient, r as request, t as ApiError } from "./client-D3kMOcIr.js";
3
+ //#region src/metadata.ts
4
+ const apiVersion = "0.1.0";
5
+ const backendRevision = "4169787409c07dd40e9824c253abe7d33eba32d6";
6
+ const schemaSha256 = "91f833d6f7df5b736bae080465520e3073290c31deea313c3d0637718ea8243c";
7
+ //#endregion
8
+ export { ApiError, apiVersion, backendRevision, createClient, request, schemaSha256 };
9
+
10
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/metadata.ts"],"sourcesContent":["// Generated from the deployed OpenAPI snapshot.\nexport const apiVersion = \"0.1.0\";\nexport const backendRevision = \"4169787409c07dd40e9824c253abe7d33eba32d6\";\nexport const schemaSha256 = \"91f833d6f7df5b736bae080465520e3073290c31deea313c3d0637718ea8243c\";\n"],"mappings":";;;AACA,MAAa,aAAa;AAC1B,MAAa,kBAAkB;AAC/B,MAAa,eAAe"}
@@ -0,0 +1,3 @@
1
+
2
+ import { $ as ReadPatronLicenseParams, $n as FavoritePage, $r as AccountDetailRead, $t as MeRead, A as TenantSettingsReadSettings, An as LikeRead, Ar as ConsumptionCloseReason, At as PlaybackReportWrite, B as ServiceListRead, Bn as LearningPathRefRead, Br as PageMeta, Bt as PartnerCategoryListRead, C as ThemeWrite, Cn as ListExpiringDocumentsParams, Cr as DemoUserWrite, Ct as PreferencesRead, D as TenantSettingsUpdateWrite, Dn as TutoringStatus, Dr as CredentialsWrite, Dt as PractitionerDocumentListRead, E as ThemeRead, En as ListAllRequestsParams, Er as CurrentReadingRead, Et as PractitionerRead, F as SubjectRead, Fn as LevelListRead, Fr as CategoryListRead, Ft as PatronDetailRead, G as ReviewUpdateWrite, Gn as HTTPExceptionResponse, Gr as BodyUploadAttachment, Gt as PackDetailReadFilters, H as SearchResultsRead, Hn as LearningPathStepRead, Hr as ContentType, Ht as PackListRead, I as StreamingStartQuery, In as LevelRead, Ir as CategoryRead, It as PartnerMediaRead, J as ReviewModerationRead, Jn as PressReviewSectionRead, Jr as AttachmentRole, Jt as ModerationWrite, K as ReviewRead, Kn as HomeFeedRead, Kr as AuthorizationRead, Kt as NotificationListRead, L as StreamingSessionRead, Ln as SchoolCycle, Lr as CatalogRefRead, Lt as PartnerMediaPage, M as SupplierGrantRead, Mn as LicenseRead, Mr as ChromecastRead, Mt as PatronUpdateWrite, N as SubjectWrite, Nn as PartnerProvider, Nr as ChatTicketRead, Nt as PatronPage, O as TenantSettingsUpdateWriteSettings, On as TutoringKind, Or as ContentRead, Ot as PractitionerDocumentRead, P as SubjectListRead, Pn as LevelWrite, Pr as CategoryPreferencesWrite, Pt as PatronSummaryRead, Q as ReadPressReviewParams, Qn as HistoryEntryRead, Qr as AccountRead, Qt as MessageKind, R as StaffLicenseRead, Rn as LeaseRead, Rr as CatalogRead, Rt as PartnerFavoriteListRead, S as TutoringAnswerWrite, Sn as ListFeedbackParams, Sr as DocumentInformationRead, St as PressArticleListReadFilters, T as ThemeListRead, Tn as ListBiblioFavoritesParams, Tr as CurrentReadingListRead, Tt as PractitionerPage, U as SearchParams, Un as LastPositionWrite, Ur as BorrowWrite, Ut as PackRead, V as ServiceRead, Vn as LearningPathDetailRead, Vr as ContentSummaryRead, Vt as PartnerCategoryRead, W as SearchNavigationRead, Wn as ImpersonationWrite, Wr as EntitlementAct, Wt as PackDetailRead, X as RecommendationsRead, Xn as HomeFeedSectionRead, Xr as AiDraftRead, Xt as MessagePage, Y as RefreshWrite, Yn as PressArticleSummaryRead, Yr as AiDraftReviewWrite, Yt as MessageWrite, Z as ReadRecommendationsParams, Zn as HistoryPage, Zr as AccountUpdateWrite, Zt as MessageRead, _ as TutoringDispatchWrite, _n as ListMediaParams, _r as LayerRead, _t as ProductGrantWrite, a as TutoringRequestWrite, an as LiveLeaseRead, ar as FavoriteKind, at as ReadingPositionWriteUsageBlocks, b as TutoringCloseReason, bn as ListHistoryParams, br as Pillar, bt as PressArticleRead, c as TutoringRequestRead, cn as ListReviewsParams, cr as EducationalGoalRead, ct as ReaderPackageRead, d as TutoringQueuePage, dn as ListPressArticlesParams, dr as EditorialSlideRead, dt as ReadCatalogParams, ei as ProductRoleRead, en as PrincipalRead, er as FavoriteRead, et as ReadPackParams, f as TutoringQueueItemRead, fn as ListPractitionersParams, fr as EditorDetailRead, ft as RatingUpdateWrite, g as TutoringFeedbackModerationWrite, gn as ListMessagesParams, gr as TrackRead, gt as ProfileCreateWrite, h as TutoringFeedbackRead, hn as ListMyRequestsParams, hr as DocumentRead, ht as ProfileRead, i as TutoringRoomRead, in as LiveLeaseListRead, ir as FavoriteAddWrite, it as ReadingPositionWrite, j as SupportSessionRead, jn as LicenseUserRead, jr as CodeExchangeWrite, jt as PlaybackReportRead, k as TenantSettingsRead, kn as TutoringChannel, kr as ContentPage, kt as PractitionerDocumentKind, l as TutoringRequestAdminWrite, ln as ReviewState, lr as EditorListRead, lt as ReadEditorParams, m as TutoringFeedbackPage, mn as ListNotificationsParams, mr as DocumentSearchWrite, mt as ProfileListRead, n as ValidationErrorDetail, ni as Product, nn as LoanPage, nr as FavoriteEntryRead, nt as ReadingSessionWrite, o as TutoringRequestStaffRead, on as SubjectKind, or as EducationalGoalWrite, ot as ReadingPositionRead, p as TutoringFeedbackWrite, pn as ListPatronsParams, pr as DrmRead, pt as ProfileUpdateWrite, q as ReviewPage, qn as PressReviewRead, qr as AuthorizationParams, qt as NotificationRead, r as ValidationErrorDetailCtx, rn as LoanRead, rr as SelectionRead, rt as ReadingSessionRead, s as TutoringRequestPage, sn as ListThemesParams, sr as EducationalGoalListRead, st as ReadHomeFeedParams, t as ValidationErrorResponse, ti as ProductRole, tn as LogoutWrite, tr as FavoriteListRead, tt as ReadPackageParams, u as TutoringRequestAdminCloseWrite, un as ListQueueParams, ur as EditorRead, ut as ReadCatalogThemeParams, v as TutoringDeliveryRead, vn as PartnerMediaType, vr as DocumentPage, vt as ProductGrantListRead, w as ThemeOrderWrite, wn as ListEditorsParams, wr as DemoUserRead, wt as PractitionerWrite, x as TutoringAttachmentRead, xn as ListGoalsParams, xr as DocumentLinkRead, xt as PressArticleListRead, y as TutoringCloseWrite, yn as ListLoansParams, yr as DocumentSummaryRead, yt as ProductGrantRead, z as SessionRead, zn as LeaseCloseWrite, zr as ThemeRefRead, zt as PartnerMediaSummaryRead } from "./index-wL_20vR8.js";
3
+ export { AccountDetailRead, AccountRead, AccountUpdateWrite, AiDraftRead, AiDraftReviewWrite, AttachmentRole, AuthorizationParams, AuthorizationRead, BodyUploadAttachment, BorrowWrite, CatalogRead, CatalogRefRead, CategoryListRead, CategoryPreferencesWrite, CategoryRead, ChatTicketRead, ChromecastRead, CodeExchangeWrite, ConsumptionCloseReason, ContentPage, ContentRead, ContentSummaryRead, ContentType, CredentialsWrite, CurrentReadingListRead, CurrentReadingRead, DemoUserRead, DemoUserWrite, DocumentInformationRead, DocumentLinkRead, DocumentPage, DocumentRead, DocumentSearchWrite, DocumentSummaryRead, DrmRead, EditorDetailRead, EditorListRead, EditorRead, EditorialSlideRead, EducationalGoalListRead, EducationalGoalRead, EducationalGoalWrite, EntitlementAct, FavoriteAddWrite, FavoriteEntryRead, FavoriteKind, FavoriteListRead, FavoritePage, FavoriteRead, HTTPExceptionResponse, HistoryEntryRead, HistoryPage, HomeFeedRead, HomeFeedSectionRead, ImpersonationWrite, LastPositionWrite, LayerRead, LearningPathDetailRead, LearningPathRefRead, LearningPathStepRead, LeaseCloseWrite, LeaseRead, LevelListRead, LevelRead, LevelWrite, LicenseRead, LicenseUserRead, LikeRead, ListAllRequestsParams, ListBiblioFavoritesParams, ListEditorsParams, ListExpiringDocumentsParams, ListFeedbackParams, ListGoalsParams, ListHistoryParams, ListLoansParams, ListMediaParams, ListMessagesParams, ListMyRequestsParams, ListNotificationsParams, ListPatronsParams, ListPractitionersParams, ListPressArticlesParams, ListQueueParams, ListReviewsParams, ListThemesParams, LiveLeaseListRead, LiveLeaseRead, LoanPage, LoanRead, LogoutWrite, MeRead, MessageKind, MessagePage, MessageRead, MessageWrite, ModerationWrite, NotificationListRead, NotificationRead, PackDetailRead, PackDetailReadFilters, PackListRead, PackRead, PageMeta, PartnerCategoryListRead, PartnerCategoryRead, PartnerFavoriteListRead, PartnerMediaPage, PartnerMediaRead, PartnerMediaSummaryRead, PartnerMediaType, PartnerProvider, PatronDetailRead, PatronPage, PatronSummaryRead, PatronUpdateWrite, Pillar, PlaybackReportRead, PlaybackReportWrite, PractitionerDocumentKind, PractitionerDocumentListRead, PractitionerDocumentRead, PractitionerPage, PractitionerRead, PractitionerWrite, PreferencesRead, PressArticleListRead, PressArticleListReadFilters, PressArticleRead, PressArticleSummaryRead, PressReviewRead, PressReviewSectionRead, PrincipalRead, Product, ProductGrantListRead, ProductGrantRead, ProductGrantWrite, ProductRole, ProductRoleRead, ProfileCreateWrite, ProfileListRead, ProfileRead, ProfileUpdateWrite, RatingUpdateWrite, ReadCatalogParams, ReadCatalogThemeParams, ReadEditorParams, ReadHomeFeedParams, ReadPackParams, ReadPackageParams, ReadPatronLicenseParams, ReadPressReviewParams, ReadRecommendationsParams, ReaderPackageRead, ReadingPositionRead, ReadingPositionWrite, ReadingPositionWriteUsageBlocks, ReadingSessionRead, ReadingSessionWrite, RecommendationsRead, RefreshWrite, ReviewModerationRead, ReviewPage, ReviewRead, ReviewState, ReviewUpdateWrite, SchoolCycle, SearchNavigationRead, SearchParams, SearchResultsRead, SelectionRead, ServiceListRead, ServiceRead, SessionRead, StaffLicenseRead, StreamingSessionRead, StreamingStartQuery, SubjectKind, SubjectListRead, SubjectRead, SubjectWrite, SupplierGrantRead, SupportSessionRead, TenantSettingsRead, TenantSettingsReadSettings, TenantSettingsUpdateWrite, TenantSettingsUpdateWriteSettings, ThemeListRead, ThemeOrderWrite, ThemeRead, ThemeRefRead, ThemeWrite, TrackRead, TutoringAnswerWrite, TutoringAttachmentRead, TutoringChannel, TutoringCloseReason, TutoringCloseWrite, TutoringDeliveryRead, TutoringDispatchWrite, TutoringFeedbackModerationWrite, TutoringFeedbackPage, TutoringFeedbackRead, TutoringFeedbackWrite, TutoringKind, TutoringQueueItemRead, TutoringQueuePage, TutoringRequestAdminCloseWrite, TutoringRequestAdminWrite, TutoringRequestPage, TutoringRequestRead, TutoringRequestStaffRead, TutoringRequestWrite, TutoringRoomRead, TutoringStatus, ValidationErrorDetail, ValidationErrorDetailCtx, ValidationErrorResponse };
package/dist/models.js ADDED
@@ -0,0 +1,175 @@
1
+
2
+ //#region src/models/attachmentRole.ts
3
+ const AttachmentRole = {
4
+ question: "question",
5
+ sketch: "sketch",
6
+ answer: "answer"
7
+ };
8
+ //#endregion
9
+ //#region src/models/consumptionCloseReason.ts
10
+ const ConsumptionCloseReason = {
11
+ completed: "completed",
12
+ superseded: "superseded",
13
+ staff: "staff",
14
+ expired: "expired",
15
+ failed: "failed"
16
+ };
17
+ //#endregion
18
+ //#region src/models/contentType.ts
19
+ const ContentType = {
20
+ course: "course",
21
+ press_issue: "press_issue",
22
+ book: "book",
23
+ music: "music",
24
+ service: "service"
25
+ };
26
+ //#endregion
27
+ //#region src/models/entitlementAct.ts
28
+ const EntitlementAct = {
29
+ view: "view",
30
+ download: "download",
31
+ loan_view: "loan_view",
32
+ loan_download: "loan_download",
33
+ extend: "extend",
34
+ tutor: "tutor"
35
+ };
36
+ //#endregion
37
+ //#region src/models/favoriteKind.ts
38
+ const FavoriteKind = {
39
+ content: "content",
40
+ press_title: "press_title"
41
+ };
42
+ //#endregion
43
+ //#region src/models/messageKind.ts
44
+ const MessageKind = {
45
+ text: "text",
46
+ system: "system"
47
+ };
48
+ //#endregion
49
+ //#region src/models/partnerMediaType.ts
50
+ const PartnerMediaType = {
51
+ livres: "livres",
52
+ bd: "bd",
53
+ "livres-audio": "livres-audio",
54
+ podcasts: "podcasts",
55
+ partitions: "partitions"
56
+ };
57
+ //#endregion
58
+ //#region src/models/partnerProvider.ts
59
+ const PartnerProvider = {
60
+ nextory: "nextory",
61
+ youscribe: "youscribe"
62
+ };
63
+ //#endregion
64
+ //#region src/models/pillar.ts
65
+ const Pillar = {
66
+ music: "music",
67
+ film: "film",
68
+ learning: "learning",
69
+ books: "books",
70
+ press: "press",
71
+ games: "games",
72
+ inclusion: "inclusion"
73
+ };
74
+ //#endregion
75
+ //#region src/models/practitionerDocumentKind.ts
76
+ const PractitionerDocumentKind = {
77
+ siret: "siret",
78
+ urssaf: "urssaf",
79
+ contract: "contract",
80
+ insurance: "insurance",
81
+ diploma: "diploma"
82
+ };
83
+ //#endregion
84
+ //#region src/models/product.ts
85
+ const Product = {
86
+ biblio: "biblio",
87
+ mediatheques: "mediatheques",
88
+ prof_express: "prof_express"
89
+ };
90
+ //#endregion
91
+ //#region src/models/productRole.ts
92
+ const ProductRole = {
93
+ student: "student",
94
+ parent: "parent",
95
+ teacher: "teacher",
96
+ dispatcher: "dispatcher",
97
+ coach: "coach",
98
+ librarian: "librarian",
99
+ support: "support"
100
+ };
101
+ //#endregion
102
+ //#region src/models/reviewState.ts
103
+ const ReviewState = {
104
+ pending: "pending",
105
+ published: "published",
106
+ rejected: "rejected"
107
+ };
108
+ //#endregion
109
+ //#region src/models/schoolCycle.ts
110
+ const SchoolCycle = {
111
+ kindergarten: "kindergarten",
112
+ primary: "primary",
113
+ middle: "middle",
114
+ high: "high",
115
+ higher: "higher"
116
+ };
117
+ //#endregion
118
+ //#region src/models/subjectKind.ts
119
+ const SubjectKind = {
120
+ content: "content",
121
+ work: "work",
122
+ partner_media: "partner_media",
123
+ tutoring_request: "tutoring_request"
124
+ };
125
+ //#endregion
126
+ //#region src/models/tutoringChannel.ts
127
+ const TutoringChannel = {
128
+ chat: "chat",
129
+ classroom: "classroom",
130
+ phone: "phone",
131
+ written: "written",
132
+ ai: "ai"
133
+ };
134
+ //#endregion
135
+ //#region src/models/tutoringCloseReason.ts
136
+ const TutoringCloseReason = {
137
+ no_teacher_available: "no_teacher_available",
138
+ out_of_hours: "out_of_hours",
139
+ pupil_unreachable: "pupil_unreachable",
140
+ out_of_scope: "out_of_scope",
141
+ duplicate: "duplicate",
142
+ withdrawn: "withdrawn",
143
+ technical: "technical",
144
+ no_show: "no_show",
145
+ account_problem: "account_problem",
146
+ password_problem: "password_problem"
147
+ };
148
+ //#endregion
149
+ //#region src/models/tutoringKind.ts
150
+ const TutoringKind = {
151
+ homework: "homework",
152
+ grand_oral: "grand_oral",
153
+ coaching: "coaching",
154
+ orientation: "orientation",
155
+ librarian: "librarian",
156
+ parent_advice: "parent_advice"
157
+ };
158
+ //#endregion
159
+ //#region src/models/tutoringStatus.ts
160
+ const TutoringStatus = {
161
+ draft: "draft",
162
+ submitted: "submitted",
163
+ triaged: "triaged",
164
+ dispatched: "dispatched",
165
+ claimed: "claimed",
166
+ answered: "answered",
167
+ succeeded: "succeeded",
168
+ failed: "failed",
169
+ cancelled: "cancelled",
170
+ expired: "expired"
171
+ };
172
+ //#endregion
173
+ export { AttachmentRole, ConsumptionCloseReason, ContentType, EntitlementAct, FavoriteKind, MessageKind, PartnerMediaType, PartnerProvider, Pillar, PractitionerDocumentKind, Product, ProductRole, ReviewState, SchoolCycle, SubjectKind, TutoringChannel, TutoringCloseReason, TutoringKind, TutoringStatus };
174
+
175
+ //# sourceMappingURL=models.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.js","names":[],"sources":["../src/models/attachmentRole.ts","../src/models/consumptionCloseReason.ts","../src/models/contentType.ts","../src/models/entitlementAct.ts","../src/models/favoriteKind.ts","../src/models/messageKind.ts","../src/models/partnerMediaType.ts","../src/models/partnerProvider.ts","../src/models/pillar.ts","../src/models/practitionerDocumentKind.ts","../src/models/product.ts","../src/models/productRole.ts","../src/models/reviewState.ts","../src/models/schoolCycle.ts","../src/models/subjectKind.ts","../src/models/tutoringChannel.ts","../src/models/tutoringCloseReason.ts","../src/models/tutoringKind.ts","../src/models/tutoringStatus.ts"],"sourcesContent":["/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Which side of the exchange a file belongs to.\n *\n * The legacy carries three ``text NOT NULL`` columns — ``documents``,\n * ``drawings``, ``answer_documents`` — each holding a serialised list of paths,\n * so a file has no size, no type, no uploader and no timestamp, and an empty\n * list is the string ``''``. One row per file, with a role, replaces all three.\n */\nexport type AttachmentRole = typeof AttachmentRole[keyof typeof AttachmentRole];\n\n\nexport const AttachmentRole = {\n question: 'question',\n sketch: 'sketch',\n answer: 'answer',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Why a consumption lease stopped. Legacy ``sessions.cloture``.\n *\n * The legacy's single letters, decoded from the procedures that write them:\n * ``u`` is ``ouvreSessionCours2`` closing the previous session because the\n * reader opened something else, ``a`` is ``FermeSessionAdherent`` — staff\n * force-closing from the CE admin — and ``s`` is ``reset_sessions`` reaping a\n * lease left open more than 180 minutes.\n *\n * ``n`` is not here: it means *open*, which this column expresses by being\n * NULL. A closed-reason enum with an \"isn't closed\" member is how you get code\n * that checks the wrong one of two things.\n */\nexport type ConsumptionCloseReason = typeof ConsumptionCloseReason[keyof typeof ConsumptionCloseReason];\n\n\nexport const ConsumptionCloseReason = {\n completed: 'completed',\n superseded: 'superseded',\n staff: 'staff',\n expired: 'expired',\n failed: 'failed',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Denormalised onto ``content`` from the kind of its categories.\n *\n * MUSIC is not in the source spec but is required for the derivation to be\n * total — CategoryKind has it, so a content row can reach it.\n */\nexport type ContentType = typeof ContentType[keyof typeof ContentType];\n\n\nexport const ContentType = {\n course: 'course',\n press_issue: 'press_issue',\n book: 'book',\n music: 'music',\n service: 'service',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * What a grant permits somebody to *do* with a work.\n *\n * Recovered from ``mediadb.exemp``, which flattens a 4x7 matrix into 48\n * columns: four acts — ``is_streaming``, ``is_download``, ``is_pret_streaming``,\n * ``is_pret_download`` — each repeating the same seven limits (allowed, units\n * granted, units left, max duration, duration unit, device cap, concurrent-user\n * cap), plus ``is_extend`` / ``nb_extend`` on the side.\n *\n * That matrix is the whole reason this enum exists. Four acts x seven limits as\n * columns means a fifth act costs a migration and seven more columns; as rows it\n * costs an INSERT. ``jetons.consulterpret`` draws the same consult/loan line at\n * the patron tier, which is corroboration rather than a second vocabulary.\n *\n * Biblio has no equivalent: its grant is boolean and maps to ``VIEW`` alone.\n */\nexport type EntitlementAct = typeof EntitlementAct[keyof typeof EntitlementAct];\n\n\nexport const EntitlementAct = {\n view: 'view',\n download: 'download',\n loan_view: 'loan_view',\n loan_download: 'loan_download',\n extend: 'extend',\n tutor: 'tutor',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * ``favorites.mode``: 'C' / 'P'. The one enum the legacy code validates.\n */\nexport type FavoriteKind = typeof FavoriteKind[keyof typeof FavoriteKind];\n\n\nexport const FavoriteKind = {\n content: 'content',\n press_title: 'press_title',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * What a chat line is.\n *\n * Prof Express has no equivalent, because it has no message table at all — the\n * conversation lives in SendBird and the platform holds only a channel URL. So\n * \"what did the teacher tell this pupil last term\" is a question for a third\n * party's retention policy, and a chat that breaks needs a\n * ``/requete/reparer-probleme-chat/{id}`` route to repair it.\n */\nexport type MessageKind = typeof MessageKind[keyof typeof MessageKind];\n\n\nexport const MessageKind = {\n text: 'text',\n system: 'system',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * How the partner catalogue shelves one media.\n *\n * Recovered from ``NextoryMediaTransformer::mediaType()``, which is not the\n * obvious mapping from ``content_type`` and must not be simplified into one:\n *\n * * category 249 (\"BDs et humour\") + ``audiobook`` → ``livres-audio``\n * * category 249 + a real comics subcategory (250–261) → ``bd``\n * * category 249 with only 262–264 (Humour / Satires / Citations), or with no\n * subcategory at all → ``livres``\n * * category 314 → ``podcasts``\n * * otherwise ``ebook`` → ``livres``, ``audiobook`` → ``livres-audio``\n *\n * The 262–264 carve-out is load-bearing. Those subcategories sit under 249, but\n * the ``livres`` menu excludes 249 entirely, so anything classified there was\n * unreachable from every page — which is why the legacy grew a synthetic\n * category 10001 to rehome them.\n *\n * Values are the feed's own strings; the importer writes them verbatim.\n *\n * **The derivation above is Nextory's.** YouScribe's is a plain one-to-one map\n * from :attr:`~app.models.partner.catalogue.PartnerMedia.kind`, measured over\n * all 173,742 of its rows on 2026-09-11 with no crossover at all::\n *\n * partition → partitions 119,534 68.8%\n * ebook → livres 43,420 25.0%\n * audiobook → livres-audio 8,273 4.8%\n * bd → bd 2,495 1.4%\n * podcast → podcasts 20 0.0%\n *\n * So one column is not derived the same way for both partners, and an importer\n * that assumes Nextory's category arithmetic would mis-shelve every YouScribe\n * title.\n */\nexport type PartnerMediaType = typeof PartnerMediaType[keyof typeof PartnerMediaType];\n\n\nexport const PartnerMediaType = {\n livres: 'livres',\n bd: 'bd',\n 'livres-audio': 'livres-audio',\n podcasts: 'podcasts',\n partitions: 'partitions',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * A partner whose catalogue and reader we host directly.\n *\n * Names both halves of the integration: the seat pool\n * (:class:`~app.models.biblio.license.PartnerLicense`) and the ingested\n * catalogue (``app.models.partner.catalogue``). One enum rather than two\n * because a provider is a provider — a licence for Nextory and a Nextory media\n * row are the same partner seen from two sides.\n *\n * Distinct from :class:`BookSource`, which says which feed produced a *biblio*\n * ``book`` row. The two vocabularies overlap on ``nextory`` and will keep\n * overlapping: the partner catalogue is deliberately a separate subsystem from\n * ``book``/``book_content_link``, bridged rather than merged.\n */\nexport type PartnerProvider = typeof PartnerProvider[keyof typeof PartnerProvider];\n\n\nexport const PartnerProvider = {\n nextory: 'nextory',\n youscribe: 'youscribe',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * A content vertical. The single most load-bearing decoder in the schema.\n *\n * Recovered from ``Services/V3/MenuService.php:1055`` and corroborated by\n * ``v1/config.inc.php:651``::\n *\n * 1 => musique 2 => cinema 3 => savoirs\n * 4 => livres 5 => presse 6 => jeux 7 => inclusion\n *\n * It decodes every numbered ``droit*`` (tenant offers this pillar),\n * ``docsforfait*`` / ``nbdocs_forfait*`` (per-pillar document quota), and every\n * ``pilier`` column on works, themes and the consumption log.\n *\n * Note the asymmetry, which is real and worth preserving: the numbered columns\n * stop at 6, but ``pilier`` reaches 7 — inclusion was added to the product after\n * the numbered-column pattern was already set in the schema.\n */\nexport type Pillar = typeof Pillar[keyof typeof Pillar];\n\n\nexport const Pillar = {\n music: 'music',\n film: 'film',\n learning: 'learning',\n books: 'books',\n press: 'press',\n games: 'games',\n inclusion: 'inclusion',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * A compliance document a contracted practitioner must hold.\n *\n * French self-employment paperwork, which the legacy keeps as four bare\n * ``text`` columns on both ``teachers`` and ``switchmen``\n * (``kbis_siret_document``, ``ursaff_document``, ``ursaff_date``,\n * ``contrat_documents``) — so a document has no expiry anyone can query, and\n * ``ursaff_date`` is ``NOT NULL`` with no default, meaning \"not supplied\" is\n * stored as a real date.\n *\n * Modelling expiry is the point: an URSSAF attestation is valid for six months\n * and a lapsed one is a compliance problem that should be answerable by a\n * query rather than by opening a filing cabinet.\n */\nexport type PractitionerDocumentKind = typeof PractitionerDocumentKind[keyof typeof PractitionerDocumentKind];\n\n\nexport const PractitionerDocumentKind = {\n siret: 'siret',\n urssaf: 'urssaf',\n contract: 'contract',\n insurance: 'insurance',\n diploma: 'diploma',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Which of the three platforms a functional grant applies to.\n *\n * One API serves three products, and a tenant can offer more than one of them\n * — a library with a Prof Express contract is one organisation whose patrons\n * borrow books *and* whose pupils ask questions (the legacy says so itself\n * with ``students.library`` and ``inquiries.for_librarian``). So the product is\n * its own axis rather than something ``tenant_id`` implies.\n *\n * Not :class:`LegacySource`, which looks similar and means something else:\n * that records where a migrated row *came from* and is null for anything\n * created since. This says what a grant is *for*.\n */\nexport type Product = typeof Product[keyof typeof Product];\n\n\nexport const Product = {\n biblio: 'biblio',\n mediatheques: 'mediatheques',\n prof_express: 'prof_express',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * What kind of participant somebody is, in one product at one tenant.\n *\n * The vocabulary is **per product**, which is the point: Prof Express has\n * pupils and teachers, and biblio has no such thing. A product that needs no\n * functional roles simply has no rows — nothing forces a shared vocabulary,\n * and adding a role to one product is an ``INSERT`` rather than a Keycloak\n * change or a migration.\n *\n * Deliberately *not* Keycloak realm roles. The broker knows whether somebody\n * is an end user or internal staff (:class:`RoleKind`); it does not know that\n * user 42 teaches at works-council 3. Keeping these out of the realm keeps\n * Keycloak off the write path for grants, and avoids the realm-and-enum\n * lockstep that has already broken once.\n *\n * Valid pairings are declared in :data:`PRODUCT_ROLES` rather than as a CHECK\n * constraint: the set will change as the products do, and a migration per\n * product decision is a tax with no payer.\n *\n * Pupil and parent are explicit rather than derived from ``User.parent_id``.\n * Deriving them is too clever — a parent who has not added a child yet is\n * indistinguishable from a pupil — and the legacy makes the same distinction\n * with its ``role:student`` / ``role:parent`` middleware.\n */\nexport type ProductRole = typeof ProductRole[keyof typeof ProductRole];\n\n\nexport const ProductRole = {\n student: 'student',\n parent: 'parent',\n teacher: 'teacher',\n dispatcher: 'dispatcher',\n coach: 'coach',\n librarian: 'librarian',\n support: 'support',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * ``avis.state``. Values recovered from the moderation screens.\n *\n * Unconstrained in the schema — the column is a ``tinyint`` with no decoder —\n * so this names what the API accepts, not what the column is known to hold.\n */\nexport type ReviewState = typeof ReviewState[keyof typeof ReviewState];\n\n\nexport const ReviewState = {\n pending: 'pending',\n published: 'published',\n rejected: 'rejected',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * The French school cycle a level belongs to.\n *\n * Not in the legacy schema, which stores levels as a flat list with a display\n * order and reconstructs the grouping in views. It is here because every\n * dispatch rule and every teacher competency is expressed per cycle in\n * practice — a *professeur des écoles* does not answer a *terminale* question.\n */\nexport type SchoolCycle = typeof SchoolCycle[keyof typeof SchoolCycle];\n\n\nexport const SchoolCycle = {\n kindergarten: 'kindergarten',\n primary: 'primary',\n middle: 'middle',\n high: 'high',\n higher: 'higher',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Which catalogue a consumed item belongs to. The ledger's polymorphic key.\n *\n * Replaces the three nullable FKs the ledger used to carry (``work_id`` /\n * ``content_id`` / ``partner_media_id``) with one ``(kind, id)`` pair, so a new\n * platform costs **an enum value, not a migration** — the same trade every\n * other enum here makes. The id has no database foreign key: the ledger is a\n * billing and history record, and a consumed item being deleted from its\n * catalogue must not erase the record of it having been consumed.\n *\n * Grant *resolution* stays keyed by the concrete catalogue FK (grants are\n * defined per work, per content, per category); only the *ledger* subject is\n * polymorphic. :class:`app.services.consumption.Subject` bridges the two.\n */\nexport type SubjectKind = typeof SubjectKind[keyof typeof SubjectKind];\n\n\nexport const SubjectKind = {\n content: 'content',\n work: 'work',\n partner_media: 'partner_media',\n tutoring_request: 'tutoring_request',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * How the answer reaches the pupil.\n *\n * Orthogonal to :class:`TutoringKind`: any kind can be delivered by any\n * channel the tenant has enabled, and a request legitimately changes channel\n * mid-flight — the legacy's ``differed_to_live`` and ``ai_to_live`` are both\n * that transition, recorded as booleans because the schema had nowhere to put\n * a channel.\n */\nexport type TutoringChannel = typeof TutoringChannel[keyof typeof TutoringChannel];\n\n\nexport const TutoringChannel = {\n chat: 'chat',\n classroom: 'classroom',\n phone: 'phone',\n written: 'written',\n ai: 'ai',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Why a request closed without succeeding.\n *\n * Collapses ``inquiry_status_reasons`` and ``inquiry_status_fail_reasons`` —\n * two tables, four columns between them, joined through two more nullable\n * sentinel-zero columns on every inquiry. The values here are the ones the\n * rebuilt flow can actually produce; the legacy tables' contents come back\n * from the probe and any distinct reason with volume earns a member.\n */\nexport type TutoringCloseReason = typeof TutoringCloseReason[keyof typeof TutoringCloseReason];\n\n\nexport const TutoringCloseReason = {\n no_teacher_available: 'no_teacher_available',\n out_of_hours: 'out_of_hours',\n pupil_unreachable: 'pupil_unreachable',\n out_of_scope: 'out_of_scope',\n duplicate: 'duplicate',\n withdrawn: 'withdrawn',\n technical: 'technical',\n no_show: 'no_show',\n account_problem: 'account_problem',\n password_problem: 'password_problem',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * What is being asked for.\n *\n * Replaces six independent booleans on ``inquiries`` — ``for_librarian``,\n * ``for_grand_oral``, ``for_ai``, ``for_coach``, ``parents_web_advice`` and\n * (in the archives) ``for_school_counselor`` / ``for_psychologist``. Six flags\n * describe 64 states, of which a handful are meaningful and none is documented;\n * one enum describes exactly the states that exist.\n *\n * Two of those flags are **not** kinds and are modelled elsewhere: ``for_ai``\n * is a delivery channel (:class:`TutoringChannel`), and ``differed_to_live`` is\n * a transition between channels rather than a state.\n *\n * Provisional in one respect: whether the legacy flags are mutually exclusive\n * in the data is answered by section F of ``tools/profexpress_probe.sql``,\n * which groups the live combinations. If a real row carries two at once, that\n * combination needs a value here rather than a second column.\n */\nexport type TutoringKind = typeof TutoringKind[keyof typeof TutoringKind];\n\n\nexport const TutoringKind = {\n homework: 'homework',\n grand_oral: 'grand_oral',\n coaching: 'coaching',\n orientation: 'orientation',\n librarian: 'librarian',\n parent_advice: 'parent_advice',\n} as const;\n","/**\n * Generated by orval 🍺\n * Do not edit manually.\n * Mozaik backend\n * Four products behind one API — Biblio, Médiathèques, the partner catalogues (Nextory and YouScribe) and Prof Express. Authentication is Keycloak SSO only, once, for all of them: see the **auth** section below for the browser flow and the three failure modes.\n * OpenAPI spec version: 0.1.0\n */\n\n/**\n * Where a request has got to.\n *\n * The legacy vocabulary is now known rather than guessed. ``InquiryStatus``\n * holds no fixture, but ``InquiryStatus::getHrList()`` names ids 1-13 and\n * ``AdminInquiriesController::applyStatusFilter`` maps each id to its initials,\n * which together give the complete set — twelve initials, not the four that\n * appear in ``whereInitials(...)`` calls:\n *\n * ==== ============================ ========= ========= =======================\n * id name initials type_id maps to\n * ==== ============================ ========= ========= =======================\n * 1 En édition ``E`` -- :attr:`DRAFT`\n * 2 Différées enregistrées ``R`` 2 :attr:`SUBMITTED` + WRITTEN\n * 3 Live en chat ``CHA`` 1 :attr:`SUBMITTED` + CHAT\n * 4 Différées validées ``V`` 2 :attr:`DISPATCHED` + WRITTEN\n * 5 Live validées ``V`` 1 :attr:`DISPATCHED` + CHAT\n * 6 Succès ``S`` -- :attr:`SUCCEEDED`\n * 7 Echec ``F`` -- :attr:`FAILED`\n * 8 Annulation du RDV ``CAN`` -- :attr:`CANCELLED`\n * 9 Non-présentation au RDV ``ABS`` -- FAILED + ``no_show``\n * 10 Problème compte ``NI`` -- FAILED + ``account_problem``\n * 11 Problème compte traité ``FIX`` -- back to DISPATCHED\n * 12 Problème mot de passe ``MDP`` -- FAILED + ``password_problem``\n * 13 Autre *(none)* -- anything not above\n * -- Abandon ``A`` -- :attr:`EXPIRED`\n * ==== ============================ ========= ========= =======================\n *\n * **The important find: ``V`` is ambiguous on its own.** Ids 4 and 5 share it\n * and are told apart by ``type_id`` — 1 is live, 2 is *différé*. So a legacy\n * status is the pair ``(initials, type_id)``, which is exactly why this enum\n * carries no channel: state and delivery are two axes, and the legacy conflated\n * them into one lookup table with duplicate initials.\n *\n * Three of the twelve are not states at all. ``ABS``, ``NI`` and ``MDP``\n * describe *why* a request stopped, so they are\n * :class:`TutoringCloseReason` values on a FAILED request; and ``FIX`` is a\n * transition back into the queue rather than a resting place. Modelling them as\n * statuses is what forces the legacy to ask \"is this status final?\" with a\n * hard-coded list of names (``InquiryStatus::final``).\n *\n * :attr:`TRIAGED`, :attr:`CLAIMED` and :attr:`ANSWERED` have no legacy status\n * at all — the legacy records those moments only as timestamps, which is why\n * \"how long did triage take\" is a question its own reporting code has to\n * subtract to answer.\n */\nexport type TutoringStatus = typeof TutoringStatus[keyof typeof TutoringStatus];\n\n\nexport const TutoringStatus = {\n draft: 'draft',\n submitted: 'submitted',\n triaged: 'triaged',\n dispatched: 'dispatched',\n claimed: 'claimed',\n answered: 'answered',\n succeeded: 'succeeded',\n failed: 'failed',\n cancelled: 'cancelled',\n expired: 'expired',\n} as const;\n"],"mappings":";;AAmBA,MAAa,iBAAiB;CAC5B,UAAU;CACV,QAAQ;CACR,QAAQ;AACV;;;ACCA,MAAa,yBAAyB;CACpC,WAAW;CACX,YAAY;CACZ,OAAO;CACP,SAAS;CACT,QAAQ;AACV;;;ACbA,MAAa,cAAc;CACzB,QAAQ;CACR,aAAa;CACb,MAAM;CACN,OAAO;CACP,SAAS;AACX;;;ACIA,MAAa,iBAAiB;CAC5B,MAAM;CACN,UAAU;CACV,WAAW;CACX,eAAe;CACf,QAAQ;CACR,OAAO;AACT;;;ACpBA,MAAa,eAAe;CAC1B,SAAS;CACT,aAAa;AACf;;;ACGA,MAAa,cAAc;CACzB,MAAM;CACN,QAAQ;AACV;;;ACsBA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,IAAI;CACJ,gBAAgB;CAChB,UAAU;CACV,YAAY;AACd;;;AC1BA,MAAa,kBAAkB;CAC7B,SAAS;CACT,WAAW;AACb;;;ACAA,MAAa,SAAS;CACpB,OAAO;CACP,MAAM;CACN,UAAU;CACV,OAAO;CACP,OAAO;CACP,OAAO;CACP,WAAW;AACb;;;ACXA,MAAa,2BAA2B;CACtC,OAAO;CACP,QAAQ;CACR,UAAU;CACV,WAAW;CACX,SAAS;AACX;;;ACPA,MAAa,UAAU;CACrB,QAAQ;CACR,cAAc;CACd,cAAc;AAChB;;;ACOA,MAAa,cAAc;CACzB,SAAS;CACT,QAAQ;CACR,SAAS;CACT,YAAY;CACZ,OAAO;CACP,WAAW;CACX,SAAS;AACX;;;AC1BA,MAAa,cAAc;CACzB,SAAS;CACT,WAAW;CACX,UAAU;AACZ;;;ACFA,MAAa,cAAc;CACzB,cAAc;CACd,SAAS;CACT,QAAQ;CACR,MAAM;CACN,QAAQ;AACV;;;ACAA,MAAa,cAAc;CACzB,SAAS;CACT,MAAM;CACN,eAAe;CACf,kBAAkB;AACpB;;;ACVA,MAAa,kBAAkB;CAC7B,MAAM;CACN,WAAW;CACX,OAAO;CACP,SAAS;CACT,IAAI;AACN;;;ACNA,MAAa,sBAAsB;CACjC,sBAAsB;CACtB,cAAc;CACd,mBAAmB;CACnB,cAAc;CACd,WAAW;CACX,WAAW;CACX,WAAW;CACX,SAAS;CACT,iBAAiB;CACjB,kBAAkB;AACpB;;;ACFA,MAAa,eAAe;CAC1B,UAAU;CACV,YAAY;CACZ,UAAU;CACV,aAAa;CACb,WAAW;CACX,eAAe;AACjB;;;ACqBA,MAAa,iBAAiB;CAC5B,OAAO;CACP,WAAW;CACX,SAAS;CACT,YAAY;CACZ,SAAS;CACT,UAAU;CACV,WAAW;CACX,QAAQ;CACR,WAAW;CACX,SAAS;AACX"}
@@ -0,0 +1,163 @@
1
+
2
+ import { $r as AccountDetailRead, B as ServiceListRead, Gn as HTTPExceptionResponse, Zr as AccountUpdateWrite, t as ValidationErrorResponse } from "../index-wL_20vR8.js";
3
+ import { a as ErrorType, c as request, n as BodyType } from "../client-BDwBZYB0.js";
4
+ import { DataTag, DefinedInitialDataOptions, DefinedUseQueryResult, QueryClient, QueryKey, UndefinedInitialDataOptions, UseMutationOptions, UseMutationResult, UseQueryOptions, UseQueryResult } from "@tanstack/react-query";
5
+ //#region src/react/account/account.d.ts
6
+ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
7
+ export declare const getDeleteAccountUrl: () => string;
8
+ /**
9
+ * Close the account (E17). Anonymises; does not erase.
10
+ *
11
+ * The spec asked for the password to be re-submitted. We do not hold one, and
12
+ * assurance is the better guard anyway: a password check would have passed for a
13
+ * session that arrived through a partner handing over a static key in a URL,
14
+ * and ``RequireHighAssurance`` refuses exactly that. The legacy required no
15
+ * confirmation of any kind and accepted the call from a sub-profile (defect D8).
16
+ *
17
+ * **What survives, and why.** The row stays, with identity cleared and
18
+ * ``is_anonymous`` set. Consumption history, loans and billing records point at
19
+ * this user, and deleting the row would either cascade them away — destroying
20
+ * the library's statutory reporting — or orphan them. Clearing the identifying
21
+ * columns satisfies erasure of personal data while leaving the countable facts
22
+ * countable. The retained set is: which tenant, when they registered, and what
23
+ * they consumed, with no name, login, email, birth date or member number.
24
+ *
25
+ * Sub-profiles go with the holder: they are people on the same membership and
26
+ * cannot outlive it. Their rows are anonymised too, not deleted, for the same
27
+ * reason.
28
+ *
29
+ * **The broker is disabled first, and a failure aborts the whole thing.** The
30
+ * credential lives in Keycloak, so anonymising locally while leaving it enabled
31
+ * would let the same person sign in tomorrow and be provisioned a fresh account
32
+ * — erasure that erases nothing. Disabling before any local write means the
33
+ * failure mode is "nothing happened", which is recoverable, rather than "half
34
+ * happened", which is not.
35
+ *
36
+ * Still missing, and not safe to ship without: no audit record is written.
37
+ * @summary Delete Account
38
+ */
39
+ export declare const deleteAccount: (options?: Parameters<typeof request>[1]) => Promise<void>;
40
+ export declare const getDeleteAccountMutationKey: () => readonly ['deleteAccount'];
41
+ export declare const getDeleteAccountMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
42
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteAccount>>, TError, void, TContext>;
43
+ request?: SecondParameter<typeof request>;
44
+ }) => UseMutationOptions<Awaited<ReturnType<typeof deleteAccount>>, TError, void, TContext>;
45
+ export type DeleteAccountMutationResult = NonNullable<Awaited<ReturnType<typeof deleteAccount>>>;
46
+ export type DeleteAccountMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
47
+ /**
48
+ * @summary Delete Account
49
+ */
50
+ export declare const useDeleteAccount: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
51
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof deleteAccount>>, TError, void, TContext>;
52
+ request?: SecondParameter<typeof request>;
53
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof deleteAccount>>, TError, void, TContext>;
54
+ export declare const getReadAccountUrl: () => string;
55
+ /**
56
+ * The authenticated account (E15).
57
+ *
58
+ * No query, no join: ``CurrentUserDep`` has already resolved the row behind the
59
+ * token. The endpoint the legacy should have had here has been returning ``500``
60
+ * on every request for as long as anyone has looked (defect D1).
61
+ * @summary Read Account
62
+ */
63
+ export declare const readAccount: (options?: Parameters<typeof request>[1]) => Promise<AccountDetailRead>;
64
+ export declare const getReadAccountQueryKey: () => readonly [`/me`];
65
+ export declare const getReadAccountQueryOptions: <TData = Awaited<ReturnType<typeof readAccount>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
66
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof readAccount>>, TError, TData>>;
67
+ request?: SecondParameter<typeof request>;
68
+ }) => UseQueryOptions<Awaited<ReturnType<typeof readAccount>>, TError, TData> & {
69
+ queryKey: DataTag<QueryKey, TData, TError>;
70
+ };
71
+ export type ReadAccountQueryResult = NonNullable<Awaited<ReturnType<typeof readAccount>>>;
72
+ export type ReadAccountQueryError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
73
+ export declare function useReadAccount<TData = Awaited<ReturnType<typeof readAccount>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options: {
74
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof readAccount>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof readAccount>>, TError, Awaited<ReturnType<typeof readAccount>>>, 'initialData'>;
75
+ request?: SecondParameter<typeof request>;
76
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
77
+ queryKey: DataTag<QueryKey, TData, TError>;
78
+ };
79
+ export declare function useReadAccount<TData = Awaited<ReturnType<typeof readAccount>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
80
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof readAccount>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof readAccount>>, TError, Awaited<ReturnType<typeof readAccount>>>, 'initialData'>;
81
+ request?: SecondParameter<typeof request>;
82
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
83
+ queryKey: DataTag<QueryKey, TData, TError>;
84
+ };
85
+ export declare function useReadAccount<TData = Awaited<ReturnType<typeof readAccount>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
86
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof readAccount>>, TError, TData>>;
87
+ request?: SecondParameter<typeof request>;
88
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
89
+ queryKey: DataTag<QueryKey, TData, TError>;
90
+ };
91
+ export declare const getUpdateAccountUrl: () => string;
92
+ /**
93
+ * Partially update the account (E16).
94
+ *
95
+ * ``exclude_unset`` is what separates PATCH from PUT here: a field the client
96
+ * omitted is left alone, which is not the same as a field it sent as null. The
97
+ * response is built from the persisted row rather than the submitted body.
98
+ * @summary Update Account
99
+ */
100
+ export declare const updateAccount: (accountUpdateWrite: AccountUpdateWrite, options?: Parameters<typeof request>[1]) => Promise<AccountDetailRead>;
101
+ export declare const getUpdateAccountMutationKey: () => readonly ['updateAccount'];
102
+ export declare const getUpdateAccountMutationOptions: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
103
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateAccount>>, TError, UpdateAccountMutationVariables, TContext>;
104
+ request?: SecondParameter<typeof request>;
105
+ }) => UseMutationOptions<Awaited<ReturnType<typeof updateAccount>>, TError, UpdateAccountMutationVariables, TContext>;
106
+ export type UpdateAccountMutationResult = NonNullable<Awaited<ReturnType<typeof updateAccount>>>;
107
+ export type UpdateAccountMutationBody = BodyType<AccountUpdateWrite>;
108
+ export type UpdateAccountMutationError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
109
+ export type UpdateAccountMutationVariables = {
110
+ data: BodyType<AccountUpdateWrite>;
111
+ };
112
+ /**
113
+ * @summary Update Account
114
+ */
115
+ export declare const useUpdateAccount: <TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>, TContext = unknown>(options?: {
116
+ mutation?: UseMutationOptions<Awaited<ReturnType<typeof updateAccount>>, TError, UpdateAccountMutationVariables, TContext>;
117
+ request?: SecondParameter<typeof request>;
118
+ }, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof updateAccount>>, TError, UpdateAccountMutationVariables, TContext>;
119
+ export declare const getListServicesUrl: () => string;
120
+ /**
121
+ * Third-party services this account's establishment offers (E27).
122
+ *
123
+ * Under ``/me`` rather than ``/biblio/me`` because it is not a catalogue: these
124
+ * are the establishment's own service tiles, and they belong to the tenant
125
+ * whichever catalogue that tenant reads from. It is also the one place the
126
+ * biblio spec describes something the *CVS* schema models, which is why it sat
127
+ * in the wrong module until the prefixes made the mismatch visible.
128
+ *
129
+ * Date-windowed. A service outside its window is absent rather than disabled:
130
+ * the client should not have to know the difference, and a visible dead link is
131
+ * worse than no link.
132
+ * @summary List Services
133
+ */
134
+ export declare const listServices: (options?: Parameters<typeof request>[1]) => Promise<ServiceListRead>;
135
+ export declare const getListServicesQueryKey: () => readonly [`/me/services`];
136
+ export declare const getListServicesQueryOptions: <TData = Awaited<ReturnType<typeof listServices>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
137
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listServices>>, TError, TData>>;
138
+ request?: SecondParameter<typeof request>;
139
+ }) => UseQueryOptions<Awaited<ReturnType<typeof listServices>>, TError, TData> & {
140
+ queryKey: DataTag<QueryKey, TData, TError>;
141
+ };
142
+ export type ListServicesQueryResult = NonNullable<Awaited<ReturnType<typeof listServices>>>;
143
+ export type ListServicesQueryError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>;
144
+ export declare function useListServices<TData = Awaited<ReturnType<typeof listServices>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options: {
145
+ query: Partial<UseQueryOptions<Awaited<ReturnType<typeof listServices>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof listServices>>, TError, Awaited<ReturnType<typeof listServices>>>, 'initialData'>;
146
+ request?: SecondParameter<typeof request>;
147
+ }, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
148
+ queryKey: DataTag<QueryKey, TData, TError>;
149
+ };
150
+ export declare function useListServices<TData = Awaited<ReturnType<typeof listServices>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
151
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listServices>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof listServices>>, TError, Awaited<ReturnType<typeof listServices>>>, 'initialData'>;
152
+ request?: SecondParameter<typeof request>;
153
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
154
+ queryKey: DataTag<QueryKey, TData, TError>;
155
+ };
156
+ export declare function useListServices<TData = Awaited<ReturnType<typeof listServices>>, TError = ErrorType<HTTPExceptionResponse | ValidationErrorResponse>>(options?: {
157
+ query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof listServices>>, TError, TData>>;
158
+ request?: SecondParameter<typeof request>;
159
+ }, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
160
+ queryKey: DataTag<QueryKey, TData, TError>;
161
+ };
162
+ //#endregion
163
+ //# sourceMappingURL=account.d.ts.map