@easyedu/js-lsm-api 1.82.0 → 1.84.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 (247) hide show
  1. package/.openapi-generator/FILES +60 -0
  2. package/README.md +64 -2
  3. package/dist/apis/ContentLibraryApi.d.ts +290 -0
  4. package/dist/apis/ContentLibraryApi.js +744 -0
  5. package/dist/apis/CourseApi.d.ts +172 -0
  6. package/dist/apis/CourseApi.js +443 -0
  7. package/dist/apis/PlayerApi.d.ts +112 -0
  8. package/dist/apis/PlayerApi.js +297 -0
  9. package/dist/apis/QuizApi.d.ts +3 -2
  10. package/dist/apis/QuizApi.js +4 -2
  11. package/dist/apis/index.d.ts +1 -0
  12. package/dist/apis/index.js +1 -0
  13. package/dist/esm/apis/ContentLibraryApi.d.ts +290 -0
  14. package/dist/esm/apis/ContentLibraryApi.js +740 -0
  15. package/dist/esm/apis/CourseApi.d.ts +172 -0
  16. package/dist/esm/apis/CourseApi.js +443 -0
  17. package/dist/esm/apis/PlayerApi.d.ts +112 -0
  18. package/dist/esm/apis/PlayerApi.js +297 -0
  19. package/dist/esm/apis/QuizApi.d.ts +3 -2
  20. package/dist/esm/apis/QuizApi.js +4 -2
  21. package/dist/esm/apis/index.d.ts +1 -0
  22. package/dist/esm/apis/index.js +1 -0
  23. package/dist/esm/models/ContentLibraryVersionStatus.d.ts +26 -0
  24. package/dist/esm/models/ContentLibraryVersionStatus.js +44 -0
  25. package/dist/esm/models/GetContentLibraryVersion.d.ts +126 -0
  26. package/dist/esm/models/GetContentLibraryVersion.js +87 -0
  27. package/dist/esm/models/GetCourseVersion.d.ts +101 -0
  28. package/dist/esm/models/GetCourseVersion.js +86 -0
  29. package/dist/esm/models/GetCourseVersionItem.d.ts +135 -0
  30. package/dist/esm/models/GetCourseVersionItem.js +104 -0
  31. package/dist/esm/models/GetCourseVersionItemLaunch.d.ts +103 -0
  32. package/dist/esm/models/GetCourseVersionItemLaunch.js +82 -0
  33. package/dist/esm/models/GetCourseVersionItemSession.d.ts +124 -0
  34. package/dist/esm/models/GetCourseVersionItemSession.js +101 -0
  35. package/dist/esm/models/GetCourseVersionList.d.ts +33 -0
  36. package/dist/esm/models/GetCourseVersionList.js +44 -0
  37. package/dist/esm/models/GetCourseVersionModule.d.ts +64 -0
  38. package/dist/esm/models/GetCourseVersionModule.js +65 -0
  39. package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +7 -0
  40. package/dist/esm/models/GetQuizAttemptQuestionsInner.js +3 -0
  41. package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  42. package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
  43. package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +13 -0
  44. package/dist/esm/models/GetQuizResultsQuestionsInner.js +5 -0
  45. package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  46. package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +3 -0
  47. package/dist/esm/models/GetResource.d.ts +118 -0
  48. package/dist/esm/models/GetResource.js +95 -0
  49. package/dist/esm/models/GetResourceList.d.ts +57 -0
  50. package/dist/esm/models/GetResourceList.js +60 -0
  51. package/dist/esm/models/GetResourceUsage.d.ts +63 -0
  52. package/dist/esm/models/GetResourceUsage.js +64 -0
  53. package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +63 -0
  54. package/dist/esm/models/GetResourceUsageCoursesInner.js +64 -0
  55. package/dist/esm/models/GetResourceVersionUpload.d.ts +38 -0
  56. package/dist/esm/models/GetResourceVersionUpload.js +47 -0
  57. package/dist/esm/models/PostCourseDraft.d.ts +32 -0
  58. package/dist/esm/models/PostCourseDraft.js +41 -0
  59. package/dist/esm/models/PostCourseVersionItem.d.ts +97 -0
  60. package/dist/esm/models/PostCourseVersionItem.js +71 -0
  61. package/dist/esm/models/PostCourseVersionItemSession.d.ts +32 -0
  62. package/dist/esm/models/PostCourseVersionItemSession.js +41 -0
  63. package/dist/esm/models/PostCourseVersionPublish.d.ts +32 -0
  64. package/dist/esm/models/PostCourseVersionPublish.js +41 -0
  65. package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +7 -0
  66. package/dist/esm/models/PostQuizAttemptQuestionsInner.js +3 -0
  67. package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  68. package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
  69. package/dist/esm/models/PostResource.d.ts +58 -0
  70. package/dist/esm/models/PostResource.js +55 -0
  71. package/dist/esm/models/PostResourceVersion.d.ts +45 -0
  72. package/dist/esm/models/PostResourceVersion.js +46 -0
  73. package/dist/esm/models/PostResourceVersionComplete.d.ts +32 -0
  74. package/dist/esm/models/PostResourceVersionComplete.js +43 -0
  75. package/dist/esm/models/PostResourceVersionUpload.d.ts +50 -0
  76. package/dist/esm/models/PostResourceVersionUpload.js +55 -0
  77. package/dist/esm/models/PutCourseVersionItem.d.ts +85 -0
  78. package/dist/esm/models/PutCourseVersionItem.js +63 -0
  79. package/dist/esm/models/PutQuizAnswerResponse.d.ts +77 -0
  80. package/dist/esm/models/PutQuizAnswerResponse.js +64 -0
  81. package/dist/esm/models/PutQuizAnswerResponseNextQuestion.d.ts +102 -0
  82. package/dist/esm/models/PutQuizAnswerResponseNextQuestion.js +88 -0
  83. package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +51 -0
  84. package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +54 -0
  85. package/dist/esm/models/PutQuizAnswerResponseProgress.d.ts +50 -0
  86. package/dist/esm/models/PutQuizAnswerResponseProgress.js +55 -0
  87. package/dist/esm/models/PutResource.d.ts +38 -0
  88. package/dist/esm/models/PutResource.js +43 -0
  89. package/dist/esm/models/PutResourceVersion.d.ts +53 -0
  90. package/dist/esm/models/PutResourceVersion.js +48 -0
  91. package/dist/esm/models/ResourceType.d.ts +32 -0
  92. package/dist/esm/models/ResourceType.js +50 -0
  93. package/dist/esm/models/index.d.ts +29 -0
  94. package/dist/esm/models/index.js +29 -0
  95. package/dist/models/ContentLibraryVersionStatus.d.ts +26 -0
  96. package/dist/models/ContentLibraryVersionStatus.js +52 -0
  97. package/dist/models/GetContentLibraryVersion.d.ts +126 -0
  98. package/dist/models/GetContentLibraryVersion.js +94 -0
  99. package/dist/models/GetCourseVersion.d.ts +101 -0
  100. package/dist/models/GetCourseVersion.js +93 -0
  101. package/dist/models/GetCourseVersionItem.d.ts +135 -0
  102. package/dist/models/GetCourseVersionItem.js +112 -0
  103. package/dist/models/GetCourseVersionItemLaunch.d.ts +103 -0
  104. package/dist/models/GetCourseVersionItemLaunch.js +89 -0
  105. package/dist/models/GetCourseVersionItemSession.d.ts +124 -0
  106. package/dist/models/GetCourseVersionItemSession.js +108 -0
  107. package/dist/models/GetCourseVersionList.d.ts +33 -0
  108. package/dist/models/GetCourseVersionList.js +51 -0
  109. package/dist/models/GetCourseVersionModule.d.ts +64 -0
  110. package/dist/models/GetCourseVersionModule.js +72 -0
  111. package/dist/models/GetQuizAttemptQuestionsInner.d.ts +7 -0
  112. package/dist/models/GetQuizAttemptQuestionsInner.js +3 -0
  113. package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  114. package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
  115. package/dist/models/GetQuizResultsQuestionsInner.d.ts +13 -0
  116. package/dist/models/GetQuizResultsQuestionsInner.js +5 -0
  117. package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  118. package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +3 -0
  119. package/dist/models/GetResource.d.ts +118 -0
  120. package/dist/models/GetResource.js +102 -0
  121. package/dist/models/GetResourceList.d.ts +57 -0
  122. package/dist/models/GetResourceList.js +67 -0
  123. package/dist/models/GetResourceUsage.d.ts +63 -0
  124. package/dist/models/GetResourceUsage.js +71 -0
  125. package/dist/models/GetResourceUsageCoursesInner.d.ts +63 -0
  126. package/dist/models/GetResourceUsageCoursesInner.js +71 -0
  127. package/dist/models/GetResourceVersionUpload.d.ts +38 -0
  128. package/dist/models/GetResourceVersionUpload.js +54 -0
  129. package/dist/models/PostCourseDraft.d.ts +32 -0
  130. package/dist/models/PostCourseDraft.js +48 -0
  131. package/dist/models/PostCourseVersionItem.d.ts +97 -0
  132. package/dist/models/PostCourseVersionItem.js +79 -0
  133. package/dist/models/PostCourseVersionItemSession.d.ts +32 -0
  134. package/dist/models/PostCourseVersionItemSession.js +48 -0
  135. package/dist/models/PostCourseVersionPublish.d.ts +32 -0
  136. package/dist/models/PostCourseVersionPublish.js +48 -0
  137. package/dist/models/PostQuizAttemptQuestionsInner.d.ts +7 -0
  138. package/dist/models/PostQuizAttemptQuestionsInner.js +3 -0
  139. package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
  140. package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
  141. package/dist/models/PostResource.d.ts +58 -0
  142. package/dist/models/PostResource.js +62 -0
  143. package/dist/models/PostResourceVersion.d.ts +45 -0
  144. package/dist/models/PostResourceVersion.js +53 -0
  145. package/dist/models/PostResourceVersionComplete.d.ts +32 -0
  146. package/dist/models/PostResourceVersionComplete.js +50 -0
  147. package/dist/models/PostResourceVersionUpload.d.ts +50 -0
  148. package/dist/models/PostResourceVersionUpload.js +62 -0
  149. package/dist/models/PutCourseVersionItem.d.ts +85 -0
  150. package/dist/models/PutCourseVersionItem.js +71 -0
  151. package/dist/models/PutQuizAnswerResponse.d.ts +77 -0
  152. package/dist/models/PutQuizAnswerResponse.js +71 -0
  153. package/dist/models/PutQuizAnswerResponseNextQuestion.d.ts +102 -0
  154. package/dist/models/PutQuizAnswerResponseNextQuestion.js +96 -0
  155. package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +51 -0
  156. package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +61 -0
  157. package/dist/models/PutQuizAnswerResponseProgress.d.ts +50 -0
  158. package/dist/models/PutQuizAnswerResponseProgress.js +62 -0
  159. package/dist/models/PutResource.d.ts +38 -0
  160. package/dist/models/PutResource.js +50 -0
  161. package/dist/models/PutResourceVersion.d.ts +53 -0
  162. package/dist/models/PutResourceVersion.js +55 -0
  163. package/dist/models/ResourceType.d.ts +32 -0
  164. package/dist/models/ResourceType.js +58 -0
  165. package/dist/models/index.d.ts +29 -0
  166. package/dist/models/index.js +29 -0
  167. package/docs/ContentLibraryApi.md +1132 -0
  168. package/docs/ContentLibraryVersionStatus.md +33 -0
  169. package/docs/CourseApi.md +797 -96
  170. package/docs/GetContentLibraryVersion.md +64 -0
  171. package/docs/GetCourseVersion.md +56 -0
  172. package/docs/GetCourseVersionItem.md +62 -0
  173. package/docs/GetCourseVersionItemLaunch.md +56 -0
  174. package/docs/GetCourseVersionItemSession.md +65 -0
  175. package/docs/GetCourseVersionList.md +34 -0
  176. package/docs/GetCourseVersionModule.md +44 -0
  177. package/docs/GetQuizAttemptQuestionsInner.md +2 -0
  178. package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +2 -0
  179. package/docs/GetQuizResultsQuestionsInner.md +4 -0
  180. package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +2 -0
  181. package/docs/GetResource.md +62 -0
  182. package/docs/GetResourceList.md +42 -0
  183. package/docs/GetResourceUsage.md +44 -0
  184. package/docs/GetResourceUsageCoursesInner.md +44 -0
  185. package/docs/GetResourceVersionUpload.md +36 -0
  186. package/docs/PlayerApi.md +480 -0
  187. package/docs/PostCourseDraft.md +34 -0
  188. package/docs/PostCourseVersionItem.md +52 -0
  189. package/docs/PostCourseVersionItemSession.md +35 -0
  190. package/docs/PostCourseVersionPublish.md +34 -0
  191. package/docs/PostQuizAttemptQuestionsInner.md +2 -0
  192. package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +2 -0
  193. package/docs/PostResource.md +42 -0
  194. package/docs/PostResourceVersion.md +38 -0
  195. package/docs/PostResourceVersionComplete.md +34 -0
  196. package/docs/PostResourceVersionUpload.md +40 -0
  197. package/docs/PutCourseVersionItem.md +48 -0
  198. package/docs/PutQuizAnswerResponse.md +48 -0
  199. package/docs/PutQuizAnswerResponseNextQuestion.md +52 -0
  200. package/docs/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.md +40 -0
  201. package/docs/PutQuizAnswerResponseProgress.md +40 -0
  202. package/docs/PutResource.md +36 -0
  203. package/docs/PutResourceVersion.md +40 -0
  204. package/docs/QuizApi.md +3 -3
  205. package/docs/ResourceType.md +33 -0
  206. package/package.json +1 -1
  207. package/src/apis/ContentLibraryApi.ts +1024 -0
  208. package/src/apis/CourseApi.ts +636 -0
  209. package/src/apis/PlayerApi.ts +400 -0
  210. package/src/apis/QuizApi.ts +10 -4
  211. package/src/apis/index.ts +1 -0
  212. package/src/models/ContentLibraryVersionStatus.ts +54 -0
  213. package/src/models/GetContentLibraryVersion.ts +209 -0
  214. package/src/models/GetCourseVersion.ts +187 -0
  215. package/src/models/GetCourseVersionItem.ts +215 -0
  216. package/src/models/GetCourseVersionItemLaunch.ts +185 -0
  217. package/src/models/GetCourseVersionItemSession.ts +216 -0
  218. package/src/models/GetCourseVersionList.ts +74 -0
  219. package/src/models/GetCourseVersionModule.ts +126 -0
  220. package/src/models/GetQuizAttemptQuestionsInner.ts +15 -0
  221. package/src/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.ts +16 -0
  222. package/src/models/GetQuizResultsQuestionsInner.ts +23 -0
  223. package/src/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.ts +16 -0
  224. package/src/models/GetResource.ts +206 -0
  225. package/src/models/GetResourceList.ts +110 -0
  226. package/src/models/GetResourceUsage.ts +119 -0
  227. package/src/models/GetResourceUsageCoursesInner.ts +121 -0
  228. package/src/models/GetResourceVersionUpload.ts +75 -0
  229. package/src/models/PostCourseDraft.ts +65 -0
  230. package/src/models/PostCourseVersionItem.ts +158 -0
  231. package/src/models/PostCourseVersionItemSession.ts +65 -0
  232. package/src/models/PostCourseVersionPublish.ts +65 -0
  233. package/src/models/PostQuizAttemptQuestionsInner.ts +15 -0
  234. package/src/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.ts +16 -0
  235. package/src/models/PostResource.ts +116 -0
  236. package/src/models/PostResourceVersion.ts +89 -0
  237. package/src/models/PostResourceVersionComplete.ts +66 -0
  238. package/src/models/PostResourceVersionUpload.ts +93 -0
  239. package/src/models/PutCourseVersionItem.ts +140 -0
  240. package/src/models/PutQuizAnswerResponse.ts +146 -0
  241. package/src/models/PutQuizAnswerResponseNextQuestion.ts +175 -0
  242. package/src/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.ts +100 -0
  243. package/src/models/PutQuizAnswerResponseProgress.ts +93 -0
  244. package/src/models/PutResource.ts +73 -0
  245. package/src/models/PutResourceVersion.ts +97 -0
  246. package/src/models/ResourceType.ts +60 -0
  247. package/src/models/index.ts +29 -0
