bereach 1.4.0 → 1.4.3

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 (430) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +101 -128
  3. package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
  4. package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
  5. package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
  6. package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
  7. package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
  8. package/esm/funcs/actions-create-comment.d.ts.map +1 -0
  9. package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
  10. package/esm/funcs/actions-create-comment.js.map +1 -0
  11. package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
  12. package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
  13. package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
  14. package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
  15. package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
  16. package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
  17. package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
  18. package/esm/funcs/actions-edit-comment.js.map +1 -0
  19. package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
  20. package/esm/funcs/actions-edit-post.d.ts.map +1 -0
  21. package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
  22. package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
  23. package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
  24. package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
  25. package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
  26. package/esm/funcs/actions-follow-profile.js.map +1 -0
  27. package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
  28. package/esm/funcs/actions-like-comment.d.ts.map +1 -0
  29. package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
  30. package/esm/funcs/actions-like-comment.js.map +1 -0
  31. package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
  32. package/esm/funcs/actions-like-post.d.ts.map +1 -0
  33. package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
  34. package/esm/funcs/actions-like-post.js.map +1 -0
  35. package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
  36. package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
  37. package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
  38. package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
  39. package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
  40. package/esm/funcs/actions-publish-post.d.ts.map +1 -0
  41. package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
  42. package/esm/funcs/actions-publish-post.js.map +1 -0
  43. package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
  44. package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
  45. package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
  46. package/esm/funcs/actions-reply-to-comment.js.map +1 -0
  47. package/esm/funcs/actions-repost-post.d.ts +18 -0
  48. package/esm/funcs/actions-repost-post.d.ts.map +1 -0
  49. package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
  50. package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
  51. package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
  52. package/esm/funcs/actions-save-post.d.ts.map +1 -0
  53. package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
  54. package/esm/funcs/actions-save-post.js.map +1 -0
  55. package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
  56. package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
  57. package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
  58. package/esm/funcs/actions-unfollow-company.js.map +1 -0
  59. package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
  60. package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
  61. package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
  62. package/esm/funcs/actions-unfollow-profile.js.map +1 -0
  63. package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
  64. package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
  65. package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
  66. package/esm/funcs/actions-unlike-comment.js.map +1 -0
  67. package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
  68. package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
  69. package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
  70. package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
  71. package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
  72. package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
  73. package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
  74. package/esm/funcs/actions-unsave-post.js.map +1 -0
  75. package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
  76. package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
  77. package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
  78. package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
  79. package/esm/funcs/chat-list-inbox.d.ts +18 -0
  80. package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
  81. package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
  82. package/esm/funcs/chat-list-inbox.js.map +1 -0
  83. package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
  84. package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
  85. package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
  86. package/esm/funcs/chat-mark-all-read.js.map +1 -0
  87. package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
  88. package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
  89. package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
  90. package/esm/funcs/chat-mark-seen.js.map +1 -0
  91. package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
  92. package/esm/funcs/chat-react.d.ts.map +1 -0
  93. package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
  94. package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
  95. package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
  96. package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
  97. package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
  98. package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
  99. package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
  100. package/esm/funcs/chat-star.d.ts.map +1 -0
  101. package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
  102. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
  103. package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
  104. package/esm/funcs/chat-unarchive.d.ts.map +1 -0
  105. package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
  106. package/esm/funcs/chat-unarchive.js.map +1 -0
  107. package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
  108. package/esm/funcs/chat-unstar.d.ts.map +1 -0
  109. package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
  110. package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
  111. package/esm/funcs/company-pages-posts.d.ts +18 -0
  112. package/esm/funcs/company-pages-posts.d.ts.map +1 -0
  113. package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
  114. package/esm/funcs/company-pages-posts.js.map +1 -0
  115. package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
  116. package/esm/funcs/profile-posts.d.ts.map +1 -0
  117. package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
  118. package/esm/funcs/profile-posts.js.map +1 -0
  119. package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
  120. package/esm/funcs/profile-views.d.ts.map +1 -0
  121. package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
  122. package/esm/funcs/profile-views.js.map +1 -0
  123. package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
  124. package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
  125. package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
  126. package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
  127. package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
  128. package/esm/funcs/sales-nav-people.d.ts.map +1 -0
  129. package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
  130. package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
  131. package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
  132. package/esm/funcs/sales-nav-search.d.ts.map +1 -0
  133. package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
  134. package/esm/funcs/sales-nav-search.js.map +1 -0
  135. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
  136. package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
  137. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
  138. package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
  139. package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
  140. package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
  141. package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
  142. package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
  143. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
  144. package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
  145. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
  146. package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
  147. package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
  148. package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
  149. package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
  150. package/esm/funcs/scrapers-collect-likes.js.map +1 -0
  151. package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
  152. package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
  153. package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
  154. package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
  155. package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
  156. package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
  157. package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
  158. package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
  159. package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
  160. package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
  161. package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
  162. package/esm/funcs/scrapers-visit-company.js.map +1 -0
  163. package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
  164. package/esm/funcs/search-by-url.d.ts.map +1 -0
  165. package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
  166. package/esm/funcs/search-by-url.js.map +1 -0
  167. package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
  168. package/esm/funcs/search-companies.d.ts.map +1 -0
  169. package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
  170. package/esm/funcs/search-companies.js.map +1 -0
  171. package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
  172. package/esm/funcs/search-jobs.d.ts.map +1 -0
  173. package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
  174. package/esm/funcs/search-jobs.js.map +1 -0
  175. package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
  176. package/esm/funcs/search-people.d.ts.map +1 -0
  177. package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
  178. package/esm/funcs/search-people.js.map +1 -0
  179. package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
  180. package/esm/funcs/search-posts.d.ts.map +1 -0
  181. package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
  182. package/esm/funcs/search-posts.js.map +1 -0
  183. package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
  184. package/esm/funcs/search-search.d.ts.map +1 -0
  185. package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
  186. package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
  187. package/esm/lib/config.d.ts +3 -3
  188. package/esm/lib/config.js +3 -3
  189. package/esm/models/operations/index.d.ts +1 -1
  190. package/esm/models/operations/index.d.ts.map +1 -1
  191. package/esm/models/operations/index.js +1 -1
  192. package/esm/models/operations/index.js.map +1 -1
  193. package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +906 -889
  194. package/esm/models/operations/search-companies-response.d.ts.map +1 -0
  195. package/esm/models/operations/{search-people-response.js → search-companies-response.js} +615 -604
  196. package/esm/models/operations/search-companies-response.js.map +1 -0
  197. package/esm/models/operations/search-contacts-campaign.d.ts +188 -180
  198. package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
  199. package/esm/models/operations/search-contacts-campaign.js +104 -102
  200. package/esm/models/operations/search-contacts-campaign.js.map +1 -1
  201. package/esm/models/operations/update-account-response.d.ts +638 -634
  202. package/esm/models/operations/update-account-response.d.ts.map +1 -1
  203. package/esm/models/operations/update-account-response.js +308 -307
  204. package/esm/models/operations/update-account-response.js.map +1 -1
  205. package/esm/models/operations/update-schedule-response.d.ts +111 -61
  206. package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
  207. package/esm/models/operations/update-schedule-response.js +37 -32
  208. package/esm/models/operations/update-schedule-response.js.map +1 -1
  209. package/esm/sdk/actions.d.ts +133 -0
  210. package/esm/sdk/actions.d.ts.map +1 -1
  211. package/esm/sdk/actions.js +190 -0
  212. package/esm/sdk/actions.js.map +1 -1
  213. package/esm/sdk/chat.d.ts +56 -0
  214. package/esm/sdk/chat.d.ts.map +1 -1
  215. package/esm/sdk/chat.js +80 -0
  216. package/esm/sdk/chat.js.map +1 -1
  217. package/esm/sdk/company-pages.d.ts +1 -1
  218. package/esm/sdk/company-pages.d.ts.map +1 -1
  219. package/esm/sdk/company-pages.js +3 -3
  220. package/esm/sdk/company-pages.js.map +1 -1
  221. package/esm/sdk/contacts.d.ts +12 -12
  222. package/esm/sdk/contacts.d.ts.map +1 -1
  223. package/esm/sdk/contacts.js +16 -16
  224. package/esm/sdk/contacts.js.map +1 -1
  225. package/esm/sdk/profile.d.ts +2 -2
  226. package/esm/sdk/profile.d.ts.map +1 -1
  227. package/esm/sdk/profile.js +6 -6
  228. package/esm/sdk/profile.js.map +1 -1
  229. package/esm/sdk/sales-nav.d.ts +51 -1
  230. package/esm/sdk/sales-nav.d.ts.map +1 -1
  231. package/esm/sdk/sales-nav.js +59 -3
  232. package/esm/sdk/sales-nav.js.map +1 -1
  233. package/esm/sdk/scrapers.d.ts +49 -0
  234. package/esm/sdk/scrapers.d.ts.map +1 -1
  235. package/esm/sdk/scrapers.js +70 -0
  236. package/esm/sdk/scrapers.js.map +1 -1
  237. package/esm/sdk/sdk.d.ts +0 -27
  238. package/esm/sdk/sdk.d.ts.map +1 -1
  239. package/esm/sdk/sdk.js +0 -45
  240. package/esm/sdk/sdk.js.map +1 -1
  241. package/esm/sdk/search.d.ts +383 -0
  242. package/esm/sdk/search.d.ts.map +1 -1
  243. package/esm/sdk/search.js +401 -0
  244. package/esm/sdk/search.js.map +1 -1
  245. package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
  246. package/jsr.json +1 -1
  247. package/package.json +1 -1
  248. package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
  249. package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
  250. package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
  251. package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
  252. package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
  253. package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
  254. package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
  255. package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
  256. package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
  257. package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
  258. package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
  259. package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
  260. package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
  261. package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
  262. package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
  263. package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
  264. package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
  265. package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
  266. package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
  267. package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
  268. package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
  269. package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
  270. package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
  271. package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
  272. package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
  273. package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
  274. package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
  275. package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
  276. package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
  277. package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
  278. package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
  279. package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
  280. package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
  281. package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
  282. package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
  283. package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
  284. package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
  285. package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
  286. package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
  287. package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
  288. package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
  289. package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
  290. package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
  291. package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
  292. package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
  293. package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
  294. package/src/lib/config.ts +3 -3
  295. package/src/models/operations/index.ts +1 -1
  296. package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1919 -1910
  297. package/src/models/operations/search-contacts-campaign.ts +376 -366
  298. package/src/models/operations/update-account-response.ts +1156 -1151
  299. package/src/models/operations/update-schedule-response.ts +180 -125
  300. package/src/sdk/actions.ts +342 -0
  301. package/src/sdk/chat.ts +144 -0
  302. package/src/sdk/company-pages.ts +3 -3
  303. package/src/sdk/contacts.ts +24 -24
  304. package/src/sdk/profile.ts +6 -6
  305. package/src/sdk/sales-nav.ts +75 -3
  306. package/src/sdk/scrapers.ts +126 -0
  307. package/src/sdk/sdk.ts +0 -56
  308. package/src/sdk/search.ts +449 -0
  309. package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
  310. package/esm/funcs/company-pages-get-posts.js.map +0 -1
  311. package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
  312. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
  313. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
  314. package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
  315. package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
  316. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
  317. package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
  318. package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
  319. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
  320. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
  321. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
  322. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
  323. package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
  324. package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
  325. package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
  326. package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
  327. package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
  328. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
  329. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
  330. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
  331. package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
  332. package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
  333. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
  334. package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
  335. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
  336. package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
  337. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
  338. package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
  339. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
  340. package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
  341. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
  342. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
  343. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
  344. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
  345. package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
  346. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
  347. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
  348. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
  349. package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
  350. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
  351. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
  352. package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
  353. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
  354. package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
  355. package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
  356. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
  357. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
  358. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
  359. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
  360. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
  361. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
  362. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
  363. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
  364. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
  365. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
  366. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
  367. package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
  368. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
  369. package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
  370. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
  371. package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
  372. package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
  373. package/esm/funcs/linkedin-search-search-people.js.map +0 -1
  374. package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
  375. package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
  376. package/esm/funcs/profile-get-posts.d.ts +0 -18
  377. package/esm/funcs/profile-get-posts.d.ts.map +0 -1
  378. package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
  379. package/esm/funcs/profile-get-profile-views.js.map +0 -1
  380. package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
  381. package/esm/funcs/sales-nav-search-people.js.map +0 -1
  382. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
  383. package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
  384. package/esm/models/operations/search-people-response.d.ts.map +0 -1
  385. package/esm/models/operations/search-people-response.js.map +0 -1
  386. package/esm/sdk/linked-in-actions-2.d.ts +0 -47
  387. package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
  388. package/esm/sdk/linked-in-actions-2.js +0 -68
  389. package/esm/sdk/linked-in-actions-2.js.map +0 -1
  390. package/esm/sdk/linked-in-chat-2.d.ts +0 -33
  391. package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
  392. package/esm/sdk/linked-in-chat-2.js +0 -48
  393. package/esm/sdk/linked-in-chat-2.js.map +0 -1
  394. package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
  395. package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
  396. package/esm/sdk/linked-in-scrapers-2.js +0 -28
  397. package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
  398. package/esm/sdk/linked-in-search-1.d.ts +0 -113
  399. package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
  400. package/esm/sdk/linked-in-search-1.js +0 -122
  401. package/esm/sdk/linked-in-search-1.js.map +0 -1
  402. package/esm/sdk/linkedin-actions-1.d.ts +0 -96
  403. package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
  404. package/esm/sdk/linkedin-actions-1.js +0 -138
  405. package/esm/sdk/linkedin-actions-1.js.map +0 -1
  406. package/esm/sdk/linkedin-chat-1.d.ts +0 -33
  407. package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
  408. package/esm/sdk/linkedin-chat-1.js +0 -48
  409. package/esm/sdk/linkedin-chat-1.js.map +0 -1
  410. package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
  411. package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
  412. package/esm/sdk/linkedin-scrapers-1.js +0 -58
  413. package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
  414. package/esm/sdk/linkedin-search-2.d.ts +0 -280
  415. package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
  416. package/esm/sdk/linkedin-search-2.js +0 -295
  417. package/esm/sdk/linkedin-search-2.js.map +0 -1
  418. package/esm/sdk/sales-navigator-search.d.ts +0 -55
  419. package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
  420. package/esm/sdk/sales-navigator-search.js +0 -64
  421. package/esm/sdk/sales-navigator-search.js.map +0 -1
  422. package/src/sdk/linked-in-actions-2.ts +0 -117
  423. package/src/sdk/linked-in-chat-2.ts +0 -81
  424. package/src/sdk/linked-in-scrapers-2.ts +0 -45
  425. package/src/sdk/linked-in-search-1.ts +0 -139
  426. package/src/sdk/linkedin-actions-1.ts +0 -243
  427. package/src/sdk/linkedin-chat-1.ts +0 -81
  428. package/src/sdk/linkedin-scrapers-1.ts +0 -99
  429. package/src/sdk/linkedin-search-2.ts +0 -328
  430. package/src/sdk/sales-navigator-search.ts +0 -81
