|
46 | 46 | NvSyncInbox, |
47 | 47 | NvUnsaveAccount, |
48 | 48 | NvUnsaveLead, |
| 49 | + RcArchiveProject, |
| 50 | + RcCreateProject, |
| 51 | + RcFetchPerson, |
| 52 | + RcRenameProject, |
| 53 | + RcRetrieveProjectCandidates, |
| 54 | + RcRetrieveProjects, |
| 55 | + RcSaveToProject, |
| 56 | + RcSearchPeople, |
| 57 | + RcSendMessage, |
| 58 | + RcSyncInbox, |
49 | 59 | ReactToComment, |
50 | 60 | ReactToPost, |
51 | 61 | RemoveConnection, |
@@ -151,6 +161,17 @@ def __init__(self, config: LinkedApiConfig | HttpClient[Any]) -> None: |
151 | 161 | self.nv_fetch_company = NvFetchCompany(self.http_client) |
152 | 162 | self.nv_fetch_person = NvFetchPerson(self.http_client) |
153 | 163 |
|
| 164 | + self.rc_archive_project = RcArchiveProject(self.http_client) |
| 165 | + self.rc_create_project = RcCreateProject(self.http_client) |
| 166 | + self.rc_fetch_person = RcFetchPerson(self.http_client) |
| 167 | + self.rc_rename_project = RcRenameProject(self.http_client) |
| 168 | + self.rc_retrieve_project_candidates = RcRetrieveProjectCandidates(self.http_client) |
| 169 | + self.rc_retrieve_projects = RcRetrieveProjects(self.http_client) |
| 170 | + self.rc_save_to_project = RcSaveToProject(self.http_client) |
| 171 | + self.rc_search_people = RcSearchPeople(self.http_client) |
| 172 | + self.rc_send_message = RcSendMessage(self.http_client) |
| 173 | + self.rc_sync_inbox = RcSyncInbox(self.http_client) |
| 174 | + |
154 | 175 | self.operations = [ |
155 | 176 | self.custom_workflow, |
156 | 177 | self.send_message, |
@@ -211,6 +232,16 @@ def __init__(self, config: LinkedApiConfig | HttpClient[Any]) -> None: |
211 | 232 | self.nv_search_people, |
212 | 233 | self.nv_fetch_company, |
213 | 234 | self.nv_fetch_person, |
| 235 | + self.rc_archive_project, |
| 236 | + self.rc_create_project, |
| 237 | + self.rc_fetch_person, |
| 238 | + self.rc_rename_project, |
| 239 | + self.rc_retrieve_project_candidates, |
| 240 | + self.rc_retrieve_projects, |
| 241 | + self.rc_save_to_project, |
| 242 | + self.rc_search_people, |
| 243 | + self.rc_send_message, |
| 244 | + self.rc_sync_inbox, |
214 | 245 | ] |
215 | 246 |
|
216 | 247 | def poll_conversations( |
@@ -264,13 +295,14 @@ def poll_inbox( |
264 | 295 | self, |
265 | 296 | request: InboxPollRequest | None = None, |
266 | 297 | ) -> MappedResponse[list[InboxMessage]] | MappedResponse[InboxPersonPollResult]: |
267 | | - """Read the monitored standard or Sales Navigator inbox, newest messages first. |
| 298 | + """Read the monitored standard, Sales Navigator or Recruiter Lite inbox, newest first. |
268 | 299 |
|
269 | 300 | Without ``person_url`` the data is the list of inbox messages across every conversation. |
270 | 301 | With ``person_url`` (use ``InboxPersonPollRequest``) the data is the whole known |
271 | 302 | conversation with that person: the messages the inbox captured together with the history |
272 | 303 | loaded by ``sync_conversation`` / ``nv_sync_conversation``, each message once, plus |
273 | 304 | ``threads`` with ``history_from`` and ``history_complete``. |
| 305 | + person_url also accepts a Recruiter profile URL (https://www.linkedin.com/talent/profile/...). |
274 | 306 | """ |
275 | 307 |
|
276 | 308 | payload = serialize_value(request) if request is not None else {} |
|
0 commit comments