mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Merge branch 'master' into Fix_MessageResource
This commit is contained in:
commit
9dd277ab88
5 changed files with 18 additions and 3 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
|
|
@ -5,3 +5,7 @@ language: node-sdk
|
|||
build:
|
||||
command: |
|
||||
npm install
|
||||
postDeployJobs:
|
||||
prod:
|
||||
- name: plivo/messaging-qa/nodeSDKSmoke
|
||||
disabled: false
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
2
types/resources/call.d.ts
vendored
2
types/resources/call.d.ts
vendored
|
|
@ -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);
|
||||
|
|
|
|||
3
types/resources/messages.d.ts
vendored
3
types/resources/messages.d.ts
vendored
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue