@easyedu/js-lsm-api 1.82.0 → 1.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +60 -0
- package/README.md +64 -2
- package/dist/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/apis/ContentLibraryApi.js +744 -0
- package/dist/apis/CourseApi.d.ts +172 -0
- package/dist/apis/CourseApi.js +443 -0
- package/dist/apis/PlayerApi.d.ts +112 -0
- package/dist/apis/PlayerApi.js +297 -0
- package/dist/apis/QuizApi.d.ts +3 -2
- package/dist/apis/QuizApi.js +4 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/esm/apis/ContentLibraryApi.js +740 -0
- package/dist/esm/apis/CourseApi.d.ts +172 -0
- package/dist/esm/apis/CourseApi.js +443 -0
- package/dist/esm/apis/PlayerApi.d.ts +112 -0
- package/dist/esm/apis/PlayerApi.js +297 -0
- package/dist/esm/apis/QuizApi.d.ts +3 -2
- package/dist/esm/apis/QuizApi.js +4 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/esm/models/ContentLibraryVersionStatus.js +44 -0
- package/dist/esm/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/esm/models/GetContentLibraryVersion.js +87 -0
- package/dist/esm/models/GetCourseVersion.d.ts +101 -0
- package/dist/esm/models/GetCourseVersion.js +86 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/esm/models/GetCourseVersionItem.js +104 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.js +82 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/esm/models/GetCourseVersionItemSession.js +101 -0
- package/dist/esm/models/GetCourseVersionList.d.ts +33 -0
- package/dist/esm/models/GetCourseVersionList.js +44 -0
- package/dist/esm/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/esm/models/GetCourseVersionModule.js +65 -0
- package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +7 -0
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +3 -0
- package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +13 -0
- package/dist/esm/models/GetQuizResultsQuestionsInner.js +5 -0
- package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/esm/models/GetResource.d.ts +118 -0
- package/dist/esm/models/GetResource.js +95 -0
- package/dist/esm/models/GetResourceList.d.ts +57 -0
- package/dist/esm/models/GetResourceList.js +60 -0
- package/dist/esm/models/GetResourceUsage.d.ts +63 -0
- package/dist/esm/models/GetResourceUsage.js +64 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.js +64 -0
- package/dist/esm/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/esm/models/GetResourceVersionUpload.js +47 -0
- package/dist/esm/models/PostCourseDraft.d.ts +32 -0
- package/dist/esm/models/PostCourseDraft.js +41 -0
- package/dist/esm/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/esm/models/PostCourseVersionItem.js +71 -0
- package/dist/esm/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionItemSession.js +41 -0
- package/dist/esm/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionPublish.js +41 -0
- package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +7 -0
- package/dist/esm/models/PostQuizAttemptQuestionsInner.js +3 -0
- package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/esm/models/PostResource.d.ts +58 -0
- package/dist/esm/models/PostResource.js +55 -0
- package/dist/esm/models/PostResourceVersion.d.ts +45 -0
- package/dist/esm/models/PostResourceVersion.js +46 -0
- package/dist/esm/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/esm/models/PostResourceVersionComplete.js +43 -0
- package/dist/esm/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/esm/models/PostResourceVersionUpload.js +55 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/esm/models/PutCourseVersionItem.js +63 -0
- package/dist/esm/models/PutQuizAnswerResponse.d.ts +77 -0
- package/dist/esm/models/PutQuizAnswerResponse.js +64 -0
- package/dist/esm/models/PutQuizAnswerResponseNextQuestion.d.ts +102 -0
- package/dist/esm/models/PutQuizAnswerResponseNextQuestion.js +88 -0
- package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +51 -0
- package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +54 -0
- package/dist/esm/models/PutQuizAnswerResponseProgress.d.ts +50 -0
- package/dist/esm/models/PutQuizAnswerResponseProgress.js +55 -0
- package/dist/esm/models/PutResource.d.ts +38 -0
- package/dist/esm/models/PutResource.js +43 -0
- package/dist/esm/models/PutResourceVersion.d.ts +53 -0
- package/dist/esm/models/PutResourceVersion.js +48 -0
- package/dist/esm/models/ResourceType.d.ts +32 -0
- package/dist/esm/models/ResourceType.js +50 -0
- package/dist/esm/models/index.d.ts +29 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/models/ContentLibraryVersionStatus.js +52 -0
- package/dist/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/models/GetContentLibraryVersion.js +94 -0
- package/dist/models/GetCourseVersion.d.ts +101 -0
- package/dist/models/GetCourseVersion.js +93 -0
- package/dist/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/models/GetCourseVersionItem.js +112 -0
- package/dist/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/models/GetCourseVersionItemLaunch.js +89 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/models/GetCourseVersionItemSession.js +108 -0
- package/dist/models/GetCourseVersionList.d.ts +33 -0
- package/dist/models/GetCourseVersionList.js +51 -0
- package/dist/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/models/GetCourseVersionModule.js +72 -0
- package/dist/models/GetQuizAttemptQuestionsInner.d.ts +7 -0
- package/dist/models/GetQuizAttemptQuestionsInner.js +3 -0
- package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/models/GetQuizResultsQuestionsInner.d.ts +13 -0
- package/dist/models/GetQuizResultsQuestionsInner.js +5 -0
- package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/models/GetResource.d.ts +118 -0
- package/dist/models/GetResource.js +102 -0
- package/dist/models/GetResourceList.d.ts +57 -0
- package/dist/models/GetResourceList.js +67 -0
- package/dist/models/GetResourceUsage.d.ts +63 -0
- package/dist/models/GetResourceUsage.js +71 -0
- package/dist/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/models/GetResourceUsageCoursesInner.js +71 -0
- package/dist/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/models/GetResourceVersionUpload.js +54 -0
- package/dist/models/PostCourseDraft.d.ts +32 -0
- package/dist/models/PostCourseDraft.js +48 -0
- package/dist/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/models/PostCourseVersionItem.js +79 -0
- package/dist/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/models/PostCourseVersionItemSession.js +48 -0
- package/dist/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/models/PostCourseVersionPublish.js +48 -0
- package/dist/models/PostQuizAttemptQuestionsInner.d.ts +7 -0
- package/dist/models/PostQuizAttemptQuestionsInner.js +3 -0
- package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +7 -0
- package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +3 -0
- package/dist/models/PostResource.d.ts +58 -0
- package/dist/models/PostResource.js +62 -0
- package/dist/models/PostResourceVersion.d.ts +45 -0
- package/dist/models/PostResourceVersion.js +53 -0
- package/dist/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/models/PostResourceVersionComplete.js +50 -0
- package/dist/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/models/PostResourceVersionUpload.js +62 -0
- package/dist/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/models/PutCourseVersionItem.js +71 -0
- package/dist/models/PutQuizAnswerResponse.d.ts +77 -0
- package/dist/models/PutQuizAnswerResponse.js +71 -0
- package/dist/models/PutQuizAnswerResponseNextQuestion.d.ts +102 -0
- package/dist/models/PutQuizAnswerResponseNextQuestion.js +96 -0
- package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +51 -0
- package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +61 -0
- package/dist/models/PutQuizAnswerResponseProgress.d.ts +50 -0
- package/dist/models/PutQuizAnswerResponseProgress.js +62 -0
- package/dist/models/PutResource.d.ts +38 -0
- package/dist/models/PutResource.js +50 -0
- package/dist/models/PutResourceVersion.d.ts +53 -0
- package/dist/models/PutResourceVersion.js +55 -0
- package/dist/models/ResourceType.d.ts +32 -0
- package/dist/models/ResourceType.js +58 -0
- package/dist/models/index.d.ts +29 -0
- package/dist/models/index.js +29 -0
- package/docs/ContentLibraryApi.md +1132 -0
- package/docs/ContentLibraryVersionStatus.md +33 -0
- package/docs/CourseApi.md +797 -96
- package/docs/GetContentLibraryVersion.md +64 -0
- package/docs/GetCourseVersion.md +56 -0
- package/docs/GetCourseVersionItem.md +62 -0
- package/docs/GetCourseVersionItemLaunch.md +56 -0
- package/docs/GetCourseVersionItemSession.md +65 -0
- package/docs/GetCourseVersionList.md +34 -0
- package/docs/GetCourseVersionModule.md +44 -0
- package/docs/GetQuizAttemptQuestionsInner.md +2 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +2 -0
- package/docs/GetQuizResultsQuestionsInner.md +4 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +2 -0
- package/docs/GetResource.md +62 -0
- package/docs/GetResourceList.md +42 -0
- package/docs/GetResourceUsage.md +44 -0
- package/docs/GetResourceUsageCoursesInner.md +44 -0
- package/docs/GetResourceVersionUpload.md +36 -0
- package/docs/PlayerApi.md +480 -0
- package/docs/PostCourseDraft.md +34 -0
- package/docs/PostCourseVersionItem.md +52 -0
- package/docs/PostCourseVersionItemSession.md +35 -0
- package/docs/PostCourseVersionPublish.md +34 -0
- package/docs/PostQuizAttemptQuestionsInner.md +2 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +2 -0
- package/docs/PostResource.md +42 -0
- package/docs/PostResourceVersion.md +38 -0
- package/docs/PostResourceVersionComplete.md +34 -0
- package/docs/PostResourceVersionUpload.md +40 -0
- package/docs/PutCourseVersionItem.md +48 -0
- package/docs/PutQuizAnswerResponse.md +48 -0
- package/docs/PutQuizAnswerResponseNextQuestion.md +52 -0
- package/docs/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.md +40 -0
- package/docs/PutQuizAnswerResponseProgress.md +40 -0
- package/docs/PutResource.md +36 -0
- package/docs/PutResourceVersion.md +40 -0
- package/docs/QuizApi.md +3 -3
- package/docs/ResourceType.md +33 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +1024 -0
- package/src/apis/CourseApi.ts +636 -0
- package/src/apis/PlayerApi.ts +400 -0
- package/src/apis/QuizApi.ts +10 -4
- package/src/apis/index.ts +1 -0
- package/src/models/ContentLibraryVersionStatus.ts +54 -0
- package/src/models/GetContentLibraryVersion.ts +209 -0
- package/src/models/GetCourseVersion.ts +187 -0
- package/src/models/GetCourseVersionItem.ts +215 -0
- package/src/models/GetCourseVersionItemLaunch.ts +185 -0
- package/src/models/GetCourseVersionItemSession.ts +216 -0
- package/src/models/GetCourseVersionList.ts +74 -0
- package/src/models/GetCourseVersionModule.ts +126 -0
- package/src/models/GetQuizAttemptQuestionsInner.ts +15 -0
- package/src/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.ts +16 -0
- package/src/models/GetQuizResultsQuestionsInner.ts +23 -0
- package/src/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.ts +16 -0
- package/src/models/GetResource.ts +206 -0
- package/src/models/GetResourceList.ts +110 -0
- package/src/models/GetResourceUsage.ts +119 -0
- package/src/models/GetResourceUsageCoursesInner.ts +121 -0
- package/src/models/GetResourceVersionUpload.ts +75 -0
- package/src/models/PostCourseDraft.ts +65 -0
- package/src/models/PostCourseVersionItem.ts +158 -0
- package/src/models/PostCourseVersionItemSession.ts +65 -0
- package/src/models/PostCourseVersionPublish.ts +65 -0
- package/src/models/PostQuizAttemptQuestionsInner.ts +15 -0
- package/src/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.ts +16 -0
- package/src/models/PostResource.ts +116 -0
- package/src/models/PostResourceVersion.ts +89 -0
- package/src/models/PostResourceVersionComplete.ts +66 -0
- package/src/models/PostResourceVersionUpload.ts +93 -0
- package/src/models/PutCourseVersionItem.ts +140 -0
- package/src/models/PutQuizAnswerResponse.ts +146 -0
- package/src/models/PutQuizAnswerResponseNextQuestion.ts +175 -0
- package/src/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.ts +100 -0
- package/src/models/PutQuizAnswerResponseProgress.ts +93 -0
- package/src/models/PutResource.ts +73 -0
- package/src/models/PutResourceVersion.ts +97 -0
- package/src/models/ResourceType.ts +60 -0
- package/src/models/index.ts +29 -0
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
import { RichTextInputFromJSON, RichTextInputToJSON, } from './RichTextInput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PostResourceVersion interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPostResourceVersion(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PostResourceVersionFromJSON(json) {
|
|
22
|
+
return PostResourceVersionFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PostResourceVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
|
|
30
|
+
'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
|
|
31
|
+
'richText': json['rich_text'] == null ? undefined : RichTextInputFromJSON(json['rich_text']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PostResourceVersionToJSON(json) {
|
|
35
|
+
return PostResourceVersionToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PostResourceVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'change_notes': value['changeNotes'],
|
|
43
|
+
'link_url': value['linkUrl'],
|
|
44
|
+
'rich_text': RichTextInputToJSON(value['richText']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostResourceVersionComplete
|
|
16
|
+
*/
|
|
17
|
+
export interface PostResourceVersionComplete {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostResourceVersionComplete
|
|
22
|
+
*/
|
|
23
|
+
checksumSha256: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostResourceVersionComplete interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostResourceVersionComplete(value: object): value is PostResourceVersionComplete;
|
|
29
|
+
export declare function PostResourceVersionCompleteFromJSON(json: any): PostResourceVersionComplete;
|
|
30
|
+
export declare function PostResourceVersionCompleteFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostResourceVersionComplete;
|
|
31
|
+
export declare function PostResourceVersionCompleteToJSON(json: any): PostResourceVersionComplete;
|
|
32
|
+
export declare function PostResourceVersionCompleteToJSONTyped(value?: PostResourceVersionComplete | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the PostResourceVersionComplete interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostResourceVersionComplete(value) {
|
|
18
|
+
if (!('checksumSha256' in value) || value['checksumSha256'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PostResourceVersionCompleteFromJSON(json) {
|
|
23
|
+
return PostResourceVersionCompleteFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PostResourceVersionCompleteFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'checksumSha256': json['checksum_sha256'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PostResourceVersionCompleteToJSON(json) {
|
|
34
|
+
return PostResourceVersionCompleteToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PostResourceVersionCompleteToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'checksum_sha256': value['checksumSha256'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostResourceVersionUpload
|
|
16
|
+
*/
|
|
17
|
+
export interface PostResourceVersionUpload {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostResourceVersionUpload
|
|
22
|
+
*/
|
|
23
|
+
filename: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostResourceVersionUpload
|
|
28
|
+
*/
|
|
29
|
+
mimeType: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PostResourceVersionUpload
|
|
34
|
+
*/
|
|
35
|
+
fileSizeBytes: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostResourceVersionUpload
|
|
40
|
+
*/
|
|
41
|
+
checksumSha256: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PostResourceVersionUpload interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPostResourceVersionUpload(value: object): value is PostResourceVersionUpload;
|
|
47
|
+
export declare function PostResourceVersionUploadFromJSON(json: any): PostResourceVersionUpload;
|
|
48
|
+
export declare function PostResourceVersionUploadFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostResourceVersionUpload;
|
|
49
|
+
export declare function PostResourceVersionUploadToJSON(json: any): PostResourceVersionUpload;
|
|
50
|
+
export declare function PostResourceVersionUploadToJSONTyped(value?: PostResourceVersionUpload | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* Check if a given object implements the PostResourceVersionUpload interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostResourceVersionUpload(value) {
|
|
18
|
+
if (!('filename' in value) || value['filename'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('fileSizeBytes' in value) || value['fileSizeBytes'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('checksumSha256' in value) || value['checksumSha256'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PostResourceVersionUploadFromJSON(json) {
|
|
29
|
+
return PostResourceVersionUploadFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PostResourceVersionUploadFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'filename': json['filename'],
|
|
37
|
+
'mimeType': json['mime_type'],
|
|
38
|
+
'fileSizeBytes': json['file_size_bytes'],
|
|
39
|
+
'checksumSha256': json['checksum_sha256'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function PostResourceVersionUploadToJSON(json) {
|
|
43
|
+
return PostResourceVersionUploadToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function PostResourceVersionUploadToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'filename': value['filename'],
|
|
51
|
+
'mime_type': value['mimeType'],
|
|
52
|
+
'file_size_bytes': value['fileSizeBytes'],
|
|
53
|
+
'checksum_sha256': value['checksumSha256'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ContentLaunchMode } from './ContentLaunchMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutCourseVersionItem
|
|
17
|
+
*/
|
|
18
|
+
export interface PutCourseVersionItem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PutCourseVersionItem
|
|
23
|
+
*/
|
|
24
|
+
contentLibraryVersionId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PutCourseVersionItem
|
|
29
|
+
*/
|
|
30
|
+
displayName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PutCourseVersionItem
|
|
35
|
+
*/
|
|
36
|
+
displayOrder?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PutCourseVersionItem
|
|
41
|
+
*/
|
|
42
|
+
isVisible?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ContentLaunchMode}
|
|
46
|
+
* @memberof PutCourseVersionItem
|
|
47
|
+
*/
|
|
48
|
+
launchMode?: ContentLaunchMode;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PutCourseVersionItem
|
|
53
|
+
*/
|
|
54
|
+
maxAttempts?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {PutCourseVersionItemScoreRollupStrategyEnum}
|
|
58
|
+
* @memberof PutCourseVersionItem
|
|
59
|
+
*/
|
|
60
|
+
scoreRollupStrategy?: PutCourseVersionItemScoreRollupStrategyEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: any; }}
|
|
64
|
+
* @memberof PutCourseVersionItem
|
|
65
|
+
*/
|
|
66
|
+
settings?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const PutCourseVersionItemScoreRollupStrategyEnum: {
|
|
74
|
+
readonly Latest: "Latest";
|
|
75
|
+
readonly Best: "Best";
|
|
76
|
+
};
|
|
77
|
+
export type PutCourseVersionItemScoreRollupStrategyEnum = typeof PutCourseVersionItemScoreRollupStrategyEnum[keyof typeof PutCourseVersionItemScoreRollupStrategyEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the PutCourseVersionItem interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfPutCourseVersionItem(value: object): value is PutCourseVersionItem;
|
|
82
|
+
export declare function PutCourseVersionItemFromJSON(json: any): PutCourseVersionItem;
|
|
83
|
+
export declare function PutCourseVersionItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseVersionItem;
|
|
84
|
+
export declare function PutCourseVersionItemToJSON(json: any): PutCourseVersionItem;
|
|
85
|
+
export declare function PutCourseVersionItemToJSONTyped(value?: PutCourseVersionItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
import { ContentLaunchModeFromJSON, ContentLaunchModeToJSON, } from './ContentLaunchMode';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PutCourseVersionItemScoreRollupStrategyEnum = {
|
|
19
|
+
Latest: 'Latest',
|
|
20
|
+
Best: 'Best'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PutCourseVersionItem interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPutCourseVersionItem(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PutCourseVersionItemFromJSON(json) {
|
|
29
|
+
return PutCourseVersionItemFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PutCourseVersionItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'contentLibraryVersionId': json['content_library_version_id'] == null ? undefined : json['content_library_version_id'],
|
|
37
|
+
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
38
|
+
'displayOrder': json['display_order'] == null ? undefined : json['display_order'],
|
|
39
|
+
'isVisible': json['is_visible'] == null ? undefined : json['is_visible'],
|
|
40
|
+
'launchMode': json['launch_mode'] == null ? undefined : ContentLaunchModeFromJSON(json['launch_mode']),
|
|
41
|
+
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
42
|
+
'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
|
|
43
|
+
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function PutCourseVersionItemToJSON(json) {
|
|
47
|
+
return PutCourseVersionItemToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PutCourseVersionItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'content_library_version_id': value['contentLibraryVersionId'],
|
|
55
|
+
'display_name': value['displayName'],
|
|
56
|
+
'display_order': value['displayOrder'],
|
|
57
|
+
'is_visible': value['isVisible'],
|
|
58
|
+
'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
|
|
59
|
+
'max_attempts': value['maxAttempts'],
|
|
60
|
+
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
61
|
+
'settings': value['settings'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { PutQuizAnswerResponseProgress } from './PutQuizAnswerResponseProgress';
|
|
13
|
+
import type { RichTextDocument } from './RichTextDocument';
|
|
14
|
+
import type { PutQuizAnswerResponseNextQuestion } from './PutQuizAnswerResponseNextQuestion';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface PutQuizAnswerResponse
|
|
19
|
+
*/
|
|
20
|
+
export interface PutQuizAnswerResponse {
|
|
21
|
+
/**
|
|
22
|
+
* Whether the answer was saved
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @memberof PutQuizAnswerResponse
|
|
25
|
+
*/
|
|
26
|
+
success: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Question ID that was answered
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof PutQuizAnswerResponse
|
|
31
|
+
*/
|
|
32
|
+
questionId: number;
|
|
33
|
+
/**
|
|
34
|
+
* Immediate correctness feedback when review is disabled
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof PutQuizAnswerResponse
|
|
37
|
+
*/
|
|
38
|
+
isCorrect?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Immediate points earned when review is disabled
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof PutQuizAnswerResponse
|
|
43
|
+
*/
|
|
44
|
+
pointsEarned?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Plain-text explanation when immediate feedback is enabled
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof PutQuizAnswerResponse
|
|
49
|
+
*/
|
|
50
|
+
explanation?: string;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {RichTextDocument}
|
|
54
|
+
* @memberof PutQuizAnswerResponse
|
|
55
|
+
*/
|
|
56
|
+
explanationRich?: RichTextDocument;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {PutQuizAnswerResponseNextQuestion}
|
|
60
|
+
* @memberof PutQuizAnswerResponse
|
|
61
|
+
*/
|
|
62
|
+
nextQuestion?: PutQuizAnswerResponseNextQuestion;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {PutQuizAnswerResponseProgress}
|
|
66
|
+
* @memberof PutQuizAnswerResponse
|
|
67
|
+
*/
|
|
68
|
+
progress: PutQuizAnswerResponseProgress;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the PutQuizAnswerResponse interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfPutQuizAnswerResponse(value: object): value is PutQuizAnswerResponse;
|
|
74
|
+
export declare function PutQuizAnswerResponseFromJSON(json: any): PutQuizAnswerResponse;
|
|
75
|
+
export declare function PutQuizAnswerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutQuizAnswerResponse;
|
|
76
|
+
export declare function PutQuizAnswerResponseToJSON(json: any): PutQuizAnswerResponse;
|
|
77
|
+
export declare function PutQuizAnswerResponseToJSONTyped(value?: PutQuizAnswerResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { PutQuizAnswerResponseProgressFromJSON, PutQuizAnswerResponseProgressToJSON, } from './PutQuizAnswerResponseProgress';
|
|
15
|
+
import { RichTextDocumentFromJSON, RichTextDocumentToJSON, } from './RichTextDocument';
|
|
16
|
+
import { PutQuizAnswerResponseNextQuestionFromJSON, PutQuizAnswerResponseNextQuestionToJSON, } from './PutQuizAnswerResponseNextQuestion';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PutQuizAnswerResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfPutQuizAnswerResponse(value) {
|
|
21
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('questionId' in value) || value['questionId'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function PutQuizAnswerResponseFromJSON(json) {
|
|
30
|
+
return PutQuizAnswerResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function PutQuizAnswerResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'success': json['success'],
|
|
38
|
+
'questionId': json['question_id'],
|
|
39
|
+
'isCorrect': json['is_correct'] == null ? undefined : json['is_correct'],
|
|
40
|
+
'pointsEarned': json['points_earned'] == null ? undefined : json['points_earned'],
|
|
41
|
+
'explanation': json['explanation'] == null ? undefined : json['explanation'],
|
|
42
|
+
'explanationRich': json['explanation_rich'] == null ? undefined : RichTextDocumentFromJSON(json['explanation_rich']),
|
|
43
|
+
'nextQuestion': json['next_question'] == null ? undefined : PutQuizAnswerResponseNextQuestionFromJSON(json['next_question']),
|
|
44
|
+
'progress': PutQuizAnswerResponseProgressFromJSON(json['progress']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function PutQuizAnswerResponseToJSON(json) {
|
|
48
|
+
return PutQuizAnswerResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function PutQuizAnswerResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'success': value['success'],
|
|
56
|
+
'question_id': value['questionId'],
|
|
57
|
+
'is_correct': value['isCorrect'],
|
|
58
|
+
'points_earned': value['pointsEarned'],
|
|
59
|
+
'explanation': value['explanation'],
|
|
60
|
+
'explanation_rich': RichTextDocumentToJSON(value['explanationRich']),
|
|
61
|
+
'next_question': PutQuizAnswerResponseNextQuestionToJSON(value['nextQuestion']),
|
|
62
|
+
'progress': PutQuizAnswerResponseProgressToJSON(value['progress']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { RichTextDocument } from './RichTextDocument';
|
|
13
|
+
import type { PutQuizAnswerResponseNextQuestionAnswerChoicesInner } from './PutQuizAnswerResponseNextQuestionAnswerChoicesInner';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PutQuizAnswerResponseNextQuestion
|
|
18
|
+
*/
|
|
19
|
+
export interface PutQuizAnswerResponseNextQuestion {
|
|
20
|
+
/**
|
|
21
|
+
* Attempt question ID
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
* Original question ID
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
30
|
+
*/
|
|
31
|
+
questionId: number;
|
|
32
|
+
/**
|
|
33
|
+
* Order of question in this attempt
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
36
|
+
*/
|
|
37
|
+
questionOrder: number;
|
|
38
|
+
/**
|
|
39
|
+
* Points assigned to this question
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
42
|
+
*/
|
|
43
|
+
points: number;
|
|
44
|
+
/**
|
|
45
|
+
* Question text
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
48
|
+
*/
|
|
49
|
+
questionText: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {RichTextDocument}
|
|
53
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
54
|
+
*/
|
|
55
|
+
questionTextRich?: RichTextDocument;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PutQuizAnswerResponseNextQuestionQuestionTypeEnum}
|
|
59
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
60
|
+
*/
|
|
61
|
+
questionType: PutQuizAnswerResponseNextQuestionQuestionTypeEnum;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<PutQuizAnswerResponseNextQuestionAnswerChoicesInner>}
|
|
65
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
66
|
+
*/
|
|
67
|
+
answerChoices: Array<PutQuizAnswerResponseNextQuestionAnswerChoicesInner>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
72
|
+
*/
|
|
73
|
+
isAnswered: boolean;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {{ [key: string]: any; }}
|
|
77
|
+
* @memberof PutQuizAnswerResponseNextQuestion
|
|
78
|
+
*/
|
|
79
|
+
userAnswer?: {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const PutQuizAnswerResponseNextQuestionQuestionTypeEnum: {
|
|
87
|
+
readonly SingleAnswer: "single_answer";
|
|
88
|
+
readonly MultipleAnswer: "multiple_answer";
|
|
89
|
+
readonly FillInBlank: "fill_in_blank";
|
|
90
|
+
readonly ShortAnswer: "short_answer";
|
|
91
|
+
readonly Matching: "matching";
|
|
92
|
+
readonly Essay: "essay";
|
|
93
|
+
};
|
|
94
|
+
export type PutQuizAnswerResponseNextQuestionQuestionTypeEnum = typeof PutQuizAnswerResponseNextQuestionQuestionTypeEnum[keyof typeof PutQuizAnswerResponseNextQuestionQuestionTypeEnum];
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the PutQuizAnswerResponseNextQuestion interface.
|
|
97
|
+
*/
|
|
98
|
+
export declare function instanceOfPutQuizAnswerResponseNextQuestion(value: object): value is PutQuizAnswerResponseNextQuestion;
|
|
99
|
+
export declare function PutQuizAnswerResponseNextQuestionFromJSON(json: any): PutQuizAnswerResponseNextQuestion;
|
|
100
|
+
export declare function PutQuizAnswerResponseNextQuestionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutQuizAnswerResponseNextQuestion;
|
|
101
|
+
export declare function PutQuizAnswerResponseNextQuestionToJSON(json: any): PutQuizAnswerResponseNextQuestion;
|
|
102
|
+
export declare function PutQuizAnswerResponseNextQuestionToJSONTyped(value?: PutQuizAnswerResponseNextQuestion | null, ignoreDiscriminator?: boolean): any;
|