linkedapi 1.3.6__tar.gz → 1.3.8__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.3.6 → linkedapi-1.3.8}/PKG-INFO +2 -2
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/__init__.py +1 -1
- linkedapi-1.3.8/linkedapi/operations/nv_sync_conversation.py +15 -0
- linkedapi-1.3.8/linkedapi/operations/sync_conversation.py +15 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/__init__.py +4 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/company.py +10 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/connection.py +7 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/jobs.py +3 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/message.py +13 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/network.py +1 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/person.py +1 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/post.py +3 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/search_companies.py +2 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/search_people.py +2 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/webhooks.py +2 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/pyproject.toml +1 -1
- linkedapi-1.3.6/linkedapi/operations/nv_sync_conversation.py +0 -12
- linkedapi-1.3.6/linkedapi/operations/sync_conversation.py +0 -12
- {linkedapi-1.3.6 → linkedapi-1.3.8}/.github/workflows/publish.yaml +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/.gitignore +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/LICENSE +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/README.md +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/accounts.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/admin.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/http_client.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/limits.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/subscription.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/admin/webhooks.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/client.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/config.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/core/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/core/operation.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/core/polling.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/errors.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/http/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/http/base.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/http/linked_api_http_client.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/array.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/base.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/send_message.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/simple.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/then.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/mappers/void.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/accept_invitation.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/check_connection_status.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/comment_on_post.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/create_post.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/custom_workflow.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/fetch_company.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/fetch_job.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/fetch_person.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/fetch_post.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/ignore_invitation.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/manage_conversation.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_fetch_company.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_fetch_person.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_manage_conversation.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_search_companies.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_search_people.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_send_message.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/nv_sync_inbox.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/react_to_comment.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/react_to_post.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/remove_connection.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/reply_to_comment.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_connections.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_feed.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_invitations.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_pending_requests.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_performance.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/retrieve_ssi.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/search_companies.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/search_jobs.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/search_people.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/send_connection_request.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/send_message.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/sync_inbox.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/sync_network.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/operations/withdraw_connection_request.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/py.typed +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/account.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/admin/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/admin/accounts.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/admin/config.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/admin/limits.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/admin/subscription.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/base.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/feed.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/params.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/responses.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/statistics.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/types/workflow.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/webhooks/__init__.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/linkedapi/webhooks/parse.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/conftest.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_admin.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_direct_methods.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_errors.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_http_client.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_mappers.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_models.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_operations.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_polling.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_webhooks.py +0 -0
- {linkedapi-1.3.6 → linkedapi-1.3.8}/tests/test_working_hours_contract.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: linkedapi
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.8
|
|
4
4
|
Summary: Official synchronous Python SDK for Linked API.
|
|
5
5
|
Project-URL: Homepage, https://linkedapi.io
|
|
6
6
|
Project-URL: Repository, https://github.com/Linked-API/linkedapi-python
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import NvSyncConversationParams, NvSyncConversationResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class NvSyncConversation(Operation[NvSyncConversationParams, NvSyncConversationResult]):
|
|
9
|
+
"""Sync a Sales Navigator conversation."""
|
|
10
|
+
|
|
11
|
+
operation_name = "nvSyncConversation"
|
|
12
|
+
mapper = SimpleWorkflowMapper[NvSyncConversationParams, NvSyncConversationResult](
|
|
13
|
+
"nv.syncConversation",
|
|
14
|
+
result_model=NvSyncConversationResult,
|
|
15
|
+
)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from linkedapi.core import Operation
|
|
4
|
+
from linkedapi.mappers import SimpleWorkflowMapper
|
|
5
|
+
from linkedapi.types import SyncConversationParams, SyncConversationResult
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class SyncConversation(Operation[SyncConversationParams, SyncConversationResult]):
|
|
9
|
+
"""Sync a standard LinkedIn conversation."""
|
|
10
|
+
|
|
11
|
+
operation_name = "syncConversation"
|
|
12
|
+
mapper = SimpleWorkflowMapper[SyncConversationParams, SyncConversationResult](
|
|
13
|
+
"st.syncConversation",
|
|
14
|
+
result_model=SyncConversationResult,
|
|
15
|
+
)
|
|
@@ -115,10 +115,12 @@ from linkedapi.types.message import (
|
|
|
115
115
|
NvManageConversationParams,
|
|
116
116
|
NvSendMessageParams,
|
|
117
117
|
NvSyncConversationParams,
|
|
118
|
+
NvSyncConversationResult,
|
|
118
119
|
NvSyncInboxParams,
|
|
119
120
|
SendMessageManageConversation,
|
|
120
121
|
SendMessageParams,
|
|
121
122
|
SyncConversationParams,
|
|
123
|
+
SyncConversationResult,
|
|
122
124
|
SyncInboxParams,
|
|
123
125
|
)
|
|
124
126
|
from linkedapi.types.network import (
|
|
@@ -361,6 +363,7 @@ __all__ = [
|
|
|
361
363
|
"NvSearchPeopleResult",
|
|
362
364
|
"NvSendMessageParams",
|
|
363
365
|
"NvSyncConversationParams",
|
|
366
|
+
"NvSyncConversationResult",
|
|
364
367
|
"NvSyncInboxParams",
|
|
365
368
|
"PendingConnectionSession",
|
|
366
369
|
"Person",
|
|
@@ -431,6 +434,7 @@ __all__ = [
|
|
|
431
434
|
"SubscriptionStatus",
|
|
432
435
|
"SubscriptionStatusValue",
|
|
433
436
|
"SyncConversationParams",
|
|
437
|
+
"SyncConversationResult",
|
|
434
438
|
"SyncInboxParams",
|
|
435
439
|
"SyncNetworkParams",
|
|
436
440
|
"WebhookDelivery",
|
|
@@ -12,21 +12,26 @@ from linkedapi.types.post import Post
|
|
|
12
12
|
|
|
13
13
|
class StCompanyEmployee(LinkedApiModel):
|
|
14
14
|
name: str | None = None
|
|
15
|
+
urn: str | None = None
|
|
15
16
|
public_url: str | None = None
|
|
16
17
|
headline: str | None = None
|
|
17
18
|
location: str | None = None
|
|
19
|
+
avatar_url: str | None = None
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
class StCompanyDm(LinkedApiModel):
|
|
21
23
|
name: str | None = None
|
|
24
|
+
urn: str | None = None
|
|
22
25
|
public_url: str | None = None
|
|
23
26
|
headline: str | None = None
|
|
24
27
|
location: str | None = None
|
|
28
|
+
avatar_url: str | None = None
|
|
25
29
|
country_code: str | None = None
|
|
26
30
|
|
|
27
31
|
|
|
28
32
|
class Company(LinkedApiModel):
|
|
29
33
|
name: str | None = None
|
|
34
|
+
urn: str | None = None
|
|
30
35
|
public_url: str | None = None
|
|
31
36
|
description: str | None = None
|
|
32
37
|
location: str | None = None
|
|
@@ -81,21 +86,26 @@ FetchCompanyResult: TypeAlias = Company
|
|
|
81
86
|
|
|
82
87
|
class NvCompanyEmployee(LinkedApiModel):
|
|
83
88
|
name: str | None = None
|
|
89
|
+
urn: str | None = None
|
|
84
90
|
hashed_url: str | None = None
|
|
85
91
|
position: str | None = None
|
|
86
92
|
location: str | None = None
|
|
93
|
+
avatar_url: str | None = None
|
|
87
94
|
|
|
88
95
|
|
|
89
96
|
class NvCompanyDm(LinkedApiModel):
|
|
90
97
|
name: str | None = None
|
|
98
|
+
urn: str | None = None
|
|
91
99
|
hashed_url: str | None = None
|
|
92
100
|
position: str | None = None
|
|
93
101
|
location: str | None = None
|
|
102
|
+
avatar_url: str | None = None
|
|
94
103
|
country_code: str | None = None
|
|
95
104
|
|
|
96
105
|
|
|
97
106
|
class NvCompany(LinkedApiModel):
|
|
98
107
|
name: str | None = None
|
|
108
|
+
urn: str | None = None
|
|
99
109
|
public_url: str | None = None
|
|
100
110
|
description: str | None = None
|
|
101
111
|
location: str | None = None
|
|
@@ -40,6 +40,7 @@ class WithdrawConnectionRequestParams(BaseActionParams):
|
|
|
40
40
|
|
|
41
41
|
class RetrievePendingRequestsResult(LinkedApiModel):
|
|
42
42
|
name: str | None = None
|
|
43
|
+
urn: str | None = None
|
|
43
44
|
public_url: str | None = None
|
|
44
45
|
headline: str | None = None
|
|
45
46
|
sent_time: str | None = None
|
|
@@ -78,6 +79,7 @@ class IgnoreInvitationParams(InvitationTargetParams):
|
|
|
78
79
|
class Invitation(LinkedApiModel):
|
|
79
80
|
invitation_type: InvitationType
|
|
80
81
|
name: str
|
|
82
|
+
urn: str | None = None
|
|
81
83
|
public_url: str
|
|
82
84
|
headline: str | None = None
|
|
83
85
|
note: str | None = None
|
|
@@ -146,10 +148,12 @@ class RetrieveConnectionsParams(LimitParams):
|
|
|
146
148
|
|
|
147
149
|
class RetrieveConnectionsResult(LinkedApiModel):
|
|
148
150
|
name: str | None = None
|
|
151
|
+
urn: str | None = None
|
|
149
152
|
public_url: str | None = None
|
|
150
153
|
headline: str | None = None
|
|
151
154
|
location: str | None = None
|
|
152
155
|
connected_at: str | None = None
|
|
156
|
+
avatar_url: str | None = None
|
|
153
157
|
|
|
154
158
|
|
|
155
159
|
class RemoveConnectionParams(BaseActionParams):
|
|
@@ -162,6 +166,7 @@ class NvOpenPersonPageParams(BaseActionParams):
|
|
|
162
166
|
|
|
163
167
|
class NvOpenPersonPageResult(LinkedApiModel):
|
|
164
168
|
name: str | None = None
|
|
169
|
+
urn: str | None = None
|
|
165
170
|
public_url: str | None = None
|
|
166
171
|
hashed_url: str | None = None
|
|
167
172
|
headline: str | None = None
|
|
@@ -169,4 +174,6 @@ class NvOpenPersonPageResult(LinkedApiModel):
|
|
|
169
174
|
country_code: str | None = None
|
|
170
175
|
position: str | None = None
|
|
171
176
|
company_name: str | None = None
|
|
177
|
+
company_urn: str | None = None
|
|
172
178
|
company_hashed_url: str | None = None
|
|
179
|
+
avatar_url: str | None = None
|
|
@@ -97,6 +97,7 @@ class SearchJobsParams(BaseActionParams, LimitParams):
|
|
|
97
97
|
|
|
98
98
|
class SearchJobResult(LinkedApiModel):
|
|
99
99
|
job_id: str | None = None
|
|
100
|
+
urn: str | None = None
|
|
100
101
|
job_url: str | None = None
|
|
101
102
|
title: str | None = None
|
|
102
103
|
company_name: str | None = None
|
|
@@ -113,9 +114,11 @@ class FetchJobParams(BaseActionParams):
|
|
|
113
114
|
|
|
114
115
|
class Job(LinkedApiModel):
|
|
115
116
|
job_id: str | None = None
|
|
117
|
+
urn: str | None = None
|
|
116
118
|
job_url: str | None = None
|
|
117
119
|
title: str | None = None
|
|
118
120
|
company_name: str | None = None
|
|
121
|
+
company_urn: str | None = None
|
|
119
122
|
company_url: str | None = None
|
|
120
123
|
location: str | None = None
|
|
121
124
|
posted_date: str | None = None
|
|
@@ -22,6 +22,11 @@ class SendMessageParams(BaseActionParams):
|
|
|
22
22
|
|
|
23
23
|
class SyncConversationParams(BaseActionParams):
|
|
24
24
|
person_url: str
|
|
25
|
+
days: int | None = None
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class SyncConversationResult(LinkedApiModel):
|
|
29
|
+
sync_until: str
|
|
25
30
|
|
|
26
31
|
|
|
27
32
|
class SyncInboxParams(BaseActionParams):
|
|
@@ -42,6 +47,11 @@ class NvSendMessageParams(BaseActionParams):
|
|
|
42
47
|
|
|
43
48
|
class NvSyncConversationParams(BaseActionParams):
|
|
44
49
|
person_url: str
|
|
50
|
+
days: int | None = None
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class NvSyncConversationResult(LinkedApiModel):
|
|
54
|
+
sync_until: str
|
|
45
55
|
|
|
46
56
|
|
|
47
57
|
class NvSyncInboxParams(BaseActionParams):
|
|
@@ -68,10 +78,12 @@ class Message(LinkedApiModel):
|
|
|
68
78
|
|
|
69
79
|
|
|
70
80
|
class ConversationPollResult(LinkedApiModel):
|
|
81
|
+
person_urn: str | None = None
|
|
71
82
|
person_url: str | None = None
|
|
72
83
|
type: ConversationType | None = None
|
|
73
84
|
messages: list[Message] | None = None
|
|
74
85
|
since: str | None = None
|
|
86
|
+
sync_until: str | None = None
|
|
75
87
|
|
|
76
88
|
|
|
77
89
|
class InboxPollRequest(LinkedApiModel):
|
|
@@ -84,6 +96,7 @@ class InboxMessage(LinkedApiModel):
|
|
|
84
96
|
id: str | None = None
|
|
85
97
|
type: ConversationType | None = None
|
|
86
98
|
thread_id: str | None = None
|
|
99
|
+
person_urn: str | None = None
|
|
87
100
|
person_url: str | None = None
|
|
88
101
|
sender: MessageSender | None = None
|
|
89
102
|
text: str | None = None
|
|
@@ -77,6 +77,7 @@ class PostComment(LinkedApiModel):
|
|
|
77
77
|
|
|
78
78
|
|
|
79
79
|
class PostReaction(LinkedApiModel):
|
|
80
|
+
engager_urn: str | None = None
|
|
80
81
|
engager_url: str | None = None
|
|
81
82
|
engager_name: str | None = None
|
|
82
83
|
engager_headline: str | None = None
|
|
@@ -87,6 +88,7 @@ class PostReaction(LinkedApiModel):
|
|
|
87
88
|
class PostAuthor(LinkedApiModel):
|
|
88
89
|
type: PostActorType | None = None
|
|
89
90
|
name: str | None = None
|
|
91
|
+
urn: str | None = None
|
|
90
92
|
profile_url: str | None = None
|
|
91
93
|
headline: str | None = None
|
|
92
94
|
company_url: str | None = None
|
|
@@ -95,6 +97,7 @@ class PostAuthor(LinkedApiModel):
|
|
|
95
97
|
class PostReposter(LinkedApiModel):
|
|
96
98
|
type: PostActorType | None = None
|
|
97
99
|
name: str | None = None
|
|
100
|
+
urn: str | None = None
|
|
98
101
|
profile_url: str | None = None
|
|
99
102
|
headline: str | None = None
|
|
100
103
|
company_url: str | None = None
|
|
@@ -45,6 +45,7 @@ class SearchCompaniesParams(BaseActionParams, LimitParams):
|
|
|
45
45
|
|
|
46
46
|
class SearchCompanyResult(LinkedApiModel):
|
|
47
47
|
name: str | None = None
|
|
48
|
+
urn: str | None = None
|
|
48
49
|
public_url: str | None = None
|
|
49
50
|
industry: str | None = None
|
|
50
51
|
location: str | None = None
|
|
@@ -68,6 +69,7 @@ class NvSearchCompaniesParams(BaseActionParams, LimitParams):
|
|
|
68
69
|
|
|
69
70
|
class NvSearchCompanyResult(LinkedApiModel):
|
|
70
71
|
name: str | None = None
|
|
72
|
+
urn: str | None = None
|
|
71
73
|
hashed_url: str | None = None
|
|
72
74
|
industry: str | None = None
|
|
73
75
|
employees_count: int | None = None
|
|
@@ -24,6 +24,7 @@ class SearchPeopleParams(BaseActionParams, LimitParams):
|
|
|
24
24
|
|
|
25
25
|
class SearchPeopleResult(LinkedApiModel):
|
|
26
26
|
name: str | None = None
|
|
27
|
+
urn: str | None = None
|
|
27
28
|
public_url: str | None = None
|
|
28
29
|
headline: str | None = None
|
|
29
30
|
location: str | None = None
|
|
@@ -42,6 +43,7 @@ class NvSearchPeopleParams(BaseActionParams, LimitParams):
|
|
|
42
43
|
|
|
43
44
|
class NvSearchPeopleResult(LinkedApiModel):
|
|
44
45
|
name: str | None = None
|
|
46
|
+
urn: str | None = None
|
|
45
47
|
hashed_url: str | None = None
|
|
46
48
|
position: str | None = None
|
|
47
49
|
location: str | None = None
|
|
@@ -101,6 +101,7 @@ class MessageWebhookEventData(LinkedApiModel):
|
|
|
101
101
|
account_id: str | None = None
|
|
102
102
|
type: ConversationType | None = None
|
|
103
103
|
thread_id: str | None = None
|
|
104
|
+
person_urn: str | None = None
|
|
104
105
|
person_url: str | None = None
|
|
105
106
|
message_id: str | None = None
|
|
106
107
|
sender: MessageSender | None = None
|
|
@@ -117,6 +118,7 @@ class MessageWebhookEvent(LinkedApiModel):
|
|
|
117
118
|
|
|
118
119
|
class NetworkWebhookEventData(LinkedApiModel):
|
|
119
120
|
account_id: str | None = None
|
|
121
|
+
person_urn: str | None = None
|
|
120
122
|
person_url: str | None = None
|
|
121
123
|
detected_at: str | None = None
|
|
122
124
|
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from linkedapi.core import Operation
|
|
4
|
-
from linkedapi.mappers import VoidWorkflowMapper
|
|
5
|
-
from linkedapi.types import NvSyncConversationParams
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class NvSyncConversation(Operation[NvSyncConversationParams, None]):
|
|
9
|
-
"""Sync a Sales Navigator conversation."""
|
|
10
|
-
|
|
11
|
-
operation_name = "nvSyncConversation"
|
|
12
|
-
mapper = VoidWorkflowMapper[NvSyncConversationParams]("nv.syncConversation")
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
|
|
3
|
-
from linkedapi.core import Operation
|
|
4
|
-
from linkedapi.mappers import VoidWorkflowMapper
|
|
5
|
-
from linkedapi.types import SyncConversationParams
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class SyncConversation(Operation[SyncConversationParams, None]):
|
|
9
|
-
"""Sync a standard LinkedIn conversation."""
|
|
10
|
-
|
|
11
|
-
operation_name = "syncConversation"
|
|
12
|
-
mapper = VoidWorkflowMapper[SyncConversationParams]("st.syncConversation")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|