Skip to main content

client

Classes

ClassDescription
AuthenticationErrorThrown when the API token is invalid or missing (HTTP 401).
AuthorizationErrorThrown when the API token is valid but lacks permission for the request (HTTP 403).
FeatureNotEnabledErrorThrown when the requested feature requires a plan upgrade (HTTP 403).
NotFoundErrorThrown when the requested resource does not exist (HTTP 404).
RateLimitErrorThrown when the API rate limit has been exceeded (HTTP 429). The SDK retries automatically.
Terminal49ClientServer-side TypeScript client for the Terminal49 JSON:API.
Terminal49ErrorBase error for all Terminal49 API errors. Subclassed by status-specific errors.
UpstreamErrorThrown when the carrier or terminal upstream API is unavailable (HTTP 5xx).
ValidationErrorThrown when the request payload fails server-side validation (HTTP 400/422).

Interfaces

InterfaceDescription
Terminal49ClientConfigConfiguration for Terminal49Client.