pipedrive 13.0.2 → 13.0.3

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.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,11 @@ For public Changelog covering all changes done to Pipedrive’s API, webhooks an
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## 13.0.3
12
+ ### Changed
13
+ - Changed/improved `subscription_url` body parameter description
14
+ * POST /webhooks
15
+
11
16
  ## 13.0.2
12
17
  ### Fixed
13
18
  - Fixed items type for `email` and `phone` body parameters
@@ -35,7 +35,7 @@ var AddWebhookRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>AddWebhookRequest</code>.
37
37
  * @alias module:model/AddWebhookRequest
38
- * @param subscriptionUrl {String} A full, valid, publicly accessible URL. Determines where to send the notifications. Please note that you cannot use Pipedrive API endpoints as the `subscription_url`.
38
+ * @param subscriptionUrl {String} A full, valid, publicly accessible URL which determines where to send the notifications. Please note that you cannot use Pipedrive API endpoints as the `subscription_url` and the chosen URL must not redirect to another link.
39
39
  * @param eventAction {module:model/AddWebhookRequest.EventActionEnum} Type of action to receive notifications about. Wildcard will match all supported actions.
40
40
  * @param eventObject {module:model/AddWebhookRequest.EventObjectEnum} Type of object to receive notifications about. Wildcard will match all supported objects.
41
41
  */
@@ -112,7 +112,7 @@ var AddWebhookRequest = /*#__PURE__*/function () {
112
112
  return AddWebhookRequest;
113
113
  }();
114
114
  /**
115
- * A full, valid, publicly accessible URL. Determines where to send the notifications. Please note that you cannot use Pipedrive API endpoints as the `subscription_url`.
115
+ * A full, valid, publicly accessible URL which determines where to send the notifications. Please note that you cannot use Pipedrive API endpoints as the `subscription_url` and the chosen URL must not redirect to another link.
116
116
  * @member {String} subscription_url
117
117
  */
118
118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "13.0.2",
3
+ "version": "13.0.3",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -10,7 +10,9 @@
10
10
  "test": "npm run test:functional:start && npm run test:functional && npm run test:functional:stop",
11
11
  "test:functional": "node ./test/functional/environment.js",
12
12
  "test:functional:start": "node ./test/functional/environment.js --start-environment",
13
- "test:functional:stop": "node ./test/functional/environment.js --stop-environment"
13
+ "test:functional:stop": "node ./test/functional/environment.js --stop-environment",
14
+ "sonar": "pipedrive-sonar-scanner",
15
+ "test:coverage": "npm run test:functional:start && npm run test:functional -- --collectCoverage && npm run test:functional:stop"
14
16
  },
15
17
  "browser": {
16
18
  "fs": false
@@ -41,6 +43,7 @@
41
43
  "@babel/plugin-transform-runtime": "^7.12.1",
42
44
  "@babel/preset-env": "^7.0.0",
43
45
  "@babel/register": "^7.0.0",
46
+ "@pipedrive/sonar-scanner": "^3.3.0",
44
47
  "axios": "^0.21.0",
45
48
  "expect.js": "^0.3.1",
46
49
  "jest": "^26.6.3",