-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
15 changed files
with
685 additions
and
1,077 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/IAdapterAggregator.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { ICallHistoryAdapter } from './ICallHistoryAdapter'; | ||
import { ISearchContactsAdapter } from './ISearchContactsAdapter'; | ||
export declare abstract class IAdapterAggregator { | ||
callHistoryAdapter?: ICallHistoryAdapter; | ||
speedDialsAdapter?: unknown; | ||
searchContactsAdapter?: ISearchContactsAdapter; | ||
} | ||
//# sourceMappingURL=IAdapterAggregator.d.ts.map |
69 changes: 69 additions & 0 deletions
69
...sftnewwithfork/component-adapter-interfaces/src/webexcalling/src/ICallHistoryAdapter.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import { Observable } from 'rxjs'; | ||
export declare enum DispositionTypes { | ||
MISSED = "MISSED", | ||
CANCELLED = "CANCELLED", | ||
INITIATED = "INITIATED" | ||
} | ||
export declare enum DirectionTypes { | ||
INCOMING = "INCOMING", | ||
OUTGOING = "OUTGOING" | ||
} | ||
export declare type SessionTypes = 'SPARK' | 'BROADWORKS'; | ||
export interface ISDKCallHistoryRecord { | ||
id: string; | ||
url?: string; | ||
sessionId?: string; | ||
sessionType?: SessionTypes; | ||
startTime?: string; | ||
endTime?: string; | ||
durationSecs?: number; | ||
durationSeconds?: number; | ||
joinedDurationSeconds?: number; | ||
participantCount?: number; | ||
direction: DirectionTypes; | ||
disposition: DispositionTypes; | ||
self?: { | ||
id: string; | ||
name: string; | ||
phoneNumber?: string; | ||
incomingCallProtocols?: unknown[]; | ||
}; | ||
other: { | ||
id: string; | ||
name: string; | ||
phoneNumber?: string; | ||
isPrivate?: boolean; | ||
callbackAddress: string; | ||
}; | ||
links: { | ||
callbackAddress: string; | ||
conversationUrl: string; | ||
locusUrl?: string; | ||
}; | ||
isSelected?: boolean; | ||
isDeleted?: boolean; | ||
isPMR?: boolean; | ||
correlationIds?: unknown[]; | ||
} | ||
export declare type ICallHistoryRecords = { | ||
lastUpdated?: string; | ||
items?: Record<string, ICallHistoryRecord>; | ||
}; | ||
export interface ICallHistoryRecord { | ||
id: string; | ||
name: string; | ||
direction?: DirectionTypes; | ||
disposition?: DispositionTypes; | ||
startTime?: string; | ||
endTime?: string; | ||
sessionType?: string; | ||
phoneNumber?: string; | ||
callbackAddress?: string; | ||
isSelected?: boolean; | ||
} | ||
export interface ICallHistoryAdapter { | ||
refresh(ID?: string): void; | ||
getAll(ID?: string): Observable<ICallHistoryRecord[]>; | ||
getOne?(ID?: string): Observable<ICallHistoryRecord>; | ||
} | ||
//# sourceMappingURL=ICallHistoryAdapter.d.ts.map |
4 changes: 4 additions & 0 deletions
4
...a/msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/IMakeCallAdapter.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface IMakeCallAdapter { | ||
makeCall: (address: string, isVideo: boolean) => Promise<void>; | ||
} | ||
//# sourceMappingURL=IMakeCallAdapter.d.ts.map |
15 changes: 15 additions & 0 deletions
15
...newwithfork/component-adapter-interfaces/src/webexcalling/src/ISearchContactsAdapter.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { IWebexIntContact } from './shared'; | ||
export interface ISearchContactsAdapterSearchInput { | ||
searchText: string; | ||
} | ||
export interface ISearchContactsAdapterSearchResponse { | ||
count: number; | ||
items: { | ||
[sourceName: string]: IWebexIntContact[]; | ||
}; | ||
} | ||
export interface ISearchContactsAdapter { | ||
search: (_: ISearchContactsAdapterSearchInput) => Promise<ISearchContactsAdapterSearchResponse>; | ||
getSources: () => string[]; | ||
} | ||
//# sourceMappingURL=ISearchContactsAdapter.d.ts.map |
35 changes: 35 additions & 0 deletions
35
...msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/ISpeedDialsAdapter.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { Observable } from 'rxjs'; | ||
export interface ISpeedDialRecord { | ||
/** The id for reference */ | ||
id: string; | ||
/** The display name */ | ||
displayName: string; | ||
/** The status to display Online/Offline */ | ||
status?: string; | ||
/** The number to display */ | ||
number?: string; | ||
/** The call type (audio/video) */ | ||
callType?: string; | ||
/** The phone number to display */ | ||
phone?: string; | ||
/** The phone number type (work,mobile,mail) */ | ||
phoneType?: string; | ||
/** Callback address to pass to call action */ | ||
currentCallAddress?: string; | ||
mail?: string; | ||
mobilePhone?: string; | ||
businessPhones?: string[]; | ||
surname?: string; | ||
givenName?: string; | ||
photo?: string; | ||
} | ||
export interface ISpeedDialsAdapter { | ||
refresh?(ID?: string): void; | ||
getAll(ID?: string): Observable<ISpeedDialRecord[]>; | ||
getOne(ID?: string): Observable<ISpeedDialRecord>; | ||
getContacts?(query?: string): Observable<ISpeedDialRecord[]>; | ||
add?(speedDial: ISpeedDialRecord): void; | ||
update?(speedDial: ISpeedDialRecord): void; | ||
remove?(speedDial: ISpeedDialRecord): void; | ||
} | ||
//# sourceMappingURL=ISpeedDialsAdapter.d.ts.map |
16 changes: 16 additions & 0 deletions
16
.../msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/IVoicemailAdapter.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Observable } from 'rxjs'; | ||
export interface IWebexVoicemail { | ||
id: string; | ||
name: string; | ||
address: string; | ||
unread: boolean; | ||
date: string; | ||
audioSrc: string; | ||
} | ||
export interface IVoicemailAdapter { | ||
refresh(): void; | ||
getAll(): Observable<IWebexVoicemail[]>; | ||
deleteVoicemail(ID: string): void; | ||
markVoicemailRead(ID: string): void; | ||
} | ||
//# sourceMappingURL=IVoicemailAdapter.d.ts.map |
8 changes: 8 additions & 0 deletions
8
...ents/jenitha/msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/index.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export * from './shared'; | ||
export * from './ICallHistoryAdapter'; | ||
export * from './ISearchContactsAdapter'; | ||
export * from './IAdapterAggregator'; | ||
export * from './IMakeCallAdapter'; | ||
export * from './ISpeedDialsAdapter'; | ||
export * from './IVoicemailAdapter'; | ||
//# sourceMappingURL=index.d.ts.map |
15 changes: 15 additions & 0 deletions
15
...nts/jenitha/msftnewwithfork/component-adapter-interfaces/src/webexcalling/src/shared.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export interface IWebexIntContact { | ||
id: string; | ||
name: string; | ||
phoneNumbers: IWebexIntCallableEntity[]; | ||
emailAddresses: IWebexIntCallableEntity[]; | ||
fetchAvatarUrl?: () => Promise<string | undefined>; | ||
} | ||
export interface IWebexIntCallableEntity { | ||
type: string; | ||
address: string; | ||
} | ||
export interface IUserAvatar { | ||
fetchAvatar: () => string; | ||
} | ||
//# sourceMappingURL=shared.d.ts.map |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.