@easyedu/js-lsm-api 1.68.0 → 1.70.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.
Files changed (56) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +6 -2
  3. package/dist/esm/models/ContentAttemptSettings.d.ts +46 -0
  4. package/dist/esm/models/ContentAttemptSettings.js +54 -0
  5. package/dist/esm/models/GetContent.d.ts +7 -0
  6. package/dist/esm/models/GetContent.js +5 -0
  7. package/dist/esm/models/GetCourseStudentReporting.d.ts +7 -0
  8. package/dist/esm/models/GetCourseStudentReporting.js +5 -0
  9. package/dist/esm/models/GetCourseStudentReportingModulesInner.d.ts +71 -0
  10. package/dist/esm/models/GetCourseStudentReportingModulesInner.js +71 -0
  11. package/dist/esm/models/GetModuleStudentReporting.d.ts +7 -0
  12. package/dist/esm/models/GetModuleStudentReporting.js +5 -0
  13. package/dist/esm/models/GetModuleStudentReportingContentsInner.d.ts +101 -0
  14. package/dist/esm/models/GetModuleStudentReportingContentsInner.js +91 -0
  15. package/dist/esm/models/PutContent.d.ts +7 -0
  16. package/dist/esm/models/PutContent.js +3 -0
  17. package/dist/esm/models/PutContentAttemptSettings.d.ts +46 -0
  18. package/dist/esm/models/PutContentAttemptSettings.js +50 -0
  19. package/dist/esm/models/index.d.ts +4 -0
  20. package/dist/esm/models/index.js +4 -0
  21. package/dist/models/ContentAttemptSettings.d.ts +46 -0
  22. package/dist/models/ContentAttemptSettings.js +62 -0
  23. package/dist/models/GetContent.d.ts +7 -0
  24. package/dist/models/GetContent.js +5 -0
  25. package/dist/models/GetCourseStudentReporting.d.ts +7 -0
  26. package/dist/models/GetCourseStudentReporting.js +5 -0
  27. package/dist/models/GetCourseStudentReportingModulesInner.d.ts +71 -0
  28. package/dist/models/GetCourseStudentReportingModulesInner.js +79 -0
  29. package/dist/models/GetModuleStudentReporting.d.ts +7 -0
  30. package/dist/models/GetModuleStudentReporting.js +5 -0
  31. package/dist/models/GetModuleStudentReportingContentsInner.d.ts +101 -0
  32. package/dist/models/GetModuleStudentReportingContentsInner.js +99 -0
  33. package/dist/models/PutContent.d.ts +7 -0
  34. package/dist/models/PutContent.js +3 -0
  35. package/dist/models/PutContentAttemptSettings.d.ts +46 -0
  36. package/dist/models/PutContentAttemptSettings.js +58 -0
  37. package/dist/models/index.d.ts +4 -0
  38. package/dist/models/index.js +4 -0
  39. package/docs/ContentAttemptSettings.md +36 -0
  40. package/docs/GetContent.md +2 -0
  41. package/docs/GetCourseStudentReporting.md +2 -0
  42. package/docs/GetCourseStudentReportingModulesInner.md +44 -0
  43. package/docs/GetModuleStudentReporting.md +2 -0
  44. package/docs/GetModuleStudentReportingContentsInner.md +54 -0
  45. package/docs/PutContent.md +2 -0
  46. package/docs/PutContentAttemptSettings.md +36 -0
  47. package/package.json +1 -1
  48. package/src/models/ContentAttemptSettings.ts +86 -0
  49. package/src/models/GetContent.ts +16 -0
  50. package/src/models/GetCourseStudentReporting.ts +16 -0
  51. package/src/models/GetCourseStudentReportingModulesInner.ts +123 -0
  52. package/src/models/GetModuleStudentReporting.ts +16 -0
  53. package/src/models/GetModuleStudentReportingContentsInner.ts +168 -0
  54. package/src/models/PutContent.ts +15 -0
  55. package/src/models/PutContentAttemptSettings.ts +84 -0
  56. package/src/models/index.ts +4 -0
@@ -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.
@@ -20,6 +20,7 @@ exports.GetModuleStudentReportingToJSON = GetModuleStudentReportingToJSON;
20
20
  exports.GetModuleStudentReportingToJSONTyped = GetModuleStudentReportingToJSONTyped;
