Interface MailSetResponse

RFC 8621 (2.4) - https://datatracker.ietf.org/doc/html/rfc8621#section-2.4 extra SetError types for "destroy":

  • mailboxHasChild
  • mailboxHasEmail
interface MailSetResponse {
    accountId: string;
    created?: Record<string, any>;
    destroyed?: string[];
    newState: string;
    notCreated?: Record<string, SetError>;
    notDestroyed?: Record<string, SetError>;
    notUpdated?: Record<string, SetError>;
    oldState: string;
    onDestroyRemoveEmails: boolean;
    updated?: Record<string, any>;
}

Hierarchy (View Summary)

Properties

accountId: string
created?: Record<string, any>
destroyed?: string[]
newState: string
notCreated?: Record<string, SetError>
notDestroyed?: Record<string, SetError>
notUpdated?: Record<string, SetError>
oldState: string
onDestroyRemoveEmails: boolean

default: false

updated?: Record<string, any>