UNPKG

@orga-ai/node

Version:

OrgaAI backend SDK for Node.js - simplifies API integration

19 lines 575 B
import { OrgaAIConfig, SessionConfig } from "./types"; export declare class OrgaAI { private apiKey; private userEmail; private baseUrl; private debug; private timeout; constructor(config: OrgaAIConfig); private log; private fetchWithTimeout; /** * @description Get session configuration for the user * @returns ephemeral token and ICE servers needed for WebRTC connection */ getSessionConfig(): Promise<SessionConfig>; private fetchEphemeralToken; private fetchIceServers; } //# sourceMappingURL=client.d.ts.map