@emilgroup/notification-sdk 0.1.1-beta.8 → 0.2.1-beta.11
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/README.md +2 -2
- package/api/email-messages-api.ts +55 -51
- package/api/email-tracking-api.ts +102 -38
- package/dist/api/email-messages-api.d.ts +52 -48
- package/dist/api/email-messages-api.js +40 -36
- package/dist/api/email-tracking-api.d.ts +79 -35
- package/dist/api/email-tracking-api.js +66 -34
- package/dist/models/email-message-class.d.ts +8 -2
- package/dist/models/email-thread-class.d.ts +2 -2
- package/models/email-message-class.ts +8 -2
- package/models/email-thread-class.ts +2 -2
- package/package.json +2 -2
|
@@ -21,7 +21,7 @@ import { ListEmailThreadsResponseClass } from '../models';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
* undefined **Required Permissions**
|
|
24
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
25
25
|
* @param {string} code
|
|
26
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
@@ -29,7 +29,7 @@ export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configu
|
|
|
29
29
|
*/
|
|
30
30
|
closeThread: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
* undefined **Required Permissions**
|
|
32
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
33
33
|
* @param {string} code
|
|
34
34
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
@@ -37,23 +37,29 @@ export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configu
|
|
|
37
37
|
*/
|
|
38
38
|
getThread: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
41
|
+
* @summary List email messages
|
|
41
42
|
* @param {string} code
|
|
42
43
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
44
|
+
* @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>
|
|
45
|
+
* @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>
|
|
46
|
+
* @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>
|
|
47
|
+
* @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>
|
|
43
48
|
* @param {*} [options] Override http request option.
|
|
44
49
|
* @throws {RequiredError}
|
|
45
50
|
*/
|
|
46
|
-
listMessages: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
listMessages: (code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
52
|
/**
|
|
48
|
-
*
|
|
53
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
54
|
+
* @summary List email threads
|
|
49
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
56
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
51
57
|
* @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.
|
|
52
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
58
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
53
59
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
54
|
-
* @param {string} [order]
|
|
55
|
-
* @param {string} [expand]
|
|
56
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
60
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
61
|
+
* @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: messages<i>
|
|
62
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
57
63
|
* @param {*} [options] Override http request option.
|
|
58
64
|
* @throws {RequiredError}
|
|
59
65
|
*/
|
|
@@ -65,7 +71,7 @@ export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configu
|
|
|
65
71
|
*/
|
|
66
72
|
export declare const EmailTrackingApiFp: (configuration?: Configuration) => {
|
|
67
73
|
/**
|
|
68
|
-
* undefined **Required Permissions**
|
|
74
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
69
75
|
* @param {string} code
|
|
70
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
71
77
|
* @param {*} [options] Override http request option.
|
|
@@ -73,7 +79,7 @@ export declare const EmailTrackingApiFp: (configuration?: Configuration) => {
|
|
|
73
79
|
*/
|
|
74
80
|
closeThread(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmailThreadResponseClass>>;
|
|
75
81
|
/**
|
|
76
|
-
* undefined **Required Permissions**
|
|
82
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
77
83
|
* @param {string} code
|
|
78
84
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
79
85
|
* @param {*} [options] Override http request option.
|
|
@@ -81,23 +87,29 @@ export declare const EmailTrackingApiFp: (configuration?: Configuration) => {
|
|
|
81
87
|
*/
|
|
82
88
|
getThread(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEmailThreadResponseClass>>;
|
|
83
89
|
/**
|
|
84
|
-
*
|
|
90
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
91
|
+
* @summary List email messages
|
|
85
92
|
* @param {string} code
|
|
86
93
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
+
* @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>
|
|
95
|
+
* @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>
|
|
96
|
+
* @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>
|
|
97
|
+
* @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>
|
|
87
98
|
* @param {*} [options] Override http request option.
|
|
88
99
|
* @throws {RequiredError}
|
|
89
100
|
*/
|
|
90
|
-
listMessages(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>>;
|
|
101
|
+
listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>>;
|
|
91
102
|
/**
|
|
92
|
-
*
|
|
103
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
104
|
+
* @summary List email threads
|
|
93
105
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
106
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
95
107
|
* @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.
|
|
96
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
108
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
97
109
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
98
|
-
* @param {string} [order]
|
|
99
|
-
* @param {string} [expand]
|
|
100
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
110
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
111
|
+
* @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: messages<i>
|
|
112
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
101
113
|
* @param {*} [options] Override http request option.
|
|
102
114
|
* @throws {RequiredError}
|
|
103
115
|
*/
|
|
@@ -109,7 +121,7 @@ export declare const EmailTrackingApiFp: (configuration?: Configuration) => {
|
|
|
109
121
|
*/
|
|
110
122
|
export declare const EmailTrackingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
111
123
|
/**
|
|
112
|
-
* undefined **Required Permissions**
|
|
124
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
113
125
|
* @param {string} code
|
|
114
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
127
|
* @param {*} [options] Override http request option.
|
|
@@ -117,7 +129,7 @@ export declare const EmailTrackingApiFactory: (configuration?: Configuration, ba
|
|
|
117
129
|
*/
|
|
118
130
|
closeThread(code: string, authorization?: string, options?: any): AxiosPromise<GetEmailThreadResponseClass>;
|
|
119
131
|
/**
|
|
120
|
-
* undefined **Required Permissions**
|
|
132
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
121
133
|
* @param {string} code
|
|
122
134
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
123
135
|
* @param {*} [options] Override http request option.
|
|
@@ -125,23 +137,29 @@ export declare const EmailTrackingApiFactory: (configuration?: Configuration, ba
|
|
|
125
137
|
*/
|
|
126
138
|
getThread(code: string, authorization?: string, options?: any): AxiosPromise<GetEmailThreadResponseClass>;
|
|
127
139
|
/**
|
|
128
|
-
*
|
|
140
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
141
|
+
* @summary List email messages
|
|
129
142
|
* @param {string} code
|
|
130
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
+
* @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>
|
|
145
|
+
* @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>
|
|
146
|
+
* @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>
|
|
147
|
+
* @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>
|
|
131
148
|
* @param {*} [options] Override http request option.
|
|
132
149
|
* @throws {RequiredError}
|
|
133
150
|
*/
|
|
134
|
-
listMessages(code: string, authorization?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass>;
|
|
151
|
+
listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass>;
|
|
135
152
|
/**
|
|
136
|
-
*
|
|
153
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
154
|
+
* @summary List email threads
|
|
137
155
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
138
156
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
139
157
|
* @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.
|
|
140
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
158
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
141
159
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
142
|
-
* @param {string} [order]
|
|
143
|
-
* @param {string} [expand]
|
|
144
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
160
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
161
|
+
* @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: messages<i>
|
|
162
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
145
163
|
* @param {*} [options] Override http request option.
|
|
146
164
|
* @throws {RequiredError}
|
|
147
165
|
*/
|
|
@@ -203,6 +221,30 @@ export interface EmailTrackingApiListMessagesRequest {
|
|
|
203
221
|
* @memberof EmailTrackingApiListMessages
|
|
204
222
|
*/
|
|
205
223
|
readonly authorization?: string;
|
|
224
|
+
/**
|
|
225
|
+
* 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>
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof EmailTrackingApiListMessages
|
|
228
|
+
*/
|
|
229
|
+
readonly filter?: string;
|
|
230
|
+
/**
|
|
231
|
+
* 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>
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof EmailTrackingApiListMessages
|
|
234
|
+
*/
|
|
235
|
+
readonly filters?: string;
|
|
236
|
+
/**
|
|
237
|
+
* 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>
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof EmailTrackingApiListMessages
|
|
240
|
+
*/
|
|
241
|
+
readonly order?: string;
|
|
242
|
+
/**
|
|
243
|
+
* 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>
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof EmailTrackingApiListMessages
|
|
246
|
+
*/
|
|
247
|
+
readonly expand?: string;
|
|
206
248
|
}
|
|
207
249
|
/**
|
|
208
250
|
* Request parameters for listThreads operation in EmailTrackingApi.
|
|
@@ -229,7 +271,7 @@ export interface EmailTrackingApiListThreadsRequest {
|
|
|
229
271
|
*/
|
|
230
272
|
readonly pageToken?: string;
|
|
231
273
|
/**
|
|
232
|
-
* Filter the response by one or multiple fields.
|
|
274
|
+
* 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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
233
275
|
* @type {string}
|
|
234
276
|
* @memberof EmailTrackingApiListThreads
|
|
235
277
|
*/
|
|
@@ -241,19 +283,19 @@ export interface EmailTrackingApiListThreadsRequest {
|
|
|
241
283
|
*/
|
|
242
284
|
readonly search?: string;
|
|
243
285
|
/**
|
|
244
|
-
*
|
|
286
|
+
* 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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
245
287
|
* @type {string}
|
|
246
288
|
* @memberof EmailTrackingApiListThreads
|
|
247
289
|
*/
|
|
248
290
|
readonly order?: string;
|
|
249
291
|
/**
|
|
250
|
-
*
|
|
292
|
+
* 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: messages<i>
|
|
251
293
|
* @type {string}
|
|
252
294
|
* @memberof EmailTrackingApiListThreads
|
|
253
295
|
*/
|
|
254
296
|
readonly expand?: string;
|
|
255
297
|
/**
|
|
256
|
-
* Filters the response by one or multiple fields.
|
|
298
|
+
* 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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
257
299
|
* @type {string}
|
|
258
300
|
* @memberof EmailTrackingApiListThreads
|
|
259
301
|
*/
|
|
@@ -267,7 +309,7 @@ export interface EmailTrackingApiListThreadsRequest {
|
|
|
267
309
|
*/
|
|
268
310
|
export declare class EmailTrackingApi extends BaseAPI {
|
|
269
311
|
/**
|
|
270
|
-
* undefined **Required Permissions**
|
|
312
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
271
313
|
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
|
|
272
314
|
* @param {*} [options] Override http request option.
|
|
273
315
|
* @throws {RequiredError}
|
|
@@ -275,7 +317,7 @@ export declare class EmailTrackingApi extends BaseAPI {
|
|
|
275
317
|
*/
|
|
276
318
|
closeThread(requestParameters: EmailTrackingApiCloseThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}>>;
|
|
277
319
|
/**
|
|
278
|
-
* undefined **Required Permissions**
|
|
320
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
279
321
|
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
|
|
280
322
|
* @param {*} [options] Override http request option.
|
|
281
323
|
* @throws {RequiredError}
|
|
@@ -283,7 +325,8 @@ export declare class EmailTrackingApi extends BaseAPI {
|
|
|
283
325
|
*/
|
|
284
326
|
getThread(requestParameters: EmailTrackingApiGetThreadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEmailThreadResponseClass, any, {}>>;
|
|
285
327
|
/**
|
|
286
|
-
*
|
|
328
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
329
|
+
* @summary List email messages
|
|
287
330
|
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
|
|
288
331
|
* @param {*} [options] Override http request option.
|
|
289
332
|
* @throws {RequiredError}
|
|
@@ -291,7 +334,8 @@ export declare class EmailTrackingApi extends BaseAPI {
|
|
|
291
334
|
*/
|
|
292
335
|
listMessages(requestParameters: EmailTrackingApiListMessagesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListEmailMessagesResponseClass, any, {}>>;
|
|
293
336
|
/**
|
|
294
|
-
*
|
|
337
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
338
|
+
* @summary List email threads
|
|
295
339
|
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
|
|
296
340
|
* @param {*} [options] Override http request option.
|
|
297
341
|
* @throws {RequiredError}
|
|
@@ -93,7 +93,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* undefined **Required Permissions**
|
|
96
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
97
97
|
* @param {string} code
|
|
98
98
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
@@ -140,7 +140,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
140
140
|
});
|
|
141
141
|
},
|
|
142
142
|
/**
|
|
143
|
-
* undefined **Required Permissions**
|
|
143
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
144
144
|
* @param {string} code
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
@@ -187,13 +187,18 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
187
187
|
});
|
|
188
188
|
},
|
|
189
189
|
/**
|
|
190
|
-
*
|
|
190
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
191
|
+
* @summary List email messages
|
|
191
192
|
* @param {string} code
|
|
192
193
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
|
+
* @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>
|
|
195
|
+
* @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>
|
|
196
|
+
* @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>
|
|
197
|
+
* @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>
|
|
193
198
|
* @param {*} [options] Override http request option.
|
|
194
199
|
* @throws {RequiredError}
|
|
195
200
|
*/
|
|
196
|
-
listMessages: function (code, authorization, options) {
|
|
201
|
+
listMessages: function (code, authorization, filter, filters, order, expand, options) {
|
|
197
202
|
if (options === void 0) { options = {}; }
|
|
198
203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
199
204
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -219,6 +224,18 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
219
224
|
// authentication bearer required
|
|
220
225
|
// http bearer authentication required
|
|
221
226
|
_a.sent();
|
|
227
|
+
if (filter !== undefined) {
|
|
228
|
+
localVarQueryParameter['filter'] = filter;
|
|
229
|
+
}
|
|
230
|
+
if (filters !== undefined) {
|
|
231
|
+
localVarQueryParameter['filters'] = filters;
|
|
232
|
+
}
|
|
233
|
+
if (order !== undefined) {
|
|
234
|
+
localVarQueryParameter['order'] = order;
|
|
235
|
+
}
|
|
236
|
+
if (expand !== undefined) {
|
|
237
|
+
localVarQueryParameter['expand'] = expand;
|
|
238
|
+
}
|
|
222
239
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
223
240
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
224
241
|
}
|
|
@@ -234,15 +251,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
|
|
|
234
251
|
});
|
|
235
252
|
},
|
|
236
253
|
/**
|
|
237
|
-
*
|
|
254
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
255
|
+
* @summary List email threads
|
|
238
256
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
257
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
240
258
|
* @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.
|
|
241
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
259
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
242
260
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
243
|
-
* @param {string} [order]
|
|
244
|
-
* @param {string} [expand]
|
|
245
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
261
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
262
|
+
* @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: messages<i>
|
|
263
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
246
264
|
* @param {*} [options] Override http request option.
|
|
247
265
|
* @throws {RequiredError}
|
|
248
266
|
*/
|
|
@@ -315,7 +333,7 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
315
333
|
var localVarAxiosParamCreator = (0, exports.EmailTrackingApiAxiosParamCreator)(configuration);
|
|
316
334
|
return {
|
|
317
335
|
/**
|
|
318
|
-
* undefined **Required Permissions**
|
|
336
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
319
337
|
* @param {string} code
|
|
320
338
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
321
339
|
* @param {*} [options] Override http request option.
|
|
@@ -335,7 +353,7 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
335
353
|
});
|
|
336
354
|
},
|
|
337
355
|
/**
|
|
338
|
-
* undefined **Required Permissions**
|
|
356
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
339
357
|
* @param {string} code
|
|
340
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
341
359
|
* @param {*} [options] Override http request option.
|
|
@@ -355,18 +373,23 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
355
373
|
});
|
|
356
374
|
},
|
|
357
375
|
/**
|
|
358
|
-
*
|
|
376
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
377
|
+
* @summary List email messages
|
|
359
378
|
* @param {string} code
|
|
360
379
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
380
|
+
* @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>
|
|
381
|
+
* @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>
|
|
382
|
+
* @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>
|
|
383
|
+
* @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>
|
|
361
384
|
* @param {*} [options] Override http request option.
|
|
362
385
|
* @throws {RequiredError}
|
|
363
386
|
*/
|
|
364
|
-
listMessages: function (code, authorization, options) {
|
|
387
|
+
listMessages: function (code, authorization, filter, filters, order, expand, options) {
|
|
365
388
|
return __awaiter(this, void 0, void 0, function () {
|
|
366
389
|
var localVarAxiosArgs;
|
|
367
390
|
return __generator(this, function (_a) {
|
|
368
391
|
switch (_a.label) {
|
|
369
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, options)];
|
|
392
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, filter, filters, order, expand, options)];
|
|
370
393
|
case 1:
|
|
371
394
|
localVarAxiosArgs = _a.sent();
|
|
372
395
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -375,15 +398,16 @@ var EmailTrackingApiFp = function (configuration) {
|
|
|
375
398
|
});
|
|
376
399
|
},
|
|
377
400
|
/**
|
|
378
|
-
*
|
|
401
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
402
|
+
* @summary List email threads
|
|
379
403
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
380
404
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
381
405
|
* @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.
|
|
382
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
406
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
383
407
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
384
|
-
* @param {string} [order]
|
|
385
|
-
* @param {string} [expand]
|
|
386
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
408
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
409
|
+
* @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: messages<i>
|
|
410
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
387
411
|
* @param {*} [options] Override http request option.
|
|
388
412
|
* @throws {RequiredError}
|
|
389
413
|
*/
|
|
@@ -411,7 +435,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
411
435
|
var localVarFp = (0, exports.EmailTrackingApiFp)(configuration);
|
|
412
436
|
return {
|
|
413
437
|
/**
|
|
414
|
-
* undefined **Required Permissions**
|
|
438
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
415
439
|
* @param {string} code
|
|
416
440
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
417
441
|
* @param {*} [options] Override http request option.
|
|
@@ -421,7 +445,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
421
445
|
return localVarFp.closeThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
422
446
|
},
|
|
423
447
|
/**
|
|
424
|
-
* undefined **Required Permissions**
|
|
448
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
425
449
|
* @param {string} code
|
|
426
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
427
451
|
* @param {*} [options] Override http request option.
|
|
@@ -431,25 +455,31 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
|
|
|
431
455
|
return localVarFp.getThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
432
456
|
},
|
|
433
457
|
/**
|
|
434
|
-
*
|
|
458
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
459
|
+
* @summary List email messages
|
|
435
460
|
* @param {string} code
|
|
436
461
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
462
|
+
* @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>
|
|
463
|
+
* @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>
|
|
464
|
+
* @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>
|
|
465
|
+
* @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>
|
|
437
466
|
* @param {*} [options] Override http request option.
|
|
438
467
|
* @throws {RequiredError}
|
|
439
468
|
*/
|
|
440
|
-
listMessages: function (code, authorization, options) {
|
|
441
|
-
return localVarFp.listMessages(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
469
|
+
listMessages: function (code, authorization, filter, filters, order, expand, options) {
|
|
470
|
+
return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
442
471
|
},
|
|
443
472
|
/**
|
|
444
|
-
*
|
|
473
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
474
|
+
* @summary List email threads
|
|
445
475
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
446
476
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
447
477
|
* @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.
|
|
448
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
478
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
449
479
|
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
450
|
-
* @param {string} [order]
|
|
451
|
-
* @param {string} [expand]
|
|
452
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
480
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt</i>
|
|
481
|
+
* @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: messages<i>
|
|
482
|
+
* @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, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy</i>
|
|
453
483
|
* @param {*} [options] Override http request option.
|
|
454
484
|
* @throws {RequiredError}
|
|
455
485
|
*/
|
|
@@ -471,7 +501,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
471
501
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
472
502
|
}
|
|
473
503
|
/**
|
|
474
|
-
* undefined **Required Permissions**
|
|
504
|
+
* undefined **Required Permissions** \"notification-management.email-messages.update\"
|
|
475
505
|
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
|
|
476
506
|
* @param {*} [options] Override http request option.
|
|
477
507
|
* @throws {RequiredError}
|
|
@@ -482,7 +512,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
482
512
|
return (0, exports.EmailTrackingApiFp)(this.configuration).closeThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
483
513
|
};
|
|
484
514
|
/**
|
|
485
|
-
* undefined **Required Permissions**
|
|
515
|
+
* undefined **Required Permissions** \"notification-management.email-messages.view\"
|
|
486
516
|
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
|
|
487
517
|
* @param {*} [options] Override http request option.
|
|
488
518
|
* @throws {RequiredError}
|
|
@@ -493,7 +523,8 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
493
523
|
return (0, exports.EmailTrackingApiFp)(this.configuration).getThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
494
524
|
};
|
|
495
525
|
/**
|
|
496
|
-
*
|
|
526
|
+
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
|
|
527
|
+
* @summary List email messages
|
|
497
528
|
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
|
|
498
529
|
* @param {*} [options] Override http request option.
|
|
499
530
|
* @throws {RequiredError}
|
|
@@ -501,10 +532,11 @@ var EmailTrackingApi = /** @class */ (function (_super) {
|
|
|
501
532
|
*/
|
|
502
533
|
EmailTrackingApi.prototype.listMessages = function (requestParameters, options) {
|
|
503
534
|
var _this = this;
|
|
504
|
-
return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
535
|
+
return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
505
536
|
};
|
|
506
537
|
/**
|
|
507
|
-
*
|
|
538
|
+
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
|
|
539
|
+
* @summary List email threads
|
|
508
540
|
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
|
|
509
541
|
* @param {*} [options] Override http request option.
|
|
510
542
|
* @throws {RequiredError}
|
|
@@ -70,6 +70,12 @@ export interface EmailMessageClass {
|
|
|
70
70
|
* @memberof EmailMessageClass
|
|
71
71
|
*/
|
|
72
72
|
'bodyText'?: string;
|
|
73
|
+
/**
|
|
74
|
+
* HTML body of the email
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof EmailMessageClass
|
|
77
|
+
*/
|
|
78
|
+
'bodyHtml'?: string;
|
|
73
79
|
/**
|
|
74
80
|
* Delivery status of the email
|
|
75
81
|
* @type {string}
|
|
@@ -107,13 +113,13 @@ export interface EmailMessageClass {
|
|
|
107
113
|
*/
|
|
108
114
|
'updatedBy': string;
|
|
109
115
|
/**
|
|
110
|
-
*
|
|
116
|
+
* Created at timestamp
|
|
111
117
|
* @type {string}
|
|
112
118
|
* @memberof EmailMessageClass
|
|
113
119
|
*/
|
|
114
120
|
'createdAt': string;
|
|
115
121
|
/**
|
|
116
|
-
*
|
|
122
|
+
* Updated at timestamp
|
|
117
123
|
* @type {string}
|
|
118
124
|
* @memberof EmailMessageClass
|
|
119
125
|
*/
|
|
@@ -64,13 +64,13 @@ export interface EmailThreadClass {
|
|
|
64
64
|
*/
|
|
65
65
|
'updatedBy': string;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Created at timestamp
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof EmailThreadClass
|
|
70
70
|
*/
|
|
71
71
|
'createdAt': string;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* Updated at timestamp
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof EmailThreadClass
|
|
76
76
|
*/
|