beta.mjs 1.0 KB

123456789101112131415161718192021222324
  1. // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
  2. import { APIResource } from "../../resource.mjs";
  3. import * as AssistantsAPI from "./assistants.mjs";
  4. import * as ChatAPI from "./chat/chat.mjs";
  5. import { Assistants, AssistantsPage, } from "./assistants.mjs";
  6. import * as RealtimeAPI from "./realtime/realtime.mjs";
  7. import { Realtime, } from "./realtime/realtime.mjs";
  8. import * as ThreadsAPI from "./threads/threads.mjs";
  9. import { Threads, } from "./threads/threads.mjs";
  10. import { Chat } from "./chat/chat.mjs";
  11. export class Beta extends APIResource {
  12. constructor() {
  13. super(...arguments);
  14. this.realtime = new RealtimeAPI.Realtime(this._client);
  15. this.chat = new ChatAPI.Chat(this._client);
  16. this.assistants = new AssistantsAPI.Assistants(this._client);
  17. this.threads = new ThreadsAPI.Threads(this._client);
  18. }
  19. }
  20. Beta.Realtime = Realtime;
  21. Beta.Assistants = Assistants;
  22. Beta.AssistantsPage = AssistantsPage;
  23. Beta.Threads = Threads;
  24. //# sourceMappingURL=beta.mjs.map