@emilgroup/notification-sdk-node 1.4.1-beta.29 → 1.4.1-beta.31

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.
@@ -21,7 +21,7 @@ import { ListEmailThreadsResponseClass } from '../models';
21
21
  */
22
22
  export declare const EmailTrackingApiAxiosParamCreator: (configuration?: Configuration) => {
23
23
  /**
24
- * undefined **Required Permissions** none
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** none
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
- * undefined **Required Permissions** none
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
45
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
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
- * undefined **Required Permissions** none
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
52
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
58
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
53
59
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
54
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
55
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
56
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
62
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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** none
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** none
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
- * undefined **Required Permissions** none
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
95
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
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
- * undefined **Required Permissions** none
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
96
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
108
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
97
109
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
98
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
99
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
100
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
112
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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** none
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** none
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
- * undefined **Required Permissions** none
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
145
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
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
- * undefined **Required Permissions** none
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
140
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
158
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
141
159
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
142
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
143
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
144
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
162
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
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. In general, fetching filtered responses will conserve bandwidth and reduce response time.
274
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
286
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
245
287
  * @type {string}
246
288
  * @memberof EmailTrackingApiListThreads
247
289
  */
248
290
  readonly order?: string;
249
291
  /**
250
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
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. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
298
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
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** none
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** none
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
- * undefined **Required Permissions** none
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
- * undefined **Required Permissions** none
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}
@@ -97,7 +97,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- * undefined **Required Permissions** none
100
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
101
101
  * @param {string} code
102
102
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
103
103
  * @param {*} [options] Override http request option.
@@ -144,7 +144,7 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
144
144
  });
145
145
  },
146
146
  /**
147
- * undefined **Required Permissions** none
147
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
148
148
  * @param {string} code
149
149
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
150
  * @param {*} [options] Override http request option.
@@ -191,13 +191,18 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
191
191
  });
192
192
  },
193
193
  /**
194
- * undefined **Required Permissions** none
194
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
195
+ * @summary List email messages
195
196
  * @param {string} code
196
197
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
199
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
200
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
201
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
197
202
  * @param {*} [options] Override http request option.
198
203
  * @throws {RequiredError}
199
204
  */
200
- listMessages: function (code, authorization, options) {
205
+ listMessages: function (code, authorization, filter, filters, order, expand, options) {
201
206
  if (options === void 0) { options = {}; }
202
207
  return __awaiter(_this, void 0, void 0, function () {
203
208
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -223,6 +228,18 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
223
228
  // authentication bearer required
224
229
  // http bearer authentication required
225
230
  _a.sent();
231
+ if (filter !== undefined) {
232
+ localVarQueryParameter['filter'] = filter;
233
+ }
234
+ if (filters !== undefined) {
235
+ localVarQueryParameter['filters'] = filters;
236
+ }
237
+ if (order !== undefined) {
238
+ localVarQueryParameter['order'] = order;
239
+ }
240
+ if (expand !== undefined) {
241
+ localVarQueryParameter['expand'] = expand;
242
+ }
226
243
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
227
244
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
228
245
  }
@@ -238,15 +255,16 @@ var EmailTrackingApiAxiosParamCreator = function (configuration) {
238
255
  });
239
256
  },
240
257
  /**
241
- * undefined **Required Permissions** none
258
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
259
+ * @summary List email threads
242
260
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
243
261
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
244
262
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
245
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
263
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
246
264
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
247
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
248
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
249
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
265
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
266
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
267
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
250
268
  * @param {*} [options] Override http request option.
251
269
  * @throws {RequiredError}
252
270
  */
@@ -319,7 +337,7 @@ var EmailTrackingApiFp = function (configuration) {
319
337
  var localVarAxiosParamCreator = (0, exports.EmailTrackingApiAxiosParamCreator)(configuration);
320
338
  return {
321
339
  /**
322
- * undefined **Required Permissions** none
340
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
323
341
  * @param {string} code
324
342
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
325
343
  * @param {*} [options] Override http request option.
@@ -339,7 +357,7 @@ var EmailTrackingApiFp = function (configuration) {
339
357
  });
340
358
  },
341
359
  /**
342
- * undefined **Required Permissions** none
360
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
343
361
  * @param {string} code
344
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
345
363
  * @param {*} [options] Override http request option.
@@ -359,18 +377,23 @@ var EmailTrackingApiFp = function (configuration) {
359
377
  });
360
378
  },
361
379
  /**
362
- * undefined **Required Permissions** none
380
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
381
+ * @summary List email messages
363
382
  * @param {string} code
364
383
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
384
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
385
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
386
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
387
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
365
388
  * @param {*} [options] Override http request option.
366
389
  * @throws {RequiredError}
367
390
  */
368
- listMessages: function (code, authorization, options) {
391
+ listMessages: function (code, authorization, filter, filters, order, expand, options) {
369
392
  return __awaiter(this, void 0, void 0, function () {
370
393
  var localVarAxiosArgs;
371
394
  return __generator(this, function (_a) {
372
395
  switch (_a.label) {
373
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, options)];
396
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, filter, filters, order, expand, options)];
374
397
  case 1:
375
398
  localVarAxiosArgs = _a.sent();
376
399
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -379,15 +402,16 @@ var EmailTrackingApiFp = function (configuration) {
379
402
  });
380
403
  },
381
404
  /**
382
- * undefined **Required Permissions** none
405
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
406
+ * @summary List email threads
383
407
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
384
408
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
385
409
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
386
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
410
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
387
411
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
388
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
389
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
390
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
412
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
413
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
414
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
391
415
  * @param {*} [options] Override http request option.
392
416
  * @throws {RequiredError}
393
417
  */
@@ -415,7 +439,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
415
439
  var localVarFp = (0, exports.EmailTrackingApiFp)(configuration);
416
440
  return {
417
441
  /**
418
- * undefined **Required Permissions** none
442
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
419
443
  * @param {string} code
420
444
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
421
445
  * @param {*} [options] Override http request option.
@@ -425,7 +449,7 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
425
449
  return localVarFp.closeThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
426
450
  },
427
451
  /**
428
- * undefined **Required Permissions** none
452
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
429
453
  * @param {string} code
430
454
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
431
455
  * @param {*} [options] Override http request option.
@@ -435,25 +459,31 @@ var EmailTrackingApiFactory = function (configuration, basePath, axios) {
435
459
  return localVarFp.getThread(code, authorization, options).then(function (request) { return request(axios, basePath); });
436
460
  },
437
461
  /**
438
- * undefined **Required Permissions** none
462
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
463
+ * @summary List email messages
439
464
  * @param {string} code
440
465
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
467
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, entityType, entityCode, direction, deliveryStatus, fromAddress, subject, notificationRequestId, sentAt, receivedAt, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
468
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, threadCode, direction, deliveryStatus, fromAddress, subject, sentAt, receivedAt, createdAt, updatedAt&lt;/i&gt;
469
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: attachments&lt;i&gt;
441
470
  * @param {*} [options] Override http request option.
442
471
  * @throws {RequiredError}
443
472
  */
444
- listMessages: function (code, authorization, options) {
445
- return localVarFp.listMessages(code, authorization, options).then(function (request) { return request(axios, basePath); });
473
+ listMessages: function (code, authorization, filter, filters, order, expand, options) {
474
+ return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
446
475
  },
447
476
  /**
448
- * undefined **Required Permissions** none
477
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
478
+ * @summary List email threads
449
479
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
450
480
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
451
481
  * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
452
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
482
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
453
483
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
454
- * @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
455
- * @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
456
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
484
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt&lt;/i&gt;
485
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: messages&lt;i&gt;
486
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, entityType, entityCode, subject, status, createdAt, updatedAt, createdBy, updatedBy&lt;/i&gt;
457
487
  * @param {*} [options] Override http request option.
458
488
  * @throws {RequiredError}
459
489
  */
@@ -475,7 +505,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
475
505
  return _super !== null && _super.apply(this, arguments) || this;
476
506
  }
477
507
  /**
478
- * undefined **Required Permissions** none
508
+ * undefined **Required Permissions** \"notification-management.email-messages.update\"
479
509
  * @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.
480
510
  * @param {*} [options] Override http request option.
481
511
  * @throws {RequiredError}
@@ -486,7 +516,7 @@ var EmailTrackingApi = /** @class */ (function (_super) {
486
516
  return (0, exports.EmailTrackingApiFp)(this.configuration).closeThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
487
517
  };
488
518
  /**
489
- * undefined **Required Permissions** none
519
+ * undefined **Required Permissions** \"notification-management.email-messages.view\"
490
520
  * @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.
491
521
  * @param {*} [options] Override http request option.
492
522
  * @throws {RequiredError}
@@ -497,7 +527,8 @@ var EmailTrackingApi = /** @class */ (function (_super) {
497
527
  return (0, exports.EmailTrackingApiFp)(this.configuration).getThread(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
498
528
  };
499
529
  /**
500
- * undefined **Required Permissions** none
530
+ * Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
531
+ * @summary List email messages
501
532
  * @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.
502
533
  * @param {*} [options] Override http request option.
503
534
  * @throws {RequiredError}
@@ -505,10 +536,11 @@ var EmailTrackingApi = /** @class */ (function (_super) {
505
536
  */
506
537
  EmailTrackingApi.prototype.listMessages = function (requestParameters, options) {
507
538
  var _this = this;
508
- return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
539
+ 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); });
509
540
  };
510
541
  /**
511
- * undefined **Required Permissions** none
542
+ * Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
543
+ * @summary List email threads
512
544
  * @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.
513
545
  * @param {*} [options] Override http request option.
514
546
  * @throws {RequiredError}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk-node",
3
- "version": "1.4.1-beta.29",
3
+ "version": "1.4.1-beta.31",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [