realtime.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
  3. var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
  4. if (k2 === undefined) k2 = k;
  5. var desc = Object.getOwnPropertyDescriptor(m, k);
  6. if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
  7. desc = { enumerable: true, get: function() { return m[k]; } };
  8. }
  9. Object.defineProperty(o, k2, desc);
  10. }) : (function(o, m, k, k2) {
  11. if (k2 === undefined) k2 = k;
  12. o[k2] = m[k];
  13. }));
  14. var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
  15. Object.defineProperty(o, "default", { enumerable: true, value: v });
  16. }) : function(o, v) {
  17. o["default"] = v;
  18. });
  19. var __importStar = (this && this.__importStar) || function (mod) {
  20. if (mod && mod.__esModule) return mod;
  21. var result = {};
  22. if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
  23. __setModuleDefault(result, mod);
  24. return result;
  25. };
  26. Object.defineProperty(exports, "__esModule", { value: true });
  27. exports.Realtime = void 0;
  28. const resource_1 = require("../../../resource.js");
  29. const SessionsAPI = __importStar(require("./sessions.js"));
  30. const sessions_1 = require("./sessions.js");
  31. const TranscriptionSessionsAPI = __importStar(require("./transcription-sessions.js"));
  32. const transcription_sessions_1 = require("./transcription-sessions.js");
  33. class Realtime extends resource_1.APIResource {
  34. constructor() {
  35. super(...arguments);
  36. this.sessions = new SessionsAPI.Sessions(this._client);
  37. this.transcriptionSessions = new TranscriptionSessionsAPI.TranscriptionSessions(this._client);
  38. }
  39. }
  40. exports.Realtime = Realtime;
  41. Realtime.Sessions = sessions_1.Sessions;
  42. Realtime.TranscriptionSessions = transcription_sessions_1.TranscriptionSessions;
  43. //# sourceMappingURL=realtime.js.map