From 078b01bd762791cda575fdad81d26dfcf7302b39 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 9 Sep 2025 14:06:11 +0000 Subject: [PATCH 1/2] Generate SDK with OpenAPI Generator Version --- README.md | 6 ++--- bandwidth.yml | 23 +++++++++--------- bandwidth/api/messages_api.py | 1 - bandwidth/api/transcriptions_api.py | 24 +++++++++---------- .../models/call_transcription_metadata.py | 2 +- bandwidth/models/conference_member.py | 2 +- .../multi_channel_message_response_data.py | 6 ++--- docs/CallTranscriptionMetadata.md | 2 +- docs/ConferenceMember.md | 2 +- docs/MessagesApi.md | 1 - docs/MultiChannelMessageResponseData.md | 2 +- docs/TranscriptionsApi.md | 20 ++++++++-------- 12 files changed, 45 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index dbf6a4e5..ff6453f4 100644 --- a/README.md +++ b/README.md @@ -143,9 +143,9 @@ Class | Method | HTTP request | Description *TollFreeVerificationApi* | [**request_toll_free_verification**](docs/TollFreeVerificationApi.md#request_toll_free_verification) | **POST** /accounts/{accountId}/tollFreeVerification | Request Toll-Free Verification *TollFreeVerificationApi* | [**update_toll_free_verification_request**](docs/TollFreeVerificationApi.md#update_toll_free_verification_request) | **PUT** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Update Toll-Free Verification Request *TollFreeVerificationApi* | [**update_webhook_subscription**](docs/TollFreeVerificationApi.md#update_webhook_subscription) | **PUT** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Update Webhook Subscription -*TranscriptionsApi* | [**delete_real_time_transcription**](docs/TranscriptionsApi.md#delete_real_time_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription -*TranscriptionsApi* | [**get_real_time_transcription**](docs/TranscriptionsApi.md#get_real_time_transcription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription -*TranscriptionsApi* | [**list_real_time_transcriptions**](docs/TranscriptionsApi.md#list_real_time_transcriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription +*TranscriptionsApi* | [**delete_real_time_transcription**](docs/TranscriptionsApi.md#delete_real_time_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription +*TranscriptionsApi* | [**get_real_time_transcription**](docs/TranscriptionsApi.md#get_real_time_transcription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription +*TranscriptionsApi* | [**list_real_time_transcriptions**](docs/TranscriptionsApi.md#list_real_time_transcriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions ## Documentation For Models diff --git a/bandwidth.yml b/bandwidth.yml index 004fb91b..b7f79686 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -1157,9 +1157,9 @@ paths: get: tags: - Transcriptions - summary: Enumerate transcriptions made with StartTranscription + summary: List Real-time Transcriptions description: >- - Enumerates the transcriptions created on this call via + List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). operationId: listRealTimeTranscriptions parameters: @@ -1189,7 +1189,7 @@ paths: get: tags: - Transcriptions - summary: Retrieve a specific transcription + summary: Get Real-time Transcription description: >- Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -1220,7 +1220,7 @@ paths: delete: tags: - Transcriptions - summary: Delete a specific transcription + summary: Delete Real-time Transcription description: >- Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -1929,7 +1929,7 @@ components: required: - type - description - messageId: + id: type: string description: The ID of the message. example: 1589228074636lm4k2je7j7jklbn2 @@ -2549,8 +2549,8 @@ components: description: The data returned in a multichannel message response. type: object properties: - messageId: - $ref: '#/components/schemas/messageId' + id: + $ref: '#/components/schemas/id' time: description: The time the message was received by the Bandwidth API. type: string @@ -2586,7 +2586,7 @@ components: expiration: $ref: '#/components/schemas/expiration' required: - - messageId + - id - time - direction - to @@ -3738,11 +3738,12 @@ components: the state of this conference member. This is the URL of this member's - [Get Conference Member](/apis/voice/#operation/getConferenceMember) + [Get Conference + Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember) endpoint and [Modify Conference - Member](/apis/voice/#operation/updateConferenceMember) + Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember) endpoint. example: >- @@ -4094,7 +4095,7 @@ components: points to the [Get Call - Transcription](/apis/voice/#operation/getCallTranscription) + Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription) endpoint. example: >- https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b diff --git a/bandwidth/api/messages_api.py b/bandwidth/api/messages_api.py index 1dd1d128..1b89537b 100644 --- a/bandwidth/api/messages_api.py +++ b/bandwidth/api/messages_api.py @@ -27,7 +27,6 @@ from bandwidth.models.message_type_enum import MessageTypeEnum from bandwidth.models.messages_list import MessagesList from bandwidth.models.product_type_enum import ProductTypeEnum -from bandwidth.models.product_type_enum import ProductTypeEnum from bandwidth.api_client import ApiClient, RequestSerialized from bandwidth.api_response import ApiResponse diff --git a/bandwidth/api/transcriptions_api.py b/bandwidth/api/transcriptions_api.py index eab5a3f1..74f41c32 100644 --- a/bandwidth/api/transcriptions_api.py +++ b/bandwidth/api/transcriptions_api.py @@ -60,7 +60,7 @@ def delete_real_time_transcription( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> None: - """Delete a specific transcription + """Delete Real-time Transcription Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. @@ -143,7 +143,7 @@ def delete_real_time_transcription_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> ApiResponse[None]: - """Delete a specific transcription + """Delete Real-time Transcription Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. @@ -226,7 +226,7 @@ def delete_real_time_transcription_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> RESTResponseType: - """Delete a specific transcription + """Delete Real-time Transcription Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. @@ -378,7 +378,7 @@ def get_real_time_transcription( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> CallTranscriptionResponse: - """Retrieve a specific transcription + """Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -461,7 +461,7 @@ def get_real_time_transcription_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> ApiResponse[CallTranscriptionResponse]: - """Retrieve a specific transcription + """Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -544,7 +544,7 @@ def get_real_time_transcription_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> RESTResponseType: - """Retrieve a specific transcription + """Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -695,9 +695,9 @@ def list_real_time_transcriptions( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> List[CallTranscriptionMetadata]: - """Enumerate transcriptions made with StartTranscription + """List Real-time Transcriptions - Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). :param account_id: Your Bandwidth Account ID. (required) :type account_id: str @@ -774,9 +774,9 @@ def list_real_time_transcriptions_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> ApiResponse[List[CallTranscriptionMetadata]]: - """Enumerate transcriptions made with StartTranscription + """List Real-time Transcriptions - Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). :param account_id: Your Bandwidth Account ID. (required) :type account_id: str @@ -853,9 +853,9 @@ def list_real_time_transcriptions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0, ) -> RESTResponseType: - """Enumerate transcriptions made with StartTranscription + """List Real-time Transcriptions - Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). :param account_id: Your Bandwidth Account ID. (required) :type account_id: str diff --git a/bandwidth/models/call_transcription_metadata.py b/bandwidth/models/call_transcription_metadata.py index 53956a6a..9b8e2b0d 100644 --- a/bandwidth/models/call_transcription_metadata.py +++ b/bandwidth/models/call_transcription_metadata.py @@ -29,7 +29,7 @@ class CallTranscriptionMetadata(BaseModel): """ # noqa: E501 transcription_id: Optional[StrictStr] = Field(default=None, description="The programmable voice API transcription ID.", alias="transcriptionId") transcription_name: Optional[StrictStr] = Field(default=None, description="The programmable voice API transcription name. This name could be provided by the user when creating the transcription.", alias="transcriptionName") - transcription_url: Optional[StrictStr] = Field(default=None, description="A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.", alias="transcriptionUrl") + transcription_url: Optional[StrictStr] = Field(default=None, description="A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription) endpoint.", alias="transcriptionUrl") additional_properties: Dict[str, Any] = {} __properties: ClassVar[List[str]] = ["transcriptionId", "transcriptionName", "transcriptionUrl"] diff --git a/bandwidth/models/conference_member.py b/bandwidth/models/conference_member.py index a435b4fc..fc8b4ffb 100644 --- a/bandwidth/models/conference_member.py +++ b/bandwidth/models/conference_member.py @@ -29,7 +29,7 @@ class ConferenceMember(BaseModel): """ # noqa: E501 call_id: Optional[StrictStr] = Field(default=None, description="The call id associated with the event.", alias="callId") conference_id: Optional[StrictStr] = Field(default=None, description="The unique, Bandwidth-generated ID of the conference that was recorded", alias="conferenceId") - member_url: Optional[StrictStr] = Field(default=None, description="A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint.", alias="memberUrl") + member_url: Optional[StrictStr] = Field(default=None, description="A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember) endpoint.", alias="memberUrl") mute: Optional[StrictBool] = Field(default=None, description="Whether or not this member is currently muted. Members who are muted are still able to hear other participants. If used in a PUT request, updates this member's mute status. Has no effect if omitted.") hold: Optional[StrictBool] = Field(default=None, description="Whether or not this member is currently on hold. Members who are on hold are not able to hear or speak in the conference. If used in a PUT request, updates this member's hold status. Has no effect if omitted.") call_ids_to_coach: Optional[List[StrictStr]] = Field(default=None, description="If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. If present in a PUT request, modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join.", alias="callIdsToCoach") diff --git a/bandwidth/models/multi_channel_message_response_data.py b/bandwidth/models/multi_channel_message_response_data.py index 459c0eda..af1e54ae 100644 --- a/bandwidth/models/multi_channel_message_response_data.py +++ b/bandwidth/models/multi_channel_message_response_data.py @@ -32,7 +32,7 @@ class MultiChannelMessageResponseData(BaseModel): """ The data returned in a multichannel message response. """ # noqa: E501 - message_id: StrictStr = Field(description="The ID of the message.", alias="messageId") + id: StrictStr = Field(description="The ID of the message.") time: datetime = Field(description="The time the message was received by the Bandwidth API.") direction: MessageDirectionEnum to: List[StrictStr] = Field(description="The destination phone number(s) of the message, in E164 format.") @@ -41,7 +41,7 @@ class MultiChannelMessageResponseData(BaseModel): priority: Optional[PriorityEnum] = None expiration: Optional[datetime] = Field(default=None, description="A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future.") additional_properties: Dict[str, Any] = {} - __properties: ClassVar[List[str]] = ["messageId", "time", "direction", "to", "channelList", "tag", "priority", "expiration"] + __properties: ClassVar[List[str]] = ["id", "time", "direction", "to", "channelList", "tag", "priority", "expiration"] model_config = ConfigDict( populate_by_name=True, @@ -108,7 +108,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "messageId": obj.get("messageId"), + "id": obj.get("id"), "time": obj.get("time"), "direction": obj.get("direction"), "to": obj.get("to"), diff --git a/docs/CallTranscriptionMetadata.md b/docs/CallTranscriptionMetadata.md index 744e3bbc..29b3b933 100644 --- a/docs/CallTranscriptionMetadata.md +++ b/docs/CallTranscriptionMetadata.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **transcription_id** | **str** | The programmable voice API transcription ID. | [optional] **transcription_name** | **str** | The programmable voice API transcription name. This name could be provided by the user when creating the transcription. | [optional] -**transcription_url** | **str** | A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. | [optional] +**transcription_url** | **str** | A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription) endpoint. | [optional] ## Example diff --git a/docs/ConferenceMember.md b/docs/ConferenceMember.md index 8f3f9720..056e9ecb 100644 --- a/docs/ConferenceMember.md +++ b/docs/ConferenceMember.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **call_id** | **str** | The call id associated with the event. | [optional] **conference_id** | **str** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] -**member_url** | **str** | A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint. | [optional] +**member_url** | **str** | A URL that may be used to retrieve information about or update the state of this conference member. This is the URL of this member's [Get Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember) endpoint. | [optional] **mute** | **bool** | Whether or not this member is currently muted. Members who are muted are still able to hear other participants. If used in a PUT request, updates this member's mute status. Has no effect if omitted. | [optional] **hold** | **bool** | Whether or not this member is currently on hold. Members who are on hold are not able to hear or speak in the conference. If used in a PUT request, updates this member's hold status. Has no effect if omitted. | [optional] **call_ids_to_coach** | **List[str]** | If this member had a value set for `callIdsToCoach` in its [Conference](/docs/voice/bxml/conference) verb or this list was added with a previous PUT request to modify the member, this is that list of calls. If present in a PUT request, modifies the calls that this member is coaching. Has no effect if omitted. See the documentation for the [Conference](/docs/voice/bxml/conference) verb for more details about coaching. Note that this will not add the matching calls to the conference; each call must individually execute a Conference verb to join. | [optional] diff --git a/docs/MessagesApi.md b/docs/MessagesApi.md index 132ca09d..cab2fc2e 100644 --- a/docs/MessagesApi.md +++ b/docs/MessagesApi.md @@ -117,7 +117,6 @@ from bandwidth.models.message_status_enum import MessageStatusEnum from bandwidth.models.message_type_enum import MessageTypeEnum from bandwidth.models.messages_list import MessagesList from bandwidth.models.product_type_enum import ProductTypeEnum -from bandwidth.models.product_type_enum import ProductTypeEnum from bandwidth.rest import ApiException from pprint import pprint diff --git a/docs/MultiChannelMessageResponseData.md b/docs/MultiChannelMessageResponseData.md index 3f153054..01efbb5e 100644 --- a/docs/MultiChannelMessageResponseData.md +++ b/docs/MultiChannelMessageResponseData.md @@ -6,7 +6,7 @@ The data returned in a multichannel message response. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**message_id** | **str** | The ID of the message. | +**id** | **str** | The ID of the message. | **time** | **datetime** | The time the message was received by the Bandwidth API. | **direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | **to** | **List[str]** | The destination phone number(s) of the message, in E164 format. | diff --git a/docs/TranscriptionsApi.md b/docs/TranscriptionsApi.md index 3fa1f2ce..889dc92b 100644 --- a/docs/TranscriptionsApi.md +++ b/docs/TranscriptionsApi.md @@ -4,15 +4,15 @@ All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- -[**delete_real_time_transcription**](TranscriptionsApi.md#delete_real_time_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription -[**get_real_time_transcription**](TranscriptionsApi.md#get_real_time_transcription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription -[**list_real_time_transcriptions**](TranscriptionsApi.md#list_real_time_transcriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription +[**delete_real_time_transcription**](TranscriptionsApi.md#delete_real_time_transcription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription +[**get_real_time_transcription**](TranscriptionsApi.md#get_real_time_transcription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription +[**list_real_time_transcriptions**](TranscriptionsApi.md#list_real_time_transcriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions # **delete_real_time_transcription** > delete_real_time_transcription(account_id, call_id, transcription_id) -Delete a specific transcription +Delete Real-time Transcription Delete the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). Note: After the deletion is requested and a `200` is returned, the transcription will not be accessible anymore. However, it is not deleted immediately. This deletion process, while transparent and irreversible, can take an additional 24 to 48 hours. @@ -51,7 +51,7 @@ with bandwidth.ApiClient(configuration) as api_client: transcription_id = 't-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' # str | Programmable Voice API Transcription ID. try: - # Delete a specific transcription + # Delete Real-time Transcription api_instance.delete_real_time_transcription(account_id, call_id, transcription_id) except Exception as e: print("Exception when calling TranscriptionsApi->delete_real_time_transcription: %s\n" % e) @@ -100,7 +100,7 @@ void (empty response body) # **get_real_time_transcription** > CallTranscriptionResponse get_real_time_transcription(account_id, call_id, transcription_id) -Retrieve a specific transcription +Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -140,7 +140,7 @@ with bandwidth.ApiClient(configuration) as api_client: transcription_id = 't-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' # str | Programmable Voice API Transcription ID. try: - # Retrieve a specific transcription + # Get Real-time Transcription api_response = api_instance.get_real_time_transcription(account_id, call_id, transcription_id) print("The response of TranscriptionsApi->get_real_time_transcription:\n") pprint(api_response) @@ -191,9 +191,9 @@ Name | Type | Description | Notes # **list_real_time_transcriptions** > List[CallTranscriptionMetadata] list_real_time_transcriptions(account_id, call_id) -Enumerate transcriptions made with StartTranscription +List Real-time Transcriptions -Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). +List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). ### Example @@ -230,7 +230,7 @@ with bandwidth.ApiClient(configuration) as api_client: call_id = 'c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85' # str | Programmable Voice API Call ID. try: - # Enumerate transcriptions made with StartTranscription + # List Real-time Transcriptions api_response = api_instance.list_real_time_transcriptions(account_id, call_id) print("The response of TranscriptionsApi->list_real_time_transcriptions:\n") pprint(api_response) From 35f8760165b8bb59b5826436e8058c7ce6d5ed9f Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 9 Sep 2025 13:32:43 -0400 Subject: [PATCH 2/2] update test --- .../unit/models/test_multi_channel_message_response_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/unit/models/test_multi_channel_message_response_data.py b/test/unit/models/test_multi_channel_message_response_data.py index 1aa6c2bb..86a94eee 100644 --- a/test/unit/models/test_multi_channel_message_response_data.py +++ b/test/unit/models/test_multi_channel_message_response_data.py @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> MultiChannelMessageResponseData: optional params are included """ if include_optional: return MultiChannelMessageResponseData( - message_id = '1589228074636lm4k2je7j7jklbn2', + id = '1589228074636lm4k2je7j7jklbn2', time = '2025-01-01T18:20:16Z', direction = 'in', to = ["+15554443333"], @@ -54,7 +54,7 @@ def make_instance(self, include_optional) -> MultiChannelMessageResponseData: ) else: return MultiChannelMessageResponseData( - message_id = '1589228074636lm4k2je7j7jklbn2', + id = '1589228074636lm4k2je7j7jklbn2', time = '2025-01-01T18:20:16Z', direction = 'in', to = ["+15554443333"], @@ -66,7 +66,7 @@ def testMultiChannelMessageResponseData(self): instance = self.make_instance(True) assert instance is not None assert isinstance(instance, MultiChannelMessageResponseData) - assert instance.message_id == '1589228074636lm4k2je7j7jklbn2' + assert instance.id == '1589228074636lm4k2je7j7jklbn2' assert isinstance(instance.time, datetime) assert instance.direction == 'in' assert instance.to == ["+15554443333"]