@easyedu/js-lsm-api 1.90.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.
Files changed (80) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +15 -2
  3. package/dist/apis/PlayerApi.d.ts +115 -1
  4. package/dist/apis/PlayerApi.js +213 -1
  5. package/dist/esm/apis/PlayerApi.d.ts +115 -1
  6. package/dist/esm/apis/PlayerApi.js +212 -0
  7. package/dist/esm/models/GetResourceSession.d.ts +30 -0
  8. package/dist/esm/models/GetResourceSession.js +16 -0
  9. package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +76 -0
  10. package/dist/esm/models/GetResourceSessionDiagnostics.js +69 -0
  11. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  12. package/dist/esm/models/GetResourceSessionDiagnosticsCourseContext.js +76 -0
  13. package/dist/esm/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  14. package/dist/esm/models/GetResourceSessionDiagnosticsResource.js +56 -0
  15. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  16. package/dist/esm/models/GetResourceSessionDiagnosticsScormSummary.js +59 -0
  17. package/dist/esm/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  18. package/dist/esm/models/GetResourceSessionDiagnosticsUser.js +47 -0
  19. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  20. package/dist/esm/models/GetResourceSessionDiagnosticsVersion.js +67 -0
  21. package/dist/esm/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  22. package/dist/esm/models/GetResourceSessionScormApiLogs.js +60 -0
  23. package/dist/esm/models/GetResourceSessionScormData.d.ts +77 -0
  24. package/dist/esm/models/GetResourceSessionScormData.js +66 -0
  25. package/dist/esm/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  26. package/dist/esm/models/GetResourceSessionScormDataActivity.js +45 -0
  27. package/dist/esm/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  28. package/dist/esm/models/ResourceSessionScormApiLogItem.js +73 -0
  29. package/dist/esm/models/index.d.ts +10 -0
  30. package/dist/esm/models/index.js +10 -0
  31. package/dist/models/GetResourceSession.d.ts +30 -0
  32. package/dist/models/GetResourceSession.js +16 -0
  33. package/dist/models/GetResourceSessionDiagnostics.d.ts +76 -0
  34. package/dist/models/GetResourceSessionDiagnostics.js +76 -0
  35. package/dist/models/GetResourceSessionDiagnosticsCourseContext.d.ts +81 -0
  36. package/dist/models/GetResourceSessionDiagnosticsCourseContext.js +83 -0
  37. package/dist/models/GetResourceSessionDiagnosticsResource.d.ts +51 -0
  38. package/dist/models/GetResourceSessionDiagnosticsResource.js +63 -0
  39. package/dist/models/GetResourceSessionDiagnosticsScormSummary.d.ts +74 -0
  40. package/dist/models/GetResourceSessionDiagnosticsScormSummary.js +66 -0
  41. package/dist/models/GetResourceSessionDiagnosticsUser.d.ts +38 -0
  42. package/dist/models/GetResourceSessionDiagnosticsUser.js +54 -0
  43. package/dist/models/GetResourceSessionDiagnosticsVersion.d.ts +88 -0
  44. package/dist/models/GetResourceSessionDiagnosticsVersion.js +74 -0
  45. package/dist/models/GetResourceSessionScormApiLogs.d.ts +57 -0
  46. package/dist/models/GetResourceSessionScormApiLogs.js +67 -0
  47. package/dist/models/GetResourceSessionScormData.d.ts +77 -0
  48. package/dist/models/GetResourceSessionScormData.js +73 -0
  49. package/dist/models/GetResourceSessionScormDataActivity.d.ts +44 -0
  50. package/dist/models/GetResourceSessionScormDataActivity.js +52 -0
  51. package/dist/models/ResourceSessionScormApiLogItem.d.ts +79 -0
  52. package/dist/models/ResourceSessionScormApiLogItem.js +81 -0
  53. package/dist/models/index.d.ts +10 -0
  54. package/dist/models/index.js +10 -0
  55. package/docs/GetResourceSession.md +10 -0
  56. package/docs/GetResourceSessionDiagnostics.md +47 -0
  57. package/docs/GetResourceSessionDiagnosticsCourseContext.md +50 -0
  58. package/docs/GetResourceSessionDiagnosticsResource.md +40 -0
  59. package/docs/GetResourceSessionDiagnosticsScormSummary.md +48 -0
  60. package/docs/GetResourceSessionDiagnosticsUser.md +36 -0
  61. package/docs/GetResourceSessionDiagnosticsVersion.md +52 -0
  62. package/docs/GetResourceSessionScormApiLogs.md +43 -0
  63. package/docs/GetResourceSessionScormData.md +49 -0
  64. package/docs/GetResourceSessionScormDataActivity.md +38 -0
  65. package/docs/PlayerApi.md +254 -3
  66. package/docs/ResourceSessionScormApiLogItem.md +47 -0
  67. package/package.json +1 -1
  68. package/src/apis/PlayerApi.ts +298 -1
  69. package/src/models/GetResourceSession.ts +43 -0
  70. package/src/models/GetResourceSessionDiagnostics.ts +161 -0
  71. package/src/models/GetResourceSessionDiagnosticsCourseContext.ts +148 -0
  72. package/src/models/GetResourceSessionDiagnosticsResource.ts +103 -0
  73. package/src/models/GetResourceSessionDiagnosticsScormSummary.ts +123 -0
  74. package/src/models/GetResourceSessionDiagnosticsUser.ts +75 -0
  75. package/src/models/GetResourceSessionDiagnosticsVersion.ts +141 -0
  76. package/src/models/GetResourceSessionScormApiLogs.ts +110 -0
  77. package/src/models/GetResourceSessionScormData.ts +134 -0
  78. package/src/models/GetResourceSessionScormDataActivity.ts +81 -0
  79. package/src/models/ResourceSessionScormApiLogItem.ts +132 -0
  80. package/src/models/index.ts +10 -0
