CMS-2214 Move ts.d files in api to seperate folder