Skip to content

Commit

Permalink
fix: Exported additional NCCO classes and interfaces that weren't bef…
Browse files Browse the repository at this point in the history
…ore (#732)
  • Loading branch information
dragonmantank authored Nov 17, 2022
1 parent 5b4b201 commit a36ef9c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/voice/lib/classes/NCCO/Notify.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NotifyAction } from '../../interfaces/NCCO/Notify'
import { NotifyAction } from '../../interfaces/NCCO/NotifyAction'
import { Serializable } from '../../ncco'

export class Notify implements NotifyAction, Serializable {
Expand Down
16 changes: 13 additions & 3 deletions packages/voice/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,23 @@ export { SIPEndpointObject } from './interfaces/Endpoint/SIPEndpointObject'
export { WebsocketEndpointObject } from './interfaces/Endpoint/WebsocketEndpointObject'
export { VBCEndpointObject } from './interfaces/Endpoint/VBCEndpointObject'
export {
Connect,
ConnectAction,
Conversation,
ConversationAction,
Input,
NCCOBuilder,
Talk,
DTMFSettings,
InputAction,
NCCOBuilder,
Notify,
NotifyAction,
Record,
RecordAction,
SpeechSettings,
Stream,
StreamAction,
Talk,
TalkAction,
DTMFSettings,
URLTransfer,
NCCOTransfer,
Action,
Expand Down
13 changes: 11 additions & 2 deletions packages/voice/lib/ncco.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
export { Connect } from './classes/NCCO/Connect'
export { Conversation } from './classes/NCCO/Conversation'
export { Input } from './classes/NCCO/Input'
export { NCCOBuilder } from './classes/NCCO/NCCOBuilder'
export { Serializable } from './interfaces/NCCO/Serializable'
export { Notify } from './classes/NCCO/Notify'
export { Record } from './classes/NCCO/Record'
export { Stream } from './classes/NCCO/Stream'
export { Talk } from './classes/NCCO/Talk'
export { Conversation } from './classes/NCCO/Conversation'

export { ConnectAction } from './interfaces/NCCO/ConnectAction'
export { ConversationAction } from './interfaces/NCCO/ConversationAction'
export { DTMFSettings } from './interfaces/NCCO/DTMFSettings'
export { InputAction } from './interfaces/NCCO/InputAction'
export { NotifyAction } from './interfaces/NCCO/NotifyAction'
export { RecordAction } from './interfaces/NCCO/RecordAction'
export { Serializable } from './interfaces/NCCO/Serializable'
export { SpeechSettings } from './interfaces/NCCO/SpeechSettings'
export { StreamAction } from './interfaces/NCCO/StreamAction'
export { TalkAction } from './interfaces/NCCO/TalkAction'
export { URLTransfer, NCCOTransfer } from './interfaces/NCCO/Transfer'

Expand Down
2 changes: 1 addition & 1 deletion packages/voice/lib/types/NCCO/Action.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ConnectAction } from '../../interfaces/NCCO/ConnectAction'
import { ConversationAction } from '../../interfaces/NCCO/ConversationAction'
import { InputAction } from '../../interfaces/NCCO/InputAction'
import { NotifyAction } from '../../interfaces/NCCO/Notify'
import { NotifyAction } from '../../interfaces/NCCO/NotifyAction'
import { RecordAction } from '../../interfaces/NCCO/RecordAction'
import { StreamAction } from '../../interfaces/NCCO/StreamAction'
import { TalkAction } from '../../interfaces/NCCO/TalkAction'
Expand Down

0 comments on commit a36ef9c

Please sign in to comment.