@radio-retail/api-client
Advanced tools
Comparing version 1.0.44 to 1.0.45
@@ -25,4 +25,5 @@ const getData = require('../utils/get-raw-data'); | ||
getClientTableCounts(data, config = {}) { | ||
return instance.post(`${baseRoute}/counts`, data, config).then(getData(config.raw)); | ||
getClientTableCounts(params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/counts`, config).then(getData(config.raw)); | ||
}, | ||
@@ -99,4 +100,5 @@ | ||
getAccountTableCounts(data, config = {}) { | ||
return instance.post(`${baseRoute}/accounts/counts`, data, config).then(getData(config.raw)); | ||
getAccountTableCounts(params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/accounts/counts`, config).then(getData(config.raw)); | ||
}, | ||
@@ -192,4 +194,5 @@ | ||
getStoreTableCounts(data, config = {}) { | ||
return instance.post(`${baseRoute}/stores/counts`, data, config).then(getData(config.raw)); | ||
getStoreTableCounts(params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/stores/counts`, config).then(getData(config.raw)); | ||
}, | ||
@@ -252,4 +255,5 @@ | ||
getStoreListTableCounts(data, config = {}) { | ||
return instance.post(`${baseRoute}/storelists/counts`, data, config).then(getData(config.raw)); | ||
getStoreListTableCounts(params, config = {}) { | ||
config.params = params; | ||
return instance.get(`${baseRoute}/storelists/counts`, config).then(getData(config.raw)); | ||
}, | ||
@@ -256,0 +260,0 @@ |
{ | ||
"name": "@radio-retail/api-client", | ||
"description": "Radio Retail API client", | ||
"version": "1.0.44", | ||
"version": "1.0.45", | ||
"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
17502
408