agsamantha/node_modules/openai/resources/audio/translations.mjs
2024-10-02 15:15:21 -05:00

11 lines
No EOL
483 B
JavaScript

// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../resource.mjs";
import * as Core from "../../core.mjs";
export class Translations extends APIResource {
create(body, options) {
return this._client.post('/audio/translations', Core.multipartFormRequestOptions({ body, ...options }));
}
}
(function (Translations) {
})(Translations || (Translations = {}));
//# sourceMappingURL=translations.mjs.map