Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Change Log
## [4.59.3](https://github.com/plivo/plivo-python/tree/v4.59.3) (2025-10-08)
**Feature - New Param added for Start Recording API.**
- Support `transcription_report_type` in Start Recording API and `transcription_report_type` in Record XML.

## [4.59.2](https://github.com/plivo/plivo-python/tree/v4.59.2) (2025-08-06)
**Feature - Expanded Media Type Support for Media Upload**
- Added support for additional media file formats: GIF, MP3, WAV, OGG, 3GPP, 3GPP2, VCARD, CSV, XLS, XLSX, and PLAIN text files
Expand Down
4 changes: 4 additions & 0 deletions plivo/resources/calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def record(self,
transcription_type=None,
transcription_url=None,
transcription_method=None,
transcription_report_type=None,
callback_url=None,
callback_method=None,
record_channel_type=None):
Expand All @@ -43,6 +44,7 @@ def start_recording(self,
transcription_type=None,
transcription_url=None,
transcription_method=None,
transcription_report_type=None,
callback_url=None,
callback_method=None):
return self.client.calls.start_recording(self.id,
Expand Down Expand Up @@ -345,6 +347,7 @@ def record(self,
transcription_type=None,
transcription_url=None,
transcription_method=None,
transcription_report_type=None,
callback_url=None,
callback_method=None,
record_channel_type=None):
Expand All @@ -359,6 +362,7 @@ def start_recording(self,
transcription_type=None,
transcription_url=None,
transcription_method=None,
transcription_report_type=None,
callback_url=None,
callback_method=None,
record_channel_type=None):
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.59.2'
__version__ = '4.59.3'
2 changes: 2 additions & 0 deletions plivo/xml/ResponseElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def add_record(
start_on_dial_answer=None,
transcription_type=None,
transcription_url=None,
transcription_report_type=None,
transcription_method=None,
callback_url=None,
callback_method=None,
Expand All @@ -277,6 +278,7 @@ def add_record(
start_on_dial_answer=start_on_dial_answer,
transcription_type=transcription_type,
transcription_url=transcription_url,
transcription_report_type=transcription_report_type,
transcription_method=transcription_method,
callback_url=callback_url,
callback_method=callback_method,
Expand Down
19 changes: 19 additions & 0 deletions plivo/xml/recordElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,22 @@ def transcription_method(self, value):
def set_transcription_method(self, value):
self.transcription_method = value
return self

@property
def transcription_report_type(self):
return self.__transcription_report_type

@transcription_report_type.setter
def transcription_report_type(self, value):
self.__transcription_report_type = six.text_type(
value) if value is not None else None

@validate_args(
value=[of_type(six.text_type)],
)
def set_transcription_report_type(self, value):
self.transcription_report_type = value
return self

@property
def callback_url(self):
Expand Down Expand Up @@ -270,6 +286,7 @@ def __init__(
transcription_type=None,
transcription_url=None,
transcription_method=None,
transcription_report_type=None,
callback_url=None,
callback_method=None,
record_channel_type=None
Expand All @@ -288,6 +305,7 @@ def __init__(
self.start_on_dial_answer = start_on_dial_answer
self.transcription_type = transcription_type
self.transcription_url = transcription_url
self.transcription_report_type = transcription_report_type
self.transcription_method = transcription_method
self.callback_url = callback_url
self.callback_method = callback_method
Expand All @@ -308,6 +326,7 @@ def to_dict(self):
'transcriptionType': self.transcription_type,
'transcriptionUrl': self.transcription_url,
'transcriptionMethod': self.transcription_method,
'transcription_report_type': self.transcription_report_type,
'callbackUrl': self.callback_url,
'callbackMethod': self.callback_method,
'recordChannelType': self.record_channel_type
Expand Down
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.59.2',
version='4.59.3',
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
Loading