realtime.mjs 885 B

12345678910111213141516171819
  1. // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
  2. import { APIResource } from "../../../core/resource.mjs";
  3. import * as SessionsAPI from "./sessions.mjs";
  4. import { Sessions, } from "./sessions.mjs";
  5. import * as TranscriptionSessionsAPI from "./transcription-sessions.mjs";
  6. import { TranscriptionSessions, } from "./transcription-sessions.mjs";
  7. /**
  8. * @deprecated Realtime has now launched and is generally available. The old beta API is now deprecated.
  9. */
  10. export class Realtime extends APIResource {
  11. constructor() {
  12. super(...arguments);
  13. this.sessions = new SessionsAPI.Sessions(this._client);
  14. this.transcriptionSessions = new TranscriptionSessionsAPI.TranscriptionSessions(this._client);
  15. }
  16. }
  17. Realtime.Sessions = Sessions;
  18. Realtime.TranscriptionSessions = TranscriptionSessions;
  19. //# sourceMappingURL=realtime.mjs.map