Skip to content

Commit 565d56b

Browse files
Generate SDK with OpenAPI Generator Version (#82)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent a0a4bc7 commit 565d56b

9 files changed

+39
-38
lines changed

api/transcriptions-api.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const TranscriptionsApiAxiosParamCreator = function (configuration?: Conf
3535
return {
3636
/**
3737
* 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.
38-
* @summary Delete a specific transcription
38+
* @summary Delete Real-time Transcription
3939
* @param {string} accountId Your Bandwidth Account ID.
4040
* @param {string} callId Programmable Voice API Call ID.
4141
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -81,7 +81,7 @@ export const TranscriptionsApiAxiosParamCreator = function (configuration?: Conf
8181
},
8282
/**
8383
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
84-
* @summary Retrieve a specific transcription
84+
* @summary Get Real-time Transcription
8585
* @param {string} accountId Your Bandwidth Account ID.
8686
* @param {string} callId Programmable Voice API Call ID.
8787
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -126,8 +126,8 @@ export const TranscriptionsApiAxiosParamCreator = function (configuration?: Conf
126126
};
127127
},
128128
/**
129-
* Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
130-
* @summary Enumerate transcriptions made with StartTranscription
129+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
130+
* @summary List Real-time Transcriptions
131131
* @param {string} accountId Your Bandwidth Account ID.
132132
* @param {string} callId Programmable Voice API Call ID.
133133
* @param {*} [options] Override http request option.
@@ -179,7 +179,7 @@ export const TranscriptionsApiFp = function(configuration?: Configuration) {
179179
return {
180180
/**
181181
* 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.
182-
* @summary Delete a specific transcription
182+
* @summary Delete Real-time Transcription
183183
* @param {string} accountId Your Bandwidth Account ID.
184184
* @param {string} callId Programmable Voice API Call ID.
185185
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -194,7 +194,7 @@ export const TranscriptionsApiFp = function(configuration?: Configuration) {
194194
},
195195
/**
196196
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
197-
* @summary Retrieve a specific transcription
197+
* @summary Get Real-time Transcription
198198
* @param {string} accountId Your Bandwidth Account ID.
199199
* @param {string} callId Programmable Voice API Call ID.
200200
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -208,8 +208,8 @@ export const TranscriptionsApiFp = function(configuration?: Configuration) {
208208
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
209209
},
210210
/**
211-
* Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
212-
* @summary Enumerate transcriptions made with StartTranscription
211+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
212+
* @summary List Real-time Transcriptions
213213
* @param {string} accountId Your Bandwidth Account ID.
214214
* @param {string} callId Programmable Voice API Call ID.
215215
* @param {*} [options] Override http request option.
@@ -233,7 +233,7 @@ export const TranscriptionsApiFactory = function (configuration?: Configuration,
233233
return {
234234
/**
235235
* 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.
236-
* @summary Delete a specific transcription
236+
* @summary Delete Real-time Transcription
237237
* @param {string} accountId Your Bandwidth Account ID.
238238
* @param {string} callId Programmable Voice API Call ID.
239239
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -245,7 +245,7 @@ export const TranscriptionsApiFactory = function (configuration?: Configuration,
245245
},
246246
/**
247247
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
248-
* @summary Retrieve a specific transcription
248+
* @summary Get Real-time Transcription
249249
* @param {string} accountId Your Bandwidth Account ID.
250250
* @param {string} callId Programmable Voice API Call ID.
251251
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -256,8 +256,8 @@ export const TranscriptionsApiFactory = function (configuration?: Configuration,
256256
return localVarFp.getRealTimeTranscription(accountId, callId, transcriptionId, options).then((request) => request(axios, basePath));
257257
},
258258
/**
259-
* Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
260-
* @summary Enumerate transcriptions made with StartTranscription
259+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
260+
* @summary List Real-time Transcriptions
261261
* @param {string} accountId Your Bandwidth Account ID.
262262
* @param {string} callId Programmable Voice API Call ID.
263263
* @param {*} [options] Override http request option.
@@ -278,7 +278,7 @@ export const TranscriptionsApiFactory = function (configuration?: Configuration,
278278
export class TranscriptionsApi extends BaseAPI {
279279
/**
280280
* 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.
281-
* @summary Delete a specific transcription
281+
* @summary Delete Real-time Transcription
282282
* @param {string} accountId Your Bandwidth Account ID.
283283
* @param {string} callId Programmable Voice API Call ID.
284284
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -292,7 +292,7 @@ export class TranscriptionsApi extends BaseAPI {
292292

293293
/**
294294
* Retrieve the specified transcription that was created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
295-
* @summary Retrieve a specific transcription
295+
* @summary Get Real-time Transcription
296296
* @param {string} accountId Your Bandwidth Account ID.
297297
* @param {string} callId Programmable Voice API Call ID.
298298
* @param {string} transcriptionId Programmable Voice API Transcription ID.
@@ -305,8 +305,8 @@ export class TranscriptionsApi extends BaseAPI {
305305
}
306306

307307
/**
308-
* Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
309-
* @summary Enumerate transcriptions made with StartTranscription
308+
* List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
309+
* @summary List Real-time Transcriptions
310310
* @param {string} accountId Your Bandwidth Account ID.
311311
* @param {string} callId Programmable Voice API Call ID.
312312
* @param {*} [options] Override http request option.

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
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**transcriptionId** | **string** | The programmable voice API transcription ID. | [optional] [default to undefined]
99
**transcriptionName** | **string** | The programmable voice API transcription name. This name could be provided by the user when creating the transcription. | [optional] [default to undefined]
10-
**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] [default to undefined]
10+
**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] [default to undefined]
1111

1212
## Example
1313

docs/ConferenceMember.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**callId** | **string** | The call id associated with the event. | [optional] [default to undefined]
99
**conferenceId** | **string** | The unique, Bandwidth-generated ID of the conference that was recorded | [optional] [default to undefined]
10-
**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] [default to undefined]
10+
**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] [default to undefined]
1111
**mute** | **boolean** | 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] [default to undefined]
1212
**hold** | **boolean** | 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] [default to undefined]
1313
**callIdsToCoach** | **Array&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] [default to undefined]

docs/MultiChannelMessageResponseData.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The data returned in a multichannel message response.
66

77
Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
9-
**messageId** | **string** | The ID of the message. | [default to undefined]
9+
**id** | **string** | The ID of the message. | [default to undefined]
1010
**time** | **string** | The time the message was received by the Bandwidth API. | [default to undefined]
1111
**direction** | [**MessageDirectionEnum**](MessageDirectionEnum.md) | | [default to undefined]
1212
**to** | **Set&lt;string&gt;** | The destination phone number(s) of the message, in E164 format. | [default to undefined]
@@ -21,7 +21,7 @@ Name | Type | Description | Notes
2121
import { MultiChannelMessageResponseData } from 'bandwidth-sdk';
2222

2323
const instance: MultiChannelMessageResponseData = {
24-
messageId,
24+
id,
2525
time,
2626
direction,
2727
to,

docs/TranscriptionsApi.md

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

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

1111
# **deleteRealTimeTranscription**
1212
> deleteRealTimeTranscription()
@@ -141,7 +141,7 @@ const { status, data } = await apiInstance.getRealTimeTranscription(
141141
# **listRealTimeTranscriptions**
142142
> Array<CallTranscriptionMetadata> listRealTimeTranscriptions()
143143
144-
Enumerates the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
144+
List the transcriptions created on this call via [startTranscription](/docs/voice/bxml/startTranscription).
145145

146146
### Example
147147

models/call-transcription-metadata.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface CallTranscriptionMetadata {
3333
*/
3434
'transcriptionName'?: string;
3535
/**
36-
* A URL that may be used to retrieve the transcription itself. This points to the [Get Call Transcription](/apis/voice/#operation/getCallTranscription) endpoint.
36+
* 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.
3737
* @type {string}
3838
* @memberof CallTranscriptionMetadata
3939
*/

models/conference-member.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export interface ConferenceMember {
3333
*/
3434
'conferenceId'?: string;
3535
/**
36-
* 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.
36+
* 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.
3737
* @type {string}
3838
* @memberof ConferenceMember
3939
*/

models/multi-channel-message-response-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface MultiChannelMessageResponseData {
3434
* @type {string}
3535
* @memberof MultiChannelMessageResponseData
3636
*/
37-
'messageId': string;
37+
'id': string;
3838
/**
3939
* The time the message was received by the Bandwidth API.
4040
* @type {string}

0 commit comments

Comments
 (0)