@emilgroup/notification-sdk 0.8.1-beta.4 → 0.8.1-beta.41

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 (83) hide show
  1. package/.openapi-generator/FILES +16 -0
  2. package/README.md +2 -2
  3. package/api/email-messages-api.ts +36 -24
  4. package/api/email-subscriptions-api.ts +559 -0
  5. package/api/email-tracking-api.ts +263 -32
  6. package/api/email-verifications-api.ts +16 -8
  7. package/api/layouts-api.ts +56 -36
  8. package/api/msgraph-webhooks-api.ts +278 -0
  9. package/api/notification-templates-api.ts +56 -36
  10. package/api/notifications-api.ts +115 -4
  11. package/api.ts +4 -0
  12. package/dist/api/email-messages-api.d.ts +36 -24
  13. package/dist/api/email-messages-api.js +34 -22
  14. package/dist/api/email-subscriptions-api.d.ts +319 -0
  15. package/dist/api/email-subscriptions-api.js +537 -0
  16. package/dist/api/email-tracking-api.d.ts +162 -32
  17. package/dist/api/email-tracking-api.js +227 -28
  18. package/dist/api/email-verifications-api.d.ts +16 -8
  19. package/dist/api/email-verifications-api.js +16 -8
  20. package/dist/api/layouts-api.d.ts +56 -36
  21. package/dist/api/layouts-api.js +52 -32
  22. package/dist/api/msgraph-webhooks-api.d.ts +168 -0
  23. package/dist/api/msgraph-webhooks-api.js +305 -0
  24. package/dist/api/notification-templates-api.d.ts +56 -36
  25. package/dist/api/notification-templates-api.js +52 -32
  26. package/dist/api/notifications-api.d.ts +65 -4
  27. package/dist/api/notifications-api.js +101 -4
  28. package/dist/api.d.ts +2 -0
  29. package/dist/api.js +2 -0
  30. package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
  31. package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
  32. package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
  33. package/dist/models/assign-email-thread-entity-response-class.js +15 -0
  34. package/dist/models/email-message-class.d.ts +55 -7
  35. package/dist/models/email-message-class.js +16 -2
  36. package/dist/models/email-subscription-class.d.ts +104 -0
  37. package/dist/models/email-subscription-class.js +23 -0
  38. package/dist/models/email-thread-class.d.ts +6 -5
  39. package/dist/models/entity-ref-class.d.ts +37 -0
  40. package/dist/models/entity-ref-class.js +22 -0
  41. package/dist/models/get-email-subscription-response-class.d.ts +25 -0
  42. package/dist/models/get-email-subscription-response-class.js +15 -0
  43. package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
  44. package/dist/models/grpc-send-email-request-dto.js +22 -0
  45. package/dist/models/index.d.ts +14 -0
  46. package/dist/models/index.js +14 -0
  47. package/dist/models/inline-attachment-dto.d.ts +36 -0
  48. package/dist/models/inline-attachment-dto.js +15 -0
  49. package/dist/models/list-email-subscriptions-response-class.d.ts +43 -0
  50. package/dist/models/list-email-subscriptions-response-class.js +15 -0
  51. package/dist/models/reconcile-email-subscriptions-request-dto.d.ts +24 -0
  52. package/dist/models/reconcile-email-subscriptions-request-dto.js +15 -0
  53. package/dist/models/reconcile-email-subscriptions-response-class.d.ts +48 -0
  54. package/dist/models/reconcile-email-subscriptions-response-class.js +15 -0
  55. package/dist/models/renew-email-subscription-response-class.d.ts +25 -0
  56. package/dist/models/renew-email-subscription-response-class.js +15 -0
  57. package/dist/models/send-email-request-dto.d.ts +131 -0
  58. package/dist/models/send-email-request-dto.js +22 -0
  59. package/dist/models/send-email-response-class.d.ts +24 -0
  60. package/dist/models/send-email-response-class.js +15 -0
  61. package/dist/models/send-notification-request-dto.d.ts +10 -1
  62. package/dist/models/send-notification-request-dto.js +2 -1
  63. package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
  64. package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
  65. package/models/assign-email-thread-entity-body-dto.ts +52 -0
  66. package/models/assign-email-thread-entity-response-class.ts +31 -0
  67. package/models/email-message-class.ts +59 -8
  68. package/models/email-subscription-class.ts +113 -0
  69. package/models/email-thread-class.ts +6 -5
  70. package/models/entity-ref-class.ts +46 -0
  71. package/models/get-email-subscription-response-class.ts +31 -0
  72. package/models/grpc-send-email-request-dto.ts +144 -0
  73. package/models/index.ts +14 -0
  74. package/models/inline-attachment-dto.ts +42 -0
  75. package/models/list-email-subscriptions-response-class.ts +49 -0
  76. package/models/reconcile-email-subscriptions-request-dto.ts +30 -0
  77. package/models/reconcile-email-subscriptions-response-class.ts +54 -0
  78. package/models/renew-email-subscription-response-class.ts +31 -0
  79. package/models/send-email-request-dto.ts +138 -0
  80. package/models/send-email-response-class.ts +30 -0
  81. package/models/send-notification-request-dto.ts +9 -2
  82. package/models/unassign-email-thread-entity-response-class.ts +31 -0
  83. package/package.json +1 -1
@@ -4,10 +4,12 @@
4
4
  README.md
5
5
  api.ts
6
6
  api/email-messages-api.ts
7
+ api/email-subscriptions-api.ts
7
8
  api/email-tracking-api.ts
8
9
  api/email-verifications-api.ts
9
10
  api/health-api.ts
10
11
  api/layouts-api.ts
12
+ api/msgraph-webhooks-api.ts
11
13
  api/notification-templates-api.ts
12
14
  api/notifications-api.ts
13
15
  base.ts
@@ -15,6 +17,8 @@ common.ts
15
17
  configuration.ts
16
18
  git_push.sh
17
19
  index.ts
20
+ models/assign-email-thread-entity-body-dto.ts
21
+ models/assign-email-thread-entity-response-class.ts
18
22
  models/complete-email-verification-dto.ts
19
23
  models/complete-email-verification-response-class.ts
20
24
  models/create-layout-request-dto.ts
@@ -26,29 +30,41 @@ models/delete-notification-template-request-dto.ts
26
30
  models/download-attachment-response-class.ts
27
31
  models/email-attachment-class.ts
28
32
  models/email-message-class.ts
33
+ models/email-subscription-class.ts
29
34
  models/email-thread-class.ts
35
+ models/entity-ref-class.ts
30
36
  models/get-email-message-response-class.ts
37
+ models/get-email-subscription-response-class.ts
31
38
  models/get-email-thread-response-class.ts
32
39
  models/get-layout-request-dto.ts
33
40
  models/get-layout-response-class.ts
34
41
  models/get-notification-template-request-dto.ts
35
42
  models/get-notification-template-response-class.ts
43
+ models/grpc-send-email-request-dto.ts
36
44
  models/html-template-class.ts
37
45
  models/index.ts
38
46
  models/initiate-email-verification-dto.ts
39
47
  models/initiate-email-verification-response-class.ts
48
+ models/inline-attachment-dto.ts
40
49
  models/inline-response200.ts
41
50
  models/inline-response503.ts
42
51
  models/layout-class.ts
43
52
  models/list-email-attachments-response-class.ts
44
53
  models/list-email-messages-response-class.ts
54
+ models/list-email-subscriptions-response-class.ts
45
55
  models/list-email-threads-response-class.ts
46
56
  models/list-layouts-response-class.ts
47
57
  models/list-notification-templates-response-class.ts
48
58
  models/notification-template-class.ts
59
+ models/reconcile-email-subscriptions-request-dto.ts
60
+ models/reconcile-email-subscriptions-response-class.ts
61
+ models/renew-email-subscription-response-class.ts
49
62
  models/s3-document-dto.ts
63
+ models/send-email-request-dto.ts
64
+ models/send-email-response-class.ts
50
65
  models/send-notification-request-dto.ts
51
66
  models/send-notification-response-class.ts
67
+ models/unassign-email-thread-entity-response-class.ts
52
68
  models/update-html-template-request-dto.ts
53
69
  models/update-layout-request-dto.ts
54
70
  models/update-layout-response-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/notification-sdk@0.8.1-beta.4 --save
20
+ npm install @emilgroup/notification-sdk@0.8.1-beta.41 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/notification-sdk@0.8.1-beta.4
24
+ yarn add @emilgroup/notification-sdk@0.8.1-beta.41
25
25
  ```
26
26
 
27
27
  And then you can import ``.
@@ -35,7 +35,8 @@ import { ListEmailMessagesResponseClass } from '../models';
35
35
  export const EmailMessagesApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
38
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
39
+ * @summary Download the email message attachment
39
40
  * @param {string} code
40
41
  * @param {number} attachmentId
41
42
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -83,7 +84,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
83
84
  };
84
85
  },
85
86
  /**
86
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
87
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
88
+ * @summary Retrieve the email message
87
89
  * @param {string} code
88
90
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
89
91
  * @param {*} [options] Override http request option.
@@ -127,7 +129,8 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
127
129
  };
128
130
  },
129
131
  /**
130
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
132
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
133
+ * @summary List the email message attachments
131
134
  * @param {string} code
132
135
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
133
136
  * @param {*} [options] Override http request option.
@@ -171,16 +174,16 @@ export const EmailMessagesApiAxiosParamCreator = function (configuration?: Confi
171
174
  };
172
175
  },
173
176
  /**
174
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
177
+ * 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\"
175
178
  * @summary List email messages
176
179
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
177
180
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
178
181
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
179
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
182
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
180
183
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
181
184
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
182
185
  * @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>
183
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
186
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
184
187
  * @param {*} [options] Override http request option.
185
188
  * @throws {RequiredError}
186
189
  */
@@ -257,7 +260,8 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
257
260
  const localVarAxiosParamCreator = EmailMessagesApiAxiosParamCreator(configuration)
258
261
  return {
259
262
  /**
260
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
263
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
264
+ * @summary Download the email message attachment
261
265
  * @param {string} code
262
266
  * @param {number} attachmentId
263
267
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -269,7 +273,8 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
269
273
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
270
274
  },
271
275
  /**
272
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
276
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
277
+ * @summary Retrieve the email message
273
278
  * @param {string} code
274
279
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
275
280
  * @param {*} [options] Override http request option.
@@ -280,7 +285,8 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
280
285
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
281
286
  },
282
287
  /**
283
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
288
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
289
+ * @summary List the email message attachments
284
290
  * @param {string} code
285
291
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
286
292
  * @param {*} [options] Override http request option.
@@ -291,16 +297,16 @@ export const EmailMessagesApiFp = function(configuration?: Configuration) {
291
297
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
292
298
  },
293
299
  /**
294
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
300
+ * 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\"
295
301
  * @summary List email messages
296
302
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
297
303
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
304
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
299
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
305
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
300
306
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
301
307
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
302
308
  * @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>
303
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
309
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
304
310
  * @param {*} [options] Override http request option.
305
311
  * @throws {RequiredError}
306
312
  */
@@ -319,7 +325,8 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
319
325
  const localVarFp = EmailMessagesApiFp(configuration)
320
326
  return {
321
327
  /**
322
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
328
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
329
+ * @summary Download the email message attachment
323
330
  * @param {string} code
324
331
  * @param {number} attachmentId
325
332
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -330,7 +337,8 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
330
337
  return localVarFp.downloadAttachment(code, attachmentId, authorization, options).then((request) => request(axios, basePath));
331
338
  },
332
339
  /**
333
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
340
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
341
+ * @summary Retrieve the email message
334
342
  * @param {string} code
335
343
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
336
344
  * @param {*} [options] Override http request option.
@@ -340,7 +348,8 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
340
348
  return localVarFp.getMessage(code, authorization, options).then((request) => request(axios, basePath));
341
349
  },
342
350
  /**
343
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
351
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
352
+ * @summary List the email message attachments
344
353
  * @param {string} code
345
354
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
346
355
  * @param {*} [options] Override http request option.
@@ -350,16 +359,16 @@ export const EmailMessagesApiFactory = function (configuration?: Configuration,
350
359
  return localVarFp.listAttachments(code, authorization, options).then((request) => request(axios, basePath));
351
360
  },
352
361
  /**
353
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
362
+ * 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\"
354
363
  * @summary List email messages
355
364
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
356
365
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
357
366
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
358
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
367
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
359
368
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
360
369
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt</i>
361
370
  * @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>
362
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
371
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
363
372
  * @param {*} [options] Override http request option.
364
373
  * @throws {RequiredError}
365
374
  */
@@ -467,7 +476,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
467
476
  readonly pageToken?: string
468
477
 
469
478
  /**
470
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
479
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
471
480
  * @type {string}
472
481
  * @memberof EmailMessagesApiListEmailMessages
473
482
  */
@@ -495,7 +504,7 @@ export interface EmailMessagesApiListEmailMessagesRequest {
495
504
  readonly expand?: string
496
505
 
497
506
  /**
498
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
507
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, threadCode, entityType, entityCode, entityNumber, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy</i>
499
508
  * @type {string}
500
509
  * @memberof EmailMessagesApiListEmailMessages
501
510
  */
@@ -510,7 +519,8 @@ export interface EmailMessagesApiListEmailMessagesRequest {
510
519
  */
511
520
  export class EmailMessagesApi extends BaseAPI {
512
521
  /**
513
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
522
+ * Returns a download URL for the given attachment of the email message. **Required Permissions** \"notification-management.email-messages.view\"
523
+ * @summary Download the email message attachment
514
524
  * @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.
515
525
  * @param {*} [options] Override http request option.
516
526
  * @throws {RequiredError}
@@ -521,7 +531,8 @@ export class EmailMessagesApi extends BaseAPI {
521
531
  }
522
532
 
523
533
  /**
524
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
534
+ * Retrieves the details of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
535
+ * @summary Retrieve the email message
525
536
  * @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.
526
537
  * @param {*} [options] Override http request option.
527
538
  * @throws {RequiredError}
@@ -532,7 +543,8 @@ export class EmailMessagesApi extends BaseAPI {
532
543
  }
533
544
 
534
545
  /**
535
- * undefined **Required Permissions** \"notification-management.email-messages.view\"
546
+ * Returns the attachments of the email message with the given code. **Required Permissions** \"notification-management.email-messages.view\"
547
+ * @summary List the email message attachments
536
548
  * @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.
537
549
  * @param {*} [options] Override http request option.
538
550
  * @throws {RequiredError}
@@ -543,7 +555,7 @@ export class EmailMessagesApi extends BaseAPI {
543
555
  }
544
556
 
545
557
  /**
546
- * Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
558
+ * 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\"
547
559
  * @summary List email messages
548
560
  * @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.
549
561
  * @param {*} [options] Override http request option.