UNPKG

@bzr/bazaar

Version:

The Bazaar SDK. Conveniently use Bazaar with your app in the browser.

24 lines (23 loc) 528 B
import { CalendarInvite, EmailMessage } from "../types"; import type { API } from "./raw"; /** * The class that encapsulates the email API * * @internal */ export declare class EmailAPI { private api; constructor(api: API); /** * Send a normal email */ sendMessage(emailMessage: EmailMessage): Promise<{ message: string; }>; /** * Send an email with a calendar invite */ sendCalendarInvite(calendarInvite: CalendarInvite): Promise<{ message: string; }>; }