Skip to content
Open
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).

## [Unreleased]
### Added
- Added `smart_bcc_email` to optional `include_fields` in Persons and Organizations API v2

## [30.8.0] - 2025-12-05
### Added
Expand Down
1 change: 1 addition & 0 deletions docs/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ PersonsApi | deletePersonFollower | **DELETE** /persons/{id}/followers/{follower
PersonsApi | getPerson | **GET** /persons/{id} | Get details of a person
PersonsApi | getPersonFollowers | **GET** /persons/{id}/followers | List followers of a person
PersonsApi | getPersonFollowersChangelog | **GET** /persons/{id}/followers/changelog | List followers changelog of a person
PersonsApi | getPersonPicture | **GET** /persons/{id}/picture | Get picture of a person
PersonsApi | getPersons | **GET** /persons | Get all persons
PersonsApi | searchPersons | **GET** /persons/search | Search persons
PersonsApi | updatePerson | **PATCH** /persons/{id} | Update a person
Expand Down
24 changes: 12 additions & 12 deletions src/versions/v2/api/organizations-api.ts

Large diffs are not rendered by default.

114 changes: 102 additions & 12 deletions src/versions/v2/api/persons-api.ts

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/versions/v2/models/activity-item-location.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export interface ActivityItemLocation {
*/
'street_number'?: string;
/**
* Subpremise (e.g. apartment/suite number) of the activity
* @type {string}
*/
'subpremise'?: string;
/**
* Postal code of the activity
* @type {string}
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* Picture URLs indexed by size.
* @export
* @interface GetPersonPictureResponseDataPictures
*/
export interface GetPersonPictureResponseDataPictures {
/**
* The URL of the 128x128 picture.
* @type {string}
*/
'128'?: string;
/**
* The URL of the 512x512 picture.
* @type {string}
*/
'512'?: string;
}

62 changes: 62 additions & 0 deletions src/versions/v2/models/get-person-picture-response-data.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { GetPersonPictureResponseDataPictures } from './get-person-picture-response-data-pictures';

/**
*
* @export
* @interface GetPersonPictureResponseData
*/
export interface GetPersonPictureResponseData {
/**
* The ID of the picture.
* @type {number}
*/
'id'?: number;
/**
* The type of item the picture is associated with.
* @type {string}
*/
'item_type'?: string;
/**
* The ID of the person this picture belongs to.
* @type {number}
*/
'item_id'?: number;
/**
* The ID of the user who added the picture.
* @type {number}
*/
'added_by_user_id'?: number;
/**
* Whether the picture is active or not.
* @type {boolean}
*/
'active_flag'?: boolean;
/**
* The file size in bytes.
* @type {number}
*/
'file_size'?: number;
/**
*
* @type {GetPersonPictureResponseDataPictures}
*/
'pictures'?: GetPersonPictureResponseDataPictures;
}

37 changes: 37 additions & 0 deletions src/versions/v2/models/get-person-picture-response.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* tslint:disable */
/* eslint-disable */
/**
* Pipedrive API v2
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/


// May contain unused imports in some cases
// @ts-ignore
import { GetPersonPictureResponseData } from './get-person-picture-response-data';

/**
*
* @export
* @interface GetPersonPictureResponse
*/
export interface GetPersonPictureResponse {
/**
* If the response is successful or not
* @type {boolean}
*/
'success'?: boolean;
/**
*
* @type {GetPersonPictureResponseData}
*/
'data'?: GetPersonPictureResponseData;
}

Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export interface GetPersonsResponseAllOfDataInnerPostalAddress {
*/
'street_number'?: string;
/**
* Subpremise (e.g. apartment/suite number) of the person
* @type {string}
*/
'subpremise'?: string;
/**
* Postal code of the person
* @type {string}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ export interface GetPipelinesResponseAllOfDataInner {
*/
'order_nr'?: number;
/**
* Whether this pipeline is selected or not
* @type {boolean}
*/
'is_selected'?: boolean;
/**
* Whether this pipeline is marked as deleted or not
* @type {boolean}
*/
Expand Down
3 changes: 3 additions & 0 deletions src/versions/v2/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ export * from './get-person-fields200-response-data-inner-important-fields';
export * from './get-person-fields200-response-data-inner-required-fields';
export * from './get-person-fields200-response-data-inner-ui-visibility';
export * from './get-person-fields200-response-data-inner-ui-visibility-show-in-add-deal-dialog';
export * from './get-person-picture-response';
export * from './get-person-picture-response-data';
export * from './get-person-picture-response-data-pictures';
export * from './get-person-search-response';
export * from './get-person-search-response-all-of';
export * from './get-person-search-response-all-of-data';
Expand Down
5 changes: 5 additions & 0 deletions src/versions/v2/models/organization-item-address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export interface OrganizationItemAddress {
*/
'street_number'?: string;
/**
* Subpremise (e.g. apartment/suite number) of the organization
* @type {string}
*/
'subpremise'?: string;
/**
* Postal code of the organization
* @type {string}
*/
Expand Down
5 changes: 0 additions & 5 deletions src/versions/v2/models/upsert-pipeline-response-data-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ export interface UpsertPipelineResponseDataData {
*/
'order_nr'?: number;
/**
* Whether this pipeline is selected or not
* @type {boolean}
*/
'is_selected'?: boolean;
/**
* Whether this pipeline is marked as deleted or not
* @type {boolean}
*/
Expand Down
Loading