Skip to content

Commit 6d0981b

Browse files
Release v29.2.0 from PR #663
2 parents b338e21 + a0d5aa1 commit 6d0981b

File tree

5 files changed

+28
-11
lines changed

5 files changed

+28
-11
lines changed

CHANGELOG.md

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

99
## [Unreleased]
1010

11+
## [29.2.0] - 2025-09-03
12+
### Added
13+
- Documented the `name` property in the Webhooks API for the following endpoints:
14+
- `GET /v1/webhooks`
15+
- `POST /v1/webhooks`
16+
1117
## [29.1.0] - 2025-09-03
1218
### Added
1319
- Add documentation for product images functionality:
@@ -935,7 +941,8 @@ Those fields will be formatted as "2020-07-13" instead of "2020-07-13T00:00:00.0
935941
* Fixed `GET /goal/:id/results` error handling in case when there are no existing stages connected to specified goal
936942
* Fixed typo in lead example response (`crrency` to `currency`)
937943

938-
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v29.1.0...HEAD
944+
[Unreleased]: https://github.com/pipedrive/api-docs/compare/v29.2.0...HEAD
945+
[29.2.0]: https://github.com/pipedrive/api-docs/compare/v29.1.0...v29.2.0
939946
[29.1.0]: https://github.com/pipedrive/api-docs/compare/v29.0.0...v29.1.0
940947
[29.0.0]: https://github.com/pipedrive/api-docs/compare/v28.0.2...v29.0.0
941948
[28.0.2]: https://github.com/pipedrive/api-docs/compare/v28.0.1...v28.0.2

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": "29.1.0",
3+
"version": "29.2.0",
44
"description": "Pipedrive REST client for NodeJS",
55
"license": "MIT",
66
"homepage": "https://developers.pipedrive.com",

src/versions/v1/models/add-webhook-request.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ export interface AddWebhookRequest {
3636
*/
3737
'event_object': AddWebhookRequestEventObjectConst;
3838
/**
39+
* The webhook\'s name
40+
* @type {string}
41+
*/
42+
'name': string;
43+
/**
3944
* The ID of the user that this webhook will be authorized with. You have the option to use a different user\'s `user_id`. If it is not set, the current user\'s `user_id` will be used. As each webhook event is checked against a user\'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 `user_id`.
4045
* @type {number}
4146
*/
@@ -44,12 +49,12 @@ export interface AddWebhookRequest {
4449
* The HTTP basic auth username of the subscription URL endpoint (if required)
4550
* @type {string}
4651
*/
47-
'http_auth_user'?: string;
52+
'http_auth_user'?: string | null;
4853
/**
4954
* The HTTP basic auth password of the subscription URL endpoint (if required)
5055
* @type {string}
5156
*/
52-
'http_auth_password'?: string;
57+
'http_auth_password'?: string | null;
5358
/**
5459
* The webhook\'s version. NB! Webhooks v2 is the default from March 17th, 2025. See <a href=\"https://developers.pipedrive.com/changelog/post/breaking-change-webhooks-v2-will-become-the-new-default-version\" target=\"_blank\" rel=\"noopener noreferrer\">this Changelog post</a> for more details.
5560
* @type {string}

src/versions/v1/models/base-webhook.ts

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ export interface BaseWebhook {
5656
*/
5757
'subscription_url'?: string;
5858
/**
59+
* The Webhook version
60+
* @type {string}
61+
*/
62+
'version'?: string;
63+
/**
5964
*
6065
* @type {number}
6166
*/
@@ -86,11 +91,6 @@ export interface BaseWebhook {
8691
*/
8792
'http_auth_password'?: string | null;
8893
/**
89-
* Any additional data related to the Webhook
90-
* @type {object}
91-
*/
92-
'additional_data'?: object;
93-
/**
9494
* The removal reason of the Webhook (if removed)
9595
* @type {string}
9696
*/
@@ -110,6 +110,11 @@ export interface BaseWebhook {
110110
* @type {number}
111111
*/
112112
'admin_id'?: number;
113+
/**
114+
* The Webhook name
115+
* @type {string}
116+
*/
117+
'name'?: string;
113118
}
114119

115120
export const BaseWebhookIsActiveConst = {

0 commit comments

Comments
 (0)