Methods
createContact
- createContact(data): Promise<void>
Parameters
- data: Readonly<{
associatedUserId?: string;
emails: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
favorite?: boolean;
id: string;
name: string;
phones: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
}>
Returns Promise<void>
deleteContact
- deleteContact(id): Promise<void>
Returns Promise<void>
getContacts$
- getContacts$(query?): Observable<Readonly<{
contacts: readonly Readonly<{
associatedUserId?: string;
emails: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
favorite?: boolean;
id: string;
name: string;
phones: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
}>[];
id: string;
name: string;
type: AddressBookType;
}>[]> Parameters
- query: Readonly<{
azureOrgContacts: boolean;
azureOrgUsers: boolean;
azurePersonalContacts: boolean;
contacts: boolean;
domain: boolean;
groups: boolean;
phonebooks: boolean;
static: boolean;
}> = DEFAULT_ADDRESS_BOOKS_QUERY
Returns Observable<Readonly<{
contacts: readonly Readonly<{
associatedUserId?: string;
emails: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
favorite?: boolean;
id: string;
name: string;
phones: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
}>[];
id: string;
name: string;
type: AddressBookType;
}>[]>
updateContact
- updateContact(contact): Promise<void>
Parameters
- contact: Readonly<{
associatedUserId?: string;
emails: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
favorite?: boolean;
id: string;
name: string;
phones: readonly Readonly<{
primary: boolean;
type: AddressTypeDto;
value: string;
}>[];
}>
Returns Promise<void>