@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,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.instanceOfSystemPortalEnrollmentStats = instanceOfSystemPortalEnrollmentStats;
|
|
17
|
+
exports.SystemPortalEnrollmentStatsFromJSON = SystemPortalEnrollmentStatsFromJSON;
|
|
18
|
+
exports.SystemPortalEnrollmentStatsFromJSONTyped = SystemPortalEnrollmentStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalEnrollmentStatsToJSON = SystemPortalEnrollmentStatsToJSON;
|
|
20
|
+
exports.SystemPortalEnrollmentStatsToJSONTyped = SystemPortalEnrollmentStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalEnrollmentStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalEnrollmentStats(value) {
|
|
25
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('completed' in value) || value['completed'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('createdLast30Days' in value) || value['createdLast30Days'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('completedLast30Days' in value) || value['completedLast30Days'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SystemPortalEnrollmentStatsFromJSON(json) {
|
|
38
|
+
return SystemPortalEnrollmentStatsFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SystemPortalEnrollmentStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'total': json['total'],
|
|
46
|
+
'active': json['active'],
|
|
47
|
+
'completed': json['completed'],
|
|
48
|
+
'createdLast30Days': json['created_last_30_days'],
|
|
49
|
+
'completedLast30Days': json['completed_last_30_days'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function SystemPortalEnrollmentStatsToJSON(json) {
|
|
53
|
+
return SystemPortalEnrollmentStatsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function SystemPortalEnrollmentStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
'active': value['active'],
|
|
62
|
+
'completed': value['completed'],
|
|
63
|
+
'created_last_30_days': value['createdLast30Days'],
|
|
64
|
+
'completed_last_30_days': value['completedLast30Days'],
|
|
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 SystemPortalHierarchy
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalHierarchy {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SystemPortalHierarchy
|
|
22
|
+
*/
|
|
23
|
+
parentPortalId?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SystemPortalHierarchy
|
|
28
|
+
*/
|
|
29
|
+
parentPortalName?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalHierarchy
|
|
34
|
+
*/
|
|
35
|
+
childPortalCount: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SystemPortalHierarchy interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSystemPortalHierarchy(value: object): value is SystemPortalHierarchy;
|
|
41
|
+
export declare function SystemPortalHierarchyFromJSON(json: any): SystemPortalHierarchy;
|
|
42
|
+
export declare function SystemPortalHierarchyFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalHierarchy;
|
|
43
|
+
export declare function SystemPortalHierarchyToJSON(json: any): SystemPortalHierarchy;
|
|
44
|
+
export declare function SystemPortalHierarchyToJSONTyped(value?: SystemPortalHierarchy | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSystemPortalHierarchy = instanceOfSystemPortalHierarchy;
|
|
17
|
+
exports.SystemPortalHierarchyFromJSON = SystemPortalHierarchyFromJSON;
|
|
18
|
+
exports.SystemPortalHierarchyFromJSONTyped = SystemPortalHierarchyFromJSONTyped;
|
|
19
|
+
exports.SystemPortalHierarchyToJSON = SystemPortalHierarchyToJSON;
|
|
20
|
+
exports.SystemPortalHierarchyToJSONTyped = SystemPortalHierarchyToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalHierarchy interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalHierarchy(value) {
|
|
25
|
+
if (!('childPortalCount' in value) || value['childPortalCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SystemPortalHierarchyFromJSON(json) {
|
|
30
|
+
return SystemPortalHierarchyFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SystemPortalHierarchyFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'parentPortalId': json['parent_portal_id'] == null ? undefined : json['parent_portal_id'],
|
|
38
|
+
'parentPortalName': json['parent_portal_name'] == null ? undefined : json['parent_portal_name'],
|
|
39
|
+
'childPortalCount': json['child_portal_count'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function SystemPortalHierarchyToJSON(json) {
|
|
43
|
+
return SystemPortalHierarchyToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SystemPortalHierarchyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'parent_portal_id': value['parentPortalId'],
|
|
51
|
+
'parent_portal_name': value['parentPortalName'],
|
|
52
|
+
'child_portal_count': value['childPortalCount'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 SystemPortalLicense
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalLicense {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {SystemPortalLicenseStateEnum}
|
|
21
|
+
* @memberof SystemPortalLicense
|
|
22
|
+
*/
|
|
23
|
+
state: SystemPortalLicenseStateEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Maximum active learner seats. Null means unlimited.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalLicense
|
|
28
|
+
*/
|
|
29
|
+
seatLimit?: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Active learner enrollments (Enrolled, InProgress, Suspended) counted against the seat limit.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalLicense
|
|
34
|
+
*/
|
|
35
|
+
seatsUsed: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalLicense
|
|
40
|
+
*/
|
|
41
|
+
licenseStartAt?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalLicense
|
|
46
|
+
*/
|
|
47
|
+
licenseEndAt?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const SystemPortalLicenseStateEnum: {
|
|
53
|
+
readonly Active: "active";
|
|
54
|
+
readonly Suspended: "suspended";
|
|
55
|
+
readonly Expired: "expired";
|
|
56
|
+
};
|
|
57
|
+
export type SystemPortalLicenseStateEnum = typeof SystemPortalLicenseStateEnum[keyof typeof SystemPortalLicenseStateEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the SystemPortalLicense interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfSystemPortalLicense(value: object): value is SystemPortalLicense;
|
|
62
|
+
export declare function SystemPortalLicenseFromJSON(json: any): SystemPortalLicense;
|
|
63
|
+
export declare function SystemPortalLicenseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalLicense;
|
|
64
|
+
export declare function SystemPortalLicenseToJSON(json: any): SystemPortalLicense;
|
|
65
|
+
export declare function SystemPortalLicenseToJSONTyped(value?: SystemPortalLicense | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.SystemPortalLicenseStateEnum = void 0;
|
|
17
|
+
exports.instanceOfSystemPortalLicense = instanceOfSystemPortalLicense;
|
|
18
|
+
exports.SystemPortalLicenseFromJSON = SystemPortalLicenseFromJSON;
|
|
19
|
+
exports.SystemPortalLicenseFromJSONTyped = SystemPortalLicenseFromJSONTyped;
|
|
20
|
+
exports.SystemPortalLicenseToJSON = SystemPortalLicenseToJSON;
|
|
21
|
+
exports.SystemPortalLicenseToJSONTyped = SystemPortalLicenseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SystemPortalLicenseStateEnum = {
|
|
26
|
+
Active: 'active',
|
|
27
|
+
Suspended: 'suspended',
|
|
28
|
+
Expired: 'expired'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SystemPortalLicense interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfSystemPortalLicense(value) {
|
|
34
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('seatsUsed' in value) || value['seatsUsed'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function SystemPortalLicenseFromJSON(json) {
|
|
41
|
+
return SystemPortalLicenseFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SystemPortalLicenseFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'state': json['state'],
|
|
49
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
50
|
+
'seatsUsed': json['seats_used'],
|
|
51
|
+
'licenseStartAt': json['license_start_at'] == null ? undefined : json['license_start_at'],
|
|
52
|
+
'licenseEndAt': json['license_end_at'] == null ? undefined : json['license_end_at'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function SystemPortalLicenseToJSON(json) {
|
|
56
|
+
return SystemPortalLicenseToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function SystemPortalLicenseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'state': value['state'],
|
|
64
|
+
'seat_limit': value['seatLimit'],
|
|
65
|
+
'seats_used': value['seatsUsed'],
|
|
66
|
+
'license_start_at': value['licenseStartAt'],
|
|
67
|
+
'license_end_at': value['licenseEndAt'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 SystemPortalRoleCount
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalRoleCount {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {SystemPortalRoleCountBaseTypeEnum}
|
|
21
|
+
* @memberof SystemPortalRoleCount
|
|
22
|
+
*/
|
|
23
|
+
baseType: SystemPortalRoleCountBaseTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalRoleCount
|
|
28
|
+
*/
|
|
29
|
+
userCount: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const SystemPortalRoleCountBaseTypeEnum: {
|
|
35
|
+
readonly Owner: "Owner";
|
|
36
|
+
readonly Admin: "Admin";
|
|
37
|
+
readonly Instructor: "Instructor";
|
|
38
|
+
readonly Learner: "Learner";
|
|
39
|
+
readonly ClientSuperAdmin: "ClientSuperAdmin";
|
|
40
|
+
readonly ClientManager: "ClientManager";
|
|
41
|
+
readonly PortalClientAdministrator: "PortalClientAdministrator";
|
|
42
|
+
};
|
|
43
|
+
export type SystemPortalRoleCountBaseTypeEnum = typeof SystemPortalRoleCountBaseTypeEnum[keyof typeof SystemPortalRoleCountBaseTypeEnum];
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the SystemPortalRoleCount interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfSystemPortalRoleCount(value: object): value is SystemPortalRoleCount;
|
|
48
|
+
export declare function SystemPortalRoleCountFromJSON(json: any): SystemPortalRoleCount;
|
|
49
|
+
export declare function SystemPortalRoleCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalRoleCount;
|
|
50
|
+
export declare function SystemPortalRoleCountToJSON(json: any): SystemPortalRoleCount;
|
|
51
|
+
export declare function SystemPortalRoleCountToJSONTyped(value?: SystemPortalRoleCount | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.SystemPortalRoleCountBaseTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSystemPortalRoleCount = instanceOfSystemPortalRoleCount;
|
|
18
|
+
exports.SystemPortalRoleCountFromJSON = SystemPortalRoleCountFromJSON;
|
|
19
|
+
exports.SystemPortalRoleCountFromJSONTyped = SystemPortalRoleCountFromJSONTyped;
|
|
20
|
+
exports.SystemPortalRoleCountToJSON = SystemPortalRoleCountToJSON;
|
|
21
|
+
exports.SystemPortalRoleCountToJSONTyped = SystemPortalRoleCountToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SystemPortalRoleCountBaseTypeEnum = {
|
|
26
|
+
Owner: 'Owner',
|
|
27
|
+
Admin: 'Admin',
|
|
28
|
+
Instructor: 'Instructor',
|
|
29
|
+
Learner: 'Learner',
|
|
30
|
+
ClientSuperAdmin: 'ClientSuperAdmin',
|
|
31
|
+
ClientManager: 'ClientManager',
|
|
32
|
+
PortalClientAdministrator: 'PortalClientAdministrator'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the SystemPortalRoleCount interface.
|
|
36
|
+
*/
|
|
37
|
+
function instanceOfSystemPortalRoleCount(value) {
|
|
38
|
+
if (!('baseType' in value) || value['baseType'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('userCount' in value) || value['userCount'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
function SystemPortalRoleCountFromJSON(json) {
|
|
45
|
+
return SystemPortalRoleCountFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function SystemPortalRoleCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'baseType': json['base_type'],
|
|
53
|
+
'userCount': json['user_count'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function SystemPortalRoleCountToJSON(json) {
|
|
57
|
+
return SystemPortalRoleCountToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function SystemPortalRoleCountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'base_type': value['baseType'],
|
|
65
|
+
'user_count': value['userCount'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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
|
+
* Stored object sizes attributed to the portal, in bytes, as recorded in the database at upload time. Pending and deleted uploads are excluded.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SystemPortalStorageUsage
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalStorageUsage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalStorageUsage
|
|
22
|
+
*/
|
|
23
|
+
totalBytes: number;
|
|
24
|
+
/**
|
|
25
|
+
* Uploaded Content Library resource files across all versions.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalStorageUsage
|
|
28
|
+
*/
|
|
29
|
+
contentLibraryBytes: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalStorageUsage
|
|
34
|
+
*/
|
|
35
|
+
richTextAssetBytes: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalStorageUsage
|
|
40
|
+
*/
|
|
41
|
+
emailAssetBytes: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalStorageUsage
|
|
46
|
+
*/
|
|
47
|
+
certificateAssetBytes: number;
|
|
48
|
+
/**
|
|
49
|
+
* Generated certificate PDFs.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SystemPortalStorageUsage
|
|
52
|
+
*/
|
|
53
|
+
certificateArtifactBytes: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SystemPortalStorageUsage
|
|
58
|
+
*/
|
|
59
|
+
supportAttachmentBytes: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SystemPortalStorageUsage
|
|
64
|
+
*/
|
|
65
|
+
courseExportBytes: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the SystemPortalStorageUsage interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfSystemPortalStorageUsage(value: object): value is SystemPortalStorageUsage;
|
|
71
|
+
export declare function SystemPortalStorageUsageFromJSON(json: any): SystemPortalStorageUsage;
|
|
72
|
+
export declare function SystemPortalStorageUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalStorageUsage;
|
|
73
|
+
export declare function SystemPortalStorageUsageToJSON(json: any): SystemPortalStorageUsage;
|
|
74
|
+
export declare function SystemPortalStorageUsageToJSONTyped(value?: SystemPortalStorageUsage | 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.instanceOfSystemPortalStorageUsage = instanceOfSystemPortalStorageUsage;
|
|
17
|
+
exports.SystemPortalStorageUsageFromJSON = SystemPortalStorageUsageFromJSON;
|
|
18
|
+
exports.SystemPortalStorageUsageFromJSONTyped = SystemPortalStorageUsageFromJSONTyped;
|
|
19
|
+
exports.SystemPortalStorageUsageToJSON = SystemPortalStorageUsageToJSON;
|
|
20
|
+
exports.SystemPortalStorageUsageToJSONTyped = SystemPortalStorageUsageToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalStorageUsage interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalStorageUsage(value) {
|
|
25
|
+
if (!('totalBytes' in value) || value['totalBytes'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('contentLibraryBytes' in value) || value['contentLibraryBytes'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('richTextAssetBytes' in value) || value['richTextAssetBytes'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('emailAssetBytes' in value) || value['emailAssetBytes'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('certificateAssetBytes' in value) || value['certificateAssetBytes'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('certificateArtifactBytes' in value) || value['certificateArtifactBytes'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('supportAttachmentBytes' in value) || value['supportAttachmentBytes'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('courseExportBytes' in value) || value['courseExportBytes'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function SystemPortalStorageUsageFromJSON(json) {
|
|
44
|
+
return SystemPortalStorageUsageFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function SystemPortalStorageUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'totalBytes': json['total_bytes'],
|
|
52
|
+
'contentLibraryBytes': json['content_library_bytes'],
|
|
53
|
+
'richTextAssetBytes': json['rich_text_asset_bytes'],
|
|
54
|
+
'emailAssetBytes': json['email_asset_bytes'],
|
|
55
|
+
'certificateAssetBytes': json['certificate_asset_bytes'],
|
|
56
|
+
'certificateArtifactBytes': json['certificate_artifact_bytes'],
|
|
57
|
+
'supportAttachmentBytes': json['support_attachment_bytes'],
|
|
58
|
+
'courseExportBytes': json['course_export_bytes'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function SystemPortalStorageUsageToJSON(json) {
|
|
62
|
+
return SystemPortalStorageUsageToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function SystemPortalStorageUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'total_bytes': value['totalBytes'],
|
|
70
|
+
'content_library_bytes': value['contentLibraryBytes'],
|
|
71
|
+
'rich_text_asset_bytes': value['richTextAssetBytes'],
|
|
72
|
+
'email_asset_bytes': value['emailAssetBytes'],
|
|
73
|
+
'certificate_asset_bytes': value['certificateAssetBytes'],
|
|
74
|
+
'certificate_artifact_bytes': value['certificateArtifactBytes'],
|
|
75
|
+
'support_attachment_bytes': value['supportAttachmentBytes'],
|
|
76
|
+
'course_export_bytes': value['courseExportBytes'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -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 SystemPortalSupportStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalSupportStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalSupportStats
|
|
22
|
+
*/
|
|
23
|
+
open: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalSupportStats
|
|
28
|
+
*/
|
|
29
|
+
inProgress: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalSupportStats
|
|
34
|
+
*/
|
|
35
|
+
closed: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalSupportStats
|
|
40
|
+
*/
|
|
41
|
+
total: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SystemPortalSupportStats interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSystemPortalSupportStats(value: object): value is SystemPortalSupportStats;
|
|
47
|
+
export declare function SystemPortalSupportStatsFromJSON(json: any): SystemPortalSupportStats;
|
|
48
|
+
export declare function SystemPortalSupportStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalSupportStats;
|
|
49
|
+
export declare function SystemPortalSupportStatsToJSON(json: any): SystemPortalSupportStats;
|
|
50
|
+
export declare function SystemPortalSupportStatsToJSONTyped(value?: SystemPortalSupportStats | 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.instanceOfSystemPortalSupportStats = instanceOfSystemPortalSupportStats;
|
|
17
|
+
exports.SystemPortalSupportStatsFromJSON = SystemPortalSupportStatsFromJSON;
|
|
18
|
+
exports.SystemPortalSupportStatsFromJSONTyped = SystemPortalSupportStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalSupportStatsToJSON = SystemPortalSupportStatsToJSON;
|
|
20
|
+
exports.SystemPortalSupportStatsToJSONTyped = SystemPortalSupportStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalSupportStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalSupportStats(value) {
|
|
25
|
+
if (!('open' in value) || value['open'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('inProgress' in value) || value['inProgress'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('closed' in value) || value['closed'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SystemPortalSupportStatsFromJSON(json) {
|
|
36
|
+
return SystemPortalSupportStatsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SystemPortalSupportStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'open': json['open'],
|
|
44
|
+
'inProgress': json['in_progress'],
|
|
45
|
+
'closed': json['closed'],
|
|
46
|
+
'total': json['total'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function SystemPortalSupportStatsToJSON(json) {
|
|
50
|
+
return SystemPortalSupportStatsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SystemPortalSupportStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'open': value['open'],
|
|
58
|
+
'in_progress': value['inProgress'],
|
|
59
|
+
'closed': value['closed'],
|
|
60
|
+
'total': value['total'],
|
|
61
|
+
};
|
|
62
|
+
}
|