@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.
- package/.openapi-generator/FILES +8 -0
- package/README.md +6 -2
- package/dist/esm/models/ContentAttemptSettings.d.ts +46 -0
- package/dist/esm/models/ContentAttemptSettings.js +54 -0
- package/dist/esm/models/GetContent.d.ts +7 -0
- package/dist/esm/models/GetContent.js +5 -0
- 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/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/PutContent.d.ts +7 -0
- package/dist/esm/models/PutContent.js +3 -0
- package/dist/esm/models/PutContentAttemptSettings.d.ts +46 -0
- package/dist/esm/models/PutContentAttemptSettings.js +50 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/models/ContentAttemptSettings.d.ts +46 -0
- package/dist/models/ContentAttemptSettings.js +62 -0
- package/dist/models/GetContent.d.ts +7 -0
- package/dist/models/GetContent.js +5 -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/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/PutContent.d.ts +7 -0
- package/dist/models/PutContent.js +3 -0
- package/dist/models/PutContentAttemptSettings.d.ts +46 -0
- package/dist/models/PutContentAttemptSettings.js +58 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/docs/ContentAttemptSettings.md +36 -0
- package/docs/GetContent.md +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/docs/PutContent.md +2 -0
- package/docs/PutContentAttemptSettings.md +36 -0
- package/package.json +1 -1
- package/src/models/ContentAttemptSettings.ts +86 -0
- package/src/models/GetContent.ts +16 -0
- package/src/models/GetCourseStudentReporting.ts +16 -0
- package/src/models/GetCourseStudentReportingModulesInner.ts +123 -0
- package/src/models/GetModuleStudentReporting.ts +16 -0
- package/src/models/GetModuleStudentReportingContentsInner.ts +168 -0
- package/src/models/PutContent.ts +15 -0
- package/src/models/PutContentAttemptSettings.ts +84 -0
- package/src/models/index.ts +4 -0
|
@@ -0,0 +1,84 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PutContentAttemptSettings
|
|
20
|
+
*/
|
|
21
|
+
export interface PutContentAttemptSettings {
|
|
22
|
+
/**
|
|
23
|
+
* Maximum allowed attempts for this content
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PutContentAttemptSettings
|
|
26
|
+
*/
|
|
27
|
+
maxAttempts?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Strategy used to calculate the content rollup score
|
|
30
|
+
* @type {PutContentAttemptSettingsScoreRollupStrategyEnum}
|
|
31
|
+
* @memberof PutContentAttemptSettings
|
|
32
|
+
*/
|
|
33
|
+
scoreRollupStrategy?: PutContentAttemptSettingsScoreRollupStrategyEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const PutContentAttemptSettingsScoreRollupStrategyEnum = {
|
|
41
|
+
Latest: 'Latest',
|
|
42
|
+
Best: 'Best'
|
|
43
|
+
} as const;
|
|
44
|
+
export type PutContentAttemptSettingsScoreRollupStrategyEnum = typeof PutContentAttemptSettingsScoreRollupStrategyEnum[keyof typeof PutContentAttemptSettingsScoreRollupStrategyEnum];
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the PutContentAttemptSettings interface.
|
|
49
|
+
*/
|
|
50
|
+
export function instanceOfPutContentAttemptSettings(value: object): value is PutContentAttemptSettings {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function PutContentAttemptSettingsFromJSON(json: any): PutContentAttemptSettings {
|
|
55
|
+
return PutContentAttemptSettingsFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function PutContentAttemptSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutContentAttemptSettings {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
65
|
+
'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function PutContentAttemptSettingsToJSON(json: any): PutContentAttemptSettings {
|
|
70
|
+
return PutContentAttemptSettingsToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function PutContentAttemptSettingsToJSONTyped(value?: PutContentAttemptSettings | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'max_attempts': value['maxAttempts'],
|
|
81
|
+
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './CertificatePublic';
|
|
|
6
6
|
export * from './ContentAttemptItem';
|
|
7
7
|
export * from './ContentAttemptRollupScore';
|
|
8
8
|
export * from './ContentAttemptScore';
|
|
9
|
+
export * from './ContentAttemptSettings';
|
|
9
10
|
export * from './ContentLaunchMode';
|
|
10
11
|
export * from './CourseCatalog';
|
|
11
12
|
export * from './CourseShare';
|
|
@@ -59,6 +60,7 @@ export * from './GetCourseReportingBasic';
|
|
|
59
60
|
export * from './GetCourseStudentReporting';
|
|
60
61
|
export * from './GetCourseStudentReportingCourseInfo';
|
|
61
62
|
export * from './GetCourseStudentReportingEngagement';
|
|
63
|
+
export * from './GetCourseStudentReportingModulesInner';
|
|
62
64
|
export * from './GetCourseStudentReportingPerformance';
|
|
63
65
|
export * from './GetManualQuestionSelectionItem';
|
|
64
66
|
export * from './GetManualQuestionSelectionList';
|
|
@@ -70,6 +72,7 @@ export * from './GetModuleInstructorBasicReportingPerformance';
|
|
|
70
72
|
export * from './GetModuleList';
|
|
71
73
|
export * from './GetModuleStudentReporting';
|
|
72
74
|
export * from './GetModuleStudentReportingAccess';
|
|
75
|
+
export * from './GetModuleStudentReportingContentsInner';
|
|
73
76
|
export * from './GetModuleStudentReportingProgress';
|
|
74
77
|
export * from './GetPermission';
|
|
75
78
|
export * from './GetPortal';
|
|
@@ -225,6 +228,7 @@ export * from './PostVerifyManifestItemsInner';
|
|
|
225
228
|
export * from './PostVerifyManifestResourcesInner';
|
|
226
229
|
export * from './PutCertificateConfig';
|
|
227
230
|
export * from './PutContent';
|
|
231
|
+
export * from './PutContentAttemptSettings';
|
|
228
232
|
export * from './PutContentReorder';
|
|
229
233
|
export * from './PutContentVersion';
|
|
230
234
|
export * from './PutCourse';
|