26 lines
1.0 KiB
JavaScript
26 lines
1.0 KiB
JavaScript
"use strict";
|
|
/*
|
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.Transcriptions = void 0;
|
|
const audioTranscriptionsComplete_js_1 = require("../funcs/audioTranscriptionsComplete.js");
|
|
const audioTranscriptionsStream_js_1 = require("../funcs/audioTranscriptionsStream.js");
|
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
const fp_js_1 = require("../types/fp.js");
|
|
class Transcriptions extends sdks_js_1.ClientSDK {
|
|
/**
|
|
* Create Transcription
|
|
*/
|
|
async complete(request, options) {
|
|
return (0, fp_js_1.unwrapAsync)((0, audioTranscriptionsComplete_js_1.audioTranscriptionsComplete)(this, request, options));
|
|
}
|
|
/**
|
|
* Create streaming transcription (SSE)
|
|
*/
|
|
async stream(request, options) {
|
|
return (0, fp_js_1.unwrapAsync)((0, audioTranscriptionsStream_js_1.audioTranscriptionsStream)(this, request, options));
|
|
}
|
|
}
|
|
exports.Transcriptions = Transcriptions;
|
|
//# sourceMappingURL=transcriptions.js.map
|