Comparing version 1.9.2 to 1.9.3
@@ -250,7 +250,8 @@ var Util = require('util'); | ||
MessageService.prototype.sendMessage = function (MsgType, CorpNum, Sender, SenderName, Subject, Contents, Messages, reserveDT, adsYN, success, error) { | ||
BaseService.addMethod(MessageService.prototype, 'sendMessage', function (MsgType, CorpNum, Sender, SenderName, Subject, Contents, Messages, reserveDT, adsYN, success, error) { | ||
this.sendMessage(MsgType, CorpNum, Sender, SenderName, Subject, Contents, Messages, reserveDT, adsYN, "", success, error) | ||
}; | ||
}); | ||
MessageService.prototype.sendMessage = function (MsgType, CorpNum, Sender, SenderName, Subject, Contents, Messages, reserveDT, adsYN, requestNum, success, error) { | ||
BaseService.addMethod(MessageService.prototype, 'sendMessage', function (MsgType, CorpNum, Sender, SenderName, Subject, Contents, Messages, reserveDT, adsYN, requestNum, success, error) { | ||
if (!MsgType || 0 === MsgType.length) { | ||
@@ -313,3 +314,3 @@ this._throwError(-99999999, '메시지 유형이 입력되지 않았습니다.', error); | ||
}); | ||
} | ||
}); | ||
@@ -364,7 +365,7 @@ BaseService.addMethod(MessageService.prototype, 'sendMMS', function (CorpNum, Sender, Receiver, ReceiverName, Subject, Contents, FilePaths, reserveDT, success, error) { | ||
MessageService.prototype.sendMessage_MMS = function (CorpNum, Sender, SenderName, Subject, Contents, Messages, FilePaths, reserveDT, adsYN, success, error) { | ||
BaseService.addMethod(MessageService.prototype, 'sendMessage_MMS', function (CorpNum, Sender, SenderName, Subject, Contents, Messages, FilePaths, reserveDT, adsYN, success, error) { | ||
this.sendMessage_MMS(CorpNum, Sender, SenderName, Subject, Contents, Messages, FilePaths, reserveDT, adsYN, "", success, error) | ||
} | ||
}); | ||
MessageService.prototype.sendMessage_MMS = function (CorpNum, Sender, SenderName, Subject, Contents, Messages, FilePaths, reserveDT, adsYN, requestNum, success, error) { | ||
BaseService.addMethod(MessageService.prototype, 'sendMessage_MMS', function (CorpNum, Sender, SenderName, Subject, Contents, Messages, FilePaths, reserveDT, adsYN, requestNum, success, error) { | ||
if (!CorpNum || 0 === CorpNum.length) { | ||
@@ -435,3 +436,3 @@ this._throwError(-99999999, '팝빌회원 사업자번호가 입력되지 않았습니다.', error); | ||
}); | ||
} | ||
}); | ||
@@ -438,0 +439,0 @@ MessageService.prototype.getMessages = function (CorpNum, ReceiptNum, success, error) { |
{ | ||
"name": "popbill", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"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.9.2 | ||
팝빌 node.js SDK v1.9.3 | ||
@@ -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
322012