Skip to content

Commit 291130c

Browse files
authored
Merge pull request #191 from pipedrive/185
Build 185 - version-major
2 parents d3639fb + 8576a04 commit 291130c

55 files changed

Lines changed: 12034 additions & 15319 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@ 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+
9+
[9.0.0](https://github.com/pipedrive/client-php/compare/8.1.5...9.0.0) (2025-03-31)
10+
11+
### Changed
12+
- Updated `item_price` field data type in products from integer -> number for products and deal products
13+
14+
### Fixed
15+
- Added missing `partnership` value for user access apps list
16+
17+
### Added
18+
- Notice informing the users of the upcoming Subscriptions API deprecation:
19+
- `GET /v1/subscriptions/{id}`
20+
- `GET /v1/subscriptions/find/{dealId}`
21+
- `GET /v1/subscriptions/{id}/payments`
22+
- `POST /v1/subscriptions/recurring`
23+
- `POST /v1/subscriptions/installment`
24+
- `PUT /v1/subscriptions/recurring/{id}`
25+
- `PUT /v1/subscriptions/installment/{id}`
26+
- `PUT /v1/subscriptions/recurring/{id}/cancel`
27+
- `DELETE /v1/subscriptions/{id}`
28+
29+
### Changed
30+
- Updated Webhooks endpoints to v2, including available event_action and event_object properties
31+
832
### Added
933
- Added `GET /v2/deals/installments` endpoint to fetch all installments added to a list of deals with cursor pagination
1034
- Added `POST /v2/deals/{id}/installments` endpoint to add an installment to a deal

docs/versions/v1/Api/DealsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ $apiInstance = new Pipedrive\versions\v1\Api\DealsApi(
400400
$config
401401
);
402402
$id = 56; // int | The ID of the deal
403-
$follower_id = 56; // int | The ID of the follower
403+
$follower_id = 56; // int | The ID of the relationship between the follower and the deal
404404

405405
try {
406406
$result = $apiInstance->deleteDealFollower($id, $follower_id);
@@ -415,7 +415,7 @@ try {
415415
Name | Type | Description | Notes
416416
------------- | ------------- | ------------- | -------------
417417
**id** | **int**| The ID of the deal |
418-
**follower_id** | **int**| The ID of the follower |
418+
**follower_id** | **int**| The ID of the relationship between the follower and the deal |
419419

420420
### Return type
421421

docs/versions/v1/Api/OrganizationsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ $apiInstance = new Pipedrive\versions\v1\Api\OrganizationsApi(
256256
$config
257257
);
258258
$id = 56; // int | The ID of the organization
259-
$follower_id = 56; // int | The ID of the follower
259+
$follower_id = 56; // int | The ID of the relationship between the follower and the organization
260260

261261
try {
262262
$result = $apiInstance->deleteOrganizationFollower($id, $follower_id);
@@ -271,7 +271,7 @@ try {
271271
Name | Type | Description | Notes
272272
------------- | ------------- | ------------- | -------------
273273
**id** | **int**| The ID of the organization |
274-
**follower_id** | **int**| The ID of the follower |
274+
**follower_id** | **int**| The ID of the relationship between the follower and the organization |
275275

276276
### Return type
277277

docs/versions/v1/Api/PersonsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ $apiInstance = new Pipedrive\versions\v1\Api\PersonsApi(
333333
$config
334334
);
335335
$id = 56; // int | The ID of the person
336-
$follower_id = 56; // int | The ID of the follower
336+
$follower_id = 56; // int | The ID of the relationship between the follower and the person
337337

338338
try {
339339
$result = $apiInstance->deletePersonFollower($id, $follower_id);
@@ -348,7 +348,7 @@ try {
348348
Name | Type | Description | Notes
349349
------------- | ------------- | ------------- | -------------
350350
**id** | **int**| The ID of the person |
351-
**follower_id** | **int**| The ID of the follower |
351+
**follower_id** | **int**| The ID of the relationship between the follower and the person |
352352

353353
### Return type
354354

docs/versions/v1/Api/WebhooksApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ addWebhook($add_webhook_request): \Pipedrive\versions\v1\Model\Webhook
1717

1818
Create a new Webhook
1919

20-
Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `added.deal` for any newly added deals, `deleted.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
20+
Creates a new Webhook and returns its details. Note that specifying an event which triggers the Webhook combines 2 parameters - `event_action` and `event_object`. E.g., use `*.*` for getting notifications about all events, `create.deal` for any newly added deals, `delete.persons` for any deleted persons, etc. See <a href=\"https://pipedrive.readme.io/docs/guide-for-webhooks-v2?ref=api_reference\" target=\"_blank\" rel=\"noopener noreferrer\">the guide for Webhooks</a> for more details.
2121

2222
### Example
2323

docs/versions/v1/Model/AddWebhookRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ Name | Type | Description | Notes
1010
**user_id** | **int** | The ID of the user that this webhook will be authorized with. You have the option to use a different user&#39;s &#x60;user_id&#x60;. If it is not set, the current user&#39;s &#x60;user_id&#x60; will be used. As each webhook event is checked against a user&#39;s permissions, the webhook will only be sent if the user has access to the specified object(s). If you want to receive notifications for all events, please use a top-level admin user’s &#x60;user_id&#x60;. | [optional]
1111
**http_auth_user** | **string** | The HTTP basic auth username of the subscription URL endpoint (if required) | [optional]
1212
**http_auth_password** | **string** | The HTTP basic auth password of the subscription URL endpoint (if required) | [optional]
13-
**version** | **string** | The webhook&#39;s version. NB! Webhooks v2 will become the default from March 17th, 2025. See &lt;a href&#x3D;\&quot;https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version\&quot; target&#x3D;\&quot;_blank\&quot; rel&#x3D;\&quot;noopener noreferrer\&quot;&gt;this Changelog post&lt;/a&gt; for more details. | [optional] [default to '1.0']
13+
**version** | **string** | The webhook&#39;s version. NB! Webhooks v2 is the default from March 17th, 2025. See &lt;a href&#x3D;\&quot;https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version\&quot; target&#x3D;\&quot;_blank\&quot; rel&#x3D;\&quot;noopener noreferrer\&quot;&gt;this Changelog post&lt;/a&gt; for more details. | [optional] [default to '2.0']
1414

1515
[[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/ProductListItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**order_nr** | **int** | The order number of the product | [optional]
1010
**product_id** | **int** | The ID of the product | [optional]
1111
**product_variation_id** | **int** | The ID of the product variation | [optional]
12-
**item_price** | **int** | The price value of the product | [optional]
12+
**item_price** | **float** | The price value of the product | [optional]
1313
**discount** | **float** | The value of the discount. The &#x60;discount_type&#x60; field can be used to specify whether the value is an amount or a percentage | [optional] [default to 0]
1414
**discount_type** | **string** | The type of the discount&#39;s value | [optional] [default to 'percentage']
1515
**sum** | **float** | The sum of all the products attached to the deal | [optional]

0 commit comments

Comments
 (0)