pipedrive 22.0.2 → 22.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.
- package/dist/model/BasicOrganization.js +10 -0
- package/dist/model/BasicPerson.js +10 -0
- package/dist/model/FieldCreateRequest.js +3 -3
- package/dist/model/FieldCreateRequestAllOf.js +2 -2
- package/dist/model/FieldUpdateRequest.js +2 -2
- package/dist/model/NewDeal.js +15 -0
- package/dist/model/NewDealParameters.js +10 -0
- package/dist/model/NewOrganization.js +15 -0
- package/dist/model/NewPerson.js +15 -0
- package/dist/model/UpdateDealParameters.js +10 -0
- package/dist/model/UpdateDealRequest.js +15 -0
- package/dist/model/UpdateOrganization.js +15 -0
- package/dist/model/UpdatePerson.js +15 -0
- package/package.json +1 -1
@@ -61,6 +61,10 @@ var BasicOrganization = /*#__PURE__*/function () {
|
|
61
61
|
obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'Number');
|
62
62
|
delete data['owner_id'];
|
63
63
|
}
|
64
|
+
if (data.hasOwnProperty('label')) {
|
65
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
66
|
+
delete data['label'];
|
67
|
+
}
|
64
68
|
if (data.hasOwnProperty('visible_to')) {
|
65
69
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
66
70
|
delete data['visible_to'];
|
@@ -80,6 +84,12 @@ var BasicOrganization = /*#__PURE__*/function () {
|
|
80
84
|
*/
|
81
85
|
BasicOrganization.prototype['owner_id'] = undefined;
|
82
86
|
|
87
|
+
/**
|
88
|
+
* The ID of the label.
|
89
|
+
* @member {Number} label
|
90
|
+
*/
|
91
|
+
BasicOrganization.prototype['label'] = undefined;
|
92
|
+
|
83
93
|
/**
|
84
94
|
* 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>
|
85
95
|
* @member {module:model/VisibleTo} visible_to
|
@@ -76,6 +76,10 @@ var BasicPerson = /*#__PURE__*/function () {
|
|
76
76
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
77
77
|
delete data['phone'];
|
78
78
|
}
|
79
|
+
if (data.hasOwnProperty('label')) {
|
80
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
81
|
+
delete data['label'];
|
82
|
+
}
|
79
83
|
if (data.hasOwnProperty('visible_to')) {
|
80
84
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
81
85
|
delete data['visible_to'];
|
@@ -121,6 +125,12 @@ BasicPerson.prototype['email'] = undefined;
|
|
121
125
|
*/
|
122
126
|
BasicPerson.prototype['phone'] = undefined;
|
123
127
|
|
128
|
+
/**
|
129
|
+
* The ID of the label.
|
130
|
+
* @member {Number} label
|
131
|
+
*/
|
132
|
+
BasicPerson.prototype['label'] = undefined;
|
133
|
+
|
124
134
|
/**
|
125
135
|
* 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>
|
126
136
|
* @member {module:model/VisibleTo} visible_to
|
@@ -75,7 +75,7 @@ var FieldCreateRequest = /*#__PURE__*/function () {
|
|
75
75
|
delete data['name'];
|
76
76
|
}
|
77
77
|
if (data.hasOwnProperty('options')) {
|
78
|
-
obj['options'] = _ApiClient["default"].convertToType(data['options'],
|
78
|
+
obj['options'] = _ApiClient["default"].convertToType(data['options'], [Object]);
|
79
79
|
delete data['options'];
|
80
80
|
}
|
81
81
|
if (data.hasOwnProperty('add_visible_flag')) {
|
@@ -103,7 +103,7 @@ FieldCreateRequest.prototype['name'] = undefined;
|
|
103
103
|
|
104
104
|
/**
|
105
105
|
* When `field_type` is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. Example: `[{\"label\":\"New Item\"}]`
|
106
|
-
* @member {
|
106
|
+
* @member {Array.<Object>} options
|
107
107
|
*/
|
108
108
|
FieldCreateRequest.prototype['options'] = undefined;
|
109
109
|
|
@@ -127,7 +127,7 @@ FieldCreateRequest.prototype['field_type'] = undefined;
|
|
127
127
|
_FieldCreateRequestAllOf["default"].prototype['name'] = undefined;
|
128
128
|
/**
|
129
129
|
* When `field_type` is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. Example: `[{\"label\":\"New Item\"}]`
|
130
|
-
* @member {
|
130
|
+
* @member {Array.<Object>} options
|
131
131
|
*/
|
132
132
|
_FieldCreateRequestAllOf["default"].prototype['options'] = undefined;
|
133
133
|
/**
|
@@ -64,7 +64,7 @@ var FieldCreateRequestAllOf = /*#__PURE__*/function () {
|
|
64
64
|
delete data['name'];
|
65
65
|
}
|
66
66
|
if (data.hasOwnProperty('options')) {
|
67
|
-
obj['options'] = _ApiClient["default"].convertToType(data['options'],
|
67
|
+
obj['options'] = _ApiClient["default"].convertToType(data['options'], [Object]);
|
68
68
|
delete data['options'];
|
69
69
|
}
|
70
70
|
if (data.hasOwnProperty('add_visible_flag')) {
|
@@ -88,7 +88,7 @@ FieldCreateRequestAllOf.prototype['name'] = undefined;
|
|
88
88
|
|
89
89
|
/**
|
90
90
|
* When `field_type` is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. Example: `[{\"label\":\"New Item\"}]`
|
91
|
-
* @member {
|
91
|
+
* @member {Array.<Object>} options
|
92
92
|
*/
|
93
93
|
FieldCreateRequestAllOf.prototype['options'] = undefined;
|
94
94
|
|
@@ -61,7 +61,7 @@ var FieldUpdateRequest = /*#__PURE__*/function () {
|
|
61
61
|
delete data['name'];
|
62
62
|
}
|
63
63
|
if (data.hasOwnProperty('options')) {
|
64
|
-
obj['options'] = _ApiClient["default"].convertToType(data['options'],
|
64
|
+
obj['options'] = _ApiClient["default"].convertToType(data['options'], [Object]);
|
65
65
|
delete data['options'];
|
66
66
|
}
|
67
67
|
if (data.hasOwnProperty('add_visible_flag')) {
|
@@ -85,7 +85,7 @@ FieldUpdateRequest.prototype['name'] = undefined;
|
|
85
85
|
|
86
86
|
/**
|
87
87
|
* When `field_type` is either set or enum, possible options must be supplied as a JSON-encoded sequential array of objects. All active items must be supplied and already existing items must have their ID supplied. New items only require a label. Example: `[{\"id\":123,\"label\":\"Existing Item\"},{\"label\":\"New Item\"}]`
|
88
|
-
* @member {
|
88
|
+
* @member {Array.<Object>} options
|
89
89
|
*/
|
90
90
|
FieldUpdateRequest.prototype['options'] = undefined;
|
91
91
|
|
package/dist/model/NewDeal.js
CHANGED
@@ -80,6 +80,10 @@ var NewDeal = /*#__PURE__*/function () {
|
|
80
80
|
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
81
81
|
delete data['value'];
|
82
82
|
}
|
83
|
+
if (data.hasOwnProperty('label')) {
|
84
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], ['Number']);
|
85
|
+
delete data['label'];
|
86
|
+
}
|
83
87
|
if (data.hasOwnProperty('currency')) {
|
84
88
|
obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
|
85
89
|
delete data['currency'];
|
@@ -149,6 +153,12 @@ NewDeal.prototype['title'] = undefined;
|
|
149
153
|
*/
|
150
154
|
NewDeal.prototype['value'] = undefined;
|
151
155
|
|
156
|
+
/**
|
157
|
+
* The array of the labels IDs.
|
158
|
+
* @member {Array.<Number>} label
|
159
|
+
*/
|
160
|
+
NewDeal.prototype['label'] = undefined;
|
161
|
+
|
152
162
|
/**
|
153
163
|
* The currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.
|
154
164
|
* @member {String} currency
|
@@ -233,6 +243,11 @@ _RequredTitleParameter["default"].prototype['title'] = undefined;
|
|
233
243
|
* @member {String} value
|
234
244
|
*/
|
235
245
|
_NewDealParameters["default"].prototype['value'] = undefined;
|
246
|
+
/**
|
247
|
+
* The array of the labels IDs.
|
248
|
+
* @member {Array.<Number>} label
|
249
|
+
*/
|
250
|
+
_NewDealParameters["default"].prototype['label'] = undefined;
|
236
251
|
/**
|
237
252
|
* The currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.
|
238
253
|
* @member {String} currency
|
@@ -60,6 +60,10 @@ var NewDealParameters = /*#__PURE__*/function () {
|
|
60
60
|
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
61
61
|
delete data['value'];
|
62
62
|
}
|
63
|
+
if (data.hasOwnProperty('label')) {
|
64
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], ['Number']);
|
65
|
+
delete data['label'];
|
66
|
+
}
|
63
67
|
if (data.hasOwnProperty('currency')) {
|
64
68
|
obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
|
65
69
|
delete data['currency'];
|
@@ -107,6 +111,12 @@ var NewDealParameters = /*#__PURE__*/function () {
|
|
107
111
|
*/
|
108
112
|
NewDealParameters.prototype['value'] = undefined;
|
109
113
|
|
114
|
+
/**
|
115
|
+
* The array of the labels IDs.
|
116
|
+
* @member {Array.<Number>} label
|
117
|
+
*/
|
118
|
+
NewDealParameters.prototype['label'] = undefined;
|
119
|
+
|
110
120
|
/**
|
111
121
|
* The currency of the deal. Accepts a 3-character currency code. If omitted, currency will be set to the default currency of the authorized user.
|
112
122
|
* @member {String} currency
|
@@ -80,6 +80,10 @@ var NewOrganization = /*#__PURE__*/function () {
|
|
80
80
|
obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'Number');
|
81
81
|
delete data['owner_id'];
|
82
82
|
}
|
83
|
+
if (data.hasOwnProperty('label')) {
|
84
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
85
|
+
delete data['label'];
|
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'];
|
@@ -111,6 +115,12 @@ NewOrganization.prototype['add_time'] = undefined;
|
|
111
115
|
*/
|
112
116
|
NewOrganization.prototype['owner_id'] = undefined;
|
113
117
|
|
118
|
+
/**
|
119
|
+
* The ID of the label.
|
120
|
+
* @member {Number} label
|
121
|
+
*/
|
122
|
+
NewOrganization.prototype['label'] = undefined;
|
123
|
+
|
114
124
|
/**
|
115
125
|
* 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>
|
116
126
|
* @member {module:model/VisibleTo} visible_to
|
@@ -134,6 +144,11 @@ _NewOrganizationAllOf["default"].prototype['add_time'] = undefined;
|
|
134
144
|
* @member {Number} owner_id
|
135
145
|
*/
|
136
146
|
_BasicOrganization["default"].prototype['owner_id'] = undefined;
|
147
|
+
/**
|
148
|
+
* The ID of the label.
|
149
|
+
* @member {Number} label
|
150
|
+
*/
|
151
|
+
_BasicOrganization["default"].prototype['label'] = undefined;
|
137
152
|
/**
|
138
153
|
* 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>
|
139
154
|
* @member {module:model/VisibleTo} visible_to
|
package/dist/model/NewPerson.js
CHANGED
@@ -91,6 +91,10 @@ var NewPerson = /*#__PURE__*/function () {
|
|
91
91
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
92
92
|
delete data['phone'];
|
93
93
|
}
|
94
|
+
if (data.hasOwnProperty('label')) {
|
95
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
96
|
+
delete data['label'];
|
97
|
+
}
|
94
98
|
if (data.hasOwnProperty('visible_to')) {
|
95
99
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
96
100
|
delete data['visible_to'];
|
@@ -142,6 +146,12 @@ NewPerson.prototype['email'] = undefined;
|
|
142
146
|
*/
|
143
147
|
NewPerson.prototype['phone'] = undefined;
|
144
148
|
|
149
|
+
/**
|
150
|
+
* The ID of the label.
|
151
|
+
* @member {Number} label
|
152
|
+
*/
|
153
|
+
NewPerson.prototype['label'] = undefined;
|
154
|
+
|
145
155
|
/**
|
146
156
|
* 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>
|
147
157
|
* @member {module:model/VisibleTo} visible_to
|
@@ -187,6 +197,11 @@ _BasicPerson["default"].prototype['email'] = undefined;
|
|
187
197
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
188
198
|
*/
|
189
199
|
_BasicPerson["default"].prototype['phone'] = undefined;
|
200
|
+
/**
|
201
|
+
* The ID of the label.
|
202
|
+
* @member {Number} label
|
203
|
+
*/
|
204
|
+
_BasicPerson["default"].prototype['label'] = undefined;
|
190
205
|
/**
|
191
206
|
* 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>
|
192
207
|
* @member {module:model/VisibleTo} visible_to
|
@@ -60,6 +60,10 @@ var UpdateDealParameters = /*#__PURE__*/function () {
|
|
60
60
|
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
61
61
|
delete data['value'];
|
62
62
|
}
|
63
|
+
if (data.hasOwnProperty('label')) {
|
64
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], ['Number']);
|
65
|
+
delete data['label'];
|
66
|
+
}
|
63
67
|
if (data.hasOwnProperty('currency')) {
|
64
68
|
obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
|
65
69
|
delete data['currency'];
|
@@ -103,6 +107,12 @@ var UpdateDealParameters = /*#__PURE__*/function () {
|
|
103
107
|
*/
|
104
108
|
UpdateDealParameters.prototype['value'] = undefined;
|
105
109
|
|
110
|
+
/**
|
111
|
+
* Array of the deal labels IDs.
|
112
|
+
* @member {Array.<Number>} label
|
113
|
+
*/
|
114
|
+
UpdateDealParameters.prototype['label'] = undefined;
|
115
|
+
|
106
116
|
/**
|
107
117
|
* The currency of the deal. Accepts a 3-character currency code.
|
108
118
|
* @member {String} currency
|
@@ -77,6 +77,10 @@ var UpdateDealRequest = /*#__PURE__*/function () {
|
|
77
77
|
obj['value'] = _ApiClient["default"].convertToType(data['value'], 'String');
|
78
78
|
delete data['value'];
|
79
79
|
}
|
80
|
+
if (data.hasOwnProperty('label')) {
|
81
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], ['Number']);
|
82
|
+
delete data['label'];
|
83
|
+
}
|
80
84
|
if (data.hasOwnProperty('currency')) {
|
81
85
|
obj['currency'] = _ApiClient["default"].convertToType(data['currency'], 'String');
|
82
86
|
delete data['currency'];
|
@@ -142,6 +146,12 @@ UpdateDealRequest.prototype['title'] = undefined;
|
|
142
146
|
*/
|
143
147
|
UpdateDealRequest.prototype['value'] = undefined;
|
144
148
|
|
149
|
+
/**
|
150
|
+
* Array of the deal labels IDs.
|
151
|
+
* @member {Array.<Number>} label
|
152
|
+
*/
|
153
|
+
UpdateDealRequest.prototype['label'] = undefined;
|
154
|
+
|
145
155
|
/**
|
146
156
|
* The currency of the deal. Accepts a 3-character currency code.
|
147
157
|
* @member {String} currency
|
@@ -220,6 +230,11 @@ _DealTitleParameter["default"].prototype['title'] = undefined;
|
|
220
230
|
* @member {String} value
|
221
231
|
*/
|
222
232
|
_UpdateDealParameters["default"].prototype['value'] = undefined;
|
233
|
+
/**
|
234
|
+
* Array of the deal labels IDs.
|
235
|
+
* @member {Array.<Number>} label
|
236
|
+
*/
|
237
|
+
_UpdateDealParameters["default"].prototype['label'] = undefined;
|
223
238
|
/**
|
224
239
|
* The currency of the deal. Accepts a 3-character currency code.
|
225
240
|
* @member {String} currency
|
@@ -73,6 +73,10 @@ var UpdateOrganization = /*#__PURE__*/function () {
|
|
73
73
|
obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'Number');
|
74
74
|
delete data['owner_id'];
|
75
75
|
}
|
76
|
+
if (data.hasOwnProperty('label')) {
|
77
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
78
|
+
delete data['label'];
|
79
|
+
}
|
76
80
|
if (data.hasOwnProperty('visible_to')) {
|
77
81
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
78
82
|
delete data['visible_to'];
|
@@ -98,6 +102,12 @@ UpdateOrganization.prototype['name'] = undefined;
|
|
98
102
|
*/
|
99
103
|
UpdateOrganization.prototype['owner_id'] = undefined;
|
100
104
|
|
105
|
+
/**
|
106
|
+
* The ID of the label.
|
107
|
+
* @member {Number} label
|
108
|
+
*/
|
109
|
+
UpdateOrganization.prototype['label'] = undefined;
|
110
|
+
|
101
111
|
/**
|
102
112
|
* 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>
|
103
113
|
* @member {module:model/VisibleTo} visible_to
|
@@ -116,6 +126,11 @@ _UpdateOrganizationAllOf["default"].prototype['name'] = undefined;
|
|
116
126
|
* @member {Number} owner_id
|
117
127
|
*/
|
118
128
|
_BasicOrganization["default"].prototype['owner_id'] = undefined;
|
129
|
+
/**
|
130
|
+
* The ID of the label.
|
131
|
+
* @member {Number} label
|
132
|
+
*/
|
133
|
+
_BasicOrganization["default"].prototype['label'] = undefined;
|
119
134
|
/**
|
120
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>
|
121
136
|
* @member {module:model/VisibleTo} visible_to
|
@@ -88,6 +88,10 @@ var UpdatePerson = /*#__PURE__*/function () {
|
|
88
88
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
89
89
|
delete data['phone'];
|
90
90
|
}
|
91
|
+
if (data.hasOwnProperty('label')) {
|
92
|
+
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
|
93
|
+
delete data['label'];
|
94
|
+
}
|
91
95
|
if (data.hasOwnProperty('visible_to')) {
|
92
96
|
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
|
93
97
|
delete data['visible_to'];
|
@@ -139,6 +143,12 @@ UpdatePerson.prototype['email'] = undefined;
|
|
139
143
|
*/
|
140
144
|
UpdatePerson.prototype['phone'] = undefined;
|
141
145
|
|
146
|
+
/**
|
147
|
+
* The ID of the label.
|
148
|
+
* @member {Number} label
|
149
|
+
*/
|
150
|
+
UpdatePerson.prototype['label'] = undefined;
|
151
|
+
|
142
152
|
/**
|
143
153
|
* 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>
|
144
154
|
* @member {module:model/VisibleTo} visible_to
|
@@ -184,6 +194,11 @@ _BasicPerson["default"].prototype['email'] = undefined;
|
|
184
194
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
185
195
|
*/
|
186
196
|
_BasicPerson["default"].prototype['phone'] = undefined;
|
197
|
+
/**
|
198
|
+
* The ID of the label.
|
199
|
+
* @member {Number} label
|
200
|
+
*/
|
201
|
+
_BasicPerson["default"].prototype['label'] = undefined;
|
187
202
|
/**
|
188
203
|
* 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>
|
189
204
|
* @member {module:model/VisibleTo} visible_to
|