@easyedu/js-lsm-api 1.91.0 → 1.93.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 (181) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/README.md +52 -2
  3. package/dist/apis/ContentLibraryQuizApi.d.ts +451 -0
  4. package/dist/apis/ContentLibraryQuizApi.js +1162 -0
  5. package/dist/apis/PlayerApi.d.ts +15 -0
  6. package/dist/apis/PlayerApi.js +44 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/ContentLibraryQuizApi.d.ts +451 -0
  10. package/dist/esm/apis/ContentLibraryQuizApi.js +1158 -0
  11. package/dist/esm/apis/PlayerApi.d.ts +15 -0
  12. package/dist/esm/apis/PlayerApi.js +44 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/GetCourseVersionItem.d.ts +14 -0
  16. package/dist/esm/models/GetCourseVersionItem.js +9 -0
  17. package/dist/esm/models/GetLibraryQuiz.d.ts +124 -0
  18. package/dist/esm/models/GetLibraryQuiz.js +100 -0
  19. package/dist/esm/models/GetLibraryQuizAnalytics.d.ts +68 -0
  20. package/dist/esm/models/GetLibraryQuizAnalytics.js +67 -0
  21. package/dist/esm/models/GetLibraryQuizList.d.ts +57 -0
  22. package/dist/esm/models/GetLibraryQuizList.js +60 -0
  23. package/dist/esm/models/GetLibraryQuizResult.d.ts +94 -0
  24. package/dist/esm/models/GetLibraryQuizResult.js +79 -0
  25. package/dist/esm/models/GetLibraryQuizSession.d.ts +177 -0
  26. package/dist/esm/models/GetLibraryQuizSession.js +129 -0
  27. package/dist/esm/models/GetLibraryQuizSessionList.d.ts +57 -0
  28. package/dist/esm/models/GetLibraryQuizSessionList.js +60 -0
  29. package/dist/esm/models/GetLibraryQuizUsage.d.ts +56 -0
  30. package/dist/esm/models/GetLibraryQuizUsage.js +59 -0
  31. package/dist/esm/models/GetLibraryQuizVersion.d.ts +170 -0
  32. package/dist/esm/models/GetLibraryQuizVersion.js +125 -0
  33. package/dist/esm/models/GetQuestion.d.ts +7 -1
  34. package/dist/esm/models/GetQuestion.js +3 -0
  35. package/dist/esm/models/LibraryQuizCriterion.d.ts +95 -0
  36. package/dist/esm/models/LibraryQuizCriterion.js +76 -0
  37. package/dist/esm/models/LibraryQuizQuestion.d.ts +113 -0
  38. package/dist/esm/models/LibraryQuizQuestion.js +93 -0
  39. package/dist/esm/models/LibraryQuizQuestionInput.d.ts +50 -0
  40. package/dist/esm/models/LibraryQuizQuestionInput.js +51 -0
  41. package/dist/esm/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
  42. package/dist/esm/models/LibraryQuizSessionAnswerChoice.js +54 -0
  43. package/dist/esm/models/LibraryQuizSessionQuestion.d.ts +96 -0
  44. package/dist/esm/models/LibraryQuizSessionQuestion.js +84 -0
  45. package/dist/esm/models/PostCourseLibraryQuizSession.d.ts +32 -0
  46. package/dist/esm/models/PostCourseLibraryQuizSession.js +41 -0
  47. package/dist/esm/models/PostLibraryQuiz.d.ts +107 -0
  48. package/dist/esm/models/PostLibraryQuiz.js +70 -0
  49. package/dist/esm/models/PostLibraryQuizSession.d.ts +32 -0
  50. package/dist/esm/models/PostLibraryQuizSession.js +41 -0
  51. package/dist/esm/models/PostLibraryQuizVersion.d.ts +32 -0
  52. package/dist/esm/models/PostLibraryQuizVersion.js +41 -0
  53. package/dist/esm/models/PutLibraryQuiz.d.ts +38 -0
  54. package/dist/esm/models/PutLibraryQuiz.js +43 -0
  55. package/dist/esm/models/PutLibraryQuizCriteria.d.ts +33 -0
  56. package/dist/esm/models/PutLibraryQuizCriteria.js +44 -0
  57. package/dist/esm/models/PutLibraryQuizQuestions.d.ts +33 -0
  58. package/dist/esm/models/PutLibraryQuizQuestions.js +44 -0
  59. package/dist/esm/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
  60. package/dist/esm/models/PutLibraryQuizSessionAnswer.js +45 -0
  61. package/dist/esm/models/PutLibraryQuizSessionGrade.d.ts +38 -0
  62. package/dist/esm/models/PutLibraryQuizSessionGrade.js +45 -0
  63. package/dist/esm/models/PutLibraryQuizVersion.d.ts +101 -0
  64. package/dist/esm/models/PutLibraryQuizVersion.js +64 -0
  65. package/dist/esm/models/QuestionSelectionMethod.d.ts +25 -0
  66. package/dist/esm/models/QuestionSelectionMethod.js +43 -0
  67. package/dist/esm/models/index.d.ts +24 -0
  68. package/dist/esm/models/index.js +24 -0
  69. package/dist/models/GetCourseVersionItem.d.ts +14 -0
  70. package/dist/models/GetCourseVersionItem.js +10 -1
  71. package/dist/models/GetLibraryQuiz.d.ts +124 -0
  72. package/dist/models/GetLibraryQuiz.js +108 -0
  73. package/dist/models/GetLibraryQuizAnalytics.d.ts +68 -0
  74. package/dist/models/GetLibraryQuizAnalytics.js +74 -0
  75. package/dist/models/GetLibraryQuizList.d.ts +57 -0
  76. package/dist/models/GetLibraryQuizList.js +67 -0
  77. package/dist/models/GetLibraryQuizResult.d.ts +94 -0
  78. package/dist/models/GetLibraryQuizResult.js +86 -0
  79. package/dist/models/GetLibraryQuizSession.d.ts +177 -0
  80. package/dist/models/GetLibraryQuizSession.js +137 -0
  81. package/dist/models/GetLibraryQuizSessionList.d.ts +57 -0
  82. package/dist/models/GetLibraryQuizSessionList.js +67 -0
  83. package/dist/models/GetLibraryQuizUsage.d.ts +56 -0
  84. package/dist/models/GetLibraryQuizUsage.js +66 -0
  85. package/dist/models/GetLibraryQuizVersion.d.ts +170 -0
  86. package/dist/models/GetLibraryQuizVersion.js +132 -0
  87. package/dist/models/GetQuestion.d.ts +7 -1
  88. package/dist/models/GetQuestion.js +3 -0
  89. package/dist/models/LibraryQuizCriterion.d.ts +95 -0
  90. package/dist/models/LibraryQuizCriterion.js +84 -0
  91. package/dist/models/LibraryQuizQuestion.d.ts +113 -0
  92. package/dist/models/LibraryQuizQuestion.js +101 -0
  93. package/dist/models/LibraryQuizQuestionInput.d.ts +50 -0
  94. package/dist/models/LibraryQuizQuestionInput.js +58 -0
  95. package/dist/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
  96. package/dist/models/LibraryQuizSessionAnswerChoice.js +61 -0
  97. package/dist/models/LibraryQuizSessionQuestion.d.ts +96 -0
  98. package/dist/models/LibraryQuizSessionQuestion.js +92 -0
  99. package/dist/models/PostCourseLibraryQuizSession.d.ts +32 -0
  100. package/dist/models/PostCourseLibraryQuizSession.js +48 -0
  101. package/dist/models/PostLibraryQuiz.d.ts +107 -0
  102. package/dist/models/PostLibraryQuiz.js +77 -0
  103. package/dist/models/PostLibraryQuizSession.d.ts +32 -0
  104. package/dist/models/PostLibraryQuizSession.js +48 -0
  105. package/dist/models/PostLibraryQuizVersion.d.ts +32 -0
  106. package/dist/models/PostLibraryQuizVersion.js +48 -0
  107. package/dist/models/PutLibraryQuiz.d.ts +38 -0
  108. package/dist/models/PutLibraryQuiz.js +50 -0
  109. package/dist/models/PutLibraryQuizCriteria.d.ts +33 -0
  110. package/dist/models/PutLibraryQuizCriteria.js +51 -0
  111. package/dist/models/PutLibraryQuizQuestions.d.ts +33 -0
  112. package/dist/models/PutLibraryQuizQuestions.js +51 -0
  113. package/dist/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
  114. package/dist/models/PutLibraryQuizSessionAnswer.js +52 -0
  115. package/dist/models/PutLibraryQuizSessionGrade.d.ts +38 -0
  116. package/dist/models/PutLibraryQuizSessionGrade.js +52 -0
  117. package/dist/models/PutLibraryQuizVersion.d.ts +101 -0
  118. package/dist/models/PutLibraryQuizVersion.js +71 -0
  119. package/dist/models/QuestionSelectionMethod.d.ts +25 -0
  120. package/dist/models/QuestionSelectionMethod.js +51 -0
  121. package/dist/models/index.d.ts +24 -0
  122. package/dist/models/index.js +24 -0
  123. package/docs/ContentLibraryQuizApi.md +1780 -0
  124. package/docs/GetCourseVersionItem.md +2 -0
  125. package/docs/GetLibraryQuiz.md +62 -0
  126. package/docs/GetLibraryQuizAnalytics.md +46 -0
  127. package/docs/GetLibraryQuizList.md +42 -0
  128. package/docs/GetLibraryQuizResult.md +54 -0
  129. package/docs/GetLibraryQuizSession.md +78 -0
  130. package/docs/GetLibraryQuizSessionList.md +42 -0
  131. package/docs/GetLibraryQuizUsage.md +42 -0
  132. package/docs/GetLibraryQuizVersion.md +78 -0
  133. package/docs/GetQuestion.md +2 -0
  134. package/docs/LibraryQuizCriterion.md +48 -0
  135. package/docs/LibraryQuizQuestion.md +56 -0
  136. package/docs/LibraryQuizQuestionInput.md +40 -0
  137. package/docs/LibraryQuizSessionAnswerChoice.md +40 -0
  138. package/docs/LibraryQuizSessionQuestion.md +50 -0
  139. package/docs/PlayerApi.md +66 -0
  140. package/docs/PostCourseLibraryQuizSession.md +34 -0
  141. package/docs/PostLibraryQuiz.md +58 -0
  142. package/docs/PostLibraryQuizSession.md +34 -0
  143. package/docs/PostLibraryQuizVersion.md +34 -0
  144. package/docs/PutLibraryQuiz.md +36 -0
  145. package/docs/PutLibraryQuizCriteria.md +34 -0
  146. package/docs/PutLibraryQuizQuestions.md +34 -0
  147. package/docs/PutLibraryQuizSessionAnswer.md +36 -0
  148. package/docs/PutLibraryQuizSessionGrade.md +36 -0
  149. package/docs/PutLibraryQuizVersion.md +56 -0
  150. package/docs/QuestionSelectionMethod.md +32 -0
  151. package/package.json +1 -1
  152. package/src/apis/ContentLibraryQuizApi.ts +1624 -0
  153. package/src/apis/PlayerApi.ts +53 -0
  154. package/src/apis/index.ts +1 -0
  155. package/src/models/GetCourseVersionItem.ts +17 -0
  156. package/src/models/GetLibraryQuiz.ts +207 -0
  157. package/src/models/GetLibraryQuizAnalytics.ts +120 -0
  158. package/src/models/GetLibraryQuizList.ts +110 -0
  159. package/src/models/GetLibraryQuizResult.ts +154 -0
  160. package/src/models/GetLibraryQuizSession.ts +286 -0
  161. package/src/models/GetLibraryQuizSessionList.ts +110 -0
  162. package/src/models/GetLibraryQuizUsage.ts +102 -0
  163. package/src/models/GetLibraryQuizVersion.ts +290 -0
  164. package/src/models/GetQuestion.ts +9 -1
  165. package/src/models/LibraryQuizCriterion.ts +147 -0
  166. package/src/models/LibraryQuizQuestion.ts +185 -0
  167. package/src/models/LibraryQuizQuestionInput.ts +91 -0
  168. package/src/models/LibraryQuizSessionAnswerChoice.ts +100 -0
  169. package/src/models/LibraryQuizSessionQuestion.ts +166 -0
  170. package/src/models/PostCourseLibraryQuizSession.ts +65 -0
  171. package/src/models/PostLibraryQuiz.ts +173 -0
  172. package/src/models/PostLibraryQuizSession.ts +65 -0
  173. package/src/models/PostLibraryQuizVersion.ts +65 -0
  174. package/src/models/PutLibraryQuiz.ts +73 -0
  175. package/src/models/PutLibraryQuizCriteria.ts +74 -0
  176. package/src/models/PutLibraryQuizQuestions.ts +74 -0
  177. package/src/models/PutLibraryQuizSessionAnswer.ts +74 -0
  178. package/src/models/PutLibraryQuizSessionGrade.ts +74 -0
  179. package/src/models/PutLibraryQuizVersion.ts +163 -0
  180. package/src/models/QuestionSelectionMethod.ts +53 -0
  181. package/src/models/index.ts +24 -0
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `id` | string
10
10
  `sourceKind` | string
11
+ `contentLibraryKind` | string
11
12
  `contentLibraryItemId` | string
12
13
  `contentLibraryVersionId` | string
13
14
  `resourceVersionNumber` | number
@@ -31,6 +32,7 @@ import type { GetCourseVersionItem } from '@easyedu/js-lsm-api'
31
32
  const example = {
32
33
  "id": null,
33
34
  "sourceKind": null,
35
+ "contentLibraryKind": null,
34
36
  "contentLibraryItemId": null,
35
37
  "contentLibraryVersionId": null,
36
38
  "resourceVersionNumber": null,
@@ -0,0 +1,62 @@
1
+
2
+ # GetLibraryQuiz
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `kind` | string
11
+ `name` | string
12
+ `description` | string
13
+ `ownerId` | string
14
+ `latestPublishedVersion` | [GetLibraryQuizVersion](GetLibraryQuizVersion.md)
15
+ `draftVersion` | [GetLibraryQuizVersion](GetLibraryQuizVersion.md)
16
+ `versions` | [Array<GetLibraryQuizVersion>](GetLibraryQuizVersion.md)
17
+ `publishedCourseCount` | number
18
+ `draftCourseCount` | number
19
+ `historicalCourseCount` | number
20
+ `activeLearnerCount` | number
21
+ `createdAt` | number
22
+ `updatedAt` | number
23
+ `archivedAt` | number
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import type { GetLibraryQuiz } from '@easyedu/js-lsm-api'
29
+
30
+ // TODO: Update the object below with actual values
31
+ const example = {
32
+ "id": null,
33
+ "kind": null,
34
+ "name": null,
35
+ "description": null,
36
+ "ownerId": null,
37
+ "latestPublishedVersion": null,
38
+ "draftVersion": null,
39
+ "versions": null,
40
+ "publishedCourseCount": null,
41
+ "draftCourseCount": null,
42
+ "historicalCourseCount": null,
43
+ "activeLearnerCount": null,
44
+ "createdAt": null,
45
+ "updatedAt": null,
46
+ "archivedAt": null,
47
+ } satisfies GetLibraryQuiz
48
+
49
+ console.log(example)
50
+
51
+ // Convert the instance to a JSON string
52
+ const exampleJSON: string = JSON.stringify(example)
53
+ console.log(exampleJSON)
54
+
55
+ // Parse the JSON string back to an object
56
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuiz
57
+ console.log(exampleParsed)
58
+ ```
59
+
60
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
61
+
62
+
@@ -0,0 +1,46 @@
1
+
2
+ # GetLibraryQuizAnalytics
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `quizId` | string
10
+ `totalAttempts` | number
11
+ `completedAttempts` | number
12
+ `pendingReviewAttempts` | number
13
+ `averageScore` | number
14
+ `passRate` | number
15
+ `averageDurationSeconds` | number
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { GetLibraryQuizAnalytics } from '@easyedu/js-lsm-api'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "quizId": null,
25
+ "totalAttempts": null,
26
+ "completedAttempts": null,
27
+ "pendingReviewAttempts": null,
28
+ "averageScore": null,
29
+ "passRate": null,
30
+ "averageDurationSeconds": null,
31
+ } satisfies GetLibraryQuizAnalytics
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizAnalytics
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetLibraryQuizList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<GetLibraryQuiz>](GetLibraryQuiz.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetLibraryQuizList } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "page": null,
23
+ "pageSize": null,
24
+ "totalPages": null,
25
+ "totalItems": null,
26
+ "items": null,
27
+ } satisfies GetLibraryQuizList
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizList
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,54 @@
1
+
2
+ # GetLibraryQuizResult
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sessionId` | string
10
+ `status` | string
11
+ `totalQuestions` | number
12
+ `questionsAnswered` | number
13
+ `correctAnswers` | number
14
+ `totalPoints` | number
15
+ `pointsEarned` | number
16
+ `scorePercentage` | number
17
+ `passed` | boolean
18
+ `pendingManualGrading` | boolean
19
+ `questions` | Array<{ [key: string]: any; }>
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { GetLibraryQuizResult } from '@easyedu/js-lsm-api'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "sessionId": null,
29
+ "status": null,
30
+ "totalQuestions": null,
31
+ "questionsAnswered": null,
32
+ "correctAnswers": null,
33
+ "totalPoints": null,
34
+ "pointsEarned": null,
35
+ "scorePercentage": null,
36
+ "passed": null,
37
+ "pendingManualGrading": null,
38
+ "questions": null,
39
+ } satisfies GetLibraryQuizResult
40
+
41
+ console.log(example)
42
+
43
+ // Convert the instance to a JSON string
44
+ const exampleJSON: string = JSON.stringify(example)
45
+ console.log(exampleJSON)
46
+
47
+ // Parse the JSON string back to an object
48
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizResult
49
+ console.log(exampleParsed)
50
+ ```
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
+
54
+
@@ -0,0 +1,78 @@
1
+
2
+ # GetLibraryQuizSession
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `userId` | string
11
+ `environment` | [ResourceSessionEnvironment](ResourceSessionEnvironment.md)
12
+ `courseId` | string
13
+ `courseVersionId` | string
14
+ `itemId` | string
15
+ `quizId` | string
16
+ `quizVersionId` | string
17
+ `quizVersionNumber` | number
18
+ `quizName` | string
19
+ `attemptNumber` | number
20
+ `isCurrent` | boolean
21
+ `status` | string
22
+ `questionsAnswered` | number
23
+ `totalQuestions` | number
24
+ `scorePercentage` | number
25
+ `passed` | boolean
26
+ `timeLimitAt` | number
27
+ `launchUrl` | string
28
+ `questions` | [Array<LibraryQuizSessionQuestion>](LibraryQuizSessionQuestion.md)
29
+ `createdAt` | number
30
+ `updatedAt` | number
31
+ `completedAt` | number
32
+
33
+ ## Example
34
+
35
+ ```typescript
36
+ import type { GetLibraryQuizSession } from '@easyedu/js-lsm-api'
37
+
38
+ // TODO: Update the object below with actual values
39
+ const example = {
40
+ "id": null,
41
+ "userId": null,
42
+ "environment": null,
43
+ "courseId": null,
44
+ "courseVersionId": null,
45
+ "itemId": null,
46
+ "quizId": null,
47
+ "quizVersionId": null,
48
+ "quizVersionNumber": null,
49
+ "quizName": null,
50
+ "attemptNumber": null,
51
+ "isCurrent": null,
52
+ "status": null,
53
+ "questionsAnswered": null,
54
+ "totalQuestions": null,
55
+ "scorePercentage": null,
56
+ "passed": null,
57
+ "timeLimitAt": null,
58
+ "launchUrl": null,
59
+ "questions": null,
60
+ "createdAt": null,
61
+ "updatedAt": null,
62
+ "completedAt": null,
63
+ } satisfies GetLibraryQuizSession
64
+
65
+ console.log(example)
66
+
67
+ // Convert the instance to a JSON string
68
+ const exampleJSON: string = JSON.stringify(example)
69
+ console.log(exampleJSON)
70
+
71
+ // Parse the JSON string back to an object
72
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizSession
73
+ console.log(exampleParsed)
74
+ ```
75
+
76
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
77
+
78
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetLibraryQuizSessionList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<GetLibraryQuizSession>](GetLibraryQuizSession.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetLibraryQuizSessionList } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "page": null,
23
+ "pageSize": null,
24
+ "totalPages": null,
25
+ "totalItems": null,
26
+ "items": null,
27
+ } satisfies GetLibraryQuizSessionList
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizSessionList
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetLibraryQuizUsage
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `quizId` | string
10
+ `publishedCourseCount` | number
11
+ `draftCourseCount` | number
12
+ `historicalCourseCount` | number
13
+ `activeLearnerCount` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetLibraryQuizUsage } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "quizId": null,
23
+ "publishedCourseCount": null,
24
+ "draftCourseCount": null,
25
+ "historicalCourseCount": null,
26
+ "activeLearnerCount": null,
27
+ } satisfies GetLibraryQuizUsage
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizUsage
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,78 @@
1
+
2
+ # GetLibraryQuizVersion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `versionNumber` | number
11
+ `status` | [ContentLibraryVersionStatus](ContentLibraryVersionStatus.md)
12
+ `changeNotes` | string
13
+ `questionSelectionMethod` | [QuestionSelectionMethod](QuestionSelectionMethod.md)
14
+ `maxQuestions` | number
15
+ `passingScore` | number
16
+ `timeLimitMinutes` | number
17
+ `randomizeQuestions` | boolean
18
+ `randomizeAnswers` | boolean
19
+ `showResults` | boolean
20
+ `showCorrectAnswers` | boolean
21
+ `allowReview` | boolean
22
+ `requireAllQuestions` | boolean
23
+ `settings` | { [key: string]: any; }
24
+ `questions` | [Array<LibraryQuizQuestion>](LibraryQuizQuestion.md)
25
+ `criteria` | [Array<LibraryQuizCriterion>](LibraryQuizCriterion.md)
26
+ `questionCount` | number
27
+ `createdBy` | string
28
+ `createdAt` | number
29
+ `updatedAt` | number
30
+ `publishedAt` | number
31
+ `archivedAt` | number
32
+
33
+ ## Example
34
+
35
+ ```typescript
36
+ import type { GetLibraryQuizVersion } from '@easyedu/js-lsm-api'
37
+
38
+ // TODO: Update the object below with actual values
39
+ const example = {
40
+ "id": null,
41
+ "versionNumber": null,
42
+ "status": null,
43
+ "changeNotes": null,
44
+ "questionSelectionMethod": null,
45
+ "maxQuestions": null,
46
+ "passingScore": null,
47
+ "timeLimitMinutes": null,
48
+ "randomizeQuestions": null,
49
+ "randomizeAnswers": null,
50
+ "showResults": null,
51
+ "showCorrectAnswers": null,
52
+ "allowReview": null,
53
+ "requireAllQuestions": null,
54
+ "settings": null,
55
+ "questions": null,
56
+ "criteria": null,
57
+ "questionCount": null,
58
+ "createdBy": null,
59
+ "createdAt": null,
60
+ "updatedAt": null,
61
+ "publishedAt": null,
62
+ "archivedAt": null,
63
+ } satisfies GetLibraryQuizVersion
64
+
65
+ console.log(example)
66
+
67
+ // Convert the instance to a JSON string
68
+ const exampleJSON: string = JSON.stringify(example)
69
+ console.log(exampleJSON)
70
+
71
+ // Parse the JSON string back to an object
72
+ const exampleParsed = JSON.parse(exampleJSON) as GetLibraryQuizVersion
73
+ console.log(exampleParsed)
74
+ ```
75
+
76
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
77
+
78
+
@@ -16,6 +16,7 @@ Name | Type
16
16
  `difficultyLevel` | string
17
17
  `tags` | Array<string>
18
18
  `version` | string
19
+ `versionNumber` | number
19
20
  `createdDate` | Date
20
21
  `updatedDate` | Date
21
22
  `createdBy` | string
@@ -39,6 +40,7 @@ const example = {
39
40
  "difficultyLevel": null,
40
41
  "tags": null,
41
42
  "version": null,
43
+ "versionNumber": null,
42
44
  "createdDate": null,
43
45
  "updatedDate": null,
44
46
  "createdBy": null,
@@ -0,0 +1,48 @@
1
+
2
+ # LibraryQuizCriterion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `topic` | string
11
+ `difficultyLevel` | string
12
+ `questionType` | string
13
+ `tags` | Array<string>
14
+ `minQuestions` | number
15
+ `maxQuestions` | number
16
+ `priority` | number
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { LibraryQuizCriterion } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "id": null,
26
+ "topic": null,
27
+ "difficultyLevel": null,
28
+ "questionType": null,
29
+ "tags": null,
30
+ "minQuestions": null,
31
+ "maxQuestions": null,
32
+ "priority": null,
33
+ } satisfies LibraryQuizCriterion
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as LibraryQuizCriterion
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -0,0 +1,56 @@
1
+
2
+ # LibraryQuizQuestion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `questionId` | string
11
+ `questionGroupId` | string
12
+ `effectiveQuestionId` | string
13
+ `questionText` | [RichTextDocument](RichTextDocument.md)
14
+ `questionType` | string
15
+ `questionVersionNumber` | number
16
+ `questionVersion` | string
17
+ `displayOrder` | number
18
+ `points` | number
19
+ `versionLocked` | boolean
20
+ `snapshot` | { [key: string]: any; }
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import type { LibraryQuizQuestion } from '@easyedu/js-lsm-api'
26
+
27
+ // TODO: Update the object below with actual values
28
+ const example = {
29
+ "id": null,
30
+ "questionId": null,
31
+ "questionGroupId": null,
32
+ "effectiveQuestionId": null,
33
+ "questionText": null,
34
+ "questionType": null,
35
+ "questionVersionNumber": null,
36
+ "questionVersion": null,
37
+ "displayOrder": null,
38
+ "points": null,
39
+ "versionLocked": null,
40
+ "snapshot": null,
41
+ } satisfies LibraryQuizQuestion
42
+
43
+ console.log(example)
44
+
45
+ // Convert the instance to a JSON string
46
+ const exampleJSON: string = JSON.stringify(example)
47
+ console.log(exampleJSON)
48
+
49
+ // Parse the JSON string back to an object
50
+ const exampleParsed = JSON.parse(exampleJSON) as LibraryQuizQuestion
51
+ console.log(exampleParsed)
52
+ ```
53
+
54
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
55
+
56
+
@@ -0,0 +1,40 @@
1
+
2
+ # LibraryQuizQuestionInput
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `questionId` | string
10
+ `displayOrder` | number
11
+ `points` | number
12
+ `versionLocked` | boolean
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { LibraryQuizQuestionInput } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "questionId": null,
22
+ "displayOrder": null,
23
+ "points": null,
24
+ "versionLocked": null,
25
+ } satisfies LibraryQuizQuestionInput
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as LibraryQuizQuestionInput
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,40 @@
1
+
2
+ # LibraryQuizSessionAnswerChoice
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `text` | string
11
+ `textRich` | [RichTextDocument](RichTextDocument.md)
12
+ `displayOrder` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { LibraryQuizSessionAnswerChoice } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "text": null,
23
+ "textRich": null,
24
+ "displayOrder": null,
25
+ } satisfies LibraryQuizSessionAnswerChoice
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as LibraryQuizSessionAnswerChoice
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+