@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,38 @@
|
|
|
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 HostedScormScoreItem
|
|
16
|
+
*/
|
|
17
|
+
export interface HostedScormScoreItem {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof HostedScormScoreItem
|
|
22
|
+
*/
|
|
23
|
+
itemId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof HostedScormScoreItem
|
|
28
|
+
*/
|
|
29
|
+
weight: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the HostedScormScoreItem interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfHostedScormScoreItem(value: object): value is HostedScormScoreItem;
|
|
35
|
+
export declare function HostedScormScoreItemFromJSON(json: any): HostedScormScoreItem;
|
|
36
|
+
export declare function HostedScormScoreItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): HostedScormScoreItem;
|
|
37
|
+
export declare function HostedScormScoreItemToJSON(json: any): HostedScormScoreItem;
|
|
38
|
+
export declare function HostedScormScoreItemToJSONTyped(value?: HostedScormScoreItem | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 HostedScormScoreItem interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfHostedScormScoreItem(value) {
|
|
18
|
+
if (!('itemId' in value) || value['itemId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('weight' in value) || value['weight'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function HostedScormScoreItemFromJSON(json) {
|
|
25
|
+
return HostedScormScoreItemFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function HostedScormScoreItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'itemId': json['item_id'],
|
|
33
|
+
'weight': json['weight'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function HostedScormScoreItemToJSON(json) {
|
|
37
|
+
return HostedScormScoreItemToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function HostedScormScoreItemToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'item_id': value['itemId'],
|
|
45
|
+
'weight': value['weight'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -79,6 +79,8 @@ export declare const IntegrationEventTypeEnum: {
|
|
|
79
79
|
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
80
80
|
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
81
81
|
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
82
|
+
readonly ComEdaxuPortalUserInvitedV1: "com.edaxu.portal.user_invited.v1";
|
|
83
|
+
readonly ComEdaxuPortalUserJoinedV1: "com.edaxu.portal.user_joined.v1";
|
|
82
84
|
};
|
|
83
85
|
export type IntegrationEventTypeEnum = typeof IntegrationEventTypeEnum[keyof typeof IntegrationEventTypeEnum];
|
|
84
86
|
/**
|
|
@@ -24,7 +24,9 @@ export const IntegrationEventSpecversionEnum = {
|
|
|
24
24
|
export const IntegrationEventTypeEnum = {
|
|
25
25
|
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
26
26
|
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
27
|
-
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
27
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1',
|
|
28
|
+
ComEdaxuPortalUserInvitedV1: 'com.edaxu.portal.user_invited.v1',
|
|
29
|
+
ComEdaxuPortalUserJoinedV1: 'com.edaxu.portal.user_joined.v1'
|
|
28
30
|
};
|
|
29
31
|
/**
|
|
30
32
|
* @export
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { IntegrationEventUser } from './IntegrationEventUser';
|
|
12
13
|
import type { IntegrationEventLearner } from './IntegrationEventLearner';
|
|
13
14
|
import type { IntegrationEventCertificate } from './IntegrationEventCertificate';
|
|
14
15
|
import type { IntegrationEventEnrollment } from './IntegrationEventEnrollment';
|
|
15
16
|
import type { IntegrationEventPortal } from './IntegrationEventPortal';
|
|
16
17
|
import type { IntegrationEventCourse } from './IntegrationEventCourse';
|
|
18
|
+
import type { IntegrationEventInvitation } from './IntegrationEventInvitation';
|
|
17
19
|
/**
|
|
18
20
|
*
|
|
19
21
|
* @export
|
|
@@ -31,13 +33,19 @@ export interface IntegrationEventData {
|
|
|
31
33
|
* @type {IntegrationEventLearner}
|
|
32
34
|
* @memberof IntegrationEventData
|
|
33
35
|
*/
|
|
34
|
-
learner: IntegrationEventLearner;
|
|
36
|
+
learner: IntegrationEventLearner | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {IntegrationEventUser}
|
|
40
|
+
* @memberof IntegrationEventData
|
|
41
|
+
*/
|
|
42
|
+
user: IntegrationEventUser | null;
|
|
35
43
|
/**
|
|
36
44
|
*
|
|
37
45
|
* @type {IntegrationEventCourse}
|
|
38
46
|
* @memberof IntegrationEventData
|
|
39
47
|
*/
|
|
40
|
-
course: IntegrationEventCourse;
|
|
48
|
+
course: IntegrationEventCourse | null;
|
|
41
49
|
/**
|
|
42
50
|
*
|
|
43
51
|
* @type {IntegrationEventEnrollment}
|
|
@@ -50,6 +58,12 @@ export interface IntegrationEventData {
|
|
|
50
58
|
* @memberof IntegrationEventData
|
|
51
59
|
*/
|
|
52
60
|
certificate: IntegrationEventCertificate | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {IntegrationEventInvitation}
|
|
64
|
+
* @memberof IntegrationEventData
|
|
65
|
+
*/
|
|
66
|
+
invitation: IntegrationEventInvitation | null;
|
|
53
67
|
}
|
|
54
68
|
/**
|
|
55
69
|
* Check if a given object implements the IntegrationEventData interface.
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { IntegrationEventUserFromJSON, IntegrationEventUserToJSON, } from './IntegrationEventUser';
|
|
14
15
|
import { IntegrationEventLearnerFromJSON, IntegrationEventLearnerToJSON, } from './IntegrationEventLearner';
|
|
15
16
|
import { IntegrationEventCertificateFromJSON, IntegrationEventCertificateToJSON, } from './IntegrationEventCertificate';
|
|
16
17
|
import { IntegrationEventEnrollmentFromJSON, IntegrationEventEnrollmentToJSON, } from './IntegrationEventEnrollment';
|
|
17
18
|
import { IntegrationEventPortalFromJSON, IntegrationEventPortalToJSON, } from './IntegrationEventPortal';
|
|
18
19
|
import { IntegrationEventCourseFromJSON, IntegrationEventCourseToJSON, } from './IntegrationEventCourse';
|
|
20
|
+
import { IntegrationEventInvitationFromJSON, IntegrationEventInvitationToJSON, } from './IntegrationEventInvitation';
|
|
19
21
|
/**
|
|
20
22
|
* Check if a given object implements the IntegrationEventData interface.
|
|
21
23
|
*/
|
|
@@ -24,12 +26,16 @@ export function instanceOfIntegrationEventData(value) {
|
|
|
24
26
|
return false;
|
|
25
27
|
if (!('learner' in value) || value['learner'] === undefined)
|
|
26
28
|
return false;
|
|
29
|
+
if (!('user' in value) || value['user'] === undefined)
|
|
30
|
+
return false;
|
|
27
31
|
if (!('course' in value) || value['course'] === undefined)
|
|
28
32
|
return false;
|
|
29
33
|
if (!('enrollment' in value) || value['enrollment'] === undefined)
|
|
30
34
|
return false;
|
|
31
35
|
if (!('certificate' in value) || value['certificate'] === undefined)
|
|
32
36
|
return false;
|
|
37
|
+
if (!('invitation' in value) || value['invitation'] === undefined)
|
|
38
|
+
return false;
|
|
33
39
|
return true;
|
|
34
40
|
}
|
|
35
41
|
export function IntegrationEventDataFromJSON(json) {
|
|
@@ -42,9 +48,11 @@ export function IntegrationEventDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
48
|
return {
|
|
43
49
|
'portal': IntegrationEventPortalFromJSON(json['portal']),
|
|
44
50
|
'learner': IntegrationEventLearnerFromJSON(json['learner']),
|
|
51
|
+
'user': IntegrationEventUserFromJSON(json['user']),
|
|
45
52
|
'course': IntegrationEventCourseFromJSON(json['course']),
|
|
46
53
|
'enrollment': IntegrationEventEnrollmentFromJSON(json['enrollment']),
|
|
47
54
|
'certificate': IntegrationEventCertificateFromJSON(json['certificate']),
|
|
55
|
+
'invitation': IntegrationEventInvitationFromJSON(json['invitation']),
|
|
48
56
|
};
|
|
49
57
|
}
|
|
50
58
|
export function IntegrationEventDataToJSON(json) {
|
|
@@ -57,8 +65,10 @@ export function IntegrationEventDataToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
57
65
|
return {
|
|
58
66
|
'portal': IntegrationEventPortalToJSON(value['portal']),
|
|
59
67
|
'learner': IntegrationEventLearnerToJSON(value['learner']),
|
|
68
|
+
'user': IntegrationEventUserToJSON(value['user']),
|
|
60
69
|
'course': IntegrationEventCourseToJSON(value['course']),
|
|
61
70
|
'enrollment': IntegrationEventEnrollmentToJSON(value['enrollment']),
|
|
62
71
|
'certificate': IntegrationEventCertificateToJSON(value['certificate']),
|
|
72
|
+
'invitation': IntegrationEventInvitationToJSON(value['invitation']),
|
|
63
73
|
};
|
|
64
74
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { IntegrationEventUser } from './IntegrationEventUser';
|
|
13
|
+
/**
|
|
14
|
+
* Portal invitation lifecycle details for the affected user.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IntegrationEventInvitation
|
|
17
|
+
*/
|
|
18
|
+
export interface IntegrationEventInvitation {
|
|
19
|
+
/**
|
|
20
|
+
* Stable invitation ID.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IntegrationEventInvitation
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {IntegrationEventInvitationStatusEnum}
|
|
28
|
+
* @memberof IntegrationEventInvitation
|
|
29
|
+
*/
|
|
30
|
+
status: IntegrationEventInvitationStatusEnum;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof IntegrationEventInvitation
|
|
35
|
+
*/
|
|
36
|
+
invitedAt: Date;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof IntegrationEventInvitation
|
|
41
|
+
*/
|
|
42
|
+
expiresAt: Date;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof IntegrationEventInvitation
|
|
47
|
+
*/
|
|
48
|
+
acceptedAt: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {IntegrationEventUser}
|
|
52
|
+
* @memberof IntegrationEventInvitation
|
|
53
|
+
*/
|
|
54
|
+
invitedBy: IntegrationEventUser | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const IntegrationEventInvitationStatusEnum: {
|
|
60
|
+
readonly Pending: "pending";
|
|
61
|
+
readonly Accepted: "accepted";
|
|
62
|
+
};
|
|
63
|
+
export type IntegrationEventInvitationStatusEnum = typeof IntegrationEventInvitationStatusEnum[keyof typeof IntegrationEventInvitationStatusEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the IntegrationEventInvitation interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfIntegrationEventInvitation(value: object): value is IntegrationEventInvitation;
|
|
68
|
+
export declare function IntegrationEventInvitationFromJSON(json: any): IntegrationEventInvitation;
|
|
69
|
+
export declare function IntegrationEventInvitationFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventInvitation;
|
|
70
|
+
export declare function IntegrationEventInvitationToJSON(json: any): IntegrationEventInvitation;
|
|
71
|
+
export declare function IntegrationEventInvitationToJSONTyped(value?: IntegrationEventInvitation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { IntegrationEventUserFromJSON, IntegrationEventUserToJSON, } from './IntegrationEventUser';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const IntegrationEventInvitationStatusEnum = {
|
|
19
|
+
Pending: 'pending',
|
|
20
|
+
Accepted: 'accepted'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the IntegrationEventInvitation interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfIntegrationEventInvitation(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('invitedAt' in value) || value['invitedAt'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('acceptedAt' in value) || value['acceptedAt'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('invitedBy' in value) || value['invitedBy'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
export function IntegrationEventInvitationFromJSON(json) {
|
|
41
|
+
return IntegrationEventInvitationFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function IntegrationEventInvitationFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'invitedAt': (new Date(json['invited_at'])),
|
|
51
|
+
'expiresAt': (new Date(json['expires_at'])),
|
|
52
|
+
'acceptedAt': (json['accepted_at'] == null ? null : new Date(json['accepted_at'])),
|
|
53
|
+
'invitedBy': IntegrationEventUserFromJSON(json['invited_by']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export function IntegrationEventInvitationToJSON(json) {
|
|
57
|
+
return IntegrationEventInvitationToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function IntegrationEventInvitationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'id': value['id'],
|
|
65
|
+
'status': value['status'],
|
|
66
|
+
'invited_at': value['invitedAt'].toISOString(),
|
|
67
|
+
'expires_at': value['expiresAt'].toISOString(),
|
|
68
|
+
'accepted_at': value['acceptedAt'] == null ? value['acceptedAt'] : value['acceptedAt'].toISOString(),
|
|
69
|
+
'invited_by': IntegrationEventUserToJSON(value['invitedBy']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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
|
+
* User affected by a portal membership lifecycle event.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegrationEventUser
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationEventUser {
|
|
18
|
+
/**
|
|
19
|
+
* Stable external user ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationEventUser
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationEventUser
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationEventUser
|
|
34
|
+
*/
|
|
35
|
+
firstName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IntegrationEventUser
|
|
40
|
+
*/
|
|
41
|
+
lastName: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the IntegrationEventUser interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfIntegrationEventUser(value: object): value is IntegrationEventUser;
|
|
47
|
+
export declare function IntegrationEventUserFromJSON(json: any): IntegrationEventUser;
|
|
48
|
+
export declare function IntegrationEventUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventUser;
|
|
49
|
+
export declare function IntegrationEventUserToJSON(json: any): IntegrationEventUser;
|
|
50
|
+
export declare function IntegrationEventUserToJSONTyped(value?: IntegrationEventUser | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the IntegrationEventUser interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIntegrationEventUser(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function IntegrationEventUserFromJSON(json) {
|
|
29
|
+
return IntegrationEventUserFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function IntegrationEventUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'firstName': json['first_name'],
|
|
39
|
+
'lastName': json['last_name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function IntegrationEventUserToJSON(json) {
|
|
43
|
+
return IntegrationEventUserToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function IntegrationEventUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'first_name': value['firstName'],
|
|
53
|
+
'last_name': value['lastName'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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
|
* Request to create a new export for a course
|
|
14
16
|
* @export
|
|
@@ -33,6 +35,24 @@ export interface PostCourseExport {
|
|
|
33
35
|
* @memberof PostCourseExport
|
|
34
36
|
*/
|
|
35
37
|
sectionIds: Array<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Hosted course mode is an additive backend preview until its player is deployed.
|
|
40
|
+
* @type {PostCourseExportDeliveryModeEnum}
|
|
41
|
+
* @memberof PostCourseExport
|
|
42
|
+
*/
|
|
43
|
+
deliveryMode?: PostCourseExportDeliveryModeEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {HostedScormRollupPolicy}
|
|
47
|
+
* @memberof PostCourseExport
|
|
48
|
+
*/
|
|
49
|
+
rollupPolicy?: HostedScormRollupPolicy;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {HostedScormAccessPolicy}
|
|
53
|
+
* @memberof PostCourseExport
|
|
54
|
+
*/
|
|
55
|
+
accessPolicy?: HostedScormAccessPolicy;
|
|
36
56
|
}
|
|
37
57
|
/**
|
|
38
58
|
* @export
|
|
@@ -43,6 +63,14 @@ export declare const PostCourseExportExportTypeEnum: {
|
|
|
43
63
|
readonly Scorm20044ThEdition: "SCORM_2004_4TH_EDITION";
|
|
44
64
|
};
|
|
45
65
|
export type PostCourseExportExportTypeEnum = typeof PostCourseExportExportTypeEnum[keyof typeof PostCourseExportExportTypeEnum];
|
|
66
|
+
/**
|
|
67
|
+
* @export
|
|
68
|
+
*/
|
|
69
|
+
export declare const PostCourseExportDeliveryModeEnum: {
|
|
70
|
+
readonly LegacyMultiSco: "LEGACY_MULTI_SCO";
|
|
71
|
+
readonly HostedCourseV1: "HOSTED_COURSE_V1";
|
|
72
|
+
};
|
|
73
|
+
export type PostCourseExportDeliveryModeEnum = typeof PostCourseExportDeliveryModeEnum[keyof typeof PostCourseExportDeliveryModeEnum];
|
|
46
74
|
/**
|
|
47
75
|
* Check if a given object implements the PostCourseExport interface.
|
|
48
76
|
*/
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { HostedScormRollupPolicyFromJSON, HostedScormRollupPolicyToJSON, } from './HostedScormRollupPolicy';
|
|
15
|
+
import { HostedScormAccessPolicyFromJSON, HostedScormAccessPolicyToJSON, } from './HostedScormAccessPolicy';
|
|
14
16
|
/**
|
|
15
17
|
* @export
|
|
16
18
|
*/
|
|
@@ -19,6 +21,13 @@ export const PostCourseExportExportTypeEnum = {
|
|
|
19
21
|
Scorm20043RdEdition: 'SCORM_2004_3RD_EDITION',
|
|
20
22
|
Scorm20044ThEdition: 'SCORM_2004_4TH_EDITION'
|
|
21
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const PostCourseExportDeliveryModeEnum = {
|
|
28
|
+
LegacyMultiSco: 'LEGACY_MULTI_SCO',
|
|
29
|
+
HostedCourseV1: 'HOSTED_COURSE_V1'
|
|
30
|
+
};
|
|
22
31
|
/**
|
|
23
32
|
* Check if a given object implements the PostCourseExport interface.
|
|
24
33
|
*/
|
|
@@ -42,6 +51,9 @@ export function PostCourseExportFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
51
|
'courseVersionId': json['course_version_id'],
|
|
43
52
|
'exportType': json['export_type'],
|
|
44
53
|
'sectionIds': json['section_ids'],
|
|
54
|
+
'deliveryMode': json['delivery_mode'] == null ? undefined : json['delivery_mode'],
|
|
55
|
+
'rollupPolicy': json['rollup_policy'] == null ? undefined : HostedScormRollupPolicyFromJSON(json['rollup_policy']),
|
|
56
|
+
'accessPolicy': json['access_policy'] == null ? undefined : HostedScormAccessPolicyFromJSON(json['access_policy']),
|
|
45
57
|
};
|
|
46
58
|
}
|
|
47
59
|
export function PostCourseExportToJSON(json) {
|
|
@@ -55,5 +67,8 @@ export function PostCourseExportToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
55
67
|
'course_version_id': value['courseVersionId'],
|
|
56
68
|
'export_type': value['exportType'],
|
|
57
69
|
'section_ids': value['sectionIds'],
|
|
70
|
+
'delivery_mode': value['deliveryMode'],
|
|
71
|
+
'rollup_policy': HostedScormRollupPolicyToJSON(value['rollupPolicy']),
|
|
72
|
+
'access_policy': HostedScormAccessPolicyToJSON(value['accessPolicy']),
|
|
58
73
|
};
|
|
59
74
|
}
|
|
@@ -53,6 +53,8 @@ export declare const PostCustomWebhookIntegrationEventTypesEnum: {
|
|
|
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 PostCustomWebhookIntegrationEventTypesEnum = typeof PostCustomWebhookIntegrationEventTypesEnum[keyof typeof PostCustomWebhookIntegrationEventTypesEnum];
|
|
58
60
|
/**
|
|
@@ -17,7 +17,9 @@
|
|
|
17
17
|
export const PostCustomWebhookIntegrationEventTypesEnum = {
|
|
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 PostCustomWebhookIntegration 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 PostDispatchItemLaunch
|
|
16
|
+
*/
|
|
17
|
+
export interface PostDispatchItemLaunch {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof PostDispatchItemLaunch
|
|
22
|
+
*/
|
|
23
|
+
retake?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostDispatchItemLaunch interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostDispatchItemLaunch(value: object): value is PostDispatchItemLaunch;
|
|
29
|
+
export declare function PostDispatchItemLaunchFromJSON(json: any): PostDispatchItemLaunch;
|
|
30
|
+
export declare function PostDispatchItemLaunchFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostDispatchItemLaunch;
|
|
31
|
+
export declare function PostDispatchItemLaunchToJSON(json: any): PostDispatchItemLaunch;
|
|
32
|
+
export declare function PostDispatchItemLaunchToJSONTyped(value?: PostDispatchItemLaunch | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 PostDispatchItemLaunch interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostDispatchItemLaunch(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PostDispatchItemLaunchFromJSON(json) {
|
|
21
|
+
return PostDispatchItemLaunchFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PostDispatchItemLaunchFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'retake': json['retake'] == null ? undefined : json['retake'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function PostDispatchItemLaunchToJSON(json) {
|
|
32
|
+
return PostDispatchItemLaunchToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function PostDispatchItemLaunchToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'retake': value['retake'],
|
|
40
|
+
};
|
|
41
|
+
}
|