Socket
Socket
Sign inDemoInstall

btrz-api-client

Package Overview
Dependencies
9
Maintainers
1
Versions
243
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.137.0 to 5.138.0

14

lib/endpoints/inventory/vehicles.js

@@ -84,3 +84,4 @@ "use strict";

seatmap = _ref7.seatmap,
headers = _ref7.headers;
headers = _ref7.headers,
newdesign = _ref7.newdesign;

@@ -92,3 +93,4 @@ return client({

data: {
seatmap: seatmap
seatmap: seatmap,
newdesign: newdesign || false
}

@@ -102,3 +104,4 @@ });

token = _ref8.token,
headers = _ref8.headers;
headers = _ref8.headers,
newdesign = _ref8.newdesign;

@@ -108,3 +111,6 @@ return client({

method: "delete",
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers })
headers: authorizationHeaders({ token: token, jwtToken: jwtToken, internalAuthTokenProvider: internalAuthTokenProvider, headers: headers }),
data: {
newdesign: newdesign || false
}
});

@@ -111,0 +117,0 @@ }

{
"name": "btrz-api-client",
"version": "5.137.0",
"version": "5.138.0",
"description": "Api client for Betterez endpoints",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -54,3 +54,3 @@ const {

const seatmaps = {
create({jwtToken, token, vehicleId, seatmap, headers}) {
create({jwtToken, token, vehicleId, seatmap, headers, newdesign}) {
return client({

@@ -61,11 +61,15 @@ url: `/vehicles/${vehicleId}/seatmaps`,

data: {
seatmap
seatmap,
newdesign: newdesign || false
}
});
},
remove({jwtToken, vehicleId, seatMapId, token, headers}) {
remove({jwtToken, vehicleId, seatMapId, token, headers, newdesign}) {
return client({
url: `/vehicles/${vehicleId}/seatmaps/${seatMapId}`,
method: "delete",
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers})
headers: authorizationHeaders({token, jwtToken, internalAuthTokenProvider, headers}),
data: {
newdesign: newdesign || false
}
});

@@ -72,0 +76,0 @@ }

@@ -1,1 +0,1 @@

export const INTERNAL_AUTH_TOKEN_SYMBOL: string;
export let INTERNAL_AUTH_TOKEN_SYMBOL: string;

@@ -36,3 +36,3 @@ export = vehiclesFactory;

seatmaps: {
create({ jwtToken, token, vehicleId, seatmap, headers }: {
create({ jwtToken, token, vehicleId, seatmap, headers, newdesign }: {
jwtToken: any;

@@ -43,4 +43,5 @@ token: any;

headers: any;
newdesign: any;
}): any;
remove({ jwtToken, vehicleId, seatMapId, token, headers }: {
remove({ jwtToken, vehicleId, seatMapId, token, headers, newdesign }: {
jwtToken: any;

@@ -51,4 +52,5 @@ vehicleId: any;

headers: any;
newdesign: any;
}): any;
};
};

@@ -1,3 +0,3 @@

export const baseURL: string;
export const timeout: number;
export let baseURL: string;
export let timeout: number;
export namespace baseURLOverride {

@@ -4,0 +4,0 @@ function inventory(url: any): string;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc