Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@radio-retail/api-client

Package Overview
Dependencies
Maintainers
2
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radio-retail/api-client - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

17

dist/routes/clients.js

@@ -57,2 +57,12 @@ const getData = require('../utils/get-raw-data');

getAllAccounts(params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/accounts`, config).then(getData(config.raw));
},
getAllAccountsCount(params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/accounts/count`, config).then(getData(config.raw));
},
getAccountById(clientId, accountId, params, config = {}) {

@@ -82,3 +92,3 @@ config.params = params;

// Divisions
createDivison(clientId, accountId, data, config = {}) {
createDivision(clientId, accountId, data, config = {}) {
return instance.post(`${baseRoute}/${clientId}/accounts/${accountId}/divisions`, data, config).then(getData(config.raw));

@@ -121,2 +131,7 @@ },

getAllStores(params, config = {}) {
config.params = params;
return instance.get(`${baseRoute}/stores`, config).then(getData(config.raw));
},
getStoresQuery(clientId, accountId, query, params, config = {}) {

@@ -123,0 +138,0 @@ config.params = params;

2

package.json
{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "1.0.17",
"version": "1.0.18",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc