Finish restify typescript definition including its server and client api