@emilgroup/notification-sdk 0.8.1-beta.48 → 0.8.1-beta.5
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 +0 -20
- package/README.md +2 -2
- package/api/email-messages-api.ts +28 -40
- package/api/email-tracking-api.ts +40 -271
- package/api/email-verifications-api.ts +8 -16
- package/api/layouts-api.ts +36 -56
- package/api/notification-templates-api.ts +36 -56
- package/api/notifications-api.ts +4 -115
- package/api.ts +0 -6
- package/base.ts +15 -36
- package/configuration.ts +0 -11
- package/dist/api/email-messages-api.d.ts +28 -40
- package/dist/api/email-messages-api.js +25 -37
- package/dist/api/email-tracking-api.d.ts +40 -170
- package/dist/api/email-tracking-api.js +34 -233
- package/dist/api/email-verifications-api.d.ts +8 -16
- package/dist/api/email-verifications-api.js +8 -16
- package/dist/api/layouts-api.d.ts +36 -56
- package/dist/api/layouts-api.js +32 -52
- package/dist/api/notification-templates-api.d.ts +36 -56
- package/dist/api/notification-templates-api.js +32 -52
- package/dist/api/notifications-api.d.ts +4 -65
- package/dist/api/notifications-api.js +4 -101
- package/dist/api.d.ts +0 -3
- package/dist/api.js +0 -3
- package/dist/base.d.ts +0 -1
- package/dist/base.js +16 -36
- package/dist/configuration.d.ts +0 -9
- package/dist/configuration.js +0 -1
- package/dist/models/email-message-class.d.ts +7 -73
- package/dist/models/email-message-class.js +3 -22
- package/dist/models/email-thread-class.d.ts +5 -37
- package/dist/models/index.d.ts +0 -17
- package/dist/models/index.js +0 -17
- package/dist/models/send-notification-request-dto.d.ts +1 -10
- package/dist/models/send-notification-request-dto.js +1 -2
- package/models/email-message-class.ts +8 -78
- package/models/email-thread-class.ts +5 -37
- package/models/index.ts +0 -17
- package/models/send-notification-request-dto.ts +2 -9
- package/package.json +1 -1
- package/api/email-mailboxes-api.ts +0 -148
- package/api/email-subscriptions-api.ts +0 -559
- package/api/msgraph-webhooks-api.ts +0 -278
- package/dist/api/email-mailboxes-api.d.ts +0 -87
- package/dist/api/email-mailboxes-api.js +0 -218
- package/dist/api/email-subscriptions-api.d.ts +0 -319
- package/dist/api/email-subscriptions-api.js +0 -537
- package/dist/api/msgraph-webhooks-api.d.ts +0 -168
- package/dist/api/msgraph-webhooks-api.js +0 -305
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +0 -43
- package/dist/models/assign-email-thread-entity-body-dto.js +0 -22
- package/dist/models/assign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/assign-email-thread-entity-response-class.js +0 -15
- package/dist/models/email-mailbox-class.d.ts +0 -47
- package/dist/models/email-mailbox-class.js +0 -20
- package/dist/models/email-message-summary-class.d.ts +0 -98
- package/dist/models/email-message-summary-class.js +0 -33
- package/dist/models/email-subscription-class.d.ts +0 -104
- package/dist/models/email-subscription-class.js +0 -23
- package/dist/models/entity-ref-class.d.ts +0 -37
- package/dist/models/entity-ref-class.js +0 -22
- package/dist/models/get-email-subscription-response-class.d.ts +0 -25
- package/dist/models/get-email-subscription-response-class.js +0 -15
- package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
- package/dist/models/grpc-send-email-request-dto.js +0 -22
- package/dist/models/inline-attachment-dto.d.ts +0 -36
- package/dist/models/inline-attachment-dto.js +0 -15
- package/dist/models/list-email-mailboxes-response-class.d.ts +0 -43
- package/dist/models/list-email-mailboxes-response-class.js +0 -15
- package/dist/models/list-email-subscriptions-response-class.d.ts +0 -43
- package/dist/models/list-email-subscriptions-response-class.js +0 -15
- package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +0 -24
- package/dist/models/reconcile-email-subscriptions-request-dto.js +0 -15
- package/dist/models/reconcile-email-subscriptions-response-class.d.ts +0 -48
- package/dist/models/reconcile-email-subscriptions-response-class.js +0 -15
- package/dist/models/renew-email-subscription-response-class.d.ts +0 -25
- package/dist/models/renew-email-subscription-response-class.js +0 -15
- package/dist/models/send-email-request-dto.d.ts +0 -131
- package/dist/models/send-email-request-dto.js +0 -22
- package/dist/models/send-email-response-class.d.ts +0 -24
- package/dist/models/send-email-response-class.js +0 -15
- package/dist/models/unassign-email-thread-entity-response-class.d.ts +0 -25
- package/dist/models/unassign-email-thread-entity-response-class.js +0 -15
- package/models/assign-email-thread-entity-body-dto.ts +0 -52
- package/models/assign-email-thread-entity-response-class.ts +0 -31
- package/models/email-mailbox-class.ts +0 -56
- package/models/email-message-summary-class.ts +0 -109
- package/models/email-subscription-class.ts +0 -113
- package/models/entity-ref-class.ts +0 -46
- package/models/get-email-subscription-response-class.ts +0 -31
- package/models/grpc-send-email-request-dto.ts +0 -144
- package/models/inline-attachment-dto.ts +0 -42
- package/models/list-email-mailboxes-response-class.ts +0 -49
- package/models/list-email-subscriptions-response-class.ts +0 -49
- package/models/reconcile-email-subscriptions-request-dto.ts +0 -30
- package/models/reconcile-email-subscriptions-response-class.ts +0 -54
- package/models/renew-email-subscription-response-class.ts +0 -31
- package/models/send-email-request-dto.ts +0 -138
- package/models/send-email-response-class.ts +0 -30
- package/models/unassign-email-thread-entity-response-class.ts +0 -31
|
@@ -93,61 +93,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Assign an email thread to an entity
|
|
98
|
-
* @param {string} code
|
|
99
|
-
* @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
|
|
100
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
|
-
* @param {*} [options] Override http request option.
|
|
102
|
-
* @throws {RequiredError}
|
|
103
|
-
*/
|
|
104
|
-
assignEntity: function (code, assignEmailThreadEntityBodyDto, authorization, options) {
|
|
105
|
-
if (options === void 0) { options = {}; }
|
|
106
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
107
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
108
|
-
return __generator(this, function (_a) {
|
|
109
|
-
switch (_a.label) {
|
|
110
|
-
case 0:
|
|
111
|
-
// verify required parameter 'code' is not null or undefined
|
|
112
|
-
(0, common_1.assertParamExists)('assignEntity', 'code', code);
|
|
113
|
-
// verify required parameter 'assignEmailThreadEntityBodyDto' is not null or undefined
|
|
114
|
-
(0, common_1.assertParamExists)('assignEntity', 'assignEmailThreadEntityBodyDto', assignEmailThreadEntityBodyDto);
|
|
115
|
-
localVarPath = "/notificationservice/v1/email-threads/{code}/entity"
|
|
116
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
117
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
118
|
-
if (configuration) {
|
|
119
|
-
baseOptions = configuration.baseOptions;
|
|
120
|
-
baseAccessToken = configuration.accessToken;
|
|
121
|
-
}
|
|
122
|
-
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
123
|
-
localVarHeaderParameter = {};
|
|
124
|
-
localVarQueryParameter = {};
|
|
125
|
-
// authentication bearer required
|
|
126
|
-
// http bearer authentication required
|
|
127
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
128
|
-
case 1:
|
|
129
|
-
// authentication bearer required
|
|
130
|
-
// http bearer authentication required
|
|
131
|
-
_a.sent();
|
|
132
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
133
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
|
-
}
|
|
135
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
137
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
139
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(assignEmailThreadEntityBodyDto, localVarRequestOptions, configuration);
|
|
140
|
-
return [2 /*return*/, {
|
|
141
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
142
|
-
options: localVarRequestOptions,
|
|
143
|
-
}];
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
});
|
|
147
|
-
},
|
|
148
|
-
/**
|
|
149
|
-
* Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
|
|
150
|
-
* @summary Close the email thread
|
|
96
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
151
97
|
* @param {string} code
|
|
152
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
153
99
|
* @param {*} [options] Override http request option.
|
|
@@ -194,8 +140,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
194
140
|
});
|
|
195
141
|
},
|
|
196
142
|
/**
|
|
197
|
-
*
|
|
198
|
-
* @summary Retrieve the email thread
|
|
143
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
199
144
|
* @param {string} code
|
|
200
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
201
146
|
* @param {*} [options] Override http request option.
|
|
@@ -242,13 +187,13 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
242
187
|
});
|
|
243
188
|
},
|
|
244
189
|
/**
|
|
245
|
-
*
|
|
190
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
246
191
|
* @summary List email messages
|
|
247
192
|
* @param {string} code
|
|
248
193
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
250
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
251
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus,
|
|
194
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
195
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
196
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
252
197
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
253
198
|
* @param {*} [options] Override http request option.
|
|
254
199
|
* @throws {RequiredError}
|
|
@@ -306,16 +251,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
306
251
|
});
|
|
307
252
|
},
|
|
308
253
|
/**
|
|
309
|
-
*
|
|
254
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
310
255
|
* @summary List email threads
|
|
311
256
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
257
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
313
258
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
314
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
259
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
315
260
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
316
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status,
|
|
261
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
317
262
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: messages<i>
|
|
318
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
263
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
319
264
|
* @param {*} [options] Override http request option.
|
|
320
265
|
* @throws {RequiredError}
|
|
321
266
|
*/
|
|
@@ -377,54 +322,6 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
377
322
|
});
|
|
378
323
|
});
|
|
379
324
|
},
|
|
380
|
-
/**
|
|
381
|
-
* Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
|
|
382
|
-
* @summary Unassign an email thread from its entity
|
|
383
|
-
* @param {string} code
|
|
384
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
385
|
-
* @param {*} [options] Override http request option.
|
|
386
|
-
* @throws {RequiredError}
|
|
387
|
-
*/
|
|
388
|
-
unassignEntity: function (code, authorization, options) {
|
|
389
|
-
if (options === void 0) { options = {}; }
|
|
390
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
391
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
392
|
-
return __generator(this, function (_a) {
|
|
393
|
-
switch (_a.label) {
|
|
394
|
-
case 0:
|
|
395
|
-
// verify required parameter 'code' is not null or undefined
|
|
396
|
-
(0, common_1.assertParamExists)('unassignEntity', 'code', code);
|
|
397
|
-
localVarPath = "/notificationservice/v1/email-threads/{code}/entity"
|
|
398
|
-
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
399
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
400
|
-
if (configuration) {
|
|
401
|
-
baseOptions = configuration.baseOptions;
|
|
402
|
-
baseAccessToken = configuration.accessToken;
|
|
403
|
-
}
|
|
404
|
-
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
405
|
-
localVarHeaderParameter = {};
|
|
406
|
-
localVarQueryParameter = {};
|
|
407
|
-
// authentication bearer required
|
|
408
|
-
// http bearer authentication required
|
|
409
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
410
|
-
case 1:
|
|
411
|
-
// authentication bearer required
|
|
412
|
-
// http bearer authentication required
|
|
413
|
-
_a.sent();
|
|
414
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
415
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
416
|
-
}
|
|
417
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
418
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
419
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
420
|
-
return [2 /*return*/, {
|
|
421
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
422
|
-
options: localVarRequestOptions,
|
|
423
|
-
}];
|
|
424
|
-
}
|
|
425
|
-
});
|
|
426
|
-
});
|
|
427
|
-
},
|
|
428
325
|
};
|
|
429
326
|
};
|
|
430
327
|
exports.EmailTrackingApiAxiosParamCreator = EmailTrackingApiAxiosParamCreator;
|
|
@@ -436,30 +333,7 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
436
333
|
var localVarAxiosParamCreator = (0, exports.EmailTrackingApiAxiosParamCreator)(configuration);
|
|
437
334
|
return {
|
|
438
335
|
/**
|
|
439
|
-
*
|
|
440
|
-
* @summary Assign an email thread to an entity
|
|
441
|
-
* @param {string} code
|
|
442
|
-
* @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
|
|
443
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
444
|
-
* @param {*} [options] Override http request option.
|
|
445
|
-
* @throws {RequiredError}
|
|
446
|
-
*/
|
|
447
|
-
assignEntity: function (code, assignEmailThreadEntityBodyDto, authorization, options) {
|
|
448
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
449
|
-
var localVarAxiosArgs;
|
|
450
|
-
return __generator(this, function (_a) {
|
|
451
|
-
switch (_a.label) {
|
|
452
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.assignEntity(code, assignEmailThreadEntityBodyDto, authorization, options)];
|
|
453
|
-
case 1:
|
|
454
|
-
localVarAxiosArgs = _a.sent();
|
|
455
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
456
|
-
}
|
|
457
|
-
});
|
|
458
|
-
});
|
|
459
|
-
},
|
|
460
|
-
/**
|
|
461
|
-
* Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
|
|
462
|
-
* @summary Close the email thread
|
|
336
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
463
337
|
* @param {string} code
|
|
464
338
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
465
339
|
* @param {*} [options] Override http request option.
|
|
@@ -479,8 +353,7 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
479
353
|
});
|
|
480
354
|
},
|
|
481
355
|
/**
|
|
482
|
-
*
|
|
483
|
-
* @summary Retrieve the email thread
|
|
356
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
484
357
|
* @param {string} code
|
|
485
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
486
359
|
* @param {*} [options] Override http request option.
|
|
@@ -500,13 +373,13 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
500
373
|
});
|
|
501
374
|
},
|
|
502
375
|
/**
|
|
503
|
-
*
|
|
376
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
504
377
|
* @summary List email messages
|
|
505
378
|
* @param {string} code
|
|
506
379
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
507
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
508
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
509
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus,
|
|
380
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
381
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
382
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
510
383
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
511
384
|
* @param {*} [options] Override http request option.
|
|
512
385
|
* @throws {RequiredError}
|
|
@@ -525,16 +398,16 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
525
398
|
});
|
|
526
399
|
},
|
|
527
400
|
/**
|
|
528
|
-
*
|
|
401
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
529
402
|
* @summary List email threads
|
|
530
403
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
531
404
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
532
405
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
533
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
406
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
534
407
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
535
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status,
|
|
408
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
536
409
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: messages<i>
|
|
537
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
410
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
538
411
|
* @param {*} [options] Override http request option.
|
|
539
412
|
* @throws {RequiredError}
|
|
540
413
|
*/
|
|
@@ -551,27 +424,6 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
551
424
|
});
|
|
552
425
|
});
|
|
553
426
|
},
|
|
554
|
-
/**
|
|
555
|
-
* Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
|
|
556
|
-
* @summary Unassign an email thread from its entity
|
|
557
|
-
* @param {string} code
|
|
558
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
559
|
-
* @param {*} [options] Override http request option.
|
|
560
|
-
* @throws {RequiredError}
|
|
561
|
-
*/
|
|
562
|
-
unassignEntity: function (code, authorization, options) {
|
|
563
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
564
|
-
var localVarAxiosArgs;
|
|
565
|
-
return __generator(this, function (_a) {
|
|
566
|
-
switch (_a.label) {
|
|
567
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unassignEntity(code, authorization, options)];
|
|
568
|
-
case 1:
|
|
569
|
-
localVarAxiosArgs = _a.sent();
|
|
570
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
571
|
-
}
|
|
572
|
-
});
|
|
573
|
-
});
|
|
574
|
-
},
|
|
575
427
|
};
|
|
576
428
|
};
|
|
577
429
|
exports.EmailTrackingApiFp = EmailTrackingApiFp;
|
|
@@ -583,20 +435,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
583
435
|
var localVarFp = (0, exports.EmailTrackingApiFp)(configuration);
|
|
584
436
|
return {
|
|
585
437
|
/**
|
|
586
|
-
*
|
|
587
|
-
* @summary Assign an email thread to an entity
|
|
588
|
-
* @param {string} code
|
|
589
|
-
* @param {AssignEmailThreadEntityBodyDto} assignEmailThreadEntityBodyDto
|
|
590
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
591
|
-
* @param {*} [options] Override http request option.
|
|
592
|
-
* @throws {RequiredError}
|
|
593
|
-
*/
|
|
594
|
-
assignEntity: function (code, assignEmailThreadEntityBodyDto, authorization, options) {
|
|
595
|
-
return localVarFp.assignEntity(code, assignEmailThreadEntityBodyDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
596
|
-
},
|
|
597
|
-
/**
|
|
598
|
-
* Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
|
|
599
|
-
* @summary Close the email thread
|
|
438
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
600
439
|
* @param {string} code
|
|
601
440
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
602
441
|
* @param {*} [options] Override http request option.
|
|
@@ -606,8 +445,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
606
445
|
return localVarFp.closeThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
607
446
|
},
|
|
608
447
|
/**
|
|
609
|
-
*
|
|
610
|
-
* @summary Retrieve the email thread
|
|
448
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
611
449
|
* @param {string} code
|
|
612
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
613
451
|
* @param {*} [options] Override http request option.
|
|
@@ -617,13 +455,13 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
617
455
|
return localVarFp.getThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
618
456
|
},
|
|
619
457
|
/**
|
|
620
|
-
*
|
|
458
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
621
459
|
* @summary List email messages
|
|
622
460
|
* @param {string} code
|
|
623
461
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
624
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
625
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode,
|
|
626
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus,
|
|
462
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
463
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
464
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
627
465
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: attachments<i>
|
|
628
466
|
* @param {*} [options] Override http request option.
|
|
629
467
|
* @throws {RequiredError}
|
|
@@ -632,33 +470,22 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
632
470
|
return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
633
471
|
},
|
|
634
472
|
/**
|
|
635
|
-
*
|
|
473
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
636
474
|
* @summary List email threads
|
|
637
475
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
638
476
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
639
477
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
640
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
478
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
641
479
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
642
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status,
|
|
480
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
643
481
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: messages<i>
|
|
644
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode,
|
|
482
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
645
483
|
* @param {*} [options] Override http request option.
|
|
646
484
|
* @throws {RequiredError}
|
|
647
485
|
*/
|
|
648
486
|
listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
649
487
|
return localVarFp.listThreads(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
650
488
|
},
|
|
651
|
-
/**
|
|
652
|
-
* Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
|
|
653
|
-
* @summary Unassign an email thread from its entity
|
|
654
|
-
* @param {string} code
|
|
655
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
656
|
-
* @param {*} [options] Override http request option.
|
|
657
|
-
* @throws {RequiredError}
|
|
658
|
-
*/
|
|
659
|
-
unassignEntity: function (code, authorization, options) {
|
|
660
|
-
return localVarFp.unassignEntity(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
661
|
-
},
|
|
662
489
|
};
|
|
663
490
|
};
|
|
664
491
|
exports.EmailTrackingApiFactory = EmailTrackingApiFactory;
|
|
@@ -674,20 +501,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
674
501
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
675
502
|
}
|
|
676
503
|
/**
|
|
677
|
-
*
|
|
678
|
-
* @summary Assign an email thread to an entity
|
|
679
|
-
* @param {EmailTrackingApiAssignEntityRequest} requestParameters Request parameters.
|
|
680
|
-
* @param {*} [options] Override http request option.
|
|
681
|
-
* @throws {RequiredError}
|
|
682
|
-
* @memberof EmailTrackingApi
|
|
683
|
-
*/
|
|
684
|
-
EmailTrackingApi.prototype.assignEntity = function (requestParameters, options) {
|
|
685
|
-
var _this = this;
|
|
686
|
-
return (0, exports.EmailTrackingApiFp)(this.configuration).assignEntity(requestParameters.code, requestParameters.assignEmailThreadEntityBodyDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
687
|
-
};
|
|
688
|
-
/**
|
|
689
|
-
* Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
|
|
690
|
-
* @summary Close the email thread
|
|
504
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
691
505
|
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
|
|
692
506
|
* @param {*} [options] Override http request option.
|
|
693
507
|
* @throws {RequiredError}
|
|
@@ -698,8 +512,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
698
512
|
return (0, exports.EmailTrackingApiFp)(this.configuration).closeThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
699
513
|
};
|
|
700
514
|
/**
|
|
701
|
-
*
|
|
702
|
-
* @summary Retrieve the email thread
|
|
515
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
703
516
|
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
|
|
704
517
|
* @param {*} [options] Override http request option.
|
|
705
518
|
* @throws {RequiredError}
|
|
@@ -710,7 +523,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
710
523
|
return (0, exports.EmailTrackingApiFp)(this.configuration).getThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
711
524
|
};
|
|
712
525
|
/**
|
|
713
|
-
*
|
|
526
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
714
527
|
* @summary List email messages
|
|
715
528
|
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
|
|
716
529
|
* @param {*} [options] Override http request option.
|
|
@@ -722,7 +535,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
722
535
|
return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
723
536
|
};
|
|
724
537
|
/**
|
|
725
|
-
*
|
|
538
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
726
539
|
* @summary List email threads
|
|
727
540
|
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
|
|
728
541
|
* @param {*} [options] Override http request option.
|
|
@@ -734,18 +547,6 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
734
547
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
735
548
|
return (0, exports.EmailTrackingApiFp)(this.configuration).listThreads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
736
549
|
};
|
|
737
|
-
/**
|
|
738
|
-
* Removes the entity link from the email thread and every message in it, and marks the messages as unassigned. **Required Permissions** \"notification-management.email-messages.update\"
|
|
739
|
-
* @summary Unassign an email thread from its entity
|
|
740
|
-
* @param {EmailTrackingApiUnassignEntityRequest} requestParameters Request parameters.
|
|
741
|
-
* @param {*} [options] Override http request option.
|
|
742
|
-
* @throws {RequiredError}
|
|
743
|
-
* @memberof EmailTrackingApi
|
|
744
|
-
*/
|
|
745
|
-
EmailTrackingApi.prototype.unassignEntity = function (requestParameters, options) {
|
|
746
|
-
var _this = this;
|
|
747
|
-
return (0, exports.EmailTrackingApiFp)(this.configuration).unassignEntity(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
748
|
-
};
|
|
749
550
|
return EmailTrackingApi;
|
|
750
551
|
}(base_1.BaseAPI));
|
|
751
552
|
exports.EmailTrackingApi = EmailTrackingApi;
|
|
@@ -22,8 +22,7 @@ import { InitiateEmailVerificationResponseClass } from '../models';
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @summary Complete an email verification
|
|
25
|
+
* undefined **Required Permissions** none
|
|
27
26
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
28
27
|
* @param {string} [authorization] Bearer Token
|
|
29
28
|
* @param {*} [options] Override http request option.
|
|
@@ -31,8 +30,7 @@ export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Co
|
|
|
31
30
|
*/
|
|
32
31
|
completeEmailVerification: (completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
33
32
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Initiate an email verification
|
|
33
|
+
* undefined **Required Permissions** none
|
|
36
34
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
37
35
|
* @param {string} [authorization] Bearer Token
|
|
38
36
|
* @param {*} [options] Override http request option.
|
|
@@ -46,8 +44,7 @@ export declare const EmailVerificationsApiAxiosParamCreator: (configuration?: Co
|
|
|
46
44
|
*/
|
|
47
45
|
export declare const EmailVerificationsApiFp: (configuration?: Configuration) => {
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
50
|
-
* @summary Complete an email verification
|
|
47
|
+
* undefined **Required Permissions** none
|
|
51
48
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
52
49
|
* @param {string} [authorization] Bearer Token
|
|
53
50
|
* @param {*} [options] Override http request option.
|
|
@@ -55,8 +52,7 @@ export declare const EmailVerificationsApiFp: (configuration?: Configuration) =>
|
|
|
55
52
|
*/
|
|
56
53
|
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompleteEmailVerificationResponseClass>>;
|
|
57
54
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @summary Initiate an email verification
|
|
55
|
+
* undefined **Required Permissions** none
|
|
60
56
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
61
57
|
* @param {string} [authorization] Bearer Token
|
|
62
58
|
* @param {*} [options] Override http request option.
|
|
@@ -70,8 +66,7 @@ export declare const EmailVerificationsApiFp: (configuration?: Configuration) =>
|
|
|
70
66
|
*/
|
|
71
67
|
export declare const EmailVerificationsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
72
68
|
/**
|
|
73
|
-
*
|
|
74
|
-
* @summary Complete an email verification
|
|
69
|
+
* undefined **Required Permissions** none
|
|
75
70
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
76
71
|
* @param {string} [authorization] Bearer Token
|
|
77
72
|
* @param {*} [options] Override http request option.
|
|
@@ -79,8 +74,7 @@ export declare const EmailVerificationsApiFactory: (configuration?: Configuratio
|
|
|
79
74
|
*/
|
|
80
75
|
completeEmailVerification(completeEmailVerificationDto: CompleteEmailVerificationDto, authorization?: string, options?: any): AxiosPromise<CompleteEmailVerificationResponseClass>;
|
|
81
76
|
/**
|
|
82
|
-
*
|
|
83
|
-
* @summary Initiate an email verification
|
|
77
|
+
* undefined **Required Permissions** none
|
|
84
78
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
85
79
|
* @param {string} [authorization] Bearer Token
|
|
86
80
|
* @param {*} [options] Override http request option.
|
|
@@ -134,8 +128,7 @@ export interface EmailVerificationsApiInitiateEmailVerificationRequest {
|
|
|
134
128
|
*/
|
|
135
129
|
export declare class EmailVerificationsApi extends BaseAPI {
|
|
136
130
|
/**
|
|
137
|
-
*
|
|
138
|
-
* @summary Complete an email verification
|
|
131
|
+
* undefined **Required Permissions** none
|
|
139
132
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
140
133
|
* @param {*} [options] Override http request option.
|
|
141
134
|
* @throws {RequiredError}
|
|
@@ -143,8 +136,7 @@ export declare class EmailVerificationsApi extends BaseAPI {
|
|
|
143
136
|
*/
|
|
144
137
|
completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
|
|
145
138
|
/**
|
|
146
|
-
*
|
|
147
|
-
* @summary Initiate an email verification
|
|
139
|
+
* undefined **Required Permissions** none
|
|
148
140
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
149
141
|
* @param {*} [options] Override http request option.
|
|
150
142
|
* @throws {RequiredError}
|
|
@@ -93,8 +93,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Complete an email verification
|
|
96
|
+
* undefined **Required Permissions** none
|
|
98
97
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
99
98
|
* @param {string} [authorization] Bearer Token
|
|
100
99
|
* @param {*} [options] Override http request option.
|
|
@@ -142,8 +141,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
|
|
|
142
141
|
});
|
|
143
142
|
},
|
|
144
143
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @summary Initiate an email verification
|
|
144
|
+
* undefined **Required Permissions** none
|
|
147
145
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
148
146
|
* @param {string} [authorization] Bearer Token
|
|
149
147
|
* @param {*} [options] Override http request option.
|
|
@@ -201,8 +199,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
201
199
|
var localVarAxiosParamCreator = (0, exports.EmailVerificationsApiAxiosParamCreator)(configuration);
|
|
202
200
|
return {
|
|
203
201
|
/**
|
|
204
|
-
*
|
|
205
|
-
* @summary Complete an email verification
|
|
202
|
+
* undefined **Required Permissions** none
|
|
206
203
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
207
204
|
* @param {string} [authorization] Bearer Token
|
|
208
205
|
* @param {*} [options] Override http request option.
|
|
@@ -222,8 +219,7 @@ var EmailVerificationsApiFp = function (configuration) {
|
|
|
222
219
|
});
|
|
223
220
|
},
|
|
224
221
|
/**
|
|
225
|
-
*
|
|
226
|
-
* @summary Initiate an email verification
|
|
222
|
+
* undefined **Required Permissions** none
|
|
227
223
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
228
224
|
* @param {string} [authorization] Bearer Token
|
|
229
225
|
* @param {*} [options] Override http request option.
|
|
@@ -253,8 +249,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
253
249
|
var localVarFp = (0, exports.EmailVerificationsApiFp)(configuration);
|
|
254
250
|
return {
|
|
255
251
|
/**
|
|
256
|
-
*
|
|
257
|
-
* @summary Complete an email verification
|
|
252
|
+
* undefined **Required Permissions** none
|
|
258
253
|
* @param {CompleteEmailVerificationDto} completeEmailVerificationDto
|
|
259
254
|
* @param {string} [authorization] Bearer Token
|
|
260
255
|
* @param {*} [options] Override http request option.
|
|
@@ -264,8 +259,7 @@ var EmailVerificationsApiFactory = function (configuration, basePath, axios) {
|
|
|
264
259
|
return localVarFp.completeEmailVerification(completeEmailVerificationDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
265
260
|
},
|
|
266
261
|
/**
|
|
267
|
-
*
|
|
268
|
-
* @summary Initiate an email verification
|
|
262
|
+
* undefined **Required Permissions** none
|
|
269
263
|
* @param {InitiateEmailVerificationDto} initiateEmailVerificationDto
|
|
270
264
|
* @param {string} [authorization] Bearer Token
|
|
271
265
|
* @param {*} [options] Override http request option.
|
|
@@ -289,8 +283,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
289
283
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
290
284
|
}
|
|
291
285
|
/**
|
|
292
|
-
*
|
|
293
|
-
* @summary Complete an email verification
|
|
286
|
+
* undefined **Required Permissions** none
|
|
294
287
|
* @param {EmailVerificationsApiCompleteEmailVerificationRequest} requestParameters Request parameters.
|
|
295
288
|
* @param {*} [options] Override http request option.
|
|
296
289
|
* @throws {RequiredError}
|
|
@@ -301,8 +294,7 @@ var EmailVerificationsApi = /** @class */ (function (_super) {
|
|
|
301
294
|
return (0, exports.EmailVerificationsApiFp)(this.configuration).completeEmailVerification(requestParameters.completeEmailVerificationDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
302
295
|
};
|
|
303
296
|
/**
|
|
304
|
-
*
|
|
305
|
-
* @summary Initiate an email verification
|
|
297
|
+
* undefined **Required Permissions** none
|
|
306
298
|
* @param {EmailVerificationsApiInitiateEmailVerificationRequest} requestParameters Request parameters.
|
|
307
299
|
* @param {*} [options] Override http request option.
|
|
308
300
|
* @throws {RequiredError}
|