Skip to content

Commit c84fed0

Browse files
authored
Merge pull request #225 from pipedrive/249
Build 249 - version-patch
2 parents c5be40f + f744305 commit c84fed0

3 files changed

Lines changed: 5 additions & 93 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
## [12.0.1](https://github.com/pipedrive/client-php/compare/12.0.0...12.0.1) (2025-06-25)
10+
11+
### Fixed
12+
- Removed not supported `add_time`, `update_time` and `stage_change_time` from `PATCH /v2/deals/:id` request body
13+
914
## [12.0.0](https://github.com/pipedrive/client-php/compare/11.1.1...12.0.0) (2025-06-17)
1015

1116
### Removed

docs/versions/v2/Model/DealRequestBody.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ Name | Type | Description | Notes
1212
**stage_id** | **int** | The ID of the deal stage | [optional]
1313
**value** | **float** | The value of the deal | [optional]
1414
**currency** | **string** | The currency associated with the deal | [optional]
15-
**add_time** | **string** | The creation date and time of the deal | [optional]
16-
**update_time** | **string** | The last updated date and time of the deal | [optional]
17-
**stage_change_time** | **string** | The last updated date and time of the deal stage | [optional]
1815
**is_deleted** | **bool** | Whether the deal is deleted or not | [optional]
1916
**is_archived** | **bool** | Whether the deal is archived or not | [optional]
2017
**archive_time** | **string** | The optional date and time of archiving the deal in UTC. Format: YYYY-MM-DD HH:MM:SS. If omitted and `is_archived` is true, it will be set to the current date and time. | [optional]

lib/versions/v2/Model/DealRequestBody.php

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,6 @@ class DealRequestBody implements ModelInterface, ArrayAccess, JsonSerializable
7474
'stage_id' => 'int',
7575
'value' => 'float',
7676
'currency' => 'string',
77-
'add_time' => 'string',
78-
'update_time' => 'string',
79-
'stage_change_time' => 'string',
8077
'is_deleted' => 'bool',
8178
'is_archived' => 'bool',
8279
'archive_time' => 'string',
@@ -107,9 +104,6 @@ class DealRequestBody implements ModelInterface, ArrayAccess, JsonSerializable
107104
'stage_id' => null,
108105
'value' => null,
109106
'currency' => null,
110-
'add_time' => null,
111-
'update_time' => null,
112-
'stage_change_time' => null,
113107
'is_deleted' => null,
114108
'is_archived' => null,
115109
'archive_time' => null,
@@ -163,9 +157,6 @@ public static function openAPIFormats(): array
163157
'stage_id' => 'stage_id',
164158
'value' => 'value',
165159
'currency' => 'currency',
166-
'add_time' => 'add_time',
167-
'update_time' => 'update_time',
168-
'stage_change_time' => 'stage_change_time',
169160
'is_deleted' => 'is_deleted',
170161
'is_archived' => 'is_archived',
171162
'archive_time' => 'archive_time',
@@ -194,9 +185,6 @@ public static function openAPIFormats(): array
194185
'stage_id' => 'setStageId',
195186
'value' => 'setValue',
196187
'currency' => 'setCurrency',
197-
'add_time' => 'setAddTime',
198-
'update_time' => 'setUpdateTime',
199-
'stage_change_time' => 'setStageChangeTime',
200188
'is_deleted' => 'setIsDeleted',
201189
'is_archived' => 'setIsArchived',
202190
'archive_time' => 'setArchiveTime',
@@ -225,9 +213,6 @@ public static function openAPIFormats(): array
225213
'stage_id' => 'getStageId',
226214
'value' => 'getValue',
227215
'currency' => 'getCurrency',
228-
'add_time' => 'getAddTime',
229-
'update_time' => 'getUpdateTime',
230-
'stage_change_time' => 'getStageChangeTime',
231216
'is_deleted' => 'getIsDeleted',
232217
'is_archived' => 'getIsArchived',
233218
'archive_time' => 'getArchiveTime',
@@ -317,9 +302,6 @@ public function __construct(array $data = null)
317302
$this->container['stage_id'] = $data['stage_id'] ?? null;
318303
$this->container['value'] = $data['value'] ?? null;
319304
$this->container['currency'] = $data['currency'] ?? null;
320-
$this->container['add_time'] = $data['add_time'] ?? null;
321-
$this->container['update_time'] = $data['update_time'] ?? null;
322-
$this->container['stage_change_time'] = $data['stage_change_time'] ?? null;
323305
$this->container['is_deleted'] = $data['is_deleted'] ?? null;
324306
$this->container['is_archived'] = $data['is_archived'] ?? null;
325307
$this->container['archive_time'] = $data['archive_time'] ?? null;
@@ -552,78 +534,6 @@ public function setCurrency($currency): self
552534
return $this;
553535
}
554536

555-
/**
556-
* Gets add_time
557-
*
558-
* @return string|null
559-
*/
560-
public function getAddTime()
561-
{
562-
return $this->container['add_time'];
563-
}
564-
565-
/**
566-
* Sets add_time
567-
*
568-
* @param string|null $add_time The creation date and time of the deal
569-
*
570-
* @return self
571-
*/
572-
public function setAddTime($add_time): self
573-
{
574-
$this->container['add_time'] = $add_time;
575-
576-
return $this;
577-
}
578-
579-
/**
580-
* Gets update_time
581-
*
582-
* @return string|null
583-
*/
584-
public function getUpdateTime()
585-
{
586-
return $this->container['update_time'];
587-
}
588-
589-
/**
590-
* Sets update_time
591-
*
592-
* @param string|null $update_time The last updated date and time of the deal
593-
*
594-
* @return self
595-
*/
596-
public function setUpdateTime($update_time): self
597-
{
598-
$this->container['update_time'] = $update_time;
599-
600-
return $this;
601-
}
602-
603-
/**
604-
* Gets stage_change_time
605-
*
606-
* @return string|null
607-
*/
608-
public function getStageChangeTime()
609-
{
610-
return $this->container['stage_change_time'];
611-
}
612-
613-
/**
614-
* Sets stage_change_time
615-
*
616-
* @param string|null $stage_change_time The last updated date and time of the deal stage
617-
*
618-
* @return self
619-
*/
620-
public function setStageChangeTime($stage_change_time): self
621-
{
622-
$this->container['stage_change_time'] = $stage_change_time;
623-
624-
return $this;
625-
}
626-
627537
/**
628538
* Gets is_deleted
629539
*

0 commit comments

Comments
 (0)