linkedapi 1.4.11__tar.gz → 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {linkedapi-1.4.11 → linkedapi-1.5.0}/PKG-INFO +1 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/__init__.py +23 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/client.py +33 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/errors.py +20 -2
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/__init__.py +21 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_create_saved_search.py +3 -2
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_delete_saved_search.py +1 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_remove_account_from_list.py +1 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_remove_lead_from_list.py +1 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_rename_list.py +0 -1
- linkedapi-1.5.0/linkedapi/operations/rc_archive_project.py +22 -0
- linkedapi-1.5.0/linkedapi/operations/rc_create_project.py +23 -0
- linkedapi-1.5.0/linkedapi/operations/rc_fetch_person.py +33 -0
- linkedapi-1.5.0/linkedapi/operations/rc_rename_project.py +20 -0
- linkedapi-1.5.0/linkedapi/operations/rc_retrieve_project_candidates.py +24 -0
- linkedapi-1.5.0/linkedapi/operations/rc_retrieve_projects.py +22 -0
- linkedapi-1.5.0/linkedapi/operations/rc_save_to_project.py +23 -0
- linkedapi-1.5.0/linkedapi/operations/rc_search_people.py +24 -0
- linkedapi-1.5.0/linkedapi/operations/rc_send_message.py +26 -0
- linkedapi-1.5.0/linkedapi/operations/rc_sync_inbox.py +20 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/__init__.py +76 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/admin/limits.py +3 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/message.py +21 -3
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/nv_saved_searches.py +14 -2
- linkedapi-1.5.0/linkedapi/types/rc_people.py +172 -0
- linkedapi-1.5.0/linkedapi/types/rc_projects.py +76 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/webhooks.py +3 -2
- {linkedapi-1.4.11 → linkedapi-1.5.0}/pyproject.toml +1 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_direct_methods.py +53 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_errors.py +46 -1
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_limits_categories.py +10 -4
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_nv_backlog.py +14 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_nv_list_management.py +0 -2
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_operations.py +11 -1
- linkedapi-1.5.0/tests/test_rc_operations.py +259 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_webhooks.py +27 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/.github/workflows/publish.yaml +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/.gitignore +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/LICENSE +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/README.md +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/examples/verify_webhook_signature.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/accounts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/admin.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/http_client.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/limits.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/subscription.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/admin/webhooks.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/changelog.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/config.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/core/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/core/operation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/core/polling.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/http/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/http/base.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/http/linked_api_http_client.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/array.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/base.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/endorse_person_skills.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/send_message.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/simple.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/then.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/mappers/void.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/accept_invitation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/check_connection_status.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/comment_on_post.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/create_post.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/create_repost.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/custom_workflow.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/endorse_person_skill.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/endorse_person_skills.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/fetch_company.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/fetch_job.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/fetch_person.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/fetch_post.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/ignore_invitation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/manage_conversation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_create_list.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_delete_list.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_fetch_company.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_fetch_person.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_manage_conversation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_retrieve_alerts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_retrieve_list_accounts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_retrieve_list_leads.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_retrieve_lists.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_retrieve_saved_searches.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_save_account.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_save_lead.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_search_companies.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_search_people.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_send_message.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_sync_conversation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_sync_inbox.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_unsave_account.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/nv_unsave_lead.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/react_to_comment.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/react_to_post.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/remove_connection.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/reply_to_comment.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_connections.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_feed.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_invitations.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_pending_requests.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_performance.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_profile_viewers.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/retrieve_ssi.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/search_companies.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/search_jobs.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/search_people.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/search_posts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/send_connection_request.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/send_message.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/sync_conversation.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/sync_inbox.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/sync_network.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/operations/withdraw_connection_request.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/py.typed +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/account.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/admin/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/admin/accounts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/admin/config.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/admin/subscription.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/base.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/changelog.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/company.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/connection.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/feed.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/jobs.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/network.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/nv_alerts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/nv_list_management.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/nv_list_members.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/nv_saved_subjects.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/params.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/person.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/post.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/profile_viewers.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/responses.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/search_companies.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/search_people.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/search_posts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/statistics.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/viewer_state.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/types/workflow.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/webhooks/__init__.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/webhooks/headers.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/webhooks/parse.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/linkedapi/webhooks/signature.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/conftest.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_admin.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_admin_webhooks.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_changelog.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_endorse_operations.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_http_client.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_mappers.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_models.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_nv_retrieve_alerts.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_nv_saved_subjects.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_open_vocabularies.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_polling.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_webhook_signature.py +0 -0
- {linkedapi-1.4.11 → linkedapi-1.5.0}/tests/test_working_hours_contract.py +0 -0
|
@@ -74,6 +74,17 @@ from linkedapi.operations import (
|
|
|
74
74
|
NvSyncInbox,
|
|
75
75
|
NvUnsaveAccount,
|
|
76
76
|
NvUnsaveLead,
|
|
77
|
+
RcArchiveProject,
|
|
78
|
+
RcCreateProject,
|
|
79
|
+
RcFetchPerson,
|
|
80
|
+
RcFetchPersonMapper,
|
|
81
|
+
RcRenameProject,
|
|
82
|
+
RcRetrieveProjectCandidates,
|
|
83
|
+
RcRetrieveProjects,
|
|
84
|
+
RcSaveToProject,
|
|
85
|
+
RcSearchPeople,
|
|
86
|
+
RcSendMessage,
|
|
87
|
+
RcSyncInbox,
|
|
77
88
|
ReactToComment,
|
|
78
89
|
ReactToPost,
|
|
79
90
|
RemoveConnection,
|
|
@@ -105,7 +116,7 @@ from linkedapi.webhooks import (
|
|
|
105
116
|
verify_webhook_signature,
|
|
106
117
|
)
|
|
107
118
|
|
|
108
|
-
__version__ = "1.
|
|
119
|
+
__version__ = "1.5.0"
|
|
109
120
|
PredefinedOperation = Operation
|
|
110
121
|
|
|
111
122
|
__all__ = [
|
|
@@ -176,6 +187,17 @@ __all__ = [
|
|
|
176
187
|
"NvSyncInbox",
|
|
177
188
|
"Operation",
|
|
178
189
|
"PredefinedOperation",
|
|
190
|
+
"RcArchiveProject",
|
|
191
|
+
"RcCreateProject",
|
|
192
|
+
"RcFetchPerson",
|
|
193
|
+
"RcFetchPersonMapper",
|
|
194
|
+
"RcRenameProject",
|
|
195
|
+
"RcRetrieveProjectCandidates",
|
|
196
|
+
"RcRetrieveProjects",
|
|
197
|
+
"RcSaveToProject",
|
|
198
|
+
"RcSearchPeople",
|
|
199
|
+
"RcSendMessage",
|
|
200
|
+
"RcSyncInbox",
|
|
179
201
|
"ReactToComment",
|
|
180
202
|
"ReactToPost",
|
|
181
203
|
"RemoveConnection",
|
|
@@ -46,6 +46,16 @@ from linkedapi.operations import (
|
|
|
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 @@ class LinkedApi:
|
|
|
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 @@ class LinkedApi:
|
|
|
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 @@ class LinkedApi:
|
|
|
264
295
|
self,
|
|
265
296
|
request: InboxPollRequest | None = None,
|
|
266
297
|
) -> MappedResponse[list[InboxMessage]] | MappedResponse[InboxPersonPollResult]:
|
|
267
|
-
"""Read the monitored standard
|
|
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 {}
|
|
@@ -31,7 +31,10 @@ LinkedApiActionErrorType = Literal[
|
|
|
31
31
|
"listNotDeletable",
|
|
32
32
|
"listNotRenamable",
|
|
33
33
|
"savedSearchNotFound",
|
|
34
|
-
"
|
|
34
|
+
"savedSearchAlreadyExists",
|
|
35
|
+
"savedSearchLimitReached",
|
|
36
|
+
"savedSearchRenameUnconfirmed",
|
|
37
|
+
"savedSearchQueryMismatch",
|
|
35
38
|
"postNotFound",
|
|
36
39
|
"jobNotFound",
|
|
37
40
|
"commentingNotAllowed",
|
|
@@ -50,6 +53,12 @@ LinkedApiActionErrorType = Literal[
|
|
|
50
53
|
"mentionNotResolved",
|
|
51
54
|
"repostNotAllowed",
|
|
52
55
|
"alreadyReposted",
|
|
56
|
+
"recruiterSignInRequired",
|
|
57
|
+
"recruiterTwoStepVerificationRequired",
|
|
58
|
+
"recruiterMultipleSessionsDetected",
|
|
59
|
+
"inMailCreditRequired",
|
|
60
|
+
"inMailNotAvailable",
|
|
61
|
+
"projectNotFound",
|
|
53
62
|
"noSalesNavigator",
|
|
54
63
|
"salesNavigatorOnboardingRequired",
|
|
55
64
|
"conversationsNotSynced",
|
|
@@ -86,7 +95,10 @@ LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = (
|
|
|
86
95
|
"listNotDeletable",
|
|
87
96
|
"listNotRenamable",
|
|
88
97
|
"savedSearchNotFound",
|
|
89
|
-
"
|
|
98
|
+
"savedSearchAlreadyExists",
|
|
99
|
+
"savedSearchLimitReached",
|
|
100
|
+
"savedSearchRenameUnconfirmed",
|
|
101
|
+
"savedSearchQueryMismatch",
|
|
90
102
|
"postNotFound",
|
|
91
103
|
"jobNotFound",
|
|
92
104
|
"commentingNotAllowed",
|
|
@@ -105,6 +117,12 @@ LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = (
|
|
|
105
117
|
"mentionNotResolved",
|
|
106
118
|
"repostNotAllowed",
|
|
107
119
|
"alreadyReposted",
|
|
120
|
+
"recruiterSignInRequired",
|
|
121
|
+
"recruiterTwoStepVerificationRequired",
|
|
122
|
+
"recruiterMultipleSessionsDetected",
|
|
123
|
+
"inMailCreditRequired",
|
|
124
|
+
"inMailNotAvailable",
|
|
125
|
+
"projectNotFound",
|
|
108
126
|
"noSalesNavigator",
|
|
109
127
|
"salesNavigatorOnboardingRequired",
|
|
110
128
|
"conversationsNotSynced",
|
|
@@ -36,6 +36,16 @@ from linkedapi.operations.nv_sync_conversation import NvSyncConversation
|
|
|
36
36
|
from linkedapi.operations.nv_sync_inbox import NvSyncInbox
|
|
37
37
|
from linkedapi.operations.nv_unsave_account import NvUnsaveAccount
|
|
38
38
|
from linkedapi.operations.nv_unsave_lead import NvUnsaveLead
|
|
39
|
+
from linkedapi.operations.rc_archive_project import RcArchiveProject
|
|
40
|
+
from linkedapi.operations.rc_create_project import RcCreateProject
|
|
41
|
+
from linkedapi.operations.rc_fetch_person import RcFetchPerson, RcFetchPersonMapper
|
|
42
|
+
from linkedapi.operations.rc_rename_project import RcRenameProject
|
|
43
|
+
from linkedapi.operations.rc_retrieve_project_candidates import RcRetrieveProjectCandidates
|
|
44
|
+
from linkedapi.operations.rc_retrieve_projects import RcRetrieveProjects
|
|
45
|
+
from linkedapi.operations.rc_save_to_project import RcSaveToProject
|
|
46
|
+
from linkedapi.operations.rc_search_people import RcSearchPeople
|
|
47
|
+
from linkedapi.operations.rc_send_message import RcSendMessage
|
|
48
|
+
from linkedapi.operations.rc_sync_inbox import RcSyncInbox
|
|
39
49
|
from linkedapi.operations.react_to_comment import ReactToComment
|
|
40
50
|
from linkedapi.operations.react_to_post import ReactToPost
|
|
41
51
|
from linkedapi.operations.remove_connection import RemoveConnection
|
|
@@ -103,6 +113,17 @@ __all__ = [
|
|
|
103
113
|
"NvSyncInbox",
|
|
104
114
|
"NvUnsaveAccount",
|
|
105
115
|
"NvUnsaveLead",
|
|
116
|
+
"RcArchiveProject",
|
|
117
|
+
"RcCreateProject",
|
|
118
|
+
"RcFetchPerson",
|
|
119
|
+
"RcFetchPersonMapper",
|
|
120
|
+
"RcRenameProject",
|
|
121
|
+
"RcRetrieveProjectCandidates",
|
|
122
|
+
"RcRetrieveProjects",
|
|
123
|
+
"RcSaveToProject",
|
|
124
|
+
"RcSearchPeople",
|
|
125
|
+
"RcSendMessage",
|
|
126
|
+
"RcSyncInbox",
|
|
106
127
|
"ReactToComment",
|
|
107
128
|
"ReactToPost",
|
|
108
129
|
"RemoveConnection",
|
|
@@ -6,8 +6,9 @@ from linkedapi.types import NvCreatedSavedSearch, NvCreateSavedSearchParams
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class NvCreateSavedSearch(Operation[NvCreateSavedSearchParams, NvCreatedSavedSearch]):
|
|
9
|
-
"""Save a Sales Navigator search URL matching the requested type.
|
|
10
|
-
type
|
|
9
|
+
"""Save a Sales Navigator search URL matching the requested type. Optional name: trimmed,
|
|
10
|
+
single line, 1-256 characters, unique per type (savedSearchAlreadyExists). Returns its id,
|
|
11
|
+
name, type and URL.
|
|
11
12
|
"""
|
|
12
13
|
|
|
13
14
|
operation_name = "nvCreateSavedSearch"
|
|
@@ -7,7 +7,7 @@ from linkedapi.types import NvDeleteSavedSearchParams
|
|
|
7
7
|
|
|
8
8
|
class NvDeleteSavedSearch(Operation[NvDeleteSavedSearchParams, None]):
|
|
9
9
|
"""Delete an owned saved search by its string ID. An absent search returns
|
|
10
|
-
savedSearchNotFound.
|
|
10
|
+
savedSearchNotFound.
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
operation_name = "nvDeleteSavedSearch"
|
|
@@ -7,7 +7,7 @@ from linkedapi.types import NvRemoveAccountFromListParams
|
|
|
7
7
|
|
|
8
8
|
class NvRemoveAccountFromList(Operation[NvRemoveAccountFromListParams, None]):
|
|
9
9
|
"""Remove an account from exactly one owned custom list, keeping it saved even after its
|
|
10
|
-
last list. Repeating an absent membership succeeds.
|
|
10
|
+
last list. Repeating an absent membership succeeds.
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
operation_name = "nvRemoveAccountFromList"
|
|
@@ -7,7 +7,7 @@ from linkedapi.types import NvRemoveLeadFromListParams
|
|
|
7
7
|
|
|
8
8
|
class NvRemoveLeadFromList(Operation[NvRemoveLeadFromListParams, None]):
|
|
9
9
|
"""Remove a lead from exactly one owned custom list, keeping it saved and in its other
|
|
10
|
-
lists. Repeating an absent membership succeeds.
|
|
10
|
+
lists. Repeating an absent membership succeeds.
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
operation_name = "nvRemoveLeadFromList"
|
|
@@ -8,7 +8,6 @@ from linkedapi.types import NvCreatedList, NvRenameListParams
|
|
|
8
8
|
class NvRenameList(Operation[NvRenameListParams, NvCreatedList]):
|
|
9
9
|
"""Rename an owned custom list. Trimmed name: 1-75 characters, no line breaks. Same name
|
|
10
10
|
succeeds; duplicates return listAlreadyExists and system lists return listNotRenamable.
|
|
11
|
-
English interface only.
|
|
12
11
|
"""
|
|
13
12
|
|
|
14
13
|
operation_name = "nvRenameList"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcArchiveProjectParams, RcArchiveProjectResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcArchiveProject(Operation[RcArchiveProjectParams, RcArchiveProjectResult]):
|
|
9
|
+
"""Archive a Recruiter Lite project.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
|
|
13
|
+
Action errors: projectNotFound, recruiterSignInRequired,
|
|
14
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
15
|
+
See https://linkedapi.io/docs/action-rc-archive-project/
|
|
16
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
operation_name = "rcArchiveProject"
|
|
20
|
+
mapper = SimpleWorkflowMapper[RcArchiveProjectParams, RcArchiveProjectResult](
|
|
21
|
+
"rc.archiveProject", result_model=RcArchiveProjectResult
|
|
22
|
+
)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcCreatedProject, RcCreateProjectParams
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcCreateProject(Operation[RcCreateProjectParams, RcCreatedProject]):
|
|
9
|
+
"""Create a private Recruiter Lite project by name.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
After a failure, check existing projects before creating again: creation may have succeeded.
|
|
13
|
+
|
|
14
|
+
Action errors: recruiterSignInRequired,
|
|
15
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
16
|
+
See https://linkedapi.io/docs/action-rc-create-project/
|
|
17
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
operation_name = "rcCreateProject"
|
|
21
|
+
mapper = SimpleWorkflowMapper[RcCreateProjectParams, RcCreatedProject](
|
|
22
|
+
"rc.createProject", result_model=RcCreatedProject
|
|
23
|
+
)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import ThenWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcOpenPersonPageParams, RcOpenPersonPageResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcFetchPersonMapper(ThenWorkflowMapper[RcOpenPersonPageParams, RcOpenPersonPageResult]):
|
|
9
|
+
def __init__(self) -> None:
|
|
10
|
+
super().__init__(
|
|
11
|
+
action_configs=[],
|
|
12
|
+
response_mappings=[],
|
|
13
|
+
base_action_type="rc.openPersonPage",
|
|
14
|
+
default_params={"basicInfo": True},
|
|
15
|
+
result_model=RcOpenPersonPageResult,
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class RcFetchPerson(Operation[RcOpenPersonPageParams, RcOpenPersonPageResult]):
|
|
20
|
+
"""Fetch a Recruiter Lite profile, optionally including recruiting activity.
|
|
21
|
+
|
|
22
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
23
|
+
basic_info defaults to True; recruiting_activity requests the seat's activity counts.
|
|
24
|
+
person_url must be a Recruiter profile URL (https://www.linkedin.com/talent/profile/...).
|
|
25
|
+
|
|
26
|
+
Action errors: personNotFound, limitExceeded, recruiterSignInRequired,
|
|
27
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
28
|
+
See https://linkedapi.io/docs/action-rc-open-person-page/
|
|
29
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
operation_name = "rcFetchPerson"
|
|
33
|
+
mapper = RcFetchPersonMapper()
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import VoidWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcRenameProjectParams
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcRenameProject(Operation[RcRenameProjectParams, None]):
|
|
9
|
+
"""Rename a Recruiter Lite project and optionally update its description.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
|
|
13
|
+
Action errors: projectNotFound, recruiterSignInRequired,
|
|
14
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
15
|
+
See https://linkedapi.io/docs/action-rc-rename-project/
|
|
16
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
operation_name = "rcRenameProject"
|
|
20
|
+
mapper = VoidWorkflowMapper[RcRenameProjectParams]("rc.renameProject")
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import ArrayWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcProjectCandidate, RcRetrieveProjectCandidatesParams
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcRetrieveProjectCandidates(
|
|
9
|
+
Operation[RcRetrieveProjectCandidatesParams, list[RcProjectCandidate]]
|
|
10
|
+
):
|
|
11
|
+
"""Retrieve candidates from a Recruiter Lite project.
|
|
12
|
+
|
|
13
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
14
|
+
|
|
15
|
+
Action errors: projectNotFound, recruiterSignInRequired,
|
|
16
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
17
|
+
See https://linkedapi.io/docs/action-rc-retrieve-project-candidates/
|
|
18
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
operation_name = "rcRetrieveProjectCandidates"
|
|
22
|
+
mapper = ArrayWorkflowMapper[RcRetrieveProjectCandidatesParams, RcProjectCandidate](
|
|
23
|
+
"rc.retrieveProjectCandidates", RcProjectCandidate
|
|
24
|
+
)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import ArrayWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcProject, RcRetrieveProjectsParams
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcRetrieveProjects(Operation[RcRetrieveProjectsParams, list[RcProject]]):
|
|
9
|
+
"""Retrieve Recruiter Lite projects.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
|
|
13
|
+
Action errors: recruiterSignInRequired,
|
|
14
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
15
|
+
See https://linkedapi.io/docs/action-rc-retrieve-projects/
|
|
16
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
operation_name = "rcRetrieveProjects"
|
|
20
|
+
mapper = ArrayWorkflowMapper[RcRetrieveProjectsParams, RcProject](
|
|
21
|
+
"rc.retrieveProjects", RcProject
|
|
22
|
+
)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcSaveToProjectParams, RcSaveToProjectResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcSaveToProject(Operation[RcSaveToProjectParams, RcSaveToProjectResult]):
|
|
9
|
+
"""Save a Recruiter Lite candidate to a project.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
|
|
13
|
+
Action errors: projectNotFound, limitExceeded,
|
|
14
|
+
recruiterSignInRequired, recruiterTwoStepVerificationRequired,
|
|
15
|
+
recruiterMultipleSessionsDetected, unexpectedError.
|
|
16
|
+
See https://linkedapi.io/docs/action-rc-save-to-project/
|
|
17
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
operation_name = "rcSaveToProject"
|
|
21
|
+
mapper = SimpleWorkflowMapper[RcSaveToProjectParams, RcSaveToProjectResult](
|
|
22
|
+
"rc.saveToProject", result_model=RcSaveToProjectResult
|
|
23
|
+
)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import ArrayWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcSearchPeopleParams, RcSearchPeopleResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcSearchPeople(Operation[RcSearchPeopleParams, list[RcSearchPeopleResult]]):
|
|
9
|
+
"""Search people on Recruiter Lite.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
profile_languages accepts LinkedIn language codes such as en, es, in and _o.
|
|
13
|
+
|
|
14
|
+
Action errors: filterNotApplied, limitExceeded,
|
|
15
|
+
recruiterSignInRequired, recruiterTwoStepVerificationRequired,
|
|
16
|
+
recruiterMultipleSessionsDetected, unexpectedError.
|
|
17
|
+
See https://linkedapi.io/docs/action-rc-search-people/
|
|
18
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
operation_name = "rcSearchPeople"
|
|
22
|
+
mapper = ArrayWorkflowMapper[RcSearchPeopleParams, RcSearchPeopleResult](
|
|
23
|
+
"rc.searchPeople", RcSearchPeopleResult
|
|
24
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcSendMessageParams, RcSendMessageResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcSendMessage(Operation[RcSendMessageParams, RcSendMessageResult]):
|
|
9
|
+
"""Send a Recruiter Lite InMail or reply to a thread.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
Use person_url + subject + text for a new InMail, or thread_id + text for a reply.
|
|
13
|
+
Paid credits require allow_paid_credit=True; the default is free messages only.
|
|
14
|
+
After an unexpectedError, check Messages before resending: the send may have succeeded.
|
|
15
|
+
|
|
16
|
+
Action errors: personNotFound, messagingNotAllowed, inMailCreditRequired,
|
|
17
|
+
inMailNotAvailable, limitExceeded, recruiterSignInRequired,
|
|
18
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
19
|
+
See https://linkedapi.io/docs/action-rc-send-message/
|
|
20
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
operation_name = "rcSendMessage"
|
|
24
|
+
mapper = SimpleWorkflowMapper[RcSendMessageParams, RcSendMessageResult](
|
|
25
|
+
"rc.sendMessage", result_model=RcSendMessageResult
|
|
26
|
+
)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import VoidWorkflowMapper
|
|
5
|
+
from linkedapi.types import RcSyncInboxParams
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class RcSyncInbox(Operation[RcSyncInboxParams, None]):
|
|
9
|
+
"""Enable whole-inbox monitoring for Recruiter Lite conversations.
|
|
10
|
+
|
|
11
|
+
Requires a Recruiter Lite seat and the Plus plan (plusPlanRequired otherwise).
|
|
12
|
+
|
|
13
|
+
Action errors: recruiterSignInRequired,
|
|
14
|
+
recruiterTwoStepVerificationRequired, recruiterMultipleSessionsDetected, unexpectedError.
|
|
15
|
+
See https://linkedapi.io/docs/action-rc-sync-inbox/
|
|
16
|
+
and https://linkedapi.io/docs/recruiter-lite-overview/
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
operation_name = "rcSyncInbox"
|
|
20
|
+
mapper = VoidWorkflowMapper[RcSyncInboxParams]("rc.syncInbox")
|
|
@@ -117,6 +117,7 @@ from linkedapi.types.message import (
|
|
|
117
117
|
InboxPersonPollResult,
|
|
118
118
|
InboxPersonThread,
|
|
119
119
|
InboxPollRequest,
|
|
120
|
+
InboxType,
|
|
120
121
|
ManageConversationParams,
|
|
121
122
|
Message,
|
|
122
123
|
MessageSender,
|
|
@@ -125,6 +126,9 @@ from linkedapi.types.message import (
|
|
|
125
126
|
NvSyncConversationParams,
|
|
126
127
|
NvSyncConversationResult,
|
|
127
128
|
NvSyncInboxParams,
|
|
129
|
+
RcSendMessageParams,
|
|
130
|
+
RcSendMessageResult,
|
|
131
|
+
RcSyncInboxParams,
|
|
128
132
|
SendMessageManageConversation,
|
|
129
133
|
SendMessageParams,
|
|
130
134
|
SyncConversationParams,
|
|
@@ -235,6 +239,42 @@ from linkedapi.types.profile_viewers import (
|
|
|
235
239
|
ProfileViewerType,
|
|
236
240
|
RetrieveProfileViewersParams,
|
|
237
241
|
)
|
|
242
|
+
from linkedapi.types.rc_people import (
|
|
243
|
+
RcCompanySize,
|
|
244
|
+
RcEmploymentScope,
|
|
245
|
+
RcExperienceYears,
|
|
246
|
+
RcGraduationYears,
|
|
247
|
+
RcJobFunction,
|
|
248
|
+
RcLocationScope,
|
|
249
|
+
RcNetworkRelationship,
|
|
250
|
+
RcOpenPersonPageParams,
|
|
251
|
+
RcOpenPersonPageResult,
|
|
252
|
+
RcPersonViewerState,
|
|
253
|
+
RcPostalCode,
|
|
254
|
+
RcRecentlyJoined,
|
|
255
|
+
RcRecruitingActivity,
|
|
256
|
+
RcRecruitingActivityFilter,
|
|
257
|
+
RcRecruitingActivityPeriod,
|
|
258
|
+
RcRecruitingActivityType,
|
|
259
|
+
RcSearchPeopleFilter,
|
|
260
|
+
RcSearchPeopleParams,
|
|
261
|
+
RcSearchPeopleResult,
|
|
262
|
+
RcSeniority,
|
|
263
|
+
)
|
|
264
|
+
from linkedapi.types.rc_projects import (
|
|
265
|
+
RcArchiveProjectParams,
|
|
266
|
+
RcArchiveProjectResult,
|
|
267
|
+
RcCreatedProject,
|
|
268
|
+
RcCreateProjectParams,
|
|
269
|
+
RcProject,
|
|
270
|
+
RcProjectCandidate,
|
|
271
|
+
RcProjectStage,
|
|
272
|
+
RcRenameProjectParams,
|
|
273
|
+
RcRetrieveProjectCandidatesParams,
|
|
274
|
+
RcRetrieveProjectsParams,
|
|
275
|
+
RcSaveToProjectParams,
|
|
276
|
+
RcSaveToProjectResult,
|
|
277
|
+
)
|
|
238
278
|
from linkedapi.types.responses import LinkedApiRequestError, LinkedApiResponse
|
|
239
279
|
from linkedapi.types.search_companies import (
|
|
240
280
|
AnnualRevenueFilter,
|
|
@@ -407,6 +447,7 @@ __all__ = [
|
|
|
407
447
|
"InboxPersonPollResult",
|
|
408
448
|
"InboxPersonThread",
|
|
409
449
|
"InboxPollRequest",
|
|
450
|
+
"InboxType",
|
|
410
451
|
"Invitation",
|
|
411
452
|
"InvitationTargetParams",
|
|
412
453
|
"InvitationType",
|
|
@@ -523,6 +564,41 @@ __all__ = [
|
|
|
523
564
|
"ProfileViewer",
|
|
524
565
|
"ProfileViewerType",
|
|
525
566
|
"PublishedPostResult",
|
|
567
|
+
"RcArchiveProjectParams",
|
|
568
|
+
"RcArchiveProjectResult",
|
|
569
|
+
"RcCompanySize",
|
|
570
|
+
"RcCreateProjectParams",
|
|
571
|
+
"RcCreatedProject",
|
|
572
|
+
"RcEmploymentScope",
|
|
573
|
+
"RcExperienceYears",
|
|
574
|
+
"RcGraduationYears",
|
|
575
|
+
"RcJobFunction",
|
|
576
|
+
"RcLocationScope",
|
|
577
|
+
"RcNetworkRelationship",
|
|
578
|
+
"RcOpenPersonPageParams",
|
|
579
|
+
"RcOpenPersonPageResult",
|
|
580
|
+
"RcPersonViewerState",
|
|
581
|
+
"RcPostalCode",
|
|
582
|
+
"RcProject",
|
|
583
|
+
"RcProjectCandidate",
|
|
584
|
+
"RcProjectStage",
|
|
585
|
+
"RcRecentlyJoined",
|
|
586
|
+
"RcRecruitingActivity",
|
|
587
|
+
"RcRecruitingActivityFilter",
|
|
588
|
+
"RcRecruitingActivityPeriod",
|
|
589
|
+
"RcRecruitingActivityType",
|
|
590
|
+
"RcRenameProjectParams",
|
|
591
|
+
"RcRetrieveProjectCandidatesParams",
|
|
592
|
+
"RcRetrieveProjectsParams",
|
|
593
|
+
"RcSaveToProjectParams",
|
|
594
|
+
"RcSaveToProjectResult",
|
|
595
|
+
"RcSearchPeopleFilter",
|
|
596
|
+
"RcSearchPeopleParams",
|
|
597
|
+
"RcSearchPeopleResult",
|
|
598
|
+
"RcSendMessageParams",
|
|
599
|
+
"RcSendMessageResult",
|
|
600
|
+
"RcSeniority",
|
|
601
|
+
"RcSyncInboxParams",
|
|
526
602
|
"ReactToCommentParams",
|
|
527
603
|
"ReactToPostParams",
|
|
528
604
|
"Reaction",
|