@easyedu/js-lsm-api 1.139.0 → 1.141.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 +40 -0
- package/README.md +41 -2
- package/dist/apis/ContentLibraryQuizApi.d.ts +86 -0
- package/dist/apis/ContentLibraryQuizApi.js +216 -0
- package/dist/apis/DispatchApi.d.ts +71 -0
- package/dist/apis/DispatchApi.js +178 -0
- package/dist/apis/LRSApi.d.ts +152 -0
- package/dist/apis/LRSApi.js +369 -0
- package/dist/apis/PlayerApi.d.ts +71 -0
- package/dist/apis/PlayerApi.js +177 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +86 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +216 -0
- package/dist/esm/apis/DispatchApi.d.ts +71 -0
- package/dist/esm/apis/DispatchApi.js +178 -0
- package/dist/esm/apis/LRSApi.d.ts +152 -0
- package/dist/esm/apis/LRSApi.js +365 -0
- package/dist/esm/apis/PlayerApi.d.ts +71 -0
- package/dist/esm/apis/PlayerApi.js +177 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/Cmi5Launch.d.ts +52 -0
- package/dist/esm/models/Cmi5Launch.js +58 -0
- package/dist/esm/models/DeleteLrsUserRecordsResponse.d.ts +38 -0
- package/dist/esm/models/DeleteLrsUserRecordsResponse.js +47 -0
- package/dist/esm/models/GetAttemptAllowance.d.ts +9 -3
- package/dist/esm/models/GetAttemptAllowance.js +4 -0
- package/dist/esm/models/GetCourseExport.d.ts +2 -1
- package/dist/esm/models/GetCourseExport.js +2 -1
- package/dist/esm/models/GetCourseVersionItem.d.ts +1 -1
- package/dist/esm/models/GetLibraryQuizResult.d.ts +30 -0
- package/dist/esm/models/GetLibraryQuizResult.js +20 -0
- package/dist/esm/models/GetLibraryQuizSession.d.ts +43 -0
- package/dist/esm/models/GetLibraryQuizSession.js +27 -0
- package/dist/esm/models/GetLibraryQuizVersion.d.ts +19 -0
- package/dist/esm/models/GetLibraryQuizVersion.js +13 -0
- package/dist/esm/models/GetLrsCredentials.d.ts +46 -0
- package/dist/esm/models/GetLrsCredentials.js +53 -0
- package/dist/esm/models/GetLrsStatementList.d.ts +57 -0
- package/dist/esm/models/GetLrsStatementList.js +60 -0
- package/dist/esm/models/GetQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/esm/models/GetQuestionAnswerChoicesInner.js +4 -0
- package/dist/esm/models/GetQuizSettings.d.ts +56 -0
- package/dist/esm/models/GetQuizSettings.js +57 -0
- package/dist/esm/models/GetResourceSessionActivity.d.ts +2 -1
- package/dist/esm/models/GetResourceSessionActivity.js +2 -1
- package/dist/esm/models/H5pState.d.ts +34 -0
- package/dist/esm/models/H5pState.js +43 -0
- package/dist/esm/models/H5pStatementResult.d.ts +44 -0
- package/dist/esm/models/H5pStatementResult.js +49 -0
- package/dist/esm/models/HostedScormAccessPolicy.d.ts +1 -1
- package/dist/esm/models/HostedScormOutlineEntry.d.ts +1 -1
- package/dist/esm/models/LibraryQuizQuestionFeedback.d.ts +78 -0
- package/dist/esm/models/LibraryQuizQuestionFeedback.js +66 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.d.ts +6 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.js +2 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.d.ts +19 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.js +11 -0
- package/dist/esm/models/LrsCredential.d.ts +74 -0
- package/dist/esm/models/LrsCredential.js +67 -0
- package/dist/esm/models/LrsScope.d.ts +38 -0
- package/dist/esm/models/LrsScope.js +47 -0
- package/dist/esm/models/LrsStatement.d.ts +112 -0
- package/dist/esm/models/LrsStatement.js +81 -0
- package/dist/esm/models/PostCourseExport.d.ts +2 -1
- package/dist/esm/models/PostCourseExport.js +2 -1
- package/dist/esm/models/PostCourseVersionItem.d.ts +1 -1
- package/dist/esm/models/PostDispatchCmi5Launch.d.ts +64 -0
- package/dist/esm/models/PostDispatchCmi5Launch.js +63 -0
- package/dist/esm/models/PostH5pStatement.d.ts +40 -0
- package/dist/esm/models/PostH5pStatement.js +47 -0
- package/dist/esm/models/PostLibraryQuiz.d.ts +21 -2
- package/dist/esm/models/PostLibraryQuiz.js +7 -0
- package/dist/esm/models/PostLrsCredential.d.ts +38 -0
- package/dist/esm/models/PostLrsCredential.js +47 -0
- package/dist/esm/models/PostLrsCredentialResponse.d.ts +45 -0
- package/dist/esm/models/PostLrsCredentialResponse.js +52 -0
- package/dist/esm/models/PostQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/esm/models/PostQuestionAnswerChoicesInner.js +2 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +1 -1
- package/dist/esm/models/PutLibraryQuizSessionQuestionFlag.d.ts +32 -0
- package/dist/esm/models/PutLibraryQuizSessionQuestionFlag.js +43 -0
- package/dist/esm/models/PutLibraryQuizVersion.d.ts +19 -0
- package/dist/esm/models/PutLibraryQuizVersion.js +7 -0
- package/dist/esm/models/PutLrsCredential.d.ts +38 -0
- package/dist/esm/models/PutLrsCredential.js +43 -0
- package/dist/esm/models/PutQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/esm/models/PutQuestionAnswerChoicesInner.js +2 -0
- package/dist/esm/models/PutQuizSettings.d.ts +44 -0
- package/dist/esm/models/PutQuizSettings.js +51 -0
- package/dist/esm/models/QuizFeedbackTiming.d.ts +25 -0
- package/dist/esm/models/QuizFeedbackTiming.js +43 -0
- package/dist/esm/models/ResourceType.d.ts +2 -0
- package/dist/esm/models/ResourceType.js +3 -1
- package/dist/esm/models/index.d.ts +19 -0
- package/dist/esm/models/index.js +19 -0
- package/dist/models/Cmi5Launch.d.ts +52 -0
- package/dist/models/Cmi5Launch.js +66 -0
- package/dist/models/DeleteLrsUserRecordsResponse.d.ts +38 -0
- package/dist/models/DeleteLrsUserRecordsResponse.js +54 -0
- package/dist/models/GetAttemptAllowance.d.ts +9 -3
- package/dist/models/GetAttemptAllowance.js +4 -0
- package/dist/models/GetCourseExport.d.ts +2 -1
- package/dist/models/GetCourseExport.js +2 -1
- package/dist/models/GetCourseVersionItem.d.ts +1 -1
- package/dist/models/GetLibraryQuizResult.d.ts +30 -0
- package/dist/models/GetLibraryQuizResult.js +20 -0
- package/dist/models/GetLibraryQuizSession.d.ts +43 -0
- package/dist/models/GetLibraryQuizSession.js +27 -0
- package/dist/models/GetLibraryQuizVersion.d.ts +19 -0
- package/dist/models/GetLibraryQuizVersion.js +13 -0
- package/dist/models/GetLrsCredentials.d.ts +46 -0
- package/dist/models/GetLrsCredentials.js +60 -0
- package/dist/models/GetLrsStatementList.d.ts +57 -0
- package/dist/models/GetLrsStatementList.js +67 -0
- package/dist/models/GetQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/models/GetQuestionAnswerChoicesInner.js +4 -0
- package/dist/models/GetQuizSettings.d.ts +56 -0
- package/dist/models/GetQuizSettings.js +64 -0
- package/dist/models/GetResourceSessionActivity.d.ts +2 -1
- package/dist/models/GetResourceSessionActivity.js +2 -1
- package/dist/models/H5pState.d.ts +34 -0
- package/dist/models/H5pState.js +50 -0
- package/dist/models/H5pStatementResult.d.ts +44 -0
- package/dist/models/H5pStatementResult.js +56 -0
- package/dist/models/HostedScormAccessPolicy.d.ts +1 -1
- package/dist/models/HostedScormOutlineEntry.d.ts +1 -1
- package/dist/models/LibraryQuizQuestionFeedback.d.ts +78 -0
- package/dist/models/LibraryQuizQuestionFeedback.js +74 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.d.ts +6 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.js +2 -0
- package/dist/models/LibraryQuizSessionQuestion.d.ts +19 -0
- package/dist/models/LibraryQuizSessionQuestion.js +11 -0
- package/dist/models/LrsCredential.d.ts +74 -0
- package/dist/models/LrsCredential.js +74 -0
- package/dist/models/LrsScope.d.ts +38 -0
- package/dist/models/LrsScope.js +54 -0
- package/dist/models/LrsStatement.d.ts +112 -0
- package/dist/models/LrsStatement.js +88 -0
- package/dist/models/PostCourseExport.d.ts +2 -1
- package/dist/models/PostCourseExport.js +2 -1
- package/dist/models/PostCourseVersionItem.d.ts +1 -1
- package/dist/models/PostDispatchCmi5Launch.d.ts +64 -0
- package/dist/models/PostDispatchCmi5Launch.js +70 -0
- package/dist/models/PostH5pStatement.d.ts +40 -0
- package/dist/models/PostH5pStatement.js +54 -0
- package/dist/models/PostLibraryQuiz.d.ts +21 -2
- package/dist/models/PostLibraryQuiz.js +7 -0
- package/dist/models/PostLrsCredential.d.ts +38 -0
- package/dist/models/PostLrsCredential.js +54 -0
- package/dist/models/PostLrsCredentialResponse.d.ts +45 -0
- package/dist/models/PostLrsCredentialResponse.js +59 -0
- package/dist/models/PostQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/models/PostQuestionAnswerChoicesInner.js +2 -0
- package/dist/models/PutCourseVersionItem.d.ts +1 -1
- package/dist/models/PutLibraryQuizSessionQuestionFlag.d.ts +32 -0
- package/dist/models/PutLibraryQuizSessionQuestionFlag.js +50 -0
- package/dist/models/PutLibraryQuizVersion.d.ts +19 -0
- package/dist/models/PutLibraryQuizVersion.js +7 -0
- package/dist/models/PutLrsCredential.d.ts +38 -0
- package/dist/models/PutLrsCredential.js +50 -0
- package/dist/models/PutQuestionAnswerChoicesInner.d.ts +6 -0
- package/dist/models/PutQuestionAnswerChoicesInner.js +2 -0
- package/dist/models/PutQuizSettings.d.ts +44 -0
- package/dist/models/PutQuizSettings.js +58 -0
- package/dist/models/QuizFeedbackTiming.d.ts +25 -0
- package/dist/models/QuizFeedbackTiming.js +51 -0
- package/dist/models/ResourceType.d.ts +2 -0
- package/dist/models/ResourceType.js +3 -1
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/docs/Cmi5Launch.md +39 -0
- package/docs/ContentLibraryApi.md +2 -2
- package/docs/ContentLibraryQuizApi.md +343 -0
- package/docs/DeleteLrsUserRecordsResponse.md +37 -0
- package/docs/DispatchApi.md +287 -0
- package/docs/GetAttemptAllowance.md +2 -0
- package/docs/GetLibraryQuizResult.md +10 -0
- package/docs/GetLibraryQuizSession.md +14 -0
- package/docs/GetLibraryQuizVersion.md +6 -0
- package/docs/GetLrsCredentials.md +38 -0
- package/docs/GetLrsStatementList.md +42 -0
- package/docs/GetQuestionAnswerChoicesInner.md +2 -0
- package/docs/GetQuizSettings.md +43 -0
- package/docs/H5pState.md +35 -0
- package/docs/H5pStatementResult.md +39 -0
- package/docs/LRSApi.md +531 -0
- package/docs/LibraryQuizQuestionFeedback.md +47 -0
- package/docs/LibraryQuizSessionAnswerChoice.md +2 -0
- package/docs/LibraryQuizSessionQuestion.md +6 -0
- package/docs/LrsCredential.md +49 -0
- package/docs/LrsScope.md +37 -0
- package/docs/LrsStatement.md +61 -0
- package/docs/PlayerApi.md +286 -1
- package/docs/PostDispatchCmi5Launch.md +45 -0
- package/docs/PostH5pStatement.md +37 -0
- package/docs/PostLibraryQuiz.md +6 -0
- package/docs/PostLrsCredential.md +36 -0
- package/docs/PostLrsCredentialResponse.md +39 -0
- package/docs/PostQuestionAnswerChoicesInner.md +2 -0
- package/docs/PutLibraryQuizSessionQuestionFlag.md +34 -0
- package/docs/PutLibraryQuizVersion.md +6 -0
- package/docs/PutLrsCredential.md +36 -0
- package/docs/PutQuestionAnswerChoicesInner.md +2 -0
- package/docs/PutQuizSettings.md +38 -0
- package/docs/QuizFeedbackTiming.md +33 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryQuizApi.ts +287 -0
- package/src/apis/DispatchApi.ts +243 -0
- package/src/apis/LRSApi.ts +486 -0
- package/src/apis/PlayerApi.ts +250 -0
- package/src/apis/index.ts +1 -0
- package/src/models/Cmi5Launch.ts +95 -0
- package/src/models/DeleteLrsUserRecordsResponse.ts +75 -0
- package/src/models/GetAttemptAllowance.ts +12 -3
- package/src/models/GetCourseExport.ts +3 -2
- package/src/models/GetCourseVersionItem.ts +1 -1
- package/src/models/GetLibraryQuizResult.ts +45 -0
- package/src/models/GetLibraryQuizSession.ts +69 -0
- package/src/models/GetLibraryQuizVersion.ts +34 -0
- package/src/models/GetLrsCredentials.ts +99 -0
- package/src/models/GetLrsStatementList.ts +110 -0
- package/src/models/GetQuestionAnswerChoicesInner.ts +9 -0
- package/src/models/GetQuizSettings.ts +101 -0
- package/src/models/GetResourceSessionActivity.ts +3 -2
- package/src/models/H5pState.ts +66 -0
- package/src/models/H5pStatementResult.ts +83 -0
- package/src/models/HostedScormAccessPolicy.ts +1 -1
- package/src/models/HostedScormOutlineEntry.ts +1 -1
- package/src/models/LibraryQuizQuestionFeedback.ts +135 -0
- package/src/models/LibraryQuizSessionAnswerChoice.ts +8 -0
- package/src/models/LibraryQuizSessionQuestion.ts +33 -0
- package/src/models/LrsCredential.ts +127 -0
- package/src/models/LrsScope.ts +75 -0
- package/src/models/LrsStatement.ts +176 -0
- package/src/models/PostCourseExport.ts +3 -2
- package/src/models/PostCourseVersionItem.ts +1 -1
- package/src/models/PostDispatchCmi5Launch.ts +111 -0
- package/src/models/PostH5pStatement.ts +75 -0
- package/src/models/PostLibraryQuiz.ts +33 -2
- package/src/models/PostLrsCredential.ts +75 -0
- package/src/models/PostLrsCredentialResponse.ts +92 -0
- package/src/models/PostQuestionAnswerChoicesInner.ts +8 -0
- package/src/models/PutCourseVersionItem.ts +1 -1
- package/src/models/PutLibraryQuizSessionQuestionFlag.ts +66 -0
- package/src/models/PutLibraryQuizVersion.ts +31 -0
- package/src/models/PutLrsCredential.ts +73 -0
- package/src/models/PutQuestionAnswerChoicesInner.ts +8 -0
- package/src/models/PutQuizSettings.ts +84 -0
- package/src/models/QuizFeedbackTiming.ts +53 -0
- package/src/models/ResourceType.ts +3 -1
- package/src/models/index.ts +19 -0
|
@@ -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 PutLibraryQuizSessionQuestionFlag interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutLibraryQuizSessionQuestionFlag(value) {
|
|
18
|
+
if (!('flagged' in value) || value['flagged'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PutLibraryQuizSessionQuestionFlagFromJSON(json) {
|
|
23
|
+
return PutLibraryQuizSessionQuestionFlagFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PutLibraryQuizSessionQuestionFlagFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'flagged': json['flagged'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PutLibraryQuizSessionQuestionFlagToJSON(json) {
|
|
34
|
+
return PutLibraryQuizSessionQuestionFlagToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PutLibraryQuizSessionQuestionFlagToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'flagged': value['flagged'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { QuestionSelectionMethod } from './QuestionSelectionMethod';
|
|
13
|
+
import type { QuizFeedbackTiming } from './QuizFeedbackTiming';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -82,6 +83,24 @@ export interface PutLibraryQuizVersion {
|
|
|
82
83
|
* @memberof PutLibraryQuizVersion
|
|
83
84
|
*/
|
|
84
85
|
requireAllQuestions?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Default number of attempts for this quiz. Zero means unlimited. The value is copied to a course placement when the quiz is added to a course, where it can be overridden.
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof PutLibraryQuizVersion
|
|
90
|
+
*/
|
|
91
|
+
maxAttempts?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Show each question's explanation alongside the learner's feedback.
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof PutLibraryQuizVersion
|
|
96
|
+
*/
|
|
97
|
+
showExplanations?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {QuizFeedbackTiming}
|
|
101
|
+
* @memberof PutLibraryQuizVersion
|
|
102
|
+
*/
|
|
103
|
+
feedbackTiming?: QuizFeedbackTiming;
|
|
85
104
|
/**
|
|
86
105
|
*
|
|
87
106
|
* @type {{ [key: string]: any; }}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { QuestionSelectionMethodFromJSON, QuestionSelectionMethodToJSON, } from './QuestionSelectionMethod';
|
|
15
|
+
import { QuizFeedbackTimingFromJSON, QuizFeedbackTimingToJSON, } from './QuizFeedbackTiming';
|
|
15
16
|
/**
|
|
16
17
|
* Check if a given object implements the PutLibraryQuizVersion interface.
|
|
17
18
|
*/
|
|
@@ -37,6 +38,9 @@ export function PutLibraryQuizVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'showCorrectAnswers': json['show_correct_answers'] == null ? undefined : json['show_correct_answers'],
|
|
38
39
|
'allowReview': json['allow_review'] == null ? undefined : json['allow_review'],
|
|
39
40
|
'requireAllQuestions': json['require_all_questions'] == null ? undefined : json['require_all_questions'],
|
|
41
|
+
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
42
|
+
'showExplanations': json['show_explanations'] == null ? undefined : json['show_explanations'],
|
|
43
|
+
'feedbackTiming': json['feedback_timing'] == null ? undefined : QuizFeedbackTimingFromJSON(json['feedback_timing']),
|
|
40
44
|
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
41
45
|
};
|
|
42
46
|
}
|
|
@@ -59,6 +63,9 @@ export function PutLibraryQuizVersionToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
59
63
|
'show_correct_answers': value['showCorrectAnswers'],
|
|
60
64
|
'allow_review': value['allowReview'],
|
|
61
65
|
'require_all_questions': value['requireAllQuestions'],
|
|
66
|
+
'max_attempts': value['maxAttempts'],
|
|
67
|
+
'show_explanations': value['showExplanations'],
|
|
68
|
+
'feedback_timing': QuizFeedbackTimingToJSON(value['feedbackTiming']),
|
|
62
69
|
'settings': value['settings'],
|
|
63
70
|
};
|
|
64
71
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 PutLrsCredential
|
|
16
|
+
*/
|
|
17
|
+
export interface PutLrsCredential {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutLrsCredential
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Set<string>}
|
|
27
|
+
* @memberof PutLrsCredential
|
|
28
|
+
*/
|
|
29
|
+
scopes?: Set<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutLrsCredential interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutLrsCredential(value: object): value is PutLrsCredential;
|
|
35
|
+
export declare function PutLrsCredentialFromJSON(json: any): PutLrsCredential;
|
|
36
|
+
export declare function PutLrsCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLrsCredential;
|
|
37
|
+
export declare function PutLrsCredentialToJSON(json: any): PutLrsCredential;
|
|
38
|
+
export declare function PutLrsCredentialToJSONTyped(value?: PutLrsCredential | 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 PutLrsCredential interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutLrsCredential(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutLrsCredentialFromJSON(json) {
|
|
21
|
+
return PutLrsCredentialFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutLrsCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'scopes': json['scopes'] == null ? undefined : new Set(json['scopes']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PutLrsCredentialToJSON(json) {
|
|
33
|
+
return PutLrsCredentialToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PutLrsCredentialToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'scopes': value['scopes'] == null ? undefined : Array.from(value['scopes']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -34,6 +34,12 @@ export interface PutQuestionAnswerChoicesInner {
|
|
|
34
34
|
* @memberof PutQuestionAnswerChoicesInner
|
|
35
35
|
*/
|
|
36
36
|
isCorrect: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Keep this answer in its authored position when a quiz randomizes answers.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PutQuestionAnswerChoicesInner
|
|
41
|
+
*/
|
|
42
|
+
lockPosition?: boolean;
|
|
37
43
|
}
|
|
38
44
|
/**
|
|
39
45
|
* Check if a given object implements the PutQuestionAnswerChoicesInner interface.
|
|
@@ -33,6 +33,7 @@ export function PutQuestionAnswerChoicesInnerFromJSONTyped(json, ignoreDiscrimin
|
|
|
33
33
|
'id': json['id'] == null ? undefined : json['id'],
|
|
34
34
|
'text': RichTextInputFromJSON(json['text']),
|
|
35
35
|
'isCorrect': json['is_correct'],
|
|
36
|
+
'lockPosition': json['lock_position'] == null ? undefined : json['lock_position'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function PutQuestionAnswerChoicesInnerToJSON(json) {
|
|
@@ -46,5 +47,6 @@ export function PutQuestionAnswerChoicesInnerToJSONTyped(value, ignoreDiscrimina
|
|
|
46
47
|
'id': value['id'],
|
|
47
48
|
'text': RichTextInputToJSON(value['text']),
|
|
48
49
|
'is_correct': value['isCorrect'],
|
|
50
|
+
'lock_position': value['lockPosition'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 PutQuizSettings
|
|
16
|
+
*/
|
|
17
|
+
export interface PutQuizSettings {
|
|
18
|
+
/**
|
|
19
|
+
* Attempt limit copied into each new quiz. Zero means unlimited.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PutQuizSettings
|
|
22
|
+
*/
|
|
23
|
+
defaultMaxAttempts: number;
|
|
24
|
+
/**
|
|
25
|
+
* Time limit copied into each new quiz. Null means no time limit.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PutQuizSettings
|
|
28
|
+
*/
|
|
29
|
+
defaultTimeLimitMinutes: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Passing score copied into each new quiz.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PutQuizSettings
|
|
34
|
+
*/
|
|
35
|
+
defaultPassingScore: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PutQuizSettings interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPutQuizSettings(value: object): value is PutQuizSettings;
|
|
41
|
+
export declare function PutQuizSettingsFromJSON(json: any): PutQuizSettings;
|
|
42
|
+
export declare function PutQuizSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutQuizSettings;
|
|
43
|
+
export declare function PutQuizSettingsToJSON(json: any): PutQuizSettings;
|
|
44
|
+
export declare function PutQuizSettingsToJSONTyped(value?: PutQuizSettings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 PutQuizSettings interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutQuizSettings(value) {
|
|
18
|
+
if (!('defaultMaxAttempts' in value) || value['defaultMaxAttempts'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('defaultTimeLimitMinutes' in value) || value['defaultTimeLimitMinutes'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('defaultPassingScore' in value) || value['defaultPassingScore'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PutQuizSettingsFromJSON(json) {
|
|
27
|
+
return PutQuizSettingsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PutQuizSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'defaultMaxAttempts': json['default_max_attempts'],
|
|
35
|
+
'defaultTimeLimitMinutes': json['default_time_limit_minutes'],
|
|
36
|
+
'defaultPassingScore': json['default_passing_score'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function PutQuizSettingsToJSON(json) {
|
|
40
|
+
return PutQuizSettingsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PutQuizSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'default_max_attempts': value['defaultMaxAttempts'],
|
|
48
|
+
'default_time_limit_minutes': value['defaultTimeLimitMinutes'],
|
|
49
|
+
'default_passing_score': value['defaultPassingScore'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* When learners see feedback. `after_submission` shows it once the whole attempt is submitted. `after_each_question` lets the learner check each answer as they go; a checked answer is locked and can no longer be changed.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const QuizFeedbackTiming: {
|
|
17
|
+
readonly AfterSubmission: "after_submission";
|
|
18
|
+
readonly AfterEachQuestion: "after_each_question";
|
|
19
|
+
};
|
|
20
|
+
export type QuizFeedbackTiming = typeof QuizFeedbackTiming[keyof typeof QuizFeedbackTiming];
|
|
21
|
+
export declare function instanceOfQuizFeedbackTiming(value: any): boolean;
|
|
22
|
+
export declare function QuizFeedbackTimingFromJSON(json: any): QuizFeedbackTiming;
|
|
23
|
+
export declare function QuizFeedbackTimingFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuizFeedbackTiming;
|
|
24
|
+
export declare function QuizFeedbackTimingToJSON(value?: QuizFeedbackTiming | null): any;
|
|
25
|
+
export declare function QuizFeedbackTimingToJSONTyped(value: any, ignoreDiscriminator: boolean): QuizFeedbackTiming;
|
|
@@ -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
|
+
* When learners see feedback. `after_submission` shows it once the whole attempt is submitted. `after_each_question` lets the learner check each answer as they go; a checked answer is locked and can no longer be changed.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const QuizFeedbackTiming = {
|
|
19
|
+
AfterSubmission: 'after_submission',
|
|
20
|
+
AfterEachQuestion: 'after_each_question'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfQuizFeedbackTiming(value) {
|
|
23
|
+
for (const key in QuizFeedbackTiming) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(QuizFeedbackTiming, key)) {
|
|
25
|
+
if (QuizFeedbackTiming[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function QuizFeedbackTimingFromJSON(json) {
|
|
33
|
+
return QuizFeedbackTimingFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function QuizFeedbackTimingFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function QuizFeedbackTimingToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function QuizFeedbackTimingToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -23,6 +23,8 @@ export declare const ResourceType: {
|
|
|
23
23
|
readonly File: "file";
|
|
24
24
|
readonly Link: "link";
|
|
25
25
|
readonly RichText: "rich_text";
|
|
26
|
+
readonly Cmi5: "cmi5";
|
|
27
|
+
readonly H5p: "h5p";
|
|
26
28
|
};
|
|
27
29
|
export type ResourceType = typeof ResourceType[keyof typeof ResourceType];
|
|
28
30
|
export declare function instanceOfResourceType(value: any): boolean;
|
|
@@ -24,7 +24,9 @@ export const ResourceType = {
|
|
|
24
24
|
Powerpoint: 'powerpoint',
|
|
25
25
|
File: 'file',
|
|
26
26
|
Link: 'link',
|
|
27
|
-
RichText: 'rich_text'
|
|
27
|
+
RichText: 'rich_text',
|
|
28
|
+
Cmi5: 'cmi5',
|
|
29
|
+
H5p: 'h5p'
|
|
28
30
|
};
|
|
29
31
|
export function instanceOfResourceType(value) {
|
|
30
32
|
for (const key in ResourceType) {
|
|
@@ -32,6 +32,7 @@ export * from './ChatQuotaExceeded';
|
|
|
32
32
|
export * from './ChatTurnUsage';
|
|
33
33
|
export * from './ChatUsageTotals';
|
|
34
34
|
export * from './ChatUserIdentity';
|
|
35
|
+
export * from './Cmi5Launch';
|
|
35
36
|
export * from './ContentLaunchMode';
|
|
36
37
|
export * from './ContentLibraryTag';
|
|
37
38
|
export * from './ContentLibraryTagItem';
|
|
@@ -41,6 +42,7 @@ export * from './CourseProgressionMode';
|
|
|
41
42
|
export * from './CourseShare';
|
|
42
43
|
export * from './CourseShareAcceptError';
|
|
43
44
|
export * from './CustomWebhookIntegration';
|
|
45
|
+
export * from './DeleteLrsUserRecordsResponse';
|
|
44
46
|
export * from './DispatchTokenResponse';
|
|
45
47
|
export * from './EffectiveCertificateConfig';
|
|
46
48
|
export * from './EmailTemplateDefinition';
|
|
@@ -113,6 +115,8 @@ export * from './GetLibraryQuizSession';
|
|
|
113
115
|
export * from './GetLibraryQuizSessionList';
|
|
114
116
|
export * from './GetLibraryQuizUsage';
|
|
115
117
|
export * from './GetLibraryQuizVersion';
|
|
118
|
+
export * from './GetLrsCredentials';
|
|
119
|
+
export * from './GetLrsStatementList';
|
|
116
120
|
export * from './GetPermission';
|
|
117
121
|
export * from './GetPortal';
|
|
118
122
|
export * from './GetPortalFaviconUpload';
|
|
@@ -135,6 +139,7 @@ export * from './GetQuestionAnswerChoicesInner';
|
|
|
135
139
|
export * from './GetQuestionList';
|
|
136
140
|
export * from './GetQuestionListFilters';
|
|
137
141
|
export * from './GetQuestionQuizzesInner';
|
|
142
|
+
export * from './GetQuizSettings';
|
|
138
143
|
export * from './GetReportCatalog';
|
|
139
144
|
export * from './GetReportQueryResult';
|
|
140
145
|
export * from './GetResource';
|
|
@@ -182,6 +187,8 @@ export * from './GetZapierMe';
|
|
|
182
187
|
export * from './GetZapierSetup';
|
|
183
188
|
export * from './GetZapierShopifyCourseMappings';
|
|
184
189
|
export * from './GetZapierUsers';
|
|
190
|
+
export * from './H5pState';
|
|
191
|
+
export * from './H5pStatementResult';
|
|
185
192
|
export * from './HostedScormAccessPolicy';
|
|
186
193
|
export * from './HostedScormOutlineEntry';
|
|
187
194
|
export * from './HostedScormRollupPolicy';
|
|
@@ -200,6 +207,7 @@ export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
|
200
207
|
export * from './LibraryQuizCriterion';
|
|
201
208
|
export * from './LibraryQuizCriterionPreview';
|
|
202
209
|
export * from './LibraryQuizQuestion';
|
|
210
|
+
export * from './LibraryQuizQuestionFeedback';
|
|
203
211
|
export * from './LibraryQuizQuestionInput';
|
|
204
212
|
export * from './LibraryQuizSessionAnswerChoice';
|
|
205
213
|
export * from './LibraryQuizSessionQuestion';
|
|
@@ -207,6 +215,9 @@ export * from './LoginRes';
|
|
|
207
215
|
export * from './LoginResAuthData';
|
|
208
216
|
export * from './LoginResUserData';
|
|
209
217
|
export * from './LoginResUserDataSelectedPortal';
|
|
218
|
+
export * from './LrsCredential';
|
|
219
|
+
export * from './LrsScope';
|
|
220
|
+
export * from './LrsStatement';
|
|
210
221
|
export * from './Paginated';
|
|
211
222
|
export * from './PortalBrandColorsV1';
|
|
212
223
|
export * from './PortalBrandThemeV1';
|
|
@@ -249,6 +260,7 @@ export * from './PostCourseVersionSectionDuplicate';
|
|
|
249
260
|
export * from './PostCustomWebhookIntegration';
|
|
250
261
|
export * from './PostDemoRequest';
|
|
251
262
|
export * from './PostDemoRequestResponse';
|
|
263
|
+
export * from './PostDispatchCmi5Launch';
|
|
252
264
|
export * from './PostDispatchItemLaunch';
|
|
253
265
|
export * from './PostDispatchItemLaunchResponse';
|
|
254
266
|
export * from './PostDispatchLaunch';
|
|
@@ -259,11 +271,14 @@ export * from './PostEmailAssetComplete';
|
|
|
259
271
|
export * from './PostEmailAssetUpload';
|
|
260
272
|
export * from './PostEmailTemplatePreview';
|
|
261
273
|
export * from './PostEmailTemplateTestSend';
|
|
274
|
+
export * from './PostH5pStatement';
|
|
262
275
|
export * from './PostLearnerExperiencePreview';
|
|
263
276
|
export * from './PostLibraryQuiz';
|
|
264
277
|
export * from './PostLibraryQuizSession';
|
|
265
278
|
export * from './PostLibraryQuizVersion';
|
|
266
279
|
export * from './PostLogin';
|
|
280
|
+
export * from './PostLrsCredential';
|
|
281
|
+
export * from './PostLrsCredentialResponse';
|
|
267
282
|
export * from './PostMessage';
|
|
268
283
|
export * from './PostMessageResponse';
|
|
269
284
|
export * from './PostOfferCatalog';
|
|
@@ -336,7 +351,9 @@ export * from './PutLibraryQuizQuestions';
|
|
|
336
351
|
export * from './PutLibraryQuizSessionAnswer';
|
|
337
352
|
export * from './PutLibraryQuizSessionGrade';
|
|
338
353
|
export * from './PutLibraryQuizSessionOverride';
|
|
354
|
+
export * from './PutLibraryQuizSessionQuestionFlag';
|
|
339
355
|
export * from './PutLibraryQuizVersion';
|
|
356
|
+
export * from './PutLrsCredential';
|
|
340
357
|
export * from './PutPortalBranding';
|
|
341
358
|
export * from './PutPortalCertificateTemplate';
|
|
342
359
|
export * from './PutPortalSublicense';
|
|
@@ -344,6 +361,7 @@ export * from './PutPortalUser';
|
|
|
344
361
|
export * from './PutPortalUserFieldValues';
|
|
345
362
|
export * from './PutQuestion';
|
|
346
363
|
export * from './PutQuestionAnswerChoicesInner';
|
|
364
|
+
export * from './PutQuizSettings';
|
|
347
365
|
export * from './PutResource';
|
|
348
366
|
export * from './PutResourceSessionOverride';
|
|
349
367
|
export * from './PutResourceVersion';
|
|
@@ -360,6 +378,7 @@ export * from './QuestionImportPreviewImage';
|
|
|
360
378
|
export * from './QuestionImportSource';
|
|
361
379
|
export * from './QuestionImportSourceSummary';
|
|
362
380
|
export * from './QuestionSelectionMethod';
|
|
381
|
+
export * from './QuizFeedbackTiming';
|
|
363
382
|
export * from './ReportCategory';
|
|
364
383
|
export * from './ReportColumn';
|
|
365
384
|
export * from './ReportDefinition';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -34,6 +34,7 @@ export * from './ChatQuotaExceeded';
|
|
|
34
34
|
export * from './ChatTurnUsage';
|
|
35
35
|
export * from './ChatUsageTotals';
|
|
36
36
|
export * from './ChatUserIdentity';
|
|
37
|
+
export * from './Cmi5Launch';
|
|
37
38
|
export * from './ContentLaunchMode';
|
|
38
39
|
export * from './ContentLibraryTag';
|
|
39
40
|
export * from './ContentLibraryTagItem';
|
|
@@ -43,6 +44,7 @@ export * from './CourseProgressionMode';
|
|
|
43
44
|
export * from './CourseShare';
|
|
44
45
|
export * from './CourseShareAcceptError';
|
|
45
46
|
export * from './CustomWebhookIntegration';
|
|
47
|
+
export * from './DeleteLrsUserRecordsResponse';
|
|
46
48
|
export * from './DispatchTokenResponse';
|
|
47
49
|
export * from './EffectiveCertificateConfig';
|
|
48
50
|
export * from './EmailTemplateDefinition';
|
|
@@ -115,6 +117,8 @@ export * from './GetLibraryQuizSession';
|
|
|
115
117
|
export * from './GetLibraryQuizSessionList';
|
|
116
118
|
export * from './GetLibraryQuizUsage';
|
|
117
119
|
export * from './GetLibraryQuizVersion';
|
|
120
|
+
export * from './GetLrsCredentials';
|
|
121
|
+
export * from './GetLrsStatementList';
|
|
118
122
|
export * from './GetPermission';
|
|
119
123
|
export * from './GetPortal';
|
|
120
124
|
export * from './GetPortalFaviconUpload';
|
|
@@ -137,6 +141,7 @@ export * from './GetQuestionAnswerChoicesInner';
|
|
|
137
141
|
export * from './GetQuestionList';
|
|
138
142
|
export * from './GetQuestionListFilters';
|
|
139
143
|
export * from './GetQuestionQuizzesInner';
|
|
144
|
+
export * from './GetQuizSettings';
|
|
140
145
|
export * from './GetReportCatalog';
|
|
141
146
|
export * from './GetReportQueryResult';
|
|
142
147
|
export * from './GetResource';
|
|
@@ -184,6 +189,8 @@ export * from './GetZapierMe';
|
|
|
184
189
|
export * from './GetZapierSetup';
|
|
185
190
|
export * from './GetZapierShopifyCourseMappings';
|
|
186
191
|
export * from './GetZapierUsers';
|
|
192
|
+
export * from './H5pState';
|
|
193
|
+
export * from './H5pStatementResult';
|
|
187
194
|
export * from './HostedScormAccessPolicy';
|
|
188
195
|
export * from './HostedScormOutlineEntry';
|
|
189
196
|
export * from './HostedScormRollupPolicy';
|
|
@@ -202,6 +209,7 @@ export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
|
202
209
|
export * from './LibraryQuizCriterion';
|
|
203
210
|
export * from './LibraryQuizCriterionPreview';
|
|
204
211
|
export * from './LibraryQuizQuestion';
|
|
212
|
+
export * from './LibraryQuizQuestionFeedback';
|
|
205
213
|
export * from './LibraryQuizQuestionInput';
|
|
206
214
|
export * from './LibraryQuizSessionAnswerChoice';
|
|
207
215
|
export * from './LibraryQuizSessionQuestion';
|
|
@@ -209,6 +217,9 @@ export * from './LoginRes';
|
|
|
209
217
|
export * from './LoginResAuthData';
|
|
210
218
|
export * from './LoginResUserData';
|
|
211
219
|
export * from './LoginResUserDataSelectedPortal';
|
|
220
|
+
export * from './LrsCredential';
|
|
221
|
+
export * from './LrsScope';
|
|
222
|
+
export * from './LrsStatement';
|
|
212
223
|
export * from './Paginated';
|
|
213
224
|
export * from './PortalBrandColorsV1';
|
|
214
225
|
export * from './PortalBrandThemeV1';
|
|
@@ -251,6 +262,7 @@ export * from './PostCourseVersionSectionDuplicate';
|
|
|
251
262
|
export * from './PostCustomWebhookIntegration';
|
|
252
263
|
export * from './PostDemoRequest';
|
|
253
264
|
export * from './PostDemoRequestResponse';
|
|
265
|
+
export * from './PostDispatchCmi5Launch';
|
|
254
266
|
export * from './PostDispatchItemLaunch';
|
|
255
267
|
export * from './PostDispatchItemLaunchResponse';
|
|
256
268
|
export * from './PostDispatchLaunch';
|
|
@@ -261,11 +273,14 @@ export * from './PostEmailAssetComplete';
|
|
|
261
273
|
export * from './PostEmailAssetUpload';
|
|
262
274
|
export * from './PostEmailTemplatePreview';
|
|
263
275
|
export * from './PostEmailTemplateTestSend';
|
|
276
|
+
export * from './PostH5pStatement';
|
|
264
277
|
export * from './PostLearnerExperiencePreview';
|
|
265
278
|
export * from './PostLibraryQuiz';
|
|
266
279
|
export * from './PostLibraryQuizSession';
|
|
267
280
|
export * from './PostLibraryQuizVersion';
|
|
268
281
|
export * from './PostLogin';
|
|
282
|
+
export * from './PostLrsCredential';
|
|
283
|
+
export * from './PostLrsCredentialResponse';
|
|
269
284
|
export * from './PostMessage';
|
|
270
285
|
export * from './PostMessageResponse';
|
|
271
286
|
export * from './PostOfferCatalog';
|
|
@@ -338,7 +353,9 @@ export * from './PutLibraryQuizQuestions';
|
|
|
338
353
|
export * from './PutLibraryQuizSessionAnswer';
|
|
339
354
|
export * from './PutLibraryQuizSessionGrade';
|
|
340
355
|
export * from './PutLibraryQuizSessionOverride';
|
|
356
|
+
export * from './PutLibraryQuizSessionQuestionFlag';
|
|
341
357
|
export * from './PutLibraryQuizVersion';
|
|
358
|
+
export * from './PutLrsCredential';
|
|
342
359
|
export * from './PutPortalBranding';
|
|
343
360
|
export * from './PutPortalCertificateTemplate';
|
|
344
361
|
export * from './PutPortalSublicense';
|
|
@@ -346,6 +363,7 @@ export * from './PutPortalUser';
|
|
|
346
363
|
export * from './PutPortalUserFieldValues';
|
|
347
364
|
export * from './PutQuestion';
|
|
348
365
|
export * from './PutQuestionAnswerChoicesInner';
|
|
366
|
+
export * from './PutQuizSettings';
|
|
349
367
|
export * from './PutResource';
|
|
350
368
|
export * from './PutResourceSessionOverride';
|
|
351
369
|
export * from './PutResourceVersion';
|
|
@@ -362,6 +380,7 @@ export * from './QuestionImportPreviewImage';
|
|
|
362
380
|
export * from './QuestionImportSource';
|
|
363
381
|
export * from './QuestionImportSourceSummary';
|
|
364
382
|
export * from './QuestionSelectionMethod';
|
|
383
|
+
export * from './QuizFeedbackTiming';
|
|
365
384
|
export * from './ReportCategory';
|
|
366
385
|
export * from './ReportColumn';
|
|
367
386
|
export * from './ReportDefinition';
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
* A launch of one cmi5 Assignable Unit within a resource session.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Cmi5Launch
|
|
16
|
+
*/
|
|
17
|
+
export interface Cmi5Launch {
|
|
18
|
+
/**
|
|
19
|
+
* The cmi5 session id of this launch.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Cmi5Launch
|
|
22
|
+
*/
|
|
23
|
+
sessionId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The Assignable Unit's URL with the cmi5 launch parameters appended.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Cmi5Launch
|
|
28
|
+
*/
|
|
29
|
+
launchUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
* OwnWindow content must be opened in a new window rather than a frame.
|
|
32
|
+
* @type {Cmi5LaunchLaunchMethodEnum}
|
|
33
|
+
* @memberof Cmi5Launch
|
|
34
|
+
*/
|
|
35
|
+
launchMethod: Cmi5LaunchLaunchMethodEnum;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export declare const Cmi5LaunchLaunchMethodEnum: {
|
|
41
|
+
readonly AnyWindow: "AnyWindow";
|
|
42
|
+
readonly OwnWindow: "OwnWindow";
|
|
43
|
+
};
|
|
44
|
+
export type Cmi5LaunchLaunchMethodEnum = typeof Cmi5LaunchLaunchMethodEnum[keyof typeof Cmi5LaunchLaunchMethodEnum];
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the Cmi5Launch interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfCmi5Launch(value: object): value is Cmi5Launch;
|
|
49
|
+
export declare function Cmi5LaunchFromJSON(json: any): Cmi5Launch;
|
|
50
|
+
export declare function Cmi5LaunchFromJSONTyped(json: any, ignoreDiscriminator: boolean): Cmi5Launch;
|
|
51
|
+
export declare function Cmi5LaunchToJSON(json: any): Cmi5Launch;
|
|
52
|
+
export declare function Cmi5LaunchToJSONTyped(value?: Cmi5Launch | null, ignoreDiscriminator?: boolean): any;
|