@easyedu/js-lsm-api 1.107.0 → 1.109.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 (176) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +21 -2
  3. package/dist/apis/ContentLibraryApi.d.ts +179 -0
  4. package/dist/apis/ContentLibraryApi.js +424 -1
  5. package/dist/apis/ContentLibraryQuizApi.d.ts +1 -0
  6. package/dist/apis/ContentLibraryQuizApi.js +3 -0
  7. package/dist/apis/CourseApi.d.ts +2 -2
  8. package/dist/apis/CourseApi.js +2 -2
  9. package/dist/apis/CourseCatalogApi.d.ts +8 -3
  10. package/dist/apis/CourseCatalogApi.js +14 -7
  11. package/dist/apis/CourseShareApi.d.ts +12 -7
  12. package/dist/apis/CourseShareApi.js +20 -5
  13. package/dist/apis/QuestionApi.d.ts +0 -1
  14. package/dist/apis/QuestionApi.js +0 -3
  15. package/dist/esm/apis/ContentLibraryApi.d.ts +179 -0
  16. package/dist/esm/apis/ContentLibraryApi.js +423 -0
  17. package/dist/esm/apis/ContentLibraryQuizApi.d.ts +1 -0
  18. package/dist/esm/apis/ContentLibraryQuizApi.js +3 -0
  19. package/dist/esm/apis/CourseApi.d.ts +2 -2
  20. package/dist/esm/apis/CourseApi.js +2 -2
  21. package/dist/esm/apis/CourseCatalogApi.d.ts +8 -3
  22. package/dist/esm/apis/CourseCatalogApi.js +14 -7
  23. package/dist/esm/apis/CourseShareApi.d.ts +12 -7
  24. package/dist/esm/apis/CourseShareApi.js +20 -5
  25. package/dist/esm/apis/QuestionApi.d.ts +0 -1
  26. package/dist/esm/apis/QuestionApi.js +0 -3
  27. package/dist/esm/models/ContentLibraryTag.d.ts +104 -0
  28. package/dist/esm/models/ContentLibraryTag.js +85 -0
  29. package/dist/esm/models/ContentLibraryTagItem.d.ts +84 -0
  30. package/dist/esm/models/ContentLibraryTagItem.js +76 -0
  31. package/dist/esm/models/CourseShareAcceptError.d.ts +54 -0
  32. package/dist/esm/models/CourseShareAcceptError.js +62 -0
  33. package/dist/esm/models/GetContentLibraryTagItemList.d.ts +57 -0
  34. package/dist/esm/models/GetContentLibraryTagItemList.js +60 -0
  35. package/dist/esm/models/GetContentLibraryTagList.d.ts +57 -0
  36. package/dist/esm/models/GetContentLibraryTagList.js +60 -0
  37. package/dist/esm/models/GetCourseCatalogList.d.ts +57 -0
  38. package/dist/esm/models/GetCourseCatalogList.js +60 -0
  39. package/dist/esm/models/GetCourseShareList.d.ts +57 -0
  40. package/dist/esm/models/GetCourseShareList.js +60 -0
  41. package/dist/esm/models/GetLibraryQuiz.d.ts +7 -0
  42. package/dist/esm/models/GetLibraryQuiz.js +5 -0
  43. package/dist/esm/models/GetQuestion.d.ts +0 -6
  44. package/dist/esm/models/GetQuestion.js +0 -4
  45. package/dist/esm/models/GetQuestionListFilters.d.ts +0 -6
  46. package/dist/esm/models/GetQuestionListFilters.js +0 -2
  47. package/dist/esm/models/GetResource.d.ts +7 -0
  48. package/dist/esm/models/GetResource.js +5 -0
  49. package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -6
  50. package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.js +0 -4
  51. package/dist/esm/models/LibraryQuizCriterion.d.ts +0 -6
  52. package/dist/esm/models/LibraryQuizCriterion.js +0 -2
  53. package/dist/esm/models/PostContentLibraryTag.d.ts +32 -0
  54. package/dist/esm/models/PostContentLibraryTag.js +43 -0
  55. package/dist/esm/models/PostContentLibraryTagMerge.d.ts +32 -0
  56. package/dist/esm/models/PostContentLibraryTagMerge.js +43 -0
  57. package/dist/esm/models/PostLibraryQuiz.d.ts +6 -0
  58. package/dist/esm/models/PostLibraryQuiz.js +2 -0
  59. package/dist/esm/models/PostQuestion.d.ts +0 -6
  60. package/dist/esm/models/PostQuestion.js +0 -4
  61. package/dist/esm/models/PostResource.d.ts +6 -0
  62. package/dist/esm/models/PostResource.js +2 -0
  63. package/dist/esm/models/PutContentLibraryTag.d.ts +32 -0
  64. package/dist/esm/models/PutContentLibraryTag.js +43 -0
  65. package/dist/esm/models/PutLibraryQuiz.d.ts +6 -0
  66. package/dist/esm/models/PutLibraryQuiz.js +2 -0
  67. package/dist/esm/models/PutQuestion.d.ts +0 -6
  68. package/dist/esm/models/PutQuestion.js +0 -2
  69. package/dist/esm/models/PutResource.d.ts +6 -0
  70. package/dist/esm/models/PutResource.js +2 -0
  71. package/dist/esm/models/index.d.ts +10 -0
  72. package/dist/esm/models/index.js +10 -0
  73. package/dist/models/ContentLibraryTag.d.ts +104 -0
  74. package/dist/models/ContentLibraryTag.js +92 -0
  75. package/dist/models/ContentLibraryTagItem.d.ts +84 -0
  76. package/dist/models/ContentLibraryTagItem.js +84 -0
  77. package/dist/models/CourseShareAcceptError.d.ts +54 -0
  78. package/dist/models/CourseShareAcceptError.js +70 -0
  79. package/dist/models/GetContentLibraryTagItemList.d.ts +57 -0
  80. package/dist/models/GetContentLibraryTagItemList.js +67 -0
  81. package/dist/models/GetContentLibraryTagList.d.ts +57 -0
  82. package/dist/models/GetContentLibraryTagList.js +67 -0
  83. package/dist/models/GetCourseCatalogList.d.ts +57 -0
  84. package/dist/models/GetCourseCatalogList.js +67 -0
  85. package/dist/models/GetCourseShareList.d.ts +57 -0
  86. package/dist/models/GetCourseShareList.js +67 -0
  87. package/dist/models/GetLibraryQuiz.d.ts +7 -0
  88. package/dist/models/GetLibraryQuiz.js +5 -0
  89. package/dist/models/GetQuestion.d.ts +0 -6
  90. package/dist/models/GetQuestion.js +0 -4
  91. package/dist/models/GetQuestionListFilters.d.ts +0 -6
  92. package/dist/models/GetQuestionListFilters.js +0 -2
  93. package/dist/models/GetResource.d.ts +7 -0
  94. package/dist/models/GetResource.js +5 -0
  95. package/dist/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -6
  96. package/dist/models/LibraryQuizCriteriaPreviewQuestion.js +0 -4
  97. package/dist/models/LibraryQuizCriterion.d.ts +0 -6
  98. package/dist/models/LibraryQuizCriterion.js +0 -2
  99. package/dist/models/PostContentLibraryTag.d.ts +32 -0
  100. package/dist/models/PostContentLibraryTag.js +50 -0
  101. package/dist/models/PostContentLibraryTagMerge.d.ts +32 -0
  102. package/dist/models/PostContentLibraryTagMerge.js +50 -0
  103. package/dist/models/PostLibraryQuiz.d.ts +6 -0
  104. package/dist/models/PostLibraryQuiz.js +2 -0
  105. package/dist/models/PostQuestion.d.ts +0 -6
  106. package/dist/models/PostQuestion.js +0 -4
  107. package/dist/models/PostResource.d.ts +6 -0
  108. package/dist/models/PostResource.js +2 -0
  109. package/dist/models/PutContentLibraryTag.d.ts +32 -0
  110. package/dist/models/PutContentLibraryTag.js +50 -0
  111. package/dist/models/PutLibraryQuiz.d.ts +6 -0
  112. package/dist/models/PutLibraryQuiz.js +2 -0
  113. package/dist/models/PutQuestion.d.ts +0 -6
  114. package/dist/models/PutQuestion.js +0 -2
  115. package/dist/models/PutResource.d.ts +6 -0
  116. package/dist/models/PutResource.js +2 -0
  117. package/dist/models/index.d.ts +10 -0
  118. package/dist/models/index.js +10 -0
  119. package/docs/ContentLibraryApi.md +732 -90
  120. package/docs/ContentLibraryQuizApi.md +4 -1
  121. package/docs/ContentLibraryTag.md +58 -0
  122. package/docs/ContentLibraryTagItem.md +48 -0
  123. package/docs/CourseApi.md +1 -1
  124. package/docs/CourseCatalogApi.md +15 -4
  125. package/docs/CourseShareAcceptError.md +37 -0
  126. package/docs/CourseShareApi.md +29 -7
  127. package/docs/GetContentLibraryTagItemList.md +42 -0
  128. package/docs/GetContentLibraryTagList.md +42 -0
  129. package/docs/GetCourseCatalogList.md +42 -0
  130. package/docs/GetCourseShareList.md +42 -0
  131. package/docs/GetLibraryQuiz.md +2 -0
  132. package/docs/GetQuestion.md +0 -2
  133. package/docs/GetQuestionListFilters.md +0 -2
  134. package/docs/GetResource.md +2 -0
  135. package/docs/LibraryQuizCriteriaPreviewQuestion.md +0 -2
  136. package/docs/LibraryQuizCriterion.md +0 -2
  137. package/docs/PostContentLibraryTag.md +34 -0
  138. package/docs/PostContentLibraryTagMerge.md +34 -0
  139. package/docs/PostLibraryQuiz.md +2 -0
  140. package/docs/PostQuestion.md +0 -2
  141. package/docs/PostResource.md +2 -0
  142. package/docs/PutContentLibraryTag.md +34 -0
  143. package/docs/PutLibraryQuiz.md +2 -0
  144. package/docs/PutQuestion.md +0 -2
  145. package/docs/PutResource.md +2 -0
  146. package/docs/QuestionApi.md +1 -4
  147. package/package.json +1 -1
  148. package/src/apis/ContentLibraryApi.ts +575 -0
  149. package/src/apis/ContentLibraryQuizApi.ts +5 -0
  150. package/src/apis/CourseApi.ts +2 -2
  151. package/src/apis/CourseCatalogApi.ts +24 -6
  152. package/src/apis/CourseShareApi.ts +42 -12
  153. package/src/apis/QuestionApi.ts +0 -5
  154. package/src/models/ContentLibraryTag.ts +171 -0
  155. package/src/models/ContentLibraryTagItem.ts +153 -0
  156. package/src/models/CourseShareAcceptError.ts +94 -0
  157. package/src/models/GetContentLibraryTagItemList.ts +110 -0
  158. package/src/models/GetContentLibraryTagList.ts +110 -0
  159. package/src/models/GetCourseCatalogList.ts +110 -0
  160. package/src/models/GetCourseShareList.ts +110 -0
  161. package/src/models/GetLibraryQuiz.ts +16 -0
  162. package/src/models/GetQuestion.ts +0 -9
  163. package/src/models/GetQuestionListFilters.ts +0 -8
  164. package/src/models/GetResource.ts +16 -0
  165. package/src/models/LibraryQuizCriteriaPreviewQuestion.ts +0 -9
  166. package/src/models/LibraryQuizCriterion.ts +0 -8
  167. package/src/models/PostContentLibraryTag.ts +66 -0
  168. package/src/models/PostContentLibraryTagMerge.ts +66 -0
  169. package/src/models/PostLibraryQuiz.ts +8 -0
  170. package/src/models/PostQuestion.ts +0 -9
  171. package/src/models/PostResource.ts +8 -0
  172. package/src/models/PutContentLibraryTag.ts +66 -0
  173. package/src/models/PutLibraryQuiz.ts +8 -0
  174. package/src/models/PutQuestion.ts +0 -8
  175. package/src/models/PutResource.ts +8 -0
  176. package/src/models/index.ts +10 -0
@@ -313,7 +313,7 @@ No authorization required
313
313
 
314
314
  ## getLibraryQuizList
315
315
 
316
- > GetLibraryQuizList getLibraryQuizList(search, includeArchived, page, pageSize)
316
+ > GetLibraryQuizList getLibraryQuizList(search, includeArchived, tagId, page, pageSize)
317
317
 
318
318
  List reusable quizzes
319
319
 
@@ -335,6 +335,8 @@ async function example() {
335
335
  search: search_example,
336
336
  // boolean (optional)
337
337
  includeArchived: true,
338
+ // string (optional)
339
+ tagId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
338
340
  // number (optional)
339
341
  page: 56,
340
342
  // number (optional)
@@ -360,6 +362,7 @@ example().catch(console.error);
360
362
  |------------- | ------------- | ------------- | -------------|
361
363
  | **search** | `string` | | [Optional] [Defaults to `undefined`] |
362
364
  | **includeArchived** | `boolean` | | [Optional] [Defaults to `false`] |
365
+ | **tagId** | `string` | | [Optional] [Defaults to `undefined`] |
363
366
  | **page** | `number` | | [Optional] [Defaults to `1`] |
364
367
  | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
365
368
 
@@ -0,0 +1,58 @@
1
+
2
+ # ContentLibraryTag
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+ `key` | string
12
+ `value` | string
13
+ `archivedAt` | number
14
+ `mergedIntoTagId` | string
15
+ `totalItemCount` | number
16
+ `activeItemCount` | number
17
+ `archivedItemCount` | number
18
+ `resourceCount` | number
19
+ `quizCount` | number
20
+ `createdAt` | number
21
+ `updatedAt` | number
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { ContentLibraryTag } from '@easyedu/js-lsm-api'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "id": null,
31
+ "name": null,
32
+ "key": null,
33
+ "value": null,
34
+ "archivedAt": null,
35
+ "mergedIntoTagId": null,
36
+ "totalItemCount": null,
37
+ "activeItemCount": null,
38
+ "archivedItemCount": null,
39
+ "resourceCount": null,
40
+ "quizCount": null,
41
+ "createdAt": null,
42
+ "updatedAt": null,
43
+ } satisfies ContentLibraryTag
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as ContentLibraryTag
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
@@ -0,0 +1,48 @@
1
+
2
+ # ContentLibraryTagItem
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `kind` | string
11
+ `name` | string
12
+ `description` | string
13
+ `resourceType` | [ResourceType](ResourceType.md)
14
+ `tags` | [Array<ContentLibraryTag>](ContentLibraryTag.md)
15
+ `updatedAt` | number
16
+ `archivedAt` | number
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { ContentLibraryTagItem } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "id": null,
26
+ "kind": null,
27
+ "name": null,
28
+ "description": null,
29
+ "resourceType": null,
30
+ "tags": null,
31
+ "updatedAt": null,
32
+ "archivedAt": null,
33
+ } satisfies ContentLibraryTagItem
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 ContentLibraryTagItem
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
+
package/docs/CourseApi.md CHANGED
@@ -1812,7 +1812,7 @@ No authorization required
1812
1812
 
