recall_sdk
Version:
Node js sdk for the recall ai api
36 lines (35 loc) • 1.12 kB
TypeScript
declare const CALENDAR_PLATFORM: readonly ["google_calendar", "microsoft_outlook"];
export type CalendarPlatform = (typeof CALENDAR_PLATFORM)[number];
declare const CALENDAR_STATUS: readonly ["connecting", "connected", "disconnected"];
export type CalendarStatus = (typeof CALENDAR_STATUS)[number];
export interface BaseCalendarParams {
id: string;
}
interface OauthParams {
oauth_client_id?: string;
oauth_client_secret?: string;
oauth_refresh_token?: string;
}
export interface CreateCalendarParams {
oauth_client_id: string;
oauth_client_secret: string;
oauth_refresh_token: string;
platform: CalendarPlatform;
oauth_email?: string;
}
export interface UpdateCalendarParams extends BaseCalendarParams, OauthParams {
platform?: CalendarPlatform;
oauth_email?: string;
}
export interface ListCalendarParams {
created_at__gte?: Date;
cursor?: string;
email?: string;
platform?: CalendarPlatform;
status?: CalendarStatus;
}
export interface CreateCalendarResponse extends OauthParams {
platform: CalendarPlatform;
oauth_email: string;
}
export {};