Turns out https://api.endpoints.huggingface.cloud/openapi.json changed and now has the new field scaleToZeroTimeout in it. But the revision 0.1.0 did not increase.
Fixed.
Warning - There are errors in https://api.endpoints.huggingface.cloud/openapi.json and we have to hand-fix it before we can auto generate the API code.