@emilgroup/notification-sdk 0.8.1-beta.61 → 0.8.1-beta.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +2 -2
  3. package/api/email-mailboxes-api.ts +4 -2
  4. package/api/email-messages-api.ts +146 -16
  5. package/api/email-subscriptions-api.ts +24 -12
  6. package/api/email-tracking-api.ts +32 -20
  7. package/api/email-verifications-api.ts +8 -4
  8. package/api/layouts-api.ts +20 -10
  9. package/api/notification-templates-api.ts +20 -10
  10. package/api/notifications-api.ts +8 -4
  11. package/base.ts +174 -41
  12. package/common.ts +3 -2
  13. package/configuration.ts +20 -0
  14. package/dist/api/email-mailboxes-api.d.ts +1 -1
  15. package/dist/api/email-mailboxes-api.js +7 -4
  16. package/dist/api/email-messages-api.d.ts +78 -12
  17. package/dist/api/email-messages-api.js +133 -21
  18. package/dist/api/email-subscriptions-api.d.ts +6 -6
  19. package/dist/api/email-subscriptions-api.js +39 -23
  20. package/dist/api/email-tracking-api.d.ts +14 -14
  21. package/dist/api/email-tracking-api.js +42 -28
  22. package/dist/api/email-verifications-api.d.ts +2 -2
  23. package/dist/api/email-verifications-api.js +14 -8
  24. package/dist/api/health-api.d.ts +1 -1
  25. package/dist/api/layouts-api.d.ts +5 -5
  26. package/dist/api/layouts-api.js +29 -18
  27. package/dist/api/msgraph-webhooks-api.d.ts +2 -2
  28. package/dist/api/notification-templates-api.d.ts +5 -5
  29. package/dist/api/notification-templates-api.js +29 -18
  30. package/dist/api/notifications-api.d.ts +2 -2
  31. package/dist/api/notifications-api.js +14 -8
  32. package/dist/base.d.ts +24 -0
  33. package/dist/base.js +178 -59
  34. package/dist/common.d.ts +1 -1
  35. package/dist/common.js +1 -0
  36. package/dist/configuration.d.ts +17 -0
  37. package/dist/configuration.js +2 -0
  38. package/dist/models/email-message-class.d.ts +23 -0
  39. package/dist/models/email-message-class.js +5 -1
  40. package/dist/models/email-message-summary-class.d.ts +17 -0
  41. package/dist/models/email-message-summary-class.js +5 -1
  42. package/dist/models/index.d.ts +2 -0
  43. package/dist/models/index.js +2 -0
  44. package/dist/models/resend-email-message-body-dto.d.ts +30 -0
  45. package/dist/models/resend-email-message-body-dto.js +15 -0
  46. package/dist/models/resend-email-message-response-class.d.ts +25 -0
  47. package/dist/models/resend-email-message-response-class.js +15 -0
  48. package/models/email-message-class.ts +24 -0
  49. package/models/email-message-summary-class.ts +18 -0
  50. package/models/index.ts +2 -0
  51. package/models/resend-email-message-body-dto.ts +36 -0
  52. package/models/resend-email-message-response-class.ts +31 -0
  53. package/package.json +2 -2
@@ -103,7 +103,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
103
103
  catchUpEmailSubscription: function (id, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -121,13 +121,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
121
121
  localVarQueryParameter = {};
122
122
  // authentication bearer required
123
123
  // http bearer authentication required
124
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
125
+ // Only Authorization falls back to the configured token; an empty value is never sent.
126
+ ];
125
127
  case 1:
126
128
  // authentication bearer required
127
129
  // http bearer authentication required
128
130
  _a.sent();
129
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
130
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
131
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
132
+ if (authorizationValue) {
133
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
131
134
  }
132
135
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
136
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -151,7 +154,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
151
154
  catchUpEmailSubscriptions: function (catchUpEmailSubscriptionsRequestDto, authorization, options) {
152
155
  if (options === void 0) { options = {}; }
153
156
  return __awaiter(_this, void 0, void 0, function () {
154
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
155
158
  return __generator(this, function (_a) {
156
159
  switch (_a.label) {
157
160
  case 0:
@@ -168,13 +171,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
168
171
  localVarQueryParameter = {};
169
172
  // authentication bearer required
170
173
  // http bearer authentication required
171
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
174
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
175
+ // Only Authorization falls back to the configured token; an empty value is never sent.
176
+ ];
172
177
  case 1:
173
178
  // authentication bearer required
174
179
  // http bearer authentication required
175
180
  _a.sent();
176
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
177
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
181
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
182
+ if (authorizationValue) {
183
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
178
184
  }
179
185
  localVarHeaderParameter['Content-Type'] = 'application/json';
180
186
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -200,7 +206,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
200
206
  getEmailSubscription: function (id, authorization, options) {
201
207
  if (options === void 0) { options = {}; }
202
208
  return __awaiter(_this, void 0, void 0, function () {
203
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
204
210
  return __generator(this, function (_a) {
205
211
  switch (_a.label) {
206
212
  case 0:
@@ -218,13 +224,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
218
224
  localVarQueryParameter = {};
219
225
  // authentication bearer required
220
226
  // http bearer authentication required
221
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
227
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
228
+ // Only Authorization falls back to the configured token; an empty value is never sent.
229
+ ];
222
230
  case 1:
223
231
  // authentication bearer required
224
232
  // http bearer authentication required
225
233
  _a.sent();
226
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
234
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
235
+ if (authorizationValue) {
236
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
228
237
  }
229
238
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
230
239
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -254,7 +263,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
254
263
  listEmailSubscriptions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
255
264
  if (options === void 0) { options = {}; }
256
265
  return __awaiter(_this, void 0, void 0, function () {
257
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
266
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
258
267
  return __generator(this, function (_a) {
259
268
  switch (_a.label) {
260
269
  case 0:
@@ -295,8 +304,9 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
295
304
  if (filters !== undefined) {
296
305
  localVarQueryParameter['filters'] = filters;
297
306
  }
298
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
307
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
308
+ if (authorizationValue) {
309
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
300
310
  }
301
311
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
302
312
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -320,7 +330,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
320
330
  reconcileEmailSubscriptions: function (reconcileEmailSubscriptionsRequestDto, authorization, options) {
321
331
  if (options === void 0) { options = {}; }
322
332
  return __awaiter(_this, void 0, void 0, function () {
323
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
333
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
324
334
  return __generator(this, function (_a) {
325
335
  switch (_a.label) {
326
336
  case 0:
@@ -337,13 +347,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
337
347
  localVarQueryParameter = {};
338
348
  // authentication bearer required
339
349
  // http bearer authentication required
340
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
350
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
351
+ // Only Authorization falls back to the configured token; an empty value is never sent.
352
+ ];
341
353
  case 1:
342
354
  // authentication bearer required
343
355
  // http bearer authentication required
344
356
  _a.sent();
345
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
346
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
357
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
358
+ if (authorizationValue) {
359
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
347
360
  }
348
361
  localVarHeaderParameter['Content-Type'] = 'application/json';
349
362
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -369,7 +382,7 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
369
382
  renewEmailSubscription: function (id, authorization, options) {
370
383
  if (options === void 0) { options = {}; }
371
384
  return __awaiter(_this, void 0, void 0, function () {
372
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
385
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
373
386
  return __generator(this, function (_a) {
374
387
  switch (_a.label) {
375
388
  case 0:
@@ -387,13 +400,16 @@ var EmailSubscriptionsApiAxiosParamCreator = function (configuration) {
387
400
  localVarQueryParameter = {};
388
401
  // authentication bearer required
389
402
  // http bearer authentication required
390
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
403
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
404
+ // Only Authorization falls back to the configured token; an empty value is never sent.
405
+ ];
391
406
  case 1:
392
407
  // authentication bearer required
393
408
  // http bearer authentication required
394
409
  _a.sent();
395
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
396
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
410
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
411
+ if (authorizationValue) {
412
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
397
413
  }
398
414
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
399
415
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -56,8 +56,8 @@ export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configu
56
56
  * @summary List email messages
57
57
  * @param {string} code
58
58
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
59
- * @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>
60
- * @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>
59
+ * @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>
60
+ * @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>
61
61
  * @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>
62
62
  * @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>
63
63
  * @param {*} [options] Override http request option.
@@ -127,8 +127,8 @@ export declare const EmailTrackingApiFp: (configuration?: Configuration) => {
127
127
  * @summary List email messages
128
128
  * @param {string} code
129
129
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
- * @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>
131
- * @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>
130
+ * @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>
131
+ * @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>
132
132
  * @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>
133
133
  * @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>
134
134
  * @param {*} [options] Override http request option.
@@ -198,8 +198,8 @@ export declare const EmailTrackingApiFactory: (configuration?: Configuration, ba
198
198
  * @summary List email messages
199
199
  * @param {string} code
200
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
201
- * @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>
202
- * @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>
201
+ * @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>
202
+ * @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>
203
203
  * @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>
204
204
  * @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>
205
205
  * @param {*} [options] Override http request option.
@@ -313,13 +313,13 @@ export interface EmailTrackingApiListMessagesRequest {
313
313
  */
314
314
  readonly authorization?: string;
315
315
  /**
316
- * 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>
316
+ * 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>
317
317
  * @type {string}
318
318
  * @memberof EmailTrackingApiListMessages
319
319
  */
320
320
  readonly filter?: string;
321
321
  /**
322
- * 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>
322
+ * 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>
323
323
  * @type {string}
324
324
  * @memberof EmailTrackingApiListMessages
325
325
  */
@@ -426,7 +426,7 @@ export declare class EmailTrackingApi extends BaseAPI {
426
426
  * @throws {RequiredError}
427
427
  * @memberof EmailTrackingApi
428
428
  */
429
- assignEntity(requestParameters: EmailTrackingApiAssignEntityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignEmailThreadEntityResponseClass, any, {}>>;
429
+ assignEntity(requestParameters: EmailTrackingApiAssignEntityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignEmailThreadEntityResponseClass, any, {}, any>>;
430
430
  /**
431
431
  * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
432
432
  * @summary Close the email thread
@@ -435,7 +435,7 @@ export declare class EmailTrackingApi extends BaseAPI {
435
435
  * @throws {RequiredError}
436
436
  * @memberof EmailTrackingApi
437
437
  */
438
- closeThread(requestParameters: EmailTrackingApiCloseThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}>>;
438
+ closeThread(requestParameters: EmailTrackingApiCloseThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}, any>>;
439
439
  /**
440
440
  * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
441
441
  * @summary Retrieve the email thread
@@ -444,7 +444,7 @@ export declare class EmailTrackingApi extends BaseAPI {
444
444
  * @throws {RequiredError}
445
445
  * @memberof EmailTrackingApi
446
446
  */
447
- getThread(requestParameters: EmailTrackingApiGetThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}>>;
447
+ getThread(requestParameters: EmailTrackingApiGetThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}, any>>;
448
448
  /**
449
449
  * Returns the email messages of the email thread with the given code. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
450
450
  * @summary List email messages
@@ -453,7 +453,7 @@ export declare class EmailTrackingApi extends BaseAPI {
453
453
  * @throws {RequiredError}
454
454
  * @memberof EmailTrackingApi
455
455
  */
456
- listMessages(requestParameters: EmailTrackingApiListMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailMessagesResponseClass, any, {}>>;
456
+ listMessages(requestParameters: EmailTrackingApiListMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailMessagesResponseClass, any, {}, any>>;
457
457
  /**
458
458
  * Returns a list of email threads, newest first. A thread groups an email with its replies; each item carries the newest message of the thread in latestMessage and the number of messages in messageCount. Threads without a message yet are not listed. Filter on the newest message with latestDirection (inbox tabs), latestDeliveryStatus or latestWorkflowStatus (use latestWorkflowStatus==$null for threads whose newest message has no workflow). Add expand=messages to get every message of each thread, without bodies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
459
459
  * @summary List email threads
@@ -462,7 +462,7 @@ export declare class EmailTrackingApi extends BaseAPI {
462
462
  * @throws {RequiredError}
463
463
  * @memberof EmailTrackingApi
464
464
  */
465
- listThreads(requestParameters?: EmailTrackingApiListThreadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailThreadsResponseClass, any, {}>>;
465
+ listThreads(requestParameters?: EmailTrackingApiListThreadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailThreadsResponseClass, any, {}, any>>;
466
466
  /**
467
467
  * 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\"
468
468
  * @summary Unassign an email thread from its entity
@@ -471,5 +471,5 @@ export declare class EmailTrackingApi extends BaseAPI {
471
471
  * @throws {RequiredError}
472
472
  * @memberof EmailTrackingApi
473
473
  */
474
- unassignEntity(requestParameters: EmailTrackingApiUnassignEntityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnassignEmailThreadEntityResponseClass, any, {}>>;
474
+ unassignEntity(requestParameters: EmailTrackingApiUnassignEntityRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnassignEmailThreadEntityResponseClass, any, {}, any>>;
475
475
  }
@@ -104,7 +104,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
104
104
  assignEntity: function (code, assignEmailThreadEntityBodyDto, authorization, options) {
105
105
  if (options === void 0) { options = {}; }
106
106
  return __awaiter(_this, void 0, void 0, function () {
107
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
108
108
  return __generator(this, function (_a) {
109
109
  switch (_a.label) {
110
110
  case 0:
@@ -124,13 +124,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
124
124
  localVarQueryParameter = {};
125
125
  // authentication bearer required
126
126
  // http bearer authentication required
127
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
127
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
128
+ // Only Authorization falls back to the configured token; an empty value is never sent.
129
+ ];
128
130
  case 1:
129
131
  // authentication bearer required
130
132
  // http bearer authentication required
131
133
  _a.sent();
132
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
133
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
134
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
135
+ if (authorizationValue) {
136
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
134
137
  }
135
138
  localVarHeaderParameter['Content-Type'] = 'application/json';
136
139
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -156,7 +159,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
156
159
  closeThread: function (code, authorization, options) {
157
160
  if (options === void 0) { options = {}; }
158
161
  return __awaiter(_this, void 0, void 0, function () {
159
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
162
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
160
163
  return __generator(this, function (_a) {
161
164
  switch (_a.label) {
162
165
  case 0:
@@ -174,13 +177,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
174
177
  localVarQueryParameter = {};
175
178
  // authentication bearer required
176
179
  // http bearer authentication required
177
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
180
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
181
+ // Only Authorization falls back to the configured token; an empty value is never sent.
182
+ ];
178
183
  case 1:
179
184
  // authentication bearer required
180
185
  // http bearer authentication required
181
186
  _a.sent();
182
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
183
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
187
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
188
+ if (authorizationValue) {
189
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
184
190
  }
185
191
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
192
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -204,7 +210,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
204
210
  getThread: function (code, authorization, options) {
205
211
  if (options === void 0) { options = {}; }
206
212
  return __awaiter(_this, void 0, void 0, function () {
207
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
213
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
208
214
  return __generator(this, function (_a) {
209
215
  switch (_a.label) {
210
216
  case 0:
@@ -222,13 +228,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
222
228
  localVarQueryParameter = {};
223
229
  // authentication bearer required
224
230
  // http bearer authentication required
225
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
231
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
232
+ // Only Authorization falls back to the configured token; an empty value is never sent.
233
+ ];
226
234
  case 1:
227
235
  // authentication bearer required
228
236
  // http bearer authentication required
229
237
  _a.sent();
230
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
238
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
239
+ if (authorizationValue) {
240
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
232
241
  }
233
242
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
234
243
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -246,8 +255,8 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
246
255
  * @summary List email messages
247
256
  * @param {string} code
248
257
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
250
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
258
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
259
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
251
260
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
252
261
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
253
262
  * @param {*} [options] Override http request option.
@@ -256,7 +265,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
256
265
  listMessages: function (code, authorization, filter, filters, order, expand, options) {
257
266
  if (options === void 0) { options = {}; }
258
267
  return __awaiter(_this, void 0, void 0, function () {
259
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
268
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
260
269
  return __generator(this, function (_a) {
261
270
  switch (_a.label) {
262
271
  case 0:
@@ -291,8 +300,9 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
291
300
  if (expand !== undefined) {
292
301
  localVarQueryParameter['expand'] = expand;
293
302
  }
294
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
295
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
303
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
304
+ if (authorizationValue) {
305
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
296
306
  }
297
307
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
298
308
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -322,7 +332,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
322
332
  listThreads: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
323
333
  if (options === void 0) { options = {}; }
324
334
  return __awaiter(_this, void 0, void 0, function () {
325
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
335
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
326
336
  return __generator(this, function (_a) {
327
337
  switch (_a.label) {
328
338
  case 0:
@@ -363,8 +373,9 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
363
373
  if (filters !== undefined) {
364
374
  localVarQueryParameter['filters'] = filters;
365
375
  }
366
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
367
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
376
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
377
+ if (authorizationValue) {
378
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
368
379
  }
369
380
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
370
381
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -388,7 +399,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
388
399
  unassignEntity: function (code, authorization, options) {
389
400
  if (options === void 0) { options = {}; }
390
401
  return __awaiter(_this, void 0, void 0, function () {
391
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
402
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
392
403
  return __generator(this, function (_a) {
393
404
  switch (_a.label) {
394
405
  case 0:
@@ -406,13 +417,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
406
417
  localVarQueryParameter = {};
407
418
  // authentication bearer required
408
419
  // http bearer authentication required
409
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
420
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
421
+ // Only Authorization falls back to the configured token; an empty value is never sent.
422
+ ];
410
423
  case 1:
411
424
  // authentication bearer required
412
425
  // http bearer authentication required
413
426
  _a.sent();
414
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
415
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
427
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
428
+ if (authorizationValue) {
429
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
416
430
  }
417
431
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
418
432
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -504,8 +518,8 @@ var EmailTrackingApiFp = function (configuration) {
504
518
  * @summary List email messages
505
519
  * @param {string} code
506
520
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
508
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
521
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
522
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
509
523
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
510
524
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
511
525
  * @param {*} [options] Override http request option.
@@ -621,8 +635,8 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
621
635
  * @summary List email messages
622
636
  * @param {string} code
623
637
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
625
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
638
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
639
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, provider, mailbox, workflowStatus, resentFromMessageCode, resendReason, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
626
640
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, workflowStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
627
641
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
628
642
  * @param {*} [options] Override http request option.
@@ -141,7 +141,7 @@ export declare class EmailVerificationsApi extends BaseAPI {
141
141
  * @throws {RequiredError}
142
142
  * @memberof EmailVerificationsApi
143
143
  */
144
- completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
144
+ completeEmailVerification(requestParameters: EmailVerificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}, any>>;
145
145
  /**
146
146
  * Sends a verification token to the given email address. Use the complete endpoint to verify the token. **Required Permissions** none
147
147
  * @summary Initiate an email verification
@@ -150,5 +150,5 @@ export declare class EmailVerificationsApi extends BaseAPI {
150
150
  * @throws {RequiredError}
151
151
  * @memberof EmailVerificationsApi
152
152
  */
153
- initiateEmailVerification(requestParameters: EmailVerificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}>>;
153
+ initiateEmailVerification(requestParameters: EmailVerificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}, any>>;
154
154
  }
@@ -103,7 +103,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
103
103
  completeEmailVerification: function (completeEmailVerificationDto, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
@@ -120,13 +120,16 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
120
120
  localVarQueryParameter = {};
121
121
  // authentication bearer required
122
122
  // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
123
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
124
+ // Only Authorization falls back to the configured token; an empty value is never sent.
125
+ ];
124
126
  case 1:
125
127
  // authentication bearer required
126
128
  // http bearer authentication required
127
129
  _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
131
+ if (authorizationValue) {
132
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
130
133
  }
131
134
  localVarHeaderParameter['Content-Type'] = 'application/json';
132
135
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -152,7 +155,7 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
152
155
  initiateEmailVerification: function (initiateEmailVerificationDto, authorization, options) {
153
156
  if (options === void 0) { options = {}; }
154
157
  return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
158
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
156
159
  return __generator(this, function (_a) {
157
160
  switch (_a.label) {
158
161
  case 0:
@@ -169,13 +172,16 @@ var EmailVerificationsApiAxiosParamCreator = function (configuration) {
169
172
  localVarQueryParameter = {};
170
173
  // authentication bearer required
171
174
  // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
175
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
176
+ // Only Authorization falls back to the configured token; an empty value is never sent.
177
+ ];
173
178
  case 1:
174
179
  // authentication bearer required
175
180
  // http bearer authentication required
176
181
  _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
182
+ authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
183
+ if (authorizationValue) {
184
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
179
185
  }
180
186
  localVarHeaderParameter['Content-Type'] = 'application/json';
181
187
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
@@ -66,5 +66,5 @@ export declare class HealthApi extends BaseAPI {
66
66
  * @throws {RequiredError}
67
67
  * @memberof HealthApi
68
68
  */
69
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
69
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}, any>>;
70
70
  }