UNPKG

emailengine-client

Version:

A TypeScript client for the EmailEngine API

106 lines (105 loc) 2.35 kB
/** * Search query to filter messages */ export declare class SearchQuery { /** * Sequence number range. Not allowed with documentStore. */ seq?: string | undefined; /** * Check if message is answered or not */ answered?: boolean | undefined; /** * Check if message is marked for being deleted or not */ deleted?: boolean | undefined; /** * Check if message is a draft */ draft?: boolean | undefined; /** * Check if message is marked as unseen or not */ unseen?: boolean | undefined; /** * Check if message is flagged or not */ flagged?: boolean | undefined; /** * Check if message is marked as seen or not */ seen?: boolean | undefined; /** * Match From: header */ from?: string | undefined; /** * Match To: header */ to?: string | undefined; /** * Match Cc: header */ cc?: string | undefined; /** * Match Bcc: header */ bcc?: string | undefined; /** * Match text body */ body?: string | undefined; /** * Match message subject */ subject?: string | undefined; /** * Matches messages larger than value */ larger?: number | undefined; /** * Matches messages smaller than value */ smaller?: number | undefined; /** * UID range */ uid?: string | undefined; /** * Matches messages with modseq higher than value. Not allowed with documentStore. */ modseq?: number | undefined; /** * Matches messages received before date */ before?: string | undefined; /** * Matches messages received after date */ since?: string | undefined; /** * Matches messages sent before date */ sentBefore?: string | undefined; /** * Matches messages sent after date */ sentSince?: string | undefined; /** * Match specific Gmail unique email UD */ emailId?: string | undefined; /** * Match specific Gmail unique thread UD */ threadId?: string | undefined; /** * Headers to match against */ header?: any; /** * Raw Gmail search string. Will return an error if used for other account types. */ gmailRaw?: string | undefined; }