@easyedu/js-lsm-api 1.101.0 → 1.103.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 +14 -0
- package/README.md +12 -3
- package/dist/apis/ContentLibraryQuizApi.d.ts +3 -2
- package/dist/apis/ContentLibraryQuizApi.js +5 -2
- package/dist/apis/CourseApi.d.ts +38 -0
- package/dist/apis/CourseApi.js +101 -0
- package/dist/esm/apis/ContentLibraryQuizApi.d.ts +3 -2
- package/dist/esm/apis/ContentLibraryQuizApi.js +5 -2
- package/dist/esm/apis/CourseApi.d.ts +38 -0
- package/dist/esm/apis/CourseApi.js +101 -0
- package/dist/esm/models/CourseProgressionMode.d.ts +25 -0
- package/dist/esm/models/CourseProgressionMode.js +43 -0
- package/dist/esm/models/GetCourseVersion.d.ts +7 -0
- package/dist/esm/models/GetCourseVersion.js +5 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/GetCourseVersionItem.js +4 -0
- package/dist/esm/models/GetCourseVersionItemProgression.d.ts +105 -0
- package/dist/esm/models/GetCourseVersionItemProgression.js +92 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +37 -1
- package/dist/esm/models/GetCourseVersionItemSession.js +24 -0
- package/dist/esm/models/GetCourseVersionProgression.d.ts +59 -0
- package/dist/esm/models/GetCourseVersionProgression.js +62 -0
- package/dist/esm/models/GetCourseVersionSectionProgression.d.ts +75 -0
- package/dist/esm/models/GetCourseVersionSectionProgression.js +72 -0
- package/dist/esm/models/GetResourceSession.d.ts +36 -0
- package/dist/esm/models/GetResourceSession.js +24 -0
- package/dist/esm/models/PostCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/PostCourseVersionItem.js +2 -0
- package/dist/esm/models/PostCourseVersionItemSession.d.ts +1 -1
- package/dist/esm/models/ProgressionGateError.d.ts +76 -0
- package/dist/esm/models/ProgressionGateError.js +74 -0
- package/dist/esm/models/ProgressionLockReason.d.ts +24 -0
- package/dist/esm/models/ProgressionLockReason.js +42 -0
- package/dist/esm/models/PutCourseVersionDraft.d.ts +33 -0
- package/dist/esm/models/PutCourseVersionDraft.js +44 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/PutCourseVersionItem.js +2 -0
- package/dist/esm/models/PutResourceSessionOverride.d.ts +6 -0
- package/dist/esm/models/PutResourceSessionOverride.js +2 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/CourseProgressionMode.d.ts +25 -0
- package/dist/models/CourseProgressionMode.js +51 -0
- package/dist/models/GetCourseVersion.d.ts +7 -0
- package/dist/models/GetCourseVersion.js +5 -0
- package/dist/models/GetCourseVersionItem.d.ts +6 -0
- package/dist/models/GetCourseVersionItem.js +4 -0
- package/dist/models/GetCourseVersionItemProgression.d.ts +105 -0
- package/dist/models/GetCourseVersionItemProgression.js +99 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +37 -1
- package/dist/models/GetCourseVersionItemSession.js +24 -0
- package/dist/models/GetCourseVersionProgression.d.ts +59 -0
- package/dist/models/GetCourseVersionProgression.js +69 -0
- package/dist/models/GetCourseVersionSectionProgression.d.ts +75 -0
- package/dist/models/GetCourseVersionSectionProgression.js +79 -0
- package/dist/models/GetResourceSession.d.ts +36 -0
- package/dist/models/GetResourceSession.js +24 -0
- package/dist/models/PostCourseVersionItem.d.ts +6 -0
- package/dist/models/PostCourseVersionItem.js +2 -0
- package/dist/models/PostCourseVersionItemSession.d.ts +1 -1
- package/dist/models/ProgressionGateError.d.ts +76 -0
- package/dist/models/ProgressionGateError.js +82 -0
- package/dist/models/ProgressionLockReason.d.ts +24 -0
- package/dist/models/ProgressionLockReason.js +50 -0
- package/dist/models/PutCourseVersionDraft.d.ts +33 -0
- package/dist/models/PutCourseVersionDraft.js +51 -0
- package/dist/models/PutCourseVersionItem.d.ts +6 -0
- package/dist/models/PutCourseVersionItem.js +2 -0
- package/dist/models/PutResourceSessionOverride.d.ts +6 -0
- package/dist/models/PutResourceSessionOverride.js +2 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/docs/ContentLibraryQuizApi.md +7 -4
- package/docs/CourseApi.md +158 -4
- package/docs/CourseProgressionMode.md +33 -0
- package/docs/GetCourseVersion.md +2 -0
- package/docs/GetCourseVersionItem.md +2 -0
- package/docs/GetCourseVersionItemProgression.md +58 -0
- package/docs/GetCourseVersionItemSession.md +12 -0
- package/docs/GetCourseVersionProgression.md +43 -0
- package/docs/GetCourseVersionSectionProgression.md +48 -0
- package/docs/GetResourceSession.md +12 -0
- package/docs/PlayerApi.md +1 -0
- package/docs/PostCourseVersionItem.md +2 -0
- package/docs/PostCourseVersionItemSession.md +1 -1
- package/docs/ProgressionGateError.md +47 -0
- package/docs/ProgressionLockReason.md +32 -0
- package/docs/PutCourseVersionDraft.md +34 -0
- package/docs/PutCourseVersionItem.md +2 -0
- package/docs/PutResourceSessionOverride.md +2 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryQuizApi.ts +7 -2
- package/src/apis/CourseApi.ts +153 -0
- package/src/apis/PlayerApi.ts +5 -0
- package/src/models/CourseProgressionMode.ts +53 -0
- package/src/models/GetCourseVersion.ts +16 -0
- package/src/models/GetCourseVersionItem.ts +9 -0
- package/src/models/GetCourseVersionItemProgression.ts +184 -0
- package/src/models/GetCourseVersionItemSession.ts +55 -1
- package/src/models/GetCourseVersionProgression.ts +126 -0
- package/src/models/GetCourseVersionSectionProgression.ts +139 -0
- package/src/models/GetResourceSession.ts +54 -0
- package/src/models/PostCourseVersionItem.ts +8 -0
- package/src/models/PostCourseVersionItemSession.ts +1 -1
- package/src/models/ProgressionGateError.ts +131 -0
- package/src/models/ProgressionLockReason.ts +52 -0
- package/src/models/PutCourseVersionDraft.ts +76 -0
- package/src/models/PutCourseVersionItem.ts +8 -0
- package/src/models/PutResourceSessionOverride.ts +8 -0
- package/src/models/index.ts +7 -0
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
* Start or resume a learner attempt for an exact course resource version.
|
|
17
|
+
* Start or resume a learner attempt, or an isolated sandbox preview attempt, for an exact course resource version.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface PostCourseVersionItemSession
|
|
20
20
|
*/
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
* Structured detail explaining why learner progression is currently blocked.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProgressionGateError
|
|
20
|
+
*/
|
|
21
|
+
export interface ProgressionGateError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {ProgressionGateErrorCodeEnum}
|
|
25
|
+
* @memberof ProgressionGateError
|
|
26
|
+
*/
|
|
27
|
+
code: ProgressionGateErrorCodeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProgressionGateError
|
|
32
|
+
*/
|
|
33
|
+
message: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProgressionGateError
|
|
38
|
+
*/
|
|
39
|
+
blockingSectionId: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof ProgressionGateError
|
|
44
|
+
*/
|
|
45
|
+
blockingItemIds: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ProgressionGateError
|
|
50
|
+
*/
|
|
51
|
+
minimumActiveSeconds: number | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ProgressionGateError
|
|
56
|
+
*/
|
|
57
|
+
activeSeconds: number | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ProgressionGateError
|
|
62
|
+
*/
|
|
63
|
+
remainingActiveSeconds: number | null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export const ProgressionGateErrorCodeEnum = {
|
|
71
|
+
ProgressionLocked: 'progression_locked',
|
|
72
|
+
MinimumActiveTimeNotMet: 'minimum_active_time_not_met'
|
|
73
|
+
} as const;
|
|
74
|
+
export type ProgressionGateErrorCodeEnum = typeof ProgressionGateErrorCodeEnum[keyof typeof ProgressionGateErrorCodeEnum];
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Check if a given object implements the ProgressionGateError interface.
|
|
79
|
+
*/
|
|
80
|
+
export function instanceOfProgressionGateError(value: object): value is ProgressionGateError {
|
|
81
|
+
if (!('code' in value) || value['code'] === undefined) return false;
|
|
82
|
+
if (!('message' in value) || value['message'] === undefined) return false;
|
|
83
|
+
if (!('blockingSectionId' in value) || value['blockingSectionId'] === undefined) return false;
|
|
84
|
+
if (!('blockingItemIds' in value) || value['blockingItemIds'] === undefined) return false;
|
|
85
|
+
if (!('minimumActiveSeconds' in value) || value['minimumActiveSeconds'] === undefined) return false;
|
|
86
|
+
if (!('activeSeconds' in value) || value['activeSeconds'] === undefined) return false;
|
|
87
|
+
if (!('remainingActiveSeconds' in value) || value['remainingActiveSeconds'] === undefined) return false;
|
|
88
|
+
return true;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function ProgressionGateErrorFromJSON(json: any): ProgressionGateError {
|
|
92
|
+
return ProgressionGateErrorFromJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function ProgressionGateErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProgressionGateError {
|
|
96
|
+
if (json == null) {
|
|
97
|
+
return json;
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'code': json['code'],
|
|
102
|
+
'message': json['message'],
|
|
103
|
+
'blockingSectionId': json['blocking_section_id'],
|
|
104
|
+
'blockingItemIds': json['blocking_item_ids'],
|
|
105
|
+
'minimumActiveSeconds': json['minimum_active_seconds'],
|
|
106
|
+
'activeSeconds': json['active_seconds'],
|
|
107
|
+
'remainingActiveSeconds': json['remaining_active_seconds'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function ProgressionGateErrorToJSON(json: any): ProgressionGateError {
|
|
112
|
+
return ProgressionGateErrorToJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function ProgressionGateErrorToJSONTyped(value?: ProgressionGateError | null, ignoreDiscriminator: boolean = false): any {
|
|
116
|
+
if (value == null) {
|
|
117
|
+
return value;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
return {
|
|
121
|
+
|
|
122
|
+
'code': value['code'],
|
|
123
|
+
'message': value['message'],
|
|
124
|
+
'blocking_section_id': value['blockingSectionId'],
|
|
125
|
+
'blocking_item_ids': value['blockingItemIds'],
|
|
126
|
+
'minimum_active_seconds': value['minimumActiveSeconds'],
|
|
127
|
+
'active_seconds': value['activeSeconds'],
|
|
128
|
+
'remaining_active_seconds': value['remainingActiveSeconds'],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ProgressionLockReason = {
|
|
21
|
+
PreviousSectionIncomplete: 'previous_section_incomplete'
|
|
22
|
+
} as const;
|
|
23
|
+
export type ProgressionLockReason = typeof ProgressionLockReason[keyof typeof ProgressionLockReason];
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
export function instanceOfProgressionLockReason(value: any): boolean {
|
|
27
|
+
for (const key in ProgressionLockReason) {
|
|
28
|
+
if (Object.prototype.hasOwnProperty.call(ProgressionLockReason, key)) {
|
|
29
|
+
if (ProgressionLockReason[key as keyof typeof ProgressionLockReason] === value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ProgressionLockReasonFromJSON(json: any): ProgressionLockReason {
|
|
38
|
+
return ProgressionLockReasonFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ProgressionLockReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProgressionLockReason {
|
|
42
|
+
return json as ProgressionLockReason;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ProgressionLockReasonToJSON(value?: ProgressionLockReason | null): any {
|
|
46
|
+
return value as any;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProgressionLockReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): ProgressionLockReason {
|
|
50
|
+
return value as ProgressionLockReason;
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
import type { CourseProgressionMode } from './CourseProgressionMode';
|
|
17
|
+
import {
|
|
18
|
+
CourseProgressionModeFromJSON,
|
|
19
|
+
CourseProgressionModeFromJSONTyped,
|
|
20
|
+
CourseProgressionModeToJSON,
|
|
21
|
+
CourseProgressionModeToJSONTyped,
|
|
22
|
+
} from './CourseProgressionMode';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface PutCourseVersionDraft
|
|
28
|
+
*/
|
|
29
|
+
export interface PutCourseVersionDraft {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {CourseProgressionMode}
|
|
33
|
+
* @memberof PutCourseVersionDraft
|
|
34
|
+
*/
|
|
35
|
+
progressionMode: CourseProgressionMode;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the PutCourseVersionDraft interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfPutCourseVersionDraft(value: object): value is PutCourseVersionDraft {
|
|
44
|
+
if (!('progressionMode' in value) || value['progressionMode'] === undefined) return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function PutCourseVersionDraftFromJSON(json: any): PutCourseVersionDraft {
|
|
49
|
+
return PutCourseVersionDraftFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function PutCourseVersionDraftFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseVersionDraft {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
|
|
58
|
+
'progressionMode': CourseProgressionModeFromJSON(json['progression_mode']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PutCourseVersionDraftToJSON(json: any): PutCourseVersionDraft {
|
|
63
|
+
return PutCourseVersionDraftToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function PutCourseVersionDraftToJSONTyped(value?: PutCourseVersionDraft | null, ignoreDiscriminator: boolean = false): any {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'progression_mode': CourseProgressionModeToJSON(value['progressionMode']),
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -63,6 +63,12 @@ export interface PutCourseVersionItem {
|
|
|
63
63
|
* @memberof PutCourseVersionItem
|
|
64
64
|
*/
|
|
65
65
|
isRequired?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Resource placements only. Set null to disable the timer.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PutCourseVersionItem
|
|
70
|
+
*/
|
|
71
|
+
minimumActiveSeconds?: number | null;
|
|
66
72
|
/**
|
|
67
73
|
*
|
|
68
74
|
* @type {ContentLaunchMode}
|
|
@@ -123,6 +129,7 @@ export function PutCourseVersionItemFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
123
129
|
'position': json['position'] == null ? undefined : json['position'],
|
|
124
130
|
'isVisible': json['is_visible'] == null ? undefined : json['is_visible'],
|
|
125
131
|
'isRequired': json['is_required'] == null ? undefined : json['is_required'],
|
|
132
|
+
'minimumActiveSeconds': json['minimum_active_seconds'] == null ? undefined : json['minimum_active_seconds'],
|
|
126
133
|
'launchMode': json['launch_mode'] == null ? undefined : ContentLaunchModeFromJSON(json['launch_mode']),
|
|
127
134
|
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
128
135
|
'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
|
|
@@ -147,6 +154,7 @@ export function PutCourseVersionItemToJSONTyped(value?: PutCourseVersionItem | n
|
|
|
147
154
|
'position': value['position'],
|
|
148
155
|
'is_visible': value['isVisible'],
|
|
149
156
|
'is_required': value['isRequired'],
|
|
157
|
+
'minimum_active_seconds': value['minimumActiveSeconds'],
|
|
150
158
|
'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
|
|
151
159
|
'max_attempts': value['maxAttempts'],
|
|
152
160
|
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
@@ -37,6 +37,12 @@ export interface PutResourceSessionOverride {
|
|
|
37
37
|
* @memberof PutResourceSessionOverride
|
|
38
38
|
*/
|
|
39
39
|
scoreRaw?: number;
|
|
40
|
+
/**
|
|
41
|
+
* Permanently waive the placement's minimum active-time requirement for this learner.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof PutResourceSessionOverride
|
|
44
|
+
*/
|
|
45
|
+
waiveMinimumActiveTime?: boolean;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {string}
|
|
@@ -89,6 +95,7 @@ export function PutResourceSessionOverrideFromJSONTyped(json: any, ignoreDiscrim
|
|
|
89
95
|
'completionStatus': json['completion_status'] == null ? undefined : json['completion_status'],
|
|
90
96
|
'gradeStatus': json['grade_status'] == null ? undefined : json['grade_status'],
|
|
91
97
|
'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
|
|
98
|
+
'waiveMinimumActiveTime': json['waive_minimum_active_time'] == null ? undefined : json['waive_minimum_active_time'],
|
|
92
99
|
'reason': json['reason'],
|
|
93
100
|
};
|
|
94
101
|
}
|
|
@@ -107,6 +114,7 @@ export function PutResourceSessionOverrideToJSONTyped(value?: PutResourceSession
|
|
|
107
114
|
'completion_status': value['completionStatus'],
|
|
108
115
|
'grade_status': value['gradeStatus'],
|
|
109
116
|
'score_raw': value['scoreRaw'],
|
|
117
|
+
'waive_minimum_active_time': value['waiveMinimumActiveTime'],
|
|
110
118
|
'reason': value['reason'],
|
|
111
119
|
};
|
|
112
120
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -25,6 +25,7 @@ export * from './CertificateTemplateVersion';
|
|
|
25
25
|
export * from './ContentLaunchMode';
|
|
26
26
|
export * from './ContentLibraryVersionStatus';
|
|
27
27
|
export * from './CourseCatalog';
|
|
28
|
+
export * from './CourseProgressionMode';
|
|
28
29
|
export * from './CourseShare';
|
|
29
30
|
export * from './EffectiveCertificateConfig';
|
|
30
31
|
export * from './EmailTemplateDefinition';
|
|
@@ -54,12 +55,15 @@ export * from './GetCourseList';
|
|
|
54
55
|
export * from './GetCourseVersion';
|
|
55
56
|
export * from './GetCourseVersionItem';
|
|
56
57
|
export * from './GetCourseVersionItemLaunch';
|
|
58
|
+
export * from './GetCourseVersionItemProgression';
|
|
57
59
|
export * from './GetCourseVersionItemReporting';
|
|
58
60
|
export * from './GetCourseVersionItemSession';
|
|
59
61
|
export * from './GetCourseVersionList';
|
|
62
|
+
export * from './GetCourseVersionProgression';
|
|
60
63
|
export * from './GetCourseVersionReporting';
|
|
61
64
|
export * from './GetCourseVersionSection';
|
|
62
65
|
export * from './GetCourseVersionSectionChild';
|
|
66
|
+
export * from './GetCourseVersionSectionProgression';
|
|
63
67
|
export * from './GetCourseVersionSectionReporting';
|
|
64
68
|
export * from './GetEmailAssetUpload';
|
|
65
69
|
export * from './GetEmailDelivery';
|
|
@@ -209,6 +213,8 @@ export * from './PostSignupRequest';
|
|
|
209
213
|
export * from './PostSignupRequestResponse';
|
|
210
214
|
export * from './PostSupportTicket';
|
|
211
215
|
export * from './PostSupportTicketComment';
|
|
216
|
+
export * from './ProgressionGateError';
|
|
217
|
+
export * from './ProgressionLockReason';
|
|
212
218
|
export * from './PutAttemptAllowance';
|
|
213
219
|
export * from './PutBadgeIssuer';
|
|
214
220
|
export * from './PutCertificateConfig';
|
|
@@ -217,6 +223,7 @@ export * from './PutCertificateTemplateDraft';
|
|
|
217
223
|
export * from './PutCourse';
|
|
218
224
|
export * from './PutCourseCatalog';
|
|
219
225
|
export * from './PutCourseEnrollment';
|
|
226
|
+
export * from './PutCourseVersionDraft';
|
|
220
227
|
export * from './PutCourseVersionItem';
|
|
221
228
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
222
229
|
export * from './PutCourseVersionSection';
|