Minimal TypeScript SDK starter for building JavaScript bindings to external APIs.
npm install
npm run build
npm testnpm run dev- watch buildnpm run build- build ESM + CJS + declarationsnpm run typecheck- run TypeScript type checksnpm run verify- run typecheck + build + testsnpm run test- run unit testsnpm run download:metamodel -- <baseAgilityUrl>- download meta model for a given Agility instance
VersionOneClient- top-level SDK clientcreateFetchTransport- configurable HTTP transportApiError- typed API error
- Add a new folder under
src/apis/. - Add request/response types under
src/types/. - Implement methods using
Transport.request. - Export from
src/index.ts. - Add tests under
test/.
- Run
npm run verifyto validate typecheck, build, and tests before opening a pull request.