@@ -2,10 +2,29 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ import { actionsAcceptInvitation } from "../funcs/actions-accept-invitation.js";
5
6
  import { actionsConnectProfile } from "../funcs/actions-connect-profile.js";
7
+ import { actionsCreateComment } from "../funcs/actions-create-comment.js";
8
+ import { actionsDeclineInvitation } from "../funcs/actions-decline-invitation.js";
9
+ import { actionsEditComment } from "../funcs/actions-edit-comment.js";
10
+ import { actionsEditPost } from "../funcs/actions-edit-post.js";
6
11
  import { actionsFollowCompany } from "../funcs/actions-follow-company.js";
12
+ import { actionsFollowProfile } from "../funcs/actions-follow-profile.js";
13
+ import { actionsLikeComment } from "../funcs/actions-like-comment.js";
14
+ import { actionsLikePost } from "../funcs/actions-like-post.js";
15
+ import { actionsListInvitations } from "../funcs/actions-list-invitations.js";
7
16
  import { actionsListSentInvitations } from "../funcs/actions-list-sent-invitations.js";
17
+ import { actionsPublishPost } from "../funcs/actions-publish-post.js";
18
+ import { actionsReplyToComment } from "../funcs/actions-reply-to-comment.js";
19
+ import { actionsRepostPost } from "../funcs/actions-repost-post.js";
20
+ import { actionsSavePost } from "../funcs/actions-save-post.js";
8
21
  import { actionsSendMessage } from "../funcs/actions-send-message.js";
22
+ import { actionsUnfollowCompany } from "../funcs/actions-unfollow-company.js";
23
+ import { actionsUnfollowProfile } from "../funcs/actions-unfollow-profile.js";
24
+ import { actionsUnlikeComment } from "../funcs/actions-unlike-comment.js";
25
+ import { actionsUnlikePost } from "../funcs/actions-unlike-post.js";
26
+ import { actionsUnsavePost } from "../funcs/actions-unsave-post.js";
27
+ import { actionsWithdrawInvitation } from "../funcs/actions-withdraw-invitation.js";
9
28
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
29
  import * as operations from "../models/operations/index.js";
11
30
  import { unwrapAsync } from "../types/fp.js";
@@ -28,6 +47,40 @@ export class Actions extends ClientSDK {
28
47
  ));
29
48
  }
30
49
 
50
+ /**
51
+ * List received LinkedIn connection invitations
52
+ *
53
+ * @remarks
54
+ * Returns pending connection invitations received by the authenticated LinkedIn account. Each invitation includes the invitationId and sharedSecret needed to accept it via the accept endpoint. Costs 1 credit per request.
55
+ */
56
+ async listInvitations(
57
+ request?: operations.ListInvitationsRequest | undefined,
58
+ options?: RequestOptions,
59
+ ): Promise<operations.ListInvitationsResponse> {
60
+ return unwrapAsync(actionsListInvitations(
61
+ this,
62
+ request,
63
+ options,
64
+ ));
65
+ }
66
+
67
+ /**
68
+ * Accept a LinkedIn connection invitation
69
+ *
70
+ * @remarks
71
+ * Accepts a pending connection invitation. Requires the invitationId and sharedSecret obtained from the list invitations endpoint. No daily/weekly cap — only a 5-second minimum interval between calls. Costs 1 credit per request.
72
+ */
73
+ async acceptInvitation(
74
+ request: operations.AcceptInvitationRequest,
75
+ options?: RequestOptions,
76
+ ): Promise<operations.AcceptInvitationResponse> {
77
+ return unwrapAsync(actionsAcceptInvitation(
78
+ this,
79
+ request,
80
+ options,
81
+ ));
82
+ }
83
+
31
84
  /**
32
85
  * Send LinkedIn message
33
86
  *
@@ -45,6 +98,108 @@ export class Actions extends ClientSDK {
45
98
  ));
46
99
  }
47
100
 
101
+ /**
102
+ * Reply to a LinkedIn comment
103
+ *
104
+ * @remarks
105
+ * Sends a reply to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
106
+ */
107
+ async replyToComment(
108
+ request: operations.ReplyToCommentRequest,
109
+ options?: RequestOptions,
110
+ ): Promise<operations.ReplyToCommentResponse> {
111
+ return unwrapAsync(actionsReplyToComment(
112
+ this,
113
+ request,
114
+ options,
115
+ ));
116
+ }
117
+
118
+ /**
119
+ * Like a LinkedIn comment
120
+ *
121
+ * @remarks
122
+ * Reacts to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
123
+ */
124
+ async likeComment(
125
+ request: operations.LikeCommentRequest,
126
+ options?: RequestOptions,
127
+ ): Promise<operations.LikeCommentResponse> {
128
+ return unwrapAsync(actionsLikeComment(
129
+ this,
130
+ request,
131
+ options,
132
+ ));
133
+ }
134
+
135
+ /**
136
+ * Publish or schedule a LinkedIn post
137
+ *
138
+ * @remarks
139
+ * Creates a new LinkedIn post. Supports instant publishing and scheduled posting. Optionally attach an image by providing its URL (imageUrl) or base64-encoded data (imageBase64). Rate limited to 80 actions per day per user. Consumes 1 credit per post.
140
+ */
141
+ async publishPost(
142
+ request: operations.PublishPostRequest,
143
+ options?: RequestOptions,
144
+ ): Promise<operations.PublishPostResponse> {
145
+ return unwrapAsync(actionsPublishPost(
146
+ this,
147
+ request,
148
+ options,
149
+ ));
150
+ }
151
+
152
+ /**
153
+ * Comment on a LinkedIn post
154
+ *
155
+ * @remarks
156
+ * Adds a top-level comment on a LinkedIn post. Consumes 1 credit per comment. Supports deduplication via campaignSlug.
157
+ */
158
+ async createComment(
159
+ request: operations.CreateCommentRequest,
160
+ options?: RequestOptions,
161
+ ): Promise<operations.CreateCommentResponse> {
162
+ return unwrapAsync(actionsCreateComment(
163
+ this,
164
+ request,
165
+ options,
166
+ ));
167
+ }
168
+
169
+ /**
170
+ * Like a LinkedIn post
171
+ *
172
+ * @remarks
173
+ * Reacts to a LinkedIn post. Accepts a post URL and an optional reaction type. Consumes 1 credit per reaction. Supports deduplication via campaignSlug.
174
+ */
175
+ async likePost(
176
+ request: operations.LikePostRequest,
177
+ options?: RequestOptions,
178
+ ): Promise<operations.LikePostResponse> {
179
+ return unwrapAsync(actionsLikePost(
180
+ this,
181
+ request,
182
+ options,
183
+ ));
184
+ }
185
+
186
+ /**
187
+ * Decline a connection invitation
188
+ *
189
+ * @remarks
190
+ * Decline a pending LinkedIn connection invitation. Uses the SDUI endpoint. Both invitationId and sharedSecret are required (obtained from the list invitations endpoint). 1 credit.
191
+ */
192
+ async declineInvitation(
193
+ request: operations.DeclineInvitationRequest,
194
+ options?: RequestOptions,
195
+ ): Promise<operations.DeclineInvitationResponse> {
196
+ return unwrapAsync(actionsDeclineInvitation(
197
+ this,
198
+ request,
199
+ options,
200
+ ));
201
+ }
202
+
48
203
  /**
49
204
  * List sent connection invitations
50
205
  *
@@ -62,6 +217,176 @@ export class Actions extends ClientSDK {
62
217
  ));
63
218
  }
64
219
 
220
+ /**
221
+ * Withdraw a sent connection invitation
222
+ *
223
+ * @remarks
224
+ * Withdraw a pending sent connection invitation. Pre-fetches invitee details from last 500 sent invitations, then uses SDUI endpoint to withdraw. Only works for CONNECTION type invitations. Returns bad_request if invitation not found, already withdrawn, or accepted. Returns bad_request with message if invitation expired (410). 1 credit.
225
+ */
226
+ async withdrawInvitation(
227
+ request: operations.WithdrawInvitationRequest,
228
+ options?: RequestOptions,
229
+ ): Promise<operations.WithdrawInvitationResponse> {
230
+ return unwrapAsync(actionsWithdrawInvitation(
231
+ this,
232
+ request,
233
+ options,
234
+ ));
235
+ }
236
+
237
+ /**
238
+ * Follow a profile
239
+ *
240
+ * @remarks
241
+ * Follow a LinkedIn profile without connecting. Uses SDUI endpoint. Accepts profile URL (linkedin.com/in/username), full URN, or vanity name. Requires extracting memberId from fsd_profile URN (base64url decode). 1 credit.
242
+ */
243
+ async followProfile(
244
+ request: operations.FollowProfileRequest,
245
+ options?: RequestOptions,
246
+ ): Promise<operations.FollowProfileResponse> {
247
+ return unwrapAsync(actionsFollowProfile(
248
+ this,
249
+ request,
250
+ options,
251
+ ));
252
+ }
253
+
254
+ /**
255
+ * Unfollow a profile
256
+ *
257
+ * @remarks
258
+ * Unfollow a LinkedIn profile. Uses SDUI endpoint. Same input formats as follow. 1 credit.
259
+ */
260
+ async unfollowProfile(
261
+ request: operations.UnfollowProfileRequest,
262
+ options?: RequestOptions,
263
+ ): Promise<operations.UnfollowProfileResponse> {
264
+ return unwrapAsync(actionsUnfollowProfile(
265
+ this,
266
+ request,
267
+ options,
268
+ ));
269
+ }
270
+
271
+ /**
272
+ * Edit a post
273
+ *
274
+ * @remarks
275
+ * Edit the text content of an existing LinkedIn post. Only text can be changed; media, visibility, and other properties are preserved. Requires resolving the shareUrn from the activityUrn (done internally via up to 5 fallback strategies). Only works for posts in the user's recent feed. Returns bad_request if shareUrn cannot be resolved. 1 credit.
276
+ */
277
+ async editPost(
278
+ request: operations.EditPostRequest,
279
+ options?: RequestOptions,
280
+ ): Promise<operations.EditPostResponse> {
281
+ return unwrapAsync(actionsEditPost(
282
+ this,
283
+ request,
284
+ options,
285
+ ));
286
+ }
287
+
288
+ /**
289
+ * Edit a comment
290
+ *
291
+ * @remarks
292
+ * Edit the text of an existing LinkedIn comment. Provide either fsdCommentUrn (preferred, from comment API response) or the legacy commentUrn format. Uses REST PARTIAL_UPDATE. Returns not_found if the comment does not exist or URN is malformed, forbidden if it's not your comment. 1 credit.
293
+ */
294
+ async editComment(
295
+ request: operations.EditCommentRequest,
296
+ options?: RequestOptions,
297
+ ): Promise<operations.EditCommentResponse> {
298
+ return unwrapAsync(actionsEditComment(
299
+ this,
300
+ request,
301
+ options,
302
+ ));
303
+ }
304
+
305
+ /**
306
+ * Repost / share a post
307
+ *
308
+ * @remarks
309
+ * Repost/share a LinkedIn post with quote text. Text is required by LinkedIn. Returns shareUrn on success. Returns bad_request if post URL is invalid. 1 credit.
310
+ */
311
+ async repostPost(
312
+ request: operations.RepostPostRequest,
313
+ options?: RequestOptions,
314
+ ): Promise<operations.RepostPostResponse> {
315
+ return unwrapAsync(actionsRepostPost(
316
+ this,
317
+ request,
318
+ options,
319
+ ));
320
+ }
321
+
322
+ /**
323
+ * Unlike a post
324
+ *
325
+ * @remarks
326
+ * Remove your reaction from a LinkedIn post using GraphQL mutation. Idempotent if post is not liked. Returns bad_request if post URL is invalid. 0 credits.
327
+ */
328
+ async unlikePost(
329
+ request: operations.UnlikePostRequest,
330
+ options?: RequestOptions,
331
+ ): Promise<operations.UnlikePostResponse> {
332
+ return unwrapAsync(actionsUnlikePost(
333
+ this,
334
+ request,
335
+ options,
336
+ ));
337
+ }
338
+
339
+ /**
340
+ * Unlike a comment
341
+ *
342
+ * @remarks
343
+ * Remove your reaction from a LinkedIn comment using GraphQL mutation. Accepts both 'urn:li:comment:(urn:li:activity:X,Y)' and 'urn:li:comment:(activity:X,Y)' formats. Also supports ugcPost and share types. 0 credits.
344
+ */
345
+ async unlikeComment(
346
+ request: operations.UnlikeCommentRequest,
347
+ options?: RequestOptions,
348
+ ): Promise<operations.UnlikeCommentResponse> {
349
+ return unwrapAsync(actionsUnlikeComment(
350
+ this,
351
+ request,
352
+ options,
353
+ ));
354
+ }
355
+
356
+ /**
357
+ * Save a post
358
+ *
359
+ * @remarks
360
+ * Save a LinkedIn post to bookmarks using REST PARTIAL_UPDATE. Idempotent — saving an already-saved post succeeds silently. Uses the post type (activity/ugcPost/share) for correct URN construction. 0 credits.
361
+ */
362
+ async savePost(
363
+ request: operations.SavePostRequest,
364
+ options?: RequestOptions,
365
+ ): Promise<operations.SavePostResponse> {
366
+ return unwrapAsync(actionsSavePost(
367
+ this,
368
+ request,
369
+ options,
370
+ ));
371
+ }
372
+
373
+ /**
374
+ * Unsave a post
375
+ *
376
+ * @remarks
377
+ * Remove a LinkedIn post from bookmarks. Idempotent — unsaving a non-saved post succeeds silently. 0 credits.
378
+ */
379
+ async unsavePost(
380
+ request: operations.UnsavePostRequest,
381
+ options?: RequestOptions,
382
+ ): Promise<operations.UnsavePostResponse> {
383
+ return unwrapAsync(actionsUnsavePost(
384
+ this,
385
+ request,
386
+ options,
387
+ ));
388
+ }
389
+
65
390
  /**
66
391
  * Follow a company
67
392
  *
@@ -78,4 +403,21 @@ export class Actions extends ClientSDK {
78
403
  options,
79
404
  ));
80
405
  }
406
+
407
+ /**
408
+ * Unfollow a company
409
+ *
410
+ * @remarks
411
+ * Unfollow a LinkedIn company page. 0 credits.
412
+ */
413
+ async unfollowCompany(
414
+ request: operations.UnfollowCompanyRequest,
415
+ options?: RequestOptions,
416
+ ): Promise<operations.UnfollowCompanyResponse> {
417
+ return unwrapAsync(actionsUnfollowCompany(
418
+ this,
419
+ request,
420
+ options,
421
+ ));
422
+ }
81
423
  }