21
21
  const GetModuleInstructorBasicReportingModuleInfo_1 = require("./GetModuleInstructorBasicReportingModuleInfo");
22
22
  const GetModuleStudentReportingAccess_1 = require("./GetModuleStudentReportingAccess");
23
+ const GetModuleStudentReportingContentsInner_1 = require("./GetModuleStudentReportingContentsInner");
23
24
  const GetModuleStudentReportingProgress_1 = require("./GetModuleStudentReportingProgress");
24
25
  /**
25
26
  * Check if a given object implements the GetModuleStudentReporting interface.
@@ -31,6 +32,8 @@ function instanceOfGetModuleStudentReporting(value) {
31
32
  return false;
32
33
  if (!('access' in value) || value['access'] === undefined)
33
34
  return false;
35
+ if (!('contents' in value) || value['contents'] === undefined)
36
+ return false;
34
37
  return true;
35
38
  }
36
39
  function GetModuleStudentReportingFromJSON(json) {
@@ -44,6 +47,7 @@ function GetModuleStudentReportingFromJSONTyped(json, ignoreDiscriminator) {
44
47
  'moduleInfo': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoFromJSON)(json['module_info']),
45
48
  'progress': (0, GetModuleStudentReportingProgress_1.GetModuleStudentReportingProgressFromJSON)(json['progress']),
46
49
  'access': (0, GetModuleStudentReportingAccess_1.GetModuleStudentReportingAccessFromJSON)(json['access']),
50
+ 'contents': (json['contents'].map(GetModuleStudentReportingContentsInner_1.GetModuleStudentReportingContentsInnerFromJSON)),
47
51
  };
48
52
  }
49
53
  function GetModuleStudentReportingToJSON(json) {
@@ -57,5 +61,6 @@ function GetModuleStudentReportingToJSONTyped(value, ignoreDiscriminator = false
57
61
  'module_info': (0, GetModuleInstructorBasicReportingModuleInfo_1.GetModuleInstructorBasicReportingModuleInfoToJSON)(value['moduleInfo']),
58
62
  'progress': (0, GetModuleStudentReportingProgress_1.GetModuleStudentReportingProgressToJSON)(value['progress']),
59
63
  'access': (0, GetModuleStudentReportingAccess_1.GetModuleStudentReportingAccessToJSON)(value['access']),
64
+ 'contents': (value['contents'].map(GetModuleStudentReportingContentsInner_1.GetModuleStudentReportingContentsInnerToJSON)),
60
65
  };
61
66
  }
@@ -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,99 @@
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.GetModuleStudentReportingContentsInnerCompletionStatusEnum = void 0;
17
+ exports.instanceOfGetModuleStudentReportingContentsInner = instanceOfGetModuleStudentReportingContentsInner;
18
+ exports.GetModuleStudentReportingContentsInnerFromJSON = GetModuleStudentReportingContentsInnerFromJSON;
19
+ exports.GetModuleStudentReportingContentsInnerFromJSONTyped = GetModuleStudentReportingContentsInnerFromJSONTyped;
20
+ exports.GetModuleStudentReportingContentsInnerToJSON = GetModuleStudentReportingContentsInnerToJSON;
21
+ exports.GetModuleStudentReportingContentsInnerToJSONTyped = GetModuleStudentReportingContentsInnerToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetModuleStudentReportingContentsInnerCompletionStatusEnum = {
26
+ NotAttempted: 'NotAttempted',
27
+ InProgress: 'InProgress',
28
+ Completed: 'Completed'
29
+ };
30
+ /**
31
+ * Check if a given object implements the GetModuleStudentReportingContentsInner interface.
32
+ */
33
+ function instanceOfGetModuleStudentReportingContentsInner(value) {
34
+ if (!('moduleId' in value) || value['moduleId'] === undefined)
35
+ return false;
36
+ if (!('contentId' in value) || value['contentId'] === undefined)
37
+ return false;
38
+ if (!('name' in value) || value['name'] === undefined)
39
+ return false;
40
+ if (!('contentType' in value) || value['contentType'] === undefined)
41
+ return false;
42
+ if (!('order' in value) || value['order'] === undefined)
43
+ return false;
44
+ if (!('completionStatus' in value) || value['completionStatus'] === undefined)
45
+ return false;
46
+ if (!('gradeStatus' in value) || value['gradeStatus'] === undefined)
47
+ return false;
48
+ if (!('contentSessionId' in value) || value['contentSessionId'] === undefined)
49
+ return false;
50
+ if (!('attemptNumber' in value) || value['attemptNumber'] === undefined)
51
+ return false;
52
+ if (!('lastAccessedAt' in value) || value['lastAccessedAt'] === undefined)
53
+ return false;
54
+ if (!('durationInSeconds' in value) || value['durationInSeconds'] === undefined)
55
+ return false;
56
+ return true;
57
+ }
58
+ function GetModuleStudentReportingContentsInnerFromJSON(json) {
59
+ return GetModuleStudentReportingContentsInnerFromJSONTyped(json, false);
60
+ }
61
+ function GetModuleStudentReportingContentsInnerFromJSONTyped(json, ignoreDiscriminator) {
62
+ if (json == null) {
63
+ return json;
64
+ }
65
+ return {
66
+ 'moduleId': json['module_id'],
67
+ 'contentId': json['content_id'],
68
+ 'name': json['name'],
69
+ 'contentType': json['content_type'],
70
+ 'order': json['order'],
71
+ 'completionStatus': json['completion_status'],
72
+ 'gradeStatus': json['grade_status'],
73
+ 'contentSessionId': json['content_session_id'],
74
+ 'attemptNumber': json['attempt_number'],
75
+ 'lastAccessedAt': json['last_accessed_at'],
76
+ 'durationInSeconds': json['duration_in_seconds'],
77
+ };
78
+ }
79
+ function GetModuleStudentReportingContentsInnerToJSON(json) {
80
+ return GetModuleStudentReportingContentsInnerToJSONTyped(json, false);
81
+ }
82
+ function GetModuleStudentReportingContentsInnerToJSONTyped(value, ignoreDiscriminator = false) {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'module_id': value['moduleId'],
88
+ 'content_id': value['contentId'],
89
+ 'name': value['name'],
90
+ 'content_type': value['contentType'],
91
+ 'order': value['order'],
92
+ 'completion_status': value['completionStatus'],
93
+ 'grade_status': value['gradeStatus'],
94
+ 'content_session_id': value['contentSessionId'],
95
+ 'attempt_number': value['attemptNumber'],
96
+ 'last_accessed_at': value['lastAccessedAt'],
97
+ 'duration_in_seconds': value['durationInSeconds'],
98
+ };
99
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { ContentLaunchMode } from './ContentLaunchMode';
13
+ import type { PutContentAttemptSettings } from './PutContentAttemptSettings';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -34,6 +35,12 @@ export interface PutContent {
34
35
  * @memberof PutContent
35
36
  */
36
37
  launchMode?: ContentLaunchMode;
38
+ /**
39
+ *
40
+ * @type {PutContentAttemptSettings}
41
+ * @memberof PutContent
42
+ */
43
+ attemptSettings?: PutContentAttemptSettings;
37
44
  }
