Skip to content

Commit 012dde2

Browse files
committed
Generate SDK with OpenAPI Generator Version
1 parent 1ec188e commit 012dde2

11 files changed

Lines changed: 634 additions & 13 deletions

File tree

.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ docs/RbmWebViewEnum.md
163163
docs/RecordingAvailableCallback.md
164164
docs/RecordingCompleteCallback.md
165165
docs/RecordingStateEnum.md
166+
docs/RecordingTranscriptionClip.md
166167
docs/RecordingTranscriptionMetadata.md
167168
docs/RecordingTranscriptions.md
168169
docs/RecordingsApi.md
@@ -407,6 +408,7 @@ src/main/java/com/bandwidth/sdk/model/RbmWebViewEnum.java
407408
src/main/java/com/bandwidth/sdk/model/RecordingAvailableCallback.java
408409
src/main/java/com/bandwidth/sdk/model/RecordingCompleteCallback.java
409410
src/main/java/com/bandwidth/sdk/model/RecordingStateEnum.java
411+
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionClip.java
410412
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptionMetadata.java
411413
src/main/java/com/bandwidth/sdk/model/RecordingTranscriptions.java
412414
src/main/java/com/bandwidth/sdk/model/RedirectCallback.java

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ Class | Method | HTTP request | Description
340340
- [RecordingAvailableCallback](docs/RecordingAvailableCallback.md)
341341
- [RecordingCompleteCallback](docs/RecordingCompleteCallback.md)
342342
- [RecordingStateEnum](docs/RecordingStateEnum.md)
343+
- [RecordingTranscriptionClip](docs/RecordingTranscriptionClip.md)
343344
- [RecordingTranscriptionMetadata](docs/RecordingTranscriptionMetadata.md)
344345
- [RecordingTranscriptions](docs/RecordingTranscriptions.md)
345346
- [RedirectCallback](docs/RedirectCallback.md)

api/openapi.yaml

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12086,15 +12086,73 @@ components:
1208612086
recordingTranscriptions:
1208712087
example:
1208812088
transcripts:
12089-
- confidence: 0.9
12090-
text: "Nice talking to you, friend!"
12091-
- confidence: 0.9
12092-
text: "Nice talking to you, friend!"
12089+
- speaker: 0
12090+
text: "Hi, is Thursday at two still good for you? Perfect, talk soon."
12091+
confidence: 0.96
12092+
- speaker: 1
12093+
text: "Yes, that works great. See you then! Sounds good, bye!"
12094+
confidence: 0.97
12095+
clips:
12096+
- speaker: 0
12097+
text: "Hi, is Thursday at two still good for you?"
12098+
confidence: 0.97
12099+
startTimeSeconds: 0.4
12100+
endTimeSeconds: 3.1
12101+
- speaker: 1
12102+
text: "Yes, that works great. See you then!"
12103+
confidence: 0.95
12104+
startTimeSeconds: 3.8
12105+
endTimeSeconds: 6.2
12106+
- speaker: 0
12107+
text: "Perfect, talk soon."
12108+
confidence: 0.94
12109+
startTimeSeconds: 6.9
12110+
endTimeSeconds: 8.1
12111+
- speaker: 1
12112+
text: "Sounds good, bye!"
12113+
confidence: 0.98
12114+
startTimeSeconds: 8.5
12115+
endTimeSeconds: 9.7
1209312116
properties:
1209412117
transcripts:
1209512118
items:
1209612119
$ref: "#/components/schemas/transcription"
1209712120
type: array
12121+
clips:
12122+
description: "A list of individual speech clips with speaker, timing, and\
12123+
\ confidence information."
12124+
items:
12125+
$ref: "#/components/schemas/recordingTranscriptionClip"
12126+
type: array
12127+
type: object
12128+
recordingTranscriptionClip:
12129+
properties:
12130+
speaker:
12131+
description: Zero-based index identifying the speaker.
12132+
example: 0
12133+
type: integer
12134+
text:
12135+
description: The transcribed text of this clip.
12136+
example: "Hi there, thanks for calling!"
12137+
type: string
12138+
confidence:
12139+
description: How confident the transcription engine was in transcribing
12140+
this clip (from `0.0` to `1.0`).
12141+
example: 0.85
12142+
format: double
12143+
maximum: 1
12144+
minimum: 0
12145+
type: number
12146+
startTimeSeconds:
12147+
description: "The start time of this clip within the recording, in seconds."
12148+
example: 2.3
12149+
format: double
12150+
type: number
12151+
endTimeSeconds:
12152+
description: "The end time of this clip within the recording, in seconds."
12153+
example: 3.1
12154+
format: double
12155+
type: number
1209812156
type: object
1209912157
callTranscriptionMetadataList:
1210012158
example:
@@ -14185,10 +14243,11 @@ components:
1418514243
type: string
1418614244
type: object
1418714245
transcription:
14188-
example:
14189-
confidence: 0.9
14190-
text: "Nice talking to you, friend!"
1419114246
properties:
14247+
speaker:
14248+
description: Zero-based index identifying the speaker.
14249+
example: 0
14250+
type: integer
1419214251
text:
1419314252
description: The transcribed text
1419414253
example: "Nice talking to you, friend!"