package/src/sdk/chat.ts CHANGED
@@ -7,14 +7,39 @@ import { chatFindConversation } from "../funcs/chat-find-conversation.js";
7
7
  import { chatGetMessages } from "../funcs/chat-get-messages.js";
8
8
  import { chatGetUnreadCount } from "../funcs/chat-get-unread-count.js";
9
9
  import { chatListArchived } from "../funcs/chat-list-archived.js";
10
+ import { chatListInbox } from "../funcs/chat-list-inbox.js";
10
11
  import { chatListStarred } from "../funcs/chat-list-starred.js";
12
+ import { chatMarkAllRead } from "../funcs/chat-mark-all-read.js";
13
+ import { chatMarkSeen } from "../funcs/chat-mark-seen.js";
14
+ import { chatReact } from "../funcs/chat-react.js";
11
15
  import { chatSearchConversations } from "../funcs/chat-search-conversations.js";
16
+ import { chatSendTypingIndicator } from "../funcs/chat-send-typing-indicator.js";
17
+ import { chatStar } from "../funcs/chat-star.js";
18
+ import { chatUnarchive } from "../funcs/chat-unarchive.js";
12
19
  import { chatUnreact } from "../funcs/chat-unreact.js";
20
+ import { chatUnstar } from "../funcs/chat-unstar.js";
13
21
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
14
22
  import * as operations from "../models/operations/index.js";
