@easyedu/js-lsm-api 1.123.0 → 1.124.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.
Files changed (50) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +9 -2
  3. package/dist/apis/ReportingApi.d.ts +16 -0
  4. package/dist/apis/ReportingApi.js +39 -0
  5. package/dist/esm/apis/ReportingApi.d.ts +16 -0
  6. package/dist/esm/apis/ReportingApi.js +39 -0
  7. package/dist/esm/models/GetPortalManagementDashboard.d.ts +73 -0
  8. package/dist/esm/models/GetPortalManagementDashboard.js +72 -0
  9. package/dist/esm/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
  10. package/dist/esm/models/GetPortalManagementDashboardActivityDay.js +55 -0
  11. package/dist/esm/models/GetPortalManagementDashboardAttention.d.ts +56 -0
  12. package/dist/esm/models/GetPortalManagementDashboardAttention.js +59 -0
  13. package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
  14. package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.js +51 -0
  15. package/dist/esm/models/GetPortalManagementDashboardSummary.d.ts +74 -0
  16. package/dist/esm/models/GetPortalManagementDashboardSummary.js +71 -0
  17. package/dist/esm/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
  18. package/dist/esm/models/GetPortalManagementDashboardTopCourse.js +59 -0
  19. package/dist/esm/models/index.d.ts +6 -0
  20. package/dist/esm/models/index.js +6 -0
  21. package/dist/models/GetPortalManagementDashboard.d.ts +73 -0
  22. package/dist/models/GetPortalManagementDashboard.js +79 -0
  23. package/dist/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
  24. package/dist/models/GetPortalManagementDashboardActivityDay.js +62 -0
  25. package/dist/models/GetPortalManagementDashboardAttention.d.ts +56 -0
  26. package/dist/models/GetPortalManagementDashboardAttention.js +66 -0
  27. package/dist/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
  28. package/dist/models/GetPortalManagementDashboardEnrollmentStatus.js +58 -0
  29. package/dist/models/GetPortalManagementDashboardSummary.d.ts +74 -0
  30. package/dist/models/GetPortalManagementDashboardSummary.js +78 -0
  31. package/dist/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
  32. package/dist/models/GetPortalManagementDashboardTopCourse.js +66 -0
  33. package/dist/models/index.d.ts +6 -0
  34. package/dist/models/index.js +6 -0
  35. package/docs/GetPortalManagementDashboard.md +46 -0
  36. package/docs/GetPortalManagementDashboardActivityDay.md +40 -0
  37. package/docs/GetPortalManagementDashboardAttention.md +42 -0
  38. package/docs/GetPortalManagementDashboardEnrollmentStatus.md +38 -0
  39. package/docs/GetPortalManagementDashboardSummary.md +48 -0
  40. package/docs/GetPortalManagementDashboardTopCourse.md +42 -0
  41. package/docs/ReportingApi.md +67 -0
  42. package/package.json +1 -1
  43. package/src/apis/ReportingApi.ts +50 -0
  44. package/src/models/GetPortalManagementDashboard.ts +156 -0
  45. package/src/models/GetPortalManagementDashboardActivityDay.ts +93 -0
  46. package/src/models/GetPortalManagementDashboardAttention.ts +102 -0
  47. package/src/models/GetPortalManagementDashboardEnrollmentStatus.ts +84 -0
  48. package/src/models/GetPortalManagementDashboardSummary.ts +129 -0
  49. package/src/models/GetPortalManagementDashboardTopCourse.ts +102 -0
  50. package/src/models/index.ts +6 -0
@@ -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;
@@ -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.instanceOfGetPortalManagementDashboardTopCourse = instanceOfGetPortalManagementDashboardTopCourse;
17
+ exports.GetPortalManagementDashboardTopCourseFromJSON = GetPortalManagementDashboardTopCourseFromJSON;
18
+ exports.GetPortalManagementDashboardTopCourseFromJSONTyped = GetPortalManagementDashboardTopCourseFromJSONTyped;
19
+ exports.GetPortalManagementDashboardTopCourseToJSON = GetPortalManagementDashboardTopCourseToJSON;
20
+ exports.GetPortalManagementDashboardTopCourseToJSONTyped = GetPortalManagementDashboardTopCourseToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetPortalManagementDashboardTopCourse interface.
23
+ */
24
+ function instanceOfGetPortalManagementDashboardTopCourse(value) {
25
+ if (!('courseId' in value) || value['courseId'] === undefined)
26
+ return false;
27
+ if (!('courseName' in value) || value['courseName'] === undefined)
28
+ return false;
29
+ if (!('enrollmentCount' in value) || value['enrollmentCount'] === undefined)
30
+ return false;
31
+ if (!('activeLearnerCount' in value) || value['activeLearnerCount'] === undefined)
32
+ return false;
33
+ if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function GetPortalManagementDashboardTopCourseFromJSON(json) {
38
+ return GetPortalManagementDashboardTopCourseFromJSONTyped(json, false);
39
+ }
40
+ function GetPortalManagementDashboardTopCourseFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'courseId': json['course_id'],
46
+ 'courseName': json['course_name'],
47
+ 'enrollmentCount': json['enrollment_count'],
48
+ 'activeLearnerCount': json['active_learner_count'],
49
+ 'completionRatePercentage': json['completion_rate_percentage'],
50
+ };
51
+ }
52
+ function GetPortalManagementDashboardTopCourseToJSON(json) {
53
+ return GetPortalManagementDashboardTopCourseToJSONTyped(json, false);
54
+ }
55
+ function GetPortalManagementDashboardTopCourseToJSONTyped(value, ignoreDiscriminator = false) {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'course_id': value['courseId'],
61
+ 'course_name': value['courseName'],
62
+ 'enrollment_count': value['enrollmentCount'],
63
+ 'active_learner_count': value['activeLearnerCount'],
64
+ 'completion_rate_percentage': value['completionRatePercentage'],
65
+ };
66
+ }
@@ -117,6 +117,12 @@ export * from './GetPortalFaviconUpload';
117
117
  export * from './GetPortalInvitationSummary';
118
118
  export * from './GetPortalList';
119
119
  export * from './GetPortalLogoUpload';
120
+ export * from './GetPortalManagementDashboard';
121
+ export * from './GetPortalManagementDashboardActivityDay';
122
+ export * from './GetPortalManagementDashboardAttention';
123
+ export * from './GetPortalManagementDashboardEnrollmentStatus';
124
+ export * from './GetPortalManagementDashboardSummary';
125
+ export * from './GetPortalManagementDashboardTopCourse';
120
126
  export * from './GetPortalUser';
121
127
  export * from './GetPortalUserFieldValues';
122
128
  export * from './GetPortalUserList';
@@ -135,6 +135,12 @@ __exportStar(require("./GetPortalFaviconUpload"), exports);
135
135
  __exportStar(require("./GetPortalInvitationSummary"), exports);
136
136
  __exportStar(require("./GetPortalList"), exports);
137
137
  __exportStar(require("./GetPortalLogoUpload"), exports);
138
+ __exportStar(require("./GetPortalManagementDashboard"), exports);
139
+ __exportStar(require("./GetPortalManagementDashboardActivityDay"), exports);
140
+ __exportStar(require("./GetPortalManagementDashboardAttention"), exports);
141
+ __exportStar(require("./GetPortalManagementDashboardEnrollmentStatus"), exports);
142
+ __exportStar(require("./GetPortalManagementDashboardSummary"), exports);
143
+ __exportStar(require("./GetPortalManagementDashboardTopCourse"), exports);
138
144
  __exportStar(require("./GetPortalUser"), exports);
139
145
  __exportStar(require("./GetPortalUserFieldValues"), exports);
140
146
  __exportStar(require("./GetPortalUserList"), exports);
@@ -0,0 +1,46 @@
1
+
2
+ # GetPortalManagementDashboard
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `rangeDays` | number
10
+ `generatedAt` | number
11
+ `summary` | [GetPortalManagementDashboardSummary](GetPortalManagementDashboardSummary.md)
12
+ `enrollmentStatus` | [GetPortalManagementDashboardEnrollmentStatus](GetPortalManagementDashboardEnrollmentStatus.md)
13
+ `activity` | [Array<GetPortalManagementDashboardActivityDay>](GetPortalManagementDashboardActivityDay.md)
14
+ `topCourses` | [Array<GetPortalManagementDashboardTopCourse>](GetPortalManagementDashboardTopCourse.md)
15
+ `attention` | [GetPortalManagementDashboardAttention](GetPortalManagementDashboardAttention.md)
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { GetPortalManagementDashboard } from '@easyedu/js-lsm-api'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "rangeDays": null,
25
+ "generatedAt": null,
26
+ "summary": null,
27
+ "enrollmentStatus": null,
28
+ "activity": null,
29
+ "topCourses": null,
30
+ "attention": null,
31
+ } satisfies GetPortalManagementDashboard
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as GetPortalManagementDashboard
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -0,0 +1,40 @@
1
+
2
+ # GetPortalManagementDashboardActivityDay
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `date` | Date
10
+ `activeLearnerCount` | number
11
+ `loginCount` | number
12
+ `completionCount` | number
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { GetPortalManagementDashboardActivityDay } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "date": null,
22
+ "activeLearnerCount": null,
23
+ "loginCount": null,
24
+ "completionCount": null,
25
+ } satisfies GetPortalManagementDashboardActivityDay
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as GetPortalManagementDashboardActivityDay
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetPortalManagementDashboardAttention
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `notStartedEnrollmentCount` | number
10
+ `inactiveLearnerCount` | number
11
+ `expiringEnrollmentCount` | number
12
+ `expiringCertificateCount` | number
13
+ `draftCourseCount` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetPortalManagementDashboardAttention } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "notStartedEnrollmentCount": null,
23
+ "inactiveLearnerCount": null,
24
+ "expiringEnrollmentCount": null,
25
+ "expiringCertificateCount": null,
26
+ "draftCourseCount": null,
27
+ } satisfies GetPortalManagementDashboardAttention
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetPortalManagementDashboardAttention
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,38 @@
1
+
2
+ # GetPortalManagementDashboardEnrollmentStatus
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `notStartedCount` | number
10
+ `inProgressCount` | number
11
+ `completedCount` | number
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { GetPortalManagementDashboardEnrollmentStatus } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "notStartedCount": null,
21
+ "inProgressCount": null,
22
+ "completedCount": null,
23
+ } satisfies GetPortalManagementDashboardEnrollmentStatus
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as GetPortalManagementDashboardEnrollmentStatus
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+