Skip to content

Commit 0105ca9

Browse files
authored
Merge pull request #200 from pipedrive/199
Build 199 - combined build
2 parents 291130c + 4375fba commit 0105ca9

Some content is hidden

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

65 files changed

+9299
-581
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
10+
## [10.0.0](https://github.com/pipedrive/client-php/compare/9.0.0...10.0.0) (2025-05-06)
11+
12+
### Fixed
13+
- Fixed the OAuth scope of "Add a follower to a product" endpoint in API v2
14+
### Added
15+
- Added `creator_user_id` to responses of Activities v2 endpoints
16+
- Added `marketing_status` documentation to Persons v2 endpoints
17+
- Added archived deals/leads endpoints:
18+
- `GET /v1/deals/archived`
19+
- `GET /v2/deals/archived`
20+
- `GET /v1/deals/timeline/archived`
21+
- `GET /v1/deals/summary/archived`
22+
- `GET /v1/leads/archived`
23+
- Added `is_archived` and `archive_time` properties to deals endpoints response
24+
- Added option to use `sort_by=due_date` sorting for `GET /api/v2/activities`
25+
- Added option to use `done=true/false` quick filter for `GET /api/v2/activities`
26+
- Added `project_id` and `pinned_to_project_flag` query parameter to the GET `/notes` endpoint
27+
- Added `project_id` and `pinned_to_project_flag` request bodies to the POST/PUT `/notes` endpoint
28+
- Added `project_id` and `pinned_to_project_flag` to success responses of GET/POST/PUT
29+
### Changed
30+
- Deprecated `GET /v1/activities` in favor of `GET /api/v2/activities`
31+
- Deprecated `GET /v1/activities/collection` in favor of `GET /api/v2/activities`
32+
- Deprecated `GET /v1/activities/{id}` in favor of `GET /api/v2/activities/{id}`
33+
- Deprecated `POST /v1/activities` in favor of `POST /api/v2/activities`
34+
- Deprecated `PUT /v1/activities/{id}` in favor of `PATCH /api/v2/activities/{id}`
35+
- Deprecated `DELETE /v1/activities/{id}` in favor of `DELETE /api/v2/activities/{id}`
36+
- Deprecated `DELETE /v1/activities` in favor of `DELETE /api/v2/activities/{id}`
37+
- Deprecated `GET /v1/deals` in favor of `GET /api/v2/deals`
38+
- Deprecated `GET /v1/deals/collection` in favor of `GET /api/v2/deals`
39+
- Deprecated `GET /v1/deals/{id}` in favor of `GET /api/v2/deals/{id}`
40+
- Deprecated `GET /v1/deals/search` in favor of `GET /api/v2/deals/search`
41+
- Deprecated `POST /v1/deals` in favor of `POST /api/v2/deals`
42+
- Deprecated `PUT /v1/deals/{id}` in favor of `PATCH /api/v2/deals`
43+
- Deprecated `DELETE /v1/deals/{id}` in favor of `DELETE /api/v2/deals/{id}`
44+
- Deprecated `DELETE /v1/deals` in favor of `DELETE /api/v2/deals/{id}`
45+
- Deprecated `GET /v1/deals/{id}/activities` in favor of `GET /api/v2/activities?deal_id={id}`
46+
- Deprecated `GET /v1/deals/{id}/persons` in favor of `GET /api/v2/persons?deal_id={id}`
47+
- Deprecated `GET /v1/persons` in favor of `GET /api/v2/persons`
48+
- Deprecated `GET /v1/persons/collection` in favor of `GET /api/v2/persons`
49+
- Deprecated `GET /v1/persons/{id}` in favor of `GET /api/v2/persons/{id}`
50+
- Deprecated `GET /v1/persons/search` in favor of `GET /api/v2/persons/search`
51+
- Deprecated `POST /v1/persons` in favor of `POST /api/v2/persons`
52+
- Deprecated `PUT /v1/persons/{id}` in favor of `PATCH /api/v2/persons/{id}`
53+
- Deprecated `DELETE /v1/persons/{id}` in favor of `DELETE /api/v2/persons/{id}`
54+
- Deprecated `DELETE /v1/persons` in favor of `DELETE /api/v2/persons/{id}`
55+
- Deprecated `GET /v1/persons/{id}/deals` in favor of `GET /api/v2/deals?person_id={id}`
56+
- Deprecated `GET /v1/persons/{id}/activities` in favor of `GET /api/v2/activities?person_id={id}`
57+
- Deprecated `GET /v1/organizations` in favor of `GET /api/v2/organizations`
58+
- Deprecated `GET /v1/organizations/collection` in favor of `GET /api/v2/organizations`
59+
- Deprecated `GET /v1/organizations/{id}` in favor of `GET /api/v2/organizations/{id}`
60+
- Deprecated `GET /v1/organizations/search` in favor of `GET /api/v2/organizations/search`
61+
- Deprecated `POST /v1/organizations` in favor of `POST /api/v2/organizations`
62+
- Deprecated `PUT /v1/organizations/{id}` in favor of `PATCH /api/v2/organizations/{id}`
63+
- Deprecated `DELETE /v1/organizations/{id}` in favor of `DELETE /api/v2/organizations/{id}`
64+
- Deprecated `DELETE /v1/organizations` in favor of `DELETE /api/v2/organizations/{id}`
65+
- Deprecated `GET /v1/organizations/{id}/deals` in favor of `GET /api/v2/deals?org_id={id}`
66+
- Deprecated `GET /v1/organizations/{id}/activities` in favor of `GET /api/v2/activities?org_id={id}`
67+
- Deprecated `GET /v1/organizations/{id}/persons` in favor of `GET /api/v2/persons?org_id={id}`
68+
- Deprecated `GET /v1/products` in favor of `GET /api/v2/products`
69+
- Deprecated `GET /v1/products/{id}` in favor of `GET /api/v2/products/{id}`
70+
- Deprecated `GET /v1/products/search` in favor of `GET /api/v2/products/search`
71+
- Deprecated `POST /v1/products` in favor of `POST /api/v2/products`
72+
- Deprecated `PUT /v1/products/{id}` in favor of `PATCH /api/v2/products/{id}`
73+
- Deprecated `DELETE /v1/products/{id}` in favor of `DELETE /api/v2/products/{id}`
74+
- Deprecated `GET /v1/pipelines` in favor of `GET /api/v2/pipelines`
75+
- Deprecated `GET /v1/pipelines/{id}` in favor of `GET /api/v2/pipelines/{id}`
76+
- Deprecated `POST /v1/pipelines` in favor of `POST /api/v2/pipelines`
77+
- Deprecated `PUT /v1/pipelines/{id}` in favor of `PATCH /api/v2/pipelines/{id}`
78+
- Deprecated `DELETE /v1/pipelines/{id}` in favor of `DELETE /api/v2/pipelines/{id}`
79+
- Deprecated `GET /v1/stages` in favor of `GET /api/v2/stages`
80+
- Deprecated `GET /v1/stages/{id}` in favor of `GET /api/v2/stages/{id}`
81+
- Deprecated `POST /v1/stages` in favor of `POST /api/v2/stages`
82+
- Deprecated `PUT /v1/stages/{id}` in favor of `PATCH /api/v2/stages/{id}`
83+
- Deprecated `DELETE /v1/stages/{id}` in favor of `DELETE /api/v2/stages/{id}`
84+
- Deprecated `DELETE /v1/stages` in favor of `DELETE /api/v2/stages/{id}`
85+
- Deprecated `GET /v1/itemSearch` in favor of `GET /api/v2/itemSearch`
86+
- Deprecated `GET /v1/itemSearch/field` in favor of `GET /api/v2/itemSearch/field`
87+
- Updated non archived deals/leads endpoint description to specify that following endpoints do not return archived items:
88+
- `GET /v1/deals`
89+
- `GET /v2/deals`
90+
- `GET /v1/deals/timeline`
91+
- `GET /v1/deals/summary`
92+
- `GET /v1/leads`
93+
- Removed deprecated `archived_status` query parameter from leads endpoints
94+
995
[9.0.0](https://github.com/pipedrive/client-php/compare/8.1.5...9.0.0) (2025-03-31)
1096

1197
### Changed

docs/versions/v1/Api/ActivitiesApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Method | HTTP request | Description
88
[**deleteActivities()**](ActivitiesApi.md#deleteActivities) | **DELETE** /activities | Delete multiple activities in bulk
99
[**deleteActivity()**](ActivitiesApi.md#deleteActivity) | **DELETE** /activities/{id} | Delete an activity
1010
[**getActivities()**](ActivitiesApi.md#getActivities) | **GET** /activities | Get all activities assigned to a particular user
11-
[**getActivitiesCollection()**](ActivitiesApi.md#getActivitiesCollection) | **GET** /activities/collection | Get all activities (BETA)
11+
[**getActivitiesCollection()**](ActivitiesApi.md#getActivitiesCollection) | **GET** /activities/collection | Get all activities collection
1212
[**getActivity()**](ActivitiesApi.md#getActivity) | **GET** /activities/{id} | Get details of an activity
1313
[**updateActivity()**](ActivitiesApi.md#updateActivity) | **PUT** /activities/{id} | Update an activity
1414

@@ -86,7 +86,7 @@ deleteActivities($ids): \Pipedrive\versions\v1\Model\DeleteActivitiesResponse
8686

8787
Delete multiple activities in bulk
8888

89-
Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted.
89+
Marks multiple activities as deleted. After 30 days, the activities will be permanently deleted. <br>This endpoint has been deprecated. Please use \"https://developers.pipedrive.com/docs/api/v1/Activities#deleteActivity\" target=\"_blank\" rel=\"noopener noreferrer\">DELETE /api/v2/activities/{id}a> instead.
9090

9191
### Example
9292

@@ -293,9 +293,9 @@ Name | Type | Description | Notes
293293
getActivitiesCollection($cursor, $limit, $since, $until, $user_id, $done, $type): \Pipedrive\versions\v1\Model\GetActivitiesCollectionResponse
294294
```
295295

296-
Get all activities (BETA)
296+
Get all activities collection
297297

298-
298+
299299

300300
### Example
301301

0 commit comments

Comments
 (0)