@easyedu/js-lsm-api 1.123.0 → 1.125.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 +12 -0
- package/README.md +11 -4
- package/dist/apis/CourseApi.d.ts +4 -4
- package/dist/apis/CourseApi.js +4 -4
- package/dist/apis/ReportingApi.d.ts +16 -0
- package/dist/apis/ReportingApi.js +39 -0
- package/dist/esm/apis/CourseApi.d.ts +4 -4
- package/dist/esm/apis/CourseApi.js +4 -4
- package/dist/esm/apis/ReportingApi.d.ts +16 -0
- package/dist/esm/apis/ReportingApi.js +39 -0
- package/dist/esm/models/GetPortalManagementDashboard.d.ts +73 -0
- package/dist/esm/models/GetPortalManagementDashboard.js +72 -0
- package/dist/esm/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
- package/dist/esm/models/GetPortalManagementDashboardActivityDay.js +55 -0
- package/dist/esm/models/GetPortalManagementDashboardAttention.d.ts +56 -0
- package/dist/esm/models/GetPortalManagementDashboardAttention.js +59 -0
- package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
- package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.js +51 -0
- package/dist/esm/models/GetPortalManagementDashboardSummary.d.ts +74 -0
- package/dist/esm/models/GetPortalManagementDashboardSummary.js +71 -0
- package/dist/esm/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
- package/dist/esm/models/GetPortalManagementDashboardTopCourse.js +59 -0
- package/dist/esm/models/PostCourseEnrollment.d.ts +8 -4
- package/dist/esm/models/PutCourseEnrollment.d.ts +0 -14
- package/dist/esm/models/PutCourseEnrollment.js +0 -9
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/models/GetPortalManagementDashboard.d.ts +73 -0
- package/dist/models/GetPortalManagementDashboard.js +79 -0
- package/dist/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
- package/dist/models/GetPortalManagementDashboardActivityDay.js +62 -0
- package/dist/models/GetPortalManagementDashboardAttention.d.ts +56 -0
- package/dist/models/GetPortalManagementDashboardAttention.js +66 -0
- package/dist/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
- package/dist/models/GetPortalManagementDashboardEnrollmentStatus.js +58 -0
- package/dist/models/GetPortalManagementDashboardSummary.d.ts +74 -0
- package/dist/models/GetPortalManagementDashboardSummary.js +78 -0
- package/dist/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
- package/dist/models/GetPortalManagementDashboardTopCourse.js +66 -0
- package/dist/models/PostCourseEnrollment.d.ts +8 -4
- package/dist/models/PutCourseEnrollment.d.ts +0 -14
- package/dist/models/PutCourseEnrollment.js +1 -10
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/docs/CourseApi.md +7 -5
- package/docs/GetPortalManagementDashboard.md +46 -0
- package/docs/GetPortalManagementDashboardActivityDay.md +40 -0
- package/docs/GetPortalManagementDashboardAttention.md +42 -0
- package/docs/GetPortalManagementDashboardEnrollmentStatus.md +38 -0
- package/docs/GetPortalManagementDashboardSummary.md +48 -0
- package/docs/GetPortalManagementDashboardTopCourse.md +42 -0
- package/docs/PutCourseEnrollment.md +0 -2
- package/docs/ReportingApi.md +67 -0
- package/package.json +1 -1
- package/src/apis/CourseApi.ts +4 -4
- package/src/apis/ReportingApi.ts +50 -0
- package/src/models/GetPortalManagementDashboard.ts +156 -0
- package/src/models/GetPortalManagementDashboardActivityDay.ts +93 -0
- package/src/models/GetPortalManagementDashboardAttention.ts +102 -0
- package/src/models/GetPortalManagementDashboardEnrollmentStatus.ts +84 -0
- package/src/models/GetPortalManagementDashboardSummary.ts +129 -0
- package/src/models/GetPortalManagementDashboardTopCourse.ts +102 -0
- package/src/models/PostCourseEnrollment.ts +8 -4
- package/src/models/PutCourseEnrollment.ts +0 -17
- package/src/models/index.ts +6 -0
|
@@ -0,0 +1,79 @@
|
|
|
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.instanceOfGetPortalManagementDashboard = instanceOfGetPortalManagementDashboard;
|
|
17
|
+
exports.GetPortalManagementDashboardFromJSON = GetPortalManagementDashboardFromJSON;
|
|
18
|
+
exports.GetPortalManagementDashboardFromJSONTyped = GetPortalManagementDashboardFromJSONTyped;
|
|
19
|
+
exports.GetPortalManagementDashboardToJSON = GetPortalManagementDashboardToJSON;
|
|
20
|
+
exports.GetPortalManagementDashboardToJSONTyped = GetPortalManagementDashboardToJSONTyped;
|
|
21
|
+
const GetPortalManagementDashboardTopCourse_1 = require("./GetPortalManagementDashboardTopCourse");
|
|
22
|
+
const GetPortalManagementDashboardEnrollmentStatus_1 = require("./GetPortalManagementDashboardEnrollmentStatus");
|
|
23
|
+
const GetPortalManagementDashboardSummary_1 = require("./GetPortalManagementDashboardSummary");
|
|
24
|
+
const GetPortalManagementDashboardActivityDay_1 = require("./GetPortalManagementDashboardActivityDay");
|
|
25
|
+
const GetPortalManagementDashboardAttention_1 = require("./GetPortalManagementDashboardAttention");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetPortalManagementDashboard interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfGetPortalManagementDashboard(value) {
|
|
30
|
+
if (!('rangeDays' in value) || value['rangeDays'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('enrollmentStatus' in value) || value['enrollmentStatus'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('activity' in value) || value['activity'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('topCourses' in value) || value['topCourses'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('attention' in value) || value['attention'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function GetPortalManagementDashboardFromJSON(json) {
|
|
47
|
+
return GetPortalManagementDashboardFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetPortalManagementDashboardFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'rangeDays': json['range_days'],
|
|
55
|
+
'generatedAt': json['generated_at'],
|
|
56
|
+
'summary': (0, GetPortalManagementDashboardSummary_1.GetPortalManagementDashboardSummaryFromJSON)(json['summary']),
|
|
57
|
+
'enrollmentStatus': (0, GetPortalManagementDashboardEnrollmentStatus_1.GetPortalManagementDashboardEnrollmentStatusFromJSON)(json['enrollment_status']),
|
|
58
|
+
'activity': (json['activity'].map(GetPortalManagementDashboardActivityDay_1.GetPortalManagementDashboardActivityDayFromJSON)),
|
|
59
|
+
'topCourses': (json['top_courses'].map(GetPortalManagementDashboardTopCourse_1.GetPortalManagementDashboardTopCourseFromJSON)),
|
|
60
|
+
'attention': (0, GetPortalManagementDashboardAttention_1.GetPortalManagementDashboardAttentionFromJSON)(json['attention']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function GetPortalManagementDashboardToJSON(json) {
|
|
64
|
+
return GetPortalManagementDashboardToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function GetPortalManagementDashboardToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'range_days': value['rangeDays'],
|
|
72
|
+
'generated_at': value['generatedAt'],
|
|
73
|
+
'summary': (0, GetPortalManagementDashboardSummary_1.GetPortalManagementDashboardSummaryToJSON)(value['summary']),
|
|
74
|
+
'enrollment_status': (0, GetPortalManagementDashboardEnrollmentStatus_1.GetPortalManagementDashboardEnrollmentStatusToJSON)(value['enrollmentStatus']),
|
|
75
|
+
'activity': (value['activity'].map(GetPortalManagementDashboardActivityDay_1.GetPortalManagementDashboardActivityDayToJSON)),
|
|
76
|
+
'top_courses': (value['topCourses'].map(GetPortalManagementDashboardTopCourse_1.GetPortalManagementDashboardTopCourseToJSON)),
|
|
77
|
+
'attention': (0, GetPortalManagementDashboardAttention_1.GetPortalManagementDashboardAttentionToJSON)(value['attention']),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 GetPortalManagementDashboardActivityDay
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardActivityDay {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
22
|
+
*/
|
|
23
|
+
date: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
28
|
+
*/
|
|
29
|
+
activeLearnerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
34
|
+
*/
|
|
35
|
+
loginCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
40
|
+
*/
|
|
41
|
+
completionCount: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetPortalManagementDashboardActivityDay interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetPortalManagementDashboardActivityDay(value: object): value is GetPortalManagementDashboardActivityDay;
|
|
47
|
+
export declare function GetPortalManagementDashboardActivityDayFromJSON(json: any): GetPortalManagementDashboardActivityDay;
|
|
48
|
+
export declare function GetPortalManagementDashboardActivityDayFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardActivityDay;
|
|
49
|
+
export declare function GetPortalManagementDashboardActivityDayToJSON(json: any): GetPortalManagementDashboardActivityDay;
|
|
50
|
+
export declare function GetPortalManagementDashboardActivityDayToJSONTyped(value?: GetPortalManagementDashboardActivityDay | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfGetPortalManagementDashboardActivityDay = instanceOfGetPortalManagementDashboardActivityDay;
|
|
17
|
+
exports.GetPortalManagementDashboardActivityDayFromJSON = GetPortalManagementDashboardActivityDayFromJSON;
|
|
18
|
+
exports.GetPortalManagementDashboardActivityDayFromJSONTyped = GetPortalManagementDashboardActivityDayFromJSONTyped;
|
|
19
|
+
exports.GetPortalManagementDashboardActivityDayToJSON = GetPortalManagementDashboardActivityDayToJSON;
|
|
20
|
+
exports.GetPortalManagementDashboardActivityDayToJSONTyped = GetPortalManagementDashboardActivityDayToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPortalManagementDashboardActivityDay interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPortalManagementDashboardActivityDay(value) {
|
|
25
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('activeLearnerCount' in value) || value['activeLearnerCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('loginCount' in value) || value['loginCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('completionCount' in value) || value['completionCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GetPortalManagementDashboardActivityDayFromJSON(json) {
|
|
36
|
+
return GetPortalManagementDashboardActivityDayFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GetPortalManagementDashboardActivityDayFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'date': (new Date(json['date'])),
|
|
44
|
+
'activeLearnerCount': json['active_learner_count'],
|
|
45
|
+
'loginCount': json['login_count'],
|
|
46
|
+
'completionCount': json['completion_count'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetPortalManagementDashboardActivityDayToJSON(json) {
|
|
50
|
+
return GetPortalManagementDashboardActivityDayToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetPortalManagementDashboardActivityDayToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'date': value['date'].toISOString().substring(0, 10),
|
|
58
|
+
'active_learner_count': value['activeLearnerCount'],
|
|
59
|
+
'login_count': value['loginCount'],
|
|
60
|
+
'completion_count': value['completionCount'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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 GetPortalManagementDashboardAttention
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardAttention {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
22
|
+
*/
|
|
23
|
+
notStartedEnrollmentCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
28
|
+
*/
|
|
29
|
+
inactiveLearnerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
34
|
+
*/
|
|
35
|
+
expiringEnrollmentCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
40
|
+
*/
|
|
41
|
+
expiringCertificateCount: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
46
|
+
*/
|
|
47
|
+
draftCourseCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GetPortalManagementDashboardAttention interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGetPortalManagementDashboardAttention(value: object): value is GetPortalManagementDashboardAttention;
|
|
53
|
+
export declare function GetPortalManagementDashboardAttentionFromJSON(json: any): GetPortalManagementDashboardAttention;
|
|
54
|
+
export declare function GetPortalManagementDashboardAttentionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardAttention;
|
|
55
|
+
export declare function GetPortalManagementDashboardAttentionToJSON(json: any): GetPortalManagementDashboardAttention;
|
|
56
|
+
export declare function GetPortalManagementDashboardAttentionToJSONTyped(value?: GetPortalManagementDashboardAttention | 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.instanceOfGetPortalManagementDashboardAttention = instanceOfGetPortalManagementDashboardAttention;
|
|
17
|
+
exports.GetPortalManagementDashboardAttentionFromJSON = GetPortalManagementDashboardAttentionFromJSON;
|
|
18
|
+
exports.GetPortalManagementDashboardAttentionFromJSONTyped = GetPortalManagementDashboardAttentionFromJSONTyped;
|
|
19
|
+
exports.GetPortalManagementDashboardAttentionToJSON = GetPortalManagementDashboardAttentionToJSON;
|
|
20
|
+
exports.GetPortalManagementDashboardAttentionToJSONTyped = GetPortalManagementDashboardAttentionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPortalManagementDashboardAttention interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPortalManagementDashboardAttention(value) {
|
|
25
|
+
if (!('notStartedEnrollmentCount' in value) || value['notStartedEnrollmentCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('inactiveLearnerCount' in value) || value['inactiveLearnerCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('expiringEnrollmentCount' in value) || value['expiringEnrollmentCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('expiringCertificateCount' in value) || value['expiringCertificateCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('draftCourseCount' in value) || value['draftCourseCount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function GetPortalManagementDashboardAttentionFromJSON(json) {
|
|
38
|
+
return GetPortalManagementDashboardAttentionFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function GetPortalManagementDashboardAttentionFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'notStartedEnrollmentCount': json['not_started_enrollment_count'],
|
|
46
|
+
'inactiveLearnerCount': json['inactive_learner_count'],
|
|
47
|
+
'expiringEnrollmentCount': json['expiring_enrollment_count'],
|
|
48
|
+
'expiringCertificateCount': json['expiring_certificate_count'],
|
|
49
|
+
'draftCourseCount': json['draft_course_count'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function GetPortalManagementDashboardAttentionToJSON(json) {
|
|
53
|
+
return GetPortalManagementDashboardAttentionToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function GetPortalManagementDashboardAttentionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'not_started_enrollment_count': value['notStartedEnrollmentCount'],
|
|
61
|
+
'inactive_learner_count': value['inactiveLearnerCount'],
|
|
62
|
+
'expiring_enrollment_count': value['expiringEnrollmentCount'],
|
|
63
|
+
'expiring_certificate_count': value['expiringCertificateCount'],
|
|
64
|
+
'draft_course_count': value['draftCourseCount'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 GetPortalManagementDashboardEnrollmentStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardEnrollmentStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
22
|
+
*/
|
|
23
|
+
notStartedCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
28
|
+
*/
|
|
29
|
+
inProgressCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
34
|
+
*/
|
|
35
|
+
completedCount: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GetPortalManagementDashboardEnrollmentStatus interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGetPortalManagementDashboardEnrollmentStatus(value: object): value is GetPortalManagementDashboardEnrollmentStatus;
|
|
41
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusFromJSON(json: any): GetPortalManagementDashboardEnrollmentStatus;
|
|
42
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardEnrollmentStatus;
|
|
43
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusToJSON(json: any): GetPortalManagementDashboardEnrollmentStatus;
|
|
44
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusToJSONTyped(value?: GetPortalManagementDashboardEnrollmentStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfGetPortalManagementDashboardEnrollmentStatus = instanceOfGetPortalManagementDashboardEnrollmentStatus;
|
|
17
|
+
exports.GetPortalManagementDashboardEnrollmentStatusFromJSON = GetPortalManagementDashboardEnrollmentStatusFromJSON;
|
|
18
|
+
exports.GetPortalManagementDashboardEnrollmentStatusFromJSONTyped = GetPortalManagementDashboardEnrollmentStatusFromJSONTyped;
|
|
19
|
+
exports.GetPortalManagementDashboardEnrollmentStatusToJSON = GetPortalManagementDashboardEnrollmentStatusToJSON;
|
|
20
|
+
exports.GetPortalManagementDashboardEnrollmentStatusToJSONTyped = GetPortalManagementDashboardEnrollmentStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPortalManagementDashboardEnrollmentStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPortalManagementDashboardEnrollmentStatus(value) {
|
|
25
|
+
if (!('notStartedCount' in value) || value['notStartedCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('inProgressCount' in value) || value['inProgressCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('completedCount' in value) || value['completedCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetPortalManagementDashboardEnrollmentStatusFromJSON(json) {
|
|
34
|
+
return GetPortalManagementDashboardEnrollmentStatusFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetPortalManagementDashboardEnrollmentStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'notStartedCount': json['not_started_count'],
|
|
42
|
+
'inProgressCount': json['in_progress_count'],
|
|
43
|
+
'completedCount': json['completed_count'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function GetPortalManagementDashboardEnrollmentStatusToJSON(json) {
|
|
47
|
+
return GetPortalManagementDashboardEnrollmentStatusToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetPortalManagementDashboardEnrollmentStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'not_started_count': value['notStartedCount'],
|
|
55
|
+
'in_progress_count': value['inProgressCount'],
|
|
56
|
+
'completed_count': value['completedCount'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetPortalManagementDashboardSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
22
|
+
*/
|
|
23
|
+
learnerCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
28
|
+
*/
|
|
29
|
+
activeLearnerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
34
|
+
*/
|
|
35
|
+
activeEnrollmentCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
40
|
+
*/
|
|
41
|
+
completionRatePercentage: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
46
|
+
*/
|
|
47
|
+
courseCount: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
52
|
+
*/
|
|
53
|
+
publishedCourseCount: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
58
|
+
*/
|
|
59
|
+
draftCourseCount: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof GetPortalManagementDashboardSummary
|
|
64
|
+
*/
|
|
65
|
+
loginsToday: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the GetPortalManagementDashboardSummary interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfGetPortalManagementDashboardSummary(value: object): value is GetPortalManagementDashboardSummary;
|
|
71
|
+
export declare function GetPortalManagementDashboardSummaryFromJSON(json: any): GetPortalManagementDashboardSummary;
|
|
72
|
+
export declare function GetPortalManagementDashboardSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardSummary;
|
|
73
|
+
export declare function GetPortalManagementDashboardSummaryToJSON(json: any): GetPortalManagementDashboardSummary;
|
|
74
|
+
export declare function GetPortalManagementDashboardSummaryToJSONTyped(value?: GetPortalManagementDashboardSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.instanceOfGetPortalManagementDashboardSummary = instanceOfGetPortalManagementDashboardSummary;
|
|
17
|
+
exports.GetPortalManagementDashboardSummaryFromJSON = GetPortalManagementDashboardSummaryFromJSON;
|
|
18
|
+
exports.GetPortalManagementDashboardSummaryFromJSONTyped = GetPortalManagementDashboardSummaryFromJSONTyped;
|
|
19
|
+
exports.GetPortalManagementDashboardSummaryToJSON = GetPortalManagementDashboardSummaryToJSON;
|
|
20
|
+
exports.GetPortalManagementDashboardSummaryToJSONTyped = GetPortalManagementDashboardSummaryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPortalManagementDashboardSummary interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetPortalManagementDashboardSummary(value) {
|
|
25
|
+
if (!('learnerCount' in value) || value['learnerCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('activeLearnerCount' in value) || value['activeLearnerCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('activeEnrollmentCount' in value) || value['activeEnrollmentCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('courseCount' in value) || value['courseCount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('publishedCourseCount' in value) || value['publishedCourseCount'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('draftCourseCount' in value) || value['draftCourseCount'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('loginsToday' in value) || value['loginsToday'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function GetPortalManagementDashboardSummaryFromJSON(json) {
|
|
44
|
+
return GetPortalManagementDashboardSummaryFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetPortalManagementDashboardSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'learnerCount': json['learner_count'],
|
|
52
|
+
'activeLearnerCount': json['active_learner_count'],
|
|
53
|
+
'activeEnrollmentCount': json['active_enrollment_count'],
|
|
54
|
+
'completionRatePercentage': json['completion_rate_percentage'],
|
|
55
|
+
'courseCount': json['course_count'],
|
|
56
|
+
'publishedCourseCount': json['published_course_count'],
|
|
57
|
+
'draftCourseCount': json['draft_course_count'],
|
|
58
|
+
'loginsToday': json['logins_today'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function GetPortalManagementDashboardSummaryToJSON(json) {
|
|
62
|
+
return GetPortalManagementDashboardSummaryToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function GetPortalManagementDashboardSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'learner_count': value['learnerCount'],
|
|
70
|
+
'active_learner_count': value['activeLearnerCount'],
|
|
71
|
+
'active_enrollment_count': value['activeEnrollmentCount'],
|
|
72
|
+
'completion_rate_percentage': value['completionRatePercentage'],
|
|
73
|
+
'course_count': value['courseCount'],
|
|
74
|
+
'published_course_count': value['publishedCourseCount'],
|
|
75
|
+
'draft_course_count': value['draftCourseCount'],
|
|
76
|
+
'logins_today': value['loginsToday'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -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 GetPortalManagementDashboardTopCourse
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardTopCourse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetPortalManagementDashboardTopCourse
|
|
22
|
+
*/
|
|
23
|
+
courseId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPortalManagementDashboardTopCourse
|
|
28
|
+
*/
|
|
29
|
+
courseName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardTopCourse
|
|
34
|
+
*/
|
|
35
|
+
enrollmentCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardTopCourse
|
|
40
|
+
*/
|
|
41
|
+
activeLearnerCount: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetPortalManagementDashboardTopCourse
|
|
46
|
+
*/
|
|
47
|
+
completionRatePercentage: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GetPortalManagementDashboardTopCourse interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGetPortalManagementDashboardTopCourse(value: object): value is GetPortalManagementDashboardTopCourse;
|
|
53
|
+
export declare function GetPortalManagementDashboardTopCourseFromJSON(json: any): GetPortalManagementDashboardTopCourse;
|
|
54
|
+
export declare function GetPortalManagementDashboardTopCourseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardTopCourse;
|
|
55
|
+
export declare function GetPortalManagementDashboardTopCourseToJSON(json: any): GetPortalManagementDashboardTopCourse;
|
|
56
|
+
export declare function GetPortalManagementDashboardTopCourseToJSONTyped(value?: GetPortalManagementDashboardTopCourse | null, ignoreDiscriminator?: boolean): any;
|