Socket
Socket
Sign inDemoInstall

dispatch-node-sdk

Package Overview
Dependencies
7
Maintainers
4
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.4.0 to 3.4.1

4

dist/lib/bookingService.js

@@ -21,4 +21,4 @@ 'use strict';

var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
var accountId = offerData.accountId,
data = offerData.data;
var accountId = offerData.accountId;
var data = offerData.data;

@@ -25,0 +25,0 @@ var headers = _extends({}, options.headers, {

@@ -715,6 +715,6 @@ 'use strict';

var organizationID = _ref.organizationID,
query = _ref.query,
filter = _ref.filter,
maxResultsPerModel = _ref.maxResultsPerModel;
var organizationID = _ref.organizationID;
var query = _ref.query;
var filter = _ref.filter;
var maxResultsPerModel = _ref.maxResultsPerModel;

@@ -721,0 +721,0 @@ var customers = void 0;

@@ -108,4 +108,4 @@ 'use strict';

return this.getWithMeta(_extends({}, query, { limit: 0 })).then(function (_ref) {
var _ref$meta = _ref.meta,
meta = _ref$meta === undefined ? {} : _ref$meta;
var _ref$meta = _ref.meta;
var meta = _ref$meta === undefined ? {} : _ref$meta;

@@ -112,0 +112,0 @@ return meta.total;

@@ -13,4 +13,4 @@ 'use strict';

getConversation: function getConversation(_ref) {
var organizationID = _ref.organizationID,
customerUserID = _ref.customerUserID;
var organizationID = _ref.organizationID;
var customerUserID = _ref.customerUserID;

@@ -17,0 +17,0 @@ if (!organizationID || !customerUserID) {

@@ -20,5 +20,5 @@ 'use strict';

pay: function pay(_ref) {
var amount = _ref.amount,
cardToken = _ref.cardToken,
paymentMethod = _ref.paymentMethod;
var amount = _ref.amount;
var cardToken = _ref.cardToken;
var paymentMethod = _ref.paymentMethod;

@@ -25,0 +25,0 @@ if (cardToken) {

@@ -48,5 +48,5 @@ 'use strict';

return client.entities.jobs.getOne(id).then(function (_ref) {
var organization_id = _ref.organization_id,
_ref$customer = _ref.customer,
customer = _ref$customer === undefined ? {} : _ref$customer;
var organization_id = _ref.organization_id;
var _ref$customer = _ref.customer;
var customer = _ref$customer === undefined ? {} : _ref$customer;

@@ -87,2 +87,3 @@ return client.entities.billingDocuments.create({

appointment_time: body.appointment_time,
secondary_user_ids: body.secondary_user_ids,
user_id: body.user_id

@@ -89,0 +90,0 @@ };

@@ -30,7 +30,7 @@ 'use strict';

function getAuthHeaders(_ref) {
var path = _ref.path,
body = _ref.body,
userID = _ref.userID,
userType = _ref.userType,
secret = _ref.secret;
var path = _ref.path;
var body = _ref.body;
var userID = _ref.userID;
var userType = _ref.userType;
var secret = _ref.secret;

@@ -37,0 +37,0 @@ // Date must be formatted like this:

@@ -63,2 +63,3 @@ import _ from 'underscore';

appointment_time: body.appointment_time,
secondary_user_ids: body.secondary_user_ids,
user_id: body.user_id,

@@ -65,0 +66,0 @@ };

{
"name": "dispatch-node-sdk",
"version": "3.4.0",
"version": "3.4.1",
"description": "High- and low-level libraries for interacting with the Dispatch API",

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc