You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@emilgroup/notification-sdk-node

Package Overview
Dependencies
Maintainers
20
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emilgroup/notification-sdk-node - npm Package Compare versions

Comparing version
1.4.1-beta.29
to
1.4.1-beta.30
+36
-32
api/email-messages-api.ts

@@ -42,3 +42,3 @@ /* tslint:disable */

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -91,3 +91,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -136,3 +136,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -181,11 +181,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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>
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
* @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.
* @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.
* @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.
* @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>
* @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>
* @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>
* @param {*} [options] Override http request option.

@@ -267,3 +268,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -280,3 +281,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -292,3 +293,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -304,11 +305,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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>
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
* @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.
* @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.
* @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.
* @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>
* @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>
* @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>
* @param {*} [options] Override http request option.

@@ -332,3 +334,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -344,3 +346,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -355,3 +357,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -366,11 +368,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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>
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
* @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.
* @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.
* @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.
* @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>
* @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>
* @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>
* @param {*} [options] Override http request option.

@@ -483,3 +486,3 @@ * @throws {RequiredError}

/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* 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>
* @type {string}

@@ -498,3 +501,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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>
* @type {string}

@@ -506,3 +509,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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>
* @type {string}

@@ -514,3 +517,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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>
* @type {string}

@@ -530,3 +533,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.

@@ -542,3 +545,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.

@@ -554,3 +557,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.

@@ -566,3 +569,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.

@@ -569,0 +573,0 @@ * @param {*} [options] Override http request option.

@@ -40,3 +40,3 @@ /* tslint:disable */

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -85,3 +85,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -130,9 +130,14 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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>
* @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>
* @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>
* @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>
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
listMessages: async (code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
// verify required parameter 'code' is not null or undefined

@@ -159,2 +164,18 @@ assertParamExists('listMessages', 'code', code)

if (filter !== undefined) {
localVarQueryParameter['filter'] = filter;
}
if (filters !== undefined) {
localVarQueryParameter['filters'] = filters;
}
if (order !== undefined) {
localVarQueryParameter['order'] = order;
}
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {

@@ -176,11 +197,12 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);

/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -262,3 +284,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -274,3 +296,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -286,22 +308,28 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async listMessages(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listMessages(code, authorization, options);
async listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listMessages(code, authorization, filter, filters, order, expand, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -325,3 +353,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -336,3 +364,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -347,21 +375,27 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages(code: string, authorization?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass> {
return localVarFp.listMessages(code, authorization, options).then((request) => request(axios, basePath));
listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass> {
return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
},
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -437,2 +471,30 @@ * @throws {RequiredError}

readonly authorization?: string
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly filter?: string
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly filters?: string
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly order?: string
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly expand?: string
}

@@ -468,3 +530,3 @@

/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* 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;
* @type {string}

@@ -483,3 +545,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -491,3 +553,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -499,3 +561,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -515,3 +577,3 @@ * @memberof EmailTrackingApiListThreads

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.

@@ -527,3 +589,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.

@@ -539,3 +601,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.

@@ -547,7 +610,8 @@ * @param {*} [options] Override http request option.

public listMessages(requestParameters: EmailTrackingApiListMessagesRequest, options?: AxiosRequestConfig) {
return EmailTrackingApiFp(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
return EmailTrackingApiFp(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
}
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.

@@ -554,0 +618,0 @@ * @param {*} [options] Override http request option.

@@ -25,3 +25,3 @@ /**

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -35,3 +35,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -44,3 +44,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -53,11 +53,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -74,3 +75,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -84,3 +85,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -93,3 +94,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -102,11 +103,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -123,3 +125,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -133,3 +135,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -142,3 +144,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -151,11 +153,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -254,3 +257,3 @@ * @throws {RequiredError}

/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* 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;
* @type {string}

@@ -267,3 +270,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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;
* @type {string}

@@ -274,3 +277,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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;
* @type {string}

@@ -281,3 +284,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* 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.
* 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;
* @type {string}

@@ -296,3 +299,3 @@ * @memberof EmailMessagesApiListEmailMessages

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.

@@ -305,3 +308,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.

@@ -314,3 +317,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.

@@ -323,3 +326,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.

@@ -326,0 +330,0 @@ * @param {*} [options] Override http request option.

@@ -100,3 +100,3 @@ "use strict";

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -152,3 +152,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -200,3 +200,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -248,11 +248,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -330,3 +331,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -352,3 +353,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -373,3 +374,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -394,11 +395,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -431,3 +433,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -443,3 +445,3 @@ * @param {number} attachmentId

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -454,3 +456,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -465,11 +467,12 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -496,3 +499,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiDownloadAttachmentRequest} requestParameters Request parameters.

@@ -508,3 +511,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiGetMessageRequest} requestParameters Request parameters.

@@ -520,3 +523,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailMessagesApiListAttachmentsRequest} requestParameters Request parameters.

@@ -532,3 +535,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailMessagesApiListEmailMessagesRequest} requestParameters Request parameters.

@@ -535,0 +539,0 @@ * @param {*} [options] Override http request option.

@@ -24,3 +24,3 @@ /**

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -33,3 +33,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -42,19 +42,25 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
listMessages: (code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -71,3 +77,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -80,3 +86,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -89,19 +95,25 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>>;
listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListEmailMessagesResponseClass>>;
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -118,3 +130,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -127,3 +139,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -136,19 +148,25 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages(code: string, authorization?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass>;
listMessages(code: string, authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListEmailMessagesResponseClass>;
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -215,2 +233,26 @@ * @throws {RequiredError}

readonly authorization?: string;
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly filter?: string;
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly filters?: string;
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly order?: string;
/**
* 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;
* @type {string}
* @memberof EmailTrackingApiListMessages
*/
readonly expand?: string;
}

@@ -242,3 +284,3 @@ /**

/**
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* 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;
* @type {string}

@@ -255,3 +297,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -262,3 +304,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -269,3 +311,3 @@ * @memberof EmailTrackingApiListThreads

/**
* 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.
* 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;
* @type {string}

@@ -284,3 +326,3 @@ * @memberof EmailTrackingApiListThreads

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.

@@ -293,3 +335,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.

@@ -302,3 +344,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.

@@ -311,3 +354,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.

@@ -314,0 +358,0 @@ * @param {*} [options] Override http request option.

@@ -100,3 +100,3 @@ "use strict";

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -148,3 +148,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -196,9 +196,14 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages: function (code, authorization, options) {
listMessages: function (code, authorization, filter, filters, order, expand, options) {
if (options === void 0) { options = {}; }

@@ -229,2 +234,14 @@ return __awaiter(_this, void 0, void 0, function () {

_a.sent();
if (filter !== undefined) {
localVarQueryParameter['filter'] = filter;
}
if (filters !== undefined) {
localVarQueryParameter['filters'] = filters;
}
if (order !== undefined) {
localVarQueryParameter['order'] = order;
}
if (expand !== undefined) {
localVarQueryParameter['expand'] = expand;
}
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {

@@ -245,11 +262,12 @@ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);

/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -327,3 +345,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -348,3 +366,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -369,9 +387,14 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages: function (code, authorization, options) {
listMessages: function (code, authorization, filter, filters, order, expand, options) {
return __awaiter(this, void 0, void 0, function () {

@@ -381,3 +404,3 @@ var localVarAxiosArgs;

switch (_a.label) {
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, options)];
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listMessages(code, authorization, filter, filters, order, expand, options)];
case 1:

@@ -391,11 +414,12 @@ localVarAxiosArgs = _a.sent();

/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -428,3 +452,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {string} code

@@ -439,3 +463,3 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {string} code

@@ -450,21 +474,27 @@ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {string} code
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @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;
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listMessages: function (code, authorization, options) {
return localVarFp.listMessages(code, authorization, options).then(function (request) { return request(axios, basePath); });
listMessages: function (code, authorization, filter, filters, order, expand, options) {
return localVarFp.listMessages(code, authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
},
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
* @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.
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
* @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;
* @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
* @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.
* @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.
* @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.
* @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;
* @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;
* @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;
* @param {*} [options] Override http request option.

@@ -491,3 +521,3 @@ * @throws {RequiredError}

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.update\"
* @param {EmailTrackingApiCloseThreadRequest} requestParameters Request parameters.

@@ -503,3 +533,3 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* undefined **Required Permissions** \"notification-management.email-messages.view\"
* @param {EmailTrackingApiGetThreadRequest} requestParameters Request parameters.

@@ -515,3 +545,4 @@ * @param {*} [options] Override http request option.

/**
* undefined **Required Permissions** none
* Lists all email messages for a thread **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email messages
* @param {EmailTrackingApiListMessagesRequest} requestParameters Request parameters.

@@ -524,6 +555,7 @@ * @param {*} [options] Override http request option.

var _this = this;
return (0, exports.EmailTrackingApiFp)(this.configuration).listMessages(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
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); });
};
/**
* undefined **Required Permissions** none
* Lists all email threads with optional filters **Required Permissions** \"notification-management.email-messages.view\"
* @summary List email threads
* @param {EmailTrackingApiListThreadsRequest} requestParameters Request parameters.

@@ -530,0 +562,0 @@ * @param {*} [options] Override http request option.

{
"name": "@emilgroup/notification-sdk-node",
"version": "1.4.1-beta.29",
"version": "1.4.1-beta.30",
"description": "OpenAPI client for @emilgroup/notification-sdk-node",

@@ -5,0 +5,0 @@ "author": "OpenAPI-Generator Contributors",

@@ -20,7 +20,7 @@ # Emil Notification SDK for Nodejs

```
npm install @emilgroup/notification-sdk-node@1.4.1-beta.29 --save
npm install @emilgroup/notification-sdk-node@1.4.1-beta.30 --save
```
or
```
yarn add @emilgroup/notification-sdk-node@1.4.1-beta.29
yarn add @emilgroup/notification-sdk-node@1.4.1-beta.30
```

@@ -27,0 +27,0 @@