@drptbl/mailsac
Version:
Mailsac API Library
27 lines (26 loc) • 756 B
TypeScript
export interface IAddress {
_id: string;
created: Date;
enablews: boolean;
forward: string;
message?: string;
webhook: string;
owner: string;
encryptedInbox: string;
}
export interface IOwned {
available: boolean;
email: string;
owned: boolean;
}
/**
* forward email address - SMTP forwarding / standard email forwarding - set to "" or null to disable forwarding
* enablews boolean, defaults false - set to true to enable web socket forwarding (see Web Socket API)
* webhook url - set to your public webhook endpoint to receive mail via webhook - set to "" or null to disable webhooks
* @type {string}
*/
export interface IForwardOptions {
forward: string;
enablews: boolean;
webhook: string;
}