@radio-retail/api-client
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -24,15 +24,15 @@ const crud = require('../utils/crud'); | ||
approve(id, config = {}) { | ||
return instance.post(`${baseRoute}/${id}/'approve'`, config).then(getData(config.raw)); | ||
return instance.post(`${baseRoute}/${id}/approve`, config).then(getData(config.raw)); | ||
}, | ||
decline(id, config = {}) { | ||
return instance.post(`${baseRoute}/${id}/'decline'`, config).then(getData(config.raw)); | ||
return instance.post(`${baseRoute}/${id}/decline`, config).then(getData(config.raw)); | ||
}, | ||
cancel(id, config = {}) { | ||
return instance.post(`${baseRoute}/${id}/'cancel'`, config).then(getData(config.raw)); | ||
return instance.post(`${baseRoute}/${id}/cancel`, config).then(getData(config.raw)); | ||
}, | ||
request(id, config = {}) { | ||
return instance.post(`${baseRoute}/${id}/'request'`, config).then(getData(config.raw)); | ||
return instance.post(`${baseRoute}/${id}/request`, config).then(getData(config.raw)); | ||
} | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23511