@faiber/faiber-lms 0.10.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +50 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,9 @@ const courses = await api.courses.list({
|
|
|
28
28
|
});
|
|
29
29
|
const sessions = await api.courseSessions(courseId);
|
|
30
30
|
const classroomSessions = await api.classroomSessions.list({ page_number: 1 });
|
|
31
|
-
const assignedClassrooms = await api.listClassrooms({ user_id:
|
|
31
|
+
const assignedClassrooms = await api.listClassrooms({ user_id: userId, from, to });
|
|
32
|
+
const statistics = await api.studentStatistics(userId);
|
|
33
|
+
console.log(statistics.counts.classroom_count, statistics.counts.homework_count, statistics.counts.exam_count);
|
|
32
34
|
const sessionTypes = await api.classroomSessionTypes();
|
|
33
35
|
const links = api.classroomSessionLinks(classroomSessions.data.data.data[0]);
|
|
34
36
|
const examUrl = api.examPageUrl(examAttemptId);
|
|
@@ -59,7 +61,7 @@ This package exposes 127 registered operations from the learning management serv
|
|
|
59
61
|
| `service` | 1 | `GET` |
|
|
60
62
|
| `session` | 1 | `GET` |
|
|
61
63
|
|
|
62
|
-
Course sessions, classroom users and absences, assignments, classroom-session types, today scheduling, DRM composition search, reports, and authenticated learner academy progression have dedicated typed operations. Classroom, homework/assignment, and exam queries support relationship-aware `user_id` and time filtering. Classroom responses include course plus teacher, consultant, and support profiles. Exam delivery/start/save/submit and public certificate verification/image routes are typed, while `examPageUrl`, `certificateViewUrl`, and `certificateImageUrl` build UI links from the configured LMS domain.
|
|
64
|
+
Course sessions, classroom users and absences, assignments, classroom-session types, today scheduling, DRM composition search, reports, and authenticated learner academy progression have dedicated typed operations. Classroom, homework/assignment, and exam queries support relationship-aware `user_id` and time filtering. `studentStatistics(userId)` uses those server-side filters and pagination totals, so user detail cards are not truncated by a locally filtered page. Classroom responses include course plus teacher, consultant, and support profiles. Exam delivery/start/save/submit and public certificate verification/image routes are typed, while `examPageUrl`, `certificateViewUrl`, and `certificateImageUrl` build UI links from the configured LMS domain.
|
|
63
65
|
|
|
64
66
|
```ts
|
|
65
67
|
const catalog = await api.academyCourses({ category_id: 4 });
|
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66],[60,61,64],[60],[67,68,69,70],[67,69],[67,68],[67]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"6cc1f17dc5454eb1112cfb4a2e2ddc93de8c3f9016c8db7bdf0328caac374ffa","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"82ffc9a1d95766c8f6f6bb4316b1d83e9d6a1d4ec41057d1a897cca70176bfc1","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"66a0cb4d019dd780c2fb5c2942778929ec55715bb5a0f3b80aac4c0b92e35d16","impliedFormat":99},{"version":"e2f897b93a864a6848ce9c8a012d74279fb94ce887473e6f0745e44a086ba6e0","signature":"d37e0fb8f52c5ec490722f761fdd6464a46bffff4814eed9350444794ac225f6","impliedFormat":99},{"version":"0852c624d91ad9a2a5c6c2151e8c30eda96e61348f686223fe7893af50de4be5","signature":"a098d95115f647dcc7d2c7205ee2a1dc779fea4864112bc575035b9c5ad615ad","impliedFormat":99},{"version":"b7cf27e49e91b8c0ee872faeee0e72d0c7b1d7b5fa9a48366500e572a0f3b888","signature":"c986249efd7beab8a5602ceea6ff49e4dede723179317fcd9c2d5e96afcf8111","impliedFormat":99},{"version":"79aa0992bcf72fbf02288a7308f00d62f4c28ca094876c634e3e528b87848069","signature":"463a8476b4215a634018a6f671bec7f3c6b6e1d45673d4b86d09489fd09b2120","impliedFormat":99}],"root":[[68,71]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[67,3],[66,4],[65,4],[61,5],[71,6],[70,7],[69,8],[68,9]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66],[60,61,64],[60],[67,68,69,70],[67,69],[67,68],[67]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"6cc1f17dc5454eb1112cfb4a2e2ddc93de8c3f9016c8db7bdf0328caac374ffa","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"82ffc9a1d95766c8f6f6bb4316b1d83e9d6a1d4ec41057d1a897cca70176bfc1","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"66a0cb4d019dd780c2fb5c2942778929ec55715bb5a0f3b80aac4c0b92e35d16","impliedFormat":99},{"version":"e2f897b93a864a6848ce9c8a012d74279fb94ce887473e6f0745e44a086ba6e0","signature":"d37e0fb8f52c5ec490722f761fdd6464a46bffff4814eed9350444794ac225f6","impliedFormat":99},{"version":"0852c624d91ad9a2a5c6c2151e8c30eda96e61348f686223fe7893af50de4be5","signature":"a098d95115f647dcc7d2c7205ee2a1dc779fea4864112bc575035b9c5ad615ad","impliedFormat":99},{"version":"b7cf27e49e91b8c0ee872faeee0e72d0c7b1d7b5fa9a48366500e572a0f3b888","signature":"c986249efd7beab8a5602ceea6ff49e4dede723179317fcd9c2d5e96afcf8111","impliedFormat":99},{"version":"41e1a5a8e556dd71013bb862117c25cabbaa91c3b0a6eee2f2df6660ea2f0826","signature":"8c71b4def6afdbcb8ff59f8495e7497563bd88353486f1137b5aef4cdb2bd40c","impliedFormat":99}],"root":[[68,71]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[67,3],[66,4],[65,4],[61,5],[71,6],[70,7],[69,8],[68,9]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
|
-
import { RestResource, ServiceApi, type Identifier, type QueryParams, type RequestOptions } from "@faiber/sdk-core";
|
|
1
|
+
import { RestResource, ServiceApi, type AxiosResponse, type Identifier, type QueryParams, type RequestOptions } from "@faiber/sdk-core";
|
|
2
2
|
import type * as T from "./types.js";
|
|
3
3
|
import type * as O from "./operations.types.js";
|
|
4
4
|
type R<E extends T.LmsEntity, C, U> = RestResource<E, C, U, T.LmsListResponse<E>, T.LmsResponse<E>>;
|
|
5
5
|
import { LmsOperations } from "./operations.js";
|
|
6
|
+
/** Exact server-side totals and the complete responses used to calculate them. */
|
|
7
|
+
export interface LmsStudentStatistics {
|
|
8
|
+
counts: {
|
|
9
|
+
classroom_count: number;
|
|
10
|
+
homework_count: number;
|
|
11
|
+
exam_count: number;
|
|
12
|
+
};
|
|
13
|
+
responses: {
|
|
14
|
+
summary: AxiosResponse<O.ReportStudentSummaryGetResponse>;
|
|
15
|
+
classrooms: AxiosResponse<O.ClassroomIndexClassroomGetResponse>;
|
|
16
|
+
homeworkAssignments: AxiosResponse<O.HomeworkIndexAssignmentGetResponse>;
|
|
17
|
+
examAttempts: AxiosResponse<O.ExamIndexAttemptGetResponse>;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
6
20
|
/** Builds the authenticated LMS exam page URL from an exam-attempt UUID. */
|
|
7
21
|
export declare function examPageUrl(attemptId: Identifier, lmsBaseUrl?: string): string;
|
|
8
22
|
/** Builds the public certificate verification page URL from its public code. */
|
|
@@ -32,59 +46,69 @@ export declare class LmsApi extends ServiceApi {
|
|
|
32
46
|
readonly classroomTypes: R<T.ClassroomType, T.CreateClassroomTypeInput, T.UpdateClassroomTypeInput>;
|
|
33
47
|
readonly textTemplates: R<T.TextTemplate, T.CreateTextTemplateInput, T.UpdateTextTemplateInput>;
|
|
34
48
|
/** Lists classrooms with relationship, role-assignment, status, course, and time filters. */
|
|
35
|
-
listClassrooms(params?: O.ClassroomIndexClassroomGetQuery, options?: RequestOptions): Promise<
|
|
49
|
+
listClassrooms(params?: O.ClassroomIndexClassroomGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ClassroomIndexClassroomGetResponse, unknown, {}>>;
|
|
36
50
|
/** Reads one classroom with its course and teacher, consultant, and support profiles. */
|
|
37
|
-
classroom(id: Identifier, options?: RequestOptions): Promise<
|
|
51
|
+
classroom(id: Identifier, options?: RequestOptions): Promise<AxiosResponse<O.ClassroomShowClassroomGetResponse, unknown, {}>>;
|
|
38
52
|
/** Lists classroom sessions, including course-session/type metadata and relationship filters. */
|
|
39
|
-
listClassroomSessions(params?: O.ClassroomIndexSessionGetQuery, options?: RequestOptions): Promise<
|
|
53
|
+
listClassroomSessions(params?: O.ClassroomIndexSessionGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ClassroomIndexSessionGetResponse, unknown, {}>>;
|
|
40
54
|
/** Lists homework definitions. Projects and todos are represented by filtered assignments. */
|
|
41
|
-
listHomeworks(params?: O.HomeworkIndexHomeworkGetQuery, options?: RequestOptions): Promise<
|
|
55
|
+
listHomeworks(params?: O.HomeworkIndexHomeworkGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.HomeworkIndexHomeworkGetResponse, unknown, {}>>;
|
|
42
56
|
/** Lists homework, todo, and project assignments with user, status, classroom, and time filters. */
|
|
43
|
-
listAssignments(params?: O.HomeworkIndexAssignmentGetQuery, options?: RequestOptions): Promise<
|
|
57
|
+
listAssignments(params?: O.HomeworkIndexAssignmentGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.HomeworkIndexAssignmentGetResponse, unknown, {}>>;
|
|
44
58
|
/** Lists exams with course and relationship-aware time filtering. */
|
|
45
|
-
listExams(params?: O.ExamIndexExamGetQuery, options?: RequestOptions): Promise<
|
|
59
|
+
listExams(params?: O.ExamIndexExamGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ExamIndexExamGetResponse, unknown, {}>>;
|
|
46
60
|
/** Lists exam sessions with participant/staff relationship and time filters. */
|
|
47
|
-
listExamSessions(params?: O.ExamIndexSessionGetQuery, options?: RequestOptions): Promise<
|
|
61
|
+
listExamSessions(params?: O.ExamIndexSessionGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ExamIndexSessionGetResponse, unknown, {}>>;
|
|
48
62
|
/** Lists exam attempts; each returned attempt ID is suitable for examPageUrl. */
|
|
49
|
-
listExamAttempts(params?: O.ExamIndexAttemptGetQuery, options?: RequestOptions): Promise<
|
|
63
|
+
listExamAttempts(params?: O.ExamIndexAttemptGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ExamIndexAttemptGetResponse, unknown, {}>>;
|
|
64
|
+
/** Returns the access-checked report summary for one LMS user UUID. */
|
|
65
|
+
studentSummary(userId: Identifier, params?: O.ReportStudentSummaryGetQuery, options?: RequestOptions): Promise<AxiosResponse<O.ReportStudentSummaryGetResponse, unknown, {}>>;
|
|
66
|
+
/**
|
|
67
|
+
* Returns exact user-detail card counts without downloading and filtering global collections.
|
|
68
|
+
*
|
|
69
|
+
* Totals come from the backend's user-scoped pagination metadata. The complete Axios
|
|
70
|
+
* responses are retained for callers that also need status, headers, request IDs, or
|
|
71
|
+
* the student report summary.
|
|
72
|
+
*/
|
|
73
|
+
studentStatistics(userId: Identifier, options?: RequestOptions): Promise<LmsStudentStatistics>;
|
|
50
74
|
/** Returns the canonical authenticated web page URL for an exam attempt. */
|
|
51
75
|
examPageUrl(attemptId: Identifier): string;
|
|
52
76
|
/** Returns the canonical public certificate verification page URL. */
|
|
53
77
|
certificateViewUrl(code: Identifier): string;
|
|
54
78
|
/** Returns the canonical generated certificate SVG URL. */
|
|
55
79
|
certificateImageUrl(code: Identifier): string;
|
|
56
|
-
dashboard(options?: RequestOptions): Promise<
|
|
80
|
+
dashboard(options?: RequestOptions): Promise<AxiosResponse<T.DashboardResponse, any, {}>>;
|
|
57
81
|
/** Lists active classroom-session types in scheduler display order. */
|
|
58
|
-
classroomSessionTypes(options?: RequestOptions): Promise<
|
|
82
|
+
classroomSessionTypes(options?: RequestOptions): Promise<AxiosResponse<T.ClassroomSessionTypesResponse, any, {}>>;
|
|
59
83
|
/** Lists classroom sessions scheduled for one local date, with lock, type, room, and profile metadata. */
|
|
60
|
-
todayClassroomSessions(params?: T.TodayClassroomSessionListQuery, options?: RequestOptions): Promise<
|
|
84
|
+
todayClassroomSessions(params?: T.TodayClassroomSessionListQuery, options?: RequestOptions): Promise<AxiosResponse<T.ClassroomSessionPageResponse, any, {}>>;
|
|
61
85
|
/** Returns Session UI and recording URLs, using the configured Session domain when available. */
|
|
62
86
|
classroomSessionLinks(reference: T.ClassroomSessionRoomReference, sessionBaseUrl?: string | undefined): T.ClassroomSessionLinks;
|
|
63
|
-
courseSessions(id: Identifier, params?: QueryParams, options?: RequestOptions): Promise<
|
|
87
|
+
courseSessions(id: Identifier, params?: QueryParams, options?: RequestOptions): Promise<AxiosResponse<T.CourseSessionsResponse, any, {}>>;
|
|
64
88
|
/** Returns one course session, including its configured external or DRM video source. */
|
|
65
|
-
courseSession(courseId: Identifier, sessionId: Identifier, options?: RequestOptions): Promise<
|
|
89
|
+
courseSession(courseId: Identifier, sessionId: Identifier, options?: RequestOptions): Promise<AxiosResponse<T.LmsResponse<T.CourseSession>, any, {}>>;
|
|
66
90
|
/** Creates a course session with an optional external or DRM video source. */
|
|
67
|
-
createCourseSession(courseId: Identifier, data: T.CreateCourseSessionInput, options?: RequestOptions<T.CreateCourseSessionInput>): Promise<
|
|
91
|
+
createCourseSession(courseId: Identifier, data: T.CreateCourseSessionInput, options?: RequestOptions<T.CreateCourseSessionInput>): Promise<AxiosResponse<T.LmsResponse<T.CourseSession>, T.CreateCourseSessionInput, {}>>;
|
|
68
92
|
/** Updates a course session and supports clearing or replacing its video source. */
|
|
69
|
-
updateCourseSession(courseId: Identifier, sessionId: Identifier, data: T.UpdateCourseSessionInput, options?: RequestOptions<T.UpdateCourseSessionInput>): Promise<
|
|
70
|
-
addClassroomUser(id: Identifier, data: T.ClassroomUserInput, options?: RequestOptions<T.ClassroomUserInput>): Promise<
|
|
71
|
-
report(kind: "teachers" | "students" | "classrooms", params?: QueryParams, options?: RequestOptions): Promise<
|
|
93
|
+
updateCourseSession(courseId: Identifier, sessionId: Identifier, data: T.UpdateCourseSessionInput, options?: RequestOptions<T.UpdateCourseSessionInput>): Promise<AxiosResponse<T.LmsResponse<T.CourseSession>, T.UpdateCourseSessionInput, {}>>;
|
|
94
|
+
addClassroomUser(id: Identifier, data: T.ClassroomUserInput, options?: RequestOptions<T.ClassroomUserInput>): Promise<AxiosResponse<T.ClassroomUserResponse, T.ClassroomUserInput, {}>>;
|
|
95
|
+
report(kind: "teachers" | "students" | "classrooms", params?: QueryParams, options?: RequestOptions): Promise<AxiosResponse<T.LmsReportResponse, any, {}>>;
|
|
72
96
|
/** Lists active learner academy categories for the authenticated IDP session. */
|
|
73
|
-
academyCategories(options?: RequestOptions): Promise<
|
|
97
|
+
academyCategories(options?: RequestOptions): Promise<AxiosResponse<T.AcademyCategoriesResponse, any, {}>>;
|
|
74
98
|
/** Lists active academy courses and the current learner's enrollment progress. */
|
|
75
|
-
academyCourses(params?: T.AcademyCatalogQuery, options?: RequestOptions): Promise<
|
|
99
|
+
academyCourses(params?: T.AcademyCatalogQuery, options?: RequestOptions): Promise<AxiosResponse<T.AcademyCoursesResponse, any, {}>>;
|
|
76
100
|
/** Returns ordered sessions and lock/completion state for one academy course. */
|
|
77
|
-
academyCourse(courseId: Identifier, options?: RequestOptions): Promise<
|
|
101
|
+
academyCourse(courseId: Identifier, options?: RequestOptions): Promise<AxiosResponse<T.AcademyCourseResponse, any, {}>>;
|
|
78
102
|
/** Enrolls the authenticated learner; paid courses return `pending_payment`. */
|
|
79
|
-
academyEnroll(courseId: Identifier, options?: RequestOptions): Promise<
|
|
103
|
+
academyEnroll(courseId: Identifier, options?: RequestOptions): Promise<AxiosResponse<T.AcademyEnrollmentStartResponse, Record<string, never>, {}>>;
|
|
80
104
|
/** Lists enrollments owned by the authenticated learner. */
|
|
81
|
-
academyEnrollments(options?: RequestOptions): Promise<
|
|
105
|
+
academyEnrollments(options?: RequestOptions): Promise<AxiosResponse<T.AcademyEnrollmentsResponse, any, {}>>;
|
|
82
106
|
/** Completes an unlocked non-exam session idempotently. */
|
|
83
|
-
completeAcademySession(enrollmentId: Identifier, sessionId: Identifier, data: T.AcademyCompleteSessionInput, options?: RequestOptions<T.AcademyCompleteSessionInput>): Promise<
|
|
107
|
+
completeAcademySession(enrollmentId: Identifier, sessionId: Identifier, data: T.AcademyCompleteSessionInput, options?: RequestOptions<T.AcademyCompleteSessionInput>): Promise<AxiosResponse<T.AcademySessionCompletionResponse, T.AcademyCompleteSessionInput, {}>>;
|
|
84
108
|
/** Starts an unlocked exam attempt without exposing correct answers. */
|
|
85
|
-
startAcademyExam(enrollmentId: Identifier, examId: Identifier, options?: RequestOptions): Promise<
|
|
109
|
+
startAcademyExam(enrollmentId: Identifier, examId: Identifier, options?: RequestOptions): Promise<AxiosResponse<T.AcademyExamAttemptResponse, Record<string, never>, {}>>;
|
|
86
110
|
/** Submits answers once and returns the server-calculated score and pass state. */
|
|
87
|
-
submitAcademyExam(attemptId: Identifier, data: T.AcademySubmitExamInput, options?: RequestOptions<T.AcademySubmitExamInput>): Promise<
|
|
111
|
+
submitAcademyExam(attemptId: Identifier, data: T.AcademySubmitExamInput, options?: RequestOptions<T.AcademySubmitExamInput>): Promise<AxiosResponse<T.AcademyExamResultResponse, T.AcademySubmitExamInput, {}>>;
|
|
88
112
|
}
|
|
89
113
|
export * from "./types.js";
|
|
90
114
|
export * from "@faiber/sdk-core";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxI,OAAO,KAAK,KAAK,CAAC,MAAM,YAAY,CAAC;AACrC,OAAO,KAAK,KAAK,CAAC,MAAM,uBAAuB,CAAC;AAChD,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAAE,CAAC,EAAE,CAAC,IAAI,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;AACpG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,kFAAkF;AAClF,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE;QACJ,eAAe,EAAE,MAAM,CAAC;QACxB,cAAc,EAAE,MAAM,CAAC;QACvB,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,SAAS,EAAE;QACP,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC;QAC1D,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC;QAChE,mBAAmB,EAAE,aAAa,CAAC,CAAC,CAAC,kCAAkC,CAAC,CAAC;QACzE,YAAY,EAAE,aAA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ANGED
|
@@ -69,6 +69,38 @@ export class LmsApi extends ServiceApi {
|
|
|
69
69
|
listExamSessions(params, options) { return this.operations.examIndexSessionGet(params, options); }
|
|
70
70
|
/** Lists exam attempts; each returned attempt ID is suitable for examPageUrl. */
|
|
71
71
|
listExamAttempts(params, options) { return this.operations.examIndexAttemptGet(params, options); }
|
|
72
|
+
/** Returns the access-checked report summary for one LMS user UUID. */
|
|
73
|
+
studentSummary(userId, params, options) {
|
|
74
|
+
return this.operations.reportStudentSummaryGet({ ...params, student_user_id: String(userId) }, options);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Returns exact user-detail card counts without downloading and filtering global collections.
|
|
78
|
+
*
|
|
79
|
+
* Totals come from the backend's user-scoped pagination metadata. The complete Axios
|
|
80
|
+
* responses are retained for callers that also need status, headers, request IDs, or
|
|
81
|
+
* the student report summary.
|
|
82
|
+
*/
|
|
83
|
+
async studentStatistics(userId, options) {
|
|
84
|
+
const user_id = String(userId);
|
|
85
|
+
const countPage = { page_number: 1, page_size: 1, user_id };
|
|
86
|
+
const [summary, classrooms, homeworkAssignments, examAttempts] = await Promise.all([
|
|
87
|
+
this.studentSummary(userId, undefined, options),
|
|
88
|
+
this.operations.classroomIndexClassroomGet(countPage, options),
|
|
89
|
+
this.operations.homeworkIndexAssignmentGet(countPage, options),
|
|
90
|
+
this.operations.examIndexAttemptGet(countPage, options),
|
|
91
|
+
]);
|
|
92
|
+
return {
|
|
93
|
+
counts: {
|
|
94
|
+
// The report is enrollment-specific. The generic classroom list
|
|
95
|
+
// is relationship-aware and can also include classes where the
|
|
96
|
+
// same UUID is teacher/support, which inflates learner cards.
|
|
97
|
+
classroom_count: summary.data.data.classroom_count,
|
|
98
|
+
homework_count: homeworkAssignments.data.data.meta.total_items,
|
|
99
|
+
exam_count: examAttempts.data.data.meta.total_items,
|
|
100
|
+
},
|
|
101
|
+
responses: { summary, classrooms, homeworkAssignments, examAttempts },
|
|
102
|
+
};
|
|
103
|
+
}
|
|
72
104
|
/** Returns the canonical authenticated web page URL for an exam attempt. */
|
|
73
105
|
examPageUrl(attemptId) { return examPageUrl(attemptId, this.client.config.domains.lms); }
|
|
74
106
|
/** Returns the canonical public certificate verification page URL. */
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAA8E,MAAM,kBAAkB,CAAC;AAIxI,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAiBhD,SAAS,sBAAsB,CAAC,SAA0C;IACtE,OAAO,OAAO,SAAS,KAAK,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,eAAe,CAAC;AACjF,CAAC;AAED,SAAS,YAAY,CAAC,IAAY,EAAE,OAAgB;IAChD,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAC1B,IAAI,CAAC;QAAC,OAAO,IAAI,GAAG,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC;IAAC,CAAC;IACjD,MAAM,CAAC;QAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,CAAC;IAAC,CAAC;AAC5D,CAAC;AAED,4EAA4E;AAC5E,MAAM,UAAU,WAAW,CAAC,SAAqB,EAAE,UAAmB;IAClE,OAAO,YAAY,CAAC,mBAAmB,kBAAkB,CAAC,SAAS,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;AACxF,CAAC;AAED,gFAAgF;AAChF,MAAM,UAAU,kBAAkB,CAAC,IAAgB,EAAE,UAAmB;IACpE,OAAO,YAAY,CAAC,gBAAgB,kBAAkB,CA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AO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAwD,4BAA4B,kBAAkB,CAAC,SAAS,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CACtS;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faiber/faiber-lms",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@faiber/sdk-core": "0.10.
|
|
19
|
+
"@faiber/sdk-core": "0.10.2"
|
|
20
20
|
}
|
|
21
21
|
}
|