Skip to content

Commit 77b0da8

Browse files
Merge pull request #268 from pipedrive/302
Build 302 - version-patch
2 parents d784d17 + 6780f1c commit 77b0da8

7 files changed

Lines changed: 97 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- 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
10+
11+
## [14.7.1](https://github.com/pipedrive/client-php/compare/14.7.0...14.7.1) (2026-01-27)
812

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

docs/versions/v2/Model/ActivityItemLocation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the activity | [optional]
1313
**route** | **string** | Route (e.g. street) of the activity | [optional]
1414
**street_number** | **string** | Street number of the activity | [optional]
15+
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the activity | [optional]
1516
**postal_code** | **string** | Postal code of the activity | [optional]
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/versions/v2/Model/OrganizationItemAddress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the organization | [optional]
1313
**route** | **string** | Route (e.g. street) of the organization | [optional]
1414
**street_number** | **string** | Street number of the organization | [optional]
15+
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the organization | [optional]
1516
**postal_code** | **string** | Postal code of the organization | [optional]
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/versions/v2/Model/PersonItemPostalAddress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**sublocality** | **string** | Sublocality (e.g. neighborhood) of the person | [optional]
1313
**route** | **string** | Route (e.g. street) of the person | [optional]
1414
**street_number** | **string** | Street number of the person | [optional]
15+
**subpremise** | **string** | Subpremise (e.g. apartment/suite number) of the person | [optional]
1516
**postal_code** | **string** | Postal code of the person | [optional]
1617

1718
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

lib/versions/v2/Model/ActivityItemLocation.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class ActivityItemLocation implements ModelInterface, ArrayAccess, JsonSerializa
7575
'sublocality' => 'string',
7676
'route' => 'string',
7777
'street_number' => 'string',
78+
'subpremise' => 'string',
7879
'postal_code' => 'string'
7980
];
8081

@@ -94,6 +95,7 @@ class ActivityItemLocation implements ModelInterface, ArrayAccess, JsonSerializa
9495
'sublocality' => null,
9596
'route' => null,
9697
'street_number' => null,
98+
'subpremise' => null,
9799
'postal_code' => null
98100
];
99101

@@ -136,6 +138,7 @@ public static function openAPIFormats(): array
136138
'sublocality' => 'sublocality',
137139
'route' => 'route',
138140
'street_number' => 'street_number',
141+
'subpremise' => 'subpremise',
139142
'postal_code' => 'postal_code'
140143
];
141144

@@ -153,6 +156,7 @@ public static function openAPIFormats(): array
153156
'sublocality' => 'setSublocality',
154157
'route' => 'setRoute',
155158
'street_number' => 'setStreetNumber',
159+
'subpremise' => 'setSubpremise',
156160
'postal_code' => 'setPostalCode'
157161
];
158162

@@ -170,6 +174,7 @@ public static function openAPIFormats(): array
170174
'sublocality' => 'getSublocality',
171175
'route' => 'getRoute',
172176
'street_number' => 'getStreetNumber',
177+
'subpremise' => 'getSubpremise',
173178
'postal_code' => 'getPostalCode'
174179
];
175180

@@ -248,6 +253,7 @@ public function __construct(array $data = null)
248253
$this->container['sublocality'] = $data['sublocality'] ?? null;
249254
$this->container['route'] = $data['route'] ?? null;
250255
$this->container['street_number'] = $data['street_number'] ?? null;
256+
$this->container['subpremise'] = $data['subpremise'] ?? null;
251257
$this->container['postal_code'] = $data['postal_code'] ?? null;
252258
}
253259

@@ -469,6 +475,30 @@ public function setStreetNumber($street_number): self
469475
return $this;
470476
}
471477

478+
/**
479+
* Gets subpremise
480+
*
481+
* @return string|null
482+
*/
483+
public function getSubpremise()
484+
{
485+
return $this->container['subpremise'];
486+
}
487+
488+
/**
489+
* Sets subpremise
490+
*
491+
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the activity
492+
*
493+
* @return self
494+
*/
495+
public function setSubpremise($subpremise): self
496+
{
497+
$this->container['subpremise'] = $subpremise;
498+
499+
return $this;
500+
}
501+
472502
/**
473503
* Gets postal_code
474504
*

lib/versions/v2/Model/OrganizationItemAddress.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ class OrganizationItemAddress implements ModelInterface, ArrayAccess, JsonSerial
7474
'sublocality' => 'string',
7575
'route' => 'string',
7676
'street_number' => 'string',
77+
'subpremise' => 'string',
7778
'postal_code' => 'string'
7879
];
7980

@@ -93,6 +94,7 @@ class OrganizationItemAddress implements ModelInterface, ArrayAccess, JsonSerial
9394
'sublocality' => null,
9495
'route' => null,
9596
'street_number' => null,
97+
'subpremise' => null,
9698
'postal_code' => null
9799
];
98100

@@ -135,6 +137,7 @@ public static function openAPIFormats(): array
135137
'sublocality' => 'sublocality',
136138
'route' => 'route',
137139
'street_number' => 'street_number',
140+
'subpremise' => 'subpremise',
138141
'postal_code' => 'postal_code'
139142
];
140143

@@ -152,6 +155,7 @@ public static function openAPIFormats(): array
152155
'sublocality' => 'setSublocality',
153156
'route' => 'setRoute',
154157
'street_number' => 'setStreetNumber',
158+
'subpremise' => 'setSubpremise',
155159
'postal_code' => 'setPostalCode'
156160
];
157161

@@ -169,6 +173,7 @@ public static function openAPIFormats(): array
169173
'sublocality' => 'getSublocality',
170174
'route' => 'getRoute',
171175
'street_number' => 'getStreetNumber',
176+
'subpremise' => 'getSubpremise',
172177
'postal_code' => 'getPostalCode'
173178
];
174179

@@ -247,6 +252,7 @@ public function __construct(array $data = null)
247252
$this->container['sublocality'] = $data['sublocality'] ?? null;
248253
$this->container['route'] = $data['route'] ?? null;
249254
$this->container['street_number'] = $data['street_number'] ?? null;
255+
$this->container['subpremise'] = $data['subpremise'] ?? null;
250256
$this->container['postal_code'] = $data['postal_code'] ?? null;
251257
}
252258

@@ -468,6 +474,30 @@ public function setStreetNumber($street_number): self
468474
return $this;
469475
}
470476

477+
/**
478+
* Gets subpremise
479+
*
480+
* @return string|null
481+
*/
482+
public function getSubpremise()
483+
{
484+
return $this->container['subpremise'];
485+
}
486+
487+
/**
488+
* Sets subpremise
489+
*
490+
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the organization
491+
*
492+
* @return self
493+
*/
494+
public function setSubpremise($subpremise): self
495+
{
496+
$this->container['subpremise'] = $subpremise;
497+
498+
return $this;
499+
}
500+
471501
/**
472502
* Gets postal_code
473503
*

lib/versions/v2/Model/PersonItemPostalAddress.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ class PersonItemPostalAddress implements ModelInterface, ArrayAccess, JsonSerial
7575
'sublocality' => 'string',
7676
'route' => 'string',
7777
'street_number' => 'string',
78+
'subpremise' => 'string',
7879
'postal_code' => 'string'
7980
];
8081

@@ -94,6 +95,7 @@ class PersonItemPostalAddress implements ModelInterface, ArrayAccess, JsonSerial
9495
'sublocality' => null,
9596
'route' => null,
9697
'street_number' => null,
98+
'subpremise' => null,
9799
'postal_code' => null
98100
];
99101

@@ -136,6 +138,7 @@ public static function openAPIFormats(): array
136138
'sublocality' => 'sublocality',
137139
'route' => 'route',
138140
'street_number' => 'street_number',
141+
'subpremise' => 'subpremise',
139142
'postal_code' => 'postal_code'
140143
];
141144

@@ -153,6 +156,7 @@ public static function openAPIFormats(): array
153156
'sublocality' => 'setSublocality',
154157
'route' => 'setRoute',
155158
'street_number' => 'setStreetNumber',
159+
'subpremise' => 'setSubpremise',
156160
'postal_code' => 'setPostalCode'
157161
];
158162

@@ -170,6 +174,7 @@ public static function openAPIFormats(): array
170174
'sublocality' => 'getSublocality',
171175
'route' => 'getRoute',
172176
'street_number' => 'getStreetNumber',
177+
'subpremise' => 'getSubpremise',
173178
'postal_code' => 'getPostalCode'
174179
];
175180

@@ -248,6 +253,7 @@ public function __construct(array $data = null)
248253
$this->container['sublocality'] = $data['sublocality'] ?? null;
249254
$this->container['route'] = $data['route'] ?? null;
250255
$this->container['street_number'] = $data['street_number'] ?? null;
256+
$this->container['subpremise'] = $data['subpremise'] ?? null;
251257
$this->container['postal_code'] = $data['postal_code'] ?? null;
252258
}
253259

@@ -469,6 +475,30 @@ public function setStreetNumber($street_number): self
469475
return $this;
470476
}
471477

478+
/**
479+
* Gets subpremise
480+
*
481+
* @return string|null
482+
*/
483+
public function getSubpremise()
484+
{
485+
return $this->container['subpremise'];
486+
}
487+
488+
/**
489+
* Sets subpremise
490+
*
491+
* @param string|null $subpremise Subpremise (e.g. apartment/suite number) of the person
492+
*
493+
* @return self
494+
*/
495+
public function setSubpremise($subpremise): self
496+
{
497+
$this->container['subpremise'] = $subpremise;
498+
499+
return $this;
500+
}
501+
472502
/**
473503
* Gets postal_code
474504
*

0 commit comments

Comments
 (0)