@easyedu/js-lsm-api 1.126.0 → 1.128.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 +8 -0
- package/README.md +6 -2
- package/dist/apis/ScormToolsApi.d.ts +35 -0
- package/dist/apis/ScormToolsApi.js +75 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ScormToolsApi.d.ts +35 -0
- package/dist/esm/apis/ScormToolsApi.js +71 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
- package/dist/esm/models/PostVerifyManifest.js +73 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/models/PostVerifyManifest.d.ts +106 -0
- package/dist/models/PostVerifyManifest.js +80 -0
- package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/models/PostVerifyManifestItemsInner.js +62 -0
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/ContentLibraryQuizApi.md +1 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/ScormToolsApi.md +78 -0
- package/package.json +1 -1
- package/src/apis/ScormToolsApi.ts +80 -0
- package/src/apis/index.ts +1 -0
- package/src/models/PostVerifyManifest.ts +179 -0
- package/src/models/PostVerifyManifestItemsInner.ts +121 -0
- package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -308,6 +308,9 @@ docs/PostSignupRequest.md
|
|
|
308
308
|
docs/PostSignupRequestResponse.md
|
|
309
309
|
docs/PostSupportTicket.md
|
|
310
310
|
docs/PostSupportTicketComment.md
|
|
311
|
+
docs/PostVerifyManifest.md
|
|
312
|
+
docs/PostVerifyManifestItemsInner.md
|
|
313
|
+
docs/PostVerifyManifestResourcesInner.md
|
|
311
314
|
docs/PostZapierEnrollment.md
|
|
312
315
|
docs/PostZapierSetup.md
|
|
313
316
|
docs/PostZapierSetupResponse.md
|
|
@@ -384,6 +387,7 @@ docs/ScormRuntimeResponse.md
|
|
|
384
387
|
docs/ScormSetValueRequest.md
|
|
385
388
|
docs/ScormSetValueResponse.md
|
|
386
389
|
docs/ScormTerminateResponse.md
|
|
390
|
+
docs/ScormToolsApi.md
|
|
387
391
|
docs/SupportTicketApi.md
|
|
388
392
|
docs/SupportTicketUser.md
|
|
389
393
|
docs/SystemApi.md
|
|
@@ -420,6 +424,7 @@ src/apis/QuestionImportApi.ts
|
|
|
420
424
|
src/apis/ReportingApi.ts
|
|
421
425
|
src/apis/RichTextApi.ts
|
|
422
426
|
src/apis/RoleApi.ts
|
|
427
|
+
src/apis/ScormToolsApi.ts
|
|
423
428
|
src/apis/SupportTicketApi.ts
|
|
424
429
|
src/apis/SystemApi.ts
|
|
425
430
|
src/apis/UserApi.ts
|
|
@@ -714,6 +719,9 @@ src/models/PostSignupRequest.ts
|
|
|
714
719
|
src/models/PostSignupRequestResponse.ts
|
|
715
720
|
src/models/PostSupportTicket.ts
|
|
716
721
|
src/models/PostSupportTicketComment.ts
|
|
722
|
+
src/models/PostVerifyManifest.ts
|
|
723
|
+
src/models/PostVerifyManifestItemsInner.ts
|
|
724
|
+
src/models/PostVerifyManifestResourcesInner.ts
|
|
717
725
|
src/models/PostZapierEnrollment.ts
|
|
718
726
|
src/models/PostZapierSetup.ts
|
|
719
727
|
src/models/PostZapierSetupResponse.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.128.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -380,6 +380,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
380
380
|
*RoleApi* | [**unassignUserRole**](docs/RoleApi.md#unassignuserrole) | **DELETE** /roles/users/{userId}/portals/{portalId}/roles/{roleId} | Remove a role from a user for a portal
|
|
381
381
|
*RoleApi* | [**updateRole**](docs/RoleApi.md#updaterole) | **PUT** /roles/{roleId} | Update a custom role name and description
|
|
382
382
|
*RoleApi* | [**updateRolePermissions**](docs/RoleApi.md#updaterolepermissions) | **PUT** /roles/{roleId}/permissions | Replace all permissions for a custom role
|
|
383
|
+
*ScormToolsApi* | [**verifyScormManifest**](docs/ScormToolsApi.md#verifyscormmanifest) | **POST** /scorm/tools/verify-manifest | Parse and verify a SCORM manifest
|
|
383
384
|
*SupportTicketApi* | [**closeSupportTicket**](docs/SupportTicketApi.md#closesupportticket) | **POST** /support/tickets/{ticketId}/close | Close a support ticket
|
|
384
385
|
*SupportTicketApi* | [**downloadSupportTicketAttachment**](docs/SupportTicketApi.md#downloadsupportticketattachment) | **GET** /support/tickets/{ticketId}/attachments/{attachmentId}/download | Download a ticket attachment
|
|
385
386
|
*SupportTicketApi* | [**getSupportTicket**](docs/SupportTicketApi.md#getsupportticket) | **GET** /support/tickets/{ticketId} | Get support ticket details
|
|
@@ -701,6 +702,9 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
701
702
|
- [PostSignupRequestResponse](docs/PostSignupRequestResponse.md)
|
|
702
703
|
- [PostSupportTicket](docs/PostSupportTicket.md)
|
|
703
704
|
- [PostSupportTicketComment](docs/PostSupportTicketComment.md)
|
|
705
|
+
- [PostVerifyManifest](docs/PostVerifyManifest.md)
|
|
706
|
+
- [PostVerifyManifestItemsInner](docs/PostVerifyManifestItemsInner.md)
|
|
707
|
+
- [PostVerifyManifestResourcesInner](docs/PostVerifyManifestResourcesInner.md)
|
|
704
708
|
- [PostZapierEnrollment](docs/PostZapierEnrollment.md)
|
|
705
709
|
- [PostZapierSetup](docs/PostZapierSetup.md)
|
|
706
710
|
- [PostZapierSetupResponse](docs/PostZapierSetupResponse.md)
|
|
@@ -795,7 +799,7 @@ and is automatically generated by the
|
|
|
795
799
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
796
800
|
|
|
797
801
|
- API version: `1.0.0`
|
|
798
|
-
- Package version: `1.
|
|
802
|
+
- Package version: `1.128.0`
|
|
799
803
|
- Generator version: `7.22.0`
|
|
800
804
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
801
805
|
|
|
@@ -0,0 +1,35 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type PostVerifyManifest } from '../models/PostVerifyManifest';
|
|
14
|
+
export interface VerifyScormManifestRequest {
|
|
15
|
+
body: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class ScormToolsApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for verifyScormManifest without sending the request
|
|
23
|
+
*/
|
|
24
|
+
verifyScormManifestRequestOpts(requestParameters: VerifyScormManifestRequest): Promise<runtime.RequestOpts>;
|
|
25
|
+
/**
|
|
26
|
+
* 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.
|
|
27
|
+
* Parse and verify a SCORM manifest
|
|
28
|
+
*/
|
|
29
|
+
verifyScormManifestRaw(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostVerifyManifest>>;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
* Parse and verify a SCORM manifest
|
|
33
|
+
*/
|
|
34
|
+
verifyScormManifest(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostVerifyManifest>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ScormToolsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const PostVerifyManifest_1 = require("../models/PostVerifyManifest");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ScormToolsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Creates request options for verifyScormManifest without sending the request
|
|
34
|
+
*/
|
|
35
|
+
verifyScormManifestRequestOpts(requestParameters) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['body'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling verifyScormManifest().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/xml';
|
|
43
|
+
let urlPath = `/scorm/tools/verify-manifest`;
|
|
44
|
+
return {
|
|
45
|
+
path: urlPath,
|
|
46
|
+
method: 'POST',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
body: requestParameters['body'],
|
|
50
|
+
};
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
* Parse and verify a SCORM manifest
|
|
56
|
+
*/
|
|
57
|
+
verifyScormManifestRaw(requestParameters, initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const requestOptions = yield this.verifyScormManifestRequestOpts(requestParameters);
|
|
60
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
61
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, PostVerifyManifest_1.PostVerifyManifestFromJSON)(jsonValue));
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* 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.
|
|
66
|
+
* Parse and verify a SCORM manifest
|
|
67
|
+
*/
|
|
68
|
+
verifyScormManifest(requestParameters, initOverrides) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
const response = yield this.verifyScormManifestRaw(requestParameters, initOverrides);
|
|
71
|
+
return yield response.value();
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.ScormToolsApi = ScormToolsApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './QuestionImportApi';
|
|
|
20
20
|
export * from './ReportingApi';
|
|
21
21
|
export * from './RichTextApi';
|
|
22
22
|
export * from './RoleApi';
|
|
23
|
+
export * from './ScormToolsApi';
|
|
23
24
|
export * from './SupportTicketApi';
|
|
24
25
|
export * from './SystemApi';
|
|
25
26
|
export * from './UserApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -38,6 +38,7 @@ __exportStar(require("./QuestionImportApi"), exports);
|
|
|
38
38
|
__exportStar(require("./ReportingApi"), exports);
|
|
39
39
|
__exportStar(require("./RichTextApi"), exports);
|
|
40
40
|
__exportStar(require("./RoleApi"), exports);
|
|
41
|
+
__exportStar(require("./ScormToolsApi"), exports);
|
|
41
42
|
__exportStar(require("./SupportTicketApi"), exports);
|
|
42
43
|
__exportStar(require("./SystemApi"), exports);
|
|
43
44
|
__exportStar(require("./UserApi"), exports);
|
|
@@ -0,0 +1,35 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import { type PostVerifyManifest } from '../models/PostVerifyManifest';
|
|
14
|
+
export interface VerifyScormManifestRequest {
|
|
15
|
+
body: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare class ScormToolsApi extends runtime.BaseAPI {
|
|
21
|
+
/**
|
|
22
|
+
* Creates request options for verifyScormManifest without sending the request
|
|
23
|
+
*/
|
|
24
|
+
verifyScormManifestRequestOpts(requestParameters: VerifyScormManifestRequest): Promise<runtime.RequestOpts>;
|
|
25
|
+
/**
|
|
26
|
+
* 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.
|
|
27
|
+
* Parse and verify a SCORM manifest
|
|
28
|
+
*/
|
|
29
|
+
verifyScormManifestRaw(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostVerifyManifest>>;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
* Parse and verify a SCORM manifest
|
|
33
|
+
*/
|
|
34
|
+
verifyScormManifest(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostVerifyManifest>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { PostVerifyManifestFromJSON, } from '../models/PostVerifyManifest';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ScormToolsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for verifyScormManifest without sending the request
|
|
31
|
+
*/
|
|
32
|
+
verifyScormManifestRequestOpts(requestParameters) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['body'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling verifyScormManifest().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/xml';
|
|
40
|
+
let urlPath = `/scorm/tools/verify-manifest`;
|
|
41
|
+
return {
|
|
42
|
+
path: urlPath,
|
|
43
|
+
method: 'POST',
|
|
44
|
+
headers: headerParameters,
|
|
45
|
+
query: queryParameters,
|
|
46
|
+
body: requestParameters['body'],
|
|
47
|
+
};
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* 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.
|
|
52
|
+
* Parse and verify a SCORM manifest
|
|
53
|
+
*/
|
|
54
|
+
verifyScormManifestRaw(requestParameters, initOverrides) {
|
|
55
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const requestOptions = yield this.verifyScormManifestRequestOpts(requestParameters);
|
|
57
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
58
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PostVerifyManifestFromJSON(jsonValue));
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 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.
|
|
63
|
+
* Parse and verify a SCORM manifest
|
|
64
|
+
*/
|
|
65
|
+
verifyScormManifest(requestParameters, initOverrides) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
const response = yield this.verifyScormManifestRaw(requestParameters, initOverrides);
|
|
68
|
+
return yield response.value();
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './QuestionImportApi';
|
|
|
20
20
|
export * from './ReportingApi';
|
|
21
21
|
export * from './RichTextApi';
|
|
22
22
|
export * from './RoleApi';
|
|
23
|
+
export * from './ScormToolsApi';
|
|
23
24
|
export * from './SupportTicketApi';
|
|
24
25
|
export * from './SystemApi';
|
|
25
26
|
export * from './UserApi';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export * from './QuestionImportApi';
|
|
|
22
22
|
export * from './ReportingApi';
|
|
23
23
|
export * from './RichTextApi';
|
|
24
24
|
export * from './RoleApi';
|
|
25
|
+
export * from './ScormToolsApi';
|
|
25
26
|
export * from './SupportTicketApi';
|
|
26
27
|
export * from './SystemApi';
|
|
27
28
|
export * from './UserApi';
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { PostVerifyManifestResourcesInner } from './PostVerifyManifestResourcesInner';
|
|
13
|
+
import type { PostVerifyManifestItemsInner } from './PostVerifyManifestItemsInner';
|
|
14
|
+
/**
|
|
15
|
+
* Response from parsing and verifying a SCORM manifest
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PostVerifyManifest
|
|
18
|
+
*/
|
|
19
|
+
export interface PostVerifyManifest {
|
|
20
|
+
/**
|
|
21
|
+
* Whether the manifest parsed successfully
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof PostVerifyManifest
|
|
24
|
+
*/
|
|
25
|
+
valid: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Parse errors that prevented successful parsing
|
|
28
|
+
* @type {Array<string>}
|
|
29
|
+
* @memberof PostVerifyManifest
|
|
30
|
+
*/
|
|
31
|
+
errors: Array<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Non-fatal issues or potential problems detected
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof PostVerifyManifest
|
|
36
|
+
*/
|
|
37
|
+
warnings: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Detected SCORM version (e.g., "1.2", "2004 4th Edition")
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof PostVerifyManifest
|
|
42
|
+
*/
|
|
43
|
+
scormVersion?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Manifest identifier attribute
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof PostVerifyManifest
|
|
48
|
+
*/
|
|
49
|
+
identifier?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* Manifest version attribute
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof PostVerifyManifest
|
|
54
|
+
*/
|
|
55
|
+
version?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Organization title (course title)
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof PostVerifyManifest
|
|
60
|
+
*/
|
|
61
|
+
title?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Metadata schema (e.g., "ADL SCORM")
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof PostVerifyManifest
|
|
66
|
+
*/
|
|
67
|
+
schema?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Metadata schema version
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof PostVerifyManifest
|
|
72
|
+
*/
|
|
73
|
+
schemaVersion?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Default organization identifier
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PostVerifyManifest
|
|
78
|
+
*/
|
|
79
|
+
defaultOrganization?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* List of items (SCOs) from the organization
|
|
82
|
+
* @type {Array<PostVerifyManifestItemsInner>}
|
|
83
|
+
* @memberof PostVerifyManifest
|
|
84
|
+
*/
|
|
85
|
+
items?: Array<PostVerifyManifestItemsInner>;
|
|
86
|
+
/**
|
|
87
|
+
* List of resources from the manifest
|
|
88
|
+
* @type {Array<PostVerifyManifestResourcesInner>}
|
|
89
|
+
* @memberof PostVerifyManifest
|
|
90
|
+
*/
|
|
91
|
+
resources?: Array<PostVerifyManifestResourcesInner>;
|
|
92
|
+
/**
|
|
93
|
+
* List of SCO entry point URLs
|
|
94
|
+
* @type {Array<string>}
|
|
95
|
+
* @memberof PostVerifyManifest
|
|
96
|
+
*/
|
|
97
|
+
entryPoints?: Array<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given object implements the PostVerifyManifest interface.
|
|
101
|
+
*/
|
|
102
|
+
export declare function instanceOfPostVerifyManifest(value: object): value is PostVerifyManifest;
|
|
103
|
+
export declare function PostVerifyManifestFromJSON(json: any): PostVerifyManifest;
|
|
104
|
+
export declare function PostVerifyManifestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifest;
|
|
105
|
+
export declare function PostVerifyManifestToJSON(json: any): PostVerifyManifest;
|
|
106
|
+
export declare function PostVerifyManifestToJSONTyped(value?: PostVerifyManifest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { PostVerifyManifestResourcesInnerFromJSON, PostVerifyManifestResourcesInnerToJSON, } from './PostVerifyManifestResourcesInner';
|
|
15
|
+
import { PostVerifyManifestItemsInnerFromJSON, PostVerifyManifestItemsInnerToJSON, } from './PostVerifyManifestItemsInner';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the PostVerifyManifest interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfPostVerifyManifest(value) {
|
|
20
|
+
if (!('valid' in value) || value['valid'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('errors' in value) || value['errors'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('warnings' in value) || value['warnings'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PostVerifyManifestFromJSON(json) {
|
|
29
|
+
return PostVerifyManifestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PostVerifyManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'valid': json['valid'],
|
|
37
|
+
'errors': json['errors'],
|
|
38
|
+
'warnings': json['warnings'],
|
|
39
|
+
'scormVersion': json['scorm_version'] == null ? undefined : json['scorm_version'],
|
|
40
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
41
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
42
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
43
|
+
'schema': json['schema'] == null ? undefined : json['schema'],
|
|
44
|
+
'schemaVersion': json['schema_version'] == null ? undefined : json['schema_version'],
|
|
45
|
+
'defaultOrganization': json['default_organization'] == null ? undefined : json['default_organization'],
|
|
46
|
+
'items': json['items'] == null ? undefined : (json['items'].map(PostVerifyManifestItemsInnerFromJSON)),
|
|
47
|
+
'resources': json['resources'] == null ? undefined : (json['resources'].map(PostVerifyManifestResourcesInnerFromJSON)),
|
|
48
|
+
'entryPoints': json['entry_points'] == null ? undefined : json['entry_points'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function PostVerifyManifestToJSON(json) {
|
|
52
|
+
return PostVerifyManifestToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function PostVerifyManifestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'valid': value['valid'],
|
|
60
|
+
'errors': value['errors'],
|
|
61
|
+
'warnings': value['warnings'],
|
|
62
|
+
'scorm_version': value['scormVersion'],
|
|
63
|
+
'identifier': value['identifier'],
|
|
64
|
+
'version': value['version'],
|
|
65
|
+
'title': value['title'],
|
|
66
|
+
'schema': value['schema'],
|
|
67
|
+
'schema_version': value['schemaVersion'],
|
|
68
|
+
'default_organization': value['defaultOrganization'],
|
|
69
|
+
'items': value['items'] == null ? undefined : (value['items'].map(PostVerifyManifestItemsInnerToJSON)),
|
|
70
|
+
'resources': value['resources'] == null ? undefined : (value['resources'].map(PostVerifyManifestResourcesInnerToJSON)),
|
|
71
|
+
'entry_points': value['entryPoints'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -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,55 @@
|
|
|
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 PostVerifyManifestItemsInner interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostVerifyManifestItemsInner(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PostVerifyManifestItemsInnerFromJSON(json) {
|
|
21
|
+
return PostVerifyManifestItemsInnerFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PostVerifyManifestItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
29
|
+
'identifierRef': json['identifier_ref'] == null ? undefined : json['identifier_ref'],
|
|
30
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
31
|
+
'masteryScore': json['mastery_score'] == null ? undefined : json['mastery_score'],
|
|
32
|
+
'maxTimeAllowed': json['max_time_allowed'] == null ? undefined : json['max_time_allowed'],
|
|
33
|
+
'timeLimitAction': json['time_limit_action'] == null ? undefined : json['time_limit_action'],
|
|
34
|
+
'dataFromLms': json['data_from_lms'] == null ? undefined : json['data_from_lms'],
|
|
35
|
+
'minNormalizedMeasure': json['min_normalized_measure'] == null ? undefined : json['min_normalized_measure'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function PostVerifyManifestItemsInnerToJSON(json) {
|
|
39
|
+
return PostVerifyManifestItemsInnerToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function PostVerifyManifestItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'identifier': value['identifier'],
|
|
47
|
+
'identifier_ref': value['identifierRef'],
|
|
48
|
+
'title': value['title'],
|
|
49
|
+
'mastery_score': value['masteryScore'],
|
|
50
|
+
'max_time_allowed': value['maxTimeAllowed'],
|
|
51
|
+
'time_limit_action': value['timeLimitAction'],
|
|
52
|
+
'data_from_lms': value['dataFromLms'],
|
|
53
|
+
'min_normalized_measure': value['minNormalizedMeasure'],
|
|
54
|
+
};
|
|
55
|
+
}
|