@meshwatch/backend-core
Version:
Meshwatch backend core services.
15 lines (14 loc) • 488 B
TypeScript
import { SES } from 'aws-sdk/clients/all';
declare type SendEmailParams = {
recipient: string;
html: string;
text: string;
subject: string;
source: string;
};
export declare class EmailDispatcher {
private readonly ses;
constructor(ses: SES);
send: ({ recipient, html, text, subject, source }: SendEmailParams) => Promise<import("aws-sdk/lib/request").PromiseResult<SES.SendEmailResponse, import("aws-sdk/lib/error").AWSError>>;
}
export {};