UNPKG

@marxlnfcs/wildduck-api

Version:

Provides a client to interact with the wildduck api

43 lines (42 loc) 962 B
export interface IWildduckApiGetMessageOptions { markAsSeen: boolean; } export interface IWildduckApiDeleteMessagesInMailboxOptions { async: boolean; } export interface IWildduckApiGetMessagesOptions { unseen: boolean; metaData: boolean; threadCounters: boolean; limit: number; page: number; order: 'asc' | 'desc'; next: string; previous: string; } export interface IWildduckApiSearchMessagesOptions { mailbox: string; thread: string; query: string; datestart: Date; dateend: Date; from: string; to: string; subject: string; attachments: boolean; flagged: boolean; unseen: boolean; searchable: boolean; 'or.query': string; 'or.from': string; 'or.to': string; 'or.subject': string; minSize: number; maxSize: number; threadCounters: boolean; limit: number; order: 'asc' | 'desc'; page: number; next: string; previous: string; }