@mbc-cqrs-serverless/core
Version:
CQRS and event base core
25 lines (24 loc) • 503 B
TypeScript
export interface INotification {
id: string;
table: string;
pk: string;
sk: string;
tenantCode: string;
action: string;
content?: object;
}
export interface Attachment {
filename: string;
content: Buffer;
contentType?: string;
}
export interface EmailNotification {
fromAddr?: string;
toAddrs: string[];
ccAddrs?: string[];
bccAddrs?: string[];
subject: string;
body: string;
replyToAddrs?: string[];
attachments?: Attachment[];
}