@easyedu/js-lsm-api 1.70.0 → 1.72.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 +8 -0
- package/README.md +10 -2
- package/dist/apis/SystemApi.d.ts +97 -0
- package/dist/apis/SystemApi.js +234 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/SystemApi.d.ts +97 -0
- package/dist/esm/apis/SystemApi.js +230 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetCourseStudentReportingPerformance.d.ts +1 -1
- package/dist/esm/models/GetSystemBillingItem.d.ts +80 -0
- package/dist/esm/models/GetSystemBillingItem.js +71 -0
- package/dist/esm/models/GetSystemBillingList.d.ts +57 -0
- package/dist/esm/models/GetSystemBillingList.js +60 -0
- package/dist/esm/models/GetSystemMetrics.d.ts +50 -0
- package/dist/esm/models/GetSystemMetrics.js +55 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/GetCourseStudentReportingPerformance.d.ts +1 -1
- package/dist/models/GetSystemBillingItem.d.ts +80 -0
- package/dist/models/GetSystemBillingItem.js +78 -0
- package/dist/models/GetSystemBillingList.d.ts +57 -0
- package/dist/models/GetSystemBillingList.js +67 -0
- package/dist/models/GetSystemMetrics.d.ts +50 -0
- package/dist/models/GetSystemMetrics.js +62 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/GetSystemBillingItem.md +51 -0
- package/docs/GetSystemBillingList.md +42 -0
- package/docs/GetSystemMetrics.md +41 -0
- package/docs/SystemApi.md +345 -0
- package/package.json +1 -1
- package/src/apis/SystemApi.ts +283 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetCourseStudentReportingPerformance.ts +1 -1
- package/src/models/GetSystemBillingItem.ts +136 -0
- package/src/models/GetSystemBillingList.ts +110 -0
- package/src/models/GetSystemMetrics.ts +93 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,230 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { GetPortalFromJSON, } from '../models/GetPortal';
|
|
25
|
+
import { GetPortalListFromJSON, } from '../models/GetPortalList';
|
|
26
|
+
import { GetSupportTicketListFromJSON, } from '../models/GetSupportTicketList';
|
|
27
|
+
import { GetSystemBillingListFromJSON, } from '../models/GetSystemBillingList';
|
|
28
|
+
import { GetSystemMetricsFromJSON, } from '../models/GetSystemMetrics';
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export class SystemApi extends runtime.BaseAPI {
|
|
33
|
+
/**
|
|
34
|
+
* Creates request options for getSystemBilling without sending the request
|
|
35
|
+
*/
|
|
36
|
+
getSystemBillingRequestOpts(requestParameters) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
const queryParameters = {};
|
|
39
|
+
if (requestParameters['page'] != null) {
|
|
40
|
+
queryParameters['page'] = requestParameters['page'];
|
|
41
|
+
}
|
|
42
|
+
if (requestParameters['pageSize'] != null) {
|
|
43
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
44
|
+
}
|
|
45
|
+
const headerParameters = {};
|
|
46
|
+
let urlPath = `/system/billing`;
|
|
47
|
+
return {
|
|
48
|
+
path: urlPath,
|
|
49
|
+
method: 'GET',
|
|
50
|
+
headers: headerParameters,
|
|
51
|
+
query: queryParameters,
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* List mock platform billing information
|
|
57
|
+
*/
|
|
58
|
+
getSystemBillingRaw(requestParameters, initOverrides) {
|
|
59
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
+
const requestOptions = yield this.getSystemBillingRequestOpts(requestParameters);
|
|
61
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
62
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetSystemBillingListFromJSON(jsonValue));
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* List mock platform billing information
|
|
67
|
+
*/
|
|
68
|
+
getSystemBilling() {
|
|
69
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
70
|
+
const response = yield this.getSystemBillingRaw(requestParameters, initOverrides);
|
|
71
|
+
return yield response.value();
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Creates request options for getSystemMetrics without sending the request
|
|
76
|
+
*/
|
|
77
|
+
getSystemMetricsRequestOpts() {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const queryParameters = {};
|
|
80
|
+
const headerParameters = {};
|
|
81
|
+
let urlPath = `/system/metrics`;
|
|
82
|
+
return {
|
|
83
|
+
path: urlPath,
|
|
84
|
+
method: 'GET',
|
|
85
|
+
headers: headerParameters,
|
|
86
|
+
query: queryParameters,
|
|
87
|
+
};
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Get platform-wide metrics
|
|
92
|
+
*/
|
|
93
|
+
getSystemMetricsRaw(initOverrides) {
|
|
94
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
95
|
+
const requestOptions = yield this.getSystemMetricsRequestOpts();
|
|
96
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
97
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetSystemMetricsFromJSON(jsonValue));
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Get platform-wide metrics
|
|
102
|
+
*/
|
|
103
|
+
getSystemMetrics(initOverrides) {
|
|
104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
const response = yield this.getSystemMetricsRaw(initOverrides);
|
|
106
|
+
return yield response.value();
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Creates request options for getSystemPortal without sending the request
|
|
111
|
+
*/
|
|
112
|
+
getSystemPortalRequestOpts(requestParameters) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
if (requestParameters['portalId'] == null) {
|
|
115
|
+
throw new runtime.RequiredError('portalId', 'Required parameter "portalId" was null or undefined when calling getSystemPortal().');
|
|
116
|
+
}
|
|
117
|
+
const queryParameters = {};
|
|
118
|
+
const headerParameters = {};
|
|
119
|
+
let urlPath = `/system/portals/{portalId}`;
|
|
120
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
121
|
+
return {
|
|
122
|
+
path: urlPath,
|
|
123
|
+
method: 'GET',
|
|
124
|
+
headers: headerParameters,
|
|
125
|
+
query: queryParameters,
|
|
126
|
+
};
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Get platform portal detail
|
|
131
|
+
*/
|
|
132
|
+
getSystemPortalRaw(requestParameters, initOverrides) {
|
|
133
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
134
|
+
const requestOptions = yield this.getSystemPortalRequestOpts(requestParameters);
|
|
135
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
136
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPortalFromJSON(jsonValue));
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Get platform portal detail
|
|
141
|
+
*/
|
|
142
|
+
getSystemPortal(requestParameters, initOverrides) {
|
|
143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
const response = yield this.getSystemPortalRaw(requestParameters, initOverrides);
|
|
145
|
+
return yield response.value();
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* Creates request options for getSystemPortals without sending the request
|
|
150
|
+
*/
|
|
151
|
+
getSystemPortalsRequestOpts(requestParameters) {
|
|
152
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
153
|
+
const queryParameters = {};
|
|
154
|
+
if (requestParameters['page'] != null) {
|
|
155
|
+
queryParameters['page'] = requestParameters['page'];
|
|
156
|
+
}
|
|
157
|
+
if (requestParameters['pageSize'] != null) {
|
|
158
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
159
|
+
}
|
|
160
|
+
const headerParameters = {};
|
|
161
|
+
let urlPath = `/system/portals`;
|
|
162
|
+
return {
|
|
163
|
+
path: urlPath,
|
|
164
|
+
method: 'GET',
|
|
165
|
+
headers: headerParameters,
|
|
166
|
+
query: queryParameters,
|
|
167
|
+
};
|
|
168
|
+
});
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* List all platform portals
|
|
172
|
+
*/
|
|
173
|
+
getSystemPortalsRaw(requestParameters, initOverrides) {
|
|
174
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
175
|
+
const requestOptions = yield this.getSystemPortalsRequestOpts(requestParameters);
|
|
176
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
177
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPortalListFromJSON(jsonValue));
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* List all platform portals
|
|
182
|
+
*/
|
|
183
|
+
getSystemPortals() {
|
|
184
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
185
|
+
const response = yield this.getSystemPortalsRaw(requestParameters, initOverrides);
|
|
186
|
+
return yield response.value();
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Creates request options for getSystemSupportTickets without sending the request
|
|
191
|
+
*/
|
|
192
|
+
getSystemSupportTicketsRequestOpts(requestParameters) {
|
|
193
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
194
|
+
const queryParameters = {};
|
|
195
|
+
if (requestParameters['page'] != null) {
|
|
196
|
+
queryParameters['page'] = requestParameters['page'];
|
|
197
|
+
}
|
|
198
|
+
if (requestParameters['pageSize'] != null) {
|
|
199
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
200
|
+
}
|
|
201
|
+
const headerParameters = {};
|
|
202
|
+
let urlPath = `/system/support/tickets`;
|
|
203
|
+
return {
|
|
204
|
+
path: urlPath,
|
|
205
|
+
method: 'GET',
|
|
206
|
+
headers: headerParameters,
|
|
207
|
+
query: queryParameters,
|
|
208
|
+
};
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* List open support tickets across the platform
|
|
213
|
+
*/
|
|
214
|
+
getSystemSupportTicketsRaw(requestParameters, initOverrides) {
|
|
215
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
216
|
+
const requestOptions = yield this.getSystemSupportTicketsRequestOpts(requestParameters);
|
|
217
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
218
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetSupportTicketListFromJSON(jsonValue));
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* List open support tickets across the platform
|
|
223
|
+
*/
|
|
224
|
+
getSystemSupportTickets() {
|
|
225
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
226
|
+
const response = yield this.getSystemSupportTicketsRaw(requestParameters, initOverrides);
|
|
227
|
+
return yield response.value();
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
package/dist/esm/apis/index.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GetCourseStudentReportingPerformance {
|
|
18
18
|
/**
|
|
19
|
-
* Average score
|
|
19
|
+
* Average of scored quiz and SCORM content rollups in the course, using each content item's score rollup strategy. Null when no score is available.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof GetCourseStudentReportingPerformance
|
|
22
22
|
*/
|
|
@@ -0,0 +1,80 @@
|
|
|
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
|
+
* Mock per-portal billing summary for platform administrators.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetSystemBillingItem
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSystemBillingItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetSystemBillingItem
|
|
22
|
+
*/
|
|
23
|
+
portalId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetSystemBillingItem
|
|
28
|
+
*/
|
|
29
|
+
portalName: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetSystemBillingItem
|
|
34
|
+
*/
|
|
35
|
+
plan: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetSystemBillingItem
|
|
40
|
+
*/
|
|
41
|
+
status: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetSystemBillingItem
|
|
46
|
+
*/
|
|
47
|
+
seatLimit?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetSystemBillingItem
|
|
52
|
+
*/
|
|
53
|
+
activeEnrollmentCount: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetSystemBillingItem
|
|
58
|
+
*/
|
|
59
|
+
monthlyAmountCents: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof GetSystemBillingItem
|
|
64
|
+
*/
|
|
65
|
+
currency: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof GetSystemBillingItem
|
|
70
|
+
*/
|
|
71
|
+
renewalAt?: number | null;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the GetSystemBillingItem interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfGetSystemBillingItem(value: object): value is GetSystemBillingItem;
|
|
77
|
+
export declare function GetSystemBillingItemFromJSON(json: any): GetSystemBillingItem;
|
|
78
|
+
export declare function GetSystemBillingItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSystemBillingItem;
|
|
79
|
+
export declare function GetSystemBillingItemToJSON(json: any): GetSystemBillingItem;
|
|
80
|
+
export declare function GetSystemBillingItemToJSONTyped(value?: GetSystemBillingItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 GetSystemBillingItem interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetSystemBillingItem(value) {
|
|
18
|
+
if (!('portalId' in value) || value['portalId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('portalName' in value) || value['portalName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('plan' in value) || value['plan'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('activeEnrollmentCount' in value) || value['activeEnrollmentCount'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('monthlyAmountCents' in value) || value['monthlyAmountCents'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function GetSystemBillingItemFromJSON(json) {
|
|
35
|
+
return GetSystemBillingItemFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GetSystemBillingItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'portalId': json['portal_id'],
|
|
43
|
+
'portalName': json['portal_name'],
|
|
44
|
+
'plan': json['plan'],
|
|
45
|
+
'status': json['status'],
|
|
46
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
47
|
+
'activeEnrollmentCount': json['active_enrollment_count'],
|
|
48
|
+
'monthlyAmountCents': json['monthly_amount_cents'],
|
|
49
|
+
'currency': json['currency'],
|
|
50
|
+
'renewalAt': json['renewal_at'] == null ? undefined : json['renewal_at'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function GetSystemBillingItemToJSON(json) {
|
|
54
|
+
return GetSystemBillingItemToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function GetSystemBillingItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'portal_id': value['portalId'],
|
|
62
|
+
'portal_name': value['portalName'],
|
|
63
|
+
'plan': value['plan'],
|
|
64
|
+
'status': value['status'],
|
|
65
|
+
'seat_limit': value['seatLimit'],
|
|
66
|
+
'active_enrollment_count': value['activeEnrollmentCount'],
|
|
67
|
+
'monthly_amount_cents': value['monthlyAmountCents'],
|
|
68
|
+
'currency': value['currency'],
|
|
69
|
+
'renewal_at': value['renewalAt'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { GetSystemBillingItem } from './GetSystemBillingItem';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSystemBillingList
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSystemBillingList {
|
|
19
|
+
/**
|
|
20
|
+
* The current page number
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GetSystemBillingList
|
|
23
|
+
*/
|
|
24
|
+
page: number;
|
|
25
|
+
/**
|
|
26
|
+
* The number of items per page
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetSystemBillingList
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
* The total number of pages
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetSystemBillingList
|
|
35
|
+
*/
|
|
36
|
+
totalPages: number;
|
|
37
|
+
/**
|
|
38
|
+
* The total number of items
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetSystemBillingList
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<GetSystemBillingItem>}
|
|
46
|
+
* @memberof GetSystemBillingList
|
|
47
|
+
*/
|
|
48
|
+
items: Array<GetSystemBillingItem>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GetSystemBillingList interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGetSystemBillingList(value: object): value is GetSystemBillingList;
|
|
54
|
+
export declare function GetSystemBillingListFromJSON(json: any): GetSystemBillingList;
|
|
55
|
+
export declare function GetSystemBillingListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSystemBillingList;
|
|
56
|
+
export declare function GetSystemBillingListToJSON(json: any): GetSystemBillingList;
|
|
57
|
+
export declare function GetSystemBillingListToJSONTyped(value?: GetSystemBillingList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { GetSystemBillingItemFromJSON, GetSystemBillingItemToJSON, } from './GetSystemBillingItem';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetSystemBillingList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetSystemBillingList(value) {
|
|
19
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function GetSystemBillingListFromJSON(json) {
|
|
32
|
+
return GetSystemBillingListFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function GetSystemBillingListFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'page': json['page'],
|
|
40
|
+
'pageSize': json['pageSize'],
|
|
41
|
+
'totalPages': json['totalPages'],
|
|
42
|
+
'totalItems': json['totalItems'],
|
|
43
|
+
'items': (json['items'].map(GetSystemBillingItemFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function GetSystemBillingListToJSON(json) {
|
|
47
|
+
return GetSystemBillingListToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function GetSystemBillingListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'page': value['page'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalPages': value['totalPages'],
|
|
57
|
+
'totalItems': value['totalItems'],
|
|
58
|
+
'items': (value['items'].map(GetSystemBillingItemToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -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
|
+
* Platform-wide read-only metrics for platform administrators.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetSystemMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSystemMetrics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof GetSystemMetrics
|
|
22
|
+
*/
|
|
23
|
+
portalCount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetSystemMetrics
|
|
28
|
+
*/
|
|
29
|
+
userCount: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetSystemMetrics
|
|
34
|
+
*/
|
|
35
|
+
courseCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetSystemMetrics
|
|
40
|
+
*/
|
|
41
|
+
openSupportTicketCount: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the GetSystemMetrics interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfGetSystemMetrics(value: object): value is GetSystemMetrics;
|
|
47
|
+
export declare function GetSystemMetricsFromJSON(json: any): GetSystemMetrics;
|
|
48
|
+
export declare function GetSystemMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSystemMetrics;
|
|
49
|
+
export declare function GetSystemMetricsToJSON(json: any): GetSystemMetrics;
|
|
50
|
+
export declare function GetSystemMetricsToJSONTyped(value?: GetSystemMetrics | 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 GetSystemMetrics interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetSystemMetrics(value) {
|
|
18
|
+
if (!('portalCount' in value) || value['portalCount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('userCount' in value) || value['userCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('courseCount' in value) || value['courseCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('openSupportTicketCount' in value) || value['openSupportTicketCount'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GetSystemMetricsFromJSON(json) {
|
|
29
|
+
return GetSystemMetricsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GetSystemMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'portalCount': json['portal_count'],
|
|
37
|
+
'userCount': json['user_count'],
|
|
38
|
+
'courseCount': json['course_count'],
|
|
39
|
+
'openSupportTicketCount': json['open_support_ticket_count'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function GetSystemMetricsToJSON(json) {
|
|
43
|
+
return GetSystemMetricsToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function GetSystemMetricsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'portal_count': value['portalCount'],
|
|
51
|
+
'user_count': value['userCount'],
|
|
52
|
+
'course_count': value['courseCount'],
|
|
53
|
+
'open_support_ticket_count': value['openSupportTicketCount'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -147,6 +147,9 @@ export * from './GetSupportTicket';
|
|
|
147
147
|
export * from './GetSupportTicketAttachment';
|
|
148
148
|
export * from './GetSupportTicketComment';
|
|
149
149
|
export * from './GetSupportTicketList';
|
|
150
|
+
export * from './GetSystemBillingItem';
|
|
151
|
+
export * from './GetSystemBillingList';
|
|
152
|
+
export * from './GetSystemMetrics';
|
|
150
153
|
export * from './GetUser';
|
|
151
154
|
export * from './GetUserAvatarUpload';
|
|
152
155
|
export * from './GetUserQuizAttempts';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -149,6 +149,9 @@ export * from './GetSupportTicket';
|
|
|
149
149
|
export * from './GetSupportTicketAttachment';
|
|
150
150
|
export * from './GetSupportTicketComment';
|
|
151
151
|
export * from './GetSupportTicketList';
|
|
152
|
+
export * from './GetSystemBillingItem';
|
|
153
|
+
export * from './GetSystemBillingList';
|
|
154
|
+
export * from './GetSystemMetrics';
|
|
152
155
|
export * from './GetUser';
|
|
153
156
|
export * from './GetUserAvatarUpload';
|
|
154
157
|
export * from './GetUserQuizAttempts';
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GetCourseStudentReportingPerformance {
|
|
18
18
|
/**
|
|
19
|
-
* Average score
|
|
19
|
+
* Average of scored quiz and SCORM content rollups in the course, using each content item's score rollup strategy. Null when no score is available.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof GetCourseStudentReportingPerformance
|
|
22
22
|
*/
|