plivo
Advanced tools
Comparing version 4.42.0 to 4.43.0
# Change Log | ||
## [4.43.0](https://github.com/plivo/plivo-node/tree/v4.43.0) (2023-03-14) | ||
**Adding new status code - Hosted Messaging order** | ||
- Added new status code for create hosted messaging order. | ||
## [4.42.0](https://github.com/plivo/plivo-node/tree/v4.42.0) (2023-03-07) | ||
@@ -3,0 +7,0 @@ **Bug fix - 'text' parameter should be optional for MMS** |
@@ -163,3 +163,2 @@ 'use strict'; | ||
return new Promise(function (resolve, reject) { | ||
params.multipart = true; | ||
client('POST', action, params).then(function (response) { | ||
@@ -166,0 +165,0 @@ var object = new CreateHostedMessagingNumberResponse(response.body, idField); |
@@ -102,2 +102,3 @@ 'use strict'; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -128,2 +129,3 @@ }[response.status] || Error; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -217,2 +219,3 @@ }[error.response.status] || Error; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -242,2 +245,3 @@ }[response.status] || Error; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -265,2 +269,3 @@ }[error.response.status] || Error; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -296,2 +301,3 @@ }[response.status] || Error; | ||
405: Exceptions.InvalidRequestError, | ||
406: Exceptions.NotAcceptableError, | ||
500: Exceptions.ServerError | ||
@@ -298,0 +304,0 @@ }[error.response.status] || Error; |
@@ -85,2 +85,14 @@ 'use strict'; | ||
return AuthenticationError; | ||
}(PlivoRestError); | ||
var NotAcceptableError = exports.NotAcceptableError = function (_PlivoRestError7) { | ||
_inherits(NotAcceptableError, _PlivoRestError7); | ||
function NotAcceptableError() { | ||
_classCallCheck(this, NotAcceptableError); | ||
return _possibleConstructorReturn(this, (NotAcceptableError.__proto__ || Object.getPrototypeOf(NotAcceptableError)).apply(this, arguments)); | ||
} | ||
return NotAcceptableError; | ||
}(PlivoRestError); |
{ | ||
"name": "plivo", | ||
"version": "4.42.0", | ||
"version": "4.43.0", | ||
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/plivo/plivo-node", |
753018
16504