linkedapi 1.4.7__tar.gz → 1.4.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.
Files changed (126) hide show
  1. {linkedapi-1.4.7 → linkedapi-1.4.8}/PKG-INFO +1 -1
  2. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/__init__.py +1 -1
  3. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/errors.py +34 -0
  4. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/admin/subscription.py +1 -1
  5. {linkedapi-1.4.7 → linkedapi-1.4.8}/pyproject.toml +1 -1
  6. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_errors.py +17 -0
  7. {linkedapi-1.4.7 → linkedapi-1.4.8}/.github/workflows/publish.yaml +0 -0
  8. {linkedapi-1.4.7 → linkedapi-1.4.8}/.gitignore +0 -0
  9. {linkedapi-1.4.7 → linkedapi-1.4.8}/LICENSE +0 -0
  10. {linkedapi-1.4.7 → linkedapi-1.4.8}/README.md +0 -0
  11. {linkedapi-1.4.7 → linkedapi-1.4.8}/examples/verify_webhook_signature.py +0 -0
  12. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/__init__.py +0 -0
  13. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/accounts.py +0 -0
  14. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/admin.py +0 -0
  15. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/http_client.py +0 -0
  16. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/limits.py +0 -0
  17. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/subscription.py +0 -0
  18. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/admin/webhooks.py +0 -0
  19. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/changelog.py +0 -0
  20. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/client.py +0 -0
  21. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/config.py +0 -0
  22. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/core/__init__.py +0 -0
  23. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/core/operation.py +0 -0
  24. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/core/polling.py +0 -0
  25. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/http/__init__.py +0 -0
  26. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/http/base.py +0 -0
  27. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/http/linked_api_http_client.py +0 -0
  28. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/__init__.py +0 -0
  29. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/array.py +0 -0
  30. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/base.py +0 -0
  31. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/endorse_person_skills.py +0 -0
  32. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/send_message.py +0 -0
  33. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/simple.py +0 -0
  34. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/then.py +0 -0
  35. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/mappers/void.py +0 -0
  36. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/__init__.py +0 -0
  37. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/accept_invitation.py +0 -0
  38. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/check_connection_status.py +0 -0
  39. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/comment_on_post.py +0 -0
  40. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/create_post.py +0 -0
  41. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/create_repost.py +0 -0
  42. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/custom_workflow.py +0 -0
  43. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/endorse_person_skill.py +0 -0
  44. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/endorse_person_skills.py +0 -0
  45. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/fetch_company.py +0 -0
  46. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/fetch_job.py +0 -0
  47. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/fetch_person.py +0 -0
  48. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/fetch_post.py +0 -0
  49. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/ignore_invitation.py +0 -0
  50. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/manage_conversation.py +0 -0
  51. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_fetch_company.py +0 -0
  52. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_fetch_person.py +0 -0
  53. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_manage_conversation.py +0 -0
  54. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_search_companies.py +0 -0
  55. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_search_people.py +0 -0
  56. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_send_message.py +0 -0
  57. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_sync_conversation.py +0 -0
  58. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/nv_sync_inbox.py +0 -0
  59. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/react_to_comment.py +0 -0
  60. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/react_to_post.py +0 -0
  61. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/remove_connection.py +0 -0
  62. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/reply_to_comment.py +0 -0
  63. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_connections.py +0 -0
  64. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_feed.py +0 -0
  65. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_invitations.py +0 -0
  66. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_pending_requests.py +0 -0
  67. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_performance.py +0 -0
  68. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_profile_viewers.py +0 -0
  69. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/retrieve_ssi.py +0 -0
  70. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/search_companies.py +0 -0
  71. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/search_jobs.py +0 -0
  72. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/search_people.py +0 -0
  73. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/search_posts.py +0 -0
  74. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/send_connection_request.py +0 -0
  75. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/send_message.py +0 -0
  76. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/sync_conversation.py +0 -0
  77. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/sync_inbox.py +0 -0
  78. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/sync_network.py +0 -0
  79. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/operations/withdraw_connection_request.py +0 -0
  80. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/py.typed +0 -0
  81. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/__init__.py +0 -0
  82. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/account.py +0 -0
  83. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/admin/__init__.py +0 -0
  84. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/admin/accounts.py +0 -0
  85. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/admin/config.py +0 -0
  86. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/admin/limits.py +0 -0
  87. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/base.py +0 -0
  88. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/changelog.py +0 -0
  89. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/company.py +0 -0
  90. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/connection.py +0 -0
  91. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/feed.py +0 -0
  92. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/jobs.py +0 -0
  93. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/message.py +0 -0
  94. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/network.py +0 -0
  95. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/params.py +0 -0
  96. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/person.py +0 -0
  97. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/post.py +0 -0
  98. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/profile_viewers.py +0 -0
  99. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/responses.py +0 -0
  100. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/search_companies.py +0 -0
  101. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/search_people.py +0 -0
  102. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/search_posts.py +0 -0
  103. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/statistics.py +0 -0
  104. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/viewer_state.py +0 -0
  105. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/webhooks.py +0 -0
  106. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/types/workflow.py +0 -0
  107. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/webhooks/__init__.py +0 -0
  108. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/webhooks/headers.py +0 -0
  109. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/webhooks/parse.py +0 -0
  110. {linkedapi-1.4.7 → linkedapi-1.4.8}/linkedapi/webhooks/signature.py +0 -0
  111. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/conftest.py +0 -0
  112. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_admin.py +0 -0
  113. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_admin_webhooks.py +0 -0
  114. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_changelog.py +0 -0
  115. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_direct_methods.py +0 -0
  116. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_endorse_operations.py +0 -0
  117. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_http_client.py +0 -0
  118. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_limits_categories.py +0 -0
  119. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_mappers.py +0 -0
  120. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_models.py +0 -0
  121. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_open_vocabularies.py +0 -0
  122. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_operations.py +0 -0
  123. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_polling.py +0 -0
  124. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_webhook_signature.py +0 -0
  125. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_webhooks.py +0 -0
  126. {linkedapi-1.4.7 → linkedapi-1.4.8}/tests/test_working_hours_contract.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: linkedapi
