pipedrive 18.0.2 → 18.1.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/CHANGELOG.md +38 -1
- package/dist/api/ActivitiesApi.js +8 -8
- package/dist/api/CallLogsApi.js +2 -2
- package/dist/api/CurrenciesApi.js +1 -1
- package/dist/api/DealFieldsApi.js +2 -2
- package/dist/api/DealsApi.js +45 -45
- package/dist/api/FilesApi.js +3 -3
- package/dist/api/FiltersApi.js +1 -1
- package/dist/api/GoalsApi.js +11 -11
- package/dist/api/ItemSearchApi.js +11 -11
- package/dist/api/LeadsApi.js +15 -15
- package/dist/api/LegacyTeamsApi.js +5 -11
- package/dist/api/MailboxApi.js +3 -3
- package/dist/api/NotesApi.js +16 -16
- package/dist/api/OrganizationFieldsApi.js +2 -2
- package/dist/api/OrganizationRelationshipsApi.js +1 -1
- package/dist/api/OrganizationsApi.js +30 -30
- package/dist/api/PermissionSetsApi.js +3 -3
- package/dist/api/PersonFieldsApi.js +2 -2
- package/dist/api/PersonsApi.js +31 -31
- package/dist/api/PipelinesApi.js +11 -11
- package/dist/api/ProductFieldsApi.js +2 -2
- package/dist/api/ProductsApi.js +19 -19
- package/dist/api/RecentsApi.js +3 -3
- package/dist/api/RolesApi.js +4 -4
- package/dist/api/StagesApi.js +7 -7
- package/dist/api/UsersApi.js +3 -3
- package/dist/model/ActivityResponseObject.js +0 -30
- package/dist/model/ActivityResponseObjectAllOf.js +0 -20
- package/dist/model/BaseTeam.js +4 -9
- package/dist/model/CreateTeam.js +3 -8
- package/dist/model/ListFollowersResponseAllOfData.js +6 -6
- package/dist/model/PersonListProduct.js +0 -10
- package/dist/model/RecentDataProduct.js +0 -10
- package/dist/model/UpdateTeam.js +4 -9
- package/dist/model/UpdateTeamWithAdditionalProperties.js +4 -9
- package/package.json +3 -2
|
@@ -64,9 +64,9 @@ var ListFollowersResponseAllOfData = /*#__PURE__*/function () {
|
|
|
64
64
|
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
|
65
65
|
delete data['id'];
|
|
66
66
|
}
|
|
67
|
-
if (data.hasOwnProperty('
|
|
68
|
-
obj['
|
|
69
|
-
delete data['
|
|
67
|
+
if (data.hasOwnProperty('deal_id')) {
|
|
68
|
+
obj['deal_id'] = _ApiClient["default"].convertToType(data['deal_id'], 'Number');
|
|
69
|
+
delete data['deal_id'];
|
|
70
70
|
}
|
|
71
71
|
if (data.hasOwnProperty('add_time')) {
|
|
72
72
|
obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
|
|
@@ -94,10 +94,10 @@ ListFollowersResponseAllOfData.prototype['user_id'] = undefined;
|
|
|
94
94
|
ListFollowersResponseAllOfData.prototype['id'] = undefined;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* The ID of the
|
|
98
|
-
* @member {Number}
|
|
97
|
+
* The ID of the deal which the follower was added to
|
|
98
|
+
* @member {Number} deal_id
|
|
99
99
|
*/
|
|
100
|
-
ListFollowersResponseAllOfData.prototype['
|
|
100
|
+
ListFollowersResponseAllOfData.prototype['deal_id'] = undefined;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
103
|
* The date and time when the follower was added to the person
|
|
@@ -114,10 +114,6 @@ var PersonListProduct = /*#__PURE__*/function () {
|
|
|
114
114
|
obj['files_count'] = _ApiClient["default"].convertToType(data['files_count'], 'Number');
|
|
115
115
|
delete data['files_count'];
|
|
116
116
|
}
|
|
117
|
-
if (data.hasOwnProperty('followers_count')) {
|
|
118
|
-
obj['followers_count'] = _ApiClient["default"].convertToType(data['followers_count'], 'Number');
|
|
119
|
-
delete data['followers_count'];
|
|
120
|
-
}
|
|
121
117
|
if (data.hasOwnProperty('add_time')) {
|
|
122
118
|
obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
|
|
123
119
|
delete data['add_time'];
|
|
@@ -222,12 +218,6 @@ PersonListProduct.prototype['owner_id'] = undefined;
|
|
|
222
218
|
*/
|
|
223
219
|
PersonListProduct.prototype['files_count'] = undefined;
|
|
224
220
|
|
|
225
|
-
/**
|
|
226
|
-
* The count of followers
|
|
227
|
-
* @member {Number} followers_count
|
|
228
|
-
*/
|
|
229
|
-
PersonListProduct.prototype['followers_count'] = undefined;
|
|
230
|
-
|
|
231
221
|
/**
|
|
232
222
|
* The date and time when the product was added to the deal
|
|
233
223
|
* @member {String} add_time
|
|
@@ -108,10 +108,6 @@ var RecentDataProduct = /*#__PURE__*/function () {
|
|
|
108
108
|
obj['files_count'] = _ApiClient["default"].convertToType(data['files_count'], 'Number');
|
|
109
109
|
delete data['files_count'];
|
|
110
110
|
}
|
|
111
|
-
if (data.hasOwnProperty('followers_count')) {
|
|
112
|
-
obj['followers_count'] = _ApiClient["default"].convertToType(data['followers_count'], 'Number');
|
|
113
|
-
delete data['followers_count'];
|
|
114
|
-
}
|
|
115
111
|
if (data.hasOwnProperty('add_time')) {
|
|
116
112
|
obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
|
|
117
113
|
delete data['add_time'];
|
|
@@ -212,12 +208,6 @@ RecentDataProduct.prototype['owner_id'] = undefined;
|
|
|
212
208
|
*/
|
|
213
209
|
RecentDataProduct.prototype['files_count'] = undefined;
|
|
214
210
|
|
|
215
|
-
/**
|
|
216
|
-
* The count of followers
|
|
217
|
-
* @member {Number} followers_count
|
|
218
|
-
*/
|
|
219
|
-
RecentDataProduct.prototype['followers_count'] = undefined;
|
|
220
|
-
|
|
221
211
|
/**
|
|
222
212
|
* The date and time when the product was added to the deal
|
|
223
213
|
* @member {String} add_time
|
package/dist/model/UpdateTeam.js
CHANGED
|
@@ -34,14 +34,12 @@ var UpdateTeam = /*#__PURE__*/function () {
|
|
|
34
34
|
* @alias module:model/UpdateTeam
|
|
35
35
|
* @implements module:model/CreateTeam
|
|
36
36
|
* @implements module:model/UpdateTeamAllOf
|
|
37
|
-
* @param name {String} The team name
|
|
38
|
-
* @param managerId {Number} The team manager ID
|
|
39
37
|
*/
|
|
40
|
-
function UpdateTeam(
|
|
38
|
+
function UpdateTeam() {
|
|
41
39
|
(0, _classCallCheck2["default"])(this, UpdateTeam);
|
|
42
|
-
_CreateTeam["default"].initialize(this
|
|
40
|
+
_CreateTeam["default"].initialize(this);
|
|
43
41
|
_UpdateTeamAllOf["default"].initialize(this);
|
|
44
|
-
UpdateTeam.initialize(this
|
|
42
|
+
UpdateTeam.initialize(this);
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
/**
|
|
@@ -51,10 +49,7 @@ var UpdateTeam = /*#__PURE__*/function () {
|
|
|
51
49
|
*/
|
|
52
50
|
(0, _createClass2["default"])(UpdateTeam, null, [{
|
|
53
51
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj
|
|
55
|
-
obj['name'] = name;
|
|
56
|
-
obj['manager_id'] = managerId;
|
|
57
|
-
}
|
|
52
|
+
value: function initialize(obj) {}
|
|
58
53
|
|
|
59
54
|
/**
|
|
60
55
|
* Constructs a <code>UpdateTeam</code> from a plain JavaScript object, optionally creating a new instance.
|
|
@@ -34,14 +34,12 @@ var UpdateTeamWithAdditionalProperties = /*#__PURE__*/function () {
|
|
|
34
34
|
* @alias module:model/UpdateTeamWithAdditionalProperties
|
|
35
35
|
* @implements module:model/UpdateTeam
|
|
36
36
|
* @implements module:model/BaseTeamAdditionalProperties
|
|
37
|
-
* @param name {String} The team name
|
|
38
|
-
* @param managerId {Number} The team manager ID
|
|
39
37
|
*/
|
|
40
|
-
function UpdateTeamWithAdditionalProperties(
|
|
38
|
+
function UpdateTeamWithAdditionalProperties() {
|
|
41
39
|
(0, _classCallCheck2["default"])(this, UpdateTeamWithAdditionalProperties);
|
|
42
|
-
_UpdateTeam["default"].initialize(this
|
|
40
|
+
_UpdateTeam["default"].initialize(this);
|
|
43
41
|
_BaseTeamAdditionalProperties["default"].initialize(this);
|
|
44
|
-
UpdateTeamWithAdditionalProperties.initialize(this
|
|
42
|
+
UpdateTeamWithAdditionalProperties.initialize(this);
|
|
45
43
|
}
|
|
46
44
|
|
|
47
45
|
/**
|
|
@@ -51,10 +49,7 @@ var UpdateTeamWithAdditionalProperties = /*#__PURE__*/function () {
|
|
|
51
49
|
*/
|
|
52
50
|
(0, _createClass2["default"])(UpdateTeamWithAdditionalProperties, null, [{
|
|
53
51
|
key: "initialize",
|
|
54
|
-
value: function initialize(obj
|
|
55
|
-
obj['name'] = name;
|
|
56
|
-
obj['manager_id'] = managerId;
|
|
57
|
-
}
|
|
52
|
+
value: function initialize(obj) {}
|
|
58
53
|
|
|
59
54
|
/**
|
|
60
55
|
* Constructs a <code>UpdateTeamWithAdditionalProperties</code> from a plain JavaScript object, optionally creating a new instance.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pipedrive",
|
|
3
|
-
"version": "18.0
|
|
3
|
+
"version": "18.1.0",
|
|
4
4
|
"description": "Pipedrive REST client for NodeJS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"changelog-updater": "^2.0.3",
|
|
52
52
|
"eslint": "^8.27.0",
|
|
53
53
|
"eslint-config-pipedrive": "^13.0.0",
|
|
54
|
+
"eslint-plugin-import": "^2.27.5",
|
|
54
55
|
"eslint-plugin-jest": "^27.1.5",
|
|
55
56
|
"expect.js": "^0.3.1",
|
|
56
57
|
"get-port": "^5.1.1",
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
"jest-environment-node": "^27.4.4",
|
|
59
60
|
"lint-staged": "^13.0.3",
|
|
60
61
|
"minimist": "^1.2.5",
|
|
61
|
-
"mocha": "^
|
|
62
|
+
"mocha": "^10.2.0",
|
|
62
63
|
"msw": "^0.48.2",
|
|
63
64
|
"pre-commit": "^1.2.2",
|
|
64
65
|
"regenerator-runtime": "^0.13.7",
|