@easyedu/js-lsm-api 1.131.0 → 1.133.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 +28 -0
- package/README.md +18 -2
- package/dist/apis/PortalApi.d.ts +9 -0
- package/dist/apis/PortalApi.js +11 -1
- package/dist/apis/QuestionApi.d.ts +19 -0
- package/dist/apis/QuestionApi.js +44 -0
- package/dist/apis/SystemApi.d.ts +16 -0
- package/dist/apis/SystemApi.js +40 -0
- package/dist/esm/apis/PortalApi.d.ts +9 -0
- package/dist/esm/apis/PortalApi.js +10 -0
- package/dist/esm/apis/QuestionApi.d.ts +19 -0
- package/dist/esm/apis/QuestionApi.js +44 -0
- package/dist/esm/apis/SystemApi.d.ts +16 -0
- package/dist/esm/apis/SystemApi.js +40 -0
- package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +6 -0
- package/dist/esm/models/GetCourseEnrollmentListItem.js +2 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +6 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.js +4 -0
- package/dist/esm/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/esm/models/GetSystemPortalOverview.js +106 -0
- package/dist/esm/models/PostQuestionTags.d.ts +38 -0
- package/dist/esm/models/PostQuestionTags.js +47 -0
- package/dist/esm/models/PostQuestionTagsResponse.d.ts +32 -0
- package/dist/esm/models/PostQuestionTagsResponse.js +43 -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 +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/GetCourseEnrollmentListItem.d.ts +6 -0
- package/dist/models/GetCourseEnrollmentListItem.js +2 -0
- package/dist/models/GetResourceUsageCoursesInner.d.ts +6 -0
- package/dist/models/GetResourceUsageCoursesInner.js +4 -0
- package/dist/models/GetSystemPortalOverview.d.ts +121 -0
- package/dist/models/GetSystemPortalOverview.js +113 -0
- package/dist/models/PostQuestionTags.d.ts +38 -0
- package/dist/models/PostQuestionTags.js +54 -0
- package/dist/models/PostQuestionTagsResponse.d.ts +32 -0
- package/dist/models/PostQuestionTagsResponse.js +50 -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 +14 -0
- package/dist/models/index.js +14 -0
- package/docs/GetCourseEnrollmentListItem.md +2 -0
- package/docs/GetResourceUsageCoursesInner.md +2 -0
- package/docs/GetSystemPortalOverview.md +61 -0
- package/docs/PortalApi.md +4 -1
- package/docs/PostQuestionTags.md +37 -0
- package/docs/PostQuestionTagsResponse.md +34 -0
- package/docs/QuestionApi.md +71 -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/PortalApi.ts +13 -0
- package/src/apis/QuestionApi.ts +63 -0
- package/src/apis/SystemApi.ts +54 -0
- package/src/models/GetCourseEnrollmentListItem.ts +8 -0
- package/src/models/GetResourceUsageCoursesInner.ts +9 -0
- package/src/models/GetSystemPortalOverview.ts +261 -0
- package/src/models/PostQuestionTags.ts +75 -0
- package/src/models/PostQuestionTagsResponse.ts +66 -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 +14 -0
|
@@ -0,0 +1,62 @@
|
|
|
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 SystemPortalCourseStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalCourseStats {
|
|
18
|
+
/**
|
|
19
|
+
* Non-deleted courses owned by the portal.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalCourseStats
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalCourseStats
|
|
28
|
+
*/
|
|
29
|
+
published: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalCourseStats
|
|
34
|
+
*/
|
|
35
|
+
unpublished: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalCourseStats
|
|
40
|
+
*/
|
|
41
|
+
createdLast30Days: number;
|
|
42
|
+
/**
|
|
43
|
+
* Accepted course shares (mirror or clone) received by the portal.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalCourseStats
|
|
46
|
+
*/
|
|
47
|
+
sharedIn: number;
|
|
48
|
+
/**
|
|
49
|
+
* Accepted course shares the portal has granted to other portals.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SystemPortalCourseStats
|
|
52
|
+
*/
|
|
53
|
+
sharedOut: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the SystemPortalCourseStats interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfSystemPortalCourseStats(value: object): value is SystemPortalCourseStats;
|
|
59
|
+
export declare function SystemPortalCourseStatsFromJSON(json: any): SystemPortalCourseStats;
|
|
60
|
+
export declare function SystemPortalCourseStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalCourseStats;
|
|
61
|
+
export declare function SystemPortalCourseStatsToJSON(json: any): SystemPortalCourseStats;
|
|
62
|
+
export declare function SystemPortalCourseStatsToJSONTyped(value?: SystemPortalCourseStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
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.instanceOfSystemPortalCourseStats = instanceOfSystemPortalCourseStats;
|
|
17
|
+
exports.SystemPortalCourseStatsFromJSON = SystemPortalCourseStatsFromJSON;
|
|
18
|
+
exports.SystemPortalCourseStatsFromJSONTyped = SystemPortalCourseStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalCourseStatsToJSON = SystemPortalCourseStatsToJSON;
|
|
20
|
+
exports.SystemPortalCourseStatsToJSONTyped = SystemPortalCourseStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalCourseStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalCourseStats(value) {
|
|
25
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('published' in value) || value['published'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('unpublished' in value) || value['unpublished'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('createdLast30Days' in value) || value['createdLast30Days'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sharedIn' in value) || value['sharedIn'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('sharedOut' in value) || value['sharedOut'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function SystemPortalCourseStatsFromJSON(json) {
|
|
40
|
+
return SystemPortalCourseStatsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SystemPortalCourseStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'total': json['total'],
|
|
48
|
+
'published': json['published'],
|
|
49
|
+
'unpublished': json['unpublished'],
|
|
50
|
+
'createdLast30Days': json['created_last_30_days'],
|
|
51
|
+
'sharedIn': json['shared_in'],
|
|
52
|
+
'sharedOut': json['shared_out'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function SystemPortalCourseStatsToJSON(json) {
|
|
56
|
+
return SystemPortalCourseStatsToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function SystemPortalCourseStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'total': value['total'],
|
|
64
|
+
'published': value['published'],
|
|
65
|
+
'unpublished': value['unpublished'],
|
|
66
|
+
'created_last_30_days': value['createdLast30Days'],
|
|
67
|
+
'shared_in': value['sharedIn'],
|
|
68
|
+
'shared_out': value['sharedOut'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -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
|
+
* Learner (Student) enrollments in the portal.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SystemPortalEnrollmentStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalEnrollmentStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalEnrollmentStats
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
* Enrolled, InProgress, or Suspended.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalEnrollmentStats
|
|
28
|
+
*/
|
|
29
|
+
active: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalEnrollmentStats
|
|
34
|
+
*/
|
|
35
|
+
completed: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalEnrollmentStats
|
|
40
|
+
*/
|
|
41
|
+
createdLast30Days: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalEnrollmentStats
|
|
46
|
+
*/
|
|
47
|
+
completedLast30Days: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SystemPortalEnrollmentStats interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSystemPortalEnrollmentStats(value: object): value is SystemPortalEnrollmentStats;
|
|
53
|
+
export declare function SystemPortalEnrollmentStatsFromJSON(json: any): SystemPortalEnrollmentStats;
|
|
54
|
+
export declare function SystemPortalEnrollmentStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalEnrollmentStats;
|
|
55
|
+
export declare function SystemPortalEnrollmentStatsToJSON(json: any): SystemPortalEnrollmentStats;
|
|
56
|
+
export declare function SystemPortalEnrollmentStatsToJSONTyped(value?: SystemPortalEnrollmentStats | 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.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;
|