@@ -6,12 +6,15 @@ import * as TranscriptionsAPI from './transcriptions';
66import { TranscriptionCreateParams , TranscriptionCreateResponse , Transcriptions } from './transcriptions' ;
77import * as TranslationsAPI from './translations' ;
88import { TranslationCreateParams , TranslationCreateResponse , Translations } from './translations' ;
9+ import * as VoicesAPI from './voices' ;
10+ import { VoiceListResponse , Voices } from './voices' ;
911import { APIPromise } from '../../core/api-promise' ;
1012import { Stream } from '../../core/streaming' ;
1113import { buildHeaders } from '../../internal/headers' ;
1214import { RequestOptions } from '../../internal/request-options' ;
1315
1416export class Audio extends APIResource {
17+ voices : VoicesAPI . Voices = new VoicesAPI . Voices ( this . _client ) ;
1518 transcriptions : TranscriptionsAPI . Transcriptions = new TranscriptionsAPI . Transcriptions ( this . _client ) ;
1619 translations : TranslationsAPI . Translations = new TranslationsAPI . Translations ( this . _client ) ;
1720
@@ -175,6 +178,7 @@ export interface AudioCreateParamsStreaming extends AudioCreateParamsBase {
175178 stream : true ;
176179}
177180
181+ Audio . Voices = Voices ;
178182Audio . Transcriptions = Transcriptions ;
179183Audio . Translations = Translations ;
180184
@@ -187,6 +191,8 @@ export declare namespace Audio {
187191 type AudioCreateParamsStreaming as AudioCreateParamsStreaming ,
188192 } ;
189193
194+ export { Voices as Voices , type VoiceListResponse as VoiceListResponse } ;
195+
190196 export {
191197 Transcriptions as Transcriptions ,
192198 type TranscriptionCreateResponse as TranscriptionCreateResponse ,
0 commit comments