Skip to content
Merged
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- Added `GET /api/v2/persons/{id}/picture` endpoint to retrieve picture information for a specific person, including ID, file size, and URLs for both 128x128 (thumbnail) and 512x512 (full-size) versions of the person's profile picture

## [14.7.1](https://github.com/pipedrive/client-php/compare/14.7.0...14.7.1) (2026-01-27)

## [14.7.0](https://github.com/pipedrive/client-php/compare/14.6.1...14.7.0) (2026-01-27)

Expand Down
1 change: 1 addition & 0 deletions docs/versions/v2/Model/ActivityItemLocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the activity | [optional]
**route** | **string** | Route (e.g. street) of the activity | [optional]
**street_number** | **string** | Street number of the activity | [optional]
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the activity | [optional]
**postal_code** | **string** | Postal code of the activity | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1 change: 1 addition & 0 deletions docs/versions/v2/Model/OrganizationItemAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the organization | [optional]
**route** | **string** | Route (e.g. street) of the organization | [optional]
**street_number** | **string** | Street number of the organization | [optional]
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the organization | [optional]
**postal_code** | **string** | Postal code of the organization | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1 change: 1 addition & 0 deletions docs/versions/v2/Model/PersonItemPostalAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Name | Type | Description | Notes
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the person | [optional]
**route** | **string** | Route (e.g. street) of the person | [optional]
**street_number** | **string** | Street number of the person | [optional]
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the person | [optional]
**postal_code** | **string** | Postal code of the person | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
30 changes: 30 additions & 0 deletions lib/versions/v2/Model/ActivityItemLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class ActivityItemLocation implements ModelInterface, ArrayAccess, JsonSerializa
'sublocality' => 'string',
'route' => 'string',
'street_number' => 'string',
'subpremise' => 'string',
'postal_code' => 'string'
];

Expand All @@ -94,6 +95,7 @@ class ActivityItemLocation implements ModelInterface, ArrayAccess, JsonSerializa
'sublocality' => null,
'route' => null,
'street_number' => null,
'subpremise' => null,
'postal_code' => null
];

Expand Down Expand Up @@ -136,6 +138,7 @@ public static function openAPIFormats(): array
'sublocality' => 'sublocality',
'route' => 'route',
'street_number' => 'street_number',
'subpremise' => 'subpremise',
'postal_code' => 'postal_code'
];

Expand All @@ -153,6 +156,7 @@ public static function openAPIFormats(): array
'sublocality' => 'setSublocality',
'route' => 'setRoute',
'street_number' => 'setStreetNumber',
'subpremise' => 'setSubpremise',
'postal_code' => 'setPostalCode'
];

Expand All @@ -170,6 +174,7 @@ public static function openAPIFormats(): array
'sublocality' => 'getSublocality',
'route' => 'getRoute',
'street_number' => 'getStreetNumber',
'subpremise' => 'getSubpremise',
'postal_code' => 'getPostalCode'
];

Expand Down Expand Up @@ -248,6 +253,7 @@ public function __construct(array $data = null)
$this->container['sublocality'] = $data['sublocality'] ?? null;
$this->container['route'] = $data['route'] ?? null;
$this->container['street_number'] = $data['street_number'] ?? null;
$this->container['subpremise'] = $data['subpremise'] ?? null;
$this->container['postal_code'] = $data['postal_code'] ?? null;
}

Expand Down Expand Up @@ -469,6 +475,30 @@ public function setStreetNumber($street_number): self
return $this;
}

/**
* Gets subpremise
*
* @return string|null
*/
public function getSubpremise()
{
return $this->container['subpremise'];
}

/**
* Sets subpremise
*
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the activity
*
* @return self
*/
public function setSubpremise($subpremise): self
{
$this->container['subpremise'] = $subpremise;

return $this;
}

