@easyedu/js-lsm-api 1.71.0 → 1.73.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/ContentApi.d.ts +2 -2
- package/dist/apis/ContentApi.js +2 -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/ContentApi.d.ts +2 -2
- package/dist/esm/apis/ContentApi.js +2 -2
- 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/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/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/ContentApi.md +2 -1
- 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/ContentApi.ts +2 -2
- package/src/apis/SystemApi.ts +283 -0
- package/src/apis/index.ts +1 -0
- 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,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,78 @@
|
|
|
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.instanceOfGetSystemBillingItem = instanceOfGetSystemBillingItem;
|
|
17
|
+
exports.GetSystemBillingItemFromJSON = GetSystemBillingItemFromJSON;
|
|
18
|
+
exports.GetSystemBillingItemFromJSONTyped = GetSystemBillingItemFromJSONTyped;
|
|
19
|
+
exports.GetSystemBillingItemToJSON = GetSystemBillingItemToJSON;
|
|
20
|
+
exports.GetSystemBillingItemToJSONTyped = GetSystemBillingItemToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetSystemBillingItem interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetSystemBillingItem(value) {
|
|
25
|
+
if (!('portalId' in value) || value['portalId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('portalName' in value) || value['portalName'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('plan' in value) || value['plan'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('activeEnrollmentCount' in value) || value['activeEnrollmentCount'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('monthlyAmountCents' in value) || value['monthlyAmountCents'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function GetSystemBillingItemFromJSON(json) {
|
|
42
|
+
return GetSystemBillingItemFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetSystemBillingItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'portalId': json['portal_id'],
|
|
50
|
+
'portalName': json['portal_name'],
|
|
51
|
+
'plan': json['plan'],
|
|
52
|
+
'status': json['status'],
|
|
53
|
+
'seatLimit': json['seat_limit'] == null ? undefined : json['seat_limit'],
|
|
54
|
+
'activeEnrollmentCount': json['active_enrollment_count'],
|
|
55
|
+
'monthlyAmountCents': json['monthly_amount_cents'],
|
|
56
|
+
'currency': json['currency'],
|
|
57
|
+
'renewalAt': json['renewal_at'] == null ? undefined : json['renewal_at'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GetSystemBillingItemToJSON(json) {
|
|
61
|
+
return GetSystemBillingItemToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GetSystemBillingItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'portal_id': value['portalId'],
|
|
69
|
+
'portal_name': value['portalName'],
|
|
70
|
+
'plan': value['plan'],
|
|
71
|
+
'status': value['status'],
|
|
72
|
+
'seat_limit': value['seatLimit'],
|
|
73
|
+
'active_enrollment_count': value['activeEnrollmentCount'],
|
|
74
|
+
'monthly_amount_cents': value['monthlyAmountCents'],
|
|
75
|
+
'currency': value['currency'],
|
|
76
|
+
'renewal_at': value['renewalAt'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -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,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfGetSystemBillingList = instanceOfGetSystemBillingList;
|
|
17
|
+
exports.GetSystemBillingListFromJSON = GetSystemBillingListFromJSON;
|
|
18
|
+
exports.GetSystemBillingListFromJSONTyped = GetSystemBillingListFromJSONTyped;
|
|
19
|
+
exports.GetSystemBillingListToJSON = GetSystemBillingListToJSON;
|
|
20
|
+
exports.GetSystemBillingListToJSONTyped = GetSystemBillingListToJSONTyped;
|
|
21
|
+
const GetSystemBillingItem_1 = require("./GetSystemBillingItem");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetSystemBillingList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetSystemBillingList(value) {
|
|
26
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function GetSystemBillingListFromJSON(json) {
|
|
39
|
+
return GetSystemBillingListFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function GetSystemBillingListFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'page': json['page'],
|
|
47
|
+
'pageSize': json['pageSize'],
|
|
48
|
+
'totalPages': json['totalPages'],
|
|
49
|
+
'totalItems': json['totalItems'],
|
|
50
|
+
'items': (json['items'].map(GetSystemBillingItem_1.GetSystemBillingItemFromJSON)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
function GetSystemBillingListToJSON(json) {
|
|
54
|
+
return GetSystemBillingListToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function GetSystemBillingListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'page': value['page'],
|
|
62
|
+
'pageSize': value['pageSize'],
|
|
63
|
+
'totalPages': value['totalPages'],
|
|
64
|
+
'totalItems': value['totalItems'],
|
|
65
|
+
'items': (value['items'].map(GetSystemBillingItem_1.GetSystemBillingItemToJSON)),
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -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,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.instanceOfGetSystemMetrics = instanceOfGetSystemMetrics;
|
|
17
|
+
exports.GetSystemMetricsFromJSON = GetSystemMetricsFromJSON;
|
|
18
|
+
exports.GetSystemMetricsFromJSONTyped = GetSystemMetricsFromJSONTyped;
|
|
19
|
+
exports.GetSystemMetricsToJSON = GetSystemMetricsToJSON;
|
|
20
|
+
exports.GetSystemMetricsToJSONTyped = GetSystemMetricsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetSystemMetrics interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetSystemMetrics(value) {
|
|
25
|
+
if (!('portalCount' in value) || value['portalCount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('userCount' in value) || value['userCount'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('courseCount' in value) || value['courseCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('openSupportTicketCount' in value) || value['openSupportTicketCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function GetSystemMetricsFromJSON(json) {
|
|
36
|
+
return GetSystemMetricsFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function GetSystemMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'portalCount': json['portal_count'],
|
|
44
|
+
'userCount': json['user_count'],
|
|
45
|
+
'courseCount': json['course_count'],
|
|
46
|
+
'openSupportTicketCount': json['open_support_ticket_count'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function GetSystemMetricsToJSON(json) {
|
|
50
|
+
return GetSystemMetricsToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function GetSystemMetricsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'portal_count': value['portalCount'],
|
|
58
|
+
'user_count': value['userCount'],
|
|
59
|
+
'course_count': value['courseCount'],
|
|
60
|
+
'open_support_ticket_count': value['openSupportTicketCount'],
|
|
61
|
+
};
|
|
62
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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/models/index.js
CHANGED
|
@@ -165,6 +165,9 @@ __exportStar(require("./GetSupportTicket"), exports);
|
|
|
165
165
|
__exportStar(require("./GetSupportTicketAttachment"), exports);
|
|
166
166
|
__exportStar(require("./GetSupportTicketComment"), exports);
|
|
167
167
|
__exportStar(require("./GetSupportTicketList"), exports);
|
|
168
|
+
__exportStar(require("./GetSystemBillingItem"), exports);
|
|
169
|
+
__exportStar(require("./GetSystemBillingList"), exports);
|
|
170
|
+
__exportStar(require("./GetSystemMetrics"), exports);
|
|
168
171
|
__exportStar(require("./GetUser"), exports);
|
|
169
172
|
__exportStar(require("./GetUserAvatarUpload"), exports);
|
|
170
173
|
__exportStar(require("./GetUserQuizAttempts"), exports);
|
package/docs/ContentApi.md
CHANGED
|
@@ -2125,7 +2125,7 @@ No authorization required
|
|
|
2125
2125
|
|
|
2126
2126
|
Parse and verify a SCORM manifest
|
|
2127
2127
|
|
|
2128
|
-
|
|
2128
|
+
Public endpoint that takes raw imsmanifest.xml content and returns only parsed values derived from the submitted manifest, plus validation warnings. Request body is limited to 1 MiB.
|
|
2129
2129
|
|
|
2130
2130
|
### Example
|
|
2131
2131
|
|
|
@@ -2183,6 +2183,7 @@ No authorization required
|
|
|
2183
2183
|
|-------------|-------------|------------------|
|
|
2184
2184
|
| **200** | Manifest parsed (check valid field for success) | - |
|
|
2185
2185
|
| **400** | Request body is empty or not XML | - |
|
|
2186
|
+
| **413** | Request body exceeds 1 MiB | - |
|
|
2186
2187
|
|
|
2187
2188
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2188
2189
|
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSystemBillingItem
|
|
3
|
+
|
|
4
|
+
Mock per-portal billing summary for platform administrators.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`portalId` | string
|
|
11
|
+
`portalName` | string
|
|
12
|
+
`plan` | string
|
|
13
|
+
`status` | string
|
|
14
|
+
`seatLimit` | number
|
|
15
|
+
`activeEnrollmentCount` | number
|
|
16
|
+
`monthlyAmountCents` | number
|
|
17
|
+
`currency` | string
|
|
18
|
+
`renewalAt` | number
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import type { GetSystemBillingItem } from '@easyedu/js-lsm-api'
|
|
24
|
+
|
|
25
|
+
// TODO: Update the object below with actual values
|
|
26
|
+
const example = {
|
|
27
|
+
"portalId": null,
|
|
28
|
+
"portalName": null,
|
|
29
|
+
"plan": null,
|
|
30
|
+
"status": null,
|
|
31
|
+
"seatLimit": null,
|
|
32
|
+
"activeEnrollmentCount": null,
|
|
33
|
+
"monthlyAmountCents": null,
|
|
34
|
+
"currency": null,
|
|
35
|
+
"renewalAt": null,
|
|
36
|
+
} satisfies GetSystemBillingItem
|
|
37
|
+
|
|
38
|
+
console.log(example)
|
|
39
|
+
|
|
40
|
+
// Convert the instance to a JSON string
|
|
41
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
42
|
+
console.log(exampleJSON)
|
|
43
|
+
|
|
44
|
+
// Parse the JSON string back to an object
|
|
45
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSystemBillingItem
|
|
46
|
+
console.log(exampleParsed)
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
50
|
+
|
|
51
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSystemBillingList
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`page` | number
|
|
10
|
+
`pageSize` | number
|
|
11
|
+
`totalPages` | number
|
|
12
|
+
`totalItems` | number
|
|
13
|
+
`items` | [Array<GetSystemBillingItem>](GetSystemBillingItem.md)
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { GetSystemBillingList } from '@easyedu/js-lsm-api'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"page": null,
|
|
23
|
+
"pageSize": null,
|
|
24
|
+
"totalPages": null,
|
|
25
|
+
"totalItems": null,
|
|
26
|
+
"items": null,
|
|
27
|
+
} satisfies GetSystemBillingList
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSystemBillingList
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# GetSystemMetrics
|
|
3
|
+
|
|
4
|
+
Platform-wide read-only metrics for platform administrators.
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`portalCount` | number
|
|
11
|
+
`userCount` | number
|
|
12
|
+
`courseCount` | number
|
|
13
|
+
`openSupportTicketCount` | number
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { GetSystemMetrics } from '@easyedu/js-lsm-api'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"portalCount": null,
|
|
23
|
+
"userCount": null,
|
|
24
|
+
"courseCount": null,
|
|
25
|
+
"openSupportTicketCount": null,
|
|
26
|
+
} satisfies GetSystemMetrics
|
|
27
|
+
|
|
28
|
+
console.log(example)
|
|
29
|
+
|
|
30
|
+
// Convert the instance to a JSON string
|
|
31
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
32
|
+
console.log(exampleJSON)
|
|
33
|
+
|
|
34
|
+
// Parse the JSON string back to an object
|
|
35
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetSystemMetrics
|
|
36
|
+
console.log(exampleParsed)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
40
|
+
|
|
41
|
+
|