@easyedu/js-lsm-api 1.117.0 → 1.119.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 +46 -0
- package/README.md +36 -2
- package/dist/apis/CourseApi.d.ts +55 -0
- package/dist/apis/CourseApi.js +147 -0
- package/dist/apis/DispatchApi.d.ts +121 -5
- package/dist/apis/DispatchApi.js +303 -8
- package/dist/apis/IntegrationApi.d.ts +2 -0
- package/dist/apis/IntegrationApi.js +3 -1
- package/dist/apis/PlayerApi.d.ts +26 -6
- package/dist/apis/PlayerApi.js +57 -6
- package/dist/esm/apis/CourseApi.d.ts +55 -0
- package/dist/esm/apis/CourseApi.js +147 -0
- package/dist/esm/apis/DispatchApi.d.ts +121 -5
- package/dist/esm/apis/DispatchApi.js +303 -8
- package/dist/esm/apis/IntegrationApi.d.ts +2 -0
- package/dist/esm/apis/IntegrationApi.js +3 -1
- package/dist/esm/apis/PlayerApi.d.ts +26 -6
- package/dist/esm/apis/PlayerApi.js +57 -6
- package/dist/esm/models/CustomWebhookIntegration.d.ts +2 -0
- package/dist/esm/models/CustomWebhookIntegration.js +3 -1
- package/dist/esm/models/DispatchTokenResponse.d.ts +57 -0
- package/dist/esm/models/DispatchTokenResponse.js +61 -0
- package/dist/esm/models/GetCourseExport.d.ts +62 -0
- package/dist/esm/models/GetCourseExport.js +44 -0
- package/dist/esm/models/GetDispatchCourse.d.ts +82 -0
- package/dist/esm/models/GetDispatchCourse.js +77 -0
- package/dist/esm/models/GetDispatchRollup.d.ts +104 -0
- package/dist/esm/models/GetDispatchRollup.js +95 -0
- package/dist/esm/models/GetHostedScormRegistration.d.ts +80 -0
- package/dist/esm/models/GetHostedScormRegistration.js +71 -0
- package/dist/esm/models/GetHostedScormRegistrationList.d.ts +57 -0
- package/dist/esm/models/GetHostedScormRegistrationList.js +60 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +8 -0
- package/dist/esm/models/GetResourceSessionDiagnostics.js +2 -0
- package/dist/esm/models/HostedScormAccessPolicy.d.ts +50 -0
- package/dist/esm/models/HostedScormAccessPolicy.js +55 -0
- package/dist/esm/models/HostedScormOutlineEntry.d.ts +108 -0
- package/dist/esm/models/HostedScormOutlineEntry.js +97 -0
- package/dist/esm/models/HostedScormRollupPolicy.d.ts +69 -0
- package/dist/esm/models/HostedScormRollupPolicy.js +72 -0
- package/dist/esm/models/HostedScormScoreItem.d.ts +38 -0
- package/dist/esm/models/HostedScormScoreItem.js +47 -0
- package/dist/esm/models/IntegrationEvent.d.ts +2 -0
- package/dist/esm/models/IntegrationEvent.js +3 -1
- package/dist/esm/models/IntegrationEventData.d.ts +16 -2
- package/dist/esm/models/IntegrationEventData.js +10 -0
- package/dist/esm/models/IntegrationEventInvitation.d.ts +71 -0
- package/dist/esm/models/IntegrationEventInvitation.js +71 -0
- package/dist/esm/models/IntegrationEventUser.d.ts +50 -0
- package/dist/esm/models/IntegrationEventUser.js +55 -0
- package/dist/esm/models/PostCourseExport.d.ts +28 -0
- package/dist/esm/models/PostCourseExport.js +15 -0
- package/dist/esm/models/PostCustomWebhookIntegration.d.ts +2 -0
- package/dist/esm/models/PostCustomWebhookIntegration.js +3 -1
- package/dist/esm/models/PostDispatchItemLaunch.d.ts +32 -0
- package/dist/esm/models/PostDispatchItemLaunch.js +41 -0
- package/dist/esm/models/PostDispatchItemLaunchResponse.d.ts +64 -0
- package/dist/esm/models/PostDispatchItemLaunchResponse.js +66 -0
- package/dist/esm/models/PostDispatchLaunch.d.ts +50 -0
- package/dist/esm/models/PostDispatchLaunch.js +53 -0
- package/dist/esm/models/PostDispatchLaunchResponse.d.ts +70 -0
- package/dist/esm/models/PostDispatchLaunchResponse.js +70 -0
- package/dist/esm/models/PostDispatchTokenExchange.d.ts +32 -0
- package/dist/esm/models/PostDispatchTokenExchange.js +43 -0
- package/dist/esm/models/PostZapierSubscription.d.ts +2 -0
- package/dist/esm/models/PostZapierSubscription.js +3 -1
- package/dist/esm/models/PutCustomWebhookIntegration.d.ts +2 -0
- package/dist/esm/models/PutCustomWebhookIntegration.js +3 -1
- package/dist/esm/models/PutHostedScormStatus.d.ts +32 -0
- package/dist/esm/models/PutHostedScormStatus.js +43 -0
- package/dist/esm/models/ScormGetValueResponse.d.ts +12 -0
- package/dist/esm/models/ScormGetValueResponse.js +8 -0
- package/dist/esm/models/ScormNavigationDelivery.d.ts +64 -0
- package/dist/esm/models/ScormNavigationDelivery.js +66 -0
- package/dist/esm/models/ScormNavigationRequest.d.ts +55 -0
- package/dist/esm/models/ScormNavigationRequest.js +61 -0
- package/dist/esm/models/ScormNavigationResponse.d.ts +70 -0
- package/dist/esm/models/ScormNavigationResponse.js +67 -0
- package/dist/esm/models/ScormNavigationValidity.d.ts +92 -0
- package/dist/esm/models/ScormNavigationValidity.js +83 -0
- package/dist/esm/models/ScormRuntimeResponse.d.ts +44 -0
- package/dist/esm/models/ScormRuntimeResponse.js +51 -0
- package/dist/esm/models/ScormSetValueResponse.d.ts +12 -0
- package/dist/esm/models/ScormSetValueResponse.js +8 -0
- package/dist/esm/models/ScormTerminateResponse.d.ts +63 -0
- package/dist/esm/models/ScormTerminateResponse.js +62 -0
- package/dist/esm/models/ZapierSubscription.d.ts +2 -0
- package/dist/esm/models/ZapierSubscription.js +3 -1
- package/dist/esm/models/index.d.ts +23 -0
- package/dist/esm/models/index.js +23 -0
- package/dist/models/CustomWebhookIntegration.d.ts +2 -0
- package/dist/models/CustomWebhookIntegration.js +3 -1
- package/dist/models/DispatchTokenResponse.d.ts +57 -0
- package/dist/models/DispatchTokenResponse.js +69 -0
- package/dist/models/GetCourseExport.d.ts +62 -0
- package/dist/models/GetCourseExport.js +45 -1
- package/dist/models/GetDispatchCourse.d.ts +82 -0
- package/dist/models/GetDispatchCourse.js +84 -0
- package/dist/models/GetDispatchRollup.d.ts +104 -0
- package/dist/models/GetDispatchRollup.js +103 -0
- package/dist/models/GetHostedScormRegistration.d.ts +80 -0
- package/dist/models/GetHostedScormRegistration.js +78 -0
- package/dist/models/GetHostedScormRegistrationList.d.ts +57 -0
- package/dist/models/GetHostedScormRegistrationList.js +67 -0
- package/dist/models/GetResourceSessionDiagnostics.d.ts +8 -0
- package/dist/models/GetResourceSessionDiagnostics.js +2 -0
- package/dist/models/HostedScormAccessPolicy.d.ts +50 -0
- package/dist/models/HostedScormAccessPolicy.js +62 -0
- package/dist/models/HostedScormOutlineEntry.d.ts +108 -0
- package/dist/models/HostedScormOutlineEntry.js +105 -0
- package/dist/models/HostedScormRollupPolicy.d.ts +69 -0
- package/dist/models/HostedScormRollupPolicy.js +80 -0
- package/dist/models/HostedScormScoreItem.d.ts +38 -0
- package/dist/models/HostedScormScoreItem.js +54 -0
- package/dist/models/IntegrationEvent.d.ts +2 -0
- package/dist/models/IntegrationEvent.js +3 -1
- package/dist/models/IntegrationEventData.d.ts +16 -2
- package/dist/models/IntegrationEventData.js +10 -0
- package/dist/models/IntegrationEventInvitation.d.ts +71 -0
- package/dist/models/IntegrationEventInvitation.js +79 -0
- package/dist/models/IntegrationEventUser.d.ts +50 -0
- package/dist/models/IntegrationEventUser.js +62 -0
- package/dist/models/PostCourseExport.d.ts +28 -0
- package/dist/models/PostCourseExport.js +16 -1
- package/dist/models/PostCustomWebhookIntegration.d.ts +2 -0
- package/dist/models/PostCustomWebhookIntegration.js +3 -1
- package/dist/models/PostDispatchItemLaunch.d.ts +32 -0
- package/dist/models/PostDispatchItemLaunch.js +48 -0
- package/dist/models/PostDispatchItemLaunchResponse.d.ts +64 -0
- package/dist/models/PostDispatchItemLaunchResponse.js +74 -0
- package/dist/models/PostDispatchLaunch.d.ts +50 -0
- package/dist/models/PostDispatchLaunch.js +60 -0
- package/dist/models/PostDispatchLaunchResponse.d.ts +70 -0
- package/dist/models/PostDispatchLaunchResponse.js +78 -0
- package/dist/models/PostDispatchTokenExchange.d.ts +32 -0
- package/dist/models/PostDispatchTokenExchange.js +50 -0
- package/dist/models/PostZapierSubscription.d.ts +2 -0
- package/dist/models/PostZapierSubscription.js +3 -1
- package/dist/models/PutCustomWebhookIntegration.d.ts +2 -0
- package/dist/models/PutCustomWebhookIntegration.js +3 -1
- package/dist/models/PutHostedScormStatus.d.ts +32 -0
- package/dist/models/PutHostedScormStatus.js +50 -0
- package/dist/models/ScormGetValueResponse.d.ts +12 -0
- package/dist/models/ScormGetValueResponse.js +8 -0
- package/dist/models/ScormNavigationDelivery.d.ts +64 -0
- package/dist/models/ScormNavigationDelivery.js +74 -0
- package/dist/models/ScormNavigationRequest.d.ts +55 -0
- package/dist/models/ScormNavigationRequest.js +69 -0
- package/dist/models/ScormNavigationResponse.d.ts +70 -0
- package/dist/models/ScormNavigationResponse.js +74 -0
- package/dist/models/ScormNavigationValidity.d.ts +92 -0
- package/dist/models/ScormNavigationValidity.js +90 -0
- package/dist/models/ScormRuntimeResponse.d.ts +44 -0
- package/dist/models/ScormRuntimeResponse.js +58 -0
- package/dist/models/ScormSetValueResponse.d.ts +12 -0
- package/dist/models/ScormSetValueResponse.js +8 -0
- package/dist/models/ScormTerminateResponse.d.ts +63 -0
- package/dist/models/ScormTerminateResponse.js +69 -0
- package/dist/models/ZapierSubscription.d.ts +2 -0
- package/dist/models/ZapierSubscription.js +3 -1
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/docs/CourseApi.md +225 -0
- package/docs/DispatchApi.md +480 -9
- package/docs/DispatchTokenResponse.md +40 -0
- package/docs/GetCourseExport.md +14 -0
- package/docs/GetDispatchCourse.md +50 -0
- package/docs/GetDispatchRollup.md +52 -0
- package/docs/GetHostedScormRegistration.md +50 -0
- package/docs/GetHostedScormRegistrationList.md +42 -0
- package/docs/GetResourceSessionDiagnostics.md +2 -0
- package/docs/HostedScormAccessPolicy.md +41 -0
- package/docs/HostedScormOutlineEntry.md +54 -0
- package/docs/HostedScormRollupPolicy.md +41 -0
- package/docs/HostedScormScoreItem.md +36 -0
- package/docs/IntegrationApi.md +2 -2
- package/docs/IntegrationEventData.md +4 -0
- package/docs/IntegrationEventInvitation.md +45 -0
- package/docs/IntegrationEventUser.md +41 -0
- package/docs/PlayerApi.md +80 -9
- package/docs/PostCourseExport.md +6 -0
- package/docs/PostDispatchItemLaunch.md +34 -0
- package/docs/PostDispatchItemLaunchResponse.md +42 -0
- package/docs/PostDispatchLaunch.md +40 -0
- package/docs/PostDispatchLaunchResponse.md +44 -0
- package/docs/PostDispatchTokenExchange.md +34 -0
- package/docs/PutHostedScormStatus.md +34 -0
- package/docs/ScormGetValueResponse.md +4 -0
- package/docs/ScormNavigationDelivery.md +43 -0
- package/docs/ScormNavigationRequest.md +37 -0
- package/docs/ScormNavigationResponse.md +47 -0
- package/docs/ScormNavigationValidity.md +55 -0
- package/docs/ScormRuntimeResponse.md +39 -0
- package/docs/ScormSetValueResponse.md +4 -0
- package/docs/ScormTerminateResponse.md +44 -0
- package/package.json +1 -1
- package/src/apis/CourseApi.ts +221 -0
- package/src/apis/DispatchApi.ts +426 -10
- package/src/apis/IntegrationApi.ts +3 -1
- package/src/apis/PlayerApi.ts +95 -12
- package/src/models/CustomWebhookIntegration.ts +3 -1
- package/src/models/DispatchTokenResponse.ts +103 -0
- package/src/models/GetCourseExport.ts +97 -0
- package/src/models/GetDispatchCourse.ts +153 -0
- package/src/models/GetDispatchRollup.ts +169 -0
- package/src/models/GetHostedScormRegistration.ts +136 -0
- package/src/models/GetHostedScormRegistrationList.ts +110 -0
- package/src/models/GetResourceSessionDiagnostics.ts +8 -0
- package/src/models/HostedScormAccessPolicy.ts +93 -0
- package/src/models/HostedScormOutlineEntry.ts +176 -0
- package/src/models/HostedScormRollupPolicy.ts +123 -0
- package/src/models/HostedScormScoreItem.ts +75 -0
- package/src/models/IntegrationEvent.ts +3 -1
- package/src/models/IntegrationEventData.ts +34 -2
- package/src/models/IntegrationEventInvitation.ts +130 -0
- package/src/models/IntegrationEventUser.ts +93 -0
- package/src/models/PostCourseExport.ts +48 -0
- package/src/models/PostCustomWebhookIntegration.ts +3 -1
- package/src/models/PostDispatchItemLaunch.ts +65 -0
- package/src/models/PostDispatchItemLaunchResponse.ts +113 -0
- package/src/models/PostDispatchLaunch.ts +92 -0
- package/src/models/PostDispatchLaunchResponse.ts +122 -0
- package/src/models/PostDispatchTokenExchange.ts +66 -0
- package/src/models/PostZapierSubscription.ts +3 -1
- package/src/models/PutCustomWebhookIntegration.ts +3 -1
- package/src/models/PutHostedScormStatus.ts +66 -0
- package/src/models/ScormGetValueResponse.ts +18 -0
- package/src/models/ScormNavigationDelivery.ts +113 -0
- package/src/models/ScormNavigationRequest.ts +94 -0
- package/src/models/ScormNavigationResponse.ts +134 -0
- package/src/models/ScormNavigationValidity.ts +156 -0
- package/src/models/ScormRuntimeResponse.ts +84 -0
- package/src/models/ScormSetValueResponse.ts +18 -0
- package/src/models/ScormTerminateResponse.ts +118 -0
- package/src/models/ZapierSubscription.ts +3 -1
- package/src/models/index.ts +23 -0
|
@@ -0,0 +1,50 @@
|
|
|
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 PostDispatchLaunch
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDispatchLaunch {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostDispatchLaunch
|
|
22
|
+
*/
|
|
23
|
+
dispatchId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostDispatchLaunch
|
|
28
|
+
*/
|
|
29
|
+
learnerId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostDispatchLaunch
|
|
34
|
+
*/
|
|
35
|
+
learnerName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Legacy multi-SCO placement identifier.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostDispatchLaunch
|
|
40
|
+
*/
|
|
41
|
+
itemId?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the PostDispatchLaunch interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfPostDispatchLaunch(value: object): value is PostDispatchLaunch;
|
|
47
|
+
export declare function PostDispatchLaunchFromJSON(json: any): PostDispatchLaunch;
|
|
48
|
+
export declare function PostDispatchLaunchFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDispatchLaunch;
|
|
49
|
+
export declare function PostDispatchLaunchToJSON(json: any): PostDispatchLaunch;
|
|
50
|
+
export declare function PostDispatchLaunchToJSONTyped(value?: PostDispatchLaunch | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfPostDispatchLaunch = instanceOfPostDispatchLaunch;
|
|
17
|
+
exports.PostDispatchLaunchFromJSON = PostDispatchLaunchFromJSON;
|
|
18
|
+
exports.PostDispatchLaunchFromJSONTyped = PostDispatchLaunchFromJSONTyped;
|
|
19
|
+
exports.PostDispatchLaunchToJSON = PostDispatchLaunchToJSON;
|
|
20
|
+
exports.PostDispatchLaunchToJSONTyped = PostDispatchLaunchToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostDispatchLaunch interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostDispatchLaunch(value) {
|
|
25
|
+
if (!('dispatchId' in value) || value['dispatchId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('learnerId' in value) || value['learnerId'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('learnerName' in value) || value['learnerName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PostDispatchLaunchFromJSON(json) {
|
|
34
|
+
return PostDispatchLaunchFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PostDispatchLaunchFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'dispatchId': json['dispatch_id'],
|
|
42
|
+
'learnerId': json['learner_id'],
|
|
43
|
+
'learnerName': json['learner_name'],
|
|
44
|
+
'itemId': json['item_id'] == null ? undefined : json['item_id'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function PostDispatchLaunchToJSON(json) {
|
|
48
|
+
return PostDispatchLaunchToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PostDispatchLaunchToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'dispatch_id': value['dispatchId'],
|
|
56
|
+
'learner_id': value['learnerId'],
|
|
57
|
+
'learner_name': value['learnerName'],
|
|
58
|
+
'item_id': value['itemId'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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 PostDispatchLaunchResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDispatchLaunchResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {PostDispatchLaunchResponseRuntimeModeEnum}
|
|
21
|
+
* @memberof PostDispatchLaunchResponse
|
|
22
|
+
*/
|
|
23
|
+
runtimeMode: PostDispatchLaunchResponseRuntimeModeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostDispatchLaunchResponse
|
|
28
|
+
*/
|
|
29
|
+
launchUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostDispatchLaunchResponse
|
|
34
|
+
*/
|
|
35
|
+
token: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostDispatchLaunchResponse
|
|
40
|
+
*/
|
|
41
|
+
launchCode: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PostDispatchLaunchResponse
|
|
46
|
+
*/
|
|
47
|
+
registrationId: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PostDispatchLaunchResponse
|
|
52
|
+
*/
|
|
53
|
+
expiresAt: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const PostDispatchLaunchResponseRuntimeModeEnum: {
|
|
59
|
+
readonly LegacyMultiSco: "LEGACY_MULTI_SCO";
|
|
60
|
+
readonly HostedCourseV1: "HOSTED_COURSE_V1";
|
|
61
|
+
};
|
|
62
|
+
export type PostDispatchLaunchResponseRuntimeModeEnum = typeof PostDispatchLaunchResponseRuntimeModeEnum[keyof typeof PostDispatchLaunchResponseRuntimeModeEnum];
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the PostDispatchLaunchResponse interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfPostDispatchLaunchResponse(value: object): value is PostDispatchLaunchResponse;
|
|
67
|
+
export declare function PostDispatchLaunchResponseFromJSON(json: any): PostDispatchLaunchResponse;
|
|
68
|
+
export declare function PostDispatchLaunchResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDispatchLaunchResponse;
|
|
69
|
+
export declare function PostDispatchLaunchResponseToJSON(json: any): PostDispatchLaunchResponse;
|
|
70
|
+
export declare function PostDispatchLaunchResponseToJSONTyped(value?: PostDispatchLaunchResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.PostDispatchLaunchResponseRuntimeModeEnum = void 0;
|
|
17
|
+
exports.instanceOfPostDispatchLaunchResponse = instanceOfPostDispatchLaunchResponse;
|
|
18
|
+
exports.PostDispatchLaunchResponseFromJSON = PostDispatchLaunchResponseFromJSON;
|
|
19
|
+
exports.PostDispatchLaunchResponseFromJSONTyped = PostDispatchLaunchResponseFromJSONTyped;
|
|
20
|
+
exports.PostDispatchLaunchResponseToJSON = PostDispatchLaunchResponseToJSON;
|
|
21
|
+
exports.PostDispatchLaunchResponseToJSONTyped = PostDispatchLaunchResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.PostDispatchLaunchResponseRuntimeModeEnum = {
|
|
26
|
+
LegacyMultiSco: 'LEGACY_MULTI_SCO',
|
|
27
|
+
HostedCourseV1: 'HOSTED_COURSE_V1'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the PostDispatchLaunchResponse interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfPostDispatchLaunchResponse(value) {
|
|
33
|
+
if (!('runtimeMode' in value) || value['runtimeMode'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('launchCode' in value) || value['launchCode'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('registrationId' in value) || value['registrationId'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function PostDispatchLaunchResponseFromJSON(json) {
|
|
48
|
+
return PostDispatchLaunchResponseFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function PostDispatchLaunchResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'runtimeMode': json['runtime_mode'],
|
|
56
|
+
'launchUrl': json['launch_url'],
|
|
57
|
+
'token': json['token'],
|
|
58
|
+
'launchCode': json['launch_code'],
|
|
59
|
+
'registrationId': json['registration_id'],
|
|
60
|
+
'expiresAt': json['expires_at'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function PostDispatchLaunchResponseToJSON(json) {
|
|
64
|
+
return PostDispatchLaunchResponseToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function PostDispatchLaunchResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'runtime_mode': value['runtimeMode'],
|
|
72
|
+
'launch_url': value['launchUrl'],
|
|
73
|
+
'token': value['token'],
|
|
74
|
+
'launch_code': value['launchCode'],
|
|
75
|
+
'registration_id': value['registrationId'],
|
|
76
|
+
'expires_at': value['expiresAt'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PostDispatchTokenExchange
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDispatchTokenExchange {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostDispatchTokenExchange
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostDispatchTokenExchange interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostDispatchTokenExchange(value: object): value is PostDispatchTokenExchange;
|
|
29
|
+
export declare function PostDispatchTokenExchangeFromJSON(json: any): PostDispatchTokenExchange;
|
|
30
|
+
export declare function PostDispatchTokenExchangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDispatchTokenExchange;
|
|
31
|
+
export declare function PostDispatchTokenExchangeToJSON(json: any): PostDispatchTokenExchange;
|
|
32
|
+
export declare function PostDispatchTokenExchangeToJSONTyped(value?: PostDispatchTokenExchange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfPostDispatchTokenExchange = instanceOfPostDispatchTokenExchange;
|
|
17
|
+
exports.PostDispatchTokenExchangeFromJSON = PostDispatchTokenExchangeFromJSON;
|
|
18
|
+
exports.PostDispatchTokenExchangeFromJSONTyped = PostDispatchTokenExchangeFromJSONTyped;
|
|
19
|
+
exports.PostDispatchTokenExchangeToJSON = PostDispatchTokenExchangeToJSON;
|
|
20
|
+
exports.PostDispatchTokenExchangeToJSONTyped = PostDispatchTokenExchangeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostDispatchTokenExchange interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostDispatchTokenExchange(value) {
|
|
25
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PostDispatchTokenExchangeFromJSON(json) {
|
|
30
|
+
return PostDispatchTokenExchangeFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PostDispatchTokenExchangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'code': json['code'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PostDispatchTokenExchangeToJSON(json) {
|
|
41
|
+
return PostDispatchTokenExchangeToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PostDispatchTokenExchangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'code': value['code'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -41,6 +41,8 @@ export declare const PostZapierSubscriptionEventTypeEnum: {
|
|
|
41
41
|
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
42
42
|
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
43
43
|
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
44
|
+
readonly ComEdaxuPortalUserInvitedV1: "com.edaxu.portal.user_invited.v1";
|
|
45
|
+
readonly ComEdaxuPortalUserJoinedV1: "com.edaxu.portal.user_joined.v1";
|
|
44
46
|
};
|
|
45
47
|
export type PostZapierSubscriptionEventTypeEnum = typeof PostZapierSubscriptionEventTypeEnum[keyof typeof PostZapierSubscriptionEventTypeEnum];
|
|
46
48
|
/**
|
|
@@ -25,7 +25,9 @@ exports.PostZapierSubscriptionToJSONTyped = PostZapierSubscriptionToJSONTyped;
|
|
|
25
25
|
exports.PostZapierSubscriptionEventTypeEnum = {
|
|
26
26
|
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
27
27
|
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
28
|
-
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
28
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1',
|
|
29
|
+
ComEdaxuPortalUserInvitedV1: 'com.edaxu.portal.user_invited.v1',
|
|
30
|
+
ComEdaxuPortalUserJoinedV1: 'com.edaxu.portal.user_joined.v1'
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* Check if a given object implements the PostZapierSubscription interface.
|
|
@@ -53,6 +53,8 @@ export declare const PutCustomWebhookIntegrationEventTypesEnum: {
|
|
|
53
53
|
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
54
54
|
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
55
55
|
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
56
|
+
readonly ComEdaxuPortalUserInvitedV1: "com.edaxu.portal.user_invited.v1";
|
|
57
|
+
readonly ComEdaxuPortalUserJoinedV1: "com.edaxu.portal.user_joined.v1";
|
|
56
58
|
};
|
|
57
59
|
export type PutCustomWebhookIntegrationEventTypesEnum = typeof PutCustomWebhookIntegrationEventTypesEnum[keyof typeof PutCustomWebhookIntegrationEventTypesEnum];
|
|
58
60
|
/**
|
|
@@ -25,7 +25,9 @@ exports.PutCustomWebhookIntegrationToJSONTyped = PutCustomWebhookIntegrationToJS
|
|
|
25
25
|
exports.PutCustomWebhookIntegrationEventTypesEnum = {
|
|
26
26
|
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
27
27
|
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
28
|
-
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
28
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1',
|
|
29
|
+
ComEdaxuPortalUserInvitedV1: 'com.edaxu.portal.user_invited.v1',
|
|
30
|
+
ComEdaxuPortalUserJoinedV1: 'com.edaxu.portal.user_joined.v1'
|
|
29
31
|
};
|
|
30
32
|
/**
|
|
31
33
|
* Check if a given object implements the PutCustomWebhookIntegration interface.
|
|
@@ -0,0 +1,32 @@
|
|
|
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 PutHostedScormStatus
|
|
16
|
+
*/
|
|
17
|
+
export interface PutHostedScormStatus {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PutHostedScormStatus
|
|
22
|
+
*/
|
|
23
|
+
active: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PutHostedScormStatus interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPutHostedScormStatus(value: object): value is PutHostedScormStatus;
|
|
29
|
+
export declare function PutHostedScormStatusFromJSON(json: any): PutHostedScormStatus;
|
|
30
|
+
export declare function PutHostedScormStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutHostedScormStatus;
|
|
31
|
+
export declare function PutHostedScormStatusToJSON(json: any): PutHostedScormStatus;
|
|
32
|
+
export declare function PutHostedScormStatusToJSONTyped(value?: PutHostedScormStatus | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfPutHostedScormStatus = instanceOfPutHostedScormStatus;
|
|
17
|
+
exports.PutHostedScormStatusFromJSON = PutHostedScormStatusFromJSON;
|
|
18
|
+
exports.PutHostedScormStatusFromJSONTyped = PutHostedScormStatusFromJSONTyped;
|
|
19
|
+
exports.PutHostedScormStatusToJSON = PutHostedScormStatusToJSON;
|
|
20
|
+
exports.PutHostedScormStatusToJSONTyped = PutHostedScormStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PutHostedScormStatus interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPutHostedScormStatus(value) {
|
|
25
|
+
if (!('active' in value) || value['active'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PutHostedScormStatusFromJSON(json) {
|
|
30
|
+
return PutHostedScormStatusFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PutHostedScormStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'active': json['active'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PutHostedScormStatusToJSON(json) {
|
|
41
|
+
return PutHostedScormStatusToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PutHostedScormStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'active': value['active'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -27,6 +27,18 @@ export interface ScormGetValueResponse {
|
|
|
27
27
|
* @memberof ScormGetValueResponse
|
|
28
28
|
*/
|
|
29
29
|
value: string;
|
|
30
|
+
/**
|
|
31
|
+
* Exact SCORM runtime error code for this API call
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ScormGetValueResponse
|
|
34
|
+
*/
|
|
35
|
+
errorCode: string;
|
|
36
|
+
/**
|
|
37
|
+
* Diagnostic detail for the error code, empty on success
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ScormGetValueResponse
|
|
40
|
+
*/
|
|
41
|
+
diagnostic: string;
|
|
30
42
|
}
|
|
31
43
|
/**
|
|
32
44
|
* Check if a given object implements the ScormGetValueResponse interface.
|
|
@@ -26,6 +26,10 @@ function instanceOfScormGetValueResponse(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('value' in value) || value['value'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('diagnostic' in value) || value['diagnostic'] === undefined)
|
|
32
|
+
return false;
|
|
29
33
|
return true;
|
|
30
34
|
}
|
|
31
35
|
function ScormGetValueResponseFromJSON(json) {
|
|
@@ -38,6 +42,8 @@ function ScormGetValueResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
42
|
return {
|
|
39
43
|
'success': json['success'],
|
|
40
44
|
'value': json['value'],
|
|
45
|
+
'errorCode': json['error_code'],
|
|
46
|
+
'diagnostic': json['diagnostic'],
|
|
41
47
|
};
|
|
42
48
|
}
|
|
43
49
|
function ScormGetValueResponseToJSON(json) {
|
|
@@ -50,5 +56,7 @@ function ScormGetValueResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
50
56
|
return {
|
|
51
57
|
'success': value['success'],
|
|
52
58
|
'value': value['value'],
|
|
59
|
+
'error_code': value['errorCode'],
|
|
60
|
+
'diagnostic': value['diagnostic'],
|
|
53
61
|
};
|
|
54
62
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
* Activity selected exclusively by the sequencing engine
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormNavigationDelivery
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormNavigationDelivery {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScormNavigationDelivery
|
|
22
|
+
*/
|
|
23
|
+
activityIdentifier: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormNavigationDelivery
|
|
28
|
+
*/
|
|
29
|
+
trackingUuid: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ScormNavigationDelivery
|
|
34
|
+
*/
|
|
35
|
+
launchUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ScormNavigationDelivery
|
|
40
|
+
*/
|
|
41
|
+
title: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ScormNavigationDeliveryActivityTypeEnum}
|
|
45
|
+
* @memberof ScormNavigationDelivery
|
|
46
|
+
*/
|
|
47
|
+
activityType: ScormNavigationDeliveryActivityTypeEnum;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const ScormNavigationDeliveryActivityTypeEnum: {
|
|
53
|
+
readonly Sco: "sco";
|
|
54
|
+
readonly Asset: "asset";
|
|
55
|
+
};
|
|
56
|
+
export type ScormNavigationDeliveryActivityTypeEnum = typeof ScormNavigationDeliveryActivityTypeEnum[keyof typeof ScormNavigationDeliveryActivityTypeEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the ScormNavigationDelivery interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfScormNavigationDelivery(value: object): value is ScormNavigationDelivery;
|
|
61
|
+
export declare function ScormNavigationDeliveryFromJSON(json: any): ScormNavigationDelivery;
|
|
62
|
+
export declare function ScormNavigationDeliveryFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationDelivery;
|
|
63
|
+
export declare function ScormNavigationDeliveryToJSON(json: any): ScormNavigationDelivery;
|
|
64
|
+
export declare function ScormNavigationDeliveryToJSONTyped(value?: ScormNavigationDelivery | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
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.ScormNavigationDeliveryActivityTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfScormNavigationDelivery = instanceOfScormNavigationDelivery;
|
|
18
|
+
exports.ScormNavigationDeliveryFromJSON = ScormNavigationDeliveryFromJSON;
|
|
19
|
+
exports.ScormNavigationDeliveryFromJSONTyped = ScormNavigationDeliveryFromJSONTyped;
|
|
20
|
+
exports.ScormNavigationDeliveryToJSON = ScormNavigationDeliveryToJSON;
|
|
21
|
+
exports.ScormNavigationDeliveryToJSONTyped = ScormNavigationDeliveryToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ScormNavigationDeliveryActivityTypeEnum = {
|
|
26
|
+
Sco: 'sco',
|
|
27
|
+
Asset: 'asset'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ScormNavigationDelivery interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfScormNavigationDelivery(value) {
|
|
33
|
+
if (!('activityIdentifier' in value) || value['activityIdentifier'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('trackingUuid' in value) || value['trackingUuid'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('activityType' in value) || value['activityType'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
function ScormNavigationDeliveryFromJSON(json) {
|
|
46
|
+
return ScormNavigationDeliveryFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function ScormNavigationDeliveryFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'activityIdentifier': json['activity_identifier'],
|
|
54
|
+
'trackingUuid': json['tracking_uuid'],
|
|
55
|
+
'launchUrl': json['launch_url'],
|
|
56
|
+
'title': json['title'],
|
|
57
|
+
'activityType': json['activity_type'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function ScormNavigationDeliveryToJSON(json) {
|
|
61
|
+
return ScormNavigationDeliveryToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
function ScormNavigationDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
'activity_identifier': value['activityIdentifier'],
|
|
69
|
+
'tracking_uuid': value['trackingUuid'],
|
|
70
|
+
'launch_url': value['launchUrl'],
|
|
71
|
+
'title': value['title'],
|
|
72
|
+
'activity_type': value['activityType'],
|
|
73
|
+
};
|
|
74
|
+
}
|