jmap-kit
    Preparing search index...

    Type Alias EmailSubmissionSetRequestInvocationArgs

    EmailSubmissionSetRequestInvocationArgs: BaseSetRequestInvocationArgs<
        EmailSubmissionObjectSettable,
    > & {
        onSuccessDestroyEmail?: Id[]
        | null;
        onSuccessUpdateEmail?: Record<Id, PatchObject> | null;
    }

    The arguments for creating, updating, and destroying EmailSubmission objects via an EmailSubmission/set call.

    Type Declaration

    • OptionalonSuccessDestroyEmail?: Id[] | null

      A list of EmailSubmission ids for which the Email with the corresponding emailId should be destroyed if the create/update/destroy succeeds. For references to EmailSubmission creations, the id will be the creation id prefixed with a #.

    • OptionalonSuccessUpdateEmail?: Record<Id, PatchObject> | null

      A map of EmailSubmission id to an object containing properties to update on the Email object referenced by the EmailSubmission if the create/update/destroy succeeds. For references to EmailSubmissions created in the same /set invocation, the id will be the creation id prefixed with a #.