@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,76 @@
|
|
|
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 { GetResourceSessionDiagnosticsResource } from './GetResourceSessionDiagnosticsResource';
|
|
13
|
+
import type { GetResourceSessionDiagnosticsScormSummary } from './GetResourceSessionDiagnosticsScormSummary';
|
|
14
|
+
import type { GetResourceSessionDiagnosticsUser } from './GetResourceSessionDiagnosticsUser';
|
|
15
|
+
import type { GetResourceSession } from './GetResourceSession';
|
|
16
|
+
import type { GetResourceSessionDiagnosticsCourseContext } from './GetResourceSessionDiagnosticsCourseContext';
|
|
17
|
+
import type { GetResourceSessionDiagnosticsVersion } from './GetResourceSessionDiagnosticsVersion';
|
|
18
|
+
/**
|
|
19
|
+
* Administrator diagnostics for a resource session and its exact resource-version pin.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetResourceSessionDiagnostics
|
|
22
|
+
*/
|
|
23
|
+
export interface GetResourceSessionDiagnostics {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetResourceSession}
|
|
27
|
+
* @memberof GetResourceSessionDiagnostics
|
|
28
|
+
*/
|
|
29
|
+
session: GetResourceSession;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof GetResourceSessionDiagnostics
|
|
34
|
+
*/
|
|
35
|
+
sessionData: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {GetResourceSessionDiagnosticsUser}
|
|
41
|
+
* @memberof GetResourceSessionDiagnostics
|
|
42
|
+
*/
|
|
43
|
+
user: GetResourceSessionDiagnosticsUser;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {GetResourceSessionDiagnosticsResource}
|
|
47
|
+
* @memberof GetResourceSessionDiagnostics
|
|
48
|
+
*/
|
|
49
|
+
resource: GetResourceSessionDiagnosticsResource;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {GetResourceSessionDiagnosticsVersion}
|
|
53
|
+
* @memberof GetResourceSessionDiagnostics
|
|
54
|
+
*/
|
|
55
|
+
version: GetResourceSessionDiagnosticsVersion;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GetResourceSessionDiagnosticsCourseContext}
|
|
59
|
+
* @memberof GetResourceSessionDiagnostics
|
|
60
|
+
*/
|
|
61
|
+
courseContext?: GetResourceSessionDiagnosticsCourseContext | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {GetResourceSessionDiagnosticsScormSummary}
|
|
65
|
+
* @memberof GetResourceSessionDiagnostics
|
|
66
|
+
*/
|
|
67
|
+
scormSummary?: GetResourceSessionDiagnosticsScormSummary | null;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the GetResourceSessionDiagnostics interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfGetResourceSessionDiagnostics(value: object): value is GetResourceSessionDiagnostics;
|
|
73
|
+
export declare function GetResourceSessionDiagnosticsFromJSON(json: any): GetResourceSessionDiagnostics;
|
|
74
|
+
export declare function GetResourceSessionDiagnosticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnostics;
|
|
75
|
+
export declare function GetResourceSessionDiagnosticsToJSON(json: any): GetResourceSessionDiagnostics;
|
|
76
|
+
export declare function GetResourceSessionDiagnosticsToJSONTyped(value?: GetResourceSessionDiagnostics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfGetResourceSessionDiagnostics = instanceOfGetResourceSessionDiagnostics;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsFromJSON = GetResourceSessionDiagnosticsFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsFromJSONTyped = GetResourceSessionDiagnosticsFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsToJSON = GetResourceSessionDiagnosticsToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsToJSONTyped = GetResourceSessionDiagnosticsToJSONTyped;
|
|
21
|
+
const GetResourceSessionDiagnosticsResource_1 = require("./GetResourceSessionDiagnosticsResource");
|
|
22
|
+
const GetResourceSessionDiagnosticsScormSummary_1 = require("./GetResourceSessionDiagnosticsScormSummary");
|
|
23
|
+
const GetResourceSessionDiagnosticsUser_1 = require("./GetResourceSessionDiagnosticsUser");
|
|
24
|
+
const GetResourceSession_1 = require("./GetResourceSession");
|
|
25
|
+
const GetResourceSessionDiagnosticsCourseContext_1 = require("./GetResourceSessionDiagnosticsCourseContext");
|
|
26
|
+
const GetResourceSessionDiagnosticsVersion_1 = require("./GetResourceSessionDiagnosticsVersion");
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the GetResourceSessionDiagnostics interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfGetResourceSessionDiagnostics(value) {
|
|
31
|
+
if (!('session' in value) || value['session'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sessionData' in value) || value['sessionData'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('resource' in value) || value['resource'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function GetResourceSessionDiagnosticsFromJSON(json) {
|
|
44
|
+
return GetResourceSessionDiagnosticsFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetResourceSessionDiagnosticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'session': (0, GetResourceSession_1.GetResourceSessionFromJSON)(json['session']),
|
|
52
|
+
'sessionData': json['session_data'],
|
|
53
|
+
'user': (0, GetResourceSessionDiagnosticsUser_1.GetResourceSessionDiagnosticsUserFromJSON)(json['user']),
|
|
54
|
+
'resource': (0, GetResourceSessionDiagnosticsResource_1.GetResourceSessionDiagnosticsResourceFromJSON)(json['resource']),
|
|
55
|
+
'version': (0, GetResourceSessionDiagnosticsVersion_1.GetResourceSessionDiagnosticsVersionFromJSON)(json['version']),
|
|
56
|
+
'courseContext': json['course_context'] == null ? undefined : (0, GetResourceSessionDiagnosticsCourseContext_1.GetResourceSessionDiagnosticsCourseContextFromJSON)(json['course_context']),
|
|
57
|
+
'scormSummary': json['scorm_summary'] == null ? undefined : (0, GetResourceSessionDiagnosticsScormSummary_1.GetResourceSessionDiagnosticsScormSummaryFromJSON)(json['scorm_summary']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GetResourceSessionDiagnosticsToJSON(json) {
|
|
61
|
+
return GetResourceSessionDiagnosticsToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GetResourceSessionDiagnosticsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'session': (0, GetResourceSession_1.GetResourceSessionToJSON)(value['session']),
|
|
69
|
+
'session_data': value['sessionData'],
|
|
70
|
+
'user': (0, GetResourceSessionDiagnosticsUser_1.GetResourceSessionDiagnosticsUserToJSON)(value['user']),
|
|
71
|
+
'resource': (0, GetResourceSessionDiagnosticsResource_1.GetResourceSessionDiagnosticsResourceToJSON)(value['resource']),
|
|
72
|
+
'version': (0, GetResourceSessionDiagnosticsVersion_1.GetResourceSessionDiagnosticsVersionToJSON)(value['version']),
|
|
73
|
+
'course_context': (0, GetResourceSessionDiagnosticsCourseContext_1.GetResourceSessionDiagnosticsCourseContextToJSON)(value['courseContext']),
|
|
74
|
+
'scorm_summary': (0, GetResourceSessionDiagnosticsScormSummary_1.GetResourceSessionDiagnosticsScormSummaryToJSON)(value['scormSummary']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 GetResourceSessionDiagnosticsCourseContext
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionDiagnosticsCourseContext {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
23
|
+
*/
|
|
24
|
+
courseId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
29
|
+
*/
|
|
30
|
+
courseName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
35
|
+
*/
|
|
36
|
+
courseVersionId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
41
|
+
*/
|
|
42
|
+
courseVersionNumber: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
47
|
+
*/
|
|
48
|
+
itemId: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
53
|
+
*/
|
|
54
|
+
displayName: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ContentLaunchMode}
|
|
58
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
59
|
+
*/
|
|
60
|
+
launchMode: ContentLaunchMode;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
65
|
+
*/
|
|
66
|
+
maxAttempts: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
71
|
+
*/
|
|
72
|
+
scoreRollupStrategy: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfGetResourceSessionDiagnosticsCourseContext(value: object): value is GetResourceSessionDiagnosticsCourseContext;
|
|
78
|
+
export declare function GetResourceSessionDiagnosticsCourseContextFromJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
|
|
79
|
+
export declare function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsCourseContext;
|
|
80
|
+
export declare function GetResourceSessionDiagnosticsCourseContextToJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
|
|
81
|
+
export declare function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value?: GetResourceSessionDiagnosticsCourseContext | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.instanceOfGetResourceSessionDiagnosticsCourseContext = instanceOfGetResourceSessionDiagnosticsCourseContext;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsCourseContextFromJSON = GetResourceSessionDiagnosticsCourseContextFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsCourseContextFromJSONTyped = GetResourceSessionDiagnosticsCourseContextFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsCourseContextToJSON = GetResourceSessionDiagnosticsCourseContextToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsCourseContextToJSONTyped = GetResourceSessionDiagnosticsCourseContextToJSONTyped;
|
|
21
|
+
const ContentLaunchMode_1 = require("./ContentLaunchMode");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetResourceSessionDiagnosticsCourseContext(value) {
|
|
26
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('courseName' in value) || value['courseName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('courseVersionId' in value) || value['courseVersionId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('courseVersionNumber' in value) || value['courseVersionNumber'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('itemId' in value) || value['itemId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('launchMode' in value) || value['launchMode'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('maxAttempts' in value) || value['maxAttempts'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('scoreRollupStrategy' in value) || value['scoreRollupStrategy'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function GetResourceSessionDiagnosticsCourseContextFromJSON(json) {
|
|
47
|
+
return GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'courseId': json['course_id'],
|
|
55
|
+
'courseName': json['course_name'],
|
|
56
|
+
'courseVersionId': json['course_version_id'],
|
|
57
|
+
'courseVersionNumber': json['course_version_number'],
|
|
58
|
+
'itemId': json['item_id'],
|
|
59
|
+
'displayName': json['display_name'],
|
|
60
|
+
'launchMode': (0, ContentLaunchMode_1.ContentLaunchModeFromJSON)(json['launch_mode']),
|
|
61
|
+
'maxAttempts': json['max_attempts'],
|
|
62
|
+
'scoreRollupStrategy': json['score_rollup_strategy'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function GetResourceSessionDiagnosticsCourseContextToJSON(json) {
|
|
66
|
+
return GetResourceSessionDiagnosticsCourseContextToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'course_id': value['courseId'],
|
|
74
|
+
'course_name': value['courseName'],
|
|
75
|
+
'course_version_id': value['courseVersionId'],
|
|
76
|
+
'course_version_number': value['courseVersionNumber'],
|
|
77
|
+
'item_id': value['itemId'],
|
|
78
|
+
'display_name': value['displayName'],
|
|
79
|
+
'launch_mode': (0, ContentLaunchMode_1.ContentLaunchModeToJSON)(value['launchMode']),
|
|
80
|
+
'max_attempts': value['maxAttempts'],
|
|
81
|
+
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { ResourceType } from './ResourceType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetResourceSessionDiagnosticsResource
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionDiagnosticsResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ResourceType}
|
|
40
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
41
|
+
*/
|
|
42
|
+
resourceType: ResourceType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfGetResourceSessionDiagnosticsResource(value: object): value is GetResourceSessionDiagnosticsResource;
|
|
48
|
+
export declare function GetResourceSessionDiagnosticsResourceFromJSON(json: any): GetResourceSessionDiagnosticsResource;
|
|
49
|
+
export declare function GetResourceSessionDiagnosticsResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsResource;
|
|
50
|
+
export declare function GetResourceSessionDiagnosticsResourceToJSON(json: any): GetResourceSessionDiagnosticsResource;
|
|
51
|
+
export declare function GetResourceSessionDiagnosticsResourceToJSONTyped(value?: GetResourceSessionDiagnosticsResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfGetResourceSessionDiagnosticsResource = instanceOfGetResourceSessionDiagnosticsResource;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsResourceFromJSON = GetResourceSessionDiagnosticsResourceFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsResourceFromJSONTyped = GetResourceSessionDiagnosticsResourceFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsResourceToJSON = GetResourceSessionDiagnosticsResourceToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsResourceToJSONTyped = GetResourceSessionDiagnosticsResourceToJSONTyped;
|
|
21
|
+
const ResourceType_1 = require("./ResourceType");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetResourceSessionDiagnosticsResource(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetResourceSessionDiagnosticsResourceFromJSON(json) {
|
|
37
|
+
return GetResourceSessionDiagnosticsResourceFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetResourceSessionDiagnosticsResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'resourceType': (0, ResourceType_1.ResourceTypeFromJSON)(json['resource_type']),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function GetResourceSessionDiagnosticsResourceToJSON(json) {
|
|
51
|
+
return GetResourceSessionDiagnosticsResourceToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function GetResourceSessionDiagnosticsResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'id': value['id'],
|
|
59
|
+
'name': value['name'],
|
|
60
|
+
'description': value['description'],
|
|
61
|
+
'resource_type': (0, ResourceType_1.ResourceTypeToJSON)(value['resourceType']),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 GetResourceSessionDiagnosticsScormSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface GetResourceSessionDiagnosticsScormSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
22
|
+
*/
|
|
23
|
+
schemaVersion?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
28
|
+
*/
|
|
29
|
+
manifestIdentifier?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
34
|
+
*/
|
|
35
|
+
organizationIdentifier?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
40
|
+
*/
|
|
41
|
+
organizationTitle?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
46
|
+
*/
|
|
47
|
+
activityIdentifier?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
52
|
+
*/
|
|
53
|
+
activityTitle?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
58
|
+
*/
|
|
59
|
+
cmiElementCount: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
64
|
+
*/
|
|
65
|
+
apiLogCount: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsScormSummary interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfGetResourceSessionDiagnosticsScormSummary(value: object): value is GetResourceSessionDiagnosticsScormSummary;
|
|
71
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryFromJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
|
|
72
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsScormSummary;
|
|
73
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryToJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
|
|
74
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value?: GetResourceSessionDiagnosticsScormSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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.instanceOfGetResourceSessionDiagnosticsScormSummary = instanceOfGetResourceSessionDiagnosticsScormSummary;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsScormSummaryFromJSON = GetResourceSessionDiagnosticsScormSummaryFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsScormSummaryFromJSONTyped = GetResourceSessionDiagnosticsScormSummaryFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsScormSummaryToJSON = GetResourceSessionDiagnosticsScormSummaryToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsScormSummaryToJSONTyped = GetResourceSessionDiagnosticsScormSummaryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsScormSummary interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetResourceSessionDiagnosticsScormSummary(value) {
|
|
25
|
+
if (!('cmiElementCount' in value) || value['cmiElementCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('apiLogCount' in value) || value['apiLogCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetResourceSessionDiagnosticsScormSummaryFromJSON(json) {
|
|
32
|
+
return GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
|
|
40
|
+
'manifestIdentifier': json['manifest_identifier'] == null ? undefined : json['manifest_identifier'],
|
|
41
|
+
'organizationIdentifier': json['organization_identifier'] == null ? undefined : json['organization_identifier'],
|
|
42
|
+
'organizationTitle': json['organization_title'] == null ? undefined : json['organization_title'],
|
|
43
|
+
'activityIdentifier': json['activity_identifier'] == null ? undefined : json['activity_identifier'],
|
|
44
|
+
'activityTitle': json['activity_title'] == null ? undefined : json['activity_title'],
|
|
45
|
+
'cmiElementCount': json['cmi_element_count'],
|
|
46
|
+
'apiLogCount': json['api_log_count'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetResourceSessionDiagnosticsScormSummaryToJSON(json) {
|
|
50
|
+
return GetResourceSessionDiagnosticsScormSummaryToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'schema_version': value['schemaVersion'],
|
|
58
|
+
'manifest_identifier': value['manifestIdentifier'],
|
|
59
|
+
'organization_identifier': value['organizationIdentifier'],
|
|
60
|
+
'organization_title': value['organizationTitle'],
|
|
61
|
+
'activity_identifier': value['activityIdentifier'],
|
|
62
|
+
'activity_title': value['activityTitle'],
|
|
63
|
+
'cmi_element_count': value['cmiElementCount'],
|
|
64
|
+
'api_log_count': value['apiLogCount'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -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 GetResourceSessionDiagnosticsUser
|
|
16
|
+
*/
|
|
17
|
+
export interface GetResourceSessionDiagnosticsUser {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetResourceSessionDiagnosticsUser
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetResourceSessionDiagnosticsUser
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetResourceSessionDiagnosticsUser(value: object): value is GetResourceSessionDiagnosticsUser;
|
|
35
|
+
export declare function GetResourceSessionDiagnosticsUserFromJSON(json: any): GetResourceSessionDiagnosticsUser;
|
|
36
|
+
export declare function GetResourceSessionDiagnosticsUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsUser;
|
|
37
|
+
export declare function GetResourceSessionDiagnosticsUserToJSON(json: any): GetResourceSessionDiagnosticsUser;
|
|
38
|
+
export declare function GetResourceSessionDiagnosticsUserToJSONTyped(value?: GetResourceSessionDiagnosticsUser | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfGetResourceSessionDiagnosticsUser = instanceOfGetResourceSessionDiagnosticsUser;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsUserFromJSON = GetResourceSessionDiagnosticsUserFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsUserFromJSONTyped = GetResourceSessionDiagnosticsUserFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsUserToJSON = GetResourceSessionDiagnosticsUserToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsUserToJSONTyped = GetResourceSessionDiagnosticsUserToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetResourceSessionDiagnosticsUser(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetResourceSessionDiagnosticsUserFromJSON(json) {
|
|
32
|
+
return GetResourceSessionDiagnosticsUserFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetResourceSessionDiagnosticsUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetResourceSessionDiagnosticsUserToJSON(json) {
|
|
44
|
+
return GetResourceSessionDiagnosticsUserToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetResourceSessionDiagnosticsUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|