Environment
- openrouter/sdk@1.2.27
- TypeScript 5.9.3
- NodeNext module resolution
Problem
Three generated reference pages import types that @openrouter/sdk/models does not export:
import {
Analysis,
AnthropicCitationSearchResultLocation,
AnthropicCitationWebSearchResultLocation,
} from "@openrouter/sdk/models";
This produces TS2305 and TS2724.
Affected pages:
The SDK currently suggests the similarly named *Param citation types, but I cannot determine whether the documented types were renamed, accidentally omitted, or should no longer be documented.
Expected
Either the docs are incorrect or the SDK missed something. In any case, generated reference pages should only document types exported by the corresponding published SDK version.
Environment
Problem
Three generated reference pages import types that
@openrouter/sdk/modelsdoes not export:This produces
TS2305andTS2724.Affected pages:
The SDK currently suggests the similarly named
*Paramcitation types, but I cannot determine whether the documented types were renamed, accidentally omitted, or should no longer be documented.Expected
Either the docs are incorrect or the SDK missed something. In any case, generated reference pages should only document types exported by the corresponding published SDK version.