added codebuilder to create typescript code
Improved api method generation.