@radio-retail/api-client
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -53,2 +53,7 @@ const getData = require('../utils/get-raw-data'); | ||
// [POST]/v2/clients/:id/accounts | ||
createAccount(clientId, data, config = {}) { | ||
return instance.post(`${baseRoute}/${clientId}/accounts`, data, config).then(getData(config.raw)); | ||
}, | ||
deleteAccount(clientId, accountId) { | ||
@@ -55,0 +60,0 @@ return instance.delete(`${baseRoute}/${clientId}/accounts/${accountId}`); |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
7827
203