Skip to content

Conversation

@BuckyMcYolo
Copy link

Summary

Adds TypeScript type declarations for the SDK, generated from:

  • @jambonz/verb-specifications (webhook verbs)
  • OpenAPI spec (REST API types)

Changes

  • types/jambonz-node-client.d.ts — Generated type declarations
  • scripts/generate-types.js — Script to regenerate types
  • schema/calls.yaml + schema/platform.yaml — OpenAPI specs (retrieved from Jambonz Fern Documentation repo)
  • package.json — Added types field and generate-types script
  • .eslintignore — Ignore types directory

Usage

TypeScript users will now get full type support when importing the package.

Types can be regenerated with: npm run generate-types

Updating Types

When the API is updated in the future, replace the YAML files in /schema with the updated versions and regenerate the types:

@davehorton davehorton requested a review from xquanluu December 28, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant