pipedrive 29.1.0 → 29.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,6 +31,11 @@ export interface AddWebhookRequest {
|
|
31
31
|
*/
|
32
32
|
'event_object': AddWebhookRequestEventObjectConst;
|
33
33
|
/**
|
34
|
+
* The webhook\'s name
|
35
|
+
* @type {string}
|
36
|
+
*/
|
37
|
+
'name': string;
|
38
|
+
/**
|
34
39
|
* 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`.
|
35
40
|
* @type {number}
|
36
41
|
*/
|
@@ -39,12 +44,12 @@ export interface AddWebhookRequest {
|
|
39
44
|
* The HTTP basic auth username of the subscription URL endpoint (if required)
|
40
45
|
* @type {string}
|
41
46
|
*/
|
42
|
-
'http_auth_user'?: string;
|
47
|
+
'http_auth_user'?: string | null;
|
43
48
|
/**
|
44
49
|
* The HTTP basic auth password of the subscription URL endpoint (if required)
|
45
50
|
* @type {string}
|
46
51
|
*/
|
47
|
-
'http_auth_password'?: string;
|
52
|
+
'http_auth_password'?: string | null;
|
48
53
|
/**
|
49
54
|
* 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.
|
50
55
|
* @type {string}
|
@@ -51,6 +51,11 @@ export interface BaseWebhook {
|
|
51
51
|
*/
|
52
52
|
'subscription_url'?: string;
|
53
53
|
/**
|
54
|
+
* The Webhook version
|
55
|
+
* @type {string}
|
56
|
+
*/
|
57
|
+
'version'?: string;
|
58
|
+
/**
|
54
59
|
*
|
55
60
|
* @type {number}
|
56
61
|
*/
|
@@ -81,11 +86,6 @@ export interface BaseWebhook {
|
|
81
86
|
*/
|
82
87
|
'http_auth_password'?: string | null;
|
83
88
|
/**
|
84
|
-
* Any additional data related to the Webhook
|
85
|
-
* @type {object}
|
86
|
-
*/
|
87
|
-
'additional_data'?: object;
|
88
|
-
/**
|
89
89
|
* The removal reason of the Webhook (if removed)
|
90
90
|
* @type {string}
|
91
91
|
*/
|
@@ -105,6 +105,11 @@ export interface BaseWebhook {
|
|
105
105
|
* @type {number}
|
106
106
|
*/
|
107
107
|
'admin_id'?: number;
|
108
|
+
/**
|
109
|
+
* The Webhook name
|
110
|
+
* @type {string}
|
111
|
+
*/
|
112
|
+
'name'?: string;
|
108
113
|
}
|
109
114
|
export declare const BaseWebhookIsActiveConst: {
|
110
115
|
readonly NUMBER_0: 0;
|
@@ -31,6 +31,11 @@ export interface AddWebhookRequest {
|
|
31
31
|
*/
|
32
32
|
'event_object': AddWebhookRequestEventObjectConst;
|
33
33
|
/**
|
34
|
+
* The webhook\'s name
|
35
|
+
* @type {string}
|
36
|
+
*/
|
37
|
+
'name': string;
|
38
|
+
/**
|
34
39
|
* 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`.
|
35
40
|
* @type {number}
|
36
41
|
*/
|
@@ -39,12 +44,12 @@ export interface AddWebhookRequest {
|
|
39
44
|
* The HTTP basic auth username of the subscription URL endpoint (if required)
|
40
45
|
* @type {string}
|
41
46
|
*/
|
42
|
-
'http_auth_user'?: string;
|
47
|
+
'http_auth_user'?: string | null;
|
43
48
|
/**
|
44
49
|
* The HTTP basic auth password of the subscription URL endpoint (if required)
|
45
50
|
* @type {string}
|
46
51
|
*/
|
47
|
-
'http_auth_password'?: string;
|
52
|
+
'http_auth_password'?: string | null;
|
48
53
|
/**
|
49
54
|
* 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.
|
50
55
|
* @type {string}
|
@@ -51,6 +51,11 @@ export interface BaseWebhook {
|
|
51
51
|
*/
|
52
52
|
'subscription_url'?: string;
|
53
53
|
/**
|
54
|
+
* The Webhook version
|
55
|
+
* @type {string}
|
56
|
+
*/
|
57
|
+
'version'?: string;
|
58
|
+
/**
|
54
59
|
*
|
55
60
|
* @type {number}
|
56
61
|
*/
|
@@ -81,11 +86,6 @@ export interface BaseWebhook {
|
|
81
86
|
*/
|
82
87
|
'http_auth_password'?: string | null;
|
83
88
|
/**
|
84
|
-
* Any additional data related to the Webhook
|
85
|
-
* @type {object}
|
86
|
-
*/
|
87
|
-
'additional_data'?: object;
|
88
|
-
/**
|
89
89
|
* The removal reason of the Webhook (if removed)
|
90
90
|
* @type {string}
|
91
91
|
*/
|
@@ -105,6 +105,11 @@ export interface BaseWebhook {
|
|
105
105
|
* @type {number}
|
106
106
|
*/
|
107
107
|
'admin_id'?: number;
|
108
|
+
/**
|
109
|
+
* The Webhook name
|
110
|
+
* @type {string}
|
111
|
+
*/
|
112
|
+
'name'?: string;
|
108
113
|
}
|
109
114
|
export declare const BaseWebhookIsActiveConst: {
|
110
115
|
readonly NUMBER_0: 0;
|