frontend now uses typescript interfaces that are generated automatically from the OpenAPI specification