You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ console.log(`Authorization access to contacts is: ${authStatus}`)
48
48
49
49
### contacts.getAllContacts([extraProperties])
50
50
51
-
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, or `contactThumbnailImage`.
51
+
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, or `socialProfiles`.
52
52
53
53
Returns `Array<Object>` - Returns an array of contact objects.
54
54
@@ -68,6 +68,7 @@ The returned objects will take the following format:
68
68
*`note` String (optional) - The note associated with the contact.
69
69
*`contactImage` Buffer (optional) - a Buffer representation of the contact's profile picture.
70
70
*`contactThumbnailImage` Buffer (optional) - a Buffer representation of The thumbnail version of the contact’s profile picture.
71
+
*`socialProfiles` Object[] (optional) - An array of labeled social profiles for a contact.
71
72
72
73
This method will return an empty array (`[]`) if access to Contacts has not been granted.
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, or `contactThumbnailImage`.
98
+
*`extraProperties` string[] (optional) - an array of extra contact properties to fetch that can be any of: `jobTitle`, `departmentName`, `organizationName`, `middleName`, `note`, `contactImage`, `contactThumbnailImage`, or `socialProfiles`.
98
99
99
100
Returns `Array<Object>` - Returns an array of contact objects where either the first or last name of the contact matches `name`.
100
101
@@ -116,6 +117,7 @@ The returned object will take the following format:
116
117
*`note` String (optional) - The note associated with the contact.
117
118
*`contactImage` Buffer (optional) - a Buffer representation of the contact's profile picture.
118
119
*`contactThumbnailImage` Buffer (optional) - a Buffer representation of The thumbnail version of the contact’s profile picture.
120
+
*`socialProfiles` Object[] (optional) - An array of labeled social profiles for a contact.
119
121
120
122
This method will return an empty array (`[]`) if access to Contacts has not been granted.
0 commit comments