38
45
  /**
39
46
  * Check if a given object implements the PutContent interface.
@@ -19,6 +19,7 @@ exports.PutContentFromJSONTyped = PutContentFromJSONTyped;
19
19
  exports.PutContentToJSON = PutContentToJSON;
20
20
  exports.PutContentToJSONTyped = PutContentToJSONTyped;
21
21
  const ContentLaunchMode_1 = require("./ContentLaunchMode");
22
+ const PutContentAttemptSettings_1 = require("./PutContentAttemptSettings");
22
23
  /**
23
24
  * Check if a given object implements the PutContent interface.
24
25
  */
@@ -36,6 +37,7 @@ function PutContentFromJSONTyped(json, ignoreDiscriminator) {
36
37
  'name': json['name'] == null ? undefined : json['name'],
37
38
  'published': json['published'] == null ? undefined : json['published'],
38
39
  'launchMode': json['launch_mode'] == null ? undefined : (0, ContentLaunchMode_1.ContentLaunchModeFromJSON)(json['launch_mode']),
40
+ 'attemptSettings': json['attempt_settings'] == null ? undefined : (0, PutContentAttemptSettings_1.PutContentAttemptSettingsFromJSON)(json['attempt_settings']),
39
41
  };
40
42
  }
41
43
  function PutContentToJSON(json) {
@@ -49,5 +51,6 @@ function PutContentToJSONTyped(value, ignoreDiscriminator = false) {
49
51
  'name': value['name'],
50
52
  'published': value['published'],
51
53
  'launch_mode': (0, ContentLaunchMode_1.ContentLaunchModeToJSON)(value['launchMode']),
54
+ 'attempt_settings': (0, PutContentAttemptSettings_1.PutContentAttemptSettingsToJSON)(value['attemptSettings']),
52
55
  };
53
56
  }
@@ -0,0 +1,46 @@
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 PutContentAttemptSettings
16
+ */
17
+ export interface PutContentAttemptSettings {
18
+ /**
19
+ * Maximum allowed attempts for this content
20
+ * @type {number}
21
+ * @memberof PutContentAttemptSettings
22
+ */
23
+ maxAttempts?: number;
24
+ /**
25
+ * Strategy used to calculate the content rollup score
26
+ * @type {PutContentAttemptSettingsScoreRollupStrategyEnum}
27
+ * @memberof PutContentAttemptSettings
28
+ */
29
+ scoreRollupStrategy?: PutContentAttemptSettingsScoreRollupStrategyEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const PutContentAttemptSettingsScoreRollupStrategyEnum: {
35
+ readonly Latest: "Latest";
36
+ readonly Best: "Best";
37
+ };
38
+ export type PutContentAttemptSettingsScoreRollupStrategyEnum = typeof PutContentAttemptSettingsScoreRollupStrategyEnum[keyof typeof PutContentAttemptSettingsScoreRollupStrategyEnum];
39
+ /**
40
+ * Check if a given object implements the PutContentAttemptSettings interface.
41
+ */
42
+ export declare function instanceOfPutContentAttemptSettings(value: object): value is PutContentAttemptSettings;
43
+ export declare function PutContentAttemptSettingsFromJSON(json: any): PutContentAttemptSettings;
44
+ export declare function PutContentAttemptSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutContentAttemptSettings;
45
+ export declare function PutContentAttemptSettingsToJSON(json: any): PutContentAttemptSettings;
46
+ export declare function PutContentAttemptSettingsToJSONTyped(value?: PutContentAttemptSettings | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
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.PutContentAttemptSettingsScoreRollupStrategyEnum = void 0;
17
+ exports.instanceOfPutContentAttemptSettings = instanceOfPutContentAttemptSettings;
18
+ exports.PutContentAttemptSettingsFromJSON = PutContentAttemptSettingsFromJSON;
19
+ exports.PutContentAttemptSettingsFromJSONTyped = PutContentAttemptSettingsFromJSONTyped;
20
+ exports.PutContentAttemptSettingsToJSON = PutContentAttemptSettingsToJSON;
21
+ exports.PutContentAttemptSettingsToJSONTyped = PutContentAttemptSettingsToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PutContentAttemptSettingsScoreRollupStrategyEnum = {
26
+ Latest: 'Latest',
27
+ Best: 'Best'
28
+ };
29
+ /**
30
+ * Check if a given object implements the PutContentAttemptSettings interface.
31
+ */
32
+ function instanceOfPutContentAttemptSettings(value) {
33
+ return true;
34
+ }
35
+ function PutContentAttemptSettingsFromJSON(json) {
36
+ return PutContentAttemptSettingsFromJSONTyped(json, false);
37
+ }
38
+ function PutContentAttemptSettingsFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
44
+ 'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
45
+ };
46
+ }
47
+ function PutContentAttemptSettingsToJSON(json) {
48
+ return PutContentAttemptSettingsToJSONTyped(json, false);
49
+ }
50
+ function PutContentAttemptSettingsToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'max_attempts': value['maxAttempts'],
56
+ 'score_rollup_strategy': value['scoreRollupStrategy'],
57
+ };
58
+ }
@@ -4,6 +4,7 @@ export * from './CertificatePublic';
4
4
  export * from './ContentAttemptItem';
5
5
  export * from './ContentAttemptRollupScore';
6
6
  export * from './ContentAttemptScore';
7
+ export * from './ContentAttemptSettings';
7
8
  export * from './ContentLaunchMode';
8
9
  export * from './CourseCatalog';
9
10
  export * from './CourseShare';
@@ -57,6 +58,7 @@ export * from './GetCourseReportingBasic';
57
58
  export * from './GetCourseStudentReporting';
58
59
  export * from './GetCourseStudentReportingCourseInfo';
59
60
  export * from './GetCourseStudentReportingEngagement';
61
+ export * from './GetCourseStudentReportingModulesInner';
60
62
  export * from './GetCourseStudentReportingPerformance';
