support powerpack id filter for list mdr

This commit is contained in:
Narayana Shanubhogh 2021-07-06 14:36:13 +05:30
parent 86dcc56824
commit 7288d6409e
4 changed files with 7 additions and 1 deletions

View file

@ -1,4 +1,6 @@
# Change Log
## [v4.20.0](https://github.com/plivo/plivo-node/tree/v4.20.0) (2021-07-06)
- Powerpack ID filter for list MDR
## [v4.19.1](https://github.com/plivo/plivo-node/tree/v4.19.1) (2021-07-05)
- **WARNING**: Removed the total_count parameter in meta data for list MDR response

View file

@ -42,6 +42,7 @@ export class MessageGetResponse {
this.totalAmount = params.totalAmount;
this.totalRate = params.totalRate;
this.units = params.units;
this.powerpackID = params.powerpackId
}
}
@ -60,6 +61,7 @@ export class MessageListResponse {
this.totalAmount = params.totalAmount;
this.totalRate = params.totalRate;
this.units = params.units;
this.powerpackID = params.powerpackId;
}
}

View file

@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "4.19.1",
"version": "4.20.0",
"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": [

View file

@ -19,6 +19,7 @@ export class MessageGetResponse {
totalAmount: string;
totalRate: string;
units: string;
powerpackId: string;
}
export class MessageListResponse {
constructor(params: object);
@ -34,6 +35,7 @@ export class MessageListResponse {
totalAmount: string;
totalRate: string;
units: string;
powerpackId: string;
}
export class MMSMediaResponse {
constructor(params: object);