From bf488c1e0b9856af3e66cfc9aa65d422871d5ac0 Mon Sep 17 00:00:00 2001 From: narayana-plivo Date: Tue, 8 Oct 2024 23:47:24 +0530 Subject: [PATCH] dtmf param support for verify --- CHANGELOG.md | 5 +++++ plivo/resources/verify.py | 3 ++- plivo/version.py | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14f80b0e..e0c1c2ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Change Log +## [4.56.1](https://github.com/plivo/plivo-python/tree/v4.56.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. + ## [4.56.0](https://github.com/plivo/plivo-python/tree/v4.56.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/plivo/resources/verify.py b/plivo/resources/verify.py index d953bd18..a8c4112b 100644 --- a/plivo/resources/verify.py +++ b/plivo/resources/verify.py @@ -38,7 +38,8 @@ def create(self, locale=None, brand_name=None, app_hash=None, - code_length=None): + code_length=None, + dtmf=None): if recipient is None: raise ValidationError('destination number is required') return self.client.request('POST', ('Verify', 'Session', ), diff --git a/plivo/version.py b/plivo/version.py index 4bfd3cd6..68a883d8 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.56.0' +__version__ = '4.56.1' diff --git a/setup.py b/setup.py index 703f4432..48cf83e7 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.56.0', + version='4.56.1', description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML', long_description=long_description, url='https://github.com/plivo/plivo-python',