@easyedu/js-lsm-api 1.100.0 → 1.102.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 +20 -0
- package/README.md +14 -2
- package/dist/apis/ChangelogApi.d.ts +32 -0
- package/dist/apis/ChangelogApi.js +70 -0
- package/dist/apis/CourseApi.d.ts +34 -0
- package/dist/apis/CourseApi.js +89 -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/CourseApi.d.ts +34 -0
- package/dist/esm/apis/CourseApi.js +89 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/CourseProgressionMode.d.ts +25 -0
- package/dist/esm/models/CourseProgressionMode.js +43 -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/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/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 +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/CourseProgressionMode.d.ts +25 -0
- package/dist/models/CourseProgressionMode.js +51 -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/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/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 +9 -0
- package/dist/models/index.js +9 -0
- package/docs/ChangelogApi.md +68 -0
- package/docs/CourseApi.md +143 -1
- package/docs/CourseProgressionMode.md +33 -0
- package/docs/GetChangelogEntry.md +39 -0
- package/docs/GetChangelogList.md +34 -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/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/ChangelogApi.ts +66 -0
- package/src/apis/CourseApi.ts +133 -0
- package/src/apis/PlayerApi.ts +5 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CourseProgressionMode.ts +53 -0
- package/src/models/GetChangelogEntry.ts +84 -0
- package/src/models/GetChangelogList.ts +74 -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/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 +9 -0
|
@@ -0,0 +1,74 @@
|
|
|
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 ProgressionGateErrorCodeEnum = {
|
|
18
|
+
ProgressionLocked: 'progression_locked',
|
|
19
|
+
MinimumActiveTimeNotMet: 'minimum_active_time_not_met'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProgressionGateError interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfProgressionGateError(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('blockingSectionId' in value) || value['blockingSectionId'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('blockingItemIds' in value) || value['blockingItemIds'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('minimumActiveSeconds' in value) || value['minimumActiveSeconds'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('activeSeconds' in value) || value['activeSeconds'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('remainingActiveSeconds' in value) || value['remainingActiveSeconds'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
export function ProgressionGateErrorFromJSON(json) {
|
|
42
|
+
return ProgressionGateErrorFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ProgressionGateErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'code': json['code'],
|
|
50
|
+
'message': json['message'],
|
|
51
|
+
'blockingSectionId': json['blocking_section_id'],
|
|
52
|
+
'blockingItemIds': json['blocking_item_ids'],
|
|
53
|
+
'minimumActiveSeconds': json['minimum_active_seconds'],
|
|
54
|
+
'activeSeconds': json['active_seconds'],
|
|
55
|
+
'remainingActiveSeconds': json['remaining_active_seconds'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
export function ProgressionGateErrorToJSON(json) {
|
|
59
|
+
return ProgressionGateErrorToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function ProgressionGateErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'code': value['code'],
|
|
67
|
+
'message': value['message'],
|
|
68
|
+
'blocking_section_id': value['blockingSectionId'],
|
|
69
|
+
'blocking_item_ids': value['blockingItemIds'],
|
|
70
|
+
'minimum_active_seconds': value['minimumActiveSeconds'],
|
|
71
|
+
'active_seconds': value['activeSeconds'],
|
|
72
|
+
'remaining_active_seconds': value['remainingActiveSeconds'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProgressionLockReason: {
|
|
17
|
+
readonly PreviousSectionIncomplete: "previous_section_incomplete";
|
|
18
|
+
};
|
|
19
|
+
export type ProgressionLockReason = typeof ProgressionLockReason[keyof typeof ProgressionLockReason];
|
|
20
|
+
export declare function instanceOfProgressionLockReason(value: any): boolean;
|
|
21
|
+
export declare function ProgressionLockReasonFromJSON(json: any): ProgressionLockReason;
|
|
22
|
+
export declare function ProgressionLockReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProgressionLockReason;
|
|
23
|
+
export declare function ProgressionLockReasonToJSON(value?: ProgressionLockReason | null): any;
|
|
24
|
+
export declare function ProgressionLockReasonToJSONTyped(value: any, ignoreDiscriminator: boolean): ProgressionLockReason;
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ProgressionLockReason = {
|
|
19
|
+
PreviousSectionIncomplete: 'previous_section_incomplete'
|
|
20
|
+
};
|
|
21
|
+
export function instanceOfProgressionLockReason(value) {
|
|
22
|
+
for (const key in ProgressionLockReason) {
|
|
23
|
+
if (Object.prototype.hasOwnProperty.call(ProgressionLockReason, key)) {
|
|
24
|
+
if (ProgressionLockReason[key] === value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
export function ProgressionLockReasonFromJSON(json) {
|
|
32
|
+
return ProgressionLockReasonFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ProgressionLockReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
export function ProgressionLockReasonToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
export function ProgressionLockReasonToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import type { CourseProgressionMode } from './CourseProgressionMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutCourseVersionDraft
|
|
17
|
+
*/
|
|
18
|
+
export interface PutCourseVersionDraft {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CourseProgressionMode}
|
|
22
|
+
* @memberof PutCourseVersionDraft
|
|
23
|
+
*/
|
|
24
|
+
progressionMode: CourseProgressionMode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the PutCourseVersionDraft interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfPutCourseVersionDraft(value: object): value is PutCourseVersionDraft;
|
|
30
|
+
export declare function PutCourseVersionDraftFromJSON(json: any): PutCourseVersionDraft;
|
|
31
|
+
export declare function PutCourseVersionDraftFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseVersionDraft;
|
|
32
|
+
export declare function PutCourseVersionDraftToJSON(json: any): PutCourseVersionDraft;
|
|
33
|
+
export declare function PutCourseVersionDraftToJSONTyped(value?: PutCourseVersionDraft | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import { CourseProgressionModeFromJSON, CourseProgressionModeToJSON, } from './CourseProgressionMode';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PutCourseVersionDraft interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPutCourseVersionDraft(value) {
|
|
19
|
+
if (!('progressionMode' in value) || value['progressionMode'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function PutCourseVersionDraftFromJSON(json) {
|
|
24
|
+
return PutCourseVersionDraftFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function PutCourseVersionDraftFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'progressionMode': CourseProgressionModeFromJSON(json['progression_mode']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PutCourseVersionDraftToJSON(json) {
|
|
35
|
+
return PutCourseVersionDraftToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PutCourseVersionDraftToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'progression_mode': CourseProgressionModeToJSON(value['progressionMode']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -52,6 +52,12 @@ export interface PutCourseVersionItem {
|
|
|
52
52
|
* @memberof PutCourseVersionItem
|
|
53
53
|
*/
|
|
54
54
|
isRequired?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Resource placements only. Set null to disable the timer.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof PutCourseVersionItem
|
|
59
|
+
*/
|
|
60
|
+
minimumActiveSeconds?: number | null;
|
|
55
61
|
/**
|
|
56
62
|
*
|
|
57
63
|
* @type {ContentLaunchMode}
|
|
@@ -39,6 +39,7 @@ export function PutCourseVersionItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'position': json['position'] == null ? undefined : json['position'],
|
|
40
40
|
'isVisible': json['is_visible'] == null ? undefined : json['is_visible'],
|
|
41
41
|
'isRequired': json['is_required'] == null ? undefined : json['is_required'],
|
|
42
|
+
'minimumActiveSeconds': json['minimum_active_seconds'] == null ? undefined : json['minimum_active_seconds'],
|
|
42
43
|
'launchMode': json['launch_mode'] == null ? undefined : ContentLaunchModeFromJSON(json['launch_mode']),
|
|
43
44
|
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
44
45
|
'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
|
|
@@ -59,6 +60,7 @@ export function PutCourseVersionItemToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
59
60
|
'position': value['position'],
|
|
60
61
|
'is_visible': value['isVisible'],
|
|
61
62
|
'is_required': value['isRequired'],
|
|
63
|
+
'minimum_active_seconds': value['minimumActiveSeconds'],
|
|
62
64
|
'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
|
|
63
65
|
'max_attempts': value['maxAttempts'],
|
|
64
66
|
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
@@ -33,6 +33,12 @@ export interface PutResourceSessionOverride {
|
|
|
33
33
|
* @memberof PutResourceSessionOverride
|
|
34
34
|
*/
|
|
35
35
|
scoreRaw?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Permanently waive the placement's minimum active-time requirement for this learner.
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof PutResourceSessionOverride
|
|
40
|
+
*/
|
|
41
|
+
waiveMinimumActiveTime?: boolean;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {string}
|
|
@@ -47,6 +47,7 @@ export function PutResourceSessionOverrideFromJSONTyped(json, ignoreDiscriminato
|
|
|
47
47
|
'completionStatus': json['completion_status'] == null ? undefined : json['completion_status'],
|
|
48
48
|
'gradeStatus': json['grade_status'] == null ? undefined : json['grade_status'],
|
|
49
49
|
'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
|
|
50
|
+
'waiveMinimumActiveTime': json['waive_minimum_active_time'] == null ? undefined : json['waive_minimum_active_time'],
|
|
50
51
|
'reason': json['reason'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
@@ -61,6 +62,7 @@ export function PutResourceSessionOverrideToJSONTyped(value, ignoreDiscriminator
|
|
|
61
62
|
'completion_status': value['completionStatus'],
|
|
62
63
|
'grade_status': value['gradeStatus'],
|
|
63
64
|
'score_raw': value['scoreRaw'],
|
|
65
|
+
'waive_minimum_active_time': value['waiveMinimumActiveTime'],
|
|
64
66
|
'reason': value['reason'],
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -23,6 +23,7 @@ export * from './CertificateTemplateVersion';
|
|
|
23
23
|
export * from './ContentLaunchMode';
|
|
24
24
|
export * from './ContentLibraryVersionStatus';
|
|
25
25
|
export * from './CourseCatalog';
|
|
26
|
+
export * from './CourseProgressionMode';
|
|
26
27
|
export * from './CourseShare';
|
|
27
28
|
export * from './EffectiveCertificateConfig';
|
|
28
29
|
export * from './EmailTemplateDefinition';
|
|
@@ -35,6 +36,8 @@ export * from './GetCertificateConfigList';
|
|
|
35
36
|
export * from './GetCertificateEventList';
|
|
36
37
|
export * from './GetCertificateList';
|
|
37
38
|
export * from './GetCertificateTemplateList';
|
|
39
|
+
export * from './GetChangelogEntry';
|
|
40
|
+
export * from './GetChangelogList';
|
|
38
41
|
export * from './GetChatMessage';
|
|
39
42
|
export * from './GetContentLibraryVersion';
|
|
40
43
|
export * from './GetConversation';
|
|
@@ -50,12 +53,15 @@ export * from './GetCourseList';
|
|
|
50
53
|
export * from './GetCourseVersion';
|
|
51
54
|
export * from './GetCourseVersionItem';
|
|
52
55
|
export * from './GetCourseVersionItemLaunch';
|
|
56
|
+
export * from './GetCourseVersionItemProgression';
|
|
53
57
|
export * from './GetCourseVersionItemReporting';
|
|
54
58
|
export * from './GetCourseVersionItemSession';
|
|
55
59
|
export * from './GetCourseVersionList';
|
|
60
|
+
export * from './GetCourseVersionProgression';
|
|
56
61
|
export * from './GetCourseVersionReporting';
|
|
57
62
|
export * from './GetCourseVersionSection';
|
|
58
63
|
export * from './GetCourseVersionSectionChild';
|
|
64
|
+
export * from './GetCourseVersionSectionProgression';
|
|
59
65
|
export * from './GetCourseVersionSectionReporting';
|
|
60
66
|
export * from './GetEmailAssetUpload';
|
|
61
67
|
export * from './GetEmailDelivery';
|
|
@@ -205,6 +211,8 @@ export * from './PostSignupRequest';
|
|
|
205
211
|
export * from './PostSignupRequestResponse';
|
|
206
212
|
export * from './PostSupportTicket';
|
|
207
213
|
export * from './PostSupportTicketComment';
|
|
214
|
+
export * from './ProgressionGateError';
|
|
215
|
+
export * from './ProgressionLockReason';
|
|
208
216
|
export * from './PutAttemptAllowance';
|
|
209
217
|
export * from './PutBadgeIssuer';
|
|
210
218
|
export * from './PutCertificateConfig';
|
|
@@ -213,6 +221,7 @@ export * from './PutCertificateTemplateDraft';
|
|
|
213
221
|
export * from './PutCourse';
|
|
214
222
|
export * from './PutCourseCatalog';
|
|
215
223
|
export * from './PutCourseEnrollment';
|
|
224
|
+
export * from './PutCourseVersionDraft';
|
|
216
225
|
export * from './PutCourseVersionItem';
|
|
217
226
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
218
227
|
export * from './PutCourseVersionSection';
|
package/dist/esm/models/index.js
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';
|
|
@@ -37,6 +38,8 @@ export * from './GetCertificateConfigList';
|
|
|
37
38
|
export * from './GetCertificateEventList';
|
|
38
39
|
export * from './GetCertificateList';
|
|
39
40
|
export * from './GetCertificateTemplateList';
|
|
41
|
+
export * from './GetChangelogEntry';
|
|
42
|
+
export * from './GetChangelogList';
|
|
40
43
|
export * from './GetChatMessage';
|
|
41
44
|
export * from './GetContentLibraryVersion';
|
|
42
45
|
export * from './GetConversation';
|
|
@@ -52,12 +55,15 @@ export * from './GetCourseList';
|
|
|
52
55
|
export * from './GetCourseVersion';
|
|
53
56
|
export * from './GetCourseVersionItem';
|
|
54
57
|
export * from './GetCourseVersionItemLaunch';
|
|
58
|
+
export * from './GetCourseVersionItemProgression';
|
|
55
59
|
export * from './GetCourseVersionItemReporting';
|
|
56
60
|
export * from './GetCourseVersionItemSession';
|
|
57
61
|
export * from './GetCourseVersionList';
|
|
62
|
+
export * from './GetCourseVersionProgression';
|
|
58
63
|
export * from './GetCourseVersionReporting';
|
|
59
64
|
export * from './GetCourseVersionSection';
|
|
60
65
|
export * from './GetCourseVersionSectionChild';
|
|
66
|
+
export * from './GetCourseVersionSectionProgression';
|
|
61
67
|
export * from './GetCourseVersionSectionReporting';
|
|
62
68
|
export * from './GetEmailAssetUpload';
|
|
63
69
|
export * from './GetEmailDelivery';
|
|
@@ -207,6 +213,8 @@ export * from './PostSignupRequest';
|
|
|
207
213
|
export * from './PostSignupRequestResponse';
|
|
208
214
|
export * from './PostSupportTicket';
|
|
209
215
|
export * from './PostSupportTicketComment';
|
|
216
|
+
export * from './ProgressionGateError';
|
|
217
|
+
export * from './ProgressionLockReason';
|
|
210
218
|
export * from './PutAttemptAllowance';
|
|
211
219
|
export * from './PutBadgeIssuer';
|
|
212
220
|
export * from './PutCertificateConfig';
|
|
@@ -215,6 +223,7 @@ export * from './PutCertificateTemplateDraft';
|
|
|
215
223
|
export * from './PutCourse';
|
|
216
224
|
export * from './PutCourseCatalog';
|
|
217
225
|
export * from './PutCourseEnrollment';
|
|
226
|
+
export * from './PutCourseVersionDraft';
|
|
218
227
|
export * from './PutCourseVersionItem';
|
|
219
228
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
220
229
|
export * from './PutCourseVersionSection';
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* Controls whether top-level course sections unlock freely or in completion order.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CourseProgressionMode: {
|
|
17
|
+
readonly Free: "free";
|
|
18
|
+
readonly SequentialSections: "sequential_sections";
|
|
19
|
+
};
|
|
20
|
+
export type CourseProgressionMode = typeof CourseProgressionMode[keyof typeof CourseProgressionMode];
|
|
21
|
+
export declare function instanceOfCourseProgressionMode(value: any): boolean;
|
|
22
|
+
export declare function CourseProgressionModeFromJSON(json: any): CourseProgressionMode;
|
|
23
|
+
export declare function CourseProgressionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CourseProgressionMode;
|
|
24
|
+
export declare function CourseProgressionModeToJSON(value?: CourseProgressionMode | null): any;
|
|
25
|
+
export declare function CourseProgressionModeToJSONTyped(value: any, ignoreDiscriminator: boolean): CourseProgressionMode;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.CourseProgressionMode = void 0;
|
|
17
|
+
exports.instanceOfCourseProgressionMode = instanceOfCourseProgressionMode;
|
|
18
|
+
exports.CourseProgressionModeFromJSON = CourseProgressionModeFromJSON;
|
|
19
|
+
exports.CourseProgressionModeFromJSONTyped = CourseProgressionModeFromJSONTyped;
|
|
20
|
+
exports.CourseProgressionModeToJSON = CourseProgressionModeToJSON;
|
|
21
|
+
exports.CourseProgressionModeToJSONTyped = CourseProgressionModeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Controls whether top-level course sections unlock freely or in completion order.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CourseProgressionMode = {
|
|
27
|
+
Free: 'free',
|
|
28
|
+
SequentialSections: 'sequential_sections'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfCourseProgressionMode(value) {
|
|
31
|
+
for (const key in exports.CourseProgressionMode) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.CourseProgressionMode, key)) {
|
|
33
|
+
if (exports.CourseProgressionMode[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function CourseProgressionModeFromJSON(json) {
|
|
41
|
+
return CourseProgressionModeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CourseProgressionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function CourseProgressionModeToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function CourseProgressionModeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -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
|
+
* A user-facing summary of product changes published on one date.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetChangelogEntry
|
|
16
|
+
*/
|
|
17
|
+
export interface GetChangelogEntry {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetChangelogEntry
|
|
22
|
+
*/
|
|
23
|
+
title: string;
|
|
24
|
+
/**
|
|
25
|
+
* A short Markdown-formatted summary. Multiple changes are represented as bullet points.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetChangelogEntry
|
|
28
|
+
*/
|
|
29
|
+
desc: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof GetChangelogEntry
|
|
34
|
+
*/
|
|
35
|
+
date: Date;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the GetChangelogEntry interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfGetChangelogEntry(value: object): value is GetChangelogEntry;
|
|
41
|
+
export declare function GetChangelogEntryFromJSON(json: any): GetChangelogEntry;
|
|
42
|
+
export declare function GetChangelogEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetChangelogEntry;
|
|
43
|
+
export declare function GetChangelogEntryToJSON(json: any): GetChangelogEntry;
|
|
44
|
+
export declare function GetChangelogEntryToJSONTyped(value?: GetChangelogEntry | 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.instanceOfGetChangelogEntry = instanceOfGetChangelogEntry;
|
|
17
|
+
exports.GetChangelogEntryFromJSON = GetChangelogEntryFromJSON;
|
|
18
|
+
exports.GetChangelogEntryFromJSONTyped = GetChangelogEntryFromJSONTyped;
|
|
19
|
+
exports.GetChangelogEntryToJSON = GetChangelogEntryToJSON;
|
|
20
|
+
exports.GetChangelogEntryToJSONTyped = GetChangelogEntryToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetChangelogEntry interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetChangelogEntry(value) {
|
|
25
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('desc' in value) || value['desc'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('date' in value) || value['date'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function GetChangelogEntryFromJSON(json) {
|
|
34
|
+
return GetChangelogEntryFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function GetChangelogEntryFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'title': json['title'],
|
|
42
|
+
'desc': json['desc'],
|
|
43
|
+
'date': (new Date(json['date'])),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function GetChangelogEntryToJSON(json) {
|
|
47
|
+
return GetChangelogEntryToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetChangelogEntryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'title': value['title'],
|
|
55
|
+
'desc': value['desc'],
|
|
56
|
+
'date': value['date'].toISOString().substring(0, 10),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
import type { GetChangelogEntry } from './GetChangelogEntry';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetChangelogList
|
|
17
|
+
*/
|
|
18
|
+
export interface GetChangelogList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<GetChangelogEntry>}
|
|
22
|
+
* @memberof GetChangelogList
|
|
23
|
+
*/
|
|
24
|
+
items: Array<GetChangelogEntry>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetChangelogList interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGetChangelogList(value: object): value is GetChangelogList;
|
|
30
|
+
export declare function GetChangelogListFromJSON(json: any): GetChangelogList;
|
|
31
|
+
export declare function GetChangelogListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetChangelogList;
|
|
32
|
+
export declare function GetChangelogListToJSON(json: any): GetChangelogList;
|
|
33
|
+
export declare function GetChangelogListToJSONTyped(value?: GetChangelogList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfGetChangelogList = instanceOfGetChangelogList;
|
|
17
|
+
exports.GetChangelogListFromJSON = GetChangelogListFromJSON;
|
|
18
|
+
exports.GetChangelogListFromJSONTyped = GetChangelogListFromJSONTyped;
|
|
19
|
+
exports.GetChangelogListToJSON = GetChangelogListToJSON;
|
|
20
|
+
exports.GetChangelogListToJSONTyped = GetChangelogListToJSONTyped;
|
|
21
|
+
const GetChangelogEntry_1 = require("./GetChangelogEntry");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetChangelogList interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetChangelogList(value) {
|
|
26
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GetChangelogListFromJSON(json) {
|
|
31
|
+
return GetChangelogListFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GetChangelogListFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'items': (json['items'].map(GetChangelogEntry_1.GetChangelogEntryFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function GetChangelogListToJSON(json) {
|
|
42
|
+
return GetChangelogListToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function GetChangelogListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'items': (value['items'].map(GetChangelogEntry_1.GetChangelogEntryToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ContentLibraryVersionStatus } from './ContentLibraryVersionStatus';
|
|
13
13
|
import type { RichTextDocument } from './RichTextDocument';
|
|
14
|
+
import type { CourseProgressionMode } from './CourseProgressionMode';
|
|
14
15
|
import type { GetCourseVersionSection } from './GetCourseVersionSection';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -66,6 +67,12 @@ export interface GetCourseVersion {
|
|
|
66
67
|
* @memberof GetCourseVersion
|
|
67
68
|
*/
|
|
68
69
|
changeNotes?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {CourseProgressionMode}
|
|
73
|
+
* @memberof GetCourseVersion
|
|
74
|
+
*/
|
|
75
|
+
progressionMode: CourseProgressionMode;
|
|
69
76
|
/**
|
|
70
77
|
*
|
|
71
78
|
* @type {Array<GetCourseVersionSection>}
|