Comparing version 1.51.1 to 1.52.0
@@ -747,2 +747,6 @@ var Util = require('util'); | ||
BaseService.addMethod(CashbillService.prototype, "search", function(CorpNum, DType, SDate, EDate, State, TradeType, TradeUsage, TradeOpt, TaxationType, QString, Order, Page, PerPage, success, error){ | ||
return this.search(CorpNum, DType, SDate, EDate, State, TradeType, TradeUsage, TradeOpt, TaxationType, QString, Order, Page, PerPage, "", success, error) | ||
}); | ||
BaseService.addMethod(CashbillService.prototype, "search", function(CorpNum, DType, SDate, EDate, State, TradeType, TradeUsage, TradeOpt, TaxationType, QString, Order, Page, PerPage, FranchiseTaxRegID, success, error){ | ||
if(!DType || 0 === DType.length) { | ||
@@ -783,2 +787,6 @@ this._throwError(-99999999,'검색일자 유형이 입력되지 않았습니다.',error); | ||
if ( FranchiseTaxRegID !== "" ){ | ||
targetURI += '&FranchiseTaxRegID=' + FranchiseTaxRegID; | ||
} | ||
this._executeAction({ | ||
@@ -785,0 +793,0 @@ uri : targetURI, |
@@ -20,3 +20,3 @@ var Util = require('util'); | ||
if (!BankCode || 0 === BankCode.length) { | ||
this._throwError(-99999999, '은행코드가 입력되지 않았습니다.', error); | ||
this._throwError(-99999999, '기관코드가 입력되지 않았습니다.', error); | ||
return; | ||
@@ -75,3 +75,3 @@ } | ||
if (!BankCode || 0 === BankCode.length) { | ||
this._throwError(-99999999, '은행코드가 입력되지 않았습니다.', err); | ||
this._throwError(-99999999, '기관코드가 입력되지 않았습니다.', err); | ||
return; | ||
@@ -113,3 +113,3 @@ } | ||
if (!BankAccountInfo.BankCode || 0 === BankAccountInfo.BankCode.length) { | ||
this._throwError(-99999999, '은행코드가 입력되지 않았습니다.', err); | ||
this._throwError(-99999999, '기관코드가 입력되지 않았습니다.', err); | ||
return; | ||
@@ -146,3 +146,3 @@ } | ||
if (!BankCode || 0 === BankCode.length) { | ||
this._throwError(-99999999, '은행코드가 입력되지 않았습니다.', err); | ||
this._throwError(-99999999, '기관코드가 입력되지 않았습니다.', err); | ||
return; | ||
@@ -192,3 +192,3 @@ } | ||
if (!BankCode || 0 === BankCode.length) { | ||
this._throwError(-99999999, '은행코드가 입력되지 않았습니다.', err); | ||
this._throwError(-99999999, '기관코드가 입력되지 않았습니다.', err); | ||
return; | ||
@@ -195,0 +195,0 @@ } |
@@ -564,2 +564,3 @@ var Util = require('util'); | ||
BaseService.addMethod(StatementService.prototype, "attachFile", function(CorpNum, ItemCode, MgtKey, DisplayName, FilePaths, success, error){ | ||
@@ -836,2 +837,13 @@ this.attachFile(CorpNum, ItemCode, MgtKey, DisplayName, FilePaths, '', success, error); | ||
StatementService.prototype.getSealURL = function (CorpNum, UserID, success, error) { | ||
this._executeAction({ | ||
uri: '/?TG=SEAL', | ||
CorpNum: CorpNum, | ||
UserID: UserID, | ||
success: function (response) { | ||
if (success) success(response.url); | ||
}, | ||
error: error | ||
}); | ||
}; | ||
@@ -838,0 +850,0 @@ BaseService.addMethod(StatementService.prototype, "listEmailConfig", function (CorpNum, success, error) { |
{ | ||
"name": "popbill", | ||
"version": "1.51.1", | ||
"version": "1.52.0", | ||
"description": "Popbill API SDK for node. see www.popbill.com", | ||
@@ -5,0 +5,0 @@ "author": "Kim Seongjun <pallet027@gmail.com>", |
# node-popbill | ||
팝빌 node.js SDK v1.51.1 | ||
팝빌 node.js SDK v1.52.0 | ||
@@ -4,0 +4,0 @@ ## Install |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
404404
9476