pipedrive 23.2.0 → 23.2.2
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/dist/api/PipelinesApi.js +2 -2
- package/dist/api/StagesApi.js +2 -2
- package/dist/model/AddProductRequestBody.js +15 -0
- package/dist/model/BaseOrganizationItem.js +17 -2
- package/dist/model/BaseOrganizationItemFields.js +11 -1
- package/dist/model/BaseOrganizationItemWithEditNameFlag.js +17 -2
- package/dist/model/BasePersonItem.js +11 -1
- package/dist/model/BasicOrganization.js +11 -1
- package/dist/model/BasicPerson.js +11 -1
- package/dist/model/MergePersonItem.js +17 -2
- package/dist/model/NewOrganization.js +17 -2
- package/dist/model/NewPerson.js +17 -2
- package/dist/model/OrganizationItem.js +17 -2
- package/dist/model/OrganizationsCollectionResponseObject.js +17 -2
- package/dist/model/OrganizationsCollectionResponseObjectAllOf.js +11 -1
- package/dist/model/PersonItem.js +17 -2
- package/dist/model/PersonsCollectionResponseObject.js +11 -1
- package/dist/model/ProductRequest.js +10 -0
- package/dist/model/UpdateOrganization.js +17 -2
- package/dist/model/UpdatePerson.js +17 -2
- package/dist/model/UpdateProductRequestBody.js +15 -0
- package/package.json +1 -1
package/dist/api/PipelinesApi.js
CHANGED
@@ -295,7 +295,7 @@ var PipelinesApi = /*#__PURE__*/function () {
|
|
295
295
|
|
296
296
|
/**
|
297
297
|
* Get deals in a pipeline
|
298
|
-
* Lists deals in a specific pipeline across all its stages.
|
298
|
+
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
|
299
299
|
* @param {Number} id The ID of the pipeline
|
300
300
|
* @param {Object} opts Optional parameters
|
301
301
|
* @param {Number} opts.filterId If supplied, only deals matching the given filter will be returned
|
@@ -354,7 +354,7 @@ var PipelinesApi = /*#__PURE__*/function () {
|
|
354
354
|
|
355
355
|
/**
|
356
356
|
* Get deals in a pipeline
|
357
|
-
* Lists deals in a specific pipeline across all its stages.
|
357
|
+
* Lists deals in a specific pipeline across all its stages. If no parameters are provided open deals owned by the authorized user will be returned.
|
358
358
|
* @param {Number} id The ID of the pipeline
|
359
359
|
* @param {Object} opts Optional parameters
|
360
360
|
* @param {Number} opts.filterId If supplied, only deals matching the given filter will be returned
|
package/dist/api/StagesApi.js
CHANGED
@@ -272,7 +272,7 @@ var StagesApi = /*#__PURE__*/function () {
|
|
272
272
|
|
273
273
|
/**
|
274
274
|
* Get deals in a stage
|
275
|
-
* Lists deals in a specific stage.
|
275
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
276
276
|
* @param {Number} id The ID of the stage
|
277
277
|
* @param {Object} opts Optional parameters
|
278
278
|
* @param {Number} opts.filterId If supplied, only deals matching the given filter will be returned
|
@@ -325,7 +325,7 @@ var StagesApi = /*#__PURE__*/function () {
|
|
325
325
|
|
326
326
|
/**
|
327
327
|
* Get deals in a stage
|
328
|
-
* Lists deals in a specific stage.
|
328
|
+
* Lists deals in a specific stage. If no parameters are provided open deals owned by the authorized user will be returned.
|
329
329
|
* @param {Number} id The ID of the stage
|
330
330
|
* @param {Object} opts Optional parameters
|
331
331
|
* @param {Number} opts.filterId If supplied, only deals matching the given filter will be returned
|
@@ -82,6 +82,10 @@ var AddProductRequestBody = /*#__PURE__*/function () {
|
|
82
82
|
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
|
83
83
|
delete data['code'];
|
84
84
|
}
|
85
|
+
if (data.hasOwnProperty('description')) {
|
86
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
87
|
+
delete data['description'];
|
88
|
+
}
|
85
89
|
if (data.hasOwnProperty('unit')) {
|
86
90
|
obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
|
87
91
|
delete data['unit'];
|
@@ -139,6 +143,12 @@ AddProductRequestBody.prototype['name'] = undefined;
|
|
139
143
|
*/
|
140
144
|
AddProductRequestBody.prototype['code'] = undefined;
|
141
145
|
|
146
|
+
/**
|
147
|
+
* The product description
|
148
|
+
* @member {String} description
|
149
|
+
*/
|
150
|
+
AddProductRequestBody.prototype['description'] = undefined;
|
151
|
+
|
142
152
|
/**
|
143
153
|
* The unit in which this product is sold
|
144
154
|
* @member {String} unit
|
@@ -207,6 +217,11 @@ _NameObject["default"].prototype['name'] = undefined;
|
|
207
217
|
* @member {String} code
|
208
218
|
*/
|
209
219
|
_ProductRequest["default"].prototype['code'] = undefined;
|
220
|
+
/**
|
221
|
+
* The product description
|
222
|
+
* @member {String} description
|
223
|
+
*/
|
224
|
+
_ProductRequest["default"].prototype['description'] = undefined;
|
210
225
|
/**
|
211
226
|
* The unit in which this product is sold
|
212
227
|
* @member {String} unit
|
@@ -114,6 +114,10 @@ var BaseOrganizationItem = /*#__PURE__*/function () {
|
|
114
114
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
115
115
|
delete data['label'];
|
116
116
|
}
|
117
|
+
if (data.hasOwnProperty('label_ids')) {
|
118
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
119
|
+
delete data['label_ids'];
|
120
|
+
}
|
117
121
|
if (data.hasOwnProperty('owner_name')) {
|
118
122
|
obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
|
119
123
|
delete data['owner_name'];
|
@@ -324,11 +328,17 @@ BaseOrganizationItem.prototype['update_time'] = undefined;
|
|
324
328
|
BaseOrganizationItem.prototype['visible_to'] = undefined;
|
325
329
|
|
326
330
|
/**
|
327
|
-
* The label assigned to the organization
|
331
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
328
332
|
* @member {Number} label
|
329
333
|
*/
|
330
334
|
BaseOrganizationItem.prototype['label'] = undefined;
|
331
335
|
|
336
|
+
/**
|
337
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
338
|
+
* @member {Array.<Number>} label_ids
|
339
|
+
*/
|
340
|
+
BaseOrganizationItem.prototype['label_ids'] = undefined;
|
341
|
+
|
332
342
|
/**
|
333
343
|
* The name of the organization owner
|
334
344
|
* @member {String} owner_name
|
@@ -588,10 +598,15 @@ _BaseOrganizationItemFields["default"].prototype['update_time'] = undefined;
|
|
588
598
|
*/
|
589
599
|
_BaseOrganizationItemFields["default"].prototype['visible_to'] = undefined;
|
590
600
|
/**
|
591
|
-
* The label assigned to the organization
|
601
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
592
602
|
* @member {Number} label
|
593
603
|
*/
|
594
604
|
_BaseOrganizationItemFields["default"].prototype['label'] = undefined;
|
605
|
+
/**
|
606
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
607
|
+
* @member {Array.<Number>} label_ids
|
608
|
+
*/
|
609
|
+
_BaseOrganizationItemFields["default"].prototype['label_ids'] = undefined;
|
595
610
|
/**
|
596
611
|
* The name of the organization owner
|
597
612
|
* @member {String} owner_name
|
@@ -106,6 +106,10 @@ var BaseOrganizationItemFields = /*#__PURE__*/function () {
|
|
106
106
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
107
107
|
delete data['label'];
|
108
108
|
}
|
109
|
+
if (data.hasOwnProperty('label_ids')) {
|
110
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
111
|
+
delete data['label_ids'];
|
112
|
+
}
|
109
113
|
if (data.hasOwnProperty('owner_name')) {
|
110
114
|
obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
|
111
115
|
delete data['owner_name'];
|
@@ -188,11 +192,17 @@ BaseOrganizationItemFields.prototype['update_time'] = undefined;
|
|
188
192
|
BaseOrganizationItemFields.prototype['visible_to'] = undefined;
|
189
193
|
|
190
194
|
/**
|
191
|
-
* The label assigned to the organization
|
195
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
192
196
|
* @member {Number} label
|
193
197
|
*/
|
194
198
|
BaseOrganizationItemFields.prototype['label'] = undefined;
|
195
199
|
|
200
|
+
/**
|
201
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
202
|
+
* @member {Array.<Number>} label_ids
|
203
|
+
*/
|
204
|
+
BaseOrganizationItemFields.prototype['label_ids'] = undefined;
|
205
|
+
|
196
206
|
/**
|
197
207
|
* The name of the organization owner
|
198
208
|
* @member {String} owner_name
|
@@ -114,6 +114,10 @@ var BaseOrganizationItemWithEditNameFlag = /*#__PURE__*/function () {
|
|
114
114
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
115
115
|
delete data['label'];
|
116
116
|
}
|
117
|
+
if (data.hasOwnProperty('label_ids')) {
|
118
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
119
|
+
delete data['label_ids'];
|
120
|
+
}
|
117
121
|
if (data.hasOwnProperty('owner_name')) {
|
118
122
|
obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
|
119
123
|
delete data['owner_name'];
|
@@ -328,11 +332,17 @@ BaseOrganizationItemWithEditNameFlag.prototype['update_time'] = undefined;
|
|
328
332
|
BaseOrganizationItemWithEditNameFlag.prototype['visible_to'] = undefined;
|
329
333
|
|
330
334
|
/**
|
331
|
-
* The label assigned to the organization
|
335
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
332
336
|
* @member {Number} label
|
333
337
|
*/
|
334
338
|
BaseOrganizationItemWithEditNameFlag.prototype['label'] = undefined;
|
335
339
|
|
340
|
+
/**
|
341
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
342
|
+
* @member {Array.<Number>} label_ids
|
343
|
+
*/
|
344
|
+
BaseOrganizationItemWithEditNameFlag.prototype['label_ids'] = undefined;
|
345
|
+
|
336
346
|
/**
|
337
347
|
* The name of the organization owner
|
338
348
|
* @member {String} owner_name
|
@@ -598,10 +608,15 @@ _BaseOrganizationItem["default"].prototype['update_time'] = undefined;
|
|
598
608
|
*/
|
599
609
|
_BaseOrganizationItem["default"].prototype['visible_to'] = undefined;
|
600
610
|
/**
|
601
|
-
* The label assigned to the organization
|
611
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
602
612
|
* @member {Number} label
|
603
613
|
*/
|
604
614
|
_BaseOrganizationItem["default"].prototype['label'] = undefined;
|
615
|
+
/**
|
616
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
617
|
+
* @member {Array.<Number>} label_ids
|
618
|
+
*/
|
619
|
+
_BaseOrganizationItem["default"].prototype['label_ids'] = undefined;
|
605
620
|
/**
|
606
621
|
* The name of the organization owner
|
607
622
|
* @member {String} owner_name
|
@@ -103,6 +103,10 @@ var BasePersonItem = /*#__PURE__*/function () {
|
|
103
103
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
104
104
|
delete data['label'];
|
105
105
|
}
|
106
|
+
if (data.hasOwnProperty('label_ids')) {
|
107
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
108
|
+
delete data['label_ids'];
|
109
|
+
}
|
106
110
|
if (data.hasOwnProperty('org_name')) {
|
107
111
|
obj['org_name'] = _ApiClient["default"].convertToType(data['org_name'], 'String');
|
108
112
|
delete data['org_name'];
|
@@ -184,11 +188,17 @@ BasePersonItem.prototype['visible_to'] = undefined;
|
|
184
188
|
BasePersonItem.prototype['picture_id'] = undefined;
|
185
189
|
|
186
190
|
/**
|
187
|
-
* The label assigned to the person
|
191
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
188
192
|
* @member {Number} label
|
189
193
|
*/
|
190
194
|
BasePersonItem.prototype['label'] = undefined;
|
191
195
|
|
196
|
+
/**
|
197
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
198
|
+
* @member {Array.<Number>} label_ids
|
199
|
+
*/
|
200
|
+
BasePersonItem.prototype['label_ids'] = undefined;
|
201
|
+
|
192
202
|
/**
|
193
203
|
* The name of the organization associated with the person
|
194
204
|
* @member {String} org_name
|
@@ -65,6 +65,10 @@ var BasicOrganization = /*#__PURE__*/function () {
|
|
65
65
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
66
66
|
delete data['label'];
|
67
67
|
}
|
68
|
+
if (data.hasOwnProperty('label_ids')) {
|
69
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
70
|
+
delete data['label_ids'];
|
71
|
+
}
|
68
72
|
if (data.hasOwnProperty('visible_to')) {
|
69
73
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
70
74
|
delete data['visible_to'];
|
@@ -85,11 +89,17 @@ var BasicOrganization = /*#__PURE__*/function () {
|
|
85
89
|
BasicOrganization.prototype['owner_id'] = undefined;
|
86
90
|
|
87
91
|
/**
|
88
|
-
* The
|
92
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
89
93
|
* @member {Number} label
|
90
94
|
*/
|
91
95
|
BasicOrganization.prototype['label'] = undefined;
|
92
96
|
|
97
|
+
/**
|
98
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
99
|
+
* @member {Array.<Number>} label_ids
|
100
|
+
*/
|
101
|
+
BasicOrganization.prototype['label_ids'] = undefined;
|
102
|
+
|
93
103
|
/**
|
94
104
|
* 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 & 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>
|
95
105
|
* @member {module:model/VisibleTo} visible_to
|
@@ -80,6 +80,10 @@ var BasicPerson = /*#__PURE__*/function () {
|
|
80
80
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
81
81
|
delete data['label'];
|
82
82
|
}
|
83
|
+
if (data.hasOwnProperty('label_ids')) {
|
84
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
85
|
+
delete data['label_ids'];
|
86
|
+
}
|
83
87
|
if (data.hasOwnProperty('visible_to')) {
|
84
88
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
85
89
|
delete data['visible_to'];
|
@@ -126,11 +130,17 @@ BasicPerson.prototype['email'] = undefined;
|
|
126
130
|
BasicPerson.prototype['phone'] = undefined;
|
127
131
|
|
128
132
|
/**
|
129
|
-
* The
|
133
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
130
134
|
* @member {Number} label
|
131
135
|
*/
|
132
136
|
BasicPerson.prototype['label'] = undefined;
|
133
137
|
|
138
|
+
/**
|
139
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
140
|
+
* @member {Array.<Number>} label_ids
|
141
|
+
*/
|
142
|
+
BasicPerson.prototype['label_ids'] = undefined;
|
143
|
+
|
134
144
|
/**
|
135
145
|
* 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 & 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>
|
136
146
|
* @member {module:model/VisibleTo} visible_to
|
@@ -111,6 +111,10 @@ var MergePersonItem = /*#__PURE__*/function () {
|
|
111
111
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
112
112
|
delete data['label'];
|
113
113
|
}
|
114
|
+
if (data.hasOwnProperty('label_ids')) {
|
115
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
116
|
+
delete data['label_ids'];
|
117
|
+
}
|
114
118
|
if (data.hasOwnProperty('org_name')) {
|
115
119
|
obj['org_name'] = _ApiClient["default"].convertToType(data['org_name'], 'String');
|
116
120
|
delete data['org_name'];
|
@@ -312,11 +316,17 @@ MergePersonItem.prototype['visible_to'] = undefined;
|
|
312
316
|
MergePersonItem.prototype['picture_id'] = undefined;
|
313
317
|
|
314
318
|
/**
|
315
|
-
* The label assigned to the person
|
319
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
316
320
|
* @member {Number} label
|
317
321
|
*/
|
318
322
|
MergePersonItem.prototype['label'] = undefined;
|
319
323
|
|
324
|
+
/**
|
325
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
326
|
+
* @member {Array.<Number>} label_ids
|
327
|
+
*/
|
328
|
+
MergePersonItem.prototype['label_ids'] = undefined;
|
329
|
+
|
320
330
|
/**
|
321
331
|
* The name of the organization associated with the person
|
322
332
|
* @member {String} org_name
|
@@ -566,10 +576,15 @@ _BasePersonItem["default"].prototype['visible_to'] = undefined;
|
|
566
576
|
*/
|
567
577
|
_BasePersonItem["default"].prototype['picture_id'] = undefined;
|
568
578
|
/**
|
569
|
-
* The label assigned to the person
|
579
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
570
580
|
* @member {Number} label
|
571
581
|
*/
|
572
582
|
_BasePersonItem["default"].prototype['label'] = undefined;
|
583
|
+
/**
|
584
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
585
|
+
* @member {Array.<Number>} label_ids
|
586
|
+
*/
|
587
|
+
_BasePersonItem["default"].prototype['label_ids'] = undefined;
|
573
588
|
/**
|
574
589
|
* The name of the organization associated with the person
|
575
590
|
* @member {String} org_name
|
@@ -84,6 +84,10 @@ var NewOrganization = /*#__PURE__*/function () {
|
|
84
84
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
85
85
|
delete data['label'];
|
86
86
|
}
|
87
|
+
if (data.hasOwnProperty('label_ids')) {
|
88
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
89
|
+
delete data['label_ids'];
|
90
|
+
}
|
87
91
|
if (data.hasOwnProperty('visible_to')) {
|
88
92
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
89
93
|
delete data['visible_to'];
|
@@ -116,11 +120,17 @@ NewOrganization.prototype['add_time'] = undefined;
|
|
116
120
|
NewOrganization.prototype['owner_id'] = undefined;
|
117
121
|
|
118
122
|
/**
|
119
|
-
* The
|
123
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
120
124
|
* @member {Number} label
|
121
125
|
*/
|
122
126
|
NewOrganization.prototype['label'] = undefined;
|
123
127
|
|
128
|
+
/**
|
129
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
130
|
+
* @member {Array.<Number>} label_ids
|
131
|
+
*/
|
132
|
+
NewOrganization.prototype['label_ids'] = undefined;
|
133
|
+
|
124
134
|
/**
|
125
135
|
* 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 & 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>
|
126
136
|
* @member {module:model/VisibleTo} visible_to
|
@@ -145,10 +155,15 @@ _NewOrganizationAllOf["default"].prototype['add_time'] = undefined;
|
|
145
155
|
*/
|
146
156
|
_BasicOrganization["default"].prototype['owner_id'] = undefined;
|
147
157
|
/**
|
148
|
-
* The
|
158
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
149
159
|
* @member {Number} label
|
150
160
|
*/
|
151
161
|
_BasicOrganization["default"].prototype['label'] = undefined;
|
162
|
+
/**
|
163
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
164
|
+
* @member {Array.<Number>} label_ids
|
165
|
+
*/
|
166
|
+
_BasicOrganization["default"].prototype['label_ids'] = undefined;
|
152
167
|
/**
|
153
168
|
* 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 & 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>
|
154
169
|
* @member {module:model/VisibleTo} visible_to
|
package/dist/model/NewPerson.js
CHANGED
@@ -95,6 +95,10 @@ var NewPerson = /*#__PURE__*/function () {
|
|
95
95
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
96
96
|
delete data['label'];
|
97
97
|
}
|
98
|
+
if (data.hasOwnProperty('label_ids')) {
|
99
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
100
|
+
delete data['label_ids'];
|
101
|
+
}
|
98
102
|
if (data.hasOwnProperty('visible_to')) {
|
99
103
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
100
104
|
delete data['visible_to'];
|
@@ -147,11 +151,17 @@ NewPerson.prototype['email'] = undefined;
|
|
147
151
|
NewPerson.prototype['phone'] = undefined;
|
148
152
|
|
149
153
|
/**
|
150
|
-
* The
|
154
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
151
155
|
* @member {Number} label
|
152
156
|
*/
|
153
157
|
NewPerson.prototype['label'] = undefined;
|
154
158
|
|
159
|
+
/**
|
160
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
161
|
+
* @member {Array.<Number>} label_ids
|
162
|
+
*/
|
163
|
+
NewPerson.prototype['label_ids'] = undefined;
|
164
|
+
|
155
165
|
/**
|
156
166
|
* 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 & 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
167
|
* @member {module:model/VisibleTo} visible_to
|
@@ -198,10 +208,15 @@ _BasicPerson["default"].prototype['email'] = undefined;
|
|
198
208
|
*/
|
199
209
|
_BasicPerson["default"].prototype['phone'] = undefined;
|
200
210
|
/**
|
201
|
-
* The
|
211
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
202
212
|
* @member {Number} label
|
203
213
|
*/
|
204
214
|
_BasicPerson["default"].prototype['label'] = undefined;
|
215
|
+
/**
|
216
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
217
|
+
* @member {Array.<Number>} label_ids
|
218
|
+
*/
|
219
|
+
_BasicPerson["default"].prototype['label_ids'] = undefined;
|
205
220
|
/**
|
206
221
|
* 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 & 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>
|
207
222
|
* @member {module:model/VisibleTo} visible_to
|
@@ -114,6 +114,10 @@ var OrganizationItem = /*#__PURE__*/function () {
|
|
114
114
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
115
115
|
delete data['label'];
|
116
116
|
}
|
117
|
+
if (data.hasOwnProperty('label_ids')) {
|
118
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
119
|
+
delete data['label_ids'];
|
120
|
+
}
|
117
121
|
if (data.hasOwnProperty('owner_name')) {
|
118
122
|
obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
|
119
123
|
delete data['owner_name'];
|
@@ -336,11 +340,17 @@ OrganizationItem.prototype['update_time'] = undefined;
|
|
336
340
|
OrganizationItem.prototype['visible_to'] = undefined;
|
337
341
|
|
338
342
|
/**
|
339
|
-
* The label assigned to the organization
|
343
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
340
344
|
* @member {Number} label
|
341
345
|
*/
|
342
346
|
OrganizationItem.prototype['label'] = undefined;
|
343
347
|
|
348
|
+
/**
|
349
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
350
|
+
* @member {Array.<Number>} label_ids
|
351
|
+
*/
|
352
|
+
OrganizationItem.prototype['label_ids'] = undefined;
|
353
|
+
|
344
354
|
/**
|
345
355
|
* The name of the organization owner
|
346
356
|
* @member {String} owner_name
|
@@ -618,10 +628,15 @@ _BaseOrganizationItemWithEditNameFlag["default"].prototype['update_time'] = unde
|
|
618
628
|
*/
|
619
629
|
_BaseOrganizationItemWithEditNameFlag["default"].prototype['visible_to'] = undefined;
|
620
630
|
/**
|
621
|
-
* The label assigned to the organization
|
631
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
622
632
|
* @member {Number} label
|
623
633
|
*/
|
624
634
|
_BaseOrganizationItemWithEditNameFlag["default"].prototype['label'] = undefined;
|
635
|
+
/**
|
636
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
637
|
+
* @member {Array.<Number>} label_ids
|
638
|
+
*/
|
639
|
+
_BaseOrganizationItemWithEditNameFlag["default"].prototype['label_ids'] = undefined;
|
625
640
|
/**
|
626
641
|
* The name of the organization owner
|
627
642
|
* @member {String} owner_name
|
@@ -144,6 +144,10 @@ var OrganizationsCollectionResponseObject = /*#__PURE__*/function () {
|
|
144
144
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
145
145
|
delete data['label'];
|
146
146
|
}
|
147
|
+
if (data.hasOwnProperty('label_ids')) {
|
148
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
149
|
+
delete data['label_ids'];
|
150
|
+
}
|
147
151
|
if (data.hasOwnProperty('cc_email')) {
|
148
152
|
obj['cc_email'] = _ApiClient["default"].convertToType(data['cc_email'], 'String');
|
149
153
|
delete data['cc_email'];
|
@@ -272,11 +276,17 @@ OrganizationsCollectionResponseObject.prototype['add_time'] = undefined;
|
|
272
276
|
OrganizationsCollectionResponseObject.prototype['visible_to'] = undefined;
|
273
277
|
|
274
278
|
/**
|
275
|
-
* The label assigned to the organization
|
279
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
276
280
|
* @member {Number} label
|
277
281
|
*/
|
278
282
|
OrganizationsCollectionResponseObject.prototype['label'] = undefined;
|
279
283
|
|
284
|
+
/**
|
285
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
286
|
+
* @member {Array.<Number>} label_ids
|
287
|
+
*/
|
288
|
+
OrganizationsCollectionResponseObject.prototype['label_ids'] = undefined;
|
289
|
+
|
280
290
|
/**
|
281
291
|
* The BCC email associated with the organization
|
282
292
|
* @member {String} cc_email
|
@@ -381,10 +391,15 @@ _OrganizationsCollectionResponseObjectAllOf["default"].prototype['add_time'] = u
|
|
381
391
|
*/
|
382
392
|
_OrganizationsCollectionResponseObjectAllOf["default"].prototype['visible_to'] = undefined;
|
383
393
|
/**
|
384
|
-
* The label assigned to the organization
|
394
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
385
395
|
* @member {Number} label
|
386
396
|
*/
|
387
397
|
_OrganizationsCollectionResponseObjectAllOf["default"].prototype['label'] = undefined;
|
398
|
+
/**
|
399
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
400
|
+
* @member {Array.<Number>} label_ids
|
401
|
+
*/
|
402
|
+
_OrganizationsCollectionResponseObjectAllOf["default"].prototype['label_ids'] = undefined;
|
388
403
|
/**
|
389
404
|
* The BCC email associated with the organization
|
390
405
|
* @member {String} cc_email
|
@@ -92,6 +92,10 @@ var OrganizationsCollectionResponseObjectAllOf = /*#__PURE__*/function () {
|
|
92
92
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
93
93
|
delete data['label'];
|
94
94
|
}
|
95
|
+
if (data.hasOwnProperty('label_ids')) {
|
96
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
97
|
+
delete data['label_ids'];
|
98
|
+
}
|
95
99
|
if (data.hasOwnProperty('cc_email')) {
|
96
100
|
obj['cc_email'] = _ApiClient["default"].convertToType(data['cc_email'], 'String');
|
97
101
|
delete data['cc_email'];
|
@@ -154,11 +158,17 @@ OrganizationsCollectionResponseObjectAllOf.prototype['add_time'] = undefined;
|
|
154
158
|
OrganizationsCollectionResponseObjectAllOf.prototype['visible_to'] = undefined;
|
155
159
|
|
156
160
|
/**
|
157
|
-
* The label assigned to the organization
|
161
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
158
162
|
* @member {Number} label
|
159
163
|
*/
|
160
164
|
OrganizationsCollectionResponseObjectAllOf.prototype['label'] = undefined;
|
161
165
|
|
166
|
+
/**
|
167
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
168
|
+
* @member {Array.<Number>} label_ids
|
169
|
+
*/
|
170
|
+
OrganizationsCollectionResponseObjectAllOf.prototype['label_ids'] = undefined;
|
171
|
+
|
162
172
|
/**
|
163
173
|
* The BCC email associated with the organization
|
164
174
|
* @member {String} cc_email
|
package/dist/model/PersonItem.js
CHANGED
@@ -113,6 +113,10 @@ var PersonItem = /*#__PURE__*/function () {
|
|
113
113
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
114
114
|
delete data['label'];
|
115
115
|
}
|
116
|
+
if (data.hasOwnProperty('label_ids')) {
|
117
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
118
|
+
delete data['label_ids'];
|
119
|
+
}
|
116
120
|
if (data.hasOwnProperty('org_name')) {
|
117
121
|
obj['org_name'] = _ApiClient["default"].convertToType(data['org_name'], 'String');
|
118
122
|
delete data['org_name'];
|
@@ -302,11 +306,17 @@ PersonItem.prototype['visible_to'] = undefined;
|
|
302
306
|
PersonItem.prototype['picture_id'] = undefined;
|
303
307
|
|
304
308
|
/**
|
305
|
-
* The label assigned to the person
|
309
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
306
310
|
* @member {Number} label
|
307
311
|
*/
|
308
312
|
PersonItem.prototype['label'] = undefined;
|
309
313
|
|
314
|
+
/**
|
315
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
316
|
+
* @member {Array.<Number>} label_ids
|
317
|
+
*/
|
318
|
+
PersonItem.prototype['label_ids'] = undefined;
|
319
|
+
|
310
320
|
/**
|
311
321
|
* The name of the organization associated with the person
|
312
322
|
* @member {String} org_name
|
@@ -536,10 +546,15 @@ _BasePersonItem["default"].prototype['visible_to'] = undefined;
|
|
536
546
|
*/
|
537
547
|
_BasePersonItem["default"].prototype['picture_id'] = undefined;
|
538
548
|
/**
|
539
|
-
* The label assigned to the person
|
549
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
540
550
|
* @member {Number} label
|
541
551
|
*/
|
542
552
|
_BasePersonItem["default"].prototype['label'] = undefined;
|
553
|
+
/**
|
554
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
555
|
+
* @member {Array.<Number>} label_ids
|
556
|
+
*/
|
557
|
+
_BasePersonItem["default"].prototype['label_ids'] = undefined;
|
543
558
|
/**
|
544
559
|
* The name of the organization associated with the person
|
545
560
|
* @member {String} org_name
|
@@ -110,6 +110,10 @@ var PersonsCollectionResponseObject = /*#__PURE__*/function () {
|
|
110
110
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
111
111
|
delete data['label'];
|
112
112
|
}
|
113
|
+
if (data.hasOwnProperty('label_ids')) {
|
114
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
115
|
+
delete data['label_ids'];
|
116
|
+
}
|
113
117
|
if (data.hasOwnProperty('cc_email')) {
|
114
118
|
obj['cc_email'] = _ApiClient["default"].convertToType(data['cc_email'], 'String');
|
115
119
|
delete data['cc_email'];
|
@@ -196,11 +200,17 @@ PersonsCollectionResponseObject.prototype['visible_to'] = undefined;
|
|
196
200
|
PersonsCollectionResponseObject.prototype['picture_id'] = undefined;
|
197
201
|
|
198
202
|
/**
|
199
|
-
* The label assigned to the person
|
203
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
200
204
|
* @member {Number} label
|
201
205
|
*/
|
202
206
|
PersonsCollectionResponseObject.prototype['label'] = undefined;
|
203
207
|
|
208
|
+
/**
|
209
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
210
|
+
* @member {Array.<Number>} label_ids
|
211
|
+
*/
|
212
|
+
PersonsCollectionResponseObject.prototype['label_ids'] = undefined;
|
213
|
+
|
204
214
|
/**
|
205
215
|
* The BCC email associated with the person
|
206
216
|
* @member {String} cc_email
|
@@ -61,6 +61,10 @@ var ProductRequest = /*#__PURE__*/function () {
|
|
61
61
|
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
|
62
62
|
delete data['code'];
|
63
63
|
}
|
64
|
+
if (data.hasOwnProperty('description')) {
|
65
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
66
|
+
delete data['description'];
|
67
|
+
}
|
64
68
|
if (data.hasOwnProperty('unit')) {
|
65
69
|
obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
|
66
70
|
delete data['unit'];
|
@@ -104,6 +108,12 @@ var ProductRequest = /*#__PURE__*/function () {
|
|
104
108
|
*/
|
105
109
|
ProductRequest.prototype['code'] = undefined;
|
106
110
|
|
111
|
+
/**
|
112
|
+
* The product description
|
113
|
+
* @member {String} description
|
114
|
+
*/
|
115
|
+
ProductRequest.prototype['description'] = undefined;
|
116
|
+
|
107
117
|
/**
|
108
118
|
* The unit in which this product is sold
|
109
119
|
* @member {String} unit
|
@@ -77,6 +77,10 @@ var UpdateOrganization = /*#__PURE__*/function () {
|
|
77
77
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
78
78
|
delete data['label'];
|
79
79
|
}
|
80
|
+
if (data.hasOwnProperty('label_ids')) {
|
81
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
82
|
+
delete data['label_ids'];
|
83
|
+
}
|
80
84
|
if (data.hasOwnProperty('visible_to')) {
|
81
85
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
82
86
|
delete data['visible_to'];
|
@@ -103,11 +107,17 @@ UpdateOrganization.prototype['name'] = undefined;
|
|
103
107
|
UpdateOrganization.prototype['owner_id'] = undefined;
|
104
108
|
|
105
109
|
/**
|
106
|
-
* The
|
110
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
107
111
|
* @member {Number} label
|
108
112
|
*/
|
109
113
|
UpdateOrganization.prototype['label'] = undefined;
|
110
114
|
|
115
|
+
/**
|
116
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
117
|
+
* @member {Array.<Number>} label_ids
|
118
|
+
*/
|
119
|
+
UpdateOrganization.prototype['label_ids'] = undefined;
|
120
|
+
|
111
121
|
/**
|
112
122
|
* 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 & 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>
|
113
123
|
* @member {module:model/VisibleTo} visible_to
|
@@ -127,10 +137,15 @@ _UpdateOrganizationAllOf["default"].prototype['name'] = undefined;
|
|
127
137
|
*/
|
128
138
|
_BasicOrganization["default"].prototype['owner_id'] = undefined;
|
129
139
|
/**
|
130
|
-
* The
|
140
|
+
* The label assigned to the organization. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
131
141
|
* @member {Number} label
|
132
142
|
*/
|
133
143
|
_BasicOrganization["default"].prototype['label'] = undefined;
|
144
|
+
/**
|
145
|
+
* The IDs of labels assigned to the organization. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
146
|
+
* @member {Array.<Number>} label_ids
|
147
|
+
*/
|
148
|
+
_BasicOrganization["default"].prototype['label_ids'] = undefined;
|
134
149
|
/**
|
135
150
|
* 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 & 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>
|
136
151
|
* @member {module:model/VisibleTo} visible_to
|
@@ -92,6 +92,10 @@ var UpdatePerson = /*#__PURE__*/function () {
|
|
92
92
|
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
93
93
|
delete data['label'];
|
94
94
|
}
|
95
|
+
if (data.hasOwnProperty('label_ids')) {
|
96
|
+
obj['label_ids'] = _ApiClient["default"].convertToType(data['label_ids'], ['Number']);
|
97
|
+
delete data['label_ids'];
|
98
|
+
}
|
95
99
|
if (data.hasOwnProperty('visible_to')) {
|
96
100
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
97
101
|
delete data['visible_to'];
|
@@ -144,11 +148,17 @@ UpdatePerson.prototype['email'] = undefined;
|
|
144
148
|
UpdatePerson.prototype['phone'] = undefined;
|
145
149
|
|
146
150
|
/**
|
147
|
-
* The
|
151
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
148
152
|
* @member {Number} label
|
149
153
|
*/
|
150
154
|
UpdatePerson.prototype['label'] = undefined;
|
151
155
|
|
156
|
+
/**
|
157
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
158
|
+
* @member {Array.<Number>} label_ids
|
159
|
+
*/
|
160
|
+
UpdatePerson.prototype['label_ids'] = undefined;
|
161
|
+
|
152
162
|
/**
|
153
163
|
* 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 & 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>
|
154
164
|
* @member {module:model/VisibleTo} visible_to
|
@@ -195,10 +205,15 @@ _BasicPerson["default"].prototype['email'] = undefined;
|
|
195
205
|
*/
|
196
206
|
_BasicPerson["default"].prototype['phone'] = undefined;
|
197
207
|
/**
|
198
|
-
* The
|
208
|
+
* The label assigned to the person. When the label field is updated, the label_ids field value will be overwritten by the label field value.
|
199
209
|
* @member {Number} label
|
200
210
|
*/
|
201
211
|
_BasicPerson["default"].prototype['label'] = undefined;
|
212
|
+
/**
|
213
|
+
* The IDs of labels assigned to the person. When the label_ids field is updated, the label field value will be set to the first value of the label_ids field.
|
214
|
+
* @member {Array.<Number>} label_ids
|
215
|
+
*/
|
216
|
+
_BasicPerson["default"].prototype['label_ids'] = undefined;
|
202
217
|
/**
|
203
218
|
* 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 & 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>
|
204
219
|
* @member {module:model/VisibleTo} visible_to
|
@@ -82,6 +82,10 @@ var UpdateProductRequestBody = /*#__PURE__*/function () {
|
|
82
82
|
obj['code'] = _ApiClient["default"].convertToType(data['code'], 'String');
|
83
83
|
delete data['code'];
|
84
84
|
}
|
85
|
+
if (data.hasOwnProperty('description')) {
|
86
|
+
obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
|
87
|
+
delete data['description'];
|
88
|
+
}
|
85
89
|
if (data.hasOwnProperty('unit')) {
|
86
90
|
obj['unit'] = _ApiClient["default"].convertToType(data['unit'], 'String');
|
87
91
|
delete data['unit'];
|
@@ -139,6 +143,12 @@ UpdateProductRequestBody.prototype['name'] = undefined;
|
|
139
143
|
*/
|
140
144
|
UpdateProductRequestBody.prototype['code'] = undefined;
|
141
145
|
|
146
|
+
/**
|
147
|
+
* The product description
|
148
|
+
* @member {String} description
|
149
|
+
*/
|
150
|
+
UpdateProductRequestBody.prototype['description'] = undefined;
|
151
|
+
|
142
152
|
/**
|
143
153
|
* The unit in which this product is sold
|
144
154
|
* @member {String} unit
|
@@ -207,6 +217,11 @@ _NameObject["default"].prototype['name'] = undefined;
|
|
207
217
|
* @member {String} code
|
208
218
|
*/
|
209
219
|
_ProductRequest["default"].prototype['code'] = undefined;
|
220
|
+
/**
|
221
|
+
* The product description
|
222
|
+
* @member {String} description
|
223
|
+
*/
|
224
|
+
_ProductRequest["default"].prototype['description'] = undefined;
|
210
225
|
/**
|
211
226
|
* The unit in which this product is sold
|
212
227
|
* @member {String} unit
|