Type aliases Account Type declaration enabled: boolean name: string registered: boolean Account Events Account Events: { accountCreate: any ; accountRemove: any ; accountUpdate: any }
Type declaration account Create: function account Create( account: Account ) : void | Promise < void > Parameters Returns void | Promise < void > account Remove: function account Remove( account: Account ) : void | Promise < void > Parameters Returns void | Promise < void > account Update: function account Update( account: Account ) : void | Promise < void > Parameters Returns void | Promise < void > Account Id Account Id: number
Account Type Account Type: "sip" | "xmpp"
Audio Device Type declaration id: number name: string Optional selected?: boolean Audio Device Role Audio Device Role: "headset" | "speakerPhone" | "ringOn"
Audio Device Type Audio Device Type: "input" | "output"
Audio Properties Audio Properties: { microphoneVolume: number ; mute: boolean ; speaker: boolean ; speakerMute: boolean ; speakerVolume: number }
Type declaration microphone Volume: number mute: boolean speaker: boolean speaker Mute: boolean speaker Volume: number Audio Types Audio Types: { devicesUpdated: any ; propertiesUpdated: any }
Type declaration devices Updated: function devices Updated( devices: AudioDevice [] ) : void | Promise < void > Parameters Returns void | Promise < void > properties Updated: function properties Updated( ) : void | Promise < void > Returns void | Promise < void > Auth Events Auth Events: { authenticationUpdate: any }
Type declaration authentication Update: function authentication Update( ar: AuthResponse ) : void | Promise < void > Parameters Returns void | Promise < void > Auth Response Auth Response: { authenticated: boolean ; notAuthenticatedReason?: string ; serverProvidedReason?: string }
Type declaration authenticated: boolean Optional not Authenticated Reason?: string Optional server Provided Reason?: string Bria Client Events Type declaration [ x: string ]: any close: function close( code: number , reason: string ) : void | Promise < void > Parameters code: number reason: string Returns void | Promise < void > error: function error( error: Error ) : void open: function open( ) : void | Promise < void > Returns void | Promise < void > ready: function ready( ) : void | Promise < void > Returns void | Promise < void > reconnect: function reconnect( ) : void | Promise < void > Returns void | Promise < void > warn: function warn( warning: Error ) : void Bria Client Options Bria Client Options: { apiUrl?: string ; autoReconnect?: boolean ; autoReconnectAttempts?: number ; autoReconnectDelay?: number ; populateChildren?: boolean ; populateVersion?: boolean ; rejectUnauthorized?: boolean ; userAgent?: string }
Type declaration Optional api Url?: string Optional auto Reconnect?: boolean Optional auto Reconnect Attempts?: number Optional auto Reconnect Delay?: number Optional populate Children?: boolean Optional populate Version?: boolean Optional reject Unauthorized?: boolean Optional user Agent?: string Bria Client Status Change Event Bria Client Status Change Event: ( xml: sxml.XML , rawData: string ) => Promise < void > | void
Type declaration ( xml: sxml.XML , rawData: string ) : Promise < void > | void Parameters xml: sxml.XML rawData: string Returns Promise < void > | void Bria Client Version Bria Client Version: { systemCompanyName: string ; systemProductBuild: number ; systemProductName: string ; systemProductVersion: string }
Type declaration system Company Name: string system Product Build: number system Product Name: string system Product Version: string Call Call
: { accountId
?: string ; displayName
?: string ; number
: CallNumber ; suppressMainWindow
?: boolean ; type
: CallType } Type declaration Optional account Id?: string Optional display Name?: string Optional suppress Main Window?: boolean Call Events Call Events: { callEnd: any ; callStart: any ; callUpdate: any ; optionsUpdated: any }
Type declaration call End: function call End( call: BriaCall , id: string ) : void | Promise < void > Parameters Returns void | Promise < void > call Start: function call Start( call: BriaCall , id: string ) : void | Promise < void > Parameters Returns void | Promise < void > call Update: function call Update( call: BriaCall , id: string ) : void | Promise < void > Parameters Returns void | Promise < void > options Updated: function options Updated( ) : void | Promise < void > Returns void | Promise < void > Call Number Call Number: string
Call Options Call Options: { anonymous: boolean ; autoAnswer: boolean ; callWaiting: boolean ; lettersToNumbers: boolean }
Type declaration anonymous: boolean auto Answer: boolean call Waiting: boolean letters To Numbers: boolean Call Party Type declaration display Name: string time Initiated: Date Call State Call State: "connected" | "connecting" | "ringing" | "failed" | "ended"
Call Type Call Type: "audio" | "video" | "conference"
Contact Contact
: { collabUrl
: string [] ; email
: string [] ; fax
: string [] ; home
: string [] ; id
: ContactId ; jid
: string [] ; mobile
: string [] ; other
: string [] ; presenceAddress
: string ; presenceStatus
: PresenceType ; presenceText
: string ; presenceType
: AccountType ; softphone
: string [] ; website
: string [] ; work
: string [] } Type declaration collab Url: string [] email: string [] fax: string [] home: string [] jid: string [] mobile: string [] other: string [] presence Address: string presence Text: string softphone: string [] website: string [] work: string [] Contact Id Contact Id: number
DTMFDigit DTMFDigit: "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "*" | "#"
DTMFType DTMFType: "start" | "stop"
History Entry History
Entry
: { accountId
: AccountId ; callEnd
: Date ; displayName
: string ; duration
: number ; id
: string ; number
: string ; timeInitiated
: Date ; type
: HistoryEntryType } Type declaration call End: Date display Name: string duration: number id: string number: string time Initiated: Date History Entry Type History Entry Type: "missed" | "received" | "dialed"
History Events History Events: { historyUpdated: any }
Type declaration history Updated: function history Updated( ) : void | Promise < void > Returns void | Promise < void > History Type History Type: "all" | "missed"
Hold State Hold State: "offHold" | "localHold" | "remoteHold"
Phone Account Status Phone Account Status: "connected" | "connecting" | "failureContactingServer" | "failureAtServer" | "disabled"
Phone Call State Phone Call State: "allow" | "notAllow"
Phone State Phone State: "ready" | "notReady"
Phone Status Type declaration account Failure Code: number max Lines: number Presence Type Presence Type: "available" | "busy" | "away" | "onThePhone" | "notAvailableForCalls" | "doNotDisturb" | "offline"
Screen Share Invitee Type Screen Share Invitee Type: "xmpp" | "simple"
Screen Share Session Screen Share Session: { joinUrl: string ; status: string }
Type declaration join Url: string status: string System Information Response System Information Response: { systemCompanyName: string ; systemProductBuild: number ; systemProductName: string ; systemProductVersion: string }
Type declaration system Company Name: string system Product Build: number system Product Name: string system Product Version: string System Settings Response System
Settings
Response
: { callRightAwayOnceNumberSelected
: boolean ; defaultCallType
: CallType } Type declaration call Right Away Once Number Selected: boolean default Call Type: CallType Voicemail Voicemail
: { accountId
: AccountId ; accountName
: string ; count
: number } Type declaration account Name: string count: number Voicemail Events Voicemail Events: { voicemailUpdate: any }
Type declaration voicemail Update: function voicemail Update( voicemail: Voicemail ) : void | Promise < void > Parameters Returns void | Promise < void >
Microphone mute state