diff --git a/CHANGELOG.md b/CHANGELOG.md index d0d2655d..bdf1f6fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## [v4.69.1](https://github.com/plivo/plivo-node/tree/v4.69.1) (2024-10-10) +**Feature - Dtmf param in Create, Get and List Session** +- Support for the `dtmf` parameter in voice verify session request +- Added support for `dtmf` in GET and LIST verify session. +- ## [v4.69.0](https://github.com/plivo/plivo-node/tree/v4.69.0) (2024-09-30) **Feature - Adding new param support for Number Masking session with single party ** - Added `create_session_with_single_party`, `virtual_number_cooloff_period` and `force_pin_authentication` attributes in Masking Session diff --git a/lib/resources/verify.js b/lib/resources/verify.js index 01083a52..4b2a1aab 100644 --- a/lib/resources/verify.js +++ b/lib/resources/verify.js @@ -140,7 +140,7 @@ export class SessionInterface extends PlivoResourceInterface { create(sessionReq){ var isObject = arguments.length; - var app_uuid, recipient, url, method, channel, locale , brand_name, app_hash , code_length + var app_uuid, recipient, url, method, channel, locale , brand_name, app_hash , code_length, dtmf if (isObject === 1) { app_uuid = sessionReq.app_uuid @@ -152,6 +152,7 @@ export class SessionInterface extends PlivoResourceInterface { brand_name = sessionReq.brand_name app_hash = sessionReq.app_hash code_length = sessionReq.code_length + dtmf = sessionReq.dtmf } let errors = validate([{ @@ -194,6 +195,9 @@ export class SessionInterface extends PlivoResourceInterface { if (code_length) { params.code_length = code_length } + if (dtmf){ + params.dtmf = dtmf + } } let client = this[clientKey]; diff --git a/package.json b/package.json index 1ca53595..d1e065ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "plivo", - "version": "4.69.0", + "version": "4.69.1", "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": [