@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
|
@@ -0,0 +1,51 @@
|
|
|
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 { ResourceType } from './ResourceType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetResourceSessionDiagnosticsResource
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionDiagnosticsResource {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ResourceType}
|
|
40
|
+
* @memberof GetResourceSessionDiagnosticsResource
|
|
41
|
+
*/
|
|
42
|
+
resourceType: ResourceType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfGetResourceSessionDiagnosticsResource(value: object): value is GetResourceSessionDiagnosticsResource;
|
|
48
|
+
export declare function GetResourceSessionDiagnosticsResourceFromJSON(json: any): GetResourceSessionDiagnosticsResource;
|
|
49
|
+
export declare function GetResourceSessionDiagnosticsResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsResource;
|
|
50
|
+
export declare function GetResourceSessionDiagnosticsResourceToJSON(json: any): GetResourceSessionDiagnosticsResource;
|
|
51
|
+
export declare function GetResourceSessionDiagnosticsResourceToJSONTyped(value?: GetResourceSessionDiagnosticsResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ResourceTypeFromJSON, ResourceTypeToJSON, } from './ResourceType';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsResource interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetResourceSessionDiagnosticsResource(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('resourceType' in value) || value['resourceType'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function GetResourceSessionDiagnosticsResourceFromJSON(json) {
|
|
30
|
+
return GetResourceSessionDiagnosticsResourceFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function GetResourceSessionDiagnosticsResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'description': json['description'],
|
|
40
|
+
'resourceType': ResourceTypeFromJSON(json['resource_type']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function GetResourceSessionDiagnosticsResourceToJSON(json) {
|
|
44
|
+
return GetResourceSessionDiagnosticsResourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function GetResourceSessionDiagnosticsResourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
'description': value['description'],
|
|
54
|
+
'resource_type': ResourceTypeToJSON(value['resourceType']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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 GetResourceSessionDiagnosticsScormSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface GetResourceSessionDiagnosticsScormSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
22
|
+
*/
|
|
23
|
+
schemaVersion?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
28
|
+
*/
|
|
29
|
+
manifestIdentifier?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
34
|
+
*/
|
|
35
|
+
organizationIdentifier?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
40
|
+
*/
|
|
41
|
+
organizationTitle?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
46
|
+
*/
|
|
47
|
+
activityIdentifier?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
52
|
+
*/
|
|
53
|
+
activityTitle?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
58
|
+
*/
|
|
59
|
+
cmiElementCount: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof GetResourceSessionDiagnosticsScormSummary
|
|
64
|
+
*/
|
|
65
|
+
apiLogCount: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsScormSummary interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfGetResourceSessionDiagnosticsScormSummary(value: object): value is GetResourceSessionDiagnosticsScormSummary;
|
|
71
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryFromJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
|
|
72
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsScormSummary;
|
|
73
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryToJSON(json: any): GetResourceSessionDiagnosticsScormSummary;
|
|
74
|
+
export declare function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value?: GetResourceSessionDiagnosticsScormSummary | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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 GetResourceSessionDiagnosticsScormSummary interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetResourceSessionDiagnosticsScormSummary(value) {
|
|
18
|
+
if (!('cmiElementCount' in value) || value['cmiElementCount'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('apiLogCount' in value) || value['apiLogCount'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GetResourceSessionDiagnosticsScormSummaryFromJSON(json) {
|
|
25
|
+
return GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GetResourceSessionDiagnosticsScormSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
|
|
33
|
+
'manifestIdentifier': json['manifest_identifier'] == null ? undefined : json['manifest_identifier'],
|
|
34
|
+
'organizationIdentifier': json['organization_identifier'] == null ? undefined : json['organization_identifier'],
|
|
35
|
+
'organizationTitle': json['organization_title'] == null ? undefined : json['organization_title'],
|
|
36
|
+
'activityIdentifier': json['activity_identifier'] == null ? undefined : json['activity_identifier'],
|
|
37
|
+
'activityTitle': json['activity_title'] == null ? undefined : json['activity_title'],
|
|
38
|
+
'cmiElementCount': json['cmi_element_count'],
|
|
39
|
+
'apiLogCount': json['api_log_count'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function GetResourceSessionDiagnosticsScormSummaryToJSON(json) {
|
|
43
|
+
return GetResourceSessionDiagnosticsScormSummaryToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function GetResourceSessionDiagnosticsScormSummaryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'schema_version': value['schemaVersion'],
|
|
51
|
+
'manifest_identifier': value['manifestIdentifier'],
|
|
52
|
+
'organization_identifier': value['organizationIdentifier'],
|
|
53
|
+
'organization_title': value['organizationTitle'],
|
|
54
|
+
'activity_identifier': value['activityIdentifier'],
|
|
55
|
+
'activity_title': value['activityTitle'],
|
|
56
|
+
'cmi_element_count': value['cmiElementCount'],
|
|
57
|
+
'api_log_count': value['apiLogCount'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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 GetResourceSessionDiagnosticsUser
|
|
16
|
+
*/
|
|
17
|
+
export interface GetResourceSessionDiagnosticsUser {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetResourceSessionDiagnosticsUser
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetResourceSessionDiagnosticsUser
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetResourceSessionDiagnosticsUser(value: object): value is GetResourceSessionDiagnosticsUser;
|
|
35
|
+
export declare function GetResourceSessionDiagnosticsUserFromJSON(json: any): GetResourceSessionDiagnosticsUser;
|
|
36
|
+
export declare function GetResourceSessionDiagnosticsUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsUser;
|
|
37
|
+
export declare function GetResourceSessionDiagnosticsUserToJSON(json: any): GetResourceSessionDiagnosticsUser;
|
|
38
|
+
export declare function GetResourceSessionDiagnosticsUserToJSONTyped(value?: GetResourceSessionDiagnosticsUser | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsUser interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetResourceSessionDiagnosticsUser(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function GetResourceSessionDiagnosticsUserFromJSON(json) {
|
|
25
|
+
return GetResourceSessionDiagnosticsUserFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GetResourceSessionDiagnosticsUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'id': json['id'],
|
|
33
|
+
'name': json['name'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function GetResourceSessionDiagnosticsUserToJSON(json) {
|
|
37
|
+
return GetResourceSessionDiagnosticsUserToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function GetResourceSessionDiagnosticsUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': value['id'],
|
|
45
|
+
'name': value['name'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 GetResourceSessionDiagnosticsVersion
|
|
16
|
+
*/
|
|
17
|
+
export interface GetResourceSessionDiagnosticsVersion {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
28
|
+
*/
|
|
29
|
+
versionNumber: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
34
|
+
*/
|
|
35
|
+
status: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
40
|
+
*/
|
|
41
|
+
changeNotes?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: any; }}
|
|
45
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
46
|
+
*/
|
|
47
|
+
metadata: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
54
|
+
*/
|
|
55
|
+
filename?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
60
|
+
*/
|
|
61
|
+
mimeType?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {number}
|
|
65
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
66
|
+
*/
|
|
67
|
+
fileSizeBytes?: number | null;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
72
|
+
*/
|
|
73
|
+
checksumSha256?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof GetResourceSessionDiagnosticsVersion
|
|
78
|
+
*/
|
|
79
|
+
linkUrl?: string | null;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Check if a given object implements the GetResourceSessionDiagnosticsVersion interface.
|
|
83
|
+
*/
|
|
84
|
+
export declare function instanceOfGetResourceSessionDiagnosticsVersion(value: object): value is GetResourceSessionDiagnosticsVersion;
|
|
85
|
+
export declare function GetResourceSessionDiagnosticsVersionFromJSON(json: any): GetResourceSessionDiagnosticsVersion;
|
|
86
|
+
export declare function GetResourceSessionDiagnosticsVersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionDiagnosticsVersion;
|
|
87
|
+
export declare function GetResourceSessionDiagnosticsVersionToJSON(json: any): GetResourceSessionDiagnosticsVersion;
|
|
88
|
+
export declare function GetResourceSessionDiagnosticsVersionToJSONTyped(value?: GetResourceSessionDiagnosticsVersion | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 GetResourceSessionDiagnosticsVersion interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetResourceSessionDiagnosticsVersion(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('versionNumber' in value) || value['versionNumber'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GetResourceSessionDiagnosticsVersionFromJSON(json) {
|
|
29
|
+
return GetResourceSessionDiagnosticsVersionFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GetResourceSessionDiagnosticsVersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'versionNumber': json['version_number'],
|
|
38
|
+
'status': json['status'],
|
|
39
|
+
'changeNotes': json['change_notes'] == null ? undefined : json['change_notes'],
|
|
40
|
+
'metadata': json['metadata'],
|
|
41
|
+
'filename': json['filename'] == null ? undefined : json['filename'],
|
|
42
|
+
'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
|
|
43
|
+
'fileSizeBytes': json['file_size_bytes'] == null ? undefined : json['file_size_bytes'],
|
|
44
|
+
'checksumSha256': json['checksum_sha256'] == null ? undefined : json['checksum_sha256'],
|
|
45
|
+
'linkUrl': json['link_url'] == null ? undefined : json['link_url'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function GetResourceSessionDiagnosticsVersionToJSON(json) {
|
|
49
|
+
return GetResourceSessionDiagnosticsVersionToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
export function GetResourceSessionDiagnosticsVersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': value['id'],
|
|
57
|
+
'version_number': value['versionNumber'],
|
|
58
|
+
'status': value['status'],
|
|
59
|
+
'change_notes': value['changeNotes'],
|
|
60
|
+
'metadata': value['metadata'],
|
|
61
|
+
'filename': value['filename'],
|
|
62
|
+
'mime_type': value['mimeType'],
|
|
63
|
+
'file_size_bytes': value['fileSizeBytes'],
|
|
64
|
+
'checksum_sha256': value['checksumSha256'],
|
|
65
|
+
'link_url': value['linkUrl'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { GetResourceSession } from './GetResourceSession';
|
|
13
|
+
/**
|
|
14
|
+
* A filtered page of resource sessions.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetResourceSessionList
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionList {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GetResourceSessionList
|
|
23
|
+
*/
|
|
24
|
+
page: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetResourceSessionList
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetResourceSessionList
|
|
35
|
+
*/
|
|
36
|
+
totalPages: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetResourceSessionList
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<GetResourceSession>}
|
|
46
|
+
* @memberof GetResourceSessionList
|
|
47
|
+
*/
|
|
48
|
+
items: Array<GetResourceSession>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GetResourceSessionList interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGetResourceSessionList(value: object): value is GetResourceSessionList;
|
|
54
|
+
export declare function GetResourceSessionListFromJSON(json: any): GetResourceSessionList;
|
|
55
|
+
export declare function GetResourceSessionListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionList;
|
|
56
|
+
export declare function GetResourceSessionListToJSON(json: any): GetResourceSessionList;
|
|
57
|
+
export declare function GetResourceSessionListToJSONTyped(value?: GetResourceSessionList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { GetResourceSessionFromJSON, GetResourceSessionToJSON, } from './GetResourceSession';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetResourceSessionList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetResourceSessionList(value) {
|
|
19
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function GetResourceSessionListFromJSON(json) {
|
|
32
|
+
return GetResourceSessionListFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function GetResourceSessionListFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'page': json['page'],
|
|
40
|
+
'pageSize': json['pageSize'],
|
|
41
|
+
'totalPages': json['totalPages'],
|
|
42
|
+
'totalItems': json['totalItems'],
|
|
43
|
+
'items': (json['items'].map(GetResourceSessionFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function GetResourceSessionListToJSON(json) {
|
|
47
|
+
return GetResourceSessionListToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function GetResourceSessionListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'page': value['page'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalPages': value['totalPages'],
|
|
57
|
+
'totalItems': value['totalItems'],
|
|
58
|
+
'items': (value['items'].map(GetResourceSessionToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ResourceSessionScormApiLogItem } from './ResourceSessionScormApiLogItem';
|
|
13
|
+
/**
|
|
14
|
+
* A filtered page of SCORM runtime calls for a resource session.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetResourceSessionScormApiLogs
|
|
17
|
+
*/
|
|
18
|
+
export interface GetResourceSessionScormApiLogs {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GetResourceSessionScormApiLogs
|
|
23
|
+
*/
|
|
24
|
+
page: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetResourceSessionScormApiLogs
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetResourceSessionScormApiLogs
|
|
35
|
+
*/
|
|
36
|
+
totalPages: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetResourceSessionScormApiLogs
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<ResourceSessionScormApiLogItem>}
|
|
46
|
+
* @memberof GetResourceSessionScormApiLogs
|
|
47
|
+
*/
|
|
48
|
+
items: Array<ResourceSessionScormApiLogItem>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GetResourceSessionScormApiLogs interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGetResourceSessionScormApiLogs(value: object): value is GetResourceSessionScormApiLogs;
|
|
54
|
+
export declare function GetResourceSessionScormApiLogsFromJSON(json: any): GetResourceSessionScormApiLogs;
|
|
55
|
+
export declare function GetResourceSessionScormApiLogsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetResourceSessionScormApiLogs;
|
|
56
|
+
export declare function GetResourceSessionScormApiLogsToJSON(json: any): GetResourceSessionScormApiLogs;
|
|
57
|
+
export declare function GetResourceSessionScormApiLogsToJSONTyped(value?: GetResourceSessionScormApiLogs | null, ignoreDiscriminator?: boolean): any;
|