, * messageId: string, * from: list, * to: list, * replyTo: list, * cc: list, * bcc: list, * subject: string, * dateInt: int<0, max>, * flags: array{seen: bool, flagged: bool, answered: bool, deleted: bool, draft: bool, forwarded: bool, hasAttachments: bool, mdnsent: bool, important: bool}, * hasHtmlBody?: bool, * body?: string, * dispositionNotificationTo: string, * hasDkimSignature: bool, * phishingDetails: array{checks: list}>, warning: bool}, * unsubscribeUrl: ?string, * isOneClickUnsubscribe: bool, * unsubscribeMailTo: ?string, * scheduling: list, * attachments: list, messageId: int<1, max>, filename: string, mime: string, size: int<0, max>, cid: ?string, disposition: string, downloadUrl?: string}> * } * * @psalm-type MailMessageApiResponse = MailIMAPFullMessage&array{ * signature: ?string, * itineraries?: array, * id: int<1, max>, * isSenderTrusted: bool, * smime: array{ isSigned: bool, signatureIsValid: ?bool, isEncrypted: bool}, * dkimValid?: bool, * rawUrl: string * } * * @psalm-type MailMessageApiAttachment = array{ name: string, mime: string, size: int<0, max>, content: string} * * @psalm-type MailAccountListResponse = array{ * id: int, * email: string, * aliases: list, * } */ final class ResponseDefinitions { }