Anthropic PDF Beta Support (#1571)
* support anthropic PDF beta
* upstream merge, remove commented out console log line
* Fixing type errors.
the anthropic API does not yet include a "DocumentBlock" for
support PDFs, so an extended type has been added to the endpoint.
* changed document processor to async (matching image processor)
* use the beta api types rather than custom extension
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>