@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.
Files changed (158) hide show
  1. package/.openapi-generator/FILES +48 -0
  2. package/README.md +40 -2
  3. package/dist/apis/IntegrationApi.d.ts +257 -0
  4. package/dist/apis/IntegrationApi.js +708 -1
  5. package/dist/esm/apis/IntegrationApi.d.ts +257 -0
  6. package/dist/esm/apis/IntegrationApi.js +707 -0
  7. package/dist/esm/models/CustomWebhookIntegration.d.ts +83 -0
  8. package/dist/esm/models/CustomWebhookIntegration.js +79 -0
  9. package/dist/esm/models/GetZapierCourses.d.ts +51 -0
  10. package/dist/esm/models/GetZapierCourses.js +56 -0
  11. package/dist/esm/models/GetZapierShopifyCourseMappings.d.ts +33 -0
  12. package/dist/esm/models/GetZapierShopifyCourseMappings.js +44 -0
  13. package/dist/esm/models/GetZapierUsers.d.ts +33 -0
  14. package/dist/esm/models/GetZapierUsers.js +44 -0
  15. package/dist/esm/models/IntegrationEvent.d.ts +98 -0
  16. package/dist/esm/models/IntegrationEvent.js +92 -0
  17. package/dist/esm/models/IntegrationEventCertificate.d.ts +78 -0
  18. package/dist/esm/models/IntegrationEventCertificate.js +76 -0
  19. package/dist/esm/models/IntegrationEventCourse.d.ts +38 -0
  20. package/dist/esm/models/IntegrationEventCourse.js +47 -0
  21. package/dist/esm/models/IntegrationEventData.d.ts +61 -0
  22. package/dist/esm/models/IntegrationEventData.js +64 -0
  23. package/dist/esm/models/IntegrationEventEnrollment.d.ts +71 -0
  24. package/dist/esm/models/IntegrationEventEnrollment.js +71 -0
  25. package/dist/esm/models/IntegrationEventLearner.d.ts +50 -0
  26. package/dist/esm/models/IntegrationEventLearner.js +55 -0
  27. package/dist/esm/models/IntegrationEventPortal.d.ts +44 -0
  28. package/dist/esm/models/IntegrationEventPortal.js +51 -0
  29. package/dist/esm/models/PostCustomWebhookIntegration.d.ts +65 -0
  30. package/dist/esm/models/PostCustomWebhookIntegration.js +65 -0
  31. package/dist/esm/models/PostZapierEnrollment.d.ts +76 -0
  32. package/dist/esm/models/PostZapierEnrollment.js +64 -0
  33. package/dist/esm/models/PostZapierShopifyCourseMapping.d.ts +50 -0
  34. package/dist/esm/models/PostZapierShopifyCourseMapping.js +53 -0
  35. package/dist/esm/models/PostZapierShopifyEnrollment.d.ts +100 -0
  36. package/dist/esm/models/PostZapierShopifyEnrollment.js +82 -0
  37. package/dist/esm/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
  38. package/dist/esm/models/PostZapierShopifyEnrollmentResponse.js +54 -0
  39. package/dist/esm/models/PostZapierSubscription.d.ts +53 -0
  40. package/dist/esm/models/PostZapierSubscription.js +57 -0
  41. package/dist/esm/models/PostZapierUser.d.ts +44 -0
  42. package/dist/esm/models/PostZapierUser.js +51 -0
  43. package/dist/esm/models/PutCustomWebhookIntegration.d.ts +65 -0
  44. package/dist/esm/models/PutCustomWebhookIntegration.js +57 -0
  45. package/dist/esm/models/ZapierCourse.d.ts +50 -0
  46. package/dist/esm/models/ZapierCourse.js +55 -0
  47. package/dist/esm/models/ZapierEnrollment.d.ts +74 -0
  48. package/dist/esm/models/ZapierEnrollment.js +69 -0
  49. package/dist/esm/models/ZapierShopifyCourseMapping.d.ts +69 -0
  50. package/dist/esm/models/ZapierShopifyCourseMapping.js +66 -0
  51. package/dist/esm/models/ZapierSubscription.d.ts +53 -0
  52. package/dist/esm/models/ZapierSubscription.js +59 -0
  53. package/dist/esm/models/ZapierUser.d.ts +56 -0
  54. package/dist/esm/models/ZapierUser.js +59 -0
  55. package/dist/esm/models/index.d.ts +24 -0
  56. package/dist/esm/models/index.js +24 -0
  57. package/dist/models/CustomWebhookIntegration.d.ts +83 -0
  58. package/dist/models/CustomWebhookIntegration.js +87 -0
  59. package/dist/models/GetZapierCourses.d.ts +51 -0
  60. package/dist/models/GetZapierCourses.js +63 -0
  61. package/dist/models/GetZapierShopifyCourseMappings.d.ts +33 -0
  62. package/dist/models/GetZapierShopifyCourseMappings.js +51 -0
  63. package/dist/models/GetZapierUsers.d.ts +33 -0
  64. package/dist/models/GetZapierUsers.js +51 -0
  65. package/dist/models/IntegrationEvent.d.ts +98 -0
  66. package/dist/models/IntegrationEvent.js +100 -0
  67. package/dist/models/IntegrationEventCertificate.d.ts +78 -0
  68. package/dist/models/IntegrationEventCertificate.js +84 -0
  69. package/dist/models/IntegrationEventCourse.d.ts +38 -0
  70. package/dist/models/IntegrationEventCourse.js +54 -0
  71. package/dist/models/IntegrationEventData.d.ts +61 -0
  72. package/dist/models/IntegrationEventData.js +71 -0
  73. package/dist/models/IntegrationEventEnrollment.d.ts +71 -0
  74. package/dist/models/IntegrationEventEnrollment.js +79 -0
  75. package/dist/models/IntegrationEventLearner.d.ts +50 -0
  76. package/dist/models/IntegrationEventLearner.js +62 -0
  77. package/dist/models/IntegrationEventPortal.d.ts +44 -0
  78. package/dist/models/IntegrationEventPortal.js +58 -0
  79. package/dist/models/PostCustomWebhookIntegration.d.ts +65 -0
  80. package/dist/models/PostCustomWebhookIntegration.js +73 -0
  81. package/dist/models/PostZapierEnrollment.d.ts +76 -0
  82. package/dist/models/PostZapierEnrollment.js +72 -0
  83. package/dist/models/PostZapierShopifyCourseMapping.d.ts +50 -0
  84. package/dist/models/PostZapierShopifyCourseMapping.js +60 -0
  85. package/dist/models/PostZapierShopifyEnrollment.d.ts +100 -0
  86. package/dist/models/PostZapierShopifyEnrollment.js +90 -0
  87. package/dist/models/PostZapierShopifyEnrollmentResponse.d.ts +47 -0
  88. package/dist/models/PostZapierShopifyEnrollmentResponse.js +61 -0
  89. package/dist/models/PostZapierSubscription.d.ts +53 -0
  90. package/dist/models/PostZapierSubscription.js +65 -0
  91. package/dist/models/PostZapierUser.d.ts +44 -0
  92. package/dist/models/PostZapierUser.js +58 -0
  93. package/dist/models/PutCustomWebhookIntegration.d.ts +65 -0
  94. package/dist/models/PutCustomWebhookIntegration.js +65 -0
  95. package/dist/models/ZapierCourse.d.ts +50 -0
  96. package/dist/models/ZapierCourse.js +62 -0
  97. package/dist/models/ZapierEnrollment.d.ts +74 -0
  98. package/dist/models/ZapierEnrollment.js +76 -0
  99. package/dist/models/ZapierShopifyCourseMapping.d.ts +69 -0
  100. package/dist/models/ZapierShopifyCourseMapping.js +73 -0
  101. package/dist/models/ZapierSubscription.d.ts +53 -0
  102. package/dist/models/ZapierSubscription.js +67 -0
  103. package/dist/models/ZapierUser.d.ts +56 -0
  104. package/dist/models/ZapierUser.js +66 -0
  105. package/dist/models/index.d.ts +24 -0
  106. package/dist/models/index.js +24 -0
  107. package/docs/CustomWebhookIntegration.md +48 -0
  108. package/docs/GetZapierCourses.md +40 -0
  109. package/docs/GetZapierShopifyCourseMappings.md +34 -0
  110. package/docs/GetZapierUsers.md +34 -0
  111. package/docs/IntegrationApi.md +1060 -30
  112. package/docs/IntegrationEvent.md +49 -0
  113. package/docs/IntegrationEventCertificate.md +46 -0
  114. package/docs/IntegrationEventCourse.md +36 -0
  115. package/docs/IntegrationEventData.md +42 -0
  116. package/docs/IntegrationEventEnrollment.md +44 -0
  117. package/docs/IntegrationEventLearner.md +40 -0
  118. package/docs/IntegrationEventPortal.md +38 -0
  119. package/docs/PostCustomWebhookIntegration.md +42 -0
  120. package/docs/PostZapierEnrollment.md +46 -0
  121. package/docs/PostZapierShopifyCourseMapping.md +40 -0
  122. package/docs/PostZapierShopifyEnrollment.md +54 -0
  123. package/docs/PostZapierShopifyEnrollmentResponse.md +38 -0
  124. package/docs/PostZapierSubscription.md +38 -0
  125. package/docs/PostZapierUser.md +38 -0
  126. package/docs/PutCustomWebhookIntegration.md +42 -0
  127. package/docs/ZapierCourse.md +40 -0
  128. package/docs/ZapierEnrollment.md +48 -0
  129. package/docs/ZapierShopifyCourseMapping.md +46 -0
  130. package/docs/ZapierSubscription.md +38 -0
  131. package/docs/ZapierUser.md +42 -0
  132. package/package.json +1 -1
  133. package/src/apis/IntegrationApi.ts +1104 -61
  134. package/src/models/CustomWebhookIntegration.ts +141 -0
  135. package/src/models/GetZapierCourses.ts +101 -0
  136. package/src/models/GetZapierShopifyCourseMappings.ts +74 -0
  137. package/src/models/GetZapierUsers.ts +74 -0
  138. package/src/models/IntegrationEvent.ts +165 -0
  139. package/src/models/IntegrationEventCertificate.ts +133 -0
  140. package/src/models/IntegrationEventCourse.ts +75 -0
  141. package/src/models/IntegrationEventData.ts +138 -0
  142. package/src/models/IntegrationEventEnrollment.ts +123 -0
  143. package/src/models/IntegrationEventLearner.ts +93 -0
  144. package/src/models/IntegrationEventPortal.ts +84 -0
  145. package/src/models/PostCustomWebhookIntegration.ts +113 -0
  146. package/src/models/PostZapierEnrollment.ts +126 -0
  147. package/src/models/PostZapierShopifyCourseMapping.ts +92 -0
  148. package/src/models/PostZapierShopifyEnrollment.ts +163 -0
  149. package/src/models/PostZapierShopifyEnrollmentResponse.ts +106 -0
  150. package/src/models/PostZapierSubscription.ts +95 -0
  151. package/src/models/PostZapierUser.ts +84 -0
  152. package/src/models/PutCustomWebhookIntegration.ts +109 -0
  153. package/src/models/ZapierCourse.ts +93 -0
  154. package/src/models/ZapierEnrollment.ts +128 -0
  155. package/src/models/ZapierShopifyCourseMapping.ts +127 -0
  156. package/src/models/ZapierSubscription.ts +96 -0
  157. package/src/models/ZapierUser.ts +102 -0
  158. package/src/models/index.ts +24 -0
@@ -21,16 +21,71 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
+ import { CustomWebhookIntegrationFromJSON, } from '../models/CustomWebhookIntegration';
25
+ import { GetZapierCoursesFromJSON, } from '../models/GetZapierCourses';
24
26
  import { GetZapierMeFromJSON, } from '../models/GetZapierMe';
25
27
  import { GetZapierSetupFromJSON, } from '../models/GetZapierSetup';
28
+ import { GetZapierShopifyCourseMappingsFromJSON, } from '../models/GetZapierShopifyCourseMappings';
29
+ import { GetZapierUsersFromJSON, } from '../models/GetZapierUsers';
30
+ import { IntegrationEventFromJSON, } from '../models/IntegrationEvent';
31
+ import { PostCustomWebhookIntegrationToJSON, } from '../models/PostCustomWebhookIntegration';
32
+ import { PostZapierEnrollmentToJSON, } from '../models/PostZapierEnrollment';
26
33
  import { PostZapierSetupToJSON, } from '../models/PostZapierSetup';
27
34
  import { PostZapierSetupResponseFromJSON, } from '../models/PostZapierSetupResponse';
35
+ import { PostZapierShopifyCourseMappingToJSON, } from '../models/PostZapierShopifyCourseMapping';
36
+ import { PostZapierShopifyEnrollmentToJSON, } from '../models/PostZapierShopifyEnrollment';
37
+ import { PostZapierShopifyEnrollmentResponseFromJSON, } from '../models/PostZapierShopifyEnrollmentResponse';
38
+ import { PostZapierSubscriptionToJSON, } from '../models/PostZapierSubscription';
39
+ import { PostZapierUserToJSON, } from '../models/PostZapierUser';
40
+ import { PutCustomWebhookIntegrationToJSON, } from '../models/PutCustomWebhookIntegration';
28
41
  import { PutZapierSetupToJSON, } from '../models/PutZapierSetup';
