Merge branch 'master' into Fix_MessageResource

This commit is contained in:
Mohammed Huzaif 2021-10-04 17:30:54 +05:30 committed by GitHub
commit 9dd277ab88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 3 deletions

View file

@ -6,6 +6,14 @@
Example for [send SMS](https://github.com/plivo/plivo-node#send-a-message)
## [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.
## [v4.22.2](https://github.com/plivo/plivo-node/tree/v4.22.2) (2021-09-16)
- Typescript import fix.

View file

@ -5,3 +5,7 @@ language: node-sdk
build:
command: |
npm install
postDeployJobs:
prod:
- name: plivo/messaging-qa/nodeSDKSmoke
disabled: false

View file

@ -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;
}
}
}

View file

@ -18,7 +18,7 @@ export class CreateCallResponse {
constructor(params: object);
apiId: string;
message: string;
requestUuid: string;
requestUuid: Array<string>;
}
export class GetQueuedCallResponse {
constructor(params: object);

View file

@ -2,7 +2,8 @@ export class MessageResponse {
constructor(params: object);
apiId: string;
message: string;
messageUuid: string;
messageUuid: Array<string>;
invalidNumber?: Array<string>;
}
export class MessageGetResponse {
constructor(params: object);