UNPKG

candymail

Version:

Email Automation Library for Node.js

11 lines (10 loc) 664 B
import { Email } from '../types'; import { Message } from '../entity/Message'; declare const addEmailRow: (messageOptions: Email) => Promise<void>; declare const getEmailRowsToBeSent: (time: Date) => Promise<Message[]>; declare const getAllEmailRows: () => Promise<Message[]>; declare const setEmailSent: (id: number) => Promise<void>; declare const clearAllRows: () => Promise<void>; declare const addUnsubscribedEmail: (email: string) => Promise<void>; declare const hasUnsubscribedEmail: (email: string) => Promise<boolean>; export { addEmailRow, getEmailRowsToBeSent, getAllEmailRows, setEmailSent, clearAllRows, addUnsubscribedEmail, hasUnsubscribedEmail, };