@easyedu/js-lsm-api 1.108.0 → 1.110.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.
- package/.openapi-generator/FILES +16 -0
- package/README.md +19 -2
- package/dist/apis/ContentLibraryApi.d.ts +180 -0
- package/dist/apis/ContentLibraryApi.js +425 -1
- package/dist/apis/ContentLibraryQuizApi.d.ts +1 -0
- package/dist/apis/ContentLibraryQuizApi.js +3 -0
- package/dist/apis/CourseApi.d.ts +2 -2
- package/dist/apis/CourseApi.js +2 -2
- package/dist/apis/QuestionApi.d.ts +1 -12
- package/dist/apis/QuestionApi.js +3 -17
- package/dist/esm/apis/ContentLibraryApi.d.ts +180 -0
- package/dist/esm/apis/ContentLibraryApi.js +424 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +1 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +3 -0
- package/dist/esm/apis/CourseApi.d.ts +2 -2
- package/dist/esm/apis/CourseApi.js +2 -2
- package/dist/esm/apis/QuestionApi.d.ts +1 -12
- package/dist/esm/apis/QuestionApi.js +2 -16
- package/dist/esm/models/ContentLibraryTag.d.ts +110 -0
- package/dist/esm/models/ContentLibraryTag.js +89 -0
- package/dist/esm/models/ContentLibraryTagItem.d.ts +85 -0
- package/dist/esm/models/ContentLibraryTagItem.js +77 -0
- package/dist/esm/models/CourseShareAcceptError.d.ts +54 -0
- package/dist/esm/models/CourseShareAcceptError.js +62 -0
- package/dist/esm/models/GetContentLibraryTagItemList.d.ts +57 -0
- package/dist/esm/models/GetContentLibraryTagItemList.js +60 -0
- package/dist/esm/models/GetContentLibraryTagList.d.ts +57 -0
- package/dist/esm/models/GetContentLibraryTagList.js +60 -0
- package/dist/esm/models/GetLibraryQuiz.d.ts +7 -0
- package/dist/esm/models/GetLibraryQuiz.js +5 -0
- package/dist/esm/models/GetQuestion.d.ts +4 -24
- package/dist/esm/models/GetQuestion.js +3 -18
- package/dist/esm/models/GetQuestionListFilters.d.ts +3 -24
- package/dist/esm/models/GetQuestionListFilters.js +2 -14
- package/dist/esm/models/GetResource.d.ts +7 -0
- package/dist/esm/models/GetResource.js +5 -0
- package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -21
- package/dist/esm/models/LibraryQuizCriteriaPreviewQuestion.js +0 -16
- package/dist/esm/models/LibraryQuizCriterion.d.ts +0 -21
- package/dist/esm/models/LibraryQuizCriterion.js +0 -12
- package/dist/esm/models/PostContentLibraryTag.d.ts +32 -0
- package/dist/esm/models/PostContentLibraryTag.js +43 -0
- package/dist/esm/models/PostContentLibraryTagMerge.d.ts +32 -0
- package/dist/esm/models/PostContentLibraryTagMerge.js +43 -0
- package/dist/esm/models/PostLibraryQuiz.d.ts +6 -0
- package/dist/esm/models/PostLibraryQuiz.js +2 -0
- package/dist/esm/models/PostQuestion.d.ts +0 -21
- package/dist/esm/models/PostQuestion.js +0 -16
- package/dist/esm/models/PostResource.d.ts +6 -0
- package/dist/esm/models/PostResource.js +2 -0
- package/dist/esm/models/PutContentLibraryTag.d.ts +32 -0
- package/dist/esm/models/PutContentLibraryTag.js +43 -0
- package/dist/esm/models/PutLibraryQuiz.d.ts +6 -0
- package/dist/esm/models/PutLibraryQuiz.js +2 -0
- package/dist/esm/models/PutQuestion.d.ts +0 -21
- package/dist/esm/models/PutQuestion.js +0 -12
- package/dist/esm/models/PutResource.d.ts +6 -0
- package/dist/esm/models/PutResource.js +2 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/ContentLibraryTag.d.ts +110 -0
- package/dist/models/ContentLibraryTag.js +96 -0
- package/dist/models/ContentLibraryTagItem.d.ts +85 -0
- package/dist/models/ContentLibraryTagItem.js +85 -0
- package/dist/models/CourseShareAcceptError.d.ts +54 -0
- package/dist/models/CourseShareAcceptError.js +70 -0
- package/dist/models/GetContentLibraryTagItemList.d.ts +57 -0
- package/dist/models/GetContentLibraryTagItemList.js +67 -0
- package/dist/models/GetContentLibraryTagList.d.ts +57 -0
- package/dist/models/GetContentLibraryTagList.js +67 -0
- package/dist/models/GetLibraryQuiz.d.ts +7 -0
- package/dist/models/GetLibraryQuiz.js +5 -0
- package/dist/models/GetQuestion.d.ts +4 -24
- package/dist/models/GetQuestion.js +4 -19
- package/dist/models/GetQuestionListFilters.d.ts +3 -24
- package/dist/models/GetQuestionListFilters.js +3 -15
- package/dist/models/GetResource.d.ts +7 -0
- package/dist/models/GetResource.js +5 -0
- package/dist/models/LibraryQuizCriteriaPreviewQuestion.d.ts +0 -21
- package/dist/models/LibraryQuizCriteriaPreviewQuestion.js +1 -17
- package/dist/models/LibraryQuizCriterion.d.ts +0 -21
- package/dist/models/LibraryQuizCriterion.js +1 -13
- package/dist/models/PostContentLibraryTag.d.ts +32 -0
- package/dist/models/PostContentLibraryTag.js +50 -0
- package/dist/models/PostContentLibraryTagMerge.d.ts +32 -0
- package/dist/models/PostContentLibraryTagMerge.js +50 -0
- package/dist/models/PostLibraryQuiz.d.ts +6 -0
- package/dist/models/PostLibraryQuiz.js +2 -0
- package/dist/models/PostQuestion.d.ts +0 -21
- package/dist/models/PostQuestion.js +1 -17
- package/dist/models/PostResource.d.ts +6 -0
- package/dist/models/PostResource.js +2 -0
- package/dist/models/PutContentLibraryTag.d.ts +32 -0
- package/dist/models/PutContentLibraryTag.js +50 -0
- package/dist/models/PutLibraryQuiz.d.ts +6 -0
- package/dist/models/PutLibraryQuiz.js +2 -0
- package/dist/models/PutQuestion.d.ts +0 -21
- package/dist/models/PutQuestion.js +1 -13
- package/dist/models/PutResource.d.ts +6 -0
- package/dist/models/PutResource.js +2 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/ContentLibraryApi.md +732 -90
- package/docs/ContentLibraryQuizApi.md +4 -1
- package/docs/ContentLibraryTag.md +60 -0
- package/docs/ContentLibraryTagItem.md +48 -0
- package/docs/CourseApi.md +1 -1
- package/docs/CourseShareAcceptError.md +37 -0
- package/docs/CourseShareApi.md +9 -2
- package/docs/GetContentLibraryTagItemList.md +42 -0
- package/docs/GetContentLibraryTagList.md +42 -0
- package/docs/GetLibraryQuiz.md +2 -0
- package/docs/GetQuestion.md +1 -5
- package/docs/GetQuestionListFilters.md +2 -6
- package/docs/GetResource.md +2 -0
- package/docs/LibraryQuizCriteriaPreviewQuestion.md +0 -4
- package/docs/LibraryQuizCriterion.md +0 -4
- package/docs/PostContentLibraryTag.md +34 -0
- package/docs/PostContentLibraryTagMerge.md +34 -0
- package/docs/PostLibraryQuiz.md +2 -0
- package/docs/PostQuestion.md +0 -4
- package/docs/PostResource.md +2 -0
- package/docs/PutContentLibraryTag.md +34 -0
- package/docs/PutLibraryQuiz.md +2 -0
- package/docs/PutQuestion.md +0 -4
- package/docs/PutResource.md +2 -0
- package/docs/QuestionApi.md +4 -10
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +576 -0
- package/src/apis/ContentLibraryQuizApi.ts +5 -0
- package/src/apis/CourseApi.ts +2 -2
- package/src/apis/CourseShareApi.ts +5 -0
- package/src/apis/QuestionApi.ts +3 -22
- package/src/models/ContentLibraryTag.ts +180 -0
- package/src/models/ContentLibraryTagItem.ts +154 -0
- package/src/models/CourseShareAcceptError.ts +94 -0
- package/src/models/GetContentLibraryTagItemList.ts +110 -0
- package/src/models/GetContentLibraryTagList.ts +110 -0
- package/src/models/GetLibraryQuiz.ts +16 -0
- package/src/models/GetQuestion.ts +12 -33
- package/src/models/GetQuestionListFilters.ts +5 -31
- package/src/models/GetResource.ts +16 -0
- package/src/models/LibraryQuizCriteriaPreviewQuestion.ts +0 -28
- package/src/models/LibraryQuizCriterion.ts +0 -26
- package/src/models/PostContentLibraryTag.ts +66 -0
- package/src/models/PostContentLibraryTagMerge.ts +66 -0
- package/src/models/PostLibraryQuiz.ts +8 -0
- package/src/models/PostQuestion.ts +0 -28
- package/src/models/PostResource.ts +8 -0
- package/src/models/PutContentLibraryTag.ts +66 -0
- package/src/models/PutLibraryQuiz.ts +8 -0
- package/src/models/PutQuestion.ts +0 -26
- package/src/models/PutResource.ts +8 -0
- package/src/models/index.ts +8 -0
|
@@ -64,18 +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
|
-
/**
|
|
74
|
-
* Difficulty level of the question
|
|
75
|
-
* @type {PostQuestionDifficultyLevelEnum}
|
|
76
|
-
* @memberof PostQuestion
|
|
77
|
-
*/
|
|
78
|
-
difficultyLevel: PostQuestionDifficultyLevelEnum;
|
|
79
67
|
/**
|
|
80
68
|
* Keywords/tags for granular filtering
|
|
81
69
|
* @type {Array<string>}
|
|
@@ -104,16 +92,6 @@ export const PostQuestionQuestionTypeEnum = {
|
|
|
104
92
|
} as const;
|
|
105
93
|
export type PostQuestionQuestionTypeEnum = typeof PostQuestionQuestionTypeEnum[keyof typeof PostQuestionQuestionTypeEnum];
|
|
106
94
|
|
|
107
|
-
/**
|
|
108
|
-
* @export
|
|
109
|
-
*/
|
|
110
|
-
export const PostQuestionDifficultyLevelEnum = {
|
|
111
|
-
Beginner: 'beginner',
|
|
112
|
-
Intermediate: 'intermediate',
|
|
113
|
-
Advanced: 'advanced'
|
|
114
|
-
} as const;
|
|
115
|
-
export type PostQuestionDifficultyLevelEnum = typeof PostQuestionDifficultyLevelEnum[keyof typeof PostQuestionDifficultyLevelEnum];
|
|
116
|
-
|
|
117
95
|
|
|
118
96
|
/**
|
|
119
97
|
* Check if a given object implements the PostQuestion interface.
|
|
@@ -121,8 +99,6 @@ export type PostQuestionDifficultyLevelEnum = typeof PostQuestionDifficultyLevel
|
|
|
121
99
|
export function instanceOfPostQuestion(value: object): value is PostQuestion {
|
|
122
100
|
if (!('questionText' in value) || value['questionText'] === undefined) return false;
|
|
123
101
|
if (!('questionType' in value) || value['questionType'] === undefined) return false;
|
|
124
|
-
if (!('topic' in value) || value['topic'] === undefined) return false;
|
|
125
|
-
if (!('difficultyLevel' in value) || value['difficultyLevel'] === undefined) return false;
|
|
126
102
|
return true;
|
|
127
103
|
}
|
|
128
104
|
|
|
@@ -141,8 +117,6 @@ export function PostQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
141
117
|
'answerChoices': json['answer_choices'] == null ? undefined : ((json['answer_choices'] as Array<any>).map(PostQuestionAnswerChoicesInnerFromJSON)),
|
|
142
118
|
'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
|
|
143
119
|
'explanation': json['explanation'] == null ? undefined : RichTextInputFromJSON(json['explanation']),
|
|
144
|
-
'topic': json['topic'],
|
|
145
|
-
'difficultyLevel': json['difficulty_level'],
|
|
146
120
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
147
121
|
'version': json['version'] == null ? undefined : json['version'],
|
|
148
122
|
};
|
|
@@ -164,8 +138,6 @@ export function PostQuestionToJSONTyped(value?: PostQuestion | null, ignoreDiscr
|
|
|
164
138
|
'answer_choices': value['answerChoices'] == null ? undefined : ((value['answerChoices'] as Array<any>).map(PostQuestionAnswerChoicesInnerToJSON)),
|
|
165
139
|
'correct_answer': value['correctAnswer'],
|
|
166
140
|
'explanation': RichTextInputToJSON(value['explanation']),
|
|
167
|
-
'topic': value['topic'],
|
|
168
|
-
'difficulty_level': value['difficultyLevel'],
|
|
169
141
|
'tags': value['tags'],
|
|
170
142
|
'version': value['version'],
|
|
171
143
|
};
|
|
@@ -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,18 +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
|
-
/**
|
|
74
|
-
* Difficulty level of the question
|
|
75
|
-
* @type {PutQuestionDifficultyLevelEnum}
|
|
76
|
-
* @memberof PutQuestion
|
|
77
|
-
*/
|
|
78
|
-
difficultyLevel?: PutQuestionDifficultyLevelEnum;
|
|
79
67
|
/**
|
|
80
68
|
* Keywords/tags for granular filtering
|
|
81
69
|
* @type {Array<string>}
|
|
@@ -104,16 +92,6 @@ export const PutQuestionQuestionTypeEnum = {
|
|
|
104
92
|
} as const;
|
|
105
93
|
export type PutQuestionQuestionTypeEnum = typeof PutQuestionQuestionTypeEnum[keyof typeof PutQuestionQuestionTypeEnum];
|
|
106
94
|
|
|
107
|
-
/**
|
|
108
|
-
* @export
|
|
109
|
-
*/
|
|
110
|
-
export const PutQuestionDifficultyLevelEnum = {
|
|
111
|
-
Beginner: 'beginner',
|
|
112
|
-
Intermediate: 'intermediate',
|
|
113
|
-
Advanced: 'advanced'
|
|
114
|
-
} as const;
|
|
115
|
-
export type PutQuestionDifficultyLevelEnum = typeof PutQuestionDifficultyLevelEnum[keyof typeof PutQuestionDifficultyLevelEnum];
|
|
116
|
-
|
|
117
95
|
|
|
118
96
|
/**
|
|
119
97
|
* Check if a given object implements the PutQuestion interface.
|
|
@@ -137,8 +115,6 @@ export function PutQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
137
115
|
'answerChoices': json['answer_choices'] == null ? undefined : ((json['answer_choices'] as Array<any>).map(PutQuestionAnswerChoicesInnerFromJSON)),
|
|
138
116
|
'correctAnswer': json['correct_answer'] == null ? undefined : json['correct_answer'],
|
|
139
117
|
'explanation': json['explanation'] == null ? undefined : RichTextInputFromJSON(json['explanation']),
|
|
140
|
-
'topic': json['topic'] == null ? undefined : json['topic'],
|
|
141
|
-
'difficultyLevel': json['difficulty_level'] == null ? undefined : json['difficulty_level'],
|
|
142
118
|
'tags': json['tags'] == null ? undefined : json['tags'],
|
|
143
119
|
'version': json['version'] == null ? undefined : json['version'],
|
|
144
120
|
};
|
|
@@ -160,8 +136,6 @@ export function PutQuestionToJSONTyped(value?: PutQuestion | null, ignoreDiscrim
|
|
|
160
136
|
'answer_choices': value['answerChoices'] == null ? undefined : ((value['answerChoices'] as Array<any>).map(PutQuestionAnswerChoicesInnerToJSON)),
|
|
161
137
|
'correct_answer': value['correctAnswer'],
|
|
162
138
|
'explanation': RichTextInputToJSON(value['explanation']),
|
|
163
|
-
'topic': value['topic'],
|
|
164
|
-
'difficulty_level': value['difficultyLevel'],
|
|
165
139
|
'tags': value['tags'],
|
|
166
140
|
'version': value['version'],
|
|
167
141
|
};
|
|
@@ -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
|
|
package/src/models/index.ts
CHANGED
|
@@ -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,6 +57,8 @@ 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';
|
|
@@ -183,6 +188,8 @@ export * from './PostCertificateTemplateClone';
|
|
|
183
188
|
export * from './PostCertificateTemplatePreview';
|
|
184
189
|
export * from './PostClearSessions';
|
|
185
190
|
export * from './PostClearSessionsResponse';
|
|
191
|
+
export * from './PostContentLibraryTag';
|
|
192
|
+
export * from './PostContentLibraryTagMerge';
|
|
186
193
|
export * from './PostConversation';
|
|
187
194
|
export * from './PostConversationResponse';
|
|
188
195
|
export * from './PostCourse';
|
|
@@ -240,6 +247,7 @@ export * from './PutCertificateConfig';
|
|
|
240
247
|
export * from './PutCertificateTemplate';
|
|
241
248
|
export * from './PutCertificateTemplateDraft';
|
|
242
249
|
export * from './PutChatSettings';
|
|
250
|
+
export * from './PutContentLibraryTag';
|
|
243
251
|
export * from './PutCourse';
|
|
244
252
|
export * from './PutCourseCatalog';
|
|
245
253
|
export * from './PutCourseEnrollment';
|