Skip to content

Commit 130e6b9

Browse files
author
Jenkins User
committed
Merge commit 'bc2c48d7daeb70595c963469008290f808ad20a0'
2 parents 247b6c1 + bc2c48d commit 130e6b9

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,27 @@ pipedrive.Deals.getAll({}, function(err, deals) {
4242
* ActivityTypes
4343
* Authorizations
4444
* Currencies
45+
* CompanyFeatures,
46+
* CompanySettings,
4547
* Deals
4648
* DealFields
4749
* Files
4850
* Filters
51+
* Goals
4952
* Notes
5053
* Organizations
5154
* OrganizationFields
55+
* PermissionSets
5256
* Persons
5357
* PersonFields
5458
* Pipelines
5559
* Products
5660
* ProductFields
61+
* Roles
5762
* SearchResults
5863
* Stages
5964
* Users
65+
* Webhooks
6066

6167
# Authorization against email and password
6268

@@ -122,7 +128,7 @@ To add a product to a deal, simply invoke the ```addProduct``` method on a deal
122128
```js
123129
pipedrive.Deals.get(1, function(err, deal) {
124130
if (err) throw err;
125-
deal.addProduct({ product_id: 1, quantity: 5, discount: 20 }, function(addErr, addData) {
131+
deal.addProduct({ product_id: 1, quantity: 5, item_price: 10, discount: 20 }, function(addErr, addData) {
126132
if (addErr) throw addErr;
127133
console.log('Product 1 was added to deal 1', addData);
128134
});

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
"dependencies": {
2929
"async": "~0.9.0",
3030
"fetch": "~0.3.6",
31-
"lodash": "~2.4.1",
31+
"lodash": "~4.17.10",
3232
"mime": "~1.4.1",
33-
"qs": "~2.1.0",
33+
"qs": "~6.0.4",
3434
"sockjs-client": "^1.0.3"
3535
},
3636
"devDependencies": {

0 commit comments

Comments
 (0)