@easyedu/js-lsm-api 1.83.0 → 1.84.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 +52 -0
- package/README.md +60 -2
- package/dist/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/apis/ContentLibraryApi.js +744 -0
- package/dist/apis/CourseApi.d.ts +172 -0
- package/dist/apis/CourseApi.js +443 -0
- package/dist/apis/PlayerApi.d.ts +112 -0
- package/dist/apis/PlayerApi.js +297 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentLibraryApi.d.ts +290 -0
- package/dist/esm/apis/ContentLibraryApi.js +740 -0
- package/dist/esm/apis/CourseApi.d.ts +172 -0
- package/dist/esm/apis/CourseApi.js +443 -0
- package/dist/esm/apis/PlayerApi.d.ts +112 -0
- package/dist/esm/apis/PlayerApi.js +297 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/esm/models/ContentLibraryVersionStatus.js +44 -0
- package/dist/esm/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/esm/models/GetContentLibraryVersion.js +87 -0
- package/dist/esm/models/GetCourseVersion.d.ts +101 -0
- package/dist/esm/models/GetCourseVersion.js +86 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/esm/models/GetCourseVersionItem.js +104 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/esm/models/GetCourseVersionItemLaunch.js +82 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/esm/models/GetCourseVersionItemSession.js +101 -0
- package/dist/esm/models/GetCourseVersionList.d.ts +33 -0
- package/dist/esm/models/GetCourseVersionList.js +44 -0
- package/dist/esm/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/esm/models/GetCourseVersionModule.js +65 -0
- package/dist/esm/models/GetResource.d.ts +118 -0
- package/dist/esm/models/GetResource.js +95 -0
- package/dist/esm/models/GetResourceList.d.ts +57 -0
- package/dist/esm/models/GetResourceList.js +60 -0
- package/dist/esm/models/GetResourceUsage.d.ts +63 -0
- package/dist/esm/models/GetResourceUsage.js +64 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/esm/models/GetResourceUsageCoursesInner.js +64 -0
- package/dist/esm/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/esm/models/GetResourceVersionUpload.js +47 -0
- package/dist/esm/models/PostCourseDraft.d.ts +32 -0
- package/dist/esm/models/PostCourseDraft.js +41 -0
- package/dist/esm/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/esm/models/PostCourseVersionItem.js +71 -0
- package/dist/esm/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionItemSession.js +41 -0
- package/dist/esm/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/esm/models/PostCourseVersionPublish.js +41 -0
- package/dist/esm/models/PostResource.d.ts +58 -0
- package/dist/esm/models/PostResource.js +55 -0
- package/dist/esm/models/PostResourceVersion.d.ts +45 -0
- package/dist/esm/models/PostResourceVersion.js +46 -0
- package/dist/esm/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/esm/models/PostResourceVersionComplete.js +43 -0
- package/dist/esm/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/esm/models/PostResourceVersionUpload.js +55 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/esm/models/PutCourseVersionItem.js +63 -0
- package/dist/esm/models/PutResource.d.ts +38 -0
- package/dist/esm/models/PutResource.js +43 -0
- package/dist/esm/models/PutResourceVersion.d.ts +53 -0
- package/dist/esm/models/PutResourceVersion.js +48 -0
- package/dist/esm/models/ResourceType.d.ts +32 -0
- package/dist/esm/models/ResourceType.js +50 -0
- package/dist/esm/models/index.d.ts +25 -0
- package/dist/esm/models/index.js +25 -0
- package/dist/models/ContentLibraryVersionStatus.d.ts +26 -0
- package/dist/models/ContentLibraryVersionStatus.js +52 -0
- package/dist/models/GetContentLibraryVersion.d.ts +126 -0
- package/dist/models/GetContentLibraryVersion.js +94 -0
- package/dist/models/GetCourseVersion.d.ts +101 -0
- package/dist/models/GetCourseVersion.js +93 -0
- package/dist/models/GetCourseVersionItem.d.ts +135 -0
- package/dist/models/GetCourseVersionItem.js +112 -0
- package/dist/models/GetCourseVersionItemLaunch.d.ts +103 -0
- package/dist/models/GetCourseVersionItemLaunch.js +89 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +124 -0
- package/dist/models/GetCourseVersionItemSession.js +108 -0
- package/dist/models/GetCourseVersionList.d.ts +33 -0
- package/dist/models/GetCourseVersionList.js +51 -0
- package/dist/models/GetCourseVersionModule.d.ts +64 -0
- package/dist/models/GetCourseVersionModule.js +72 -0
- package/dist/models/GetResource.d.ts +118 -0
- package/dist/models/GetResource.js +102 -0
- package/dist/models/GetResourceList.d.ts +57 -0
- package/dist/models/GetResourceList.js +67 -0
- package/dist/models/GetResourceUsage.d.ts +63 -0
- package/dist/models/GetResourceUsage.js +71 -0
- package/dist/models/GetResourceUsageCoursesInner.d.ts +63 -0
- package/dist/models/GetResourceUsageCoursesInner.js +71 -0
- package/dist/models/GetResourceVersionUpload.d.ts +38 -0
- package/dist/models/GetResourceVersionUpload.js +54 -0
- package/dist/models/PostCourseDraft.d.ts +32 -0
- package/dist/models/PostCourseDraft.js +48 -0
- package/dist/models/PostCourseVersionItem.d.ts +97 -0
- package/dist/models/PostCourseVersionItem.js +79 -0
- package/dist/models/PostCourseVersionItemSession.d.ts +32 -0
- package/dist/models/PostCourseVersionItemSession.js +48 -0
- package/dist/models/PostCourseVersionPublish.d.ts +32 -0
- package/dist/models/PostCourseVersionPublish.js +48 -0
- package/dist/models/PostResource.d.ts +58 -0
- package/dist/models/PostResource.js +62 -0
- package/dist/models/PostResourceVersion.d.ts +45 -0
- package/dist/models/PostResourceVersion.js +53 -0
- package/dist/models/PostResourceVersionComplete.d.ts +32 -0
- package/dist/models/PostResourceVersionComplete.js +50 -0
- package/dist/models/PostResourceVersionUpload.d.ts +50 -0
- package/dist/models/PostResourceVersionUpload.js +62 -0
- package/dist/models/PutCourseVersionItem.d.ts +85 -0
- package/dist/models/PutCourseVersionItem.js +71 -0
- package/dist/models/PutResource.d.ts +38 -0
- package/dist/models/PutResource.js +50 -0
- package/dist/models/PutResourceVersion.d.ts +53 -0
- package/dist/models/PutResourceVersion.js +55 -0
- package/dist/models/ResourceType.d.ts +32 -0
- package/dist/models/ResourceType.js +58 -0
- package/dist/models/index.d.ts +25 -0
- package/dist/models/index.js +25 -0
- package/docs/ContentLibraryApi.md +1132 -0
- package/docs/ContentLibraryVersionStatus.md +33 -0
- package/docs/CourseApi.md +797 -96
- package/docs/GetContentLibraryVersion.md +64 -0
- package/docs/GetCourseVersion.md +56 -0
- package/docs/GetCourseVersionItem.md +62 -0
- package/docs/GetCourseVersionItemLaunch.md +56 -0
- package/docs/GetCourseVersionItemSession.md +65 -0
- package/docs/GetCourseVersionList.md +34 -0
- package/docs/GetCourseVersionModule.md +44 -0
- package/docs/GetResource.md +62 -0
- package/docs/GetResourceList.md +42 -0
- package/docs/GetResourceUsage.md +44 -0
- package/docs/GetResourceUsageCoursesInner.md +44 -0
- package/docs/GetResourceVersionUpload.md +36 -0
- package/docs/PlayerApi.md +480 -0
- package/docs/PostCourseDraft.md +34 -0
- package/docs/PostCourseVersionItem.md +52 -0
- package/docs/PostCourseVersionItemSession.md +35 -0
- package/docs/PostCourseVersionPublish.md +34 -0
- package/docs/PostResource.md +42 -0
- package/docs/PostResourceVersion.md +38 -0
- package/docs/PostResourceVersionComplete.md +34 -0
- package/docs/PostResourceVersionUpload.md +40 -0
- package/docs/PutCourseVersionItem.md +48 -0
- package/docs/PutResource.md +36 -0
- package/docs/PutResourceVersion.md +40 -0
- package/docs/ResourceType.md +33 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +1024 -0
- package/src/apis/CourseApi.ts +636 -0
- package/src/apis/PlayerApi.ts +400 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ContentLibraryVersionStatus.ts +54 -0
- package/src/models/GetContentLibraryVersion.ts +209 -0
- package/src/models/GetCourseVersion.ts +187 -0
- package/src/models/GetCourseVersionItem.ts +215 -0
- package/src/models/GetCourseVersionItemLaunch.ts +185 -0
- package/src/models/GetCourseVersionItemSession.ts +216 -0
- package/src/models/GetCourseVersionList.ts +74 -0
- package/src/models/GetCourseVersionModule.ts +126 -0
- package/src/models/GetResource.ts +206 -0
- package/src/models/GetResourceList.ts +110 -0
- package/src/models/GetResourceUsage.ts +119 -0
- package/src/models/GetResourceUsageCoursesInner.ts +121 -0
- package/src/models/GetResourceVersionUpload.ts +75 -0
- package/src/models/PostCourseDraft.ts +65 -0
- package/src/models/PostCourseVersionItem.ts +158 -0
- package/src/models/PostCourseVersionItemSession.ts +65 -0
- package/src/models/PostCourseVersionPublish.ts +65 -0
- package/src/models/PostResource.ts +116 -0
- package/src/models/PostResourceVersion.ts +89 -0
- package/src/models/PostResourceVersionComplete.ts +66 -0
- package/src/models/PostResourceVersionUpload.ts +93 -0
- package/src/models/PutCourseVersionItem.ts +140 -0
- package/src/models/PutResource.ts +73 -0
- package/src/models/PutResourceVersion.ts +97 -0
- package/src/models/ResourceType.ts +60 -0
- package/src/models/index.ts +25 -0
|
@@ -0,0 +1,85 @@
|
|
|
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 { ContentLaunchMode } from './ContentLaunchMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutCourseVersionItem
|
|
17
|
+
*/
|
|
18
|
+
export interface PutCourseVersionItem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PutCourseVersionItem
|
|
23
|
+
*/
|
|
24
|
+
contentLibraryVersionId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PutCourseVersionItem
|
|
29
|
+
*/
|
|
30
|
+
displayName?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof PutCourseVersionItem
|
|
35
|
+
*/
|
|
36
|
+
displayOrder?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof PutCourseVersionItem
|
|
41
|
+
*/
|
|
42
|
+
isVisible?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ContentLaunchMode}
|
|
46
|
+
* @memberof PutCourseVersionItem
|
|
47
|
+
*/
|
|
48
|
+
launchMode?: ContentLaunchMode;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PutCourseVersionItem
|
|
53
|
+
*/
|
|
54
|
+
maxAttempts?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {PutCourseVersionItemScoreRollupStrategyEnum}
|
|
58
|
+
* @memberof PutCourseVersionItem
|
|
59
|
+
*/
|
|
60
|
+
scoreRollupStrategy?: PutCourseVersionItemScoreRollupStrategyEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {{ [key: string]: any; }}
|
|
64
|
+
* @memberof PutCourseVersionItem
|
|
65
|
+
*/
|
|
66
|
+
settings?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const PutCourseVersionItemScoreRollupStrategyEnum: {
|
|
74
|
+
readonly Latest: "Latest";
|
|
75
|
+
readonly Best: "Best";
|
|
76
|
+
};
|
|
77
|
+
export type PutCourseVersionItemScoreRollupStrategyEnum = typeof PutCourseVersionItemScoreRollupStrategyEnum[keyof typeof PutCourseVersionItemScoreRollupStrategyEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the PutCourseVersionItem interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfPutCourseVersionItem(value: object): value is PutCourseVersionItem;
|
|
82
|
+
export declare function PutCourseVersionItemFromJSON(json: any): PutCourseVersionItem;
|
|
83
|
+
export declare function PutCourseVersionItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutCourseVersionItem;
|
|
84
|
+
export declare function PutCourseVersionItemToJSON(json: any): PutCourseVersionItem;
|
|
85
|
+
export declare function PutCourseVersionItemToJSONTyped(value?: PutCourseVersionItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ContentLaunchModeFromJSON, ContentLaunchModeToJSON, } from './ContentLaunchMode';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PutCourseVersionItemScoreRollupStrategyEnum = {
|
|
19
|
+
Latest: 'Latest',
|
|
20
|
+
Best: 'Best'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PutCourseVersionItem interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPutCourseVersionItem(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PutCourseVersionItemFromJSON(json) {
|
|
29
|
+
return PutCourseVersionItemFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PutCourseVersionItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'contentLibraryVersionId': json['content_library_version_id'] == null ? undefined : json['content_library_version_id'],
|
|
37
|
+
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
38
|
+
'displayOrder': json['display_order'] == null ? undefined : json['display_order'],
|
|
39
|
+
'isVisible': json['is_visible'] == null ? undefined : json['is_visible'],
|
|
40
|
+
'launchMode': json['launch_mode'] == null ? undefined : ContentLaunchModeFromJSON(json['launch_mode']),
|
|
41
|
+
'maxAttempts': json['max_attempts'] == null ? undefined : json['max_attempts'],
|
|
42
|
+
'scoreRollupStrategy': json['score_rollup_strategy'] == null ? undefined : json['score_rollup_strategy'],
|
|
43
|
+
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function PutCourseVersionItemToJSON(json) {
|
|
47
|
+
return PutCourseVersionItemToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PutCourseVersionItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'content_library_version_id': value['contentLibraryVersionId'],
|
|
55
|
+
'display_name': value['displayName'],
|
|
56
|
+
'display_order': value['displayOrder'],
|
|
57
|
+
'is_visible': value['isVisible'],
|
|
58
|
+
'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
|
|
59
|
+
'max_attempts': value['maxAttempts'],
|
|
60
|
+
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
61
|
+
'settings': value['settings'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -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 PutResource
|
|
16
|
+
*/
|
|
17
|
+
export interface PutResource {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PutResource
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PutResource
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutResource interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPutResource(value: object): value is PutResource;
|
|
35
|
+
export declare function PutResourceFromJSON(json: any): PutResource;
|
|
36
|
+
export declare function PutResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutResource;
|
|
37
|
+
export declare function PutResourceToJSON(json: any): PutResource;
|
|
38
|
+
export declare function PutResourceToJSONTyped(value?: PutResource | 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 PutResource interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPutResource(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PutResourceFromJSON(json) {
|
|
21
|
+
return PutResourceFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PutResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
29
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function PutResourceToJSON(json) {
|
|
33
|
+
return PutResourceToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PutResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'name': value['name'],
|
|
41
|
+
'description': value['description'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { RichTextInput } from './RichTextInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PutResourceVersion
|
|
17
|
+
*/
|
|
18
|
+
export interface PutResourceVersion {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PutResourceVersion
|
|
23
|
+
*/
|
|
24
|
+
changeNotes?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {{ [key: string]: any; }}
|
|
28
|
+
* @memberof PutResourceVersion
|
|
29
|
+
*/
|
|
30
|
+
metadata?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof PutResourceVersion
|
|
37
|
+
*/
|
|
38
|
+
linkUrl?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {RichTextInput}
|
|
42
|
+
* @memberof PutResourceVersion
|
|
43
|
+
*/
|
|
44
|
+
richText?: RichTextInput | null;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PutResourceVersion interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPutResourceVersion(value: object): value is PutResourceVersion;
|
|
50
|
+
export declare function PutResourceVersionFromJSON(json: any): PutResourceVersion;
|
|
51
|
+
export declare function PutResourceVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutResourceVersion;
|
|
52
|
+
export declare function PutResourceVersionToJSON(json: any): PutResourceVersion;
|
|
53
|
+
export declare function PutResourceVersionToJSONTyped(value?: PutResourceVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { RichTextInputFromJSON, RichTextInputToJSON, } from './RichTextInput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PutResourceVersion interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPutResourceVersion(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PutResourceVersionFromJSON(json) {
|
|
22
|
+
return PutResourceVersionFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PutResourceVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
|
|
30
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
31
|
+
'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
|
|
32
|
+
'richText': json['rich_text'] == null ? undefined : RichTextInputFromJSON(json['rich_text']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function PutResourceVersionToJSON(json) {
|
|
36
|
+
return PutResourceVersionToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function PutResourceVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'change_notes': value['changeNotes'],
|
|
44
|
+
'metadata': value['metadata'],
|
|
45
|
+
'link_url': value['linkUrl'],
|
|
46
|
+
'rich_text': RichTextInputToJSON(value['richText']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -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
|
+
* Resource payload type.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ResourceType: {
|
|
17
|
+
readonly Scorm: "scorm";
|
|
18
|
+
readonly Video: "video";
|
|
19
|
+
readonly Audio: "audio";
|
|
20
|
+
readonly Image: "image";
|
|
21
|
+
readonly Pdf: "pdf";
|
|
22
|
+
readonly Powerpoint: "powerpoint";
|
|
23
|
+
readonly File: "file";
|
|
24
|
+
readonly Link: "link";
|
|
25
|
+
readonly RichText: "rich_text";
|
|
26
|
+
};
|
|
27
|
+
export type ResourceType = typeof ResourceType[keyof typeof ResourceType];
|
|
28
|
+
export declare function instanceOfResourceType(value: any): boolean;
|
|
29
|
+
export declare function ResourceTypeFromJSON(json: any): ResourceType;
|
|
30
|
+
export declare function ResourceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceType;
|
|
31
|
+
export declare function ResourceTypeToJSON(value?: ResourceType | null): any;
|
|
32
|
+
export declare function ResourceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ResourceType;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Resource payload type.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ResourceType = {
|
|
19
|
+
Scorm: 'scorm',
|
|
20
|
+
Video: 'video',
|
|
21
|
+
Audio: 'audio',
|
|
22
|
+
Image: 'image',
|
|
23
|
+
Pdf: 'pdf',
|
|
24
|
+
Powerpoint: 'powerpoint',
|
|
25
|
+
File: 'file',
|
|
26
|
+
Link: 'link',
|
|
27
|
+
RichText: 'rich_text'
|
|
28
|
+
};
|
|
29
|
+
export function instanceOfResourceType(value) {
|
|
30
|
+
for (const key in ResourceType) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(ResourceType, key)) {
|
|
32
|
+
if (ResourceType[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
export function ResourceTypeFromJSON(json) {
|
|
40
|
+
return ResourceTypeFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ResourceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
export function ResourceTypeToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
export function ResourceTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from './ContentAttemptRollupScore';
|
|
|
6
6
|
export * from './ContentAttemptScore';
|
|
7
7
|
export * from './ContentAttemptSettings';
|
|
8
8
|
export * from './ContentLaunchMode';
|
|
9
|
+
export * from './ContentLibraryVersionStatus';
|
|
9
10
|
export * from './CourseCatalog';
|
|
10
11
|
export * from './CourseShare';
|
|
11
12
|
export * from './CriteriaBasedSelection';
|
|
@@ -30,6 +31,7 @@ export * from './GetContentInstructorBasicReporting';
|
|
|
30
31
|
export * from './GetContentInstructorBasicReportingContentInfo';
|
|
31
32
|
export * from './GetContentInstructorBasicReportingEngagement';
|
|
32
33
|
export * from './GetContentInstructorBasicReportingPerformance';
|
|
34
|
+
export * from './GetContentLibraryVersion';
|
|
33
35
|
export * from './GetContentList';
|
|
34
36
|
export * from './GetContentSession';
|
|
35
37
|
export * from './GetContentSessionDetail';
|
|
@@ -60,6 +62,12 @@ export * from './GetCourseStudentReportingCourseInfo';
|
|
|
60
62
|
export * from './GetCourseStudentReportingEngagement';
|
|
61
63
|
export * from './GetCourseStudentReportingModulesInner';
|
|
62
64
|
export * from './GetCourseStudentReportingPerformance';
|
|
65
|
+
export * from './GetCourseVersion';
|
|
66
|
+
export * from './GetCourseVersionItem';
|
|
67
|
+
export * from './GetCourseVersionItemLaunch';
|
|
68
|
+
export * from './GetCourseVersionItemSession';
|
|
69
|
+
export * from './GetCourseVersionList';
|
|
70
|
+
export * from './GetCourseVersionModule';
|
|
63
71
|
export * from './GetManualQuestionSelectionItem';
|
|
64
72
|
export * from './GetManualQuestionSelectionList';
|
|
65
73
|
export * from './GetModule';
|
|
@@ -137,6 +145,11 @@ export * from './GetQuizResultsQuestionsInnerStudentAnswer';
|
|
|
137
145
|
export * from './GetQuizResultsScore';
|
|
138
146
|
export * from './GetQuizResultsTiming';
|
|
139
147
|
export * from './GetQuizStatistics';
|
|
148
|
+
export * from './GetResource';
|
|
149
|
+
export * from './GetResourceList';
|
|
150
|
+
export * from './GetResourceUsage';
|
|
151
|
+
export * from './GetResourceUsageCoursesInner';
|
|
152
|
+
export * from './GetResourceVersionUpload';
|
|
140
153
|
export * from './GetRichTextAssetUpload';
|
|
141
154
|
export * from './GetRole';
|
|
142
155
|
export * from './GetScormApiLogItem';
|
|
@@ -200,9 +213,13 @@ export * from './PostConversation';
|
|
|
200
213
|
export * from './PostConversationResponse';
|
|
201
214
|
export * from './PostCourse';
|
|
202
215
|
export * from './PostCourseCatalog';
|
|
216
|
+
export * from './PostCourseDraft';
|
|
203
217
|
export * from './PostCourseEnrollment';
|
|
204
218
|
export * from './PostCourseExport';
|
|
205
219
|
export * from './PostCourseResume';
|
|
220
|
+
export * from './PostCourseVersionItem';
|
|
221
|
+
export * from './PostCourseVersionItemSession';
|
|
222
|
+
export * from './PostCourseVersionPublish';
|
|
206
223
|
export * from './PostDuplicate';
|
|
207
224
|
export * from './PostDuplicate1';
|
|
208
225
|
export * from './PostDuplicate2';
|
|
@@ -234,6 +251,10 @@ export * from './PostQuizQuestions';
|
|
|
234
251
|
export * from './PostQuizQuestionsQuestionsInner';
|
|
235
252
|
export * from './PostQuizSettings';
|
|
236
253
|
export * from './PostResetPassword';
|
|
254
|
+
export * from './PostResource';
|
|
255
|
+
export * from './PostResourceVersion';
|
|
256
|
+
export * from './PostResourceVersionComplete';
|
|
257
|
+
export * from './PostResourceVersionUpload';
|
|
237
258
|
export * from './PostRevokeCertificate';
|
|
238
259
|
export * from './PostRichTextAssetComplete';
|
|
239
260
|
export * from './PostRichTextAssetUpload';
|
|
@@ -254,6 +275,7 @@ export * from './PutContentVersion';
|
|
|
254
275
|
export * from './PutCourse';
|
|
255
276
|
export * from './PutCourseCatalog';
|
|
256
277
|
export * from './PutCourseEnrollment';
|
|
278
|
+
export * from './PutCourseVersionItem';
|
|
257
279
|
export * from './PutModule';
|
|
258
280
|
export * from './PutModuleReorder';
|
|
259
281
|
export * from './PutPortalBranding';
|
|
@@ -270,6 +292,8 @@ export * from './PutQuizAnswerResponseNextQuestion';
|
|
|
270
292
|
export * from './PutQuizAnswerResponseNextQuestionAnswerChoicesInner';
|
|
271
293
|
export * from './PutQuizAnswerResponseProgress';
|
|
272
294
|
export * from './PutQuizSettings';
|
|
295
|
+
export * from './PutResource';
|
|
296
|
+
export * from './PutResourceVersion';
|
|
273
297
|
export * from './PutRole';
|
|
274
298
|
export * from './PutRolePermissions';
|
|
275
299
|
export * from './PutSupportTicket';
|
|
@@ -277,6 +301,7 @@ export * from './PutUser';
|
|
|
277
301
|
export * from './QuizContent';
|
|
278
302
|
export * from './QuizContentAssignment';
|
|
279
303
|
export * from './QuizContentSettings';
|
|
304
|
+
export * from './ResourceType';
|
|
280
305
|
export * from './RichTextAsset';
|
|
281
306
|
export * from './RichTextDocument';
|
|
282
307
|
export * from './RichTextInput';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -8,6 +8,7 @@ export * from './ContentAttemptRollupScore';
|
|
|
8
8
|
export * from './ContentAttemptScore';
|
|
9
9
|
export * from './ContentAttemptSettings';
|
|
10
10
|
export * from './ContentLaunchMode';
|
|
11
|
+
export * from './ContentLibraryVersionStatus';
|
|
11
12
|
export * from './CourseCatalog';
|
|
12
13
|
export * from './CourseShare';
|
|
13
14
|
export * from './CriteriaBasedSelection';
|
|
@@ -32,6 +33,7 @@ export * from './GetContentInstructorBasicReporting';
|
|
|
32
33
|
export * from './GetContentInstructorBasicReportingContentInfo';
|
|
33
34
|
export * from './GetContentInstructorBasicReportingEngagement';
|
|
34
35
|
export * from './GetContentInstructorBasicReportingPerformance';
|
|
36
|
+
export * from './GetContentLibraryVersion';
|
|
35
37
|
export * from './GetContentList';
|
|
36
38
|
export * from './GetContentSession';
|
|
37
39
|
export * from './GetContentSessionDetail';
|
|
@@ -62,6 +64,12 @@ export * from './GetCourseStudentReportingCourseInfo';
|
|
|
62
64
|
export * from './GetCourseStudentReportingEngagement';
|
|
63
65
|
export * from './GetCourseStudentReportingModulesInner';
|
|
64
66
|
export * from './GetCourseStudentReportingPerformance';
|
|
67
|
+
export * from './GetCourseVersion';
|
|
68
|
+
export * from './GetCourseVersionItem';
|
|
69
|
+
export * from './GetCourseVersionItemLaunch';
|
|
70
|
+
export * from './GetCourseVersionItemSession';
|
|
71
|
+
export * from './GetCourseVersionList';
|
|
72
|
+
export * from './GetCourseVersionModule';
|
|
65
73
|
export * from './GetManualQuestionSelectionItem';
|
|
66
74
|
export * from './GetManualQuestionSelectionList';
|
|
67
75
|
export * from './GetModule';
|
|
@@ -139,6 +147,11 @@ export * from './GetQuizResultsQuestionsInnerStudentAnswer';
|
|
|
139
147
|
export * from './GetQuizResultsScore';
|
|
140
148
|
export * from './GetQuizResultsTiming';
|
|
141
149
|
export * from './GetQuizStatistics';
|
|
150
|
+
export * from './GetResource';
|
|
151
|
+
export * from './GetResourceList';
|
|
152
|
+
export * from './GetResourceUsage';
|
|
153
|
+
export * from './GetResourceUsageCoursesInner';
|
|
154
|
+
export * from './GetResourceVersionUpload';
|
|
142
155
|
export * from './GetRichTextAssetUpload';
|
|
143
156
|
export * from './GetRole';
|
|
144
157
|
export * from './GetScormApiLogItem';
|
|
@@ -202,9 +215,13 @@ export * from './PostConversation';
|
|
|
202
215
|
export * from './PostConversationResponse';
|
|
203
216
|
export * from './PostCourse';
|
|
204
217
|
export * from './PostCourseCatalog';
|
|
218
|
+
export * from './PostCourseDraft';
|
|
205
219
|
export * from './PostCourseEnrollment';
|
|
206
220
|
export * from './PostCourseExport';
|
|
207
221
|
export * from './PostCourseResume';
|
|
222
|
+
export * from './PostCourseVersionItem';
|
|
223
|
+
export * from './PostCourseVersionItemSession';
|
|
224
|
+
export * from './PostCourseVersionPublish';
|
|
208
225
|
export * from './PostDuplicate';
|
|
209
226
|
export * from './PostDuplicate1';
|
|
210
227
|
export * from './PostDuplicate2';
|
|
@@ -236,6 +253,10 @@ export * from './PostQuizQuestions';
|
|
|
236
253
|
export * from './PostQuizQuestionsQuestionsInner';
|
|
237
254
|
export * from './PostQuizSettings';
|
|
238
255
|
export * from './PostResetPassword';
|
|
256
|
+
export * from './PostResource';
|
|
257
|
+
export * from './PostResourceVersion';
|
|
258
|
+
export * from './PostResourceVersionComplete';
|
|
259
|
+
export * from './PostResourceVersionUpload';
|
|
239
260
|
export * from './PostRevokeCertificate';
|
|
240
261
|
export * from './PostRichTextAssetComplete';
|
|
241
262
|
export * from './PostRichTextAssetUpload';
|
|
@@ -256,6 +277,7 @@ export * from './PutContentVersion';
|
|
|
256
277
|
export * from './PutCourse';
|
|
257
278
|
export * from './PutCourseCatalog';
|
|
258
279
|
export * from './PutCourseEnrollment';
|
|
280
|
+
export * from './PutCourseVersionItem';
|
|
259
281
|
export * from './PutModule';
|
|
260
282
|
export * from './PutModuleReorder';
|
|
261
283
|
export * from './PutPortalBranding';
|
|
@@ -272,6 +294,8 @@ export * from './PutQuizAnswerResponseNextQuestion';
|
|
|
272
294
|
export * from './PutQuizAnswerResponseNextQuestionAnswerChoicesInner';
|
|
273
295
|
export * from './PutQuizAnswerResponseProgress';
|
|
274
296
|
export * from './PutQuizSettings';
|
|
297
|
+
export * from './PutResource';
|
|
298
|
+
export * from './PutResourceVersion';
|
|
275
299
|
export * from './PutRole';
|
|
276
300
|
export * from './PutRolePermissions';
|
|
277
301
|
export * from './PutSupportTicket';
|
|
@@ -279,6 +303,7 @@ export * from './PutUser';
|
|
|
279
303
|
export * from './QuizContent';
|
|
280
304
|
export * from './QuizContentAssignment';
|
|
281
305
|
export * from './QuizContentSettings';
|
|
306
|
+
export * from './ResourceType';
|
|
282
307
|
export * from './RichTextAsset';
|
|
283
308
|
export * from './RichTextDocument';
|
|
284
309
|
export * from './RichTextInput';
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Lifecycle state of an immutable Content Library version.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ContentLibraryVersionStatus: {
|
|
17
|
+
readonly Draft: "draft";
|
|
18
|
+
readonly Published: "published";
|
|
19
|
+
readonly Archived: "archived";
|
|
20
|
+
};
|
|
21
|
+
export type ContentLibraryVersionStatus = typeof ContentLibraryVersionStatus[keyof typeof ContentLibraryVersionStatus];
|
|
22
|
+
export declare function instanceOfContentLibraryVersionStatus(value: any): boolean;
|
|
23
|
+
export declare function ContentLibraryVersionStatusFromJSON(json: any): ContentLibraryVersionStatus;
|
|
24
|
+
export declare function ContentLibraryVersionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContentLibraryVersionStatus;
|
|
25
|
+
export declare function ContentLibraryVersionStatusToJSON(value?: ContentLibraryVersionStatus | null): any;
|
|
26
|
+
export declare function ContentLibraryVersionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ContentLibraryVersionStatus;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.ContentLibraryVersionStatus = void 0;
|
|
17
|
+
exports.instanceOfContentLibraryVersionStatus = instanceOfContentLibraryVersionStatus;
|
|
18
|
+
exports.ContentLibraryVersionStatusFromJSON = ContentLibraryVersionStatusFromJSON;
|
|
19
|
+
exports.ContentLibraryVersionStatusFromJSONTyped = ContentLibraryVersionStatusFromJSONTyped;
|
|
20
|
+
exports.ContentLibraryVersionStatusToJSON = ContentLibraryVersionStatusToJSON;
|
|
21
|
+
exports.ContentLibraryVersionStatusToJSONTyped = ContentLibraryVersionStatusToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* Lifecycle state of an immutable Content Library version.
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ContentLibraryVersionStatus = {
|
|
27
|
+
Draft: 'draft',
|
|
28
|
+
Published: 'published',
|
|
29
|
+
Archived: 'archived'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfContentLibraryVersionStatus(value) {
|
|
32
|
+
for (const key in exports.ContentLibraryVersionStatus) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.ContentLibraryVersionStatus, key)) {
|
|
34
|
+
if (exports.ContentLibraryVersionStatus[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function ContentLibraryVersionStatusFromJSON(json) {
|
|
42
|
+
return ContentLibraryVersionStatusFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ContentLibraryVersionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function ContentLibraryVersionStatusToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function ContentLibraryVersionStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|