@easyedu/js-lsm-api 1.99.0 → 1.100.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 (62) hide show
  1. package/.openapi-generator/FILES +12 -0
  2. package/README.md +13 -2
  3. package/dist/apis/ContentLibraryQuizApi.d.ts +17 -0
  4. package/dist/apis/ContentLibraryQuizApi.js +45 -0
  5. package/dist/apis/CourseApi.d.ts +60 -0
  6. package/dist/apis/CourseApi.js +167 -0
  7. package/dist/apis/PlayerApi.d.ts +17 -0
  8. package/dist/apis/PlayerApi.js +45 -0
  9. package/dist/esm/apis/ContentLibraryQuizApi.d.ts +17 -0
  10. package/dist/esm/apis/ContentLibraryQuizApi.js +45 -0
  11. package/dist/esm/apis/CourseApi.d.ts +60 -0
  12. package/dist/esm/apis/CourseApi.js +167 -0
  13. package/dist/esm/apis/PlayerApi.d.ts +17 -0
  14. package/dist/esm/apis/PlayerApi.js +45 -0
  15. package/dist/esm/models/GetAttemptAllowance.d.ts +80 -0
  16. package/dist/esm/models/GetAttemptAllowance.js +75 -0
  17. package/dist/esm/models/PostClearSessions.d.ts +32 -0
  18. package/dist/esm/models/PostClearSessions.js +43 -0
  19. package/dist/esm/models/PostClearSessionsResponse.d.ts +44 -0
  20. package/dist/esm/models/PostClearSessionsResponse.js +51 -0
  21. package/dist/esm/models/PutAttemptAllowance.d.ts +38 -0
  22. package/dist/esm/models/PutAttemptAllowance.js +47 -0
  23. package/dist/esm/models/PutLibraryQuizSessionOverride.d.ts +57 -0
  24. package/dist/esm/models/PutLibraryQuizSessionOverride.js +55 -0
  25. package/dist/esm/models/PutResourceSessionOverride.d.ts +69 -0
  26. package/dist/esm/models/PutResourceSessionOverride.js +66 -0
  27. package/dist/esm/models/index.d.ts +6 -0
  28. package/dist/esm/models/index.js +6 -0
  29. package/dist/models/GetAttemptAllowance.d.ts +80 -0
  30. package/dist/models/GetAttemptAllowance.js +82 -0
  31. package/dist/models/PostClearSessions.d.ts +32 -0
  32. package/dist/models/PostClearSessions.js +50 -0
  33. package/dist/models/PostClearSessionsResponse.d.ts +44 -0
  34. package/dist/models/PostClearSessionsResponse.js +58 -0
  35. package/dist/models/PutAttemptAllowance.d.ts +38 -0
  36. package/dist/models/PutAttemptAllowance.js +54 -0
  37. package/dist/models/PutLibraryQuizSessionOverride.d.ts +57 -0
  38. package/dist/models/PutLibraryQuizSessionOverride.js +63 -0
  39. package/dist/models/PutResourceSessionOverride.d.ts +69 -0
  40. package/dist/models/PutResourceSessionOverride.js +74 -0
  41. package/dist/models/index.d.ts +6 -0
  42. package/dist/models/index.js +6 -0
  43. package/docs/ContentLibraryQuizApi.md +71 -0
  44. package/docs/CourseApi.md +236 -0
  45. package/docs/GetAttemptAllowance.md +51 -0
  46. package/docs/PlayerApi.md +71 -0
  47. package/docs/PostClearSessions.md +34 -0
  48. package/docs/PostClearSessionsResponse.md +38 -0
  49. package/docs/PutAttemptAllowance.md +36 -0
  50. package/docs/PutLibraryQuizSessionOverride.md +41 -0
  51. package/docs/PutResourceSessionOverride.md +41 -0
  52. package/package.json +1 -1
  53. package/src/apis/ContentLibraryQuizApi.ts +65 -0
  54. package/src/apis/CourseApi.ts +270 -0
  55. package/src/apis/PlayerApi.ts +65 -0
  56. package/src/models/GetAttemptAllowance.ts +138 -0
  57. package/src/models/PostClearSessions.ts +66 -0
  58. package/src/models/PostClearSessionsResponse.ts +84 -0
  59. package/src/models/PutAttemptAllowance.ts +75 -0
  60. package/src/models/PutLibraryQuizSessionOverride.ts +100 -0
  61. package/src/models/PutResourceSessionOverride.ts +113 -0
  62. package/src/models/index.ts +6 -0
