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 0.0.67 to 0.0.68

24

api/scheduling.js

@@ -112,2 +112,26 @@ var logger = require('../logger');

this.updateCompany = function(options,credentials,callback){
logger.log(logger.LEVEL_DEBUG,"AgendizeSchedulingAPI - updateCompany() started ")
var company = options.company;
var companyId = options.company_id
var data = company;
httpsClient.doAgendizeRequest('PUT','/api/2.0/scheduling/companies/'+companyId,data,credentials,function(err,result){
logger.log(logger.LEVEL_DEBUG,"AgendizeSchedulingAPI - updateCompany() finished")
if(err){
callback(err)
}
else{
callback(null,result)
}
});
}
this.createService= function(options,credentials,callback){

@@ -114,0 +138,0 @@ logger.log(logger.LEVEL_DEBUG,"AgendizeSchedulingAPI - createService() started")

7

index.js

@@ -139,3 +139,8 @@ var pjson = require('./package.json');

requiredParams:['staffs','services']
}
},
'updateCompany':{
agendizeFunction:'updateCompany',
agendizeService:'scheduling',
requiredParams:['company_id','company']
},
}

@@ -142,0 +147,0 @@

2

package.json
{
"name": "agendize",
"version": "0.0.67",
"version": "0.0.68",
"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",

@@ -6,2 +6,3 @@ var errors = require('../errors');

this.updateCompany = schedulingAPI.updateCompany;
this.createCompany = schedulingAPI.createCompany;

@@ -8,0 +9,0 @@ this.createStaff = schedulingAPI.createStaff;

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