42
+ import { ZapierEnrollmentFromJSON, } from '../models/ZapierEnrollment';
29
43
  import { ZapierIntegrationFromJSON, } from '../models/ZapierIntegration';
44
+ import { ZapierShopifyCourseMappingFromJSON, } from '../models/ZapierShopifyCourseMapping';
45
+ import { ZapierSubscriptionFromJSON, } from '../models/ZapierSubscription';
46
+ import { ZapierUserFromJSON, } from '../models/ZapierUser';
30
47
  /**
31
48
  *
32
49
  */
33
50
  export class IntegrationApi extends runtime.BaseAPI {
51
+ /**
52
+ * Creates request options for deleteCustomWebhookIntegration without sending the request
53
+ */
54
+ deleteCustomWebhookIntegrationRequestOpts(requestParameters) {
55
+ return __awaiter(this, void 0, void 0, function* () {
56
+ if (requestParameters['webhookIntegrationId'] == null) {
57
+ throw new runtime.RequiredError('webhookIntegrationId', 'Required parameter "webhookIntegrationId" was null or undefined when calling deleteCustomWebhookIntegration().');
58
+ }
59
+ const queryParameters = {};
60
+ const headerParameters = {};
61
+ let urlPath = `/integrations/webhooks/{webhookIntegrationId}`;
62
+ urlPath = urlPath.replace('{webhookIntegrationId}', encodeURIComponent(String(requestParameters['webhookIntegrationId'])));
63
+ return {
64
+ path: urlPath,
65
+ method: 'DELETE',
66
+ headers: headerParameters,
67
+ query: queryParameters,
68
+ };
69
+ });
70
+ }
71
+ /**
72
+ * Delete a custom webhook destination
73
+ */
74
+ deleteCustomWebhookIntegrationRaw(requestParameters, initOverrides) {
75
+ return __awaiter(this, void 0, void 0, function* () {
76
+ const requestOptions = yield this.deleteCustomWebhookIntegrationRequestOpts(requestParameters);
77
+ const response = yield this.request(requestOptions, initOverrides);
78
+ return new runtime.VoidApiResponse(response);
79
+ });
80
+ }
81
+ /**
82
+ * Delete a custom webhook destination
83
+ */
84
+ deleteCustomWebhookIntegration(requestParameters, initOverrides) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ yield this.deleteCustomWebhookIntegrationRaw(requestParameters, initOverrides);
87
+ });
88
+ }
34
89
  /**
35
90
  * Creates request options for deleteZapierSetup without sending the request
36
91
  */
@@ -69,6 +124,203 @@ export class IntegrationApi extends runtime.BaseAPI {
69
124
  yield this.deleteZapierSetupRaw(requestParameters, initOverrides);
70
125
  });
71
126
  }
127
+ /**
128
+ * Creates request options for deleteZapierSubscription without sending the request
129
+ */
130
+ deleteZapierSubscriptionRequestOpts(requestParameters) {
131
+ return __awaiter(this, void 0, void 0, function* () {
132
+ if (requestParameters['subscriptionId'] == null) {
133
+ throw new runtime.RequiredError('subscriptionId', 'Required parameter "subscriptionId" was null or undefined when calling deleteZapierSubscription().');
134
+ }
135
+ if (requestParameters['xAPIKEY'] == null) {
136
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling deleteZapierSubscription().');
137
+ }
138
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
139
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling deleteZapierSubscription().');
140
+ }
141
+ const queryParameters = {};
142
+ const headerParameters = {};
143
+ if (requestParameters['xAPIKEY'] != null) {
144
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
145
+ }
146
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
147
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
148
+ }
149
+ let urlPath = `/integrations/zapier/subscriptions/{subscriptionId}`;
150
+ urlPath = urlPath.replace('{subscriptionId}', encodeURIComponent(String(requestParameters['subscriptionId'])));
151
+ return {
152
+ path: urlPath,
153
+ method: 'DELETE',
154
+ headers: headerParameters,
155
+ query: queryParameters,
156
+ };
157
+ });
158
+ }
159
+ /**
160
+ * Unsubscribe a Zap from an Edaxu lifecycle event
161
+ */
162
+ deleteZapierSubscriptionRaw(requestParameters, initOverrides) {
163
+ return __awaiter(this, void 0, void 0, function* () {
164
+ const requestOptions = yield this.deleteZapierSubscriptionRequestOpts(requestParameters);
165
+ const response = yield this.request(requestOptions, initOverrides);
166
+ return new runtime.VoidApiResponse(response);
167
+ });
168
+ }
169
+ /**
170
+ * Unsubscribe a Zap from an Edaxu lifecycle event
171
+ */
172
+ deleteZapierSubscription(requestParameters, initOverrides) {
173
+ return __awaiter(this, void 0, void 0, function* () {
174
+ yield this.deleteZapierSubscriptionRaw(requestParameters, initOverrides);
175
+ });
176
+ }
177
+ /**
178
+ * Creates request options for getCustomWebhookIntegrations without sending the request
179
+ */
180
+ getCustomWebhookIntegrationsRequestOpts() {
181
+ return __awaiter(this, void 0, void 0, function* () {
182
+ const queryParameters = {};
183
+ const headerParameters = {};
184
+ let urlPath = `/integrations/webhooks`;
185
+ return {
186
+ path: urlPath,
187
+ method: 'GET',
188
+ headers: headerParameters,
189
+ query: queryParameters,
190
+ };
191
+ });
192
+ }
193
+ /**
194
+ * List custom webhook destinations for the selected portal
195
+ */
196
+ getCustomWebhookIntegrationsRaw(initOverrides) {
197
+ return __awaiter(this, void 0, void 0, function* () {
198
+ const requestOptions = yield this.getCustomWebhookIntegrationsRequestOpts();
199
+ const response = yield this.request(requestOptions, initOverrides);
200
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(CustomWebhookIntegrationFromJSON));
201
+ });
202
+ }
203
+ /**
204
+ * List custom webhook destinations for the selected portal
205
+ */
206
+ getCustomWebhookIntegrations(initOverrides) {
207
+ return __awaiter(this, void 0, void 0, function* () {
208
+ const response = yield this.getCustomWebhookIntegrationsRaw(initOverrides);
209
+ return yield response.value();
210
+ });
211
+ }
212
+ /**
213
+ * Creates request options for getZapierCourses without sending the request
214
+ */
215
+ getZapierCoursesRequestOpts(requestParameters) {
216
+ return __awaiter(this, void 0, void 0, function* () {
217
+ if (requestParameters['xAPIKEY'] == null) {
218
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling getZapierCourses().');
219
+ }
220
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
221
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling getZapierCourses().');
222
+ }
223
+ const queryParameters = {};
224
+ if (requestParameters['page'] != null) {
225
+ queryParameters['page'] = requestParameters['page'];
226
+ }
227
+ if (requestParameters['pageSize'] != null) {
228
+ queryParameters['pageSize'] = requestParameters['pageSize'];
229
+ }
230
+ if (requestParameters['search'] != null) {
231
+ queryParameters['search'] = requestParameters['search'];
232
+ }
233
+ const headerParameters = {};
234
+ if (requestParameters['xAPIKEY'] != null) {
235
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
236
+ }
237
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
238
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
239
+ }
240
+ let urlPath = `/integrations/zapier/courses`;
241
+ return {
242
+ path: urlPath,
243
+ method: 'GET',
244
+ headers: headerParameters,
245
+ query: queryParameters,
246
+ };
247
+ });
248
+ }
249
+ /**
250
+ * List published courses available to a Zapier connection
251
+ */
252
+ getZapierCoursesRaw(requestParameters, initOverrides) {
253
+ return __awaiter(this, void 0, void 0, function* () {
254
+ const requestOptions = yield this.getZapierCoursesRequestOpts(requestParameters);
255
+ const response = yield this.request(requestOptions, initOverrides);
256
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetZapierCoursesFromJSON(jsonValue));
257
+ });
258
+ }
259
+ /**
260
+ * List published courses available to a Zapier connection
261
+ */
262
+ getZapierCourses(requestParameters, initOverrides) {
263
+ return __awaiter(this, void 0, void 0, function* () {
264
+ const response = yield this.getZapierCoursesRaw(requestParameters, initOverrides);
265
+ return yield response.value();
266
+ });
267
+ }
268
+ /**
269
+ * Creates request options for getZapierEvents without sending the request
270
+ */
271
+ getZapierEventsRequestOpts(requestParameters) {
272
+ return __awaiter(this, void 0, void 0, function* () {
273
+ if (requestParameters['xAPIKEY'] == null) {
274
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling getZapierEvents().');
275
+ }
276
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
277
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling getZapierEvents().');
278
+ }
279
+ if (requestParameters['eventType'] == null) {
280
+ throw new runtime.RequiredError('eventType', 'Required parameter "eventType" was null or undefined when calling getZapierEvents().');
281
+ }
282
+ const queryParameters = {};
283
+ if (requestParameters['eventType'] != null) {
284
+ queryParameters['eventType'] = requestParameters['eventType'];
285
+ }
286
+ if (requestParameters['pageSize'] != null) {
287
+ queryParameters['pageSize'] = requestParameters['pageSize'];
288
+ }
289
+ const headerParameters = {};
290
+ if (requestParameters['xAPIKEY'] != null) {
291
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
292
+ }
293
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
294
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
295
+ }
296
+ let urlPath = `/integrations/zapier/events`;
297
+ return {
298
+ path: urlPath,
299
+ method: 'GET',
300
+ headers: headerParameters,
301
+ query: queryParameters,
302
+ };
303
+ });
304
+ }
305
+ /**
306
+ * List recent lifecycle events for Zapier trigger setup
307
+ */
308
+ getZapierEventsRaw(requestParameters, initOverrides) {
309
+ return __awaiter(this, void 0, void 0, function* () {
310
+ const requestOptions = yield this.getZapierEventsRequestOpts(requestParameters);
311
+ const response = yield this.request(requestOptions, initOverrides);
312
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(IntegrationEventFromJSON));
313
+ });
314
+ }
315
+ /**
316
+ * List recent lifecycle events for Zapier trigger setup
317
+ */
318
+ getZapierEvents(requestParameters, initOverrides) {
319
+ return __awaiter(this, void 0, void 0, function* () {
320
+ const response = yield this.getZapierEventsRaw(requestParameters, initOverrides);
321
+ return yield response.value();
322
+ });
323
+ }
72
324
  /**
73
325
  * Creates request options for getZapierMe without sending the request
74
326
  */