@@ -0,0 +1,75 @@
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 GetAttemptAllowance interface.
16
+ */
17
+ export function instanceOfGetAttemptAllowance(value) {
18
+ if (!('courseId' in value) || value['courseId'] === undefined)
19
+ return false;
20
+ if (!('courseVersionId' in value) || value['courseVersionId'] === undefined)
21
+ return false;
22
+ if (!('itemId' in value) || value['itemId'] === undefined)
23
+ return false;
24
+ if (!('userId' in value) || value['userId'] === undefined)
25
+ return false;
26
+ if (!('baseMaxAttempts' in value) || value['baseMaxAttempts'] === undefined)
27
+ return false;
28
+ if (!('additionalAttempts' in value) || value['additionalAttempts'] === undefined)
29
+ return false;
30
+ if (!('effectiveMaxAttempts' in value) || value['effectiveMaxAttempts'] === undefined)
31
+ return false;
32
+ if (!('attemptsUsed' in value) || value['attemptsUsed'] === undefined)
33
+ return false;
34
+ if (!('attemptsRemaining' in value) || value['attemptsRemaining'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function GetAttemptAllowanceFromJSON(json) {
39
+ return GetAttemptAllowanceFromJSONTyped(json, false);
40
+ }
41
+ export function GetAttemptAllowanceFromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'courseId': json['course_id'],
47
+ 'courseVersionId': json['course_version_id'],
48
+ 'itemId': json['item_id'],
49
+ 'userId': json['user_id'],
50
+ 'baseMaxAttempts': json['base_max_attempts'],
51
+ 'additionalAttempts': json['additional_attempts'],
52
+ 'effectiveMaxAttempts': json['effective_max_attempts'],
53
+ 'attemptsUsed': json['attempts_used'],
54
+ 'attemptsRemaining': json['attempts_remaining'],
55
+ };
56
+ }
57
+ export function GetAttemptAllowanceToJSON(json) {
58
+ return GetAttemptAllowanceToJSONTyped(json, false);
59
+ }
60
+ export function GetAttemptAllowanceToJSONTyped(value, ignoreDiscriminator = false) {
61
+ if (value == null) {
62
+ return value;
63
+ }
64
+ return {
65
+ 'course_id': value['courseId'],
66
+ 'course_version_id': value['courseVersionId'],
67
+ 'item_id': value['itemId'],
68
+ 'user_id': value['userId'],
69
+ 'base_max_attempts': value['baseMaxAttempts'],
70
+ 'additional_attempts': value['additionalAttempts'],
71
+ 'effective_max_attempts': value['effectiveMaxAttempts'],
72
+ 'attempts_used': value['attemptsUsed'],
73
+ 'attempts_remaining': value['attemptsRemaining'],
74
+ };
75
+ }
@@ -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,6 +29,7 @@ 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';
@@ -153,6 +154,8 @@ export * from './PostCertificateLifecycleAction';
153
154
  export * from './PostCertificateTemplate';
154
155
  export * from './PostCertificateTemplateClone';
155
156
  export * from './PostCertificateTemplatePreview';
157
+ export * from './PostClearSessions';
158
+ export * from './PostClearSessionsResponse';
156
159
  export * from './PostConversation';
157
160
  export * from './PostConversationResponse';
158
161
  export * from './PostCourse';
@@ -202,6 +205,7 @@ export * from './PostSignupRequest';
202
205
  export * from './PostSignupRequestResponse';
203
206
  export * from './PostSupportTicket';
204
207
  export * from './PostSupportTicketComment';
208
+ export * from './PutAttemptAllowance';
205
209
  export * from './PutBadgeIssuer';
206
210
  export * from './PutCertificateConfig';
207
211
  export * from './PutCertificateTemplate';
@@ -218,6 +222,7 @@ export * from './PutLibraryQuizCriteria';
218
222
  export * from './PutLibraryQuizQuestions';
219
223
  export * from './PutLibraryQuizSessionAnswer';
220
224
  export * from './PutLibraryQuizSessionGrade';
225
+ export * from './PutLibraryQuizSessionOverride';
221
226
  export * from './PutLibraryQuizVersion';
222
227
  export * from './PutPortalBranding';
223
228
  export * from './PutPortalSublicense';
@@ -225,6 +230,7 @@ export * from './PutPortalUserFieldValues';
225
230
  export * from './PutQuestion';
226
231
  export * from './PutQuestionAnswerChoicesInner';
227
232
  export * from './PutResource';
233
+ export * from './PutResourceSessionOverride';
228
234
  export * from './PutResourceVersion';
229
235
  export * from './PutRole';
230
236
  export * from './PutRolePermissions';
@@ -31,6 +31,7 @@ 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';
@@ -155,6 +156,8 @@ export * from './PostCertificateLifecycleAction';
155
156
  export * from './PostCertificateTemplate';
156
157
  export * from './PostCertificateTemplateClone';
157
158
  export * from './PostCertificateTemplatePreview';
159
+ export * from './PostClearSessions';
160
+ export * from './PostClearSessionsResponse';
158
161
  export * from './PostConversation';
159
162
  export * from './PostConversationResponse';
160
163
  export * from './PostCourse';
@@ -204,6 +207,7 @@ export * from './PostSignupRequest';
204
207
  export * from './PostSignupRequestResponse';
205
208
  export * from './PostSupportTicket';
206
209
  export * from './PostSupportTicketComment';
210
+ export * from './PutAttemptAllowance';
207
211
  export * from './PutBadgeIssuer';
208
212
  export * from './PutCertificateConfig';
209
213
  export * from './PutCertificateTemplate';
@@ -220,6 +224,7 @@ export * from './PutLibraryQuizCriteria';
220
224
  export * from './PutLibraryQuizQuestions';
221
225
  export * from './PutLibraryQuizSessionAnswer';
222
226
  export * from './PutLibraryQuizSessionGrade';
227
+ export * from './PutLibraryQuizSessionOverride';
223
228
  export * from './PutLibraryQuizVersion';
224
229
  export * from './PutPortalBranding';
225
230
  export * from './PutPortalSublicense';
@@ -227,6 +232,7 @@ export * from './PutPortalUserFieldValues';
227
232
  export * from './PutQuestion';
228
233
  export * from './PutQuestionAnswerChoicesInner';
229
234
  export * from './PutResource';
235
+ export * from './PutResourceSessionOverride';
230
236
  export * from './PutResourceVersion';
231
237
  export * from './PutRole';
232
238
  export * from './PutRolePermissions';