@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,113 @@
|
|
|
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.instanceOfGetSystemPortalOverview = instanceOfGetSystemPortalOverview;
|
|
17
|
+
exports.GetSystemPortalOverviewFromJSON = GetSystemPortalOverviewFromJSON;
|
|
18
|
+
exports.GetSystemPortalOverviewFromJSONTyped = GetSystemPortalOverviewFromJSONTyped;
|
|
19
|
+
exports.GetSystemPortalOverviewToJSON = GetSystemPortalOverviewToJSON;
|
|
20
|
+
exports.GetSystemPortalOverviewToJSONTyped = GetSystemPortalOverviewToJSONTyped;
|
|
21
|
+
const SystemPortalCourseStats_1 = require("./SystemPortalCourseStats");
|
|
22
|
+
const SystemPortalLicense_1 = require("./SystemPortalLicense");
|
|
23
|
+
const SystemPortalCertificateStats_1 = require("./SystemPortalCertificateStats");
|
|
24
|
+
const SystemPortalStorageUsage_1 = require("./SystemPortalStorageUsage");
|
|
25
|
+
const SystemPortalSupportStats_1 = require("./SystemPortalSupportStats");
|
|
26
|
+
const GetPortal_1 = require("./GetPortal");
|
|
27
|
+
const SystemPortalEnrollmentStats_1 = require("./SystemPortalEnrollmentStats");
|
|
28
|
+
const SystemPortalActivityStats_1 = require("./SystemPortalActivityStats");
|
|
29
|
+
const SystemPortalContentStats_1 = require("./SystemPortalContentStats");
|
|
30
|
+
const SystemPortalHierarchy_1 = require("./SystemPortalHierarchy");
|
|
31
|
+
const SystemPortalUserStats_1 = require("./SystemPortalUserStats");
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the GetSystemPortalOverview interface.
|
|
34
|
+
*/
|
|
35
|
+
function instanceOfGetSystemPortalOverview(value) {
|
|
36
|
+
if (!('portal' in value) || value['portal'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('hierarchy' in value) || value['hierarchy'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('license' in value) || value['license'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('users' in value) || value['users'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('courses' in value) || value['courses'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('enrollments' in value) || value['enrollments'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('certificates' in value) || value['certificates'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('storage' in value) || value['storage'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('activity' in value) || value['activity'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('support' in value) || value['support'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
function GetSystemPortalOverviewFromJSON(json) {
|
|
67
|
+
return GetSystemPortalOverviewFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function GetSystemPortalOverviewFromJSONTyped(json, ignoreDiscriminator) {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'portal': (0, GetPortal_1.GetPortalFromJSON)(json['portal']),
|
|
75
|
+
'createdAt': json['created_at'],
|
|
76
|
+
'updatedAt': json['updated_at'],
|
|
77
|
+
'generatedAt': json['generated_at'],
|
|
78
|
+
'hierarchy': (0, SystemPortalHierarchy_1.SystemPortalHierarchyFromJSON)(json['hierarchy']),
|
|
79
|
+
'license': (0, SystemPortalLicense_1.SystemPortalLicenseFromJSON)(json['license']),
|
|
80
|
+
'users': (0, SystemPortalUserStats_1.SystemPortalUserStatsFromJSON)(json['users']),
|
|
81
|
+
'courses': (0, SystemPortalCourseStats_1.SystemPortalCourseStatsFromJSON)(json['courses']),
|
|
82
|
+
'enrollments': (0, SystemPortalEnrollmentStats_1.SystemPortalEnrollmentStatsFromJSON)(json['enrollments']),
|
|
83
|
+
'content': (0, SystemPortalContentStats_1.SystemPortalContentStatsFromJSON)(json['content']),
|
|
84
|
+
'certificates': (0, SystemPortalCertificateStats_1.SystemPortalCertificateStatsFromJSON)(json['certificates']),
|
|
85
|
+
'storage': (0, SystemPortalStorageUsage_1.SystemPortalStorageUsageFromJSON)(json['storage']),
|
|
86
|
+
'activity': (0, SystemPortalActivityStats_1.SystemPortalActivityStatsFromJSON)(json['activity']),
|
|
87
|
+
'support': (0, SystemPortalSupportStats_1.SystemPortalSupportStatsFromJSON)(json['support']),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
function GetSystemPortalOverviewToJSON(json) {
|
|
91
|
+
return GetSystemPortalOverviewToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
function GetSystemPortalOverviewToJSONTyped(value, ignoreDiscriminator = false) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'portal': (0, GetPortal_1.GetPortalToJSON)(value['portal']),
|
|
99
|
+
'created_at': value['createdAt'],
|
|
100
|
+
'updated_at': value['updatedAt'],
|
|
101
|
+
'generated_at': value['generatedAt'],
|
|
102
|
+
'hierarchy': (0, SystemPortalHierarchy_1.SystemPortalHierarchyToJSON)(value['hierarchy']),
|
|
103
|
+
'license': (0, SystemPortalLicense_1.SystemPortalLicenseToJSON)(value['license']),
|
|
104
|
+
'users': (0, SystemPortalUserStats_1.SystemPortalUserStatsToJSON)(value['users']),
|
|
105
|
+
'courses': (0, SystemPortalCourseStats_1.SystemPortalCourseStatsToJSON)(value['courses']),
|
|
106
|
+
'enrollments': (0, SystemPortalEnrollmentStats_1.SystemPortalEnrollmentStatsToJSON)(value['enrollments']),
|
|
107
|
+
'content': (0, SystemPortalContentStats_1.SystemPortalContentStatsToJSON)(value['content']),
|
|
108
|
+
'certificates': (0, SystemPortalCertificateStats_1.SystemPortalCertificateStatsToJSON)(value['certificates']),
|
|
109
|
+
'storage': (0, SystemPortalStorageUsage_1.SystemPortalStorageUsageToJSON)(value['storage']),
|
|
110
|
+
'activity': (0, SystemPortalActivityStats_1.SystemPortalActivityStatsToJSON)(value['activity']),
|
|
111
|
+
'support': (0, SystemPortalSupportStats_1.SystemPortalSupportStatsToJSON)(value['support']),
|
|
112
|
+
};
|
|
113
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
* Adds shared tags to several questions at once without creating new question versions.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostQuestionTags
|
|
16
|
+
*/
|
|
17
|
+
export interface PostQuestionTags {
|
|
18
|
+
/**
|
|
19
|
+
* External IDs of the questions to tag
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof PostQuestionTags
|
|
22
|
+
*/
|
|
23
|
+
questionIds: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Tag names to add. Existing tags on each question are kept.
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof PostQuestionTags
|
|
28
|
+
*/
|
|
29
|
+
tags: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PostQuestionTags interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPostQuestionTags(value: object): value is PostQuestionTags;
|
|
35
|
+
export declare function PostQuestionTagsFromJSON(json: any): PostQuestionTags;
|
|
36
|
+
export declare function PostQuestionTagsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostQuestionTags;
|
|
37
|
+
export declare function PostQuestionTagsToJSON(json: any): PostQuestionTags;
|
|
38
|
+
export declare function PostQuestionTagsToJSONTyped(value?: PostQuestionTags | 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.instanceOfPostQuestionTags = instanceOfPostQuestionTags;
|
|
17
|
+
exports.PostQuestionTagsFromJSON = PostQuestionTagsFromJSON;
|
|
18
|
+
exports.PostQuestionTagsFromJSONTyped = PostQuestionTagsFromJSONTyped;
|
|
19
|
+
exports.PostQuestionTagsToJSON = PostQuestionTagsToJSON;
|
|
20
|
+
exports.PostQuestionTagsToJSONTyped = PostQuestionTagsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostQuestionTags interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostQuestionTags(value) {
|
|
25
|
+
if (!('questionIds' in value) || value['questionIds'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('tags' in value) || value['tags'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function PostQuestionTagsFromJSON(json) {
|
|
32
|
+
return PostQuestionTagsFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function PostQuestionTagsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'questionIds': json['question_ids'],
|
|
40
|
+
'tags': json['tags'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PostQuestionTagsToJSON(json) {
|
|
44
|
+
return PostQuestionTagsToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PostQuestionTagsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'question_ids': value['questionIds'],
|
|
52
|
+
'tags': value['tags'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PostQuestionTagsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PostQuestionTagsResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Number of questions that received the tags
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PostQuestionTagsResponse
|
|
22
|
+
*/
|
|
23
|
+
updatedCount: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostQuestionTagsResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostQuestionTagsResponse(value: object): value is PostQuestionTagsResponse;
|
|
29
|
+
export declare function PostQuestionTagsResponseFromJSON(json: any): PostQuestionTagsResponse;
|
|
30
|
+
export declare function PostQuestionTagsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostQuestionTagsResponse;
|
|
31
|
+
export declare function PostQuestionTagsResponseToJSON(json: any): PostQuestionTagsResponse;
|
|
32
|
+
export declare function PostQuestionTagsResponseToJSONTyped(value?: PostQuestionTagsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfPostQuestionTagsResponse = instanceOfPostQuestionTagsResponse;
|
|
17
|
+
exports.PostQuestionTagsResponseFromJSON = PostQuestionTagsResponseFromJSON;
|
|
18
|
+
exports.PostQuestionTagsResponseFromJSONTyped = PostQuestionTagsResponseFromJSONTyped;
|
|
19
|
+
exports.PostQuestionTagsResponseToJSON = PostQuestionTagsResponseToJSON;
|
|
20
|
+
exports.PostQuestionTagsResponseToJSONTyped = PostQuestionTagsResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostQuestionTagsResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostQuestionTagsResponse(value) {
|
|
25
|
+
if (!('updatedCount' in value) || value['updatedCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PostQuestionTagsResponseFromJSON(json) {
|
|
30
|
+
return PostQuestionTagsResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PostQuestionTagsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'updatedCount': json['updated_count'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PostQuestionTagsResponseToJSON(json) {
|
|
41
|
+
return PostQuestionTagsResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PostQuestionTagsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'updated_count': value['updatedCount'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SystemPortalActivityStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalActivityStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalActivityStats
|
|
22
|
+
*/
|
|
23
|
+
loginsLast30Days: number;
|
|
24
|
+
/**
|
|
25
|
+
* Active learning time recorded in the portal over the last 30 days.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalActivityStats
|
|
28
|
+
*/
|
|
29
|
+
learningSecondsLast30Days: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalActivityStats
|
|
34
|
+
*/
|
|
35
|
+
chatRequestsLast30Days: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalActivityStats
|
|
40
|
+
*/
|
|
41
|
+
chatTokensLast30Days: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SystemPortalActivityStats
|
|
46
|
+
*/
|
|
47
|
+
lastLearningActivityAt?: number | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SystemPortalActivityStats interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSystemPortalActivityStats(value: object): value is SystemPortalActivityStats;
|
|
53
|
+
export declare function SystemPortalActivityStatsFromJSON(json: any): SystemPortalActivityStats;
|
|
54
|
+
export declare function SystemPortalActivityStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalActivityStats;
|
|
55
|
+
export declare function SystemPortalActivityStatsToJSON(json: any): SystemPortalActivityStats;
|
|
56
|
+
export declare function SystemPortalActivityStatsToJSONTyped(value?: SystemPortalActivityStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfSystemPortalActivityStats = instanceOfSystemPortalActivityStats;
|
|
17
|
+
exports.SystemPortalActivityStatsFromJSON = SystemPortalActivityStatsFromJSON;
|
|
18
|
+
exports.SystemPortalActivityStatsFromJSONTyped = SystemPortalActivityStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalActivityStatsToJSON = SystemPortalActivityStatsToJSON;
|
|
20
|
+
exports.SystemPortalActivityStatsToJSONTyped = SystemPortalActivityStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalActivityStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalActivityStats(value) {
|
|
25
|
+
if (!('loginsLast30Days' in value) || value['loginsLast30Days'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('learningSecondsLast30Days' in value) || value['learningSecondsLast30Days'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('chatRequestsLast30Days' in value) || value['chatRequestsLast30Days'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('chatTokensLast30Days' in value) || value['chatTokensLast30Days'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SystemPortalActivityStatsFromJSON(json) {
|
|
36
|
+
return SystemPortalActivityStatsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SystemPortalActivityStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'loginsLast30Days': json['logins_last_30_days'],
|
|
44
|
+
'learningSecondsLast30Days': json['learning_seconds_last_30_days'],
|
|
45
|
+
'chatRequestsLast30Days': json['chat_requests_last_30_days'],
|
|
46
|
+
'chatTokensLast30Days': json['chat_tokens_last_30_days'],
|
|
47
|
+
'lastLearningActivityAt': json['last_learning_activity_at'] == null ? undefined : json['last_learning_activity_at'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function SystemPortalActivityStatsToJSON(json) {
|
|
51
|
+
return SystemPortalActivityStatsToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function SystemPortalActivityStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'logins_last_30_days': value['loginsLast30Days'],
|
|
59
|
+
'learning_seconds_last_30_days': value['learningSecondsLast30Days'],
|
|
60
|
+
'chat_requests_last_30_days': value['chatRequestsLast30Days'],
|
|
61
|
+
'chat_tokens_last_30_days': value['chatTokensLast30Days'],
|
|
62
|
+
'last_learning_activity_at': value['lastLearningActivityAt'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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 SystemPortalCertificateStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemPortalCertificateStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SystemPortalCertificateStats
|
|
22
|
+
*/
|
|
23
|
+
active: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SystemPortalCertificateStats
|
|
28
|
+
*/
|
|
29
|
+
revoked: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof SystemPortalCertificateStats
|
|
34
|
+
*/
|
|
35
|
+
issuedLast30Days: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof SystemPortalCertificateStats
|
|
40
|
+
*/
|
|
41
|
+
expiringNext30Days: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the SystemPortalCertificateStats interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfSystemPortalCertificateStats(value: object): value is SystemPortalCertificateStats;
|
|
47
|
+
export declare function SystemPortalCertificateStatsFromJSON(json: any): SystemPortalCertificateStats;
|
|
48
|
+
export declare function SystemPortalCertificateStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemPortalCertificateStats;
|
|
49
|
+
export declare function SystemPortalCertificateStatsToJSON(json: any): SystemPortalCertificateStats;
|
|
50
|
+
export declare function SystemPortalCertificateStatsToJSONTyped(value?: SystemPortalCertificateStats | 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.instanceOfSystemPortalCertificateStats = instanceOfSystemPortalCertificateStats;
|
|
17
|
+
exports.SystemPortalCertificateStatsFromJSON = SystemPortalCertificateStatsFromJSON;
|
|
18
|
+
exports.SystemPortalCertificateStatsFromJSONTyped = SystemPortalCertificateStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalCertificateStatsToJSON = SystemPortalCertificateStatsToJSON;
|
|
20
|
+
exports.SystemPortalCertificateStatsToJSONTyped = SystemPortalCertificateStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalCertificateStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalCertificateStats(value) {
|
|
25
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('revoked' in value) || value['revoked'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('issuedLast30Days' in value) || value['issuedLast30Days'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('expiringNext30Days' in value) || value['expiringNext30Days'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SystemPortalCertificateStatsFromJSON(json) {
|
|
36
|
+
return SystemPortalCertificateStatsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SystemPortalCertificateStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'active': json['active'],
|
|
44
|
+
'revoked': json['revoked'],
|
|
45
|
+
'issuedLast30Days': json['issued_last_30_days'],
|
|
46
|
+
'expiringNext30Days': json['expiring_next_30_days'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function SystemPortalCertificateStatsToJSON(json) {
|
|
50
|
+
return SystemPortalCertificateStatsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SystemPortalCertificateStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'active': value['active'],
|
|
58
|
+
'revoked': value['revoked'],
|
|
59
|
+
'issued_last_30_days': value['issuedLast30Days'],
|
|
60
|
+
'expiring_next_30_days': value['expiringNext30Days'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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,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.instanceOfSystemPortalContentStats = instanceOfSystemPortalContentStats;
|
|
17
|
+
exports.SystemPortalContentStatsFromJSON = SystemPortalContentStatsFromJSON;
|
|
18
|
+
exports.SystemPortalContentStatsFromJSONTyped = SystemPortalContentStatsFromJSONTyped;
|
|
19
|
+
exports.SystemPortalContentStatsToJSON = SystemPortalContentStatsToJSON;
|
|
20
|
+
exports.SystemPortalContentStatsToJSONTyped = SystemPortalContentStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SystemPortalContentStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSystemPortalContentStats(value) {
|
|
25
|
+
if (!('libraryItems' in value) || value['libraryItems'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('resources' in value) || value['resources'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('quizzes' in value) || value['quizzes'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('certificateTemplates' in value) || value['certificateTemplates'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('questions' in value) || value['questions'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function SystemPortalContentStatsFromJSON(json) {
|
|
38
|
+
return SystemPortalContentStatsFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function SystemPortalContentStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'libraryItems': json['library_items'],
|
|
46
|
+
'resources': json['resources'],
|
|
47
|
+
'quizzes': json['quizzes'],
|
|
48
|
+
'certificateTemplates': json['certificate_templates'],
|
|
49
|
+
'questions': json['questions'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function SystemPortalContentStatsToJSON(json) {
|
|
53
|
+
return SystemPortalContentStatsToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function SystemPortalContentStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'library_items': value['libraryItems'],
|
|
61
|
+
'resources': value['resources'],
|
|
62
|
+
'quizzes': value['quizzes'],
|
|
63
|
+
'certificate_templates': value['certificateTemplates'],
|
|
64
|
+
'questions': value['questions'],
|
|
65
|
+
};
|
|
66
|
+
}
|