diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a35ba59..6e87b6c0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## [4.40.0](https://github.com/plivo/plivo-node/tree/v4.40.0) (2023-02-23) +**Feature - Enhance MDR filtering capabilities ** +- Added new fields on MDR object response + ## [4.39.0](https://github.com/plivo/plivo-node/tree/v4.39.0) (2022-01-25) **Feature - Added New Param(requesterIP) in Get Message and List Mssage APIs** - Add `requesterIP` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message) diff --git a/lib/resources/messages.js b/lib/resources/messages.js index b38c037d..e8d5da35 100644 --- a/lib/resources/messages.js +++ b/lib/resources/messages.js @@ -44,7 +44,10 @@ export class MessageGetResponse { this.totalAmount = params.totalAmount; this.totalRate = params.totalRate; this.units = params.units; - this.powerpackID = params.powerpackId; + this.powerpackID = params.powerpackId + this.tendlcCampaignId = params.tendlcCampaignId; + this.tendlcRegistrationStatus = params.tendlcRegistrationStatus; + this.destinationCountryIso2 = params.destinationCountryIso2; this.requesterIP = params.requesterIp; } } @@ -65,6 +68,9 @@ export class MessageListResponse { this.totalRate = params.totalRate; this.units = params.units; this.powerpackID = params.powerpackId; + this.tendlcCampaignId = params.tendlcCampaignId; + this.tendlcRegistrationStatus = params.tendlcRegistrationStatus; + this.destinationCountryIso2 = params.destinationCountryIso2; this.requesterIP = params.requesterIp; } } diff --git a/package.json b/package.json index 384ba559..b5271071 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.39.0", + "version": "4.40.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": [