Interface: TokenConfig
Defined in: models/config.ts:15 Configuration for token-based authenticationProperties
type
type: "token"
Defined in: models/config.ts:16
token
token: string
Defined in: models/config.ts:17
debug?
Defined in: models/config.ts:18 Enable WebSocket-based debug stats collection. When enabled, the SDK sends real-time WebRTC statistics to the Telnyx debug service over the WebSocket connection. Default:optionaldebug:boolean
false
pushNotificationDeviceToken?
Defined in: models/config.ts:19optionalpushNotificationDeviceToken:string
enableCallReports?
Defined in: models/config.ts:29 Enable automatic call quality reporting. When enabled, the SDK collects WebRTC stats and structured logs during calls and POSTs them to theoptionalenableCallReports:boolean
/call_report endpoint when calls end. Default: true
callReportInterval?
Defined in: models/config.ts:31 Stats collection interval in seconds. Default:optionalcallReportInterval:number
5
callReportLogLevel?
Defined in: models/config.ts:33 Minimum log level to capture for call reports:optionalcallReportLogLevel:string
'debug' | 'info' | 'warn' | 'error'. Default: 'debug'
callReportMaxLogEntries?
Defined in: models/config.ts:35 Maximum number of log entries to buffer per call. Default:optionalcallReportMaxLogEntries:number
1000