UNPKG

@snehal96/unimail

Version:

Unified email fetching & document extraction layer for modern web apps

59 lines (58 loc) 1.41 kB
export declare const mockData: { gmailRawEmail: Buffer<ArrayBuffer>; gmailCredentials: { clientId: string; clientSecret: string; refreshToken: string; }; outlookCredentials: { clientId: string; clientSecret: string; refreshToken: string; }; oauthOptions: { clientId: string; clientSecret: string; redirectUri: string; scopes: string[]; state: string; }; tokenData: { accessToken: string; refreshToken: string; expiresAt: number; tokenType: string; }; parsedEmail: { from: { text: string; }; to: { text: string; }[]; cc: { text: string; }[]; subject: string; text: string; html: string; attachments: ({ filename: string; contentType: string; size: number; content: Buffer<ArrayBuffer>; contentId?: undefined; contentDisposition?: undefined; } | { filename: string; contentType: string; size: number; content: Buffer<ArrayBuffer>; contentId: string; contentDisposition: string; })[]; messageId: string; date: Date; references: string[]; }; };