diff --git a/Bandwidth.Standard.sln b/Bandwidth.Standard.sln index ce82d3c..6ed7907 100644 --- a/Bandwidth.Standard.sln +++ b/Bandwidth.Standard.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{FC12FAFD-399A-49A9-8C48-BF9F76169603}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{2EE37635-F4D1-483D-AF82-A519BA7844FB}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FC12FAFD-399A-49A9-8C48-BF9F76169603}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FC12FAFD-399A-49A9-8C48-BF9F76169603}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FC12FAFD-399A-49A9-8C48-BF9F76169603}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FC12FAFD-399A-49A9-8C48-BF9F76169603}.Release|Any CPU.Build.0 = Release|Any CPU + {2EE37635-F4D1-483D-AF82-A519BA7844FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2EE37635-F4D1-483D-AF82-A519BA7844FB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2EE37635-F4D1-483D-AF82-A519BA7844FB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2EE37635-F4D1-483D-AF82-A519BA7844FB}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/README.md b/README.md index d4bc738..ac13b98 100644 --- a/README.md +++ b/README.md @@ -154,9 +154,9 @@ Class | Method | HTTP request | Description *TollFreeVerificationApi* | [**RequestTollFreeVerification**](docs/TollFreeVerificationApi.md#requesttollfreeverification) | **POST** /accounts/{accountId}/tollFreeVerification | Request Toll-Free Verification *TollFreeVerificationApi* | [**UpdateTollFreeVerificationRequest**](docs/TollFreeVerificationApi.md#updatetollfreeverificationrequest) | **PUT** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Update Toll-Free Verification Request *TollFreeVerificationApi* | [**UpdateWebhookSubscription**](docs/TollFreeVerificationApi.md#updatewebhooksubscription) | **PUT** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Update Webhook Subscription -*TranscriptionsApi* | [**DeleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription -*TranscriptionsApi* | [**GetRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription -*TranscriptionsApi* | [**ListRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription +*TranscriptionsApi* | [**DeleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription +*TranscriptionsApi* | [**GetRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription +*TranscriptionsApi* | [**ListRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions diff --git a/api/openapi.yaml b/api/openapi.yaml index 7e51390..5a277b7 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -4075,7 +4075,7 @@ paths: url: https://voice.bandwidth.com/api/v2 /accounts/{accountId}/calls/{callId}/transcriptions: get: - description: "Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription)." + description: "List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription)." operationId: listRealTimeTranscriptions parameters: - description: Your Bandwidth Account ID. @@ -4182,7 +4182,7 @@ paths: schema: $ref: '#/components/schemas/voiceApiError' description: Internal Server Error - summary: Enumerate transcriptions made with StartTranscription + summary: List Real-time Transcriptions tags: - Transcriptions servers: @@ -4305,7 +4305,7 @@ paths: schema: $ref: '#/components/schemas/voiceApiError' description: Internal Server Error - summary: Delete a specific transcription + summary: Delete Real-time Transcription tags: - Transcriptions get: @@ -4426,7 +4426,7 @@ paths: schema: $ref: '#/components/schemas/voiceApiError' description: Internal Server Error - summary: Retrieve a specific transcription + summary: Get Real-time Transcription tags: - Transcriptions servers: @@ -8124,7 +8124,7 @@ components: - type title: CreateMessageRequestError type: object - messageId: + id: description: The ID of the message. example: 1589228074636lm4k2je7j7jklbn2 type: string @@ -8447,8 +8447,8 @@ components: text: Hello world type: REPLY text: Hello world - messageId: 1589228074636lm4k2je7j7jklbn2 expiration: 2021-02-01T11:29:18-05:00 + id: 1589228074636lm4k2je7j7jklbn2 time: 2025-01-01T18:20:16Z to: - "+15554443333" @@ -9114,8 +9114,8 @@ components: text: Hello world type: REPLY text: Hello world - messageId: 1589228074636lm4k2je7j7jklbn2 expiration: 2021-02-01T11:29:18-05:00 + id: 1589228074636lm4k2je7j7jklbn2 time: 2025-01-01T18:20:16Z to: - "+15554443333" @@ -9123,7 +9123,7 @@ components: priority: default direction: in properties: - messageId: + id: description: The ID of the message. example: 1589228074636lm4k2je7j7jklbn2 type: string @@ -9168,7 +9168,7 @@ components: required: - channelList - direction - - messageId + - id - time - to type: object @@ -10328,8 +10328,8 @@ components: 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) + [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. example: https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85 format: uri @@ -10667,7 +10667,7 @@ components: transcriptionUrl: description: |- A URL that may be used to retrieve the transcription itself. This points to the - [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. + [Get Call 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 type: string type: object diff --git a/bandwidth.yml b/bandwidth.yml index 004fb91..b7f7968 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/docs/CallTranscriptionMetadata.md b/docs/CallTranscriptionMetadata.md index 12ebe02..1aeca45 100644 --- a/docs/CallTranscriptionMetadata.md +++ b/docs/CallTranscriptionMetadata.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **TranscriptionId** | **string** | The programmable voice API transcription ID. | [optional] **TranscriptionName** | **string** | The programmable voice API transcription name. This name could be provided by the user when creating the transcription. | [optional] -**TranscriptionUrl** | **string** | A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. | [optional] +**TranscriptionUrl** | **string** | 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] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ConferenceMember.md b/docs/ConferenceMember.md index 95d6306..8d22c4b 100644 --- a/docs/ConferenceMember.md +++ b/docs/ConferenceMember.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CallId** | **string** | The call id associated with the event. | [optional] **ConferenceId** | **string** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] -**MemberUrl** | **string** | 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] +**MemberUrl** | **string** | 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] **CallIdsToCoach** | **List<string>** | 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/MultiChannelMessageResponseData.md b/docs/MultiChannelMessageResponseData.md index f5228dd..10c76a7 100644 --- a/docs/MultiChannelMessageResponseData.md +++ b/docs/MultiChannelMessageResponseData.md @@ -5,7 +5,7 @@ The data returned in a multichannel message response. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MessageId** | **string** | The ID of the message. | +**Id** | **string** | The ID of the message. | **Time** | **DateTime** | The time the message was received by the Bandwidth API. | **Direction** | **MessageDirectionEnum** | | **To** | **List<string>** | The destination phone number(s) of the message, in E164 format. | diff --git a/docs/TranscriptionsApi.md b/docs/TranscriptionsApi.md index 14ef38b..577c33a 100644 --- a/docs/TranscriptionsApi.md +++ b/docs/TranscriptionsApi.md @@ -4,15 +4,15 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**DeleteRealTimeTranscription**](TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription | -| [**GetRealTimeTranscription**](TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription | -| [**ListRealTimeTranscriptions**](TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription | +| [**DeleteRealTimeTranscription**](TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription | +| [**GetRealTimeTranscription**](TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription | +| [**ListRealTimeTranscriptions**](TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions | # **DeleteRealTimeTranscription** > void DeleteRealTimeTranscription (string accountId, string callId, string transcriptionId) -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. @@ -43,7 +43,7 @@ namespace Example try { - // Delete a specific transcription + // Delete Real-time Transcription apiInstance.DeleteRealTimeTranscription(accountId, callId, transcriptionId); } catch (ApiException e) @@ -63,7 +63,7 @@ This returns an ApiResponse object which contains the response data, status code ```csharp try { - // Delete a specific transcription + // Delete Real-time Transcription apiInstance.DeleteRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId); } catch (ApiException e) @@ -115,7 +115,7 @@ void (empty response body) # **GetRealTimeTranscription** > CallTranscriptionResponse GetRealTimeTranscription (string accountId, string callId, string transcriptionId) -Retrieve a specific transcription +Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -146,7 +146,7 @@ namespace Example try { - // Retrieve a specific transcription + // Get Real-time Transcription CallTranscriptionResponse result = apiInstance.GetRealTimeTranscription(accountId, callId, transcriptionId); Debug.WriteLine(result); } @@ -167,7 +167,7 @@ This returns an ApiResponse object which contains the response data, status code ```csharp try { - // Retrieve a specific transcription + // Get Real-time Transcription ApiResponse response = apiInstance.GetRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); @@ -222,9 +222,9 @@ catch (ApiException e) # **ListRealTimeTranscriptions** > List<CallTranscriptionMetadata> ListRealTimeTranscriptions (string accountId, string callId) -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 ```csharp @@ -252,7 +252,7 @@ namespace Example try { - // Enumerate transcriptions made with StartTranscription + // List Real-time Transcriptions List result = apiInstance.ListRealTimeTranscriptions(accountId, callId); Debug.WriteLine(result); } @@ -273,7 +273,7 @@ This returns an ApiResponse object which contains the response data, status code ```csharp try { - // Enumerate transcriptions made with StartTranscription + // List Real-time Transcriptions ApiResponse> response = apiInstance.ListRealTimeTranscriptionsWithHttpInfo(accountId, callId); Debug.Write("Status Code: " + response.StatusCode); Debug.Write("Response Headers: " + response.Headers); diff --git a/src/Bandwidth.Standard.Test/Unit/Model/MultiChannelMessageResponseDataTests.cs b/src/Bandwidth.Standard.Test/Unit/Model/MultiChannelMessageResponseDataTests.cs index 1561c33..b8afb93 100644 --- a/src/Bandwidth.Standard.Test/Unit/Model/MultiChannelMessageResponseDataTests.cs +++ b/src/Bandwidth.Standard.Test/Unit/Model/MultiChannelMessageResponseDataTests.cs @@ -36,7 +36,7 @@ public class MultiChannelMessageResponseDataTests : IDisposable public MultiChannelMessageResponseDataTests() { instance = new MultiChannelMessageResponseData( - messageId: "msg-1234567890", + id: "msg-1234567890", time: DateTime.Now, direction: MessageDirectionEnum.In, to: new List { "+15551234567" }, @@ -62,13 +62,13 @@ public void MultiChannelMessageResponseDataInstanceTest() } /// - /// Test the property 'MessageId' + /// Test the property 'Id' /// [Fact] - public void MessageIdTest() + public void IdTest() { - Assert.IsType(instance.MessageId); - Assert.Equal("msg-1234567890", instance.MessageId); + Assert.IsType(instance.Id); + Assert.Equal("msg-1234567890", instance.Id); } /// diff --git a/src/Bandwidth.Standard/Api/TranscriptionsApi.cs b/src/Bandwidth.Standard/Api/TranscriptionsApi.cs index 8323322..e4f5224 100644 --- a/src/Bandwidth.Standard/Api/TranscriptionsApi.cs +++ b/src/Bandwidth.Standard/Api/TranscriptionsApi.cs @@ -28,7 +28,7 @@ public interface ITranscriptionsApiSync : IApiAccessor { #region Synchronous Operations /// - /// 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. @@ -42,7 +42,7 @@ public interface ITranscriptionsApiSync : IApiAccessor void DeleteRealTimeTranscription(string accountId, string callId, string transcriptionId, int operationIndex = 0); /// - /// 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. @@ -55,7 +55,7 @@ public interface ITranscriptionsApiSync : IApiAccessor /// ApiResponse of Object(void) ApiResponse DeleteRealTimeTranscriptionWithHttpInfo(string accountId, string callId, string transcriptionId, int operationIndex = 0); /// - /// Retrieve a specific transcription + /// Get Real-time Transcription /// /// /// Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -69,7 +69,7 @@ public interface ITranscriptionsApiSync : IApiAccessor CallTranscriptionResponse GetRealTimeTranscription(string accountId, string callId, string transcriptionId, int operationIndex = 0); /// - /// Retrieve a specific transcription + /// Get Real-time Transcription /// /// /// Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -82,10 +82,10 @@ public interface ITranscriptionsApiSync : IApiAccessor /// ApiResponse of CallTranscriptionResponse ApiResponse GetRealTimeTranscriptionWithHttpInfo(string accountId, string callId, string transcriptionId, int operationIndex = 0); /// - /// 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). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -95,10 +95,10 @@ public interface ITranscriptionsApiSync : IApiAccessor List ListRealTimeTranscriptions(string accountId, string callId, int operationIndex = 0); /// - /// 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). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -116,7 +116,7 @@ public interface ITranscriptionsApiAsync : IApiAccessor { #region Asynchronous Operations /// - /// 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. @@ -131,7 +131,7 @@ public interface ITranscriptionsApiAsync : IApiAccessor System.Threading.Tasks.Task DeleteRealTimeTranscriptionAsync(string accountId, string callId, string transcriptionId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// 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. @@ -145,7 +145,7 @@ public interface ITranscriptionsApiAsync : IApiAccessor /// Task of ApiResponse System.Threading.Tasks.Task> DeleteRealTimeTranscriptionWithHttpInfoAsync(string accountId, string callId, string transcriptionId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Retrieve a specific transcription + /// Get Real-time Transcription /// /// /// Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -160,7 +160,7 @@ public interface ITranscriptionsApiAsync : IApiAccessor System.Threading.Tasks.Task GetRealTimeTranscriptionAsync(string accountId, string callId, string transcriptionId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// Retrieve a specific transcription + /// Get Real-time Transcription /// /// /// Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). @@ -174,10 +174,10 @@ public interface ITranscriptionsApiAsync : IApiAccessor /// Task of ApiResponse (CallTranscriptionResponse) System.Threading.Tasks.Task> GetRealTimeTranscriptionWithHttpInfoAsync(string accountId, string callId, string transcriptionId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// 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). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -188,10 +188,10 @@ public interface ITranscriptionsApiAsync : IApiAccessor System.Threading.Tasks.Task> ListRealTimeTranscriptionsAsync(string accountId, string callId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)); /// - /// 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). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -321,7 +321,7 @@ public Bandwidth.Standard.Client.ExceptionFactory ExceptionFactory } /// - /// Delete a specific 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. + /// 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. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -335,7 +335,7 @@ public void DeleteRealTimeTranscription(string accountId, string callId, string } /// - /// Delete a specific 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. + /// 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. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -414,7 +414,7 @@ public Bandwidth.Standard.Client.ApiResponse DeleteRealTimeTranscription } /// - /// Delete a specific 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. + /// 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. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -429,7 +429,7 @@ public Bandwidth.Standard.Client.ApiResponse DeleteRealTimeTranscription } /// - /// Delete a specific 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. + /// 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. /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -511,7 +511,7 @@ public Bandwidth.Standard.Client.ApiResponse DeleteRealTimeTranscription } /// - /// Retrieve a specific transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -526,7 +526,7 @@ public CallTranscriptionResponse GetRealTimeTranscription(string accountId, stri } /// - /// Retrieve a specific transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -605,7 +605,7 @@ public Bandwidth.Standard.Client.ApiResponse GetRealT } /// - /// Retrieve a specific transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -621,7 +621,7 @@ public Bandwidth.Standard.Client.ApiResponse GetRealT } /// - /// Retrieve a specific transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// Get Real-time Transcription Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -703,7 +703,7 @@ public Bandwidth.Standard.Client.ApiResponse GetRealT } /// - /// Enumerate transcriptions made with StartTranscription Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// List Real-time Transcriptions List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -717,7 +717,7 @@ public List ListRealTimeTranscriptions(string account } /// - /// Enumerate transcriptions made with StartTranscription Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// List Real-time Transcriptions List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -788,7 +788,7 @@ public Bandwidth.Standard.Client.ApiResponse> Li } /// - /// Enumerate transcriptions made with StartTranscription Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// List Real-time Transcriptions List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. @@ -803,7 +803,7 @@ public Bandwidth.Standard.Client.ApiResponse> Li } /// - /// Enumerate transcriptions made with StartTranscription Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). + /// List Real-time Transcriptions List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription). /// /// Thrown when fails to make API call /// Your Bandwidth Account ID. diff --git a/src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs b/src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs index 983a602..f888265 100644 --- a/src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs +++ b/src/Bandwidth.Standard/Model/CallTranscriptionMetadata.cs @@ -37,7 +37,7 @@ public partial class CallTranscriptionMetadata : IValidatableObject /// /// The programmable voice API transcription ID.. /// The programmable voice API transcription name. This name could be provided by the user when creating the transcription.. - /// A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.. + /// 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.. public CallTranscriptionMetadata(string transcriptionId = default(string), string transcriptionName = default(string), string transcriptionUrl = default(string)) { this.TranscriptionId = transcriptionId; @@ -62,9 +62,9 @@ public partial class CallTranscriptionMetadata : IValidatableObject public string TranscriptionName { get; set; } /// - /// A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. + /// 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. /// - /// A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint. + /// 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. /// https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b [DataMember(Name = "transcriptionUrl", EmitDefaultValue = false)] public string TranscriptionUrl { get; set; } diff --git a/src/Bandwidth.Standard/Model/ConferenceMember.cs b/src/Bandwidth.Standard/Model/ConferenceMember.cs index 1543c48..5569c2e 100644 --- a/src/Bandwidth.Standard/Model/ConferenceMember.cs +++ b/src/Bandwidth.Standard/Model/ConferenceMember.cs @@ -37,7 +37,7 @@ public partial class ConferenceMember : IValidatableObject /// /// The call id associated with the event.. /// The unique, Bandwidth-generated ID of the conference that was recorded. - /// 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.. + /// 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.. /// 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.. /// 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.. /// 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.. @@ -68,9 +68,9 @@ public partial class ConferenceMember : IValidatableObject public string ConferenceId { get; set; } /// - /// 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. + /// 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. /// - /// 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. + /// 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. /// https://voice.bandwidth.com/api/v2/accounts/9900000/conferences/conf-fe23a767-a75a5b77-20c5-4cca-b581-cbbf0776eca9/members/c-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85 [DataMember(Name = "memberUrl", EmitDefaultValue = false)] public string MemberUrl { get; set; } diff --git a/src/Bandwidth.Standard/Model/MultiChannelMessageResponseData.cs b/src/Bandwidth.Standard/Model/MultiChannelMessageResponseData.cs index 6757150..8329400 100644 --- a/src/Bandwidth.Standard/Model/MultiChannelMessageResponseData.cs +++ b/src/Bandwidth.Standard/Model/MultiChannelMessageResponseData.cs @@ -52,7 +52,7 @@ protected MultiChannelMessageResponseData() { } /// /// Initializes a new instance of the class. /// - /// The ID of the message. (required). + /// The ID of the message. (required). /// The time the message was received by the Bandwidth API. (required). /// direction (required). /// The destination phone number(s) of the message, in E164 format. (required). @@ -60,14 +60,14 @@ protected MultiChannelMessageResponseData() { } /// A custom string that will be included in callback events of the message. Max 1024 characters.. /// priority. /// 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.. - public MultiChannelMessageResponseData(string messageId = default(string), DateTime time = default(DateTime), MessageDirectionEnum direction = default(MessageDirectionEnum), List to = default(List), List channelList = default(List), string tag = default(string), PriorityEnum? priority = default(PriorityEnum?), DateTime expiration = default(DateTime)) + public MultiChannelMessageResponseData(string id = default(string), DateTime time = default(DateTime), MessageDirectionEnum direction = default(MessageDirectionEnum), List to = default(List), List channelList = default(List), string tag = default(string), PriorityEnum? priority = default(PriorityEnum?), DateTime expiration = default(DateTime)) { - // to ensure "messageId" is required (not null) - if (messageId == null) + // to ensure "id" is required (not null) + if (id == null) { - throw new ArgumentNullException("messageId is a required property for MultiChannelMessageResponseData and cannot be null"); + throw new ArgumentNullException("id is a required property for MultiChannelMessageResponseData and cannot be null"); } - this.MessageId = messageId; + this.Id = id; this.Time = time; this.Direction = direction; // to ensure "to" is required (not null) @@ -92,8 +92,8 @@ protected MultiChannelMessageResponseData() { } /// /// The ID of the message. /// 1589228074636lm4k2je7j7jklbn2 - [DataMember(Name = "messageId", IsRequired = true, EmitDefaultValue = true)] - public string MessageId { get; set; } + [DataMember(Name = "id", IsRequired = true, EmitDefaultValue = true)] + public string Id { get; set; } /// /// The time the message was received by the Bandwidth API. @@ -142,7 +142,7 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class MultiChannelMessageResponseData {\n"); - sb.Append(" MessageId: ").Append(MessageId).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Time: ").Append(Time).Append("\n"); sb.Append(" Direction: ").Append(Direction).Append("\n"); sb.Append(" To: ").Append(To).Append("\n");