Contact: {
    addressInfo?: AddressType;
    avatarURL?: string;
    avatarUrlDomain?: string;
    companyName?: string;
    contactId?: string;
    contactType: ContactType;
    department?: string;
    displayName?: string;
    emails?: ContactDetail[];
    encryptionKeyUrl: string;
    firstName?: string;
    groups: string[];
    kmsResourceObjectUrl?: string;
    lastName?: string;
    manager?: string;
    ownerId?: string;
    phoneNumbers?: ContactDetail[];
    primaryContactMethod?: string;
    schemas?: string;
    sipAddresses?: ContactDetail[];
    title?: string;
}

Contact object is used to represent a contact.

Type declaration

  • Optional addressInfo?: AddressType

    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.

  • Optional 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?: ContactDetail[]

    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?: ContactDetail[]

    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?: ContactDetail[]

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

  • Optional title?: string

    This represents the job title of the contact.