scripting:api:application:add-undo-action-type