@@ -0,0 +1,42 @@
1
+
2
+ # PostResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `description` | string
11
+ `resourceType` | [ResourceType](ResourceType.md)
12
+ `linkUrl` | string
13
+ `richText` | [RichTextInput](RichTextInput.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PostResource } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "name": null,
23
+ "description": null,
24
+ "resourceType": null,
25
+ "linkUrl": null,
26
+ "richText": null,
27
+ } satisfies PostResource
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 PostResource
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,38 @@
1
+
2
+ # PostResourceVersion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `changeNotes` | string
10
+ `linkUrl` | string
11
+ `richText` | [RichTextInput](RichTextInput.md)
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { PostResourceVersion } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "changeNotes": null,
21
+ "linkUrl": null,
22
+ "richText": null,
23
+ } satisfies PostResourceVersion
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as PostResourceVersion
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+
@@ -0,0 +1,34 @@
1
+
2
+ # PostResourceVersionComplete
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `checksumSha256` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostResourceVersionComplete } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "checksumSha256": null,
19
+ } satisfies PostResourceVersionComplete
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as PostResourceVersionComplete
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,40 @@
1
+
2
+ # PostResourceVersionUpload
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `filename` | string
10
+ `mimeType` | string
11
+ `fileSizeBytes` | number
12
+ `checksumSha256` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PostResourceVersionUpload } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "filename": null,
22
+ "mimeType": null,
23
+ "fileSizeBytes": null,
24
+ "checksumSha256": null,
25
+ } satisfies PostResourceVersionUpload
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 PostResourceVersionUpload
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,48 @@
1
+
2
+ # PutCourseVersionItem
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `contentLibraryVersionId` | string
10
+ `displayName` | string
11
+ `displayOrder` | number
12
+ `isVisible` | boolean
13
+ `launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
14
+ `maxAttempts` | number
15
+ `scoreRollupStrategy` | string
16
+ `settings` | { [key: string]: any; }
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { PutCourseVersionItem } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "contentLibraryVersionId": null,
26
+ "displayName": null,
27
+ "displayOrder": null,
28
+ "isVisible": null,
29
+ "launchMode": null,
30
+ "maxAttempts": null,
31
+ "scoreRollupStrategy": null,
32
+ "settings": null,
33
+ } satisfies PutCourseVersionItem
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 PutCourseVersionItem
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,48 @@
1
+
2
+ # PutQuizAnswerResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `success` | boolean
10
+ `questionId` | number
11
+ `isCorrect` | boolean
12
+ `pointsEarned` | number
13
+ `explanation` | string
14
+ `explanationRich` | [RichTextDocument](RichTextDocument.md)
15
+ `nextQuestion` | [PutQuizAnswerResponseNextQuestion](PutQuizAnswerResponseNextQuestion.md)
16
+ `progress` | [PutQuizAnswerResponseProgress](PutQuizAnswerResponseProgress.md)
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { PutQuizAnswerResponse } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "success": null,
26
+ "questionId": null,
27
+ "isCorrect": null,
28
+ "pointsEarned": null,
29
+ "explanation": null,
30
+ "explanationRich": null,
31
+ "nextQuestion": null,
32
+ "progress": null,
33
+ } satisfies PutQuizAnswerResponse
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 PutQuizAnswerResponse
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,52 @@
1
+
2
+ # PutQuizAnswerResponseNextQuestion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `questionId` | number
11
+ `questionOrder` | number
12
+ `points` | number
13
+ `questionText` | string
14
+ `questionTextRich` | [RichTextDocument](RichTextDocument.md)
15
+ `questionType` | string
16
+ `answerChoices` | [Array<PutQuizAnswerResponseNextQuestionAnswerChoicesInner>](PutQuizAnswerResponseNextQuestionAnswerChoicesInner.md)
17
+ `isAnswered` | boolean
18
+ `userAnswer` | { [key: string]: any; }
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { PutQuizAnswerResponseNextQuestion } from '@easyedu/js-lsm-api'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "questionId": null,
29
+ "questionOrder": null,
30
+ "points": null,
31
+ "questionText": null,
32
+ "questionTextRich": null,
33
+ "questionType": null,
34
+ "answerChoices": null,
35
+ "isAnswered": null,
36
+ "userAnswer": null,
37
+ } satisfies PutQuizAnswerResponseNextQuestion
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as PutQuizAnswerResponseNextQuestion
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,40 @@
1
+
2
+ # PutQuizAnswerResponseNextQuestionAnswerChoicesInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `text` | string
11
+ `textRich` | [RichTextDocument](RichTextDocument.md)
12
+ `displayOrder` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PutQuizAnswerResponseNextQuestionAnswerChoicesInner } 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 PutQuizAnswerResponseNextQuestionAnswerChoicesInner
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 PutQuizAnswerResponseNextQuestionAnswerChoicesInner
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
+ # PutQuizAnswerResponseProgress
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `totalQuestions` | number
10
+ `questionsAnswered` | number
11
+ `currentQuestionNumber` | number
12
+ `canSubmit` | boolean
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PutQuizAnswerResponseProgress } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "totalQuestions": null,
22
+ "questionsAnswered": null,
23
+ "currentQuestionNumber": null,
24
+ "canSubmit": null,
25
+ } satisfies PutQuizAnswerResponseProgress
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 PutQuizAnswerResponseProgress
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,36 @@
1
+
2
+ # PutResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+ `description` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PutResource } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "name": null,
20
+ "description": null,
21
+ } satisfies PutResource
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PutResource
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,40 @@
1
+
2
+ # PutResourceVersion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `changeNotes` | string
10
+ `metadata` | { [key: string]: any; }
11
+ `linkUrl` | string
12
+ `richText` | [RichTextInput](RichTextInput.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PutResourceVersion } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "changeNotes": null,
22
+ "metadata": null,
23
+ "linkUrl": null,
24
+ "richText": null,
25
+ } satisfies PutResourceVersion
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 PutResourceVersion
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
+
package/docs/QuizApi.md CHANGED
@@ -1517,7 +1517,7 @@ No authorization required
1517
1517
 
1518
1518
  ## saveQuizAnswer
1519
1519
 
1520
- > saveQuizAnswer(attemptId, questionId, putQuizAnswer)
1520
+ > PutQuizAnswerResponse saveQuizAnswer(attemptId, questionId, putQuizAnswer)
1521
1521
 
1522
1522
  Save answer for a specific question
1523
1523
 
@@ -1566,7 +1566,7 @@ example().catch(console.error);
1566
1566
 
1567
1567
  ### Return type
1568
1568
 
1569
- `void` (Empty response body)
1569
+ [**PutQuizAnswerResponse**](PutQuizAnswerResponse.md)
1570
1570
 
1571
1571
  ### Authorization
1572
1572
 
@@ -1575,7 +1575,7 @@ No authorization required
1575
1575
  ### HTTP request headers
1576
1576
 
1577
1577
  - **Content-Type**: `application/json`
1578
- - **Accept**: Not defined
1578
+ - **Accept**: `application/json`
1579
1579
 
1580
1580
 
1581
1581
  ### HTTP response details
@@ -0,0 +1,33 @@
1
+
2
+ # ResourceType
3
+
4
+ Resource payload type.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { ResourceType } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ } satisfies ResourceType
19
+
20
+ console.log(example)
21
+
22
+ // Convert the instance to a JSON string
23
+ const exampleJSON: string = JSON.stringify(example)
24
+ console.log(exampleJSON)
25
+
26
+ // Parse the JSON string back to an object
27
+ const exampleParsed = JSON.parse(exampleJSON) as ResourceType
28
+ console.log(exampleParsed)
29
+ ```
30
+
31
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
32
+
33
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.82.0",
3
+ "version": "1.84.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {