@easyedu/js-lsm-api 1.108.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 (154) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +19 -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/QuestionApi.d.ts +0 -1
  10. package/dist/apis/QuestionApi.js +0 -3
  11. package/dist/esm/apis/ContentLibraryApi.d.ts +179 -0
  12. package/dist/esm/apis/ContentLibraryApi.js +423 -0
  13. package/dist/esm/apis/ContentLibraryQuizApi.d.ts +1 -0
  14. package/dist/esm/apis/ContentLibraryQuizApi.js +3 -0
  15. package/dist/esm/apis/CourseApi.d.ts +2 -2
  16. package/dist/esm/apis/CourseApi.js +2 -2
  17. package/dist/esm/apis/QuestionApi.d.ts +0 -1
  18. package/dist/esm/apis/QuestionApi.js +0 -3
  19. package/dist/esm/models/ContentLibraryTag.d.ts +104 -0
  20. package/dist/esm/models/ContentLibraryTag.js +85 -0
  21. package/dist/esm/models/ContentLibraryTagItem.d.ts +84 -0
  22. package/dist/esm/models/ContentLibraryTagItem.js +76 -0
  23. package/dist/esm/models/CourseShareAcceptError.d.ts +54 -0
  24. package/dist/esm/models/CourseShareAcceptError.js +62 -0
  25. package/dist/esm/models/GetContentLibraryTagItemList.d.ts +57 -0
  26. package/dist/esm/models/GetContentLibraryTagItemList.js +60 -0
  27. package/dist/esm/models/GetContentLibraryTagList.d.ts +57 -0
  28. package/dist/esm/models/GetContentLibraryTagList.js +60 -0
  29. package/dist/esm/models/GetLibraryQuiz.d.ts +7 -0
  30. package/dist/esm/models/GetLibraryQuiz.js +5 -0
  31. package/dist/esm/models/GetQuestion.d.ts +0 -6
  32. package/dist/esm/models/GetQuestion.js +0 -4
  33. package/dist/esm/models/GetQuestionListFilters.d.ts +0 -6
  34. package/dist/esm/models/GetQuestionListFilters.js +0 -2
  35. package/dist/esm/models/GetResource.d.ts +7 -0
  36. package/dist/esm/models/GetResource.js +5 -0
  37. package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -6
  38. package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.js +0 -4
  39. package/dist/esm/models/LibraryQuizCriterion.d.ts +0 -6
  40. package/dist/esm/models/LibraryQuizCriterion.js +0 -2
  41. package/dist/esm/models/PostContentLibraryTag.d.ts +32 -0
  42. package/dist/esm/models/PostContentLibraryTag.js +43 -0
  43. package/dist/esm/models/PostContentLibraryTagMerge.d.ts +32 -0
  44. package/dist/esm/models/PostContentLibraryTagMerge.js +43 -0
  45. package/dist/esm/models/PostLibraryQuiz.d.ts +6 -0
  46. package/dist/esm/models/PostLibraryQuiz.js +2 -0
  47. package/dist/esm/models/PostQuestion.d.ts +0 -6
  48. package/dist/esm/models/PostQuestion.js +0 -4
  49. package/dist/esm/models/PostResource.d.ts +6 -0
  50. package/dist/esm/models/PostResource.js +2 -0
  51. package/dist/esm/models/PutContentLibraryTag.d.ts +32 -0
  52. package/dist/esm/models/PutContentLibraryTag.js +43 -0
  53. package/dist/esm/models/PutLibraryQuiz.d.ts +6 -0
  54. package/dist/esm/models/PutLibraryQuiz.js +2 -0
  55. package/dist/esm/models/PutQuestion.d.ts +0 -6
  56. package/dist/esm/models/PutQuestion.js +0 -2
  57. package/dist/esm/models/PutResource.d.ts +6 -0
  58. package/dist/esm/models/PutResource.js +2 -0
  59. package/dist/esm/models/index.d.ts +8 -0
  60. package/dist/esm/models/index.js +8 -0
  61. package/dist/models/ContentLibraryTag.d.ts +104 -0
  62. package/dist/models/ContentLibraryTag.js +92 -0
  63. package/dist/models/ContentLibraryTagItem.d.ts +84 -0
  64. package/dist/models/ContentLibraryTagItem.js +84 -0
  65. package/dist/models/CourseShareAcceptError.d.ts +54 -0
  66. package/dist/models/CourseShareAcceptError.js +70 -0
  67. package/dist/models/GetContentLibraryTagItemList.d.ts +57 -0
  68. package/dist/models/GetContentLibraryTagItemList.js +67 -0
  69. package/dist/models/GetContentLibraryTagList.d.ts +57 -0
  70. package/dist/models/GetContentLibraryTagList.js +67 -0
  71. package/dist/models/GetLibraryQuiz.d.ts +7 -0
  72. package/dist/models/GetLibraryQuiz.js +5 -0
  73. package/dist/models/GetQuestion.d.ts +0 -6
  74. package/dist/models/GetQuestion.js +0 -4
  75. package/dist/models/GetQuestionListFilters.d.ts +0 -6
  76. package/dist/models/GetQuestionListFilters.js +0 -2
  77. package/dist/models/GetResource.d.ts +7 -0
  78. package/dist/models/GetResource.js +5 -0
  79. package/dist/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -6
  80. package/dist/models/LibraryQuizCriteriaPreviewQuestion.js +0 -4
  81. package/dist/models/LibraryQuizCriterion.d.ts +0 -6
  82. package/dist/models/LibraryQuizCriterion.js +0 -2
  83. package/dist/models/PostContentLibraryTag.d.ts +32 -0
  84. package/dist/models/PostContentLibraryTag.js +50 -0
  85. package/dist/models/PostContentLibraryTagMerge.d.ts +32 -0
  86. package/dist/models/PostContentLibraryTagMerge.js +50 -0
  87. package/dist/models/PostLibraryQuiz.d.ts +6 -0
  88. package/dist/models/PostLibraryQuiz.js +2 -0
  89. package/dist/models/PostQuestion.d.ts +0 -6
  90. package/dist/models/PostQuestion.js +0 -4
  91. package/dist/models/PostResource.d.ts +6 -0
  92. package/dist/models/PostResource.js +2 -0
  93. package/dist/models/PutContentLibraryTag.d.ts +32 -0
  94. package/dist/models/PutContentLibraryTag.js +50 -0
  95. package/dist/models/PutLibraryQuiz.d.ts +6 -0
  96. package/dist/models/PutLibraryQuiz.js +2 -0
  97. package/dist/models/PutQuestion.d.ts +0 -6
  98. package/dist/models/PutQuestion.js +0 -2
  99. package/dist/models/PutResource.d.ts +6 -0
  100. package/dist/models/PutResource.js +2 -0
  101. package/dist/models/index.d.ts +8 -0
  102. package/dist/models/index.js +8 -0
  103. package/docs/ContentLibraryApi.md +732 -90
  104. package/docs/ContentLibraryQuizApi.md +4 -1
  105. package/docs/ContentLibraryTag.md +58 -0
  106. package/docs/ContentLibraryTagItem.md +48 -0
  107. package/docs/CourseApi.md +1 -1
  108. package/docs/CourseShareAcceptError.md +37 -0
  109. package/docs/CourseShareApi.md +9 -2
  110. package/docs/GetContentLibraryTagItemList.md +42 -0
  111. package/docs/GetContentLibraryTagList.md +42 -0
  112. package/docs/GetLibraryQuiz.md +2 -0
  113. package/docs/GetQuestion.md +0 -2
  114. package/docs/GetQuestionListFilters.md +0 -2
  115. package/docs/GetResource.md +2 -0
  116. package/docs/LibraryQuizCriteriaPreviewQuestion.md +0 -2
  117. package/docs/LibraryQuizCriterion.md +0 -2
  118. package/docs/PostContentLibraryTag.md +34 -0
  119. package/docs/PostContentLibraryTagMerge.md +34 -0
  120. package/docs/PostLibraryQuiz.md +2 -0
  121. package/docs/PostQuestion.md +0 -2
  122. package/docs/PostResource.md +2 -0
  123. package/docs/PutContentLibraryTag.md +34 -0
  124. package/docs/PutLibraryQuiz.md +2 -0
  125. package/docs/PutQuestion.md +0 -2
  126. package/docs/PutResource.md +2 -0
  127. package/docs/QuestionApi.md +1 -4
  128. package/package.json +1 -1
  129. package/src/apis/ContentLibraryApi.ts +575 -0
  130. package/src/apis/ContentLibraryQuizApi.ts +5 -0
  131. package/src/apis/CourseApi.ts +2 -2
  132. package/src/apis/CourseShareApi.ts +5 -0
  133. package/src/apis/QuestionApi.ts +0 -5
  134. package/src/models/ContentLibraryTag.ts +171 -0
  135. package/src/models/ContentLibraryTagItem.ts +153 -0
  136. package/src/models/CourseShareAcceptError.ts +94 -0
  137. package/src/models/GetContentLibraryTagItemList.ts +110 -0
  138. package/src/models/GetContentLibraryTagList.ts +110 -0
  139. package/src/models/GetLibraryQuiz.ts +16 -0
  140. package/src/models/GetQuestion.ts +0 -9
  141. package/src/models/GetQuestionListFilters.ts +0 -8
  142. package/src/models/GetResource.ts +16 -0
  143. package/src/models/LibraryQuizCriteriaPreviewQuestion.ts +0 -9
  144. package/src/models/LibraryQuizCriterion.ts +0 -8
  145. package/src/models/PostContentLibraryTag.ts +66 -0
  146. package/src/models/PostContentLibraryTagMerge.ts +66 -0
  147. package/src/models/PostLibraryQuiz.ts +8 -0
  148. package/src/models/PostQuestion.ts +0 -9
  149. package/src/models/PostResource.ts +8 -0
  150. package/src/models/PutContentLibraryTag.ts +66 -0
  151. package/src/models/PutLibraryQuiz.ts +8 -0
  152. package/src/models/PutQuestion.ts +0 -8
  153. package/src/models/PutResource.ts +8 -0
  154. package/src/models/index.ts +8 -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
 
@@ -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
+
@@ -499,15 +499,19 @@ No authorization required
499
499
  ### HTTP request headers
500
500
 
501
501
  - **Content-Type**: Not defined
502
- - **Accept**: Not defined
502
+ - **Accept**: `application/json`
503
503
 
504
504
 
505
505
  ### HTTP response details
506
506
  | Status code | Description | Response headers |
507
507
  |-------------|-------------|------------------|
508
508
  | **200** | Accepted, course cloned | - |
509
+ | **400** | Invalid portal or request | - |
509
510
  | **403** | Share not addressed to your portal, or mode not allowed | - |
510
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 | - |
511
515
 
512
516
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
513
517
 
@@ -566,15 +570,18 @@ No authorization required
566
570
  ### HTTP request headers
567
571
 
568
572
  - **Content-Type**: Not defined
569
- - **Accept**: Not defined
573
+ - **Accept**: `application/json`
570
574
 
571
575
 
572
576
  ### HTTP response details
573
577
  | Status code | Description | Response headers |
574
578
  |-------------|-------------|------------------|
575
579
  | **200** | Accepted | - |
580
+ | **400** | Invalid portal or request | - |
576
581
  | **403** | Share not addressed to your portal, or mode not allowed | - |
577
582
  | **404** | Share not found | - |
583
+ | **409** | Share is no longer available for mirror acceptance | - |
584
+ | **500** | Acceptance failed unexpectedly | - |
578
585
 
579
586
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
580
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
+
@@ -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
+
@@ -19,6 +19,7 @@ Name | Type
19
19
  `allowReview` | boolean
20
20
  `requireAllQuestions` | boolean
21
21
  `settings` | { [key: string]: any; }
22
+ `tags` | Set<string>
22
23
 
23
24
  ## Example
24
25
 
@@ -40,6 +41,7 @@ const example = {
40
41
  "allowReview": null,
41
42
  "requireAllQuestions": null,
42
43
  "settings": null,
44
+ "tags": null,
43
45
  } satisfies PostLibraryQuiz
44
46
 
45
47
  console.log(example)
@@ -11,7 +11,6 @@ Name | Type
11
11
  `answerChoices` | [Array<PostQuestionAnswerChoicesInner>](PostQuestionAnswerChoicesInner.md)
12
12
  `correctAnswer` | string
13
13
  `explanation` | [RichTextInput](RichTextInput.md)
14
- `topic` | string
15
14
  `difficultyLevel` | string
16
15
  `tags` | Array<string>
17
16
  `version` | string
@@ -28,7 +27,6 @@ const example = {
28
27
  "answerChoices": null,
29
28
  "correctAnswer": null,
30
29
  "explanation": null,
31
- "topic": null,
32
30
  "difficultyLevel": null,
33
31
  "tags": null,
34
32
  "version": null,
@@ -11,6 +11,7 @@ Name | Type
11
11
  `resourceType` | [ResourceType](ResourceType.md)
12
12
  `linkUrl` | string
13
13
  `richText` | [RichTextInput](RichTextInput.md)
14
+ `tags` | Set<string>
14
15
 
15
16
  ## Example
16
17
 
@@ -24,6 +25,7 @@ const example = {
24
25
  "resourceType": null,
25
26
  "linkUrl": null,
26
27
  "richText": null,
28
+ "tags": null,
27
29
  } satisfies PostResource
28
30
 
29
31
  console.log(example)
@@ -0,0 +1,34 @@
1
+
2
+ # PutContentLibraryTag
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `name` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { PutContentLibraryTag } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "name": null,
19
+ } satisfies PutContentLibraryTag
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 PutContentLibraryTag
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
+
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
10
  `description` | string
11
+ `tags` | Set<string>
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ import type { PutLibraryQuiz } from '@easyedu/js-lsm-api'
18
19
  const example = {
19
20
  "name": null,
20
21
  "description": null,
22
+ "tags": null,
21
23
  } satisfies PutLibraryQuiz
22
24
 
23
25
  console.log(example)
@@ -11,7 +11,6 @@ Name | Type
11
11
  `answerChoices` | [Array<PutQuestionAnswerChoicesInner>](PutQuestionAnswerChoicesInner.md)
12
12
  `correctAnswer` | string
13
13
  `explanation` | [RichTextInput](RichTextInput.md)
14
- `topic` | string
15
14
  `difficultyLevel` | string
16
15
  `tags` | Array<string>
17
16
  `version` | string
@@ -28,7 +27,6 @@ const example = {
28
27
  "answerChoices": null,
29
28
  "correctAnswer": null,
30
29
  "explanation": null,
31
- "topic": null,
32
30
  "difficultyLevel": null,
33
31
  "tags": null,
34
32
  "version": null,
@@ -8,6 +8,7 @@ Name | Type
8
8
  ------------ | -------------
9
9
  `name` | string
10
10
  `description` | string
11
+ `tags` | Set<string>
11
12
 
12
13
  ## Example
13
14
 
@@ -18,6 +19,7 @@ import type { PutResource } from '@easyedu/js-lsm-api'
18
19
  const example = {
19
20
  "name": null,
20
21
  "description": null,
22
+ "tags": null,
21
23
  } satisfies PutResource
22
24
 
23
25
  console.log(example)
@@ -147,7 +147,7 @@ No authorization required
147
147
 
148
148
  ## getQuestionList
149
149
 
150
- > GetQuestionList getQuestionList(page, pageSize, topic, questionType, difficultyLevel, tags, search)
150
+ > GetQuestionList getQuestionList(page, pageSize, questionType, difficultyLevel, tags, search)
151
151
 
152
152
  Get list of questions with filtering and pagination
153
153
 
@@ -169,8 +169,6 @@ async function example() {
169
169
  page: 56,
170
170
  // number | Number of items per page (optional)
171
171
  pageSize: 56,
172
- // string | Filter by topic (optional)
173
- topic: topic_example,
174
172
  // 'single_answer' | 'multiple_answer' | 'fill_in_blank' | Filter by question type (optional)
175
173
  questionType: questionType_example,
176
174
  // 'beginner' | 'intermediate' | 'advanced' | Filter by difficulty level (optional)
@@ -200,7 +198,6 @@ example().catch(console.error);
200
198
  |------------- | ------------- | ------------- | -------------|
201
199
  | **page** | `number` | Page number | [Optional] [Defaults to `1`] |
202
200
  | **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `20`] |
203
- | **topic** | `string` | Filter by topic | [Optional] [Defaults to `undefined`] |
204
201
  | **questionType** | `single_answer`, `multiple_answer`, `fill_in_blank` | Filter by question type | [Optional] [Defaults to `undefined`] [Enum: single_answer, multiple_answer, fill_in_blank] |
205
202
  | **difficultyLevel** | `beginner`, `intermediate`, `advanced` | Filter by difficulty level | [Optional] [Defaults to `undefined`] [Enum: beginner, intermediate, advanced] |
206
203
  | **tags** | `Array<string>` | Filter by tags | [Optional] |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyedu/js-lsm-api",
3
- "version": "1.108.0",
3
+ "version": "1.109.0",
4
4
  "description": "OpenAPI client for @easyedu/js-lsm-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {