@easyedu/js-lsm-api 1.69.0 → 1.71.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 +4 -0
- package/README.md +4 -2
- package/dist/esm/models/GetCourseStudentReporting.d.ts +7 -0
- package/dist/esm/models/GetCourseStudentReporting.js +5 -0
- package/dist/esm/models/GetCourseStudentReportingModulesInner.d.ts +71 -0
- package/dist/esm/models/GetCourseStudentReportingModulesInner.js +71 -0
- package/dist/esm/models/GetCourseStudentReportingPerformance.d.ts +1 -1
- package/dist/esm/models/GetModuleStudentReporting.d.ts +7 -0
- package/dist/esm/models/GetModuleStudentReporting.js +5 -0
- package/dist/esm/models/GetModuleStudentReportingContentsInner.d.ts +101 -0
- package/dist/esm/models/GetModuleStudentReportingContentsInner.js +91 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/GetCourseStudentReporting.d.ts +7 -0
- package/dist/models/GetCourseStudentReporting.js +5 -0
- package/dist/models/GetCourseStudentReportingModulesInner.d.ts +71 -0
- package/dist/models/GetCourseStudentReportingModulesInner.js +79 -0
- package/dist/models/GetCourseStudentReportingPerformance.d.ts +1 -1
- package/dist/models/GetModuleStudentReporting.d.ts +7 -0
- package/dist/models/GetModuleStudentReporting.js +5 -0
- package/dist/models/GetModuleStudentReportingContentsInner.d.ts +101 -0
- package/dist/models/GetModuleStudentReportingContentsInner.js +99 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/GetCourseStudentReporting.md +2 -0
- package/docs/GetCourseStudentReportingModulesInner.md +44 -0
- package/docs/GetModuleStudentReporting.md +2 -0
- package/docs/GetModuleStudentReportingContentsInner.md +54 -0
- package/package.json +1 -1
- package/src/models/GetCourseStudentReporting.ts +16 -0
- package/src/models/GetCourseStudentReportingModulesInner.ts +123 -0
- package/src/models/GetCourseStudentReportingPerformance.ts +1 -1
- package/src/models/GetModuleStudentReporting.ts +16 -0
- package/src/models/GetModuleStudentReportingContentsInner.ts +168 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -69,6 +69,7 @@ docs/GetCourseReportingBasic.md
|
|
|
69
69
|
docs/GetCourseStudentReporting.md
|
|
70
70
|
docs/GetCourseStudentReportingCourseInfo.md
|
|
71
71
|
docs/GetCourseStudentReportingEngagement.md
|
|
72
|
+
docs/GetCourseStudentReportingModulesInner.md
|
|
72
73
|
docs/GetCourseStudentReportingPerformance.md
|
|
73
74
|
docs/GetManualQuestionSelectionItem.md
|
|
74
75
|
docs/GetManualQuestionSelectionList.md
|
|
@@ -80,6 +81,7 @@ docs/GetModuleInstructorBasicReportingPerformance.md
|
|
|
80
81
|
docs/GetModuleList.md
|
|
81
82
|
docs/GetModuleStudentReporting.md
|
|
82
83
|
docs/GetModuleStudentReportingAccess.md
|
|
84
|
+
docs/GetModuleStudentReportingContentsInner.md
|
|
83
85
|
docs/GetModuleStudentReportingProgress.md
|
|
84
86
|
docs/GetPermission.md
|
|
85
87
|
docs/GetPortal.md
|
|
@@ -368,6 +370,7 @@ src/models/GetCourseReportingBasic.ts
|
|
|
368
370
|
src/models/GetCourseStudentReporting.ts
|
|
369
371
|
src/models/GetCourseStudentReportingCourseInfo.ts
|
|
370
372
|
src/models/GetCourseStudentReportingEngagement.ts
|
|
373
|
+
src/models/GetCourseStudentReportingModulesInner.ts
|
|
371
374
|
src/models/GetCourseStudentReportingPerformance.ts
|
|
372
375
|
src/models/GetManualQuestionSelectionItem.ts
|
|
373
376
|
src/models/GetManualQuestionSelectionList.ts
|
|
@@ -379,6 +382,7 @@ src/models/GetModuleInstructorBasicReportingPerformance.ts
|
|
|
379
382
|
src/models/GetModuleList.ts
|
|
380
383
|
src/models/GetModuleStudentReporting.ts
|
|
381
384
|
src/models/GetModuleStudentReportingAccess.ts
|
|
385
|
+
src/models/GetModuleStudentReportingContentsInner.ts
|
|
382
386
|
src/models/GetModuleStudentReportingProgress.ts
|
|
383
387
|
src/models/GetPermission.ts
|
|
384
388
|
src/models/GetPortal.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.71.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -307,6 +307,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
307
307
|
- [GetCourseStudentReporting](docs/GetCourseStudentReporting.md)
|
|
308
308
|
- [GetCourseStudentReportingCourseInfo](docs/GetCourseStudentReportingCourseInfo.md)
|
|
309
309
|
- [GetCourseStudentReportingEngagement](docs/GetCourseStudentReportingEngagement.md)
|
|
310
|
+
- [GetCourseStudentReportingModulesInner](docs/GetCourseStudentReportingModulesInner.md)
|
|
310
311
|
- [GetCourseStudentReportingPerformance](docs/GetCourseStudentReportingPerformance.md)
|
|
311
312
|
- [GetManualQuestionSelectionItem](docs/GetManualQuestionSelectionItem.md)
|
|
312
313
|
- [GetManualQuestionSelectionList](docs/GetManualQuestionSelectionList.md)
|
|
@@ -318,6 +319,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
318
319
|
- [GetModuleList](docs/GetModuleList.md)
|
|
319
320
|
- [GetModuleStudentReporting](docs/GetModuleStudentReporting.md)
|
|
320
321
|
- [GetModuleStudentReportingAccess](docs/GetModuleStudentReportingAccess.md)
|
|
322
|
+
- [GetModuleStudentReportingContentsInner](docs/GetModuleStudentReportingContentsInner.md)
|
|
321
323
|
- [GetModuleStudentReportingProgress](docs/GetModuleStudentReportingProgress.md)
|
|
322
324
|
- [GetPermission](docs/GetPermission.md)
|
|
323
325
|
- [GetPortal](docs/GetPortal.md)
|
|
@@ -527,7 +529,7 @@ and is automatically generated by the
|
|
|
527
529
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
528
530
|
|
|
529
531
|
- API version: `1.0.0`
|
|
530
|
-
- Package version: `1.
|
|
532
|
+
- Package version: `1.71.0`
|
|
531
533
|
- Generator version: `7.22.0`
|
|
532
534
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
533
535
|
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { GetCourseStudentReportingEngagement } from './GetCourseStudentReportingEngagement';
|
|
13
|
+
import type { GetCourseStudentReportingModulesInner } from './GetCourseStudentReportingModulesInner';
|
|
13
14
|
import type { GetCourseStudentReportingCourseInfo } from './GetCourseStudentReportingCourseInfo';
|
|
14
15
|
import type { GetCourseStudentReportingPerformance } from './GetCourseStudentReportingPerformance';
|
|
15
16
|
/**
|
|
@@ -36,6 +37,12 @@ export interface GetCourseStudentReporting {
|
|
|
36
37
|
* @memberof GetCourseStudentReporting
|
|
37
38
|
*/
|
|
38
39
|
performance: GetCourseStudentReportingPerformance;
|
|
40
|
+
/**
|
|
41
|
+
* Module-level progress for the student within this course.
|
|
42
|
+
* @type {Array<GetCourseStudentReportingModulesInner>}
|
|
43
|
+
* @memberof GetCourseStudentReporting
|
|
44
|
+
*/
|
|
45
|
+
modules: Array<GetCourseStudentReportingModulesInner>;
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the GetCourseStudentReporting interface.
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { GetCourseStudentReportingEngagementFromJSON, GetCourseStudentReportingEngagementToJSON, } from './GetCourseStudentReportingEngagement';
|
|
15
|
+
import { GetCourseStudentReportingModulesInnerFromJSON, GetCourseStudentReportingModulesInnerToJSON, } from './GetCourseStudentReportingModulesInner';
|
|
15
16
|
import { GetCourseStudentReportingCourseInfoFromJSON, GetCourseStudentReportingCourseInfoToJSON, } from './GetCourseStudentReportingCourseInfo';
|
|
16
17
|
import { GetCourseStudentReportingPerformanceFromJSON, GetCourseStudentReportingPerformanceToJSON, } from './GetCourseStudentReportingPerformance';
|
|
17
18
|
/**
|
|
@@ -24,6 +25,8 @@ export function instanceOfGetCourseStudentReporting(value) {
|
|
|
24
25
|
return false;
|
|
25
26
|
if (!('performance' in value) || value['performance'] === undefined)
|
|
26
27
|
return false;
|
|
28
|
+
if (!('modules' in value) || value['modules'] === undefined)
|
|
29
|
+
return false;
|
|
27
30
|
return true;
|
|
28
31
|
}
|
|
29
32
|
export function GetCourseStudentReportingFromJSON(json) {
|
|
@@ -37,6 +40,7 @@ export function GetCourseStudentReportingFromJSONTyped(json, ignoreDiscriminator
|
|
|
37
40
|
'courseInfo': GetCourseStudentReportingCourseInfoFromJSON(json['course_info']),
|
|
38
41
|
'engagement': GetCourseStudentReportingEngagementFromJSON(json['engagement']),
|
|
39
42
|
'performance': GetCourseStudentReportingPerformanceFromJSON(json['performance']),
|
|
43
|
+
'modules': (json['modules'].map(GetCourseStudentReportingModulesInnerFromJSON)),
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
export function GetCourseStudentReportingToJSON(json) {
|
|
@@ -50,5 +54,6 @@ export function GetCourseStudentReportingToJSONTyped(value, ignoreDiscriminator
|
|
|
50
54
|
'course_info': GetCourseStudentReportingCourseInfoToJSON(value['courseInfo']),
|
|
51
55
|
'engagement': GetCourseStudentReportingEngagementToJSON(value['engagement']),
|
|
52
56
|
'performance': GetCourseStudentReportingPerformanceToJSON(value['performance']),
|
|
57
|
+
'modules': (value['modules'].map(GetCourseStudentReportingModulesInnerToJSON)),
|
|
53
58
|
};
|
|
54
59
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 GetCourseStudentReportingModulesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCourseStudentReportingModulesInner {
|
|
18
|
+
/**
|
|
19
|
+
* The module external ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
22
|
+
*/
|
|
23
|
+
moduleId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Module name.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* Order of the module within the course.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
34
|
+
*/
|
|
35
|
+
order: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of visible content items in the module.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
40
|
+
*/
|
|
41
|
+
contentCount: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of visible content items completed by the student.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
46
|
+
*/
|
|
47
|
+
contentCompletedCount: number;
|
|
48
|
+
/**
|
|
49
|
+
* Derived module completion status for this student.
|
|
50
|
+
* @type {GetCourseStudentReportingModulesInnerCompletionStatusEnum}
|
|
51
|
+
* @memberof GetCourseStudentReportingModulesInner
|
|
52
|
+
*/
|
|
53
|
+
completionStatus: GetCourseStudentReportingModulesInnerCompletionStatusEnum;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const GetCourseStudentReportingModulesInnerCompletionStatusEnum: {
|
|
59
|
+
readonly NotAttempted: "NotAttempted";
|
|
60
|
+
readonly InProgress: "InProgress";
|
|
61
|
+
readonly Completed: "Completed";
|
|
62
|
+
};
|
|
63
|
+
export type GetCourseStudentReportingModulesInnerCompletionStatusEnum = typeof GetCourseStudentReportingModulesInnerCompletionStatusEnum[keyof typeof GetCourseStudentReportingModulesInnerCompletionStatusEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the GetCourseStudentReportingModulesInner interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfGetCourseStudentReportingModulesInner(value: object): value is GetCourseStudentReportingModulesInner;
|
|
68
|
+
export declare function GetCourseStudentReportingModulesInnerFromJSON(json: any): GetCourseStudentReportingModulesInner;
|
|
69
|
+
export declare function GetCourseStudentReportingModulesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCourseStudentReportingModulesInner;
|
|
70
|
+
export declare function GetCourseStudentReportingModulesInnerToJSON(json: any): GetCourseStudentReportingModulesInner;
|
|
71
|
+
export declare function GetCourseStudentReportingModulesInnerToJSONTyped(value?: GetCourseStudentReportingModulesInner | 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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const GetCourseStudentReportingModulesInnerCompletionStatusEnum = {
|
|
18
|
+
NotAttempted: 'NotAttempted',
|
|
19
|
+
InProgress: 'InProgress',
|
|
20
|
+
Completed: 'Completed'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetCourseStudentReportingModulesInner interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfGetCourseStudentReportingModulesInner(value) {
|
|
26
|
+
if (!('moduleId' in value) || value['moduleId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('order' in value) || value['order'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('contentCount' in value) || value['contentCount'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('contentCompletedCount' in value) || value['contentCompletedCount'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('completionStatus' in value) || value['completionStatus'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function GetCourseStudentReportingModulesInnerFromJSON(json) {
|
|
41
|
+
return GetCourseStudentReportingModulesInnerFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function GetCourseStudentReportingModulesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'moduleId': json['module_id'],
|
|
49
|
+
'name': json['name'],
|
|
50
|
+
'order': json['order'],
|
|
51
|
+
'contentCount': json['content_count'],
|
|
52
|
+
'contentCompletedCount': json['content_completed_count'],
|
|
53
|
+
'completionStatus': json['completion_status'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function GetCourseStudentReportingModulesInnerToJSON(json) {
|
|
57
|
+
return GetCourseStudentReportingModulesInnerToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function GetCourseStudentReportingModulesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'module_id': value['moduleId'],
|
|
65
|
+
'name': value['name'],
|
|
66
|
+
'order': value['order'],
|
|
67
|
+
'content_count': value['contentCount'],
|
|
68
|
+
'content_completed_count': value['contentCompletedCount'],
|
|
69
|
+
'completion_status': value['completionStatus'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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
|
*/
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { GetModuleInstructorBasicReportingModuleInfo } from './GetModuleInstructorBasicReportingModuleInfo';
|
|
13
13
|
import type { GetModuleStudentReportingAccess } from './GetModuleStudentReportingAccess';
|
|
14
|
+
import type { GetModuleStudentReportingContentsInner } from './GetModuleStudentReportingContentsInner';
|
|
14
15
|
import type { GetModuleStudentReportingProgress } from './GetModuleStudentReportingProgress';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -36,6 +37,12 @@ export interface GetModuleStudentReporting {
|
|
|
36
37
|
* @memberof GetModuleStudentReporting
|
|
37
38
|
*/
|
|
38
39
|
access: GetModuleStudentReportingAccess;
|
|
40
|
+
/**
|
|
41
|
+
* Content-level progress for the student within this module.
|
|
42
|
+
* @type {Array<GetModuleStudentReportingContentsInner>}
|
|
43
|
+
* @memberof GetModuleStudentReporting
|
|
44
|
+
*/
|
|
45
|
+
contents: Array<GetModuleStudentReportingContentsInner>;
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the GetModuleStudentReporting interface.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { GetModuleInstructorBasicReportingModuleInfoFromJSON, GetModuleInstructorBasicReportingModuleInfoToJSON, } from './GetModuleInstructorBasicReportingModuleInfo';
|
|
15
15
|
import { GetModuleStudentReportingAccessFromJSON, GetModuleStudentReportingAccessToJSON, } from './GetModuleStudentReportingAccess';
|
|
16
|
+
import { GetModuleStudentReportingContentsInnerFromJSON, GetModuleStudentReportingContentsInnerToJSON, } from './GetModuleStudentReportingContentsInner';
|
|
16
17
|
import { GetModuleStudentReportingProgressFromJSON, GetModuleStudentReportingProgressToJSON, } from './GetModuleStudentReportingProgress';
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the GetModuleStudentReporting interface.
|
|
@@ -24,6 +25,8 @@ export function instanceOfGetModuleStudentReporting(value) {
|
|
|
24
25
|
return false;
|
|
25
26
|
if (!('access' in value) || value['access'] === undefined)
|
|
26
27
|
return false;
|
|
28
|
+
if (!('contents' in value) || value['contents'] === undefined)
|
|
29
|
+
return false;
|
|
27
30
|
return true;
|
|
28
31
|
}
|
|
29
32
|
export function GetModuleStudentReportingFromJSON(json) {
|
|
@@ -37,6 +40,7 @@ export function GetModuleStudentReportingFromJSONTyped(json, ignoreDiscriminator
|
|
|
37
40
|
'moduleInfo': GetModuleInstructorBasicReportingModuleInfoFromJSON(json['module_info']),
|
|
38
41
|
'progress': GetModuleStudentReportingProgressFromJSON(json['progress']),
|
|
39
42
|
'access': GetModuleStudentReportingAccessFromJSON(json['access']),
|
|
43
|
+
'contents': (json['contents'].map(GetModuleStudentReportingContentsInnerFromJSON)),
|
|
40
44
|
};
|
|
41
45
|
}
|
|
42
46
|
export function GetModuleStudentReportingToJSON(json) {
|
|
@@ -50,5 +54,6 @@ export function GetModuleStudentReportingToJSONTyped(value, ignoreDiscriminator
|
|
|
50
54
|
'module_info': GetModuleInstructorBasicReportingModuleInfoToJSON(value['moduleInfo']),
|
|
51
55
|
'progress': GetModuleStudentReportingProgressToJSON(value['progress']),
|
|
52
56
|
'access': GetModuleStudentReportingAccessToJSON(value['access']),
|
|
57
|
+
'contents': (value['contents'].map(GetModuleStudentReportingContentsInnerToJSON)),
|
|
53
58
|
};
|
|
54
59
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
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 GetModuleStudentReportingContentsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface GetModuleStudentReportingContentsInner {
|
|
18
|
+
/**
|
|
19
|
+
* The module external ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
22
|
+
*/
|
|
23
|
+
moduleId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The content external ID.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
28
|
+
*/
|
|
29
|
+
contentId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Content name.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
34
|
+
*/
|
|
35
|
+
name: string;
|
|
36
|
+
/**
|
|
37
|
+
* Content type.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
40
|
+
*/
|
|
41
|
+
contentType: string;
|
|
42
|
+
/**
|
|
43
|
+
* Order of the content within the module.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
46
|
+
*/
|
|
47
|
+
order: number;
|
|
48
|
+
/**
|
|
49
|
+
* Current live completion status for this student's content progress.
|
|
50
|
+
* @type {GetModuleStudentReportingContentsInnerCompletionStatusEnum}
|
|
51
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
52
|
+
*/
|
|
53
|
+
completionStatus: GetModuleStudentReportingContentsInnerCompletionStatusEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Current live grade status for this student's content progress, if a session exists.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
58
|
+
*/
|
|
59
|
+
gradeStatus: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* Current live content session external ID, if a session exists.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
64
|
+
*/
|
|
65
|
+
contentSessionId: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* Current live attempt number, if a session exists.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
70
|
+
*/
|
|
71
|
+
attemptNumber: number | null;
|
|
72
|
+
/**
|
|
73
|
+
* Last content session update timestamp (epoch seconds), if a session exists.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
76
|
+
*/
|
|
77
|
+
lastAccessedAt: number | null;
|
|
78
|
+
/**
|
|
79
|
+
* Duration tracked on the current live content session, or 0 when not started.
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof GetModuleStudentReportingContentsInner
|
|
82
|
+
*/
|
|
83
|
+
durationInSeconds: number;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const GetModuleStudentReportingContentsInnerCompletionStatusEnum: {
|
|
89
|
+
readonly NotAttempted: "NotAttempted";
|
|
90
|
+
readonly InProgress: "InProgress";
|
|
91
|
+
readonly Completed: "Completed";
|
|
92
|
+
};
|
|
93
|
+
export type GetModuleStudentReportingContentsInnerCompletionStatusEnum = typeof GetModuleStudentReportingContentsInnerCompletionStatusEnum[keyof typeof GetModuleStudentReportingContentsInnerCompletionStatusEnum];
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the GetModuleStudentReportingContentsInner interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfGetModuleStudentReportingContentsInner(value: object): value is GetModuleStudentReportingContentsInner;
|
|
98
|
+
export declare function GetModuleStudentReportingContentsInnerFromJSON(json: any): GetModuleStudentReportingContentsInner;
|
|
99
|
+
export declare function GetModuleStudentReportingContentsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetModuleStudentReportingContentsInner;
|
|
100
|
+
export declare function GetModuleStudentReportingContentsInnerToJSON(json: any): GetModuleStudentReportingContentsInner;
|
|
101
|
+
export declare function GetModuleStudentReportingContentsInnerToJSONTyped(value?: GetModuleStudentReportingContentsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const GetModuleStudentReportingContentsInnerCompletionStatusEnum = {
|
|
18
|
+
NotAttempted: 'NotAttempted',
|
|
19
|
+
InProgress: 'InProgress',
|
|
20
|
+
Completed: 'Completed'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetModuleStudentReportingContentsInner interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfGetModuleStudentReportingContentsInner(value) {
|
|
26
|
+
if (!('moduleId' in value) || value['moduleId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('contentId' in value) || value['contentId'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('contentType' in value) || value['contentType'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('order' in value) || value['order'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('completionStatus' in value) || value['completionStatus'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('gradeStatus' in value) || value['gradeStatus'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('contentSessionId' in value) || value['contentSessionId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('attemptNumber' in value) || value['attemptNumber'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('lastAccessedAt' in value) || value['lastAccessedAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('durationInSeconds' in value) || value['durationInSeconds'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function GetModuleStudentReportingContentsInnerFromJSON(json) {
|
|
51
|
+
return GetModuleStudentReportingContentsInnerFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function GetModuleStudentReportingContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'moduleId': json['module_id'],
|
|
59
|
+
'contentId': json['content_id'],
|
|
60
|
+
'name': json['name'],
|
|
61
|
+
'contentType': json['content_type'],
|
|
62
|
+
'order': json['order'],
|
|
63
|
+
'completionStatus': json['completion_status'],
|
|
64
|
+
'gradeStatus': json['grade_status'],
|
|
65
|
+
'contentSessionId': json['content_session_id'],
|
|
66
|
+
'attemptNumber': json['attempt_number'],
|
|
67
|
+
'lastAccessedAt': json['last_accessed_at'],
|
|
68
|
+
'durationInSeconds': json['duration_in_seconds'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export function GetModuleStudentReportingContentsInnerToJSON(json) {
|
|
72
|
+
return GetModuleStudentReportingContentsInnerToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
export function GetModuleStudentReportingContentsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'module_id': value['moduleId'],
|
|
80
|
+
'content_id': value['contentId'],
|
|
81
|
+
'name': value['name'],
|
|
82
|
+
'content_type': value['contentType'],
|
|
83
|
+
'order': value['order'],
|
|
84
|
+
'completion_status': value['completionStatus'],
|
|
85
|
+
'grade_status': value['gradeStatus'],
|
|
86
|
+
'content_session_id': value['contentSessionId'],
|
|
87
|
+
'attempt_number': value['attemptNumber'],
|
|
88
|
+
'last_accessed_at': value['lastAccessedAt'],
|
|
89
|
+
'duration_in_seconds': value['durationInSeconds'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -58,6 +58,7 @@ export * from './GetCourseReportingBasic';
|
|
|
58
58
|
export * from './GetCourseStudentReporting';
|
|
59
59
|
export * from './GetCourseStudentReportingCourseInfo';
|
|
60
60
|
export * from './GetCourseStudentReportingEngagement';
|
|
61
|
+
export * from './GetCourseStudentReportingModulesInner';
|
|
61
62
|
export * from './GetCourseStudentReportingPerformance';
|
|
62
63
|
export * from './GetManualQuestionSelectionItem';
|
|
63
64
|
export * from './GetManualQuestionSelectionList';
|
|
@@ -69,6 +70,7 @@ export * from './GetModuleInstructorBasicReportingPerformance';
|
|
|
69
70
|
export * from './GetModuleList';
|
|
70
71
|
export * from './GetModuleStudentReporting';
|
|
71
72
|
export * from './GetModuleStudentReportingAccess';
|
|
73
|
+
export * from './GetModuleStudentReportingContentsInner';
|
|
72
74
|
export * from './GetModuleStudentReportingProgress';
|
|
73
75
|
export * from './GetPermission';
|
|
74
76
|
export * from './GetPortal';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -60,6 +60,7 @@ export * from './GetCourseReportingBasic';
|
|
|
60
60
|
export * from './GetCourseStudentReporting';
|
|
61
61
|
export * from './GetCourseStudentReportingCourseInfo';
|
|
62
62
|
export * from './GetCourseStudentReportingEngagement';
|
|
63
|
+
export * from './GetCourseStudentReportingModulesInner';
|
|
63
64
|
export * from './GetCourseStudentReportingPerformance';
|
|
64
65
|
export * from './GetManualQuestionSelectionItem';
|
|
65
66
|
export * from './GetManualQuestionSelectionList';
|
|
@@ -71,6 +72,7 @@ export * from './GetModuleInstructorBasicReportingPerformance';
|
|
|
71
72
|
export * from './GetModuleList';
|
|
72
73
|
export * from './GetModuleStudentReporting';
|
|
73
74
|
export * from './GetModuleStudentReportingAccess';
|
|
75
|
+
export * from './GetModuleStudentReportingContentsInner';
|
|
74
76
|
export * from './GetModuleStudentReportingProgress';
|
|
75
77
|
export * from './GetPermission';
|
|
76
78
|
export * from './GetPortal';
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { GetCourseStudentReportingEngagement } from './GetCourseStudentReportingEngagement';
|
|
13
|
+
import type { GetCourseStudentReportingModulesInner } from './GetCourseStudentReportingModulesInner';
|
|
13
14
|
import type { GetCourseStudentReportingCourseInfo } from './GetCourseStudentReportingCourseInfo';
|
|
14
15
|
import type { GetCourseStudentReportingPerformance } from './GetCourseStudentReportingPerformance';
|
|
15
16
|
/**
|
|
@@ -36,6 +37,12 @@ export interface GetCourseStudentReporting {
|
|
|
36
37
|
* @memberof GetCourseStudentReporting
|
|
37
38
|
*/
|
|
38
39
|
performance: GetCourseStudentReportingPerformance;
|
|
40
|
+
/**
|
|
41
|
+
* Module-level progress for the student within this course.
|
|
42
|
+
* @type {Array<GetCourseStudentReportingModulesInner>}
|
|
43
|
+
* @memberof GetCourseStudentReporting
|
|
44
|
+
*/
|
|
45
|
+
modules: Array<GetCourseStudentReportingModulesInner>;
|
|
39
46
|
}
|
|
40
47
|
/**
|
|
41
48
|
* Check if a given object implements the GetCourseStudentReporting interface.
|
|
@@ -19,6 +19,7 @@ exports.GetCourseStudentReportingFromJSONTyped = GetCourseStudentReportingFromJS
|
|
|
19
19
|
exports.GetCourseStudentReportingToJSON = GetCourseStudentReportingToJSON;
|
|
20
20
|
exports.GetCourseStudentReportingToJSONTyped = GetCourseStudentReportingToJSONTyped;
|
|
21
21
|
const GetCourseStudentReportingEngagement_1 = require("./GetCourseStudentReportingEngagement");
|
|
22
|
+
const GetCourseStudentReportingModulesInner_1 = require("./GetCourseStudentReportingModulesInner");
|
|
22
23
|
const GetCourseStudentReportingCourseInfo_1 = require("./GetCourseStudentReportingCourseInfo");
|
|
23
24
|
const GetCourseStudentReportingPerformance_1 = require("./GetCourseStudentReportingPerformance");
|
|
24
25
|
/**
|
|
@@ -31,6 +32,8 @@ function instanceOfGetCourseStudentReporting(value) {
|
|
|
31
32
|
return false;
|
|
32
33
|
if (!('performance' in value) || value['performance'] === undefined)
|
|
33
34
|
return false;
|
|
35
|
+
if (!('modules' in value) || value['modules'] === undefined)
|
|
36
|
+
return false;
|
|
34
37
|
return true;
|
|
35
38
|
}
|
|
36
39
|
function GetCourseStudentReportingFromJSON(json) {
|
|
@@ -44,6 +47,7 @@ function GetCourseStudentReportingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
47
|
'courseInfo': (0, GetCourseStudentReportingCourseInfo_1.GetCourseStudentReportingCourseInfoFromJSON)(json['course_info']),
|
|
45
48
|
'engagement': (0, GetCourseStudentReportingEngagement_1.GetCourseStudentReportingEngagementFromJSON)(json['engagement']),
|
|
46
49
|
'performance': (0, GetCourseStudentReportingPerformance_1.GetCourseStudentReportingPerformanceFromJSON)(json['performance']),
|
|
50
|
+
'modules': (json['modules'].map(GetCourseStudentReportingModulesInner_1.GetCourseStudentReportingModulesInnerFromJSON)),
|
|
47
51
|
};
|
|
48
52
|
}
|
|
49
53
|
function GetCourseStudentReportingToJSON(json) {
|
|
@@ -57,5 +61,6 @@ function GetCourseStudentReportingToJSONTyped(value, ignoreDiscriminator = false
|
|
|
57
61
|
'course_info': (0, GetCourseStudentReportingCourseInfo_1.GetCourseStudentReportingCourseInfoToJSON)(value['courseInfo']),
|
|
58
62
|
'engagement': (0, GetCourseStudentReportingEngagement_1.GetCourseStudentReportingEngagementToJSON)(value['engagement']),
|
|
59
63
|
'performance': (0, GetCourseStudentReportingPerformance_1.GetCourseStudentReportingPerformanceToJSON)(value['performance']),
|
|
64
|
+
'modules': (value['modules'].map(GetCourseStudentReportingModulesInner_1.GetCourseStudentReportingModulesInnerToJSON)),
|
|
60
65
|
};
|
|
61
66
|
}
|