Skip to content

Commit 1569c52

Browse files
pipedrive-github-actions-bot[bot]pipedrive-botnikita-masalov
authored
Build 289 - version-patch (#253)
* Build 289 - version-patch * Release v14.3.1 --------- Co-authored-by: pipedrive-bot <[email protected]> Co-authored-by: nikita-masalov <[email protected]>
1 parent c4e9125 commit 1569c52

File tree

6 files changed

+32
-8
lines changed

6 files changed

+32
-8
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,15 @@ 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+
### Fixed
9+
- Corrected `FieldResponse` schema to use `GetField` instead of `Field` to ensure GET responses accurately reflect all field types returned by the API
810
## Added
911
- Added `is_archived` field in search response schemas for deals and leads
1012
### Fixed
1113
- Fixed PHP SDK v2 Configuration to use correct `/v2` API endpoints after OAuth token refresh instead of defaulting to `/v1`
1214

15+
## [14.3.1](https://github.com/pipedrive/client-php/compare/14.3.0...14.3.1) (2025-11-18)
16+
1317
## [14.3.0](https://github.com/pipedrive/client-php/compare/14.2.1...14.3.0) (2025-10-06)
1418

1519
## [14.2.1](https://github.com/pipedrive/client-php/compare/14.2.0...14.2.1) (2025-10-03)

docs/versions/v1/Model/FieldResponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**success** | **bool** | If the response is successful or not | [optional]
8-
**data** | [**\Pipedrive\versions\v1\Model\Field**](Field.md) | | [optional]
8+
**data** | [**\Pipedrive\versions\v1\Model\GetField**](GetField.md) | | [optional]
99

1010
[[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/v1/Model/FieldResponseAllOf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**data** | [**\Pipedrive\versions\v1\Model\Field**](Field.md) | | [optional]
7+
**data** | [**\Pipedrive\versions\v1\Model\GetField**](GetField.md) | | [optional]
88

99
[[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/v1/Api/ChannelsApi.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ public function getConfig(): Configuration
132132
* @throws ApiException on non-2xx response
133133
* @throws InvalidArgumentException|GuzzleException
134134
* @return \Pipedrive\versions\v1\Model\ChannelObjectResponse|\Pipedrive\versions\v1\Model\AddChannelBadRequestResponse|\Pipedrive\versions\v1\Model\AddChannelForbiddenErrorResponse
135+
* @deprecated
135136
*/
136137
public function addChannel($channel_object = null)
137138
{
@@ -149,6 +150,7 @@ public function addChannel($channel_object = null)
149150
* @throws ApiException on non-2xx response
150151
* @throws InvalidArgumentException|GuzzleException
151152
* @return array<mixed> of \Pipedrive\versions\v1\Model\ChannelObjectResponse|\Pipedrive\versions\v1\Model\AddChannelBadRequestResponse|\Pipedrive\versions\v1\Model\AddChannelForbiddenErrorResponse, HTTP status code, HTTP response headers (array of strings)
153+
* @deprecated
152154
*/
153155
public function addChannelWithHttpInfo($channel_object = null)
154156
{
@@ -291,6 +293,7 @@ public function addChannelWithHttpInfo($channel_object = null)
291293
*
292294
* @throws InvalidArgumentException|OAuthProviderException
293295
* @return PromiseInterface
296+
* @deprecated
294297
*/
295298
public function addChannelAsync($channel_object = null): PromiseInterface
296299
{
@@ -311,6 +314,7 @@ function ($response) {
311314
*
312315
* @throws InvalidArgumentException|OAuthProviderException
313316
* @return PromiseInterface
317+
* @deprecated
314318
*/
315319
public function addChannelAsyncWithHttpInfo($channel_object = null): PromiseInterface
316320
{
@@ -358,6 +362,7 @@ function ($exception) {
358362
*
359363
* @throws InvalidArgumentException|OAuthProviderException
360364
* @return Request
365+
* @deprecated
361366
*/
362367
public function addChannelRequest($channel_object = null): Request
363368
{
@@ -461,6 +466,7 @@ public function addChannelRequest($channel_object = null): Request
461466
* @throws ApiException on non-2xx response
462467
* @throws InvalidArgumentException|GuzzleException
463468
* @return \Pipedrive\versions\v1\Model\DeleteChannelSuccess|\Pipedrive\versions\v1\Model\AddChannelBadRequestResponse
469+
* @deprecated
464470
*/
465471
public function deleteChannel($id)
466472
{
@@ -478,6 +484,7 @@ public function deleteChannel($id)
478484
* @throws ApiException on non-2xx response
479485
* @throws InvalidArgumentException|GuzzleException
480486
* @return array<mixed> of \Pipedrive\versions\v1\Model\DeleteChannelSuccess|\Pipedrive\versions\v1\Model\AddChannelBadRequestResponse, HTTP status code, HTTP response headers (array of strings)
487+
* @deprecated
481488
*/
482489
public function deleteChannelWithHttpInfo($id)
483490
{
@@ -599,6 +606,7 @@ public function deleteChannelWithHttpInfo($id)
599606
*
600607
* @throws InvalidArgumentException|OAuthProviderException
601608
* @return PromiseInterface
609+
* @deprecated
602610
*/
603611
public function deleteChannelAsync($id): PromiseInterface
604612
{
@@ -619,6 +627,7 @@ function ($response) {
619627
*
620628
* @throws InvalidArgumentException|OAuthProviderException
621629
* @return PromiseInterface
630+
* @deprecated
622631
*/
623632
public function deleteChannelAsyncWithHttpInfo($id): PromiseInterface
624633
{
@@ -666,6 +675,7 @@ function ($exception) {
666675
*
667676
* @throws InvalidArgumentException|OAuthProviderException
668677
* @return Request
678+
* @deprecated
669679
*/
670680
public function deleteChannelRequest($id): Request
671681
{
@@ -779,6 +789,7 @@ public function deleteChannelRequest($id): Request
779789
* @throws ApiException on non-2xx response
780790
* @throws InvalidArgumentException|GuzzleException
781791
* @return \Pipedrive\versions\v1\Model\DeleteConversationSuccess|\Pipedrive\versions\v1\Model\DeleteConversationForbiddenErrorResponse|\Pipedrive\versions\v1\Model\DeleteConversationNotFoundErrorResponse
792+
* @deprecated
782793
*/
783794
public function deleteConversation($channel_id, $conversation_id)
784795
{
@@ -797,6 +808,7 @@ public function deleteConversation($channel_id, $conversation_id)
797808
* @throws ApiException on non-2xx response
798809
* @throws InvalidArgumentException|GuzzleException
799810
* @return array<mixed> of \Pipedrive\versions\v1\Model\DeleteConversationSuccess|\Pipedrive\versions\v1\Model\DeleteConversationForbiddenErrorResponse|\Pipedrive\versions\v1\Model\DeleteConversationNotFoundErrorResponse, HTTP status code, HTTP response headers (array of strings)
811+
* @deprecated
800812
*/
801813
public function deleteConversationWithHttpInfo($channel_id, $conversation_id)
802814
{
@@ -940,6 +952,7 @@ public function deleteConversationWithHttpInfo($channel_id, $conversation_id)
940952
*
941953
* @throws InvalidArgumentException|OAuthProviderException
942954
* @return PromiseInterface
955+
* @deprecated
943956
*/
944957
public function deleteConversationAsync($channel_id, $conversation_id): PromiseInterface
945958
{
@@ -961,6 +974,7 @@ function ($response) {
961974
*
962975
* @throws InvalidArgumentException|OAuthProviderException
963976
* @return PromiseInterface
977+
* @deprecated
964978
*/
965979
public function deleteConversationAsyncWithHttpInfo($channel_id, $conversation_id): PromiseInterface
966980
{
@@ -1009,6 +1023,7 @@ function ($exception) {
10091023
*
10101024
* @throws InvalidArgumentException|OAuthProviderException
10111025
* @return Request
1026+
* @deprecated
10121027
*/
10131028
public function deleteConversationRequest($channel_id, $conversation_id): Request
10141029
{
@@ -1136,6 +1151,7 @@ public function deleteConversationRequest($channel_id, $conversation_id): Reques
11361151
* @throws ApiException on non-2xx response
11371152
* @throws InvalidArgumentException|GuzzleException
11381153
* @return \Pipedrive\versions\v1\Model\GetReceiveMessageSuccessResponse|\Pipedrive\versions\v1\Model\ReceiveMessageBadRequestErrorResponse
1154+
* @deprecated
11391155
*/
11401156
public function receiveMessage($message_object = null)
11411157
{
@@ -1153,6 +1169,7 @@ public function receiveMessage($message_object = null)
11531169
* @throws ApiException on non-2xx response
11541170
* @throws InvalidArgumentException|GuzzleException
11551171
* @return array<mixed> of \Pipedrive\versions\v1\Model\GetReceiveMessageSuccessResponse|\Pipedrive\versions\v1\Model\ReceiveMessageBadRequestErrorResponse, HTTP status code, HTTP response headers (array of strings)
1172+
* @deprecated
11561173
*/
11571174
public function receiveMessageWithHttpInfo($message_object = null)
11581175
{
@@ -1274,6 +1291,7 @@ public function receiveMessageWithHttpInfo($message_object = null)
12741291
*
12751292
* @throws InvalidArgumentException|OAuthProviderException
12761293
* @return PromiseInterface
1294+
* @deprecated
12771295
*/
12781296
public function receiveMessageAsync($message_object = null): PromiseInterface
12791297
{
@@ -1294,6 +1312,7 @@ function ($response) {
12941312
*
12951313
* @throws InvalidArgumentException|OAuthProviderException
12961314
* @return PromiseInterface
1315+
* @deprecated
12971316
*/
12981317
public function receiveMessageAsyncWithHttpInfo($message_object = null): PromiseInterface
12991318
{
@@ -1341,6 +1360,7 @@ function ($exception) {
13411360
*
13421361
* @throws InvalidArgumentException|OAuthProviderException
13431362
* @return Request
1363+
* @deprecated
13441364
*/
13451365
public function receiveMessageRequest($message_object = null): Request
13461366
{

lib/versions/v1/Model/FieldResponse.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class FieldResponse implements ModelInterface, ArrayAccess, JsonSerializable
6767
*/
6868
protected static array $openAPITypes = [
6969
'success' => 'bool',
70-
'data' => '\Pipedrive\versions\v1\Model\Field'
70+
'data' => '\Pipedrive\versions\v1\Model\GetField'
7171
];
7272

7373
/**
@@ -261,7 +261,7 @@ public function setSuccess($success): self
261261
/**
262262
* Gets data
263263
*
264-
* @return \Pipedrive\versions\v1\Model\Field|null
264+
* @return \Pipedrive\versions\v1\Model\GetField|null
265265
*/
266266
public function getData()
267267
{
@@ -271,7 +271,7 @@ public function getData()
271271
/**
272272
* Sets data
273273
*
274-
* @param \Pipedrive\versions\v1\Model\Field|null $data data
274+
* @param \Pipedrive\versions\v1\Model\GetField|null $data data
275275
*
276276
* @return self
277277
*/

lib/versions/v1/Model/FieldResponseAllOf.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class FieldResponseAllOf implements ModelInterface, ArrayAccess, JsonSerializabl
6666
* @phpsalm-var array<string, string>
6767
*/
6868
protected static array $openAPITypes = [
69-
'data' => '\Pipedrive\versions\v1\Model\Field'
69+
'data' => '\Pipedrive\versions\v1\Model\GetField'
7070
];
7171

7272
/**
@@ -231,7 +231,7 @@ public function valid(): bool
231231
/**
232232
* Gets data
233233
*
234-
* @return \Pipedrive\versions\v1\Model\Field|null
234+
* @return \Pipedrive\versions\v1\Model\GetField|null
235235
*/
236236
public function getData()
237237
{
@@ -241,7 +241,7 @@ public function getData()
241241
/**
242242
* Sets data
243243
*
244-
* @param \Pipedrive\versions\v1\Model\Field|null $data data
244+
* @param \Pipedrive\versions\v1\Model\GetField|null $data data
245245
*
246246
* @return self
247247
*/

0 commit comments

Comments
 (0)