@@ -0,0 +1,81 @@
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.ResourceSessionScormApiLogItemMethodEnum = void 0;
17
+ exports.instanceOfResourceSessionScormApiLogItem = instanceOfResourceSessionScormApiLogItem;
18
+ exports.ResourceSessionScormApiLogItemFromJSON = ResourceSessionScormApiLogItemFromJSON;
19
+ exports.ResourceSessionScormApiLogItemFromJSONTyped = ResourceSessionScormApiLogItemFromJSONTyped;
20
+ exports.ResourceSessionScormApiLogItemToJSON = ResourceSessionScormApiLogItemToJSON;
21
+ exports.ResourceSessionScormApiLogItemToJSONTyped = ResourceSessionScormApiLogItemToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.ResourceSessionScormApiLogItemMethodEnum = {
26
+ Initialize: 'Initialize',
27
+ GetValue: 'GetValue',
28
+ SetValue: 'SetValue',
29
+ Commit: 'Commit',
30
+ Terminate: 'Terminate'
31
+ };
32
+ /**
33
+ * Check if a given object implements the ResourceSessionScormApiLogItem interface.
34
+ */
35
+ function instanceOfResourceSessionScormApiLogItem(value) {
36
+ if (!('id' in value) || value['id'] === undefined)
37
+ return false;
38
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
39
+ return false;
40
+ if (!('method' in value) || value['method'] === undefined)
41
+ return false;
42
+ if (!('valueTruncated' in value) || value['valueTruncated'] === undefined)
43
+ return false;
44
+ if (!('errorCode' in value) || value['errorCode'] === undefined)
45
+ return false;
46
+ return true;
47
+ }
48
+ function ResourceSessionScormApiLogItemFromJSON(json) {
49
+ return ResourceSessionScormApiLogItemFromJSONTyped(json, false);
50
+ }
51
+ function ResourceSessionScormApiLogItemFromJSONTyped(json, ignoreDiscriminator) {
52
+ if (json == null) {
53
+ return json;
54
+ }
55
+ return {
56
+ 'id': json['id'],
57
+ 'createdAt': json['created_at'],
58
+ 'method': json['method'],
59
+ 'element': json['element'] == null ? undefined : json['element'],
60
+ 'value': json['value'] == null ? undefined : json['value'],
61
+ 'valueTruncated': json['value_truncated'],
62
+ 'errorCode': json['error_code'],
63
+ };
64
+ }
65
+ function ResourceSessionScormApiLogItemToJSON(json) {
66
+ return ResourceSessionScormApiLogItemToJSONTyped(json, false);
67
+ }
68
+ function ResourceSessionScormApiLogItemToJSONTyped(value, ignoreDiscriminator = false) {
69
+ if (value == null) {
70
+ return value;
71
+ }
72
+ return {
73
+ 'id': value['id'],
74
+ 'created_at': value['createdAt'],
75
+ 'method': value['method'],
76
+ 'element': value['element'],
77
+ 'value': value['value'],
78
+ 'value_truncated': value['valueTruncated'],
79
+ 'error_code': value['errorCode'],
80
+ };
81
+ }
@@ -181,7 +181,16 @@ export * from './GetQuizStatistics';
181
181
  export * from './GetResource';
182
182
  export * from './GetResourceList';
183
183
  export * from './GetResourceSession';
184
+ export * from './GetResourceSessionDiagnostics';
185
+ export * from './GetResourceSessionDiagnosticsCourseContext';
186
+ export * from './GetResourceSessionDiagnosticsResource';
187
+ export * from './GetResourceSessionDiagnosticsScormSummary';
188
+ export * from './GetResourceSessionDiagnosticsUser';
189
+ export * from './GetResourceSessionDiagnosticsVersion';
184
190
  export * from './GetResourceSessionList';
191
+ export * from './GetResourceSessionScormApiLogs';
192
+ export * from './GetResourceSessionScormData';
193
+ export * from './GetResourceSessionScormDataActivity';
185
194
  export * from './GetResourceUsage';
186
195
  export * from './GetResourceUsageCoursesInner';
187
196
  export * from './GetResourceVersionUpload';
@@ -352,6 +361,7 @@ export * from './QuizContent';
352
361
  export * from './QuizContentAssignment';
353
362
  export * from './QuizContentSettings';
354
363
  export * from './ResourceSessionEnvironment';
364
+ export * from './ResourceSessionScormApiLogItem';
355
365
  export * from './ResourceType';
356
366
  export * from './RichTextAsset';
357
367
  export * from './RichTextDocument';
@@ -199,7 +199,16 @@ __exportStar(require("./GetQuizStatistics"), exports);
199
199
  __exportStar(require("./GetResource"), exports);
200
200
  __exportStar(require("./GetResourceList"), exports);
201
201
  __exportStar(require("./GetResourceSession"), exports);
202
+ __exportStar(require("./GetResourceSessionDiagnostics"), exports);
203
+ __exportStar(require("./GetResourceSessionDiagnosticsCourseContext"), exports);
204
+ __exportStar(require("./GetResourceSessionDiagnosticsResource"), exports);
205
+ __exportStar(require("./GetResourceSessionDiagnosticsScormSummary"), exports);
206
+ __exportStar(require("./GetResourceSessionDiagnosticsUser"), exports);
207
+ __exportStar(require("./GetResourceSessionDiagnosticsVersion"), exports);
202
208
  __exportStar(require("./GetResourceSessionList"), exports);
209
+ __exportStar(require("./GetResourceSessionScormApiLogs"), exports);
210
+ __exportStar(require("./GetResourceSessionScormData"), exports);
211
+ __exportStar(require("./GetResourceSessionScormDataActivity"), exports);
203
212
  __exportStar(require("./GetResourceUsage"), exports);
204
213
  __exportStar(require("./GetResourceUsageCoursesInner"), exports);
205
214
  __exportStar(require("./GetResourceVersionUpload"), exports);
@@ -370,6 +379,7 @@ __exportStar(require("./QuizContent"), exports);
370
379
  __exportStar(require("./QuizContentAssignment"), exports);
371
380
  __exportStar(require("./QuizContentSettings"), exports);
372
381
  __exportStar(require("./ResourceSessionEnvironment"), exports);
382
+ __exportStar(require("./ResourceSessionScormApiLogItem"), exports);
373
383
  __exportStar(require("./ResourceType"), exports);
374
384
  __exportStar(require("./RichTextAsset"), exports);
375
385
  __exportStar(require("./RichTextDocument"), exports);
@@ -9,12 +9,17 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `id` | string
11
11
  `userId` | string
12
+ `userName` | string
12
13
  `environment` | [ResourceSessionEnvironment](ResourceSessionEnvironment.md)
13
14
  `courseId` | string
15
+ `courseName` | string
14
16
  `courseVersionId` | string
17
+ `courseVersionNumber` | number
15
18
  `itemId` | string
16
19
  `contentLibraryItemId` | string
17
20
  `contentLibraryVersionId` | string
21
+ `contentLibraryVersionNumber` | number
22
+ `contentLibraryVersionStatus` | string
18
23
  `resourceName` | string
19
24
  `resourceType` | [ResourceType](ResourceType.md)
