Constructs a BlobInvocation
The name of the method being invoked (e.g., "copy", "upload", "get", "lookup")
The arguments for the method invocation
OptionalmethodCallId: symbolAn optional unique symbol to identify this method call for result referencing
Get the arguments for the invocation
The arguments are the named parameters passed to the method being invoked.
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")
Get the internal identifier for the invocation
The internal identifier is a unique symbol used to identify this invocation instance.
Get the method name of the invocation
The method name of the invocation is the name of the method being invoked (e.g., "get", "set", "query")
Get the name of the method
The name of the method in the format "{dataType}/{method}"
Create a result reference for a named argument to use in another method.
The path to the result to reference
The result reference
Delete a named argument.
The name of the argument
Whether the argument was deleted
Check if a named argument exists.
The name of the argument
Whether the argument exists
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.
The method call id to assign to this invocation in the request
A function that resolves an invocation's internal symbol id to the string method call id assigned in the request
The resolved JMAP request invocation tuple
Set the value of a named argument.
The name of the argument
The value or result reference for the named argument.
Convert the invocation to a serialisable representation.
A serialisable representation of the invocation
StaticcreateCreate an invocation factory function
The name of the method to create
A new Blob invocation factory function for creating invocations of the specified type
BlobInvocation represents a JMAP Blob capability invocation.
The Blob data type handles binary data management with methods for copying, uploading, retrieving, and looking up binary data across accounts. The Blob/copy method is part of the Core capability (RFC 8620), while upload/get/lookup are part of the Blob Management Extension (RFC 9404).
See