61
63
  export * from './GetManualQuestionSelectionItem';
62
64
  export * from './GetManualQuestionSelectionList';
@@ -68,6 +70,7 @@ export * from './GetModuleInstructorBasicReportingPerformance';
68
70
  export * from './GetModuleList';
69
71
  export * from './GetModuleStudentReporting';
70
72
  export * from './GetModuleStudentReportingAccess';
73
+ export * from './GetModuleStudentReportingContentsInner';
71
74
  export * from './GetModuleStudentReportingProgress';
72
75
  export * from './GetPermission';
73
76
  export * from './GetPortal';
@@ -223,6 +226,7 @@ export * from './PostVerifyManifestItemsInner';
223
226
  export * from './PostVerifyManifestResourcesInner';
224
227
  export * from './PutCertificateConfig';
225
228
  export * from './PutContent';
229
+ export * from './PutContentAttemptSettings';
226
230
  export * from './PutContentReorder';
227
231
  export * from './PutContentVersion';
228
232
  export * from './PutCourse';
@@ -22,6 +22,7 @@ __exportStar(require("./CertificatePublic"), exports);
22
22
  __exportStar(require("./ContentAttemptItem"), exports);
23
23
  __exportStar(require("./ContentAttemptRollupScore"), exports);
24
24
  __exportStar(require("./ContentAttemptScore"), exports);
25
+ __exportStar(require("./ContentAttemptSettings"), exports);
25
26
  __exportStar(require("./ContentLaunchMode"), exports);
26
27
  __exportStar(require("./CourseCatalog"), exports);
27
28
  __exportStar(require("./CourseShare"), exports);
@@ -75,6 +76,7 @@ __exportStar(require("./GetCourseReportingBasic"), exports);
75
76
  __exportStar(require("./GetCourseStudentReporting"), exports);
76
77
  __exportStar(require("./GetCourseStudentReportingCourseInfo"), exports);
77
78
  __exportStar(require("./GetCourseStudentReportingEngagement"), exports);
79
+ __exportStar(require("./GetCourseStudentReportingModulesInner"), exports);
78
80
  __exportStar(require("./GetCourseStudentReportingPerformance"), exports);
79
81
  __exportStar(require("./GetManualQuestionSelectionItem"), exports);
80
82
  __exportStar(require("./GetManualQuestionSelectionList"), exports);
@@ -86,6 +88,7 @@ __exportStar(require("./GetModuleInstructorBasicReportingPerformance"), exports)
86
88
  __exportStar(require("./GetModuleList"), exports);
87
89
  __exportStar(require("./GetModuleStudentReporting"), exports);
88
90
  __exportStar(require("./GetModuleStudentReportingAccess"), exports);
91
+ __exportStar(require("./GetModuleStudentReportingContentsInner"), exports);
89
92
  __exportStar(require("./GetModuleStudentReportingProgress"), exports);
90
93
  __exportStar(require("./GetPermission"), exports);
91
94
  __exportStar(require("./GetPortal"), exports);
@@ -241,6 +244,7 @@ __exportStar(require("./PostVerifyManifestItemsInner"), exports);
241
244
  __exportStar(require("./PostVerifyManifestResourcesInner"), exports);
242
245
  __exportStar(require("./PutCertificateConfig"), exports);
243
246
  __exportStar(require("./PutContent"), exports);
247
+ __exportStar(require("./PutContentAttemptSettings"), exports);
244
248
  __exportStar(require("./PutContentReorder"), exports);
245
249
  __exportStar(require("./PutContentVersion"), exports);
246
250
  __exportStar(require("./PutCourse"), exports);
@@ -0,0 +1,36 @@
1
+
2
+ # ContentAttemptSettings
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `maxAttempts` | number
10
+ `scoreRollupStrategy` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { ContentAttemptSettings } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "maxAttempts": null,
20
+ "scoreRollupStrategy": null,
21
+ } satisfies ContentAttemptSettings
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as ContentAttemptSettings
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -12,6 +12,7 @@ Name | Type
12
12
  `description` | string
13
13
  `contentType` | string