3
- Version: 1.4.7
3
+ Version: 1.4.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
@@ -89,7 +89,7 @@ from linkedapi.webhooks import (
89
89
  verify_webhook_signature,
90
90
  )
91
91
 
92
- __version__ = "1.4.7"
92
+ __version__ = "1.4.8"
93
93
  PredefinedOperation = Operation
94
94
 
95
95
  __all__ = [
@@ -5,14 +5,17 @@ from typing import Any, Literal
5
5
  LinkedApiActionErrorType = Literal[
6
6
  "personNotFound",
7
7
  "selfProfileNotAllowed",
8
+ "personLikelyChangedPublicUrl",
8
9
  "messagingNotAllowed",
9
10
  "alreadyPending",
10
11
  "alreadyConnected",
11
12
  "emailRequired",
12
13
  "noteTooLong",
13
14
  "noteLimitExceeded",
15
+ "invitationAlreadyReceived",
14
16
  "requestNotAllowed",
15
17
  "notPending",
18
+ "noPendingRequest",
16
19
  "retrievingNotAllowed",
17
20
  "connectionNotFound",
18
21
  "skillNotFound",
@@ -20,6 +23,7 @@ LinkedApiActionErrorType = Literal[
20
23
  "limitExceeded",
21
24
  "searchingNotAllowed",
22
25
  "searchInterfaceMismatch",
26
+ "searchTemporarilyUnavailable",
23
27
  "filterNotApplied",
24
28
  "companyNotFound",
25
29
  "postNotFound",
@@ -29,24 +33,38 @@ LinkedApiActionErrorType = Literal[
29
33
  "replyingNotAllowed",
30
34
  "duplicateComment",
31
35
  "noPostingPermission",
36
+ "textTooLong",
37
+ "unsupportedAttachmentType",
38
+ "missingDocumentName",
39
+ "urlNotAccessible",
40
+ "fileTooLarge",
41
+ "unsupportedMimeType",
42
+ "tooManyAttachments",
43
+ "mixingNotAllowed",
32
44
  "mentionNotResolved",
33
45
  "repostNotAllowed",
34
46
  "alreadyReposted",
35
47
  "noSalesNavigator",
48
+ "salesNavigatorOnboardingRequired",
36
49
  "conversationsNotSynced",
37
50
  "threadNotFound",
51
+ "ssiNotAvailable",
52
+ "unexpectedError",
38
53
  ]
39
54
  LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = (
40
55
  "personNotFound",
41
56
  "selfProfileNotAllowed",
57
+ "personLikelyChangedPublicUrl",
42
58
  "messagingNotAllowed",
43
59
  "alreadyPending",
44
60
  "alreadyConnected",
45
61
  "emailRequired",
46
62
  "noteTooLong",
47
63
  "noteLimitExceeded",
64
+ "invitationAlreadyReceived",
48
65
  "requestNotAllowed",
49
66
  "notPending",
67
+ "noPendingRequest",
50
68
  "retrievingNotAllowed",
51
69
  "connectionNotFound",
52
70
  "skillNotFound",
@@ -54,6 +72,7 @@ LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = (
54
72
  "limitExceeded",
55
73
  "searchingNotAllowed",
56
74
  "searchInterfaceMismatch",
75
+ "searchTemporarilyUnavailable",
57
76
  "filterNotApplied",
58
77
  "companyNotFound",
59
78
  "postNotFound",
@@ -63,12 +82,23 @@ LINKED_API_ACTION_ERROR_TYPES: tuple[str, ...] = (
63
82
  "replyingNotAllowed",
64
83
  "duplicateComment",
65
84
  "noPostingPermission",
85
+ "textTooLong",
86
+ "unsupportedAttachmentType",
87
+ "missingDocumentName",
88
+ "urlNotAccessible",
89
+ "fileTooLarge",
90
+ "unsupportedMimeType",
91
+ "tooManyAttachments",
92
+ "mixingNotAllowed",
66
93
  "mentionNotResolved",
67
94
  "repostNotAllowed",
68
95
  "alreadyReposted",
69
96
  "noSalesNavigator",
97
+ "salesNavigatorOnboardingRequired",
70
98
  "conversationsNotSynced",
71
99
  "threadNotFound",
100
+ "ssiNotAvailable",
101
+ "unexpectedError",
72
102
  )
73
103
 
74
104
  LinkedApiErrorType = Literal[
@@ -86,6 +116,8 @@ LinkedApiErrorType = Literal[
86
116
  "workflowTimeout",
87
117
  "outsideWorkingHours",
88
118
  "workingHoursWaitExpired",
119
+ "cancelledByUser",
120
+ "unexpectedError",
89
121
  "httpError",
90
122
  "tooManyRequests",
91
123
  "accountNotFound",
@@ -109,6 +141,8 @@ LINKED_API_ERROR_TYPES: tuple[str, ...] = (
109
141
  "workflowTimeout",
110
142
  "outsideWorkingHours",
111
143
  "workingHoursWaitExpired",
144
+ "cancelledByUser",
145
+ "unexpectedError",
112
146
  "httpError",
113
147
  "tooManyRequests",
114
148
  "accountNotFound",
@@ -4,7 +4,7 @@ from typing import Literal
4
4
 
5
5
  from linkedapi.types.base import LinkedApiModel
6
6
 
7
- SubscriptionStatusValue = Literal["active", "trialing", "past_due", "canceled"]
7
+ SubscriptionStatusValue = Literal["active", "trialing", "past_due", "unpaid", "canceled"]
8
8
  SeatType = Literal["core", "plus"]
9
9
  BillingPeriod = Literal["month", "year"]
10
10
  SetSeatsStatus = Literal["complete", "processing"]
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "linkedapi"
7
- version = "1.4.7"
7
+ version = "1.4.8"
8
8
  description = "Official synchronous Python SDK for Linked API."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -23,6 +23,8 @@ def test_error_type_sets_match_node_contract() -> None:
23
23
  "workflowTimeout",
24
24
  "outsideWorkingHours",
25
25
  "workingHoursWaitExpired",
26
+ "cancelledByUser",
27
+ "unexpectedError",
26
28
  "httpError",
27
29
  "tooManyRequests",
28
30
  "accountNotFound",
@@ -34,14 +36,17 @@ def test_error_type_sets_match_node_contract() -> None:
34
36
  assert LINKED_API_ACTION_ERROR_TYPES == (
35
37
  "personNotFound",
36
38
  "selfProfileNotAllowed",
39
+ "personLikelyChangedPublicUrl",
37
40
  "messagingNotAllowed",
38
41
  "alreadyPending",
39
42
  "alreadyConnected",
40
43
  "emailRequired",
41
44
  "noteTooLong",
42
45
  "noteLimitExceeded",
46
+ "invitationAlreadyReceived",
43
47
  "requestNotAllowed",
44
48
  "notPending",
49
+ "noPendingRequest",
45
50
  "retrievingNotAllowed",
46
51
  "connectionNotFound",
47
52
  "skillNotFound",
@@ -49,6 +54,7 @@ def test_error_type_sets_match_node_contract() -> None:
49
54
  "limitExceeded",
50
55
  "searchingNotAllowed",
51
56
  "searchInterfaceMismatch",
57
+ "searchTemporarilyUnavailable",
52
58
  "filterNotApplied",
53
59
  "companyNotFound",
54
60
  "postNotFound",
@@ -58,12 +64,23 @@ def test_error_type_sets_match_node_contract() -> None:
58
64
  "replyingNotAllowed",
59
65
  "duplicateComment",
60
66
  "noPostingPermission",
67
+ "textTooLong",
68
+ "unsupportedAttachmentType",
69
+ "missingDocumentName",
70
+ "urlNotAccessible",
71
+ "fileTooLarge",
72
+ "unsupportedMimeType",
73
+ "tooManyAttachments",
74
+ "mixingNotAllowed",
61
75
  "mentionNotResolved",
62
76
  "repostNotAllowed",
63
77
  "alreadyReposted",
64
78
  "noSalesNavigator",
79
+ "salesNavigatorOnboardingRequired",
65
80
  "conversationsNotSynced",
66
81
  "threadNotFound",
82
+ "ssiNotAvailable",
83
+ "unexpectedError",
67
84
  )
68
85
 
69
86
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes