Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/versions/v1/api/deals-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

/**
Expand Down
14 changes: 12 additions & 2 deletions src/versions/v1/api/persons-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<RequestArgs> => {
getPersonMailMessages: async (id: number, start?: number, limit?: number, include_body?: 0 | 1): Promise<RequestArgs> => {
// verify required parameter 'id' is not null or undefined
assertParamExists('getPersonMailMessages', 'id', id)
const localVarPath = `/persons/{id}/mailMessages`
Expand Down Expand Up @@ -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 : {};
Expand Down Expand Up @@ -2018,6 +2021,13 @@ export interface PersonsApiGetPersonMailMessagesRequest {
* @memberof PersonsApiGetPersonMailMessages
*/
readonly limit?: number

/**
* Whether to include the mail message body content in response. 0 &#x3D; No, 1 &#x3D; Yes. If omitted, defaults to 0.
* @type {0 | 1}
* @memberof PersonsApiGetPersonMailMessages
*/
readonly include_body?: 0 | 1
}

/**
Expand Down
5 changes: 5 additions & 0 deletions src/versions/v1/models/mail-message-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
*/
Expand Down
Loading