pipedrive 13.1.3 → 13.2.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
@@ -7,6 +7,21 @@ 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.2.3
12
+ ### Changed
13
+ - Update `visible_to` parameter for `POST /deals` and `PUT /deals/{id}`. Differentiate options by plans
14
+ - Update `visible_to` parameter for `POST /persons` and `PUT /persons/{id}`. Differentiate options by plans
15
+ - Update `visible_to` parameter for `POST /organizations` and `PUT /organizations/{id}`. Differentiate options by plans
16
+
17
+ ## 13.2.1
18
+ ### Fixed
19
+ - Fixed wrong field name normalization for custom fields keys
20
+
21
+ ## 13.2.0
22
+ ### Changed
23
+ - Deprecate /v1/mailbox/mailMessages/{id} & /v1/mailbox/mailThreads/{id} response data property write_flag
24
+
10
25
  ## 13.1.3
11
26
  ### Fixed
12
27
  - Fix replaceCamelCaseObj is not defined reference issue in ApiClient
package/dist/ApiClient.js CHANGED
@@ -690,10 +690,16 @@ var ApiClient = /*#__PURE__*/function () {
690
690
  var keyValue = obj[key];
691
691
  var isArray = Array.isArray(keyValue);
692
692
  var isObject = (0, _typeof2["default"])(keyValue) === 'object' && !isArray;
693
+ var isHash = /^[a-f0-9]{40}$/i.test(key);
693
694
  if (isArray) keyValue = keyValue.map(function (kv) {
694
695
  return (0, _typeof2["default"])(kv) === 'object' ? _this3.replaceCamelCaseObj(kv) : kv;
695
696
  });
696
- snakeCased[(0, _lodash.snakeCase)(key)] = isObject ? this.replaceCamelCaseObj(keyValue) : keyValue;
697
+
698
+ if (isHash) {
699
+ snakeCased[key] = isObject ? key : keyValue;
700
+ } else {
701
+ snakeCased[(0, _lodash.snakeCase)(key)] = isObject ? this.replaceCamelCaseObj(keyValue) : keyValue;
702
+ }
697
703
  }
698
704
 
699
705
  return snakeCased;
@@ -153,11 +153,6 @@ var BaseMailThread = /*#__PURE__*/function () {
153
153
  delete data['mail_link_tracking_enabled_flag'];
154
154
  }
155
155
 
