Skip to content

Commit

Permalink
fix(calling): exporting interfaces, types from index.ts file (#3275)
Browse files Browse the repository at this point in the history
Co-authored-by: Priya Kesari <[email protected]>
  • Loading branch information
Kesari3008 and Kesari3008 authored Dec 20, 2023
1 parent ee6542d commit a7b9626
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/calling/src/Errors/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export {CallingClientError} from './catalog/CallingDeviceError';
export {CallError} from './catalog/CallError';
export {LineError} from './catalog/LineError';
2 changes: 0 additions & 2 deletions packages/calling/src/Events/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,6 @@ export type CallHistoryEventTypes = {
/* External Eventing End */

/** Internal Eventing Start */
// https://sqbu-github.cisco.com/pages/webrtc-calling/mobius/mobius-api-spec/docs/async.html#operation-publish-calls

enum CALL_STATE {
HELD = 'held',
REMOTE_HELD = 'remoteheld',
Expand Down
34 changes: 34 additions & 0 deletions packages/calling/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,37 @@ export {
Logger,
NoiseReductionEffect,
};

export {ERROR_LAYER, ERROR_TYPE} from './Errors/types';
export {ICallingClient} from './CallingClient/types';
export {ICallHistory, JanusResponseEvent} from './CallHistory/types';
export {
CallForwardSetting,
CallForwardAlwaysSetting,
CallSettingResponse,
ICallSettings,
ToggleSetting,
VoicemailSetting,
} from './CallSettings/types';
export {Contact, ContactResponse, GroupType, IContacts} from './Contacts/types';
export {IVoicemail, SummaryInfo, VoicemailResponseEvent} from './Voicemail/types';
export {ILine, LINE_EVENTS} from './CallingClient/line/types';
export {
CALLING_CLIENT_EVENT_KEYS,
CALL_EVENT_KEYS,
CallerIdDisplay,
Disposition,
LINE_EVENT_KEYS,
COMMON_EVENT_KEYS,
UserSession,
} from './Events/types';
export {
CallDetails,
CallDirection,
CallType,
DisplayInformation,
SORT,
SORT_BY,
} from './common/types';
export {CallError, LineError} from './Errors';
export {ICall, TransferType} from './CallingClient/calling/types';

0 comments on commit a7b9626

Please sign in to comment.