@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,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.GetContentInstructorBasicReportingContentInfoContentTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfGetContentInstructorBasicReportingContentInfo = instanceOfGetContentInstructorBasicReportingContentInfo;
|
|
18
|
+
exports.GetContentInstructorBasicReportingContentInfoFromJSON = GetContentInstructorBasicReportingContentInfoFromJSON;
|
|
19
|
+
exports.GetContentInstructorBasicReportingContentInfoFromJSONTyped = GetContentInstructorBasicReportingContentInfoFromJSONTyped;
|
|
20
|
+
exports.GetContentInstructorBasicReportingContentInfoToJSON = GetContentInstructorBasicReportingContentInfoToJSON;
|
|
21
|
+
exports.GetContentInstructorBasicReportingContentInfoToJSONTyped = GetContentInstructorBasicReportingContentInfoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.GetContentInstructorBasicReportingContentInfoContentTypeEnum = {
|
|
26
|
+
Scorm: 'Scorm',
|
|
27
|
+
Video: 'Video',
|
|
28
|
+
Audio: 'Audio',
|
|
29
|
+
Image: 'Image',
|
|
30
|
+
Text: 'Text',
|
|
31
|
+
Link: 'Link',
|
|
32
|
+
File: 'File',
|
|
33
|
+
Pdf: 'Pdf',
|
|
34
|
+
Quiz: 'Quiz'
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the GetContentInstructorBasicReportingContentInfo interface.
|
|
38
|
+
*/
|
|
39
|
+
function instanceOfGetContentInstructorBasicReportingContentInfo(value) {
|
|
40
|
+
if (!('contentId' in value) || value['contentId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function GetContentInstructorBasicReportingContentInfoFromJSON(json) {
|
|
47
|
+
return GetContentInstructorBasicReportingContentInfoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetContentInstructorBasicReportingContentInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'contentId': json['content_id'],
|
|
55
|
+
'contentType': json['content_type'],
|
|
56
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
function GetContentInstructorBasicReportingContentInfoToJSON(json) {
|
|
60
|
+
return GetContentInstructorBasicReportingContentInfoToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
function GetContentInstructorBasicReportingContentInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'content_id': value['contentId'],
|
|
68
|
+
'content_type': value['contentType'],
|
|
69
|
+
'title': value['title'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 GetContentInstructorBasicReportingEngagement
|
|
16
|
+
*/
|
|
17
|
+
export interface GetContentInstructorBasicReportingEngagement {
|
|
18
|
+
/**
|
|
19
|
+
* Average time spent by students on this content in hours
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetContentInstructorBasicReportingEngagement
|
|
22
|
+
*/
|
|
23
|
+
avgTimeSpentHours: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Number of students who completed the content
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetContentInstructorBasicReportingEngagement
|
|
28
|
+
*/
|
|
29
|
+
studentsCompletedCount: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of students currently in progress
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetContentInstructorBasicReportingEngagement
|
|
34
|
+
*/
|
|
35
|
+
studentsInProgressCount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of students who have not started
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetContentInstructorBasicReportingEngagement
|
|
40
|
+
*/
|
|
41
|
+
studentsNotStartedCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of enrolled students
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetContentInstructorBasicReportingEngagement
|
|
46
|
+
*/
|
|
47
|
+
totalStudentsCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GetContentInstructorBasicReportingEngagement interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGetContentInstructorBasicReportingEngagement(value: object): value is GetContentInstructorBasicReportingEngagement;
|
|
53
|
+
export declare function GetContentInstructorBasicReportingEngagementFromJSON(json: any): GetContentInstructorBasicReportingEngagement;
|
|
54
|
+
export declare function GetContentInstructorBasicReportingEngagementFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentInstructorBasicReportingEngagement;
|
|
55
|
+
export declare function GetContentInstructorBasicReportingEngagementToJSON(json: any): GetContentInstructorBasicReportingEngagement;
|
|
56
|
+
export declare function GetContentInstructorBasicReportingEngagementToJSONTyped(value?: GetContentInstructorBasicReportingEngagement | 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.instanceOfGetContentInstructorBasicReportingEngagement = instanceOfGetContentInstructorBasicReportingEngagement;
|
|
17
|
+
exports.GetContentInstructorBasicReportingEngagementFromJSON = GetContentInstructorBasicReportingEngagementFromJSON;
|
|
18
|
+
exports.GetContentInstructorBasicReportingEngagementFromJSONTyped = GetContentInstructorBasicReportingEngagementFromJSONTyped;
|
|
19
|
+
exports.GetContentInstructorBasicReportingEngagementToJSON = GetContentInstructorBasicReportingEngagementToJSON;
|
|
20
|
+
exports.GetContentInstructorBasicReportingEngagementToJSONTyped = GetContentInstructorBasicReportingEngagementToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetContentInstructorBasicReportingEngagement interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetContentInstructorBasicReportingEngagement(value) {
|
|
25
|
+
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('studentsCompletedCount' in value) || value['studentsCompletedCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('studentsInProgressCount' in value) || value['studentsInProgressCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('studentsNotStartedCount' in value) || value['studentsNotStartedCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('totalStudentsCount' in value) || value['totalStudentsCount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function GetContentInstructorBasicReportingEngagementFromJSON(json) {
|
|
38
|
+
return GetContentInstructorBasicReportingEngagementFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function GetContentInstructorBasicReportingEngagementFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
46
|
+
'studentsCompletedCount': json['students_completed_count'],
|
|
47
|
+
'studentsInProgressCount': json['students_in_progress_count'],
|
|
48
|
+
'studentsNotStartedCount': json['students_not_started_count'],
|
|
49
|
+
'totalStudentsCount': json['total_students_count'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function GetContentInstructorBasicReportingEngagementToJSON(json) {
|
|
53
|
+
return GetContentInstructorBasicReportingEngagementToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function GetContentInstructorBasicReportingEngagementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
61
|
+
'students_completed_count': value['studentsCompletedCount'],
|
|
62
|
+
'students_in_progress_count': value['studentsInProgressCount'],
|
|
63
|
+
'students_not_started_count': value['studentsNotStartedCount'],
|
|
64
|
+
'total_students_count': value['totalStudentsCount'],
|
|
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 GetContentInstructorBasicReportingPerformance
|
|
16
|
+
*/
|
|
17
|
+
export interface GetContentInstructorBasicReportingPerformance {
|
|
18
|
+
/**
|
|
19
|
+
* Average score percentage across all students
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetContentInstructorBasicReportingPerformance
|
|
22
|
+
*/
|
|
23
|
+
avgScorePercentage: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Average number of attempts per student
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetContentInstructorBasicReportingPerformance
|
|
28
|
+
*/
|
|
29
|
+
avgAttemptCount: number | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetContentInstructorBasicReportingPerformance interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetContentInstructorBasicReportingPerformance(value: object): value is GetContentInstructorBasicReportingPerformance;
|
|
35
|
+
export declare function GetContentInstructorBasicReportingPerformanceFromJSON(json: any): GetContentInstructorBasicReportingPerformance;
|
|
36
|
+
export declare function GetContentInstructorBasicReportingPerformanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetContentInstructorBasicReportingPerformance;
|
|
37
|
+
export declare function GetContentInstructorBasicReportingPerformanceToJSON(json: any): GetContentInstructorBasicReportingPerformance;
|
|
38
|
+
export declare function GetContentInstructorBasicReportingPerformanceToJSONTyped(value?: GetContentInstructorBasicReportingPerformance | 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.instanceOfGetContentInstructorBasicReportingPerformance = instanceOfGetContentInstructorBasicReportingPerformance;
|
|
17
|
+
exports.GetContentInstructorBasicReportingPerformanceFromJSON = GetContentInstructorBasicReportingPerformanceFromJSON;
|
|
18
|
+
exports.GetContentInstructorBasicReportingPerformanceFromJSONTyped = GetContentInstructorBasicReportingPerformanceFromJSONTyped;
|
|
19
|
+
exports.GetContentInstructorBasicReportingPerformanceToJSON = GetContentInstructorBasicReportingPerformanceToJSON;
|
|
20
|
+
exports.GetContentInstructorBasicReportingPerformanceToJSONTyped = GetContentInstructorBasicReportingPerformanceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetContentInstructorBasicReportingPerformance interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetContentInstructorBasicReportingPerformance(value) {
|
|
25
|
+
if (!('avgScorePercentage' in value) || value['avgScorePercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('avgAttemptCount' in value) || value['avgAttemptCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetContentInstructorBasicReportingPerformanceFromJSON(json) {
|
|
32
|
+
return GetContentInstructorBasicReportingPerformanceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetContentInstructorBasicReportingPerformanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'avgScorePercentage': json['avg_score_percentage'],
|
|
40
|
+
'avgAttemptCount': json['avg_attempt_count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetContentInstructorBasicReportingPerformanceToJSON(json) {
|
|
44
|
+
return GetContentInstructorBasicReportingPerformanceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetContentInstructorBasicReportingPerformanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'avg_score_percentage': value['avgScorePercentage'],
|
|
52
|
+
'avg_attempt_count': value['avgAttemptCount'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { GetCourseStudentReportingEngagement } from './GetCourseStudentReportingEngagement';
|
|
13
|
+
import type { GetCourseStudentReportingCourseInfo } from './GetCourseStudentReportingCourseInfo';
|
|
14
|
+
import type { GetCourseStudentReportingPerformance } from './GetCourseStudentReportingPerformance';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetCourseStudentReporting
|
|
19
|
+
*/
|
|
20
|
+
export interface GetCourseStudentReporting {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {GetCourseStudentReportingCourseInfo}
|
|
24
|
+
* @memberof GetCourseStudentReporting
|
|
25
|
+
*/
|
|
26
|
+
courseInfo: GetCourseStudentReportingCourseInfo;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {GetCourseStudentReportingEngagement}
|
|
30
|
+
* @memberof GetCourseStudentReporting
|
|
31
|
+
*/
|
|
32
|
+
engagement: GetCourseStudentReportingEngagement;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {GetCourseStudentReportingPerformance}
|
|
36
|
+
* @memberof GetCourseStudentReporting
|
|
37
|
+
*/
|
|
38
|
+
performance: GetCourseStudentReportingPerformance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetCourseStudentReporting interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetCourseStudentReporting(value: object): value is GetCourseStudentReporting;
|
|
44
|
+
export declare function GetCourseStudentReportingFromJSON(json: any): GetCourseStudentReporting;
|
|
45
|
+
export declare function GetCourseStudentReportingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCourseStudentReporting;
|
|
46
|
+
export declare function GetCourseStudentReportingToJSON(json: any): GetCourseStudentReporting;
|
|
47
|
+
export declare function GetCourseStudentReportingToJSONTyped(value?: GetCourseStudentReporting | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.instanceOfGetCourseStudentReporting = instanceOfGetCourseStudentReporting;
|
|
17
|
+
exports.GetCourseStudentReportingFromJSON = GetCourseStudentReportingFromJSON;
|
|
18
|
+
exports.GetCourseStudentReportingFromJSONTyped = GetCourseStudentReportingFromJSONTyped;
|
|
19
|
+
exports.GetCourseStudentReportingToJSON = GetCourseStudentReportingToJSON;
|
|
20
|
+
exports.GetCourseStudentReportingToJSONTyped = GetCourseStudentReportingToJSONTyped;
|
|
21
|
+
const GetCourseStudentReportingEngagement_1 = require("./GetCourseStudentReportingEngagement");
|
|
22
|
+
const GetCourseStudentReportingCourseInfo_1 = require("./GetCourseStudentReportingCourseInfo");
|
|
23
|
+
const GetCourseStudentReportingPerformance_1 = require("./GetCourseStudentReportingPerformance");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetCourseStudentReporting interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetCourseStudentReporting(value) {
|
|
28
|
+
if (!('courseInfo' in value) || value['courseInfo'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('engagement' in value) || value['engagement'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('performance' in value) || value['performance'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetCourseStudentReportingFromJSON(json) {
|
|
37
|
+
return GetCourseStudentReportingFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetCourseStudentReportingFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'courseInfo': (0, GetCourseStudentReportingCourseInfo_1.GetCourseStudentReportingCourseInfoFromJSON)(json['course_info']),
|
|
45
|
+
'engagement': (0, GetCourseStudentReportingEngagement_1.GetCourseStudentReportingEngagementFromJSON)(json['engagement']),
|
|
46
|
+
'performance': (0, GetCourseStudentReportingPerformance_1.GetCourseStudentReportingPerformanceFromJSON)(json['performance']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetCourseStudentReportingToJSON(json) {
|
|
50
|
+
return GetCourseStudentReportingToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetCourseStudentReportingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'course_info': (0, GetCourseStudentReportingCourseInfo_1.GetCourseStudentReportingCourseInfoToJSON)(value['courseInfo']),
|
|
58
|
+
'engagement': (0, GetCourseStudentReportingEngagement_1.GetCourseStudentReportingEngagementToJSON)(value['engagement']),
|
|
59
|
+
'performance': (0, GetCourseStudentReportingPerformance_1.GetCourseStudentReportingPerformanceToJSON)(value['performance']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetCourseStudentReportingCourseInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCourseStudentReportingCourseInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of modules in the course
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetCourseStudentReportingCourseInfo
|
|
22
|
+
*/
|
|
23
|
+
moduleCount: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetCourseStudentReportingCourseInfo interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetCourseStudentReportingCourseInfo(value: object): value is GetCourseStudentReportingCourseInfo;
|
|
29
|
+
export declare function GetCourseStudentReportingCourseInfoFromJSON(json: any): GetCourseStudentReportingCourseInfo;
|
|
30
|
+
export declare function GetCourseStudentReportingCourseInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCourseStudentReportingCourseInfo;
|
|
31
|
+
export declare function GetCourseStudentReportingCourseInfoToJSON(json: any): GetCourseStudentReportingCourseInfo;
|
|
32
|
+
export declare function GetCourseStudentReportingCourseInfoToJSONTyped(value?: GetCourseStudentReportingCourseInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetCourseStudentReportingCourseInfo = instanceOfGetCourseStudentReportingCourseInfo;
|
|
17
|
+
exports.GetCourseStudentReportingCourseInfoFromJSON = GetCourseStudentReportingCourseInfoFromJSON;
|
|
18
|
+
exports.GetCourseStudentReportingCourseInfoFromJSONTyped = GetCourseStudentReportingCourseInfoFromJSONTyped;
|
|
19
|
+
exports.GetCourseStudentReportingCourseInfoToJSON = GetCourseStudentReportingCourseInfoToJSON;
|
|
20
|
+
exports.GetCourseStudentReportingCourseInfoToJSONTyped = GetCourseStudentReportingCourseInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetCourseStudentReportingCourseInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetCourseStudentReportingCourseInfo(value) {
|
|
25
|
+
if (!('moduleCount' in value) || value['moduleCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetCourseStudentReportingCourseInfoFromJSON(json) {
|
|
30
|
+
return GetCourseStudentReportingCourseInfoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetCourseStudentReportingCourseInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'moduleCount': json['module_count'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetCourseStudentReportingCourseInfoToJSON(json) {
|
|
41
|
+
return GetCourseStudentReportingCourseInfoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetCourseStudentReportingCourseInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'module_count': value['moduleCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 GetCourseStudentReportingEngagement
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCourseStudentReportingEngagement {
|
|
18
|
+
/**
|
|
19
|
+
* Average time spent on the course in hours
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetCourseStudentReportingEngagement
|
|
22
|
+
*/
|
|
23
|
+
avgTimeSpentHours: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Number of modules completed by the student
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetCourseStudentReportingEngagement
|
|
28
|
+
*/
|
|
29
|
+
modulesCompletedCount: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetCourseStudentReportingEngagement interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetCourseStudentReportingEngagement(value: object): value is GetCourseStudentReportingEngagement;
|
|
35
|
+
export declare function GetCourseStudentReportingEngagementFromJSON(json: any): GetCourseStudentReportingEngagement;
|
|
36
|
+
export declare function GetCourseStudentReportingEngagementFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCourseStudentReportingEngagement;
|
|
37
|
+
export declare function GetCourseStudentReportingEngagementToJSON(json: any): GetCourseStudentReportingEngagement;
|
|
38
|
+
export declare function GetCourseStudentReportingEngagementToJSONTyped(value?: GetCourseStudentReportingEngagement | 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.instanceOfGetCourseStudentReportingEngagement = instanceOfGetCourseStudentReportingEngagement;
|
|
17
|
+
exports.GetCourseStudentReportingEngagementFromJSON = GetCourseStudentReportingEngagementFromJSON;
|
|
18
|
+
exports.GetCourseStudentReportingEngagementFromJSONTyped = GetCourseStudentReportingEngagementFromJSONTyped;
|
|
19
|
+
exports.GetCourseStudentReportingEngagementToJSON = GetCourseStudentReportingEngagementToJSON;
|
|
20
|
+
exports.GetCourseStudentReportingEngagementToJSONTyped = GetCourseStudentReportingEngagementToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetCourseStudentReportingEngagement interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetCourseStudentReportingEngagement(value) {
|
|
25
|
+
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('modulesCompletedCount' in value) || value['modulesCompletedCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetCourseStudentReportingEngagementFromJSON(json) {
|
|
32
|
+
return GetCourseStudentReportingEngagementFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetCourseStudentReportingEngagementFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
40
|
+
'modulesCompletedCount': json['modules_completed_count'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetCourseStudentReportingEngagementToJSON(json) {
|
|
44
|
+
return GetCourseStudentReportingEngagementToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetCourseStudentReportingEngagementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
52
|
+
'modules_completed_count': value['modulesCompletedCount'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetCourseStudentReportingPerformance
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCourseStudentReportingPerformance {
|
|
18
|
+
/**
|
|
19
|
+
* Average score percentage across all modules
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetCourseStudentReportingPerformance
|
|
22
|
+
*/
|
|
23
|
+
avgScorePercentage: number | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetCourseStudentReportingPerformance interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetCourseStudentReportingPerformance(value: object): value is GetCourseStudentReportingPerformance;
|
|
29
|
+
export declare function GetCourseStudentReportingPerformanceFromJSON(json: any): GetCourseStudentReportingPerformance;
|
|
30
|
+
export declare function GetCourseStudentReportingPerformanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCourseStudentReportingPerformance;
|
|
31
|
+
export declare function GetCourseStudentReportingPerformanceToJSON(json: any): GetCourseStudentReportingPerformance;
|
|
32
|
+
export declare function GetCourseStudentReportingPerformanceToJSONTyped(value?: GetCourseStudentReportingPerformance | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfGetCourseStudentReportingPerformance = instanceOfGetCourseStudentReportingPerformance;
|
|
17
|
+
exports.GetCourseStudentReportingPerformanceFromJSON = GetCourseStudentReportingPerformanceFromJSON;
|
|
18
|
+
exports.GetCourseStudentReportingPerformanceFromJSONTyped = GetCourseStudentReportingPerformanceFromJSONTyped;
|
|
19
|
+
exports.GetCourseStudentReportingPerformanceToJSON = GetCourseStudentReportingPerformanceToJSON;
|
|
20
|
+
exports.GetCourseStudentReportingPerformanceToJSONTyped = GetCourseStudentReportingPerformanceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetCourseStudentReportingPerformance interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetCourseStudentReportingPerformance(value) {
|
|
25
|
+
if (!('avgScorePercentage' in value) || value['avgScorePercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetCourseStudentReportingPerformanceFromJSON(json) {
|
|
30
|
+
return GetCourseStudentReportingPerformanceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetCourseStudentReportingPerformanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'avgScorePercentage': json['avg_score_percentage'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetCourseStudentReportingPerformanceToJSON(json) {
|
|
41
|
+
return GetCourseStudentReportingPerformanceToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetCourseStudentReportingPerformanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'avg_score_percentage': value['avgScorePercentage'],
|
|
49
|
+
};
|
|
50
|
+
}
|