14
14
  `launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
15
+ `attemptSettings` | [ContentAttemptSettings](ContentAttemptSettings.md)
15
16
  `contentData` | [GetContentContentData](GetContentContentData.md)
16
17
  `order` | number
17
18
  `published` | boolean
@@ -34,6 +35,7 @@ const example = {
34
35
  "description": null,
35
36
  "contentType": null,
36
37
  "launchMode": null,
38
+ "attemptSettings": null,
37
39
  "contentData": null,
38
40
  "order": null,
39
41
  "published": null,
@@ -9,6 +9,7 @@ Name | Type
9
9
  `courseInfo` | [GetCourseStudentReportingCourseInfo](GetCourseStudentReportingCourseInfo.md)
10
10
  `engagement` | [GetCourseStudentReportingEngagement](GetCourseStudentReportingEngagement.md)
11
11
  `performance` | [GetCourseStudentReportingPerformance](GetCourseStudentReportingPerformance.md)
12
+ `modules` | [Array&lt;GetCourseStudentReportingModulesInner&gt;](GetCourseStudentReportingModulesInner.md)
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const example = {
20
21
  "courseInfo": null,
21
22
  "engagement": null,
22
23
  "performance": null,
24
+ "modules": null,
23
25
  } satisfies GetCourseStudentReporting
24
26
 
25
27
  console.log(example)
@@ -0,0 +1,44 @@
1
+
2
+ # GetCourseStudentReportingModulesInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `moduleId` | string
10
+ `name` | string
11
+ `order` | number
12
+ `contentCount` | number
13
+ `contentCompletedCount` | number
14
+ `completionStatus` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { GetCourseStudentReportingModulesInner } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "moduleId": null,
24
+ "name": null,
25
+ "order": null,
26
+ "contentCount": null,
27
+ "contentCompletedCount": null,
28
+ "completionStatus": null,
29
+ } satisfies GetCourseStudentReportingModulesInner
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as GetCourseStudentReportingModulesInner
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -9,6 +9,7 @@ Name | Type
9
9
  `moduleInfo` | [GetModuleInstructorBasicReportingModuleInfo](GetModuleInstructorBasicReportingModuleInfo.md)
10
10
  `progress` | [GetModuleStudentReportingProgress](GetModuleStudentReportingProgress.md)
11
11
  `access` | [GetModuleStudentReportingAccess](GetModuleStudentReportingAccess.md)
12
+ `contents` | [Array&lt;GetModuleStudentReportingContentsInner&gt;](GetModuleStudentReportingContentsInner.md)
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const example = {
20
21
  "moduleInfo": null,
21
22
  "progress": null,
22
23
  "access": null,
24
+ "contents": null,
23
25
  } satisfies GetModuleStudentReporting
24
26
 
25
27
  console.log(example)
@@ -0,0 +1,54 @@
1
+
2
+ # GetModuleStudentReportingContentsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `moduleId` | string
10
+ `contentId` | string
11
+ `name` | string
12
+ `contentType` | string
13
+ `order` | number
14
+ `completionStatus` | string
15
+ `gradeStatus` | string
16
+ `contentSessionId` | string
17
+ `attemptNumber` | number
18
+ `lastAccessedAt` | number
19
+ `durationInSeconds` | number
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { GetModuleStudentReportingContentsInner } from '@easyedu/js-lsm-api'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "moduleId": null,
29
+ "contentId": null,
30
+ "name": null,
31
+ "contentType": null,
32
+ "order": null,
33
+ "completionStatus": null,
34
+ "gradeStatus": null,
35
+ "contentSessionId": null,
36
+ "attemptNumber": null,
37
+ "lastAccessedAt": null,
38
+ "durationInSeconds": null,
39
+ } satisfies GetModuleStudentReportingContentsInner
40
+
41
+ console.log(example)
42
+
43
+ // Convert the instance to a JSON string
44
+ const exampleJSON: string = JSON.stringify(example)
45
+ console.log(exampleJSON)
46
+
47
+ // Parse the JSON string back to an object
48
+ const exampleParsed = JSON.parse(exampleJSON) as GetModuleStudentReportingContentsInner
49
+ console.log(exampleParsed)
50
+ ```
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
+
54
+
@@ -9,6 +9,7 @@ Name | Type
9
9
  `name` | string
10
10
  `published` | boolean
11
11
  `launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
12
+ `attemptSettings` | [PutContentAttemptSettings](PutContentAttemptSettings.md)
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const example = {
20
21
  "name": null,
21
22
  "published": null,
22
23
  "launchMode": null,
24
+ "attemptSettings": null,
23
25
  } satisfies PutContent
24
26
 
25
27
  console.log(example)