mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Merge pull request #215 from plivo/invalid_dst
handle invalid number response on bulk send sms
This commit is contained in:
commit
8c728cab05
4 changed files with 9 additions and 2 deletions
|
|
@ -1,5 +1,9 @@
|
|||
# Change Log
|
||||
|
||||
## [v4.22.4](https://github.com/plivo/plivo-node/tree/v4.22.4) (2021-09-27)
|
||||
**Bug Fix**
|
||||
- Handle invalid destination number API response for send [SMS API](https://www.plivo.com/docs/sms/api/message/send-a-message/).
|
||||
|
||||
## [v4.22.3](https://github.com/plivo/plivo-node/tree/v4.22.3) (2021-09-22)
|
||||
**Bug Fix**
|
||||
- Fix Typings for `Make call` & `Send SMS` API response.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,9 @@ export class MessageResponse {
|
|||
this.apiId = params.apiId;
|
||||
this.message = params.message;
|
||||
this.messageUuid = params.messageUuid;
|
||||
|
||||
if (params.invalidNumber != undefined ){
|
||||
this.invalid_number = params.invalidNumber;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "plivo",
|
||||
"version": "4.22.3",
|
||||
"version": "4.22.4",
|
||||
"description": "A Node.js SDK to make voice calls and send SMS using Plivo and to generate Plivo XML",
|
||||
"homepage": "https://github.com/plivo/plivo-node",
|
||||
"files": [
|
||||
|
|
|
|||
1
types/resources/messages.d.ts
vendored
1
types/resources/messages.d.ts
vendored
|
|
@ -3,6 +3,7 @@ export class MessageResponse {
|
|||
apiId: string;
|
||||
message: string;
|
||||
messageUuid: Array<string>;
|
||||
invalidNumber?: Array<string>;
|
||||
}
|
||||
export class MessageGetResponse {
|
||||
constructor(params: object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue