@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,83 @@
|
|
|
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 CustomWebhookIntegration
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomWebhookIntegration {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CustomWebhookIntegration
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CustomWebhookIntegration
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CustomWebhookIntegration
|
|
34
|
+
*/
|
|
35
|
+
targetUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Set<CustomWebhookIntegrationEventTypesEnum>}
|
|
39
|
+
* @memberof CustomWebhookIntegration
|
|
40
|
+
*/
|
|
41
|
+
eventTypes: Set<CustomWebhookIntegrationEventTypesEnum>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof CustomWebhookIntegration
|
|
46
|
+
*/
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* True when an encrypted bearer token is configured. The token is never returned.
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof CustomWebhookIntegration
|
|
52
|
+
*/
|
|
53
|
+
tokenConfigured: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof CustomWebhookIntegration
|
|
58
|
+
*/
|
|
59
|
+
createdAt: Date;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Date}
|
|
63
|
+
* @memberof CustomWebhookIntegration
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: Date;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const CustomWebhookIntegrationEventTypesEnum: {
|
|
71
|
+
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
72
|
+
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
73
|
+
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
74
|
+
};
|
|
75
|
+
export type CustomWebhookIntegrationEventTypesEnum = typeof CustomWebhookIntegrationEventTypesEnum[keyof typeof CustomWebhookIntegrationEventTypesEnum];
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the CustomWebhookIntegration interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfCustomWebhookIntegration(value: object): value is CustomWebhookIntegration;
|
|
80
|
+
export declare function CustomWebhookIntegrationFromJSON(json: any): CustomWebhookIntegration;
|
|
81
|
+
export declare function CustomWebhookIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomWebhookIntegration;
|
|
82
|
+
export declare function CustomWebhookIntegrationToJSON(json: any): CustomWebhookIntegration;
|
|
83
|
+
export declare function CustomWebhookIntegrationToJSONTyped(value?: CustomWebhookIntegration | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* LMS API
|
|
5
|
+
* LMS API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const CustomWebhookIntegrationEventTypesEnum = {
|
|
18
|
+
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
19
|
+
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
20
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CustomWebhookIntegration interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfCustomWebhookIntegration(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('targetUrl' in value) || value['targetUrl'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('eventTypes' in value) || value['eventTypes'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('tokenConfigured' in value) || value['tokenConfigured'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
export function CustomWebhookIntegrationFromJSON(json) {
|
|
45
|
+
return CustomWebhookIntegrationFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function CustomWebhookIntegrationFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'id': json['id'],
|
|
53
|
+
'name': json['name'],
|
|
54
|
+
'targetUrl': json['target_url'],
|
|
55
|
+
'eventTypes': new Set(json['event_types']),
|
|
56
|
+
'enabled': json['enabled'],
|
|
57
|
+
'tokenConfigured': json['token_configured'],
|
|
58
|
+
'createdAt': (new Date(json['created_at'])),
|
|
59
|
+
'updatedAt': (new Date(json['updated_at'])),
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export function CustomWebhookIntegrationToJSON(json) {
|
|
63
|
+
return CustomWebhookIntegrationToJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
export function CustomWebhookIntegrationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
'id': value['id'],
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'target_url': value['targetUrl'],
|
|
73
|
+
'event_types': Array.from(value['eventTypes']),
|
|
74
|
+
'enabled': value['enabled'],
|
|
75
|
+
'token_configured': value['tokenConfigured'],
|
|
76
|
+
'created_at': value['createdAt'].toISOString(),
|
|
77
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { ZapierCourse } from './ZapierCourse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetZapierCourses
|
|
17
|
+
*/
|
|
18
|
+
export interface GetZapierCourses {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GetZapierCourses
|
|
23
|
+
*/
|
|
24
|
+
page: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetZapierCourses
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetZapierCourses
|
|
35
|
+
*/
|
|
36
|
+
totalItems: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ZapierCourse>}
|
|
40
|
+
* @memberof GetZapierCourses
|
|
41
|
+
*/
|
|
42
|
+
items: Array<ZapierCourse>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetZapierCourses interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfGetZapierCourses(value: object): value is GetZapierCourses;
|
|
48
|
+
export declare function GetZapierCoursesFromJSON(json: any): GetZapierCourses;
|
|
49
|
+
export declare function GetZapierCoursesFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetZapierCourses;
|
|
50
|
+
export declare function GetZapierCoursesToJSON(json: any): GetZapierCourses;
|
|
51
|
+
export declare function GetZapierCoursesToJSONTyped(value?: GetZapierCourses | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { ZapierCourseFromJSON, ZapierCourseToJSON, } from './ZapierCourse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetZapierCourses interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetZapierCourses(value) {
|
|
19
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function GetZapierCoursesFromJSON(json) {
|
|
30
|
+
return GetZapierCoursesFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function GetZapierCoursesFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'page': json['page'],
|
|
38
|
+
'pageSize': json['page_size'],
|
|
39
|
+
'totalItems': json['total_items'],
|
|
40
|
+
'items': (json['items'].map(ZapierCourseFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function GetZapierCoursesToJSON(json) {
|
|
44
|
+
return GetZapierCoursesToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function GetZapierCoursesToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'page': value['page'],
|
|
52
|
+
'page_size': value['pageSize'],
|
|
53
|
+
'total_items': value['totalItems'],
|
|
54
|
+
'items': (value['items'].map(ZapierCourseToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ZapierShopifyCourseMapping } from './ZapierShopifyCourseMapping';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetZapierShopifyCourseMappings
|
|
17
|
+
*/
|
|
18
|
+
export interface GetZapierShopifyCourseMappings {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ZapierShopifyCourseMapping>}
|
|
22
|
+
* @memberof GetZapierShopifyCourseMappings
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ZapierShopifyCourseMapping>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetZapierShopifyCourseMappings interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGetZapierShopifyCourseMappings(value: object): value is GetZapierShopifyCourseMappings;
|
|
30
|
+
export declare function GetZapierShopifyCourseMappingsFromJSON(json: any): GetZapierShopifyCourseMappings;
|
|
31
|
+
export declare function GetZapierShopifyCourseMappingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetZapierShopifyCourseMappings;
|
|
32
|
+
export declare function GetZapierShopifyCourseMappingsToJSON(json: any): GetZapierShopifyCourseMappings;
|
|
33
|
+
export declare function GetZapierShopifyCourseMappingsToJSONTyped(value?: GetZapierShopifyCourseMappings | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { ZapierShopifyCourseMappingFromJSON, ZapierShopifyCourseMappingToJSON, } from './ZapierShopifyCourseMapping';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetZapierShopifyCourseMappings interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetZapierShopifyCourseMappings(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GetZapierShopifyCourseMappingsFromJSON(json) {
|
|
24
|
+
return GetZapierShopifyCourseMappingsFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GetZapierShopifyCourseMappingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'items': (json['items'].map(ZapierShopifyCourseMappingFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GetZapierShopifyCourseMappingsToJSON(json) {
|
|
35
|
+
return GetZapierShopifyCourseMappingsToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GetZapierShopifyCourseMappingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'items': (value['items'].map(ZapierShopifyCourseMappingToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { ZapierUser } from './ZapierUser';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetZapierUsers
|
|
17
|
+
*/
|
|
18
|
+
export interface GetZapierUsers {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<ZapierUser>}
|
|
22
|
+
* @memberof GetZapierUsers
|
|
23
|
+
*/
|
|
24
|
+
items: Array<ZapierUser>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetZapierUsers interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGetZapierUsers(value: object): value is GetZapierUsers;
|
|
30
|
+
export declare function GetZapierUsersFromJSON(json: any): GetZapierUsers;
|
|
31
|
+
export declare function GetZapierUsersFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetZapierUsers;
|
|
32
|
+
export declare function GetZapierUsersToJSON(json: any): GetZapierUsers;
|
|
33
|
+
export declare function GetZapierUsersToJSONTyped(value?: GetZapierUsers | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { ZapierUserFromJSON, ZapierUserToJSON, } from './ZapierUser';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetZapierUsers interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetZapierUsers(value) {
|
|
19
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function GetZapierUsersFromJSON(json) {
|
|
24
|
+
return GetZapierUsersFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function GetZapierUsersFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'items': (json['items'].map(ZapierUserFromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function GetZapierUsersToJSON(json) {
|
|
35
|
+
return GetZapierUsersToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function GetZapierUsersToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'items': (value['items'].map(ZapierUserToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { IntegrationEventData } from './IntegrationEventData';
|
|
13
|
+
/**
|
|
14
|
+
* A CloudEvents 1.0 structured JSON event emitted by Edaxu.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IntegrationEvent
|
|
17
|
+
*/
|
|
18
|
+
export interface IntegrationEvent {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {IntegrationEventSpecversionEnum}
|
|
22
|
+
* @memberof IntegrationEvent
|
|
23
|
+
*/
|
|
24
|
+
specversion: IntegrationEventSpecversionEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof IntegrationEvent
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* Stable URI identifying the portal event source.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof IntegrationEvent
|
|
35
|
+
*/
|
|
36
|
+
source: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {IntegrationEventTypeEnum}
|
|
40
|
+
* @memberof IntegrationEvent
|
|
41
|
+
*/
|
|
42
|
+
type: IntegrationEventTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof IntegrationEvent
|
|
47
|
+
*/
|
|
48
|
+
time: Date;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof IntegrationEvent
|
|
53
|
+
*/
|
|
54
|
+
subject: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {IntegrationEventDatacontenttypeEnum}
|
|
58
|
+
* @memberof IntegrationEvent
|
|
59
|
+
*/
|
|
60
|
+
datacontenttype: IntegrationEventDatacontenttypeEnum;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {IntegrationEventData}
|
|
64
|
+
* @memberof IntegrationEvent
|
|
65
|
+
*/
|
|
66
|
+
data: IntegrationEventData;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const IntegrationEventSpecversionEnum: {
|
|
72
|
+
readonly _10: "1.0";
|
|
73
|
+
};
|
|
74
|
+
export type IntegrationEventSpecversionEnum = typeof IntegrationEventSpecversionEnum[keyof typeof IntegrationEventSpecversionEnum];
|
|
75
|
+
/**
|
|
76
|
+
* @export
|
|
77
|
+
*/
|
|
78
|
+
export declare const IntegrationEventTypeEnum: {
|
|
79
|
+
readonly ComEdaxuEnrollmentEnrolledV1: "com.edaxu.enrollment.enrolled.v1";
|
|
80
|
+
readonly ComEdaxuEnrollmentCompletedV1: "com.edaxu.enrollment.completed.v1";
|
|
81
|
+
readonly ComEdaxuCertificateIssuedV1: "com.edaxu.certificate.issued.v1";
|
|
82
|
+
};
|
|
83
|
+
export type IntegrationEventTypeEnum = typeof IntegrationEventTypeEnum[keyof typeof IntegrationEventTypeEnum];
|
|
84
|
+
/**
|
|
85
|
+
* @export
|
|
86
|
+
*/
|
|
87
|
+
export declare const IntegrationEventDatacontenttypeEnum: {
|
|
88
|
+
readonly ApplicationJson: "application/json";
|
|
89
|
+
};
|
|
90
|
+
export type IntegrationEventDatacontenttypeEnum = typeof IntegrationEventDatacontenttypeEnum[keyof typeof IntegrationEventDatacontenttypeEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the IntegrationEvent interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfIntegrationEvent(value: object): value is IntegrationEvent;
|
|
95
|
+
export declare function IntegrationEventFromJSON(json: any): IntegrationEvent;
|
|
96
|
+
export declare function IntegrationEventFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationEvent;
|
|
97
|
+
export declare function IntegrationEventToJSON(json: any): IntegrationEvent;
|
|
98
|
+
export declare function IntegrationEventToJSONTyped(value?: IntegrationEvent | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { IntegrationEventDataFromJSON, IntegrationEventDataToJSON, } from './IntegrationEventData';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const IntegrationEventSpecversionEnum = {
|
|
19
|
+
_10: '1.0'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export const IntegrationEventTypeEnum = {
|
|
25
|
+
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
26
|
+
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
27
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const IntegrationEventDatacontenttypeEnum = {
|
|
33
|
+
ApplicationJson: 'application/json'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the IntegrationEvent interface.
|
|
37
|
+
*/
|
|
38
|
+
export function instanceOfIntegrationEvent(value) {
|
|
39
|
+
if (!('specversion' in value) || value['specversion'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('source' in value) || value['source'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('time' in value) || value['time'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('datacontenttype' in value) || value['datacontenttype'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
export function IntegrationEventFromJSON(json) {
|
|
58
|
+
return IntegrationEventFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
export function IntegrationEventFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
if (json == null) {
|
|
62
|
+
return json;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'specversion': json['specversion'],
|
|
66
|
+
'id': json['id'],
|
|
67
|
+
'source': json['source'],
|
|
68
|
+
'type': json['type'],
|
|
69
|
+
'time': (new Date(json['time'])),
|
|
70
|
+
'subject': json['subject'],
|
|
71
|
+
'datacontenttype': json['datacontenttype'],
|
|
72
|
+
'data': IntegrationEventDataFromJSON(json['data']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
export function IntegrationEventToJSON(json) {
|
|
76
|
+
return IntegrationEventToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
export function IntegrationEventToJSONTyped(value, ignoreDiscriminator = false) {
|
|
79
|
+
if (value == null) {
|
|
80
|
+
return value;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
'specversion': value['specversion'],
|
|
84
|
+
'id': value['id'],
|
|
85
|
+
'source': value['source'],
|
|
86
|
+
'type': value['type'],
|
|
87
|
+
'time': value['time'].toISOString(),
|
|
88
|
+
'subject': value['subject'],
|
|
89
|
+
'datacontenttype': value['datacontenttype'],
|
|
90
|
+
'data': IntegrationEventDataToJSON(value['data']),
|
|
91
|
+
};
|
|
92
|
+
}
|