pipedrive 13.0.5 → 13.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/dist/api/RolesApi.js +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -7,6 +7,14 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
|
|
7
7
|
For public Changelog covering all changes done to Pipedrive’s API, webhooks and app extensions platforms, see [public Changelog](https://pipedrive.readme.io/docs/changelog) with discussion area in [Developers Community](https://devcommunity.pipedrive.com/c/documentation/changelog/19).
|
8
8
|
|
9
9
|
## [Unreleased]
|
10
|
+
|
11
|
+
## 13.0.6
|
12
|
+
### Fixed
|
13
|
+
- Fixed `POST /roles/{id}/settings` `value` parameter description
|
14
|
+
### Added
|
15
|
+
- Added type to `POST /roles/{id}/settings` `value` parameter
|
16
|
+
- Added description to `POST /roles/{id}/settings`
|
17
|
+
|
10
18
|
## 13.0.5
|
11
19
|
### Changed
|
12
20
|
- Changed Organization `custom_fields` type to a string array
|
package/dist/api/RolesApi.js
CHANGED
@@ -60,9 +60,10 @@ var RolesApi = /*#__PURE__*/function () {
|
|
60
60
|
}
|
61
61
|
/**
|
62
62
|
* Add or update role setting
|
63
|
+
* Add or update the visibility setting for a role
|
63
64
|
* @param {Number} id ID of the role
|
64
65
|
* @param {module:model/String} settingKey
|
65
|
-
* @param {module:model/
|
66
|
+
* @param {module:model/Number} value Possible values for the `default_visibility` setting depending on the subscription plan:<br> <table class='role-setting'> <caption><b>Essential / Advanced plan</b></caption> <tr><th><b>Value</b></th><th><b>Description</b></th></tr> <tr><td>`1`</td><td>Owner & Followers</td></tr> <tr><td>`3`</td><td>Entire company</td></tr> </table> <br> <table class='role-setting'> <caption><b>Professional / Enterprise plan</b></caption> <tr><th><b>Value</b></th><th><b>Description</b></th></tr> <tr><td>`1`</td><td>Owner only</td></tr> <tr><td>`3`</td><td>Owner's visibility group</td></tr> <tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr> <tr><td>`7`</td><td>Entire company</td></tr> </table> <br> Read more about visibility groups <a href='https://support.pipedrive.com/en/article/visibility-groups'>here</a>.
|
66
67
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/PostRoleSettings} and HTTP response
|
67
68
|
*/
|
68
69
|
|
@@ -118,9 +119,10 @@ var RolesApi = /*#__PURE__*/function () {
|
|
118
119
|
}
|
119
120
|
/**
|
120
121
|
* Add or update role setting
|
122
|
+
* Add or update the visibility setting for a role
|
121
123
|
* @param {Number} id ID of the role
|
122
124
|
* @param {module:model/String} settingKey
|
123
|
-
* @param {module:model/
|
125
|
+
* @param {module:model/Number} value Possible values for the `default_visibility` setting depending on the subscription plan:<br> <table class='role-setting'> <caption><b>Essential / Advanced plan</b></caption> <tr><th><b>Value</b></th><th><b>Description</b></th></tr> <tr><td>`1`</td><td>Owner & Followers</td></tr> <tr><td>`3`</td><td>Entire company</td></tr> </table> <br> <table class='role-setting'> <caption><b>Professional / Enterprise plan</b></caption> <tr><th><b>Value</b></th><th><b>Description</b></th></tr> <tr><td>`1`</td><td>Owner only</td></tr> <tr><td>`3`</td><td>Owner's visibility group</td></tr> <tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr> <tr><td>`7`</td><td>Entire company</td></tr> </table> <br> Read more about visibility groups <a href='https://support.pipedrive.com/en/article/visibility-groups'>here</a>.
|
124
126
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/PostRoleSettings}
|
125
127
|
*/
|
126
128
|
|