@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,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 { GetModuleInstructorBasicReportingEngagement } from './GetModuleInstructorBasicReportingEngagement';
|
|
13
|
+
import type { GetModuleInstructorBasicReportingModuleInfo } from './GetModuleInstructorBasicReportingModuleInfo';
|
|
14
|
+
import type { GetModuleInstructorBasicReportingPerformance } from './GetModuleInstructorBasicReportingPerformance';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetModuleInstructorBasicReporting
|
|
19
|
+
*/
|
|
20
|
+
export interface GetModuleInstructorBasicReporting {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {GetModuleInstructorBasicReportingModuleInfo}
|
|
24
|
+
* @memberof GetModuleInstructorBasicReporting
|
|
25
|
+
*/
|
|
26
|
+
moduleInfo: GetModuleInstructorBasicReportingModuleInfo;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {GetModuleInstructorBasicReportingEngagement}
|
|
30
|
+
* @memberof GetModuleInstructorBasicReporting
|
|
31
|
+
*/
|
|
32
|
+
engagement: GetModuleInstructorBasicReportingEngagement;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {GetModuleInstructorBasicReportingPerformance}
|
|
36
|
+
* @memberof GetModuleInstructorBasicReporting
|
|
37
|
+
*/
|
|
38
|
+
performance: GetModuleInstructorBasicReportingPerformance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetModuleInstructorBasicReporting interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetModuleInstructorBasicReporting(value: object): value is GetModuleInstructorBasicReporting;
|
|
44
|
+
export declare function GetModuleInstructorBasicReportingFromJSON(json: any): GetModuleInstructorBasicReporting;
|
|
45
|
+
export declare function GetModuleInstructorBasicReportingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleInstructorBasicReporting;
|
|
46
|
+
export declare function GetModuleInstructorBasicReportingToJSON(json: any): GetModuleInstructorBasicReporting;
|
|
47
|
+
export declare function GetModuleInstructorBasicReportingToJSONTyped(value?: GetModuleInstructorBasicReporting | 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.instanceOfGetModuleInstructorBasicReporting = instanceOfGetModuleInstructorBasicReporting;
|
|
17
|
+
exports.GetModuleInstructorBasicReportingFromJSON = GetModuleInstructorBasicReportingFromJSON;
|
|
18
|
+
exports.GetModuleInstructorBasicReportingFromJSONTyped = GetModuleInstructorBasicReportingFromJSONTyped;
|
|
19
|
+
exports.GetModuleInstructorBasicReportingToJSON = GetModuleInstructorBasicReportingToJSON;
|
|
20
|
+
exports.GetModuleInstructorBasicReportingToJSONTyped = GetModuleInstructorBasicReportingToJSONTyped;
|
|
21
|
+
const GetModuleInstructorBasicReportingEngagement_1 = require("./GetModuleInstructorBasicReportingEngagement");
|
|
22
|
+
const GetModuleInstructorBasicReportingModuleInfo_1 = require("./GetModuleInstructorBasicReportingModuleInfo");
|
|
23
|
+
const GetModuleInstructorBasicReportingPerformance_1 = require("./GetModuleInstructorBasicReportingPerformance");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetModuleInstructorBasicReporting interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetModuleInstructorBasicReporting(value) {
|
|
28
|
+
if (!('moduleInfo' in value) || value['moduleInfo'] === 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 GetModuleInstructorBasicReportingFromJSON(json) {
|
|
37
|
+
return GetModuleInstructorBasicReportingFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetModuleInstructorBasicReportingFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'moduleInfo': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoFromJSON)(json['module_info']),
|
|
45
|
+
'engagement': (0, GetModuleInstructorBasicReportingEngagement_1.GetModuleInstructorBasicReportingEngagementFromJSON)(json['engagement']),
|
|
46
|
+
'performance': (0, GetModuleInstructorBasicReportingPerformance_1.GetModuleInstructorBasicReportingPerformanceFromJSON)(json['performance']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetModuleInstructorBasicReportingToJSON(json) {
|
|
50
|
+
return GetModuleInstructorBasicReportingToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetModuleInstructorBasicReportingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'module_info': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoToJSON)(value['moduleInfo']),
|
|
58
|
+
'engagement': (0, GetModuleInstructorBasicReportingEngagement_1.GetModuleInstructorBasicReportingEngagementToJSON)(value['engagement']),
|
|
59
|
+
'performance': (0, GetModuleInstructorBasicReportingPerformance_1.GetModuleInstructorBasicReportingPerformanceToJSON)(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 GetModuleInstructorBasicReportingEngagement
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleInstructorBasicReportingEngagement {
|
|
18
|
+
/**
|
|
19
|
+
* Average time spent by students on this module in hours
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
22
|
+
*/
|
|
23
|
+
avgTimeSpentHours: number | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingEngagement interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetModuleInstructorBasicReportingEngagement(value: object): value is GetModuleInstructorBasicReportingEngagement;
|
|
29
|
+
export declare function GetModuleInstructorBasicReportingEngagementFromJSON(json: any): GetModuleInstructorBasicReportingEngagement;
|
|
30
|
+
export declare function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleInstructorBasicReportingEngagement;
|
|
31
|
+
export declare function GetModuleInstructorBasicReportingEngagementToJSON(json: any): GetModuleInstructorBasicReportingEngagement;
|
|
32
|
+
export declare function GetModuleInstructorBasicReportingEngagementToJSONTyped(value?: GetModuleInstructorBasicReportingEngagement | 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.instanceOfGetModuleInstructorBasicReportingEngagement = instanceOfGetModuleInstructorBasicReportingEngagement;
|
|
17
|
+
exports.GetModuleInstructorBasicReportingEngagementFromJSON = GetModuleInstructorBasicReportingEngagementFromJSON;
|
|
18
|
+
exports.GetModuleInstructorBasicReportingEngagementFromJSONTyped = GetModuleInstructorBasicReportingEngagementFromJSONTyped;
|
|
19
|
+
exports.GetModuleInstructorBasicReportingEngagementToJSON = GetModuleInstructorBasicReportingEngagementToJSON;
|
|
20
|
+
exports.GetModuleInstructorBasicReportingEngagementToJSONTyped = GetModuleInstructorBasicReportingEngagementToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingEngagement interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetModuleInstructorBasicReportingEngagement(value) {
|
|
25
|
+
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetModuleInstructorBasicReportingEngagementFromJSON(json) {
|
|
30
|
+
return GetModuleInstructorBasicReportingEngagementFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetModuleInstructorBasicReportingEngagementToJSON(json) {
|
|
41
|
+
return GetModuleInstructorBasicReportingEngagementToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetModuleInstructorBasicReportingEngagementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 GetModuleInstructorBasicReportingModuleInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleInstructorBasicReportingModuleInfo {
|
|
18
|
+
/**
|
|
19
|
+
* Total number of content items in the module
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetModuleInstructorBasicReportingModuleInfo
|
|
22
|
+
*/
|
|
23
|
+
contentCount: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingModuleInfo interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetModuleInstructorBasicReportingModuleInfo(value: object): value is GetModuleInstructorBasicReportingModuleInfo;
|
|
29
|
+
export declare function GetModuleInstructorBasicReportingModuleInfoFromJSON(json: any): GetModuleInstructorBasicReportingModuleInfo;
|
|
30
|
+
export declare function GetModuleInstructorBasicReportingModuleInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleInstructorBasicReportingModuleInfo;
|
|
31
|
+
export declare function GetModuleInstructorBasicReportingModuleInfoToJSON(json: any): GetModuleInstructorBasicReportingModuleInfo;
|
|
32
|
+
export declare function GetModuleInstructorBasicReportingModuleInfoToJSONTyped(value?: GetModuleInstructorBasicReportingModuleInfo | 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.instanceOfGetModuleInstructorBasicReportingModuleInfo = instanceOfGetModuleInstructorBasicReportingModuleInfo;
|
|
17
|
+
exports.GetModuleInstructorBasicReportingModuleInfoFromJSON = GetModuleInstructorBasicReportingModuleInfoFromJSON;
|
|
18
|
+
exports.GetModuleInstructorBasicReportingModuleInfoFromJSONTyped = GetModuleInstructorBasicReportingModuleInfoFromJSONTyped;
|
|
19
|
+
exports.GetModuleInstructorBasicReportingModuleInfoToJSON = GetModuleInstructorBasicReportingModuleInfoToJSON;
|
|
20
|
+
exports.GetModuleInstructorBasicReportingModuleInfoToJSONTyped = GetModuleInstructorBasicReportingModuleInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingModuleInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetModuleInstructorBasicReportingModuleInfo(value) {
|
|
25
|
+
if (!('contentCount' in value) || value['contentCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetModuleInstructorBasicReportingModuleInfoFromJSON(json) {
|
|
30
|
+
return GetModuleInstructorBasicReportingModuleInfoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetModuleInstructorBasicReportingModuleInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'contentCount': json['content_count'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetModuleInstructorBasicReportingModuleInfoToJSON(json) {
|
|
41
|
+
return GetModuleInstructorBasicReportingModuleInfoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetModuleInstructorBasicReportingModuleInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'content_count': value['contentCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 GetModuleInstructorBasicReportingPerformance
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleInstructorBasicReportingPerformance {
|
|
18
|
+
/**
|
|
19
|
+
* Average score percentage across all students
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetModuleInstructorBasicReportingPerformance
|
|
22
|
+
*/
|
|
23
|
+
avgScorePercentage: number | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingPerformance interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetModuleInstructorBasicReportingPerformance(value: object): value is GetModuleInstructorBasicReportingPerformance;
|
|
29
|
+
export declare function GetModuleInstructorBasicReportingPerformanceFromJSON(json: any): GetModuleInstructorBasicReportingPerformance;
|
|
30
|
+
export declare function GetModuleInstructorBasicReportingPerformanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleInstructorBasicReportingPerformance;
|
|
31
|
+
export declare function GetModuleInstructorBasicReportingPerformanceToJSON(json: any): GetModuleInstructorBasicReportingPerformance;
|
|
32
|
+
export declare function GetModuleInstructorBasicReportingPerformanceToJSONTyped(value?: GetModuleInstructorBasicReportingPerformance | 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.instanceOfGetModuleInstructorBasicReportingPerformance = instanceOfGetModuleInstructorBasicReportingPerformance;
|
|
17
|
+
exports.GetModuleInstructorBasicReportingPerformanceFromJSON = GetModuleInstructorBasicReportingPerformanceFromJSON;
|
|
18
|
+
exports.GetModuleInstructorBasicReportingPerformanceFromJSONTyped = GetModuleInstructorBasicReportingPerformanceFromJSONTyped;
|
|
19
|
+
exports.GetModuleInstructorBasicReportingPerformanceToJSON = GetModuleInstructorBasicReportingPerformanceToJSON;
|
|
20
|
+
exports.GetModuleInstructorBasicReportingPerformanceToJSONTyped = GetModuleInstructorBasicReportingPerformanceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetModuleInstructorBasicReportingPerformance interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetModuleInstructorBasicReportingPerformance(value) {
|
|
25
|
+
if (!('avgScorePercentage' in value) || value['avgScorePercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetModuleInstructorBasicReportingPerformanceFromJSON(json) {
|
|
30
|
+
return GetModuleInstructorBasicReportingPerformanceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetModuleInstructorBasicReportingPerformanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'avgScorePercentage': json['avg_score_percentage'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetModuleInstructorBasicReportingPerformanceToJSON(json) {
|
|
41
|
+
return GetModuleInstructorBasicReportingPerformanceToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetModuleInstructorBasicReportingPerformanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'avg_score_percentage': value['avgScorePercentage'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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 { GetModuleInstructorBasicReportingModuleInfo } from './GetModuleInstructorBasicReportingModuleInfo';
|
|
13
|
+
import type { GetModuleStudentReportingAccess } from './GetModuleStudentReportingAccess';
|
|
14
|
+
import type { GetModuleStudentReportingProgress } from './GetModuleStudentReportingProgress';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetModuleStudentReporting
|
|
19
|
+
*/
|
|
20
|
+
export interface GetModuleStudentReporting {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {GetModuleInstructorBasicReportingModuleInfo}
|
|
24
|
+
* @memberof GetModuleStudentReporting
|
|
25
|
+
*/
|
|
26
|
+
moduleInfo: GetModuleInstructorBasicReportingModuleInfo;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {GetModuleStudentReportingProgress}
|
|
30
|
+
* @memberof GetModuleStudentReporting
|
|
31
|
+
*/
|
|
32
|
+
progress: GetModuleStudentReportingProgress;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {GetModuleStudentReportingAccess}
|
|
36
|
+
* @memberof GetModuleStudentReporting
|
|
37
|
+
*/
|
|
38
|
+
access: GetModuleStudentReportingAccess;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetModuleStudentReporting interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetModuleStudentReporting(value: object): value is GetModuleStudentReporting;
|
|
44
|
+
export declare function GetModuleStudentReportingFromJSON(json: any): GetModuleStudentReporting;
|
|
45
|
+
export declare function GetModuleStudentReportingFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleStudentReporting;
|
|
46
|
+
export declare function GetModuleStudentReportingToJSON(json: any): GetModuleStudentReporting;
|
|
47
|
+
export declare function GetModuleStudentReportingToJSONTyped(value?: GetModuleStudentReporting | 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.instanceOfGetModuleStudentReporting = instanceOfGetModuleStudentReporting;
|
|
17
|
+
exports.GetModuleStudentReportingFromJSON = GetModuleStudentReportingFromJSON;
|
|
18
|
+
exports.GetModuleStudentReportingFromJSONTyped = GetModuleStudentReportingFromJSONTyped;
|
|
19
|
+
exports.GetModuleStudentReportingToJSON = GetModuleStudentReportingToJSON;
|
|
20
|
+
exports.GetModuleStudentReportingToJSONTyped = GetModuleStudentReportingToJSONTyped;
|
|
21
|
+
const GetModuleInstructorBasicReportingModuleInfo_1 = require("./GetModuleInstructorBasicReportingModuleInfo");
|
|
22
|
+
const GetModuleStudentReportingAccess_1 = require("./GetModuleStudentReportingAccess");
|
|
23
|
+
const GetModuleStudentReportingProgress_1 = require("./GetModuleStudentReportingProgress");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetModuleStudentReporting interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetModuleStudentReporting(value) {
|
|
28
|
+
if (!('moduleInfo' in value) || value['moduleInfo'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('access' in value) || value['access'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function GetModuleStudentReportingFromJSON(json) {
|
|
37
|
+
return GetModuleStudentReportingFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function GetModuleStudentReportingFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'moduleInfo': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoFromJSON)(json['module_info']),
|
|
45
|
+
'progress': (0, GetModuleStudentReportingProgress_1.GetModuleStudentReportingProgressFromJSON)(json['progress']),
|
|
46
|
+
'access': (0, GetModuleStudentReportingAccess_1.GetModuleStudentReportingAccessFromJSON)(json['access']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetModuleStudentReportingToJSON(json) {
|
|
50
|
+
return GetModuleStudentReportingToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetModuleStudentReportingToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'module_info': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoToJSON)(value['moduleInfo']),
|
|
58
|
+
'progress': (0, GetModuleStudentReportingProgress_1.GetModuleStudentReportingProgressToJSON)(value['progress']),
|
|
59
|
+
'access': (0, GetModuleStudentReportingAccess_1.GetModuleStudentReportingAccessToJSON)(value['access']),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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 GetModuleStudentReportingAccess
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleStudentReportingAccess {
|
|
18
|
+
/**
|
|
19
|
+
* Last access timestamp (epoch seconds)
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetModuleStudentReportingAccess
|
|
22
|
+
*/
|
|
23
|
+
lastAccessedAt: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Total time spent on the module in hours
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetModuleStudentReportingAccess
|
|
28
|
+
*/
|
|
29
|
+
totalTimeSpent: number | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetModuleStudentReportingAccess interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetModuleStudentReportingAccess(value: object): value is GetModuleStudentReportingAccess;
|
|
35
|
+
export declare function GetModuleStudentReportingAccessFromJSON(json: any): GetModuleStudentReportingAccess;
|
|
36
|
+
export declare function GetModuleStudentReportingAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleStudentReportingAccess;
|
|
37
|
+
export declare function GetModuleStudentReportingAccessToJSON(json: any): GetModuleStudentReportingAccess;
|
|
38
|
+
export declare function GetModuleStudentReportingAccessToJSONTyped(value?: GetModuleStudentReportingAccess | 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.instanceOfGetModuleStudentReportingAccess = instanceOfGetModuleStudentReportingAccess;
|
|
17
|
+
exports.GetModuleStudentReportingAccessFromJSON = GetModuleStudentReportingAccessFromJSON;
|
|
18
|
+
exports.GetModuleStudentReportingAccessFromJSONTyped = GetModuleStudentReportingAccessFromJSONTyped;
|
|
19
|
+
exports.GetModuleStudentReportingAccessToJSON = GetModuleStudentReportingAccessToJSON;
|
|
20
|
+
exports.GetModuleStudentReportingAccessToJSONTyped = GetModuleStudentReportingAccessToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetModuleStudentReportingAccess interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetModuleStudentReportingAccess(value) {
|
|
25
|
+
if (!('lastAccessedAt' in value) || value['lastAccessedAt'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('totalTimeSpent' in value) || value['totalTimeSpent'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetModuleStudentReportingAccessFromJSON(json) {
|
|
32
|
+
return GetModuleStudentReportingAccessFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetModuleStudentReportingAccessFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'lastAccessedAt': json['last_accessed_at'],
|
|
40
|
+
'totalTimeSpent': json['total_time_spent'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetModuleStudentReportingAccessToJSON(json) {
|
|
44
|
+
return GetModuleStudentReportingAccessToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetModuleStudentReportingAccessToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'last_accessed_at': value['lastAccessedAt'],
|
|
52
|
+
'total_time_spent': value['totalTimeSpent'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 GetModuleStudentReportingProgress
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleStudentReportingProgress {
|
|
18
|
+
/**
|
|
19
|
+
* Number of content items completed by the user
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetModuleStudentReportingProgress
|
|
22
|
+
*/
|
|
23
|
+
contentCompletedCount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Total time spent on the module in hours
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetModuleStudentReportingProgress
|
|
28
|
+
*/
|
|
29
|
+
totalTimeSpent: number | null;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetModuleStudentReportingProgress interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetModuleStudentReportingProgress(value: object): value is GetModuleStudentReportingProgress;
|
|
35
|
+
export declare function GetModuleStudentReportingProgressFromJSON(json: any): GetModuleStudentReportingProgress;
|
|
36
|
+
export declare function GetModuleStudentReportingProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleStudentReportingProgress;
|
|
37
|
+
export declare function GetModuleStudentReportingProgressToJSON(json: any): GetModuleStudentReportingProgress;
|
|
38
|
+
export declare function GetModuleStudentReportingProgressToJSONTyped(value?: GetModuleStudentReportingProgress | 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.instanceOfGetModuleStudentReportingProgress = instanceOfGetModuleStudentReportingProgress;
|
|
17
|
+
exports.GetModuleStudentReportingProgressFromJSON = GetModuleStudentReportingProgressFromJSON;
|
|
18
|
+
exports.GetModuleStudentReportingProgressFromJSONTyped = GetModuleStudentReportingProgressFromJSONTyped;
|
|
19
|
+
exports.GetModuleStudentReportingProgressToJSON = GetModuleStudentReportingProgressToJSON;
|
|
20
|
+
exports.GetModuleStudentReportingProgressToJSONTyped = GetModuleStudentReportingProgressToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetModuleStudentReportingProgress interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetModuleStudentReportingProgress(value) {
|
|
25
|
+
if (!('contentCompletedCount' in value) || value['contentCompletedCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('totalTimeSpent' in value) || value['totalTimeSpent'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetModuleStudentReportingProgressFromJSON(json) {
|
|
32
|
+
return GetModuleStudentReportingProgressFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetModuleStudentReportingProgressFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'contentCompletedCount': json['content_completed_count'],
|
|
40
|
+
'totalTimeSpent': json['total_time_spent'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function GetModuleStudentReportingProgressToJSON(json) {
|
|
44
|
+
return GetModuleStudentReportingProgressToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetModuleStudentReportingProgressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'content_completed_count': value['contentCompletedCount'],
|
|
52
|
+
'total_time_spent': value['totalTimeSpent'],
|
|
53
|
+
};
|
|
54
|
+
}
|