linkedapi 1.0.0__tar.gz → 1.0.1__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.0.0 → linkedapi-1.0.1}/PKG-INFO +1 -1
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/__init__.py +6 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/post.py +25 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/pyproject.toml +1 -1
- {linkedapi-1.0.0 → linkedapi-1.0.1}/.github/workflows/publish.yaml +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/.gitignore +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/LICENSE +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/README.md +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/accounts.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/admin.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/http_client.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/limits.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/admin/subscription.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/client.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/config.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/core/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/core/operation.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/core/polling.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/errors.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/http/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/http/base.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/http/linked_api_http_client.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/array.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/base.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/simple.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/then.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/mappers/void.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/check_connection_status.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/comment_on_post.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/create_post.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/custom_workflow.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/fetch_company.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/fetch_person.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/fetch_post.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_fetch_company.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_fetch_person.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_search_companies.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_search_people.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_send_message.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/nv_sync_conversation.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/react_to_post.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/remove_connection.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/retrieve_connections.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/retrieve_pending_requests.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/retrieve_performance.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/retrieve_ssi.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/search_companies.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/search_people.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/send_connection_request.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/send_message.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/sync_conversation.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/operations/withdraw_connection_request.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/py.typed +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/account.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/admin/__init__.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/admin/accounts.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/admin/config.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/admin/limits.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/admin/subscription.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/base.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/company.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/connection.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/message.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/params.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/person.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/responses.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/search_companies.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/search_people.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/statistics.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/linkedapi/types/workflow.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/conftest.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_admin.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_direct_methods.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_errors.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_http_client.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_mappers.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_models.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_operations.py +0 -0
- {linkedapi-1.0.0 → linkedapi-1.0.1}/tests/test_polling.py +0 -0
|
@@ -122,6 +122,8 @@ from linkedapi.types.post import (
|
|
|
122
122
|
FetchPostParams,
|
|
123
123
|
FetchPostResult,
|
|
124
124
|
Post,
|
|
125
|
+
PostActorType,
|
|
126
|
+
PostAuthor,
|
|
125
127
|
PostComment,
|
|
126
128
|
PostCommenterType,
|
|
127
129
|
PostCommentsRetrievalConfig,
|
|
@@ -129,6 +131,7 @@ from linkedapi.types.post import (
|
|
|
129
131
|
PostEngagerType,
|
|
130
132
|
PostReaction,
|
|
131
133
|
PostReactionsRetrievalConfig,
|
|
134
|
+
PostReposter,
|
|
132
135
|
PostType,
|
|
133
136
|
Reaction,
|
|
134
137
|
ReactionType,
|
|
@@ -271,6 +274,8 @@ __all__ = [
|
|
|
271
274
|
"PersonLanguage",
|
|
272
275
|
"PersonSkill",
|
|
273
276
|
"Post",
|
|
277
|
+
"PostActorType",
|
|
278
|
+
"PostAuthor",
|
|
274
279
|
"PostComment",
|
|
275
280
|
"PostCommenterType",
|
|
276
281
|
"PostCommentsRetrievalConfig",
|
|
@@ -278,6 +283,7 @@ __all__ = [
|
|
|
278
283
|
"PostEngagerType",
|
|
279
284
|
"PostReaction",
|
|
280
285
|
"PostReactionsRetrievalConfig",
|
|
286
|
+
"PostReposter",
|
|
281
287
|
"PostType",
|
|
282
288
|
"ReactToPostParams",
|
|
283
289
|
"Reaction",
|
|
@@ -6,6 +6,7 @@ from linkedapi.types.base import LinkedApiModel
|
|
|
6
6
|
from linkedapi.types.params import BaseActionParams, LimitParams
|
|
7
7
|
|
|
8
8
|
PostType = Literal["original", "repost"]
|
|
9
|
+
PostActorType = Literal["person", "company"]
|
|
9
10
|
ReactionType = Literal["like", "celebrate", "support", "love", "insightful", "funny"]
|
|
10
11
|
PostCommenterType = Literal["person", "company"]
|
|
11
12
|
PostEngagerType = Literal["person", "company"]
|
|
@@ -60,14 +61,38 @@ class PostReaction(LinkedApiModel):
|
|
|
60
61
|
type: ReactionType | None = None
|
|
61
62
|
|
|
62
63
|
|
|
64
|
+
class PostAuthor(LinkedApiModel):
|
|
65
|
+
type: PostActorType | None = None
|
|
66
|
+
name: str | None = None
|
|
67
|
+
profile_url: str | None = None
|
|
68
|
+
headline: str | None = None
|
|
69
|
+
company_url: str | None = None
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class PostReposter(LinkedApiModel):
|
|
73
|
+
type: PostActorType | None = None
|
|
74
|
+
name: str | None = None
|
|
75
|
+
profile_url: str | None = None
|
|
76
|
+
headline: str | None = None
|
|
77
|
+
company_url: str | None = None
|
|
78
|
+
|
|
79
|
+
|
|
63
80
|
class Post(LinkedApiModel):
|
|
64
81
|
url: str | None = None
|
|
65
82
|
time: str | None = None
|
|
66
83
|
type: PostType | None = None
|
|
84
|
+
activity_urn: str | None = None
|
|
85
|
+
author: PostAuthor | None = None
|
|
86
|
+
reposter: PostReposter | None = None
|
|
67
87
|
repost_text: str | None = None
|
|
88
|
+
hashtags: list[str] | None = None
|
|
89
|
+
mentions: list[str] | None = None
|
|
90
|
+
external_links: list[str] | None = None
|
|
68
91
|
text: str | None = None
|
|
69
92
|
images: list[str] | None = None
|
|
93
|
+
document_slides: list[str] | None = None
|
|
70
94
|
has_video: bool | None = None
|
|
95
|
+
video_thumbnail: str | None = None
|
|
71
96
|
has_poll: bool | None = None
|
|
72
97
|
reactions_count: int | None = None
|
|
73
98
|
comments_count: int | None = None
|
|
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
|