Skip to content

Commit

Permalink
chore: update doc generator links
Browse files Browse the repository at this point in the history
  • Loading branch information
farhat-ha committed Oct 16, 2024
1 parent fd87e08 commit 2550524
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 112 deletions.
12 changes: 5 additions & 7 deletions packages/js/docs/ts/README.md
Original file line number Diff line number Diff line change
@@ -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)
52 changes: 25 additions & 27 deletions packages/js/docs/ts/classes/Call.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

Expand Down
74 changes: 36 additions & 38 deletions packages/js/docs/ts/classes/TelnyxRTC.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
Expand All @@ -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`**
Expand Down Expand Up @@ -851,19 +849,19 @@ ___
### <a id="newcall" name="newcall"></a> newCall
▸ **newCall**(`options`): [`Call`](Call.md)
▸ **newCall**(`options`): [`Call`](/docs/voice/webrtc/js-sdk/classes/Call.md)
Makes a new outbound call.
#### Parameters
| 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.
Expand Down Expand Up @@ -911,7 +909,7 @@ ___
### <a id="off" name="off"></a> 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.
Expand All @@ -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.
Expand Down Expand Up @@ -957,7 +955,7 @@ ___
### <a id="on" name="on"></a> 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.
Expand All @@ -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.
Expand Down
52 changes: 25 additions & 27 deletions packages/js/docs/ts/interfaces/ICallOptions.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,35 @@
# Interface: ICallOptions

ICallOptions
ICallOptions

## Table of contents

### 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

Expand Down
12 changes: 5 additions & 7 deletions packages/js/docs/ts/interfaces/IClientOptions.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
# Interface: IClientOptions

IClientOptions
IClientOptions

## Table of contents

### 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

Expand Down
8 changes: 3 additions & 5 deletions packages/js/docs/ts/interfaces/INotification.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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

Expand Down
5 changes: 4 additions & 1 deletion packages/js/typedoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
}

0 comments on commit 2550524

Please sign in to comment.