15
23
  import { unwrapAsync } from "../types/fp.js";
16
24
 
17
25
  export class Chat extends ClientSDK {
26
+ /**
27
+ * List LinkedIn inbox conversations
28
+ *
29
+ * @remarks
30
+ * List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor. 0 credits.
31
+ */
32
+ async listInbox(
33
+ request?: operations.ListInboxRequest | undefined,
34
+ options?: RequestOptions,
35
+ ): Promise<operations.ListInboxResponse> {
36
+ return unwrapAsync(chatListInbox(
37
+ this,
38
+ request,
39
+ options,
40
+ ));
41
+ }
42
+
18
43
  /**
19
44
  * Search LinkedIn conversations
20
45
  *
@@ -70,6 +95,74 @@ export class Chat extends ClientSDK {
70
95
  ));
71
96
  }
72
97
 
98
+ /**
99
+ * Mark a conversation as read
100
+ *
101
+ * @remarks
102
+ * Mark a LinkedIn conversation as read/seen. 0 credits.
103
+ */
104
+ async markSeen(
105
+ request: operations.MarkSeenRequest,
106
+ options?: RequestOptions,
107
+ ): Promise<operations.MarkSeenResponse> {
108
+ return unwrapAsync(chatMarkSeen(
109
+ this,
110
+ request,
111
+ options,
112
+ ));
113
+ }
114
+
115
+ /**
116
+ * Mark all conversations as read
117
+ *
118
+ * @remarks
119
+ * Mark all LinkedIn inbox conversations as read. 0 credits.
120
+ */
121
+ async markAllRead(
122
+ request?: operations.MarkAllReadRequest | undefined,
123
+ options?: RequestOptions,
124
+ ): Promise<operations.MarkAllReadResponse> {
125
+ return unwrapAsync(chatMarkAllRead(
126
+ this,
127
+ request,
128
+ options,
129
+ ));
130
+ }
131
+
132
+ /**
133
+ * Star a conversation
134
+ *
135
+ * @remarks
136
+ * Star/favorite a LinkedIn conversation. 0 credits.
137
+ */
138
+ async star(
139
+ request: operations.StarRequest,
140
+ options?: RequestOptions,
141
+ ): Promise<operations.StarResponse> {
142
+ return unwrapAsync(chatStar(
143
+ this,
144
+ request,
145
+ options,
146
+ ));
147
+ }
148
+
149
+ /**
150
+ * Unstar a conversation
151
+ *
152
+ * @remarks
153
+ * Remove star from a LinkedIn conversation. 0 credits.
154
+ */
155
+ async unstar(
156
+ request: operations.UnstarRequest,
157
+ options?: RequestOptions,
158
+ ): Promise<operations.UnstarResponse> {
159
+ return unwrapAsync(chatUnstar(
160
+ this,
161
+ request,
162
+ options,
163
+ ));
164
+ }
165
+
73
166
  /**
74
167
  * List starred conversations
75
168
  *
@@ -104,6 +197,23 @@ export class Chat extends ClientSDK {
104
197
  ));
105
198
  }
106
199
 
200
+ /**
201
+ * Unarchive a conversation
202
+ *
203
+ * @remarks
204
+ * Move a LinkedIn conversation back from archive to inbox. 0 credits.
205
+ */
206
+ async unarchive(
207
+ request: operations.UnarchiveRequest,
208
+ options?: RequestOptions,
209
+ ): Promise<operations.UnarchiveResponse> {
210
+ return unwrapAsync(chatUnarchive(
211
+ this,
212
+ request,
213
+ options,
214
+ ));
215
+ }
216
+
107
217
  /**
108
218
  * List archived conversations
109
219
  *
@@ -121,6 +231,23 @@ export class Chat extends ClientSDK {
121
231
  ));
122
232
  }
123
233
 
234
+ /**
235
+ * React to a message with emoji
236
+ *
237
+ * @remarks
238
+ * Add an emoji reaction to a LinkedIn message. 0 credits.
239
+ */
240
+ async react(
241
+ request: operations.ReactRequest,
242
+ options?: RequestOptions,
243
+ ): Promise<operations.ReactResponse> {
244
+ return unwrapAsync(chatReact(
245
+ this,
246
+ request,
247
+ options,
248
+ ));
249
+ }
250
+
124
251
  /**
125
252
  * Remove emoji reaction from a message
126
253
  *
@@ -138,6 +265,23 @@ export class Chat extends ClientSDK {
138
265
  ));
139
266
  }
140
267
 
268
+ /**
269
+ * Send typing indicator
270
+ *
271
+ * @remarks
272
+ * Send a typing indicator to a LinkedIn conversation, simulating natural typing behavior. 0 credits.
273
+ */
274
+ async sendTypingIndicator(
275
+ request: operations.SendTypingIndicatorRequest,
276
+ options?: RequestOptions,
277
+ ): Promise<operations.SendTypingIndicatorResponse> {
278
+ return unwrapAsync(chatSendTypingIndicator(
279
+ this,
280
+ request,
281
+ options,
282
+ ));
283
+ }
284
+
141
285
  /**
142
286
  * Get unread message count
143
287
  *
@@ -4,8 +4,8 @@
4
4
 
5
5
  import { companyPagesGetAnalytics } from "../funcs/company-pages-get-analytics.js";
6
6
  import { companyPagesGetPermissions } from "../funcs/company-pages-get-permissions.js";
7
- import { companyPagesGetPosts } from "../funcs/company-pages-get-posts.js";
8
7
  import { companyPagesList } from "../funcs/company-pages-list.js";
8
+ import { companyPagesPosts } from "../funcs/company-pages-posts.js";
9
9
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
10
  import * as operations from "../models/operations/index.js";
11
11
  import { unwrapAsync } from "../types/fp.js";
@@ -32,11 +32,11 @@ export class CompanyPages extends ClientSDK {
32
32
  * @remarks
33
33
  * Fetch the most recent posts from a LinkedIn company page feed. Requires admin access to the company page. Costs 1 credit.
34
34
  */
35
- async getPosts(
35
+ async posts(
36
36
  request: operations.GetCompanyPostsRequest,
37
37
  options?: RequestOptions,
38
38
  ): Promise<operations.GetCompanyPostsResponse> {
39
- return unwrapAsync(companyPagesGetPosts(
39
+ return unwrapAsync(companyPagesPosts(
40
40
  this,
41
41
  request,
42
42
  options,
@@ -217,16 +217,16 @@ export class Contacts extends ClientSDK {
217
217
  }
218
218
 
219
219
  /**
220
- * Merge-update agent state by key
220
+ * Delete agent state by key
221
221
  *
222
222
  * @remarks
223
- * Merge partial fields into an existing state entry. 0 credits.
223
+ * Delete a key-value state entry. 0 credits.
224
224
  */
225
- async patchAgentState(
226
- request: operations.PatchAgentStateRequest,
225
+ async deleteAgentState(
226
+ request: operations.DeleteAgentStateRequest,
227
227
  options?: RequestOptions,
228
- ): Promise<operations.PatchAgentStateResponse> {
229
- return unwrapAsync(contactsPatchAgentState(
228
+ ): Promise<operations.DeleteAgentStateResponse> {
229
+ return unwrapAsync(contactsDeleteAgentState(
230
230
  this,
231
231
  request,
232
232
  options,
@@ -234,16 +234,16 @@ export class Contacts extends ClientSDK {
234
234
  }
235
235
 
236
236
  /**
237
- * Delete agent state by key
237
+ * Merge-update agent state by key
238
238
  *
239
239
  * @remarks
240
- * Delete a key-value state entry. 0 credits.
240
+ * Merge partial fields into an existing state entry. 0 credits.
241
241
  */
242
- async deleteAgentState(
243
- request: operations.DeleteAgentStateRequest,
242
+ async patchAgentState(
243
+ request: operations.PatchAgentStateRequest,
244
244
  options?: RequestOptions,
245
- ): Promise<operations.DeleteAgentStateResponse> {
246
- return unwrapAsync(contactsDeleteAgentState(
245
+ ): Promise<operations.PatchAgentStateResponse> {
246
+ return unwrapAsync(contactsPatchAgentState(
247
247
  this,
248
248
  request,
249
249
  options,
@@ -302,16 +302,16 @@ export class Contacts extends ClientSDK {
302
302
  }
303
303
 
304
304
  /**
305
- * Update campaign settings
305
+ * Delete a campaign
306
306
  *
307
307
  * @remarks
308
- * Update campaign name, description, context, or schedule settings. 0 credits.
308
+ * Delete a campaign. Campaign contacts are cascade-deleted but contacts themselves survive. 0 credits.
309
309
  */
310
- async updateCampaign(
311
- request: operations.UpdateCampaignRequest,
310
+ async deleteCampaign(
311
+ request: operations.DeleteCampaignRequest,
312
312
  options?: RequestOptions,
313
- ): Promise<operations.UpdateCampaignResponse> {
314
- return unwrapAsync(contactsUpdateCampaign(
313
+ ): Promise<operations.DeleteCampaignResponse> {
314
+ return unwrapAsync(contactsDeleteCampaign(
315
315
  this,
316
316
  request,
317
317
  options,
@@ -319,16 +319,16 @@ export class Contacts extends ClientSDK {
319
319
  }
320
320
 
321
321
  /**
322
- * Delete a campaign
322
+ * Update campaign settings
323
323
  *
324
324
  * @remarks
325
- * Delete a campaign. Campaign contacts are cascade-deleted but contacts themselves survive. 0 credits.
325
+ * Update campaign name, description, context, or schedule settings. 0 credits.
326
326
  */
327
- async deleteCampaign(
328
- request: operations.DeleteCampaignRequest,
327
+ async updateCampaign(
328
+ request: operations.UpdateCampaignRequest,
329
329
  options?: RequestOptions,
330
- ): Promise<operations.DeleteCampaignResponse> {
331
- return unwrapAsync(contactsDeleteCampaign(
330
+ ): Promise<operations.UpdateCampaignResponse> {
331
+ return unwrapAsync(contactsUpdateCampaign(
332
332
  this,
333
333
  request,
334
334
  options,