Skip to content

Commit a895091

Browse files
committed
Merge branch 'master' into product_variations
2 parents 615048a + e06b0b7 commit a895091

File tree

7 files changed

+283
-188
lines changed

7 files changed

+283
-188
lines changed

.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
language: node_js
22

33
node_js:
4-
- "0.10"
5-
- "0.11"
6-
- "0.12"
7-
- "4"
8-
- "5"
94
- "6"
10-
- "7"
5+
- "8"
6+
- "10"
117

128
notifications:
139
email:

Jenkinsfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
DEFAULT_NODE_VERSION = '8'
2+
NODE_VERSIONS = ['6', '8', '10']
3+
return this

README.md

Lines changed: 8 additions & 2 deletions
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
});
@@ -248,7 +254,7 @@ To read more about ad hoc data change event listeners, check out [examples/live-
248254

249255
The Pipedrive REST API documentation can be found at https://developers.pipedrive.com/v1
250256

251-
#Testing
257+
# Testing
252258
To run unit tests, execute `npm run tests`
253259

254260
# Licence

lib/blueprint.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ exports.apiObjects = [
2828
'pipelines',
2929
'products',
3030
'productFields',
31-
'pushNotifications',
3231
'roles',
3332
'searchResults',
3433
'stages',

0 commit comments

Comments
 (0)