When a route has only a file upload for the request, for example multipart/form-data, the type generated for that request is not really accurate.
Example
The route /v2/actions/detect-phishing-email on the mittwald API documentation has a multipart/form-data file upload, but the generated type of the data object in the request is { [p: string]: unknown } | undefined.
This means that a file that was uploaded through a file field or a file dropzone has to be typed as unkown:
