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
3
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.45 to 1.0.46

14

dist/routes/clients.js

@@ -43,3 +43,3 @@ const getData = require('../utils/get-raw-data');

toggleActiveState(clientId, active, config = {}) {
toggleClientActive(clientId, active, config = {}) {
return instance.post(`${baseRoute}/${clientId}/${active ? 'deactivate' : 'activate'}`, config).then(getData(config.raw));

@@ -139,2 +139,6 @@ },

toggleAccountActive(clientId, accountId, active, config = {}) {
return instance.post(`${baseRoute}/${clientId}/accounts/${accountId}/${active ? 'deactivate' : 'activate'}`, config).then(getData(config.raw));
},
// Divisions

@@ -218,2 +222,6 @@ createDivision(clientId, accountId, data, config = {}) {

toggleStoreActive(clientId, accountId, storeId, active, config = {}) {
return instance.post(`${baseRoute}/${clientId}/accounts/${accountId}/stores/${storeId}/${active ? 'deactivate' : 'activate'}`, config).then(getData(config.raw));
},
addContactsToStore(clientId, accountId, storeId, data, params, config = {}) {

@@ -279,2 +287,6 @@ config.params = params;

toggleStoreListActive(clientId, storeListId, active, config = {}) {
return instance.post(`${baseRoute}/${clientId}/storelists/${storeListId}/${active ? 'deactivate' : 'activate'}`, config).then(getData(config.raw));
},
// General

@@ -281,0 +293,0 @@ ...crud(instance, baseRoute),

2

package.json
{
"name": "@radio-retail/api-client",
"description": "Radio Retail API client",
"version": "1.0.45",
"version": "1.0.46",
"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