TypeScript SDK
@pontx/pinhere
The operator-published SDK for Pinhere issue collaboration API covers every Endpoint in the current PontxSpec.
SDK quality gate
The source for v0.1.1 passed its complete unit suite and built-package E2E on Node.js 18 / 20 / 22.
Install and call
The SDK is produced by Pontx and typechecked and built before publication.
pnpm add @pontx/pinhereimport { createPinhereClient } from "@pontx/pinhere";
const client = createPinhereClient({
accessToken: process.env.PINHERE_ACCESS_TOKEN!,
sessionCookie: process.env.PINHERE_SESSION_COOKIE!
});
const result = await client.issues.listIssues(
{
"limit": 50,
"projectId": "prj_example",
"status": "open"
}
);
console.log(result);Command-line access
This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.
pnpm add --global @pontx/pinhere
pontx-pinhere call issues getIssue --issueId iss_example --dry-run