@emilgroup/notification-sdk 0.8.1-beta.61 → 0.8.1-beta.62
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 +2 -0
- package/README.md +2 -2
- package/api/email-mailboxes-api.ts +4 -2
- package/api/email-messages-api.ts +146 -16
- package/api/email-subscriptions-api.ts +24 -12
- package/api/email-tracking-api.ts +32 -20
- package/api/email-verifications-api.ts +8 -4
- package/api/layouts-api.ts +20 -10
- package/api/notification-templates-api.ts +20 -10
- package/api/notifications-api.ts +8 -4
- package/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/email-mailboxes-api.d.ts +1 -1
- package/dist/api/email-mailboxes-api.js +7 -4
- package/dist/api/email-messages-api.d.ts +78 -12
- package/dist/api/email-messages-api.js +133 -21
- package/dist/api/email-subscriptions-api.d.ts +6 -6
- package/dist/api/email-subscriptions-api.js +39 -23
- package/dist/api/email-tracking-api.d.ts +14 -14
- package/dist/api/email-tracking-api.js +42 -28
- package/dist/api/email-verifications-api.d.ts +2 -2
- package/dist/api/email-verifications-api.js +14 -8
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/layouts-api.d.ts +5 -5
- package/dist/api/layouts-api.js +29 -18
- package/dist/api/msgraph-webhooks-api.d.ts +2 -2
- package/dist/api/notification-templates-api.d.ts +5 -5
- package/dist/api/notification-templates-api.js +29 -18
- package/dist/api/notifications-api.d.ts +2 -2
- package/dist/api/notifications-api.js +14 -8
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/email-message-class.d.ts +23 -0
- package/dist/models/email-message-class.js +5 -1
- package/dist/models/email-message-summary-class.d.ts +17 -0
- package/dist/models/email-message-summary-class.js +5 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/resend-email-message-body-dto.d.ts +30 -0
- package/dist/models/resend-email-message-body-dto.js +15 -0
- package/dist/models/resend-email-message-response-class.d.ts +25 -0
- package/dist/models/resend-email-message-response-class.js +15 -0
- package/models/email-message-class.ts +24 -0
- package/models/email-message-summary-class.ts +18 -0
- package/models/index.ts +2 -0
- package/models/resend-email-message-body-dto.ts +36 -0
- package/models/resend-email-message-response-class.ts +31 -0
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -66,6 +66,8 @@ models/notification-template-class.ts
|
|
|
66
66
|
models/reconcile-email-subscriptions-request-dto.ts
|
|
67
67
|
models/reconcile-email-subscriptions-response-class.ts
|
|
68
68
|
models/renew-email-subscription-response-class.ts
|
|
69
|
+
models/resend-email-message-body-dto.ts
|
|
70
|
+
models/resend-email-message-response-class.ts
|
|
69
71
|
models/s3-document-dto.ts
|
|
70
72
|
models/send-email-request-dto.ts
|
|
71
73
|
models/send-email-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/notification-sdk@0.8.1-beta.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.62 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.62
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import ``.
|
|
@@ -54,8 +54,10 @@ export const EmailMailboxesApiAxiosParamCreator = function (configuration?: Conf
|
|
|
54
54
|
// http bearer authentication required
|
|
55
55
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
58
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
59
|
+
if (authorizationValue) {
|
|
60
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
|
|
@@ -28,6 +28,10 @@ import { GetEmailMessageResponseClass } from '../models';
|
|
|
28
28
|
import { ListEmailAttachmentsResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ListEmailMessagesResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { ResendEmailMessageBodyDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { ResendEmailMessageResponseClass } from '../models';
|
|
31
35
|
/**
|
|
32
36
|
* EmailMessagesApi - axios parameter creator
|
|
33
37
|
* @export
|
|
@@ -68,8 +72,10 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
68
72
|
// http bearer authentication required
|
|
69
73
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
70
74
|
|
|
71
|
-
|
|
72
|
-
|
|
75
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
76
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
77
|
+
if (authorizationValue) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
79
|
}
|
|
74
80
|
|
|
75
81
|
|
|
@@ -113,8 +119,10 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
113
119
|
// http bearer authentication required
|
|
114
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
115
121
|
|
|
116
|
-
|
|
117
|
-
|
|
122
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
123
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
124
|
+
if (authorizationValue) {
|
|
125
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
118
126
|
}
|
|
119
127
|
|
|
120
128
|
|
|
@@ -158,8 +166,10 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
158
166
|
// http bearer authentication required
|
|
159
167
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
160
168
|
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
170
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
171
|
+
if (authorizationValue) {
|
|
172
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
163
173
|
}
|
|
164
174
|
|
|
165
175
|
|
|
@@ -179,11 +189,11 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
179
189
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
180
190
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
181
191
|
* @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.
|
|
182
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
192
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
183
193
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
184
194
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
185
195
|
* @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>
|
|
186
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
196
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
187
197
|
* @param {*} [options] Override http request option.
|
|
188
198
|
* @throws {RequiredError}
|
|
189
199
|
*/
|
|
@@ -234,8 +244,10 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
234
244
|
localVarQueryParameter['filters'] = filters;
|
|
235
245
|
}
|
|
236
246
|
|
|
237
|
-
|
|
238
|
-
|
|
247
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
248
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
249
|
+
if (authorizationValue) {
|
|
250
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
239
251
|
}
|
|
240
252
|
|
|
241
253
|
|
|
@@ -244,6 +256,59 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
244
256
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
257
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
246
258
|
|
|
259
|
+
return {
|
|
260
|
+
url: toPathString(localVarUrlObj),
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
};
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to the recipient that bounced, or to newAddress when the address is corrected; pass recipient when more than one recipient bounced. A failed email is resent to all its original recipients; recipient and newAddress are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
266
|
+
* @summary Resend the email message
|
|
267
|
+
* @param {string} code
|
|
268
|
+
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
269
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
resendMessage: async (code: string, resendEmailMessageBodyDto: ResendEmailMessageBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
274
|
+
// verify required parameter 'code' is not null or undefined
|
|
275
|
+
assertParamExists('resendMessage', 'code', code)
|
|
276
|
+
// verify required parameter 'resendEmailMessageBodyDto' is not null or undefined
|
|
277
|
+
assertParamExists('resendMessage', 'resendEmailMessageBodyDto', resendEmailMessageBodyDto)
|
|
278
|
+
const localVarPath = `/notificationservice/v1/email-messages/{code}/resend`
|
|
279
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
280
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
281
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
282
|
+
let baseOptions;
|
|
283
|
+
let baseAccessToken;
|
|
284
|
+
if (configuration) {
|
|
285
|
+
baseOptions = configuration.baseOptions;
|
|
286
|
+
baseAccessToken = configuration.accessToken;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
290
|
+
const localVarHeaderParameter = {} as any;
|
|
291
|
+
const localVarQueryParameter = {} as any;
|
|
292
|
+
|
|
293
|
+
// authentication bearer required
|
|
294
|
+
// http bearer authentication required
|
|
295
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
296
|
+
|
|
297
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
298
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
299
|
+
if (authorizationValue) {
|
|
300
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
306
|
+
|
|
307
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
309
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
310
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resendEmailMessageBodyDto, localVarRequestOptions, configuration)
|
|
311
|
+
|
|
247
312
|
return {
|
|
248
313
|
url: toPathString(localVarUrlObj),
|
|
249
314
|
options: localVarRequestOptions,
|
|
@@ -302,11 +367,11 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
|
|
|
302
367
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
368
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
369
|
* @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.
|
|
305
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
370
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
306
371
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
372
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
308
373
|
* @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>
|
|
309
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
374
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
310
375
|
* @param {*} [options] Override http request option.
|
|
311
376
|
* @throws {RequiredError}
|
|
312
377
|
*/
|
|
@@ -314,6 +379,19 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
|
|
|
314
379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
315
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
316
381
|
},
|
|
382
|
+
/**
|
|
383
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to the recipient that bounced, or to newAddress when the address is corrected; pass recipient when more than one recipient bounced. A failed email is resent to all its original recipients; recipient and newAddress are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
384
|
+
* @summary Resend the email message
|
|
385
|
+
* @param {string} code
|
|
386
|
+
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
387
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
388
|
+
* @param {*} [options] Override http request option.
|
|
389
|
+
* @throws {RequiredError}
|
|
390
|
+
*/
|
|
391
|
+
async resendMessage(code: string, resendEmailMessageBodyDto: ResendEmailMessageBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResendEmailMessageResponseClass>> {
|
|
392
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resendMessage(code, resendEmailMessageBodyDto, authorization, options);
|
|
393
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
394
|
+
},
|
|
317
395
|
}
|
|
318
396
|
};
|
|
319
397
|
|
|
@@ -364,17 +442,29 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
|
|
|
364
442
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
443
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
444
|
* @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.
|
|
367
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
445
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
368
446
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
369
447
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
370
448
|
* @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>
|
|
371
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
449
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
372
450
|
* @param {*} [options] Override http request option.
|
|
373
451
|
* @throws {RequiredError}
|
|
374
452
|
*/
|
|
375
453
|
listEmailMessages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass> {
|
|
376
454
|
return localVarFp.listEmailMessages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
377
455
|
},
|
|
456
|
+
/**
|
|
457
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to the recipient that bounced, or to newAddress when the address is corrected; pass recipient when more than one recipient bounced. A failed email is resent to all its original recipients; recipient and newAddress are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
458
|
+
* @summary Resend the email message
|
|
459
|
+
* @param {string} code
|
|
460
|
+
* @param {ResendEmailMessageBodyDto} resendEmailMessageBodyDto
|
|
461
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
462
|
+
* @param {*} [options] Override http request option.
|
|
463
|
+
* @throws {RequiredError}
|
|
464
|
+
*/
|
|
465
|
+
resendMessage(code: string, resendEmailMessageBodyDto: ResendEmailMessageBodyDto, authorization?: string, options?: any): AxiosPromise<ResendEmailMessageResponseClass> {
|
|
466
|
+
return localVarFp.resendMessage(code, resendEmailMessageBodyDto, authorization, options).then((request) => request(axios, basePath));
|
|
467
|
+
},
|
|
378
468
|
};
|
|
379
469
|
};
|
|
380
470
|
|
|
@@ -476,7 +566,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
|
|
|
476
566
|
readonly pageToken?: string
|
|
477
567
|
|
|
478
568
|
/**
|
|
479
|
-
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
569
|
+
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
480
570
|
* @type {string}
|
|
481
571
|
* @memberof EmailMessagesApiListEmailMessages
|
|
482
572
|
*/
|
|
@@ -504,13 +594,41 @@ export interface EmailMessagesApiListEmailMessagesRequest {
|
|
|
504
594
|
readonly expand?: string
|
|
505
595
|
|
|
506
596
|
/**
|
|
507
|
-
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
597
|
+
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
508
598
|
* @type {string}
|
|
509
599
|
* @memberof EmailMessagesApiListEmailMessages
|
|
510
600
|
*/
|
|
511
601
|
readonly filters?: string
|
|
512
602
|
}
|
|
513
603
|
|
|
604
|
+
/**
|
|
605
|
+
* Request parameters for resendMessage operation in EmailMessagesApi.
|
|
606
|
+
* @export
|
|
607
|
+
* @interface EmailMessagesApiResendMessageRequest
|
|
608
|
+
*/
|
|
609
|
+
export interface EmailMessagesApiResendMessageRequest {
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof EmailMessagesApiResendMessage
|
|
614
|
+
*/
|
|
615
|
+
readonly code: string
|
|
616
|
+
|
|
617
|
+
/**
|
|
618
|
+
*
|
|
619
|
+
* @type {ResendEmailMessageBodyDto}
|
|
620
|
+
* @memberof EmailMessagesApiResendMessage
|
|
621
|
+
*/
|
|
622
|
+
readonly resendEmailMessageBodyDto: ResendEmailMessageBodyDto
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
|
+
* @type {string}
|
|
627
|
+
* @memberof EmailMessagesApiResendMessage
|
|
628
|
+
*/
|
|
629
|
+
readonly authorization?: string
|
|
630
|
+
}
|
|
631
|
+
|
|
514
632
|
/**
|
|
515
633
|
* EmailMessagesApi - object-oriented interface
|
|
516
634
|
* @export
|
|
@@ -565,4 +683,16 @@ export class EmailMessagesApi extends BaseAPI {
|
|
|
565
683
|
public listEmailMessages(requestParameters: EmailMessagesApiListEmailMessagesRequest = {}, options?: AxiosRequestConfig) {
|
|
566
684
|
return EmailMessagesApiFp(this.configuration).listEmailMessages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
567
685
|
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Sends an outgoing email with delivery status bounced or failed again, as a new email in the same thread, and returns the new email. A bounced email is resent to the recipient that bounced, or to newAddress when the address is corrected; pass recipient when more than one recipient bounced. A failed email is resent to all its original recipients; recipient and newAddress are not allowed for it. The original email is not changed and can be resent again. The new email starts as pending and carries resentFromMessageCode, resendReason and, for a bounce, resentOriginalRecipient. **Required Permissions** \"notification-management.email-messages.create\"
|
|
689
|
+
* @summary Resend the email message
|
|
690
|
+
* @param {EmailMessagesApiResendMessageRequest} requestParameters Request parameters.
|
|
691
|
+
* @param {*} [options] Override http request option.
|
|
692
|
+
* @throws {RequiredError}
|
|
693
|
+
* @memberof EmailMessagesApi
|
|
694
|
+
*/
|
|
695
|
+
public resendMessage(requestParameters: EmailMessagesApiResendMessageRequest, options?: AxiosRequestConfig) {
|
|
696
|
+
return EmailMessagesApiFp(this.configuration).resendMessage(requestParameters.code, requestParameters.resendEmailMessageBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
697
|
+
}
|
|
568
698
|
}
|
|
@@ -72,8 +72,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
72
72
|
// http bearer authentication required
|
|
73
73
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
76
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
77
|
+
if (authorizationValue) {
|
|
78
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
|
|
@@ -116,8 +118,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
116
118
|
// http bearer authentication required
|
|
117
119
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
120
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
122
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
123
|
+
if (authorizationValue) {
|
|
124
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
|
|
@@ -164,8 +168,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
164
168
|
// http bearer authentication required
|
|
165
169
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
170
|
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
172
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
173
|
+
if (authorizationValue) {
|
|
174
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
|
|
@@ -240,8 +246,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
240
246
|
localVarQueryParameter['filters'] = filters;
|
|
241
247
|
}
|
|
242
248
|
|
|
243
|
-
|
|
244
|
-
|
|
249
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
250
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
251
|
+
if (authorizationValue) {
|
|
252
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
245
253
|
}
|
|
246
254
|
|
|
247
255
|
|
|
@@ -284,8 +292,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
284
292
|
// http bearer authentication required
|
|
285
293
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
286
294
|
|
|
287
|
-
|
|
288
|
-
|
|
295
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
296
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
297
|
+
if (authorizationValue) {
|
|
298
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
289
299
|
}
|
|
290
300
|
|
|
291
301
|
|
|
@@ -332,8 +342,10 @@ export const EmailSubscriptionsApiAxiosParamCreator = function (configuration?:
|
|
|
332
342
|
// http bearer authentication required
|
|
333
343
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
334
344
|
|
|
335
|
-
|
|
336
|
-
|
|
345
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
346
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
347
|
+
if (authorizationValue) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
337
349
|
}
|
|
338
350
|
|
|
339
351
|
|
|
@@ -71,8 +71,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
75
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
76
|
+
if (authorizationValue) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
|
|
@@ -119,8 +121,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
119
121
|
// http bearer authentication required
|
|
120
122
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
123
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
126
|
+
if (authorizationValue) {
|
|
127
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
124
128
|
}
|
|
125
129
|
|
|
126
130
|
|
|
@@ -164,8 +168,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
164
168
|
// http bearer authentication required
|
|
165
169
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
166
170
|
|
|
167
|
-
|
|
168
|
-
|
|
171
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
172
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
173
|
+
if (authorizationValue) {
|
|
174
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
|
|
@@ -184,8 +190,8 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
184
190
|
* @summary List email messages
|
|
185
191
|
* @param {string} code
|
|
186
192
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
188
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
193
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
194
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
189
195
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
190
196
|
* @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>
|
|
191
197
|
* @param {*} [options] Override http request option.
|
|
@@ -229,8 +235,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
229
235
|
localVarQueryParameter['expand'] = expand;
|
|
230
236
|
}
|
|
231
237
|
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
239
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
240
|
+
if (authorizationValue) {
|
|
241
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
242
|
}
|
|
235
243
|
|
|
236
244
|
|
|
@@ -305,8 +313,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
305
313
|
localVarQueryParameter['filters'] = filters;
|
|
306
314
|
}
|
|
307
315
|
|
|
308
|
-
|
|
309
|
-
|
|
316
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
317
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
318
|
+
if (authorizationValue) {
|
|
319
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
310
320
|
}
|
|
311
321
|
|
|
312
322
|
|
|
@@ -350,8 +360,10 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
|
|
|
350
360
|
// http bearer authentication required
|
|
351
361
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
352
362
|
|
|
353
|
-
|
|
354
|
-
|
|
363
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
364
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
365
|
+
if (authorizationValue) {
|
|
366
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
355
367
|
}
|
|
356
368
|
|
|
357
369
|
|
|
@@ -417,8 +429,8 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
|
|
|
417
429
|
* @summary List email messages
|
|
418
430
|
* @param {string} code
|
|
419
431
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
420
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
421
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
432
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
433
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
422
434
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
423
435
|
* @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>
|
|
424
436
|
* @param {*} [options] Override http request option.
|
|
@@ -507,8 +519,8 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
|
|
|
507
519
|
* @summary List email messages
|
|
508
520
|
* @param {string} code
|
|
509
521
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
510
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
511
|
-
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
522
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
523
|
+
* @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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
512
524
|
* @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, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
|
|
513
525
|
* @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>
|
|
514
526
|
* @param {*} [options] Override http request option.
|
|
@@ -639,14 +651,14 @@ export interface EmailTrackingApiListMessagesRequest {
|
|
|
639
651
|
readonly authorization?: string
|
|
640
652
|
|
|
641
653
|
/**
|
|
642
|
-
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
654
|
+
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
643
655
|
* @type {string}
|
|
644
656
|
* @memberof EmailTrackingApiListMessages
|
|
645
657
|
*/
|
|
646
658
|
readonly filter?: string
|
|
647
659
|
|
|
648
660
|
/**
|
|
649
|
-
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
661
|
+
* 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, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
650
662
|
* @type {string}
|
|
651
663
|
* @memberof EmailTrackingApiListMessages
|
|
652
664
|
*/
|
|
@@ -63,8 +63,10 @@ export const EmailVerificationsApiAxiosParamCreator = function (configuration?:
|
|
|
63
63
|
// http bearer authentication required
|
|
64
64
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
67
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
68
|
+
if (authorizationValue) {
|
|
69
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
68
70
|
}
|
|
69
71
|
|
|
70
72
|
|
|
@@ -110,8 +112,10 @@ export const EmailVerificationsApiAxiosParamCreator = function (configuration?:
|
|
|
110
112
|
// http bearer authentication required
|
|
111
113
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
112
114
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
116
|
+
const authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
117
|
+
if (authorizationValue) {
|
|
118
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
115
119
|
}
|
|
116
120
|
|
|
117
121
|
|