1813
1813
  Create a new SCORM export for a course
1814
1814
 
1815
- Enqueues a job to generate a SCORM export package for the course. Returns immediately with PENDING status. **NOTES:** - This endpoint enqueues a background job to generate the SCORM package - Poll GET /courses/{courseId}/exports/{exportId} to check status - Download URL will be available when status becomes COMPLETED
1815
+ Enqueues a job to generate a SCORM export package for the course. Returns immediately with PENDING status. **NOTES:** - This endpoint enqueues a background job to generate the SCORM package - Visible resource placements in the selected sections are exported - Reusable quiz placements are skipped and do not block the export - Poll GET /courses/{courseId}/exports/{exportId} to check status - Download URL will be available when status becomes COMPLETED
1816
1816
 
1817
1817
  ### Example
1818
1818
 
@@ -285,7 +285,7 @@ No authorization required
285
285
 
286
286
  ## getCourseCatalogs
287
287
 
288
- > Array<CourseCatalog> getCourseCatalogs()
288
+ > GetCourseCatalogList getCourseCatalogs(page, pageSize)
289
289
 
290
290
  List catalogs in the current portal
291
291
 
@@ -302,8 +302,15 @@ async function example() {
302
302
  console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
303
303
  const api = new CourseCatalogApi();
304
304
 
305
+ const body = {
306
+ // number (optional)
307
+ page: 56,
308
+ // number (optional)
309
+ pageSize: 56,
310
+ } satisfies GetCourseCatalogsRequest;
311
+
305
312
  try {
306
- const data = await api.getCourseCatalogs();
313
+ const data = await api.getCourseCatalogs(body);
307
314
  console.log(data);
308
315
  } catch (error) {
309
316
  console.error(error);
@@ -316,11 +323,15 @@ example().catch(console.error);
316
323
 
317
324
  ### Parameters
318
325
 
319
- This endpoint does not need any parameter.
326
+
327
+ | Name | Type | Description | Notes |
328
+ |------------- | ------------- | ------------- | -------------|
329
+ | **page** | `number` | | [Optional] [Defaults to `1`] |
330
+ | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
320
331
 
321
332
  ### Return type
322
333
 
323
- [**Array<CourseCatalog>**](CourseCatalog.md)
334
+ [**GetCourseCatalogList**](GetCourseCatalogList.md)
324
335
 
325
336
  ### Authorization
326
337
 
@@ -0,0 +1,37 @@
1
+
2
+ # CourseShareAcceptError
3
+
4
+ A safe, actionable error returned when a course-share offer cannot be accepted.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `code` | string
11
+ `message` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { CourseShareAcceptError } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "code": null,
21
+ "message": null,
22
+ } satisfies CourseShareAcceptError
23
+
24
+ console.log(example)
25
+
26
+ // Convert the instance to a JSON string
27
+ const exampleJSON: string = JSON.stringify(example)
28
+ console.log(exampleJSON)
29
+
30
+ // Parse the JSON string back to an object
31
+ const exampleParsed = JSON.parse(exampleJSON) as CourseShareAcceptError
32
+ console.log(exampleParsed)
33
+ ```
34
+
35
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
36
+
37
+
@@ -87,7 +87,7 @@ No authorization required
87
87
 
88
88
  ## getCourseSharesOfferedByMe
89
89
 
90
- > Array<CourseShare> getCourseSharesOfferedByMe(state)
90
+ > GetCourseShareList getCourseSharesOfferedByMe(page, pageSize, courseId, state)
91
91
 
92
92
  List shares the current portal has offered out
93
93
 
@@ -105,6 +105,12 @@ async function example() {
105
105
  const api = new CourseShareApi();
106
106
 
107
107
  const body = {
108
+ // number (optional)
109
+ page: 56,
110
+ // number (optional)
111
+ pageSize: 56,
112
+ // string | Filter by an owned course external ID (optional)
113
+ courseId: courseId_example,
108
114
  // 'offered' | 'accepted_mirror' | 'accepted_clone' | 'declined' | 'revoked' | Filter by share state (case-insensitive) (optional)
109
115
  state: state_example,
110
116
  } satisfies GetCourseSharesOfferedByMeRequest;
@@ -126,11 +132,14 @@ example().catch(console.error);
126
132
 
127
133
  | Name | Type | Description | Notes |
128
134
  |------------- | ------------- | ------------- | -------------|
135
+ | **page** | `number` | | [Optional] [Defaults to `1`] |
136
+ | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
137
+ | **courseId** | `string` | Filter by an owned course external ID | [Optional] [Defaults to `undefined`] |
129
138
  | **state** | `offered`, `accepted_mirror`, `accepted_clone`, `declined`, `revoked` | Filter by share state (case-insensitive) | [Optional] [Defaults to `undefined`] [Enum: offered, accepted_mirror, accepted_clone, declined, revoked] |
130
139
 
131
140
  ### Return type
132
141
 
133
- [**Array<CourseShare>**](CourseShare.md)
142
+ [**GetCourseShareList**](GetCourseShareList.md)
134
143
 
135
144
  ### Authorization
136
145
 
@@ -153,11 +162,11 @@ No authorization required
153
162
 
154
163
  ## getCourseSharesOfferedToMe
155
164
 
156
- > Array<CourseShare> getCourseSharesOfferedToMe(state)
165
+ > GetCourseShareList getCourseSharesOfferedToMe(page, pageSize, state)
157
166
 
158
167
  List shares offered to the current portal
159
168
 
160
- Returns every `course_share` row where the current portal is the target, with the source portal name and course name joined in. Optionally filter by share state via the `state` query parameter.
169
+ Returns `course_share` rows where the current portal is the target, with the source portal name and course name joined in. Optionally filter by share state via the `state` query parameter.
161
170
 
162
171
  ### Example
163
172
 
@@ -173,6 +182,10 @@ async function example() {
173
182
  const api = new CourseShareApi();
174
183
 
175
184
  const body = {
185
+ // number (optional)
186
+ page: 56,
187
+ // number (optional)
188
+ pageSize: 56,
176
189
  // 'offered' | 'accepted_mirror' | 'accepted_clone' | 'declined' | 'revoked' | Filter by share state (case-insensitive) (optional)
177
190
  state: state_example,
178
191
  } satisfies GetCourseSharesOfferedToMeRequest;
@@ -194,11 +207,13 @@ example().catch(console.error);
194
207
 
195
208
  | Name | Type | Description | Notes |
196
209
  |------------- | ------------- | ------------- | -------------|
210
+ | **page** | `number` | | [Optional] [Defaults to `1`] |
211
+ | **pageSize** | `number` | | [Optional] [Defaults to `20`] |
197
212
  | **state** | `offered`, `accepted_mirror`, `accepted_clone`, `declined`, `revoked` | Filter by share state (case-insensitive) | [Optional] [Defaults to `undefined`] [Enum: offered, accepted_mirror, accepted_clone, declined, revoked] |
198
213
 
199
214
  ### Return type
200
215
 
201
- [**Array<CourseShare>**](CourseShare.md)
216
+ [**GetCourseShareList**](GetCourseShareList.md)
202
217
 
203
218
  ### Authorization
204
219
 
@@ -484,15 +499,19 @@ No authorization required
484
499
  ### HTTP request headers
485
500
 
486
501
  - **Content-Type**: Not defined
487
- - **Accept**: Not defined
502
+ - **Accept**: `application/json`
488
503
 
489
504
 
490
505
  ### HTTP response details
491
506
  | Status code | Description | Response headers |
492
507
  |-------------|-------------|------------------|
493
508
  | **200** | Accepted, course cloned | - |
509
+ | **400** | Invalid portal or request | - |
494
510
  | **403** | Share not addressed to your portal, or mode not allowed | - |
495
511
  | **404** | Share not found | - |
512
+ | **409** | Share or source course is not in a cloneable state | - |
513
+ | **503** | Course storage could not be copied | - |
514
+ | **500** | Acceptance failed unexpectedly | - |
496
515
 
497
516
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
498
517
 
@@ -551,15 +570,18 @@ No authorization required
551
570
  ### HTTP request headers
552
571
 
553
572
  - **Content-Type**: Not defined
554
- - **Accept**: Not defined
573
+ - **Accept**: `application/json`
555
574
 
556
575
 
557
576
  ### HTTP response details
558
577
  | Status code | Description | Response headers |
559
578
  |-------------|-------------|------------------|
560
579
  | **200** | Accepted | - |
580
+ | **400** | Invalid portal or request | - |
561
581
  | **403** | Share not addressed to your portal, or mode not allowed | - |
562
582
  | **404** | Share not found | - |
583
+ | **409** | Share is no longer available for mirror acceptance | - |
584
+ | **500** | Acceptance failed unexpectedly | - |
563
585
 
564
586
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
565
587
 
@@ -0,0 +1,42 @@
1
+
2
+ # GetContentLibraryTagItemList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<ContentLibraryTagItem>](ContentLibraryTagItem.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetContentLibraryTagItemList } 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 GetContentLibraryTagItemList
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 GetContentLibraryTagItemList
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
+ # GetContentLibraryTagList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<ContentLibraryTag>](ContentLibraryTag.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetContentLibraryTagList } 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 GetContentLibraryTagList
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 GetContentLibraryTagList
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
+ # GetCourseCatalogList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<CourseCatalog>](CourseCatalog.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetCourseCatalogList } 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 GetCourseCatalogList
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 GetCourseCatalogList
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
+ # GetCourseShareList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<CourseShare>](CourseShare.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetCourseShareList } 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 GetCourseShareList
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 GetCourseShareList
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
+
@@ -11,6 +11,7 @@ Name | Type
11
11
  `name` | string
12
12
  `description` | string
13
13
  `ownerId` | string
14
+ `tags` | [Array<ContentLibraryTag>](ContentLibraryTag.md)
14
15
  `latestPublishedVersion` | [GetLibraryQuizVersion](GetLibraryQuizVersion.md)
15
16
  `draftVersion` | [GetLibraryQuizVersion](GetLibraryQuizVersion.md)
16
17
  `versions` | [Array<GetLibraryQuizVersion>](GetLibraryQuizVersion.md)
@@ -34,6 +35,7 @@ const example = {
34
35
  "name": null,
35
36
  "description": null,
36
37
  "ownerId": null,
38
+ "tags": null,
37
39
  "latestPublishedVersion": null,
38
40
  "draftVersion": null,
39
41
  "versions": null,
@@ -12,7 +12,6 @@ Name | Type
12
12
  `answerChoices` | [Array<GetQuestionAnswerChoicesInner>](GetQuestionAnswerChoicesInner.md)
13
13
  `correctAnswer` | string
14
14
  `explanation` | [RichTextDocument](RichTextDocument.md)
15
- `topic` | string
16
15
  `difficultyLevel` | string
17
16
  `tags` | Array<string>
18
17
  `version` | string
@@ -36,7 +35,6 @@ const example = {
36
35
  "answerChoices": null,
37
36
  "correctAnswer": null,
38
37
  "explanation": null,
39
- "topic": null,
40
38
  "difficultyLevel": null,
41
39
  "tags": null,
42
40
  "version": null,
@@ -6,7 +6,6 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `topic` | string
10
9
  `questionType` | string
11
10
  `difficultyLevel` | string
12
11
  `tags` | Array<string>
@@ -21,7 +20,6 @@ import type { GetQuestionListFilters } from '@easyedu/js-lsm-api'
21
20
 
22
21
  // TODO: Update the object below with actual values
23
22
  const example = {
24
- "topic": null,
25
23
  "questionType": null,
26
24
  "difficultyLevel": null,
27
25
  "tags": null,
@@ -11,6 +11,7 @@ Name | Type
11
11
  `description` | string
12
12
  `resourceType` | [ResourceType](ResourceType.md)
13
13
  `ownerId` | string
14
+ `tags` | [Array<ContentLibraryTag>](ContentLibraryTag.md)
14
15
  `latestPublishedVersion` | [GetContentLibraryVersion](GetContentLibraryVersion.md)
15
16
  `draftVersion` | [GetContentLibraryVersion](GetContentLibraryVersion.md)
16
17
  `versions` | [Array<GetContentLibraryVersion>](GetContentLibraryVersion.md)
@@ -34,6 +35,7 @@ const example = {
34
35
  "description": null,
35
36
  "resourceType": null,
36
37
  "ownerId": null,
38
+ "tags": null,
37
39
  "latestPublishedVersion": null,
38
40
  "draftVersion": null,
39
41
  "versions": null,
@@ -11,7 +11,6 @@ Name | Type
11
11
  `questionType` | string
12
12
  `versionNumber` | number
13
13
  `version` | string
14
- `topic` | string
15
14
  `difficultyLevel` | string
16
15
  `tags` | Array<string>
17
16
 
@@ -27,7 +26,6 @@ const example = {
27
26
  "questionType": null,
28
27
  "versionNumber": null,
29
28
  "version": null,
30
- "topic": null,
31
29
  "difficultyLevel": null,
32
30
  "tags": null,
33
31
  } satisfies LibraryQuizCriteriaPreviewQuestion
@@ -7,7 +7,6 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | string
10
- `topic` | string
11
10
  `difficultyLevel` | string
12
11
  `questionType` | string
13
12
  `tags` | Array<string>
@@ -23,7 +22,6 @@ import type { LibraryQuizCriterion } from '@easyedu/js-lsm-api'
23
22
  // TODO: Update the object below with actual values
24
23
  const example = {
25
24
  "id": null,
26
- "topic": null,
27
25
  "difficultyLevel": null,
28
26
  "questionType": null,
29
27
  "tags": null,
@@ -0,0 +1,34 @@
1
+
2
+ # PostContentLibraryTag
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostContentLibraryTag } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "name": null,
19
+ } satisfies PostContentLibraryTag
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 PostContentLibraryTag
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,34 @@
1
+
2
+ # PostContentLibraryTagMerge
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `targetTagId` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PostContentLibraryTagMerge } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "targetTagId": null,
19
+ } satisfies PostContentLibraryTagMerge
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 PostContentLibraryTagMerge
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
+