Skip to content

Commit d6c683c

Browse files
author
pipedrive-bot
committed
Build 312 - version-minor
1 parent 77f72c5 commit d6c683c

14 files changed

Lines changed: 1959 additions & 11 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ 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+
- Fixed `GET /v1/deals/{id}/participants` and `POST /v1/deals/{id}/participants` response schemas to accurately represent the API response structure. Added `DealParticipantItem` schema with proper nesting of `email` and `phone` fields within `person_id` object, replacing incorrect `PersonItem` reference.
810

911
## [15.3.0](https://github.com/pipedrive/client-php/compare/15.2.0...15.3.0) (2026-02-06)
1012

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# # DealParticipantItem
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**id** | **int** | The ID of the participant | [optional]
8+
**person_id** | [**\Pipedrive\versions\v1\Model\DealParticipantItemPersonId**](DealParticipantItemPersonId.md) | | [optional]
9+
**add_time** | **string** | The date and time when the participant was added. Format: YYYY-MM-DD HH:MM:SS | [optional]
10+
**active_flag** | **bool** | Whether the participant is active or not | [optional]
11+
**related_item_data** | [**\Pipedrive\versions\v1\Model\DealParticipantItemRelatedItemData**](DealParticipantItemRelatedItemData.md) | | [optional]
12+
**person** | [**\Pipedrive\versions\v1\Model\PersonItem**](PersonItem.md) | | [optional]
13+
**added_by_user_id** | [**\Pipedrive\versions\v1\Model\User**](User.md) | | [optional]
14+
**related_item_type** | **string** | The type of the related item | [optional]
15+
**related_item_id** | **int** | The ID of the related item | [optional]
16+
17+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# # DealParticipantItemPersonId
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**active_flag** | **bool** | Whether the person is active or not | [optional]
8+
**name** | **string** | The name of the person | [optional]
9+
**email** | [**\Pipedrive\versions\v1\Model\DealParticipantItemPersonIdEmail[]**](DealParticipantItemPersonIdEmail.md) | An email address as a string or an array of email objects related to the person. The structure of the array is as follows: `[{ \"value\": \"mail@example.com\", \"primary\": \"true\", \"label\": \"main\" }]`. Please note that only `value` is required. | [optional]
10+
**phone** | [**\Pipedrive\versions\v1\Model\BasePersonItemPhone[]**](BasePersonItemPhone.md) | A phone number supplied as a string or an array of phone objects related to the person. The structure of the array is as follows: `[{ \"value\": \"12345\", \"primary\": \"true\", \"label\": \"mobile\" }]`. Please note that only `value` is required. | [optional]
11+
**owner_id** | **int** | The ID of the owner of the person | [optional]
12+
**company_id** | **int** | The ID of the company related to the person | [optional]
13+
**value** | **int** | The ID of the person | [optional]
14+
15+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# # DealParticipantItemPersonIdEmail
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**value** | **string** | The email address | [optional]
8+
**primary** | **bool** | Boolean that indicates if email is primary for the person or not | [optional]
9+
**label** | **string** | The label that indicates the type of the email. (Possible values - work, home or other) | [optional]
10+
11+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# # DealParticipantItemRelatedItemData
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**deal_id** | **int** | The ID of the deal | [optional]
8+
**title** | **string** | The title of the deal | [optional]
9+
10+
[[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/DealParticipants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**success** | **bool** | If the request was successful or not | [optional]
8-
**data** | [**\Pipedrive\versions\v1\Model\PersonItem[]**](PersonItem.md) | The array of participants | [optional]
8+
**data** | [**\Pipedrive\versions\v1\Model\DealParticipantItem[]**](DealParticipantItem.md) | The array of participants | [optional]
99
**additional_data** | [**\Pipedrive\versions\v1\Model\AdditionalData**](AdditionalData.md) | | [optional]
1010
**related_objects** | [**\Pipedrive\versions\v1\Model\GetDealsRelatedObjects**](GetDealsRelatedObjects.md) | | [optional]
1111

docs/versions/v1/Model/PostDealParticipants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**success** | **bool** | If the request was successful or not | [optional]
8-
**data** | [**PersonItem**](PersonItem.md) | The object of participant | [optional]
8+
**data** | [**\Pipedrive\versions\v1\Model\DealParticipantItem**](DealParticipantItem.md) | | [optional]
99
**related_objects** | [**\Pipedrive\versions\v1\Model\PostDealParticipantsRelatedObjects**](PostDealParticipantsRelatedObjects.md) | | [optional]
1010

1111
[[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/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,10 @@ Class | Method | HTTP request | Description
711711
- [DealOrganizationDataWithId](Model/DealOrganizationDataWithId.md)
712712
- [DealOrganizationDataWithIdAllOf](Model/DealOrganizationDataWithIdAllOf.md)
713713
- [DealParticipantCountInfo](Model/DealParticipantCountInfo.md)
714+
- [DealParticipantItem](Model/DealParticipantItem.md)
715+
- [DealParticipantItemPersonId](Model/DealParticipantItemPersonId.md)
716+
- [DealParticipantItemPersonIdEmail](Model/DealParticipantItemPersonIdEmail.md)
717+
- [DealParticipantItemRelatedItemData](Model/DealParticipantItemRelatedItemData.md)
714718
- [DealParticipants](Model/DealParticipants.md)
715719
- [DealParticipantsChangelog](Model/DealParticipantsChangelog.md)
716720
- [DealPersonData](Model/DealPersonData.md)
@@ -1370,7 +1374,4 @@ Class | Method | HTTP request | Description
13701374
- **goals:full**: Create, read, update and delete goals
13711375
- **video-calls**: Allows application to register as a video call integration provider and create conference links
13721376
- **messengers-integration**: Allows application to register as a messengers integration provider and allows them to deliver incoming messages and their statuses
1373-
- **deal-fields:full**: Create, read, update and delete deal fields
1374-
- **product-fields:full**: Create, read, update and delete product fields
1375-
- **contact-fields:full**: Create, read, update and delete person and organization fields
13761377

0 commit comments

Comments
 (0)