UNPKG

workano-js-sdk

Version:

Workano Communications SDK - A modern JavaScript SDK for WebRTC and VoIP integration.

26 lines 1.38 kB
import { Contact, DirectorySource, NewContact, QueryParams, SearchableQueryParams, UuidSearchableQueryParams } from '../../lib/index'; export default class { static sources(): Promise<{ workanoSources: DirectorySource[]; conferenceSources: DirectorySource[]; phonebookSoruces: DirectorySource[]; }>; static workanoContactsAndPresence(source: DirectorySource, queryParams: UuidSearchableQueryParams): Promise<{ contacts: Contact[]; presences: import("../../lib/index").PresenceResponse[]; source: DirectorySource; queryParams: UuidSearchableQueryParams; }>; static conferenceContacts(source: DirectorySource, queryParams?: SearchableQueryParams): Promise<Contact[]>; static personalContacts(queryParams?: QueryParams): Promise<Contact[]>; static phonebookContacts(source: DirectorySource, queryParams?: QueryParams): Promise<{ items: import("../../lib/index").PhonebookResponseItem[]; total: number; }>; static addContact(newContact: NewContact): Promise<Contact>; static editContact(contact: Contact): Promise<Contact>; static favorites(): Promise<Contact[]>; static markAsFavorite(sourceName: string, sourceId: string): Promise<boolean>; static removeFavorite(sourceName: string, sourceId: string): Promise<void>; } //# sourceMappingURL=index.d.ts.map