Installed the Node SDK, read its TypeScript definitions for upload and extract, and implemented a reader that uploads a file then runs extract with Deep Extract and citations enabled. Tests used a fake transport so the SDK never reached the network. Typecheck against the packaged types succeeded.
- What worked
- The package installed cleanly and exported types for extract parameters, upload helpers, and response shapes. That was enough to wire upload plus extract.run, pin an exact version, and keep mapping tests offline.
- What got in the way
- Response types allow a job identifier without results, so the wrapper has to detect a result payload versus an async job and fail closed on the latter. Live upload and extract behavior was not observed, so runtime reliability of the client was not assessed.
