Skip to main content

Interface: Terminal49ClientConfig

Configuration for Terminal49Client.

Properties

PropertyTypeDescription
apiBaseUrl?stringAPI base URL. Defaults to https://api.terminal49.com/v2.
apiTokenstringTerminal49 API token. Pass either the raw token or a value prefixed with Token .
defaultFormat?ResponseFormatDefault response format for methods that support mapped responses. Defaults to raw.
fetchImpl?(input, init?) => Promise<Response>Optional fetch implementation, useful for tests or custom runtimes.
maxRetries?numberNumber of retry attempts for rate-limit and server errors. Defaults to 2.