From e941af1b7a641c259b622c466bf8361cf45f20a9 Mon Sep 17 00:00:00 2001 From: JayaBharat-plivo Date: Tue, 3 Sep 2024 14:57:07 +0530 Subject: [PATCH] Added fields for creation of masking session: [create_session_with_single_party,virtual_number_cooloff_period,force_pin_authentication] --- plivo/resources/maskingsession.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plivo/resources/maskingsession.py b/plivo/resources/maskingsession.py index a76b9925..4504ea68 100644 --- a/plivo/resources/maskingsession.py +++ b/plivo/resources/maskingsession.py @@ -67,7 +67,10 @@ def create_masking_session(self, incorrect_pin_play=None, unknown_caller_play=None, subaccount=None, - geomatch=None + geomatch=None, + create_session_with_single_party=None, + virtual_number_cooloff_period=None, + force_pin_authentication=None ): return self.client.request('POST', ('Masking', 'Session',), to_param_dict(self.create_masking_session, locals()), is_voice_request=True) @@ -97,7 +100,10 @@ def update_masking_session(self, second_party_play_url=None, recording_callback_method=None, subaccount=None, - geomatch=None + geomatch=None, + create_session_with_single_party=None, + virtual_number_cooloff_period=None, + force_pin_authentication=None ): return self.client.request('POST', ('Masking', 'Session', session_uuid), to_param_dict(self.update_masking_session, locals()), is_voice_request=True)