@easyedu/js-lsm-api 1.48.0 → 1.49.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/README.md +2 -2
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +24 -0
- package/dist/models/GetModuleInstructorBasicReportingEngagement.js +16 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +8 -0
- package/package.json +1 -1
- package/src/models/GetModuleInstructorBasicReportingEngagement.ts +36 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.49.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -421,7 +421,7 @@ and is automatically generated by the
|
|
|
421
421
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
422
422
|
|
|
423
423
|
- API version: `1.0.0`
|
|
424
|
-
- Package version: `1.
|
|
424
|
+
- Package version: `1.49.0`
|
|
425
425
|
- Generator version: `7.21.0`
|
|
426
426
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
427
427
|
|
|
@@ -21,6 +21,30 @@ export interface GetModuleInstructorBasicReportingEngagement {
|
|
|
21
21
|
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
22
22
|
*/
|
|
23
23
|
avgTimeSpentHours: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Percentage of active course-enrolled students who have completed every published content item in this module. Null if there are no active enrolled students.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
28
|
+
*/
|
|
29
|
+
completionRatePercentage: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Number of active course-enrolled students who have completed every published content item in this module.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
34
|
+
*/
|
|
35
|
+
completedCount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of active course-enrolled students who have started at least one content item in this module but have not completed all published items.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
40
|
+
*/
|
|
41
|
+
inProgressCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of active course-enrolled students who have not opened any content item in this module.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
46
|
+
*/
|
|
47
|
+
notStartedCount: number;
|
|
24
48
|
}
|
|
25
49
|
/**
|
|
26
50
|
* Check if a given object implements the GetModuleInstructorBasicReportingEngagement interface.
|
|
@@ -17,6 +17,14 @@
|
|
|
17
17
|
export function instanceOfGetModuleInstructorBasicReportingEngagement(value) {
|
|
18
18
|
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('completedCount' in value) || value['completedCount'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('inProgressCount' in value) || value['inProgressCount'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('notStartedCount' in value) || value['notStartedCount'] === undefined)
|
|
27
|
+
return false;
|
|
20
28
|
return true;
|
|
21
29
|
}
|
|
22
30
|
export function GetModuleInstructorBasicReportingEngagementFromJSON(json) {
|
|
@@ -28,6 +36,10 @@ export function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json, i
|
|
|
28
36
|
}
|
|
29
37
|
return {
|
|
30
38
|
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
39
|
+
'completionRatePercentage': json['completion_rate_percentage'],
|
|
40
|
+
'completedCount': json['completed_count'],
|
|
41
|
+
'inProgressCount': json['in_progress_count'],
|
|
42
|
+
'notStartedCount': json['not_started_count'],
|
|
31
43
|
};
|
|
32
44
|
}
|
|
33
45
|
export function GetModuleInstructorBasicReportingEngagementToJSON(json) {
|
|
@@ -39,5 +51,9 @@ export function GetModuleInstructorBasicReportingEngagementToJSONTyped(value, ig
|
|
|
39
51
|
}
|
|
40
52
|
return {
|
|
41
53
|
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
54
|
+
'completion_rate_percentage': value['completionRatePercentage'],
|
|
55
|
+
'completed_count': value['completedCount'],
|
|
56
|
+
'in_progress_count': value['inProgressCount'],
|
|
57
|
+
'not_started_count': value['notStartedCount'],
|
|
42
58
|
};
|
|
43
59
|
}
|
|
@@ -21,6 +21,30 @@ export interface GetModuleInstructorBasicReportingEngagement {
|
|
|
21
21
|
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
22
22
|
*/
|
|
23
23
|
avgTimeSpentHours: number | null;
|
|
24
|
+
/**
|
|
25
|
+
* Percentage of active course-enrolled students who have completed every published content item in this module. Null if there are no active enrolled students.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
28
|
+
*/
|
|
29
|
+
completionRatePercentage: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* Number of active course-enrolled students who have completed every published content item in this module.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
34
|
+
*/
|
|
35
|
+
completedCount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of active course-enrolled students who have started at least one content item in this module but have not completed all published items.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
40
|
+
*/
|
|
41
|
+
inProgressCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of active course-enrolled students who have not opened any content item in this module.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
46
|
+
*/
|
|
47
|
+
notStartedCount: number;
|
|
24
48
|
}
|
|
25
49
|
/**
|
|
26
50
|
* Check if a given object implements the GetModuleInstructorBasicReportingEngagement interface.
|
|
@@ -24,6 +24,14 @@ exports.GetModuleInstructorBasicReportingEngagementToJSONTyped = GetModuleInstru
|
|
|
24
24
|
function instanceOfGetModuleInstructorBasicReportingEngagement(value) {
|
|
25
25
|
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('completedCount' in value) || value['completedCount'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('inProgressCount' in value) || value['inProgressCount'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('notStartedCount' in value) || value['notStartedCount'] === undefined)
|
|
34
|
+
return false;
|
|
27
35
|
return true;
|
|
28
36
|
}
|
|
29
37
|
function GetModuleInstructorBasicReportingEngagementFromJSON(json) {
|
|
@@ -35,6 +43,10 @@ function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json, ignoreDi
|
|
|
35
43
|
}
|
|
36
44
|
return {
|
|
37
45
|
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
46
|
+
'completionRatePercentage': json['completion_rate_percentage'],
|
|
47
|
+
'completedCount': json['completed_count'],
|
|
48
|
+
'inProgressCount': json['in_progress_count'],
|
|
49
|
+
'notStartedCount': json['not_started_count'],
|
|
38
50
|
};
|
|
39
51
|
}
|
|
40
52
|
function GetModuleInstructorBasicReportingEngagementToJSON(json) {
|
|
@@ -46,5 +58,9 @@ function GetModuleInstructorBasicReportingEngagementToJSONTyped(value, ignoreDis
|
|
|
46
58
|
}
|
|
47
59
|
return {
|
|
48
60
|
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
61
|
+
'completion_rate_percentage': value['completionRatePercentage'],
|
|
62
|
+
'completed_count': value['completedCount'],
|
|
63
|
+
'in_progress_count': value['inProgressCount'],
|
|
64
|
+
'not_started_count': value['notStartedCount'],
|
|
49
65
|
};
|
|
50
66
|
}
|
|
@@ -7,6 +7,10 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`avgTimeSpentHours` | number
|
|
10
|
+
`completionRatePercentage` | number
|
|
11
|
+
`completedCount` | number
|
|
12
|
+
`inProgressCount` | number
|
|
13
|
+
`notStartedCount` | number
|
|
10
14
|
|
|
11
15
|
## Example
|
|
12
16
|
|
|
@@ -16,6 +20,10 @@ import type { GetModuleInstructorBasicReportingEngagement } from '@easyedu/js-ls
|
|
|
16
20
|
// TODO: Update the object below with actual values
|
|
17
21
|
const example = {
|
|
18
22
|
"avgTimeSpentHours": null,
|
|
23
|
+
"completionRatePercentage": null,
|
|
24
|
+
"completedCount": null,
|
|
25
|
+
"inProgressCount": null,
|
|
26
|
+
"notStartedCount": null,
|
|
19
27
|
} satisfies GetModuleInstructorBasicReportingEngagement
|
|
20
28
|
|
|
21
29
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -25,6 +25,30 @@ export interface GetModuleInstructorBasicReportingEngagement {
|
|
|
25
25
|
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
26
26
|
*/
|
|
27
27
|
avgTimeSpentHours: number | null;
|
|
28
|
+
/**
|
|
29
|
+
* Percentage of active course-enrolled students who have completed every published content item in this module. Null if there are no active enrolled students.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
32
|
+
*/
|
|
33
|
+
completionRatePercentage: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* Number of active course-enrolled students who have completed every published content item in this module.
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
38
|
+
*/
|
|
39
|
+
completedCount: number;
|
|
40
|
+
/**
|
|
41
|
+
* Number of active course-enrolled students who have started at least one content item in this module but have not completed all published items.
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
44
|
+
*/
|
|
45
|
+
inProgressCount: number;
|
|
46
|
+
/**
|
|
47
|
+
* Number of active course-enrolled students who have not opened any content item in this module.
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof GetModuleInstructorBasicReportingEngagement
|
|
50
|
+
*/
|
|
51
|
+
notStartedCount: number;
|
|
28
52
|
}
|
|
29
53
|
|
|
30
54
|
/**
|
|
@@ -32,6 +56,10 @@ export interface GetModuleInstructorBasicReportingEngagement {
|
|
|
32
56
|
*/
|
|
33
57
|
export function instanceOfGetModuleInstructorBasicReportingEngagement(value: object): value is GetModuleInstructorBasicReportingEngagement {
|
|
34
58
|
if (!('avgTimeSpentHours' in value) || value['avgTimeSpentHours'] === undefined) return false;
|
|
59
|
+
if (!('completionRatePercentage' in value) || value['completionRatePercentage'] === undefined) return false;
|
|
60
|
+
if (!('completedCount' in value) || value['completedCount'] === undefined) return false;
|
|
61
|
+
if (!('inProgressCount' in value) || value['inProgressCount'] === undefined) return false;
|
|
62
|
+
if (!('notStartedCount' in value) || value['notStartedCount'] === undefined) return false;
|
|
35
63
|
return true;
|
|
36
64
|
}
|
|
37
65
|
|
|
@@ -46,6 +74,10 @@ export function GetModuleInstructorBasicReportingEngagementFromJSONTyped(json: a
|
|
|
46
74
|
return {
|
|
47
75
|
|
|
48
76
|
'avgTimeSpentHours': json['avg_time_spent_hours'],
|
|
77
|
+
'completionRatePercentage': json['completion_rate_percentage'],
|
|
78
|
+
'completedCount': json['completed_count'],
|
|
79
|
+
'inProgressCount': json['in_progress_count'],
|
|
80
|
+
'notStartedCount': json['not_started_count'],
|
|
49
81
|
};
|
|
50
82
|
}
|
|
51
83
|
|
|
@@ -61,6 +93,10 @@ export function GetModuleInstructorBasicReportingEngagementToJSONTyped(value?: G
|
|
|
61
93
|
return {
|
|
62
94
|
|
|
63
95
|
'avg_time_spent_hours': value['avgTimeSpentHours'],
|
|
96
|
+
'completion_rate_percentage': value['completionRatePercentage'],
|
|
97
|
+
'completed_count': value['completedCount'],
|
|
98
|
+
'in_progress_count': value['inProgressCount'],
|
|
99
|
+
'not_started_count': value['notStartedCount'],
|
|
64
100
|
};
|
|
65
101
|
}
|
|
66
102
|
|