@easyedu/js-lsm-api 1.130.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 +46 -0
- package/README.md +29 -2
- package/dist/apis/ReportingApi.d.ts +52 -0
- package/dist/apis/ReportingApi.js +131 -0
- package/dist/apis/SystemApi.d.ts +16 -0
- package/dist/apis/SystemApi.js +40 -0
- package/dist/esm/apis/ReportingApi.d.ts +52 -0
- package/dist/esm/apis/ReportingApi.js +131 -0
- package/dist/esm/apis/SystemApi.d.ts +16 -0
- package/dist/esm/apis/SystemApi.js +40 -0
- package/dist/esm/models/GetReportCatalog.d.ts +40 -0
- package/dist/esm/models/GetReportCatalog.js +49 -0
- package/dist/esm/models/GetReportQueryResult.d.ts +84 -0
- package/dist/esm/models/GetReportQueryResult.js +77 -0
- package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/esm/models/GetSystemPortalOverview.js +106 -0
- package/dist/esm/models/PostReportExport.d.ts +54 -0
- package/dist/esm/models/PostReportExport.js +56 -0
- package/dist/esm/models/PostReportQuery.d.ts +52 -0
- package/dist/esm/models/PostReportQuery.js +49 -0
- package/dist/esm/models/ReportCategory.d.ts +50 -0
- package/dist/esm/models/ReportCategory.js +58 -0
- package/dist/esm/models/ReportColumn.d.ts +59 -0
- package/dist/esm/models/ReportColumn.js +64 -0
- package/dist/esm/models/ReportDefinition.d.ts +89 -0
- package/dist/esm/models/ReportDefinition.js +85 -0
- package/dist/esm/models/ReportFilterDefinition.d.ts +94 -0
- package/dist/esm/models/ReportFilterDefinition.js +91 -0
- package/dist/esm/models/ReportFilterOption.d.ts +38 -0
- package/dist/esm/models/ReportFilterOption.js +47 -0
- package/dist/esm/models/ReportFilters.d.ts +105 -0
- package/dist/esm/models/ReportFilters.js +65 -0
- package/dist/esm/models/ReportSort.d.ts +46 -0
- package/dist/esm/models/ReportSort.js +54 -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 +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/models/GetReportCatalog.d.ts +40 -0
- package/dist/models/GetReportCatalog.js +56 -0
- package/dist/models/GetReportQueryResult.d.ts +84 -0
- package/dist/models/GetReportQueryResult.js +84 -0
- package/dist/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/models/GetSystemPortalOverview.js +113 -0
- package/dist/models/PostReportExport.d.ts +54 -0
- package/dist/models/PostReportExport.js +64 -0
- package/dist/models/PostReportQuery.d.ts +52 -0
- package/dist/models/PostReportQuery.js +56 -0
- package/dist/models/ReportCategory.d.ts +50 -0
- package/dist/models/ReportCategory.js +66 -0
- package/dist/models/ReportColumn.d.ts +59 -0
- package/dist/models/ReportColumn.js +72 -0
- package/dist/models/ReportDefinition.d.ts +89 -0
- package/dist/models/ReportDefinition.js +93 -0
- package/dist/models/ReportFilterDefinition.d.ts +94 -0
- package/dist/models/ReportFilterDefinition.js +99 -0
- package/dist/models/ReportFilterOption.d.ts +38 -0
- package/dist/models/ReportFilterOption.js +54 -0
- package/dist/models/ReportFilters.d.ts +105 -0
- package/dist/models/ReportFilters.js +72 -0
- package/dist/models/ReportSort.d.ts +46 -0
- package/dist/models/ReportSort.js +62 -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 +23 -0
- package/dist/models/index.js +23 -0
- package/docs/GetReportCatalog.md +37 -0
- package/docs/GetReportQueryResult.md +50 -0
- package/docs/GetSystemPortalOverview.md +61 -0
- package/docs/PostReportExport.md +38 -0
- package/docs/PostReportQuery.md +40 -0
- package/docs/ReportCategory.md +36 -0
- package/docs/ReportColumn.md +39 -0
- package/docs/ReportDefinition.md +48 -0
- package/docs/ReportFilterDefinition.md +45 -0
- package/docs/ReportFilterOption.md +36 -0
- package/docs/ReportFilters.md +59 -0
- package/docs/ReportSort.md +36 -0
- package/docs/ReportingApi.md +207 -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/ReportingApi.ts +181 -0
- package/src/apis/SystemApi.ts +54 -0
- package/src/models/GetReportCatalog.ts +90 -0
- package/src/models/GetReportQueryResult.ts +153 -0
- package/src/models/GetSystemPortalOverview.ts +261 -0
- package/src/models/PostReportExport.ts +108 -0
- package/src/models/PostReportQuery.ts +104 -0
- package/src/models/ReportCategory.ts +90 -0
- package/src/models/ReportColumn.ts +102 -0
- package/src/models/ReportDefinition.ts +166 -0
- package/src/models/ReportFilterDefinition.ts +154 -0
- package/src/models/ReportFilterOption.ts +75 -0
- package/src/models/ReportFilters.ts +162 -0
- package/src/models/ReportSort.ts +86 -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 +23 -0
|
@@ -0,0 +1,91 @@
|
|
|
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 SystemPortalRoleCount
|
|
20
|
+
*/
|
|
21
|
+
export interface SystemPortalRoleCount {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {SystemPortalRoleCountBaseTypeEnum}
|
|
25
|
+
* @memberof SystemPortalRoleCount
|
|
26
|
+
*/
|
|
27
|
+
baseType: SystemPortalRoleCountBaseTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof SystemPortalRoleCount
|
|
32
|
+
*/
|
|
33
|
+
userCount: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const SystemPortalRoleCountBaseTypeEnum = {
|
|
41
|
+
Owner: 'Owner',
|
|
42
|
+
Admin: 'Admin',
|
|
43
|
+
Instructor: 'Instructor',
|
|
44
|
+
Learner: 'Learner',
|
|
45
|
+
ClientSuperAdmin: 'ClientSuperAdmin',
|
|
46
|
+
ClientManager: 'ClientManager',
|
|
47
|
+
PortalClientAdministrator: 'PortalClientAdministrator'
|
|
48
|
+
} as const;
|
|
49
|
+
export type SystemPortalRoleCountBaseTypeEnum = typeof SystemPortalRoleCountBaseTypeEnum[keyof typeof SystemPortalRoleCountBaseTypeEnum];
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the SystemPortalRoleCount interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfSystemPortalRoleCount(value: object): value is SystemPortalRoleCount {
|
|
56
|
+
if (!('baseType' in value) || value['baseType'] === undefined) return false;
|
|
57
|
+
if (!('userCount' in value) || value['userCount'] === undefined) return false;
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function SystemPortalRoleCountFromJSON(json: any): SystemPortalRoleCount {
|
|
62
|
+
return SystemPortalRoleCountFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function SystemPortalRoleCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalRoleCount {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'baseType': json['base_type'],
|
|
72
|
+
'userCount': json['user_count'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function SystemPortalRoleCountToJSON(json: any): SystemPortalRoleCount {
|
|
77
|
+
return SystemPortalRoleCountToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SystemPortalRoleCountToJSONTyped(value?: SystemPortalRoleCount | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'base_type': value['baseType'],
|
|
88
|
+
'user_count': value['userCount'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -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
|
@@ -135,6 +135,8 @@ export * from './GetQuestionAnswerChoicesInner';
|
|
|
135
135
|
export * from './GetQuestionList';
|
|
136
136
|
export * from './GetQuestionListFilters';
|
|
137
137
|
export * from './GetQuestionQuizzesInner';
|
|
138
|
+
export * from './GetReportCatalog';
|
|
139
|
+
export * from './GetReportQueryResult';
|
|
138
140
|
export * from './GetResource';
|
|
139
141
|
export * from './GetResourceList';
|
|
140
142
|
export * from './GetResourceSession';
|
|
@@ -165,6 +167,7 @@ export * from './GetSupportTicketList';
|
|
|
165
167
|
export * from './GetSystemBillingItem';
|
|
166
168
|
export * from './GetSystemBillingList';
|
|
167
169
|
export * from './GetSystemMetrics';
|
|
170
|
+
export * from './GetSystemPortalOverview';
|
|
168
171
|
export * from './GetUser';
|
|
169
172
|
export * from './GetUserAvatarUpload';
|
|
170
173
|
export * from './GetUserCourseList';
|
|
@@ -276,6 +279,8 @@ export * from './PostQuestionImportCommit';
|
|
|
276
279
|
export * from './PostQuestionImportCommitItem';
|
|
277
280
|
export * from './PostQuestionImportCommitResponse';
|
|
278
281
|
export * from './PostQuestionImportParseResponse';
|
|
282
|
+
export * from './PostReportExport';
|
|
283
|
+
export * from './PostReportQuery';
|
|
279
284
|
export * from './PostResetPassword';
|
|
280
285
|
export * from './PostResource';
|
|
281
286
|
export * from './PostResourceSessionActivityEvent';
|
|
@@ -351,6 +356,13 @@ export * from './QuestionImportPreviewImage';
|
|
|
351
356
|
export * from './QuestionImportSource';
|
|
352
357
|
export * from './QuestionImportSourceSummary';
|
|
353
358
|
export * from './QuestionSelectionMethod';
|
|
359
|
+
export * from './ReportCategory';
|
|
360
|
+
export * from './ReportColumn';
|
|
361
|
+
export * from './ReportDefinition';
|
|
362
|
+
export * from './ReportFilterDefinition';
|
|
363
|
+
export * from './ReportFilterOption';
|
|
364
|
+
export * from './ReportFilters';
|
|
365
|
+
export * from './ReportSort';
|
|
354
366
|
export * from './ResourceSessionEnvironment';
|
|
355
367
|
export * from './ResourceSessionScormApiLogItem';
|
|
356
368
|
export * from './ResourceType';
|
|
@@ -367,6 +379,17 @@ export * from './ScormSetValueRequest';
|
|
|
367
379
|
export * from './ScormSetValueResponse';
|
|
368
380
|
export * from './ScormTerminateResponse';
|
|
369
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';
|
|
370
393
|
export * from './UpdateSelectedPortalResponse';
|
|
371
394
|
export * from './UpdateSelectedPortalResponseHostPortal';
|
|
372
395
|
export * from './UpdateSelectedPortalResponseSelectedPortal';
|