@easyedu/js-lsm-api 1.99.0 → 1.101.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 +18 -0
- package/README.md +16 -2
- package/dist/apis/ChangelogApi.d.ts +32 -0
- package/dist/apis/ChangelogApi.js +70 -0
- package/dist/apis/ContentLibraryQuizApi.d.ts +17 -0
- package/dist/apis/ContentLibraryQuizApi.js +45 -0
- package/dist/apis/CourseApi.d.ts +60 -0
- package/dist/apis/CourseApi.js +167 -0
- package/dist/apis/PlayerApi.d.ts +17 -0
- package/dist/apis/PlayerApi.js +45 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ChangelogApi.d.ts +32 -0
- package/dist/esm/apis/ChangelogApi.js +66 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +17 -0
- package/dist/esm/apis/ContentLibraryQuizApi.js +45 -0
- package/dist/esm/apis/CourseApi.d.ts +60 -0
- package/dist/esm/apis/CourseApi.js +167 -0
- package/dist/esm/apis/PlayerApi.d.ts +17 -0
- package/dist/esm/apis/PlayerApi.js +45 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/GetAttemptAllowance.d.ts +80 -0
- package/dist/esm/models/GetAttemptAllowance.js +75 -0
- package/dist/esm/models/GetChangelogEntry.d.ts +44 -0
- package/dist/esm/models/GetChangelogEntry.js +51 -0
- package/dist/esm/models/GetChangelogList.d.ts +33 -0
- package/dist/esm/models/GetChangelogList.js +44 -0
- package/dist/esm/models/PostClearSessions.d.ts +32 -0
- package/dist/esm/models/PostClearSessions.js +43 -0
- package/dist/esm/models/PostClearSessionsResponse.d.ts +44 -0
- package/dist/esm/models/PostClearSessionsResponse.js +51 -0
- package/dist/esm/models/PutAttemptAllowance.d.ts +38 -0
- package/dist/esm/models/PutAttemptAllowance.js +47 -0
- package/dist/esm/models/PutLibraryQuizSessionOverride.d.ts +57 -0
- package/dist/esm/models/PutLibraryQuizSessionOverride.js +55 -0
- package/dist/esm/models/PutResourceSessionOverride.d.ts +69 -0
- package/dist/esm/models/PutResourceSessionOverride.js +66 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/GetAttemptAllowance.d.ts +80 -0
- package/dist/models/GetAttemptAllowance.js +82 -0
- package/dist/models/GetChangelogEntry.d.ts +44 -0
- package/dist/models/GetChangelogEntry.js +58 -0
- package/dist/models/GetChangelogList.d.ts +33 -0
- package/dist/models/GetChangelogList.js +51 -0
- package/dist/models/PostClearSessions.d.ts +32 -0
- package/dist/models/PostClearSessions.js +50 -0
- package/dist/models/PostClearSessionsResponse.d.ts +44 -0
- package/dist/models/PostClearSessionsResponse.js +58 -0
- package/dist/models/PutAttemptAllowance.d.ts +38 -0
- package/dist/models/PutAttemptAllowance.js +54 -0
- package/dist/models/PutLibraryQuizSessionOverride.d.ts +57 -0
- package/dist/models/PutLibraryQuizSessionOverride.js +63 -0
- package/dist/models/PutResourceSessionOverride.d.ts +69 -0
- package/dist/models/PutResourceSessionOverride.js +74 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/ChangelogApi.md +68 -0
- package/docs/ContentLibraryQuizApi.md +71 -0
- package/docs/CourseApi.md +236 -0
- package/docs/GetAttemptAllowance.md +51 -0
- package/docs/GetChangelogEntry.md +39 -0
- package/docs/GetChangelogList.md +34 -0
- package/docs/PlayerApi.md +71 -0
- package/docs/PostClearSessions.md +34 -0
- package/docs/PostClearSessionsResponse.md +38 -0
- package/docs/PutAttemptAllowance.md +36 -0
- package/docs/PutLibraryQuizSessionOverride.md +41 -0
- package/docs/PutResourceSessionOverride.md +41 -0
- package/package.json +1 -1
- package/src/apis/ChangelogApi.ts +66 -0
- package/src/apis/ContentLibraryQuizApi.ts +65 -0
- package/src/apis/CourseApi.ts +270 -0
- package/src/apis/PlayerApi.ts +65 -0
- package/src/apis/index.ts +1 -0
- package/src/models/GetAttemptAllowance.ts +138 -0
- package/src/models/GetChangelogEntry.ts +84 -0
- package/src/models/GetChangelogList.ts +74 -0
- package/src/models/PostClearSessions.ts +66 -0
- package/src/models/PostClearSessionsResponse.ts +84 -0
- package/src/models/PutAttemptAllowance.ts +75 -0
- package/src/models/PutLibraryQuizSessionOverride.ts +100 -0
- package/src/models/PutResourceSessionOverride.ts +113 -0
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,32 @@
|
|
|
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 PostClearSessions
|
|
16
|
+
*/
|
|
17
|
+
export interface PostClearSessions {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostClearSessions
|
|
22
|
+
*/
|
|
23
|
+
reason: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostClearSessions interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostClearSessions(value: object): value is PostClearSessions;
|
|
29
|
+
export declare function PostClearSessionsFromJSON(json: any): PostClearSessions;
|
|
30
|
+
export declare function PostClearSessionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostClearSessions;
|
|
31
|
+
export declare function PostClearSessionsToJSON(json: any): PostClearSessions;
|
|
32
|
+
export declare function PostClearSessionsToJSONTyped(value?: PostClearSessions | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the PostClearSessions interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostClearSessions(value) {
|
|
18
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PostClearSessionsFromJSON(json) {
|
|
23
|
+
return PostClearSessionsFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PostClearSessionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'reason': json['reason'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PostClearSessionsToJSON(json) {
|
|
34
|
+
return PostClearSessionsToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PostClearSessionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'reason': value['reason'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 PostClearSessionsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PostClearSessionsResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PostClearSessionsResponse
|
|
22
|
+
*/
|
|
23
|
+
resourceSessionsDeleted: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PostClearSessionsResponse
|
|
28
|
+
*/
|
|
29
|
+
quizSessionsDeleted: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PostClearSessionsResponse
|
|
34
|
+
*/
|
|
35
|
+
totalSessionsDeleted: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the PostClearSessionsResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfPostClearSessionsResponse(value: object): value is PostClearSessionsResponse;
|
|
41
|
+
export declare function PostClearSessionsResponseFromJSON(json: any): PostClearSessionsResponse;
|
|
42
|
+
export declare function PostClearSessionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostClearSessionsResponse;
|
|
43
|
+
export declare function PostClearSessionsResponseToJSON(json: any): PostClearSessionsResponse;
|
|
44
|
+
export declare function PostClearSessionsResponseToJSONTyped(value?: PostClearSessionsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the PostClearSessionsResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostClearSessionsResponse(value) {
|
|
18
|
+
if (!('resourceSessionsDeleted' in value) || value['resourceSessionsDeleted'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('quizSessionsDeleted' in value) || value['quizSessionsDeleted'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('totalSessionsDeleted' in value) || value['totalSessionsDeleted'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function PostClearSessionsResponseFromJSON(json) {
|
|
27
|
+
return PostClearSessionsResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function PostClearSessionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'resourceSessionsDeleted': json['resource_sessions_deleted'],
|
|
35
|
+
'quizSessionsDeleted': json['quiz_sessions_deleted'],
|
|
36
|
+
'totalSessionsDeleted': json['total_sessions_deleted'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function PostClearSessionsResponseToJSON(json) {
|
|
40
|
+
return PostClearSessionsResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PostClearSessionsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'resource_sessions_deleted': value['resourceSessionsDeleted'],
|
|
48
|
+
'quiz_sessions_deleted': value['quizSessionsDeleted'],
|
|
49
|
+
'total_sessions_deleted': value['totalSessionsDeleted'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 PutAttemptAllowance
|
|
16
|
+
*/
|
|
17
|
+
export interface PutAttemptAllowance {
|
|
18
|
+
/**
|
|
19
|
+
* Attempts added to this course item's configured limit for this learner.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PutAttemptAllowance
|
|
22
|
+
*/
|
|
23
|
+
additionalAttempts: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PutAttemptAllowance
|
|
28
|
+
*/
|
|
29
|
+
reason: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutAttemptAllowance interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutAttemptAllowance(value: object): value is PutAttemptAllowance;
|
|
35
|
+
export declare function PutAttemptAllowanceFromJSON(json: any): PutAttemptAllowance;
|
|
36
|
+
export declare function PutAttemptAllowanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutAttemptAllowance;
|
|
37
|
+
export declare function PutAttemptAllowanceToJSON(json: any): PutAttemptAllowance;
|
|
38
|
+
export declare function PutAttemptAllowanceToJSONTyped(value?: PutAttemptAllowance | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the PutAttemptAllowance interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutAttemptAllowance(value) {
|
|
18
|
+
if (!('additionalAttempts' in value) || value['additionalAttempts'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function PutAttemptAllowanceFromJSON(json) {
|
|
25
|
+
return PutAttemptAllowanceFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function PutAttemptAllowanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'additionalAttempts': json['additional_attempts'],
|
|
33
|
+
'reason': json['reason'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function PutAttemptAllowanceToJSON(json) {
|
|
37
|
+
return PutAttemptAllowanceToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function PutAttemptAllowanceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'additional_attempts': value['additionalAttempts'],
|
|
45
|
+
'reason': value['reason'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
* Instructor-entered progress values for an existing live quiz session.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutLibraryQuizSessionOverride
|
|
16
|
+
*/
|
|
17
|
+
export interface PutLibraryQuizSessionOverride {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {PutLibraryQuizSessionOverrideStatusEnum}
|
|
21
|
+
* @memberof PutLibraryQuizSessionOverride
|
|
22
|
+
*/
|
|
23
|
+
status?: PutLibraryQuizSessionOverrideStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PutLibraryQuizSessionOverride
|
|
28
|
+
*/
|
|
29
|
+
scorePercentage?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof PutLibraryQuizSessionOverride
|
|
34
|
+
*/
|
|
35
|
+
passed?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PutLibraryQuizSessionOverride
|
|
40
|
+
*/
|
|
41
|
+
reason: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PutLibraryQuizSessionOverrideStatusEnum: {
|
|
47
|
+
readonly Completed: "completed";
|
|
48
|
+
};
|
|
49
|
+
export type PutLibraryQuizSessionOverrideStatusEnum = typeof PutLibraryQuizSessionOverrideStatusEnum[keyof typeof PutLibraryQuizSessionOverrideStatusEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the PutLibraryQuizSessionOverride interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfPutLibraryQuizSessionOverride(value: object): value is PutLibraryQuizSessionOverride;
|
|
54
|
+
export declare function PutLibraryQuizSessionOverrideFromJSON(json: any): PutLibraryQuizSessionOverride;
|
|
55
|
+
export declare function PutLibraryQuizSessionOverrideFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutLibraryQuizSessionOverride;
|
|
56
|
+
export declare function PutLibraryQuizSessionOverrideToJSON(json: any): PutLibraryQuizSessionOverride;
|
|
57
|
+
export declare function PutLibraryQuizSessionOverrideToJSONTyped(value?: PutLibraryQuizSessionOverride | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 PutLibraryQuizSessionOverrideStatusEnum = {
|
|
18
|
+
Completed: 'completed'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PutLibraryQuizSessionOverride interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfPutLibraryQuizSessionOverride(value) {
|
|
24
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PutLibraryQuizSessionOverrideFromJSON(json) {
|
|
29
|
+
return PutLibraryQuizSessionOverrideFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PutLibraryQuizSessionOverrideFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
37
|
+
'scorePercentage': json['score_percentage'] == null ? undefined : json['score_percentage'],
|
|
38
|
+
'passed': json['passed'] == null ? undefined : json['passed'],
|
|
39
|
+
'reason': json['reason'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function PutLibraryQuizSessionOverrideToJSON(json) {
|
|
43
|
+
return PutLibraryQuizSessionOverrideToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function PutLibraryQuizSessionOverrideToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'status': value['status'],
|
|
51
|
+
'score_percentage': value['scorePercentage'],
|
|
52
|
+
'passed': value['passed'],
|
|
53
|
+
'reason': value['reason'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
* Instructor-entered progress values for an existing live resource session.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PutResourceSessionOverride
|
|
16
|
+
*/
|
|
17
|
+
export interface PutResourceSessionOverride {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {PutResourceSessionOverrideCompletionStatusEnum}
|
|
21
|
+
* @memberof PutResourceSessionOverride
|
|
22
|
+
*/
|
|
23
|
+
completionStatus?: PutResourceSessionOverrideCompletionStatusEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {PutResourceSessionOverrideGradeStatusEnum}
|
|
27
|
+
* @memberof PutResourceSessionOverride
|
|
28
|
+
*/
|
|
29
|
+
gradeStatus?: PutResourceSessionOverrideGradeStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof PutResourceSessionOverride
|
|
34
|
+
*/
|
|
35
|
+
scoreRaw?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PutResourceSessionOverride
|
|
40
|
+
*/
|
|
41
|
+
reason: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PutResourceSessionOverrideCompletionStatusEnum: {
|
|
47
|
+
readonly Completed: "completed";
|
|
48
|
+
};
|
|
49
|
+
export type PutResourceSessionOverrideCompletionStatusEnum = typeof PutResourceSessionOverrideCompletionStatusEnum[keyof typeof PutResourceSessionOverrideCompletionStatusEnum];
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const PutResourceSessionOverrideGradeStatusEnum: {
|
|
54
|
+
readonly Ungraded: "ungraded";
|
|
55
|
+
readonly Passed: "passed";
|
|
56
|
+
readonly Failed: "failed";
|
|
57
|
+
readonly PointsEarned: "points_earned";
|
|
58
|
+
readonly PercentageEarned: "percentage_earned";
|
|
59
|
+
readonly NotApplicable: "not_applicable";
|
|
60
|
+
};
|
|
61
|
+
export type PutResourceSessionOverrideGradeStatusEnum = typeof PutResourceSessionOverrideGradeStatusEnum[keyof typeof PutResourceSessionOverrideGradeStatusEnum];
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the PutResourceSessionOverride interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfPutResourceSessionOverride(value: object): value is PutResourceSessionOverride;
|
|
66
|
+
export declare function PutResourceSessionOverrideFromJSON(json: any): PutResourceSessionOverride;
|
|
67
|
+
export declare function PutResourceSessionOverrideFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutResourceSessionOverride;
|
|
68
|
+
export declare function PutResourceSessionOverrideToJSON(json: any): PutResourceSessionOverride;
|
|
69
|
+
export declare function PutResourceSessionOverrideToJSONTyped(value?: PutResourceSessionOverride | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 PutResourceSessionOverrideCompletionStatusEnum = {
|
|
18
|
+
Completed: 'completed'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export const PutResourceSessionOverrideGradeStatusEnum = {
|
|
24
|
+
Ungraded: 'ungraded',
|
|
25
|
+
Passed: 'passed',
|
|
26
|
+
Failed: 'failed',
|
|
27
|
+
PointsEarned: 'points_earned',
|
|
28
|
+
PercentageEarned: 'percentage_earned',
|
|
29
|
+
NotApplicable: 'not_applicable'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutResourceSessionOverride interface.
|
|
33
|
+
*/
|
|
34
|
+
export function instanceOfPutResourceSessionOverride(value) {
|
|
35
|
+
if (!('reason' in value) || value['reason'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function PutResourceSessionOverrideFromJSON(json) {
|
|
40
|
+
return PutResourceSessionOverrideFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function PutResourceSessionOverrideFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'completionStatus': json['completion_status'] == null ? undefined : json['completion_status'],
|
|
48
|
+
'gradeStatus': json['grade_status'] == null ? undefined : json['grade_status'],
|
|
49
|
+
'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
|
|
50
|
+
'reason': json['reason'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function PutResourceSessionOverrideToJSON(json) {
|
|
54
|
+
return PutResourceSessionOverrideToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
export function PutResourceSessionOverrideToJSONTyped(value, ignoreDiscriminator = false) {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'completion_status': value['completionStatus'],
|
|
62
|
+
'grade_status': value['gradeStatus'],
|
|
63
|
+
'score_raw': value['scoreRaw'],
|
|
64
|
+
'reason': value['reason'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -29,11 +29,14 @@ export * from './EmailTemplateDefinition';
|
|
|
29
29
|
export * from './EmailTemplateScope';
|
|
30
30
|
export * from './EmailTemplateVariable';
|
|
31
31
|
export * from './EmailTemplateVersion';
|
|
32
|
+
export * from './GetAttemptAllowance';
|
|
32
33
|
export * from './GetCertificateAssetUpload';
|
|
33
34
|
export * from './GetCertificateConfigList';
|
|
34
35
|
export * from './GetCertificateEventList';
|
|
35
36
|
export * from './GetCertificateList';
|
|
36
37
|
export * from './GetCertificateTemplateList';
|
|
38
|
+
export * from './GetChangelogEntry';
|
|
39
|
+
export * from './GetChangelogList';
|
|
37
40
|
export * from './GetChatMessage';
|
|
38
41
|
export * from './GetContentLibraryVersion';
|
|
39
42
|
export * from './GetConversation';
|
|
@@ -153,6 +156,8 @@ export * from './PostCertificateLifecycleAction';
|
|
|
153
156
|
export * from './PostCertificateTemplate';
|
|
154
157
|
export * from './PostCertificateTemplateClone';
|
|
155
158
|
export * from './PostCertificateTemplatePreview';
|
|
159
|
+
export * from './PostClearSessions';
|
|
160
|
+
export * from './PostClearSessionsResponse';
|
|
156
161
|
export * from './PostConversation';
|
|
157
162
|
export * from './PostConversationResponse';
|
|
158
163
|
export * from './PostCourse';
|
|
@@ -202,6 +207,7 @@ export * from './PostSignupRequest';
|
|
|
202
207
|
export * from './PostSignupRequestResponse';
|
|
203
208
|
export * from './PostSupportTicket';
|
|
204
209
|
export * from './PostSupportTicketComment';
|
|
210
|
+
export * from './PutAttemptAllowance';
|
|
205
211
|
export * from './PutBadgeIssuer';
|
|
206
212
|
export * from './PutCertificateConfig';
|
|
207
213
|
export * from './PutCertificateTemplate';
|
|
@@ -218,6 +224,7 @@ export * from './PutLibraryQuizCriteria';
|
|
|
218
224
|
export * from './PutLibraryQuizQuestions';
|
|
219
225
|
export * from './PutLibraryQuizSessionAnswer';
|
|
220
226
|
export * from './PutLibraryQuizSessionGrade';
|
|
227
|
+
export * from './PutLibraryQuizSessionOverride';
|
|
221
228
|
export * from './PutLibraryQuizVersion';
|
|
222
229
|
export * from './PutPortalBranding';
|
|
223
230
|
export * from './PutPortalSublicense';
|
|
@@ -225,6 +232,7 @@ export * from './PutPortalUserFieldValues';
|
|
|
225
232
|
export * from './PutQuestion';
|
|
226
233
|
export * from './PutQuestionAnswerChoicesInner';
|
|
227
234
|
export * from './PutResource';
|
|
235
|
+
export * from './PutResourceSessionOverride';
|
|
228
236
|
export * from './PutResourceVersion';
|
|
229
237
|
export * from './PutRole';
|
|
230
238
|
export * from './PutRolePermissions';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -31,11 +31,14 @@ export * from './EmailTemplateDefinition';
|
|
|
31
31
|
export * from './EmailTemplateScope';
|
|
32
32
|
export * from './EmailTemplateVariable';
|
|
33
33
|
export * from './EmailTemplateVersion';
|
|
34
|
+
export * from './GetAttemptAllowance';
|
|
34
35
|
export * from './GetCertificateAssetUpload';
|
|
35
36
|
export * from './GetCertificateConfigList';
|
|
36
37
|
export * from './GetCertificateEventList';
|
|
37
38
|
export * from './GetCertificateList';
|
|
38
39
|
export * from './GetCertificateTemplateList';
|
|
40
|
+
export * from './GetChangelogEntry';
|
|
41
|
+
export * from './GetChangelogList';
|
|
39
42
|
export * from './GetChatMessage';
|
|
40
43
|
export * from './GetContentLibraryVersion';
|
|
41
44
|
export * from './GetConversation';
|
|
@@ -155,6 +158,8 @@ export * from './PostCertificateLifecycleAction';
|
|
|
155
158
|
export * from './PostCertificateTemplate';
|
|
156
159
|
export * from './PostCertificateTemplateClone';
|
|
157
160
|
export * from './PostCertificateTemplatePreview';
|
|
161
|
+
export * from './PostClearSessions';
|
|
162
|
+
export * from './PostClearSessionsResponse';
|
|
158
163
|
export * from './PostConversation';
|
|
159
164
|
export * from './PostConversationResponse';
|
|
160
165
|
export * from './PostCourse';
|
|
@@ -204,6 +209,7 @@ export * from './PostSignupRequest';
|
|
|
204
209
|
export * from './PostSignupRequestResponse';
|
|
205
210
|
export * from './PostSupportTicket';
|
|
206
211
|
export * from './PostSupportTicketComment';
|
|
212
|
+
export * from './PutAttemptAllowance';
|
|
207
213
|
export * from './PutBadgeIssuer';
|
|
208
214
|
export * from './PutCertificateConfig';
|
|
209
215
|
export * from './PutCertificateTemplate';
|
|
@@ -220,6 +226,7 @@ export * from './PutLibraryQuizCriteria';
|
|
|
220
226
|
export * from './PutLibraryQuizQuestions';
|
|
221
227
|
export * from './PutLibraryQuizSessionAnswer';
|
|
222
228
|
export * from './PutLibraryQuizSessionGrade';
|
|
229
|
+
export * from './PutLibraryQuizSessionOverride';
|
|
223
230
|
export * from './PutLibraryQuizVersion';
|
|
224
231
|
export * from './PutPortalBranding';
|
|
225
232
|
export * from './PutPortalSublicense';
|
|
@@ -227,6 +234,7 @@ export * from './PutPortalUserFieldValues';
|
|
|
227
234
|
export * from './PutQuestion';
|
|
228
235
|
export * from './PutQuestionAnswerChoicesInner';
|
|
229
236
|
export * from './PutResource';
|
|
237
|
+
export * from './PutResourceSessionOverride';
|
|
230
238
|
export * from './PutResourceVersion';
|
|
231
239
|
export * from './PutRole';
|
|
232
240
|
export * from './PutRolePermissions';
|
|
@@ -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
|
+
* The effective attempt limit for one learner and course-version item.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAttemptAllowance
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAttemptAllowance {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAttemptAllowance
|
|
22
|
+
*/
|
|
23
|
+
courseId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetAttemptAllowance
|
|
28
|
+
*/
|
|
29
|
+
courseVersionId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetAttemptAllowance
|
|
34
|
+
*/
|
|
35
|
+
itemId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetAttemptAllowance
|
|
40
|
+
*/
|
|
41
|
+
userId: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetAttemptAllowance
|
|
46
|
+
*/
|
|
47
|
+
baseMaxAttempts: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof GetAttemptAllowance
|
|
52
|
+
*/
|
|
53
|
+
additionalAttempts: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetAttemptAllowance
|
|
58
|
+
*/
|
|
59
|
+
effectiveMaxAttempts: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof GetAttemptAllowance
|
|
64
|
+
*/
|
|
65
|
+
attemptsUsed: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof GetAttemptAllowance
|
|
70
|
+
*/
|
|
71
|
+
attemptsRemaining: number;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the GetAttemptAllowance interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfGetAttemptAllowance(value: object): value is GetAttemptAllowance;
|
|
77
|
+
export declare function GetAttemptAllowanceFromJSON(json: any): GetAttemptAllowance;
|
|
78
|
+
export declare function GetAttemptAllowanceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAttemptAllowance;
|
|
79
|
+
export declare function GetAttemptAllowanceToJSON(json: any): GetAttemptAllowance;
|
|
80
|
+
export declare function GetAttemptAllowanceToJSONTyped(value?: GetAttemptAllowance | null, ignoreDiscriminator?: boolean): any;
|