20
25
  `launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
@@ -39,12 +44,17 @@ import type { GetResourceSession } from '@easyedu/js-lsm-api'
39
44
  const example = {
40
45
  "id": null,
41
46
  "userId": null,
47
+ "userName": null,
42
48
  "environment": null,
43
49
  "courseId": null,
50
+ "courseName": null,
44
51
  "courseVersionId": null,
52
+ "courseVersionNumber": null,
45
53
  "itemId": null,
46
54
  "contentLibraryItemId": null,
47
55
  "contentLibraryVersionId": null,
56
+ "contentLibraryVersionNumber": null,
57
+ "contentLibraryVersionStatus": null,
48
58
  "resourceName": null,
49
59
  "resourceType": null,
50
60
  "launchMode": null,
@@ -0,0 +1,47 @@
1
+
2
+ # GetResourceSessionDiagnostics
3
+
4
+ Administrator diagnostics for a resource session and its exact resource-version pin.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `session` | [GetResourceSession](GetResourceSession.md)
11
+ `sessionData` | { [key: string]: any; }
12
+ `user` | [GetResourceSessionDiagnosticsUser](GetResourceSessionDiagnosticsUser.md)
13
+ `resource` | [GetResourceSessionDiagnosticsResource](GetResourceSessionDiagnosticsResource.md)
14
+ `version` | [GetResourceSessionDiagnosticsVersion](GetResourceSessionDiagnosticsVersion.md)
15
+ `courseContext` | [GetResourceSessionDiagnosticsCourseContext](GetResourceSessionDiagnosticsCourseContext.md)
16
+ `scormSummary` | [GetResourceSessionDiagnosticsScormSummary](GetResourceSessionDiagnosticsScormSummary.md)
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { GetResourceSessionDiagnostics } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "session": null,
26
+ "sessionData": null,
27
+ "user": null,
28
+ "resource": null,
29
+ "version": null,
30
+ "courseContext": null,
31
+ "scormSummary": null,
32
+ } satisfies GetResourceSessionDiagnostics
33
+
34
+ console.log(example)
35
+
36
+ // Convert the instance to a JSON string
37
+ const exampleJSON: string = JSON.stringify(example)
38
+ console.log(exampleJSON)
39
+
40
+ // Parse the JSON string back to an object
41
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnostics
42
+ console.log(exampleParsed)
43
+ ```
44
+
45
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
46
+
47
+
@@ -0,0 +1,50 @@
1
+
2
+ # GetResourceSessionDiagnosticsCourseContext
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `courseId` | string
10
+ `courseName` | string
11
+ `courseVersionId` | string
12
+ `courseVersionNumber` | number
13
+ `itemId` | string
14
+ `displayName` | string
15
+ `launchMode` | [ContentLaunchMode](ContentLaunchMode.md)
16
+ `maxAttempts` | number
17
+ `scoreRollupStrategy` | string
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { GetResourceSessionDiagnosticsCourseContext } from '@easyedu/js-lsm-api'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "courseId": null,
27
+ "courseName": null,
28
+ "courseVersionId": null,
29
+ "courseVersionNumber": null,
30
+ "itemId": null,
31
+ "displayName": null,
32
+ "launchMode": null,
33
+ "maxAttempts": null,
34
+ "scoreRollupStrategy": null,
35
+ } satisfies GetResourceSessionDiagnosticsCourseContext
36
+
37
+ console.log(example)
38
+
39
+ // Convert the instance to a JSON string
40
+ const exampleJSON: string = JSON.stringify(example)
41
+ console.log(exampleJSON)
42
+
43
+ // Parse the JSON string back to an object
44
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnosticsCourseContext
45
+ console.log(exampleParsed)
46
+ ```
47
+
48
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
49
+
50
+
@@ -0,0 +1,40 @@
1
+
2
+ # GetResourceSessionDiagnosticsResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+ `description` | string
12
+ `resourceType` | [ResourceType](ResourceType.md)
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { GetResourceSessionDiagnosticsResource } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "id": null,
22
+ "name": null,
23
+ "description": null,
24
+ "resourceType": null,
25
+ } satisfies GetResourceSessionDiagnosticsResource
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnosticsResource
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,48 @@
1
+
2
+ # GetResourceSessionDiagnosticsScormSummary
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `schemaVersion` | string
10
+ `manifestIdentifier` | string
11
+ `organizationIdentifier` | string
12
+ `organizationTitle` | string
13
+ `activityIdentifier` | string
14
+ `activityTitle` | string
15
+ `cmiElementCount` | number
16
+ `apiLogCount` | number
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { GetResourceSessionDiagnosticsScormSummary } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "schemaVersion": null,
26
+ "manifestIdentifier": null,
27
+ "organizationIdentifier": null,
28
+ "organizationTitle": null,
29
+ "activityIdentifier": null,
30
+ "activityTitle": null,
31
+ "cmiElementCount": null,
32
+ "apiLogCount": null,
33
+ } satisfies GetResourceSessionDiagnosticsScormSummary
34
+
35
+ console.log(example)
36
+
37
+ // Convert the instance to a JSON string
38
+ const exampleJSON: string = JSON.stringify(example)
39
+ console.log(exampleJSON)
40
+
41
+ // Parse the JSON string back to an object
42
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnosticsScormSummary
43
+ console.log(exampleParsed)
44
+ ```
45
+
46
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
47
+
48
+
@@ -0,0 +1,36 @@
1
+
2
+ # GetResourceSessionDiagnosticsUser
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `name` | string
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetResourceSessionDiagnosticsUser } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "id": null,
20
+ "name": null,
21
+ } satisfies GetResourceSessionDiagnosticsUser
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnosticsUser
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -0,0 +1,52 @@
1
+
2
+ # GetResourceSessionDiagnosticsVersion
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `versionNumber` | number
11
+ `status` | string
12
+ `changeNotes` | string
13
+ `metadata` | { [key: string]: any; }
14
+ `filename` | string
15
+ `mimeType` | string
16
+ `fileSizeBytes` | number
17
+ `checksumSha256` | string
18
+ `linkUrl` | string
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import type { GetResourceSessionDiagnosticsVersion } from '@easyedu/js-lsm-api'
24
+
25
+ // TODO: Update the object below with actual values
26
+ const example = {
27
+ "id": null,
28
+ "versionNumber": null,
29
+ "status": null,
30
+ "changeNotes": null,
31
+ "metadata": null,
32
+ "filename": null,
33
+ "mimeType": null,
34
+ "fileSizeBytes": null,
35
+ "checksumSha256": null,
36
+ "linkUrl": null,
37
+ } satisfies GetResourceSessionDiagnosticsVersion
38
+
39
+ console.log(example)
40
+
41
+ // Convert the instance to a JSON string
42
+ const exampleJSON: string = JSON.stringify(example)
43
+ console.log(exampleJSON)
44
+
45
+ // Parse the JSON string back to an object
46
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionDiagnosticsVersion
47
+ console.log(exampleParsed)
48
+ ```
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
51
+
52
+
@@ -0,0 +1,43 @@
1
+
2
+ # GetResourceSessionScormApiLogs
3
+
4
+ A filtered page of SCORM runtime calls for a resource session.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `page` | number
11
+ `pageSize` | number
12
+ `totalPages` | number
13
+ `totalItems` | number
14
+ `items` | [Array<ResourceSessionScormApiLogItem>](ResourceSessionScormApiLogItem.md)
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { GetResourceSessionScormApiLogs } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "page": null,
24
+ "pageSize": null,
25
+ "totalPages": null,
26
+ "totalItems": null,
27
+ "items": null,
28
+ } satisfies GetResourceSessionScormApiLogs
29
+
30
+ console.log(example)
31
+
32
+ // Convert the instance to a JSON string
33
+ const exampleJSON: string = JSON.stringify(example)
34
+ console.log(exampleJSON)
35
+
36
+ // Parse the JSON string back to an object
37
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionScormApiLogs
38
+ console.log(exampleParsed)
39
+ ```
40
+
41
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
42
+
43
+
@@ -0,0 +1,49 @@
1
+
2
+ # GetResourceSessionScormData
3
+
4
+ Current SCORM CMI state for a reusable resource session.
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `id` | string
11
+ `scormVersion` | string
12
+ `createdAt` | number
13
+ `updatedAt` | number
14
+ `initializedAt` | number
15
+ `terminatedAt` | number
16
+ `activity` | [GetResourceSessionScormDataActivity](GetResourceSessionScormDataActivity.md)
17
+ `cmiData` | { [key: string]: string; }
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import type { GetResourceSessionScormData } from '@easyedu/js-lsm-api'
23
+
24
+ // TODO: Update the object below with actual values
25
+ const example = {
26
+ "id": null,
27
+ "scormVersion": null,
28
+ "createdAt": null,
29
+ "updatedAt": null,
30
+ "initializedAt": null,
31
+ "terminatedAt": null,
32
+ "activity": null,
33
+ "cmiData": null,
34
+ } satisfies GetResourceSessionScormData
35
+
36
+ console.log(example)
37
+
38
+ // Convert the instance to a JSON string
39
+ const exampleJSON: string = JSON.stringify(example)
40
+ console.log(exampleJSON)
41
+
42
+ // Parse the JSON string back to an object
43
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionScormData
44
+ console.log(exampleParsed)
45
+ ```
46
+
47
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
48
+
49
+
@@ -0,0 +1,38 @@
1
+
2
+ # GetResourceSessionScormDataActivity
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `identifier` | string
10
+ `name` | string
11
+ `launchPath` | string
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import type { GetResourceSessionScormDataActivity } from '@easyedu/js-lsm-api'
17
+
18
+ // TODO: Update the object below with actual values
19
+ const example = {
20
+ "identifier": null,
21
+ "name": null,
22
+ "launchPath": null,
23
+ } satisfies GetResourceSessionScormDataActivity
24
+
25
+ console.log(example)
26
+
27
+ // Convert the instance to a JSON string
28
+ const exampleJSON: string = JSON.stringify(example)
29
+ console.log(exampleJSON)
30
+
31
+ // Parse the JSON string back to an object
32
+ const exampleParsed = JSON.parse(exampleJSON) as GetResourceSessionScormDataActivity
33
+ console.log(exampleParsed)
34
+ ```
35
+
36
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
+
38
+