@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,63 @@
|
|
|
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
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ScormTerminateResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ScormTerminateResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ScormTerminateResponse
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Exact SCORM runtime error code for this API call
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ScormTerminateResponse
|
|
29
|
+
*/
|
|
30
|
+
errorCode: string;
|
|
31
|
+
/**
|
|
32
|
+
* Diagnostic detail for the error code, empty on success
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ScormTerminateResponse
|
|
35
|
+
*/
|
|
36
|
+
diagnostic: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ScormNavigationDelivery}
|
|
40
|
+
* @memberof ScormTerminateResponse
|
|
41
|
+
*/
|
|
42
|
+
delivery?: ScormNavigationDelivery;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ScormTerminateResponse
|
|
47
|
+
*/
|
|
48
|
+
sequencingEnded: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof ScormTerminateResponse
|
|
53
|
+
*/
|
|
54
|
+
suspended: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ScormTerminateResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfScormTerminateResponse(value: object): value is ScormTerminateResponse;
|
|
60
|
+
export declare function ScormTerminateResponseFromJSON(json: any): ScormTerminateResponse;
|
|
61
|
+
export declare function ScormTerminateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormTerminateResponse;
|
|
62
|
+
export declare function ScormTerminateResponseToJSON(json: any): ScormTerminateResponse;
|
|
63
|
+
export declare function ScormTerminateResponseToJSONTyped(value?: ScormTerminateResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
/**
|
|
16
|
+
* Check if a given object implements the ScormTerminateResponse interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfScormTerminateResponse(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('errorCode' in value) || value['errorCode'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('diagnostic' in value) || value['diagnostic'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('sequencingEnded' in value) || value['sequencingEnded'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('suspended' in value) || value['suspended'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function ScormTerminateResponseFromJSON(json) {
|
|
32
|
+
return ScormTerminateResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ScormTerminateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'success': json['success'],
|
|
40
|
+
'errorCode': json['error_code'],
|
|
41
|
+
'diagnostic': json['diagnostic'],
|
|
42
|
+
'delivery': json['delivery'] == null ? undefined : ScormNavigationDeliveryFromJSON(json['delivery']),
|
|
43
|
+
'sequencingEnded': json['sequencing_ended'],
|
|
44
|
+
'suspended': json['suspended'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function ScormTerminateResponseToJSON(json) {
|
|
48
|
+
return ScormTerminateResponseToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function ScormTerminateResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'success': value['success'],
|
|
56
|
+
'error_code': value['errorCode'],
|
|
57
|
+
'diagnostic': value['diagnostic'],
|
|
58
|
+
'delivery': ScormNavigationDeliveryToJSON(value['delivery']),
|
|
59
|
+
'sequencing_ended': value['sequencingEnded'],
|
|
60
|
+
'suspended': value['suspended'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -41,6 +41,8 @@ export declare const ZapierSubscriptionEventTypeEnum: {
|
|
|
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 ZapierSubscriptionEventTypeEnum = typeof ZapierSubscriptionEventTypeEnum[keyof typeof ZapierSubscriptionEventTypeEnum];
|
|
46
48
|
/**
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
export const ZapierSubscriptionEventTypeEnum = {
|
|
18
18
|
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
19
19
|
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
20
|
-
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
20
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1',
|
|
21
|
+
ComEdaxuPortalUserInvitedV1: 'com.edaxu.portal.user_invited.v1',
|
|
22
|
+
ComEdaxuPortalUserJoinedV1: 'com.edaxu.portal.user_joined.v1'
|
|
21
23
|
};
|
|
22
24
|
/**
|
|
23
25
|
* Check if a given object implements the ZapierSubscription interface.
|
|
@@ -41,6 +41,7 @@ export * from './CourseProgressionMode';
|
|
|
41
41
|
export * from './CourseShare';
|
|
42
42
|
export * from './CourseShareAcceptError';
|
|
43
43
|
export * from './CustomWebhookIntegration';
|
|
44
|
+
export * from './DispatchTokenResponse';
|
|
44
45
|
export * from './EffectiveCertificateConfig';
|
|
45
46
|
export * from './EmailTemplateDefinition';
|
|
46
47
|
export * from './EmailTemplateScope';
|
|
@@ -85,6 +86,8 @@ export * from './GetCourseVersionSection';
|
|
|
85
86
|
export * from './GetCourseVersionSectionChild';
|
|
86
87
|
export * from './GetCourseVersionSectionProgression';
|
|
87
88
|
export * from './GetCourseVersionSectionReporting';
|
|
89
|
+
export * from './GetDispatchCourse';
|
|
90
|
+
export * from './GetDispatchRollup';
|
|
88
91
|
export * from './GetEffectiveLearnerExperience';
|
|
89
92
|
export * from './GetEmailAssetUpload';
|
|
90
93
|
export * from './GetEmailDelivery';
|
|
@@ -92,6 +95,8 @@ export * from './GetEmailDeliveryList';
|
|
|
92
95
|
export * from './GetEmailTemplate';
|
|
93
96
|
export * from './GetEmailTemplateList';
|
|
94
97
|
export * from './GetEmailTemplatePreview';
|
|
98
|
+
export * from './GetHostedScormRegistration';
|
|
99
|
+
export * from './GetHostedScormRegistrationList';
|
|
95
100
|
export * from './GetLearnerDashboard';
|
|
96
101
|
export * from './GetLearnerDashboardCourseList';
|
|
97
102
|
export * from './GetLearnerDashboardSummary';
|
|
@@ -165,13 +170,19 @@ export * from './GetZapierMe';
|
|
|
165
170
|
export * from './GetZapierSetup';
|
|
166
171
|
export * from './GetZapierShopifyCourseMappings';
|
|
167
172
|
export * from './GetZapierUsers';
|
|
173
|
+
export * from './HostedScormAccessPolicy';
|
|
174
|
+
export * from './HostedScormOutlineEntry';
|
|
175
|
+
export * from './HostedScormRollupPolicy';
|
|
176
|
+
export * from './HostedScormScoreItem';
|
|
168
177
|
export * from './IntegrationEvent';
|
|
169
178
|
export * from './IntegrationEventCertificate';
|
|
170
179
|
export * from './IntegrationEventCourse';
|
|
171
180
|
export * from './IntegrationEventData';
|
|
172
181
|
export * from './IntegrationEventEnrollment';
|
|
182
|
+
export * from './IntegrationEventInvitation';
|
|
173
183
|
export * from './IntegrationEventLearner';
|
|
174
184
|
export * from './IntegrationEventPortal';
|
|
185
|
+
export * from './IntegrationEventUser';
|
|
175
186
|
export * from './LearnerExperienceVersion';
|
|
176
187
|
export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
177
188
|
export * from './LibraryQuizCriterion';
|
|
@@ -224,6 +235,11 @@ export * from './PostCourseVersionPublish';
|
|
|
224
235
|
export * from './PostCourseVersionSection';
|
|
225
236
|
export * from './PostCourseVersionSectionDuplicate';
|
|
226
237
|
export * from './PostCustomWebhookIntegration';
|
|
238
|
+
export * from './PostDispatchItemLaunch';
|
|
239
|
+
export * from './PostDispatchItemLaunchResponse';
|
|
240
|
+
export * from './PostDispatchLaunch';
|
|
241
|
+
export * from './PostDispatchLaunchResponse';
|
|
242
|
+
export * from './PostDispatchTokenExchange';
|
|
227
243
|
export * from './PostDuplicate';
|
|
228
244
|
export * from './PostEmailAssetComplete';
|
|
229
245
|
export * from './PostEmailAssetUpload';
|
|
@@ -290,6 +306,7 @@ export * from './PutCourseVersionOutlineEntryMove';
|
|
|
290
306
|
export * from './PutCourseVersionSection';
|
|
291
307
|
export * from './PutCustomWebhookIntegration';
|
|
292
308
|
export * from './PutEmailTemplateDraft';
|
|
309
|
+
export * from './PutHostedScormStatus';
|
|
293
310
|
export * from './PutLearnerExperienceDraft';
|
|
294
311
|
export * from './PutLibraryQuiz';
|
|
295
312
|
export * from './PutLibraryQuizCriteria';
|
|
@@ -325,8 +342,14 @@ export * from './RichTextAsset';
|
|
|
325
342
|
export * from './RichTextDocument';
|
|
326
343
|
export * from './RichTextInput';
|
|
327
344
|
export * from './ScormGetValueResponse';
|
|
345
|
+
export * from './ScormNavigationDelivery';
|
|
346
|
+
export * from './ScormNavigationRequest';
|
|
347
|
+
export * from './ScormNavigationResponse';
|
|
348
|
+
export * from './ScormNavigationValidity';
|
|
349
|
+
export * from './ScormRuntimeResponse';
|
|
328
350
|
export * from './ScormSetValueRequest';
|
|
329
351
|
export * from './ScormSetValueResponse';
|
|
352
|
+
export * from './ScormTerminateResponse';
|
|
330
353
|
export * from './SupportTicketUser';
|
|
331
354
|
export * from './UpdateSelectedPortalResponse';
|
|
332
355
|
export * from './UpdateSelectedPortalResponseHostPortal';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -43,6 +43,7 @@ export * from './CourseProgressionMode';
|
|
|
43
43
|
export * from './CourseShare';
|
|
44
44
|
export * from './CourseShareAcceptError';
|
|
45
45
|
export * from './CustomWebhookIntegration';
|
|
46
|
+
export * from './DispatchTokenResponse';
|
|
46
47
|
export * from './EffectiveCertificateConfig';
|
|
47
48
|
export * from './EmailTemplateDefinition';
|
|
48
49
|
export * from './EmailTemplateScope';
|
|
@@ -87,6 +88,8 @@ export * from './GetCourseVersionSection';
|
|
|
87
88
|
export * from './GetCourseVersionSectionChild';
|
|
88
89
|
export * from './GetCourseVersionSectionProgression';
|
|
89
90
|
export * from './GetCourseVersionSectionReporting';
|
|
91
|
+
export * from './GetDispatchCourse';
|
|
92
|
+
export * from './GetDispatchRollup';
|
|
90
93
|
export * from './GetEffectiveLearnerExperience';
|
|
91
94
|
export * from './GetEmailAssetUpload';
|
|
92
95
|
export * from './GetEmailDelivery';
|
|
@@ -94,6 +97,8 @@ export * from './GetEmailDeliveryList';
|
|
|
94
97
|
export * from './GetEmailTemplate';
|
|
95
98
|
export * from './GetEmailTemplateList';
|
|
96
99
|
export * from './GetEmailTemplatePreview';
|
|
100
|
+
export * from './GetHostedScormRegistration';
|
|
101
|
+
export * from './GetHostedScormRegistrationList';
|
|
97
102
|
export * from './GetLearnerDashboard';
|
|
98
103
|
export * from './GetLearnerDashboardCourseList';
|
|
99
104
|
export * from './GetLearnerDashboardSummary';
|
|
@@ -167,13 +172,19 @@ export * from './GetZapierMe';
|
|
|
167
172
|
export * from './GetZapierSetup';
|
|
168
173
|
export * from './GetZapierShopifyCourseMappings';
|
|
169
174
|
export * from './GetZapierUsers';
|
|
175
|
+
export * from './HostedScormAccessPolicy';
|
|
176
|
+
export * from './HostedScormOutlineEntry';
|
|
177
|
+
export * from './HostedScormRollupPolicy';
|
|
178
|
+
export * from './HostedScormScoreItem';
|
|
170
179
|
export * from './IntegrationEvent';
|
|
171
180
|
export * from './IntegrationEventCertificate';
|
|
172
181
|
export * from './IntegrationEventCourse';
|
|
173
182
|
export * from './IntegrationEventData';
|
|
174
183
|
export * from './IntegrationEventEnrollment';
|
|
184
|
+
export * from './IntegrationEventInvitation';
|
|
175
185
|
export * from './IntegrationEventLearner';
|
|
176
186
|
export * from './IntegrationEventPortal';
|
|
187
|
+
export * from './IntegrationEventUser';
|
|
177
188
|
export * from './LearnerExperienceVersion';
|
|
178
189
|
export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
179
190
|
export * from './LibraryQuizCriterion';
|
|
@@ -226,6 +237,11 @@ export * from './PostCourseVersionPublish';
|
|
|
226
237
|
export * from './PostCourseVersionSection';
|
|
227
238
|
export * from './PostCourseVersionSectionDuplicate';
|
|
228
239
|
export * from './PostCustomWebhookIntegration';
|
|
240
|
+
export * from './PostDispatchItemLaunch';
|
|
241
|
+
export * from './PostDispatchItemLaunchResponse';
|
|
242
|
+
export * from './PostDispatchLaunch';
|
|
243
|
+
export * from './PostDispatchLaunchResponse';
|
|
244
|
+
export * from './PostDispatchTokenExchange';
|
|
229
245
|
export * from './PostDuplicate';
|
|
230
246
|
export * from './PostEmailAssetComplete';
|
|
231
247
|
export * from './PostEmailAssetUpload';
|
|
@@ -292,6 +308,7 @@ export * from './PutCourseVersionOutlineEntryMove';
|
|
|
292
308
|
export * from './PutCourseVersionSection';
|
|
293
309
|
export * from './PutCustomWebhookIntegration';
|
|
294
310
|
export * from './PutEmailTemplateDraft';
|
|
311
|
+
export * from './PutHostedScormStatus';
|
|
295
312
|
export * from './PutLearnerExperienceDraft';
|
|
296
313
|
export * from './PutLibraryQuiz';
|
|
297
314
|
export * from './PutLibraryQuizCriteria';
|
|
@@ -327,8 +344,14 @@ export * from './RichTextAsset';
|
|
|
327
344
|
export * from './RichTextDocument';
|
|
328
345
|
export * from './RichTextInput';
|
|
329
346
|
export * from './ScormGetValueResponse';
|
|
347
|
+
export * from './ScormNavigationDelivery';
|
|
348
|
+
export * from './ScormNavigationRequest';
|
|
349
|
+
export * from './ScormNavigationResponse';
|
|
350
|
+
export * from './ScormNavigationValidity';
|
|
351
|
+
export * from './ScormRuntimeResponse';
|
|
330
352
|
export * from './ScormSetValueRequest';
|
|
331
353
|
export * from './ScormSetValueResponse';
|
|
354
|
+
export * from './ScormTerminateResponse';
|
|
332
355
|
export * from './SupportTicketUser';
|
|
333
356
|
export * from './UpdateSelectedPortalResponse';
|
|
334
357
|
export * from './UpdateSelectedPortalResponseHostPortal';
|
|
@@ -71,6 +71,8 @@ export declare const CustomWebhookIntegrationEventTypesEnum: {
|
|
|
71
71
|
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
72
72
|
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
73
73
|
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
74
|
+
readonly ComEdaxuPortalUserInvitedV1: "com.edaxu.portal.user_invited.v1";
|
|
75
|
+
readonly ComEdaxuPortalUserJoinedV1: "com.edaxu.portal.user_joined.v1";
|
|
74
76
|
};
|
|
75
77
|
export type CustomWebhookIntegrationEventTypesEnum = typeof CustomWebhookIntegrationEventTypesEnum[keyof typeof CustomWebhookIntegrationEventTypesEnum];
|
|
76
78
|
/**
|
|
@@ -25,7 +25,9 @@ exports.CustomWebhookIntegrationToJSONTyped = CustomWebhookIntegrationToJSONType
|
|
|
25
25
|
exports.CustomWebhookIntegrationEventTypesEnum = {
|
|
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 CustomWebhookIntegration interface.
|
|
@@ -0,0 +1,57 @@
|
|
|
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 DispatchTokenResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface DispatchTokenResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DispatchTokenResponse
|
|
22
|
+
*/
|
|
23
|
+
accessToken: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {DispatchTokenResponseTokenTypeEnum}
|
|
27
|
+
* @memberof DispatchTokenResponse
|
|
28
|
+
*/
|
|
29
|
+
tokenType: DispatchTokenResponseTokenTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DispatchTokenResponse
|
|
34
|
+
*/
|
|
35
|
+
registrationId: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof DispatchTokenResponse
|
|
40
|
+
*/
|
|
41
|
+
expiresAt: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const DispatchTokenResponseTokenTypeEnum: {
|
|
47
|
+
readonly Dispatch: "Dispatch";
|
|
48
|
+
};
|
|
49
|
+
export type DispatchTokenResponseTokenTypeEnum = typeof DispatchTokenResponseTokenTypeEnum[keyof typeof DispatchTokenResponseTokenTypeEnum];
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the DispatchTokenResponse interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfDispatchTokenResponse(value: object): value is DispatchTokenResponse;
|
|
54
|
+
export declare function DispatchTokenResponseFromJSON(json: any): DispatchTokenResponse;
|
|
55
|
+
export declare function DispatchTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DispatchTokenResponse;
|
|
56
|
+
export declare function DispatchTokenResponseToJSON(json: any): DispatchTokenResponse;
|
|
57
|
+
export declare function DispatchTokenResponseToJSONTyped(value?: DispatchTokenResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.DispatchTokenResponseTokenTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfDispatchTokenResponse = instanceOfDispatchTokenResponse;
|
|
18
|
+
exports.DispatchTokenResponseFromJSON = DispatchTokenResponseFromJSON;
|
|
19
|
+
exports.DispatchTokenResponseFromJSONTyped = DispatchTokenResponseFromJSONTyped;
|
|
20
|
+
exports.DispatchTokenResponseToJSON = DispatchTokenResponseToJSON;
|
|
21
|
+
exports.DispatchTokenResponseToJSONTyped = DispatchTokenResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DispatchTokenResponseTokenTypeEnum = {
|
|
26
|
+
Dispatch: 'Dispatch'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the DispatchTokenResponse interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfDispatchTokenResponse(value) {
|
|
32
|
+
if (!('accessToken' in value) || value['accessToken'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('tokenType' in value) || value['tokenType'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('registrationId' in value) || value['registrationId'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function DispatchTokenResponseFromJSON(json) {
|
|
43
|
+
return DispatchTokenResponseFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function DispatchTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'accessToken': json['access_token'],
|
|
51
|
+
'tokenType': json['token_type'],
|
|
52
|
+
'registrationId': json['registration_id'],
|
|
53
|
+
'expiresAt': json['expires_at'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function DispatchTokenResponseToJSON(json) {
|
|
57
|
+
return DispatchTokenResponseToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function DispatchTokenResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'access_token': value['accessToken'],
|
|
65
|
+
'token_type': value['tokenType'],
|
|
66
|
+
'registration_id': value['registrationId'],
|
|
67
|
+
'expires_at': value['expiresAt'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { HostedScormRollupPolicy } from './HostedScormRollupPolicy';
|
|
13
|
+
import type { HostedScormAccessPolicy } from './HostedScormAccessPolicy';
|
|
12
14
|
/**
|
|
13
15
|
* Details of a course export
|
|
14
16
|
* @export
|
|
@@ -87,6 +89,48 @@ export interface GetCourseExport {
|
|
|
87
89
|
* @memberof GetCourseExport
|
|
88
90
|
*/
|
|
89
91
|
createdAt: number;
|
|
92
|
+
/**
|
|
93
|
+
* Runtime package shape used by this export.
|
|
94
|
+
* @type {GetCourseExportDeliveryModeEnum}
|
|
95
|
+
* @memberof GetCourseExport
|
|
96
|
+
*/
|
|
97
|
+
deliveryMode: GetCourseExportDeliveryModeEnum;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {HostedScormRollupPolicy}
|
|
101
|
+
* @memberof GetCourseExport
|
|
102
|
+
*/
|
|
103
|
+
rollupPolicy: HostedScormRollupPolicy;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {HostedScormAccessPolicy}
|
|
107
|
+
* @memberof GetCourseExport
|
|
108
|
+
*/
|
|
109
|
+
accessPolicy: HostedScormAccessPolicy;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {GetCourseExportRuntimeStatusEnum}
|
|
113
|
+
* @memberof GetCourseExport
|
|
114
|
+
*/
|
|
115
|
+
runtimeStatus: GetCourseExportRuntimeStatusEnum;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {number}
|
|
119
|
+
* @memberof GetCourseExport
|
|
120
|
+
*/
|
|
121
|
+
registeredLearners: number;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {number}
|
|
125
|
+
* @memberof GetCourseExport
|
|
126
|
+
*/
|
|
127
|
+
totalLaunches: number;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {number}
|
|
131
|
+
* @memberof GetCourseExport
|
|
132
|
+
*/
|
|
133
|
+
lastLaunchAt?: number | null;
|
|
90
134
|
}
|
|
91
135
|
/**
|
|
92
136
|
* @export
|
|
@@ -107,6 +151,24 @@ export declare const GetCourseExportStatusEnum: {
|
|
|
107
151
|
readonly Failed: "FAILED";
|
|
108
152
|
};
|
|
109
153
|
export type GetCourseExportStatusEnum = typeof GetCourseExportStatusEnum[keyof typeof GetCourseExportStatusEnum];
|
|
154
|
+
/**
|
|
155
|
+
* @export
|
|
156
|
+
*/
|
|
157
|
+
export declare const GetCourseExportDeliveryModeEnum: {
|
|
158
|
+
readonly LegacyMultiSco: "LEGACY_MULTI_SCO";
|
|
159
|
+
readonly HostedCourseV1: "HOSTED_COURSE_V1";
|
|
160
|
+
};
|
|
161
|
+
export type GetCourseExportDeliveryModeEnum = typeof GetCourseExportDeliveryModeEnum[keyof typeof GetCourseExportDeliveryModeEnum];
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export declare const GetCourseExportRuntimeStatusEnum: {
|
|
166
|
+
readonly LegacyActive: "LEGACY_ACTIVE";
|
|
167
|
+
readonly BackendReady: "BACKEND_READY";
|
|
168
|
+
readonly PlayerUnavailable: "PLAYER_UNAVAILABLE";
|
|
169
|
+
readonly Revoked: "REVOKED";
|
|
170
|
+
};
|
|
171
|
+
export type GetCourseExportRuntimeStatusEnum = typeof GetCourseExportRuntimeStatusEnum[keyof typeof GetCourseExportRuntimeStatusEnum];
|
|
110
172
|
/**
|
|
111
173
|
* Check if a given object implements the GetCourseExport interface.
|
|
112
174
|
*/
|
|
@@ -13,12 +13,14 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.GetCourseExportStatusEnum = exports.GetCourseExportExportTypeEnum = void 0;
|
|
16
|
+
exports.GetCourseExportRuntimeStatusEnum = exports.GetCourseExportDeliveryModeEnum = exports.GetCourseExportStatusEnum = exports.GetCourseExportExportTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfGetCourseExport = instanceOfGetCourseExport;
|
|
18
18
|
exports.GetCourseExportFromJSON = GetCourseExportFromJSON;
|
|
19
19
|
exports.GetCourseExportFromJSONTyped = GetCourseExportFromJSONTyped;
|
|
20
20
|
exports.GetCourseExportToJSON = GetCourseExportToJSON;
|
|
21
21
|
exports.GetCourseExportToJSONTyped = GetCourseExportToJSONTyped;
|
|
22
|
+
const HostedScormRollupPolicy_1 = require("./HostedScormRollupPolicy");
|
|
23
|
+
const HostedScormAccessPolicy_1 = require("./HostedScormAccessPolicy");
|
|
22
24
|
/**
|
|
23
25
|
* @export
|
|
24
26
|
*/
|
|
@@ -36,6 +38,22 @@ exports.GetCourseExportStatusEnum = {
|
|
|
36
38
|
Completed: 'COMPLETED',
|
|
37
39
|
Failed: 'FAILED'
|
|
38
40
|
};
|
|
41
|
+
/**
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
exports.GetCourseExportDeliveryModeEnum = {
|
|
45
|
+
LegacyMultiSco: 'LEGACY_MULTI_SCO',
|
|
46
|
+
HostedCourseV1: 'HOSTED_COURSE_V1'
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
exports.GetCourseExportRuntimeStatusEnum = {
|
|
52
|
+
LegacyActive: 'LEGACY_ACTIVE',
|
|
53
|
+
BackendReady: 'BACKEND_READY',
|
|
54
|
+
PlayerUnavailable: 'PLAYER_UNAVAILABLE',
|
|
55
|
+
Revoked: 'REVOKED'
|
|
56
|
+
};
|
|
39
57
|
/**
|
|
40
58
|
* Check if a given object implements the GetCourseExport interface.
|
|
41
59
|
*/
|
|
@@ -56,6 +74,18 @@ function instanceOfGetCourseExport(value) {
|
|
|
56
74
|
return false;
|
|
57
75
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
58
76
|
return false;
|
|
77
|
+
if (!('deliveryMode' in value) || value['deliveryMode'] === undefined)
|
|
78
|
+
return false;
|
|
79
|
+
if (!('rollupPolicy' in value) || value['rollupPolicy'] === undefined)
|
|
80
|
+
return false;
|
|
81
|
+
if (!('accessPolicy' in value) || value['accessPolicy'] === undefined)
|
|
82
|
+
return false;
|
|
83
|
+
if (!('runtimeStatus' in value) || value['runtimeStatus'] === undefined)
|
|
84
|
+
return false;
|
|
85
|
+
if (!('registeredLearners' in value) || value['registeredLearners'] === undefined)
|
|
86
|
+
return false;
|
|
87
|
+
if (!('totalLaunches' in value) || value['totalLaunches'] === undefined)
|
|
88
|
+
return false;
|
|
59
89
|
return true;
|
|
60
90
|
}
|
|
61
91
|
function GetCourseExportFromJSON(json) {
|
|
@@ -78,6 +108,13 @@ function GetCourseExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
78
108
|
'fileSize': json['file_size'] == null ? undefined : json['file_size'],
|
|
79
109
|
'errorMessage': json['error_message'] == null ? undefined : json['error_message'],
|
|
80
110
|
'createdAt': json['created_at'],
|
|
111
|
+
'deliveryMode': json['delivery_mode'],
|
|
112
|
+
'rollupPolicy': (0, HostedScormRollupPolicy_1.HostedScormRollupPolicyFromJSON)(json['rollup_policy']),
|
|
113
|
+
'accessPolicy': (0, HostedScormAccessPolicy_1.HostedScormAccessPolicyFromJSON)(json['access_policy']),
|
|
114
|
+
'runtimeStatus': json['runtime_status'],
|
|
115
|
+
'registeredLearners': json['registered_learners'],
|
|
116
|
+
'totalLaunches': json['total_launches'],
|
|
117
|
+
'lastLaunchAt': json['last_launch_at'] == null ? undefined : json['last_launch_at'],
|
|
81
118
|
};
|
|
82
119
|
}
|
|
83
120
|
function GetCourseExportToJSON(json) {
|
|
@@ -100,5 +137,12 @@ function GetCourseExportToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
100
137
|
'file_size': value['fileSize'],
|
|
101
138
|
'error_message': value['errorMessage'],
|
|
102
139
|
'created_at': value['createdAt'],
|
|
140
|
+
'delivery_mode': value['deliveryMode'],
|
|
141
|
+
'rollup_policy': (0, HostedScormRollupPolicy_1.HostedScormRollupPolicyToJSON)(value['rollupPolicy']),
|
|
142
|
+
'access_policy': (0, HostedScormAccessPolicy_1.HostedScormAccessPolicyToJSON)(value['accessPolicy']),
|
|
143
|
+
'runtime_status': value['runtimeStatus'],
|
|
144
|
+
'registered_learners': value['registeredLearners'],
|
|
145
|
+
'total_launches': value['totalLaunches'],
|
|
146
|
+
'last_launch_at': value['lastLaunchAt'],
|
|
103
147
|
};
|
|
104
148
|
}
|