@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,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
|
+
* Non-archived Content Library items and active question bank entries owned by the portal.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SystemPortalContentStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalContentStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalContentStats
|
|
22
|
+
*/
|
|
23
|
+
libraryItems: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalContentStats
|
|
28
|
+
*/
|
|
29
|
+
resources: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalContentStats
|
|
34
|
+
*/
|
|
35
|
+
quizzes: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalContentStats
|
|
40
|
+
*/
|
|
41
|
+
certificateTemplates: number;
|
|
42
|
+
/**
|
|
43
|
+
* Active, latest-version questions.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalContentStats
|
|
46
|
+
*/
|
|
47
|
+
questions: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SystemPortalContentStats interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSystemPortalContentStats(value: object): value is SystemPortalContentStats;
|
|
53
|
+
export declare function SystemPortalContentStatsFromJSON(json: any): SystemPortalContentStats;
|
|
54
|
+
export declare function SystemPortalContentStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalContentStats;
|
|
55
|
+
export declare function SystemPortalContentStatsToJSON(json: any): SystemPortalContentStats;
|
|
56
|
+
export declare function SystemPortalContentStatsToJSONTyped(value?: SystemPortalContentStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
* Check if a given object implements the SystemPortalContentStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSystemPortalContentStats(value) {
|
|
18
|
+
if (!('libraryItems' in value) || value['libraryItems'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('resources' in value) || value['resources'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('quizzes' in value) || value['quizzes'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('certificateTemplates' in value) || value['certificateTemplates'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('questions' in value) || value['questions'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SystemPortalContentStatsFromJSON(json) {
|
|
31
|
+
return SystemPortalContentStatsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SystemPortalContentStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'libraryItems': json['library_items'],
|
|
39
|
+
'resources': json['resources'],
|
|
40
|
+
'quizzes': json['quizzes'],
|
|
41
|
+
'certificateTemplates': json['certificate_templates'],
|
|
42
|
+
'questions': json['questions'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SystemPortalContentStatsToJSON(json) {
|
|
46
|
+
return SystemPortalContentStatsToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SystemPortalContentStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'library_items': value['libraryItems'],
|
|
54
|
+
'resources': value['resources'],
|
|
55
|
+
'quizzes': value['quizzes'],
|
|
56
|
+
'certificate_templates': value['certificateTemplates'],
|
|
57
|
+
'questions': value['questions'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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,63 @@
|
|
|
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
|
+
* Check if a given object implements the SystemPortalCourseStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSystemPortalCourseStats(value) {
|
|
18
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('published' in value) || value['published'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('unpublished' in value) || value['unpublished'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('createdLast30Days' in value) || value['createdLast30Days'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('sharedIn' in value) || value['sharedIn'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('sharedOut' in value) || value['sharedOut'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SystemPortalCourseStatsFromJSON(json) {
|
|
33
|
+
return SystemPortalCourseStatsFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SystemPortalCourseStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'total': json['total'],
|
|
41
|
+
'published': json['published'],
|
|
42
|
+
'unpublished': json['unpublished'],
|
|
43
|
+
'createdLast30Days': json['created_last_30_days'],
|
|
44
|
+
'sharedIn': json['shared_in'],
|
|
45
|
+
'sharedOut': json['shared_out'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function SystemPortalCourseStatsToJSON(json) {
|
|
49
|
+
return SystemPortalCourseStatsToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function SystemPortalCourseStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'total': value['total'],
|
|
57
|
+
'published': value['published'],
|
|
58
|
+
'unpublished': value['unpublished'],
|
|
59
|
+
'created_last_30_days': value['createdLast30Days'],
|
|
60
|
+
'shared_in': value['sharedIn'],
|
|
61
|
+
'shared_out': value['sharedOut'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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,59 @@
|
|
|
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
|
+
* Check if a given object implements the SystemPortalEnrollmentStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSystemPortalEnrollmentStats(value) {
|
|
18
|
+
if (!('total' in value) || value['total'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('completed' in value) || value['completed'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('createdLast30Days' in value) || value['createdLast30Days'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('completedLast30Days' in value) || value['completedLast30Days'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function SystemPortalEnrollmentStatsFromJSON(json) {
|
|
31
|
+
return SystemPortalEnrollmentStatsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function SystemPortalEnrollmentStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'total': json['total'],
|
|
39
|
+
'active': json['active'],
|
|
40
|
+
'completed': json['completed'],
|
|
41
|
+
'createdLast30Days': json['created_last_30_days'],
|
|
42
|
+
'completedLast30Days': json['completed_last_30_days'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function SystemPortalEnrollmentStatsToJSON(json) {
|
|
46
|
+
return SystemPortalEnrollmentStatsToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SystemPortalEnrollmentStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'total': value['total'],
|
|
54
|
+
'active': value['active'],
|
|
55
|
+
'completed': value['completed'],
|
|
56
|
+
'created_last_30_days': value['createdLast30Days'],
|
|
57
|
+
'completed_last_30_days': value['completedLast30Days'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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,47 @@
|
|
|
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
|
+
* Check if a given object implements the SystemPortalHierarchy interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSystemPortalHierarchy(value) {
|
|
18
|
+
if (!('childPortalCount' in value) || value['childPortalCount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SystemPortalHierarchyFromJSON(json) {
|
|
23
|
+
return SystemPortalHierarchyFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SystemPortalHierarchyFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'parentPortalId': json['parent_portal_id'] == null ? undefined : json['parent_portal_id'],
|
|
31
|
+
'parentPortalName': json['parent_portal_name'] == null ? undefined : json['parent_portal_name'],
|
|
32
|
+
'childPortalCount': json['child_portal_count'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function SystemPortalHierarchyToJSON(json) {
|
|
36
|
+
return SystemPortalHierarchyToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function SystemPortalHierarchyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'parent_portal_id': value['parentPortalId'],
|
|
44
|
+
'parent_portal_name': value['parentPortalName'],
|
|
45
|
+
'child_portal_count': value['childPortalCount'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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,61 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SystemPortalLicenseStateEnum = {
|
|
18
|
+
Active: 'active',
|
|
19
|
+
Suspended: 'suspended',
|
|
20
|
+
Expired: 'expired'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SystemPortalLicense interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfSystemPortalLicense(value) {
|
|
26
|
+
if (!('state' in value) || value['state'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('seatsUsed' in value) || value['seatsUsed'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function SystemPortalLicenseFromJSON(json) {
|
|
33
|
+
return SystemPortalLicenseFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function SystemPortalLicenseFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'state': json['state'],
|
|
41
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
42
|
+
'seatsUsed': json['seats_used'],
|
|
43
|
+
'licenseStartAt': json['license_start_at'] == null ? undefined : json['license_start_at'],
|
|
44
|
+
'licenseEndAt': json['license_end_at'] == null ? undefined : json['license_end_at'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function SystemPortalLicenseToJSON(json) {
|
|
48
|
+
return SystemPortalLicenseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function SystemPortalLicenseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'state': value['state'],
|
|
56
|
+
'seat_limit': value['seatLimit'],
|
|
57
|
+
'seats_used': value['seatsUsed'],
|
|
58
|
+
'license_start_at': value['licenseStartAt'],
|
|
59
|
+
'license_end_at': value['licenseEndAt'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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,59 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const SystemPortalRoleCountBaseTypeEnum = {
|
|
18
|
+
Owner: 'Owner',
|
|
19
|
+
Admin: 'Admin',
|
|
20
|
+
Instructor: 'Instructor',
|
|
21
|
+
Learner: 'Learner',
|
|
22
|
+
ClientSuperAdmin: 'ClientSuperAdmin',
|
|
23
|
+
ClientManager: 'ClientManager',
|
|
24
|
+
PortalClientAdministrator: 'PortalClientAdministrator'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the SystemPortalRoleCount interface.
|
|
28
|
+
*/
|
|
29
|
+
export function instanceOfSystemPortalRoleCount(value) {
|
|
30
|
+
if (!('baseType' in value) || value['baseType'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('userCount' in value) || value['userCount'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function SystemPortalRoleCountFromJSON(json) {
|
|
37
|
+
return SystemPortalRoleCountFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function SystemPortalRoleCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'baseType': json['base_type'],
|
|
45
|
+
'userCount': json['user_count'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function SystemPortalRoleCountToJSON(json) {
|
|
49
|
+
return SystemPortalRoleCountToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function SystemPortalRoleCountToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'base_type': value['baseType'],
|
|
57
|
+
'user_count': value['userCount'],
|
|
58
|
+
};
|
|
59
|
+
}
|