Skip to content

Commit 730a18d

Browse files
Release v25.0.0 from PR #609
2 parents e11fe35 + dfc6235 commit 730a18d

32 files changed

+2695
-4966
lines changed

CHANGELOG.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
88

99
## [Unreleased]
1010

11+
## [25.0.0] - 2025-03-31
12+
### Changed
13+
- Updated `item_price` field data type in products from integer -> number for products and deal products
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+
1132
## [24.2.0] - 2025-03-12
1233
### Added
1334
- Added `GET /v2/deals/installments` endpoint to fetch all installments added to a list of deals with cursor pagination
@@ -764,7 +785,8 @@ structure
764785
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
765786
* Fixed typo in lead example response (`crrency` to `currency`)
766787

767-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v24.2.0...HEAD
788+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v25.0.0...HEAD
789+
[25.0.0]: https://github.com/pipedrive/api-docs/compare/v24.2.0...v25.0.0
768790
[24.2.0]: https://github.com/pipedrive/api-docs/compare/v24.1.1...v24.2.0
769791
[24.1.1]: https://github.com/pipedrive/api-docs/compare/v24.1.0...v24.1.1
770792
[24.1.0]: https://github.com/pipedrive/api-docs/compare/v24.0.0...v24.1.0

docs/v2.md

Lines changed: 17 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -9,53 +9,22 @@ ActivitiesApi | deleteActivity | **DELETE** /activities/{id} | Delete an activit
99
ActivitiesApi | getActivities | **GET** /activities | Get all activities
1010
ActivitiesApi | getActivity | **GET** /activities/{id} | Get details of an activity
1111
ActivitiesApi | updateActivity | **PATCH** /activities/{id} | Update an activity
12-
BetaApi | addActivity | **POST** /activities | Add a new activity
13-
BetaApi | addDeal | **POST** /deals | Add a new deal
14-
BetaApi | addDealProduct | **POST** /deals/{id}/products | Add a product to a deal
15-
BetaApi | addOrganization | **POST** /organizations | Add a new organization
16-
BetaApi | addPerson | **POST** /persons | Add a new person
17-
BetaApi | deleteActivity | **DELETE** /activities/{id} | Delete an activity
18-
BetaApi | deleteAdditionalDiscount | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
19-
BetaApi | deleteDeal | **DELETE** /deals/{id} | Delete a deal
20-
BetaApi | deleteDealProduct | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
2112
BetaApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
22-
BetaApi | deleteOrganization | **DELETE** /organizations/{id} | Delete a organization
23-
BetaApi | deletePerson | **DELETE** /persons/{id} | Delete a person
24-
BetaApi | getActivities | **GET** /activities | Get all activities
25-
BetaApi | getActivity | **GET** /activities/{id} | Get details of an activity
26-
BetaApi | getAdditionalDiscounts | **GET** /deals/{id}/discounts | List discounts added to a deal
27-
BetaApi | getDeal | **GET** /deals/{id} | Get details of a deal
28-
BetaApi | getDealProducts | **GET** /deals/{id}/products | List products attached to a deal
29-
BetaApi | getDeals | **GET** /deals | Get all deals
30-
BetaApi | getDealsProducts | **GET** /deals/products | Get deal products of several deals
3113
BetaApi | getInstallments | **GET** /deals/installments | List installments added to a list of deals
32-
BetaApi | getOrganization | **GET** /organizations/{id} | Get details of a organization
33-
BetaApi | getOrganizations | **GET** /organizations | Get all organizations
34-
BetaApi | getPerson | **GET** /persons/{id} | Get details of a person
35-
BetaApi | getPersons | **GET** /persons | Get all persons
36-
BetaApi | postAdditionalDiscount | **POST** /deals/{id}/discounts | Add a discount to a deal
3714
BetaApi | postInstallment | **POST** /deals/{id}/installments | Add an installment to a deal
38-
BetaApi | searchDeals | **GET** /deals/search | Search deals
39-
BetaApi | searchItem | **GET** /itemSearch | Perform a search from multiple item types
40-
BetaApi | searchItemByField | **GET** /itemSearch/field | Perform a search using a specific field from an item type
41-
BetaApi | searchLeads | **GET** /leads/search | Search leads
42-
BetaApi | searchOrganization | **GET** /organizations/search | Search organizations
43-
BetaApi | searchPersons | **GET** /persons/search | Search persons
44-
BetaApi | updateActivity | **PATCH** /activities/{id} | Update an activity
45-
BetaApi | updateAdditionalDiscount | **PATCH** /deals/{id}/discounts/{discount_id} | Update a discount added to a deal
46-
BetaApi | updateDeal | **PATCH** /deals/{id} | Update a deal
47-
BetaApi | updateDealProduct | **PATCH** /deals/{id}/products/{product_attachment_id} | Update the product attached to a deal
4815
BetaApi | updateInstallment | **PATCH** /deals/{id}/installments/{installment_id} | Update an installment added to a deal
49-
BetaApi | updateOrganization | **PATCH** /organizations/{id} | Update a organization
50-
BetaApi | updatePerson | **PATCH** /persons/{id} | Update a person
5116
DealsApi | addDeal | **POST** /deals | Add a new deal
17+
DealsApi | addDealFollower | **POST** /deals/{id}/followers | Add a follower to a deal
5218
DealsApi | addDealProduct | **POST** /deals/{id}/products | Add a product to a deal
5319
DealsApi | deleteAdditionalDiscount | **DELETE** /deals/{id}/discounts/{discount_id} | Delete a discount from a deal
5420
DealsApi | deleteDeal | **DELETE** /deals/{id} | Delete a deal
21+
DealsApi | deleteDealFollower | **DELETE** /deals/{id}/followers/{follower_id} | Delete a follower from a deal
5522
DealsApi | deleteDealProduct | **DELETE** /deals/{id}/products/{product_attachment_id} | Delete an attached product from a deal
5623
DealsApi | deleteInstallment | **DELETE** /deals/{id}/installments/{installment_id} | Delete an installment from a deal
5724
DealsApi | getAdditionalDiscounts | **GET** /deals/{id}/discounts | List discounts added to a deal
5825
DealsApi | getDeal | **GET** /deals/{id} | Get details of a deal
26+
DealsApi | getDealFollowers | **GET** /deals/{id}/followers | List followers of a deal
27+
DealsApi | getDealFollowersChangelog | **GET** /deals/{id}/followers/changelog | List followers changelog of a deal
5928
DealsApi | getDealProducts | **GET** /deals/{id}/products | List products attached to a deal
6029
DealsApi | getDeals | **GET** /deals | Get all deals
6130
DealsApi | getDealsProducts | **GET** /deals/products | Get deal products of several deals
@@ -71,14 +40,22 @@ ItemSearchApi | searchItem | **GET** /itemSearch | Perform a search from multipl
7140
ItemSearchApi | searchItemByField | **GET** /itemSearch/field | Perform a search using a specific field from an item type
7241
LeadsApi | searchLeads | **GET** /leads/search | Search leads
7342
OrganizationsApi | addOrganization | **POST** /organizations | Add a new organization
43+
OrganizationsApi | addOrganizationFollower | **POST** /organizations/{id}/followers | Add a follower to an organization
7444
OrganizationsApi | deleteOrganization | **DELETE** /organizations/{id} | Delete a organization
45+
OrganizationsApi | deleteOrganizationFollower | **DELETE** /organizations/{id}/followers/{follower_id} | Delete a follower from an organization
7546
OrganizationsApi | getOrganization | **GET** /organizations/{id} | Get details of a organization
47+
OrganizationsApi | getOrganizationFollowers | **GET** /organizations/{id}/followers | List followers of an organization
48+
OrganizationsApi | getOrganizationFollowersChangelog | **GET** /organizations/{id}/followers/changelog | List followers changelog of an organization
7649
OrganizationsApi | getOrganizations | **GET** /organizations | Get all organizations
7750
OrganizationsApi | searchOrganization | **GET** /organizations/search | Search organizations
7851
OrganizationsApi | updateOrganization | **PATCH** /organizations/{id} | Update a organization
7952
PersonsApi | addPerson | **POST** /persons | Add a new person
53+
PersonsApi | addPersonFollower | **POST** /persons/{id}/followers | Add a follower to a person
8054
PersonsApi | deletePerson | **DELETE** /persons/{id} | Delete a person
55+
PersonsApi | deletePersonFollower | **DELETE** /persons/{id}/followers/{follower_id} | Delete a follower from a person
8156
PersonsApi | getPerson | **GET** /persons/{id} | Get details of a person
57+
PersonsApi | getPersonFollowers | **GET** /persons/{id}/followers | List followers of a person
58+
PersonsApi | getPersonFollowersChangelog | **GET** /persons/{id}/followers/changelog | List followers changelog of a person
8259
PersonsApi | getPersons | **GET** /persons | Get all persons
8360
PersonsApi | searchPersons | **GET** /persons/search | Search persons
8461
PersonsApi | updatePerson | **PATCH** /persons/{id} | Update a person
@@ -88,10 +65,14 @@ PipelinesApi | getPipeline | **GET** /pipelines/{id} | Get one pipeline
8865
PipelinesApi | getPipelines | **GET** /pipelines | Get all pipelines
8966
PipelinesApi | updatePipeline | **PATCH** /pipelines/{id} | Update a pipeline
9067
ProductsApi | addProduct | **POST** /products | Add a product
68+
ProductsApi | addProductFollower | **POST** /products/{id}/followers | Add a follower to a product
9169
ProductsApi | addProductVariation | **POST** /products/{id}/variations | Add a product variation
9270
ProductsApi | deleteProduct | **DELETE** /products/{id} | Delete a product
71+
ProductsApi | deleteProductFollower | **DELETE** /products/{id}/followers/{follower_id} | Delete a follower from a product
9372
ProductsApi | deleteProductVariation | **DELETE** /products/{id}/variations/{product_variation_id} | Delete a product variation
9473
ProductsApi | getProduct | **GET** /products/{id} | Get one product
74+
ProductsApi | getProductFollowers | **GET** /products/{id}/followers | List followers of a product
75+
ProductsApi | getProductFollowersChangelog | **GET** /products/{id}/followers/changelog | List followers changelog of a product
9576
ProductsApi | getProductVariations | **GET** /products/{id}/variations | Get all product variations
9677
ProductsApi | getProducts | **GET** /products | Get all products
9778
ProductsApi | searchProducts | **GET** /products/search | Search products
@@ -102,6 +83,7 @@ StagesApi | deleteStage | **DELETE** /stages/{id} | Delete a stage
10283
StagesApi | getStage | **GET** /stages/{id} | Get one stage
10384
StagesApi | getStages | **GET** /stages | Get all stages
10485
StagesApi | updateStage | **PATCH** /stages/{id} | Update stage details
86+
UsersApi | getUserFollowers | **GET** /users/{id}/followers | List followers of a user
10587

10688
## Documentation for Authorization
10789

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pipedrive",
3-
"version": "24.2.0",
3+
"version": "25.0.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/api/deals-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ export const DealsApiAxiosParamCreator = function (configuration?: Configuration
322322
* Deletes a follower from a deal.
323323
* @summary Delete a follower from a deal
324324
* @param {number} id The ID of the deal
325-
* @param {number} follower_id The ID of the follower
325+
* @param {number} follower_id The ID of the relationship between the follower and the deal
326326
327327
* @throws {RequiredError}
328328
*/
@@ -1749,7 +1749,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
17491749
* Deletes a follower from a deal.
17501750
* @summary Delete a follower from a deal
17511751
* @param {number} id The ID of the deal
1752-
* @param {number} follower_id The ID of the follower
1752+
* @param {number} follower_id The ID of the relationship between the follower and the deal
17531753
17541754
* @throws {RequiredError}
17551755
*/
@@ -2502,7 +2502,7 @@ export interface DealsApiDeleteDealFollowerRequest {
25022502
readonly id: number
25032503

25042504
/**
2505-
* The ID of the follower
2505+
* The ID of the relationship between the follower and the deal
25062506
* @type {number}
25072507
* @memberof DealsApiDeleteDealFollower
25082508
*/

src/versions/v1/api/organizations-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export const OrganizationsApiAxiosParamCreator = function (configuration?: Confi
208208
* Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
209209
* @summary Delete a follower from an organization
210210
* @param {number} id The ID of the organization
211-
* @param {number} follower_id The ID of the follower
211+
* @param {number} follower_id The ID of the relationship between the follower and the organization
212212
213213
* @throws {RequiredError}
214214
*/
@@ -1150,7 +1150,7 @@ export const OrganizationsApiFp = function(configuration?: Configuration) {
11501150
* Deletes a follower from an organization. You can retrieve the `follower_id` from the <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#getOrganizationFollowers\">List followers of an organization</a> endpoint.
11511151
* @summary Delete a follower from an organization
11521152
* @param {number} id The ID of the organization
1153-
* @param {number} follower_id The ID of the follower
1153+
* @param {number} follower_id The ID of the relationship between the follower and the organization
11541154
11551155
* @throws {RequiredError}
11561156
*/
@@ -1648,7 +1648,7 @@ export interface OrganizationsApiDeleteOrganizationFollowerRequest {
16481648
readonly id: number
16491649

16501650
/**
1651-
* The ID of the follower
1651+
* The ID of the relationship between the follower and the organization
16521652
* @type {number}
16531653
* @memberof OrganizationsApiDeleteOrganizationFollower
16541654
*/

src/versions/v1/api/persons-api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ export const PersonsApiAxiosParamCreator = function (configuration?: Configurati
280280
* Deletes a follower from a person.
281281
* @summary Delete a follower from a person
282282
* @param {number} id The ID of the person
283-
* @param {number} follower_id The ID of the follower
283+
* @param {number} follower_id The ID of the relationship between the follower and the person
284284
285285
* @throws {RequiredError}
286286
*/
@@ -1284,7 +1284,7 @@ export const PersonsApiFp = function(configuration?: Configuration) {
12841284
* Deletes a follower from a person.
12851285
* @summary Delete a follower from a person
12861286
* @param {number} id The ID of the person
1287-
* @param {number} follower_id The ID of the follower
1287+
* @param {number} follower_id The ID of the relationship between the follower and the person
12881288
12891289
* @throws {RequiredError}
12901290
*/
@@ -1863,7 +1863,7 @@ export interface PersonsApiDeletePersonFollowerRequest {
18631863
readonly id: number
18641864

18651865
/**
1866-
* The ID of the follower
1866+
* The ID of the relationship between the follower and the person
18671867
* @type {number}
18681868
* @memberof PersonsApiDeletePersonFollower
18691869
*/

0 commit comments

Comments
 (0)