pipedrive 15.0.1 → 15.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -2
- package/dist/model/BasePersonItem.js +11 -0
- package/dist/model/BasicPerson.js +11 -0
- package/dist/model/MergePersonItem.js +17 -0
- package/dist/model/NewPerson.js +17 -0
- package/dist/model/PersonItem.js +17 -0
- package/dist/model/UpdatePerson.js +17 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -5,14 +5,19 @@ The Changelog file gives an overview of all of the notable changes affecting the
|
|
5
5
|
The file format of it is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/), and the project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
6
6
|
|
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
|
+
[Unreleased]
|
9
|
+
|
10
|
+
## 15.0.2
|
11
|
+
### Added
|
12
|
+
- Added `primary_email` field to response of `GET /v1/persons`, `GET /v1/persons/{id}` endpoints
|
8
13
|
|
9
|
-
## [Unreleased]
|
10
14
|
## 15.0.1
|
11
15
|
### Changed
|
12
16
|
- Update the following dependencies:
|
13
17
|
- `superagent`
|
14
18
|
|
15
|
-
|
19
|
+
### Added
|
20
|
+
- Added `primary_email` field to response of `GET /v1/persons`, `GET /v1/persons/{id}` endpoints
|
16
21
|
## 15.0.0
|
17
22
|
### Fixed
|
18
23
|
- Renamed file with long name and it's class.
|
@@ -95,6 +95,11 @@ var BasePersonItem = /*#__PURE__*/function () {
|
|
95
95
|
delete data['email'];
|
96
96
|
}
|
97
97
|
|
98
|
+
if (data.hasOwnProperty('primary_email')) {
|
99
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
100
|
+
delete data['primary_email'];
|
101
|
+
}
|
102
|
+
|
98
103
|
if (data.hasOwnProperty('first_char')) {
|
99
104
|
obj['first_char'] = _ApiClient["default"].convertToType(data['first_char'], 'String');
|
100
105
|
delete data['first_char'];
|
@@ -181,6 +186,12 @@ BasePersonItem.prototype['phone'] = undefined;
|
|
181
186
|
*/
|
182
187
|
|
183
188
|
BasePersonItem.prototype['email'] = undefined;
|
189
|
+
/**
|
190
|
+
* The primary email of the person
|
191
|
+
* @member {String} primary_email
|
192
|
+
*/
|
193
|
+
|
194
|
+
BasePersonItem.prototype['primary_email'] = undefined;
|
184
195
|
/**
|
185
196
|
* The first letter of the name of the person
|
186
197
|
* @member {String} first_char
|
@@ -87,6 +87,11 @@ var BasicPerson = /*#__PURE__*/function () {
|
|
87
87
|
delete data['email'];
|
88
88
|
}
|
89
89
|
|
90
|
+
if (data.hasOwnProperty('primary_email')) {
|
91
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
92
|
+
delete data['primary_email'];
|
93
|
+
}
|
94
|
+
|
90
95
|
if (data.hasOwnProperty('phone')) {
|
91
96
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
92
97
|
delete data['phone'];
|
@@ -136,6 +141,12 @@ BasicPerson.prototype['org_id'] = undefined;
|
|
136
141
|
*/
|
137
142
|
|
138
143
|
BasicPerson.prototype['email'] = undefined;
|
144
|
+
/**
|
145
|
+
* The primary email of the person
|
146
|
+
* @member {String} primary_email
|
147
|
+
*/
|
148
|
+
|
149
|
+
BasicPerson.prototype['primary_email'] = undefined;
|
139
150
|
/**
|
140
151
|
* List of phone data related to the person
|
141
152
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
@@ -110,6 +110,11 @@ var MergePersonItem = /*#__PURE__*/function () {
|
|
110
110
|
delete data['email'];
|
111
111
|
}
|
112
112
|
|
113
|
+
if (data.hasOwnProperty('primary_email')) {
|
114
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
115
|
+
delete data['primary_email'];
|
116
|
+
}
|
117
|
+
|
113
118
|
if (data.hasOwnProperty('first_char')) {
|
114
119
|
obj['first_char'] = _ApiClient["default"].convertToType(data['first_char'], 'String');
|
115
120
|
delete data['first_char'];
|
@@ -346,6 +351,12 @@ MergePersonItem.prototype['phone'] = undefined;
|
|
346
351
|
*/
|
347
352
|
|
348
353
|
MergePersonItem.prototype['email'] = undefined;
|
354
|
+
/**
|
355
|
+
* The primary email of the person
|
356
|
+
* @member {String} primary_email
|
357
|
+
*/
|
358
|
+
|
359
|
+
MergePersonItem.prototype['primary_email'] = undefined;
|
349
360
|
/**
|
350
361
|
* The first letter of the name of the person
|
351
362
|
* @member {String} first_char
|
@@ -610,6 +621,12 @@ _BasePersonItem["default"].prototype['phone'] = undefined;
|
|
610
621
|
*/
|
611
622
|
|
612
623
|
_BasePersonItem["default"].prototype['email'] = undefined;
|
624
|
+
/**
|
625
|
+
* The primary email of the person
|
626
|
+
* @member {String} primary_email
|
627
|
+
*/
|
628
|
+
|
629
|
+
_BasePersonItem["default"].prototype['primary_email'] = undefined;
|
613
630
|
/**
|
614
631
|
* The first letter of the name of the person
|
615
632
|
* @member {String} first_char
|
package/dist/model/NewPerson.js
CHANGED
@@ -110,6 +110,11 @@ var NewPerson = /*#__PURE__*/function () {
|
|
110
110
|
delete data['email'];
|
111
111
|
}
|
112
112
|
|
113
|
+
if (data.hasOwnProperty('primary_email')) {
|
114
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
115
|
+
delete data['primary_email'];
|
116
|
+
}
|
117
|
+
|
113
118
|
if (data.hasOwnProperty('phone')) {
|
114
119
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
115
120
|
delete data['phone'];
|
@@ -165,6 +170,12 @@ NewPerson.prototype['org_id'] = undefined;
|
|
165
170
|
*/
|
166
171
|
|
167
172
|
NewPerson.prototype['email'] = undefined;
|
173
|
+
/**
|
174
|
+
* The primary email of the person
|
175
|
+
* @member {String} primary_email
|
176
|
+
*/
|
177
|
+
|
178
|
+
NewPerson.prototype['primary_email'] = undefined;
|
168
179
|
/**
|
169
180
|
* List of phone data related to the person
|
170
181
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
@@ -215,6 +226,12 @@ _BasicPerson["default"].prototype['org_id'] = undefined;
|
|
215
226
|
*/
|
216
227
|
|
217
228
|
_BasicPerson["default"].prototype['email'] = undefined;
|
229
|
+
/**
|
230
|
+
* The primary email of the person
|
231
|
+
* @member {String} primary_email
|
232
|
+
*/
|
233
|
+
|
234
|
+
_BasicPerson["default"].prototype['primary_email'] = undefined;
|
218
235
|
/**
|
219
236
|
* List of phone data related to the person
|
220
237
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
package/dist/model/PersonItem.js
CHANGED
@@ -114,6 +114,11 @@ var PersonItem = /*#__PURE__*/function () {
|
|
114
114
|
delete data['email'];
|
115
115
|
}
|
116
116
|
|
117
|
+
if (data.hasOwnProperty('primary_email')) {
|
118
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
119
|
+
delete data['primary_email'];
|
120
|
+
}
|
121
|
+
|
117
122
|
if (data.hasOwnProperty('first_char')) {
|
118
123
|
obj['first_char'] = _ApiClient["default"].convertToType(data['first_char'], 'String');
|
119
124
|
delete data['first_char'];
|
@@ -335,6 +340,12 @@ PersonItem.prototype['phone'] = undefined;
|
|
335
340
|
*/
|
336
341
|
|
337
342
|
PersonItem.prototype['email'] = undefined;
|
343
|
+
/**
|
344
|
+
* The primary email of the person
|
345
|
+
* @member {String} primary_email
|
346
|
+
*/
|
347
|
+
|
348
|
+
PersonItem.prototype['primary_email'] = undefined;
|
338
349
|
/**
|
339
350
|
* The first letter of the name of the person
|
340
351
|
* @member {String} first_char
|
@@ -579,6 +590,12 @@ _BasePersonItem["default"].prototype['phone'] = undefined;
|
|
579
590
|
*/
|
580
591
|
|
581
592
|
_BasePersonItem["default"].prototype['email'] = undefined;
|
593
|
+
/**
|
594
|
+
* The primary email of the person
|
595
|
+
* @member {String} primary_email
|
596
|
+
*/
|
597
|
+
|
598
|
+
_BasePersonItem["default"].prototype['primary_email'] = undefined;
|
582
599
|
/**
|
583
600
|
* The first letter of the name of the person
|
584
601
|
* @member {String} first_char
|
@@ -107,6 +107,11 @@ var UpdatePerson = /*#__PURE__*/function () {
|
|
107
107
|
delete data['email'];
|
108
108
|
}
|
109
109
|
|
110
|
+
if (data.hasOwnProperty('primary_email')) {
|
111
|
+
obj['primary_email'] = _ApiClient["default"].convertToType(data['primary_email'], 'String');
|
112
|
+
delete data['primary_email'];
|
113
|
+
}
|
114
|
+
|
110
115
|
if (data.hasOwnProperty('phone')) {
|
111
116
|
obj['phone'] = _ApiClient["default"].convertToType(data['phone'], [_BasePersonItemPhone["default"]]);
|
112
117
|
delete data['phone'];
|
@@ -162,6 +167,12 @@ UpdatePerson.prototype['org_id'] = undefined;
|
|
162
167
|
*/
|
163
168
|
|
164
169
|
UpdatePerson.prototype['email'] = undefined;
|
170
|
+
/**
|
171
|
+
* The primary email of the person
|
172
|
+
* @member {String} primary_email
|
173
|
+
*/
|
174
|
+
|
175
|
+
UpdatePerson.prototype['primary_email'] = undefined;
|
165
176
|
/**
|
166
177
|
* List of phone data related to the person
|
167
178
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|
@@ -212,6 +223,12 @@ _BasicPerson["default"].prototype['org_id'] = undefined;
|
|
212
223
|
*/
|
213
224
|
|
214
225
|
_BasicPerson["default"].prototype['email'] = undefined;
|
226
|
+
/**
|
227
|
+
* The primary email of the person
|
228
|
+
* @member {String} primary_email
|
229
|
+
*/
|
230
|
+
|
231
|
+
_BasicPerson["default"].prototype['primary_email'] = undefined;
|
215
232
|
/**
|
216
233
|
* List of phone data related to the person
|
217
234
|
* @member {Array.<module:model/BasePersonItemPhone>} phone
|