diff --git a/index.js b/index.js index b3c1c06..77222a7 100644 --- a/index.js +++ b/index.js @@ -32,7 +32,11 @@ module.exports = function buildClient (baseUrl) { createTask: 'post /private/api/v2/json/tasks/set', getContactsList: 'get /private/api/v2/json/contacts/list', - createContact: 'post /private/api/v2/json/contacts/set' + createContact: 'post /private/api/v2/json/contacts/set', + + getLeadsContactslist: 'get /private/api/v2/json/contacts/links', + getNoteslist: 'get /private/api/v2/json/notes/list', + getTasksList: 'get /private/api/v2/json/tasks/list' }, before: { @@ -48,7 +52,8 @@ module.exports = function buildClient (baseUrl) { } }); - client.request = delayedRequest; + //client.request = delayedRequest; + return client; }; function storeAuth (res) {