diff --git a/CHANGELOG.md b/CHANGELOG.md index 65a1554..05ae842 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/resources/messages.js b/lib/resources/messages.js index 5788d21..2218d4a 100644 --- a/lib/resources/messages.js +++ b/lib/resources/messages.js @@ -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; } } diff --git a/package.json b/package.json index e40b1c5..d429fd9 100644 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/types/resources/messages.d.ts b/types/resources/messages.d.ts index 6d6b37d..c709edc 100644 --- a/types/resources/messages.d.ts +++ b/types/resources/messages.d.ts @@ -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);