Skip to content

Commit

Permalink
SMS-7107: Add fraud_check param support
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsin-plivo committed Oct 17, 2024
1 parent 1fe49b2 commit 78ca68d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Change Log
## [4.56.2](https://github.com/plivo/plivo-python/tree/v4.56.2) (2024-10-16)
**Feature - FraudCheck param in Create, Get and List Session**
- Support for the `fraud_check` parameter in sms verify session request
- Added support for `fraud_check` in GET and LIST verify session.

## [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
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ build:

start:
docker-compose up --build --remove-orphans --detach
docker attach $(shell docker-compose ps -q pythonSDK)
# Wait for the container to be running before attaching
@while [ -z "$$(docker-compose ps -q pythonSDK)" ]; do \
sleep 1; \
done
docker attach $$(docker-compose ps -q pythonSDK)

test:
@[ "${CONTAINER}" ] && \
Expand Down
3 changes: 2 additions & 1 deletion plivo/resources/verify.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ def create(self,
brand_name=None,
app_hash=None,
code_length=None,
dtmf=None):
dtmf=None,
fraud_check=None):
if recipient is None:
raise ValidationError('destination number is required')
return self.client.request('POST', ('Verify', 'Session', ),
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.56.1'
__version__ = '4.56.2'
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.56.1',
version='4.56.2',
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 78ca68d

Please sign in to comment.