@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,66 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ScormNavigationDeliveryActivityTypeEnum = {
|
|
18
|
+
Sco: 'sco',
|
|
19
|
+
Asset: 'asset'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ScormNavigationDelivery interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfScormNavigationDelivery(value) {
|
|
25
|
+
if (!('activityIdentifier' in value) || value['activityIdentifier'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('trackingUuid' in value) || value['trackingUuid'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('activityType' in value) || value['activityType'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function ScormNavigationDeliveryFromJSON(json) {
|
|
38
|
+
return ScormNavigationDeliveryFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ScormNavigationDeliveryFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'activityIdentifier': json['activity_identifier'],
|
|
46
|
+
'trackingUuid': json['tracking_uuid'],
|
|
47
|
+
'launchUrl': json['launch_url'],
|
|
48
|
+
'title': json['title'],
|
|
49
|
+
'activityType': json['activity_type'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function ScormNavigationDeliveryToJSON(json) {
|
|
53
|
+
return ScormNavigationDeliveryToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function ScormNavigationDeliveryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'activity_identifier': value['activityIdentifier'],
|
|
61
|
+
'tracking_uuid': value['trackingUuid'],
|
|
62
|
+
'launch_url': value['launchUrl'],
|
|
63
|
+
'title': value['title'],
|
|
64
|
+
'activity_type': value['activityType'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* A SCORM 2004 navigation request
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormNavigationRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormNavigationRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {ScormNavigationRequestRequestEnum}
|
|
21
|
+
* @memberof ScormNavigationRequest
|
|
22
|
+
*/
|
|
23
|
+
request: ScormNavigationRequestRequestEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Required for choice and jump; forbidden for other requests
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormNavigationRequest
|
|
28
|
+
*/
|
|
29
|
+
targetIdentifier?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const ScormNavigationRequestRequestEnum: {
|
|
35
|
+
readonly Start: "start";
|
|
36
|
+
readonly ResumeAll: "resume_all";
|
|
37
|
+
readonly Continue: "continue";
|
|
38
|
+
readonly Previous: "previous";
|
|
39
|
+
readonly Choice: "choice";
|
|
40
|
+
readonly Jump: "jump";
|
|
41
|
+
readonly Exit: "exit";
|
|
42
|
+
readonly ExitAll: "exit_all";
|
|
43
|
+
readonly Abandon: "abandon";
|
|
44
|
+
readonly AbandonAll: "abandon_all";
|
|
45
|
+
readonly SuspendAll: "suspend_all";
|
|
46
|
+
};
|
|
47
|
+
export type ScormNavigationRequestRequestEnum = typeof ScormNavigationRequestRequestEnum[keyof typeof ScormNavigationRequestRequestEnum];
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ScormNavigationRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfScormNavigationRequest(value: object): value is ScormNavigationRequest;
|
|
52
|
+
export declare function ScormNavigationRequestFromJSON(json: any): ScormNavigationRequest;
|
|
53
|
+
export declare function ScormNavigationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationRequest;
|
|
54
|
+
export declare function ScormNavigationRequestToJSON(json: any): ScormNavigationRequest;
|
|
55
|
+
export declare function ScormNavigationRequestToJSONTyped(value?: ScormNavigationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ScormNavigationRequestRequestEnum = {
|
|
18
|
+
Start: 'start',
|
|
19
|
+
ResumeAll: 'resume_all',
|
|
20
|
+
Continue: 'continue',
|
|
21
|
+
Previous: 'previous',
|
|
22
|
+
Choice: 'choice',
|
|
23
|
+
Jump: 'jump',
|
|
24
|
+
Exit: 'exit',
|
|
25
|
+
ExitAll: 'exit_all',
|
|
26
|
+
Abandon: 'abandon',
|
|
27
|
+
AbandonAll: 'abandon_all',
|
|
28
|
+
SuspendAll: 'suspend_all'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ScormNavigationRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfScormNavigationRequest(value) {
|
|
34
|
+
if (!('request' in value) || value['request'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
export function ScormNavigationRequestFromJSON(json) {
|
|
39
|
+
return ScormNavigationRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ScormNavigationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'request': json['request'],
|
|
47
|
+
'targetIdentifier': json['target_identifier'] == null ? undefined : json['target_identifier'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function ScormNavigationRequestToJSON(json) {
|
|
51
|
+
return ScormNavigationRequestToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function ScormNavigationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'request': value['request'],
|
|
59
|
+
'target_identifier': value['targetIdentifier'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -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
|
+
import type { ScormNavigationDelivery } from './ScormNavigationDelivery';
|
|
13
|
+
import type { ScormNavigationValidity } from './ScormNavigationValidity';
|
|
14
|
+
/**
|
|
15
|
+
* Result of a SCORM 2004 sequencing transition
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ScormNavigationResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface ScormNavigationResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof ScormNavigationResponse
|
|
24
|
+
*/
|
|
25
|
+
success: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ScormNavigationDelivery}
|
|
29
|
+
* @memberof ScormNavigationResponse
|
|
30
|
+
*/
|
|
31
|
+
delivery?: ScormNavigationDelivery;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof ScormNavigationResponse
|
|
36
|
+
*/
|
|
37
|
+
sequencingEnded: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ScormNavigationResponse
|
|
42
|
+
*/
|
|
43
|
+
suspended: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {ScormNavigationValidity}
|
|
47
|
+
* @memberof ScormNavigationResponse
|
|
48
|
+
*/
|
|
49
|
+
valid: ScormNavigationValidity;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ScormNavigationResponse
|
|
54
|
+
*/
|
|
55
|
+
errorCode: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ScormNavigationResponse
|
|
60
|
+
*/
|
|
61
|
+
diagnostic: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the ScormNavigationResponse interface.
|
|
65
|
+
*/
|
|
66
|
+
export declare function instanceOfScormNavigationResponse(value: object): value is ScormNavigationResponse;
|
|
67
|
+
export declare function ScormNavigationResponseFromJSON(json: any): ScormNavigationResponse;
|
|
68
|
+
export declare function ScormNavigationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationResponse;
|
|
69
|
+
export declare function ScormNavigationResponseToJSON(json: any): ScormNavigationResponse;
|
|
70
|
+
export declare function ScormNavigationResponseToJSONTyped(value?: ScormNavigationResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { ScormNavigationDeliveryFromJSON, ScormNavigationDeliveryToJSON, } from './ScormNavigationDelivery';
|
|
15
|
+
import { ScormNavigationValidityFromJSON, ScormNavigationValidityToJSON, } from './ScormNavigationValidity';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ScormNavigationResponse interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfScormNavigationResponse(value) {
|
|
20
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('sequencingEnded' in value) || value['sequencingEnded'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('suspended' in value) || value['suspended'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('valid' in value) || value['valid'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('diagnostic' in value) || value['diagnostic'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
export function ScormNavigationResponseFromJSON(json) {
|
|
35
|
+
return ScormNavigationResponseFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function ScormNavigationResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'success': json['success'],
|
|
43
|
+
'delivery': json['delivery'] == null ? undefined : ScormNavigationDeliveryFromJSON(json['delivery']),
|
|
44
|
+
'sequencingEnded': json['sequencing_ended'],
|
|
45
|
+
'suspended': json['suspended'],
|
|
46
|
+
'valid': ScormNavigationValidityFromJSON(json['valid']),
|
|
47
|
+
'errorCode': json['error_code'],
|
|
48
|
+
'diagnostic': json['diagnostic'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
export function ScormNavigationResponseToJSON(json) {
|
|
52
|
+
return ScormNavigationResponseToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
export function ScormNavigationResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'success': value['success'],
|
|
60
|
+
'delivery': ScormNavigationDeliveryToJSON(value['delivery']),
|
|
61
|
+
'sequencing_ended': value['sequencingEnded'],
|
|
62
|
+
'suspended': value['suspended'],
|
|
63
|
+
'valid': ScormNavigationValidityToJSON(value['valid']),
|
|
64
|
+
'error_code': value['errorCode'],
|
|
65
|
+
'diagnostic': value['diagnostic'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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
|
+
* Navigation requests valid in the resulting sequencing state
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormNavigationValidity
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormNavigationValidity {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ScormNavigationValidity
|
|
22
|
+
*/
|
|
23
|
+
start: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof ScormNavigationValidity
|
|
28
|
+
*/
|
|
29
|
+
resumeAll: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ScormNavigationValidity
|
|
34
|
+
*/
|
|
35
|
+
_continue: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof ScormNavigationValidity
|
|
40
|
+
*/
|
|
41
|
+
previous: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof ScormNavigationValidity
|
|
46
|
+
*/
|
|
47
|
+
exit: boolean;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ScormNavigationValidity
|
|
52
|
+
*/
|
|
53
|
+
exitAll: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ScormNavigationValidity
|
|
58
|
+
*/
|
|
59
|
+
abandon: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof ScormNavigationValidity
|
|
64
|
+
*/
|
|
65
|
+
abandonAll: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof ScormNavigationValidity
|
|
70
|
+
*/
|
|
71
|
+
suspendAll: boolean;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof ScormNavigationValidity
|
|
76
|
+
*/
|
|
77
|
+
choiceTargets: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof ScormNavigationValidity
|
|
82
|
+
*/
|
|
83
|
+
jumpTargets: Array<string>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the ScormNavigationValidity interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfScormNavigationValidity(value: object): value is ScormNavigationValidity;
|
|
89
|
+
export declare function ScormNavigationValidityFromJSON(json: any): ScormNavigationValidity;
|
|
90
|
+
export declare function ScormNavigationValidityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationValidity;
|
|
91
|
+
export declare function ScormNavigationValidityToJSON(json: any): ScormNavigationValidity;
|
|
92
|
+
export declare function ScormNavigationValidityToJSONTyped(value?: ScormNavigationValidity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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 ScormNavigationValidity interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfScormNavigationValidity(value) {
|
|
18
|
+
if (!('start' in value) || value['start'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('resumeAll' in value) || value['resumeAll'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('_continue' in value) || value['_continue'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('previous' in value) || value['previous'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('exit' in value) || value['exit'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('exitAll' in value) || value['exitAll'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('abandon' in value) || value['abandon'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('abandonAll' in value) || value['abandonAll'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('suspendAll' in value) || value['suspendAll'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('choiceTargets' in value) || value['choiceTargets'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('jumpTargets' in value) || value['jumpTargets'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
export function ScormNavigationValidityFromJSON(json) {
|
|
43
|
+
return ScormNavigationValidityFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function ScormNavigationValidityFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'start': json['start'],
|
|
51
|
+
'resumeAll': json['resume_all'],
|
|
52
|
+
'_continue': json['continue'],
|
|
53
|
+
'previous': json['previous'],
|
|
54
|
+
'exit': json['exit'],
|
|
55
|
+
'exitAll': json['exit_all'],
|
|
56
|
+
'abandon': json['abandon'],
|
|
57
|
+
'abandonAll': json['abandon_all'],
|
|
58
|
+
'suspendAll': json['suspend_all'],
|
|
59
|
+
'choiceTargets': json['choice_targets'],
|
|
60
|
+
'jumpTargets': json['jump_targets'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
export function ScormNavigationValidityToJSON(json) {
|
|
64
|
+
return ScormNavigationValidityToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
export function ScormNavigationValidityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'start': value['start'],
|
|
72
|
+
'resume_all': value['resumeAll'],
|
|
73
|
+
'continue': value['_continue'],
|
|
74
|
+
'previous': value['previous'],
|
|
75
|
+
'exit': value['exit'],
|
|
76
|
+
'exit_all': value['exitAll'],
|
|
77
|
+
'abandon': value['abandon'],
|
|
78
|
+
'abandon_all': value['abandonAll'],
|
|
79
|
+
'suspend_all': value['suspendAll'],
|
|
80
|
+
'choice_targets': value['choiceTargets'],
|
|
81
|
+
'jump_targets': value['jumpTargets'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
* Typed result of a SCORM runtime API operation
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormRuntimeResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormRuntimeResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ScormRuntimeResponse
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Exact SCORM runtime error code for this API call
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormRuntimeResponse
|
|
28
|
+
*/
|
|
29
|
+
errorCode: string;
|
|
30
|
+
/**
|
|
31
|
+
* Diagnostic detail for the error code, empty on success
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ScormRuntimeResponse
|
|
34
|
+
*/
|
|
35
|
+
diagnostic: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ScormRuntimeResponse interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfScormRuntimeResponse(value: object): value is ScormRuntimeResponse;
|
|
41
|
+
export declare function ScormRuntimeResponseFromJSON(json: any): ScormRuntimeResponse;
|
|
42
|
+
export declare function ScormRuntimeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormRuntimeResponse;
|
|
43
|
+
export declare function ScormRuntimeResponseToJSON(json: any): ScormRuntimeResponse;
|
|
44
|
+
export declare function ScormRuntimeResponseToJSONTyped(value?: ScormRuntimeResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ScormRuntimeResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfScormRuntimeResponse(value) {
|
|
18
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('diagnostic' in value) || value['diagnostic'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function ScormRuntimeResponseFromJSON(json) {
|
|
27
|
+
return ScormRuntimeResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function ScormRuntimeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'success': json['success'],
|
|
35
|
+
'errorCode': json['error_code'],
|
|
36
|
+
'diagnostic': json['diagnostic'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function ScormRuntimeResponseToJSON(json) {
|
|
40
|
+
return ScormRuntimeResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ScormRuntimeResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'success': value['success'],
|
|
48
|
+
'error_code': value['errorCode'],
|
|
49
|
+
'diagnostic': value['diagnostic'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -21,6 +21,18 @@ export interface ScormSetValueResponse {
|
|
|
21
21
|
* @memberof ScormSetValueResponse
|
|
22
22
|
*/
|
|
23
23
|
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Exact SCORM runtime error code for this API call
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormSetValueResponse
|
|
28
|
+
*/
|
|
29
|
+
errorCode: string;
|
|
30
|
+
/**
|
|
31
|
+
* Diagnostic detail for the error code, empty on success
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ScormSetValueResponse
|
|
34
|
+
*/
|
|
35
|
+
diagnostic: string;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* Check if a given object implements the ScormSetValueResponse interface.
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export function instanceOfScormSetValueResponse(value) {
|
|
18
18
|
if (!('success' in value) || value['success'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('diagnostic' in value) || value['diagnostic'] === undefined)
|
|
23
|
+
return false;
|
|
20
24
|
return true;
|
|
21
25
|
}
|
|
22
26
|
export function ScormSetValueResponseFromJSON(json) {
|
|
@@ -28,6 +32,8 @@ export function ScormSetValueResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
32
|
}
|
|
29
33
|
return {
|
|
30
34
|
'success': json['success'],
|
|
35
|
+
'errorCode': json['error_code'],
|
|
36
|
+
'diagnostic': json['diagnostic'],
|
|
31
37
|
};
|
|
32
38
|
}
|
|
33
39
|
export function ScormSetValueResponseToJSON(json) {
|
|
@@ -39,5 +45,7 @@ export function ScormSetValueResponseToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
39
45
|
}
|
|
40
46
|
return {
|
|
41
47
|
'success': value['success'],
|
|
48
|
+
'error_code': value['errorCode'],
|
|
49
|
+
'diagnostic': value['diagnostic'],
|
|
42
50
|
};
|
|
43
51
|
}
|