diff --git a/src/versions/v1/api/deals-api.ts b/src/versions/v1/api/deals-api.ts index 3ac71fba..09948650 100644 --- a/src/versions/v1/api/deals-api.ts +++ b/src/versions/v1/api/deals-api.ts @@ -3197,6 +3197,13 @@ export interface DealsApiGetDealMailMessagesRequest { * @memberof DealsApiGetDealMailMessages */ readonly limit?: number + + /** + * Whether to include the mail message body content in response. 0 = No, 1 = Yes. If omitted, defaults to 0. + * @type {0 | 1} + * @memberof DealsApiGetDealMailMessages + */ + readonly include_body?: 0 | 1 } /** diff --git a/src/versions/v1/api/persons-api.ts b/src/versions/v1/api/persons-api.ts index bc3ffa79..9a9f0006 100644 --- a/src/versions/v1/api/persons-api.ts +++ b/src/versions/v1/api/persons-api.ts @@ -677,10 +677,11 @@ export const PersonsApiAxiosParamCreator = function (configuration?: Configurati * @param {number} id The ID of the person * @param {number} [start] Pagination start * @param {number} [limit] Items shown per page + * @param {0 | 1} [include_body] Whether to include the mail message body content in response. Yes. If omitted, defaults to 0. * @throws {RequiredError} */ - getPersonMailMessages: async (id: number, start?: number, limit?: number, ): Promise => { + getPersonMailMessages: async (id: number, start?: number, limit?: number, include_body?: 0 | 1): Promise => { // verify required parameter 'id' is not null or undefined assertParamExists('getPersonMailMessages', 'id', id) const localVarPath = `/persons/{id}/mailMessages` @@ -711,7 +712,9 @@ export const PersonsApiAxiosParamCreator = function (configuration?: Configurati localVarQueryParameter['limit'] = limit; } - + if (include_body !== undefined) { + localVarQueryParameter['include_body'] = include_body; + } setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; @@ -2018,6 +2021,13 @@ export interface PersonsApiGetPersonMailMessagesRequest { * @memberof PersonsApiGetPersonMailMessages */ readonly limit?: number + + /** + * Whether to include the mail message body content in response. 0 = No, 1 = Yes. If omitted, defaults to 0. + * @type {0 | 1} + * @memberof PersonsApiGetPersonMailMessages + */ + readonly include_body?: 0 | 1 } /** diff --git a/src/versions/v1/models/mail-message-data.ts b/src/versions/v1/models/mail-message-data.ts index 33780c4e..656722a1 100644 --- a/src/versions/v1/models/mail-message-data.ts +++ b/src/versions/v1/models/mail-message-data.ts @@ -54,6 +54,11 @@ export interface MailMessageData { */ 'body_url'?: string; /** + * The mail message body content + * @type {string} + */ + 'body'?: string; + /** * The connection account ID * @type {string} */