@radio-retail/api-client
Advanced tools
Comparing version 1.0.19 to 1.0.20
@@ -43,5 +43,5 @@ const getData = require('../utils/get-raw-data'); | ||
patchContactperson(clientId, contactId, params, config = {}) { | ||
patchContactperson(contactId, params, config = {}) { | ||
config.params = params; | ||
return instance.patch(`${baseRoute}/${clientId}/contacts/${contactId}`, config).then(getData(config.raw)); | ||
return instance.patch(`${contactsBaseRoute}/contacts/${contactId}`, config).then(getData(config.raw)); | ||
}, | ||
@@ -54,2 +54,6 @@ | ||
deleteContact(contactId) { | ||
return instance.delete(`${contactsBaseRoute}/contacts/${contactId}`); | ||
}, | ||
// Accounts | ||
@@ -56,0 +60,0 @@ getAccountsForClient(clientId = '', config = {}) { |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
11857
281