Skip to content

Commit 97c41c7

Browse files
band-swi-release-engineering[bot]DX-Bandwidthckoegel
authored
SWI-8616 Update SDK Based on Recent Spec Changes (#161)
* Generate SDK with OpenAPI Generator Version * update test --------- Co-authored-by: DX-Bandwidth <[email protected]> Co-authored-by: ckoegel <[email protected]>
1 parent a10a263 commit 97c41c7

13 files changed

+96
-95
lines changed

Bandwidth.Standard.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{FC12FAFD-399A-49A9-8C48-BF9F76169603}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{2EE37635-F4D1-483D-AF82-A519BA7844FB}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{FC12FAFD-399A-49A9-8C48-BF9F76169603}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{FC12FAFD-399A-49A9-8C48-BF9F76169603}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{FC12FAFD-399A-49A9-8C48-BF9F76169603}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{FC12FAFD-399A-49A9-8C48-BF9F76169603}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{2EE37635-F4D1-483D-AF82-A519BA7844FB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{2EE37635-F4D1-483D-AF82-A519BA7844FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{2EE37635-F4D1-483D-AF82-A519BA7844FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{2EE37635-F4D1-483D-AF82-A519BA7844FB}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ Class | Method | HTTP request | Description
154154
*TollFreeVerificationApi* | [**RequestTollFreeVerification**](docs/TollFreeVerificationApi.md#requesttollfreeverification) | **POST** /accounts/{accountId}/tollFreeVerification | Request Toll-Free Verification
155155
*TollFreeVerificationApi* | [**UpdateTollFreeVerificationRequest**](docs/TollFreeVerificationApi.md#updatetollfreeverificationrequest) | **PUT** /accounts/{accountId}/phoneNumbers/{phoneNumber}/tollFreeVerification | Update Toll-Free Verification Request
156156
*TollFreeVerificationApi* | [**UpdateWebhookSubscription**](docs/TollFreeVerificationApi.md#updatewebhooksubscription) | **PUT** /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id} | Update Webhook Subscription
157-
*TranscriptionsApi* | [**DeleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription
158-
*TranscriptionsApi* | [**GetRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription
159-
*TranscriptionsApi* | [**ListRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription
157+
*TranscriptionsApi* | [**DeleteRealTimeTranscription**](docs/TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription
158+
*TranscriptionsApi* | [**GetRealTimeTranscription**](docs/TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription
159+
*TranscriptionsApi* | [**ListRealTimeTranscriptions**](docs/TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions
160160

161161

162162
<a id="documentation-for-models"></a>

api/openapi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4075,7 +4075,7 @@ paths:
40754075
url: https://voice.bandwidth.com/api/v2
40764076
/accounts/{accountId}/calls/{callId}/transcriptions:
40774077
get:
4078-
description: "Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription)."
4078+
description: "List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription)."
40794079
operationId: listRealTimeTranscriptions
40804080
parameters:
40814081
- description: Your Bandwidth Account ID.
@@ -4182,7 +4182,7 @@ paths:
41824182
schema:
41834183
$ref: '#/components/schemas/voiceApiError'
41844184
description: Internal Server Error
4185-
summary: Enumerate transcriptions made with StartTranscription
4185+
summary: List Real-time Transcriptions
41864186
tags:
41874187
- Transcriptions
41884188
servers:
@@ -4305,7 +4305,7 @@ paths:
43054305
schema:
43064306
$ref: '#/components/schemas/voiceApiError'
43074307
description: Internal Server Error
4308-
summary: Delete a specific transcription
4308+
summary: Delete Real-time Transcription
43094309
tags:
43104310
- Transcriptions
43114311
get:
@@ -4426,7 +4426,7 @@ paths:
44264426
schema:
44274427
$ref: '#/components/schemas/voiceApiError'
44284428
description: Internal Server Error
4429-
summary: Retrieve a specific transcription
4429+
summary: Get Real-time Transcription
44304430
tags:
44314431
- Transcriptions
44324432
servers:
@@ -8124,7 +8124,7 @@ components:
81248124
- type
81258125
title: CreateMessageRequestError
81268126
type: object
8127-
messageId:
8127+
id:
81288128
description: The ID of the message.
81298129
example: 1589228074636lm4k2je7j7jklbn2
81308130
type: string
@@ -8447,8 +8447,8 @@ components:
84478447
text: Hello world
84488448
type: REPLY
84498449
text: Hello world
8450-
messageId: 1589228074636lm4k2je7j7jklbn2
84518450
expiration: 2021-02-01T11:29:18-05:00
8451+
id: 1589228074636lm4k2je7j7jklbn2
84528452
time: 2025-01-01T18:20:16Z
84538453
to:
84548454
- "+15554443333"
@@ -9114,16 +9114,16 @@ components:
91149114
text: Hello world
91159115
type: REPLY
91169116
text: Hello world
9117-
messageId: 1589228074636lm4k2je7j7jklbn2
91189117
expiration: 2021-02-01T11:29:18-05:00
9118+
id: 1589228074636lm4k2je7j7jklbn2
91199119
time: 2025-01-01T18:20:16Z
91209120
to:
91219121
- "+15554443333"
91229122
tag: custom string
91239123
priority: default
91249124
direction: in
91259125
properties:
9126-
messageId:
9126+
id:
91279127
description: The ID of the message.
91289128
example: 1589228074636lm4k2je7j7jklbn2
91299129
type: string
@@ -9168,7 +9168,7 @@ components:
91689168
required:
91699169
- channelList
91709170
- direction
9171-
- messageId
9171+
- id
91729172
- time
91739173
- to
91749174
type: object
@@ -10328,8 +10328,8 @@ components:
1032810328
description: |-
1032910329
A URL that may be used to retrieve information about or update
1033010330
the state of this conference member. This is the URL of this member's
10331-
[Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint
10332-
and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember)
10331+
[Get Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember) endpoint
10332+
and [Modify Conference Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember)
1033310333
endpoint.
1033410334
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
1033510335
format: uri
@@ -10667,7 +10667,7 @@ components:
1066710667
transcriptionUrl:
1066810668
description: |-
1066910669
A URL that may be used to retrieve the transcription itself. This points to the
10670-
[Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.
10670+
[Get Call Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription) endpoint.
1067110671
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
1067210672
type: string
1067310673
type: object

bandwidth.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,9 +1157,9 @@ paths:
11571157
get:
11581158
tags:
11591159
- Transcriptions
1160-
summary: Enumerate transcriptions made with StartTranscription
1160+
summary: List Real-time Transcriptions
11611161
description: >-
1162-
Enumerates the transcriptions created on this call via
1162+
List the transcriptions created on this call via
11631163
[startTranscription](/docs/voice/bxml/startTranscription).
11641164
operationId: listRealTimeTranscriptions
11651165
parameters:
@@ -1189,7 +1189,7 @@ paths:
11891189
get:
11901190
tags:
11911191
- Transcriptions
1192-
summary: Retrieve a specific transcription
1192+
summary: Get Real-time Transcription
11931193
description: >-
11941194
Retrieve the specified transcription that was created on this call via
11951195
[startTranscription](/docs/voice/bxml/startTranscription).
@@ -1220,7 +1220,7 @@ paths:
12201220
delete:
12211221
tags:
12221222
- Transcriptions
1223-
summary: Delete a specific transcription
1223+
summary: Delete Real-time Transcription
12241224
description: >-
12251225
Delete the specified transcription that was created on this call via
12261226
[startTranscription](/docs/voice/bxml/startTranscription).
@@ -1929,7 +1929,7 @@ components:
19291929
required:
19301930
- type
19311931
- description
1932-
messageId:
1932+
id:
19331933
type: string
19341934
description: The ID of the message.
19351935
example: 1589228074636lm4k2je7j7jklbn2
@@ -2549,8 +2549,8 @@ components:
25492549
description: The data returned in a multichannel message response.
25502550
type: object
25512551
properties:
2552-
messageId:
2553-
$ref: '#/components/schemas/messageId'
2552+
id:
2553+
$ref: '#/components/schemas/id'
25542554
time:
25552555
description: The time the message was received by the Bandwidth API.
25562556
type: string
@@ -2586,7 +2586,7 @@ components:
25862586
expiration:
25872587
$ref: '#/components/schemas/expiration'
25882588
required:
2589-
- messageId
2589+
- id
25902590
- time
25912591
- direction
25922592
- to
@@ -3738,11 +3738,12 @@ components:
37383738
the state of this conference member. This is the URL of this
37393739
member's
37403740
3741-
[Get Conference Member](/apis/voice/#operation/getConferenceMember)
3741+
[Get Conference
3742+
Member](/apis/voice-apis/voice/#tag/Conferences/operation/getConferenceMember)
37423743
endpoint
37433744
37443745
and [Modify Conference
3745-
Member](/apis/voice/#operation/updateConferenceMember)
3746+
Member](/apis/voice-apis/voice/#tag/Conferences/operation/updateConferenceMember)
37463747
37473748
endpoint.
37483749
example: >-
@@ -4094,7 +4095,7 @@ components:
40944095
points to the
40954096
40964097
[Get Call
4097-
Transcription](/apis/voice/#operation/getCallTranscription)
4098+
Transcription](/apis/voice-apis/voice/#tag/Transcriptions/operation/getRealTimeTranscription)
40984099
endpoint.
40994100
example: >-
41004101
https://voice.bandwidth.com/api/v2/accounts/9900000/calls/c-fef240ff-5cfc9091-8069-4863-a8c0-a4dcbbf1f1a4/transcriptions/t-3f758f24-c7a2fc78-7c91-401a-8b2e-e542f9c40d6b

docs/CallTranscriptionMetadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**TranscriptionId** | **string** | The programmable voice API transcription ID. | [optional]
88
**TranscriptionName** | **string** | The programmable voice API transcription name. This name could be provided by the user when creating the transcription. | [optional]
9-
**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]
9+
**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]
1010

1111
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1212

docs/ConferenceMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**CallId** | **string** | The call id associated with the event. | [optional]
88
**ConferenceId** | **string** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional]
9-
**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&#39;s [Get Conference Member](/apis/voice/#operation/getConferenceMember) endpoint and [Modify Conference Member](/apis/voice/#operation/updateConferenceMember) endpoint. | [optional]
9+
**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&#39;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]
1010
**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&#39;s mute status. Has no effect if omitted. | [optional]
1111
**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&#39;s hold status. Has no effect if omitted. | [optional]
1212
**CallIdsToCoach** | **List&lt;string&gt;** | If this member had a value set for &#x60;callIdsToCoach&#x60; 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]

docs/MultiChannelMessageResponseData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The data returned in a multichannel message response.
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**MessageId** | **string** | The ID of the message. |
8+
**Id** | **string** | The ID of the message. |
99
**Time** | **DateTime** | The time the message was received by the Bandwidth API. |
1010
**Direction** | **MessageDirectionEnum** | |
1111
**To** | **List&lt;string&gt;** | The destination phone number(s) of the message, in E164 format. |

docs/TranscriptionsApi.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ All URIs are relative to *http://localhost*
44

55
| Method | HTTP request | Description |
66
|--------|--------------|-------------|
7-
| [**DeleteRealTimeTranscription**](TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete a specific transcription |
8-
| [**GetRealTimeTranscription**](TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Retrieve a specific transcription |
9-
| [**ListRealTimeTranscriptions**](TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | Enumerate transcriptions made with StartTranscription |
7+
| [**DeleteRealTimeTranscription**](TranscriptionsApi.md#deleterealtimetranscription) | **DELETE** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Delete Real-time Transcription |
8+
| [**GetRealTimeTranscription**](TranscriptionsApi.md#getrealtimetranscription) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId} | Get Real-time Transcription |
9+
| [**ListRealTimeTranscriptions**](TranscriptionsApi.md#listrealtimetranscriptions) | **GET** /accounts/{accountId}/calls/{callId}/transcriptions | List Real-time Transcriptions |
1010

1111
<a id="deleterealtimetranscription"></a>
1212
# **DeleteRealTimeTranscription**
1313
> void DeleteRealTimeTranscription (string accountId, string callId, string transcriptionId)
1414
15-
Delete a specific transcription
15+
Delete Real-time Transcription
1616

1717
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.
1818

@@ -43,7 +43,7 @@ namespace Example
4343
4444
try
4545
{
46-
// Delete a specific transcription
46+
// Delete Real-time Transcription
4747
apiInstance.DeleteRealTimeTranscription(accountId, callId, transcriptionId);
4848
}
4949
catch (ApiException e)
@@ -63,7 +63,7 @@ This returns an ApiResponse object which contains the response data, status code
6363
```csharp
6464
try
6565
{
66-
// Delete a specific transcription
66+
// Delete Real-time Transcription
6767
apiInstance.DeleteRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId);
6868
}
6969
catch (ApiException e)
@@ -115,7 +115,7 @@ void (empty response body)
115115
# **GetRealTimeTranscription**
116116
> CallTranscriptionResponse GetRealTimeTranscription (string accountId, string callId, string transcriptionId)
117117
118-
Retrieve a specific transcription
118+
Get Real-time Transcription
119119

120120
Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
121121

@@ -146,7 +146,7 @@ namespace Example
146146
147147
try
148148
{
149-
// Retrieve a specific transcription
149+
// Get Real-time Transcription
150150
CallTranscriptionResponse result = apiInstance.GetRealTimeTranscription(accountId, callId, transcriptionId);
151151
Debug.WriteLine(result);
152152
}
@@ -167,7 +167,7 @@ This returns an ApiResponse object which contains the response data, status code
167167
```csharp
168168
try
169169
{
170-
// Retrieve a specific transcription
170+
// Get Real-time Transcription
171171
ApiResponse<CallTranscriptionResponse> response = apiInstance.GetRealTimeTranscriptionWithHttpInfo(accountId, callId, transcriptionId);
172172
Debug.Write("Status Code: " + response.StatusCode);
173173
Debug.Write("Response Headers: " + response.Headers);
@@ -222,9 +222,9 @@ catch (ApiException e)
222222
# **ListRealTimeTranscriptions**
223223
> List&lt;CallTranscriptionMetadata&gt; ListRealTimeTranscriptions (string accountId, string callId)
224224
225-
Enumerate transcriptions made with StartTranscription
225+
List Real-time Transcriptions
226226

227-
Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
227+
List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
228228

229229
### Example
230230
```csharp
@@ -252,7 +252,7 @@ namespace Example
252252
253253
try
254254
{
255-
// Enumerate transcriptions made with StartTranscription
255+
// List Real-time Transcriptions
256256
List<CallTranscriptionMetadata> result = apiInstance.ListRealTimeTranscriptions(accountId, callId);
257257
Debug.WriteLine(result);
258258
}
@@ -273,7 +273,7 @@ This returns an ApiResponse object which contains the response data, status code
273273
```csharp
274274
try
275275
{
276-
// Enumerate transcriptions made with StartTranscription
276+
// List Real-time Transcriptions
277277
ApiResponse<List<CallTranscriptionMetadata>> response = apiInstance.ListRealTimeTranscriptionsWithHttpInfo(accountId, callId);
278278
Debug.Write("Status Code: " + response.StatusCode);
279279
Debug.Write("Response Headers: " + response.Headers);

0 commit comments

Comments
 (0)