Contact: {
    addressInfo?: Address;
    avatarURL?: string;
    avatarUrlDomain?: string;
    companyName?: string;
    contactId: string;
    contactType: ContactType;
    department?: string;
    displayName?: string;
    emails?: URIAddress[];
    encryptionKeyUrl: string;
    firstName?: string;
    groups: string[];
    kmsResourceObjectUrl?: string;
    lastName?: string;
    manager?: string;
    ownerId?: string;
    phoneNumbers?: PhoneNumber[];
    primaryContactMethod?: string;
    schemas?: string;
    sipAddresses?: URIAddress[];
    resolved: boolean;
}

Contact object is used to represent a contact.

Type declaration

  • Optional addressInfo?: Address

    This represents the complete address of the contact.

  • Optional avatarURL?: string

    This represents the URL of the avatar of the contact.

  • Optional avatarUrlDomain?: string

    This represents the domain of the avatar of the contact.

  • Optional companyName?: string

    This represents the company name of the contact.

  • contactId: string

    Unique identifier of the contact.

  • contactType: ContactType

    Indicates the type of the contact, can be CLOUD or CUSTOM.

  • Optional department?: string

    Department of the contact in the company if it's a corporate contact.

  • Optional displayName?: string

    This represents the display name of the contact.

  • Optional emails?: URIAddress[]

    This represents the array of different email addresses of the contact.

  • encryptionKeyUrl: string

    This is encrypted key url of the contact used for encryption.

  • Optional firstName?: string

    This represents the first name of the contact.

  • groups: string[]

    Array of different groups and it's details available for the user

  • Optional kmsResourceObjectUrl?: string

    The kms resource object url used to generate the encryption key.

  • Optional lastName?: string

    This represents the last name of the contact.

  • Optional manager?: string

    This represents the manager of the contact.

  • Optional ownerId?: string

    Userd ID of the user who has the contact.

  • Optional phoneNumbers?: PhoneNumber[]

    This represents the array of different phone numbers of the contact.

  • Optional primaryContactMethod?: string

    Primary contact method as set by the contact.

  • Optional schemas?: string

    This represents the schema of the contact.

  • Optional sipAddresses?: URIAddress[]

    This represents the array of different sip addresses of the contact.

  • resolved: boolean

    This field indicates whether the contact was resolved successfully.