jmap-kit
    Preparing search index...

    MaskedEmailInvocation represents a JMAP MaskedEmail capability invocation.

    The MaskedEmail data type is a FastMail vendor-specific extension that provides privacy-enhanced email addresses. Masked emails are temporary or permanent forwarding addresses that protect the user's primary email address. This capability supports creating, retrieving, and managing masked email addresses.

    Type Parameters

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get arguments(): TArgs

      Get the arguments for the invocation

      The arguments are the named parameters passed to the method being invoked.

      Returns TArgs

    • get dataType(): JMAPDataType

      Get the data type of the invocation

      The data type of the invocation is the name of the object that methods are associated with (e.g., "Email", "Mailbox", "Thread")

      Returns JMAPDataType

    • get id(): symbol

      Get the internal identifier for the invocation

      The internal identifier is a unique symbol used to identify this invocation instance.

      Returns symbol

    • get name(): string

      Get the name of the method

      The name of the method in the format "{dataType}/{method}"

      Returns string

    Methods

    • Resolve the invocation into a JMAP request invocation tuple.

      Converts internal ResultReference arguments into their wire format (#property keys with resolved resultOf ids) and produces the [name, arguments, methodCallId] tuple expected by the JMAP protocol.

      Parameters

      • id: string

        The method call id to assign to this invocation in the request

      • lookupId: (id: symbol) => string | undefined

        A function that resolves an invocation's internal symbol id to the string method call id assigned in the request

      Returns JMAPRequestInvocation

      The resolved JMAP request invocation tuple

      If a result reference refers to an invocation whose id cannot be resolved