diff --git a/packages/js/docs/ts/README.md b/packages/js/docs/ts/README.md index c0d7ee5b..1dc4f2eb 100644 --- a/packages/js/docs/ts/README.md +++ b/packages/js/docs/ts/README.md @@ -1,20 +1,18 @@ -# @telnyx/webrtc - ## Table of contents ### Call Classes -- [Call](classes/Call.md) +- [Call](/docs/voice/webrtc/js-sdk/classes/Call.md) ### Client Classes -- [TelnyxRTC](classes/TelnyxRTC.md) +- [TelnyxRTC](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md) ### Notification Interfaces -- [INotification](interfaces/INotification.md) +- [INotification](/docs/voice/webrtc/js-sdk/interfaces/INotification.md) ### Other Interfaces -- [ICallOptions](interfaces/ICallOptions.md) -- [IClientOptions](interfaces/IClientOptions.md) +- [ICallOptions](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md) +- [IClientOptions](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md) diff --git a/packages/js/docs/ts/classes/Call.md b/packages/js/docs/ts/classes/Call.md index 40ffd720..874c195f 100644 --- a/packages/js/docs/ts/classes/Call.md +++ b/packages/js/docs/ts/classes/Call.md @@ -1,5 +1,3 @@ -# Class: Call - A `Call` is the representation of an audio or video call between two browsers, SIP clients or phone numbers. The `call` object is created whenever a new call is initiated, either by you or the @@ -54,37 +52,37 @@ call.muteAudio(); ### Properties -- [direction](Call.md#direction) -- [id](Call.md#id) -- [prevState](Call.md#prevstate) -- [state](Call.md#state) +- [direction](/docs/voice/webrtc/js-sdk/classes/Call.md#direction) +- [id](/docs/voice/webrtc/js-sdk/classes/Call.md#id) +- [prevState](/docs/voice/webrtc/js-sdk/classes/Call.md#prevstate) +- [state](/docs/voice/webrtc/js-sdk/classes/Call.md#state) ### Accessors -- [localStream](Call.md#localstream) -- [remoteStream](Call.md#remotestream) -- [telnyxIDs](Call.md#telnyxids) +- [localStream](/docs/voice/webrtc/js-sdk/classes/Call.md#localstream) +- [remoteStream](/docs/voice/webrtc/js-sdk/classes/Call.md#remotestream) +- [telnyxIDs](/docs/voice/webrtc/js-sdk/classes/Call.md#telnyxids) ### Methods -- [answer](Call.md#answer) -- [deaf](Call.md#deaf) -- [dtmf](Call.md#dtmf) -- [getStats](Call.md#getstats) -- [hold](Call.md#hold) -- [muteAudio](Call.md#muteaudio) -- [muteVideo](Call.md#mutevideo) -- [setAudioInDevice](Call.md#setaudioindevice) -- [setAudioOutDevice](Call.md#setaudiooutdevice) -- [setVideoDevice](Call.md#setvideodevice) -- [toggleAudioMute](Call.md#toggleaudiomute) -- [toggleDeaf](Call.md#toggledeaf) -- [toggleHold](Call.md#togglehold) -- [toggleVideoMute](Call.md#togglevideomute) -- [undeaf](Call.md#undeaf) -- [unhold](Call.md#unhold) -- [unmuteAudio](Call.md#unmuteaudio) -- [unmuteVideo](Call.md#unmutevideo) +- [answer](/docs/voice/webrtc/js-sdk/classes/Call.md#answer) +- [deaf](/docs/voice/webrtc/js-sdk/classes/Call.md#deaf) +- [dtmf](/docs/voice/webrtc/js-sdk/classes/Call.md#dtmf) +- [getStats](/docs/voice/webrtc/js-sdk/classes/Call.md#getstats) +- [hold](/docs/voice/webrtc/js-sdk/classes/Call.md#hold) +- [muteAudio](/docs/voice/webrtc/js-sdk/classes/Call.md#muteaudio) +- [muteVideo](/docs/voice/webrtc/js-sdk/classes/Call.md#mutevideo) +- [setAudioInDevice](/docs/voice/webrtc/js-sdk/classes/Call.md#setaudioindevice) +- [setAudioOutDevice](/docs/voice/webrtc/js-sdk/classes/Call.md#setaudiooutdevice) +- [setVideoDevice](/docs/voice/webrtc/js-sdk/classes/Call.md#setvideodevice) +- [toggleAudioMute](/docs/voice/webrtc/js-sdk/classes/Call.md#toggleaudiomute) +- [toggleDeaf](/docs/voice/webrtc/js-sdk/classes/Call.md#toggledeaf) +- [toggleHold](/docs/voice/webrtc/js-sdk/classes/Call.md#togglehold) +- [toggleVideoMute](/docs/voice/webrtc/js-sdk/classes/Call.md#togglevideomute) +- [undeaf](/docs/voice/webrtc/js-sdk/classes/Call.md#undeaf) +- [unhold](/docs/voice/webrtc/js-sdk/classes/Call.md#unhold) +- [unmuteAudio](/docs/voice/webrtc/js-sdk/classes/Call.md#unmuteaudio) +- [unmuteVideo](/docs/voice/webrtc/js-sdk/classes/Call.md#unmutevideo) ## Properties diff --git a/packages/js/docs/ts/classes/TelnyxRTC.md b/packages/js/docs/ts/classes/TelnyxRTC.md index b81792ec..691b09c3 100644 --- a/packages/js/docs/ts/classes/TelnyxRTC.md +++ b/packages/js/docs/ts/classes/TelnyxRTC.md @@ -1,5 +1,3 @@ -# Class: TelnyxRTC - The `TelnyxRTC` client connects your application to the Telnyx backend, enabling you to make outgoing calls and handle incoming calls. @@ -44,40 +42,40 @@ client.off('telnyx.notification'); ### Constructors -- [constructor](TelnyxRTC.md#constructor) +- [constructor](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#constructor) ### Accessors -- [connected](TelnyxRTC.md#connected) -- [localElement](TelnyxRTC.md#localelement) -- [mediaConstraints](TelnyxRTC.md#mediaconstraints) -- [remoteElement](TelnyxRTC.md#remoteelement) -- [speaker](TelnyxRTC.md#speaker) +- [connected](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#connected) +- [localElement](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#localelement) +- [mediaConstraints](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#mediaconstraints) +- [remoteElement](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#remoteelement) +- [speaker](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#speaker) ### Methods -- [checkPermissions](TelnyxRTC.md#checkpermissions) -- [connect](TelnyxRTC.md#connect) -- [disableMicrophone](TelnyxRTC.md#disablemicrophone) -- [disableWebcam](TelnyxRTC.md#disablewebcam) -- [disconnect](TelnyxRTC.md#disconnect) -- [enableMicrophone](TelnyxRTC.md#enablemicrophone) -- [enableWebcam](TelnyxRTC.md#enablewebcam) -- [getAudioInDevices](TelnyxRTC.md#getaudioindevices) -- [getAudioOutDevices](TelnyxRTC.md#getaudiooutdevices) -- [getDeviceResolutions](TelnyxRTC.md#getdeviceresolutions) -- [getDevices](TelnyxRTC.md#getdevices) -- [getIsRegistered](TelnyxRTC.md#getisregistered) -- [getVideoDevices](TelnyxRTC.md#getvideodevices) -- [logout](TelnyxRTC.md#logout) -- [newCall](TelnyxRTC.md#newcall) -- [off](TelnyxRTC.md#off) -- [on](TelnyxRTC.md#on) -- [onNetworkClose](TelnyxRTC.md#onnetworkclose) -- [setAudioSettings](TelnyxRTC.md#setaudiosettings) -- [setVideoSettings](TelnyxRTC.md#setvideosettings) -- [webRTCInfo](TelnyxRTC.md#webrtcinfo) -- [webRTCSupportedBrowserList](TelnyxRTC.md#webrtcsupportedbrowserlist) +- [checkPermissions](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#checkpermissions) +- [connect](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#connect) +- [disableMicrophone](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#disablemicrophone) +- [disableWebcam](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#disablewebcam) +- [disconnect](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#disconnect) +- [enableMicrophone](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#enablemicrophone) +- [enableWebcam](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#enablewebcam) +- [getAudioInDevices](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getaudioindevices) +- [getAudioOutDevices](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getaudiooutdevices) +- [getDeviceResolutions](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getdeviceresolutions) +- [getDevices](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getdevices) +- [getIsRegistered](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getisregistered) +- [getVideoDevices](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#getvideodevices) +- [logout](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#logout) +- [newCall](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#newcall) +- [off](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#off) +- [on](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#on) +- [onNetworkClose](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#onnetworkclose) +- [setAudioSettings](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#setaudiosettings) +- [setVideoSettings](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#setvideosettings) +- [webRTCInfo](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#webrtcinfo) +- [webRTCSupportedBrowserList](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md#webrtcsupportedbrowserlist) ## Constructors @@ -91,7 +89,7 @@ Creates a new `TelnyxRTC` instance with the provided options. | Name | Type | Description | | :------ | :------ | :------ | -| `options` | [`IClientOptions`](../interfaces/IClientOptions.md) | Options for initializing a client | +| `options` | [`IClientOptions`](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md) | Options for initializing a client | **`Examples`** @@ -851,7 +849,7 @@ ___ ### newCall -▸ **newCall**(`options`): [`Call`](Call.md) +▸ **newCall**(`options`): [`Call`](/docs/voice/webrtc/js-sdk/classes/Call.md) Makes a new outbound call. @@ -859,11 +857,11 @@ Makes a new outbound call. | Name | Type | Description | | :------ | :------ | :------ | -| `options` | [`ICallOptions`](../interfaces/ICallOptions.md) | Options object for a new call. | +| `options` | [`ICallOptions`](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md) | Options object for a new call. | #### Returns -[`Call`](Call.md) +[`Call`](/docs/voice/webrtc/js-sdk/classes/Call.md) The new outbound `Call` object. @@ -911,7 +909,7 @@ ___ ### off -▸ **off**(`eventName`, `callback?`): [`TelnyxRTC`](TelnyxRTC.md) +▸ **off**(`eventName`, `callback?`): [`TelnyxRTC`](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md) Removes an event handler that were attached with .on(). If no handler parameter is passed, all listeners for that event will be removed. @@ -925,7 +923,7 @@ If no handler parameter is passed, all listeners for that event will be removed. #### Returns -[`TelnyxRTC`](TelnyxRTC.md) +[`TelnyxRTC`](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md) The client object itself. @@ -957,7 +955,7 @@ ___ ### on -▸ **on**(`eventName`, `callback`): [`TelnyxRTC`](TelnyxRTC.md) +▸ **on**(`eventName`, `callback`): [`TelnyxRTC`](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md) Attaches an event handler for a specific type of event. @@ -981,7 +979,7 @@ Attaches an event handler for a specific type of event. #### Returns -[`TelnyxRTC`](TelnyxRTC.md) +[`TelnyxRTC`](/docs/voice/webrtc/js-sdk/classes/TelnyxRTC.md) The client object itself. diff --git a/packages/js/docs/ts/interfaces/ICallOptions.md b/packages/js/docs/ts/interfaces/ICallOptions.md index 91cd0c21..826db500 100644 --- a/packages/js/docs/ts/interfaces/ICallOptions.md +++ b/packages/js/docs/ts/interfaces/ICallOptions.md @@ -1,5 +1,3 @@ -# Interface: ICallOptions - ICallOptions ICallOptions @@ -7,31 +5,31 @@ ICallOptions ### Properties -- [audio](ICallOptions.md#audio) -- [callerName](ICallOptions.md#callername) -- [callerNumber](ICallOptions.md#callernumber) -- [camId](ICallOptions.md#camid) -- [clientState](ICallOptions.md#clientstate) -- [customHeaders](ICallOptions.md#customheaders) -- [debug](ICallOptions.md#debug) -- [debugOutput](ICallOptions.md#debugoutput) -- [destinationNumber](ICallOptions.md#destinationnumber) -- [iceServers](ICallOptions.md#iceservers) -- [id](ICallOptions.md#id) -- [localElement](ICallOptions.md#localelement) -- [localStream](ICallOptions.md#localstream) -- [mediaSettings](ICallOptions.md#mediasettings) -- [micId](ICallOptions.md#micid) -- [onNotification](ICallOptions.md#onnotification) -- [preferred\_codecs](ICallOptions.md#preferred_codecs) -- [remoteElement](ICallOptions.md#remoteelement) -- [remoteStream](ICallOptions.md#remotestream) -- [speakerId](ICallOptions.md#speakerid) -- [telnyxCallControlId](ICallOptions.md#telnyxcallcontrolid) -- [telnyxLegId](ICallOptions.md#telnyxlegid) -- [telnyxSessionId](ICallOptions.md#telnyxsessionid) -- [useStereo](ICallOptions.md#usestereo) -- [video](ICallOptions.md#video) +- [audio](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#audio) +- [callerName](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#callername) +- [callerNumber](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#callernumber) +- [camId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#camid) +- [clientState](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#clientstate) +- [customHeaders](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#customheaders) +- [debug](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#debug) +- [debugOutput](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#debugoutput) +- [destinationNumber](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#destinationnumber) +- [iceServers](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#iceservers) +- [id](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#id) +- [localElement](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#localelement) +- [localStream](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#localstream) +- [mediaSettings](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#mediasettings) +- [micId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#micid) +- [onNotification](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#onnotification) +- [preferred\_codecs](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#preferred_codecs) +- [remoteElement](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#remoteelement) +- [remoteStream](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#remotestream) +- [speakerId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#speakerid) +- [telnyxCallControlId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#telnyxcallcontrolid) +- [telnyxLegId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#telnyxlegid) +- [telnyxSessionId](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#telnyxsessionid) +- [useStereo](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#usestereo) +- [video](/docs/voice/webrtc/js-sdk/interfaces/ICallOptions.md#video) ## Properties diff --git a/packages/js/docs/ts/interfaces/IClientOptions.md b/packages/js/docs/ts/interfaces/IClientOptions.md index 0e73f389..64b9e7e4 100644 --- a/packages/js/docs/ts/interfaces/IClientOptions.md +++ b/packages/js/docs/ts/interfaces/IClientOptions.md @@ -1,5 +1,3 @@ -# Interface: IClientOptions - IClientOptions IClientOptions @@ -7,11 +5,11 @@ IClientOptions ### Properties -- [login](IClientOptions.md#login) -- [login\_token](IClientOptions.md#login_token) -- [password](IClientOptions.md#password) -- [ringbackFile](IClientOptions.md#ringbackfile) -- [ringtoneFile](IClientOptions.md#ringtonefile) +- [login](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md#login) +- [login\_token](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md#login_token) +- [password](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md#password) +- [ringbackFile](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md#ringbackfile) +- [ringtoneFile](/docs/voice/webrtc/js-sdk/interfaces/IClientOptions.md#ringtonefile) ## Properties diff --git a/packages/js/docs/ts/interfaces/INotification.md b/packages/js/docs/ts/interfaces/INotification.md index 81fcc55f..fae5c3e5 100644 --- a/packages/js/docs/ts/interfaces/INotification.md +++ b/packages/js/docs/ts/interfaces/INotification.md @@ -1,5 +1,3 @@ -# Interface: INotification - An event dispatched by Telnyx to notify the client of changes to the session or call. The conditions of the event can be identified by the `type` property. @@ -62,9 +60,9 @@ Notification ### Properties -- [call](INotification.md#call) -- [error](INotification.md#error) -- [type](INotification.md#type) +- [call](/docs/voice/webrtc/js-sdk/interfaces/INotification.md#call) +- [error](/docs/voice/webrtc/js-sdk/interfaces/INotification.md#error) +- [type](/docs/voice/webrtc/js-sdk/interfaces/INotification.md#type) ## Properties diff --git a/packages/js/typedoc.json b/packages/js/typedoc.json index b6b2368d..e61b962a 100644 --- a/packages/js/typedoc.json +++ b/packages/js/typedoc.json @@ -13,11 +13,14 @@ "excludePrivate": true, "excludeProtected": true, "excludeNotDocumented": true, + "cleanOutputDir": true, "excludeTags": ["@internalnote", "@internal"], "hideGenerator": true, "readme": "none", "gitRevision": "main", "disableSources": true, "hideBreadcrumbs": true, - "namedAnchors": true + "namedAnchors": true, + "hidePageTitle": true, + "publicPath": "/docs/voice/webrtc/js-sdk/" }