bereach 1.4.0 → 1.4.2

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 +2 -2
  188. package/esm/lib/config.js +2 -2
  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} +890 -890
  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} +611 -604
  196. package/esm/models/operations/search-companies-response.js.map +1 -0
  197. package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
  198. package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
  199. package/esm/models/operations/search-contacts-campaign.js +102 -102
  200. package/esm/models/operations/search-contacts-campaign.js.map +1 -1
  201. package/esm/models/operations/update-account-response.d.ts +634 -634
  202. package/esm/models/operations/update-account-response.d.ts.map +1 -1
  203. package/esm/models/operations/update-account-response.js +307 -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 +2 -2
  295. package/src/models/operations/index.ts +1 -1
  296. package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
  297. package/src/models/operations/search-contacts-campaign.ts +366 -366
  298. package/src/models/operations/update-account-response.ts +1147 -1147
  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
package/esm/sdk/search.js CHANGED
@@ -1,10 +1,411 @@
1
1
  /*
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
+ import { searchByUrl } from "../funcs/search-by-url.js";
5
+ import { searchCompanies } from "../funcs/search-companies.js";
6
+ import { searchJobs } from "../funcs/search-jobs.js";
7
+ import { searchPeople } from "../funcs/search-people.js";
8
+ import { searchPosts } from "../funcs/search-posts.js";
4
9
  import { searchResolveParameters } from "../funcs/search-resolve-parameters.js";
10
+ import { searchSearch } from "../funcs/search-search.js";
5
11
  import { ClientSDK } from "../lib/sdks.js";
6
12
  import { unwrapAsync } from "../types/fp.js";
7
13
  export class Search extends ClientSDK {
14
+ /**
15
+ * Unified LinkedIn Search — posts, people, companies, jobs
16
+ *
17
+ * @remarks
18
+ * # Unified LinkedIn Search
19
+ *
20
+ * This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
21
+ *
22
+ * ## When to use this endpoint
23
+ * Use this endpoint when you need to search across categories dynamically (e.g. the user chooses the category at runtime). For a simpler interface with category-specific documentation, use the dedicated endpoints:
24
+ * - `POST /search/linkedin/posts` — search posts
25
+ * - `POST /search/linkedin/people` — search people
26
+ * - `POST /search/linkedin/companies` — search companies
27
+ * - `POST /search/linkedin/jobs` — search jobs
28
+ * - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
29
+ *
30
+ * ## Two ways to search
31
+ * 1. **Structured**: pass `category` + `keywords` + optional filters
32
+ * 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
33
+ *
34
+ * Explicit parameters always override URL-derived values.
35
+ *
36
+ * ## Keyword syntax (Boolean operators)
37
+ * Keywords support LinkedIn Boolean search syntax for precise matching:
38
+ * - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
39
+ * - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
40
+ * - **OR**: either term — `CEO OR founder OR owner`
41
+ * - **NOT**: exclude — `manager NOT assistant`
42
+ * - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
43
+ *
44
+ * Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
45
+ *
46
+ * Without quotes, a multi-word query like `outreach automation` is treated as `outreach AND automation`, which may return broad results. Use `"outreach automation"` for exact matching.
47
+ *
48
+ * ## Resolving filter IDs
49
+ * Many filters (location, industry, company, school) require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs (e.g. "103644278").
50
+ *
51
+ * ## Pagination
52
+ * Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
53
+ *
54
+ * ## Credits
55
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
56
+ */
57
+ async search(request, options) {
58
+ return unwrapAsync(searchSearch(this, request, options));
59
+ }
60
+ /**
61
+ * Search LinkedIn Posts
62
+ *
63
+ * @remarks
64
+ * # Search LinkedIn Posts
65
+ *
66
+ * Search LinkedIn's content index for posts matching your keywords and filters. Returns structured post data including full text, engagement metrics, author info, and URLs.
67
+ *
68
+ * ## Required parameters
69
+ * - **keywords** (string, required): The search terms to match against post content. Examples: `"AI automation"`, `"remote work trends"`, `"SaaS growth strategies"`.
70
+ *
71
+ * ## Keyword syntax (Boolean operators)
72
+ * Keywords support LinkedIn Boolean search syntax:
73
+ * - **Exact phrase**: `"outreach automation"` — matches only that exact phrase
74
+ * - **AND**: `AI AND marketing` — both terms required (spaces default to AND)
75
+ * - **OR**: `"growth hacking" OR "growth marketing"` — either term
76
+ * - **NOT**: `outreach NOT webinar` — exclude unwanted terms
77
+ * - **Parentheses**: `(AI OR ML) AND "case study"` — group logic
78
+ *
79
+ * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
80
+ *
81
+ * ## Available filters
82
+ * | Filter | Type | Description |
83
+ * |--------|------|-------------|
84
+ * | `sortBy` | `"relevance"` \| `"date"` | Sort by relevance (default) or most recent first |
85
+ * | `datePosted` | `"past-24h"` \| `"past-week"` \| `"past-month"` | Filter by publication recency |
86
+ * | `contentType` | `"images"` \| `"videos"` \| `"documents"` | Filter by media type |
87
+ * | `authorIndustry` | string[] | Author's industry IDs (resolve via `/search/linkedin/parameters` with type=`INDUSTRY`) |
88
+ * | `authorCompany` | string[] | Author's company IDs (resolve via `/search/linkedin/parameters` with type=`COMPANY`) |
89
+ *
90
+ * ## Response fields (per item)
91
+ * | Field | Type | Description |
92
+ * |-------|------|-------------|
93
+ * | `postUrl` | string | Direct URL to the LinkedIn post |
94
+ * | `text` | string | Full post text content |
95
+ * | `date` | number | Publication timestamp (ms since epoch) |
96
+ * | `likesCount` | number | Total reactions |
97
+ * | `commentsCount` | number | Total comments |
98
+ * | `sharesCount` | number | Total shares/reposts |
99
+ * | `author.name` | string | Author's display name |
100
+ * | `author.profileUrl` | string | Author's LinkedIn profile URL |
101
+ * | `author.headline` | string | Author's headline |
102
+ * | `author.isCompany` | boolean | Whether the author is a company page |
103
+ * | `isRepost` | boolean | Whether this is a repost of another post |
104
+ *
105
+ * ## Pagination
106
+ * - Default page size: 10, max: 50
107
+ * - Use `start` + `count` to paginate: `start=0, count=10` → page 1, `start=10, count=10` → page 2
108
+ * - Check `hasMore` in the response to know if more pages exist
109
+ * - `paging.total` gives the estimated total number of results
110
+ *
111
+ * ## Example workflows
112
+ * 1. **Content research**: Search for trending topics → analyze top posts → extract engagement patterns
113
+ * 2. **Lead generation**: Search for posts about problems your product solves → extract author profiles
114
+ * 3. **Competitive intelligence**: Search for competitor mentions → track sentiment and engagement
115
+ *
116
+ * ## Credits
117
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
118
+ */
119
+ async posts(request, options) {
120
+ return unwrapAsync(searchPosts(this, request, options));
121
+ }
122
+ /**
123
+ * Search LinkedIn People
124
+ *
125
+ * @remarks
126
+ * # Search LinkedIn People
127
+ *
128
+ * Find professionals on LinkedIn by name, title, company, location, industry, and more. Returns structured profile data including name, headline, current positions, and connection degree.
129
+ *
130
+ * ## Parameters
131
+ * - **keywords** (optional): Search terms matched against name, headline, company, skills, and bio
132
+ * - You can search by filters alone (no keywords) — e.g. find all 2nd-degree connections in Paris
133
+ *
134
+ * ## Keyword syntax (Boolean operators)
135
+ * Keywords support LinkedIn Boolean search syntax:
136
+ * - **Exact phrase**: `"product manager"` — matches only that exact title
137
+ * - **AND**: `engineer AND startup` — both terms required (spaces default to AND)
138
+ * - **OR**: `CEO OR founder OR CTO` — any of the terms
139
+ * - **NOT**: `manager NOT assistant` — exclude unwanted terms
140
+ * - **Parentheses**: `(CEO OR CTO) AND SaaS` — group logic
141
+ *
142
+ * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
143
+ *
144
+ * ## Available filters
145
+ * | Filter | Type | Description | Resolve IDs via |
146
+ * |--------|------|-------------|------------------|
147
+ * | `connectionDegree` | `["F"\|"S"\|"O"]` | Connection level: F=1st, S=2nd, O=3rd+ | — |
148
+ * | `firstName` | string | Exact first name match | — |
149
+ * | `lastName` | string | Exact last name match | — |
150
+ * | `title` | string | Current job title (supports `\|` OR syntax: `"CEO\|CTO"`) | — |
151
+ * | `connectionOf` | string | Profile URN — find their connections | — |
152
+ * | `profileLanguage` | string[] | ISO 639-1 codes: `["en","fr"]` | — |
153
+ * | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
154
+ * | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
155
+ * | `currentCompany` | string[] | Company IDs (current employer) | `/search/linkedin/parameters` type=`COMPANY` |
156
+ * | `pastCompany` | string[] | Company IDs (past employer) | `/search/linkedin/parameters` type=`COMPANY` |
157
+ * | `school` | string[] | School/university IDs | `/search/linkedin/parameters` type=`SCHOOL` |
158
+ *
159
+ * ## Response fields (per item)
160
+ * | Field | Type | Description |
161
+ * |-------|------|-------------|
162
+ * | `name` | string | Full display name |
163
+ * | `profileUrl` | string | LinkedIn profile URL |
164
+ * | `headline` | string\|null | Professional headline |
165
+ * | `location` | string\|null | Geographic location |
166
+ * | `profilePicture` | string\|null | Profile photo URL |
167
+ * | `networkDistance` | string\|null | `DISTANCE_1`, `DISTANCE_2`, `DISTANCE_3`, or `OUT_OF_NETWORK` |
168
+ * | `currentPositions` | array | Current job positions with `company` and `role` |
169
+ *
170
+ * ## Pagination
171
+ * - Default page size: 10, max: 50
172
+ * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
173
+ * - LinkedIn caps total visible results at ~1,000 for most searches.
174
+ *
175
+ * ## Example workflows
176
+ * 1. **Prospect list building**: Search by title + location + industry → build a targeted outreach list
177
+ * 2. **Recruiting**: Search by title + company + school → find qualified candidates
178
+ * 3. **Network mapping**: Search `connectionOf` + filters → explore someone's network
179
+ *
180
+ * ## Multi-step workflow with filter ID resolution
181
+ * ```
182
+ * Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'San Francisco' }
183
+ * → returns [{ id: '102277331', title: 'San Francisco, CA' }]
184
+ * Step 2: POST /search/linkedin/parameters { type: 'COMPANY', keywords: 'Google' }
185
+ * → returns [{ id: '1441', title: 'Google' }]
186
+ * Step 3: POST /search/linkedin/people { keywords: 'product manager', location: ['102277331'], currentCompany: ['1441'] }
187
+ * → returns matching people
188
+ * ```
189
+ *
190
+ * ## Credits
191
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
192
+ */
193
+ async people(request, options) {
194
+ return unwrapAsync(searchPeople(this, request, options));
195
+ }
196
+ /**
197
+ * Search LinkedIn Companies
198
+ *
199
+ * @remarks
200
+ * # Search LinkedIn Companies
201
+ *
202
+ * Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
203
+ *
204
+ * ## Parameters
205
+ * - **keywords** (optional): Search terms matched against company name, description, and specialties
206
+ *
207
+ * ## Keyword syntax (Boolean operators)
208
+ * Keywords support LinkedIn Boolean search syntax:
209
+ * - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
210
+ * - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
211
+ * - **OR**: `SaaS OR "cloud computing"` — either term
212
+ * - **NOT**: `consulting NOT staffing` — exclude unwanted terms
213
+ * - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
214
+ *
215
+ * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
216
+ *
217
+ * ## Available filters
218
+ * | Filter | Type | Description | Resolve IDs via |
219
+ * |--------|------|-------------|------------------|
220
+ * | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
221
+ * | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
222
+ * | `companySize` | string[] | Employee count codes (see below) | — |
223
+ *
224
+ * ### Company size codes
225
+ * | Code | Employees |
226
+ * |------|-----------|
227
+ * | `A` | 1–10 |
228
+ * | `B` | 11–50 |
229
+ * | `C` | 51–200 |
230
+ * | `D` | 201–500 |
231
+ * | `E` | 501–1,000 |
232
+ * | `F` | 1,001–5,000 |
233
+ * | `G` | 5,001–10,000 |
234
+ * | `H` | 10,001+ |
235
+ * | `I` | Self-employed |
236
+ *
237
+ * ## Response fields (per item)
238
+ * | Field | Type | Description |
239
+ * |-------|------|-------------|
240
+ * | `name` | string | Company display name |
241
+ * | `profileUrl` | string | LinkedIn company page URL |
242
+ * | `summary` | string\|null | Company tagline/description |
243
+ * | `industry` | string\|null | Primary industry |
244
+ * | `location` | string\|null | HQ location |
245
+ * | `followersCount` | number\|null | Number of LinkedIn followers |
246
+ *
247
+ * ## Pagination
248
+ * - Default page size: 10, max: 50
249
+ * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
250
+ *
251
+ * ## Example workflows
252
+ * 1. **Market research**: Search by industry + location → map the competitive landscape
253
+ * 2. **Sales targeting**: Search by industry + size → build a list of target accounts
254
+ * 3. **Partnership discovery**: Search by keywords + location → find potential partners
255
+ *
256
+ * ## Credits
257
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
258
+ */
259
+ async companies(request, options) {
260
+ return unwrapAsync(searchCompanies(this, request, options));
261
+ }
262
+ /**
263
+ * Search LinkedIn Jobs
264
+ *
265
+ * @remarks
266
+ * # Search LinkedIn Jobs
267
+ *
268
+ * Find job listings on LinkedIn by keywords, location, job type, experience level, and workplace type.
269
+ *
270
+ * ## Parameters
271
+ * - **keywords** (optional): Search terms matched against job title, company name, and description
272
+ *
273
+ * ## Keyword syntax (Boolean operators)
274
+ * Keywords support LinkedIn Boolean search syntax:
275
+ * - **Exact phrase**: `"frontend engineer"` — matches only that exact title
276
+ * - **AND**: `React AND TypeScript` — both terms required (spaces default to AND)
277
+ * - **OR**: `"frontend engineer" OR "front-end developer"` — either term
278
+ * - **NOT**: `engineer NOT intern` — exclude unwanted terms
279
+ * - **Parentheses**: `(React OR Vue) AND "senior engineer"` — group logic
280
+ *
281
+ * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
282
+ *
283
+ * ## Available filters
284
+ * | Filter | Type | Description | Resolve IDs via |
285
+ * |--------|------|-------------|------------------|
286
+ * | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
287
+ * | `datePosted` | string | `"past-24h"` \| `"past-week"` \| `"past-month"` | — |
288
+ * | `sortBy` | string | `"relevance"` \| `"date"` | — |
289
+ * | `jobType` | string[] | Employment type codes (see below) | — |
290
+ * | `experienceLevel` | string[] | Seniority codes (see below) | — |
291
+ * | `workplaceType` | string[] | Work location codes (see below) | — |
292
+ *
293
+ * ### Job type codes
294
+ * | Code | Type |
295
+ * |------|------|
296
+ * | `F` | Full-time |
297
+ * | `P` | Part-time |
298
+ * | `C` | Contract |
299
+ * | `T` | Temporary |
300
+ * | `I` | Internship |
301
+ * | `V` | Volunteer |
302
+ * | `O` | Other |
303
+ *
304
+ * ### Experience level codes
305
+ * | Code | Level |
306
+ * |------|-------|
307
+ * | `1` | Internship |
308
+ * | `2` | Entry level |
309
+ * | `3` | Associate |
310
+ * | `4` | Mid-Senior level |
311
+ * | `5` | Director |
312
+ * | `6` | Executive |
313
+ *
314
+ * ### Workplace type codes
315
+ * | Code | Type |
316
+ * |------|------|
317
+ * | `1` | On-site |
318
+ * | `2` | Remote |
319
+ * | `3` | Hybrid |
320
+ *
321
+ * ## Response fields (per item)
322
+ * | Field | Type | Description |
323
+ * |-------|------|-------------|
324
+ * | `title` | string | Job title |
325
+ * | `company` | string\|null | Hiring company name |
326
+ * | `companyUrl` | string\|null | Company LinkedIn page URL |
327
+ * | `companyLogo` | string\|null | Company logo URL |
328
+ * | `location` | string\|null | Job location |
329
+ * | `workplaceType` | string\|null | On-site / Remote / Hybrid |
330
+ * | `postedAt` | string\|null | Human-readable posting time (e.g. `"2 days ago"`) |
331
+ * | `jobUrl` | string | Direct URL to the job listing |
332
+ * | `listingId` | string | LinkedIn job listing ID |
333
+ *
334
+ * ## Pagination
335
+ * - Default page size: 10, max: 50
336
+ * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
337
+ *
338
+ * ## Example workflows
339
+ * 1. **Job monitoring**: Search by title + location → track new openings in your area
340
+ * 2. **Competitive hiring analysis**: Search by company keywords → see what roles competitors are hiring for
341
+ * 3. **Market demand research**: Search by skills → gauge demand for specific expertise
342
+ *
343
+ * ## Credits
344
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
345
+ */
346
+ async jobs(request, options) {
347
+ return unwrapAsync(searchJobs(this, request, options));
348
+ }
349
+ /**
350
+ * Search LinkedIn by URL
351
+ *
352
+ * @remarks
353
+ * # Search LinkedIn by URL
354
+ *
355
+ * Paste any LinkedIn search URL and the endpoint will automatically extract the category, keywords, and all filters from it, then execute the search and return structured results.
356
+ *
357
+ * ## When to use this endpoint
358
+ * - A user gives you a LinkedIn search URL and you want to get the results programmatically
359
+ * - You want to replicate a search the user performed in their browser
360
+ * - You want to automate searches based on bookmarked LinkedIn search URLs
361
+ *
362
+ * ## Supported URL formats
363
+ * The endpoint supports all standard LinkedIn search URLs:
364
+ * - `https://www.linkedin.com/search/results/people/?keywords=engineer`
365
+ * - `https://www.linkedin.com/search/results/content/?keywords=AI&sortBy=%22date_posted%22`
366
+ * - `https://www.linkedin.com/search/results/companies/?keywords=startup&companyHqGeo=%5B%22103644278%22%5D`
367
+ * - `https://www.linkedin.com/jobs/search/?keywords=frontend&location=Paris`
368
+ * - `https://www.linkedin.com/search/results/all/?keywords=test` (treated as people search)
369
+ *
370
+ * ## URL path → Category mapping
371
+ * | URL path segment | Category |
372
+ * |------------------|----------|
373
+ * | `/results/content/` | posts |
374
+ * | `/results/people/` | people |
375
+ * | `/results/companies/` | companies |
376
+ * | `/results/all/` | people |
377
+ * | `/jobs/search/` | jobs |
378
+ *
379
+ * ## Extracted parameters
380
+ * The following URL query parameters are parsed and mapped to search filters:
381
+ * - `keywords` → keywords
382
+ * - `network` → connectionDegree (people)
383
+ * - `geoUrn` / `companyHqGeo` → location
384
+ * - `industry` → industry
385
+ * - `company` / `currentCompany` → currentCompany
386
+ * - `pastCompany` → pastCompany
387
+ * - `school` → school
388
+ * - `profileLanguage` → profileLanguage
389
+ * - `connectionOf` → connectionOf
390
+ * - `firstName` / `lastName` → firstName / lastName
391
+ * - `title` → title
392
+ * - `companySize` → companySize (companies)
393
+ * - `sortBy` → sortBy
394
+ * - `datePosted` → datePosted
395
+ * - `f_TPR` → datePosted (jobs)
396
+ * - `f_JT` → jobType (jobs)
397
+ * - `f_E` → experienceLevel (jobs)
398
+ * - `f_WT` → workplaceType (jobs)
399
+ *
400
+ * ## Pagination override
401
+ * You can optionally pass `start` and `count` to override the pagination embedded in the URL.
402
+ *
403
+ * ## Credits
404
+ * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
405
+ */
406
+ async byUrl(request, options) {
407
+ return unwrapAsync(searchByUrl(this, request, options));
408
+ }
8
409
  /**
9
410
  * Resolve text to LinkedIn search parameter IDs (typeahead)
10
411
  *
@@ -1 +1 @@
1
- {"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/sdk/search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB,EACuB;QAC/C,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
1
+ {"version":3,"file":"search.js","sourceRoot":"","sources":["../../src/sdk/search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,MAAO,SAAQ,SAAS;IACnC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,KAAK,CAAC,MAAM,CACV,OAAiC,EACjC,OAAwB,EACY;QACpC,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0DG;IACH,KAAK,CAAC,KAAK,CACT,OAAsC,EACtC,OAAwB,EACiB;QACzC,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEG;IACH,KAAK,CAAC,MAAM,CACV,OAAuC,EACvC,OAAwB,EACkB;QAC1C,OAAO,WAAW,CAAC,YAAY,CAC7B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8DG;IACH,KAAK,CAAC,SAAS,CACb,OAA0C,EAC1C,OAAwB,EACqB;QAC7C,OAAO,WAAW,CAAC,eAAe,CAChC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACH,KAAK,CAAC,IAAI,CACR,OAAqC,EACrC,OAAwB,EACgB;QACxC,OAAO,WAAW,CAAC,UAAU,CAC3B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,KAAK,CAAC,KAAK,CACT,OAAsC,EACtC,OAAwB,EACiB;QACzC,OAAO,WAAW,CAAC,WAAW,CAC5B,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB,EACuB;QAC/C,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
@@ -8,7 +8,7 @@ dotenv.config();
8
8
  * Example usage of the bereach SDK
9
9
  *
10
10
  * To run this example from the examples directory:
11
- * npm run build && npx tsx linkedinScrapersCollectLikes.example.ts
11
+ * npm run build && npx tsx scrapersCollectLikes.example.ts
12
12
  */
13
13
 
14
14
  import { Bereach } from "bereach";
@@ -18,7 +18,7 @@ const bereach = new Bereach({
18
18
  });
19
19
 
20
20
  async function main() {
21
- const result = await bereach.linkedinScrapers.collectLikes({
21
+ const result = await bereach.scrapers.collectLikes({
22
22
  postUrl:
23
23
  "https://www.linkedin.com/feed/update/urn:li:activity:1234567890123456789/",
24
24
  start: 0,
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "bereach",
5
- "version": "1.4.0",
5
+ "version": "1.4.2",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bereach",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "author": "Speakeasy",
5
5
  "type": "module",
6
6
  "main": "./esm/index.js",
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsAcceptInvitation(
35
+ export function actionsAcceptInvitation(
36
36
  client: BereachCore,
37
37
  request: operations.AcceptInvitationRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Adds a top-level comment on a LinkedIn post. Consumes 1 credit per comment. Supports deduplication via campaignSlug.
34
34
  */
35
- export function linkedInActionsCreateComment(
35
+ export function actionsCreateComment(
36
36
  client: BereachCore,
37
37
  request: operations.CreateCommentRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Decline a pending LinkedIn connection invitation. Uses the SDUI endpoint. Both invitationId and sharedSecret are required (obtained from the list invitations endpoint). 1 credit.
34
34
  */
35
- export function linkedInActionsDeclineInvitation(
35
+ export function actionsDeclineInvitation(
36
36
  client: BereachCore,
37
37
  request: operations.DeclineInvitationRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsEditComment(
35
+ export function actionsEditComment(
36
36
  client: BereachCore,
37
37
  request: operations.EditCommentRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsEditPost(
35
+ export function actionsEditPost(
36
36
  client: BereachCore,
37
37
  request: operations.EditPostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsFollowProfile(
35
+ export function actionsFollowProfile(
36
36
  client: BereachCore,
37
37
  request: operations.FollowProfileRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Reacts to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
34
34
  */
35
- export function linkedInActionsLikeComment(
35
+ export function actionsLikeComment(
36
36
  client: BereachCore,
37
37
  request: operations.LikeCommentRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Reacts to a LinkedIn post. Accepts a post URL and an optional reaction type. Consumes 1 credit per reaction. Supports deduplication via campaignSlug.
34
34
  */
35
- export function linkedinActionsLikePost(
35
+ export function actionsLikePost(
36
36
  client: BereachCore,
37
37
  request: operations.LikePostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsListInvitations(
35
+ export function actionsListInvitations(
36
36
  client: BereachCore,
37
37
  request?: operations.ListInvitationsRequest | undefined,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedInActionsPublishPost(
35
+ export function actionsPublishPost(
36
36
  client: BereachCore,
37
37
  request: operations.PublishPostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Sends a reply to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
34
34
  */
35
- export function linkedinActionsReplyToComment(
35
+ export function actionsReplyToComment(
36
36
  client: BereachCore,
37
37
  request: operations.ReplyToCommentRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsRepostPost(
35
+ export function actionsRepostPost(
36
36
  client: BereachCore,
37
37
  request: operations.RepostPostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedInActionsSavePost(
35
+ export function actionsSavePost(
36
36
  client: BereachCore,
37
37
  request: operations.SavePostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Unfollow a LinkedIn company page. 0 credits.
34
34
  */
35
- export function linkedinActionsUnfollowCompany(
35
+ export function actionsUnfollowCompany(
36
36
  client: BereachCore,
37
37
  request: operations.UnfollowCompanyRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Unfollow a LinkedIn profile. Uses SDUI endpoint. Same input formats as follow. 1 credit.
34
34
  */
35
- export function linkedInActionsUnfollowProfile(
35
+ export function actionsUnfollowProfile(
36
36
  client: BereachCore,
37
37
  request: operations.UnfollowProfileRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsUnlikeComment(
35
+ export function actionsUnlikeComment(
36
36
  client: BereachCore,
37
37
  request: operations.UnlikeCommentRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsUnlikePost(
35
+ export function actionsUnlikePost(
36
36
  client: BereachCore,
37
37
  request: operations.UnlikePostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Remove a LinkedIn post from bookmarks. Idempotent — unsaving a non-saved post succeeds silently. 0 credits.
34
34
  */
35
- export function linkedinActionsUnsavePost(
35
+ export function actionsUnsavePost(
36
36
  client: BereachCore,
37
37
  request: operations.UnsavePostRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * 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.
34
34
  */
35
- export function linkedinActionsWithdrawInvitation(
35
+ export function actionsWithdrawInvitation(
36
36
  client: BereachCore,
37
37
  request: operations.WithdrawInvitationRequest,
38
38
  options?: RequestOptions,