pipedrive 12.0.3 → 13.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -11
- package/dist/api/DealsApi.js +0 -67
- package/dist/api/OrganizationsApi.js +0 -65
- package/dist/api/PersonsApi.js +0 -71
- package/dist/api/ProductsApi.js +3 -70
- package/dist/index.js +8 -48
- package/dist/model/AdditionalDataWithPagination.js +92 -0
- package/dist/model/FieldTypeAsString.js +0 -1
- package/dist/model/GetComments.js +3 -3
- package/dist/model/GetNotes.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
@@ -6,6 +6,34 @@ The file format of it is based on [Keep a Changelog](http://keepachangelog.com/e
|
|
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
8
|
|
9
|
+
## [Unreleased]
|
10
|
+
## 13.0.1
|
11
|
+
### Added
|
12
|
+
- Added `filter_id` to `GET /products` query parameters that was wrongfully removed in 0.1.18
|
13
|
+
|
14
|
+
## 13.0.0
|
15
|
+
### Removed
|
16
|
+
- Removed `int` type from `POST /v1/organizationFields` field_type values
|
17
|
+
- Removed `int` type from `POST /v1/personFields` field_type values
|
18
|
+
- Removed `int` type from `POST /v1/dealFields` field_type values
|
19
|
+
|
20
|
+
## 12.2.0
|
21
|
+
### Changed
|
22
|
+
- Changed notes and comments endpoints additional_data to match the correct pagination response
|
23
|
+
structure
|
24
|
+
* GET /notes
|
25
|
+
* GET /notes/:id/comments
|
26
|
+
|
27
|
+
## 12.1.0
|
28
|
+
### Removed
|
29
|
+
* Removed deprecated endpoints that were deleted:
|
30
|
+
* GET /deals/find
|
31
|
+
* GET /persons/find
|
32
|
+
* GET /organizations/find
|
33
|
+
* GET /products/find
|
34
|
+
* GET /searchResults
|
35
|
+
* GET /searchResults/field
|
36
|
+
|
9
37
|
## 12.0.3
|
10
38
|
### Changed
|
11
39
|
- Changed addDeal POST endpoint to include required person_id or org_id
|
package/README.md
CHANGED
@@ -309,7 +309,6 @@ Class | Method | HTTP request | Description
|
|
309
309
|
*Pipedrive.DealsApi* | [**getDealUpdates**](docs/DealsApi.md#getDealUpdates) | **GET** /deals/{id}/flow | List updates about a deal
|
310
310
|
*Pipedrive.DealsApi* | [**getDealUsers**](docs/DealsApi.md#getDealUsers) | **GET** /deals/{id}/permittedUsers | List permitted users
|
311
311
|
*Pipedrive.DealsApi* | [**getDeals**](docs/DealsApi.md#getDeals) | **GET** /deals | Get all deals
|
312
|
-
*Pipedrive.DealsApi* | [**getDealsByName**](docs/DealsApi.md#getDealsByName) | **GET** /deals/find | Find deals by name
|
313
312
|
*Pipedrive.DealsApi* | [**getDealsSummary**](docs/DealsApi.md#getDealsSummary) | **GET** /deals/summary | Get deals summary
|
314
313
|
*Pipedrive.DealsApi* | [**getDealsTimeline**](docs/DealsApi.md#getDealsTimeline) | **GET** /deals/timeline | Get deals timeline
|
315
314
|
*Pipedrive.DealsApi* | [**mergeDeals**](docs/DealsApi.md#mergeDeals) | **PUT** /deals/{id}/merge | Merge two deals
|
@@ -385,7 +384,6 @@ Class | Method | HTTP request | Description
|
|
385
384
|
*Pipedrive.OrganizationsApi* | [**deleteOrganizations**](docs/OrganizationsApi.md#deleteOrganizations) | **DELETE** /organizations | Delete multiple organizations in bulk
|
386
385
|
*Pipedrive.OrganizationsApi* | [**getOrganization**](docs/OrganizationsApi.md#getOrganization) | **GET** /organizations/{id} | Get details of an organization
|
387
386
|
*Pipedrive.OrganizationsApi* | [**getOrganizationActivities**](docs/OrganizationsApi.md#getOrganizationActivities) | **GET** /organizations/{id}/activities | List activities associated with an organization
|
388
|
-
*Pipedrive.OrganizationsApi* | [**getOrganizationByName**](docs/OrganizationsApi.md#getOrganizationByName) | **GET** /organizations/find | Find organizations by name
|
389
387
|
*Pipedrive.OrganizationsApi* | [**getOrganizationDeals**](docs/OrganizationsApi.md#getOrganizationDeals) | **GET** /organizations/{id}/deals | List deals associated with an organization
|
390
388
|
*Pipedrive.OrganizationsApi* | [**getOrganizationFiles**](docs/OrganizationsApi.md#getOrganizationFiles) | **GET** /organizations/{id}/files | List files attached to an organization
|
391
389
|
*Pipedrive.OrganizationsApi* | [**getOrganizationFollowers**](docs/OrganizationsApi.md#getOrganizationFollowers) | **GET** /organizations/{id}/followers | List followers of an organization
|
@@ -413,7 +411,6 @@ Class | Method | HTTP request | Description
|
|
413
411
|
*Pipedrive.PersonsApi* | [**deletePersonFollower**](docs/PersonsApi.md#deletePersonFollower) | **DELETE** /persons/{id}/followers/{follower_id} | Deletes a follower from a person.
|
414
412
|
*Pipedrive.PersonsApi* | [**deletePersonPicture**](docs/PersonsApi.md#deletePersonPicture) | **DELETE** /persons/{id}/picture | Delete person picture
|
415
413
|
*Pipedrive.PersonsApi* | [**deletePersons**](docs/PersonsApi.md#deletePersons) | **DELETE** /persons | Delete multiple persons in bulk
|
416
|
-
*Pipedrive.PersonsApi* | [**findPersonByName**](docs/PersonsApi.md#findPersonByName) | **GET** /persons/find | Find persons by name
|
417
414
|
*Pipedrive.PersonsApi* | [**getPerson**](docs/PersonsApi.md#getPerson) | **GET** /persons/{id} | Get details of a person
|
418
415
|
*Pipedrive.PersonsApi* | [**getPersonActivities**](docs/PersonsApi.md#getPersonActivities) | **GET** /persons/{id}/activities | List activities associated with a person
|
419
416
|
*Pipedrive.PersonsApi* | [**getPersonDeals**](docs/PersonsApi.md#getPersonDeals) | **GET** /persons/{id}/deals | List deals associated with a person
|
@@ -445,7 +442,6 @@ Class | Method | HTTP request | Description
|
|
445
442
|
*Pipedrive.ProductsApi* | [**addProductFollower**](docs/ProductsApi.md#addProductFollower) | **POST** /products/{id}/followers | Add a follower to a product
|
446
443
|
*Pipedrive.ProductsApi* | [**deleteProduct**](docs/ProductsApi.md#deleteProduct) | **DELETE** /products/{id} | Delete a product
|
447
444
|
*Pipedrive.ProductsApi* | [**deleteProductFollower**](docs/ProductsApi.md#deleteProductFollower) | **DELETE** /products/{id}/followers/{follower_id} | Delete a follower from a product
|
448
|
-
*Pipedrive.ProductsApi* | [**findProductsByName**](docs/ProductsApi.md#findProductsByName) | **GET** /products/find | Find products by name
|
449
445
|
*Pipedrive.ProductsApi* | [**getProduct**](docs/ProductsApi.md#getProduct) | **GET** /products/{id} | Get one product
|
450
446
|
*Pipedrive.ProductsApi* | [**getProductDeals**](docs/ProductsApi.md#getProductDeals) | **GET** /products/{id}/deals | Get deals where a product is attached to
|
451
447
|
*Pipedrive.ProductsApi* | [**getProductFiles**](docs/ProductsApi.md#getProductFiles) | **GET** /products/{id}/files | List files attached to a product
|
@@ -466,8 +462,6 @@ Class | Method | HTTP request | Description
|
|
466
462
|
*Pipedrive.RolesApi* | [**getRoleSubRoles**](docs/RolesApi.md#getRoleSubRoles) | **GET** /roles/{id}/roles | List role sub-roles
|
467
463
|
*Pipedrive.RolesApi* | [**getRoles**](docs/RolesApi.md#getRoles) | **GET** /roles | Get all roles
|
468
464
|
*Pipedrive.RolesApi* | [**updateRole**](docs/RolesApi.md#updateRole) | **PUT** /roles/{id} | Update role details
|
469
|
-
*Pipedrive.SearchResultsApi* | [**search**](docs/SearchResultsApi.md#search) | **GET** /searchResults | Perform a search
|
470
|
-
*Pipedrive.SearchResultsApi* | [**searchByField**](docs/SearchResultsApi.md#searchByField) | **GET** /searchResults/field | Perform a search using a specific field value
|
471
465
|
*Pipedrive.StagesApi* | [**addStage**](docs/StagesApi.md#addStage) | **POST** /stages | Add a new stage
|
472
466
|
*Pipedrive.StagesApi* | [**deleteStage**](docs/StagesApi.md#deleteStage) | **DELETE** /stages/{id} | Delete a stage
|
473
467
|
*Pipedrive.StagesApi* | [**deleteStages**](docs/StagesApi.md#deleteStages) | **DELETE** /stages | Delete multiple stages in bulk
|
@@ -569,6 +563,7 @@ Class | Method | HTTP request | Description
|
|
569
563
|
- [Pipedrive.AddedDealFollowerData](docs/AddedDealFollowerData.md)
|
570
564
|
- [Pipedrive.AdditionalBaseOrganizationItemInfo](docs/AdditionalBaseOrganizationItemInfo.md)
|
571
565
|
- [Pipedrive.AdditionalData](docs/AdditionalData.md)
|
566
|
+
- [Pipedrive.AdditionalDataWithPagination](docs/AdditionalDataWithPagination.md)
|
572
567
|
- [Pipedrive.AdditionalDataWithPaginationDetails](docs/AdditionalDataWithPaginationDetails.md)
|
573
568
|
- [Pipedrive.AdditionalMergePersonInfo](docs/AdditionalMergePersonInfo.md)
|
574
569
|
- [Pipedrive.AdditionalPersonInfo](docs/AdditionalPersonInfo.md)
|
@@ -776,8 +771,6 @@ Class | Method | HTTP request | Description
|
|
776
771
|
- [Pipedrive.FiltersPostResponseAllOf](docs/FiltersPostResponseAllOf.md)
|
777
772
|
- [Pipedrive.FiltersPostResponseAllOfData](docs/FiltersPostResponseAllOfData.md)
|
778
773
|
- [Pipedrive.FindGoalResponse](docs/FindGoalResponse.md)
|
779
|
-
- [Pipedrive.FindProductsByNameResponse](docs/FindProductsByNameResponse.md)
|
780
|
-
- [Pipedrive.FindProductsByNameResponseData](docs/FindProductsByNameResponseData.md)
|
781
774
|
- [Pipedrive.FollowerData](docs/FollowerData.md)
|
782
775
|
- [Pipedrive.FollowerDataWithID](docs/FollowerDataWithID.md)
|
783
776
|
- [Pipedrive.FollowerDataWithIDAllOf](docs/FollowerDataWithIDAllOf.md)
|
@@ -800,9 +793,6 @@ Class | Method | HTTP request | Description
|
|
800
793
|
- [Pipedrive.GetDeal](docs/GetDeal.md)
|
801
794
|
- [Pipedrive.GetDealAdditionalData](docs/GetDealAdditionalData.md)
|
802
795
|
- [Pipedrive.GetDeals](docs/GetDeals.md)
|
803
|
-
- [Pipedrive.GetDealsByName](docs/GetDealsByName.md)
|
804
|
-
- [Pipedrive.GetDealsByNameAdditionalData](docs/GetDealsByNameAdditionalData.md)
|
805
|
-
- [Pipedrive.GetDealsByNameData](docs/GetDealsByNameData.md)
|
806
796
|
- [Pipedrive.GetDealsConversionRatesInPipeline](docs/GetDealsConversionRatesInPipeline.md)
|
807
797
|
- [Pipedrive.GetDealsConversionRatesInPipelineAllOf](docs/GetDealsConversionRatesInPipelineAllOf.md)
|
808
798
|
- [Pipedrive.GetDealsConversionRatesInPipelineAllOfData](docs/GetDealsConversionRatesInPipelineAllOfData.md)
|
package/dist/api/DealsApi.js
CHANGED
@@ -49,8 +49,6 @@ var _GetDeal = _interopRequireDefault(require("../model/GetDeal"));
|
|
49
49
|
|
50
50
|
var _GetDeals = _interopRequireDefault(require("../model/GetDeals"));
|
51
51
|
|
52
|
-
var _GetDealsByName = _interopRequireDefault(require("../model/GetDealsByName"));
|
53
|
-
|
54
52
|
var _GetDealsSummary = _interopRequireDefault(require("../model/GetDealsSummary"));
|
55
53
|
|
56
54
|
var _GetDealsTimeline = _interopRequireDefault(require("../model/GetDealsTimeline"));
|
@@ -1437,71 +1435,6 @@ var DealsApi = /*#__PURE__*/function () {
|
|
1437
1435
|
return response_and_data;
|
1438
1436
|
});
|
1439
1437
|
}
|
1440
|
-
/**
|
1441
|
-
* Find deals by name
|
1442
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1//Deals#searchDeals\">/v1/deals/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all deals by their title.
|
1443
|
-
* @param {String} term Search term to look for
|
1444
|
-
* @param {Object} opts Optional parameters
|
1445
|
-
* @param {Number} opts.personId ID of the person the Deal is associated with.
|
1446
|
-
* @param {Number} opts.orgId ID of the organization the Deal is associated with.
|
1447
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDealsByName} and HTTP response
|
1448
|
-
*/
|
1449
|
-
|
1450
|
-
}, {
|
1451
|
-
key: "getDealsByNameWithHttpInfo",
|
1452
|
-
value: function getDealsByNameWithHttpInfo(term, opts) {
|
1453
|
-
opts = opts || {};
|
1454
|
-
var postBody = null; // verify the required parameter 'term' is set
|
1455
|
-
|
1456
|
-
if (term === undefined || term === null) {
|
1457
|
-
throw new Error("Missing the required parameter 'term' when calling getDealsByName");
|
1458
|
-
}
|
1459
|
-
|
1460
|
-
var pathParams = {};
|
1461
|
-
var queryParams = {
|
1462
|
-
'term': term,
|
1463
|
-
'person_id': opts['personId'],
|
1464
|
-
'org_id': opts['orgId']
|
1465
|
-
};
|
1466
|
-
var headerParams = {};
|
1467
|
-
var formParams = {};
|
1468
|
-
var formParamArray = [];
|
1469
|
-
var contentTypes = [];
|
1470
|
-
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
1471
|
-
var isJSON = contentTypes.includes('application/json');
|
1472
|
-
|
1473
|
-
if (isJSON) {
|
1474
|
-
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
1475
|
-
} else if (isURLEncoded) {
|
1476
|
-
for (var key in opts) {
|
1477
|
-
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
1478
|
-
formParams[key] = opts[key];
|
1479
|
-
}
|
1480
|
-
}
|
1481
|
-
}
|
1482
|
-
|
1483
|
-
var authNames = ['api_key', 'oauth2'];
|
1484
|
-
var accepts = ['application/json'];
|
1485
|
-
var returnType = _GetDealsByName["default"];
|
1486
|
-
return this.apiClient.callApi('/deals/find', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
1487
|
-
}
|
1488
|
-
/**
|
1489
|
-
* Find deals by name
|
1490
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1//Deals#searchDeals\">/v1/deals/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all deals by their title.
|
1491
|
-
* @param {String} term Search term to look for
|
1492
|
-
* @param {Object} opts Optional parameters
|
1493
|
-
* @param {Number} opts.personId ID of the person the Deal is associated with.
|
1494
|
-
* @param {Number} opts.orgId ID of the organization the Deal is associated with.
|
1495
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDealsByName}
|
1496
|
-
*/
|
1497
|
-
|
1498
|
-
}, {
|
1499
|
-
key: "getDealsByName",
|
1500
|
-
value: function getDealsByName(term, opts) {
|
1501
|
-
return this.getDealsByNameWithHttpInfo(term, opts).then(function (response_and_data) {
|
1502
|
-
return response_and_data;
|
1503
|
-
});
|
1504
|
-
}
|
1505
1438
|
/**
|
1506
1439
|
* Get deals summary
|
1507
1440
|
* Returns summary of all the deals.
|
@@ -504,71 +504,6 @@ var OrganizationsApi = /*#__PURE__*/function () {
|
|
504
504
|
return response_and_data;
|
505
505
|
});
|
506
506
|
}
|
507
|
-
/**
|
508
|
-
* Find organizations by name
|
509
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#searchOrganization\">/v1/organizations/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all organizations by their name.
|
510
|
-
* @param {String} term Search term to look for
|
511
|
-
* @param {Object} opts Optional parameters
|
512
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
513
|
-
* @param {Number} opts.limit Items shown per page
|
514
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
515
|
-
*/
|
516
|
-
|
517
|
-
}, {
|
518
|
-
key: "getOrganizationByNameWithHttpInfo",
|
519
|
-
value: function getOrganizationByNameWithHttpInfo(term, opts) {
|
520
|
-
opts = opts || {};
|
521
|
-
var postBody = null; // verify the required parameter 'term' is set
|
522
|
-
|
523
|
-
if (term === undefined || term === null) {
|
524
|
-
throw new Error("Missing the required parameter 'term' when calling getOrganizationByName");
|
525
|
-
}
|
526
|
-
|
527
|
-
var pathParams = {};
|
528
|
-
var queryParams = {
|
529
|
-
'term': term,
|
530
|
-
'start': opts['start'],
|
531
|
-
'limit': opts['limit']
|
532
|
-
};
|
533
|
-
var headerParams = {};
|
534
|
-
var formParams = {};
|
535
|
-
var formParamArray = [];
|
536
|
-
var contentTypes = [];
|
537
|
-
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
538
|
-
var isJSON = contentTypes.includes('application/json');
|
539
|
-
|
540
|
-
if (isJSON) {
|
541
|
-
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
542
|
-
} else if (isURLEncoded) {
|
543
|
-
for (var key in opts) {
|
544
|
-
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
545
|
-
formParams[key] = opts[key];
|
546
|
-
}
|
547
|
-
}
|
548
|
-
}
|
549
|
-
|
550
|
-
var authNames = ['api_key', 'oauth2'];
|
551
|
-
var accepts = ['application/json'];
|
552
|
-
var returnType = Object;
|
553
|
-
return this.apiClient.callApi('/organizations/find', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
554
|
-
}
|
555
|
-
/**
|
556
|
-
* Find organizations by name
|
557
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Organizations#searchOrganization\">/v1/organizations/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all organizations by their name.
|
558
|
-
* @param {String} term Search term to look for
|
559
|
-
* @param {Object} opts Optional parameters
|
560
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
561
|
-
* @param {Number} opts.limit Items shown per page
|
562
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
563
|
-
*/
|
564
|
-
|
565
|
-
}, {
|
566
|
-
key: "getOrganizationByName",
|
567
|
-
value: function getOrganizationByName(term, opts) {
|
568
|
-
return this.getOrganizationByNameWithHttpInfo(term, opts).then(function (response_and_data) {
|
569
|
-
return response_and_data;
|
570
|
-
});
|
571
|
-
}
|
572
507
|
/**
|
573
508
|
* List deals associated with an organization
|
574
509
|
* Lists deals associated with an organization.
|
package/dist/api/PersonsApi.js
CHANGED
@@ -509,77 +509,6 @@ var PersonsApi = /*#__PURE__*/function () {
|
|
509
509
|
return response_and_data;
|
510
510
|
});
|
511
511
|
}
|
512
|
-
/**
|
513
|
-
* Find persons by name
|
514
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#searchPersons\">/v1/persons/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all persons by their name.
|
515
|
-
* @param {String} term Search term to look for
|
516
|
-
* @param {Object} opts Optional parameters
|
517
|
-
* @param {Number} opts.orgId ID of the organization person is associated with.
|
518
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
519
|
-
* @param {Number} opts.limit Items shown per page
|
520
|
-
* @param {module:model/NumberBoolean} opts.searchByEmail When enabled, term will only be matched against email addresses of people. Default: false
|
521
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
522
|
-
*/
|
523
|
-
|
524
|
-
}, {
|
525
|
-
key: "findPersonByNameWithHttpInfo",
|
526
|
-
value: function findPersonByNameWithHttpInfo(term, opts) {
|
527
|
-
opts = opts || {};
|
528
|
-
var postBody = null; // verify the required parameter 'term' is set
|
529
|
-
|
530
|
-
if (term === undefined || term === null) {
|
531
|
-
throw new Error("Missing the required parameter 'term' when calling findPersonByName");
|
532
|
-
}
|
533
|
-
|
534
|
-
var pathParams = {};
|
535
|
-
var queryParams = {
|
536
|
-
'term': term,
|
537
|
-
'org_id': opts['orgId'],
|
538
|
-
'start': opts['start'],
|
539
|
-
'limit': opts['limit'],
|
540
|
-
'search_by_email': opts['searchByEmail']
|
541
|
-
};
|
542
|
-
var headerParams = {};
|
543
|
-
var formParams = {};
|
544
|
-
var formParamArray = [];
|
545
|
-
var contentTypes = [];
|
546
|
-
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
547
|
-
var isJSON = contentTypes.includes('application/json');
|
548
|
-
|
549
|
-
if (isJSON) {
|
550
|
-
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
551
|
-
} else if (isURLEncoded) {
|
552
|
-
for (var key in opts) {
|
553
|
-
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
554
|
-
formParams[key] = opts[key];
|
555
|
-
}
|
556
|
-
}
|
557
|
-
}
|
558
|
-
|
559
|
-
var authNames = ['api_key', 'oauth2'];
|
560
|
-
var accepts = ['application/json'];
|
561
|
-
var returnType = Object;
|
562
|
-
return this.apiClient.callApi('/persons/find', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
563
|
-
}
|
564
|
-
/**
|
565
|
-
* Find persons by name
|
566
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Persons#searchPersons\">/v1/persons/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Searches all persons by their name.
|
567
|
-
* @param {String} term Search term to look for
|
568
|
-
* @param {Object} opts Optional parameters
|
569
|
-
* @param {Number} opts.orgId ID of the organization person is associated with.
|
570
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
571
|
-
* @param {Number} opts.limit Items shown per page
|
572
|
-
* @param {module:model/NumberBoolean} opts.searchByEmail When enabled, term will only be matched against email addresses of people. Default: false
|
573
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
574
|
-
*/
|
575
|
-
|
576
|
-
}, {
|
577
|
-
key: "findPersonByName",
|
578
|
-
value: function findPersonByName(term, opts) {
|
579
|
-
return this.findPersonByNameWithHttpInfo(term, opts).then(function (response_and_data) {
|
580
|
-
return response_and_data;
|
581
|
-
});
|
582
|
-
}
|
583
512
|
/**
|
584
513
|
* Get details of a person
|
585
514
|
* Returns details of a person. Note that this also returns some additional fields which are not present when asking for all persons. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of personFields.
|
package/dist/api/ProductsApi.js
CHANGED
@@ -23,8 +23,6 @@ var _DeleteProductFollowerResponse = _interopRequireDefault(require("../model/De
|
|
23
23
|
|
24
24
|
var _DeleteProductResponse = _interopRequireDefault(require("../model/DeleteProductResponse"));
|
25
25
|
|
26
|
-
var _FindProductsByNameResponse = _interopRequireDefault(require("../model/FindProductsByNameResponse"));
|
27
|
-
|
28
26
|
var _ListFilesResponse = _interopRequireDefault(require("../model/ListFilesResponse"));
|
29
27
|
|
30
28
|
var _ListProductFollowersResponse = _interopRequireDefault(require("../model/ListProductFollowersResponse"));
|
@@ -304,74 +302,6 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
304
302
|
return response_and_data;
|
305
303
|
});
|
306
304
|
}
|
307
|
-
/**
|
308
|
-
* Find products by name
|
309
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Products#searchProducts\">/v1/products/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Returns data about the products that were found. If currency was set in request, prices in that currency are served back.
|
310
|
-
* @param {String} term Search term to look for, minimum 3 characters.
|
311
|
-
* @param {Object} opts Optional parameters
|
312
|
-
* @param {String} opts.currency Currency code in which prices should be returned in. If omitted, prices in user's default currency will be returned.
|
313
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
314
|
-
* @param {Number} opts.limit Items shown per page
|
315
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/FindProductsByNameResponse} and HTTP response
|
316
|
-
*/
|
317
|
-
|
318
|
-
}, {
|
319
|
-
key: "findProductsByNameWithHttpInfo",
|
320
|
-
value: function findProductsByNameWithHttpInfo(term, opts) {
|
321
|
-
opts = opts || {};
|
322
|
-
var postBody = null; // verify the required parameter 'term' is set
|
323
|
-
|
324
|
-
if (term === undefined || term === null) {
|
325
|
-
throw new Error("Missing the required parameter 'term' when calling findProductsByName");
|
326
|
-
}
|
327
|
-
|
328
|
-
var pathParams = {};
|
329
|
-
var queryParams = {
|
330
|
-
'term': term,
|
331
|
-
'currency': opts['currency'],
|
332
|
-
'start': opts['start'],
|
333
|
-
'limit': opts['limit']
|
334
|
-
};
|
335
|
-
var headerParams = {};
|
336
|
-
var formParams = {};
|
337
|
-
var formParamArray = [];
|
338
|
-
var contentTypes = [];
|
339
|
-
var isURLEncoded = contentTypes.includes('application/x-www-form-urlencoded');
|
340
|
-
var isJSON = contentTypes.includes('application/json');
|
341
|
-
|
342
|
-
if (isJSON) {
|
343
|
-
postBody = _objectSpread(_objectSpread({}, postBody), opts);
|
344
|
-
} else if (isURLEncoded) {
|
345
|
-
for (var key in opts) {
|
346
|
-
if (opts.hasOwnProperty(key) && !formParamArray.includes(key)) {
|
347
|
-
formParams[key] = opts[key];
|
348
|
-
}
|
349
|
-
}
|
350
|
-
}
|
351
|
-
|
352
|
-
var authNames = ['api_key', 'oauth2'];
|
353
|
-
var accepts = ['application/json'];
|
354
|
-
var returnType = _FindProductsByNameResponse["default"];
|
355
|
-
return this.apiClient.callApi('/products/find', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
356
|
-
}
|
357
|
-
/**
|
358
|
-
* Find products by name
|
359
|
-
* This endpoint is deprecated. Please use <a href=\"https://developers.pipedrive.com/docs/api/v1/Products#searchProducts\">/v1/products/search</a> or <a href=\"https://developers.pipedrive.com/docs/api/v1/ItemSearch#searchItem\">/v1/itemSearch</a> instead. <br> Returns data about the products that were found. If currency was set in request, prices in that currency are served back.
|
360
|
-
* @param {String} term Search term to look for, minimum 3 characters.
|
361
|
-
* @param {Object} opts Optional parameters
|
362
|
-
* @param {String} opts.currency Currency code in which prices should be returned in. If omitted, prices in user's default currency will be returned.
|
363
|
-
* @param {Number} opts.start Pagination start (default to 0)
|
364
|
-
* @param {Number} opts.limit Items shown per page
|
365
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/FindProductsByNameResponse}
|
366
|
-
*/
|
367
|
-
|
368
|
-
}, {
|
369
|
-
key: "findProductsByName",
|
370
|
-
value: function findProductsByName(term, opts) {
|
371
|
-
return this.findProductsByNameWithHttpInfo(term, opts).then(function (response_and_data) {
|
372
|
-
return response_and_data;
|
373
|
-
});
|
374
|
-
}
|
375
305
|
/**
|
376
306
|
* Get one product
|
377
307
|
* Returns data about a specific product.
|
@@ -698,6 +628,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
698
628
|
* Returns data about all Products
|
699
629
|
* @param {Object} opts Optional parameters
|
700
630
|
* @param {Number} opts.userId If supplied, only Products owned by the given user will be returned
|
631
|
+
* @param {Number} opts.filterId ID of the filter to use
|
701
632
|
* @param {Array.<Number>} opts.ids An array of integers with the IDs of the Products that sould be returned in the response
|
702
633
|
* @param {String} opts.firstChar If supplied, only Products whose name starts with the specified letter will be returned (case insensitive)
|
703
634
|
* @param {Boolean} opts.getSummary If supplied, response will return the total numbers of Products in the `additional_data.summary.total_count` property
|
@@ -714,6 +645,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
714
645
|
var pathParams = {};
|
715
646
|
var queryParams = {
|
716
647
|
'user_id': opts['userId'],
|
648
|
+
'filter_id': opts['filterId'],
|
717
649
|
'ids': this.apiClient.buildCollectionParam(opts['ids'], 'csv'),
|
718
650
|
'first_char': opts['firstChar'],
|
719
651
|
'get_summary': opts['getSummary'],
|
@@ -747,6 +679,7 @@ var ProductsApi = /*#__PURE__*/function () {
|
|
747
679
|
* Returns data about all Products
|
748
680
|
* @param {Object} opts Optional parameters
|
749
681
|
* @param {Number} opts.userId If supplied, only Products owned by the given user will be returned
|
682
|
+
* @param {Number} opts.filterId ID of the filter to use
|
750
683
|
* @param {Array.<Number>} opts.ids An array of integers with the IDs of the Products that sould be returned in the response
|
751
684
|
* @param {String} opts.firstChar If supplied, only Products whose name starts with the specified letter will be returned (case insensitive)
|
752
685
|
* @param {Boolean} opts.getSummary If supplied, response will return the total numbers of Products in the `additional_data.summary.total_count` property
|
package/dist/index.js
CHANGED
@@ -359,6 +359,12 @@ Object.defineProperty(exports, "AdditionalData", {
|
|
359
359
|
return _AdditionalData["default"];
|
360
360
|
}
|
361
361
|
});
|
362
|
+
Object.defineProperty(exports, "AdditionalDataWithPagination", {
|
363
|
+
enumerable: true,
|
364
|
+
get: function get() {
|
365
|
+
return _AdditionalDataWithPagination["default"];
|
366
|
+
}
|
367
|
+
});
|
362
368
|
Object.defineProperty(exports, "AdditionalDataWithPaginationDetails", {
|
363
369
|
enumerable: true,
|
364
370
|
get: function get() {
|
@@ -1643,18 +1649,6 @@ Object.defineProperty(exports, "FindGoalResponse", {
|
|
1643
1649
|
return _FindGoalResponse["default"];
|
1644
1650
|
}
|
1645
1651
|
});
|
1646
|
-
Object.defineProperty(exports, "FindProductsByNameResponse", {
|
1647
|
-
enumerable: true,
|
1648
|
-
get: function get() {
|
1649
|
-
return _FindProductsByNameResponse["default"];
|
1650
|
-
}
|
1651
|
-
});
|
1652
|
-
Object.defineProperty(exports, "FindProductsByNameResponseData", {
|
1653
|
-
enumerable: true,
|
1654
|
-
get: function get() {
|
1655
|
-
return _FindProductsByNameResponseData["default"];
|
1656
|
-
}
|
1657
|
-
});
|
1658
1652
|
Object.defineProperty(exports, "FollowerData", {
|
1659
1653
|
enumerable: true,
|
1660
1654
|
get: function get() {
|
@@ -1787,24 +1781,6 @@ Object.defineProperty(exports, "GetDeals", {
|
|
1787
1781
|
return _GetDeals["default"];
|
1788
1782
|
}
|
1789
1783
|
});
|
1790
|
-
Object.defineProperty(exports, "GetDealsByName", {
|
1791
|
-
enumerable: true,
|
1792
|
-
get: function get() {
|
1793
|
-
return _GetDealsByName["default"];
|
1794
|
-
}
|
1795
|
-
});
|
1796
|
-
Object.defineProperty(exports, "GetDealsByNameAdditionalData", {
|
1797
|
-
enumerable: true,
|
1798
|
-
get: function get() {
|
1799
|
-
return _GetDealsByNameAdditionalData["default"];
|
1800
|
-
}
|
1801
|
-
});
|
1802
|
-
Object.defineProperty(exports, "GetDealsByNameData", {
|
1803
|
-
enumerable: true,
|
1804
|
-
get: function get() {
|
1805
|
-
return _GetDealsByNameData["default"];
|
1806
|
-
}
|
1807
|
-
});
|
1808
1784
|
Object.defineProperty(exports, "GetDealsConversionRatesInPipeline", {
|
1809
1785
|
enumerable: true,
|
1810
1786
|
get: function get() {
|
@@ -3869,12 +3845,6 @@ Object.defineProperty(exports, "RolesApi", {
|
|
3869
3845
|
return _RolesApi["default"];
|
3870
3846
|
}
|
3871
3847
|
});
|
3872
|
-
Object.defineProperty(exports, "SearchResultsApi", {
|
3873
|
-
enumerable: true,
|
3874
|
-
get: function get() {
|
3875
|
-
return _SearchResultsApi["default"];
|
3876
|
-
}
|
3877
|
-
});
|
3878
3848
|
Object.defineProperty(exports, "SinglePermissionSetsItem", {
|
3879
3849
|
enumerable: true,
|
3880
3850
|
get: function get() {
|
@@ -4434,6 +4404,8 @@ var _AdditionalBaseOrganizationItemInfo = _interopRequireDefault(require("./mode
|
|
4434
4404
|
|
4435
4405
|
var _AdditionalData = _interopRequireDefault(require("./model/AdditionalData"));
|
4436
4406
|
|
4407
|
+
var _AdditionalDataWithPagination = _interopRequireDefault(require("./model/AdditionalDataWithPagination"));
|
4408
|
+
|
4437
4409
|
var _AdditionalDataWithPaginationDetails = _interopRequireDefault(require("./model/AdditionalDataWithPaginationDetails"));
|
4438
4410
|
|
4439
4411
|
var _AdditionalMergePersonInfo = _interopRequireDefault(require("./model/AdditionalMergePersonInfo"));
|
@@ -4848,10 +4820,6 @@ var _FiltersPostResponseAllOfData = _interopRequireDefault(require("./model/Filt
|
|
4848
4820
|
|
4849
4821
|
var _FindGoalResponse = _interopRequireDefault(require("./model/FindGoalResponse"));
|
4850
4822
|
|
4851
|
-
var _FindProductsByNameResponse = _interopRequireDefault(require("./model/FindProductsByNameResponse"));
|
4852
|
-
|
4853
|
-
var _FindProductsByNameResponseData = _interopRequireDefault(require("./model/FindProductsByNameResponseData"));
|
4854
|
-
|
4855
4823
|
var _FollowerData = _interopRequireDefault(require("./model/FollowerData"));
|
4856
4824
|
|
4857
4825
|
var _FollowerDataWithID = _interopRequireDefault(require("./model/FollowerDataWithID"));
|
@@ -4896,12 +4864,6 @@ var _GetDealAdditionalData = _interopRequireDefault(require("./model/GetDealAddi
|
|
4896
4864
|
|
4897
4865
|
var _GetDeals = _interopRequireDefault(require("./model/GetDeals"));
|
4898
4866
|
|
4899
|
-
var _GetDealsByName = _interopRequireDefault(require("./model/GetDealsByName"));
|
4900
|
-
|
4901
|
-
var _GetDealsByNameAdditionalData = _interopRequireDefault(require("./model/GetDealsByNameAdditionalData"));
|
4902
|
-
|
4903
|
-
var _GetDealsByNameData = _interopRequireDefault(require("./model/GetDealsByNameData"));
|
4904
|
-
|
4905
4867
|
var _GetDealsConversionRatesInPipeline = _interopRequireDefault(require("./model/GetDealsConversionRatesInPipeline"));
|
4906
4868
|
|
4907
4869
|
var _GetDealsConversionRatesInPipelineAllOf = _interopRequireDefault(require("./model/GetDealsConversionRatesInPipelineAllOf"));
|
@@ -5742,8 +5704,6 @@ var _RecentsApi = _interopRequireDefault(require("./api/RecentsApi"));
|
|
5742
5704
|
|
5743
5705
|
var _RolesApi = _interopRequireDefault(require("./api/RolesApi"));
|
5744
5706
|
|
5745
|
-
var _SearchResultsApi = _interopRequireDefault(require("./api/SearchResultsApi"));
|
5746
|
-
|
5747
5707
|
var _StagesApi = _interopRequireDefault(require("./api/StagesApi"));
|
5748
5708
|
|
5749
5709
|
var _SubscriptionsApi = _interopRequireDefault(require("./api/SubscriptionsApi"));
|
@@ -0,0 +1,92 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = void 0;
|
9
|
+
|
10
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
11
|
+
|
12
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
13
|
+
|
14
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
15
|
+
|
16
|
+
var _AdditionalData = _interopRequireDefault(require("./AdditionalData"));
|
17
|
+
|
18
|
+
/**
|
19
|
+
* Pipedrive API v1
|
20
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
21
|
+
*
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
23
|
+
*
|
24
|
+
*
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
26
|
+
* https://openapi-generator.tech
|
27
|
+
* Do not edit the class manually.
|
28
|
+
*
|
29
|
+
*/
|
30
|
+
|
31
|
+
/**
|
32
|
+
* The AdditionalDataWithPagination model module.
|
33
|
+
* @module model/AdditionalDataWithPagination
|
34
|
+
* @version 1.0.0
|
35
|
+
*/
|
36
|
+
var AdditionalDataWithPagination = /*#__PURE__*/function () {
|
37
|
+
/**
|
38
|
+
* Constructs a new <code>AdditionalDataWithPagination</code>.
|
39
|
+
* @alias module:model/AdditionalDataWithPagination
|
40
|
+
*/
|
41
|
+
function AdditionalDataWithPagination() {
|
42
|
+
(0, _classCallCheck2["default"])(this, AdditionalDataWithPagination);
|
43
|
+
AdditionalDataWithPagination.initialize(this);
|
44
|
+
}
|
45
|
+
/**
|
46
|
+
* Initializes the fields of this object.
|
47
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
48
|
+
* Only for internal use.
|
49
|
+
*/
|
50
|
+
|
51
|
+
|
52
|
+
(0, _createClass2["default"])(AdditionalDataWithPagination, null, [{
|
53
|
+
key: "initialize",
|
54
|
+
value: function initialize(obj) {}
|
55
|
+
/**
|
56
|
+
* Constructs a <code>AdditionalDataWithPagination</code> from a plain JavaScript object, optionally creating a new instance.
|
57
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
58
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
59
|
+
* @param {module:model/AdditionalDataWithPagination} obj Optional instance to populate.
|
60
|
+
* @return {module:model/AdditionalDataWithPagination} The populated <code>AdditionalDataWithPagination</code> instance.
|
61
|
+
*/
|
62
|
+
|
63
|
+
}, {
|
64
|
+
key: "constructFromObject",
|
65
|
+
value: function constructFromObject(data, obj) {
|
66
|
+
if (data) {
|
67
|
+
obj = obj || new AdditionalDataWithPagination();
|
68
|
+
|
69
|
+
if (data.hasOwnProperty('pagination')) {
|
70
|
+
obj['pagination'] = _ApiClient["default"].convertToType(data['pagination'], _AdditionalData["default"]);
|
71
|
+
delete data['pagination'];
|
72
|
+
}
|
73
|
+
|
74
|
+
if (Object.keys(data).length > 0) {
|
75
|
+
Object.assign(obj, data);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
return obj;
|
80
|
+
}
|
81
|
+
}]);
|
82
|
+
return AdditionalDataWithPagination;
|
83
|
+
}();
|
84
|
+
/**
|
85
|
+
* Pagination details of the list
|
86
|
+
* @member {module:model/AdditionalData} pagination
|
87
|
+
*/
|
88
|
+
|
89
|
+
|
90
|
+
AdditionalDataWithPagination.prototype['pagination'] = undefined;
|
91
|
+
var _default = AdditionalDataWithPagination;
|
92
|
+
exports["default"] = _default;
|
@@ -41,7 +41,6 @@ var FieldTypeAsString = /*#__PURE__*/function () {
|
|
41
41
|
(0, _defineProperty2["default"])(this, "daterange", "daterange");
|
42
42
|
(0, _defineProperty2["default"])(this, "double", "double");
|
43
43
|
(0, _defineProperty2["default"])(this, "enum", "enum");
|
44
|
-
(0, _defineProperty2["default"])(this, "int", "int");
|
45
44
|
(0, _defineProperty2["default"])(this, "monetary", "monetary");
|
46
45
|
(0, _defineProperty2["default"])(this, "org", "org");
|
47
46
|
(0, _defineProperty2["default"])(this, "people", "people");
|
@@ -13,7 +13,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
13
13
|
|
14
14
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
15
15
|
|
16
|
-
var
|
16
|
+
var _AdditionalDataWithPagination = _interopRequireDefault(require("./AdditionalDataWithPagination"));
|
17
17
|
|
18
18
|
var _BaseComment = _interopRequireDefault(require("./BaseComment"));
|
19
19
|
|
@@ -79,7 +79,7 @@ var GetComments = /*#__PURE__*/function () {
|
|
79
79
|
}
|
80
80
|
|
81
81
|
if (data.hasOwnProperty('additional_data')) {
|
82
|
-
obj['additional_data'] =
|
82
|
+
obj['additional_data'] = _AdditionalDataWithPagination["default"].constructFromObject(data['additional_data']);
|
83
83
|
delete data['additional_data'];
|
84
84
|
}
|
85
85
|
|
@@ -107,7 +107,7 @@ GetComments.prototype['success'] = undefined;
|
|
107
107
|
|
108
108
|
GetComments.prototype['data'] = undefined;
|
109
109
|
/**
|
110
|
-
* @member {module:model/
|
110
|
+
* @member {module:model/AdditionalDataWithPagination} additional_data
|
111
111
|
*/
|
112
112
|
|
113
113
|
GetComments.prototype['additional_data'] = undefined;
|
package/dist/model/GetNotes.js
CHANGED
@@ -13,7 +13,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
13
13
|
|
14
14
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
15
15
|
|
16
|
-
var
|
16
|
+
var _AdditionalDataWithPagination = _interopRequireDefault(require("./AdditionalDataWithPagination"));
|
17
17
|
|
18
18
|
var _BaseNote = _interopRequireDefault(require("./BaseNote"));
|
19
19
|
|
@@ -79,7 +79,7 @@ var GetNotes = /*#__PURE__*/function () {
|
|
79
79
|
}
|
80
80
|
|
81
81
|
if (data.hasOwnProperty('additional_data')) {
|
82
|
-
obj['additional_data'] =
|
82
|
+
obj['additional_data'] = _AdditionalDataWithPagination["default"].constructFromObject(data['additional_data']);
|
83
83
|
delete data['additional_data'];
|
84
84
|
}
|
85
85
|
|
@@ -107,7 +107,7 @@ GetNotes.prototype['success'] = undefined;
|
|
107
107
|
|
108
108
|
GetNotes.prototype['data'] = undefined;
|
109
109
|
/**
|
110
|
-
* @member {module:model/
|
110
|
+
* @member {module:model/AdditionalDataWithPagination} additional_data
|
111
111
|
*/
|
112
112
|
|
113
113
|
GetNotes.prototype['additional_data'] = undefined;
|
package/package.json
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "pipedrive",
|
3
|
-
"version": "
|
3
|
+
"version": "13.0.1",
|
4
4
|
"description": "Pipedrive REST client for NodeJS",
|
5
5
|
"license": "MIT",
|
6
6
|
"main": "dist/index.js",
|
7
7
|
"scripts": {
|
8
8
|
"build": "babel src -d dist",
|
9
9
|
"prepack": "npm run build",
|
10
|
-
"test": "
|
10
|
+
"test": "npm run test:functional:start && npm run test:functional && npm run test:functional:stop",
|
11
11
|
"test:functional": "node ./test/functional/environment.js",
|
12
12
|
"test:functional:start": "node ./test/functional/environment.js --start-environment",
|
13
13
|
"test:functional:stop": "node ./test/functional/environment.js --stop-environment"
|