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,328 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { linkedinSearchSearchByUrl } from "../funcs/linkedin-search-search-by-url.js";
6
- import { linkedinSearchSearchJobs } from "../funcs/linkedin-search-search-jobs.js";
7
- import { linkedinSearchSearchPeople } from "../funcs/linkedin-search-search-people.js";
8
- import { linkedinSearchSearchPosts } from "../funcs/linkedin-search-search-posts.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 LinkedinSearch2 extends ClientSDK {
14
- /**
15
- * Search LinkedIn Posts
16
- *
17
- * @remarks
18
- * # Search LinkedIn Posts
19
- *
20
- * 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.
21
- *
22
- * ## Required parameters
23
- * - **keywords** (string, required): The search terms to match against post content. Examples: `"AI automation"`, `"remote work trends"`, `"SaaS growth strategies"`.
24
- *
25
- * ## Keyword syntax (Boolean operators)
26
- * Keywords support LinkedIn Boolean search syntax:
27
- * - **Exact phrase**: `"outreach automation"` — matches only that exact phrase
28
- * - **AND**: `AI AND marketing` — both terms required (spaces default to AND)
29
- * - **OR**: `"growth hacking" OR "growth marketing"` — either term
30
- * - **NOT**: `outreach NOT webinar` — exclude unwanted terms
31
- * - **Parentheses**: `(AI OR ML) AND "case study"` — group logic
32
- *
33
- * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
34
- *
35
- * ## Available filters
36
- * | Filter | Type | Description |
37
- * |--------|------|-------------|
38
- * | `sortBy` | `"relevance"` \| `"date"` | Sort by relevance (default) or most recent first |
39
- * | `datePosted` | `"past-24h"` \| `"past-week"` \| `"past-month"` | Filter by publication recency |
40
- * | `contentType` | `"images"` \| `"videos"` \| `"documents"` | Filter by media type |
41
- * | `authorIndustry` | string[] | Author's industry IDs (resolve via `/search/linkedin/parameters` with type=`INDUSTRY`) |
42
- * | `authorCompany` | string[] | Author's company IDs (resolve via `/search/linkedin/parameters` with type=`COMPANY`) |
43
- *
44
- * ## Response fields (per item)
45
- * | Field | Type | Description |
46
- * |-------|------|-------------|
47
- * | `postUrl` | string | Direct URL to the LinkedIn post |
48
- * | `text` | string | Full post text content |
49
- * | `date` | number | Publication timestamp (ms since epoch) |
50
- * | `likesCount` | number | Total reactions |
51
- * | `commentsCount` | number | Total comments |
52
- * | `sharesCount` | number | Total shares/reposts |
53
- * | `author.name` | string | Author's display name |
54
- * | `author.profileUrl` | string | Author's LinkedIn profile URL |
55
- * | `author.headline` | string | Author's headline |
56
- * | `author.isCompany` | boolean | Whether the author is a company page |
57
- * | `isRepost` | boolean | Whether this is a repost of another post |
58
- *
59
- * ## Pagination
60
- * - Default page size: 10, max: 50
61
- * - Use `start` + `count` to paginate: `start=0, count=10` → page 1, `start=10, count=10` → page 2
62
- * - Check `hasMore` in the response to know if more pages exist
63
- * - `paging.total` gives the estimated total number of results
64
- *
65
- * ## Example workflows
66
- * 1. **Content research**: Search for trending topics → analyze top posts → extract engagement patterns
67
- * 2. **Lead generation**: Search for posts about problems your product solves → extract author profiles
68
- * 3. **Competitive intelligence**: Search for competitor mentions → track sentiment and engagement
69
- *
70
- * ## Credits
71
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
72
- */
73
- async searchPosts(
74
- request: operations.SearchPostsRequest,
75
- options?: RequestOptions,
76
- ): Promise<operations.SearchPostsResponse> {
77
- return unwrapAsync(linkedinSearchSearchPosts(
78
- this,
79
- request,
80
- options,
81
- ));
82
- }
83
-
84
- /**
85
- * Search LinkedIn People
86
- *
87
- * @remarks
88
- * # Search LinkedIn People
89
- *
90
- * Find professionals on LinkedIn by name, title, company, location, industry, and more. Returns structured profile data including name, headline, current positions, and connection degree.
91
- *
92
- * ## Parameters
93
- * - **keywords** (optional): Search terms matched against name, headline, company, skills, and bio
94
- * - You can search by filters alone (no keywords) — e.g. find all 2nd-degree connections in Paris
95
- *
96
- * ## Keyword syntax (Boolean operators)
97
- * Keywords support LinkedIn Boolean search syntax:
98
- * - **Exact phrase**: `"product manager"` — matches only that exact title
99
- * - **AND**: `engineer AND startup` — both terms required (spaces default to AND)
100
- * - **OR**: `CEO OR founder OR CTO` — any of the terms
101
- * - **NOT**: `manager NOT assistant` — exclude unwanted terms
102
- * - **Parentheses**: `(CEO OR CTO) AND SaaS` — group logic
103
- *
104
- * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
105
- *
106
- * ## Available filters
107
- * | Filter | Type | Description | Resolve IDs via |
108
- * |--------|------|-------------|------------------|
109
- * | `connectionDegree` | `["F"\|"S"\|"O"]` | Connection level: F=1st, S=2nd, O=3rd+ | — |
110
- * | `firstName` | string | Exact first name match | — |
111
- * | `lastName` | string | Exact last name match | — |
112
- * | `title` | string | Current job title (supports `\|` OR syntax: `"CEO\|CTO"`) | — |
113
- * | `connectionOf` | string | Profile URN — find their connections | — |
114
- * | `profileLanguage` | string[] | ISO 639-1 codes: `["en","fr"]` | — |
115
- * | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
116
- * | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
117
- * | `currentCompany` | string[] | Company IDs (current employer) | `/search/linkedin/parameters` type=`COMPANY` |
118
- * | `pastCompany` | string[] | Company IDs (past employer) | `/search/linkedin/parameters` type=`COMPANY` |
119
- * | `school` | string[] | School/university IDs | `/search/linkedin/parameters` type=`SCHOOL` |
120
- *
121
- * ## Response fields (per item)
122
- * | Field | Type | Description |
123
- * |-------|------|-------------|
124
- * | `name` | string | Full display name |
125
- * | `profileUrl` | string | LinkedIn profile URL |
126
- * | `headline` | string\|null | Professional headline |
127
- * | `location` | string\|null | Geographic location |
128
- * | `profilePicture` | string\|null | Profile photo URL |
129
- * | `networkDistance` | string\|null | `DISTANCE_1`, `DISTANCE_2`, `DISTANCE_3`, or `OUT_OF_NETWORK` |
130
- * | `currentPositions` | array | Current job positions with `company` and `role` |
131
- *
132
- * ## Pagination
133
- * - Default page size: 10, max: 50
134
- * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
135
- * - LinkedIn caps total visible results at ~1,000 for most searches.
136
- *
137
- * ## Example workflows
138
- * 1. **Prospect list building**: Search by title + location + industry → build a targeted outreach list
139
- * 2. **Recruiting**: Search by title + company + school → find qualified candidates
140
- * 3. **Network mapping**: Search `connectionOf` + filters → explore someone's network
141
- *
142
- * ## Multi-step workflow with filter ID resolution
143
- * ```
144
- * Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'San Francisco' }
145
- * → returns [{ id: '102277331', title: 'San Francisco, CA' }]
146
- * Step 2: POST /search/linkedin/parameters { type: 'COMPANY', keywords: 'Google' }
147
- * → returns [{ id: '1441', title: 'Google' }]
148
- * Step 3: POST /search/linkedin/people { keywords: 'product manager', location: ['102277331'], currentCompany: ['1441'] }
149
- * → returns matching people
150
- * ```
151
- *
152
- * ## Credits
153
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
154
- */
155
- async searchPeople(
156
- request: operations.SearchPeopleRequest,
157
- options?: RequestOptions,
158
- ): Promise<operations.SearchPeopleResponse> {
159
- return unwrapAsync(linkedinSearchSearchPeople(
160
- this,
161
- request,
162
- options,
163
- ));
164
- }
165
-
166
- /**
167
- * Search LinkedIn Jobs
168
- *
169
- * @remarks
170
- * # Search LinkedIn Jobs
171
- *
172
- * Find job listings on LinkedIn by keywords, location, job type, experience level, and workplace type.
173
- *
174
- * ## Parameters
175
- * - **keywords** (optional): Search terms matched against job title, company name, and description
176
- *
177
- * ## Keyword syntax (Boolean operators)
178
- * Keywords support LinkedIn Boolean search syntax:
179
- * - **Exact phrase**: `"frontend engineer"` — matches only that exact title
180
- * - **AND**: `React AND TypeScript` — both terms required (spaces default to AND)
181
- * - **OR**: `"frontend engineer" OR "front-end developer"` — either term
182
- * - **NOT**: `engineer NOT intern` — exclude unwanted terms
183
- * - **Parentheses**: `(React OR Vue) AND "senior engineer"` — group logic
184
- *
185
- * Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
186
- *
187
- * ## Available filters
188
- * | Filter | Type | Description | Resolve IDs via |
189
- * |--------|------|-------------|------------------|
190
- * | `location` | string[] | Geo IDs | `/search/linkedin/parameters` type=`GEO` |
191
- * | `datePosted` | string | `"past-24h"` \| `"past-week"` \| `"past-month"` | — |
192
- * | `sortBy` | string | `"relevance"` \| `"date"` | — |
193
- * | `jobType` | string[] | Employment type codes (see below) | — |
194
- * | `experienceLevel` | string[] | Seniority codes (see below) | — |
195
- * | `workplaceType` | string[] | Work location codes (see below) | — |
196
- *
197
- * ### Job type codes
198
- * | Code | Type |
199
- * |------|------|
200
- * | `F` | Full-time |
201
- * | `P` | Part-time |
202
- * | `C` | Contract |
203
- * | `T` | Temporary |
204
- * | `I` | Internship |
205
- * | `V` | Volunteer |
206
- * | `O` | Other |
207
- *
208
- * ### Experience level codes
209
- * | Code | Level |
210
- * |------|-------|
211
- * | `1` | Internship |
212
- * | `2` | Entry level |
213
- * | `3` | Associate |
214
- * | `4` | Mid-Senior level |
215
- * | `5` | Director |
216
- * | `6` | Executive |
217
- *
218
- * ### Workplace type codes
219
- * | Code | Type |
220
- * |------|------|
221
- * | `1` | On-site |
222
- * | `2` | Remote |
223
- * | `3` | Hybrid |
224
- *
225
- * ## Response fields (per item)
226
- * | Field | Type | Description |
227
- * |-------|------|-------------|
228
- * | `title` | string | Job title |
229
- * | `company` | string\|null | Hiring company name |
230
- * | `companyUrl` | string\|null | Company LinkedIn page URL |
231
- * | `companyLogo` | string\|null | Company logo URL |
232
- * | `location` | string\|null | Job location |
233
- * | `workplaceType` | string\|null | On-site / Remote / Hybrid |
234
- * | `postedAt` | string\|null | Human-readable posting time (e.g. `"2 days ago"`) |
235
- * | `jobUrl` | string | Direct URL to the job listing |
236
- * | `listingId` | string | LinkedIn job listing ID |
237
- *
238
- * ## Pagination
239
- * - Default page size: 10, max: 50
240
- * - Use `start` + `count` to paginate. Check `hasMore` for more pages.
241
- *
242
- * ## Example workflows
243
- * 1. **Job monitoring**: Search by title + location → track new openings in your area
244
- * 2. **Competitive hiring analysis**: Search by company keywords → see what roles competitors are hiring for
245
- * 3. **Market demand research**: Search by skills → gauge demand for specific expertise
246
- *
247
- * ## Credits
248
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
249
- */
250
- async searchJobs(
251
- request: operations.SearchJobsRequest,
252
- options?: RequestOptions,
253
- ): Promise<operations.SearchJobsResponse> {
254
- return unwrapAsync(linkedinSearchSearchJobs(
255
- this,
256
- request,
257
- options,
258
- ));
259
- }
260
-
261
- /**
262
- * Search LinkedIn by URL
263
- *
264
- * @remarks
265
- * # Search LinkedIn by URL
266
- *
267
- * 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.
268
- *
269
- * ## When to use this endpoint
270
- * - A user gives you a LinkedIn search URL and you want to get the results programmatically
271
- * - You want to replicate a search the user performed in their browser
272
- * - You want to automate searches based on bookmarked LinkedIn search URLs
273
- *
274
- * ## Supported URL formats
275
- * The endpoint supports all standard LinkedIn search URLs:
276
- * - `https://www.linkedin.com/search/results/people/?keywords=engineer`
277
- * - `https://www.linkedin.com/search/results/content/?keywords=AI&sortBy=%22date_posted%22`
278
- * - `https://www.linkedin.com/search/results/companies/?keywords=startup&companyHqGeo=%5B%22103644278%22%5D`
279
- * - `https://www.linkedin.com/jobs/search/?keywords=frontend&location=Paris`
280
- * - `https://www.linkedin.com/search/results/all/?keywords=test` (treated as people search)
281
- *
282
- * ## URL path → Category mapping
283
- * | URL path segment | Category |
284
- * |------------------|----------|
285
- * | `/results/content/` | posts |
286
- * | `/results/people/` | people |
287
- * | `/results/companies/` | companies |
288
- * | `/results/all/` | people |
289
- * | `/jobs/search/` | jobs |
290
- *
291
- * ## Extracted parameters
292
- * The following URL query parameters are parsed and mapped to search filters:
293
- * - `keywords` → keywords
294
- * - `network` → connectionDegree (people)
295
- * - `geoUrn` / `companyHqGeo` → location
296
- * - `industry` → industry
297
- * - `company` / `currentCompany` → currentCompany
298
- * - `pastCompany` → pastCompany
299
- * - `school` → school
300
- * - `profileLanguage` → profileLanguage
301
- * - `connectionOf` → connectionOf
302
- * - `firstName` / `lastName` → firstName / lastName
303
- * - `title` → title
304
- * - `companySize` → companySize (companies)
305
- * - `sortBy` → sortBy
306
- * - `datePosted` → datePosted
307
- * - `f_TPR` → datePosted (jobs)
308
- * - `f_JT` → jobType (jobs)
309
- * - `f_E` → experienceLevel (jobs)
310
- * - `f_WT` → workplaceType (jobs)
311
- *
312
- * ## Pagination override
313
- * You can optionally pass `start` and `count` to override the pagination embedded in the URL.
314
- *
315
- * ## Credits
316
- * 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
317
- */
318
- async searchByUrl(
319
- request: operations.SearchByUrlRequest,
320
- options?: RequestOptions,
321
- ): Promise<operations.SearchByUrlResponse> {
322
- return unwrapAsync(linkedinSearchSearchByUrl(
323
- this,
324
- request,
325
- options,
326
- ));
327
- }
328
- }
@@ -1,81 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import { salesNavigatorSearchSearchCompanies } from "../funcs/sales-navigator-search-search-companies.js";
6
- import { salesNavigatorSearchSearch } from "../funcs/sales-navigator-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 SalesNavigatorSearch extends ClientSDK {
12
- /**
13
- * Sales Navigator Search — leads (people) & accounts (companies)
14
- *
15
- * @remarks
16
- * # Sales Navigator Search
17
- *
18
- * Search LinkedIn Sales Navigator for leads (people) or accounts (companies). Requires a LinkedIn account with an active Sales Navigator subscription.
19
- *
20
- * ## Two ways to search
21
- * 1. **Structured**: pass `category` + optional `keywords` + filters
22
- * 2. **URL-based**: pass a Sales Navigator search `url` from your browser — filters are extracted automatically
23
- *
24
- * ## Sales Navigator vs Classic search
25
- * Sales Navigator returns richer data than classic LinkedIn search:
26
- * - **People**: tenure at company/role, premium status, open profile flag, pending invitation status, detailed positions
27
- * - **Companies**: headcount (employee count)
28
- * - More advanced filters: seniority, function, tenure, include/exclude for company & industry
29
- *
30
- * ## Resolving filter IDs
31
- * 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.
32
- *
33
- * ## Pagination
34
- * Default page size: 25, max: 25. Use `start` (offset) and `count` to paginate. Check `hasMore` and `paging.total` in the response.
35
- *
36
- * ## Credits
37
- * 1 credit per 10 items returned (minimum 1 if any results, 0 if empty).
38
- */
39
- async search(
40
- request: operations.SearchSalesNavRequest,
41
- options?: RequestOptions,
42
- ): Promise<operations.SearchSalesNavResponse> {
43
- return unwrapAsync(salesNavigatorSearchSearch(
44
- this,
45
- request,
46
- options,
47
- ));
48
- }
49
-
50
- /**
51
- * Sales Navigator Company/Account Search
52
- *
53
- * @remarks
54
- * # Sales Navigator Company Search
55
- *
56
- * Search for accounts in LinkedIn Sales Navigator.
57
- *
58
- * ## Available filters
59
- * | Filter | Type | Description |
60
- * |--------|------|-------------|
61
- * | `keywords` | string | Search terms |
62
- * | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
63
- * | `location` | string[] | Geography IDs |
64
- * | `companyHeadcount` | string[] | Employee count ranges |
65
- * | `companyType` | string[] | Company types |
66
- * | `annualRevenue` | string[] | Revenue ranges |
67
- *
68
- * ## Credits
69
- * 1 credit per 10 items returned.
70
- */
71
- async searchCompanies(
72
- request: operations.SearchSalesNavCompaniesRequest,
73
- options?: RequestOptions,
74
- ): Promise<operations.SearchSalesNavCompaniesResponse> {
75
- return unwrapAsync(salesNavigatorSearchSearchCompanies(
76
- this,
77
- request,
78
- options,
79
- ));
80
- }
81
- }