From feb248a1ec7b7fc37b2d18fe9f81432e08745c04 Mon Sep 17 00:00:00 2001 From: Rajneesh Katkam Date: Mon, 6 Nov 2023 18:24:07 +0530 Subject: [PATCH 1/2] Added registration_status filter to Python SDK --- plivo/resources/campaign.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plivo/resources/campaign.py b/plivo/resources/campaign.py index 85416e1b..196b7bfe 100644 --- a/plivo/resources/campaign.py +++ b/plivo/resources/campaign.py @@ -45,6 +45,7 @@ def update(self, campaign_id, reseller_id='', description='', sample1='', sample @validate_args( brand_id=[optional(of_type(six.text_type))], + registration_status=[optional(of_type(six.text_type))], usecase=[optional(of_type(six.text_type))], campaign_source=[optional(of_type(six.text_type))], limit=[optional(of_type(*six.integer_types))], @@ -54,7 +55,7 @@ def update(self, campaign_id, reseller_id='', description='', sample1='', sample of_type(*six.integer_types), check(lambda offset: 0 <= offset, '0 <= offset'))) ]) - def list(self, brand_id=None, usecase=None, campaign_source=None, + def list(self, brand_id=None, registration_status=None, usecase=None, campaign_source=None, limit=None, offset=None): return self.client.request( 'GET', ('10dlc', 'Campaign', ), From 05856fec680e29c9347be6eec46afd5f28c443fd Mon Sep 17 00:00:00 2001 From: Rajneesh Katkam Date: Mon, 6 Nov 2023 18:26:40 +0530 Subject: [PATCH 2/2] Added registration_status filter to Python SDK --- CHANGELOG.md | 3 +++ plivo/version.py | 2 +- setup.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c861e27c..da2dce03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Change Log +## [4.46.0](https://github.com/plivo/plivo-python/tree/v4.46.0) (2023-11-06) +**Introducing registration_status** +- Added registration_status in LIST campaign APIs ## [4.45.0](https://github.com/plivo/plivo-python/tree/v4.45.0) (2023-11-03) **Feature - TollFree Verification API Support** diff --git a/plivo/version.py b/plivo/version.py index d4c3ccd3..4f982245 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.45.0' +__version__ = '4.46.0' diff --git a/setup.py b/setup.py index 8f5f0cbd..aaa3c8cd 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.45.0', + version='4.46.0', 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',