@easyedu/js-lsm-api 1.90.0 → 1.92.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 +70 -0
- package/README.md +65 -2
- package/dist/apis/ContentLibraryQuizApi.d.ts +451 -0
- package/dist/apis/ContentLibraryQuizApi.js +1162 -0
- package/dist/apis/PlayerApi.d.ts +130 -1
- package/dist/apis/PlayerApi.js +257 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +451 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +1158 -0
- package/dist/esm/apis/PlayerApi.d.ts +130 -1
- package/dist/esm/apis/PlayerApi.js +256 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +14 -0
- package/dist/esm/models/GetCourseVersionItem.js +9 -0
- package/dist/esm/models/GetLibraryQuiz.d.ts +124 -0
- package/dist/esm/models/GetLibraryQuiz.js +100 -0
- package/dist/esm/models/GetLibraryQuizAnalytics.d.ts +68 -0
- package/dist/esm/models/GetLibraryQuizAnalytics.js +67 -0
- package/dist/esm/models/GetLibraryQuizList.d.ts +57 -0
- package/dist/esm/models/GetLibraryQuizList.js +60 -0
- package/dist/esm/models/GetLibraryQuizResult.d.ts +94 -0
- package/dist/esm/models/GetLibraryQuizResult.js +79 -0
- package/dist/esm/models/GetLibraryQuizSession.d.ts +177 -0
- package/dist/esm/models/GetLibraryQuizSession.js +129 -0
- package/dist/esm/models/GetLibraryQuizSessionList.d.ts +57 -0
- package/dist/esm/models/GetLibraryQuizSessionList.js +60 -0
- package/dist/esm/models/GetLibraryQuizUsage.d.ts +56 -0
- package/dist/esm/models/GetLibraryQuizUsage.js +59 -0
- package/dist/esm/models/GetLibraryQuizVersion.d.ts +170 -0
- package/dist/esm/models/GetLibraryQuizVersion.js +125 -0
- package/dist/esm/models/GetResourceSession.d.ts +30 -0
- package/dist/esm/models/GetResourceSession.js +16 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +76 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.js +69 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.js +76 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsResource.js +56 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.js +59 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsUser.js +47 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsVersion.js +67 -0
- package/dist/esm/models/GetResourceSessionScormApiLogs.d.ts +57 -0
- package/dist/esm/models/GetResourceSessionScormApiLogs.js +60 -0
- package/dist/esm/models/GetResourceSessionScormData.d.ts +77 -0
- package/dist/esm/models/GetResourceSessionScormData.js +66 -0
- package/dist/esm/models/GetResourceSessionScormDataActivity.d.ts +44 -0
- package/dist/esm/models/GetResourceSessionScormDataActivity.js +45 -0
- package/dist/esm/models/LibraryQuizCriterion.d.ts +95 -0
- package/dist/esm/models/LibraryQuizCriterion.js +76 -0
- package/dist/esm/models/LibraryQuizQuestion.d.ts +70 -0
- package/dist/esm/models/LibraryQuizQuestion.js +63 -0
- package/dist/esm/models/LibraryQuizQuestionInput.d.ts +50 -0
- package/dist/esm/models/LibraryQuizQuestionInput.js +51 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
- package/dist/esm/models/LibraryQuizSessionAnswerChoice.js +54 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.d.ts +96 -0
- package/dist/esm/models/LibraryQuizSessionQuestion.js +84 -0
- package/dist/esm/models/PostCourseLibraryQuizSession.d.ts +32 -0
- package/dist/esm/models/PostCourseLibraryQuizSession.js +41 -0
- package/dist/esm/models/PostLibraryQuiz.d.ts +107 -0
- package/dist/esm/models/PostLibraryQuiz.js +70 -0
- package/dist/esm/models/PostLibraryQuizSession.d.ts +32 -0
- package/dist/esm/models/PostLibraryQuizSession.js +41 -0
- package/dist/esm/models/PostLibraryQuizVersion.d.ts +32 -0
- package/dist/esm/models/PostLibraryQuizVersion.js +41 -0
- package/dist/esm/models/PutLibraryQuiz.d.ts +38 -0
- package/dist/esm/models/PutLibraryQuiz.js +43 -0
- package/dist/esm/models/PutLibraryQuizCriteria.d.ts +33 -0
- package/dist/esm/models/PutLibraryQuizCriteria.js +44 -0
- package/dist/esm/models/PutLibraryQuizQuestions.d.ts +33 -0
- package/dist/esm/models/PutLibraryQuizQuestions.js +44 -0
- package/dist/esm/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
- package/dist/esm/models/PutLibraryQuizSessionAnswer.js +45 -0
- package/dist/esm/models/PutLibraryQuizSessionGrade.d.ts +38 -0
- package/dist/esm/models/PutLibraryQuizSessionGrade.js +45 -0
- package/dist/esm/models/PutLibraryQuizVersion.d.ts +101 -0
- package/dist/esm/models/PutLibraryQuizVersion.js +64 -0
- package/dist/esm/models/QuestionSelectionMethod.d.ts +25 -0
- package/dist/esm/models/QuestionSelectionMethod.js +43 -0
- package/dist/esm/models/ResourceSessionScormApiLogItem.d.ts +79 -0
- package/dist/esm/models/ResourceSessionScormApiLogItem.js +73 -0
- package/dist/esm/models/index.d.ts +34 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/models/GetCourseVersionItem.d.ts +14 -0
- package/dist/models/GetCourseVersionItem.js +10 -1
- package/dist/models/GetLibraryQuiz.d.ts +124 -0
- package/dist/models/GetLibraryQuiz.js +108 -0
- package/dist/models/GetLibraryQuizAnalytics.d.ts +68 -0
- package/dist/models/GetLibraryQuizAnalytics.js +74 -0
- package/dist/models/GetLibraryQuizList.d.ts +57 -0
- package/dist/models/GetLibraryQuizList.js +67 -0
- package/dist/models/GetLibraryQuizResult.d.ts +94 -0
- package/dist/models/GetLibraryQuizResult.js +86 -0
- package/dist/models/GetLibraryQuizSession.d.ts +177 -0
- package/dist/models/GetLibraryQuizSession.js +137 -0
- package/dist/models/GetLibraryQuizSessionList.d.ts +57 -0
- package/dist/models/GetLibraryQuizSessionList.js +67 -0
- package/dist/models/GetLibraryQuizUsage.d.ts +56 -0
- package/dist/models/GetLibraryQuizUsage.js +66 -0
- package/dist/models/GetLibraryQuizVersion.d.ts +170 -0
- package/dist/models/GetLibraryQuizVersion.js +132 -0
- package/dist/models/GetResourceSession.d.ts +30 -0
- package/dist/models/GetResourceSession.js +16 -0
- package/dist/models/GetResourceSessionDiagnostics.d.ts +76 -0
- package/dist/models/GetResourceSessionDiagnostics.js +76 -0
- package/dist/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
- package/dist/models/GetResourceSessionDiagnosticsCourseContext.js +83 -0
- package/dist/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
- package/dist/models/GetResourceSessionDiagnosticsResource.js +63 -0
- package/dist/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
- package/dist/models/GetResourceSessionDiagnosticsScormSummary.js +66 -0
- package/dist/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
- package/dist/models/GetResourceSessionDiagnosticsUser.js +54 -0
- package/dist/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
- package/dist/models/GetResourceSessionDiagnosticsVersion.js +74 -0
- package/dist/models/GetResourceSessionScormApiLogs.d.ts +57 -0
- package/dist/models/GetResourceSessionScormApiLogs.js +67 -0
- package/dist/models/GetResourceSessionScormData.d.ts +77 -0
- package/dist/models/GetResourceSessionScormData.js +73 -0
- package/dist/models/GetResourceSessionScormDataActivity.d.ts +44 -0
- package/dist/models/GetResourceSessionScormDataActivity.js +52 -0
- package/dist/models/LibraryQuizCriterion.d.ts +95 -0
- package/dist/models/LibraryQuizCriterion.js +84 -0
- package/dist/models/LibraryQuizQuestion.d.ts +70 -0
- package/dist/models/LibraryQuizQuestion.js +70 -0
- package/dist/models/LibraryQuizQuestionInput.d.ts +50 -0
- package/dist/models/LibraryQuizQuestionInput.js +58 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.d.ts +51 -0
- package/dist/models/LibraryQuizSessionAnswerChoice.js +61 -0
- package/dist/models/LibraryQuizSessionQuestion.d.ts +96 -0
- package/dist/models/LibraryQuizSessionQuestion.js +92 -0
- package/dist/models/PostCourseLibraryQuizSession.d.ts +32 -0
- package/dist/models/PostCourseLibraryQuizSession.js +48 -0
- package/dist/models/PostLibraryQuiz.d.ts +107 -0
- package/dist/models/PostLibraryQuiz.js +77 -0
- package/dist/models/PostLibraryQuizSession.d.ts +32 -0
- package/dist/models/PostLibraryQuizSession.js +48 -0
- package/dist/models/PostLibraryQuizVersion.d.ts +32 -0
- package/dist/models/PostLibraryQuizVersion.js +48 -0
- package/dist/models/PutLibraryQuiz.d.ts +38 -0
- package/dist/models/PutLibraryQuiz.js +50 -0
- package/dist/models/PutLibraryQuizCriteria.d.ts +33 -0
- package/dist/models/PutLibraryQuizCriteria.js +51 -0
- package/dist/models/PutLibraryQuizQuestions.d.ts +33 -0
- package/dist/models/PutLibraryQuizQuestions.js +51 -0
- package/dist/models/PutLibraryQuizSessionAnswer.d.ts +40 -0
- package/dist/models/PutLibraryQuizSessionAnswer.js +52 -0
- package/dist/models/PutLibraryQuizSessionGrade.d.ts +38 -0
- package/dist/models/PutLibraryQuizSessionGrade.js +52 -0
- package/dist/models/PutLibraryQuizVersion.d.ts +101 -0
- package/dist/models/PutLibraryQuizVersion.js +71 -0
- package/dist/models/QuestionSelectionMethod.d.ts +25 -0
- package/dist/models/QuestionSelectionMethod.js +51 -0
- package/dist/models/ResourceSessionScormApiLogItem.d.ts +79 -0
- package/dist/models/ResourceSessionScormApiLogItem.js +81 -0
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +34 -0
- package/docs/ContentLibraryQuizApi.md +1780 -0
- package/docs/GetCourseVersionItem.md +2 -0
- package/docs/GetLibraryQuiz.md +62 -0
- package/docs/GetLibraryQuizAnalytics.md +46 -0
- package/docs/GetLibraryQuizList.md +42 -0
- package/docs/GetLibraryQuizResult.md +54 -0
- package/docs/GetLibraryQuizSession.md +78 -0
- package/docs/GetLibraryQuizSessionList.md +42 -0
- package/docs/GetLibraryQuizUsage.md +42 -0
- package/docs/GetLibraryQuizVersion.md +78 -0
- package/docs/GetResourceSession.md +10 -0
- package/docs/GetResourceSessionDiagnostics.md +47 -0
- package/docs/GetResourceSessionDiagnosticsCourseContext.md +50 -0
- package/docs/GetResourceSessionDiagnosticsResource.md +40 -0
- package/docs/GetResourceSessionDiagnosticsScormSummary.md +48 -0
- package/docs/GetResourceSessionDiagnosticsUser.md +36 -0
- package/docs/GetResourceSessionDiagnosticsVersion.md +52 -0
- package/docs/GetResourceSessionScormApiLogs.md +43 -0
- package/docs/GetResourceSessionScormData.md +49 -0
- package/docs/GetResourceSessionScormDataActivity.md +38 -0
- package/docs/LibraryQuizCriterion.md +48 -0
- package/docs/LibraryQuizQuestion.md +46 -0
- package/docs/LibraryQuizQuestionInput.md +40 -0
- package/docs/LibraryQuizSessionAnswerChoice.md +40 -0
- package/docs/LibraryQuizSessionQuestion.md +50 -0
- package/docs/PlayerApi.md +320 -3
- package/docs/PostCourseLibraryQuizSession.md +34 -0
- package/docs/PostLibraryQuiz.md +58 -0
- package/docs/PostLibraryQuizSession.md +34 -0
- package/docs/PostLibraryQuizVersion.md +34 -0
- package/docs/PutLibraryQuiz.md +36 -0
- package/docs/PutLibraryQuizCriteria.md +34 -0
- package/docs/PutLibraryQuizQuestions.md +34 -0
- package/docs/PutLibraryQuizSessionAnswer.md +36 -0
- package/docs/PutLibraryQuizSessionGrade.md +36 -0
- package/docs/PutLibraryQuizVersion.md +56 -0
- package/docs/QuestionSelectionMethod.md +32 -0
- package/docs/ResourceSessionScormApiLogItem.md +47 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryQuizApi.ts +1624 -0
- package/src/apis/PlayerApi.ts +351 -1
- package/src/apis/index.ts +1 -0
- package/src/models/GetCourseVersionItem.ts +17 -0
- package/src/models/GetLibraryQuiz.ts +207 -0
- package/src/models/GetLibraryQuizAnalytics.ts +120 -0
- package/src/models/GetLibraryQuizList.ts +110 -0
- package/src/models/GetLibraryQuizResult.ts +154 -0
- package/src/models/GetLibraryQuizSession.ts +286 -0
- package/src/models/GetLibraryQuizSessionList.ts +110 -0
- package/src/models/GetLibraryQuizUsage.ts +102 -0
- package/src/models/GetLibraryQuizVersion.ts +290 -0
- package/src/models/GetResourceSession.ts +43 -0
- package/src/models/GetResourceSessionDiagnostics.ts +161 -0
- package/src/models/GetResourceSessionDiagnosticsCourseContext.ts +148 -0
- package/src/models/GetResourceSessionDiagnosticsResource.ts +103 -0
- package/src/models/GetResourceSessionDiagnosticsScormSummary.ts +123 -0
- package/src/models/GetResourceSessionDiagnosticsUser.ts +75 -0
- package/src/models/GetResourceSessionDiagnosticsVersion.ts +141 -0
- package/src/models/GetResourceSessionScormApiLogs.ts +110 -0
- package/src/models/GetResourceSessionScormData.ts +134 -0
- package/src/models/GetResourceSessionScormDataActivity.ts +81 -0
- package/src/models/LibraryQuizCriterion.ts +147 -0
- package/src/models/LibraryQuizQuestion.ts +118 -0
- package/src/models/LibraryQuizQuestionInput.ts +91 -0
- package/src/models/LibraryQuizSessionAnswerChoice.ts +100 -0
- package/src/models/LibraryQuizSessionQuestion.ts +166 -0
- package/src/models/PostCourseLibraryQuizSession.ts +65 -0
- package/src/models/PostLibraryQuiz.ts +173 -0
- package/src/models/PostLibraryQuizSession.ts +65 -0
- package/src/models/PostLibraryQuizVersion.ts +65 -0
- package/src/models/PutLibraryQuiz.ts +73 -0
- package/src/models/PutLibraryQuizCriteria.ts +74 -0
- package/src/models/PutLibraryQuizQuestions.ts +74 -0
- package/src/models/PutLibraryQuizSessionAnswer.ts +74 -0
- package/src/models/PutLibraryQuizSessionGrade.ts +74 -0
- package/src/models/PutLibraryQuizVersion.ts +163 -0
- package/src/models/QuestionSelectionMethod.ts +53 -0
- package/src/models/ResourceSessionScormApiLogItem.ts +132 -0
- package/src/models/index.ts +34 -0
|
@@ -0,0 +1,40 @@
|
|
|
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 PutLibraryQuizSessionAnswer
|
|
16
|
+
*/
|
|
17
|
+
export interface PutLibraryQuizSessionAnswer {
|
|
18
|
+
/**
|
|
19
|
+
* Type-specific answer payload using snapshot answer-choice IDs.
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
|
+
* @memberof PutLibraryQuizSessionAnswer
|
|
22
|
+
*/
|
|
23
|
+
answer: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof PutLibraryQuizSessionAnswer
|
|
30
|
+
*/
|
|
31
|
+
autoSave?: boolean;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PutLibraryQuizSessionAnswer interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfPutLibraryQuizSessionAnswer(value: object): value is PutLibraryQuizSessionAnswer;
|
|
37
|
+
export declare function PutLibraryQuizSessionAnswerFromJSON(json: any): PutLibraryQuizSessionAnswer;
|
|
38
|
+
export declare function PutLibraryQuizSessionAnswerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLibraryQuizSessionAnswer;
|
|
39
|
+
export declare function PutLibraryQuizSessionAnswerToJSON(json: any): PutLibraryQuizSessionAnswer;
|
|
40
|
+
export declare function PutLibraryQuizSessionAnswerToJSONTyped(value?: PutLibraryQuizSessionAnswer | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPutLibraryQuizSessionAnswer = instanceOfPutLibraryQuizSessionAnswer;
|
|
17
|
+
exports.PutLibraryQuizSessionAnswerFromJSON = PutLibraryQuizSessionAnswerFromJSON;
|
|
18
|
+
exports.PutLibraryQuizSessionAnswerFromJSONTyped = PutLibraryQuizSessionAnswerFromJSONTyped;
|
|
19
|
+
exports.PutLibraryQuizSessionAnswerToJSON = PutLibraryQuizSessionAnswerToJSON;
|
|
20
|
+
exports.PutLibraryQuizSessionAnswerToJSONTyped = PutLibraryQuizSessionAnswerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutLibraryQuizSessionAnswer interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutLibraryQuizSessionAnswer(value) {
|
|
25
|
+
if (!('answer' in value) || value['answer'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PutLibraryQuizSessionAnswerFromJSON(json) {
|
|
30
|
+
return PutLibraryQuizSessionAnswerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PutLibraryQuizSessionAnswerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'answer': json['answer'],
|
|
38
|
+
'autoSave': json['auto_save'] == null ? undefined : json['auto_save'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PutLibraryQuizSessionAnswerToJSON(json) {
|
|
42
|
+
return PutLibraryQuizSessionAnswerToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PutLibraryQuizSessionAnswerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'answer': value['answer'],
|
|
50
|
+
'auto_save': value['autoSave'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -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 PutLibraryQuizSessionGrade
|
|
16
|
+
*/
|
|
17
|
+
export interface PutLibraryQuizSessionGrade {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PutLibraryQuizSessionGrade
|
|
22
|
+
*/
|
|
23
|
+
pointsEarned: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PutLibraryQuizSessionGrade
|
|
28
|
+
*/
|
|
29
|
+
feedback?: string | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutLibraryQuizSessionGrade interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutLibraryQuizSessionGrade(value: object): value is PutLibraryQuizSessionGrade;
|
|
35
|
+
export declare function PutLibraryQuizSessionGradeFromJSON(json: any): PutLibraryQuizSessionGrade;
|
|
36
|
+
export declare function PutLibraryQuizSessionGradeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLibraryQuizSessionGrade;
|
|
37
|
+
export declare function PutLibraryQuizSessionGradeToJSON(json: any): PutLibraryQuizSessionGrade;
|
|
38
|
+
export declare function PutLibraryQuizSessionGradeToJSONTyped(value?: PutLibraryQuizSessionGrade | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPutLibraryQuizSessionGrade = instanceOfPutLibraryQuizSessionGrade;
|
|
17
|
+
exports.PutLibraryQuizSessionGradeFromJSON = PutLibraryQuizSessionGradeFromJSON;
|
|
18
|
+
exports.PutLibraryQuizSessionGradeFromJSONTyped = PutLibraryQuizSessionGradeFromJSONTyped;
|
|
19
|
+
exports.PutLibraryQuizSessionGradeToJSON = PutLibraryQuizSessionGradeToJSON;
|
|
20
|
+
exports.PutLibraryQuizSessionGradeToJSONTyped = PutLibraryQuizSessionGradeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutLibraryQuizSessionGrade interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutLibraryQuizSessionGrade(value) {
|
|
25
|
+
if (!('pointsEarned' in value) || value['pointsEarned'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PutLibraryQuizSessionGradeFromJSON(json) {
|
|
30
|
+
return PutLibraryQuizSessionGradeFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PutLibraryQuizSessionGradeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'pointsEarned': json['points_earned'],
|
|
38
|
+
'feedback': json['feedback'] == null ? undefined : json['feedback'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PutLibraryQuizSessionGradeToJSON(json) {
|
|
42
|
+
return PutLibraryQuizSessionGradeToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function PutLibraryQuizSessionGradeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'points_earned': value['pointsEarned'],
|
|
50
|
+
'feedback': value['feedback'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 { QuestionSelectionMethod } from './QuestionSelectionMethod';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutLibraryQuizVersion
|
|
17
|
+
*/
|
|
18
|
+
export interface PutLibraryQuizVersion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PutLibraryQuizVersion
|
|
23
|
+
*/
|
|
24
|
+
changeNotes?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {QuestionSelectionMethod}
|
|
28
|
+
* @memberof PutLibraryQuizVersion
|
|
29
|
+
*/
|
|
30
|
+
questionSelectionMethod?: QuestionSelectionMethod;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PutLibraryQuizVersion
|
|
35
|
+
*/
|
|
36
|
+
maxQuestions?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof PutLibraryQuizVersion
|
|
41
|
+
*/
|
|
42
|
+
passingScore?: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof PutLibraryQuizVersion
|
|
47
|
+
*/
|
|
48
|
+
timeLimitMinutes?: number | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof PutLibraryQuizVersion
|
|
53
|
+
*/
|
|
54
|
+
randomizeQuestions?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof PutLibraryQuizVersion
|
|
59
|
+
*/
|
|
60
|
+
randomizeAnswers?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {boolean}
|
|
64
|
+
* @memberof PutLibraryQuizVersion
|
|
65
|
+
*/
|
|
66
|
+
showResults?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof PutLibraryQuizVersion
|
|
71
|
+
*/
|
|
72
|
+
showCorrectAnswers?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {boolean}
|
|
76
|
+
* @memberof PutLibraryQuizVersion
|
|
77
|
+
*/
|
|
78
|
+
allowReview?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof PutLibraryQuizVersion
|
|
83
|
+
*/
|
|
84
|
+
requireAllQuestions?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {{ [key: string]: any; }}
|
|
88
|
+
* @memberof PutLibraryQuizVersion
|
|
89
|
+
*/
|
|
90
|
+
settings?: {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the PutLibraryQuizVersion interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfPutLibraryQuizVersion(value: object): value is PutLibraryQuizVersion;
|
|
98
|
+
export declare function PutLibraryQuizVersionFromJSON(json: any): PutLibraryQuizVersion;
|
|
99
|
+
export declare function PutLibraryQuizVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLibraryQuizVersion;
|
|
100
|
+
export declare function PutLibraryQuizVersionToJSON(json: any): PutLibraryQuizVersion;
|
|
101
|
+
export declare function PutLibraryQuizVersionToJSONTyped(value?: PutLibraryQuizVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPutLibraryQuizVersion = instanceOfPutLibraryQuizVersion;
|
|
17
|
+
exports.PutLibraryQuizVersionFromJSON = PutLibraryQuizVersionFromJSON;
|
|
18
|
+
exports.PutLibraryQuizVersionFromJSONTyped = PutLibraryQuizVersionFromJSONTyped;
|
|
19
|
+
exports.PutLibraryQuizVersionToJSON = PutLibraryQuizVersionToJSON;
|
|
20
|
+
exports.PutLibraryQuizVersionToJSONTyped = PutLibraryQuizVersionToJSONTyped;
|
|
21
|
+
const QuestionSelectionMethod_1 = require("./QuestionSelectionMethod");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PutLibraryQuizVersion interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfPutLibraryQuizVersion(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function PutLibraryQuizVersionFromJSON(json) {
|
|
29
|
+
return PutLibraryQuizVersionFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function PutLibraryQuizVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
|
|
37
|
+
'questionSelectionMethod': json['question_selection_method'] == null ? undefined : (0, QuestionSelectionMethod_1.QuestionSelectionMethodFromJSON)(json['question_selection_method']),
|
|
38
|
+
'maxQuestions': json['max_questions'] == null ? undefined : json['max_questions'],
|
|
39
|
+
'passingScore': json['passing_score'] == null ? undefined : json['passing_score'],
|
|
40
|
+
'timeLimitMinutes': json['time_limit_minutes'] == null ? undefined : json['time_limit_minutes'],
|
|
41
|
+
'randomizeQuestions': json['randomize_questions'] == null ? undefined : json['randomize_questions'],
|
|
42
|
+
'randomizeAnswers': json['randomize_answers'] == null ? undefined : json['randomize_answers'],
|
|
43
|
+
'showResults': json['show_results'] == null ? undefined : json['show_results'],
|
|
44
|
+
'showCorrectAnswers': json['show_correct_answers'] == null ? undefined : json['show_correct_answers'],
|
|
45
|
+
'allowReview': json['allow_review'] == null ? undefined : json['allow_review'],
|
|
46
|
+
'requireAllQuestions': json['require_all_questions'] == null ? undefined : json['require_all_questions'],
|
|
47
|
+
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function PutLibraryQuizVersionToJSON(json) {
|
|
51
|
+
return PutLibraryQuizVersionToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function PutLibraryQuizVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'change_notes': value['changeNotes'],
|
|
59
|
+
'question_selection_method': (0, QuestionSelectionMethod_1.QuestionSelectionMethodToJSON)(value['questionSelectionMethod']),
|
|
60
|
+
'max_questions': value['maxQuestions'],
|
|
61
|
+
'passing_score': value['passingScore'],
|
|
62
|
+
'time_limit_minutes': value['timeLimitMinutes'],
|
|
63
|
+
'randomize_questions': value['randomizeQuestions'],
|
|
64
|
+
'randomize_answers': value['randomizeAnswers'],
|
|
65
|
+
'show_results': value['showResults'],
|
|
66
|
+
'show_correct_answers': value['showCorrectAnswers'],
|
|
67
|
+
'allow_review': value['allowReview'],
|
|
68
|
+
'require_all_questions': value['requireAllQuestions'],
|
|
69
|
+
'settings': value['settings'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const QuestionSelectionMethod: {
|
|
17
|
+
readonly Manual: "manual";
|
|
18
|
+
readonly CriteriaBased: "criteria_based";
|
|
19
|
+
};
|
|
20
|
+
export type QuestionSelectionMethod = typeof QuestionSelectionMethod[keyof typeof QuestionSelectionMethod];
|
|
21
|
+
export declare function instanceOfQuestionSelectionMethod(value: any): boolean;
|
|
22
|
+
export declare function QuestionSelectionMethodFromJSON(json: any): QuestionSelectionMethod;
|
|
23
|
+
export declare function QuestionSelectionMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuestionSelectionMethod;
|
|
24
|
+
export declare function QuestionSelectionMethodToJSON(value?: QuestionSelectionMethod | null): any;
|
|
25
|
+
export declare function QuestionSelectionMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): QuestionSelectionMethod;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.QuestionSelectionMethod = void 0;
|
|
17
|
+
exports.instanceOfQuestionSelectionMethod = instanceOfQuestionSelectionMethod;
|
|
18
|
+
exports.QuestionSelectionMethodFromJSON = QuestionSelectionMethodFromJSON;
|
|
19
|
+
exports.QuestionSelectionMethodFromJSONTyped = QuestionSelectionMethodFromJSONTyped;
|
|
20
|
+
exports.QuestionSelectionMethodToJSON = QuestionSelectionMethodToJSON;
|
|
21
|
+
exports.QuestionSelectionMethodToJSONTyped = QuestionSelectionMethodToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.QuestionSelectionMethod = {
|
|
27
|
+
Manual: 'manual',
|
|
28
|
+
CriteriaBased: 'criteria_based'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfQuestionSelectionMethod(value) {
|
|
31
|
+
for (const key in exports.QuestionSelectionMethod) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.QuestionSelectionMethod, key)) {
|
|
33
|
+
if (exports.QuestionSelectionMethod[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function QuestionSelectionMethodFromJSON(json) {
|
|
41
|
+
return QuestionSelectionMethodFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function QuestionSelectionMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function QuestionSelectionMethodToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function QuestionSelectionMethodToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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 recorded SCORM runtime call for a resource session.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ResourceSessionScormApiLogItem
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceSessionScormApiLogItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
22
|
+
*/
|
|
23
|
+
id: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
28
|
+
*/
|
|
29
|
+
createdAt: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {ResourceSessionScormApiLogItemMethodEnum}
|
|
33
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
34
|
+
*/
|
|
35
|
+
method: ResourceSessionScormApiLogItemMethodEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
40
|
+
*/
|
|
41
|
+
element?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
46
|
+
*/
|
|
47
|
+
value?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
52
|
+
*/
|
|
53
|
+
valueTruncated: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ResourceSessionScormApiLogItem
|
|
58
|
+
*/
|
|
59
|
+
errorCode: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const ResourceSessionScormApiLogItemMethodEnum: {
|
|
65
|
+
readonly Initialize: "Initialize";
|
|
66
|
+
readonly GetValue: "GetValue";
|
|
67
|
+
readonly SetValue: "SetValue";
|
|
68
|
+
readonly Commit: "Commit";
|
|
69
|
+
readonly Terminate: "Terminate";
|
|
70
|
+
};
|
|
71
|
+
export type ResourceSessionScormApiLogItemMethodEnum = typeof ResourceSessionScormApiLogItemMethodEnum[keyof typeof ResourceSessionScormApiLogItemMethodEnum];
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the ResourceSessionScormApiLogItem interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfResourceSessionScormApiLogItem(value: object): value is ResourceSessionScormApiLogItem;
|
|
76
|
+
export declare function ResourceSessionScormApiLogItemFromJSON(json: any): ResourceSessionScormApiLogItem;
|
|
77
|
+
export declare function ResourceSessionScormApiLogItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceSessionScormApiLogItem;
|
|
78
|
+
export declare function ResourceSessionScormApiLogItemToJSON(json: any): ResourceSessionScormApiLogItem;
|
|
79
|
+
export declare function ResourceSessionScormApiLogItemToJSONTyped(value?: ResourceSessionScormApiLogItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ResourceSessionScormApiLogItemMethodEnum = void 0;
|
|
17
|
+
exports.instanceOfResourceSessionScormApiLogItem = instanceOfResourceSessionScormApiLogItem;
|
|
18
|
+
exports.ResourceSessionScormApiLogItemFromJSON = ResourceSessionScormApiLogItemFromJSON;
|
|
19
|
+
exports.ResourceSessionScormApiLogItemFromJSONTyped = ResourceSessionScormApiLogItemFromJSONTyped;
|
|
20
|
+
exports.ResourceSessionScormApiLogItemToJSON = ResourceSessionScormApiLogItemToJSON;
|
|
21
|
+
exports.ResourceSessionScormApiLogItemToJSONTyped = ResourceSessionScormApiLogItemToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ResourceSessionScormApiLogItemMethodEnum = {
|
|
26
|
+
Initialize: 'Initialize',
|
|
27
|
+
GetValue: 'GetValue',
|
|
28
|
+
SetValue: 'SetValue',
|
|
29
|
+
Commit: 'Commit',
|
|
30
|
+
Terminate: 'Terminate'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ResourceSessionScormApiLogItem interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfResourceSessionScormApiLogItem(value) {
|
|
36
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('valueTruncated' in value) || value['valueTruncated'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function ResourceSessionScormApiLogItemFromJSON(json) {
|
|
49
|
+
return ResourceSessionScormApiLogItemFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ResourceSessionScormApiLogItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'createdAt': json['created_at'],
|
|
58
|
+
'method': json['method'],
|
|
59
|
+
'element': json['element'] == null ? undefined : json['element'],
|
|
60
|
+
'value': json['value'] == null ? undefined : json['value'],
|
|
61
|
+
'valueTruncated': json['value_truncated'],
|
|
62
|
+
'errorCode': json['error_code'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function ResourceSessionScormApiLogItemToJSON(json) {
|
|
66
|
+
return ResourceSessionScormApiLogItemToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function ResourceSessionScormApiLogItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': value['id'],
|
|
74
|
+
'created_at': value['createdAt'],
|
|
75
|
+
'method': value['method'],
|
|
76
|
+
'element': value['element'],
|
|
77
|
+
'value': value['value'],
|
|
78
|
+
'value_truncated': value['valueTruncated'],
|
|
79
|
+
'error_code': value['errorCode'],
|
|
80
|
+
};
|
|
81
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -100,6 +100,14 @@ export * from './GetEmailDeliveryList';
|
|
|
100
100
|
export * from './GetEmailTemplate';
|
|
101
101
|
export * from './GetEmailTemplateList';
|
|
102
102
|
export * from './GetEmailTemplatePreview';
|
|
103
|
+
export * from './GetLibraryQuiz';
|
|
104
|
+
export * from './GetLibraryQuizAnalytics';
|
|
105
|
+
export * from './GetLibraryQuizList';
|
|
106
|
+
export * from './GetLibraryQuizResult';
|
|
107
|
+
export * from './GetLibraryQuizSession';
|
|
108
|
+
export * from './GetLibraryQuizSessionList';
|
|
109
|
+
export * from './GetLibraryQuizUsage';
|
|
110
|
+
export * from './GetLibraryQuizVersion';
|
|
103
111
|
export * from './GetManualQuestionSelectionItem';
|
|
104
112
|
export * from './GetManualQuestionSelectionList';
|
|
105
113
|
export * from './GetModule';
|
|
@@ -181,7 +189,16 @@ export * from './GetQuizStatistics';
|
|
|
181
189
|
export * from './GetResource';
|
|
182
190
|
export * from './GetResourceList';
|
|
183
191
|
export * from './GetResourceSession';
|
|
192
|
+
export * from './GetResourceSessionDiagnostics';
|
|
193
|
+
export * from './GetResourceSessionDiagnosticsCourseContext';
|
|
194
|
+
export * from './GetResourceSessionDiagnosticsResource';
|
|
195
|
+
export * from './GetResourceSessionDiagnosticsScormSummary';
|
|
196
|
+
export * from './GetResourceSessionDiagnosticsUser';
|
|
197
|
+
export * from './GetResourceSessionDiagnosticsVersion';
|
|
184
198
|
export * from './GetResourceSessionList';
|
|
199
|
+
export * from './GetResourceSessionScormApiLogs';
|
|
200
|
+
export * from './GetResourceSessionScormData';
|
|
201
|
+
export * from './GetResourceSessionScormDataActivity';
|
|
185
202
|
export * from './GetResourceUsage';
|
|
186
203
|
export * from './GetResourceUsageCoursesInner';
|
|
187
204
|
export * from './GetResourceVersionUpload';
|
|
@@ -213,6 +230,11 @@ export * from './GetUserQuizAttemptsAllOfAttempts';
|
|
|
213
230
|
export * from './GetUserQuizAttemptsAllOfFilters';
|
|
214
231
|
export * from './GetUserQuizAttemptsAllOfSummary';
|
|
215
232
|
export * from './GetUserRole';
|
|
233
|
+
export * from './LibraryQuizCriterion';
|
|
234
|
+
export * from './LibraryQuizQuestion';
|
|
235
|
+
export * from './LibraryQuizQuestionInput';
|
|
236
|
+
export * from './LibraryQuizSessionAnswerChoice';
|
|
237
|
+
export * from './LibraryQuizSessionQuestion';
|
|
216
238
|
export * from './LoginRes';
|
|
217
239
|
export * from './LoginResAuthData';
|
|
218
240
|
export * from './LoginResUserData';
|
|
@@ -257,6 +279,7 @@ export * from './PostCourseCatalog';
|
|
|
257
279
|
export * from './PostCourseDraft';
|
|
258
280
|
export * from './PostCourseEnrollment';
|
|
259
281
|
export * from './PostCourseExport';
|
|
282
|
+
export * from './PostCourseLibraryQuizSession';
|
|
260
283
|
export * from './PostCourseResume';
|
|
261
284
|
export * from './PostCourseVersionItem';
|
|
262
285
|
export * from './PostCourseVersionItemSession';
|
|
@@ -268,6 +291,9 @@ export * from './PostEmailAssetComplete';
|
|
|
268
291
|
export * from './PostEmailAssetUpload';
|
|
269
292
|
export * from './PostEmailTemplatePreview';
|
|
270
293
|
export * from './PostEmailTemplateTestSend';
|
|
294
|
+
export * from './PostLibraryQuiz';
|
|
295
|
+
export * from './PostLibraryQuizSession';
|
|
296
|
+
export * from './PostLibraryQuizVersion';
|
|
271
297
|
export * from './PostLogin';
|
|
272
298
|
export * from './PostManualQuestionSelection';
|
|
273
299
|
export * from './PostMessage';
|
|
@@ -326,6 +352,12 @@ export * from './PutCourseCatalog';
|
|
|
326
352
|
export * from './PutCourseEnrollment';
|
|
327
353
|
export * from './PutCourseVersionItem';
|
|
328
354
|
export * from './PutEmailTemplateDraft';
|
|
355
|
+
export * from './PutLibraryQuiz';
|
|
356
|
+
export * from './PutLibraryQuizCriteria';
|
|
357
|
+
export * from './PutLibraryQuizQuestions';
|
|
358
|
+
export * from './PutLibraryQuizSessionAnswer';
|
|
359
|
+
export * from './PutLibraryQuizSessionGrade';
|
|
360
|
+
export * from './PutLibraryQuizVersion';
|
|
329
361
|
export * from './PutModule';
|
|
330
362
|
export * from './PutModuleReorder';
|
|
331
363
|
export * from './PutPortalBranding';
|
|
@@ -348,10 +380,12 @@ export * from './PutRole';
|
|
|
348
380
|
export * from './PutRolePermissions';
|
|
349
381
|
export * from './PutSupportTicket';
|
|
350
382
|
export * from './PutUser';
|
|
383
|
+
export * from './QuestionSelectionMethod';
|
|
351
384
|
export * from './QuizContent';
|
|
352
385
|
export * from './QuizContentAssignment';
|
|
353
386
|
export * from './QuizContentSettings';
|
|
354
387
|
export * from './ResourceSessionEnvironment';
|
|
388
|
+
export * from './ResourceSessionScormApiLogItem';
|
|
355
389
|
export * from './ResourceType';
|
|
356
390
|
export * from './RichTextAsset';
|
|
357
391
|
export * from './RichTextDocument';
|