From 1f6615e2337680db638befe50e42c22bc95ad524 Mon Sep 17 00:00:00 2001 From: abinaya-plivo Date: Wed, 6 Nov 2024 13:20:33 +0530 Subject: [PATCH] added sdk versioning --- CHANGELOG.md | 8 ++++++++ plivo/resources/transcription.py | 7 +++++++ plivo/version.py | 2 +- setup.py | 2 +- 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e81a198a..c6308f44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,12 @@ # Change Log + +## [4.58.0](https://github.com/plivo/plivo-go/tree/v4.58.0) (2024-11-07) +**Feature - CreateRecordingTranscription, GetRecordingTranscription and DeleteRecordingTranscription feature added** +- Support added to create transcription for recorded calls for which transcription is not available and get API to retrieve and delete API to delete. +- Support for the `type` filter parameter, supported filters are transcription, raw and diarized +- Support for the `transcription_url` and `transcript` parameter in MPC Add Participant. +- Support added for Transcription params in MPC recording and MPC participant recording + ## [4.56.2](https://github.com/plivo/plivo-python/tree/v4.56.2) (2024-10-23) **Feature - FraudCheck param in Create, Get and List Session** - Support for the `fraud_check` parameter in sms verify session request diff --git a/plivo/resources/transcription.py b/plivo/resources/transcription.py index 80159ecb..170c7f2b 100644 --- a/plivo/resources/transcription.py +++ b/plivo/resources/transcription.py @@ -20,6 +20,9 @@ def get_tanscription(self): def create_tanscription(self): return self.client.transcriptions.create_tanscription(self.id, **to_param_dict(self.create_tanscription(), locals())) + def delete_tanscription(self): + return self.client.transcriptions.delete_tanscription(self.id, **to_param_dict(self.delete_tanscription(), locals())) + class Transcriptions(PlivoResourceInterface): _resource_type = Transcription @@ -38,5 +41,9 @@ def create_tanscription(self, recording_id): return self.client.request( 'POST', ('Transcription', recording_id), is_voice_request=True) + def delete_tanscription(self, transcription_id): + return self.client.request( + 'DELETE', ('Transcription', transcription_id), is_voice_request=True) + diff --git a/plivo/version.py b/plivo/version.py index 54ec96d7..ca614615 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.56.2' +__version__ = '4.58.0' diff --git a/setup.py b/setup.py index 13d28646..4c89acad 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.56.2', + version='4.58.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',