156
- if (data.hasOwnProperty('write_flag')) {
157
- obj['write_flag'] = _ApiClient["default"].convertToType(data['write_flag'], 'Boolean');
158
- delete data['write_flag'];
159
- }
160
-
161
156
  if (data.hasOwnProperty('parties')) {
162
157
  obj['parties'] = _BaseMailThreadAllOfParties["default"].constructFromObject(data['parties']);
163
158
  delete data['parties'];
@@ -368,12 +363,6 @@ BaseMailThread.prototype['smart_bcc_flag'] = undefined;
368
363
  */
369
364
 
370
365
  BaseMailThread.prototype['mail_link_tracking_enabled_flag'] = undefined;
371
- /**
372
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property
373
- * @member {Boolean} write_flag
374
- */
375
-
376
- BaseMailThread.prototype['write_flag'] = undefined;
377
366
  /**
378
367
  * @member {module:model/BaseMailThreadAllOfParties} parties
379
368
  */
@@ -595,13 +584,7 @@ _CommonMailThread["default"].prototype['smart_bcc_flag'] = undefined;
595
584
  * @member {module:model/NumberBooleanDefault0} mail_link_tracking_enabled_flag
596
585
  */
597
586
 
598
- _CommonMailThread["default"].prototype['mail_link_tracking_enabled_flag'] = undefined;
599
- /**
600
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property
601
- * @member {Boolean} write_flag
602
- */
603
-
604
- _CommonMailThread["default"].prototype['write_flag'] = undefined; // Implement BaseMailThreadAllOf interface:
587
+ _CommonMailThread["default"].prototype['mail_link_tracking_enabled_flag'] = undefined; // Implement BaseMailThreadAllOf interface:
605
588
 
606
589
  /**
607
590
  * @member {module:model/BaseMailThreadAllOfParties} parties
@@ -153,11 +153,6 @@ var BaseMailThreadMessages = /*#__PURE__*/function () {
153
153
  delete data['mail_link_tracking_enabled_flag'];
154
154
  }
155
155
 
156
- if (data.hasOwnProperty('write_flag')) {
157
- obj['write_flag'] = _ApiClient["default"].convertToType(data['write_flag'], 'Boolean');
158
- delete data['write_flag'];
159
- }
160
-
161
156
  if (data.hasOwnProperty('from')) {
162
157
  obj['from'] = _ApiClient["default"].convertToType(data['from'], [_MailThreadParticipant["default"]]);
163
158
  delete data['from'];
@@ -318,12 +313,6 @@ BaseMailThreadMessages.prototype['smart_bcc_flag'] = undefined;
318
313
  */
319
314
 
320
315
  BaseMailThreadMessages.prototype['mail_link_tracking_enabled_flag'] = undefined;
321
- /**
322
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property
323
- * @member {Boolean} write_flag
324
- */
325
-
326
- BaseMailThreadMessages.prototype['write_flag'] = undefined;
327
316
  /**
328
317
  * Senders of the mail thread
329
318
  * @member {Array.<module:model/MailThreadParticipant>} from
@@ -486,13 +475,7 @@ _CommonMailThread["default"].prototype['smart_bcc_flag'] = undefined;
486
475
  * @member {module:model/NumberBooleanDefault0} mail_link_tracking_enabled_flag
487
476
  */
488
477
 
489
- _CommonMailThread["default"].prototype['mail_link_tracking_enabled_flag'] = undefined;
490
- /**
491
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property
492
- * @member {Boolean} write_flag
493
- */
494
-
495
- _CommonMailThread["default"].prototype['write_flag'] = undefined; // Implement BaseMailThreadMessagesAllOf interface:
478
+ _CommonMailThread["default"].prototype['mail_link_tracking_enabled_flag'] = undefined; // Implement BaseMailThreadMessagesAllOf interface:
496
479
 
497
480
  /**
498
481
  * Senders of the mail thread
@@ -184,7 +184,7 @@ BasicDeal.prototype['probability'] = undefined;
184
184
 
185
185
  BasicDeal.prototype['lost_reason'] = undefined;
186
186
  /**
187
- * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
187
+ * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
188
188
  * @member {module:model/VisibleTo} visible_to
189
189
  */
190
190
 
@@ -105,7 +105,7 @@ BasicOrganization.prototype['name'] = undefined;
105
105
 
106
106
  BasicOrganization.prototype['owner_id'] = undefined;
107
107
  /**
108
- * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
108
+ * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\\\"https://support.pipedrive.com/en/article/visibility-groups\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>\"
109
109
  * @member {module:model/VisibleTo} visible_to
110
110
  */
111
111
 
@@ -149,7 +149,7 @@ BasicPerson.prototype['email'] = undefined;
149
149
 
150
150
  BasicPerson.prototype['phone'] = undefined;
151
151
  /**
152
- * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
152
+ * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
153
153
  * @member {module:model/VisibleTo} visible_to
154
154
  */
155
155
 
@@ -136,11 +136,6 @@ var CommonMailThread = /*#__PURE__*/function () {
136
136
  delete data['mail_link_tracking_enabled_flag'];
137
137
  }
138
138
 
139
- if (data.hasOwnProperty('write_flag')) {
140
- obj['write_flag'] = _ApiClient["default"].convertToType(data['write_flag'], 'Boolean');
141
- delete data['write_flag'];
142
- }
143
-
144
139
  if (Object.keys(data).length > 0) {
145
140
  Object.assign(obj, data);
146
141
  }
@@ -236,11 +231,5 @@ CommonMailThread.prototype['smart_bcc_flag'] = undefined;
236
231
  */
237
232
 
238
233
  CommonMailThread.prototype['mail_link_tracking_enabled_flag'] = undefined;
239
- /**
240
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property
241
- * @member {Boolean} write_flag
242
- */
243
-
244
- CommonMailThread.prototype['write_flag'] = undefined;
245
234
  var _default = CommonMailThread;
246
235
  exports["default"] = _default;
@@ -208,11 +208,6 @@ var MailMessageData = /*#__PURE__*/function () {
208
208
  delete data['has_real_attachments_flag'];
209
209
  }
210
210
 
211
- if (data.hasOwnProperty('write_flag')) {
212
- obj['write_flag'] = _ApiClient["default"].convertToType(data['write_flag'], 'Boolean');
213
- delete data['write_flag'];
214
- }
215
-
216
211
  if (Object.keys(data).length > 0) {
217
212
  Object.assign(obj, data);
218
213
  }
@@ -392,12 +387,6 @@ MailMessageData.prototype['has_inline_attachments_flag'] = undefined;
392
387
  */
393
388
 
394
389
  MailMessageData.prototype['has_real_attachments_flag'] = undefined;
395
- /**
396
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property.
397
- * @member {Boolean} write_flag
398
- */
399
-
400
- MailMessageData.prototype['write_flag'] = undefined;
401
390
  /**
402
391
  * Allowed values for the <code>mail_tracking_status</code> property.
403
392
  * @enum {String}
@@ -223,11 +223,6 @@ var MailMessageItemForList = /*#__PURE__*/function () {
223
223
  delete data['has_real_attachments_flag'];
224
224
  }
225
225
 
226
- if (data.hasOwnProperty('write_flag')) {
227
- obj['write_flag'] = _ApiClient["default"].convertToType(data['write_flag'], 'Boolean');
228
- delete data['write_flag'];
229
- }
230
-
231
226
  if (data.hasOwnProperty('nylas_id')) {
232
227
  obj['nylas_id'] = _ApiClient["default"].convertToType(data['nylas_id'], 'String');
233
228
  delete data['nylas_id'];
@@ -452,12 +447,6 @@ MailMessageItemForList.prototype['has_inline_attachments_flag'] = undefined;
452
447
  */
453
448
 
454
449
  MailMessageItemForList.prototype['has_real_attachments_flag'] = undefined;
455
- /**
456
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property.
457
- * @member {Boolean} write_flag
458
- */
459
-
460
- MailMessageItemForList.prototype['write_flag'] = undefined;
461
450
  /**
462
451
  * The Mail Message ID assigned by the sync provider
463
452
  * @member {String} nylas_id
@@ -680,13 +669,7 @@ _MailMessageData["default"].prototype['has_inline_attachments_flag'] = undefined
680
669
  * @member {module:model/NumberBooleanDefault0} has_real_attachments_flag
681
670
  */
682
671
 
683
- _MailMessageData["default"].prototype['has_real_attachments_flag'] = undefined;
684
- /**
685
- * We strongly advise you to avoid the use of this property. We will soon deprecate this property.
686
- * @member {Boolean} write_flag
687
- */
688
-
689
- _MailMessageData["default"].prototype['write_flag'] = undefined; // Implement MailMessageItemForListAllOf interface:
672
+ _MailMessageData["default"].prototype['has_real_attachments_flag'] = undefined; // Implement MailMessageItemForListAllOf interface:
690
673
 
691
674
  /**
692
675
  * The Mail Message ID assigned by the sync provider
@@ -225,7 +225,7 @@ NewDeal.prototype['probability'] = undefined;
225
225
 
226
226
  NewDeal.prototype['lost_reason'] = undefined;
227
227
  /**
228
- * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
228
+ * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
229
229
  * @member {module:model/VisibleTo} visible_to
230
230
  */
231
231
 
@@ -305,7 +305,7 @@ _BasicDeal["default"].prototype['probability'] = undefined;
305
305
 
306
306
  _BasicDeal["default"].prototype['lost_reason'] = undefined;
307
307
  /**
308
- * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
308
+ * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
309
309
  * @member {module:model/VisibleTo} visible_to
310
310
  */
311
311
 
@@ -128,7 +128,7 @@ NewOrganization.prototype['name'] = undefined;
128
128
 
129
129
  NewOrganization.prototype['owner_id'] = undefined;
130
130
  /**
131
- * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
131
+ * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\\\"https://support.pipedrive.com/en/article/visibility-groups\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>\"
132
132
  * @member {module:model/VisibleTo} visible_to
133
133
  */
134
134
 
@@ -153,7 +153,7 @@ _BasicOrganization["default"].prototype['name'] = undefined;
153
153
 
154
154
  _BasicOrganization["default"].prototype['owner_id'] = undefined;
155
155
  /**
156
- * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
156
+ * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\\\"https://support.pipedrive.com/en/article/visibility-groups\\\" target=\\\"_blank\\\" rel=\\\"noopener noreferrer\\\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\\\"width:40px\\\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>\"
157
157
  * @member {module:model/VisibleTo} visible_to
158
158
  */
159
159
 
@@ -172,7 +172,7 @@ NewPerson.prototype['email'] = undefined;
172
172
 
173
173
  NewPerson.prototype['phone'] = undefined;
174
174
  /**
175
- * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
175
+ * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
176
176
  * @member {module:model/VisibleTo} visible_to
177
177
  */
178
178
 
@@ -221,7 +221,7 @@ _BasicPerson["default"].prototype['email'] = undefined;
221
221
 
222
222
  _BasicPerson["default"].prototype['phone'] = undefined;
223
223
  /**
224
- * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
224
+ * The visibility of the person. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
225
225
  * @member {module:model/VisibleTo} visible_to
226
226
  */
227
227
 
@@ -210,7 +210,7 @@ UpdateDealRequest.prototype['probability'] = undefined;
210
210
 
211
211
  UpdateDealRequest.prototype['lost_reason'] = undefined;
212
212
  /**
213
- * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
213
+ * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
214
214
  * @member {module:model/VisibleTo} visible_to
215
215
  */
216
216
 
@@ -284,7 +284,7 @@ _BasicDeal["default"].prototype['probability'] = undefined;
284
284
 
285
285
  _BasicDeal["default"].prototype['lost_reason'] = undefined;
286
286
  /**
287
- * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user.<table><tr><th>Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers (private)</td></tr><tr><td>`3`</td><td>Entire company (shared)</td></tr></table>
287
+ * The visibility of the deal. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><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>
288
288
  * @member {module:model/VisibleTo} visible_to
289
289
  */
290
290
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pipedrive",
3
- "version": "13.1.3",
3
+ "version": "13.2.3",
4
4
  "description": "Pipedrive REST client for NodeJS",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",