@easyedu/js-lsm-api 1.115.0 → 1.117.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 +48 -0
- package/README.md +40 -2
- package/dist/apis/IntegrationApi.d.ts +257 -0
- package/dist/apis/IntegrationApi.js +708 -1
- package/dist/esm/apis/IntegrationApi.d.ts +257 -0
- package/dist/esm/apis/IntegrationApi.js +707 -0
- package/dist/esm/models/CustomWebhookIntegration.d.ts +83 -0
- package/dist/esm/models/CustomWebhookIntegration.js +79 -0
- package/dist/esm/models/GetZapierCourses.d.ts +51 -0
- package/dist/esm/models/GetZapierCourses.js +56 -0
- package/dist/esm/models/GetZapierShopifyCourseMappings.d.ts +33 -0
- package/dist/esm/models/GetZapierShopifyCourseMappings.js +44 -0
- package/dist/esm/models/GetZapierUsers.d.ts +33 -0
- package/dist/esm/models/GetZapierUsers.js +44 -0
- package/dist/esm/models/IntegrationEvent.d.ts +98 -0
- package/dist/esm/models/IntegrationEvent.js +92 -0
- package/dist/esm/models/IntegrationEventCertificate.d.ts +78 -0
- package/dist/esm/models/IntegrationEventCertificate.js +76 -0
- package/dist/esm/models/IntegrationEventCourse.d.ts +38 -0
- package/dist/esm/models/IntegrationEventCourse.js +47 -0
- package/dist/esm/models/IntegrationEventData.d.ts +61 -0
- package/dist/esm/models/IntegrationEventData.js +64 -0
- package/dist/esm/models/IntegrationEventEnrollment.d.ts +71 -0
- package/dist/esm/models/IntegrationEventEnrollment.js +71 -0
- package/dist/esm/models/IntegrationEventLearner.d.ts +50 -0
- package/dist/esm/models/IntegrationEventLearner.js +55 -0
- package/dist/esm/models/IntegrationEventPortal.d.ts +44 -0
- package/dist/esm/models/IntegrationEventPortal.js +51 -0
- package/dist/esm/models/PostCustomWebhookIntegration.d.ts +65 -0
- package/dist/esm/models/PostCustomWebhookIntegration.js +65 -0
- package/dist/esm/models/PostZapierEnrollment.d.ts +76 -0
- package/dist/esm/models/PostZapierEnrollment.js +64 -0
- package/dist/esm/models/PostZapierShopifyCourseMapping.d.ts +50 -0
- package/dist/esm/models/PostZapierShopifyCourseMapping.js +53 -0
- package/dist/esm/models/PostZapierShopifyEnrollment.d.ts +100 -0
- package/dist/esm/models/PostZapierShopifyEnrollment.js +82 -0
- package/dist/esm/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
- package/dist/esm/models/PostZapierShopifyEnrollmentResponse.js +54 -0
- package/dist/esm/models/PostZapierSubscription.d.ts +53 -0
- package/dist/esm/models/PostZapierSubscription.js +57 -0
- package/dist/esm/models/PostZapierUser.d.ts +44 -0
- package/dist/esm/models/PostZapierUser.js +51 -0
- package/dist/esm/models/PutCustomWebhookIntegration.d.ts +65 -0
- package/dist/esm/models/PutCustomWebhookIntegration.js +57 -0
- package/dist/esm/models/ZapierCourse.d.ts +50 -0
- package/dist/esm/models/ZapierCourse.js +55 -0
- package/dist/esm/models/ZapierEnrollment.d.ts +74 -0
- package/dist/esm/models/ZapierEnrollment.js +69 -0
- package/dist/esm/models/ZapierShopifyCourseMapping.d.ts +69 -0
- package/dist/esm/models/ZapierShopifyCourseMapping.js +66 -0
- package/dist/esm/models/ZapierSubscription.d.ts +53 -0
- package/dist/esm/models/ZapierSubscription.js +59 -0
- package/dist/esm/models/ZapierUser.d.ts +56 -0
- package/dist/esm/models/ZapierUser.js +59 -0
- package/dist/esm/models/index.d.ts +24 -0
- package/dist/esm/models/index.js +24 -0
- package/dist/models/CustomWebhookIntegration.d.ts +83 -0
- package/dist/models/CustomWebhookIntegration.js +87 -0
- package/dist/models/GetZapierCourses.d.ts +51 -0
- package/dist/models/GetZapierCourses.js +63 -0
- package/dist/models/GetZapierShopifyCourseMappings.d.ts +33 -0
- package/dist/models/GetZapierShopifyCourseMappings.js +51 -0
- package/dist/models/GetZapierUsers.d.ts +33 -0
- package/dist/models/GetZapierUsers.js +51 -0
- package/dist/models/IntegrationEvent.d.ts +98 -0
- package/dist/models/IntegrationEvent.js +100 -0
- package/dist/models/IntegrationEventCertificate.d.ts +78 -0
- package/dist/models/IntegrationEventCertificate.js +84 -0
- package/dist/models/IntegrationEventCourse.d.ts +38 -0
- package/dist/models/IntegrationEventCourse.js +54 -0
- package/dist/models/IntegrationEventData.d.ts +61 -0
- package/dist/models/IntegrationEventData.js +71 -0
- package/dist/models/IntegrationEventEnrollment.d.ts +71 -0
- package/dist/models/IntegrationEventEnrollment.js +79 -0
- package/dist/models/IntegrationEventLearner.d.ts +50 -0
- package/dist/models/IntegrationEventLearner.js +62 -0
- package/dist/models/IntegrationEventPortal.d.ts +44 -0
- package/dist/models/IntegrationEventPortal.js +58 -0
- package/dist/models/PostCustomWebhookIntegration.d.ts +65 -0
- package/dist/models/PostCustomWebhookIntegration.js +73 -0
- package/dist/models/PostZapierEnrollment.d.ts +76 -0
- package/dist/models/PostZapierEnrollment.js +72 -0
- package/dist/models/PostZapierShopifyCourseMapping.d.ts +50 -0
- package/dist/models/PostZapierShopifyCourseMapping.js +60 -0
- package/dist/models/PostZapierShopifyEnrollment.d.ts +100 -0
- package/dist/models/PostZapierShopifyEnrollment.js +90 -0
- package/dist/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
- package/dist/models/PostZapierShopifyEnrollmentResponse.js +61 -0
- package/dist/models/PostZapierSubscription.d.ts +53 -0
- package/dist/models/PostZapierSubscription.js +65 -0
- package/dist/models/PostZapierUser.d.ts +44 -0
- package/dist/models/PostZapierUser.js +58 -0
- package/dist/models/PutCustomWebhookIntegration.d.ts +65 -0
- package/dist/models/PutCustomWebhookIntegration.js +65 -0
- package/dist/models/ZapierCourse.d.ts +50 -0
- package/dist/models/ZapierCourse.js +62 -0
- package/dist/models/ZapierEnrollment.d.ts +74 -0
- package/dist/models/ZapierEnrollment.js +76 -0
- package/dist/models/ZapierShopifyCourseMapping.d.ts +69 -0
- package/dist/models/ZapierShopifyCourseMapping.js +73 -0
- package/dist/models/ZapierSubscription.d.ts +53 -0
- package/dist/models/ZapierSubscription.js +67 -0
- package/dist/models/ZapierUser.d.ts +56 -0
- package/dist/models/ZapierUser.js +66 -0
- package/dist/models/index.d.ts +24 -0
- package/dist/models/index.js +24 -0
- package/docs/CustomWebhookIntegration.md +48 -0
- package/docs/GetZapierCourses.md +40 -0
- package/docs/GetZapierShopifyCourseMappings.md +34 -0
- package/docs/GetZapierUsers.md +34 -0
- package/docs/IntegrationApi.md +1060 -30
- package/docs/IntegrationEvent.md +49 -0
- package/docs/IntegrationEventCertificate.md +46 -0
- package/docs/IntegrationEventCourse.md +36 -0
- package/docs/IntegrationEventData.md +42 -0
- package/docs/IntegrationEventEnrollment.md +44 -0
- package/docs/IntegrationEventLearner.md +40 -0
- package/docs/IntegrationEventPortal.md +38 -0
- package/docs/PostCustomWebhookIntegration.md +42 -0
- package/docs/PostZapierEnrollment.md +46 -0
- package/docs/PostZapierShopifyCourseMapping.md +40 -0
- package/docs/PostZapierShopifyEnrollment.md +54 -0
- package/docs/PostZapierShopifyEnrollmentResponse.md +38 -0
- package/docs/PostZapierSubscription.md +38 -0
- package/docs/PostZapierUser.md +38 -0
- package/docs/PutCustomWebhookIntegration.md +42 -0
- package/docs/ZapierCourse.md +40 -0
- package/docs/ZapierEnrollment.md +48 -0
- package/docs/ZapierShopifyCourseMapping.md +46 -0
- package/docs/ZapierSubscription.md +38 -0
- package/docs/ZapierUser.md +42 -0
- package/package.json +1 -1
- package/src/apis/IntegrationApi.ts +1104 -61
- package/src/models/CustomWebhookIntegration.ts +141 -0
- package/src/models/GetZapierCourses.ts +101 -0
- package/src/models/GetZapierShopifyCourseMappings.ts +74 -0
- package/src/models/GetZapierUsers.ts +74 -0
- package/src/models/IntegrationEvent.ts +165 -0
- package/src/models/IntegrationEventCertificate.ts +133 -0
- package/src/models/IntegrationEventCourse.ts +75 -0
- package/src/models/IntegrationEventData.ts +138 -0
- package/src/models/IntegrationEventEnrollment.ts +123 -0
- package/src/models/IntegrationEventLearner.ts +93 -0
- package/src/models/IntegrationEventPortal.ts +84 -0
- package/src/models/PostCustomWebhookIntegration.ts +113 -0
- package/src/models/PostZapierEnrollment.ts +126 -0
- package/src/models/PostZapierShopifyCourseMapping.ts +92 -0
- package/src/models/PostZapierShopifyEnrollment.ts +163 -0
- package/src/models/PostZapierShopifyEnrollmentResponse.ts +106 -0
- package/src/models/PostZapierSubscription.ts +95 -0
- package/src/models/PostZapierUser.ts +84 -0
- package/src/models/PutCustomWebhookIntegration.ts +109 -0
- package/src/models/ZapierCourse.ts +93 -0
- package/src/models/ZapierEnrollment.ts +128 -0
- package/src/models/ZapierShopifyCourseMapping.ts +127 -0
- package/src/models/ZapierSubscription.ts +96 -0
- package/src/models/ZapierUser.ts +102 -0
- package/src/models/index.ts +24 -0
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfIntegrationEventCourse = instanceOfIntegrationEventCourse;
|
|
17
|
+
exports.IntegrationEventCourseFromJSON = IntegrationEventCourseFromJSON;
|
|
18
|
+
exports.IntegrationEventCourseFromJSONTyped = IntegrationEventCourseFromJSONTyped;
|
|
19
|
+
exports.IntegrationEventCourseToJSON = IntegrationEventCourseToJSON;
|
|
20
|
+
exports.IntegrationEventCourseToJSONTyped = IntegrationEventCourseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the IntegrationEventCourse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIntegrationEventCourse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function IntegrationEventCourseFromJSON(json) {
|
|
32
|
+
return IntegrationEventCourseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function IntegrationEventCourseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'name': json['name'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function IntegrationEventCourseToJSON(json) {
|
|
44
|
+
return IntegrationEventCourseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function IntegrationEventCourseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'name': value['name'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 { IntegrationEventLearner } from './IntegrationEventLearner';
|
|
13
|
+
import type { IntegrationEventCertificate } from './IntegrationEventCertificate';
|
|
14
|
+
import type { IntegrationEventEnrollment } from './IntegrationEventEnrollment';
|
|
15
|
+
import type { IntegrationEventPortal } from './IntegrationEventPortal';
|
|
16
|
+
import type { IntegrationEventCourse } from './IntegrationEventCourse';
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface IntegrationEventData
|
|
21
|
+
*/
|
|
22
|
+
export interface IntegrationEventData {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {IntegrationEventPortal}
|
|
26
|
+
* @memberof IntegrationEventData
|
|
27
|
+
*/
|
|
28
|
+
portal: IntegrationEventPortal;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {IntegrationEventLearner}
|
|
32
|
+
* @memberof IntegrationEventData
|
|
33
|
+
*/
|
|
34
|
+
learner: IntegrationEventLearner;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {IntegrationEventCourse}
|
|
38
|
+
* @memberof IntegrationEventData
|
|
39
|
+
*/
|
|
40
|
+
course: IntegrationEventCourse;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {IntegrationEventEnrollment}
|
|
44
|
+
* @memberof IntegrationEventData
|
|
45
|
+
*/
|
|
46
|
+
enrollment: IntegrationEventEnrollment | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {IntegrationEventCertificate}
|
|
50
|
+
* @memberof IntegrationEventData
|
|
51
|
+
*/
|
|
52
|
+
certificate: IntegrationEventCertificate | null;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the IntegrationEventData interface.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instanceOfIntegrationEventData(value: object): value is IntegrationEventData;
|
|
58
|
+
export declare function IntegrationEventDataFromJSON(json: any): IntegrationEventData;
|
|
59
|
+
export declare function IntegrationEventDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventData;
|
|
60
|
+
export declare function IntegrationEventDataToJSON(json: any): IntegrationEventData;
|
|
61
|
+
export declare function IntegrationEventDataToJSONTyped(value?: IntegrationEventData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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.instanceOfIntegrationEventData = instanceOfIntegrationEventData;
|
|
17
|
+
exports.IntegrationEventDataFromJSON = IntegrationEventDataFromJSON;
|
|
18
|
+
exports.IntegrationEventDataFromJSONTyped = IntegrationEventDataFromJSONTyped;
|
|
19
|
+
exports.IntegrationEventDataToJSON = IntegrationEventDataToJSON;
|
|
20
|
+
exports.IntegrationEventDataToJSONTyped = IntegrationEventDataToJSONTyped;
|
|
21
|
+
const IntegrationEventLearner_1 = require("./IntegrationEventLearner");
|
|
22
|
+
const IntegrationEventCertificate_1 = require("./IntegrationEventCertificate");
|
|
23
|
+
const IntegrationEventEnrollment_1 = require("./IntegrationEventEnrollment");
|
|
24
|
+
const IntegrationEventPortal_1 = require("./IntegrationEventPortal");
|
|
25
|
+
const IntegrationEventCourse_1 = require("./IntegrationEventCourse");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the IntegrationEventData interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfIntegrationEventData(value) {
|
|
30
|
+
if (!('portal' in value) || value['portal'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('learner' in value) || value['learner'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('course' in value) || value['course'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('enrollment' in value) || value['enrollment'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('certificate' in value) || value['certificate'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function IntegrationEventDataFromJSON(json) {
|
|
43
|
+
return IntegrationEventDataFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function IntegrationEventDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'portal': (0, IntegrationEventPortal_1.IntegrationEventPortalFromJSON)(json['portal']),
|
|
51
|
+
'learner': (0, IntegrationEventLearner_1.IntegrationEventLearnerFromJSON)(json['learner']),
|
|
52
|
+
'course': (0, IntegrationEventCourse_1.IntegrationEventCourseFromJSON)(json['course']),
|
|
53
|
+
'enrollment': (0, IntegrationEventEnrollment_1.IntegrationEventEnrollmentFromJSON)(json['enrollment']),
|
|
54
|
+
'certificate': (0, IntegrationEventCertificate_1.IntegrationEventCertificateFromJSON)(json['certificate']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function IntegrationEventDataToJSON(json) {
|
|
58
|
+
return IntegrationEventDataToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function IntegrationEventDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'portal': (0, IntegrationEventPortal_1.IntegrationEventPortalToJSON)(value['portal']),
|
|
66
|
+
'learner': (0, IntegrationEventLearner_1.IntegrationEventLearnerToJSON)(value['learner']),
|
|
67
|
+
'course': (0, IntegrationEventCourse_1.IntegrationEventCourseToJSON)(value['course']),
|
|
68
|
+
'enrollment': (0, IntegrationEventEnrollment_1.IntegrationEventEnrollmentToJSON)(value['enrollment']),
|
|
69
|
+
'certificate': (0, IntegrationEventCertificate_1.IntegrationEventCertificateToJSON)(value['certificate']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegrationEventEnrollment
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationEventEnrollment {
|
|
18
|
+
/**
|
|
19
|
+
* Stable external enrollment ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationEventEnrollment
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationEventEnrollment
|
|
28
|
+
*/
|
|
29
|
+
status: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {IntegrationEventEnrollmentOccurrenceEnum}
|
|
33
|
+
* @memberof IntegrationEventEnrollment
|
|
34
|
+
*/
|
|
35
|
+
occurrence: IntegrationEventEnrollmentOccurrenceEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof IntegrationEventEnrollment
|
|
40
|
+
*/
|
|
41
|
+
enrollmentDateStart: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof IntegrationEventEnrollment
|
|
46
|
+
*/
|
|
47
|
+
enrollmentDateEnd: Date | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof IntegrationEventEnrollment
|
|
52
|
+
*/
|
|
53
|
+
completedAt: Date | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const IntegrationEventEnrollmentOccurrenceEnum: {
|
|
59
|
+
readonly Created: "created";
|
|
60
|
+
readonly Resumed: "resumed";
|
|
61
|
+
readonly Completed: "completed";
|
|
62
|
+
};
|
|
63
|
+
export type IntegrationEventEnrollmentOccurrenceEnum = typeof IntegrationEventEnrollmentOccurrenceEnum[keyof typeof IntegrationEventEnrollmentOccurrenceEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the IntegrationEventEnrollment interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfIntegrationEventEnrollment(value: object): value is IntegrationEventEnrollment;
|
|
68
|
+
export declare function IntegrationEventEnrollmentFromJSON(json: any): IntegrationEventEnrollment;
|
|
69
|
+
export declare function IntegrationEventEnrollmentFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventEnrollment;
|
|
70
|
+
export declare function IntegrationEventEnrollmentToJSON(json: any): IntegrationEventEnrollment;
|
|
71
|
+
export declare function IntegrationEventEnrollmentToJSONTyped(value?: IntegrationEventEnrollment | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
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.IntegrationEventEnrollmentOccurrenceEnum = void 0;
|
|
17
|
+
exports.instanceOfIntegrationEventEnrollment = instanceOfIntegrationEventEnrollment;
|
|
18
|
+
exports.IntegrationEventEnrollmentFromJSON = IntegrationEventEnrollmentFromJSON;
|
|
19
|
+
exports.IntegrationEventEnrollmentFromJSONTyped = IntegrationEventEnrollmentFromJSONTyped;
|
|
20
|
+
exports.IntegrationEventEnrollmentToJSON = IntegrationEventEnrollmentToJSON;
|
|
21
|
+
exports.IntegrationEventEnrollmentToJSONTyped = IntegrationEventEnrollmentToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IntegrationEventEnrollmentOccurrenceEnum = {
|
|
26
|
+
Created: 'created',
|
|
27
|
+
Resumed: 'resumed',
|
|
28
|
+
Completed: 'completed'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the IntegrationEventEnrollment interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfIntegrationEventEnrollment(value) {
|
|
34
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('occurrence' in value) || value['occurrence'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('enrollmentDateStart' in value) || value['enrollmentDateStart'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('enrollmentDateEnd' in value) || value['enrollmentDateEnd'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('completedAt' in value) || value['completedAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function IntegrationEventEnrollmentFromJSON(json) {
|
|
49
|
+
return IntegrationEventEnrollmentFromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function IntegrationEventEnrollmentFromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'id': json['id'],
|
|
57
|
+
'status': json['status'],
|
|
58
|
+
'occurrence': json['occurrence'],
|
|
59
|
+
'enrollmentDateStart': (new Date(json['enrollment_date_start'])),
|
|
60
|
+
'enrollmentDateEnd': (json['enrollment_date_end'] == null ? null : new Date(json['enrollment_date_end'])),
|
|
61
|
+
'completedAt': (json['completed_at'] == null ? null : new Date(json['completed_at'])),
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
function IntegrationEventEnrollmentToJSON(json) {
|
|
65
|
+
return IntegrationEventEnrollmentToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function IntegrationEventEnrollmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
68
|
+
if (value == null) {
|
|
69
|
+
return value;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value['id'],
|
|
73
|
+
'status': value['status'],
|
|
74
|
+
'occurrence': value['occurrence'],
|
|
75
|
+
'enrollment_date_start': value['enrollmentDateStart'].toISOString(),
|
|
76
|
+
'enrollment_date_end': value['enrollmentDateEnd'] == null ? value['enrollmentDateEnd'] : value['enrollmentDateEnd'].toISOString(),
|
|
77
|
+
'completed_at': value['completedAt'] == null ? value['completedAt'] : value['completedAt'].toISOString(),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegrationEventLearner
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationEventLearner {
|
|
18
|
+
/**
|
|
19
|
+
* Stable external learner ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationEventLearner
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationEventLearner
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationEventLearner
|
|
34
|
+
*/
|
|
35
|
+
firstName: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IntegrationEventLearner
|
|
40
|
+
*/
|
|
41
|
+
lastName: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the IntegrationEventLearner interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfIntegrationEventLearner(value: object): value is IntegrationEventLearner;
|
|
47
|
+
export declare function IntegrationEventLearnerFromJSON(json: any): IntegrationEventLearner;
|
|
48
|
+
export declare function IntegrationEventLearnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventLearner;
|
|
49
|
+
export declare function IntegrationEventLearnerToJSON(json: any): IntegrationEventLearner;
|
|
50
|
+
export declare function IntegrationEventLearnerToJSONTyped(value?: IntegrationEventLearner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfIntegrationEventLearner = instanceOfIntegrationEventLearner;
|
|
17
|
+
exports.IntegrationEventLearnerFromJSON = IntegrationEventLearnerFromJSON;
|
|
18
|
+
exports.IntegrationEventLearnerFromJSONTyped = IntegrationEventLearnerFromJSONTyped;
|
|
19
|
+
exports.IntegrationEventLearnerToJSON = IntegrationEventLearnerToJSON;
|
|
20
|
+
exports.IntegrationEventLearnerToJSONTyped = IntegrationEventLearnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the IntegrationEventLearner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIntegrationEventLearner(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function IntegrationEventLearnerFromJSON(json) {
|
|
36
|
+
return IntegrationEventLearnerFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function IntegrationEventLearnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': json['id'],
|
|
44
|
+
'email': json['email'],
|
|
45
|
+
'firstName': json['first_name'],
|
|
46
|
+
'lastName': json['last_name'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function IntegrationEventLearnerToJSON(json) {
|
|
50
|
+
return IntegrationEventLearnerToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function IntegrationEventLearnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'email': value['email'],
|
|
59
|
+
'first_name': value['firstName'],
|
|
60
|
+
'last_name': value['lastName'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IntegrationEventPortal
|
|
16
|
+
*/
|
|
17
|
+
export interface IntegrationEventPortal {
|
|
18
|
+
/**
|
|
19
|
+
* Stable external portal ID.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IntegrationEventPortal
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IntegrationEventPortal
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IntegrationEventPortal
|
|
34
|
+
*/
|
|
35
|
+
subdomain: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the IntegrationEventPortal interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfIntegrationEventPortal(value: object): value is IntegrationEventPortal;
|
|
41
|
+
export declare function IntegrationEventPortalFromJSON(json: any): IntegrationEventPortal;
|
|
42
|
+
export declare function IntegrationEventPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEventPortal;
|
|
43
|
+
export declare function IntegrationEventPortalToJSON(json: any): IntegrationEventPortal;
|
|
44
|
+
export declare function IntegrationEventPortalToJSONTyped(value?: IntegrationEventPortal | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfIntegrationEventPortal = instanceOfIntegrationEventPortal;
|
|
17
|
+
exports.IntegrationEventPortalFromJSON = IntegrationEventPortalFromJSON;
|
|
18
|
+
exports.IntegrationEventPortalFromJSONTyped = IntegrationEventPortalFromJSONTyped;
|
|
19
|
+
exports.IntegrationEventPortalToJSON = IntegrationEventPortalToJSON;
|
|
20
|
+
exports.IntegrationEventPortalToJSONTyped = IntegrationEventPortalToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the IntegrationEventPortal interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIntegrationEventPortal(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('subdomain' in value) || value['subdomain'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function IntegrationEventPortalFromJSON(json) {
|
|
34
|
+
return IntegrationEventPortalFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function IntegrationEventPortalFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'name': json['name'],
|
|
43
|
+
'subdomain': json['subdomain'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function IntegrationEventPortalToJSON(json) {
|
|
47
|
+
return IntegrationEventPortalToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function IntegrationEventPortalToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value['id'],
|
|
55
|
+
'name': value['name'],
|
|
56
|
+
'subdomain': value['subdomain'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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 PostCustomWebhookIntegration
|
|
16
|
+
*/
|
|
17
|
+
export interface PostCustomWebhookIntegration {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostCustomWebhookIntegration
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* Public HTTPS endpoint that receives CloudEvents JSON payloads.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostCustomWebhookIntegration
|
|
28
|
+
*/
|
|
29
|
+
targetUrl: string;
|
|
30
|
+
/**
|
|
31
|
+
* Secret sent in the Authorization header as a Bearer token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostCustomWebhookIntegration
|
|
34
|
+
*/
|
|
35
|
+
bearerToken: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Set<PostCustomWebhookIntegrationEventTypesEnum>}
|
|
39
|
+
* @memberof PostCustomWebhookIntegration
|
|
40
|
+
*/
|
|
41
|
+
eventTypes: Set<PostCustomWebhookIntegrationEventTypesEnum>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof PostCustomWebhookIntegration
|
|
46
|
+
*/
|
|
47
|
+
enabled?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export declare const PostCustomWebhookIntegrationEventTypesEnum: {
|
|
53
|
+
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
54
|
+
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
55
|
+
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
56
|
+
};
|
|
57
|
+
export type PostCustomWebhookIntegrationEventTypesEnum = typeof PostCustomWebhookIntegrationEventTypesEnum[keyof typeof PostCustomWebhookIntegrationEventTypesEnum];
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the PostCustomWebhookIntegration interface.
|
|
60
|
+
*/
|
|
61
|
+
export declare function instanceOfPostCustomWebhookIntegration(value: object): value is PostCustomWebhookIntegration;
|
|
62
|
+
export declare function PostCustomWebhookIntegrationFromJSON(json: any): PostCustomWebhookIntegration;
|
|
63
|
+
export declare function PostCustomWebhookIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostCustomWebhookIntegration;
|
|
64
|
+
export declare function PostCustomWebhookIntegrationToJSON(json: any): PostCustomWebhookIntegration;
|
|
65
|
+
export declare function PostCustomWebhookIntegrationToJSONTyped(value?: PostCustomWebhookIntegration | null, ignoreDiscriminator?: boolean): any;
|