@emilgroup/notification-sdk 0.8.1-beta.29 → 0.8.1-beta.3

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 (54) hide show
  1. package/.openapi-generator/FILES +0 -7
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +24 -156
  4. package/api/email-tracking-api.ts +24 -32
  5. package/api/email-verifications-api.ts +8 -16
  6. package/api/layouts-api.ts +36 -56
  7. package/api/notification-templates-api.ts +36 -56
  8. package/api/notifications-api.ts +4 -115
  9. package/api.ts +0 -2
  10. package/dist/api/email-messages-api.d.ts +24 -102
  11. package/dist/api/email-messages-api.js +22 -133
  12. package/dist/api/email-tracking-api.d.ts +24 -32
  13. package/dist/api/email-tracking-api.js +22 -30
  14. package/dist/api/email-verifications-api.d.ts +8 -16
  15. package/dist/api/email-verifications-api.js +8 -16
  16. package/dist/api/layouts-api.d.ts +36 -56
  17. package/dist/api/layouts-api.js +32 -52
  18. package/dist/api/notification-templates-api.d.ts +36 -56
  19. package/dist/api/notification-templates-api.js +32 -52
  20. package/dist/api/notifications-api.d.ts +4 -65
  21. package/dist/api/notifications-api.js +4 -101
  22. package/dist/api.d.ts +0 -1
  23. package/dist/api.js +0 -1
  24. package/dist/models/email-message-class.d.ts +2 -49
  25. package/dist/models/email-message-class.js +2 -16
  26. package/dist/models/index.d.ts +0 -6
  27. package/dist/models/index.js +0 -6
  28. package/dist/models/send-notification-request-dto.d.ts +0 -9
  29. package/dist/models/send-notification-request-dto.js +1 -2
  30. package/models/email-message-class.ts +3 -53
  31. package/models/index.ts +0 -6
  32. package/models/send-notification-request-dto.ts +1 -8
  33. package/package.json +1 -1
  34. package/api/msgraph-webhooks-api.ts +0 -278
  35. package/dist/api/msgraph-webhooks-api.d.ts +0 -168
  36. package/dist/api/msgraph-webhooks-api.js +0 -305
  37. package/dist/models/assign-email-message-entity-body-dto.d.ts +0 -43
  38. package/dist/models/assign-email-message-entity-body-dto.js +0 -22
  39. package/dist/models/assign-email-message-entity-response-class.d.ts +0 -25
  40. package/dist/models/assign-email-message-entity-response-class.js +0 -15
  41. package/dist/models/grpc-send-email-request-dto.d.ts +0 -137
  42. package/dist/models/grpc-send-email-request-dto.js +0 -22
  43. package/dist/models/inline-attachment-dto.d.ts +0 -36
  44. package/dist/models/inline-attachment-dto.js +0 -15
  45. package/dist/models/send-email-request-dto.d.ts +0 -131
  46. package/dist/models/send-email-request-dto.js +0 -22
  47. package/dist/models/send-email-response-class.d.ts +0 -24
  48. package/dist/models/send-email-response-class.js +0 -15
  49. package/models/assign-email-message-entity-body-dto.ts +0 -52
  50. package/models/assign-email-message-entity-response-class.ts +0 -31
  51. package/models/grpc-send-email-request-dto.ts +0 -144
  52. package/models/inline-attachment-dto.ts +0 -42
  53. package/models/send-email-request-dto.ts +0 -138
  54. package/models/send-email-response-class.ts +0 -30
@@ -8,7 +8,6 @@ api/email-tracking-api.ts
8
8
  api/email-verifications-api.ts
9
9
  api/health-api.ts
10
10
  api/layouts-api.ts
11
- api/msgraph-webhooks-api.ts
12
11
  api/notification-templates-api.ts
13
12
  api/notifications-api.ts
14
13
  base.ts
@@ -16,8 +15,6 @@ common.ts
16
15
  configuration.ts
17
16
  git_push.sh
18
17
  index.ts
19
- models/assign-email-message-entity-body-dto.ts
20
- models/assign-email-message-entity-response-class.ts
21
18
  models/complete-email-verification-dto.ts
22
19
  models/complete-email-verification-response-class.ts
23
20
  models/create-layout-request-dto.ts
@@ -36,12 +33,10 @@ models/get-layout-request-dto.ts
36
33
  models/get-layout-response-class.ts
37
34
  models/get-notification-template-request-dto.ts
38
35
  models/get-notification-template-response-class.ts
39
- models/grpc-send-email-request-dto.ts
40
36
  models/html-template-class.ts
41
37
  models/index.ts
42
38
  models/initiate-email-verification-dto.ts
43
39
  models/initiate-email-verification-response-class.ts
44
- models/inline-attachment-dto.ts
45
40
  models/inline-response200.ts
46
41
  models/inline-response503.ts
47
42
  models/layout-class.ts
@@ -52,8 +47,6 @@ models/list-layouts-response-class.ts
52
47
  models/list-notification-templates-response-class.ts
53
48
  models/notification-template-class.ts
54
49
  models/s3-document-dto.ts
55
- models/send-email-request-dto.ts
56
- models/send-email-response-class.ts
57
50
  models/send-notification-request-dto.ts
58
51
  models/send-notification-response-class.ts
59
52
  models/update-html-template-request-dto.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.29 --save
20
+ npm install @emilgroup/notification-sdk@0.8.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/notification-sdk@0.8.1-beta.29
24
+ yarn add @emilgroup/notification-sdk@0.8.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -21,10 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
23
  // @ts-ignore
24
- import { AssignEmailMessageEntityBodyDto } from '../models';
25
- // @ts-ignore
26
- import { AssignEmailMessageEntityResponseClass } from '../models';
27
- // @ts-ignore
28
24
  import { DownloadAttachmentResponseClass } from '../models';
29
25
  // @ts-ignore
30
26
  import { GetEmailMessageResponseClass } from '../models';
@@ -39,59 +35,7 @@ import { ListEmailMessagesResponseClass } from '../models';
39
35
  export const EmailMessagesApiAxiosParamCreator = function (configuration?: Configuration) {
40
36
  return {
41
37
  /**
42
- * Links the email message to the given entity, identified by code or by number (the code wins when both are set), and moves it into that entity\'s open thread. The entity must exist. **Required Permissions** \"notification-management.email-messages.update\"
43
- * @summary Assign an email message to an entity
44
- * @param {string} code
45
- * @param {AssignEmailMessageEntityBodyDto} assignEmailMessageEntityBodyDto
46
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
47
- * @param {*} [options] Override http request option.
48
- * @throws {RequiredError}
49
- */
50
- assignEntity: async (code: string, assignEmailMessageEntityBodyDto: AssignEmailMessageEntityBodyDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
51
- // verify required parameter 'code' is not null or undefined
52
- assertParamExists('assignEntity', 'code', code)
53
- // verify required parameter 'assignEmailMessageEntityBodyDto' is not null or undefined
54
- assertParamExists('assignEntity', 'assignEmailMessageEntityBodyDto', assignEmailMessageEntityBodyDto)
55
- const localVarPath = `/notificationservice/v1/email-messages/{code}/entity`
56
- .replace(`{${"code"}}`, encodeURIComponent(String(code)));
57
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
- let baseOptions;
60
- let baseAccessToken;
61
- if (configuration) {
62
- baseOptions = configuration.baseOptions;
63
- baseAccessToken = configuration.accessToken;
64
- }
65
-
66
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
67
- const localVarHeaderParameter = {} as any;
68
- const localVarQueryParameter = {} as any;
69
-
70
- // authentication bearer required
71
- // http bearer authentication required
72
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
-
74
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
- }
77
-
78
-
79
-
80
- localVarHeaderParameter['Content-Type'] = 'application/json';
81
-
82
- setSearchParams(localVarUrlObj, localVarQueryParameter);
83
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
- localVarRequestOptions.data = serializeDataIfNeeded(assignEmailMessageEntityBodyDto, localVarRequestOptions, configuration)
86
-
87
- return {
88
- url: toPathString(localVarUrlObj),
89
- options: localVarRequestOptions,
90
- };
91
- },
92
- /**
93
- * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
94
- * @summary Download the email message attachment
38
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
95
39
  * @param {string} code
96
40
  * @param {number} attachmentId
97
41
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -139,8 +83,7 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
139
83
  };
140
84
  },
141
85
  /**
142
- * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
143
- * @summary Retrieve the email message
86
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
144
87
  * @param {string} code
145
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
89
  * @param {*} [options] Override http request option.
@@ -184,8 +127,7 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
184
127
  };
185
128
  },
186
129
  /**
187
- * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
188
- * @summary List the email message attachments
130
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
189
131
  * @param {string} code
190
132
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
191
133
  * @param {*} [options] Override http request option.
@@ -229,16 +171,16 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
229
171
  };
230
172
  },
231
173
  /**
232
- * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
174
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
233
175
  * @summary List email messages
234
176
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
235
177
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
236
178
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
237
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
179
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
238
180
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
239
181
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
240
182
  * @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;
241
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
183
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
242
184
  * @param {*} [options] Override http request option.
243
185
  * @throws {RequiredError}
244
186
  */
@@ -315,21 +257,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
315
257
  const localVarAxiosParamCreator = EmailMessagesApiAxiosParamCreator(configuration)
316
258
  return {
317
259
  /**
318
- * Links the email message to the given entity, identified by code or by number (the code wins when both are set), and moves it into that entity\'s open thread. The entity must exist. **Required Permissions** \"notification-management.email-messages.update\"
319
- * @summary Assign an email message to an entity
320
- * @param {string} code
321
- * @param {AssignEmailMessageEntityBodyDto} assignEmailMessageEntityBodyDto
322
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
323
- * @param {*} [options] Override http request option.
324
- * @throws {RequiredError}
325
- */
326
- async assignEntity(code: string, assignEmailMessageEntityBodyDto: AssignEmailMessageEntityBodyDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignEmailMessageEntityResponseClass>> {
327
- const localVarAxiosArgs = await localVarAxiosParamCreator.assignEntity(code, assignEmailMessageEntityBodyDto, authorization, options);
328
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
329
- },
330
- /**
331
- * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
332
- * @summary Download the email message attachment
260
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
333
261
  * @param {string} code
334
262
  * @param {number} attachmentId
335
263
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -341,8 +269,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
341
269
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
270
  },
343
271
  /**
344
- * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
345
- * @summary Retrieve the email message
272
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
346
273
  * @param {string} code
347
274
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
348
275
  * @param {*} [options] Override http request option.
@@ -353,8 +280,7 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
353
280
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
281
  },
355
282
  /**
356
- * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
357
- * @summary List the email message attachments
283
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
358
284
  * @param {string} code
359
285
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
360
286
  * @param {*} [options] Override http request option.
@@ -365,16 +291,16 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
365
291
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
292
  },
367
293
  /**
368
- * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
294
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
369
295
  * @summary List email messages
370
296
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
297
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
372
298
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
373
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
299
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
374
300
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
375
301
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
376
302
  * @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;
377
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
303
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
378
304
  * @param {*} [options] Override http request option.
379
305
  * @throws {RequiredError}
380
306
  */
@@ -393,20 +319,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
393
319
  const localVarFp = EmailMessagesApiFp(configuration)
394
320
  return {
395
321
  /**
396
- * Links the email message to the given entity, identified by code or by number (the code wins when both are set), and moves it into that entity\'s open thread. The entity must exist. **Required Permissions** \"notification-management.email-messages.update\"
397
- * @summary Assign an email message to an entity
398
- * @param {string} code
399
- * @param {AssignEmailMessageEntityBodyDto} assignEmailMessageEntityBodyDto
400
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
401
- * @param {*} [options] Override http request option.
402
- * @throws {RequiredError}
403
- */
404
- assignEntity(code: string, assignEmailMessageEntityBodyDto: AssignEmailMessageEntityBodyDto, authorization?: string, options?: any): AxiosPromise<AssignEmailMessageEntityResponseClass> {
405
- return localVarFp.assignEntity(code, assignEmailMessageEntityBodyDto, authorization, options).then((request) => request(axios, basePath));
406
- },
407
- /**
408
- * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
409
- * @summary Download the email message attachment
322
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
410
323
  * @param {string} code
411
324
  * @param {number} attachmentId
412
325
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -417,8 +330,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
417
330
  return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then((request) => request(axios, basePath));
418
331
  },
419
332
  /**
420
- * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
421
- * @summary Retrieve the email message
333
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
422
334
  * @param {string} code
423
335
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
424
336
  * @param {*} [options] Override http request option.
@@ -428,8 +340,7 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
428
340
  return localVarFp.getMessage(code, authorization, options).then((request) => request(axios, basePath));
429
341
  },
430
342
  /**
431
- * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
432
- * @summary List the email message attachments
343
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
433
344
  * @param {string} code
434
345
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
435
346
  * @param {*} [options] Override http request option.
@@ -439,16 +350,16 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
439
350
  return localVarFp.listAttachments(code, authorization, options).then((request) => request(axios, basePath));
440
351
  },
441
352
  /**
442
- * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
353
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
443
354
  * @summary List email messages
444
355
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
445
356
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
446
357
  * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
447
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
358
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
448
359
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
449
360
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
450
361
  * @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;
451
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
362
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
452
363
  * @param {*} [options] Override http request option.
453
364
  * @throws {RequiredError}
454
365
  */
@@ -458,34 +369,6 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
458
369
  };
459
370
  };
460
371
 
461
- /**
462
- * Request parameters for assignEntity operation in EmailMessagesApi.
463
- * @export
464
- * @interface EmailMessagesApiAssignEntityRequest
465
- */
466
- export interface EmailMessagesApiAssignEntityRequest {
467
- /**
468
- *
469
- * @type {string}
470
- * @memberof EmailMessagesApiAssignEntity
471
- */
472
- readonly code: string
473
-
474
- /**
475
- *
476
- * @type {AssignEmailMessageEntityBodyDto}
477
- * @memberof EmailMessagesApiAssignEntity
478
- */
479
- readonly assignEmailMessageEntityBodyDto: AssignEmailMessageEntityBodyDto
480
-
481
- /**
482
- * Bearer Token: provided by the login endpoint under the name accessToken.
483
- * @type {string}
484
- * @memberof EmailMessagesApiAssignEntity
485
- */
486
- readonly authorization?: string
487
- }
488
-
489
372
  /**
490
373
  * Request parameters for downloadAttachment operation in EmailMessagesApi.
491
374
  * @export
@@ -584,7 +467,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
584
467
  readonly pageToken?: string
585
468
 
586
469
  /**
587
- * 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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
470
+ * 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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
588
471
  * @type {string}
589
472
  * @memberof EmailMessagesApiListEmailMessages
590
473
  */
@@ -612,7 +495,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
612
495
  readonly expand?: string
613
496
 
614
497
  /**
615
- * 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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
498
+ * 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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
616
499
  * @type {string}
617
500
  * @memberof EmailMessagesApiListEmailMessages
618
501
  */
@@ -627,20 +510,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
627
510
  */
628
511
  export class EmailMessagesApi extends BaseAPI {
629
512
  /**
630
- * Links the email message to the given entity, identified by code or by number (the code wins when both are set), and moves it into that entity\'s open thread. The entity must exist. **Required Permissions** \"notification-management.email-messages.update\"
631
- * @summary Assign an email message to an entity
632
- * @param {EmailMessagesApiAssignEntityRequest} requestParameters Request parameters.
633
- * @param {*} [options] Override http request option.
634
- * @throws {RequiredError}
635
- * @memberof EmailMessagesApi
636
- */
637
- public assignEntity(requestParameters: EmailMessagesApiAssignEntityRequest, options?: AxiosRequestConfig) {
638
- return EmailMessagesApiFp(this.configuration).assignEntity(requestParameters.code, requestParameters.assignEmailMessageEntityBodyDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
639
- }
640
-
641
- /**
642
- * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
643
- * @summary Download the email message attachment
513
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
644
514
  * @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
645
515
  * @param {*} [options] Override http request option.
646
516
  * @throws {RequiredError}
@@ -651,8 +521,7 @@ export class EmailMessagesApi extends BaseAPI {
651
521
  }
652
522
 
653
523
  /**
654
- * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
655
- * @summary Retrieve the email message
524
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
656
525
  * @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
657
526
  * @param {*} [options] Override http request option.
658
527
  * @throws {RequiredError}
@@ -663,8 +532,7 @@ export class EmailMessagesApi extends BaseAPI {
663
532
  }
664
533
 
665
534
  /**
666
- * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
667
- * @summary List the email message attachments
535
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
668
536
  * @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
669
537
  * @param {*} [options] Override http request option.
670
538
  * @throws {RequiredError}
@@ -675,7 +543,7 @@ export class EmailMessagesApi extends BaseAPI {
675
543
  }
676
544
 
677
545
  /**
678
- * Returns a list of sent and received email messages. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
546
+ * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
679
547
  * @summary List email messages
680
548
  * @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
681
549
  * @param {*} [options] Override http request option.
@@ -33,8 +33,7 @@ import { ListEmailThreadsResponseClass } from '../models';
33
33
  export const EmailTrackingApiAxiosParamCreator = function (configuration?: Configuration) {
34
34
  return {
35
35
  /**
36
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
37
- * @summary Close the email thread
36
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
38
37
  * @param {string} code
39
38
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
39
  * @param {*} [options] Override http request option.
@@ -78,8 +77,7 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
78
77
  };
79
78
  },
80
79
  /**
81
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
82
- * @summary Retrieve the email thread
80
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
83
81
  * @param {string} code
84
82
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
85
83
  * @param {*} [options] Override http request option.
@@ -123,12 +121,12 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
123
121
  };
124
122
  },
125
123
  /**
126
- * 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\"
124
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
127
125
  * @summary List email messages
128
126
  * @param {string} code
129
127
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
131
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
128
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
129
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
132
130
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
133
131
  * @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;
134
132
  * @param {*} [options] Override http request option.
@@ -188,7 +186,7 @@ export const EmailTrackingApiAxiosParamCreator = function (configuration?: Confi
188
186
  };
189
187
  },
190
188
  /**
191
- * Returns a list of email threads. A thread groups an email sent for an entity together with its replies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
189
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
192
190
  * @summary List email threads
193
191
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
194
192
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -274,8 +272,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
274
272
  const localVarAxiosParamCreator = EmailTrackingApiAxiosParamCreator(configuration)
275
273
  return {
276
274
  /**
277
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
278
- * @summary Close the email thread
275
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
279
276
  * @param {string} code
280
277
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
281
278
  * @param {*} [options] Override http request option.
@@ -286,8 +283,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
286
283
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
287
284
  },
288
285
  /**
289
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
290
- * @summary Retrieve the email thread
286
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
291
287
  * @param {string} code
292
288
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
293
289
  * @param {*} [options] Override http request option.
@@ -298,12 +294,12 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
298
294
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
299
295
  },
300
296
  /**
301
- * 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\"
297
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
302
298
  * @summary List email messages
303
299
  * @param {string} code
304
300
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
305
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
306
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
301
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
302
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
307
303
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
308
304
  * @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;
309
305
  * @param {*} [options] Override http request option.
@@ -314,7 +310,7 @@ export const EmailTrackingApiFp = function(configuration?: Configuration) {
314
310
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
315
311
  },
316
312
  /**
317
- * Returns a list of email threads. A thread groups an email sent for an entity together with its replies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
313
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
318
314
  * @summary List email threads
319
315
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
320
316
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -342,8 +338,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
342
338
  const localVarFp = EmailTrackingApiFp(configuration)
343
339
  return {
344
340
  /**
345
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
346
- * @summary Close the email thread
341
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
347
342
  * @param {string} code
348
343
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
349
344
  * @param {*} [options] Override http request option.
@@ -353,8 +348,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
353
348
  return localVarFp.closeThread(code, authorization, options).then((request) => request(axios, basePath));
354
349
  },
355
350
  /**
356
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
357
- * @summary Retrieve the email thread
351
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
358
352
  * @param {string} code
359
353
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
360
354
  * @param {*} [options] Override http request option.
@@ -364,12 +358,12 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
364
358
  return localVarFp.getThread(code, authorization, options).then((request) => request(axios, basePath));
365
359
  },
366
360
  /**
367
- * 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\"
361
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
368
362
  * @summary List email messages
369
363
  * @param {string} code
370
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
371
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
372
- * @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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
365
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
366
+ * @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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
373
367
  * @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, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
374
368
  * @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;
375
369
  * @param {*} [options] Override http request option.
@@ -379,7 +373,7 @@ export const EmailTrackingApiFactory = function (configuration?: Configuration,
379
373
  return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
380
374
  },
381
375
  /**
382
- * Returns a list of email threads. A thread groups an email sent for an entity together with its replies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
376
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
383
377
  * @summary List email threads
384
378
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
385
379
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -461,14 +455,14 @@ export interface EmailTrackingApiListMessagesRequest {
461
455
  readonly authorization?: string
462
456
 
463
457
  /**
464
- * 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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
458
+ * 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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
465
459
  * @type {string}
466
460
  * @memberof EmailTrackingApiListMessages
467
461
  */
468
462
  readonly filter?: string
469
463
 
470
464
  /**
471
- * 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, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
465
+ * 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, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
472
466
  * @type {string}
473
467
  * @memberof EmailTrackingApiListMessages
474
468
  */
@@ -560,8 +554,7 @@ export interface EmailTrackingApiListThreadsRequest {
560
554
  */
561
555
  export class EmailTrackingApi extends BaseAPI {
562
556
  /**
563
- * Closes the email thread with the given code and returns the updated thread. **Required Permissions** \"notification-management.email-messages.update\"
564
- * @summary Close the email thread
557
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
565
558
  * @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
566
559
  * @param {*} [options] Override http request option.
567
560
  * @throws {RequiredError}
@@ -572,8 +565,7 @@ export class EmailTrackingApi extends BaseAPI {
572
565
  }
573
566
 
574
567
  /**
575
- * Retrieves the details of the email thread with the given code. **Required Permissions** \"notification-management.email-messages.view\"
576
- * @summary Retrieve the email thread
568
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
577
569
  * @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
578
570
  * @param {*} [options] Override http request option.
579
571
  * @throws {RequiredError}
@@ -584,7 +576,7 @@ export class EmailTrackingApi extends BaseAPI {
584
576
  }
585
577
 
586
578
  /**
587
- * 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\"
579
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
588
580
  * @summary List email messages
589
581
  * @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
590
582
  * @param {*} [options] Override http request option.
@@ -596,7 +588,7 @@ export class EmailTrackingApi extends BaseAPI {
596
588
  }
597
589
 
598
590
  /**
599
- * Returns a list of email threads. A thread groups an email sent for an entity together with its replies. For more information about pagination, read the Pagination documentation. **Required Permissions** \"notification-management.email-messages.view\"
591
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
600
592
  * @summary List email threads
601
593
  * @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
602
594
  * @param {*} [options] Override http request option.