adding enums for API doc type and email transport type