Socket
Socket
Sign inDemoInstall

agendize

Package Overview
Dependencies
300
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.6 to 1.0.7

44

api/reseller.js

@@ -152,18 +152,36 @@ var logger = require('../logger');

var account = options.account;
// var account = options.account;
var paymentProfile = options.payment_profile;
// var paymentProfile = options.payment_profile;
var data = {
hostname:options.hostname,
lastName:account.lastname,
firstName:account.firstname,
email:account.email,
password:account.password,
preferences:account.preferences,
profile:paymentProfile,
tools:account.tools,
sendSignupEmail:options.sendSignupEmail
};
// var data = {
// hostname:options.hostname,
// lastName:account.lastname,
// firstName:account.firstname,
// email:account.email,
// password:account.password,
// preferences:account.preferences,
// profile:paymentProfile,
// tools:account.tools,
// sendSignupEmail:options.sendSignupEmail
// };
data = options.account;
if(options.payment_profile){
data.profile = payment_profile;
}
if(options.hostname){
data.hostname = options.hostname;
}
if(options.lastname){
data.lastName = options.lastname;
}
if(options.firstname){
data.firstName = options.firstName;
}
httpsClient.doAgendizeRequest('POST','/api/2.0/resellers/accounts',data,credentials,function(err,result){

@@ -170,0 +188,0 @@ if(err)

{
"name": "agendize",
"version": "1.0.6",
"version": "1.0.7",
"description": "An npm package for Node.Js to interact with Agendize (https://www.agendize.com/) through API (http://developers.agendize.com/). It allows to create accounts under partner accounts. Or easily build an oAuth2 application. Create companies, services, staffs, appointments. Get a SSO url of an account.",

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

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