@@ -151,6 +403,201 @@ export class IntegrationApi extends runtime.BaseAPI {
151
403
  return yield response.value();
152
404
  });
153
405
  }
406
+ /**
407
+ * Creates request options for getZapierShopifyCourseMappings without sending the request
408
+ */
409
+ getZapierShopifyCourseMappingsRequestOpts(requestParameters) {
410
+ return __awaiter(this, void 0, void 0, function* () {
411
+ if (requestParameters['xAPIKEY'] == null) {
412
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling getZapierShopifyCourseMappings().');
413
+ }
414
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
415
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling getZapierShopifyCourseMappings().');
416
+ }
417
+ const queryParameters = {};
418
+ if (requestParameters['shopDomain'] != null) {
419
+ queryParameters['shopDomain'] = requestParameters['shopDomain'];
420
+ }
421
+ const headerParameters = {};
422
+ if (requestParameters['xAPIKEY'] != null) {
423
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
424
+ }
425
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
426
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
427
+ }
428
+ let urlPath = `/integrations/zapier/shopify/course-mappings`;
429
+ return {
430
+ path: urlPath,
431
+ method: 'GET',
432
+ headers: headerParameters,
433
+ query: queryParameters,
434
+ };
435
+ });
436
+ }
437
+ /**
438
+ * List Shopify variant-to-course mappings
439
+ */
440
+ getZapierShopifyCourseMappingsRaw(requestParameters, initOverrides) {
441
+ return __awaiter(this, void 0, void 0, function* () {
442
+ const requestOptions = yield this.getZapierShopifyCourseMappingsRequestOpts(requestParameters);
443
+ const response = yield this.request(requestOptions, initOverrides);
444
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetZapierShopifyCourseMappingsFromJSON(jsonValue));
445
+ });
446
+ }
447
+ /**
448
+ * List Shopify variant-to-course mappings
449
+ */
450
+ getZapierShopifyCourseMappings(requestParameters, initOverrides) {
451
+ return __awaiter(this, void 0, void 0, function* () {
452
+ const response = yield this.getZapierShopifyCourseMappingsRaw(requestParameters, initOverrides);
453
+ return yield response.value();
454
+ });
455
+ }
456
+ /**
457
+ * Creates request options for getZapierUsers without sending the request
458
+ */
459
+ getZapierUsersRequestOpts(requestParameters) {
460
+ return __awaiter(this, void 0, void 0, function* () {
461
+ if (requestParameters['xAPIKEY'] == null) {
462
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling getZapierUsers().');
463
+ }
464
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
465
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling getZapierUsers().');
466
+ }
467
+ if (requestParameters['email'] == null) {
468
+ throw new runtime.RequiredError('email', 'Required parameter "email" was null or undefined when calling getZapierUsers().');
469
+ }
470
+ const queryParameters = {};
471
+ if (requestParameters['email'] != null) {
472
+ queryParameters['email'] = requestParameters['email'];
473
+ }
474
+ const headerParameters = {};
475
+ if (requestParameters['xAPIKEY'] != null) {
476
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
477
+ }
478
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
479
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
480
+ }
481
+ let urlPath = `/integrations/zapier/users`;
482
+ return {
483
+ path: urlPath,
484
+ method: 'GET',
485
+ headers: headerParameters,
486
+ query: queryParameters,
487
+ };
488
+ });
489
+ }
490
+ /**
491
+ * Find a learner by exact email address
492
+ */
493
+ getZapierUsersRaw(requestParameters, initOverrides) {
494
+ return __awaiter(this, void 0, void 0, function* () {
495
+ const requestOptions = yield this.getZapierUsersRequestOpts(requestParameters);
496
+ const response = yield this.request(requestOptions, initOverrides);
497
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetZapierUsersFromJSON(jsonValue));
498
+ });
499
+ }
500
+ /**
501
+ * Find a learner by exact email address
502
+ */
503
+ getZapierUsers(requestParameters, initOverrides) {
504
+ return __awaiter(this, void 0, void 0, function* () {
505
+ const response = yield this.getZapierUsersRaw(requestParameters, initOverrides);
506
+ return yield response.value();
507
+ });
508
+ }
509
+ /**
510
+ * Creates request options for postCustomWebhookIntegration without sending the request
511
+ */
512
+ postCustomWebhookIntegrationRequestOpts(requestParameters) {
513
+ return __awaiter(this, void 0, void 0, function* () {
514
+ if (requestParameters['postCustomWebhookIntegration'] == null) {
515
+ throw new runtime.RequiredError('postCustomWebhookIntegration', 'Required parameter "postCustomWebhookIntegration" was null or undefined when calling postCustomWebhookIntegration().');
516
+ }
517
+ const queryParameters = {};
518
+ const headerParameters = {};
519
+ headerParameters['Content-Type'] = 'application/json';
520
+ let urlPath = `/integrations/webhooks`;
521
+ return {
522
+ path: urlPath,
523
+ method: 'POST',
524
+ headers: headerParameters,
525
+ query: queryParameters,
526
+ body: PostCustomWebhookIntegrationToJSON(requestParameters['postCustomWebhookIntegration']),
527
+ };
528
+ });
529
+ }
530
+ /**
531
+ * Create a custom webhook destination for lifecycle events
532
+ */
533
+ postCustomWebhookIntegrationRaw(requestParameters, initOverrides) {
534
+ return __awaiter(this, void 0, void 0, function* () {
535
+ const requestOptions = yield this.postCustomWebhookIntegrationRequestOpts(requestParameters);
536
+ const response = yield this.request(requestOptions, initOverrides);
537
+ return new runtime.JSONApiResponse(response, (jsonValue) => CustomWebhookIntegrationFromJSON(jsonValue));
538
+ });
539
+ }
540
+ /**
541
+ * Create a custom webhook destination for lifecycle events
542
+ */
543
+ postCustomWebhookIntegration(requestParameters, initOverrides) {
544
+ return __awaiter(this, void 0, void 0, function* () {
545
+ const response = yield this.postCustomWebhookIntegrationRaw(requestParameters, initOverrides);
546
+ return yield response.value();
547
+ });
548
+ }
549
+ /**
550
+ * Creates request options for postZapierEnrollment without sending the request
551
+ */
552
+ postZapierEnrollmentRequestOpts(requestParameters) {
553
+ return __awaiter(this, void 0, void 0, function* () {
554
+ if (requestParameters['xAPIKEY'] == null) {
555
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling postZapierEnrollment().');
556
+ }
557
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
558
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling postZapierEnrollment().');
559
+ }
560
+ if (requestParameters['postZapierEnrollment'] == null) {
561
+ throw new runtime.RequiredError('postZapierEnrollment', 'Required parameter "postZapierEnrollment" was null or undefined when calling postZapierEnrollment().');
562
+ }
563
+ const queryParameters = {};
564
+ const headerParameters = {};
565
+ headerParameters['Content-Type'] = 'application/json';
566
+ if (requestParameters['xAPIKEY'] != null) {
567
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
568
+ }
569
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
570
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
571
+ }
572
+ let urlPath = `/integrations/zapier/enrollments`;
573
+ return {
574
+ path: urlPath,
575
+ method: 'POST',
576
+ headers: headerParameters,
577
+ query: queryParameters,
578
+ body: PostZapierEnrollmentToJSON(requestParameters['postZapierEnrollment']),
579
+ };
580
+ });
581
+ }
582
+ /**
583
+ * Enroll an existing learner in a course
584
+ */
585
+ postZapierEnrollmentRaw(requestParameters, initOverrides) {
586
+ return __awaiter(this, void 0, void 0, function* () {
587
+ const requestOptions = yield this.postZapierEnrollmentRequestOpts(requestParameters);
588
+ const response = yield this.request(requestOptions, initOverrides);
589
+ return new runtime.JSONApiResponse(response, (jsonValue) => ZapierEnrollmentFromJSON(jsonValue));
590
+ });
591
+ }
592
+ /**
593
+ * Enroll an existing learner in a course
594
+ */
595
+ postZapierEnrollment(requestParameters, initOverrides) {
596
+ return __awaiter(this, void 0, void 0, function* () {
597
+ const response = yield this.postZapierEnrollmentRaw(requestParameters, initOverrides);
598
+ return yield response.value();
599
+ });
600
+ }
154
601
  /**
155
602
  * Creates request options for postZapierSetup without sending the request
156
603
  */
@@ -191,6 +638,258 @@ export class IntegrationApi extends runtime.BaseAPI {
191
638
  return yield response.value();
192
639
  });
193
640
  }
641
+ /**
642
+ * Creates request options for postZapierShopifyCourseMapping without sending the request
643
+ */
644
+ postZapierShopifyCourseMappingRequestOpts(requestParameters) {
645
+ return __awaiter(this, void 0, void 0, function* () {
646
+ if (requestParameters['xAPIKEY'] == null) {
647
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling postZapierShopifyCourseMapping().');
648
+ }
649
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
650
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling postZapierShopifyCourseMapping().');
651
+ }
652
+ if (requestParameters['postZapierShopifyCourseMapping'] == null) {
653
+ throw new runtime.RequiredError('postZapierShopifyCourseMapping', 'Required parameter "postZapierShopifyCourseMapping" was null or undefined when calling postZapierShopifyCourseMapping().');
654
+ }
655
+ const queryParameters = {};
656
+ const headerParameters = {};
657
+ headerParameters['Content-Type'] = 'application/json';
658
+ if (requestParameters['xAPIKEY'] != null) {
659
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
660
+ }
661
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
662
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
663
+ }
664
+ let urlPath = `/integrations/zapier/shopify/course-mappings`;
665
+ return {
666
+ path: urlPath,
667
+ method: 'POST',
668
+ headers: headerParameters,
669
+ query: queryParameters,
670
+ body: PostZapierShopifyCourseMappingToJSON(requestParameters['postZapierShopifyCourseMapping']),
671
+ };
672
+ });
673
+ }
674
+ /**
675
+ * Create or update a Shopify variant-to-course mapping
676
+ */
677
+ postZapierShopifyCourseMappingRaw(requestParameters, initOverrides) {
678
+ return __awaiter(this, void 0, void 0, function* () {
679
+ const requestOptions = yield this.postZapierShopifyCourseMappingRequestOpts(requestParameters);
680
+ const response = yield this.request(requestOptions, initOverrides);
681
+ return new runtime.JSONApiResponse(response, (jsonValue) => ZapierShopifyCourseMappingFromJSON(jsonValue));
682
+ });
683
+ }
684
+ /**
685
+ * Create or update a Shopify variant-to-course mapping
686
+ */
687
+ postZapierShopifyCourseMapping(requestParameters, initOverrides) {
688
+ return __awaiter(this, void 0, void 0, function* () {
689
+ const response = yield this.postZapierShopifyCourseMappingRaw(requestParameters, initOverrides);
690
+ return yield response.value();
691
+ });
692
+ }
693
+ /**
694
+ * Creates request options for postZapierShopifyEnrollment without sending the request
695
+ */
696
+ postZapierShopifyEnrollmentRequestOpts(requestParameters) {
697
+ return __awaiter(this, void 0, void 0, function* () {
698
+ if (requestParameters['xAPIKEY'] == null) {
699
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling postZapierShopifyEnrollment().');
700
+ }
701
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
702
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling postZapierShopifyEnrollment().');
703
+ }
704
+ if (requestParameters['postZapierShopifyEnrollment'] == null) {
705
+ throw new runtime.RequiredError('postZapierShopifyEnrollment', 'Required parameter "postZapierShopifyEnrollment" was null or undefined when calling postZapierShopifyEnrollment().');
706
+ }
707
+ const queryParameters = {};
708
+ const headerParameters = {};
709
+ headerParameters['Content-Type'] = 'application/json';
710
+ if (requestParameters['xAPIKEY'] != null) {
711
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
712
+ }
713
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
714
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
715
+ }
716
+ let urlPath = `/integrations/zapier/shopify/enrollments`;
717
+ return {
718
+ path: urlPath,
719
+ method: 'POST',
720
+ headers: headerParameters,
721
+ query: queryParameters,
722
+ body: PostZapierShopifyEnrollmentToJSON(requestParameters['postZapierShopifyEnrollment']),
723
+ };
724
+ });
725
+ }
726
+ /**
727
+ * Find or invite a Shopify customer and enroll them using the purchased variant mapping
728
+ */
729
+ postZapierShopifyEnrollmentRaw(requestParameters, initOverrides) {
730
+ return __awaiter(this, void 0, void 0, function* () {
731
+ const requestOptions = yield this.postZapierShopifyEnrollmentRequestOpts(requestParameters);
732
+ const response = yield this.request(requestOptions, initOverrides);
733
+ return new runtime.JSONApiResponse(response, (jsonValue) => PostZapierShopifyEnrollmentResponseFromJSON(jsonValue));
734
+ });
735
+ }
736
+ /**
737
+ * Find or invite a Shopify customer and enroll them using the purchased variant mapping
738
+ */
739
+ postZapierShopifyEnrollment(requestParameters, initOverrides) {
740
+ return __awaiter(this, void 0, void 0, function* () {
741
+ const response = yield this.postZapierShopifyEnrollmentRaw(requestParameters, initOverrides);
742
+ return yield response.value();
743
+ });
744
+ }
745
+ /**
746
+ * Creates request options for postZapierSubscription without sending the request
747
+ */
748
+ postZapierSubscriptionRequestOpts(requestParameters) {
749
+ return __awaiter(this, void 0, void 0, function* () {
750
+ if (requestParameters['xAPIKEY'] == null) {
751
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling postZapierSubscription().');
752
+ }
753
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
754
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling postZapierSubscription().');
755
+ }
756
+ if (requestParameters['postZapierSubscription'] == null) {
757
+ throw new runtime.RequiredError('postZapierSubscription', 'Required parameter "postZapierSubscription" was null or undefined when calling postZapierSubscription().');
758
+ }
759
+ const queryParameters = {};
760
+ const headerParameters = {};
761
+ headerParameters['Content-Type'] = 'application/json';
762
+ if (requestParameters['xAPIKEY'] != null) {
763
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
764
+ }
765
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
766
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
767
+ }
768
+ let urlPath = `/integrations/zapier/subscriptions`;
769
+ return {
770
+ path: urlPath,
771
+ method: 'POST',
772
+ headers: headerParameters,
773
+ query: queryParameters,
774
+ body: PostZapierSubscriptionToJSON(requestParameters['postZapierSubscription']),
775
+ };
776
+ });
777
+ }
778
+ /**
779
+ * Subscribe a Zap to an Edaxu lifecycle event
780
+ */
781
+ postZapierSubscriptionRaw(requestParameters, initOverrides) {
782
+ return __awaiter(this, void 0, void 0, function* () {
783
+ const requestOptions = yield this.postZapierSubscriptionRequestOpts(requestParameters);
784
+ const response = yield this.request(requestOptions, initOverrides);
785
+ return new runtime.JSONApiResponse(response, (jsonValue) => ZapierSubscriptionFromJSON(jsonValue));
786
+ });
787
+ }
788
+ /**
789
+ * Subscribe a Zap to an Edaxu lifecycle event
790
+ */
791
+ postZapierSubscription(requestParameters, initOverrides) {
792
+ return __awaiter(this, void 0, void 0, function* () {
793
+ const response = yield this.postZapierSubscriptionRaw(requestParameters, initOverrides);
794
+ return yield response.value();
795
+ });
796
+ }
797
+ /**
798
+ * Creates request options for postZapierUser without sending the request
799
+ */
800
+ postZapierUserRequestOpts(requestParameters) {
801
+ return __awaiter(this, void 0, void 0, function* () {
802
+ if (requestParameters['xAPIKEY'] == null) {
803
+ throw new runtime.RequiredError('xAPIKEY', 'Required parameter "xAPIKEY" was null or undefined when calling postZapierUser().');
804
+ }
805
+ if (requestParameters['xPORTALSUBDOMAIN'] == null) {
806
+ throw new runtime.RequiredError('xPORTALSUBDOMAIN', 'Required parameter "xPORTALSUBDOMAIN" was null or undefined when calling postZapierUser().');
807
+ }
808
+ if (requestParameters['postZapierUser'] == null) {
809
+ throw new runtime.RequiredError('postZapierUser', 'Required parameter "postZapierUser" was null or undefined when calling postZapierUser().');
810
+ }
811
+ const queryParameters = {};
812
+ const headerParameters = {};
813
+ headerParameters['Content-Type'] = 'application/json';
814
+ if (requestParameters['xAPIKEY'] != null) {
815
+ headerParameters['X-API-KEY'] = String(requestParameters['xAPIKEY']);
816
+ }
817
+ if (requestParameters['xPORTALSUBDOMAIN'] != null) {
818
+ headerParameters['X-PORTAL-SUBDOMAIN'] = String(requestParameters['xPORTALSUBDOMAIN']);
819
+ }
820
+ let urlPath = `/integrations/zapier/users`;
821
+ return {
822
+ path: urlPath,
823
+ method: 'POST',
824
+ headers: headerParameters,
825
+ query: queryParameters,
826
+ body: PostZapierUserToJSON(requestParameters['postZapierUser']),
827
+ };
828
+ });
829
+ }
830
+ /**
831
+ * Find or invite a learner to the connected portal
832
+ */
833
+ postZapierUserRaw(requestParameters, initOverrides) {
834
+ return __awaiter(this, void 0, void 0, function* () {
835
+ const requestOptions = yield this.postZapierUserRequestOpts(requestParameters);
836
+ const response = yield this.request(requestOptions, initOverrides);
837
+ return new runtime.JSONApiResponse(response, (jsonValue) => ZapierUserFromJSON(jsonValue));
838
+ });
839
+ }
840
+ /**
841
+ * Find or invite a learner to the connected portal
842
+ */
843
+ postZapierUser(requestParameters, initOverrides) {
844
+ return __awaiter(this, void 0, void 0, function* () {
845
+ const response = yield this.postZapierUserRaw(requestParameters, initOverrides);
846
+ return yield response.value();
847
+ });
848
+ }
849
+ /**
850
+ * Creates request options for putCustomWebhookIntegration without sending the request
851
+ */
852
+ putCustomWebhookIntegrationRequestOpts(requestParameters) {
853
+ return __awaiter(this, void 0, void 0, function* () {
854
+ if (requestParameters['webhookIntegrationId'] == null) {
855
+ throw new runtime.RequiredError('webhookIntegrationId', 'Required parameter "webhookIntegrationId" was null or undefined when calling putCustomWebhookIntegration().');
856
+ }
857
+ if (requestParameters['putCustomWebhookIntegration'] == null) {
858
+ throw new runtime.RequiredError('putCustomWebhookIntegration', 'Required parameter "putCustomWebhookIntegration" was null or undefined when calling putCustomWebhookIntegration().');
859
+ }
860
+ const queryParameters = {};
861
+ const headerParameters = {};
862
+ headerParameters['Content-Type'] = 'application/json';
863
+ let urlPath = `/integrations/webhooks/{webhookIntegrationId}`;
864
+ urlPath = urlPath.replace('{webhookIntegrationId}', encodeURIComponent(String(requestParameters['webhookIntegrationId'])));
865
+ return {
866
+ path: urlPath,
867
+ method: 'PUT',
868
+ headers: headerParameters,
869
+ query: queryParameters,
870
+ body: PutCustomWebhookIntegrationToJSON(requestParameters['putCustomWebhookIntegration']),
871
+ };
872
+ });
873
+ }
874
+ /**
875
+ * Update a custom webhook destination
876
+ */
877
+ putCustomWebhookIntegrationRaw(requestParameters, initOverrides) {
878
+ return __awaiter(this, void 0, void 0, function* () {
879
+ const requestOptions = yield this.putCustomWebhookIntegrationRequestOpts(requestParameters);
880
+ const response = yield this.request(requestOptions, initOverrides);
881
+ return new runtime.JSONApiResponse(response, (jsonValue) => CustomWebhookIntegrationFromJSON(jsonValue));
882
+ });
883
+ }
884
+ /**
885
+ * Update a custom webhook destination
886
+ */
887
+ putCustomWebhookIntegration(requestParameters, initOverrides) {
888
+ return __awaiter(this, void 0, void 0, function* () {
889
+ const response = yield this.putCustomWebhookIntegrationRaw(requestParameters, initOverrides);
890
+ return yield response.value();
891
+ });
892
+ }
194
893
  /**
195
894
  * Creates request options for putZapierSetup without sending the request
196
895
  */
@@ -236,3 +935,11 @@ export class IntegrationApi extends runtime.BaseAPI {
236
935
  });
237
936
  }
238
937
  }
938
+ /**
939
+ * @export
940
+ */
941
+ export const GetZapierEventsEventTypeEnum = {
942
+ ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
943
+ ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
944
+ ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
945
+ };