New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

popbill

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

popbill - npm Package Compare versions

Comparing version 1.7.0 to 1.8.0

38

HTCashbillTest.js

@@ -90,1 +90,39 @@ var popbill = require('./');

});
htCashbillService.checkCertValidation('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htCashbillService.checkDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htCashbillService.registDeptUser('1234567890', 'test1234','test1234!',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htCashbillService.checkLoginDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htCashbillService.deleteDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});

@@ -110,1 +110,36 @@ var popbill = require('./');

});
htTaxinvoiceService.checkCertValidation('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htTaxinvoiceService.checkDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htTaxinvoiceService.registDeptUser('1234567890', 'test1234','test1234!',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htTaxinvoiceService.checkLoginDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
htTaxinvoiceService.deleteDeptUser('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});

@@ -215,1 +215,103 @@ var Util = require('util');

});
BaseService.addMethod(HTCashbillService.prototype, "checkCertValidation", function(CorpNum, success, error){
this.checkCertValidation(CorpNum, '', success, error);
});
BaseService.addMethod(HTCashbillService.prototype, "checkCertValidation", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Cashbill/CertCheck',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTCashbillService.prototype, "checkDeptUser", function(CorpNum, success, error){
this.checkDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTCashbillService.prototype, "checkDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Cashbill/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTCashbillService.prototype, "registDeptUser", function(CorpNum, DeptUserID, DeptUserPWD, success, error){
this.registDeptUser(CorpNum, DeptUserID, DeptUserPWD, '',success,error);
});
BaseService.addMethod(HTCashbillService.prototype, "registDeptUser", function(CorpNum, DeptUserID, DeptUserPWD, UserID, success, error){
if(!DeptUserID || 0 === DeptUserID.length) {
this._throwError(-99999999,'홈택스 현금영수증 부서사용자 아이디가 입력되지 않았습니다.',error);
return;
}
if(!DeptUserPWD || 0 === DeptUserPWD.length) {
this._throwError(-99999999,'홈택스 현금영수증 부서사용자 비밀번호가 입력되지 않았습니다.',error);
return;
}
var req = {
id : DeptUserID,
pwd : DeptUserPWD
};
var postData = this._stringify(req);
this._executeAction({
uri : '/HomeTax/Cashbill/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
Data : postData,
Method : 'POST',
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTCashbillService.prototype, "checkLoginDeptUser", function(CorpNum, success, error){
this.checkLoginDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTCashbillService.prototype, "checkLoginDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Cashbill/DeptUser/Check',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTCashbillService.prototype, "deleteDeptUser", function(CorpNum, success, error){
this.deleteDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTCashbillService.prototype, "deleteDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Cashbill/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
Method : 'POST',
Method : 'DELETE',
success : function(response){
if(success) success(response);
},
error : error
});
});

@@ -271,1 +271,104 @@ var Util = require('util');

});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkCertValidation", function(CorpNum, success, error){
this.checkCertValidation(CorpNum, '', success, error);
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkCertValidation", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Taxinvoice/CertCheck',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkDeptUser", function(CorpNum, success, error){
this.checkDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Taxinvoice/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "registDeptUser", function(CorpNum, DeptUserID, DeptUserPWD, success, error){
this.registDeptUser(CorpNum, DeptUserID, DeptUserPWD, '',success,error);
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "registDeptUser", function(CorpNum, DeptUserID, DeptUserPWD, UserID, success, error){
if(!DeptUserID || 0 === DeptUserID.length) {
this._throwError(-99999999,'홈택스 전자세금계산서 부서사용자 아이디가 입력되지 않았습니다.',error);
return;
}
if(!DeptUserPWD || 0 === DeptUserPWD.length) {
this._throwError(-99999999,'홈택스 전자세금계산서 부서사용자 비밀번호가 입력되지 않았습니다.',error);
return;
}
var req = {
id : DeptUserID,
pwd : DeptUserPWD
};
var postData = this._stringify(req);
this._executeAction({
uri : '/HomeTax/Taxinvoice/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
Data : postData,
Method : 'POST',
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkLoginDeptUser", function(CorpNum, success, error){
this.checkLoginDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "checkLoginDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Taxinvoice/DeptUser/Check',
CorpNum : CorpNum,
UserID : UserID,
success : function(response){
if(success) success(response);
},
error : error
});
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "deleteDeptUser", function(CorpNum, success, error){
this.deleteDeptUser(CorpNum, '', success, error);
});
BaseService.addMethod(HTTaxinvoiceService.prototype, "deleteDeptUser", function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/HomeTax/Taxinvoice/DeptUser',
CorpNum : CorpNum,
UserID : UserID,
Method : 'POST',
Method : 'DELETE',
success : function(response){
if(success) success(response);
},
error : error
});
});

@@ -1191,1 +1191,19 @@ var Util = require('util');

};
BaseService.addMethod(TaxinvoiceService.prototype, 'checkCertValidation', function(CorpNum, success, error){
this.checkCertValidation(CorpNum, "", success,error);
});
BaseService.addMethod(TaxinvoiceService.prototype, 'checkCertValidation', function(CorpNum, UserID, success, error){
this._executeAction({
uri : '/Taxinvoice/CertCheck',
CorpNum : CorpNum,
UserID : UserID,
Method : 'GET',
success : function(response){
if(success) success(response);
},
error : error
});
});

4

package.json
{
"name": "popbill",
"version": "1.7.0",
"version": "1.8.0",
"description": "Popbill API SDK for node. see www.popbill.com",

@@ -25,3 +25,3 @@ "author": "Kim Seongjun <pallet027@gmail.com>",

"dependencies": {
"linkhub": "1.1.0"
"linkhub": "^1.1.0"
},

@@ -28,0 +28,0 @@ "repository": {

# node-popbill
팝빌 node.js SDK v1.7.0
팝빌 node.js SDK v1.8.0

@@ -4,0 +4,0 @@ ## Install

@@ -659,1 +659,9 @@ var popbill = require('./');

});
taxinvoiceService.checkCertValidation('1234567890',
function(response){
console.log(response);
}, function(error){
console.log(error);
});
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