List all cast types

Hi, I want to know all the case types used in a project, active and obsolete, so I can delete the obsolete ones. Any ideas?