@easyedu/js-lsm-api 1.89.0 → 1.91.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 +28 -0
- package/README.md +24 -2
- package/dist/apis/ContentLibraryApi.d.ts +19 -0
- package/dist/apis/ContentLibraryApi.js +47 -0
- package/dist/apis/PlayerApi.d.ts +187 -0
- package/dist/apis/PlayerApi.js +401 -1
- package/dist/esm/apis/ContentLibraryApi.d.ts +19 -0
- package/dist/esm/apis/ContentLibraryApi.js +47 -0
- package/dist/esm/apis/PlayerApi.d.ts +187 -0
- package/dist/esm/apis/PlayerApi.js +400 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +7 -0
- package/dist/esm/models/GetCourseVersionItemSession.js +5 -0
- package/dist/esm/models/GetResourceSession.d.ts +191 -0
- package/dist/esm/models/GetResourceSession.js +128 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +76 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.js +69 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.js +76 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsResource.js +56 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.js +59 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsUser.js +47 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
- package/dist/esm/models/GetResourceSessionDiagnosticsVersion.js +67 -0
- package/dist/esm/models/GetResourceSessionList.d.ts +57 -0
- package/dist/esm/models/GetResourceSessionList.js +60 -0
- package/dist/esm/models/GetResourceSessionScormApiLogs.d.ts +57 -0
- package/dist/esm/models/GetResourceSessionScormApiLogs.js +60 -0
- package/dist/esm/models/GetResourceSessionScormData.d.ts +77 -0
- package/dist/esm/models/GetResourceSessionScormData.js +66 -0
- package/dist/esm/models/GetResourceSessionScormDataActivity.d.ts +44 -0
- package/dist/esm/models/GetResourceSessionScormDataActivity.js +45 -0
- package/dist/esm/models/PostResourceVersionSession.d.ts +32 -0
- package/dist/esm/models/PostResourceVersionSession.js +41 -0
- package/dist/esm/models/ResourceSessionEnvironment.d.ts +25 -0
- package/dist/esm/models/ResourceSessionEnvironment.js +43 -0
- package/dist/esm/models/ResourceSessionScormApiLogItem.d.ts +79 -0
- package/dist/esm/models/ResourceSessionScormApiLogItem.js +73 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +7 -0
- package/dist/models/GetCourseVersionItemSession.js +5 -0
- package/dist/models/GetResourceSession.d.ts +191 -0
- package/dist/models/GetResourceSession.js +135 -0
- package/dist/models/GetResourceSessionDiagnostics.d.ts +76 -0
- package/dist/models/GetResourceSessionDiagnostics.js +76 -0
- package/dist/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
- package/dist/models/GetResourceSessionDiagnosticsCourseContext.js +83 -0
- package/dist/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
- package/dist/models/GetResourceSessionDiagnosticsResource.js +63 -0
- package/dist/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
- package/dist/models/GetResourceSessionDiagnosticsScormSummary.js +66 -0
- package/dist/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
- package/dist/models/GetResourceSessionDiagnosticsUser.js +54 -0
- package/dist/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
- package/dist/models/GetResourceSessionDiagnosticsVersion.js +74 -0
- package/dist/models/GetResourceSessionList.d.ts +57 -0
- package/dist/models/GetResourceSessionList.js +67 -0
- package/dist/models/GetResourceSessionScormApiLogs.d.ts +57 -0
- package/dist/models/GetResourceSessionScormApiLogs.js +67 -0
- package/dist/models/GetResourceSessionScormData.d.ts +77 -0
- package/dist/models/GetResourceSessionScormData.js +73 -0
- package/dist/models/GetResourceSessionScormDataActivity.d.ts +44 -0
- package/dist/models/GetResourceSessionScormDataActivity.js +52 -0
- package/dist/models/PostResourceVersionSession.d.ts +32 -0
- package/dist/models/PostResourceVersionSession.js +48 -0
- package/dist/models/ResourceSessionEnvironment.d.ts +25 -0
- package/dist/models/ResourceSessionEnvironment.js +51 -0
- package/dist/models/ResourceSessionScormApiLogItem.d.ts +79 -0
- package/dist/models/ResourceSessionScormApiLogItem.js +81 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/docs/ContentLibraryApi.md +73 -0
- package/docs/GetCourseVersionItemSession.md +2 -0
- package/docs/GetResourceSession.md +87 -0
- package/docs/GetResourceSessionDiagnostics.md +47 -0
- package/docs/GetResourceSessionDiagnosticsCourseContext.md +50 -0
- package/docs/GetResourceSessionDiagnosticsResource.md +40 -0
- package/docs/GetResourceSessionDiagnosticsScormSummary.md +48 -0
- package/docs/GetResourceSessionDiagnosticsUser.md +36 -0
- package/docs/GetResourceSessionDiagnosticsVersion.md +52 -0
- package/docs/GetResourceSessionList.md +43 -0
- package/docs/GetResourceSessionScormApiLogs.md +43 -0
- package/docs/GetResourceSessionScormData.md +49 -0
- package/docs/GetResourceSessionScormDataActivity.md +38 -0
- package/docs/PlayerApi.md +547 -0
- package/docs/PostResourceVersionSession.md +35 -0
- package/docs/ResourceSessionEnvironment.md +33 -0
- package/docs/ResourceSessionScormApiLogItem.md +47 -0
- package/package.json +1 -1
- package/src/apis/ContentLibraryApi.ts +72 -0
- package/src/apis/PlayerApi.ts +558 -0
- package/src/models/GetCourseVersionItemSession.ts +16 -0
- package/src/models/GetResourceSession.ts +313 -0
- package/src/models/GetResourceSessionDiagnostics.ts +161 -0
- package/src/models/GetResourceSessionDiagnosticsCourseContext.ts +148 -0
- package/src/models/GetResourceSessionDiagnosticsResource.ts +103 -0
- package/src/models/GetResourceSessionDiagnosticsScormSummary.ts +123 -0
- package/src/models/GetResourceSessionDiagnosticsUser.ts +75 -0
- package/src/models/GetResourceSessionDiagnosticsVersion.ts +141 -0
- package/src/models/GetResourceSessionList.ts +110 -0
- package/src/models/GetResourceSessionScormApiLogs.ts +110 -0
- package/src/models/GetResourceSessionScormData.ts +134 -0
- package/src/models/GetResourceSessionScormDataActivity.ts +81 -0
- package/src/models/PostResourceVersionSession.ts +65 -0
- package/src/models/ResourceSessionEnvironment.ts +53 -0
- package/src/models/ResourceSessionScormApiLogItem.ts +132 -0
- package/src/models/index.ts +14 -0
|
@@ -18,6 +18,7 @@ exports.GetCourseVersionItemSessionFromJSON = GetCourseVersionItemSessionFromJSO
|
|
|
18
18
|
exports.GetCourseVersionItemSessionFromJSONTyped = GetCourseVersionItemSessionFromJSONTyped;
|
|
19
19
|
exports.GetCourseVersionItemSessionToJSON = GetCourseVersionItemSessionToJSON;
|
|
20
20
|
exports.GetCourseVersionItemSessionToJSONTyped = GetCourseVersionItemSessionToJSONTyped;
|
|
21
|
+
const ResourceSessionEnvironment_1 = require("./ResourceSessionEnvironment");
|
|
21
22
|
const ResourceType_1 = require("./ResourceType");
|
|
22
23
|
const ContentLaunchMode_1 = require("./ContentLaunchMode");
|
|
23
24
|
/**
|
|
@@ -26,6 +27,8 @@ const ContentLaunchMode_1 = require("./ContentLaunchMode");
|
|
|
26
27
|
function instanceOfGetCourseVersionItemSession(value) {
|
|
27
28
|
if (!('id' in value) || value['id'] === undefined)
|
|
28
29
|
return false;
|
|
30
|
+
if (!('environment' in value) || value['environment'] === undefined)
|
|
31
|
+
return false;
|
|
29
32
|
if (!('courseVersionId' in value) || value['courseVersionId'] === undefined)
|
|
30
33
|
return false;
|
|
31
34
|
if (!('itemId' in value) || value['itemId'] === undefined)
|
|
@@ -63,6 +66,7 @@ function GetCourseVersionItemSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
66
|
}
|
|
64
67
|
return {
|
|
65
68
|
'id': json['id'],
|
|
69
|
+
'environment': (0, ResourceSessionEnvironment_1.ResourceSessionEnvironmentFromJSON)(json['environment']),
|
|
66
70
|
'courseVersionId': json['course_version_id'],
|
|
67
71
|
'itemId': json['item_id'],
|
|
68
72
|
'contentLibraryItemId': json['content_library_item_id'],
|
|
@@ -89,6 +93,7 @@ function GetCourseVersionItemSessionToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
89
93
|
}
|
|
90
94
|
return {
|
|
91
95
|
'id': value['id'],
|
|
96
|
+
'environment': (0, ResourceSessionEnvironment_1.ResourceSessionEnvironmentToJSON)(value['environment']),
|
|
92
97
|
'course_version_id': value['courseVersionId'],
|
|
93
98
|
'item_id': value['itemId'],
|
|
94
99
|
'content_library_item_id': value['contentLibraryItemId'],
|
|
@@ -0,0 +1,191 @@
|
|
|
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 { ResourceSessionEnvironment } from './ResourceSessionEnvironment';
|
|
13
|
+
import type { ResourceType } from './ResourceType';
|
|
14
|
+
import type { ContentLaunchMode } from './ContentLaunchMode';
|
|
15
|
+
/**
|
|
16
|
+
* A user-owned session pinned to an immutable Content Library resource version.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface GetResourceSession
|
|
19
|
+
*/
|
|
20
|
+
export interface GetResourceSession {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof GetResourceSession
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof GetResourceSession
|
|
31
|
+
*/
|
|
32
|
+
userId: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof GetResourceSession
|
|
37
|
+
*/
|
|
38
|
+
userName: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ResourceSessionEnvironment}
|
|
42
|
+
* @memberof GetResourceSession
|
|
43
|
+
*/
|
|
44
|
+
environment: ResourceSessionEnvironment;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof GetResourceSession
|
|
49
|
+
*/
|
|
50
|
+
courseId?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof GetResourceSession
|
|
55
|
+
*/
|
|
56
|
+
courseName?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof GetResourceSession
|
|
61
|
+
*/
|
|
62
|
+
courseVersionId?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof GetResourceSession
|
|
67
|
+
*/
|
|
68
|
+
courseVersionNumber?: number | null;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof GetResourceSession
|
|
73
|
+
*/
|
|
74
|
+
itemId?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof GetResourceSession
|
|
79
|
+
*/
|
|
80
|
+
contentLibraryItemId: string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof GetResourceSession
|
|
85
|
+
*/
|
|
86
|
+
contentLibraryVersionId: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {number}
|
|
90
|
+
* @memberof GetResourceSession
|
|
91
|
+
*/
|
|
92
|
+
contentLibraryVersionNumber: number;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof GetResourceSession
|
|
97
|
+
*/
|
|
98
|
+
contentLibraryVersionStatus: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof GetResourceSession
|
|
103
|
+
*/
|
|
104
|
+
resourceName: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {ResourceType}
|
|
108
|
+
* @memberof GetResourceSession
|
|
109
|
+
*/
|
|
110
|
+
resourceType: ResourceType;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {ContentLaunchMode}
|
|
114
|
+
* @memberof GetResourceSession
|
|
115
|
+
*/
|
|
116
|
+
launchMode?: ContentLaunchMode | null;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof GetResourceSession
|
|
121
|
+
*/
|
|
122
|
+
launchUrl?: string | null;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof GetResourceSession
|
|
127
|
+
*/
|
|
128
|
+
attemptNumber: number;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @memberof GetResourceSession
|
|
133
|
+
*/
|
|
134
|
+
isCurrent: boolean;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof GetResourceSession
|
|
139
|
+
*/
|
|
140
|
+
completionStatus: string;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof GetResourceSession
|
|
145
|
+
*/
|
|
146
|
+
gradeStatus: string;
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
* @type {number}
|
|
150
|
+
* @memberof GetResourceSession
|
|
151
|
+
*/
|
|
152
|
+
scoreRaw?: number | null;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @type {number}
|
|
156
|
+
* @memberof GetResourceSession
|
|
157
|
+
*/
|
|
158
|
+
initializedAt?: number | null;
|
|
159
|
+
/**
|
|
160
|
+
*
|
|
161
|
+
* @type {number}
|
|
162
|
+
* @memberof GetResourceSession
|
|
163
|
+
*/
|
|
164
|
+
terminatedAt?: number | null;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @type {number}
|
|
168
|
+
* @memberof GetResourceSession
|
|
169
|
+
*/
|
|
170
|
+
createdAt: number;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @type {number}
|
|
174
|
+
* @memberof GetResourceSession
|
|
175
|
+
*/
|
|
176
|
+
updatedAt: number;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {number}
|
|
180
|
+
* @memberof GetResourceSession
|
|
181
|
+
*/
|
|
182
|
+
completedAt?: number | null;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Check if a given object implements the GetResourceSession interface.
|
|
186
|
+
*/
|
|
187
|
+
export declare function instanceOfGetResourceSession(value: object): value is GetResourceSession;
|
|
188
|
+
export declare function GetResourceSessionFromJSON(json: any): GetResourceSession;
|
|
189
|
+
export declare function GetResourceSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSession;
|
|
190
|
+
export declare function GetResourceSessionToJSON(json: any): GetResourceSession;
|
|
191
|
+
export declare function GetResourceSessionToJSONTyped(value?: GetResourceSession | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,135 @@
|
|
|
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.instanceOfGetResourceSession = instanceOfGetResourceSession;
|
|
17
|
+
exports.GetResourceSessionFromJSON = GetResourceSessionFromJSON;
|
|
18
|
+
exports.GetResourceSessionFromJSONTyped = GetResourceSessionFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionToJSON = GetResourceSessionToJSON;
|
|
20
|
+
exports.GetResourceSessionToJSONTyped = GetResourceSessionToJSONTyped;
|
|
21
|
+
const ResourceSessionEnvironment_1 = require("./ResourceSessionEnvironment");
|
|
22
|
+
const ResourceType_1 = require("./ResourceType");
|
|
23
|
+
const ContentLaunchMode_1 = require("./ContentLaunchMode");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the GetResourceSession interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfGetResourceSession(value) {
|
|
28
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('userName' in value) || value['userName'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('environment' in value) || value['environment'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('contentLibraryItemId' in value) || value['contentLibraryItemId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('contentLibraryVersionId' in value) || value['contentLibraryVersionId'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('contentLibraryVersionNumber' in value) || value['contentLibraryVersionNumber'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('contentLibraryVersionStatus' in value) || value['contentLibraryVersionStatus'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('resourceName' in value) || value['resourceName'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('attemptNumber' in value) || value['attemptNumber'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('isCurrent' in value) || value['isCurrent'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('completionStatus' in value) || value['completionStatus'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
if (!('gradeStatus' in value) || value['gradeStatus'] === undefined)
|
|
55
|
+
return false;
|
|
56
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
57
|
+
return false;
|
|
58
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
function GetResourceSessionFromJSON(json) {
|
|
63
|
+
return GetResourceSessionFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
function GetResourceSessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': json['id'],
|
|
71
|
+
'userId': json['user_id'],
|
|
72
|
+
'userName': json['user_name'],
|
|
73
|
+
'environment': (0, ResourceSessionEnvironment_1.ResourceSessionEnvironmentFromJSON)(json['environment']),
|
|
74
|
+
'courseId': json['course_id'] == null ? undefined : json['course_id'],
|
|
75
|
+
'courseName': json['course_name'] == null ? undefined : json['course_name'],
|
|
76
|
+
'courseVersionId': json['course_version_id'] == null ? undefined : json['course_version_id'],
|
|
77
|
+
'courseVersionNumber': json['course_version_number'] == null ? undefined : json['course_version_number'],
|
|
78
|
+
'itemId': json['item_id'] == null ? undefined : json['item_id'],
|
|
79
|
+
'contentLibraryItemId': json['content_library_item_id'],
|
|
80
|
+
'contentLibraryVersionId': json['content_library_version_id'],
|
|
81
|
+
'contentLibraryVersionNumber': json['content_library_version_number'],
|
|
82
|
+
'contentLibraryVersionStatus': json['content_library_version_status'],
|
|
83
|
+
'resourceName': json['resource_name'],
|
|
84
|
+
'resourceType': (0, ResourceType_1.ResourceTypeFromJSON)(json['resource_type']),
|
|
85
|
+
'launchMode': json['launch_mode'] == null ? undefined : (0, ContentLaunchMode_1.ContentLaunchModeFromJSON)(json['launch_mode']),
|
|
86
|
+
'launchUrl': json['launch_url'] == null ? undefined : json['launch_url'],
|
|
87
|
+
'attemptNumber': json['attempt_number'],
|
|
88
|
+
'isCurrent': json['is_current'],
|
|
89
|
+
'completionStatus': json['completion_status'],
|
|
90
|
+
'gradeStatus': json['grade_status'],
|
|
91
|
+
'scoreRaw': json['score_raw'] == null ? undefined : json['score_raw'],
|
|
92
|
+
'initializedAt': json['initialized_at'] == null ? undefined : json['initialized_at'],
|
|
93
|
+
'terminatedAt': json['terminated_at'] == null ? undefined : json['terminated_at'],
|
|
94
|
+
'createdAt': json['created_at'],
|
|
95
|
+
'updatedAt': json['updated_at'],
|
|
96
|
+
'completedAt': json['completed_at'] == null ? undefined : json['completed_at'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
function GetResourceSessionToJSON(json) {
|
|
100
|
+
return GetResourceSessionToJSONTyped(json, false);
|
|
101
|
+
}
|
|
102
|
+
function GetResourceSessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
103
|
+
if (value == null) {
|
|
104
|
+
return value;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
'id': value['id'],
|
|
108
|
+
'user_id': value['userId'],
|
|
109
|
+
'user_name': value['userName'],
|
|
110
|
+
'environment': (0, ResourceSessionEnvironment_1.ResourceSessionEnvironmentToJSON)(value['environment']),
|
|
111
|
+
'course_id': value['courseId'],
|
|
112
|
+
'course_name': value['courseName'],
|
|
113
|
+
'course_version_id': value['courseVersionId'],
|
|
114
|
+
'course_version_number': value['courseVersionNumber'],
|
|
115
|
+
'item_id': value['itemId'],
|
|
116
|
+
'content_library_item_id': value['contentLibraryItemId'],
|
|
117
|
+
'content_library_version_id': value['contentLibraryVersionId'],
|
|
118
|
+
'content_library_version_number': value['contentLibraryVersionNumber'],
|
|
119
|
+
'content_library_version_status': value['contentLibraryVersionStatus'],
|
|
120
|
+
'resource_name': value['resourceName'],
|
|
121
|
+
'resource_type': (0, ResourceType_1.ResourceTypeToJSON)(value['resourceType']),
|
|
122
|
+
'launch_mode': (0, ContentLaunchMode_1.ContentLaunchModeToJSON)(value['launchMode']),
|
|
123
|
+
'launch_url': value['launchUrl'],
|
|
124
|
+
'attempt_number': value['attemptNumber'],
|
|
125
|
+
'is_current': value['isCurrent'],
|
|
126
|
+
'completion_status': value['completionStatus'],
|
|
127
|
+
'grade_status': value['gradeStatus'],
|
|
128
|
+
'score_raw': value['scoreRaw'],
|
|
129
|
+
'initialized_at': value['initializedAt'],
|
|
130
|
+
'terminated_at': value['terminatedAt'],
|
|
131
|
+
'created_at': value['createdAt'],
|
|
132
|
+
'updated_at': value['updatedAt'],
|
|
133
|
+
'completed_at': value['completedAt'],
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { GetResourceSessionDiagnosticsResource } from './GetResourceSessionDiagnosticsResource';
|
|
13
|
+
import type { GetResourceSessionDiagnosticsScormSummary } from './GetResourceSessionDiagnosticsScormSummary';
|
|
14
|
+
import type { GetResourceSessionDiagnosticsUser } from './GetResourceSessionDiagnosticsUser';
|
|
15
|
+
import type { GetResourceSession } from './GetResourceSession';
|
|
16
|
+
import type { GetResourceSessionDiagnosticsCourseContext } from './GetResourceSessionDiagnosticsCourseContext';
|
|
17
|
+
import type { GetResourceSessionDiagnosticsVersion } from './GetResourceSessionDiagnosticsVersion';
|
|
18
|
+
/**
|
|
19
|
+
* Administrator diagnostics for a resource session and its exact resource-version pin.
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetResourceSessionDiagnostics
|
|
22
|
+
*/
|
|
23
|
+
export interface GetResourceSessionDiagnostics {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetResourceSession}
|
|
27
|
+
* @memberof GetResourceSessionDiagnostics
|
|
28
|
+
*/
|
|
29
|
+
session: GetResourceSession;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: any; }}
|
|
33
|
+
* @memberof GetResourceSessionDiagnostics
|
|
34
|
+
*/
|
|
35
|
+
sessionData: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {GetResourceSessionDiagnosticsUser}
|
|
41
|
+
* @memberof GetResourceSessionDiagnostics
|
|
42
|
+
*/
|
|
43
|
+
user: GetResourceSessionDiagnosticsUser;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {GetResourceSessionDiagnosticsResource}
|
|
47
|
+
* @memberof GetResourceSessionDiagnostics
|
|
48
|
+
*/
|
|
49
|
+
resource: GetResourceSessionDiagnosticsResource;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {GetResourceSessionDiagnosticsVersion}
|
|
53
|
+
* @memberof GetResourceSessionDiagnostics
|
|
54
|
+
*/
|
|
55
|
+
version: GetResourceSessionDiagnosticsVersion;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GetResourceSessionDiagnosticsCourseContext}
|
|
59
|
+
* @memberof GetResourceSessionDiagnostics
|
|
60
|
+
*/
|
|
61
|
+
courseContext?: GetResourceSessionDiagnosticsCourseContext | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {GetResourceSessionDiagnosticsScormSummary}
|
|
65
|
+
* @memberof GetResourceSessionDiagnostics
|
|
66
|
+
*/
|
|
67
|
+
scormSummary?: GetResourceSessionDiagnosticsScormSummary | null;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the GetResourceSessionDiagnostics interface.
|
|
71
|
+
*/
|
|
72
|
+
export declare function instanceOfGetResourceSessionDiagnostics(value: object): value is GetResourceSessionDiagnostics;
|
|
73
|
+
export declare function GetResourceSessionDiagnosticsFromJSON(json: any): GetResourceSessionDiagnostics;
|
|
74
|
+
export declare function GetResourceSessionDiagnosticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnostics;
|
|
75
|
+
export declare function GetResourceSessionDiagnosticsToJSON(json: any): GetResourceSessionDiagnostics;
|
|
76
|
+
export declare function GetResourceSessionDiagnosticsToJSONTyped(value?: GetResourceSessionDiagnostics | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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.instanceOfGetResourceSessionDiagnostics = instanceOfGetResourceSessionDiagnostics;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsFromJSON = GetResourceSessionDiagnosticsFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsFromJSONTyped = GetResourceSessionDiagnosticsFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsToJSON = GetResourceSessionDiagnosticsToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsToJSONTyped = GetResourceSessionDiagnosticsToJSONTyped;
|
|
21
|
+
const GetResourceSessionDiagnosticsResource_1 = require("./GetResourceSessionDiagnosticsResource");
|
|
22
|
+
const GetResourceSessionDiagnosticsScormSummary_1 = require("./GetResourceSessionDiagnosticsScormSummary");
|
|
23
|
+
const GetResourceSessionDiagnosticsUser_1 = require("./GetResourceSessionDiagnosticsUser");
|
|
24
|
+
const GetResourceSession_1 = require("./GetResourceSession");
|
|
25
|
+
const GetResourceSessionDiagnosticsCourseContext_1 = require("./GetResourceSessionDiagnosticsCourseContext");
|
|
26
|
+
const GetResourceSessionDiagnosticsVersion_1 = require("./GetResourceSessionDiagnosticsVersion");
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the GetResourceSessionDiagnostics interface.
|
|
29
|
+
*/
|
|
30
|
+
function instanceOfGetResourceSessionDiagnostics(value) {
|
|
31
|
+
if (!('session' in value) || value['session'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('sessionData' in value) || value['sessionData'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('resource' in value) || value['resource'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
function GetResourceSessionDiagnosticsFromJSON(json) {
|
|
44
|
+
return GetResourceSessionDiagnosticsFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function GetResourceSessionDiagnosticsFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
if (json == null) {
|
|
48
|
+
return json;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'session': (0, GetResourceSession_1.GetResourceSessionFromJSON)(json['session']),
|
|
52
|
+
'sessionData': json['session_data'],
|
|
53
|
+
'user': (0, GetResourceSessionDiagnosticsUser_1.GetResourceSessionDiagnosticsUserFromJSON)(json['user']),
|
|
54
|
+
'resource': (0, GetResourceSessionDiagnosticsResource_1.GetResourceSessionDiagnosticsResourceFromJSON)(json['resource']),
|
|
55
|
+
'version': (0, GetResourceSessionDiagnosticsVersion_1.GetResourceSessionDiagnosticsVersionFromJSON)(json['version']),
|
|
56
|
+
'courseContext': json['course_context'] == null ? undefined : (0, GetResourceSessionDiagnosticsCourseContext_1.GetResourceSessionDiagnosticsCourseContextFromJSON)(json['course_context']),
|
|
57
|
+
'scormSummary': json['scorm_summary'] == null ? undefined : (0, GetResourceSessionDiagnosticsScormSummary_1.GetResourceSessionDiagnosticsScormSummaryFromJSON)(json['scorm_summary']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function GetResourceSessionDiagnosticsToJSON(json) {
|
|
61
|
+
return GetResourceSessionDiagnosticsToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function GetResourceSessionDiagnosticsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'session': (0, GetResourceSession_1.GetResourceSessionToJSON)(value['session']),
|
|
69
|
+
'session_data': value['sessionData'],
|
|
70
|
+
'user': (0, GetResourceSessionDiagnosticsUser_1.GetResourceSessionDiagnosticsUserToJSON)(value['user']),
|
|
71
|
+
'resource': (0, GetResourceSessionDiagnosticsResource_1.GetResourceSessionDiagnosticsResourceToJSON)(value['resource']),
|
|
72
|
+
'version': (0, GetResourceSessionDiagnosticsVersion_1.GetResourceSessionDiagnosticsVersionToJSON)(value['version']),
|
|
73
|
+
'course_context': (0, GetResourceSessionDiagnosticsCourseContext_1.GetResourceSessionDiagnosticsCourseContextToJSON)(value['courseContext']),
|
|
74
|
+
'scorm_summary': (0, GetResourceSessionDiagnosticsScormSummary_1.GetResourceSessionDiagnosticsScormSummaryToJSON)(value['scormSummary']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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 GetResourceSessionDiagnosticsCourseContext
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionDiagnosticsCourseContext {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
23
|
+
*/
|
|
24
|
+
courseId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
29
|
+
*/
|
|
30
|
+
courseName: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
35
|
+
*/
|
|
36
|
+
courseVersionId: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
41
|
+
*/
|
|
42
|
+
courseVersionNumber: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
47
|
+
*/
|
|
48
|
+
itemId: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
53
|
+
*/
|
|
54
|
+
displayName: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {ContentLaunchMode}
|
|
58
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
59
|
+
*/
|
|
60
|
+
launchMode: ContentLaunchMode;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
65
|
+
*/
|
|
66
|
+
maxAttempts: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof GetResourceSessionDiagnosticsCourseContext
|
|
71
|
+
*/
|
|
72
|
+
scoreRollupStrategy: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
|
|
76
|
+
*/
|
|
77
|
+
export declare function instanceOfGetResourceSessionDiagnosticsCourseContext(value: object): value is GetResourceSessionDiagnosticsCourseContext;
|
|
78
|
+
export declare function GetResourceSessionDiagnosticsCourseContextFromJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
|
|
79
|
+
export declare function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsCourseContext;
|
|
80
|
+
export declare function GetResourceSessionDiagnosticsCourseContextToJSON(json: any): GetResourceSessionDiagnosticsCourseContext;
|
|
81
|
+
export declare function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value?: GetResourceSessionDiagnosticsCourseContext | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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.instanceOfGetResourceSessionDiagnosticsCourseContext = instanceOfGetResourceSessionDiagnosticsCourseContext;
|
|
17
|
+
exports.GetResourceSessionDiagnosticsCourseContextFromJSON = GetResourceSessionDiagnosticsCourseContextFromJSON;
|
|
18
|
+
exports.GetResourceSessionDiagnosticsCourseContextFromJSONTyped = GetResourceSessionDiagnosticsCourseContextFromJSONTyped;
|
|
19
|
+
exports.GetResourceSessionDiagnosticsCourseContextToJSON = GetResourceSessionDiagnosticsCourseContextToJSON;
|
|
20
|
+
exports.GetResourceSessionDiagnosticsCourseContextToJSONTyped = GetResourceSessionDiagnosticsCourseContextToJSONTyped;
|
|
21
|
+
const ContentLaunchMode_1 = require("./ContentLaunchMode");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsCourseContext interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetResourceSessionDiagnosticsCourseContext(value) {
|
|
26
|
+
if (!('courseId' in value) || value['courseId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('courseName' in value) || value['courseName'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('courseVersionId' in value) || value['courseVersionId'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('courseVersionNumber' in value) || value['courseVersionNumber'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('itemId' in value) || value['itemId'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('displayName' in value) || value['displayName'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('launchMode' in value) || value['launchMode'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('maxAttempts' in value) || value['maxAttempts'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('scoreRollupStrategy' in value) || value['scoreRollupStrategy'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function GetResourceSessionDiagnosticsCourseContextFromJSON(json) {
|
|
47
|
+
return GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function GetResourceSessionDiagnosticsCourseContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'courseId': json['course_id'],
|
|
55
|
+
'courseName': json['course_name'],
|
|
56
|
+
'courseVersionId': json['course_version_id'],
|
|
57
|
+
'courseVersionNumber': json['course_version_number'],
|
|
58
|
+
'itemId': json['item_id'],
|
|
59
|
+
'displayName': json['display_name'],
|
|
60
|
+
'launchMode': (0, ContentLaunchMode_1.ContentLaunchModeFromJSON)(json['launch_mode']),
|
|
61
|
+
'maxAttempts': json['max_attempts'],
|
|
62
|
+
'scoreRollupStrategy': json['score_rollup_strategy'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
function GetResourceSessionDiagnosticsCourseContextToJSON(json) {
|
|
66
|
+
return GetResourceSessionDiagnosticsCourseContextToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function GetResourceSessionDiagnosticsCourseContextToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'course_id': value['courseId'],
|
|
74
|
+
'course_name': value['courseName'],
|
|
75
|
+
'course_version_id': value['courseVersionId'],
|
|
76
|
+
'course_version_number': value['courseVersionNumber'],
|
|
77
|
+
'item_id': value['itemId'],
|
|
78
|
+
'display_name': value['displayName'],
|
|
79
|
+
'launch_mode': (0, ContentLaunchMode_1.ContentLaunchModeToJSON)(value['launchMode']),
|
|
80
|
+
'max_attempts': value['maxAttempts'],
|
|
81
|
+
'score_rollup_strategy': value['scoreRollupStrategy'],
|
|
82
|
+
};
|
|
83
|
+
}
|