Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 12 additions & 11 deletions bandwidth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -1929,7 +1929,7 @@ components:
required:
- type
- description
messageId:
id:
type: string
description: The ID of the message.
example: 1589228074636lm4k2je7j7jklbn2
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -2586,7 +2586,7 @@ components:
expiration:
$ref: '#/components/schemas/expiration'
required:
- messageId
- id
- time
- direction
- to
Expand Down Expand Up @@ -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: >-
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion bandwidth/api/messages_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 12 additions & 12 deletions bandwidth/api/transcriptions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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).

Expand Down Expand Up @@ -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).

Expand Down Expand Up @@ -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).

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion bandwidth/models/call_transcription_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 1 addition & 1 deletion bandwidth/models/conference_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
6 changes: 3 additions & 3 deletions bandwidth/models/multi_channel_message_response_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand All @@ -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,
Expand Down Expand Up @@ -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"),
Expand Down
2 changes: 1 addition & 1 deletion docs/CallTranscriptionMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/ConferenceMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion docs/MessagesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docs/MultiChannelMessageResponseData.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
Loading