@easyedu/js-lsm-api 1.131.0 → 1.132.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 +24 -0
- package/README.md +15 -2
- package/dist/apis/SystemApi.d.ts +16 -0
- package/dist/apis/SystemApi.js +40 -0
- package/dist/esm/apis/SystemApi.d.ts +16 -0
- package/dist/esm/apis/SystemApi.js +40 -0
- package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/esm/models/GetSystemPortalOverview.js +106 -0
- package/dist/esm/models/SystemPortalActivityStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalActivityStats.js +57 -0
- package/dist/esm/models/SystemPortalCertificateStats.d.ts +50 -0
- package/dist/esm/models/SystemPortalCertificateStats.js +55 -0
- package/dist/esm/models/SystemPortalContentStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalContentStats.js +59 -0
- package/dist/esm/models/SystemPortalCourseStats.d.ts +62 -0
- package/dist/esm/models/SystemPortalCourseStats.js +63 -0
- package/dist/esm/models/SystemPortalEnrollmentStats.d.ts +56 -0
- package/dist/esm/models/SystemPortalEnrollmentStats.js +59 -0
- package/dist/esm/models/SystemPortalHierarchy.d.ts +44 -0
- package/dist/esm/models/SystemPortalHierarchy.js +47 -0
- package/dist/esm/models/SystemPortalLicense.d.ts +65 -0
- package/dist/esm/models/SystemPortalLicense.js +61 -0
- package/dist/esm/models/SystemPortalRoleCount.d.ts +51 -0
- package/dist/esm/models/SystemPortalRoleCount.js +59 -0
- package/dist/esm/models/SystemPortalStorageUsage.d.ts +74 -0
- package/dist/esm/models/SystemPortalStorageUsage.js +71 -0
- package/dist/esm/models/SystemPortalSupportStats.d.ts +50 -0
- package/dist/esm/models/SystemPortalSupportStats.js +55 -0
- package/dist/esm/models/SystemPortalUserStats.d.ts +81 -0
- package/dist/esm/models/SystemPortalUserStats.js +74 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/models/GetSystemPortalOverview.js +113 -0
- package/dist/models/SystemPortalActivityStats.d.ts +56 -0
- package/dist/models/SystemPortalActivityStats.js +64 -0
- package/dist/models/SystemPortalCertificateStats.d.ts +50 -0
- package/dist/models/SystemPortalCertificateStats.js +62 -0
- package/dist/models/SystemPortalContentStats.d.ts +56 -0
- package/dist/models/SystemPortalContentStats.js +66 -0
- package/dist/models/SystemPortalCourseStats.d.ts +62 -0
- package/dist/models/SystemPortalCourseStats.js +70 -0
- package/dist/models/SystemPortalEnrollmentStats.d.ts +56 -0
- package/dist/models/SystemPortalEnrollmentStats.js +66 -0
- package/dist/models/SystemPortalHierarchy.d.ts +44 -0
- package/dist/models/SystemPortalHierarchy.js +54 -0
- package/dist/models/SystemPortalLicense.d.ts +65 -0
- package/dist/models/SystemPortalLicense.js +69 -0
- package/dist/models/SystemPortalRoleCount.d.ts +51 -0
- package/dist/models/SystemPortalRoleCount.js +67 -0
- package/dist/models/SystemPortalStorageUsage.d.ts +74 -0
- package/dist/models/SystemPortalStorageUsage.js +78 -0
- package/dist/models/SystemPortalSupportStats.d.ts +50 -0
- package/dist/models/SystemPortalSupportStats.js +62 -0
- package/dist/models/SystemPortalUserStats.d.ts +81 -0
- package/dist/models/SystemPortalUserStats.js +81 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/GetSystemPortalOverview.md +61 -0
- package/docs/SystemApi.md +68 -0
- package/docs/SystemPortalActivityStats.md +42 -0
- package/docs/SystemPortalCertificateStats.md +40 -0
- package/docs/SystemPortalContentStats.md +43 -0
- package/docs/SystemPortalCourseStats.md +44 -0
- package/docs/SystemPortalEnrollmentStats.md +43 -0
- package/docs/SystemPortalHierarchy.md +38 -0
- package/docs/SystemPortalLicense.md +42 -0
- package/docs/SystemPortalRoleCount.md +36 -0
- package/docs/SystemPortalStorageUsage.md +49 -0
- package/docs/SystemPortalSupportStats.md +40 -0
- package/docs/SystemPortalUserStats.md +50 -0
- package/package.json +1 -1
- package/src/apis/SystemApi.ts +54 -0
- package/src/models/GetSystemPortalOverview.ts +261 -0
- package/src/models/SystemPortalActivityStats.ts +101 -0
- package/src/models/SystemPortalCertificateStats.ts +93 -0
- package/src/models/SystemPortalContentStats.ts +102 -0
- package/src/models/SystemPortalCourseStats.ts +111 -0
- package/src/models/SystemPortalEnrollmentStats.ts +102 -0
- package/src/models/SystemPortalHierarchy.ts +82 -0
- package/src/models/SystemPortalLicense.ts +111 -0
- package/src/models/SystemPortalRoleCount.ts +91 -0
- package/src/models/SystemPortalStorageUsage.ts +129 -0
- package/src/models/SystemPortalSupportStats.ts +93 -0
- package/src/models/SystemPortalUserStats.ts +145 -0
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
* Stored object sizes attributed to the portal, in bytes, as recorded in the database at upload time. Pending and deleted uploads are excluded.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SystemPortalStorageUsage
|
|
20
|
+
*/
|
|
21
|
+
export interface SystemPortalStorageUsage {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof SystemPortalStorageUsage
|
|
26
|
+
*/
|
|
27
|
+
totalBytes: number;
|
|
28
|
+
/**
|
|
29
|
+
* Uploaded Content Library resource files across all versions.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SystemPortalStorageUsage
|
|
32
|
+
*/
|
|
33
|
+
contentLibraryBytes: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SystemPortalStorageUsage
|
|
38
|
+
*/
|
|
39
|
+
richTextAssetBytes: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof SystemPortalStorageUsage
|
|
44
|
+
*/
|
|
45
|
+
emailAssetBytes: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof SystemPortalStorageUsage
|
|
50
|
+
*/
|
|
51
|
+
certificateAssetBytes: number;
|
|
52
|
+
/**
|
|
53
|
+
* Generated certificate PDFs.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof SystemPortalStorageUsage
|
|
56
|
+
*/
|
|
57
|
+
certificateArtifactBytes: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof SystemPortalStorageUsage
|
|
62
|
+
*/
|
|
63
|
+
supportAttachmentBytes: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof SystemPortalStorageUsage
|
|
68
|
+
*/
|
|
69
|
+
courseExportBytes: number;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the SystemPortalStorageUsage interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfSystemPortalStorageUsage(value: object): value is SystemPortalStorageUsage {
|
|
76
|
+
if (!('totalBytes' in value) || value['totalBytes'] === undefined) return false;
|
|
77
|
+
if (!('contentLibraryBytes' in value) || value['contentLibraryBytes'] === undefined) return false;
|
|
78
|
+
if (!('richTextAssetBytes' in value) || value['richTextAssetBytes'] === undefined) return false;
|
|
79
|
+
if (!('emailAssetBytes' in value) || value['emailAssetBytes'] === undefined) return false;
|
|
80
|
+
if (!('certificateAssetBytes' in value) || value['certificateAssetBytes'] === undefined) return false;
|
|
81
|
+
if (!('certificateArtifactBytes' in value) || value['certificateArtifactBytes'] === undefined) return false;
|
|
82
|
+
if (!('supportAttachmentBytes' in value) || value['supportAttachmentBytes'] === undefined) return false;
|
|
83
|
+
if (!('courseExportBytes' in value) || value['courseExportBytes'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function SystemPortalStorageUsageFromJSON(json: any): SystemPortalStorageUsage {
|
|
88
|
+
return SystemPortalStorageUsageFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function SystemPortalStorageUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalStorageUsage {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'totalBytes': json['total_bytes'],
|
|
98
|
+
'contentLibraryBytes': json['content_library_bytes'],
|
|
99
|
+
'richTextAssetBytes': json['rich_text_asset_bytes'],
|
|
100
|
+
'emailAssetBytes': json['email_asset_bytes'],
|
|
101
|
+
'certificateAssetBytes': json['certificate_asset_bytes'],
|
|
102
|
+
'certificateArtifactBytes': json['certificate_artifact_bytes'],
|
|
103
|
+
'supportAttachmentBytes': json['support_attachment_bytes'],
|
|
104
|
+
'courseExportBytes': json['course_export_bytes'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function SystemPortalStorageUsageToJSON(json: any): SystemPortalStorageUsage {
|
|
109
|
+
return SystemPortalStorageUsageToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function SystemPortalStorageUsageToJSONTyped(value?: SystemPortalStorageUsage | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'total_bytes': value['totalBytes'],
|
|
120
|
+
'content_library_bytes': value['contentLibraryBytes'],
|
|
121
|
+
'rich_text_asset_bytes': value['richTextAssetBytes'],
|
|
122
|
+
'email_asset_bytes': value['emailAssetBytes'],
|
|
123
|
+
'certificate_asset_bytes': value['certificateAssetBytes'],
|
|
124
|
+
'certificate_artifact_bytes': value['certificateArtifactBytes'],
|
|
125
|
+
'support_attachment_bytes': value['supportAttachmentBytes'],
|
|
126
|
+
'course_export_bytes': value['courseExportBytes'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SystemPortalSupportStats
|
|
20
|
+
*/
|
|
21
|
+
export interface SystemPortalSupportStats {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof SystemPortalSupportStats
|
|
26
|
+
*/
|
|
27
|
+
open: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SystemPortalSupportStats
|
|
32
|
+
*/
|
|
33
|
+
inProgress: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SystemPortalSupportStats
|
|
38
|
+
*/
|
|
39
|
+
closed: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof SystemPortalSupportStats
|
|
44
|
+
*/
|
|
45
|
+
total: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SystemPortalSupportStats interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfSystemPortalSupportStats(value: object): value is SystemPortalSupportStats {
|
|
52
|
+
if (!('open' in value) || value['open'] === undefined) return false;
|
|
53
|
+
if (!('inProgress' in value) || value['inProgress'] === undefined) return false;
|
|
54
|
+
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
55
|
+
if (!('total' in value) || value['total'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function SystemPortalSupportStatsFromJSON(json: any): SystemPortalSupportStats {
|
|
60
|
+
return SystemPortalSupportStatsFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function SystemPortalSupportStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalSupportStats {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'open': json['open'],
|
|
70
|
+
'inProgress': json['in_progress'],
|
|
71
|
+
'closed': json['closed'],
|
|
72
|
+
'total': json['total'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SystemPortalSupportStatsToJSON(json: any): SystemPortalSupportStats {
|
|
77
|
+
return SystemPortalSupportStatsToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SystemPortalSupportStatsToJSONTyped(value?: SystemPortalSupportStats | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'open': value['open'],
|
|
88
|
+
'in_progress': value['inProgress'],
|
|
89
|
+
'closed': value['closed'],
|
|
90
|
+
'total': value['total'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { SystemPortalRoleCount } from './SystemPortalRoleCount';
|
|
17
|
+
import {
|
|
18
|
+
SystemPortalRoleCountFromJSON,
|
|
19
|
+
SystemPortalRoleCountFromJSONTyped,
|
|
20
|
+
SystemPortalRoleCountToJSON,
|
|
21
|
+
SystemPortalRoleCountToJSONTyped,
|
|
22
|
+
} from './SystemPortalRoleCount';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface SystemPortalUserStats
|
|
28
|
+
*/
|
|
29
|
+
export interface SystemPortalUserStats {
|
|
30
|
+
/**
|
|
31
|
+
* Distinct users holding at least one active role in the portal.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalUserStats
|
|
34
|
+
*/
|
|
35
|
+
total: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalUserStats
|
|
40
|
+
*/
|
|
41
|
+
enabled: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalUserStats
|
|
46
|
+
*/
|
|
47
|
+
disabled: number;
|
|
48
|
+
/**
|
|
49
|
+
* Users whose earliest active role in the portal was assigned in the last 30 days.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SystemPortalUserStats
|
|
52
|
+
*/
|
|
53
|
+
newLast30Days: number;
|
|
54
|
+
/**
|
|
55
|
+
* Distinct users who logged in to the portal in the last 7 days.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SystemPortalUserStats
|
|
58
|
+
*/
|
|
59
|
+
activeLast7Days: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SystemPortalUserStats
|
|
64
|
+
*/
|
|
65
|
+
activeLast30Days: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof SystemPortalUserStats
|
|
70
|
+
*/
|
|
71
|
+
pendingInvitations: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof SystemPortalUserStats
|
|
76
|
+
*/
|
|
77
|
+
lastLoginAt?: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* Distinct users per role base type. A user with several roles is counted once per base type.
|
|
80
|
+
* @type {Array<SystemPortalRoleCount>}
|
|
81
|
+
* @memberof SystemPortalUserStats
|
|
82
|
+
*/
|
|
83
|
+
byRole: Array<SystemPortalRoleCount>;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the SystemPortalUserStats interface.
|
|
88
|
+
*/
|
|
89
|
+
export function instanceOfSystemPortalUserStats(value: object): value is SystemPortalUserStats {
|
|
90
|
+
if (!('total' in value) || value['total'] === undefined) return false;
|
|
91
|
+
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
92
|
+
if (!('disabled' in value) || value['disabled'] === undefined) return false;
|
|
93
|
+
if (!('newLast30Days' in value) || value['newLast30Days'] === undefined) return false;
|
|
94
|
+
if (!('activeLast7Days' in value) || value['activeLast7Days'] === undefined) return false;
|
|
95
|
+
if (!('activeLast30Days' in value) || value['activeLast30Days'] === undefined) return false;
|
|
96
|
+
if (!('pendingInvitations' in value) || value['pendingInvitations'] === undefined) return false;
|
|
97
|
+
if (!('byRole' in value) || value['byRole'] === undefined) return false;
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function SystemPortalUserStatsFromJSON(json: any): SystemPortalUserStats {
|
|
102
|
+
return SystemPortalUserStatsFromJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function SystemPortalUserStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalUserStats {
|
|
106
|
+
if (json == null) {
|
|
107
|
+
return json;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'total': json['total'],
|
|
112
|
+
'enabled': json['enabled'],
|
|
113
|
+
'disabled': json['disabled'],
|
|
114
|
+
'newLast30Days': json['new_last_30_days'],
|
|
115
|
+
'activeLast7Days': json['active_last_7_days'],
|
|
116
|
+
'activeLast30Days': json['active_last_30_days'],
|
|
117
|
+
'pendingInvitations': json['pending_invitations'],
|
|
118
|
+
'lastLoginAt': json['last_login_at'] == null ? undefined : json['last_login_at'],
|
|
119
|
+
'byRole': ((json['by_role'] as Array<any>).map(SystemPortalRoleCountFromJSON)),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function SystemPortalUserStatsToJSON(json: any): SystemPortalUserStats {
|
|
124
|
+
return SystemPortalUserStatsToJSONTyped(json, false);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function SystemPortalUserStatsToJSONTyped(value?: SystemPortalUserStats | null, ignoreDiscriminator: boolean = false): any {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'total': value['total'],
|
|
135
|
+
'enabled': value['enabled'],
|
|
136
|
+
'disabled': value['disabled'],
|
|
137
|
+
'new_last_30_days': value['newLast30Days'],
|
|
138
|
+
'active_last_7_days': value['activeLast7Days'],
|
|
139
|
+
'active_last_30_days': value['activeLast30Days'],
|
|
140
|
+
'pending_invitations': value['pendingInvitations'],
|
|
141
|
+
'last_login_at': value['lastLoginAt'],
|
|
142
|
+
'by_role': ((value['byRole'] as Array<any>).map(SystemPortalRoleCountToJSON)),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -167,6 +167,7 @@ export * from './GetSupportTicketList';
|
|
|
167
167
|
export * from './GetSystemBillingItem';
|
|
168
168
|
export * from './GetSystemBillingList';
|
|
169
169
|
export * from './GetSystemMetrics';
|
|
170
|
+
export * from './GetSystemPortalOverview';
|
|
170
171
|
export * from './GetUser';
|
|
171
172
|
export * from './GetUserAvatarUpload';
|
|
172
173
|
export * from './GetUserCourseList';
|
|
@@ -378,6 +379,17 @@ export * from './ScormSetValueRequest';
|
|
|
378
379
|
export * from './ScormSetValueResponse';
|
|
379
380
|
export * from './ScormTerminateResponse';
|
|
380
381
|
export * from './SupportTicketUser';
|
|
382
|
+
export * from './SystemPortalActivityStats';
|
|
383
|
+
export * from './SystemPortalCertificateStats';
|
|
384
|
+
export * from './SystemPortalContentStats';
|
|
385
|
+
export * from './SystemPortalCourseStats';
|
|
386
|
+
export * from './SystemPortalEnrollmentStats';
|
|
387
|
+
export * from './SystemPortalHierarchy';
|
|
388
|
+
export * from './SystemPortalLicense';
|
|
389
|
+
export * from './SystemPortalRoleCount';
|
|
390
|
+
export * from './SystemPortalStorageUsage';
|
|
391
|
+
export * from './SystemPortalSupportStats';
|
|
392
|
+
export * from './SystemPortalUserStats';
|
|
381
393
|
export * from './UpdateSelectedPortalResponse';
|
|
382
394
|
export * from './UpdateSelectedPortalResponseHostPortal';
|
|
383
395
|
export * from './UpdateSelectedPortalResponseSelectedPortal';
|