@easyedu/js-lsm-api 1.123.0 → 1.124.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 +12 -0
- package/README.md +9 -2
- package/dist/apis/ReportingApi.d.ts +16 -0
- package/dist/apis/ReportingApi.js +39 -0
- package/dist/esm/apis/ReportingApi.d.ts +16 -0
- package/dist/esm/apis/ReportingApi.js +39 -0
- package/dist/esm/models/GetPortalManagementDashboard.d.ts +73 -0
- package/dist/esm/models/GetPortalManagementDashboard.js +72 -0
- package/dist/esm/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
- package/dist/esm/models/GetPortalManagementDashboardActivityDay.js +55 -0
- package/dist/esm/models/GetPortalManagementDashboardAttention.d.ts +56 -0
- package/dist/esm/models/GetPortalManagementDashboardAttention.js +59 -0
- package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
- package/dist/esm/models/GetPortalManagementDashboardEnrollmentStatus.js +51 -0
- package/dist/esm/models/GetPortalManagementDashboardSummary.d.ts +74 -0
- package/dist/esm/models/GetPortalManagementDashboardSummary.js +71 -0
- package/dist/esm/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
- package/dist/esm/models/GetPortalManagementDashboardTopCourse.js +59 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/models/GetPortalManagementDashboard.d.ts +73 -0
- package/dist/models/GetPortalManagementDashboard.js +79 -0
- package/dist/models/GetPortalManagementDashboardActivityDay.d.ts +50 -0
- package/dist/models/GetPortalManagementDashboardActivityDay.js +62 -0
- package/dist/models/GetPortalManagementDashboardAttention.d.ts +56 -0
- package/dist/models/GetPortalManagementDashboardAttention.js +66 -0
- package/dist/models/GetPortalManagementDashboardEnrollmentStatus.d.ts +44 -0
- package/dist/models/GetPortalManagementDashboardEnrollmentStatus.js +58 -0
- package/dist/models/GetPortalManagementDashboardSummary.d.ts +74 -0
- package/dist/models/GetPortalManagementDashboardSummary.js +78 -0
- package/dist/models/GetPortalManagementDashboardTopCourse.d.ts +56 -0
- package/dist/models/GetPortalManagementDashboardTopCourse.js +66 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/docs/GetPortalManagementDashboard.md +46 -0
- package/docs/GetPortalManagementDashboardActivityDay.md +40 -0
- package/docs/GetPortalManagementDashboardAttention.md +42 -0
- package/docs/GetPortalManagementDashboardEnrollmentStatus.md +38 -0
- package/docs/GetPortalManagementDashboardSummary.md +48 -0
- package/docs/GetPortalManagementDashboardTopCourse.md +42 -0
- package/docs/ReportingApi.md +67 -0
- package/package.json +1 -1
- package/src/apis/ReportingApi.ts +50 -0
- package/src/models/GetPortalManagementDashboard.ts +156 -0
- package/src/models/GetPortalManagementDashboardActivityDay.ts +93 -0
- package/src/models/GetPortalManagementDashboardAttention.ts +102 -0
- package/src/models/GetPortalManagementDashboardEnrollmentStatus.ts +84 -0
- package/src/models/GetPortalManagementDashboardSummary.ts +129 -0
- package/src/models/GetPortalManagementDashboardTopCourse.ts +102 -0
- package/src/models/index.ts +6 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -132,6 +132,12 @@ docs/GetPortalFaviconUpload.md
|
|
|
132
132
|
docs/GetPortalInvitationSummary.md
|
|
133
133
|
docs/GetPortalList.md
|
|
134
134
|
docs/GetPortalLogoUpload.md
|
|
135
|
+
docs/GetPortalManagementDashboard.md
|
|
136
|
+
docs/GetPortalManagementDashboardActivityDay.md
|
|
137
|
+
docs/GetPortalManagementDashboardAttention.md
|
|
138
|
+
docs/GetPortalManagementDashboardEnrollmentStatus.md
|
|
139
|
+
docs/GetPortalManagementDashboardSummary.md
|
|
140
|
+
docs/GetPortalManagementDashboardTopCourse.md
|
|
135
141
|
docs/GetPortalUser.md
|
|
136
142
|
docs/GetPortalUserFieldValues.md
|
|
137
143
|
docs/GetPortalUserList.md
|
|
@@ -536,6 +542,12 @@ src/models/GetPortalFaviconUpload.ts
|
|
|
536
542
|
src/models/GetPortalInvitationSummary.ts
|
|
537
543
|
src/models/GetPortalList.ts
|
|
538
544
|
src/models/GetPortalLogoUpload.ts
|
|
545
|
+
src/models/GetPortalManagementDashboard.ts
|
|
546
|
+
src/models/GetPortalManagementDashboardActivityDay.ts
|
|
547
|
+
src/models/GetPortalManagementDashboardAttention.ts
|
|
548
|
+
src/models/GetPortalManagementDashboardEnrollmentStatus.ts
|
|
549
|
+
src/models/GetPortalManagementDashboardSummary.ts
|
|
550
|
+
src/models/GetPortalManagementDashboardTopCourse.ts
|
|
539
551
|
src/models/GetPortalUser.ts
|
|
540
552
|
src/models/GetPortalUserFieldValues.ts
|
|
541
553
|
src/models/GetPortalUserList.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.124.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -365,6 +365,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
365
365
|
*QuestionImportApi* | [**postQuestionImportParse**](docs/QuestionImportApi.md#postquestionimportparse) | **POST** /question-imports/parse | Parse a question document into stateless review drafts
|
|
366
366
|
*ReportingApi* | [**getCourseVersionReporting**](docs/ReportingApi.md#getcourseversionreporting) | **GET** /courses/{courseId}/versions/{courseVersionId}/reporting | Get instructor reporting for one explicit course version
|
|
367
367
|
*ReportingApi* | [**getCourseVersionSectionReporting**](docs/ReportingApi.md#getcourseversionsectionreporting) | **GET** /courses/{courseId}/versions/{courseVersionId}/sections/{sectionId}/reporting | Get instructor reporting for one section and its descendants in an explicit course version
|
|
368
|
+
*ReportingApi* | [**getPortalManagementDashboard**](docs/ReportingApi.md#getportalmanagementdashboard) | **GET** /reporting/portal/dashboard | Get the selected portal\'s management dashboard reporting
|
|
368
369
|
*RichTextApi* | [**getRichTextAsset**](docs/RichTextApi.md#getrichtextasset) | **GET** /rich-text/assets/{assetId} | Redirect to a signed rich text asset URL
|
|
369
370
|
*RichTextApi* | [**postRichTextAssetComplete**](docs/RichTextApi.md#postrichtextassetcomplete) | **POST** /rich-text/assets/{assetId}/complete | Complete a pending rich text asset upload
|
|
370
371
|
*RichTextApi* | [**postRichTextAssetUpload**](docs/RichTextApi.md#postrichtextassetupload) | **POST** /rich-text/assets/uploads | Create a pending rich text asset upload
|
|
@@ -530,6 +531,12 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
530
531
|
- [GetPortalInvitationSummary](docs/GetPortalInvitationSummary.md)
|
|
531
532
|
- [GetPortalList](docs/GetPortalList.md)
|
|
532
533
|
- [GetPortalLogoUpload](docs/GetPortalLogoUpload.md)
|
|
534
|
+
- [GetPortalManagementDashboard](docs/GetPortalManagementDashboard.md)
|
|
535
|
+
- [GetPortalManagementDashboardActivityDay](docs/GetPortalManagementDashboardActivityDay.md)
|
|
536
|
+
- [GetPortalManagementDashboardAttention](docs/GetPortalManagementDashboardAttention.md)
|
|
537
|
+
- [GetPortalManagementDashboardEnrollmentStatus](docs/GetPortalManagementDashboardEnrollmentStatus.md)
|
|
538
|
+
- [GetPortalManagementDashboardSummary](docs/GetPortalManagementDashboardSummary.md)
|
|
539
|
+
- [GetPortalManagementDashboardTopCourse](docs/GetPortalManagementDashboardTopCourse.md)
|
|
533
540
|
- [GetPortalUser](docs/GetPortalUser.md)
|
|
534
541
|
- [GetPortalUserFieldValues](docs/GetPortalUserFieldValues.md)
|
|
535
542
|
- [GetPortalUserList](docs/GetPortalUserList.md)
|
|
@@ -786,7 +793,7 @@ and is automatically generated by the
|
|
|
786
793
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
787
794
|
|
|
788
795
|
- API version: `1.0.0`
|
|
789
|
-
- Package version: `1.
|
|
796
|
+
- Package version: `1.124.0`
|
|
790
797
|
- Generator version: `7.22.0`
|
|
791
798
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
792
799
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type GetCourseVersionReporting } from '../models/GetCourseVersionReporting';
|
|
14
14
|
import { type GetCourseVersionSectionReporting } from '../models/GetCourseVersionSectionReporting';
|
|
15
|
+
import { type GetPortalManagementDashboard } from '../models/GetPortalManagementDashboard';
|
|
15
16
|
export interface GetCourseVersionReportingRequest {
|
|
16
17
|
courseId: string;
|
|
17
18
|
courseVersionId: string;
|
|
@@ -21,6 +22,9 @@ export interface GetCourseVersionSectionReportingRequest {
|
|
|
21
22
|
courseVersionId: string;
|
|
22
23
|
sectionId: string;
|
|
23
24
|
}
|
|
25
|
+
export interface GetPortalManagementDashboardRequest {
|
|
26
|
+
days?: number;
|
|
27
|
+
}
|
|
24
28
|
/**
|
|
25
29
|
*
|
|
26
30
|
*/
|
|
@@ -49,4 +53,16 @@ export declare class ReportingApi extends runtime.BaseAPI {
|
|
|
49
53
|
* Get instructor reporting for one section and its descendants in an explicit course version
|
|
50
54
|
*/
|
|
51
55
|
getCourseVersionSectionReporting(requestParameters: GetCourseVersionSectionReportingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionSectionReporting>;
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for getPortalManagementDashboard without sending the request
|
|
58
|
+
*/
|
|
59
|
+
getPortalManagementDashboardRequestOpts(requestParameters: GetPortalManagementDashboardRequest): Promise<runtime.RequestOpts>;
|
|
60
|
+
/**
|
|
61
|
+
* Get the selected portal\'s management dashboard reporting
|
|
62
|
+
*/
|
|
63
|
+
getPortalManagementDashboardRaw(requestParameters: GetPortalManagementDashboardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPortalManagementDashboard>>;
|
|
64
|
+
/**
|
|
65
|
+
* Get the selected portal\'s management dashboard reporting
|
|
66
|
+
*/
|
|
67
|
+
getPortalManagementDashboard(requestParameters?: GetPortalManagementDashboardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPortalManagementDashboard>;
|
|
52
68
|
}
|
|
@@ -26,6 +26,7 @@ exports.ReportingApi = void 0;
|
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const GetCourseVersionReporting_1 = require("../models/GetCourseVersionReporting");
|
|
28
28
|
const GetCourseVersionSectionReporting_1 = require("../models/GetCourseVersionSectionReporting");
|
|
29
|
+
const GetPortalManagementDashboard_1 = require("../models/GetPortalManagementDashboard");
|
|
29
30
|
/**
|
|
30
31
|
*
|
|
31
32
|
*/
|
|
@@ -120,5 +121,43 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
120
121
|
return yield response.value();
|
|
121
122
|
});
|
|
122
123
|
}
|
|
124
|
+
/**
|
|
125
|
+
* Creates request options for getPortalManagementDashboard without sending the request
|
|
126
|
+
*/
|
|
127
|
+
getPortalManagementDashboardRequestOpts(requestParameters) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const queryParameters = {};
|
|
130
|
+
if (requestParameters['days'] != null) {
|
|
131
|
+
queryParameters['days'] = requestParameters['days'];
|
|
132
|
+
}
|
|
133
|
+
const headerParameters = {};
|
|
134
|
+
let urlPath = `/reporting/portal/dashboard`;
|
|
135
|
+
return {
|
|
136
|
+
path: urlPath,
|
|
137
|
+
method: 'GET',
|
|
138
|
+
headers: headerParameters,
|
|
139
|
+
query: queryParameters,
|
|
140
|
+
};
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Get the selected portal\'s management dashboard reporting
|
|
145
|
+
*/
|
|
146
|
+
getPortalManagementDashboardRaw(requestParameters, initOverrides) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
const requestOptions = yield this.getPortalManagementDashboardRequestOpts(requestParameters);
|
|
149
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
150
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetPortalManagementDashboard_1.GetPortalManagementDashboardFromJSON)(jsonValue));
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Get the selected portal\'s management dashboard reporting
|
|
155
|
+
*/
|
|
156
|
+
getPortalManagementDashboard() {
|
|
157
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
158
|
+
const response = yield this.getPortalManagementDashboardRaw(requestParameters, initOverrides);
|
|
159
|
+
return yield response.value();
|
|
160
|
+
});
|
|
161
|
+
}
|
|
123
162
|
}
|
|
124
163
|
exports.ReportingApi = ReportingApi;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type GetCourseVersionReporting } from '../models/GetCourseVersionReporting';
|
|
14
14
|
import { type GetCourseVersionSectionReporting } from '../models/GetCourseVersionSectionReporting';
|
|
15
|
+
import { type GetPortalManagementDashboard } from '../models/GetPortalManagementDashboard';
|
|
15
16
|
export interface GetCourseVersionReportingRequest {
|
|
16
17
|
courseId: string;
|
|
17
18
|
courseVersionId: string;
|
|
@@ -21,6 +22,9 @@ export interface GetCourseVersionSectionReportingRequest {
|
|
|
21
22
|
courseVersionId: string;
|
|
22
23
|
sectionId: string;
|
|
23
24
|
}
|
|
25
|
+
export interface GetPortalManagementDashboardRequest {
|
|
26
|
+
days?: number;
|
|
27
|
+
}
|
|
24
28
|
/**
|
|
25
29
|
*
|
|
26
30
|
*/
|
|
@@ -49,4 +53,16 @@ export declare class ReportingApi extends runtime.BaseAPI {
|
|
|
49
53
|
* Get instructor reporting for one section and its descendants in an explicit course version
|
|
50
54
|
*/
|
|
51
55
|
getCourseVersionSectionReporting(requestParameters: GetCourseVersionSectionReportingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionSectionReporting>;
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for getPortalManagementDashboard without sending the request
|
|
58
|
+
*/
|
|
59
|
+
getPortalManagementDashboardRequestOpts(requestParameters: GetPortalManagementDashboardRequest): Promise<runtime.RequestOpts>;
|
|
60
|
+
/**
|
|
61
|
+
* Get the selected portal\'s management dashboard reporting
|
|
62
|
+
*/
|
|
63
|
+
getPortalManagementDashboardRaw(requestParameters: GetPortalManagementDashboardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPortalManagementDashboard>>;
|
|
64
|
+
/**
|
|
65
|
+
* Get the selected portal\'s management dashboard reporting
|
|
66
|
+
*/
|
|
67
|
+
getPortalManagementDashboard(requestParameters?: GetPortalManagementDashboardRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPortalManagementDashboard>;
|
|
52
68
|
}
|
|
@@ -23,6 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
24
|
import { GetCourseVersionReportingFromJSON, } from '../models/GetCourseVersionReporting';
|
|
25
25
|
import { GetCourseVersionSectionReportingFromJSON, } from '../models/GetCourseVersionSectionReporting';
|
|
26
|
+
import { GetPortalManagementDashboardFromJSON, } from '../models/GetPortalManagementDashboard';
|
|
26
27
|
/**
|
|
27
28
|
*
|
|
28
29
|
*/
|
|
@@ -117,4 +118,42 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
117
118
|
return yield response.value();
|
|
118
119
|
});
|
|
119
120
|
}
|
|
121
|
+
/**
|
|
122
|
+
* Creates request options for getPortalManagementDashboard without sending the request
|
|
123
|
+
*/
|
|
124
|
+
getPortalManagementDashboardRequestOpts(requestParameters) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
126
|
+
const queryParameters = {};
|
|
127
|
+
if (requestParameters['days'] != null) {
|
|
128
|
+
queryParameters['days'] = requestParameters['days'];
|
|
129
|
+
}
|
|
130
|
+
const headerParameters = {};
|
|
131
|
+
let urlPath = `/reporting/portal/dashboard`;
|
|
132
|
+
return {
|
|
133
|
+
path: urlPath,
|
|
134
|
+
method: 'GET',
|
|
135
|
+
headers: headerParameters,
|
|
136
|
+
query: queryParameters,
|
|
137
|
+
};
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Get the selected portal\'s management dashboard reporting
|
|
142
|
+
*/
|
|
143
|
+
getPortalManagementDashboardRaw(requestParameters, initOverrides) {
|
|
144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
const requestOptions = yield this.getPortalManagementDashboardRequestOpts(requestParameters);
|
|
146
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
147
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPortalManagementDashboardFromJSON(jsonValue));
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Get the selected portal\'s management dashboard reporting
|
|
152
|
+
*/
|
|
153
|
+
getPortalManagementDashboard() {
|
|
154
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
155
|
+
const response = yield this.getPortalManagementDashboardRaw(requestParameters, initOverrides);
|
|
156
|
+
return yield response.value();
|
|
157
|
+
});
|
|
158
|
+
}
|
|
120
159
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
import type { GetPortalManagementDashboardTopCourse } from './GetPortalManagementDashboardTopCourse';
|
|
13
|
+
import type { GetPortalManagementDashboardEnrollmentStatus } from './GetPortalManagementDashboardEnrollmentStatus';
|
|
14
|
+
import type { GetPortalManagementDashboardSummary } from './GetPortalManagementDashboardSummary';
|
|
15
|
+
import type { GetPortalManagementDashboardActivityDay } from './GetPortalManagementDashboardActivityDay';
|
|
16
|
+
import type { GetPortalManagementDashboardAttention } from './GetPortalManagementDashboardAttention';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface GetPortalManagementDashboard
|
|
21
|
+
*/
|
|
22
|
+
export interface GetPortalManagementDashboard {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof GetPortalManagementDashboard
|
|
27
|
+
*/
|
|
28
|
+
rangeDays: number;
|
|
29
|
+
/**
|
|
30
|
+
* Unix timestamp in seconds.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof GetPortalManagementDashboard
|
|
33
|
+
*/
|
|
34
|
+
generatedAt: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {GetPortalManagementDashboardSummary}
|
|
38
|
+
* @memberof GetPortalManagementDashboard
|
|
39
|
+
*/
|
|
40
|
+
summary: GetPortalManagementDashboardSummary;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {GetPortalManagementDashboardEnrollmentStatus}
|
|
44
|
+
* @memberof GetPortalManagementDashboard
|
|
45
|
+
*/
|
|
46
|
+
enrollmentStatus: GetPortalManagementDashboardEnrollmentStatus;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {Array<GetPortalManagementDashboardActivityDay>}
|
|
50
|
+
* @memberof GetPortalManagementDashboard
|
|
51
|
+
*/
|
|
52
|
+
activity: Array<GetPortalManagementDashboardActivityDay>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {Array<GetPortalManagementDashboardTopCourse>}
|
|
56
|
+
* @memberof GetPortalManagementDashboard
|
|
57
|
+
*/
|
|
58
|
+
topCourses: Array<GetPortalManagementDashboardTopCourse>;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {GetPortalManagementDashboardAttention}
|
|
62
|
+
* @memberof GetPortalManagementDashboard
|
|
63
|
+
*/
|
|
64
|
+
attention: GetPortalManagementDashboardAttention;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Check if a given object implements the GetPortalManagementDashboard interface.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instanceOfGetPortalManagementDashboard(value: object): value is GetPortalManagementDashboard;
|
|
70
|
+
export declare function GetPortalManagementDashboardFromJSON(json: any): GetPortalManagementDashboard;
|
|
71
|
+
export declare function GetPortalManagementDashboardFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboard;
|
|
72
|
+
export declare function GetPortalManagementDashboardToJSON(json: any): GetPortalManagementDashboard;
|
|
73
|
+
export declare function GetPortalManagementDashboardToJSONTyped(value?: GetPortalManagementDashboard | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
import { GetPortalManagementDashboardTopCourseFromJSON, GetPortalManagementDashboardTopCourseToJSON, } from './GetPortalManagementDashboardTopCourse';
|
|
15
|
+
import { GetPortalManagementDashboardEnrollmentStatusFromJSON, GetPortalManagementDashboardEnrollmentStatusToJSON, } from './GetPortalManagementDashboardEnrollmentStatus';
|
|
16
|
+
import { GetPortalManagementDashboardSummaryFromJSON, GetPortalManagementDashboardSummaryToJSON, } from './GetPortalManagementDashboardSummary';
|
|
17
|
+
import { GetPortalManagementDashboardActivityDayFromJSON, GetPortalManagementDashboardActivityDayToJSON, } from './GetPortalManagementDashboardActivityDay';
|
|
18
|
+
import { GetPortalManagementDashboardAttentionFromJSON, GetPortalManagementDashboardAttentionToJSON, } from './GetPortalManagementDashboardAttention';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the GetPortalManagementDashboard interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfGetPortalManagementDashboard(value) {
|
|
23
|
+
if (!('rangeDays' in value) || value['rangeDays'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('enrollmentStatus' in value) || value['enrollmentStatus'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('activity' in value) || value['activity'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('topCourses' in value) || value['topCourses'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('attention' in value) || value['attention'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function GetPortalManagementDashboardFromJSON(json) {
|
|
40
|
+
return GetPortalManagementDashboardFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function GetPortalManagementDashboardFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'rangeDays': json['range_days'],
|
|
48
|
+
'generatedAt': json['generated_at'],
|
|
49
|
+
'summary': GetPortalManagementDashboardSummaryFromJSON(json['summary']),
|
|
50
|
+
'enrollmentStatus': GetPortalManagementDashboardEnrollmentStatusFromJSON(json['enrollment_status']),
|
|
51
|
+
'activity': (json['activity'].map(GetPortalManagementDashboardActivityDayFromJSON)),
|
|
52
|
+
'topCourses': (json['top_courses'].map(GetPortalManagementDashboardTopCourseFromJSON)),
|
|
53
|
+
'attention': GetPortalManagementDashboardAttentionFromJSON(json['attention']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function GetPortalManagementDashboardToJSON(json) {
|
|
57
|
+
return GetPortalManagementDashboardToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function GetPortalManagementDashboardToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'range_days': value['rangeDays'],
|
|
65
|
+
'generated_at': value['generatedAt'],
|
|
66
|
+
'summary': GetPortalManagementDashboardSummaryToJSON(value['summary']),
|
|
67
|
+
'enrollment_status': GetPortalManagementDashboardEnrollmentStatusToJSON(value['enrollmentStatus']),
|
|
68
|
+
'activity': (value['activity'].map(GetPortalManagementDashboardActivityDayToJSON)),
|
|
69
|
+
'top_courses': (value['topCourses'].map(GetPortalManagementDashboardTopCourseToJSON)),
|
|
70
|
+
'attention': GetPortalManagementDashboardAttentionToJSON(value['attention']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -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 GetPortalManagementDashboardActivityDay
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardActivityDay {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Date}
|
|
21
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
22
|
+
*/
|
|
23
|
+
date: Date;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
28
|
+
*/
|
|
29
|
+
activeLearnerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
34
|
+
*/
|
|
35
|
+
loginCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardActivityDay
|
|
40
|
+
*/
|
|
41
|
+
completionCount: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetPortalManagementDashboardActivityDay interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetPortalManagementDashboardActivityDay(value: object): value is GetPortalManagementDashboardActivityDay;
|
|
47
|
+
export declare function GetPortalManagementDashboardActivityDayFromJSON(json: any): GetPortalManagementDashboardActivityDay;
|
|
48
|
+
export declare function GetPortalManagementDashboardActivityDayFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardActivityDay;
|
|
49
|
+
export declare function GetPortalManagementDashboardActivityDayToJSON(json: any): GetPortalManagementDashboardActivityDay;
|
|
50
|
+
export declare function GetPortalManagementDashboardActivityDayToJSONTyped(value?: GetPortalManagementDashboardActivityDay | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 GetPortalManagementDashboardActivityDay interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetPortalManagementDashboardActivityDay(value) {
|
|
18
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('activeLearnerCount' in value) || value['activeLearnerCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('loginCount' in value) || value['loginCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('completionCount' in value) || value['completionCount'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GetPortalManagementDashboardActivityDayFromJSON(json) {
|
|
29
|
+
return GetPortalManagementDashboardActivityDayFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GetPortalManagementDashboardActivityDayFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'date': (new Date(json['date'])),
|
|
37
|
+
'activeLearnerCount': json['active_learner_count'],
|
|
38
|
+
'loginCount': json['login_count'],
|
|
39
|
+
'completionCount': json['completion_count'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function GetPortalManagementDashboardActivityDayToJSON(json) {
|
|
43
|
+
return GetPortalManagementDashboardActivityDayToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function GetPortalManagementDashboardActivityDayToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'date': value['date'].toISOString().substring(0, 10),
|
|
51
|
+
'active_learner_count': value['activeLearnerCount'],
|
|
52
|
+
'login_count': value['loginCount'],
|
|
53
|
+
'completion_count': value['completionCount'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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 GetPortalManagementDashboardAttention
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardAttention {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
22
|
+
*/
|
|
23
|
+
notStartedEnrollmentCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
28
|
+
*/
|
|
29
|
+
inactiveLearnerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
34
|
+
*/
|
|
35
|
+
expiringEnrollmentCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
40
|
+
*/
|
|
41
|
+
expiringCertificateCount: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetPortalManagementDashboardAttention
|
|
46
|
+
*/
|
|
47
|
+
draftCourseCount: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the GetPortalManagementDashboardAttention interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfGetPortalManagementDashboardAttention(value: object): value is GetPortalManagementDashboardAttention;
|
|
53
|
+
export declare function GetPortalManagementDashboardAttentionFromJSON(json: any): GetPortalManagementDashboardAttention;
|
|
54
|
+
export declare function GetPortalManagementDashboardAttentionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardAttention;
|
|
55
|
+
export declare function GetPortalManagementDashboardAttentionToJSON(json: any): GetPortalManagementDashboardAttention;
|
|
56
|
+
export declare function GetPortalManagementDashboardAttentionToJSONTyped(value?: GetPortalManagementDashboardAttention | 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 GetPortalManagementDashboardAttention interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetPortalManagementDashboardAttention(value) {
|
|
18
|
+
if (!('notStartedEnrollmentCount' in value) || value['notStartedEnrollmentCount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('inactiveLearnerCount' in value) || value['inactiveLearnerCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('expiringEnrollmentCount' in value) || value['expiringEnrollmentCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('expiringCertificateCount' in value) || value['expiringCertificateCount'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('draftCourseCount' in value) || value['draftCourseCount'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function GetPortalManagementDashboardAttentionFromJSON(json) {
|
|
31
|
+
return GetPortalManagementDashboardAttentionFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function GetPortalManagementDashboardAttentionFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'notStartedEnrollmentCount': json['not_started_enrollment_count'],
|
|
39
|
+
'inactiveLearnerCount': json['inactive_learner_count'],
|
|
40
|
+
'expiringEnrollmentCount': json['expiring_enrollment_count'],
|
|
41
|
+
'expiringCertificateCount': json['expiring_certificate_count'],
|
|
42
|
+
'draftCourseCount': json['draft_course_count'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function GetPortalManagementDashboardAttentionToJSON(json) {
|
|
46
|
+
return GetPortalManagementDashboardAttentionToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function GetPortalManagementDashboardAttentionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'not_started_enrollment_count': value['notStartedEnrollmentCount'],
|
|
54
|
+
'inactive_learner_count': value['inactiveLearnerCount'],
|
|
55
|
+
'expiring_enrollment_count': value['expiringEnrollmentCount'],
|
|
56
|
+
'expiring_certificate_count': value['expiringCertificateCount'],
|
|
57
|
+
'draft_course_count': value['draftCourseCount'],
|
|
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 GetPortalManagementDashboardEnrollmentStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPortalManagementDashboardEnrollmentStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
22
|
+
*/
|
|
23
|
+
notStartedCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
28
|
+
*/
|
|
29
|
+
inProgressCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetPortalManagementDashboardEnrollmentStatus
|
|
34
|
+
*/
|
|
35
|
+
completedCount: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GetPortalManagementDashboardEnrollmentStatus interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGetPortalManagementDashboardEnrollmentStatus(value: object): value is GetPortalManagementDashboardEnrollmentStatus;
|
|
41
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusFromJSON(json: any): GetPortalManagementDashboardEnrollmentStatus;
|
|
42
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPortalManagementDashboardEnrollmentStatus;
|
|
43
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusToJSON(json: any): GetPortalManagementDashboardEnrollmentStatus;
|
|
44
|
+
export declare function GetPortalManagementDashboardEnrollmentStatusToJSONTyped(value?: GetPortalManagementDashboardEnrollmentStatus | null, ignoreDiscriminator?: boolean): any;
|