6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
18 lines
689 B
JavaScript
18 lines
689 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
import { APIResource } from "../../core/resource.mjs";
|
|
import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
|
|
/**
|
|
* Turn audio into text or text into audio.
|
|
*/
|
|
export class Transcriptions extends APIResource {
|
|
create(body, options) {
|
|
return this._client.post('/audio/transcriptions', multipartFormRequestOptions({
|
|
body,
|
|
...options,
|
|
stream: body.stream ?? false,
|
|
__metadata: { model: body.model },
|
|
__security: { bearerAuth: true },
|
|
}, this._client));
|
|
}
|
|
}
|
|
//# sourceMappingURL=transcriptions.mjs.map
|