bandwidth.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4354,6 +4354,72 @@ components:
43544354
type: array
43554355
items:
43564356
$ref: '#/components/schemas/transcription'
4357+
clips:
4358+
type: array
4359+
description: >-
4360+
A list of individual speech clips with speaker, timing, and
4361+
confidence information.
4362+
items:
4363+
$ref: '#/components/schemas/recordingTranscriptionClip'
4364+
example:
4365+
transcripts:
4366+
- speaker: 0
4367+
text: Hi, is Thursday at two still good for you? Perfect, talk soon.
4368+
confidence: 0.96
4369+
- speaker: 1
4370+
text: Yes, that works great. See you then! Sounds good, bye!
4371+
confidence: 0.97
4372+
clips:
4373+
- speaker: 0
4374+
text: Hi, is Thursday at two still good for you?
4375+
confidence: 0.97
4376+
startTimeSeconds: 0.4
4377+
endTimeSeconds: 3.1
4378+
- speaker: 1
4379+
text: Yes, that works great. See you then!
4380+
confidence: 0.95
4381+
startTimeSeconds: 3.8
4382+
endTimeSeconds: 6.2
4383+
- speaker: 0
4384+
text: Perfect, talk soon.
4385+
confidence: 0.94
4386+
startTimeSeconds: 6.9
4387+
endTimeSeconds: 8.1
4388+
- speaker: 1
4389+
text: Sounds good, bye!
4390+
confidence: 0.98
4391+
startTimeSeconds: 8.5
4392+
endTimeSeconds: 9.7
4393+
recordingTranscriptionClip:
4394+
type: object
4395+
properties:
4396+
speaker:
4397+
type: integer
4398+
description: Zero-based index identifying the speaker.
4399+
example: 0
4400+
text:
4401+
type: string
4402+
description: The transcribed text of this clip.
4403+
example: Hi there, thanks for calling!
4404+
confidence:
4405+
type: number
4406+
format: double
4407+
minimum: 0
4408+
maximum: 1
4409+
description: >-
4410+
How confident the transcription engine was in transcribing this clip
4411+
(from `0.0` to `1.0`).
4412+
example: 0.85
4413+
startTimeSeconds:
4414+
type: number
4415+
format: double
4416+
description: The start time of this clip within the recording, in seconds.
4417+
example: 2.3
4418+
endTimeSeconds:
4419+
type: number
4420+
format: double
4421+
description: The end time of this clip within the recording, in seconds.
4422+
example: 3.1
43574423
callTranscriptionMetadataList:
43584424
type: array
43594425
items:
@@ -5480,6 +5546,10 @@ components:
54805546
transcription:
54815547
type: object
54825548
properties:
5549+
speaker:
5550+
type: integer
5551+
description: Zero-based index identifying the speaker.
5552+
example: 0
54835553
text:
54845554
type: string
54855555
description: The transcribed text

docs/RecordingTranscriptionClip.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
3+
# RecordingTranscriptionClip
4+
5+
6+
## Properties
7+
8+
| Name | Type | Description | Notes |
9+
|------------ | ------------- | ------------- | -------------|
10+
|**speaker** | **Integer** | Zero-based index identifying the speaker. | [optional] |
11+
|**text** | **String** | The transcribed text of this clip. | [optional] |
12+
|**confidence** | **Double** | How confident the transcription engine was in transcribing this clip (from `0.0` to `1.0`). | [optional] |
13+
|**startTimeSeconds** | **Double** | The start time of this clip within the recording, in seconds. | [optional] |
14+
|**endTimeSeconds** | **Double** | The end time of this clip within the recording, in seconds. | [optional] |
15+
16+
17+

docs/RecordingTranscriptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
1010
|**transcripts** | [**List<Transcription>**](Transcription.md) | | [optional] |
11+
|**clips** | [**List<RecordingTranscriptionClip>**](RecordingTranscriptionClip.md) | A list of individual speech clips with speaker, timing, and confidence information. | [optional] |
1112

1213

1314

docs/Transcription.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
| Name | Type | Description | Notes |
99
|------------ | ------------- | ------------- | -------------|
10+
|**speaker** | **Integer** | Zero-based index identifying the speaker. | [optional] |
1011
|**text** | **String** | The transcribed text | [optional] |
1112
|**confidence** | **Double** | The confidence on the recognized content, ranging from `0.0` to `1.0` with `1.0` being the highest confidence. | [optional] |
1213

src/main/java/com/bandwidth/sdk/JSON.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ private static Class getClassByDiscriminator(Map classByDiscriminatorValue, Stri
270270
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RbmSuggestionResponse.CustomTypeAdapterFactory());
271271
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingAvailableCallback.CustomTypeAdapterFactory());
272272
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingCompleteCallback.CustomTypeAdapterFactory());
273+
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptionClip.CustomTypeAdapterFactory());
273274
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptionMetadata.CustomTypeAdapterFactory());
274275
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RecordingTranscriptions.CustomTypeAdapterFactory());
275276
gsonBuilder.registerTypeAdapterFactory(new com.bandwidth.sdk.model.RedirectCallback.CustomTypeAdapterFactory());

0 commit comments

Comments
 (0)