Unit_AI/node_modules/openai/resources/audio/audio.mjs

19 lines
857 B
JavaScript
Raw Normal View History

2024-06-01 21:24:36 +01:00
// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'openai/resource';
import * as SpeechAPI from 'openai/resources/audio/speech';
import * as TranscriptionsAPI from 'openai/resources/audio/transcriptions';
import * as TranslationsAPI from 'openai/resources/audio/translations';
export class Audio extends APIResource {
constructor() {
super(...arguments);
this.transcriptions = new TranscriptionsAPI.Transcriptions(this._client);
this.translations = new TranslationsAPI.Translations(this._client);
this.speech = new SpeechAPI.Speech(this._client);
}
}
(function (Audio) {
Audio.Transcriptions = TranscriptionsAPI.Transcriptions;
Audio.Translations = TranslationsAPI.Translations;
Audio.Speech = SpeechAPI.Speech;
})(Audio || (Audio = {}));
//# sourceMappingURL=audio.mjs.map