@easyedu/js-lsm-api 1.116.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 +24 -0
- package/README.md +21 -2
- package/dist/apis/IntegrationApi.d.ts +125 -0
- package/dist/apis/IntegrationApi.js +330 -1
- package/dist/esm/apis/IntegrationApi.d.ts +125 -0
- package/dist/esm/apis/IntegrationApi.js +329 -0
- package/dist/esm/models/CustomWebhookIntegration.d.ts +83 -0
- package/dist/esm/models/CustomWebhookIntegration.js +79 -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/PostZapierSubscription.d.ts +53 -0
- package/dist/esm/models/PostZapierSubscription.js +57 -0
- package/dist/esm/models/PutCustomWebhookIntegration.d.ts +65 -0
- package/dist/esm/models/PutCustomWebhookIntegration.js +57 -0
- package/dist/esm/models/ZapierSubscription.d.ts +53 -0
- package/dist/esm/models/ZapierSubscription.js +59 -0
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/models/CustomWebhookIntegration.d.ts +83 -0
- package/dist/models/CustomWebhookIntegration.js +87 -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/PostZapierSubscription.d.ts +53 -0
- package/dist/models/PostZapierSubscription.js +65 -0
- package/dist/models/PutCustomWebhookIntegration.d.ts +65 -0
- package/dist/models/PutCustomWebhookIntegration.js +65 -0
- package/dist/models/ZapierSubscription.d.ts +53 -0
- package/dist/models/ZapierSubscription.js +67 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/docs/CustomWebhookIntegration.md +48 -0
- package/docs/IntegrationApi.md +494 -0
- 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/PostZapierSubscription.md +38 -0
- package/docs/PutCustomWebhookIntegration.md +42 -0
- package/docs/ZapierSubscription.md +38 -0
- package/package.json +1 -1
- package/src/apis/IntegrationApi.ts +464 -0
- package/src/models/CustomWebhookIntegration.ts +141 -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/PostZapierSubscription.ts +95 -0
- package/src/models/PutCustomWebhookIntegration.ts +109 -0
- package/src/models/ZapierSubscription.ts +96 -0
- package/src/models/index.ts +12 -0
|
@@ -0,0 +1,96 @@
|
|
|
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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ZapierSubscription
|
|
20
|
+
*/
|
|
21
|
+
export interface ZapierSubscription {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ZapierSubscription
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ZapierSubscriptionEventTypeEnum}
|
|
31
|
+
* @memberof ZapierSubscription
|
|
32
|
+
*/
|
|
33
|
+
eventType: ZapierSubscriptionEventTypeEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof ZapierSubscription
|
|
38
|
+
*/
|
|
39
|
+
createdAt: Date;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const ZapierSubscriptionEventTypeEnum = {
|
|
47
|
+
ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
|
|
48
|
+
ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
|
|
49
|
+
ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
|
|
50
|
+
} as const;
|
|
51
|
+
export type ZapierSubscriptionEventTypeEnum = typeof ZapierSubscriptionEventTypeEnum[keyof typeof ZapierSubscriptionEventTypeEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ZapierSubscription interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfZapierSubscription(value: object): value is ZapierSubscription {
|
|
58
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
+
if (!('eventType' in value) || value['eventType'] === undefined) return false;
|
|
60
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ZapierSubscriptionFromJSON(json: any): ZapierSubscription {
|
|
65
|
+
return ZapierSubscriptionFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ZapierSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ZapierSubscription {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'id': json['id'],
|
|
75
|
+
'eventType': json['event_type'],
|
|
76
|
+
'createdAt': (new Date(json['created_at'])),
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ZapierSubscriptionToJSON(json: any): ZapierSubscription {
|
|
81
|
+
return ZapierSubscriptionToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function ZapierSubscriptionToJSONTyped(value?: ZapierSubscription | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'id': value['id'],
|
|
92
|
+
'event_type': value['eventType'],
|
|
93
|
+
'created_at': value['createdAt'].toISOString(),
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './CourseCatalog';
|
|
|
42
42
|
export * from './CourseProgressionMode';
|
|
43
43
|
export * from './CourseShare';
|
|
44
44
|
export * from './CourseShareAcceptError';
|
|
45
|
+
export * from './CustomWebhookIntegration';
|
|
45
46
|
export * from './EffectiveCertificateConfig';
|
|
46
47
|
export * from './EmailTemplateDefinition';
|
|
47
48
|
export * from './EmailTemplateScope';
|
|
@@ -166,6 +167,13 @@ export * from './GetZapierMe';
|
|
|
166
167
|
export * from './GetZapierSetup';
|
|
167
168
|
export * from './GetZapierShopifyCourseMappings';
|
|
168
169
|
export * from './GetZapierUsers';
|
|
170
|
+
export * from './IntegrationEvent';
|
|
171
|
+
export * from './IntegrationEventCertificate';
|
|
172
|
+
export * from './IntegrationEventCourse';
|
|
173
|
+
export * from './IntegrationEventData';
|
|
174
|
+
export * from './IntegrationEventEnrollment';
|
|
175
|
+
export * from './IntegrationEventLearner';
|
|
176
|
+
export * from './IntegrationEventPortal';
|
|
169
177
|
export * from './LearnerExperienceVersion';
|
|
170
178
|
export * from './LibraryQuizCriteriaPreviewQuestion';
|
|
171
179
|
export * from './LibraryQuizCriterion';
|
|
@@ -217,6 +225,7 @@ export * from './PostCourseVersionItemSession';
|
|
|
217
225
|
export * from './PostCourseVersionPublish';
|
|
218
226
|
export * from './PostCourseVersionSection';
|
|
219
227
|
export * from './PostCourseVersionSectionDuplicate';
|
|
228
|
+
export * from './PostCustomWebhookIntegration';
|
|
220
229
|
export * from './PostDuplicate';
|
|
221
230
|
export * from './PostEmailAssetComplete';
|
|
222
231
|
export * from './PostEmailAssetUpload';
|
|
@@ -263,6 +272,7 @@ export * from './PostZapierSetupResponse';
|
|
|
263
272
|
export * from './PostZapierShopifyCourseMapping';
|
|
264
273
|
export * from './PostZapierShopifyEnrollment';
|
|
265
274
|
export * from './PostZapierShopifyEnrollmentResponse';
|
|
275
|
+
export * from './PostZapierSubscription';
|
|
266
276
|
export * from './PostZapierUser';
|
|
267
277
|
export * from './ProgressionGateError';
|
|
268
278
|
export * from './ProgressionLockReason';
|
|
@@ -280,6 +290,7 @@ export * from './PutCourseVersionDraft';
|
|
|
280
290
|
export * from './PutCourseVersionItem';
|
|
281
291
|
export * from './PutCourseVersionOutlineEntryMove';
|
|
282
292
|
export * from './PutCourseVersionSection';
|
|
293
|
+
export * from './PutCustomWebhookIntegration';
|
|
283
294
|
export * from './PutEmailTemplateDraft';
|
|
284
295
|
export * from './PutLearnerExperienceDraft';
|
|
285
296
|
export * from './PutLibraryQuiz';
|
|
@@ -326,4 +337,5 @@ export * from './ZapierCourse';
|
|
|
326
337
|
export * from './ZapierEnrollment';
|
|
327
338
|
export * from './ZapierIntegration';
|
|
328
339
|
export * from './ZapierShopifyCourseMapping';
|
|
340
|
+
export * from './ZapierSubscription';
|
|
329
341
|
export * from './ZapierUser';
|