The component_type parameter directs WCAP to return either only events, only todos, or both events and todos. The keyword arguments, respectively, are: event, todo, or all. The parameter is not required. Its default is all, returning both events and todos. If an unrecognized value is passed in, the default value is used.
This parameter is found in all the fetchcomponents_by_* commands.
In addition, deleted components can be retrieved from the deletelog.db in the calendar store using the fetch_deletedcomponents command.