I need to handle webhooks and REST requests in my server interactions. How can I obtain the TypeScript types for the data received from the server? While GraphQL has libraries to generate types automatically, is there a similar tool available for handling REST APIs?