recall_sdk
Version:
Node js sdk for the recall ai api
25 lines (24 loc) • 1.25 kB
TypeScript
import { BaseBotParams, CreateParams, CreateResponse, GetTranscriptParams, ListChatMessagesParams, ListQueryParams, OutputAudioParams, UpdateScheduledParams } from "./types";
export declare class Bot {
private static instance;
private botUrl;
private client;
private constructor();
static getInstance({ apiKey, botUrl, }: {
apiKey: string;
botUrl: string;
}): Bot;
list(params: ListQueryParams): Promise<unknown>;
create(params: CreateParams): Promise<CreateResponse | import("../try-catch-wrapper").RecallError>;
listChatMessages(params: ListChatMessagesParams): Promise<unknown>;
retrieve(params: BaseBotParams): Promise<unknown>;
updateScheduledBot(params: UpdateScheduledParams): Promise<unknown>;
deleteScheduledBot(params: BaseBotParams): Promise<unknown>;
deleteBotMedia(params: BaseBotParams): Promise<unknown>;
getBotIntellienge(params: BaseBotParams): Promise<unknown>;
leaveCall(params: BaseBotParams): Promise<unknown>;
getBotLogs(params: BaseBotParams): Promise<unknown>;
stopRecording(params: BaseBotParams): Promise<unknown>;
outputAudio(params: OutputAudioParams): Promise<unknown>;
getTranscript(params: GetTranscriptParams): Promise<unknown>;
}