Skip to content

Commit

Permalink
Merge pull request #226 from plivo/messaging-list-ext
Browse files Browse the repository at this point in the history
extending message object filter option
  • Loading branch information
narayana-plivo authored Feb 23, 2023
2 parents 89a66d3 + 94a5f29 commit 3c5ef84
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Change Log

## [4.33.0](https://github.com/plivo/plivo-python/tree/v4.33.0) (2023-02-23)
**Feature - Enhance MDR filtering capabilities **
- Added new fields on MDR object response

## [4.32.0](https://github.com/plivo/plivo-python/tree/v4.32.0) (2023-01-25)
**inspect getargspec fix for python 3.11 version**
- adding getfullargspec for python 3.11 support
Expand All @@ -7,6 +12,7 @@
**Adding new parameter in Send Message API**
-Added new parameter in Send Message API


## [4.30.0](https://github.com/plivo/plivo-python/tree/v4.30.0) (2022-12-16)
**Adding Update campaign**
-Added update campaign
Expand Down
10 changes: 8 additions & 2 deletions plivo/resources/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ def get(self, message_uuid):
of_type(*six.integer_types),
check(lambda offset: 0 <= offset, '0 <= offset')))
],
powerpack_id=[optional(of_type(six.text_type))])
powerpack_id=[optional(of_type(six.text_type))],
tendlc_campaign_id=[optional(of_type(six.text_type))],
destination_country_iso2=[optional(of_type(six.text_type))],
tendlc_registration_status=[optional(of_type(six.text_type))])
def list(self,
subaccount=None,
message_direction=None,
Expand All @@ -111,7 +114,10 @@ def list(self,
limit=None,
offset=None,
error_code=None,
powerpack_id=None):
powerpack_id=None,
tendlc_campaign_id=None,
destination_country_iso2=None,
tendlc_registration_status=None):
return self.client.request(
'GET', ('Message', ),
to_param_dict(self.list, locals()),
Expand Down
2 changes: 1 addition & 1 deletion plivo/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = '4.32.0'
__version__ = '4.33.0'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='plivo',
version='4.32.0',
version='4.33.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',
Expand Down

0 comments on commit 3c5ef84

Please sign in to comment.