bereach 0.2.1 → 1.3.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 (468) hide show
  1. package/README.md +191 -66
  2. package/esm/funcs/{linkedin-actions-connect-profile.d.ts → actions-connect-profile.d.ts} +2 -2
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -0
  4. package/esm/funcs/{linkedin-actions-connect-profile.js → actions-connect-profile.js} +2 -2
  5. package/esm/funcs/actions-connect-profile.js.map +1 -0
  6. package/esm/funcs/actions-follow-company.d.ts +18 -0
  7. package/esm/funcs/{campaigns-sync-actions.d.ts.map → actions-follow-company.d.ts.map} +1 -1
  8. package/esm/funcs/actions-follow-company.js +95 -0
  9. package/esm/funcs/actions-follow-company.js.map +1 -0
  10. package/esm/funcs/{profile-get-linked-in-profile.d.ts → actions-list-sent-invitations.d.ts} +4 -4
  11. package/esm/funcs/{linkedin-actions-publish-post.d.ts.map → actions-list-sent-invitations.d.ts.map} +1 -1
  12. package/esm/funcs/actions-list-sent-invitations.js +95 -0
  13. package/esm/funcs/{linkedin-actions-publish-post.js.map → actions-list-sent-invitations.js.map} +1 -1
  14. package/esm/funcs/actions-send-message.d.ts +18 -0
  15. package/esm/funcs/actions-send-message.d.ts.map +1 -0
  16. package/esm/funcs/{linkedin-actions-send-message.js → actions-send-message.js} +3 -3
  17. package/esm/funcs/actions-send-message.js.map +1 -0
  18. package/esm/funcs/campaigns-sync.d.ts +18 -0
  19. package/esm/funcs/campaigns-sync.d.ts.map +1 -0
  20. package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +2 -2
  21. package/esm/funcs/campaigns-sync.js.map +1 -0
  22. package/esm/funcs/chat-archive.d.ts +18 -0
  23. package/esm/funcs/chat-archive.d.ts.map +1 -0
  24. package/esm/funcs/chat-archive.js +95 -0
  25. package/esm/funcs/chat-archive.js.map +1 -0
  26. package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
  27. package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
  28. package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +2 -2
  29. package/esm/funcs/chat-find-conversation.js.map +1 -0
  30. package/esm/funcs/chat-search-conversations.d.ts +18 -0
  31. package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
  32. package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +2 -2
  33. package/esm/funcs/chat-search-conversations.js.map +1 -0
  34. package/esm/funcs/chat-unreact.d.ts +18 -0
  35. package/esm/funcs/chat-unreact.d.ts.map +1 -0
  36. package/esm/funcs/chat-unreact.js +95 -0
  37. package/esm/funcs/chat-unreact.js.map +1 -0
  38. package/esm/funcs/company-pages-get-analytics.d.ts +18 -0
  39. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
  40. package/esm/funcs/company-pages-get-analytics.js +95 -0
  41. package/esm/funcs/company-pages-get-analytics.js.map +1 -0
  42. package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
  43. package/esm/funcs/{linkedin-actions-send-message.d.ts.map → company-pages-get-permissions.d.ts.map} +1 -1
  44. package/esm/funcs/company-pages-get-permissions.js +95 -0
  45. package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
  46. package/esm/funcs/{campaigns-sync-actions.d.ts → company-pages-get-posts.d.ts} +4 -4
  47. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
  48. package/esm/funcs/company-pages-get-posts.js +95 -0
  49. package/esm/funcs/company-pages-get-posts.js.map +1 -0
  50. package/esm/funcs/company-pages-list.d.ts +18 -0
  51. package/esm/funcs/company-pages-list.d.ts.map +1 -0
  52. package/esm/funcs/company-pages-list.js +84 -0
  53. package/esm/funcs/company-pages-list.js.map +1 -0
  54. package/esm/funcs/contacts-upsert.d.ts +17 -0
  55. package/esm/funcs/contacts-upsert.d.ts.map +1 -0
  56. package/esm/funcs/contacts-upsert.js +79 -0
  57. package/esm/funcs/contacts-upsert.js.map +1 -0
  58. package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
  59. package/esm/funcs/{linkedin-actions-connect-profile.d.ts.map → linked-in-actions-create-comment.d.ts.map} +1 -1
  60. package/esm/funcs/linked-in-actions-create-comment.js +95 -0
  61. package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
  62. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
  63. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
  64. package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
  65. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
  66. package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
  67. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
  68. package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +2 -2
  69. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
  70. package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
  71. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
  72. package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +3 -3
  73. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
  74. package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
  75. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
  76. package/esm/funcs/linked-in-actions-save-post.js +95 -0
  77. package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
  78. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
  79. package/esm/funcs/{linkedin-chat-search-conversations.d.ts.map → linked-in-actions-unfollow-profile.d.ts.map} +1 -1
  80. package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
  81. package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
  82. package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
  83. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
  84. package/esm/funcs/linked-in-chat-list-starred.js +97 -0
  85. package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
  86. package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
  87. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
  88. package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
  89. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
  90. package/esm/funcs/linked-in-chat-star.d.ts +18 -0
  91. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
  92. package/esm/funcs/linked-in-chat-star.js +95 -0
  93. package/esm/funcs/linked-in-chat-star.js.map +1 -0
  94. package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
  95. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
  96. package/esm/funcs/linked-in-chat-unarchive.js +95 -0
  97. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
  98. package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
  99. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
  100. package/esm/funcs/linked-in-chat-unstar.js +95 -0
  101. package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
  102. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linked-in-scrapers-collect-comment-replies.d.ts} +2 -2
  103. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
  104. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +2 -2
  105. package/esm/funcs/{campaigns-sync-actions.js.map → linked-in-scrapers-collect-comment-replies.js.map} +1 -1
  106. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
  107. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
  108. package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
  109. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
  110. package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
  111. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
  112. package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +2 -2
  113. package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
  114. package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
  115. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
  116. package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +2 -2
  117. package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
  118. package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
  119. package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
  120. package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +2 -2
  121. package/esm/funcs/linked-in-search-search.js.map +1 -0
  122. package/esm/funcs/{linkedin-actions-send-message.d.ts → linkedin-actions-edit-comment.d.ts} +4 -4
  123. package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
  124. package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
  125. package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
  126. package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
  127. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
  128. package/esm/funcs/linkedin-actions-edit-post.js +95 -0
  129. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
  130. package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
  131. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
  132. package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
  133. package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
  134. package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
  135. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
  136. package/esm/funcs/linkedin-actions-like-post.js +95 -0
  137. package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
  138. package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
  139. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
  140. package/esm/funcs/linkedin-actions-repost-post.js +95 -0
  141. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
  142. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
  143. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
  144. package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
  145. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
  146. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
  147. package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts.map → linkedin-actions-unlike-comment.d.ts.map} +1 -1
  148. package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
  149. package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
  150. package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
  151. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
  152. package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
  153. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
  154. package/esm/funcs/linkedin-actions-unsave-post.d.ts +18 -0
  155. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
  156. package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
  157. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
  158. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
  159. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
  160. package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
  161. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
  162. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → linkedin-chat-get-unread-count.d.ts} +4 -4
  163. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
  164. package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
  165. package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
  166. package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
  167. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
  168. package/esm/funcs/linkedin-chat-list-archived.js +97 -0
  169. package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
  170. package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
  171. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
  172. package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +2 -2
  173. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
  174. package/esm/funcs/{linkedin-chat-search-conversations.d.ts → linkedin-chat-mark-all-read.d.ts} +4 -4
  175. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
  176. package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
  177. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
  178. package/esm/funcs/linkedin-chat-react.d.ts +18 -0
  179. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
  180. package/esm/funcs/linkedin-chat-react.js +95 -0
  181. package/esm/funcs/linkedin-chat-react.js.map +1 -0
  182. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
  183. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
  184. package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
  185. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
  186. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
  187. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
  188. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
  189. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
  190. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
  191. package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
  192. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
  193. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
  194. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
  195. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
  196. package/esm/funcs/profile-get-credits.d.ts +1 -1
  197. package/esm/funcs/profile-get-credits.js +1 -1
  198. package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
  199. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
  200. package/esm/funcs/profile-get-follower-analytics.js +85 -0
  201. package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
  202. package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
  203. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
  204. package/esm/funcs/profile-get-post-analytics.js +95 -0
  205. package/esm/funcs/profile-get-post-analytics.js.map +1 -0
  206. package/esm/funcs/profile-get-profile-views.d.ts +18 -0
  207. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
  208. package/esm/funcs/profile-get-profile-views.js +85 -0
  209. package/esm/funcs/profile-get-profile-views.js.map +1 -0
  210. package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
  211. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
  212. package/esm/funcs/profile-get-search-appearances.js +85 -0
  213. package/esm/funcs/profile-get-search-appearances.js.map +1 -0
  214. package/esm/funcs/profile-get.d.ts +18 -0
  215. package/esm/funcs/profile-get.d.ts.map +1 -0
  216. package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +2 -2
  217. package/esm/funcs/profile-get.js.map +1 -0
  218. package/esm/funcs/profile-list-accounts.d.ts +18 -0
  219. package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
  220. package/esm/funcs/profile-list-accounts.js +84 -0
  221. package/esm/funcs/profile-list-accounts.js.map +1 -0
  222. package/esm/funcs/profile-update-account.d.ts +18 -0
  223. package/esm/funcs/profile-update-account.d.ts.map +1 -0
  224. package/esm/funcs/profile-update-account.js +95 -0
  225. package/esm/funcs/profile-update-account.js.map +1 -0
  226. package/esm/funcs/sales-nav-search-people.d.ts +53 -0
  227. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
  228. package/esm/funcs/sales-nav-search-people.js +130 -0
  229. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
  230. package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
  231. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
  232. package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
  233. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
  234. package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
  235. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
  236. package/esm/funcs/sales-navigator-search-search.js +116 -0
  237. package/esm/funcs/sales-navigator-search-search.js.map +1 -0
  238. package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
  239. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
  240. package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +2 -2
  241. package/esm/funcs/scrapers-collect-posts.js.map +1 -0
  242. package/esm/funcs/scrapers-visit-profile.d.ts +18 -0
  243. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
  244. package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +2 -2
  245. package/esm/funcs/scrapers-visit-profile.js.map +1 -0
  246. package/esm/lib/config.d.ts +4 -4
  247. package/esm/lib/config.js +4 -4
  248. package/esm/models/errors/collect-linked-in-likes.d.ts +18 -18
  249. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  250. package/esm/models/errors/collect-linked-in-likes.js +9 -9
  251. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  252. package/esm/models/operations/get-campaign-stats-response.d.ts +800 -856
  253. package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -1
  254. package/esm/models/operations/get-campaign-stats-response.js +503 -515
  255. package/esm/models/operations/get-campaign-stats-response.js.map +1 -1
  256. package/esm/models/operations/index.d.ts +3 -1
  257. package/esm/models/operations/index.d.ts.map +1 -1
  258. package/esm/models/operations/index.js +3 -1
  259. package/esm/models/operations/index.js.map +1 -1
  260. package/esm/models/operations/scraping-weekly.d.ts +2946 -0
  261. package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
  262. package/esm/models/operations/scraping-weekly.js +1594 -0
  263. package/esm/models/operations/scraping-weekly.js.map +1 -0
  264. package/esm/models/operations/{send-linked-in-message-response.d.ts → search-linked-in-by-url-type-post.d.ts} +825 -766
  265. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
  266. package/esm/models/operations/{send-linked-in-message-response.js → search-linked-in-by-url-type-post.js} +410 -418
  267. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
  268. package/esm/models/operations/upsert-contacts.d.ts +182 -0
  269. package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
  270. package/esm/models/operations/upsert-contacts.js +116 -0
  271. package/esm/models/operations/upsert-contacts.js.map +1 -0
  272. package/esm/sdk/actions.d.ts +33 -0
  273. package/esm/sdk/actions.d.ts.map +1 -0
  274. package/esm/sdk/actions.js +48 -0
  275. package/esm/sdk/actions.js.map +1 -0
  276. package/esm/sdk/campaigns.d.ts +1 -1
  277. package/esm/sdk/campaigns.d.ts.map +1 -1
  278. package/esm/sdk/campaigns.js +3 -3
  279. package/esm/sdk/campaigns.js.map +1 -1
  280. package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
  281. package/esm/sdk/chat.d.ts.map +1 -0
  282. package/esm/sdk/chat.js +55 -0
  283. package/esm/sdk/chat.js.map +1 -0
  284. package/esm/sdk/company-pages.d.ts +33 -0
  285. package/esm/sdk/company-pages.d.ts.map +1 -0
  286. package/esm/sdk/company-pages.js +48 -0
  287. package/esm/sdk/company-pages.js.map +1 -0
  288. package/esm/sdk/contacts.d.ts +12 -0
  289. package/esm/sdk/contacts.d.ts.map +1 -0
  290. package/esm/sdk/contacts.js +18 -0
  291. package/esm/sdk/contacts.js.map +1 -0
  292. package/esm/sdk/linked-in-actions-2.d.ts +47 -0
  293. package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
  294. package/esm/sdk/linked-in-actions-2.js +68 -0
  295. package/esm/sdk/linked-in-actions-2.js.map +1 -0
  296. package/esm/sdk/linked-in-chat-2.d.ts +40 -0
  297. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
  298. package/esm/sdk/linked-in-chat-2.js +58 -0
  299. package/esm/sdk/linked-in-chat-2.js.map +1 -0
  300. package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
  301. package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
  302. package/esm/sdk/linked-in-scrapers-2.js +28 -0
  303. package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
  304. package/esm/sdk/linked-in-search-1.d.ts +149 -0
  305. package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
  306. package/esm/sdk/linked-in-search-1.js +161 -0
  307. package/esm/sdk/linked-in-search-1.js.map +1 -0
  308. package/esm/sdk/linkedin-actions-1.d.ts +96 -0
  309. package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
  310. package/esm/sdk/linkedin-actions-1.js +138 -0
  311. package/esm/sdk/linkedin-actions-1.js.map +1 -0
  312. package/esm/sdk/linkedin-chat-1.d.ts +58 -0
  313. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
  314. package/esm/sdk/linkedin-chat-1.js +82 -0
  315. package/esm/sdk/linkedin-chat-1.js.map +1 -0
  316. package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
  317. package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
  318. package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
  319. package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
  320. package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
  321. package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
  322. package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
  323. package/esm/sdk/linkedin-search-2.js.map +1 -0
  324. package/esm/sdk/profile.d.ts +44 -2
  325. package/esm/sdk/profile.d.ts.map +1 -1
  326. package/esm/sdk/profile.js +64 -4
  327. package/esm/sdk/profile.js.map +1 -1
  328. package/esm/sdk/sales-nav.d.ts +47 -0
  329. package/esm/sdk/sales-nav.d.ts.map +1 -0
  330. package/esm/sdk/sales-nav.js +53 -0
  331. package/esm/sdk/sales-nav.js.map +1 -0
  332. package/esm/sdk/sales-navigator-search.d.ts +55 -0
  333. package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
  334. package/esm/sdk/sales-navigator-search.js +64 -0
  335. package/esm/sdk/sales-navigator-search.js.map +1 -0
  336. package/esm/sdk/scrapers.d.ts +19 -0
  337. package/esm/sdk/scrapers.d.ts.map +1 -0
  338. package/esm/sdk/scrapers.js +28 -0
  339. package/esm/sdk/scrapers.js.map +1 -0
  340. package/esm/sdk/sdk.d.ts +41 -8
  341. package/esm/sdk/sdk.d.ts.map +1 -1
  342. package/esm/sdk/sdk.js +63 -8
  343. package/esm/sdk/sdk.js.map +1 -1
  344. package/esm/types/discriminated-union.d.ts +25 -0
  345. package/esm/types/discriminated-union.d.ts.map +1 -0
  346. package/esm/types/discriminated-union.js +61 -0
  347. package/esm/types/discriminated-union.js.map +1 -0
  348. package/esm/types/smart-union.d.ts.map +1 -1
  349. package/esm/types/smart-union.js +2 -1
  350. package/esm/types/smart-union.js.map +1 -1
  351. package/jsr.json +1 -1
  352. package/package.json +1 -1
  353. package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +1 -1
  354. package/src/funcs/actions-follow-company.ts +215 -0
  355. package/src/funcs/actions-list-sent-invitations.ts +218 -0
  356. package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +2 -2
  357. package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +1 -1
  358. package/src/funcs/chat-archive.ts +215 -0
  359. package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +1 -1
  360. package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +1 -1
  361. package/src/funcs/chat-unreact.ts +215 -0
  362. package/src/funcs/company-pages-get-analytics.ts +215 -0
  363. package/src/funcs/company-pages-get-permissions.ts +218 -0
  364. package/src/funcs/company-pages-get-posts.ts +215 -0
  365. package/src/funcs/company-pages-list.ts +195 -0
  366. package/src/funcs/contacts-upsert.ts +161 -0
  367. package/src/funcs/linked-in-actions-create-comment.ts +215 -0
  368. package/src/funcs/linked-in-actions-decline-invitation.ts +218 -0
  369. package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +1 -1
  370. package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +2 -2
  371. package/src/funcs/linked-in-actions-save-post.ts +215 -0
  372. package/src/funcs/linked-in-actions-unfollow-profile.ts +215 -0
  373. package/src/funcs/linked-in-chat-list-starred.ts +220 -0
  374. package/src/funcs/linked-in-chat-mark-seen.ts +215 -0
  375. package/src/funcs/linked-in-chat-star.ts +215 -0
  376. package/src/funcs/linked-in-chat-unarchive.ts +215 -0
  377. package/src/funcs/linked-in-chat-unstar.ts +215 -0
  378. package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +1 -1
  379. package/src/funcs/linked-in-scrapers-get-feed.ts +220 -0
  380. package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +1 -1
  381. package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +1 -1
  382. package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +1 -1
  383. package/src/funcs/linkedin-actions-edit-comment.ts +215 -0
  384. package/src/funcs/linkedin-actions-edit-post.ts +215 -0
  385. package/src/funcs/linkedin-actions-follow-profile.ts +215 -0
  386. package/src/funcs/linkedin-actions-like-post.ts +215 -0
  387. package/src/funcs/linkedin-actions-repost-post.ts +215 -0
  388. package/src/funcs/linkedin-actions-unfollow-company.ts +215 -0
  389. package/src/funcs/linkedin-actions-unlike-comment.ts +215 -0
  390. package/src/funcs/linkedin-actions-unlike-post.ts +215 -0
  391. package/src/funcs/linkedin-actions-unsave-post.ts +215 -0
  392. package/src/funcs/linkedin-actions-withdraw-invitation.ts +218 -0
  393. package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
  394. package/src/funcs/linkedin-chat-list-archived.ts +220 -0
  395. package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +1 -1
  396. package/src/funcs/linkedin-chat-mark-all-read.ts +199 -0
  397. package/src/funcs/linkedin-chat-react.ts +214 -0
  398. package/src/funcs/linkedin-chat-send-typing-indicator.ts +215 -0
  399. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +218 -0
  400. package/src/funcs/linkedin-scrapers-collect-likes.ts +1 -1
  401. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +218 -0
  402. package/src/funcs/profile-get-credits.ts +1 -1
  403. package/src/funcs/profile-get-follower-analytics.ts +199 -0
  404. package/src/funcs/profile-get-post-analytics.ts +215 -0
  405. package/src/funcs/profile-get-profile-views.ts +199 -0
  406. package/src/funcs/profile-get-search-appearances.ts +199 -0
  407. package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +1 -1
  408. package/src/funcs/profile-list-accounts.ts +195 -0
  409. package/src/funcs/profile-update-account.ts +215 -0
  410. package/src/funcs/sales-nav-search-people.ts +250 -0
  411. package/src/funcs/sales-navigator-search-search-companies.ts +230 -0
  412. package/src/funcs/sales-navigator-search-search.ts +235 -0
  413. package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +1 -1
  414. package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +1 -1
  415. package/src/lib/config.ts +4 -4
  416. package/src/models/errors/collect-linked-in-likes.ts +27 -27
  417. package/src/models/operations/get-campaign-stats-response.ts +1616 -1584
  418. package/src/models/operations/index.ts +3 -1
  419. package/src/models/operations/scraping-weekly.ts +5707 -0
  420. package/src/models/operations/{send-linked-in-message-response.ts → search-linked-in-by-url-type-post.ts} +2086 -2093
  421. package/src/models/operations/upsert-contacts.ts +305 -0
  422. package/src/sdk/actions.ts +81 -0
  423. package/src/sdk/campaigns.ts +3 -3
  424. package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
  425. package/src/sdk/company-pages.ts +79 -0
  426. package/src/sdk/contacts.ts +27 -0
  427. package/src/sdk/linked-in-actions-2.ts +117 -0
  428. package/src/sdk/linked-in-chat-2.ts +99 -0
  429. package/src/sdk/linked-in-scrapers-2.ts +45 -0
  430. package/src/sdk/linked-in-search-1.ts +186 -0
  431. package/src/sdk/linkedin-actions-1.ts +243 -0
  432. package/src/sdk/linkedin-chat-1.ts +139 -0
  433. package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
  434. package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
  435. package/src/sdk/profile.ts +110 -4
  436. package/src/sdk/sales-nav.ts +62 -0
  437. package/src/sdk/sales-navigator-search.ts +81 -0
  438. package/src/sdk/scrapers.ts +45 -0
  439. package/src/sdk/sdk.ts +84 -16
  440. package/src/types/discriminated-union.ts +101 -0
  441. package/src/types/smart-union.ts +2 -1
  442. package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
  443. package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
  444. package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
  445. package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
  446. package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
  447. package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
  448. package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
  449. package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
  450. package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
  451. package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
  452. package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
  453. package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
  454. package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
  455. package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
  456. package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
  457. package/esm/sdk/linkedin-actions.d.ts +0 -54
  458. package/esm/sdk/linkedin-actions.d.ts.map +0 -1
  459. package/esm/sdk/linkedin-actions.js +0 -78
  460. package/esm/sdk/linkedin-actions.js.map +0 -1
  461. package/esm/sdk/linkedin-chat.d.ts.map +0 -1
  462. package/esm/sdk/linkedin-chat.js +0 -59
  463. package/esm/sdk/linkedin-chat.js.map +0 -1
  464. package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
  465. package/esm/sdk/linkedin-scrapers.js.map +0 -1
  466. package/esm/sdk/linkedin-search.d.ts.map +0 -1
  467. package/esm/sdk/linkedin-search.js.map +0 -1
  468. package/src/sdk/linkedin-actions.ts +0 -135
@@ -0,0 +1,235 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { BereachCore } from "../core.js";
7
+ import { encodeJSON } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import { BereachError } from "../models/errors/bereach-error.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/http-client-errors.js";
22
+ import * as errors from "../models/errors/index.js";
23
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
24
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Sales Navigator Search — leads (people) & accounts (companies)
31
+ *
32
+ * @remarks
33
+ * # Sales Navigator Search
34
+ *
35
+ * Search LinkedIn Sales Navigator for leads (people) or accounts (companies). Requires a LinkedIn account with an active Sales Navigator subscription.
36
+ *
37
+ * ## Two ways to search
38
+ * 1. **Structured**: pass `category` + optional `keywords` + filters
39
+ * 2. **URL-based**: pass a Sales Navigator search `url` from your browser — filters are extracted automatically
40
+ *
41
+ * ## Sales Navigator vs Classic search
42
+ * Sales Navigator returns richer data than classic LinkedIn search:
43
+ * - **People**: tenure at company/role, premium status, open profile flag, pending invitation status, detailed positions
44
+ * - **Companies**: headcount (employee count)
45
+ * - More advanced filters: seniority, function, tenure, include/exclude for company & industry
46
+ *
47
+ * ## Resolving filter IDs
48
+ * 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.
49
+ *
50
+ * ## Pagination
51
+ * Default page size: 25, max: 25. Use `start` (offset) and `count` to paginate. Check `hasMore` and `paging.total` in the response.
52
+ *
53
+ * ## Credits
54
+ * 1 credit per 10 items returned (minimum 1 if any results, 0 if empty).
55
+ */
56
+ export function salesNavigatorSearchSearch(
57
+ client: BereachCore,
58
+ request: operations.SearchSalesNavRequest,
59
+ options?: RequestOptions,
60
+ ): APIPromise<
61
+ Result<
62
+ operations.SearchSalesNavResponse,
63
+ | errors.BadRequestError
64
+ | errors.UnauthorizedError
65
+ | errors.ForbiddenError
66
+ | errors.NotFoundError
67
+ | errors.ConflictError
68
+ | errors.GoneError
69
+ | errors.UnprocessableEntityError
70
+ | errors.TooManyRequestsError
71
+ | errors.InternalServerError
72
+ | BereachError
73
+ | ResponseValidationError
74
+ | ConnectionError
75
+ | RequestAbortedError
76
+ | RequestTimeoutError
77
+ | InvalidRequestError
78
+ | UnexpectedClientError
79
+ | SDKValidationError
80
+ >
81
+ > {
82
+ return new APIPromise($do(
83
+ client,
84
+ request,
85
+ options,
86
+ ));
87
+ }
88
+
89
+ async function $do(
90
+ client: BereachCore,
91
+ request: operations.SearchSalesNavRequest,
92
+ options?: RequestOptions,
93
+ ): Promise<
94
+ [
95
+ Result<
96
+ operations.SearchSalesNavResponse,
97
+ | errors.BadRequestError
98
+ | errors.UnauthorizedError
99
+ | errors.ForbiddenError
100
+ | errors.NotFoundError
101
+ | errors.ConflictError
102
+ | errors.GoneError
103
+ | errors.UnprocessableEntityError
104
+ | errors.TooManyRequestsError
105
+ | errors.InternalServerError
106
+ | BereachError
107
+ | ResponseValidationError
108
+ | ConnectionError
109
+ | RequestAbortedError
110
+ | RequestTimeoutError
111
+ | InvalidRequestError
112
+ | UnexpectedClientError
113
+ | SDKValidationError
114
+ >,
115
+ APICall,
116
+ ]
117
+ > {
118
+ const parsed = safeParse(
119
+ request,
120
+ (value) => z.parse(operations.SearchSalesNavRequest$outboundSchema, value),
121
+ "Input validation failed",
122
+ );
123
+ if (!parsed.ok) {
124
+ return [parsed, { status: "invalid" }];
125
+ }
126
+ const payload = parsed.value;
127
+ const body = encodeJSON("body", payload, { explode: true });
128
+
129
+ const path = pathToFunc("/search/linkedin/sales-nav")();
130
+
131
+ const headers = new Headers(compactMap({
132
+ "Content-Type": "application/json",
133
+ Accept: "application/json",
134
+ }));
135
+
136
+ const secConfig = await extractSecurity(client._options.token);
137
+ const securityInput = secConfig == null ? {} : { token: secConfig };
138
+ const requestSecurity = resolveGlobalSecurity(securityInput);
139
+
140
+ const context = {
141
+ options: client._options,
142
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
143
+ operationID: "searchSalesNav",
144
+ oAuth2Scopes: null,
145
+
146
+ resolvedSecurity: requestSecurity,
147
+
148
+ securitySource: client._options.token,
149
+ retryConfig: options?.retries
150
+ || client._options.retryConfig
151
+ || { strategy: "none" },
152
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
153
+ };
154
+
155
+ const requestRes = client._createRequest(context, {
156
+ security: requestSecurity,
157
+ method: "POST",
158
+ baseURL: options?.serverURL,
159
+ path: path,
160
+ headers: headers,
161
+ body: body,
162
+ userAgent: client._options.userAgent,
163
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
164
+ }, options);
165
+ if (!requestRes.ok) {
166
+ return [requestRes, { status: "invalid" }];
167
+ }
168
+ const req = requestRes.value;
169
+
170
+ const doResult = await client._do(req, {
171
+ context,
172
+ errorCodes: [
173
+ "400",
174
+ "401",
175
+ "403",
176
+ "404",
177
+ "409",
178
+ "410",
179
+ "422",
180
+ "429",
181
+ "4XX",
182
+ "500",
183
+ "5XX",
184
+ ],
185
+ retryConfig: context.retryConfig,
186
+ retryCodes: context.retryCodes,
187
+ });
188
+ if (!doResult.ok) {
189
+ return [doResult, { status: "request-error", request: req }];
190
+ }
191
+ const response = doResult.value;
192
+
193
+ const responseFields = {
194
+ HttpMeta: { Response: response, Request: req },
195
+ };
196
+
197
+ const [result] = await M.match<
198
+ operations.SearchSalesNavResponse,
199
+ | errors.BadRequestError
200
+ | errors.UnauthorizedError
201
+ | errors.ForbiddenError
202
+ | errors.NotFoundError
203
+ | errors.ConflictError
204
+ | errors.GoneError
205
+ | errors.UnprocessableEntityError
206
+ | errors.TooManyRequestsError
207
+ | errors.InternalServerError
208
+ | BereachError
209
+ | ResponseValidationError
210
+ | ConnectionError
211
+ | RequestAbortedError
212
+ | RequestTimeoutError
213
+ | InvalidRequestError
214
+ | UnexpectedClientError
215
+ | SDKValidationError
216
+ >(
217
+ M.json(200, operations.SearchSalesNavResponse$inboundSchema),
218
+ M.jsonErr(400, errors.BadRequestError$inboundSchema),
219
+ M.jsonErr(401, errors.UnauthorizedError$inboundSchema),
220
+ M.jsonErr(403, errors.ForbiddenError$inboundSchema),
221
+ M.jsonErr(404, errors.NotFoundError$inboundSchema),
222
+ M.jsonErr(409, errors.ConflictError$inboundSchema),
223
+ M.jsonErr(410, errors.GoneError$inboundSchema),
224
+ M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
225
+ M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
226
+ M.jsonErr(500, errors.InternalServerError$inboundSchema),
227
+ M.fail("4XX"),
228
+ M.fail("5XX"),
229
+ )(response, req, { extraFields: responseFields });
230
+ if (!result.ok) {
231
+ return [result, { status: "complete", request: req, response }];
232
+ }
233
+
234
+ return [result, { status: "complete", request: req, response }];
235
+ }
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Authenticates the requester, validates LinkedIn credentials, and returns paginated posts from a LinkedIn profile. Supports count, start, and paginationToken for pagination.
34
34
  */
35
- export function linkedinScrapersCollectPosts(
35
+ export function scrapersCollectPosts(
36
36
  client: BereachCore,
37
37
  request: operations.CollectLinkedInPostsRequest,
38
38
  options?: RequestOptions,
@@ -32,7 +32,7 @@ import { Result } from "../types/fp.js";
32
32
  * @remarks
33
33
  * Visit a LinkedIn profile and return contact data. Distance-1 profiles cached 24h. No dedup — always executes. campaignSlug is for tracking only.
34
34
  */
35
- export function linkedinScrapersVisitProfile(
35
+ export function scrapersVisitProfile(
36
36
  client: BereachCore,
37
37
  request: operations.VisitLinkedInProfileRequest,
38
38
  options?: RequestOptions,
package/src/lib/config.ts CHANGED
@@ -60,8 +60,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
60
60
 
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
- openapiDocVersion: "0.1.0",
64
- sdkVersion: "0.2.1",
65
- genVersion: "2.849.8",
66
- userAgent: "speakeasy-sdk/typescript 0.2.1 2.849.8 0.1.0 bereach",
63
+ openapiDocVersion: "0.3.0",
64
+ sdkVersion: "1.3.2",
65
+ genVersion: "2.865.2",
66
+ userAgent: "speakeasy-sdk/typescript 1.3.2 2.865.2 0.3.0 bereach",
67
67
  } as const;
@@ -11,7 +11,7 @@ import { BereachError } from "./bereach-error.js";
11
11
  * The server encountered a situation it does not know how to handle.
12
12
  */
13
13
  export type InternalServerErrorData = {
14
- success?: boolean | undefined;
14
+ success?: false | undefined;
15
15
  error: operations.CollectLinkedInLikesInternalServerErrorError;
16
16
  };
17
17
 
@@ -19,7 +19,7 @@ export type InternalServerErrorData = {
19
19
  * The server encountered a situation it does not know how to handle.
20
20
  */
21
21
  export class InternalServerError extends BereachError {
22
- success?: boolean | undefined;
22
+ success?: false | undefined;
23
23
  error: operations.CollectLinkedInLikesInternalServerErrorError;
24
24
 
25
25
  /** The original data that was passed to this error instance. */
@@ -44,7 +44,7 @@ export class InternalServerError extends BereachError {
44
44
  * Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
45
45
  */
46
46
  export type TooManyRequestsErrorData = {
47
- success?: boolean | undefined;
47
+ success?: false | undefined;
48
48
  error: operations.CollectLinkedInLikesTooManyRequestsError;
49
49
  };
50
50
 
@@ -52,7 +52,7 @@ export type TooManyRequestsErrorData = {
52
52
  * Rate limit exceeded. Read error.retryAfter for the wait time in seconds.
53
53
  */
54
54
  export class TooManyRequestsError extends BereachError {
55
- success?: boolean | undefined;
55
+ success?: false | undefined;
56
56
  error: operations.CollectLinkedInLikesTooManyRequestsError;
57
57
 
58
58
  /** The original data that was passed to this error instance. */
@@ -77,7 +77,7 @@ export class TooManyRequestsError extends BereachError {
77
77
  * The request was well-formed but was unable to be followed due to semantic errors.
78
78
  */
79
79
  export type UnprocessableEntityErrorData = {
80
- success?: boolean | undefined;
80
+ success?: false | undefined;
81
81
  error: operations.CollectLinkedInLikesUnprocessableEntityError;
82
82
  };
83
83
 
@@ -85,7 +85,7 @@ export type UnprocessableEntityErrorData = {
85
85
  * The request was well-formed but was unable to be followed due to semantic errors.
86
86
  */
87
87
  export class UnprocessableEntityError extends BereachError {
88
- success?: boolean | undefined;
88
+ success?: false | undefined;
89
89
  error: operations.CollectLinkedInLikesUnprocessableEntityError;
90
90
 
91
91
  /** The original data that was passed to this error instance. */
@@ -110,7 +110,7 @@ export class UnprocessableEntityError extends BereachError {
110
110
  * The requested content has been permanently deleted from the server.
111
111
  */
112
112
  export type GoneErrorData = {
113
- success?: boolean | undefined;
113
+ success?: false | undefined;
114
114
  error: operations.CollectLinkedInLikesGoneError;
115
115
  };
116
116
 
@@ -118,7 +118,7 @@ export type GoneErrorData = {
118
118
  * The requested content has been permanently deleted from the server.
119
119
  */
120
120
  export class GoneError extends BereachError {
121
- success?: boolean | undefined;
121
+ success?: false | undefined;
122
122
  error: operations.CollectLinkedInLikesGoneError;
123
123
 
124
124
  /** The original data that was passed to this error instance. */
@@ -143,7 +143,7 @@ export class GoneError extends BereachError {
143
143
  * The request conflicts with the current state of the server.
144
144
  */
145
145
  export type ConflictErrorData = {
146
- success?: boolean | undefined;
146
+ success?: false | undefined;
147
147
  error: operations.CollectLinkedInLikesConflictError;
148
148
  };
149
149
 
@@ -151,7 +151,7 @@ export type ConflictErrorData = {
151
151
  * The request conflicts with the current state of the server.
152
152
  */
153
153
  export class ConflictError extends BereachError {
154
- success?: boolean | undefined;
154
+ success?: false | undefined;
155
155
  error: operations.CollectLinkedInLikesConflictError;
156
156
 
157
157
  /** The original data that was passed to this error instance. */
@@ -176,7 +176,7 @@ export class ConflictError extends BereachError {
176
176
  * The server cannot find the requested resource.
177
177
  */
178
178
  export type NotFoundErrorData = {
179
- success?: boolean | undefined;
179
+ success?: false | undefined;
180
180
  error: operations.CollectLinkedInLikesNotFoundError;
181
181
  };
182
182
 
@@ -184,7 +184,7 @@ export type NotFoundErrorData = {
184
184
  * The server cannot find the requested resource.
185
185
  */
186
186
  export class NotFoundError extends BereachError {
187
- success?: boolean | undefined;
187
+ success?: false | undefined;
188
188
  error: operations.CollectLinkedInLikesNotFoundError;
189
189
 
190
190
  /** The original data that was passed to this error instance. */
@@ -209,7 +209,7 @@ export class NotFoundError extends BereachError {
209
209
  * The client does not have access rights to the content.
210
210
  */
211
211
  export type ForbiddenErrorData = {
212
- success?: boolean | undefined;
212
+ success?: false | undefined;
213
213
  error: operations.CollectLinkedInLikesForbiddenError;
214
214
  };
215
215
 
@@ -217,7 +217,7 @@ export type ForbiddenErrorData = {
217
217
  * The client does not have access rights to the content.
218
218
  */
219
219
  export class ForbiddenError extends BereachError {
220
- success?: boolean | undefined;
220
+ success?: false | undefined;
221
221
  error: operations.CollectLinkedInLikesForbiddenError;
222
222
 
223
223
  /** The original data that was passed to this error instance. */
@@ -242,7 +242,7 @@ export class ForbiddenError extends BereachError {
242
242
  * Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue.
243
243
  */
244
244
  export type UnauthorizedErrorData = {
245
- success?: boolean | undefined;
245
+ success?: false | undefined;
246
246
  error: operations.CollectLinkedInLikesUnauthorizedError;
247
247
  };
248
248
 
@@ -250,7 +250,7 @@ export type UnauthorizedErrorData = {
250
250
  * Although HTTP specifies "unauthorized", this response means "unauthenticated". Authenticate to continue.
251
251
  */
252
252
  export class UnauthorizedError extends BereachError {
253
- success?: boolean | undefined;
253
+ success?: false | undefined;
254
254
  error: operations.CollectLinkedInLikesUnauthorizedError;
255
255
 
256
256
  /** The original data that was passed to this error instance. */
@@ -275,7 +275,7 @@ export class UnauthorizedError extends BereachError {
275
275
  * The server cannot or will not process the request due to something that is perceived to be a client error.
276
276
  */
277
277
  export type BadRequestErrorData = {
278
- success?: boolean | undefined;
278
+ success?: false | undefined;
279
279
  error: operations.CollectLinkedInLikesBadRequestError;
280
280
  };
281
281
 
@@ -283,7 +283,7 @@ export type BadRequestErrorData = {
283
283
  * The server cannot or will not process the request due to something that is perceived to be a client error.
284
284
  */
285
285
  export class BadRequestError extends BereachError {
286
- success?: boolean | undefined;
286
+ success?: false | undefined;
287
287
  error: operations.CollectLinkedInLikesBadRequestError;
288
288
 
289
289
  /** The original data that was passed to this error instance. */
@@ -310,7 +310,7 @@ export const InternalServerError$inboundSchema: z.ZodMiniType<
310
310
  unknown
311
311
  > = z.pipe(
312
312
  z.object({
313
- success: z._default(types.boolean(), false),
313
+ success: z._default(types.literal(false), false),
314
314
  error:
315
315
  operations.CollectLinkedInLikesInternalServerErrorError$inboundSchema,
316
316
  request$: z.custom<Request>(x => x instanceof Request),
@@ -332,7 +332,7 @@ export const TooManyRequestsError$inboundSchema: z.ZodMiniType<
332
332
  unknown
333
333
  > = z.pipe(
334
334
  z.object({
335
- success: z._default(types.boolean(), false),
335
+ success: z._default(types.literal(false), false),
336
336
  error: operations.CollectLinkedInLikesTooManyRequestsError$inboundSchema,
337
337
  request$: z.custom<Request>(x => x instanceof Request),
338
338
  response$: z.custom<Response>(x => x instanceof Response),
@@ -353,7 +353,7 @@ export const UnprocessableEntityError$inboundSchema: z.ZodMiniType<
353
353
  unknown
354
354
  > = z.pipe(
355
355
  z.object({
356
- success: z._default(types.boolean(), false),
356
+ success: z._default(types.literal(false), false),
357
357
  error:
358
358
  operations.CollectLinkedInLikesUnprocessableEntityError$inboundSchema,
359
359
  request$: z.custom<Request>(x => x instanceof Request),
@@ -373,7 +373,7 @@ export const UnprocessableEntityError$inboundSchema: z.ZodMiniType<
373
373
  export const GoneError$inboundSchema: z.ZodMiniType<GoneError, unknown> = z
374
374
  .pipe(
375
375
  z.object({
376
- success: z._default(types.boolean(), false),
376
+ success: z._default(types.literal(false), false),
377
377
  error: operations.CollectLinkedInLikesGoneError$inboundSchema,
378
378
  request$: z.custom<Request>(x => x instanceof Request),
379
379
  response$: z.custom<Response>(x => x instanceof Response),
@@ -394,7 +394,7 @@ export const ConflictError$inboundSchema: z.ZodMiniType<
394
394
  unknown
395
395
  > = z.pipe(
396
396
  z.object({
397
- success: z._default(types.boolean(), false),
397
+ success: z._default(types.literal(false), false),
398
398
  error: operations.CollectLinkedInLikesConflictError$inboundSchema,
399
399
  request$: z.custom<Request>(x => x instanceof Request),
400
400
  response$: z.custom<Response>(x => x instanceof Response),
@@ -415,7 +415,7 @@ export const NotFoundError$inboundSchema: z.ZodMiniType<
415
415
  unknown
416
416
  > = z.pipe(
417
417
  z.object({
418
- success: z._default(types.boolean(), false),
418
+ success: z._default(types.literal(false), false),
419
419
  error: operations.CollectLinkedInLikesNotFoundError$inboundSchema,
420
420
  request$: z.custom<Request>(x => x instanceof Request),
421
421
  response$: z.custom<Response>(x => x instanceof Response),
@@ -436,7 +436,7 @@ export const ForbiddenError$inboundSchema: z.ZodMiniType<
436
436
  unknown
437
437
  > = z.pipe(
438
438
  z.object({
439
- success: z._default(types.boolean(), false),
439
+ success: z._default(types.literal(false), false),
440
440
  error: operations.CollectLinkedInLikesForbiddenError$inboundSchema,
441
441
  request$: z.custom<Request>(x => x instanceof Request),
442
442
  response$: z.custom<Response>(x => x instanceof Response),
@@ -457,7 +457,7 @@ export const UnauthorizedError$inboundSchema: z.ZodMiniType<
457
457
  unknown
458
458
  > = z.pipe(
459
459
  z.object({
460
- success: z._default(types.boolean(), false),
460
+ success: z._default(types.literal(false), false),
461
461
  error: operations.CollectLinkedInLikesUnauthorizedError$inboundSchema,
462
462
  request$: z.custom<Request>(x => x instanceof Request),
463
463
  response$: z.custom<Response>(x => x instanceof Response),
@@ -478,7 +478,7 @@ export const BadRequestError$inboundSchema: z.ZodMiniType<
478
478
  unknown
479
479
  > = z.pipe(
480
480
  z.object({
481
- success: z._default(types.boolean(), false),
481
+ success: z._default(types.literal(false), false),
482
482
  error: operations.CollectLinkedInLikesBadRequestError$inboundSchema,
483
483
  request$: z.custom<Request>(x => x instanceof Request),
484
484
  response$: z.custom<Response>(x => x instanceof Response),