@emilgroup/notification-sdk 0.8.1-beta.4 → 0.8.1-beta.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +9 -0
- package/README.md +2 -2
- package/api/email-messages-api.ts +36 -24
- package/api/email-tracking-api.ts +263 -32
- package/api/email-verifications-api.ts +16 -8
- package/api/layouts-api.ts +56 -36
- package/api/msgraph-webhooks-api.ts +278 -0
- package/api/notification-templates-api.ts +56 -36
- package/api/notifications-api.ts +115 -4
- package/api.ts +2 -0
- package/dist/api/email-messages-api.d.ts +36 -24
- package/dist/api/email-messages-api.js +34 -22
- package/dist/api/email-tracking-api.d.ts +162 -32
- package/dist/api/email-tracking-api.js +227 -28
- package/dist/api/email-verifications-api.d.ts +16 -8
- package/dist/api/email-verifications-api.js +16 -8
- package/dist/api/layouts-api.d.ts +56 -36
- package/dist/api/layouts-api.js +52 -32
- package/dist/api/msgraph-webhooks-api.d.ts +168 -0
- package/dist/api/msgraph-webhooks-api.js +305 -0
- package/dist/api/notification-templates-api.d.ts +56 -36
- package/dist/api/notification-templates-api.js +52 -32
- package/dist/api/notifications-api.d.ts +65 -4
- package/dist/api/notifications-api.js +101 -4
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/assign-email-thread-entity-body-dto.d.ts +43 -0
- package/dist/models/assign-email-thread-entity-body-dto.js +22 -0
- package/dist/models/assign-email-thread-entity-response-class.d.ts +25 -0
- package/dist/models/assign-email-thread-entity-response-class.js +15 -0
- package/dist/models/email-message-class.d.ts +49 -7
- package/dist/models/email-message-class.js +16 -2
- package/dist/models/email-thread-class.d.ts +6 -5
- package/dist/models/entity-ref-class.d.ts +37 -0
- package/dist/models/entity-ref-class.js +22 -0
- package/dist/models/grpc-send-email-request-dto.d.ts +137 -0
- package/dist/models/grpc-send-email-request-dto.js +22 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/inline-attachment-dto.d.ts +36 -0
- package/dist/models/inline-attachment-dto.js +15 -0
- package/dist/models/send-email-request-dto.d.ts +131 -0
- package/dist/models/send-email-request-dto.js +22 -0
- package/dist/models/send-email-response-class.d.ts +24 -0
- package/dist/models/send-email-response-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +10 -1
- package/dist/models/send-notification-request-dto.js +2 -1
- package/dist/models/unassign-email-thread-entity-response-class.d.ts +25 -0
- package/dist/models/unassign-email-thread-entity-response-class.js +15 -0
- package/models/assign-email-thread-entity-body-dto.ts +52 -0
- package/models/assign-email-thread-entity-response-class.ts +31 -0
- package/models/email-message-class.ts +53 -8
- package/models/email-thread-class.ts +6 -5
- package/models/entity-ref-class.ts +46 -0
- package/models/grpc-send-email-request-dto.ts +144 -0
- package/models/index.ts +8 -0
- package/models/inline-attachment-dto.ts +42 -0
- package/models/send-email-request-dto.ts +138 -0
- package/models/send-email-response-class.ts +30 -0
- package/models/send-notification-request-dto.ts +9 -2
- package/models/unassign-email-thread-entity-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -8,6 +8,7 @@ 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
|
|
11
12
|
api/notification-templates-api.ts
|
|
12
13
|
api/notifications-api.ts
|
|
13
14
|
base.ts
|
|
@@ -15,6 +16,8 @@ common.ts
|
|
|
15
16
|
configuration.ts
|
|
16
17
|
git_push.sh
|
|
17
18
|
index.ts
|
|
19
|
+
models/assign-email-thread-entity-body-dto.ts
|
|
20
|
+
models/assign-email-thread-entity-response-class.ts
|
|
18
21
|
models/complete-email-verification-dto.ts
|
|
19
22
|
models/complete-email-verification-response-class.ts
|
|
20
23
|
models/create-layout-request-dto.ts
|
|
@@ -27,16 +30,19 @@ models/download-attachment-response-class.ts
|
|
|
27
30
|
models/email-attachment-class.ts
|
|
28
31
|
models/email-message-class.ts
|
|
29
32
|
models/email-thread-class.ts
|
|
33
|
+
models/entity-ref-class.ts
|
|
30
34
|
models/get-email-message-response-class.ts
|
|
31
35
|
models/get-email-thread-response-class.ts
|
|
32
36
|
models/get-layout-request-dto.ts
|
|
33
37
|
models/get-layout-response-class.ts
|
|
34
38
|
models/get-notification-template-request-dto.ts
|
|
35
39
|
models/get-notification-template-response-class.ts
|
|
40
|
+
models/grpc-send-email-request-dto.ts
|
|
36
41
|
models/html-template-class.ts
|
|
37
42
|
models/index.ts
|
|
38
43
|
models/initiate-email-verification-dto.ts
|
|
39
44
|
models/initiate-email-verification-response-class.ts
|
|
45
|
+
models/inline-attachment-dto.ts
|
|
40
46
|
models/inline-response200.ts
|
|
41
47
|
models/inline-response503.ts
|
|
42
48
|
models/layout-class.ts
|
|
@@ -47,8 +53,11 @@ models/list-layouts-response-class.ts
|
|
|
47
53
|
models/list-notification-templates-response-class.ts
|
|
48
54
|
models/notification-template-class.ts
|
|
49
55
|
models/s3-document-dto.ts
|
|
56
|
+
models/send-email-request-dto.ts
|
|
57
|
+
models/send-email-response-class.ts
|
|
50
58
|
models/send-notification-request-dto.ts
|
|
51
59
|
models/send-notification-response-class.ts
|
|
60
|
+
models/unassign-email-thread-entity-response-class.ts
|
|
52
61
|
models/update-html-template-request-dto.ts
|
|
53
62
|
models/update-layout-request-dto.ts
|
|
54
63
|
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.
|
|
20
|
+
npm install @emilgroup/notification-sdk@0.8.1-beta.40 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/notification-sdk@0.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/notification-sdk@0.8.1-beta.40
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|