Skip to content

Commit

Permalink
Added fields for creation of masking session: [create_session_with_si…
Browse files Browse the repository at this point in the history
…ngle_party,virtual_number_cooloff_period,force_pin_authentication]
  • Loading branch information
JayaBharat-plivo committed Sep 6, 2024
1 parent 7a548d7 commit e941af1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions plivo/resources/maskingsession.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit e941af1

Please sign in to comment.