@easyedu/js-lsm-api 1.127.0 → 1.129.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 (55) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/README.md +8 -2
  3. package/dist/apis/ScormToolsApi.d.ts +35 -0
  4. package/dist/apis/ScormToolsApi.js +75 -0
  5. package/dist/apis/UserApi.d.ts +16 -0
  6. package/dist/apis/UserApi.js +42 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/ScormToolsApi.d.ts +35 -0
  10. package/dist/esm/apis/ScormToolsApi.js +71 -0
  11. package/dist/esm/apis/UserApi.d.ts +16 -0
  12. package/dist/esm/apis/UserApi.js +42 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/GetSignupSlugAvailability.d.ts +38 -0
  16. package/dist/esm/models/GetSignupSlugAvailability.js +47 -0
  17. package/dist/esm/models/PostSignupRequest.d.ts +6 -0
  18. package/dist/esm/models/PostSignupRequest.js +2 -0
  19. package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
  20. package/dist/esm/models/PostVerifyManifest.js +73 -0
  21. package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
  22. package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
  23. package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
  24. package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
  25. package/dist/esm/models/index.d.ts +4 -0
  26. package/dist/esm/models/index.js +4 -0
  27. package/dist/models/GetSignupSlugAvailability.d.ts +38 -0
  28. package/dist/models/GetSignupSlugAvailability.js +54 -0
  29. package/dist/models/PostSignupRequest.d.ts +6 -0
  30. package/dist/models/PostSignupRequest.js +2 -0
  31. package/dist/models/PostVerifyManifest.d.ts +106 -0
  32. package/dist/models/PostVerifyManifest.js +80 -0
  33. package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
  34. package/dist/models/PostVerifyManifestItemsInner.js +62 -0
  35. package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
  36. package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
  37. package/dist/models/index.d.ts +4 -0
  38. package/dist/models/index.js +4 -0
  39. package/docs/GetSignupSlugAvailability.md +36 -0
  40. package/docs/PostSignupRequest.md +2 -0
  41. package/docs/PostVerifyManifest.md +59 -0
  42. package/docs/PostVerifyManifestItemsInner.md +48 -0
  43. package/docs/PostVerifyManifestResourcesInner.md +42 -0
  44. package/docs/ScormToolsApi.md +78 -0
  45. package/docs/UserApi.md +69 -0
  46. package/package.json +1 -1
  47. package/src/apis/ScormToolsApi.ts +80 -0
  48. package/src/apis/UserApi.ts +57 -0
  49. package/src/apis/index.ts +1 -0
  50. package/src/models/GetSignupSlugAvailability.ts +75 -0
  51. package/src/models/PostSignupRequest.ts +8 -0
  52. package/src/models/PostVerifyManifest.ts +179 -0
  53. package/src/models/PostVerifyManifestItemsInner.ts +121 -0
  54. package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
  55. package/src/models/index.ts +4 -0
@@ -0,0 +1,80 @@
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.instanceOfPostVerifyManifest = instanceOfPostVerifyManifest;
17
+ exports.PostVerifyManifestFromJSON = PostVerifyManifestFromJSON;
18
+ exports.PostVerifyManifestFromJSONTyped = PostVerifyManifestFromJSONTyped;
19
+ exports.PostVerifyManifestToJSON = PostVerifyManifestToJSON;
20
+ exports.PostVerifyManifestToJSONTyped = PostVerifyManifestToJSONTyped;
21
+ const PostVerifyManifestResourcesInner_1 = require("./PostVerifyManifestResourcesInner");
22
+ const PostVerifyManifestItemsInner_1 = require("./PostVerifyManifestItemsInner");
23
+ /**
24
+ * Check if a given object implements the PostVerifyManifest interface.
25
+ */
26
+ function instanceOfPostVerifyManifest(value) {
27
+ if (!('valid' in value) || value['valid'] === undefined)
28
+ return false;
29
+ if (!('errors' in value) || value['errors'] === undefined)
30
+ return false;
31
+ if (!('warnings' in value) || value['warnings'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function PostVerifyManifestFromJSON(json) {
36
+ return PostVerifyManifestFromJSONTyped(json, false);
37
+ }
38
+ function PostVerifyManifestFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'valid': json['valid'],
44
+ 'errors': json['errors'],
45
+ 'warnings': json['warnings'],
46
+ 'scormVersion': json['scorm_version'] == null ? undefined : json['scorm_version'],
47
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
48
+ 'version': json['version'] == null ? undefined : json['version'],
49
+ 'title': json['title'] == null ? undefined : json['title'],
50
+ 'schema': json['schema'] == null ? undefined : json['schema'],
51
+ 'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
52
+ 'defaultOrganization': json['default_organization'] == null ? undefined : json['default_organization'],
53
+ 'items': json['items'] == null ? undefined : (json['items'].map(PostVerifyManifestItemsInner_1.PostVerifyManifestItemsInnerFromJSON)),
54
+ 'resources': json['resources'] == null ? undefined : (json['resources'].map(PostVerifyManifestResourcesInner_1.PostVerifyManifestResourcesInnerFromJSON)),
55
+ 'entryPoints': json['entry_points'] == null ? undefined : json['entry_points'],
56
+ };
57
+ }
58
+ function PostVerifyManifestToJSON(json) {
59
+ return PostVerifyManifestToJSONTyped(json, false);
60
+ }
61
+ function PostVerifyManifestToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'valid': value['valid'],
67
+ 'errors': value['errors'],
68
+ 'warnings': value['warnings'],
69
+ 'scorm_version': value['scormVersion'],
70
+ 'identifier': value['identifier'],
71
+ 'version': value['version'],
72
+ 'title': value['title'],
73
+ 'schema': value['schema'],
74
+ 'schema_version': value['schemaVersion'],
75
+ 'default_organization': value['defaultOrganization'],
76
+ 'items': value['items'] == null ? undefined : (value['items'].map(PostVerifyManifestItemsInner_1.PostVerifyManifestItemsInnerToJSON)),
77
+ 'resources': value['resources'] == null ? undefined : (value['resources'].map(PostVerifyManifestResourcesInner_1.PostVerifyManifestResourcesInnerToJSON)),
78
+ 'entry_points': value['entryPoints'],
79
+ };
80
+ }
@@ -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 PostVerifyManifestItemsInner
16
+ */
17
+ export interface PostVerifyManifestItemsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostVerifyManifestItemsInner
22
+ */
23
+ identifier?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostVerifyManifestItemsInner
28
+ */
29
+ identifierRef?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostVerifyManifestItemsInner
34
+ */
35
+ title?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostVerifyManifestItemsInner
40
+ */
41
+ masteryScore?: string | null;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof PostVerifyManifestItemsInner
46
+ */
47
+ maxTimeAllowed?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof PostVerifyManifestItemsInner
52
+ */
53
+ timeLimitAction?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof PostVerifyManifestItemsInner
58
+ */
59
+ dataFromLms?: string | null;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof PostVerifyManifestItemsInner
64
+ */
65
+ minNormalizedMeasure?: string | null;
66
+ }
67
+ /**
68
+ * Check if a given object implements the PostVerifyManifestItemsInner interface.
69
+ */
70
+ export declare function instanceOfPostVerifyManifestItemsInner(value: object): value is PostVerifyManifestItemsInner;
71
+ export declare function PostVerifyManifestItemsInnerFromJSON(json: any): PostVerifyManifestItemsInner;
72
+ export declare function PostVerifyManifestItemsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifestItemsInner;
73
+ export declare function PostVerifyManifestItemsInnerToJSON(json: any): PostVerifyManifestItemsInner;
74
+ export declare function PostVerifyManifestItemsInnerToJSONTyped(value?: PostVerifyManifestItemsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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.instanceOfPostVerifyManifestItemsInner = instanceOfPostVerifyManifestItemsInner;
17
+ exports.PostVerifyManifestItemsInnerFromJSON = PostVerifyManifestItemsInnerFromJSON;
18
+ exports.PostVerifyManifestItemsInnerFromJSONTyped = PostVerifyManifestItemsInnerFromJSONTyped;
19
+ exports.PostVerifyManifestItemsInnerToJSON = PostVerifyManifestItemsInnerToJSON;
20
+ exports.PostVerifyManifestItemsInnerToJSONTyped = PostVerifyManifestItemsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostVerifyManifestItemsInner interface.
23
+ */
24
+ function instanceOfPostVerifyManifestItemsInner(value) {
25
+ return true;
26
+ }
27
+ function PostVerifyManifestItemsInnerFromJSON(json) {
28
+ return PostVerifyManifestItemsInnerFromJSONTyped(json, false);
29
+ }
30
+ function PostVerifyManifestItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
36
+ 'identifierRef': json['identifier_ref'] == null ? undefined : json['identifier_ref'],
37
+ 'title': json['title'] == null ? undefined : json['title'],
38
+ 'masteryScore': json['mastery_score'] == null ? undefined : json['mastery_score'],
39
+ 'maxTimeAllowed': json['max_time_allowed'] == null ? undefined : json['max_time_allowed'],
40
+ 'timeLimitAction': json['time_limit_action'] == null ? undefined : json['time_limit_action'],
41
+ 'dataFromLms': json['data_from_lms'] == null ? undefined : json['data_from_lms'],
42
+ 'minNormalizedMeasure': json['min_normalized_measure'] == null ? undefined : json['min_normalized_measure'],
43
+ };
44
+ }
45
+ function PostVerifyManifestItemsInnerToJSON(json) {
46
+ return PostVerifyManifestItemsInnerToJSONTyped(json, false);
47
+ }
48
+ function PostVerifyManifestItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'identifier': value['identifier'],
54
+ 'identifier_ref': value['identifierRef'],
55
+ 'title': value['title'],
56
+ 'mastery_score': value['masteryScore'],
57
+ 'max_time_allowed': value['maxTimeAllowed'],
58
+ 'time_limit_action': value['timeLimitAction'],
59
+ 'data_from_lms': value['dataFromLms'],
60
+ 'min_normalized_measure': value['minNormalizedMeasure'],
61
+ };
62
+ }
@@ -0,0 +1,56 @@
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 PostVerifyManifestResourcesInner
16
+ */
17
+ export interface PostVerifyManifestResourcesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PostVerifyManifestResourcesInner
22
+ */
23
+ identifier?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PostVerifyManifestResourcesInner
28
+ */
29
+ resourceType?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof PostVerifyManifestResourcesInner
34
+ */
35
+ scormType?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof PostVerifyManifestResourcesInner
40
+ */
41
+ href?: string;
42
+ /**
43
+ *
44
+ * @type {Array<string>}
45
+ * @memberof PostVerifyManifestResourcesInner
46
+ */
47
+ files?: Array<string>;
48
+ }
49
+ /**
50
+ * Check if a given object implements the PostVerifyManifestResourcesInner interface.
51
+ */
52
+ export declare function instanceOfPostVerifyManifestResourcesInner(value: object): value is PostVerifyManifestResourcesInner;
53
+ export declare function PostVerifyManifestResourcesInnerFromJSON(json: any): PostVerifyManifestResourcesInner;
54
+ export declare function PostVerifyManifestResourcesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifestResourcesInner;
55
+ export declare function PostVerifyManifestResourcesInnerToJSON(json: any): PostVerifyManifestResourcesInner;
56
+ export declare function PostVerifyManifestResourcesInnerToJSONTyped(value?: PostVerifyManifestResourcesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,56 @@
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.instanceOfPostVerifyManifestResourcesInner = instanceOfPostVerifyManifestResourcesInner;
17
+ exports.PostVerifyManifestResourcesInnerFromJSON = PostVerifyManifestResourcesInnerFromJSON;
18
+ exports.PostVerifyManifestResourcesInnerFromJSONTyped = PostVerifyManifestResourcesInnerFromJSONTyped;
19
+ exports.PostVerifyManifestResourcesInnerToJSON = PostVerifyManifestResourcesInnerToJSON;
20
+ exports.PostVerifyManifestResourcesInnerToJSONTyped = PostVerifyManifestResourcesInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostVerifyManifestResourcesInner interface.
23
+ */
24
+ function instanceOfPostVerifyManifestResourcesInner(value) {
25
+ return true;
26
+ }
27
+ function PostVerifyManifestResourcesInnerFromJSON(json) {
28
+ return PostVerifyManifestResourcesInnerFromJSONTyped(json, false);
29
+ }
30
+ function PostVerifyManifestResourcesInnerFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'identifier': json['identifier'] == null ? undefined : json['identifier'],
36
+ 'resourceType': json['resource_type'] == null ? undefined : json['resource_type'],
37
+ 'scormType': json['scorm_type'] == null ? undefined : json['scorm_type'],
38
+ 'href': json['href'] == null ? undefined : json['href'],
39
+ 'files': json['files'] == null ? undefined : json['files'],
40
+ };
41
+ }
42
+ function PostVerifyManifestResourcesInnerToJSON(json) {
43
+ return PostVerifyManifestResourcesInnerToJSONTyped(json, false);
44
+ }
45
+ function PostVerifyManifestResourcesInnerToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'identifier': value['identifier'],
51
+ 'resource_type': value['resourceType'],
52
+ 'scorm_type': value['scormType'],
53
+ 'href': value['href'],
54
+ 'files': value['files'],
55
+ };
56
+ }
@@ -155,6 +155,7 @@ export * from './GetResourceUsageCoursesInner';
155
155
  export * from './GetResourceVersionUpload';
156
156
  export * from './GetRichTextAssetUpload';
157
157
  export * from './GetRole';
158
+ export * from './GetSignupSlugAvailability';
158
159
  export * from './GetSupportTicket';
159
160
  export * from './GetSupportTicketAttachment';
160
161
  export * from './GetSupportTicketComment';
@@ -287,6 +288,9 @@ export * from './PostSignupRequest';
287
288
  export * from './PostSignupRequestResponse';
288
289
  export * from './PostSupportTicket';
289
290
  export * from './PostSupportTicketComment';
291
+ export * from './PostVerifyManifest';
292
+ export * from './PostVerifyManifestItemsInner';
293
+ export * from './PostVerifyManifestResourcesInner';
290
294
  export * from './PostZapierEnrollment';
291
295
  export * from './PostZapierSetup';
292
296
  export * from './PostZapierSetupResponse';
@@ -173,6 +173,7 @@ __exportStar(require("./GetResourceUsageCoursesInner"), exports);
173
173
  __exportStar(require("./GetResourceVersionUpload"), exports);
174
174
  __exportStar(require("./GetRichTextAssetUpload"), exports);
175
175
  __exportStar(require("./GetRole"), exports);
176
+ __exportStar(require("./GetSignupSlugAvailability"), exports);
176
177
  __exportStar(require("./GetSupportTicket"), exports);
177
178
  __exportStar(require("./GetSupportTicketAttachment"), exports);
178
179
  __exportStar(require("./GetSupportTicketComment"), exports);
@@ -305,6 +306,9 @@ __exportStar(require("./PostSignupRequest"), exports);
305
306
  __exportStar(require("./PostSignupRequestResponse"), exports);
306
307
  __exportStar(require("./PostSupportTicket"), exports);
307
308
  __exportStar(require("./PostSupportTicketComment"), exports);
309
+ __exportStar(require("./PostVerifyManifest"), exports);
310
+ __exportStar(require("./PostVerifyManifestItemsInner"), exports);
311
+ __exportStar(require("./PostVerifyManifestResourcesInner"), exports);
308
312
  __exportStar(require("./PostZapierEnrollment"), exports);
309
313
  __exportStar(require("./PostZapierSetup"), exports);
310
314
  __exportStar(require("./PostZapierSetupResponse"), exports);
@@ -0,0 +1,36 @@
1
+
2
+ # GetSignupSlugAvailability
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `slug` | string
10
+ `available` | boolean
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { GetSignupSlugAvailability } from '@easyedu/js-lsm-api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "slug": null,
20
+ "available": null,
21
+ } satisfies GetSignupSlugAvailability
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 GetSignupSlugAvailability
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
+
@@ -11,6 +11,7 @@ Name | Type
11
11
  `email` | string
12
12
  `password` | string
13
13
  `organization` | string
14
+ `slug` | string
14
15
  `jobRole` | string
15
16
  `learnerCount` | number
16
17
 
@@ -26,6 +27,7 @@ const example = {
26
27
  "email": null,
27
28
  "password": null,
28
29
  "organization": null,
30
+ "slug": null,
29
31
  "jobRole": null,
30
32
  "learnerCount": null,
31
33
  } satisfies PostSignupRequest
@@ -0,0 +1,59 @@
1
+
2
+ # PostVerifyManifest
3
+
4
+ Response from parsing and verifying a SCORM manifest
5
+
6
+ ## Properties
7
+
8
+ Name | Type
9
+ ------------ | -------------
10
+ `valid` | boolean
11
+ `errors` | Array&lt;string&gt;
12
+ `warnings` | Array&lt;string&gt;
13
+ `scormVersion` | string
14
+ `identifier` | string
15
+ `version` | string
16
+ `title` | string
17
+ `schema` | string
18
+ `schemaVersion` | string
19
+ `defaultOrganization` | string
20
+ `items` | [Array&lt;PostVerifyManifestItemsInner&gt;](PostVerifyManifestItemsInner.md)
21
+ `resources` | [Array&lt;PostVerifyManifestResourcesInner&gt;](PostVerifyManifestResourcesInner.md)
22
+ `entryPoints` | Array&lt;string&gt;
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { PostVerifyManifest } from '@easyedu/js-lsm-api'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "valid": null,
32
+ "errors": null,
33
+ "warnings": null,
34
+ "scormVersion": null,
35
+ "identifier": null,
36
+ "version": null,
37
+ "title": null,
38
+ "schema": null,
39
+ "schemaVersion": null,
40
+ "defaultOrganization": null,
41
+ "items": null,
42
+ "resources": null,
43
+ "entryPoints": null,
44
+ } satisfies PostVerifyManifest
45
+
46
+ console.log(example)
47
+
48
+ // Convert the instance to a JSON string
49
+ const exampleJSON: string = JSON.stringify(example)
50
+ console.log(exampleJSON)
51
+
52
+ // Parse the JSON string back to an object
53
+ const exampleParsed = JSON.parse(exampleJSON) as PostVerifyManifest
54
+ console.log(exampleParsed)
55
+ ```
56
+
57
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
58
+
59
+
@@ -0,0 +1,48 @@
1
+
2
+ # PostVerifyManifestItemsInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `identifier` | string
10
+ `identifierRef` | string
11
+ `title` | string
12
+ `masteryScore` | string
13
+ `maxTimeAllowed` | string
14
+ `timeLimitAction` | string
15
+ `dataFromLms` | string
16
+ `minNormalizedMeasure` | string
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import type { PostVerifyManifestItemsInner } from '@easyedu/js-lsm-api'
22
+
23
+ // TODO: Update the object below with actual values
24
+ const example = {
25
+ "identifier": null,
26
+ "identifierRef": null,
27
+ "title": null,
28
+ "masteryScore": null,
29
+ "maxTimeAllowed": null,
30
+ "timeLimitAction": null,
31
+ "dataFromLms": null,
32
+ "minNormalizedMeasure": null,
33
+ } satisfies PostVerifyManifestItemsInner
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 PostVerifyManifestItemsInner
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,42 @@
1
+
2
+ # PostVerifyManifestResourcesInner
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `identifier` | string
10
+ `resourceType` | string
11
+ `scormType` | string
12
+ `href` | string
13
+ `files` | Array&lt;string&gt;
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { PostVerifyManifestResourcesInner } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "identifier": null,
23
+ "resourceType": null,
24
+ "scormType": null,
25
+ "href": null,
26
+ "files": null,
27
+ } satisfies PostVerifyManifestResourcesInner
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as PostVerifyManifestResourcesInner
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,78 @@
1
+ # ScormToolsApi
2
+
3
+ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com/stage1*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**verifyScormManifest**](ScormToolsApi.md#verifyscormmanifest) | **POST** /scorm/tools/verify-manifest | Parse and verify a SCORM manifest |
8
+
9
+
10
+
11
+ ## verifyScormManifest
12
+
13
+ > PostVerifyManifest verifyScormManifest(body)
14
+
15
+ Parse and verify a SCORM manifest
16
+
17
+ Public endpoint that takes raw imsmanifest.xml content and returns only parsed values derived from the submitted manifest, plus validation warnings. Request body is limited to 1 MiB.
18
+
19
+ ### Example
20
+
21
+ ```ts
22
+ import {
23
+ Configuration,
24
+ ScormToolsApi,
25
+ } from '@easyedu/js-lsm-api';
26
+ import type { VerifyScormManifestRequest } from '@easyedu/js-lsm-api';
27
+
28
+ async function example() {
29
+ console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
30
+ const api = new ScormToolsApi();
31
+
32
+ const body = {
33
+ // string
34
+ body: body_example,
35
+ } satisfies VerifyScormManifestRequest;
36
+
37
+ try {
38
+ const data = await api.verifyScormManifest(body);
39
+ console.log(data);
40
+ } catch (error) {
41
+ console.error(error);
42
+ }
43
+ }
44
+
45
+ // Run the test
46
+ example().catch(console.error);
47
+ ```
48
+
49
+ ### Parameters
50
+
51
+
52
+ | Name | Type | Description | Notes |
53
+ |------------- | ------------- | ------------- | -------------|
54
+ | **body** | `string` | | |
55
+
56
+ ### Return type
57
+
58
+ [**PostVerifyManifest**](PostVerifyManifest.md)
59
+
60
+ ### Authorization
61
+
62
+ No authorization required
63
+
64
+ ### HTTP request headers
65
+
66
+ - **Content-Type**: `application/xml`, `text/xml`
67
+ - **Accept**: `application/json`
68
+
69
+
70
+ ### HTTP response details
71
+ | Status code | Description | Response headers |
72
+ |-------------|-------------|------------------|
73
+ | **200** | Manifest parsed (check valid field for success) | - |
74
+ | **400** | Request body is empty | - |
75
+ | **413** | Request body exceeds 1 MiB | - |
76
+
77
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
78
+