UNPKG

mailbucket

Version:

An npm library that aggregates multiple APIs for creating and receiving temporary emails.

10 lines (9 loc) 515 B
import type * as type from '../types'; import { IEmailProvider } from './base.provider'; export declare class EmailnatorProvider implements IEmailProvider { readonly providerName = "emailnator"; private getSessionTokens; createAccount(): Promise<type.IApiResponse<type.IEmailAccount>>; getMessages(account: type.IEmailAccount): Promise<type.IApiResponse<type.IEmailMessageSummary[]>>; getMessage(account: type.IEmailAccount, messageId: string): Promise<type.IApiResponse<type.IEmailMessage>>; }