From 45010f8929aad0e14e2338bed970eec480803f97 Mon Sep 17 00:00:00 2001 From: arungane Date: Wed, 15 Feb 2023 12:01:44 -0500 Subject: [PATCH] fix(calling): changes to release to npm --- src/webexcalling/src/ICallHistoryAdapter.ts | 2 -- src/webexcalling/src/IMakeCallAdapter.ts | 1 + src/webexcalling/src/IMetricsAdapter.ts | 1 + src/webexcalling/src/ISearchContactsAdapter.ts | 2 +- src/webexcalling/src/ISpeedDialsAdapter.ts | 3 +-- src/webexcalling/src/IVoicemailAdapter.ts | 5 ----- src/webexcalling/src/index.ts | 2 +- src/webexcalling/src/shared.ts | 2 -- 8 files changed, 5 insertions(+), 13 deletions(-) diff --git a/src/webexcalling/src/ICallHistoryAdapter.ts b/src/webexcalling/src/ICallHistoryAdapter.ts index 4f67eab..80dc3fc 100644 --- a/src/webexcalling/src/ICallHistoryAdapter.ts +++ b/src/webexcalling/src/ICallHistoryAdapter.ts @@ -67,7 +67,6 @@ export interface ICallHistoryRecord { callbackAddress?: string; isSelected?: boolean; } - export interface ICallHistoryAdapter { refresh(ID?: string): void; @@ -147,7 +146,6 @@ export interface IUserSession { export interface IUserSessionData { userSessions: IUserSession[]; } - export interface IWebexCallHistoryResponse { statusCode: number; data: IUserSessionData; diff --git a/src/webexcalling/src/IMakeCallAdapter.ts b/src/webexcalling/src/IMakeCallAdapter.ts index e20f5e3..d7d96d1 100644 --- a/src/webexcalling/src/IMakeCallAdapter.ts +++ b/src/webexcalling/src/IMakeCallAdapter.ts @@ -1,3 +1,4 @@ +// function to make call export interface IMakeCallAdapter { makeCall: (address: string, isVideo: boolean) => Promise; } diff --git a/src/webexcalling/src/IMetricsAdapter.ts b/src/webexcalling/src/IMetricsAdapter.ts index e645074..c1992af 100644 --- a/src/webexcalling/src/IMetricsAdapter.ts +++ b/src/webexcalling/src/IMetricsAdapter.ts @@ -46,3 +46,4 @@ export enum CALLING_BACKEND { } export interface IMetricsAdaptor {} + diff --git a/src/webexcalling/src/ISearchContactsAdapter.ts b/src/webexcalling/src/ISearchContactsAdapter.ts index 90268f8..76e8b65 100644 --- a/src/webexcalling/src/ISearchContactsAdapter.ts +++ b/src/webexcalling/src/ISearchContactsAdapter.ts @@ -17,4 +17,4 @@ export interface ISearchContactsAdapter { ) => Promise; getSources: () => string[]; -} +} \ No newline at end of file diff --git a/src/webexcalling/src/ISpeedDialsAdapter.ts b/src/webexcalling/src/ISpeedDialsAdapter.ts index 11822ab..9f84d3e 100644 --- a/src/webexcalling/src/ISpeedDialsAdapter.ts +++ b/src/webexcalling/src/ISpeedDialsAdapter.ts @@ -38,7 +38,6 @@ export interface ISpeedDialRecord { defaultKey?: string selectedIndex?: any } - export interface ISpeedDialsAdapter { refresh?(ID?: string): void; @@ -55,4 +54,4 @@ export interface ISpeedDialsAdapter { remove(speedDial: ISpeedDialRecord): void; reOrder(speedDial: ISpeedDialRecord): void; -} +} \ No newline at end of file diff --git a/src/webexcalling/src/IVoicemailAdapter.ts b/src/webexcalling/src/IVoicemailAdapter.ts index 730de15..73cf2e4 100644 --- a/src/webexcalling/src/IVoicemailAdapter.ts +++ b/src/webexcalling/src/IVoicemailAdapter.ts @@ -46,7 +46,6 @@ export interface IUserId { export interface IAddress { $: string; } - export interface ICallingPartyInfo { name: IName; userId: IUserId; @@ -91,11 +90,9 @@ export interface IVoiceMessageContent { type: string; content: string; } - export interface IVoiceMessageContentData { voicemailContent: IVoiceMessageContent; } - export interface IVoiceMessageContentResponse { statusCode: number; data: IVoiceMessageContentData; @@ -105,13 +102,11 @@ export interface IVoiceMessageContentResponse { } export interface IVoiceMailReadData { } - export interface IVoiceMailReadResponse { statusCode: number; data: IVoiceMailReadData; message: string; } - export interface IVoicemailAdapter { refresh(): void; diff --git a/src/webexcalling/src/index.ts b/src/webexcalling/src/index.ts index 0f26960..332818c 100644 --- a/src/webexcalling/src/index.ts +++ b/src/webexcalling/src/index.ts @@ -5,4 +5,4 @@ export * from './IAdapterAggregator'; export * from './IMakeCallAdapter'; export * from './ISpeedDialsAdapter'; export * from './IVoicemailAdapter'; -export * from './IMetricsAdapter'; \ No newline at end of file +export * from './IMetricsAdapter'; diff --git a/src/webexcalling/src/shared.ts b/src/webexcalling/src/shared.ts index aa44617..e13c4f8 100644 --- a/src/webexcalling/src/shared.ts +++ b/src/webexcalling/src/shared.ts @@ -6,12 +6,10 @@ export interface IWebexIntContact { fetchAvatarUrl?: () => Promise; displayName?: string } - export interface IWebexIntCallableEntity { type: string; address: string; } - export interface IUserAvatar { fetchAvatar: () => string; }