/**
* Gets postal_code
*
Expand Down
30 changes: 30 additions & 0 deletions lib/versions/v2/Model/OrganizationItemAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class OrganizationItemAddress implements ModelInterface, ArrayAccess, JsonSerial
'sublocality' => 'string',
'route' => 'string',
'street_number' => 'string',
'subpremise' => 'string',
'postal_code' => 'string'
];

Expand All @@ -93,6 +94,7 @@ class OrganizationItemAddress implements ModelInterface, ArrayAccess, JsonSerial
'sublocality' => null,
'route' => null,
'street_number' => null,
'subpremise' => null,
'postal_code' => null
];

Expand Down Expand Up @@ -135,6 +137,7 @@ public static function openAPIFormats(): array
'sublocality' => 'sublocality',
'route' => 'route',
'street_number' => 'street_number',
'subpremise' => 'subpremise',
'postal_code' => 'postal_code'
];

Expand All @@ -152,6 +155,7 @@ public static function openAPIFormats(): array
'sublocality' => 'setSublocality',
'route' => 'setRoute',
'street_number' => 'setStreetNumber',
'subpremise' => 'setSubpremise',
'postal_code' => 'setPostalCode'
];

Expand All @@ -169,6 +173,7 @@ public static function openAPIFormats(): array
'sublocality' => 'getSublocality',
'route' => 'getRoute',
'street_number' => 'getStreetNumber',
'subpremise' => 'getSubpremise',
'postal_code' => 'getPostalCode'
];

Expand Down Expand Up @@ -247,6 +252,7 @@ public function __construct(array $data = null)
$this->container['sublocality'] = $data['sublocality'] ?? null;
$this->container['route'] = $data['route'] ?? null;
$this->container['street_number'] = $data['street_number'] ?? null;
$this->container['subpremise'] = $data['subpremise'] ?? null;
$this->container['postal_code'] = $data['postal_code'] ?? null;
}

Expand Down Expand Up @@ -468,6 +474,30 @@ public function setStreetNumber($street_number): self
return $this;
}

/**
* Gets subpremise
*
* @return string|null
*/
public function getSubpremise()
{
return $this->container['subpremise'];
}

/**
* Sets subpremise
*
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the organization
*
* @return self
*/
public function setSubpremise($subpremise): self
{
$this->container['subpremise'] = $subpremise;

return $this;
}

/**
* Gets postal_code
*
Expand Down
30 changes: 30 additions & 0 deletions lib/versions/v2/Model/PersonItemPostalAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class PersonItemPostalAddress implements ModelInterface, ArrayAccess, JsonSerial
'sublocality' => 'string',
'route' => 'string',
'street_number' => 'string',
'subpremise' => 'string',
'postal_code' => 'string'
];

Expand All @@ -94,6 +95,7 @@ class PersonItemPostalAddress implements ModelInterface, ArrayAccess, JsonSerial
'sublocality' => null,
'route' => null,
'street_number' => null,
'subpremise' => null,
'postal_code' => null
];

Expand Down Expand Up @@ -136,6 +138,7 @@ public static function openAPIFormats(): array
'sublocality' => 'sublocality',
'route' => 'route',
'street_number' => 'street_number',
'subpremise' => 'subpremise',
'postal_code' => 'postal_code'
];

Expand All @@ -153,6 +156,7 @@ public static function openAPIFormats(): array
'sublocality' => 'setSublocality',
'route' => 'setRoute',
'street_number' => 'setStreetNumber',
'subpremise' => 'setSubpremise',
'postal_code' => 'setPostalCode'
];

Expand All @@ -170,6 +174,7 @@ public static function openAPIFormats(): array
'sublocality' => 'getSublocality',
'route' => 'getRoute',
'street_number' => 'getStreetNumber',
'subpremise' => 'getSubpremise',
'postal_code' => 'getPostalCode'
];

Expand Down Expand Up @@ -248,6 +253,7 @@ public function __construct(array $data = null)
$this->container['sublocality'] = $data['sublocality'] ?? null;
$this->container['route'] = $data['route'] ?? null;
$this->container['street_number'] = $data['street_number'] ?? null;
$this->container['subpremise'] = $data['subpremise'] ?? null;
$this->container['postal_code'] = $data['postal_code'] ?? null;
}

Expand Down Expand Up @@ -469,6 +475,30 @@ public function setStreetNumber($street_number): self
return $this;
}

/**
* Gets subpremise
*
* @return string|null
*/
public function getSubpremise()
{
return $this->container['subpremise'];
}

/**
* Sets subpremise
*
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the person
*
* @return self
*/
public function setSubpremise($subpremise): self
{
$this->container['subpremise'] = $subpremise;

return $this;
}

/**
* Gets postal_code
*
Expand Down