@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
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PostContentLibraryTag
20
+ */
21
+ export interface PostContentLibraryTag {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PostContentLibraryTag
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the PostContentLibraryTag interface.
32
+ */
33
+ export function instanceOfPostContentLibraryTag(value: object): value is PostContentLibraryTag {
34
+ if (!('name' in value) || value['name'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function PostContentLibraryTagFromJSON(json: any): PostContentLibraryTag {
39
+ return PostContentLibraryTagFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PostContentLibraryTagFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostContentLibraryTag {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'name': json['name'],
49
+ };
50
+ }
51
+
52
+ export function PostContentLibraryTagToJSON(json: any): PostContentLibraryTag {
53
+ return PostContentLibraryTagToJSONTyped(json, false);
54
+ }
55
+
56
+ export function PostContentLibraryTagToJSONTyped(value?: PostContentLibraryTag | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'name': value['name'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PostContentLibraryTagMerge
20
+ */
21
+ export interface PostContentLibraryTagMerge {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PostContentLibraryTagMerge
26
+ */
27
+ targetTagId: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the PostContentLibraryTagMerge interface.
32
+ */
33
+ export function instanceOfPostContentLibraryTagMerge(value: object): value is PostContentLibraryTagMerge {
34
+ if (!('targetTagId' in value) || value['targetTagId'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function PostContentLibraryTagMergeFromJSON(json: any): PostContentLibraryTagMerge {
39
+ return PostContentLibraryTagMergeFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PostContentLibraryTagMergeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostContentLibraryTagMerge {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'targetTagId': json['target_tag_id'],
49
+ };
50
+ }
51
+
52
+ export function PostContentLibraryTagMergeToJSON(json: any): PostContentLibraryTagMerge {
53
+ return PostContentLibraryTagMergeToJSONTyped(json, false);
54
+ }
55
+
56
+ export function PostContentLibraryTagMergeToJSONTyped(value?: PostContentLibraryTagMerge | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'target_tag_id': value['targetTagId'],
64
+ };
65
+ }
66
+
@@ -105,6 +105,12 @@ export interface PostLibraryQuiz {
105
105
  * @memberof PostLibraryQuiz
106
106
  */
107
107
  settings?: { [key: string]: any; };
108
+ /**
109
+ *
110
+ * @type {Set<string>}
111
+ * @memberof PostLibraryQuiz
112
+ */
113
+ tags?: Set<string>;
108
114
  }
109
115
 
110
116
 
@@ -141,6 +147,7 @@ export function PostLibraryQuizFromJSONTyped(json: any, ignoreDiscriminator: boo
141
147
  'allowReview': json['allow_review'] == null ? undefined : json['allow_review'],
142
148
  'requireAllQuestions': json['require_all_questions'] == null ? undefined : json['require_all_questions'],
143
149
  'settings': json['settings'] == null ? undefined : json['settings'],
150
+ 'tags': json['tags'] == null ? undefined : new Set(json['tags']),
144
151
  };
145
152
  }
146
153
 
@@ -168,6 +175,7 @@ export function PostLibraryQuizToJSONTyped(value?: PostLibraryQuiz | null, ignor
168
175
  'allow_review': value['allowReview'],
169
176
  'require_all_questions': value['requireAllQuestions'],
170
177
  'settings': value['settings'],
178
+ 'tags': value['tags'] == null ? undefined : Array.from(value['tags'] as Set<any>),
171
179
  };
172
180
  }
173
181
 
@@ -64,12 +64,6 @@ export interface PostQuestion {
64
64
  * @memberof PostQuestion
65
65
  */
66
66
  explanation?: RichTextInput;
67
- /**
68
- * Topic category (Fire Alarm, Fire Pump, Fire Sprinkler, etc.)
69
- * @type {string}
70
- * @memberof PostQuestion
71
- */
72
- topic: string;
73
67
  /**
74
68
  * Difficulty level of the question
75
69
  * @type {PostQuestionDifficultyLevelEnum}
@@ -121,7 +115,6 @@ export type PostQuestionDifficultyLevelEnum = typeof PostQuestionDifficultyLevel
121
115
  export function instanceOfPostQuestion(value: object): value is PostQuestion {
122
116
  if (!('questionText' in value) || value['questionText'] === undefined) return false;
123
117
  if (!('questionType' in value) || value['questionType'] === undefined) return false;
124
- if (!('topic' in value) || value['topic'] === undefined) return false;
125
118
  if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined) return false;
126
119
  return true;
127
120
  }
@@ -141,7 +134,6 @@ export function PostQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolea
141
134
  'answerChoices': json['answer_choices'] == null ? undefined : ((json['answer_choices'] as Array<any>).map(PostQuestionAnswerChoicesInnerFromJSON)),
142
135
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
143
136
  'explanation': json['explanation'] == null ? undefined : RichTextInputFromJSON(json['explanation']),
144
- 'topic': json['topic'],
145
137
  'difficultyLevel': json['difficulty_level'],
146
138
  'tags': json['tags'] == null ? undefined : json['tags'],
147
139
  'version': json['version'] == null ? undefined : json['version'],
@@ -164,7 +156,6 @@ export function PostQuestionToJSONTyped(value?: PostQuestion | null, ignoreDiscr
164
156
  'answer_choices': value['answerChoices'] == null ? undefined : ((value['answerChoices'] as Array<any>).map(PostQuestionAnswerChoicesInnerToJSON)),
165
157
  'correct_answer': value['correctAnswer'],
166
158
  'explanation': RichTextInputToJSON(value['explanation']),
167
- 'topic': value['topic'],
168
159
  'difficulty_level': value['difficultyLevel'],
169
160
  'tags': value['tags'],
170
161
  'version': value['version'],
@@ -64,6 +64,12 @@ export interface PostResource {
64
64
  * @memberof PostResource
65
65
  */
66
66
  richText?: RichTextInput | null;
67
+ /**
68
+ *
69
+ * @type {Set<string>}
70
+ * @memberof PostResource
71
+ */
72
+ tags?: Set<string>;
67
73
  }
68
74
 
69
75
 
@@ -92,6 +98,7 @@ export function PostResourceFromJSONTyped(json: any, ignoreDiscriminator: boolea
92
98
  'resourceType': ResourceTypeFromJSON(json['resource_type']),
93
99
  'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
94
100
  'richText': json['rich_text'] == null ? undefined : RichTextInputFromJSON(json['rich_text']),
101
+ 'tags': json['tags'] == null ? undefined : new Set(json['tags']),
95
102
  };
96
103
  }
97
104
 
@@ -111,6 +118,7 @@ export function PostResourceToJSONTyped(value?: PostResource | null, ignoreDiscr
111
118
  'resource_type': ResourceTypeToJSON(value['resourceType']),
112
119
  'link_url': value['linkUrl'],
113
120
  'rich_text': RichTextInputToJSON(value['richText']),
121
+ 'tags': value['tags'] == null ? undefined : Array.from(value['tags'] as Set<any>),
114
122
  };
115
123
  }
116
124
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PutContentLibraryTag
20
+ */
21
+ export interface PutContentLibraryTag {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof PutContentLibraryTag
26
+ */
27
+ name: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the PutContentLibraryTag interface.
32
+ */
33
+ export function instanceOfPutContentLibraryTag(value: object): value is PutContentLibraryTag {
34
+ if (!('name' in value) || value['name'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function PutContentLibraryTagFromJSON(json: any): PutContentLibraryTag {
39
+ return PutContentLibraryTagFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PutContentLibraryTagFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutContentLibraryTag {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'name': json['name'],
49
+ };
50
+ }
51
+
52
+ export function PutContentLibraryTagToJSON(json: any): PutContentLibraryTag {
53
+ return PutContentLibraryTagToJSONTyped(json, false);
54
+ }
55
+
56
+ export function PutContentLibraryTagToJSONTyped(value?: PutContentLibraryTag | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'name': value['name'],
64
+ };
65
+ }
66
+
@@ -31,6 +31,12 @@ export interface PutLibraryQuiz {
31
31
  * @memberof PutLibraryQuiz
32
32
  */
33
33
  description?: string;
34
+ /**
35
+ *
36
+ * @type {Set<string>}
37
+ * @memberof PutLibraryQuiz
38
+ */
39
+ tags?: Set<string>;
34
40
  }
35
41
 
36
42
  /**
@@ -52,6 +58,7 @@ export function PutLibraryQuizFromJSONTyped(json: any, ignoreDiscriminator: bool
52
58
 
53
59
  'name': json['name'] == null ? undefined : json['name'],
54
60
  'description': json['description'] == null ? undefined : json['description'],
61
+ 'tags': json['tags'] == null ? undefined : new Set(json['tags']),
55
62
  };
56
63
  }
57
64
 
@@ -68,6 +75,7 @@ export function PutLibraryQuizToJSONTyped(value?: PutLibraryQuiz | null, ignoreD
68
75
 
69
76
  'name': value['name'],
70
77
  'description': value['description'],
78
+ 'tags': value['tags'] == null ? undefined : Array.from(value['tags'] as Set<any>),
71
79
  };
72
80
  }
73
81
 
@@ -64,12 +64,6 @@ export interface PutQuestion {
64
64
  * @memberof PutQuestion
65
65
  */
66
66
  explanation?: RichTextInput;
67
- /**
68
- * Topic category (Fire Alarm, Fire Pump, Fire Sprinkler, etc.)
69
- * @type {string}
70
- * @memberof PutQuestion
71
- */
72
- topic?: string;
73
67
  /**
74
68
  * Difficulty level of the question
75
69
  * @type {PutQuestionDifficultyLevelEnum}
@@ -137,7 +131,6 @@ export function PutQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean
137
131
  'answerChoices': json['answer_choices'] == null ? undefined : ((json['answer_choices'] as Array<any>).map(PutQuestionAnswerChoicesInnerFromJSON)),
138
132
  'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
139
133
  'explanation': json['explanation'] == null ? undefined : RichTextInputFromJSON(json['explanation']),
140
- 'topic': json['topic'] == null ? undefined : json['topic'],
141
134
  'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
142
135
  'tags': json['tags'] == null ? undefined : json['tags'],
143
136
  'version': json['version'] == null ? undefined : json['version'],
@@ -160,7 +153,6 @@ export function PutQuestionToJSONTyped(value?: PutQuestion | null, ignoreDiscrim
160
153
  'answer_choices': value['answerChoices'] == null ? undefined : ((value['answerChoices'] as Array<any>).map(PutQuestionAnswerChoicesInnerToJSON)),
161
154
  'correct_answer': value['correctAnswer'],
162
155
  'explanation': RichTextInputToJSON(value['explanation']),
163
- 'topic': value['topic'],
164
156
  'difficulty_level': value['difficultyLevel'],
165
157
  'tags': value['tags'],
166
158
  'version': value['version'],
@@ -31,6 +31,12 @@ export interface PutResource {
31
31
  * @memberof PutResource
32
32
  */
33
33
  description?: string;
34
+ /**
35
+ *
36
+ * @type {Set<string>}
37
+ * @memberof PutResource
38
+ */
39
+ tags?: Set<string>;
34
40
  }
35
41
 
36
42
  /**
@@ -52,6 +58,7 @@ export function PutResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
52
58
 
53
59
  'name': json['name'] == null ? undefined : json['name'],
54
60
  'description': json['description'] == null ? undefined : json['description'],
61
+ 'tags': json['tags'] == null ? undefined : new Set(json['tags']),
55
62
  };
56
63
  }
57
64
 
@@ -68,6 +75,7 @@ export function PutResourceToJSONTyped(value?: PutResource | null, ignoreDiscrim
68
75
 
69
76
  'name': value['name'],
70
77
  'description': value['description'],
78
+ 'tags': value['tags'] == null ? undefined : Array.from(value['tags'] as Set<any>),
71
79
  };
72
80
  }
73
81
 
@@ -34,10 +34,13 @@ export * from './ChatTurnUsage';
34
34
  export * from './ChatUsageTotals';
35
35
  export * from './ChatUserIdentity';
36
36
  export * from './ContentLaunchMode';
37
+ export * from './ContentLibraryTag';
38
+ export * from './ContentLibraryTagItem';
37
39
  export * from './ContentLibraryVersionStatus';
38
40
  export * from './CourseCatalog';
39
41
  export * from './CourseProgressionMode';
40
42
  export * from './CourseShare';
43
+ export * from './CourseShareAcceptError';
41
44
  export * from './EffectiveCertificateConfig';
42
45
  export * from './EmailTemplateDefinition';
43
46
  export * from './EmailTemplateScope';
@@ -54,10 +57,13 @@ export * from './GetChangelogList';
54
57
  export * from './GetChatMessage';
55
58
  export * from './GetChatSettings';
56
59
  export * from './GetChatUsage';
60
+ export * from './GetContentLibraryTagItemList';
61
+ export * from './GetContentLibraryTagList';
57
62
  export * from './GetContentLibraryVersion';
58
63
  export * from './GetConversation';
59
64
  export * from './GetConversationList';
60
65
  export * from './GetCourse';
66
+ export * from './GetCourseCatalogList';
61
67
  export * from './GetCourseEnrollment';
62
68
  export * from './GetCourseEnrollmentList';
63
69
  export * from './GetCourseEnrollmentListItem';
@@ -65,6 +71,7 @@ export * from './GetCourseExport';
65
71
  export * from './GetCourseExportList';
66
72
  export * from './GetCourseImageUpload';
67
73
  export * from './GetCourseList';
74
+ export * from './GetCourseShareList';
68
75
  export * from './GetCourseVersion';
69
76
  export * from './GetCourseVersionItem';
70
77
  export * from './GetCourseVersionItemLaunch';
@@ -181,6 +188,8 @@ export * from './PostCertificateTemplateClone';
181
188
  export * from './PostCertificateTemplatePreview';
182
189
  export * from './PostClearSessions';
183
190
  export * from './PostClearSessionsResponse';
191
+ export * from './PostContentLibraryTag';
192
+ export * from './PostContentLibraryTagMerge';
184
193
  export * from './PostConversation';
185
194
  export * from './PostConversationResponse';
186
195
  export * from './PostCourse';
@@ -238,6 +247,7 @@ export * from './PutCertificateConfig';
238
247
  export * from './PutCertificateTemplate';
239
248
  export * from './PutCertificateTemplateDraft';
240
249
  export * from './PutChatSettings';
250
+ export * from './PutContentLibraryTag';
241
251
  export * from './PutCourse';
242
252
  export * from './PutCourseCatalog';
243
253
  export * from './PutCourseEnrollment';