@easyedu/js-lsm-api 1.146.0 → 1.147.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 +0 -10
- package/README.md +2 -11
- package/dist/apis/ContentLibraryApi.d.ts +0 -15
- package/dist/apis/ContentLibraryApi.js +0 -38
- package/dist/apis/PlayerApi.d.ts +0 -52
- package/dist/apis/PlayerApi.js +0 -131
- package/dist/esm/apis/ContentLibraryApi.d.ts +0 -15
- package/dist/esm/apis/ContentLibraryApi.js +0 -38
- package/dist/esm/apis/PlayerApi.d.ts +0 -52
- package/dist/esm/apis/PlayerApi.js +0 -131
- package/dist/esm/models/ResourceType.d.ts +0 -1
- package/dist/esm/models/ResourceType.js +1 -2
- package/dist/esm/models/index.d.ts +0 -5
- package/dist/esm/models/index.js +0 -5
- package/dist/models/ResourceType.d.ts +0 -1
- package/dist/models/ResourceType.js +1 -2
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/docs/ContentLibraryApi.md +3 -64
- package/docs/LRSApi.md +4 -4
- package/docs/PlayerApi.md +1 -213
- package/package.json +1 -1
- package/publish.log +2 -2
- package/src/apis/ContentLibraryApi.ts +0 -44
- package/src/apis/PlayerApi.ts +0 -185
- package/src/models/ResourceType.ts +1 -2
- package/src/models/index.ts +0 -5
- package/dist/esm/models/GetResourceTypeList.d.ts +0 -33
- package/dist/esm/models/GetResourceTypeList.js +0 -44
- package/dist/esm/models/H5pState.d.ts +0 -32
- package/dist/esm/models/H5pState.js +0 -43
- package/dist/esm/models/H5pStatementResult.d.ts +0 -44
- package/dist/esm/models/H5pStatementResult.js +0 -49
- package/dist/esm/models/PostH5pStatement.d.ts +0 -40
- package/dist/esm/models/PostH5pStatement.js +0 -47
- package/dist/esm/models/ResourceTypeAvailability.d.ts +0 -39
- package/dist/esm/models/ResourceTypeAvailability.js +0 -48
- package/dist/models/GetResourceTypeList.d.ts +0 -33
- package/dist/models/GetResourceTypeList.js +0 -51
- package/dist/models/H5pState.d.ts +0 -32
- package/dist/models/H5pState.js +0 -50
- package/dist/models/H5pStatementResult.d.ts +0 -44
- package/dist/models/H5pStatementResult.js +0 -56
- package/dist/models/PostH5pStatement.d.ts +0 -40
- package/dist/models/PostH5pStatement.js +0 -54
- package/dist/models/ResourceTypeAvailability.d.ts +0 -39
- package/dist/models/ResourceTypeAvailability.js +0 -55
- package/docs/GetResourceTypeList.md +0 -35
- package/docs/H5pState.md +0 -35
- package/docs/H5pStatementResult.md +0 -39
- package/docs/PostH5pStatement.md +0 -37
- package/docs/ResourceTypeAvailability.md +0 -37
- package/src/models/GetResourceTypeList.ts +0 -74
- package/src/models/H5pState.ts +0 -66
- package/src/models/H5pStatementResult.ts +0 -83
- package/src/models/PostH5pStatement.ts +0 -75
- package/src/models/ResourceTypeAvailability.ts +0 -85
package/.openapi-generator/FILES
CHANGED
|
@@ -174,7 +174,6 @@ docs/GetResourceSessionList.md
|
|
|
174
174
|
docs/GetResourceSessionScormApiLogs.md
|
|
175
175
|
docs/GetResourceSessionScormData.md
|
|
176
176
|
docs/GetResourceSessionScormDataActivity.md
|
|
177
|
-
docs/GetResourceTypeList.md
|
|
178
177
|
docs/GetResourceUsage.md
|
|
179
178
|
docs/GetResourceUsageCoursesInner.md
|
|
180
179
|
docs/GetResourceVersionUpload.md
|
|
@@ -203,8 +202,6 @@ docs/GetZapierMe.md
|
|
|
203
202
|
docs/GetZapierSetup.md
|
|
204
203
|
docs/GetZapierShopifyCourseMappings.md
|
|
205
204
|
docs/GetZapierUsers.md
|
|
206
|
-
docs/H5pState.md
|
|
207
|
-
docs/H5pStatementResult.md
|
|
208
205
|
docs/HostedScormAccessPolicy.md
|
|
209
206
|
docs/HostedScormOutlineEntry.md
|
|
210
207
|
docs/HostedScormRollupPolicy.md
|
|
@@ -296,7 +293,6 @@ docs/PostEmailAssetComplete.md
|
|
|
296
293
|
docs/PostEmailAssetUpload.md
|
|
297
294
|
docs/PostEmailTemplatePreview.md
|
|
298
295
|
docs/PostEmailTemplateTestSend.md
|
|
299
|
-
docs/PostH5pStatement.md
|
|
300
296
|
docs/PostLearnerExperiencePreview.md
|
|
301
297
|
docs/PostLibraryQuiz.md
|
|
302
298
|
docs/PostLibraryQuizSession.md
|
|
@@ -417,7 +413,6 @@ docs/ReportingApi.md
|
|
|
417
413
|
docs/ResourceSessionEnvironment.md
|
|
418
414
|
docs/ResourceSessionScormApiLogItem.md
|
|
419
415
|
docs/ResourceType.md
|
|
420
|
-
docs/ResourceTypeAvailability.md
|
|
421
416
|
docs/RichTextApi.md
|
|
422
417
|
docs/RichTextAsset.md
|
|
423
418
|
docs/RichTextDocument.md
|
|
@@ -649,7 +644,6 @@ src/models/GetResourceSessionList.ts
|
|
|
649
644
|
src/models/GetResourceSessionScormApiLogs.ts
|
|
650
645
|
src/models/GetResourceSessionScormData.ts
|
|
651
646
|
src/models/GetResourceSessionScormDataActivity.ts
|
|
652
|
-
src/models/GetResourceTypeList.ts
|
|
653
647
|
src/models/GetResourceUsage.ts
|
|
654
648
|
src/models/GetResourceUsageCoursesInner.ts
|
|
655
649
|
src/models/GetResourceVersionUpload.ts
|
|
@@ -678,8 +672,6 @@ src/models/GetZapierMe.ts
|
|
|
678
672
|
src/models/GetZapierSetup.ts
|
|
679
673
|
src/models/GetZapierShopifyCourseMappings.ts
|
|
680
674
|
src/models/GetZapierUsers.ts
|
|
681
|
-
src/models/H5pState.ts
|
|
682
|
-
src/models/H5pStatementResult.ts
|
|
683
675
|
src/models/HostedScormAccessPolicy.ts
|
|
684
676
|
src/models/HostedScormOutlineEntry.ts
|
|
685
677
|
src/models/HostedScormRollupPolicy.ts
|
|
@@ -763,7 +755,6 @@ src/models/PostEmailAssetComplete.ts
|
|
|
763
755
|
src/models/PostEmailAssetUpload.ts
|
|
764
756
|
src/models/PostEmailTemplatePreview.ts
|
|
765
757
|
src/models/PostEmailTemplateTestSend.ts
|
|
766
|
-
src/models/PostH5pStatement.ts
|
|
767
758
|
src/models/PostLearnerExperiencePreview.ts
|
|
768
759
|
src/models/PostLibraryQuiz.ts
|
|
769
760
|
src/models/PostLibraryQuizSession.ts
|
|
@@ -881,7 +872,6 @@ src/models/ReportSort.ts
|
|
|
881
872
|
src/models/ResourceSessionEnvironment.ts
|
|
882
873
|
src/models/ResourceSessionScormApiLogItem.ts
|
|
883
874
|
src/models/ResourceType.ts
|
|
884
|
-
src/models/ResourceTypeAvailability.ts
|
|
885
875
|
src/models/RichTextAsset.ts
|
|
886
876
|
src/models/RichTextDocument.ts
|
|
887
877
|
src/models/RichTextInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.147.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -136,7 +136,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
136
136
|
*ContentLibraryApi* | [**getContentLibraryTagList**](docs/ContentLibraryApi.md#getcontentlibrarytaglist) | **GET** /content-library/tags | List portal Content Library tags
|
|
137
137
|
*ContentLibraryApi* | [**getResource**](docs/ContentLibraryApi.md#getresource) | **GET** /content-library/resources/{resourceId} | Get a resource and all versions
|
|
138
138
|
*ContentLibraryApi* | [**getResourceList**](docs/ContentLibraryApi.md#getresourcelist) | **GET** /content-library/resources | List reusable resources
|
|
139
|
-
*ContentLibraryApi* | [**getResourceTypeList**](docs/ContentLibraryApi.md#getresourcetypelist) | **GET** /content-library/resource-types | List the resource types and whether each is available on this platform
|
|
140
139
|
*ContentLibraryApi* | [**getResourceUsage**](docs/ContentLibraryApi.md#getresourceusage) | **GET** /content-library/resources/{resourceId}/usage | Get course and learner usage for a resource
|
|
141
140
|
*ContentLibraryApi* | [**getResourceVersion**](docs/ContentLibraryApi.md#getresourceversion) | **GET** /content-library/resources/{resourceId}/versions/{versionId} | Get a resource version
|
|
142
141
|
*ContentLibraryApi* | [**postContentLibraryTag**](docs/ContentLibraryApi.md#postcontentlibrarytag) | **POST** /content-library/tags | Create a portal Content Library tag
|
|
@@ -346,7 +345,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
346
345
|
*PlayerApi* | [**getResourceSessionActivityEvents**](docs/PlayerApi.md#getresourcesessionactivityevents) | **GET** /resource/sessions/{sessionId}/activity-events | List recorded learner activity events for a resource session
|
|
347
346
|
*PlayerApi* | [**getResourceSessionAsset**](docs/PlayerApi.md#getresourcesessionasset) | **GET** /resource/sessions/{sessionId}/asset/{assetPath} | Stream an asset pinned to a resource session
|
|
348
347
|
*PlayerApi* | [**getResourceSessionDiagnostics**](docs/PlayerApi.md#getresourcesessiondiagnostics) | **GET** /resource/sessions/{sessionId}/diagnostics | Get administrator diagnostics for a resource session
|
|
349
|
-
*PlayerApi* | [**getResourceSessionH5pState**](docs/PlayerApi.md#getresourcesessionh5pstate) | **GET** /resource/sessions/{sessionId}/h5p/state | Read the learner\'s saved H5P state for the session
|
|
350
348
|
*PlayerApi* | [**getResourceSessionList**](docs/PlayerApi.md#getresourcesessionlist) | **GET** /resource/sessions | List resource sessions for the selected portal
|
|
351
349
|
*PlayerApi* | [**getResourceSessionPlayer**](docs/PlayerApi.md#getresourcesessionplayer) | **GET** /resource/sessions/{sessionId}/player | Serve the player for a version-pinned reusable resource session
|
|
352
350
|
*PlayerApi* | [**getResourceSessionScormApiLogs**](docs/PlayerApi.md#getresourcesessionscormapilogs) | **GET** /resource/sessions/{sessionId}/api-logs | Get SCORM runtime logs for a resource session
|
|
@@ -356,8 +354,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
356
354
|
*PlayerApi* | [**postResourceSessionActivityEvent**](docs/PlayerApi.md#postresourcesessionactivityevent) | **POST** /resource/sessions/{sessionId}/activities/{activityId}/events | Record learner activity and update active time
|
|
357
355
|
*PlayerApi* | [**postResourceSessionCmi5Launch**](docs/PlayerApi.md#postresourcesessioncmi5launch) | **POST** /resource/sessions/{sessionId}/cmi5/activities/{activityId}/launch | Launch one Assignable Unit of the session\'s cmi5 course
|
|
358
356
|
*PlayerApi* | [**postResourceSessionComplete**](docs/PlayerApi.md#postresourcesessioncomplete) | **POST** /resource/sessions/{sessionId}/complete | Complete a non-SCORM resource session
|
|
359
|
-
*PlayerApi* | [**postResourceSessionH5pStatement**](docs/PlayerApi.md#postresourcesessionh5pstatement) | **POST** /resource/sessions/{sessionId}/h5p/statements | Record an xAPI statement emitted by the session\'s H5P content
|
|
360
|
-
*PlayerApi* | [**putResourceSessionH5pState**](docs/PlayerApi.md#putresourcesessionh5pstate) | **PUT** /resource/sessions/{sessionId}/h5p/state | Save the learner\'s in-progress H5P state for the session
|
|
361
357
|
*PlayerApi* | [**putResourceSessionOverride**](docs/PlayerApi.md#putresourcesessionoverride) | **PUT** /resource/sessions/{sessionId}/override | Override a learner\'s live resource-session progress
|
|
362
358
|
*PlayerApi* | [**setResourceScormValue**](docs/PlayerApi.md#setresourcescormvalue) | **POST** /resource/sessions/{sessionId}/set-value | Store a CMI value in a reusable SCORM resource session
|
|
363
359
|
*PlayerApi* | [**terminateResourceScormSession**](docs/PlayerApi.md#terminateresourcescormsession) | **POST** /resource/sessions/{sessionId}/terminate | Terminate a reusable SCORM resource session
|
|
@@ -610,7 +606,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
610
606
|
- [GetResourceSessionScormApiLogs](docs/GetResourceSessionScormApiLogs.md)
|
|
611
607
|
- [GetResourceSessionScormData](docs/GetResourceSessionScormData.md)
|
|
612
608
|
- [GetResourceSessionScormDataActivity](docs/GetResourceSessionScormDataActivity.md)
|
|
613
|
-
- [GetResourceTypeList](docs/GetResourceTypeList.md)
|
|
614
609
|
- [GetResourceUsage](docs/GetResourceUsage.md)
|
|
615
610
|
- [GetResourceUsageCoursesInner](docs/GetResourceUsageCoursesInner.md)
|
|
616
611
|
- [GetResourceVersionUpload](docs/GetResourceVersionUpload.md)
|
|
@@ -639,8 +634,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
639
634
|
- [GetZapierSetup](docs/GetZapierSetup.md)
|
|
640
635
|
- [GetZapierShopifyCourseMappings](docs/GetZapierShopifyCourseMappings.md)
|
|
641
636
|
- [GetZapierUsers](docs/GetZapierUsers.md)
|
|
642
|
-
- [H5pState](docs/H5pState.md)
|
|
643
|
-
- [H5pStatementResult](docs/H5pStatementResult.md)
|
|
644
637
|
- [HostedScormAccessPolicy](docs/HostedScormAccessPolicy.md)
|
|
645
638
|
- [HostedScormOutlineEntry](docs/HostedScormOutlineEntry.md)
|
|
646
639
|
- [HostedScormRollupPolicy](docs/HostedScormRollupPolicy.md)
|
|
@@ -724,7 +717,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
724
717
|
- [PostEmailAssetUpload](docs/PostEmailAssetUpload.md)
|
|
725
718
|
- [PostEmailTemplatePreview](docs/PostEmailTemplatePreview.md)
|
|
726
719
|
- [PostEmailTemplateTestSend](docs/PostEmailTemplateTestSend.md)
|
|
727
|
-
- [PostH5pStatement](docs/PostH5pStatement.md)
|
|
728
720
|
- [PostLearnerExperiencePreview](docs/PostLearnerExperiencePreview.md)
|
|
729
721
|
- [PostLibraryQuiz](docs/PostLibraryQuiz.md)
|
|
730
722
|
- [PostLibraryQuizSession](docs/PostLibraryQuizSession.md)
|
|
@@ -842,7 +834,6 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
842
834
|
- [ResourceSessionEnvironment](docs/ResourceSessionEnvironment.md)
|
|
843
835
|
- [ResourceSessionScormApiLogItem](docs/ResourceSessionScormApiLogItem.md)
|
|
844
836
|
- [ResourceType](docs/ResourceType.md)
|
|
845
|
-
- [ResourceTypeAvailability](docs/ResourceTypeAvailability.md)
|
|
846
837
|
- [RichTextAsset](docs/RichTextAsset.md)
|
|
847
838
|
- [RichTextDocument](docs/RichTextDocument.md)
|
|
848
839
|
- [RichTextInput](docs/RichTextInput.md)
|
|
@@ -889,7 +880,7 @@ and is automatically generated by the
|
|
|
889
880
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
890
881
|
|
|
891
882
|
- API version: `1.0.0`
|
|
892
|
-
- Package version: `1.
|
|
883
|
+
- Package version: `1.147.0`
|
|
893
884
|
- Generator version: `7.22.0`
|
|
894
885
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
895
886
|
|
|
@@ -17,7 +17,6 @@ import { type GetContentLibraryVersion } from '../models/GetContentLibraryVersio
|
|
|
17
17
|
import { type GetResource } from '../models/GetResource';
|
|
18
18
|
import { type GetResourceList } from '../models/GetResourceList';
|
|
19
19
|
import { type GetResourceSession } from '../models/GetResourceSession';
|
|
20
|
-
import { type GetResourceTypeList } from '../models/GetResourceTypeList';
|
|
21
20
|
import { type GetResourceUsage } from '../models/GetResourceUsage';
|
|
22
21
|
import { type GetResourceVersionUpload } from '../models/GetResourceVersionUpload';
|
|
23
22
|
import { type PostContentLibraryTag } from '../models/PostContentLibraryTag';
|
|
@@ -246,20 +245,6 @@ export declare class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
246
245
|
* List reusable resources
|
|
247
246
|
*/
|
|
248
247
|
getResourceList(requestParameters?: GetResourceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceList>;
|
|
249
|
-
/**
|
|
250
|
-
* Creates request options for getResourceTypeList without sending the request
|
|
251
|
-
*/
|
|
252
|
-
getResourceTypeListRequestOpts(): Promise<runtime.RequestOpts>;
|
|
253
|
-
/**
|
|
254
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
255
|
-
* List the resource types and whether each is available on this platform
|
|
256
|
-
*/
|
|
257
|
-
getResourceTypeListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetResourceTypeList>>;
|
|
258
|
-
/**
|
|
259
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
260
|
-
* List the resource types and whether each is available on this platform
|
|
261
|
-
*/
|
|
262
|
-
getResourceTypeList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceTypeList>;
|
|
263
248
|
/**
|
|
264
249
|
* Creates request options for getResourceUsage without sending the request
|
|
265
250
|
*/
|
|
@@ -31,7 +31,6 @@ const GetContentLibraryVersion_1 = require("../models/GetContentLibraryVersion")
|
|
|
31
31
|
const GetResource_1 = require("../models/GetResource");
|
|
32
32
|
const GetResourceList_1 = require("../models/GetResourceList");
|
|
33
33
|
const GetResourceSession_1 = require("../models/GetResourceSession");
|
|
34
|
-
const GetResourceTypeList_1 = require("../models/GetResourceTypeList");
|
|
35
34
|
const GetResourceUsage_1 = require("../models/GetResourceUsage");
|
|
36
35
|
const GetResourceVersionUpload_1 = require("../models/GetResourceVersionUpload");
|
|
37
36
|
const PostContentLibraryTag_1 = require("../models/PostContentLibraryTag");
|
|
@@ -416,43 +415,6 @@ class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
416
415
|
return yield response.value();
|
|
417
416
|
});
|
|
418
417
|
}
|
|
419
|
-
/**
|
|
420
|
-
* Creates request options for getResourceTypeList without sending the request
|
|
421
|
-
*/
|
|
422
|
-
getResourceTypeListRequestOpts() {
|
|
423
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
424
|
-
const queryParameters = {};
|
|
425
|
-
const headerParameters = {};
|
|
426
|
-
let urlPath = `/content-library/resource-types`;
|
|
427
|
-
return {
|
|
428
|
-
path: urlPath,
|
|
429
|
-
method: 'GET',
|
|
430
|
-
headers: headerParameters,
|
|
431
|
-
query: queryParameters,
|
|
432
|
-
};
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
/**
|
|
436
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
437
|
-
* List the resource types and whether each is available on this platform
|
|
438
|
-
*/
|
|
439
|
-
getResourceTypeListRaw(initOverrides) {
|
|
440
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
441
|
-
const requestOptions = yield this.getResourceTypeListRequestOpts();
|
|
442
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
443
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetResourceTypeList_1.GetResourceTypeListFromJSON)(jsonValue));
|
|
444
|
-
});
|
|
445
|
-
}
|
|
446
|
-
/**
|
|
447
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
448
|
-
* List the resource types and whether each is available on this platform
|
|
449
|
-
*/
|
|
450
|
-
getResourceTypeList(initOverrides) {
|
|
451
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
452
|
-
const response = yield this.getResourceTypeListRaw(initOverrides);
|
|
453
|
-
return yield response.value();
|
|
454
|
-
});
|
|
455
|
-
}
|
|
456
418
|
/**
|
|
457
419
|
* Creates request options for getResourceUsage without sending the request
|
|
458
420
|
*/
|
package/dist/apis/PlayerApi.d.ts
CHANGED
|
@@ -19,9 +19,6 @@ import { type GetResourceSessionDiagnostics } from '../models/GetResourceSession
|
|
|
19
19
|
import { type GetResourceSessionList } from '../models/GetResourceSessionList';
|
|
20
20
|
import { type GetResourceSessionScormApiLogs } from '../models/GetResourceSessionScormApiLogs';
|
|
21
21
|
import { type GetResourceSessionScormData } from '../models/GetResourceSessionScormData';
|
|
22
|
-
import { type H5pState } from '../models/H5pState';
|
|
23
|
-
import { type H5pStatementResult } from '../models/H5pStatementResult';
|
|
24
|
-
import { type PostH5pStatement } from '../models/PostH5pStatement';
|
|
25
22
|
import { type PostResourceSessionActivityEvent } from '../models/PostResourceSessionActivityEvent';
|
|
26
23
|
import { type PutResourceSessionOverride } from '../models/PutResourceSessionOverride';
|
|
27
24
|
import { type ResourceSessionEnvironment } from '../models/ResourceSessionEnvironment';
|
|
@@ -66,9 +63,6 @@ export interface GetResourceSessionAssetRequest {
|
|
|
66
63
|
export interface GetResourceSessionDiagnosticsRequest {
|
|
67
64
|
sessionId: string;
|
|
68
65
|
}
|
|
69
|
-
export interface GetResourceSessionH5pStateRequest {
|
|
70
|
-
sessionId: string;
|
|
71
|
-
}
|
|
72
66
|
export interface GetResourceSessionListRequest {
|
|
73
67
|
userId?: string;
|
|
74
68
|
resourceId?: string;
|
|
@@ -128,14 +122,6 @@ export interface PostResourceSessionCmi5LaunchRequest {
|
|
|
128
122
|
export interface PostResourceSessionCompleteRequest {
|
|
129
123
|
sessionId: string;
|
|
130
124
|
}
|
|
131
|
-
export interface PostResourceSessionH5pStatementRequest {
|
|
132
|
-
sessionId: string;
|
|
133
|
-
postH5pStatement: PostH5pStatement;
|
|
134
|
-
}
|
|
135
|
-
export interface PutResourceSessionH5pStateRequest {
|
|
136
|
-
sessionId: string;
|
|
137
|
-
h5pState: H5pState;
|
|
138
|
-
}
|
|
139
125
|
export interface PutResourceSessionOverrideRequest {
|
|
140
126
|
sessionId: string;
|
|
141
127
|
putResourceSessionOverride: PutResourceSessionOverride;
|
|
@@ -261,18 +247,6 @@ export declare class PlayerApi extends runtime.BaseAPI {
|
|
|
261
247
|
* Get administrator diagnostics for a resource session
|
|
262
248
|
*/
|
|
263
249
|
getResourceSessionDiagnostics(requestParameters: GetResourceSessionDiagnosticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceSessionDiagnostics>;
|
|
264
|
-
/**
|
|
265
|
-
* Creates request options for getResourceSessionH5pState without sending the request
|
|
266
|
-
*/
|
|
267
|
-
getResourceSessionH5pStateRequestOpts(requestParameters: GetResourceSessionH5pStateRequest): Promise<runtime.RequestOpts>;
|
|
268
|
-
/**
|
|
269
|
-
* Read the learner\'s saved H5P state for the session
|
|
270
|
-
*/
|
|
271
|
-
getResourceSessionH5pStateRaw(requestParameters: GetResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<H5pState>>;
|
|
272
|
-
/**
|
|
273
|
-
* Read the learner\'s saved H5P state for the session
|
|
274
|
-
*/
|
|
275
|
-
getResourceSessionH5pState(requestParameters: GetResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<H5pState>;
|
|
276
250
|
/**
|
|
277
251
|
* Creates request options for getResourceSessionList without sending the request
|
|
278
252
|
*/
|
|
@@ -383,32 +357,6 @@ export declare class PlayerApi extends runtime.BaseAPI {
|
|
|
383
357
|
* Complete a non-SCORM resource session
|
|
384
358
|
*/
|
|
385
359
|
postResourceSessionComplete(requestParameters: PostResourceSessionCompleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceSession>;
|
|
386
|
-
/**
|
|
387
|
-
* Creates request options for postResourceSessionH5pStatement without sending the request
|
|
388
|
-
*/
|
|
389
|
-
postResourceSessionH5pStatementRequestOpts(requestParameters: PostResourceSessionH5pStatementRequest): Promise<runtime.RequestOpts>;
|
|
390
|
-
/**
|
|
391
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
392
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
393
|
-
*/
|
|
394
|
-
postResourceSessionH5pStatementRaw(requestParameters: PostResourceSessionH5pStatementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<H5pStatementResult>>;
|
|
395
|
-
/**
|
|
396
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
397
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
398
|
-
*/
|
|
399
|
-
postResourceSessionH5pStatement(requestParameters: PostResourceSessionH5pStatementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<H5pStatementResult>;
|
|
400
|
-
/**
|
|
401
|
-
* Creates request options for putResourceSessionH5pState without sending the request
|
|
402
|
-
*/
|
|
403
|
-
putResourceSessionH5pStateRequestOpts(requestParameters: PutResourceSessionH5pStateRequest): Promise<runtime.RequestOpts>;
|
|
404
|
-
/**
|
|
405
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
406
|
-
*/
|
|
407
|
-
putResourceSessionH5pStateRaw(requestParameters: PutResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
408
|
-
/**
|
|
409
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
410
|
-
*/
|
|
411
|
-
putResourceSessionH5pState(requestParameters: PutResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
412
360
|
/**
|
|
413
361
|
* Creates request options for putResourceSessionOverride without sending the request
|
|
414
362
|
*/
|
package/dist/apis/PlayerApi.js
CHANGED
|
@@ -33,9 +33,6 @@ const GetResourceSessionDiagnostics_1 = require("../models/GetResourceSessionDia
|
|
|
33
33
|
const GetResourceSessionList_1 = require("../models/GetResourceSessionList");
|
|
34
34
|
const GetResourceSessionScormApiLogs_1 = require("../models/GetResourceSessionScormApiLogs");
|
|
35
35
|
const GetResourceSessionScormData_1 = require("../models/GetResourceSessionScormData");
|
|
36
|
-
const H5pState_1 = require("../models/H5pState");
|
|
37
|
-
const H5pStatementResult_1 = require("../models/H5pStatementResult");
|
|
38
|
-
const PostH5pStatement_1 = require("../models/PostH5pStatement");
|
|
39
36
|
const PostResourceSessionActivityEvent_1 = require("../models/PostResourceSessionActivityEvent");
|
|
40
37
|
const PutResourceSessionOverride_1 = require("../models/PutResourceSessionOverride");
|
|
41
38
|
const ScormGetValueResponse_1 = require("../models/ScormGetValueResponse");
|
|
@@ -429,45 +426,6 @@ class PlayerApi extends runtime.BaseAPI {
|
|
|
429
426
|
return yield response.value();
|
|
430
427
|
});
|
|
431
428
|
}
|
|
432
|
-
/**
|
|
433
|
-
* Creates request options for getResourceSessionH5pState without sending the request
|
|
434
|
-
*/
|
|
435
|
-
getResourceSessionH5pStateRequestOpts(requestParameters) {
|
|
436
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
437
|
-
if (requestParameters['sessionId'] == null) {
|
|
438
|
-
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling getResourceSessionH5pState().');
|
|
439
|
-
}
|
|
440
|
-
const queryParameters = {};
|
|
441
|
-
const headerParameters = {};
|
|
442
|
-
let urlPath = `/resource/sessions/{sessionId}/h5p/state`;
|
|
443
|
-
urlPath = urlPath.replace('{sessionId}', encodeURIComponent(String(requestParameters['sessionId'])));
|
|
444
|
-
return {
|
|
445
|
-
path: urlPath,
|
|
446
|
-
method: 'GET',
|
|
447
|
-
headers: headerParameters,
|
|
448
|
-
query: queryParameters,
|
|
449
|
-
};
|
|
450
|
-
});
|
|
451
|
-
}
|
|
452
|
-
/**
|
|
453
|
-
* Read the learner\'s saved H5P state for the session
|
|
454
|
-
*/
|
|
455
|
-
getResourceSessionH5pStateRaw(requestParameters, initOverrides) {
|
|
456
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
457
|
-
const requestOptions = yield this.getResourceSessionH5pStateRequestOpts(requestParameters);
|
|
458
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
459
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, H5pState_1.H5pStateFromJSON)(jsonValue));
|
|
460
|
-
});
|
|
461
|
-
}
|
|
462
|
-
/**
|
|
463
|
-
* Read the learner\'s saved H5P state for the session
|
|
464
|
-
*/
|
|
465
|
-
getResourceSessionH5pState(requestParameters, initOverrides) {
|
|
466
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
467
|
-
const response = yield this.getResourceSessionH5pStateRaw(requestParameters, initOverrides);
|
|
468
|
-
return yield response.value();
|
|
469
|
-
});
|
|
470
|
-
}
|
|
471
429
|
/**
|
|
472
430
|
* Creates request options for getResourceSessionList without sending the request
|
|
473
431
|
*/
|
|
@@ -927,95 +885,6 @@ class PlayerApi extends runtime.BaseAPI {
|
|
|
927
885
|
return yield response.value();
|
|
928
886
|
});
|
|
929
887
|
}
|
|
930
|
-
/**
|
|
931
|
-
* Creates request options for postResourceSessionH5pStatement without sending the request
|
|
932
|
-
*/
|
|
933
|
-
postResourceSessionH5pStatementRequestOpts(requestParameters) {
|
|
934
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
935
|
-
if (requestParameters['sessionId'] == null) {
|
|
936
|
-
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling postResourceSessionH5pStatement().');
|
|
937
|
-
}
|
|
938
|
-
if (requestParameters['postH5pStatement'] == null) {
|
|
939
|
-
throw new runtime.RequiredError('postH5pStatement', 'Required parameter "postH5pStatement" was null or undefined when calling postResourceSessionH5pStatement().');
|
|
940
|
-
}
|
|
941
|
-
const queryParameters = {};
|
|
942
|
-
const headerParameters = {};
|
|
943
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
944
|
-
let urlPath = `/resource/sessions/{sessionId}/h5p/statements`;
|
|
945
|
-
urlPath = urlPath.replace('{sessionId}', encodeURIComponent(String(requestParameters['sessionId'])));
|
|
946
|
-
return {
|
|
947
|
-
path: urlPath,
|
|
948
|
-
method: 'POST',
|
|
949
|
-
headers: headerParameters,
|
|
950
|
-
query: queryParameters,
|
|
951
|
-
body: (0, PostH5pStatement_1.PostH5pStatementToJSON)(requestParameters['postH5pStatement']),
|
|
952
|
-
};
|
|
953
|
-
});
|
|
954
|
-
}
|
|
955
|
-
/**
|
|
956
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
957
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
958
|
-
*/
|
|
959
|
-
postResourceSessionH5pStatementRaw(requestParameters, initOverrides) {
|
|
960
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
961
|
-
const requestOptions = yield this.postResourceSessionH5pStatementRequestOpts(requestParameters);
|
|
962
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
963
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, H5pStatementResult_1.H5pStatementResultFromJSON)(jsonValue));
|
|
964
|
-
});
|
|
965
|
-
}
|
|
966
|
-
/**
|
|
967
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
968
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
969
|
-
*/
|
|
970
|
-
postResourceSessionH5pStatement(requestParameters, initOverrides) {
|
|
971
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
972
|
-
const response = yield this.postResourceSessionH5pStatementRaw(requestParameters, initOverrides);
|
|
973
|
-
return yield response.value();
|
|
974
|
-
});
|
|
975
|
-
}
|
|
976
|
-
/**
|
|
977
|
-
* Creates request options for putResourceSessionH5pState without sending the request
|
|
978
|
-
*/
|
|
979
|
-
putResourceSessionH5pStateRequestOpts(requestParameters) {
|
|
980
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
981
|
-
if (requestParameters['sessionId'] == null) {
|
|
982
|
-
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling putResourceSessionH5pState().');
|
|
983
|
-
}
|
|
984
|
-
if (requestParameters['h5pState'] == null) {
|
|
985
|
-
throw new runtime.RequiredError('h5pState', 'Required parameter "h5pState" was null or undefined when calling putResourceSessionH5pState().');
|
|
986
|
-
}
|
|
987
|
-
const queryParameters = {};
|
|
988
|
-
const headerParameters = {};
|
|
989
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
990
|
-
let urlPath = `/resource/sessions/{sessionId}/h5p/state`;
|
|
991
|
-
urlPath = urlPath.replace('{sessionId}', encodeURIComponent(String(requestParameters['sessionId'])));
|
|
992
|
-
return {
|
|
993
|
-
path: urlPath,
|
|
994
|
-
method: 'PUT',
|
|
995
|
-
headers: headerParameters,
|
|
996
|
-
query: queryParameters,
|
|
997
|
-
body: (0, H5pState_1.H5pStateToJSON)(requestParameters['h5pState']),
|
|
998
|
-
};
|
|
999
|
-
});
|
|
1000
|
-
}
|
|
1001
|
-
/**
|
|
1002
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
1003
|
-
*/
|
|
1004
|
-
putResourceSessionH5pStateRaw(requestParameters, initOverrides) {
|
|
1005
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1006
|
-
const requestOptions = yield this.putResourceSessionH5pStateRequestOpts(requestParameters);
|
|
1007
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
1008
|
-
return new runtime.VoidApiResponse(response);
|
|
1009
|
-
});
|
|
1010
|
-
}
|
|
1011
|
-
/**
|
|
1012
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
1013
|
-
*/
|
|
1014
|
-
putResourceSessionH5pState(requestParameters, initOverrides) {
|
|
1015
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1016
|
-
yield this.putResourceSessionH5pStateRaw(requestParameters, initOverrides);
|
|
1017
|
-
});
|
|
1018
|
-
}
|
|
1019
888
|
/**
|
|
1020
889
|
* Creates request options for putResourceSessionOverride without sending the request
|
|
1021
890
|
*/
|
|
@@ -17,7 +17,6 @@ import { type GetContentLibraryVersion } from '../models/GetContentLibraryVersio
|
|
|
17
17
|
import { type GetResource } from '../models/GetResource';
|
|
18
18
|
import { type GetResourceList } from '../models/GetResourceList';
|
|
19
19
|
import { type GetResourceSession } from '../models/GetResourceSession';
|
|
20
|
-
import { type GetResourceTypeList } from '../models/GetResourceTypeList';
|
|
21
20
|
import { type GetResourceUsage } from '../models/GetResourceUsage';
|
|
22
21
|
import { type GetResourceVersionUpload } from '../models/GetResourceVersionUpload';
|
|
23
22
|
import { type PostContentLibraryTag } from '../models/PostContentLibraryTag';
|
|
@@ -246,20 +245,6 @@ export declare class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
246
245
|
* List reusable resources
|
|
247
246
|
*/
|
|
248
247
|
getResourceList(requestParameters?: GetResourceListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceList>;
|
|
249
|
-
/**
|
|
250
|
-
* Creates request options for getResourceTypeList without sending the request
|
|
251
|
-
*/
|
|
252
|
-
getResourceTypeListRequestOpts(): Promise<runtime.RequestOpts>;
|
|
253
|
-
/**
|
|
254
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
255
|
-
* List the resource types and whether each is available on this platform
|
|
256
|
-
*/
|
|
257
|
-
getResourceTypeListRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetResourceTypeList>>;
|
|
258
|
-
/**
|
|
259
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
260
|
-
* List the resource types and whether each is available on this platform
|
|
261
|
-
*/
|
|
262
|
-
getResourceTypeList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceTypeList>;
|
|
263
248
|
/**
|
|
264
249
|
* Creates request options for getResourceUsage without sending the request
|
|
265
250
|
*/
|
|
@@ -28,7 +28,6 @@ import { GetContentLibraryVersionFromJSON, } from '../models/GetContentLibraryVe
|
|
|
28
28
|
import { GetResourceFromJSON, } from '../models/GetResource';
|
|
29
29
|
import { GetResourceListFromJSON, } from '../models/GetResourceList';
|
|
30
30
|
import { GetResourceSessionFromJSON, } from '../models/GetResourceSession';
|
|
31
|
-
import { GetResourceTypeListFromJSON, } from '../models/GetResourceTypeList';
|
|
32
31
|
import { GetResourceUsageFromJSON, } from '../models/GetResourceUsage';
|
|
33
32
|
import { GetResourceVersionUploadFromJSON, } from '../models/GetResourceVersionUpload';
|
|
34
33
|
import { PostContentLibraryTagToJSON, } from '../models/PostContentLibraryTag';
|
|
@@ -413,43 +412,6 @@ export class ContentLibraryApi extends runtime.BaseAPI {
|
|
|
413
412
|
return yield response.value();
|
|
414
413
|
});
|
|
415
414
|
}
|
|
416
|
-
/**
|
|
417
|
-
* Creates request options for getResourceTypeList without sending the request
|
|
418
|
-
*/
|
|
419
|
-
getResourceTypeListRequestOpts() {
|
|
420
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
421
|
-
const queryParameters = {};
|
|
422
|
-
const headerParameters = {};
|
|
423
|
-
let urlPath = `/content-library/resource-types`;
|
|
424
|
-
return {
|
|
425
|
-
path: urlPath,
|
|
426
|
-
method: 'GET',
|
|
427
|
-
headers: headerParameters,
|
|
428
|
-
query: queryParameters,
|
|
429
|
-
};
|
|
430
|
-
});
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
434
|
-
* List the resource types and whether each is available on this platform
|
|
435
|
-
*/
|
|
436
|
-
getResourceTypeListRaw(initOverrides) {
|
|
437
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
438
|
-
const requestOptions = yield this.getResourceTypeListRequestOpts();
|
|
439
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
440
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetResourceTypeListFromJSON(jsonValue));
|
|
441
|
-
});
|
|
442
|
-
}
|
|
443
|
-
/**
|
|
444
|
-
* Clients use this to decide which types to offer when creating or filtering resources. A type can be switched off for the whole platform (H5P is, until it is enabled), in which case creating or uploading it is refused with 403.
|
|
445
|
-
* List the resource types and whether each is available on this platform
|
|
446
|
-
*/
|
|
447
|
-
getResourceTypeList(initOverrides) {
|
|
448
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
449
|
-
const response = yield this.getResourceTypeListRaw(initOverrides);
|
|
450
|
-
return yield response.value();
|
|
451
|
-
});
|
|
452
|
-
}
|
|
453
415
|
/**
|
|
454
416
|
* Creates request options for getResourceUsage without sending the request
|
|
455
417
|
*/
|
|
@@ -19,9 +19,6 @@ import { type GetResourceSessionDiagnostics } from '../models/GetResourceSession
|
|
|
19
19
|
import { type GetResourceSessionList } from '../models/GetResourceSessionList';
|
|
20
20
|
import { type GetResourceSessionScormApiLogs } from '../models/GetResourceSessionScormApiLogs';
|
|
21
21
|
import { type GetResourceSessionScormData } from '../models/GetResourceSessionScormData';
|
|
22
|
-
import { type H5pState } from '../models/H5pState';
|
|
23
|
-
import { type H5pStatementResult } from '../models/H5pStatementResult';
|
|
24
|
-
import { type PostH5pStatement } from '../models/PostH5pStatement';
|
|
25
22
|
import { type PostResourceSessionActivityEvent } from '../models/PostResourceSessionActivityEvent';
|
|
26
23
|
import { type PutResourceSessionOverride } from '../models/PutResourceSessionOverride';
|
|
27
24
|
import { type ResourceSessionEnvironment } from '../models/ResourceSessionEnvironment';
|
|
@@ -66,9 +63,6 @@ export interface GetResourceSessionAssetRequest {
|
|
|
66
63
|
export interface GetResourceSessionDiagnosticsRequest {
|
|
67
64
|
sessionId: string;
|
|
68
65
|
}
|
|
69
|
-
export interface GetResourceSessionH5pStateRequest {
|
|
70
|
-
sessionId: string;
|
|
71
|
-
}
|
|
72
66
|
export interface GetResourceSessionListRequest {
|
|
73
67
|
userId?: string;
|
|
74
68
|
resourceId?: string;
|
|
@@ -128,14 +122,6 @@ export interface PostResourceSessionCmi5LaunchRequest {
|
|
|
128
122
|
export interface PostResourceSessionCompleteRequest {
|
|
129
123
|
sessionId: string;
|
|
130
124
|
}
|
|
131
|
-
export interface PostResourceSessionH5pStatementRequest {
|
|
132
|
-
sessionId: string;
|
|
133
|
-
postH5pStatement: PostH5pStatement;
|
|
134
|
-
}
|
|
135
|
-
export interface PutResourceSessionH5pStateRequest {
|
|
136
|
-
sessionId: string;
|
|
137
|
-
h5pState: H5pState;
|
|
138
|
-
}
|
|
139
125
|
export interface PutResourceSessionOverrideRequest {
|
|
140
126
|
sessionId: string;
|
|
141
127
|
putResourceSessionOverride: PutResourceSessionOverride;
|
|
@@ -261,18 +247,6 @@ export declare class PlayerApi extends runtime.BaseAPI {
|
|
|
261
247
|
* Get administrator diagnostics for a resource session
|
|
262
248
|
*/
|
|
263
249
|
getResourceSessionDiagnostics(requestParameters: GetResourceSessionDiagnosticsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceSessionDiagnostics>;
|
|
264
|
-
/**
|
|
265
|
-
* Creates request options for getResourceSessionH5pState without sending the request
|
|
266
|
-
*/
|
|
267
|
-
getResourceSessionH5pStateRequestOpts(requestParameters: GetResourceSessionH5pStateRequest): Promise<runtime.RequestOpts>;
|
|
268
|
-
/**
|
|
269
|
-
* Read the learner\'s saved H5P state for the session
|
|
270
|
-
*/
|
|
271
|
-
getResourceSessionH5pStateRaw(requestParameters: GetResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<H5pState>>;
|
|
272
|
-
/**
|
|
273
|
-
* Read the learner\'s saved H5P state for the session
|
|
274
|
-
*/
|
|
275
|
-
getResourceSessionH5pState(requestParameters: GetResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<H5pState>;
|
|
276
250
|
/**
|
|
277
251
|
* Creates request options for getResourceSessionList without sending the request
|
|
278
252
|
*/
|
|
@@ -383,32 +357,6 @@ export declare class PlayerApi extends runtime.BaseAPI {
|
|
|
383
357
|
* Complete a non-SCORM resource session
|
|
384
358
|
*/
|
|
385
359
|
postResourceSessionComplete(requestParameters: PostResourceSessionCompleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetResourceSession>;
|
|
386
|
-
/**
|
|
387
|
-
* Creates request options for postResourceSessionH5pStatement without sending the request
|
|
388
|
-
*/
|
|
389
|
-
postResourceSessionH5pStatementRequestOpts(requestParameters: PostResourceSessionH5pStatementRequest): Promise<runtime.RequestOpts>;
|
|
390
|
-
/**
|
|
391
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
392
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
393
|
-
*/
|
|
394
|
-
postResourceSessionH5pStatementRaw(requestParameters: PostResourceSessionH5pStatementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<H5pStatementResult>>;
|
|
395
|
-
/**
|
|
396
|
-
* Stores the statement in the portal\'s Learning Record Store on behalf of the session\'s learner and updates the session\'s completion, grade, and score from it.
|
|
397
|
-
* Record an xAPI statement emitted by the session\'s H5P content
|
|
398
|
-
*/
|
|
399
|
-
postResourceSessionH5pStatement(requestParameters: PostResourceSessionH5pStatementRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<H5pStatementResult>;
|
|
400
|
-
/**
|
|
401
|
-
* Creates request options for putResourceSessionH5pState without sending the request
|
|
402
|
-
*/
|
|
403
|
-
putResourceSessionH5pStateRequestOpts(requestParameters: PutResourceSessionH5pStateRequest): Promise<runtime.RequestOpts>;
|
|
404
|
-
/**
|
|
405
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
406
|
-
*/
|
|
407
|
-
putResourceSessionH5pStateRaw(requestParameters: PutResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
408
|
-
/**
|
|
409
|
-
* Save the learner\'s in-progress H5P state for the session
|
|
410
|
-
*/
|
|
411
|
-
putResourceSessionH5pState(requestParameters: PutResourceSessionH5pStateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
412
360
|
/**
|
|
413
361
|
* Creates request options for putResourceSessionOverride without sending the request
|
|
414
362
|
*/
|