Skip to content

Commit

Permalink
added the ability to operate with notes (API yet to be released)
Browse files Browse the repository at this point in the history
  • Loading branch information
martintajur committed Feb 18, 2013
1 parent 539db77 commit 4ea0535
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions lib/Pipedrive.js
Expand Up @@ -51,6 +51,7 @@ var apiObjects = [
'dealFields', 'dealFields',
'files', 'files',
'filters', 'filters',
'notes',
'organizationFields', 'organizationFields',
'organizations', 'organizations',
'persons', 'persons',
Expand All @@ -69,15 +70,17 @@ var apiRelatedObjects = {
'products', 'products',
'files', 'files',
'updates', 'updates',
'followers' 'followers',
'notes'
], ],
'persons': [ 'persons': [
'activities', 'activities',
'products', 'products',
'files', 'files',
'updates', 'updates',
'deals', 'deals',
'followers' 'followers',
'notes'
], ],
'organizations': [ 'organizations': [
'activities', 'activities',
Expand All @@ -86,7 +89,8 @@ var apiRelatedObjects = {
'updates', 'updates',
'deals', 'deals',
'persons', 'persons',
'followers' 'followers',
'notes'
], ],
'pipelines': [ 'pipelines': [
'deals' 'deals'
Expand All @@ -105,7 +109,7 @@ var apiRelatedObjects = {
}; };


var selfManagedRelatedObjects = ['followers']; var selfManagedRelatedObjects = ['followers'];
var searchableObjects = ['organizations', 'deals', 'persons']; var searchableObjects = ['organizations', 'deals', 'persons','products'];
var timelineableObjects = ['deals']; var timelineableObjects = ['deals'];
var editableSubItems = { var editableSubItems = {
'deals': ['products'] 'deals': ['products']
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{ {
"name": "pipedrive", "name": "pipedrive",
"version": "1.2.7", "version": "1.3.1",
"description": "Pipedrive REST client for NodeJS", "description": "Pipedrive REST client for NodeJS",
"keywords":["pipedrive","CRM","sales","contacts","customers","deals","pipeline","sales pipeline"], "keywords":["pipedrive","CRM","sales","contacts","customers","deals","pipeline","sales pipeline"],
"homepage": "https://github.com/pipedrive/client-nodejs", "homepage": "https://github.com/pipedrive/client-nodejs",
Expand Down

0 comments on commit 4ea0535

Please sign in to comment.