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
@@ -1,55 +0,0 @@
1
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
2
- import * as operations from "../models/operations/index.js";
3
- export declare class SalesNavigatorSearch extends ClientSDK {
4
- /**
5
- * Sales Navigator Search — leads (people) & accounts (companies)
6
- *
7
- * @remarks
8
- * # Sales Navigator Search
9
- *
10
- * Search LinkedIn Sales Navigator for leads (people) or accounts (companies). Requires a LinkedIn account with an active Sales Navigator subscription.
11
- *
12
- * ## Two ways to search
13
- * 1. **Structured**: pass `category` + optional `keywords` + filters
14
- * 2. **URL-based**: pass a Sales Navigator search `url` from your browser — filters are extracted automatically
15
- *
16
- * ## Sales Navigator vs Classic search
17
- * Sales Navigator returns richer data than classic LinkedIn search:
18
- * - **People**: tenure at company/role, premium status, open profile flag, pending invitation status, detailed positions
19
- * - **Companies**: headcount (employee count)
20
- * - More advanced filters: seniority, function, tenure, include/exclude for company & industry
21
- *
22
- * ## Resolving filter IDs
23
- * Filters like location, industry, company, and school require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs.
24
- *
25
- * ## Pagination
26
- * Default page size: 25, max: 25. Use `start` (offset) and `count` to paginate. Check `hasMore` and `paging.total` in the response.
27
- *
28
- * ## Credits
29
- * 1 credit per 10 items returned (minimum 1 if any results, 0 if empty).
30
- */
31
- search(request: operations.SearchSalesNavRequest, options?: RequestOptions): Promise<operations.SearchSalesNavResponse>;
32
- /**
33
- * Sales Navigator Company/Account Search
34
- *
35
- * @remarks
36
- * # Sales Navigator Company Search
37
- *
38
- * Search for accounts in LinkedIn Sales Navigator.
39
- *
40
- * ## Available filters
41
- * | Filter | Type | Description |
42
- * |--------|------|-------------|
43
- * | `keywords` | string | Search terms |
44
- * | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
45
- * | `location` | string[] | Geography IDs |
46
- * | `companyHeadcount` | string[] | Employee count ranges |
47
- * | `companyType` | string[] | Company types |
48
- * | `annualRevenue` | string[] | Revenue ranges |
49
- *
50
- * ## Credits
51
- * 1 credit per 10 items returned.
52
- */
53
- searchCompanies(request: operations.SearchSalesNavCompaniesRequest, options?: RequestOptions): Promise<operations.SearchSalesNavCompaniesResponse>;
54
- }
55
- //# sourceMappingURL=sales-navigator-search.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sales-navigator-search.d.ts","sourceRoot":"","sources":["../../src/sdk/sales-navigator-search.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,oBAAqB,SAAQ,SAAS;IACjD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAM5C;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;CACF"}
@@ -1,64 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
- import { salesNavigatorSearchSearchCompanies } from "../funcs/sales-navigator-search-search-companies.js";
5
- import { salesNavigatorSearchSearch } from "../funcs/sales-navigator-search-search.js";
6
- import { ClientSDK } from "../lib/sdks.js";
7
- import { unwrapAsync } from "../types/fp.js";
8
- export class SalesNavigatorSearch extends ClientSDK {
9
- /**
10
- * Sales Navigator Search — leads (people) & accounts (companies)
11
- *
12
- * @remarks
13
- * # Sales Navigator Search
14
- *
15
- * Search LinkedIn Sales Navigator for leads (people) or accounts (companies). Requires a LinkedIn account with an active Sales Navigator subscription.
16
- *
17
- * ## Two ways to search
18
- * 1. **Structured**: pass `category` + optional `keywords` + filters
19
- * 2. **URL-based**: pass a Sales Navigator search `url` from your browser — filters are extracted automatically
20
- *
21
- * ## Sales Navigator vs Classic search
22
- * Sales Navigator returns richer data than classic LinkedIn search:
23
- * - **People**: tenure at company/role, premium status, open profile flag, pending invitation status, detailed positions
24
- * - **Companies**: headcount (employee count)
25
- * - More advanced filters: seniority, function, tenure, include/exclude for company & industry
26
- *
27
- * ## Resolving filter IDs
28
- * Filters like location, industry, company, and school require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs.
29
- *
30
- * ## Pagination
31
- * Default page size: 25, max: 25. Use `start` (offset) and `count` to paginate. Check `hasMore` and `paging.total` in the response.
32
- *
33
- * ## Credits
34
- * 1 credit per 10 items returned (minimum 1 if any results, 0 if empty).
35
- */
36
- async search(request, options) {
37
- return unwrapAsync(salesNavigatorSearchSearch(this, request, options));
38
- }
39
- /**
40
- * Sales Navigator Company/Account Search
41
- *
42
- * @remarks
43
- * # Sales Navigator Company Search
44
- *
45
- * Search for accounts in LinkedIn Sales Navigator.
46
- *
47
- * ## Available filters
48
- * | Filter | Type | Description |
49
- * |--------|------|-------------|
50
- * | `keywords` | string | Search terms |
51
- * | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
52
- * | `location` | string[] | Geography IDs |
53
- * | `companyHeadcount` | string[] | Employee count ranges |
54
- * | `companyType` | string[] | Company types |
55
- * | `annualRevenue` | string[] | Revenue ranges |
56
- *
57
- * ## Credits
58
- * 1 credit per 10 items returned.
59
- */
60
- async searchCompanies(request, options) {
61
- return unwrapAsync(salesNavigatorSearchSearchCompanies(this, request, options));
62
- }
63
- }
64
- //# sourceMappingURL=sales-navigator-search.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sales-navigator-search.js","sourceRoot":"","sources":["../../src/sdk/sales-navigator-search.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,qDAAqD,CAAC;AAC1G,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,oBAAqB,SAAQ,SAAS;IACjD;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB,EACoB;QAC5C,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,eAAe,CACnB,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
@@ -1,117 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { linkedInActionsCreateComment } from "../funcs/linked-in-actions-create-comment.js";
6
- import { linkedInActionsDeclineInvitation } from "../funcs/linked-in-actions-decline-invitation.js";
7
- import { linkedInActionsLikeComment } from "../funcs/linked-in-actions-like-comment.js";
8
- import { linkedInActionsPublishPost } from "../funcs/linked-in-actions-publish-post.js";
9
- import { linkedInActionsSavePost } from "../funcs/linked-in-actions-save-post.js";
10
- import { linkedInActionsUnfollowProfile } from "../funcs/linked-in-actions-unfollow-profile.js";
11
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
12
- import * as operations from "../models/operations/index.js";
13
- import { unwrapAsync } from "../types/fp.js";
14
-
15
- export class LinkedInActions2 extends ClientSDK {
16
- /**
17
- * Like a LinkedIn comment
18
- *
19
- * @remarks
20
- * Reacts to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
21
- */
22
- async likeComment(
23
- request: operations.LikeCommentRequest,
24
- options?: RequestOptions,
25
- ): Promise<operations.LikeCommentResponse> {
26
- return unwrapAsync(linkedInActionsLikeComment(
27
- this,
28
- request,
29
- options,
30
- ));
31
- }
32
-
33
- /**
34
- * Publish or schedule a LinkedIn post
35
- *
36
- * @remarks
37
- * 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.
38
- */
39
- async publishPost(
40
- request: operations.PublishPostRequest,
41
- options?: RequestOptions,
42
- ): Promise<operations.PublishPostResponse> {
43
- return unwrapAsync(linkedInActionsPublishPost(
44
- this,
45
- request,
46
- options,
47
- ));
48
- }
49
-
50
- /**
51
- * Comment on a LinkedIn post
52
- *
53
- * @remarks
54
- * Adds a top-level comment on a LinkedIn post. Consumes 1 credit per comment. Supports deduplication via campaignSlug.
55
- */
56
- async createComment(
57
- request: operations.CreateCommentRequest,
58
- options?: RequestOptions,
59
- ): Promise<operations.CreateCommentResponse> {
60
- return unwrapAsync(linkedInActionsCreateComment(
61
- this,
62
- request,
63
- options,
64
- ));
65
- }
66
-
67
- /**
68
- * Decline a connection invitation
69
- *
70
- * @remarks
71
- * Decline a pending LinkedIn connection invitation. Uses the SDUI endpoint. Both invitationId and sharedSecret are required (obtained from the list invitations endpoint). 1 credit.
72
- */
73
- async declineInvitation(
74
- request: operations.DeclineInvitationRequest,
75
- options?: RequestOptions,
76
- ): Promise<operations.DeclineInvitationResponse> {
77
- return unwrapAsync(linkedInActionsDeclineInvitation(
78
- this,
79
- request,
80
- options,
81
- ));
82
- }
83
-
84
- /**
85
- * Unfollow a profile
86
- *
87
- * @remarks
88
- * Unfollow a LinkedIn profile. Uses SDUI endpoint. Same input formats as follow. 1 credit.
89
- */
90
- async unfollowProfile(
91
- request: operations.UnfollowProfileRequest,
92
- options?: RequestOptions,
93
- ): Promise<operations.UnfollowProfileResponse> {
94
- return unwrapAsync(linkedInActionsUnfollowProfile(
95
- this,
96
- request,
97
- options,
98
- ));
99
- }
100
-
101
- /**
102
- * Save a post
103
- *
104
- * @remarks
105
- * 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.
106
- */
107
- async savePost(
108
- request: operations.SavePostRequest,
109
- options?: RequestOptions,
110
- ): Promise<operations.SavePostResponse> {
111
- return unwrapAsync(linkedInActionsSavePost(
112
- this,
113
- request,
114
- options,
115
- ));
116
- }
117
- }
@@ -1,81 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { linkedInChatMarkSeen } from "../funcs/linked-in-chat-mark-seen.js";
6
- import { linkedInChatStar } from "../funcs/linked-in-chat-star.js";
7
- import { linkedInChatUnarchive } from "../funcs/linked-in-chat-unarchive.js";
8
- import { linkedInChatUnstar } from "../funcs/linked-in-chat-unstar.js";
9
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
10
- import * as operations from "../models/operations/index.js";
11
- import { unwrapAsync } from "../types/fp.js";
12
-
13
- export class LinkedInChat2 extends ClientSDK {
14
- /**
15
- * Mark a conversation as read
16
- *
17
- * @remarks
18
- * Mark a LinkedIn conversation as read/seen. 0 credits.
19
- */
20
- async markSeen(
21
- request: operations.MarkSeenRequest,
22
- options?: RequestOptions,
23
- ): Promise<operations.MarkSeenResponse> {
24
- return unwrapAsync(linkedInChatMarkSeen(
25
- this,
26
- request,
27
- options,
28
- ));
29
- }
30
-
31
- /**
32
- * Star a conversation
33
- *
34
- * @remarks
35
- * Star/favorite a LinkedIn conversation. 0 credits.
36
- */
37
- async star(
38
- request: operations.StarRequest,
39
- options?: RequestOptions,
40
- ): Promise<operations.StarResponse> {
41
- return unwrapAsync(linkedInChatStar(
42
- this,
43
- request,
44
- options,
45
- ));
46
- }
47
-
48
- /**
49
- * Unstar a conversation
50
- *
51
- * @remarks
52
- * Remove star from a LinkedIn conversation. 0 credits.
53
- */
54
- async unstar(
55
- request: operations.UnstarRequest,
56
- options?: RequestOptions,
57
- ): Promise<operations.UnstarResponse> {
58
- return unwrapAsync(linkedInChatUnstar(
59
- this,
60
- request,
61
- options,
62
- ));
63
- }
64
-
65
- /**
66
- * Unarchive a conversation
67
- *
68
- * @remarks
69
- * Move a LinkedIn conversation back from archive to inbox. 0 credits.
70
- */
71
- async unarchive(
72
- request: operations.UnarchiveRequest,
73
- options?: RequestOptions,
74
- ): Promise<operations.UnarchiveResponse> {
75
- return unwrapAsync(linkedInChatUnarchive(
76
- this,
77
- request,
78
- options,
79
- ));
80
- }
81
- }
@@ -1,45 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { linkedInScrapersCollectCommentReplies } from "../funcs/linked-in-scrapers-collect-comment-replies.js";
6
- import { linkedInScrapersGetFeed } from "../funcs/linked-in-scrapers-get-feed.js";
7
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { unwrapAsync } from "../types/fp.js";
10
-
11
- export class LinkedInScrapers2 extends ClientSDK {
12
- /**
13
- * Scrape replies to a LinkedIn comment
14
- *
15
- * @remarks
16
- * Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response. 1 credit per 20 items returned (minimum 1 if any results, 0 if empty).
17
- */
18
- async collectCommentReplies(
19
- request: operations.CollectCommentRepliesRequest,
20
- options?: RequestOptions,
21
- ): Promise<operations.CollectCommentRepliesResponse> {
22
- return unwrapAsync(linkedInScrapersCollectCommentReplies(
23
- this,
24
- request,
25
- options,
26
- ));
27
- }
28
-
29
- /**
30
- * Get home feed
31
- *
32
- * @remarks
33
- * Get posts from the LinkedIn home feed using GraphQL. Supports algorithmic (RELEVANCE) or chronological (REV_CHRON) sorting. Returns parsed post objects with author info, text, engagement counts. No pagination token support currently. 1 credit.
34
- */
35
- async getFeed(
36
- request?: operations.GetFeedRequest | undefined,
37
- options?: RequestOptions,
38
- ): Promise<operations.GetFeedResponse> {
39
- return unwrapAsync(linkedInScrapersGetFeed(
40
- this,
41
- request,
42
- options,
43
- ));
44
- }
45
- }
@@ -1,139 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { linkedInSearchSearchCompanies } from "../funcs/linked-in-search-search-companies.js";
6
- import { linkedInSearchSearch } from "../funcs/linked-in-search-search.js";
7
- import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
- import * as operations from "../models/operations/index.js";
9
- import { unwrapAsync } from "../types/fp.js";
10
-
11
- export class LinkedInSearch1 extends ClientSDK {
12
- /**
13
- * Unified LinkedIn Search — posts, people, companies, jobs
14
- *
15
- * @remarks
16
- * # Unified LinkedIn Search
17
- *
18
- * This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
19
- *
20
- * ## When to use this endpoint
21
- * 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:
22
- * - `POST /search/linkedin/posts` — search posts
23
- * - `POST /search/linkedin/people` — search people
24
- * - `POST /search/linkedin/companies` — search companies
25
- * - `POST /search/linkedin/jobs` — search jobs
26
- * - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
27
- *
28
- * ## Two ways to search
29
- * 1. **Structured**: pass `category` + `keywords` + optional filters
30
- * 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
31
- *
32
- * Explicit parameters always override URL-derived values.
33
- *
34
- * ## Keyword syntax (Boolean operators)
35
- * Keywords support LinkedIn Boolean search syntax for precise matching:
36
- * - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
37
- * - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
38
- * - **OR**: either term — `CEO OR founder OR owner`
39
- * - **NOT**: exclude — `manager NOT assistant`
40
- * - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
41
- *
42
- * Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
43
- *
44
- * 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.
45
- *
46
- * ## Resolving filter IDs
47
- * 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").
48
- *
49
- * ## Pagination
50
- * Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
51
- *
52
- * ## Credits
53
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
54
- */
55
- async search(
56
- request: operations.SearchRequest,
57
- options?: RequestOptions,
58
- ): Promise<operations.SearchResponse> {
59
- return unwrapAsync(linkedInSearchSearch(
60
- this,
61
- request,
62
- options,
63
- ));
64
- }
65
-
66
- /**
67
- * Search LinkedIn Companies
68
- *
69
- * @remarks
70
- * # Search LinkedIn Companies
71
- *
72
- * Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
73
- *
74
- * ## Parameters
75
- * - **keywords** (optional): Search terms matched against company name, description, and specialties
76
- *
77
- * ## Keyword syntax (Boolean operators)
78
- * Keywords support LinkedIn Boolean search syntax:
79
- * - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
80
- * - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
81
- * - **OR**: `SaaS OR "cloud computing"` — either term
82
- * - **NOT**: `consulting NOT staffing` — exclude unwanted terms
83
- * - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
84
- *
85
- * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
86
- *
87
- * ## Available filters
88
- * | Filter | Type | Description | Resolve IDs via |
89
- * |--------|------|-------------|------------------|
90
- * | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
91
- * | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
92
- * | `companySize` | string[] | Employee count codes (see below) | — |
93
- *
94
- * ### Company size codes
95
- * | Code | Employees |
96
- * |------|-----------|
97
- * | `A` | 1–10 |
98
- * | `B` | 11–50 |
99
- * | `C` | 51–200 |
100
- * | `D` | 201–500 |
101
- * | `E` | 501–1,000 |
102
- * | `F` | 1,001–5,000 |
103
- * | `G` | 5,001–10,000 |
104
- * | `H` | 10,001+ |
105
- * | `I` | Self-employed |
106
- *
107
- * ## Response fields (per item)
108
- * | Field | Type | Description |
109
- * |-------|------|-------------|
110
- * | `name` | string | Company display name |
111
- * | `profileUrl` | string | LinkedIn company page URL |
112
- * | `summary` | string\|null | Company tagline/description |
113
- * | `industry` | string\|null | Primary industry |
114
- * | `location` | string\|null | HQ location |
115
- * | `followersCount` | number\|null | Number of LinkedIn followers |
116
- *
117
- * ## Pagination
118
- * - Default page size: 10, max: 50
119
- * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
120
- *
121
- * ## Example workflows
122
- * 1. **Market research**: Search by industry + location → map the competitive landscape
123
- * 2. **Sales targeting**: Search by industry + size → build a list of target accounts
124
- * 3. **Partnership discovery**: Search by keywords + location → find potential partners
125
- *
126
- * ## Credits
127
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
128
- */
129
- async searchCompanies(
130
- request: operations.SearchCompaniesRequest,
131
- options?: RequestOptions,
132
- ): Promise<operations.SearchCompaniesResponse> {
133
- return unwrapAsync(linkedInSearchSearchCompanies(
134
- this,
135
- request,
136
- options,
137
- ));
138
- }
139
- }