@easyedu/js-lsm-api 1.14.0 → 1.16.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 +29 -0
- package/README.md +2 -2
- package/dist/apis/ReportingApi.d.ts +120 -0
- package/dist/apis/ReportingApi.js +299 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ReportingApi.d.ts +120 -0
- package/dist/esm/apis/ReportingApi.js +295 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetContentGradeDetail.d.ts +118 -0
- package/dist/esm/models/GetContentGradeDetail.js +104 -0
- package/dist/esm/models/GetContentGrades.d.ts +57 -0
- package/dist/esm/models/GetContentGrades.js +60 -0
- package/dist/esm/models/GetContentGradesItemsInner.d.ts +72 -0
- package/dist/esm/models/GetContentGradesItemsInner.js +73 -0
- package/dist/esm/models/GetContentGradesItemsInnerUser.d.ts +44 -0
- package/dist/esm/models/GetContentGradesItemsInnerUser.js +51 -0
- package/dist/esm/models/GetContentInstructorBasicReporting.d.ts +47 -0
- package/dist/esm/models/GetContentInstructorBasicReporting.js +54 -0
- package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.d.ts +59 -0
- package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.js +63 -0
- package/dist/esm/models/GetContentInstructorBasicReportingEngagement.d.ts +56 -0
- package/dist/esm/models/GetContentInstructorBasicReportingEngagement.js +59 -0
- package/dist/esm/models/GetContentInstructorBasicReportingPerformance.d.ts +38 -0
- package/dist/esm/models/GetContentInstructorBasicReportingPerformance.js +47 -0
- package/dist/esm/models/GetCourseStudentReporting.d.ts +47 -0
- package/dist/esm/models/GetCourseStudentReporting.js +54 -0
- package/dist/esm/models/GetCourseStudentReportingCourseInfo.d.ts +32 -0
- package/dist/esm/models/GetCourseStudentReportingCourseInfo.js +43 -0
- package/dist/esm/models/GetCourseStudentReportingEngagement.d.ts +38 -0
- package/dist/esm/models/GetCourseStudentReportingEngagement.js +47 -0
- package/dist/esm/models/GetCourseStudentReportingPerformance.d.ts +32 -0
- package/dist/esm/models/GetCourseStudentReportingPerformance.js +43 -0
- package/dist/esm/models/GetModuleInstructorBasicReporting.d.ts +47 -0
- package/dist/esm/models/GetModuleInstructorBasicReporting.js +54 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +32 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +43 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +32 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.js +43 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.d.ts +32 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.js +43 -0
- package/dist/esm/models/GetModuleStudentReporting.d.ts +47 -0
- package/dist/esm/models/GetModuleStudentReporting.js +54 -0
- package/dist/esm/models/GetModuleStudentReportingAccess.d.ts +38 -0
- package/dist/esm/models/GetModuleStudentReportingAccess.js +47 -0
- package/dist/esm/models/GetModuleStudentReportingProgress.d.ts +38 -0
- package/dist/esm/models/GetModuleStudentReportingProgress.js +47 -0
- package/dist/esm/models/GetPortalBasicReporting.d.ts +40 -0
- package/dist/esm/models/GetPortalBasicReporting.js +49 -0
- package/dist/esm/models/GetPortalBasicReportingCertificates.d.ts +32 -0
- package/dist/esm/models/GetPortalBasicReportingCertificates.js +43 -0
- package/dist/esm/models/GetPortalBasicReportingPortalInfo.d.ts +44 -0
- package/dist/esm/models/GetPortalBasicReportingPortalInfo.js +51 -0
- package/dist/esm/models/ScormSessionData.d.ts +61 -0
- package/dist/esm/models/ScormSessionData.js +54 -0
- package/dist/esm/models/ScormSessionDataProgress.d.ts +38 -0
- package/dist/esm/models/ScormSessionDataProgress.js +43 -0
- package/dist/esm/models/ScormSessionDataScore.d.ts +50 -0
- package/dist/esm/models/ScormSessionDataScore.js +47 -0
- package/dist/esm/models/ScormSessionDataSession.d.ts +32 -0
- package/dist/esm/models/ScormSessionDataSession.js +41 -0
- package/dist/esm/models/ScormSessionDataStatus.d.ts +50 -0
- package/dist/esm/models/ScormSessionDataStatus.js +47 -0
- package/dist/esm/models/ScormSessionDataTime.d.ts +50 -0
- package/dist/esm/models/ScormSessionDataTime.js +47 -0
- package/dist/esm/models/index.d.ts +28 -0
- package/dist/esm/models/index.js +28 -0
- package/dist/models/GetContentGradeDetail.d.ts +118 -0
- package/dist/models/GetContentGradeDetail.js +112 -0
- package/dist/models/GetContentGrades.d.ts +57 -0
- package/dist/models/GetContentGrades.js +67 -0
- package/dist/models/GetContentGradesItemsInner.d.ts +72 -0
- package/dist/models/GetContentGradesItemsInner.js +81 -0
- package/dist/models/GetContentGradesItemsInnerUser.d.ts +44 -0
- package/dist/models/GetContentGradesItemsInnerUser.js +58 -0
- package/dist/models/GetContentInstructorBasicReporting.d.ts +47 -0
- package/dist/models/GetContentInstructorBasicReporting.js +61 -0
- package/dist/models/GetContentInstructorBasicReportingContentInfo.d.ts +59 -0
- package/dist/models/GetContentInstructorBasicReportingContentInfo.js +71 -0
- package/dist/models/GetContentInstructorBasicReportingEngagement.d.ts +56 -0
- package/dist/models/GetContentInstructorBasicReportingEngagement.js +66 -0
- package/dist/models/GetContentInstructorBasicReportingPerformance.d.ts +38 -0
- package/dist/models/GetContentInstructorBasicReportingPerformance.js +54 -0
- package/dist/models/GetCourseStudentReporting.d.ts +47 -0
- package/dist/models/GetCourseStudentReporting.js +61 -0
- package/dist/models/GetCourseStudentReportingCourseInfo.d.ts +32 -0
- package/dist/models/GetCourseStudentReportingCourseInfo.js +50 -0
- package/dist/models/GetCourseStudentReportingEngagement.d.ts +38 -0
- package/dist/models/GetCourseStudentReportingEngagement.js +54 -0
- package/dist/models/GetCourseStudentReportingPerformance.d.ts +32 -0
- package/dist/models/GetCourseStudentReportingPerformance.js +50 -0
- package/dist/models/GetModuleInstructorBasicReporting.d.ts +47 -0
- package/dist/models/GetModuleInstructorBasicReporting.js +61 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +32 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.js +50 -0
- package/dist/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +32 -0
- package/dist/models/GetModuleInstructorBasicReportingModuleInfo.js +50 -0
- package/dist/models/GetModuleInstructorBasicReportingPerformance.d.ts +32 -0
- package/dist/models/GetModuleInstructorBasicReportingPerformance.js +50 -0
- package/dist/models/GetModuleStudentReporting.d.ts +47 -0
- package/dist/models/GetModuleStudentReporting.js +61 -0
- package/dist/models/GetModuleStudentReportingAccess.d.ts +38 -0
- package/dist/models/GetModuleStudentReportingAccess.js +54 -0
- package/dist/models/GetModuleStudentReportingProgress.d.ts +38 -0
- package/dist/models/GetModuleStudentReportingProgress.js +54 -0
- package/dist/models/GetPortalBasicReporting.d.ts +40 -0
- package/dist/models/GetPortalBasicReporting.js +56 -0
- package/dist/models/GetPortalBasicReportingCertificates.d.ts +32 -0
- package/dist/models/GetPortalBasicReportingCertificates.js +50 -0
- package/dist/models/GetPortalBasicReportingPortalInfo.d.ts +44 -0
- package/dist/models/GetPortalBasicReportingPortalInfo.js +58 -0
- package/dist/models/ScormSessionData.d.ts +61 -0
- package/dist/models/ScormSessionData.js +61 -0
- package/dist/models/ScormSessionDataProgress.d.ts +38 -0
- package/dist/models/ScormSessionDataProgress.js +50 -0
- package/dist/models/ScormSessionDataScore.d.ts +50 -0
- package/dist/models/ScormSessionDataScore.js +54 -0
- package/dist/models/ScormSessionDataSession.d.ts +32 -0
- package/dist/models/ScormSessionDataSession.js +48 -0
- package/dist/models/ScormSessionDataStatus.d.ts +50 -0
- package/dist/models/ScormSessionDataStatus.js +54 -0
- package/dist/models/ScormSessionDataTime.d.ts +50 -0
- package/dist/models/ScormSessionDataTime.js +54 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +28 -0
- package/package.json +1 -1
- package/src/apis/ReportingApi.ts +450 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetContentGradeDetail.ts +191 -0
- package/src/models/GetContentGrades.ts +110 -0
- package/src/models/GetContentGradesItemsInner.ts +125 -0
- package/src/models/GetContentGradesItemsInnerUser.ts +84 -0
- package/src/models/GetContentInstructorBasicReporting.ts +106 -0
- package/src/models/GetContentInstructorBasicReportingContentInfo.ts +101 -0
- package/src/models/GetContentInstructorBasicReportingEngagement.ts +102 -0
- package/src/models/GetContentInstructorBasicReportingPerformance.ts +75 -0
- package/src/models/GetCourseStudentReporting.ts +106 -0
- package/src/models/GetCourseStudentReportingCourseInfo.ts +66 -0
- package/src/models/GetCourseStudentReportingEngagement.ts +75 -0
- package/src/models/GetCourseStudentReportingPerformance.ts +66 -0
- package/src/models/GetModuleInstructorBasicReporting.ts +106 -0
- package/src/models/GetModuleInstructorBasicReportingEngagement.ts +66 -0
- package/src/models/GetModuleInstructorBasicReportingModuleInfo.ts +66 -0
- package/src/models/GetModuleInstructorBasicReportingPerformance.ts +66 -0
- package/src/models/GetModuleStudentReporting.ts +106 -0
- package/src/models/GetModuleStudentReportingAccess.ts +75 -0
- package/src/models/GetModuleStudentReportingProgress.ts +75 -0
- package/src/models/GetPortalBasicReporting.ts +90 -0
- package/src/models/GetPortalBasicReportingCertificates.ts +66 -0
- package/src/models/GetPortalBasicReportingPortalInfo.ts +84 -0
- package/src/models/ScormSessionData.ts +133 -0
- package/src/models/ScormSessionDataProgress.ts +73 -0
- package/src/models/ScormSessionDataScore.ts +89 -0
- package/src/models/ScormSessionDataSession.ts +65 -0
- package/src/models/ScormSessionDataStatus.ts +89 -0
- package/src/models/ScormSessionDataTime.ts +89 -0
- package/src/models/index.ts +28 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ScormSessionDataProgress
|
|
20
|
+
*/
|
|
21
|
+
export interface ScormSessionDataProgress {
|
|
22
|
+
/**
|
|
23
|
+
* Progress measure (0.0 to 1.0)
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ScormSessionDataProgress
|
|
26
|
+
*/
|
|
27
|
+
progressMeasure?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Learner's current location in the content
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScormSessionDataProgress
|
|
32
|
+
*/
|
|
33
|
+
location?: string | null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ScormSessionDataProgress interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfScormSessionDataProgress(value: object): value is ScormSessionDataProgress {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ScormSessionDataProgressFromJSON(json: any): ScormSessionDataProgress {
|
|
44
|
+
return ScormSessionDataProgressFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ScormSessionDataProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataProgress {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'progressMeasure': json['progress_measure'] == null ? undefined : json['progress_measure'],
|
|
54
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ScormSessionDataProgressToJSON(json: any): ScormSessionDataProgress {
|
|
59
|
+
return ScormSessionDataProgressToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ScormSessionDataProgressToJSONTyped(value?: ScormSessionDataProgress | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'progress_measure': value['progressMeasure'],
|
|
70
|
+
'location': value['location'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ScormSessionDataScore
|
|
20
|
+
*/
|
|
21
|
+
export interface ScormSessionDataScore {
|
|
22
|
+
/**
|
|
23
|
+
* Raw score from SCORM content
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ScormSessionDataScore
|
|
26
|
+
*/
|
|
27
|
+
scoreRaw?: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Minimum possible score
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ScormSessionDataScore
|
|
32
|
+
*/
|
|
33
|
+
scoreMin?: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Maximum possible score
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ScormSessionDataScore
|
|
38
|
+
*/
|
|
39
|
+
scoreMax?: number | null;
|
|
40
|
+
/**
|
|
41
|
+
* Scaled score (-1.0 to 1.0)
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ScormSessionDataScore
|
|
44
|
+
*/
|
|
45
|
+
scoreScaled?: number | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ScormSessionDataScore interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfScormSessionDataScore(value: object): value is ScormSessionDataScore {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ScormSessionDataScoreFromJSON(json: any): ScormSessionDataScore {
|
|
56
|
+
return ScormSessionDataScoreFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ScormSessionDataScoreFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataScore {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
|
|
66
|
+
'scoreMin': json['score_min'] == null ? undefined : json['score_min'],
|
|
67
|
+
'scoreMax': json['score_max'] == null ? undefined : json['score_max'],
|
|
68
|
+
'scoreScaled': json['score_scaled'] == null ? undefined : json['score_scaled'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ScormSessionDataScoreToJSON(json: any): ScormSessionDataScore {
|
|
73
|
+
return ScormSessionDataScoreToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ScormSessionDataScoreToJSONTyped(value?: ScormSessionDataScore | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'score_raw': value['scoreRaw'],
|
|
84
|
+
'score_min': value['scoreMin'],
|
|
85
|
+
'score_max': value['scoreMax'],
|
|
86
|
+
'score_scaled': value['scoreScaled'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ScormSessionDataSession
|
|
20
|
+
*/
|
|
21
|
+
export interface ScormSessionDataSession {
|
|
22
|
+
/**
|
|
23
|
+
* Lesson mode (normal, browse, review)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScormSessionDataSession
|
|
26
|
+
*/
|
|
27
|
+
lessonMode?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ScormSessionDataSession interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfScormSessionDataSession(value: object): value is ScormSessionDataSession {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ScormSessionDataSessionFromJSON(json: any): ScormSessionDataSession {
|
|
38
|
+
return ScormSessionDataSessionFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ScormSessionDataSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataSession {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'lessonMode': json['lesson_mode'] == null ? undefined : json['lesson_mode'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ScormSessionDataSessionToJSON(json: any): ScormSessionDataSession {
|
|
52
|
+
return ScormSessionDataSessionToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ScormSessionDataSessionToJSONTyped(value?: ScormSessionDataSession | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'lesson_mode': value['lessonMode'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ScormSessionDataStatus
|
|
20
|
+
*/
|
|
21
|
+
export interface ScormSessionDataStatus {
|
|
22
|
+
/**
|
|
23
|
+
* SCORM completion status (incomplete, completed, not attempted, unknown)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScormSessionDataStatus
|
|
26
|
+
*/
|
|
27
|
+
completionStatus?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* SCORM success status (passed, failed, unknown)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScormSessionDataStatus
|
|
32
|
+
*/
|
|
33
|
+
successStatus?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Entry state (ab-initio, resume, or empty)
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ScormSessionDataStatus
|
|
38
|
+
*/
|
|
39
|
+
entry?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Exit state (time-out, suspend, logout, normal, or empty)
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ScormSessionDataStatus
|
|
44
|
+
*/
|
|
45
|
+
exit?: string | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ScormSessionDataStatus interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfScormSessionDataStatus(value: object): value is ScormSessionDataStatus {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ScormSessionDataStatusFromJSON(json: any): ScormSessionDataStatus {
|
|
56
|
+
return ScormSessionDataStatusFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ScormSessionDataStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataStatus {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'completionStatus': json['completion_status'] == null ? undefined : json['completion_status'],
|
|
66
|
+
'successStatus': json['success_status'] == null ? undefined : json['success_status'],
|
|
67
|
+
'entry': json['entry'] == null ? undefined : json['entry'],
|
|
68
|
+
'exit': json['exit'] == null ? undefined : json['exit'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ScormSessionDataStatusToJSON(json: any): ScormSessionDataStatus {
|
|
73
|
+
return ScormSessionDataStatusToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ScormSessionDataStatusToJSONTyped(value?: ScormSessionDataStatus | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'completion_status': value['completionStatus'],
|
|
84
|
+
'success_status': value['successStatus'],
|
|
85
|
+
'entry': value['entry'],
|
|
86
|
+
'exit': value['exit'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ScormSessionDataTime
|
|
20
|
+
*/
|
|
21
|
+
export interface ScormSessionDataTime {
|
|
22
|
+
/**
|
|
23
|
+
* Time spent in current session (ISO 8601 duration)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ScormSessionDataTime
|
|
26
|
+
*/
|
|
27
|
+
sessionTime?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* Total time spent across all sessions (ISO 8601 duration)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ScormSessionDataTime
|
|
32
|
+
*/
|
|
33
|
+
totalTime?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* Session start timestamp (epoch seconds)
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ScormSessionDataTime
|
|
38
|
+
*/
|
|
39
|
+
startTime?: number | null;
|
|
40
|
+
/**
|
|
41
|
+
* Session end timestamp (epoch seconds)
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ScormSessionDataTime
|
|
44
|
+
*/
|
|
45
|
+
endTime?: number | null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ScormSessionDataTime interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfScormSessionDataTime(value: object): value is ScormSessionDataTime {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ScormSessionDataTimeFromJSON(json: any): ScormSessionDataTime {
|
|
56
|
+
return ScormSessionDataTimeFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ScormSessionDataTimeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSessionDataTime {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'sessionTime': json['session_time'] == null ? undefined : json['session_time'],
|
|
66
|
+
'totalTime': json['total_time'] == null ? undefined : json['total_time'],
|
|
67
|
+
'startTime': json['start_time'] == null ? undefined : json['start_time'],
|
|
68
|
+
'endTime': json['end_time'] == null ? undefined : json['end_time'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ScormSessionDataTimeToJSON(json: any): ScormSessionDataTime {
|
|
73
|
+
return ScormSessionDataTimeToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ScormSessionDataTimeToJSONTyped(value?: ScormSessionDataTime | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'session_time': value['sessionTime'],
|
|
84
|
+
'total_time': value['totalTime'],
|
|
85
|
+
'start_time': value['startTime'],
|
|
86
|
+
'end_time': value['endTime'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -7,6 +7,14 @@ export * from './FillInBlank';
|
|
|
7
7
|
export * from './FillInBlank1';
|
|
8
8
|
export * from './GetContent';
|
|
9
9
|
export * from './GetContentContentData';
|
|
10
|
+
export * from './GetContentGradeDetail';
|
|
11
|
+
export * from './GetContentGrades';
|
|
12
|
+
export * from './GetContentGradesItemsInner';
|
|
13
|
+
export * from './GetContentGradesItemsInnerUser';
|
|
14
|
+
export * from './GetContentInstructorBasicReporting';
|
|
15
|
+
export * from './GetContentInstructorBasicReportingContentInfo';
|
|
16
|
+
export * from './GetContentInstructorBasicReportingEngagement';
|
|
17
|
+
export * from './GetContentInstructorBasicReportingPerformance';
|
|
10
18
|
export * from './GetContentList';
|
|
11
19
|
export * from './GetContentSession';
|
|
12
20
|
export * from './GetContentUpload';
|
|
@@ -16,9 +24,23 @@ export * from './GetCourseEnrollmentList';
|
|
|
16
24
|
export * from './GetCourseEnrollmentListItem';
|
|
17
25
|
export * from './GetCourseList';
|
|
18
26
|
export * from './GetCourseReportingBasic';
|
|
27
|
+
export * from './GetCourseStudentReporting';
|
|
28
|
+
export * from './GetCourseStudentReportingCourseInfo';
|
|
29
|
+
export * from './GetCourseStudentReportingEngagement';
|
|
30
|
+
export * from './GetCourseStudentReportingPerformance';
|
|
19
31
|
export * from './GetModule';
|
|
32
|
+
export * from './GetModuleInstructorBasicReporting';
|
|
33
|
+
export * from './GetModuleInstructorBasicReportingEngagement';
|
|
34
|
+
export * from './GetModuleInstructorBasicReportingModuleInfo';
|
|
35
|
+
export * from './GetModuleInstructorBasicReportingPerformance';
|
|
20
36
|
export * from './GetModuleList';
|
|
37
|
+
export * from './GetModuleStudentReporting';
|
|
38
|
+
export * from './GetModuleStudentReportingAccess';
|
|
39
|
+
export * from './GetModuleStudentReportingProgress';
|
|
21
40
|
export * from './GetPortal';
|
|
41
|
+
export * from './GetPortalBasicReporting';
|
|
42
|
+
export * from './GetPortalBasicReportingCertificates';
|
|
43
|
+
export * from './GetPortalBasicReportingPortalInfo';
|
|
22
44
|
export * from './GetPortalList';
|
|
23
45
|
export * from './GetPortalUser';
|
|
24
46
|
export * from './GetPortalUserList';
|
|
@@ -130,4 +152,10 @@ export * from './QuizContent';
|
|
|
130
152
|
export * from './QuizContentAssignment';
|
|
131
153
|
export * from './QuizContentSettings';
|
|
132
154
|
export * from './SCORMContent';
|
|
155
|
+
export * from './ScormSessionData';
|
|
156
|
+
export * from './ScormSessionDataProgress';
|
|
157
|
+
export * from './ScormSessionDataScore';
|
|
158
|
+
export * from './ScormSessionDataSession';
|
|
159
|
+
export * from './ScormSessionDataStatus';
|
|
160
|
+
export * from './ScormSessionDataTime';
|
|
133
161
|
export * from './SingleAnswer';
|