bereach 0.2.1 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1337) hide show
  1. package/README.md +888 -70
  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} +3 -3
  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/actions-follow-company.d.ts.map +1 -0
  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/actions-list-sent-invitations.d.ts +18 -0
  11. package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -0
  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-filter.d.ts +1 -1
  19. package/esm/funcs/campaigns-filter.d.ts.map +1 -1
  20. package/esm/funcs/campaigns-filter.js +1 -1
  21. package/esm/funcs/campaigns-filter.js.map +1 -1
  22. package/esm/funcs/campaigns-get-stats.d.ts +1 -1
  23. package/esm/funcs/campaigns-get-stats.d.ts.map +1 -1
  24. package/esm/funcs/campaigns-get-stats.js +1 -1
  25. package/esm/funcs/campaigns-get-stats.js.map +1 -1
  26. package/esm/funcs/campaigns-get-status.d.ts +1 -1
  27. package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
  28. package/esm/funcs/campaigns-get-status.js +1 -1
  29. package/esm/funcs/campaigns-get-status.js.map +1 -1
  30. package/esm/funcs/{campaigns-sync-actions.d.ts → campaigns-sync.d.ts} +2 -2
  31. package/esm/funcs/campaigns-sync.d.ts.map +1 -0
  32. package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +3 -3
  33. package/esm/funcs/campaigns-sync.js.map +1 -0
  34. package/esm/funcs/chat-archive.d.ts +18 -0
  35. package/esm/funcs/chat-archive.d.ts.map +1 -0
  36. package/esm/funcs/chat-archive.js +95 -0
  37. package/esm/funcs/chat-archive.js.map +1 -0
  38. package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
  39. package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
  40. package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +3 -3
  41. package/esm/funcs/chat-find-conversation.js.map +1 -0
  42. package/esm/funcs/chat-search-conversations.d.ts +18 -0
  43. package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
  44. package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +3 -3
  45. package/esm/funcs/chat-search-conversations.js.map +1 -0
  46. package/esm/funcs/chat-unreact.d.ts +18 -0
  47. package/esm/funcs/chat-unreact.d.ts.map +1 -0
  48. package/esm/funcs/chat-unreact.js +95 -0
  49. package/esm/funcs/chat-unreact.js.map +1 -0
  50. package/esm/funcs/{linkedin-chat-search-conversations.d.ts → company-pages-get-analytics.d.ts} +4 -4
  51. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
  52. package/esm/funcs/company-pages-get-analytics.js +95 -0
  53. package/esm/funcs/company-pages-get-analytics.js.map +1 -0
  54. package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
  55. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -0
  56. package/esm/funcs/company-pages-get-permissions.js +95 -0
  57. package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
  58. package/esm/funcs/company-pages-get-posts.d.ts +18 -0
  59. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
  60. package/esm/funcs/company-pages-get-posts.js +95 -0
  61. package/esm/funcs/company-pages-get-posts.js.map +1 -0
  62. package/esm/funcs/company-pages-list.d.ts +18 -0
  63. package/esm/funcs/company-pages-list.d.ts.map +1 -0
  64. package/esm/funcs/company-pages-list.js +84 -0
  65. package/esm/funcs/company-pages-list.js.map +1 -0
  66. package/esm/funcs/contacts-upsert.d.ts +17 -0
  67. package/esm/funcs/contacts-upsert.d.ts.map +1 -0
  68. package/esm/funcs/contacts-upsert.js +79 -0
  69. package/esm/funcs/contacts-upsert.js.map +1 -0
  70. package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
  71. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -0
  72. package/esm/funcs/linked-in-actions-create-comment.js +95 -0
  73. package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
  74. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
  75. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
  76. package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
  77. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
  78. package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
  79. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
  80. package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +3 -3
  81. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
  82. package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
  83. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
  84. package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +4 -4
  85. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
  86. package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
  87. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
  88. package/esm/funcs/linked-in-actions-save-post.js +95 -0
  89. package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
  90. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
  91. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -0
  92. package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
  93. package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
  94. package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
  95. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
  96. package/esm/funcs/linked-in-chat-list-starred.js +97 -0
  97. package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
  98. package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
  99. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
  100. package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
  101. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
  102. package/esm/funcs/{linkedin-actions-send-message.d.ts → linked-in-chat-star.d.ts} +4 -4
  103. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
  104. package/esm/funcs/linked-in-chat-star.js +95 -0
  105. package/esm/funcs/linked-in-chat-star.js.map +1 -0
  106. package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
  107. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
  108. package/esm/funcs/linked-in-chat-unarchive.js +95 -0
  109. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
  110. package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
  111. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
  112. package/esm/funcs/linked-in-chat-unstar.js +95 -0
  113. package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
  114. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +18 -0
  115. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
  116. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +4 -3
  117. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -0
  118. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
  119. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
  120. package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
  121. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
  122. package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
  123. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
  124. package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +4 -3
  125. package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
  126. package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
  127. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
  128. package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +3 -3
  129. package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
  130. package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
  131. package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
  132. package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +3 -3
  133. package/esm/funcs/linked-in-search-search.js.map +1 -0
  134. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
  135. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
  136. package/esm/funcs/linkedin-actions-accept-invitation.js +1 -1
  137. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
  138. package/esm/funcs/linkedin-actions-edit-comment.d.ts +18 -0
  139. package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
  140. package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
  141. package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
  142. package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
  143. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
  144. package/esm/funcs/linkedin-actions-edit-post.js +95 -0
  145. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
  146. package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
  147. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
  148. package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
  149. package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
  150. package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
  151. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
  152. package/esm/funcs/linkedin-actions-like-post.js +95 -0
  153. package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
  154. package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
  155. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
  156. package/esm/funcs/linkedin-actions-list-invitations.js +1 -1
  157. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
  158. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
  159. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
  160. package/esm/funcs/linkedin-actions-reply-to-comment.js +1 -1
  161. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
  162. package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
  163. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
  164. package/esm/funcs/linkedin-actions-repost-post.js +95 -0
  165. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
  166. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
  167. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
  168. package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
  169. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
  170. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
  171. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -0
  172. package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
  173. package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
  174. package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
  175. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
  176. package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
  177. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
  178. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linkedin-actions-unsave-post.d.ts} +4 -4
  179. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
  180. package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
  181. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
  182. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
  183. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
  184. package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
  185. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
  186. package/esm/funcs/linkedin-chat-get-messages.d.ts +1 -1
  187. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +1 -1
  188. package/esm/funcs/linkedin-chat-get-messages.js +1 -1
  189. package/esm/funcs/linkedin-chat-get-messages.js.map +1 -1
  190. package/esm/funcs/linkedin-chat-get-unread-count.d.ts +18 -0
  191. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
  192. package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
  193. package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
  194. package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
  195. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
  196. package/esm/funcs/linkedin-chat-list-archived.js +97 -0
  197. package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
  198. package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
  199. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
  200. package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +3 -3
  201. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
  202. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +18 -0
  203. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
  204. package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
  205. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
  206. package/esm/funcs/linkedin-chat-react.d.ts +18 -0
  207. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
  208. package/esm/funcs/linkedin-chat-react.js +95 -0
  209. package/esm/funcs/linkedin-chat-react.js.map +1 -0
  210. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
  211. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
  212. package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
  213. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
  214. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +1 -1
  215. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
  216. package/esm/funcs/linkedin-scrapers-collect-comments.js +1 -1
  217. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
  218. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
  219. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
  220. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
  221. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
  222. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +2 -2
  223. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
  224. package/esm/funcs/linkedin-scrapers-collect-likes.js +2 -2
  225. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
  226. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
  227. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
  228. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
  229. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
  230. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
  231. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
  232. package/esm/funcs/linkedin-scrapers-visit-company.js +1 -1
  233. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
  234. package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
  235. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
  236. package/esm/funcs/linkedin-search-search-by-url.js +1 -1
  237. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
  238. package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
  239. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
  240. package/esm/funcs/linkedin-search-search-jobs.js +1 -1
  241. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
  242. package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
  243. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
  244. package/esm/funcs/linkedin-search-search-people.js +1 -1
  245. package/esm/funcs/linkedin-search-search-people.js.map +1 -1
  246. package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
  247. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
  248. package/esm/funcs/linkedin-search-search-posts.js +1 -1
  249. package/esm/funcs/linkedin-search-search-posts.js.map +1 -1
  250. package/esm/funcs/profile-get-credits.d.ts +1 -1
  251. package/esm/funcs/profile-get-credits.d.ts.map +1 -1
  252. package/esm/funcs/profile-get-credits.js +1 -1
  253. package/esm/funcs/profile-get-credits.js.map +1 -1
  254. package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
  255. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
  256. package/esm/funcs/profile-get-follower-analytics.js +85 -0
  257. package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
  258. package/esm/funcs/profile-get-followers.d.ts +1 -1
  259. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  260. package/esm/funcs/profile-get-followers.js +1 -1
  261. package/esm/funcs/profile-get-followers.js.map +1 -1
  262. package/esm/funcs/profile-get-limits.d.ts +1 -1
  263. package/esm/funcs/profile-get-limits.d.ts.map +1 -1
  264. package/esm/funcs/profile-get-limits.js +1 -1
  265. package/esm/funcs/profile-get-limits.js.map +1 -1
  266. package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
  267. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
  268. package/esm/funcs/profile-get-post-analytics.js +95 -0
  269. package/esm/funcs/profile-get-post-analytics.js.map +1 -0
  270. package/esm/funcs/profile-get-posts.d.ts +1 -1
  271. package/esm/funcs/profile-get-posts.d.ts.map +1 -1
  272. package/esm/funcs/profile-get-posts.js +1 -1
  273. package/esm/funcs/profile-get-posts.js.map +1 -1
  274. package/esm/funcs/profile-get-profile-views.d.ts +18 -0
  275. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
  276. package/esm/funcs/profile-get-profile-views.js +85 -0
  277. package/esm/funcs/profile-get-profile-views.js.map +1 -0
  278. package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
  279. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
  280. package/esm/funcs/profile-get-search-appearances.js +85 -0
  281. package/esm/funcs/profile-get-search-appearances.js.map +1 -0
  282. package/esm/funcs/{profile-get-linked-in-profile.d.ts → profile-get.d.ts} +2 -2
  283. package/esm/funcs/profile-get.d.ts.map +1 -0
  284. package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +3 -3
  285. package/esm/funcs/profile-get.js.map +1 -0
  286. package/esm/funcs/profile-list-accounts.d.ts +18 -0
  287. package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
  288. package/esm/funcs/profile-list-accounts.js +84 -0
  289. package/esm/funcs/profile-list-accounts.js.map +1 -0
  290. package/esm/funcs/profile-refresh.d.ts +1 -1
  291. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  292. package/esm/funcs/profile-refresh.js +1 -1
  293. package/esm/funcs/profile-refresh.js.map +1 -1
  294. package/esm/funcs/profile-update-account.d.ts +18 -0
  295. package/esm/funcs/profile-update-account.d.ts.map +1 -0
  296. package/esm/funcs/profile-update-account.js +95 -0
  297. package/esm/funcs/profile-update-account.js.map +1 -0
  298. package/esm/funcs/sales-nav-search-people.d.ts +53 -0
  299. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
  300. package/esm/funcs/sales-nav-search-people.js +130 -0
  301. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
  302. package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
  303. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
  304. package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
  305. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
  306. package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
  307. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
  308. package/esm/funcs/sales-navigator-search-search.js +116 -0
  309. package/esm/funcs/sales-navigator-search-search.js.map +1 -0
  310. package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
  311. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
  312. package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +3 -3
  313. package/esm/funcs/scrapers-collect-posts.js.map +1 -0
  314. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → scrapers-visit-profile.d.ts} +2 -2
  315. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
  316. package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +3 -3
  317. package/esm/funcs/scrapers-visit-profile.js.map +1 -0
  318. package/esm/lib/config.d.ts +4 -4
  319. package/esm/lib/config.js +4 -4
  320. package/esm/models/errors/accept-linked-in-invitation.d.ts +211 -0
  321. package/esm/models/errors/accept-linked-in-invitation.d.ts.map +1 -0
  322. package/esm/models/errors/accept-linked-in-invitation.js +308 -0
  323. package/esm/models/errors/accept-linked-in-invitation.js.map +1 -0
  324. package/esm/models/errors/archive-conversation.d.ts +211 -0
  325. package/esm/models/errors/archive-conversation.d.ts.map +1 -0
  326. package/esm/models/errors/archive-conversation.js +305 -0
  327. package/esm/models/errors/archive-conversation.js.map +1 -0
  328. package/esm/models/errors/collect-linked-in-comment-replies.d.ts +211 -0
  329. package/esm/models/errors/collect-linked-in-comment-replies.d.ts.map +1 -0
  330. package/esm/models/errors/collect-linked-in-comment-replies.js +312 -0
  331. package/esm/models/errors/collect-linked-in-comment-replies.js.map +1 -0
  332. package/esm/models/errors/collect-linked-in-comments.d.ts +211 -0
  333. package/esm/models/errors/collect-linked-in-comments.d.ts.map +1 -0
  334. package/esm/models/errors/collect-linked-in-comments.js +307 -0
  335. package/esm/models/errors/collect-linked-in-comments.js.map +1 -0
  336. package/esm/models/errors/collect-linked-in-hashtag-posts.d.ts +211 -0
  337. package/esm/models/errors/collect-linked-in-hashtag-posts.d.ts.map +1 -0
  338. package/esm/models/errors/collect-linked-in-hashtag-posts.js +310 -0
  339. package/esm/models/errors/collect-linked-in-hashtag-posts.js.map +1 -0
  340. package/esm/models/errors/collect-linked-in-likes.d.ts +63 -63
  341. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  342. package/esm/models/errors/collect-linked-in-likes.js +54 -55
  343. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  344. package/esm/models/errors/collect-linked-in-posts.d.ts +211 -0
  345. package/esm/models/errors/collect-linked-in-posts.d.ts.map +1 -0
  346. package/esm/models/errors/collect-linked-in-posts.js +305 -0
  347. package/esm/models/errors/collect-linked-in-posts.js.map +1 -0
  348. package/esm/models/errors/collect-saved-linked-in-posts.d.ts +211 -0
  349. package/esm/models/errors/collect-saved-linked-in-posts.d.ts.map +1 -0
  350. package/esm/models/errors/collect-saved-linked-in-posts.js +309 -0
  351. package/esm/models/errors/collect-saved-linked-in-posts.js.map +1 -0
  352. package/esm/models/errors/comment-on-linked-in-post.d.ts +211 -0
  353. package/esm/models/errors/comment-on-linked-in-post.d.ts.map +1 -0
  354. package/esm/models/errors/comment-on-linked-in-post.js +306 -0
  355. package/esm/models/errors/comment-on-linked-in-post.js.map +1 -0
  356. package/esm/models/errors/connect-linked-in-profile.d.ts +211 -0
  357. package/esm/models/errors/connect-linked-in-profile.d.ts.map +1 -0
  358. package/esm/models/errors/connect-linked-in-profile.js +307 -0
  359. package/esm/models/errors/connect-linked-in-profile.js.map +1 -0
  360. package/esm/models/errors/decline-linked-in-invitation.d.ts +211 -0
  361. package/esm/models/errors/decline-linked-in-invitation.d.ts.map +1 -0
  362. package/esm/models/errors/decline-linked-in-invitation.js +309 -0
  363. package/esm/models/errors/decline-linked-in-invitation.js.map +1 -0
  364. package/esm/models/errors/edit-linked-in-comment.d.ts +211 -0
  365. package/esm/models/errors/edit-linked-in-comment.d.ts.map +1 -0
  366. package/esm/models/errors/edit-linked-in-comment.js +305 -0
  367. package/esm/models/errors/edit-linked-in-comment.js.map +1 -0
  368. package/esm/models/errors/edit-linked-in-post.d.ts +211 -0
  369. package/esm/models/errors/edit-linked-in-post.d.ts.map +1 -0
  370. package/esm/models/errors/edit-linked-in-post.js +305 -0
  371. package/esm/models/errors/edit-linked-in-post.js.map +1 -0
  372. package/esm/models/errors/filter-campaign.d.ts +211 -0
  373. package/esm/models/errors/filter-campaign.d.ts.map +1 -0
  374. package/esm/models/errors/filter-campaign.js +305 -0
  375. package/esm/models/errors/filter-campaign.js.map +1 -0
  376. package/esm/models/errors/find-linked-in-conversation.d.ts +211 -0
  377. package/esm/models/errors/find-linked-in-conversation.d.ts.map +1 -0
  378. package/esm/models/errors/find-linked-in-conversation.js +308 -0
  379. package/esm/models/errors/find-linked-in-conversation.js.map +1 -0
  380. package/esm/models/errors/follow-linked-in-company.d.ts +211 -0
  381. package/esm/models/errors/follow-linked-in-company.d.ts.map +1 -0
  382. package/esm/models/errors/follow-linked-in-company.js +306 -0
  383. package/esm/models/errors/follow-linked-in-company.js.map +1 -0
  384. package/esm/models/errors/follow-linked-in-profile.d.ts +211 -0
  385. package/esm/models/errors/follow-linked-in-profile.d.ts.map +1 -0
  386. package/esm/models/errors/follow-linked-in-profile.js +306 -0
  387. package/esm/models/errors/follow-linked-in-profile.js.map +1 -0
  388. package/esm/models/errors/get-campaign-stats.d.ts +211 -0
  389. package/esm/models/errors/get-campaign-stats.d.ts.map +1 -0
  390. package/esm/models/errors/get-campaign-stats.js +305 -0
  391. package/esm/models/errors/get-campaign-stats.js.map +1 -0
  392. package/esm/models/errors/get-campaign-status.d.ts +211 -0
  393. package/esm/models/errors/get-campaign-status.d.ts.map +1 -0
  394. package/esm/models/errors/get-campaign-status.js +305 -0
  395. package/esm/models/errors/get-campaign-status.js.map +1 -0
  396. package/esm/models/errors/get-company-page-analytics.d.ts +211 -0
  397. package/esm/models/errors/get-company-page-analytics.d.ts.map +1 -0
  398. package/esm/models/errors/get-company-page-analytics.js +307 -0
  399. package/esm/models/errors/get-company-page-analytics.js.map +1 -0
  400. package/esm/models/errors/get-company-page-permissions.d.ts +211 -0
  401. package/esm/models/errors/get-company-page-permissions.d.ts.map +1 -0
  402. package/esm/models/errors/get-company-page-permissions.js +309 -0
  403. package/esm/models/errors/get-company-page-permissions.js.map +1 -0
  404. package/esm/models/errors/get-company-page-posts.d.ts +211 -0
  405. package/esm/models/errors/get-company-page-posts.d.ts.map +1 -0
  406. package/esm/models/errors/get-company-page-posts.js +305 -0
  407. package/esm/models/errors/get-company-page-posts.js.map +1 -0
  408. package/esm/models/errors/get-conversation-messages.d.ts +211 -0
  409. package/esm/models/errors/get-conversation-messages.d.ts.map +1 -0
  410. package/esm/models/errors/get-conversation-messages.js +307 -0
  411. package/esm/models/errors/get-conversation-messages.js.map +1 -0
  412. package/esm/models/errors/get-linked-in-feed.d.ts +211 -0
  413. package/esm/models/errors/get-linked-in-feed.d.ts.map +1 -0
  414. package/esm/models/errors/get-linked-in-feed.js +305 -0
  415. package/esm/models/errors/get-linked-in-feed.js.map +1 -0
  416. package/esm/models/errors/get-linked-in-follower-analytics.d.ts +211 -0
  417. package/esm/models/errors/get-linked-in-follower-analytics.d.ts.map +1 -0
  418. package/esm/models/errors/get-linked-in-follower-analytics.js +311 -0
  419. package/esm/models/errors/get-linked-in-follower-analytics.js.map +1 -0
  420. package/esm/models/errors/get-linked-in-post-analytics.d.ts +211 -0
  421. package/esm/models/errors/get-linked-in-post-analytics.d.ts.map +1 -0
  422. package/esm/models/errors/get-linked-in-post-analytics.js +308 -0
  423. package/esm/models/errors/get-linked-in-post-analytics.js.map +1 -0
  424. package/esm/models/errors/get-linked-in-profile-views.d.ts +211 -0
  425. package/esm/models/errors/get-linked-in-profile-views.d.ts.map +1 -0
  426. package/esm/models/errors/get-linked-in-profile-views.js +307 -0
  427. package/esm/models/errors/get-linked-in-profile-views.js.map +1 -0
  428. package/esm/models/errors/get-linked-in-search-appearances.d.ts +211 -0
  429. package/esm/models/errors/get-linked-in-search-appearances.d.ts.map +1 -0
  430. package/esm/models/errors/get-linked-in-search-appearances.js +311 -0
  431. package/esm/models/errors/get-linked-in-search-appearances.js.map +1 -0
  432. package/esm/models/errors/get-my-credits.d.ts +211 -0
  433. package/esm/models/errors/get-my-credits.d.ts.map +1 -0
  434. package/esm/models/errors/get-my-credits.js +305 -0
  435. package/esm/models/errors/get-my-credits.js.map +1 -0
  436. package/esm/models/errors/get-my-limits.d.ts +211 -0
  437. package/esm/models/errors/get-my-limits.d.ts.map +1 -0
  438. package/esm/models/errors/get-my-limits.js +305 -0
  439. package/esm/models/errors/get-my-limits.js.map +1 -0
  440. package/esm/models/errors/get-my-linked-in-followers.d.ts +211 -0
  441. package/esm/models/errors/get-my-linked-in-followers.d.ts.map +1 -0
  442. package/esm/models/errors/get-my-linked-in-followers.js +307 -0
  443. package/esm/models/errors/get-my-linked-in-followers.js.map +1 -0
  444. package/esm/models/errors/get-my-linked-in-posts.d.ts +211 -0
  445. package/esm/models/errors/get-my-linked-in-posts.d.ts.map +1 -0
  446. package/esm/models/errors/get-my-linked-in-posts.js +305 -0
  447. package/esm/models/errors/get-my-linked-in-posts.js.map +1 -0
  448. package/esm/models/errors/get-my-linked-in-profile.d.ts +211 -0
  449. package/esm/models/errors/get-my-linked-in-profile.d.ts.map +1 -0
  450. package/esm/models/errors/get-my-linked-in-profile.js +305 -0
  451. package/esm/models/errors/get-my-linked-in-profile.js.map +1 -0
  452. package/esm/models/errors/get-unread-count.d.ts +211 -0
  453. package/esm/models/errors/get-unread-count.d.ts.map +1 -0
  454. package/esm/models/errors/get-unread-count.js +305 -0
  455. package/esm/models/errors/get-unread-count.js.map +1 -0
  456. package/esm/models/errors/index.d.ts +77 -0
  457. package/esm/models/errors/index.d.ts.map +1 -1
  458. package/esm/models/errors/index.js +77 -0
  459. package/esm/models/errors/index.js.map +1 -1
  460. package/esm/models/errors/like-linked-in-comment.d.ts +211 -0
  461. package/esm/models/errors/like-linked-in-comment.d.ts.map +1 -0
  462. package/esm/models/errors/like-linked-in-comment.js +305 -0
  463. package/esm/models/errors/like-linked-in-comment.js.map +1 -0
  464. package/esm/models/errors/like-linked-in-post.d.ts +211 -0
  465. package/esm/models/errors/like-linked-in-post.d.ts.map +1 -0
  466. package/esm/models/errors/like-linked-in-post.js +305 -0
  467. package/esm/models/errors/like-linked-in-post.js.map +1 -0
  468. package/esm/models/errors/list-archived-conversations.d.ts +211 -0
  469. package/esm/models/errors/list-archived-conversations.d.ts.map +1 -0
  470. package/esm/models/errors/list-archived-conversations.js +309 -0
  471. package/esm/models/errors/list-archived-conversations.js.map +1 -0
  472. package/esm/models/errors/list-inbox-conversations.d.ts +211 -0
  473. package/esm/models/errors/list-inbox-conversations.d.ts.map +1 -0
  474. package/esm/models/errors/list-inbox-conversations.js +307 -0
  475. package/esm/models/errors/list-inbox-conversations.js.map +1 -0
  476. package/esm/models/errors/list-linked-in-accounts.d.ts +211 -0
  477. package/esm/models/errors/list-linked-in-accounts.d.ts.map +1 -0
  478. package/esm/models/errors/list-linked-in-accounts.js +305 -0
  479. package/esm/models/errors/list-linked-in-accounts.js.map +1 -0
  480. package/esm/models/errors/list-linked-in-company-pages.d.ts +211 -0
  481. package/esm/models/errors/list-linked-in-company-pages.d.ts.map +1 -0
  482. package/esm/models/errors/list-linked-in-company-pages.js +308 -0
  483. package/esm/models/errors/list-linked-in-company-pages.js.map +1 -0
  484. package/esm/models/errors/list-linked-in-invitations.d.ts +211 -0
  485. package/esm/models/errors/list-linked-in-invitations.d.ts.map +1 -0
  486. package/esm/models/errors/list-linked-in-invitations.js +307 -0
  487. package/esm/models/errors/list-linked-in-invitations.js.map +1 -0
  488. package/esm/models/errors/list-sent-linked-in-invitations.d.ts +211 -0
  489. package/esm/models/errors/list-sent-linked-in-invitations.d.ts.map +1 -0
  490. package/esm/models/errors/list-sent-linked-in-invitations.js +310 -0
  491. package/esm/models/errors/list-sent-linked-in-invitations.js.map +1 -0
  492. package/esm/models/errors/list-starred-conversations.d.ts +211 -0
  493. package/esm/models/errors/list-starred-conversations.d.ts.map +1 -0
  494. package/esm/models/errors/list-starred-conversations.js +308 -0
  495. package/esm/models/errors/list-starred-conversations.js.map +1 -0
  496. package/esm/models/errors/mark-all-conversations-read.d.ts +211 -0
  497. package/esm/models/errors/mark-all-conversations-read.d.ts.map +1 -0
  498. package/esm/models/errors/mark-all-conversations-read.js +308 -0
  499. package/esm/models/errors/mark-all-conversations-read.js.map +1 -0
  500. package/esm/models/errors/mark-conversation-seen.d.ts +211 -0
  501. package/esm/models/errors/mark-conversation-seen.d.ts.map +1 -0
  502. package/esm/models/errors/mark-conversation-seen.js +305 -0
  503. package/esm/models/errors/mark-conversation-seen.js.map +1 -0
  504. package/esm/models/errors/publish-linked-in-post.d.ts +211 -0
  505. package/esm/models/errors/publish-linked-in-post.d.ts.map +1 -0
  506. package/esm/models/errors/publish-linked-in-post.js +305 -0
  507. package/esm/models/errors/publish-linked-in-post.js.map +1 -0
  508. package/esm/models/errors/react-to-message.d.ts +211 -0
  509. package/esm/models/errors/react-to-message.d.ts.map +1 -0
  510. package/esm/models/errors/react-to-message.js +305 -0
  511. package/esm/models/errors/react-to-message.js.map +1 -0
  512. package/esm/models/errors/refresh-my-linked-in-profile.d.ts +211 -0
  513. package/esm/models/errors/refresh-my-linked-in-profile.d.ts.map +1 -0
  514. package/esm/models/errors/refresh-my-linked-in-profile.js +308 -0
  515. package/esm/models/errors/refresh-my-linked-in-profile.js.map +1 -0
  516. package/esm/models/errors/reply-to-linked-in-comment.d.ts +211 -0
  517. package/esm/models/errors/reply-to-linked-in-comment.d.ts.map +1 -0
  518. package/esm/models/errors/reply-to-linked-in-comment.js +307 -0
  519. package/esm/models/errors/reply-to-linked-in-comment.js.map +1 -0
  520. package/esm/models/errors/repost-linked-in-post.d.ts +211 -0
  521. package/esm/models/errors/repost-linked-in-post.d.ts.map +1 -0
  522. package/esm/models/errors/repost-linked-in-post.js +305 -0
  523. package/esm/models/errors/repost-linked-in-post.js.map +1 -0
  524. package/esm/models/errors/resolve-linked-in-search-parameters.d.ts +211 -0
  525. package/esm/models/errors/resolve-linked-in-search-parameters.d.ts.map +1 -0
  526. package/esm/models/errors/resolve-linked-in-search-parameters.js +314 -0
  527. package/esm/models/errors/resolve-linked-in-search-parameters.js.map +1 -0
  528. package/esm/models/errors/save-linked-in-post.d.ts +211 -0
  529. package/esm/models/errors/save-linked-in-post.d.ts.map +1 -0
  530. package/esm/models/errors/save-linked-in-post.js +305 -0
  531. package/esm/models/errors/save-linked-in-post.js.map +1 -0
  532. package/esm/models/errors/search-linked-in-by-url.d.ts +211 -0
  533. package/esm/models/errors/search-linked-in-by-url.d.ts.map +1 -0
  534. package/esm/models/errors/search-linked-in-by-url.js +305 -0
  535. package/esm/models/errors/search-linked-in-by-url.js.map +1 -0
  536. package/esm/models/errors/search-linked-in-companies.d.ts +211 -0
  537. package/esm/models/errors/search-linked-in-companies.d.ts.map +1 -0
  538. package/esm/models/errors/search-linked-in-companies.js +307 -0
  539. package/esm/models/errors/search-linked-in-companies.js.map +1 -0
  540. package/esm/models/errors/search-linked-in-conversations.d.ts +211 -0
  541. package/esm/models/errors/search-linked-in-conversations.d.ts.map +1 -0
  542. package/esm/models/errors/search-linked-in-conversations.js +310 -0
  543. package/esm/models/errors/search-linked-in-conversations.js.map +1 -0
  544. package/esm/models/errors/search-linked-in-jobs.d.ts +211 -0
  545. package/esm/models/errors/search-linked-in-jobs.d.ts.map +1 -0
  546. package/esm/models/errors/search-linked-in-jobs.js +305 -0
  547. package/esm/models/errors/search-linked-in-jobs.js.map +1 -0
  548. package/esm/models/errors/search-linked-in-people.d.ts +211 -0
  549. package/esm/models/errors/search-linked-in-people.d.ts.map +1 -0
  550. package/esm/models/errors/search-linked-in-people.js +305 -0
  551. package/esm/models/errors/search-linked-in-people.js.map +1 -0
  552. package/esm/models/errors/search-linked-in-posts.d.ts +211 -0
  553. package/esm/models/errors/search-linked-in-posts.d.ts.map +1 -0
  554. package/esm/models/errors/search-linked-in-posts.js +305 -0
  555. package/esm/models/errors/search-linked-in-posts.js.map +1 -0
  556. package/esm/models/errors/search-linked-in.d.ts +211 -0
  557. package/esm/models/errors/search-linked-in.d.ts.map +1 -0
  558. package/esm/models/errors/search-linked-in.js +305 -0
  559. package/esm/models/errors/search-linked-in.js.map +1 -0
  560. package/esm/models/errors/search-sales-nav-companies.d.ts +211 -0
  561. package/esm/models/errors/search-sales-nav-companies.d.ts.map +1 -0
  562. package/esm/models/errors/search-sales-nav-companies.js +307 -0
  563. package/esm/models/errors/search-sales-nav-companies.js.map +1 -0
  564. package/esm/models/errors/search-sales-nav-people.d.ts +211 -0
  565. package/esm/models/errors/search-sales-nav-people.d.ts.map +1 -0
  566. package/esm/models/errors/search-sales-nav-people.js +305 -0
  567. package/esm/models/errors/search-sales-nav-people.js.map +1 -0
  568. package/esm/models/errors/search-sales-nav.d.ts +211 -0
  569. package/esm/models/errors/search-sales-nav.d.ts.map +1 -0
  570. package/esm/models/errors/search-sales-nav.js +305 -0
  571. package/esm/models/errors/search-sales-nav.js.map +1 -0
  572. package/esm/models/errors/send-linked-in-message.d.ts +211 -0
  573. package/esm/models/errors/send-linked-in-message.d.ts.map +1 -0
  574. package/esm/models/errors/send-linked-in-message.js +305 -0
  575. package/esm/models/errors/send-linked-in-message.js.map +1 -0
  576. package/esm/models/errors/send-typing-indicator.d.ts +211 -0
  577. package/esm/models/errors/send-typing-indicator.d.ts.map +1 -0
  578. package/esm/models/errors/send-typing-indicator.js +305 -0
  579. package/esm/models/errors/send-typing-indicator.js.map +1 -0
  580. package/esm/models/errors/star-conversation.d.ts +211 -0
  581. package/esm/models/errors/star-conversation.d.ts.map +1 -0
  582. package/esm/models/errors/star-conversation.js +305 -0
  583. package/esm/models/errors/star-conversation.js.map +1 -0
  584. package/esm/models/errors/sync-campaign-actions.d.ts +211 -0
  585. package/esm/models/errors/sync-campaign-actions.d.ts.map +1 -0
  586. package/esm/models/errors/sync-campaign-actions.js +305 -0
  587. package/esm/models/errors/sync-campaign-actions.js.map +1 -0
  588. package/esm/models/errors/unarchive-conversation.d.ts +211 -0
  589. package/esm/models/errors/unarchive-conversation.d.ts.map +1 -0
  590. package/esm/models/errors/unarchive-conversation.js +306 -0
  591. package/esm/models/errors/unarchive-conversation.js.map +1 -0
  592. package/esm/models/errors/unfollow-linked-in-company.d.ts +211 -0
  593. package/esm/models/errors/unfollow-linked-in-company.d.ts.map +1 -0
  594. package/esm/models/errors/unfollow-linked-in-company.js +307 -0
  595. package/esm/models/errors/unfollow-linked-in-company.js.map +1 -0
  596. package/esm/models/errors/unfollow-linked-in-profile.d.ts +211 -0
  597. package/esm/models/errors/unfollow-linked-in-profile.d.ts.map +1 -0
  598. package/esm/models/errors/unfollow-linked-in-profile.js +307 -0
  599. package/esm/models/errors/unfollow-linked-in-profile.js.map +1 -0
  600. package/esm/models/errors/unlike-linked-in-comment.d.ts +211 -0
  601. package/esm/models/errors/unlike-linked-in-comment.d.ts.map +1 -0
  602. package/esm/models/errors/unlike-linked-in-comment.js +306 -0
  603. package/esm/models/errors/unlike-linked-in-comment.js.map +1 -0
  604. package/esm/models/errors/unlike-linked-in-post.d.ts +211 -0
  605. package/esm/models/errors/unlike-linked-in-post.d.ts.map +1 -0
  606. package/esm/models/errors/unlike-linked-in-post.js +305 -0
  607. package/esm/models/errors/unlike-linked-in-post.js.map +1 -0
  608. package/esm/models/errors/unreact-to-message.d.ts +211 -0
  609. package/esm/models/errors/unreact-to-message.d.ts.map +1 -0
  610. package/esm/models/errors/unreact-to-message.js +305 -0
  611. package/esm/models/errors/unreact-to-message.js.map +1 -0
  612. package/esm/models/errors/unsave-linked-in-post.d.ts +211 -0
  613. package/esm/models/errors/unsave-linked-in-post.d.ts.map +1 -0
  614. package/esm/models/errors/unsave-linked-in-post.js +305 -0
  615. package/esm/models/errors/unsave-linked-in-post.js.map +1 -0
  616. package/esm/models/errors/unstar-conversation.d.ts +211 -0
  617. package/esm/models/errors/unstar-conversation.d.ts.map +1 -0
  618. package/esm/models/errors/unstar-conversation.js +305 -0
  619. package/esm/models/errors/unstar-conversation.js.map +1 -0
  620. package/esm/models/errors/update-linked-in-account.d.ts +211 -0
  621. package/esm/models/errors/update-linked-in-account.d.ts.map +1 -0
  622. package/esm/models/errors/update-linked-in-account.js +306 -0
  623. package/esm/models/errors/update-linked-in-account.js.map +1 -0
  624. package/esm/models/errors/visit-linked-in-company.d.ts +211 -0
  625. package/esm/models/errors/visit-linked-in-company.d.ts.map +1 -0
  626. package/esm/models/errors/visit-linked-in-company.js +305 -0
  627. package/esm/models/errors/visit-linked-in-company.js.map +1 -0
  628. package/esm/models/errors/visit-linked-in-profile.d.ts +211 -0
  629. package/esm/models/errors/visit-linked-in-profile.d.ts.map +1 -0
  630. package/esm/models/errors/visit-linked-in-profile.js +305 -0
  631. package/esm/models/errors/visit-linked-in-profile.js.map +1 -0
  632. package/esm/models/errors/withdraw-linked-in-invitation.d.ts +211 -0
  633. package/esm/models/errors/withdraw-linked-in-invitation.d.ts.map +1 -0
  634. package/esm/models/errors/withdraw-linked-in-invitation.js +311 -0
  635. package/esm/models/errors/withdraw-linked-in-invitation.js.map +1 -0
  636. package/esm/models/operations/accept-linked-in-invitation.d.ts +206 -0
  637. package/esm/models/operations/accept-linked-in-invitation.d.ts.map +1 -0
  638. package/esm/models/operations/accept-linked-in-invitation.js +191 -0
  639. package/esm/models/operations/accept-linked-in-invitation.js.map +1 -0
  640. package/esm/models/operations/archive-conversation.d.ts +185 -0
  641. package/esm/models/operations/archive-conversation.d.ts.map +1 -0
  642. package/esm/models/operations/archive-conversation.js +182 -0
  643. package/esm/models/operations/archive-conversation.js.map +1 -0
  644. package/esm/models/operations/collect-linked-in-comment-replies.d.ts +270 -0
  645. package/esm/models/operations/collect-linked-in-comment-replies.d.ts.map +1 -0
  646. package/esm/models/operations/collect-linked-in-comment-replies.js +232 -0
  647. package/esm/models/operations/collect-linked-in-comment-replies.js.map +1 -0
  648. package/esm/models/operations/collect-linked-in-comments.d.ts +282 -0
  649. package/esm/models/operations/collect-linked-in-comments.d.ts.map +1 -0
  650. package/esm/models/operations/collect-linked-in-comments.js +239 -0
  651. package/esm/models/operations/collect-linked-in-comments.js.map +1 -0
  652. package/esm/models/operations/collect-linked-in-hashtag-posts.d.ts +196 -0
  653. package/esm/models/operations/collect-linked-in-hashtag-posts.d.ts.map +1 -0
  654. package/esm/models/operations/collect-linked-in-hashtag-posts.js +185 -0
  655. package/esm/models/operations/collect-linked-in-hashtag-posts.js.map +1 -0
  656. package/esm/models/operations/collect-linked-in-likes.d.ts +220 -0
  657. package/esm/models/operations/collect-linked-in-likes.d.ts.map +1 -0
  658. package/esm/models/operations/collect-linked-in-likes.js +206 -0
  659. package/esm/models/operations/collect-linked-in-likes.js.map +1 -0
  660. package/esm/models/operations/collect-linked-in-posts.d.ts +232 -0
  661. package/esm/models/operations/collect-linked-in-posts.d.ts.map +1 -0
  662. package/esm/models/operations/collect-linked-in-posts.js +215 -0
  663. package/esm/models/operations/collect-linked-in-posts.js.map +1 -0
  664. package/esm/models/operations/collect-saved-linked-in-posts.d.ts +192 -0
  665. package/esm/models/operations/collect-saved-linked-in-posts.d.ts.map +1 -0
  666. package/esm/models/operations/collect-saved-linked-in-posts.js +183 -0
  667. package/esm/models/operations/collect-saved-linked-in-posts.js.map +1 -0
  668. package/esm/models/operations/comment-on-linked-in-post.d.ts +215 -0
  669. package/esm/models/operations/comment-on-linked-in-post.d.ts.map +1 -0
  670. package/esm/models/operations/comment-on-linked-in-post.js +188 -0
  671. package/esm/models/operations/comment-on-linked-in-post.js.map +1 -0
  672. package/esm/models/operations/connect-linked-in-profile.d.ts +202 -0
  673. package/esm/models/operations/connect-linked-in-profile.d.ts.map +1 -0
  674. package/esm/models/operations/connect-linked-in-profile.js +189 -0
  675. package/esm/models/operations/connect-linked-in-profile.js.map +1 -0
  676. package/esm/models/operations/decline-linked-in-invitation.d.ts +196 -0
  677. package/esm/models/operations/decline-linked-in-invitation.d.ts.map +1 -0
  678. package/esm/models/operations/decline-linked-in-invitation.js +183 -0
  679. package/esm/models/operations/decline-linked-in-invitation.js.map +1 -0
  680. package/esm/models/operations/edit-linked-in-comment.d.ts +195 -0
  681. package/esm/models/operations/edit-linked-in-comment.d.ts.map +1 -0
  682. package/esm/models/operations/edit-linked-in-comment.js +184 -0
  683. package/esm/models/operations/edit-linked-in-comment.js.map +1 -0
  684. package/esm/models/operations/edit-linked-in-post.d.ts +190 -0
  685. package/esm/models/operations/edit-linked-in-post.d.ts.map +1 -0
  686. package/esm/models/operations/edit-linked-in-post.js +178 -0
  687. package/esm/models/operations/edit-linked-in-post.js.map +1 -0
  688. package/esm/models/operations/filter-campaign.d.ts +204 -0
  689. package/esm/models/operations/filter-campaign.d.ts.map +1 -0
  690. package/esm/models/operations/filter-campaign.js +188 -0
  691. package/esm/models/operations/filter-campaign.js.map +1 -0
  692. package/esm/models/operations/find-linked-in-conversation.d.ts +251 -0
  693. package/esm/models/operations/find-linked-in-conversation.d.ts.map +1 -0
  694. package/esm/models/operations/find-linked-in-conversation.js +246 -0
  695. package/esm/models/operations/find-linked-in-conversation.js.map +1 -0
  696. package/esm/models/operations/follow-linked-in-company.d.ts +185 -0
  697. package/esm/models/operations/follow-linked-in-company.d.ts.map +1 -0
  698. package/esm/models/operations/follow-linked-in-company.js +182 -0
  699. package/esm/models/operations/follow-linked-in-company.js.map +1 -0
  700. package/esm/models/operations/follow-linked-in-profile.d.ts +186 -0
  701. package/esm/models/operations/follow-linked-in-profile.d.ts.map +1 -0
  702. package/esm/models/operations/follow-linked-in-profile.js +183 -0
  703. package/esm/models/operations/follow-linked-in-profile.js.map +1 -0
  704. package/esm/models/operations/get-campaign-stats.d.ts +203 -0
  705. package/esm/models/operations/get-campaign-stats.d.ts.map +1 -0
  706. package/esm/models/operations/get-campaign-stats.js +185 -0
  707. package/esm/models/operations/get-campaign-stats.js.map +1 -0
  708. package/esm/models/operations/get-campaign-status.d.ts +212 -0
  709. package/esm/models/operations/get-campaign-status.d.ts.map +1 -0
  710. package/esm/models/operations/get-campaign-status.js +198 -0
  711. package/esm/models/operations/get-campaign-status.js.map +1 -0
  712. package/esm/models/operations/get-company-page-analytics.d.ts +222 -0
  713. package/esm/models/operations/get-company-page-analytics.d.ts.map +1 -0
  714. package/esm/models/operations/get-company-page-analytics.js +230 -0
  715. package/esm/models/operations/get-company-page-analytics.js.map +1 -0
  716. package/esm/models/operations/get-company-page-permissions.d.ts +284 -0
  717. package/esm/models/operations/get-company-page-permissions.d.ts.map +1 -0
  718. package/esm/models/operations/get-company-page-permissions.js +212 -0
  719. package/esm/models/operations/get-company-page-permissions.js.map +1 -0
  720. package/esm/models/operations/get-company-page-posts.d.ts +229 -0
  721. package/esm/models/operations/get-company-page-posts.d.ts.map +1 -0
  722. package/esm/models/operations/get-company-page-posts.js +198 -0
  723. package/esm/models/operations/get-company-page-posts.js.map +1 -0
  724. package/esm/models/operations/get-conversation-messages.d.ts +241 -0
  725. package/esm/models/operations/get-conversation-messages.d.ts.map +1 -0
  726. package/esm/models/operations/get-conversation-messages.js +241 -0
  727. package/esm/models/operations/get-conversation-messages.js.map +1 -0
  728. package/esm/models/operations/get-linked-in-feed.d.ts +204 -0
  729. package/esm/models/operations/get-linked-in-feed.d.ts.map +1 -0
  730. package/esm/models/operations/get-linked-in-feed.js +188 -0
  731. package/esm/models/operations/get-linked-in-feed.js.map +1 -0
  732. package/esm/models/operations/get-linked-in-follower-analytics.d.ts +179 -0
  733. package/esm/models/operations/get-linked-in-follower-analytics.d.ts.map +1 -0
  734. package/esm/models/operations/get-linked-in-follower-analytics.js +184 -0
  735. package/esm/models/operations/get-linked-in-follower-analytics.js.map +1 -0
  736. package/esm/models/operations/get-linked-in-post-analytics.d.ts +186 -0
  737. package/esm/models/operations/get-linked-in-post-analytics.d.ts.map +1 -0
  738. package/esm/models/operations/get-linked-in-post-analytics.js +187 -0
  739. package/esm/models/operations/get-linked-in-post-analytics.js.map +1 -0
  740. package/esm/models/operations/get-linked-in-profile-views.d.ts +180 -0
  741. package/esm/models/operations/get-linked-in-profile-views.d.ts.map +1 -0
  742. package/esm/models/operations/get-linked-in-profile-views.js +189 -0
  743. package/esm/models/operations/get-linked-in-profile-views.js.map +1 -0
  744. package/esm/models/operations/get-linked-in-search-appearances.d.ts +179 -0
  745. package/esm/models/operations/get-linked-in-search-appearances.d.ts.map +1 -0
  746. package/esm/models/operations/get-linked-in-search-appearances.js +184 -0
  747. package/esm/models/operations/get-linked-in-search-appearances.js.map +1 -0
  748. package/esm/models/operations/get-my-credits.d.ts +194 -0
  749. package/esm/models/operations/get-my-credits.d.ts.map +1 -0
  750. package/esm/models/operations/get-my-credits.js +187 -0
  751. package/esm/models/operations/get-my-credits.js.map +1 -0
  752. package/esm/models/operations/get-my-limits.d.ts +470 -0
  753. package/esm/models/operations/get-my-limits.d.ts.map +1 -0
  754. package/esm/models/operations/get-my-limits.js +305 -0
  755. package/esm/models/operations/get-my-limits.js.map +1 -0
  756. package/esm/models/operations/get-my-linked-in-followers.d.ts +212 -0
  757. package/esm/models/operations/get-my-linked-in-followers.d.ts.map +1 -0
  758. package/esm/models/operations/get-my-linked-in-followers.js +204 -0
  759. package/esm/models/operations/get-my-linked-in-followers.js.map +1 -0
  760. package/esm/models/operations/get-my-linked-in-posts.d.ts +223 -0
  761. package/esm/models/operations/get-my-linked-in-posts.d.ts.map +1 -0
  762. package/esm/models/operations/get-my-linked-in-posts.js +208 -0
  763. package/esm/models/operations/get-my-linked-in-posts.js.map +1 -0
  764. package/esm/models/operations/get-my-linked-in-profile.d.ts +308 -0
  765. package/esm/models/operations/get-my-linked-in-profile.d.ts.map +1 -0
  766. package/esm/models/operations/get-my-linked-in-profile.js +277 -0
  767. package/esm/models/operations/get-my-linked-in-profile.js.map +1 -0
  768. package/esm/models/operations/get-unread-count.d.ts +182 -0
  769. package/esm/models/operations/get-unread-count.d.ts.map +1 -0
  770. package/esm/models/operations/get-unread-count.js +176 -0
  771. package/esm/models/operations/get-unread-count.js.map +1 -0
  772. package/esm/models/operations/index.d.ts +79 -2
  773. package/esm/models/operations/index.d.ts.map +1 -1
  774. package/esm/models/operations/index.js +79 -2
  775. package/esm/models/operations/index.js.map +1 -1
  776. package/esm/models/operations/like-linked-in-comment.d.ts +227 -0
  777. package/esm/models/operations/like-linked-in-comment.d.ts.map +1 -0
  778. package/esm/models/operations/like-linked-in-comment.js +200 -0
  779. package/esm/models/operations/like-linked-in-comment.js.map +1 -0
  780. package/esm/models/operations/like-linked-in-post.d.ts +232 -0
  781. package/esm/models/operations/like-linked-in-post.d.ts.map +1 -0
  782. package/esm/models/operations/like-linked-in-post.js +196 -0
  783. package/esm/models/operations/like-linked-in-post.js.map +1 -0
  784. package/esm/models/operations/list-archived-conversations.d.ts +223 -0
  785. package/esm/models/operations/list-archived-conversations.d.ts.map +1 -0
  786. package/esm/models/operations/list-archived-conversations.js +218 -0
  787. package/esm/models/operations/list-archived-conversations.js.map +1 -0
  788. package/esm/models/operations/list-inbox-conversations.d.ts +223 -0
  789. package/esm/models/operations/list-inbox-conversations.d.ts.map +1 -0
  790. package/esm/models/operations/list-inbox-conversations.js +223 -0
  791. package/esm/models/operations/list-inbox-conversations.js.map +1 -0
  792. package/esm/models/operations/list-linked-in-accounts.d.ts +189 -0
  793. package/esm/models/operations/list-linked-in-accounts.d.ts.map +1 -0
  794. package/esm/models/operations/list-linked-in-accounts.js +196 -0
  795. package/esm/models/operations/list-linked-in-accounts.js.map +1 -0
  796. package/esm/models/operations/list-linked-in-company-pages.d.ts +197 -0
  797. package/esm/models/operations/list-linked-in-company-pages.d.ts.map +1 -0
  798. package/esm/models/operations/list-linked-in-company-pages.js +196 -0
  799. package/esm/models/operations/list-linked-in-company-pages.js.map +1 -0
  800. package/esm/models/operations/list-linked-in-invitations.d.ts +250 -0
  801. package/esm/models/operations/list-linked-in-invitations.d.ts.map +1 -0
  802. package/esm/models/operations/list-linked-in-invitations.js +221 -0
  803. package/esm/models/operations/list-linked-in-invitations.js.map +1 -0
  804. package/esm/models/operations/list-sent-linked-in-invitations.d.ts +192 -0
  805. package/esm/models/operations/list-sent-linked-in-invitations.d.ts.map +1 -0
  806. package/esm/models/operations/list-sent-linked-in-invitations.js +185 -0
  807. package/esm/models/operations/list-sent-linked-in-invitations.js.map +1 -0
  808. package/esm/models/operations/list-starred-conversations.d.ts +223 -0
  809. package/esm/models/operations/list-starred-conversations.d.ts.map +1 -0
  810. package/esm/models/operations/list-starred-conversations.js +224 -0
  811. package/esm/models/operations/list-starred-conversations.js.map +1 -0
  812. package/esm/models/operations/mark-all-conversations-read.d.ts +178 -0
  813. package/esm/models/operations/mark-all-conversations-read.d.ts.map +1 -0
  814. package/esm/models/operations/mark-all-conversations-read.js +184 -0
  815. package/esm/models/operations/mark-all-conversations-read.js.map +1 -0
  816. package/esm/models/operations/mark-conversation-seen.d.ts +185 -0
  817. package/esm/models/operations/mark-conversation-seen.d.ts.map +1 -0
  818. package/esm/models/operations/mark-conversation-seen.js +182 -0
  819. package/esm/models/operations/mark-conversation-seen.js.map +1 -0
  820. package/esm/models/operations/publish-linked-in-post.d.ts +298 -0
  821. package/esm/models/operations/publish-linked-in-post.d.ts.map +1 -0
  822. package/esm/models/operations/publish-linked-in-post.js +223 -0
  823. package/esm/models/operations/publish-linked-in-post.js.map +1 -0
  824. package/esm/models/operations/react-to-message.d.ts +195 -0
  825. package/esm/models/operations/react-to-message.d.ts.map +1 -0
  826. package/esm/models/operations/react-to-message.js +179 -0
  827. package/esm/models/operations/react-to-message.js.map +1 -0
  828. package/esm/models/operations/refresh-my-linked-in-profile.d.ts +309 -0
  829. package/esm/models/operations/refresh-my-linked-in-profile.d.ts.map +1 -0
  830. package/esm/models/operations/refresh-my-linked-in-profile.js +282 -0
  831. package/esm/models/operations/refresh-my-linked-in-profile.js.map +1 -0
  832. package/esm/models/operations/reply-to-linked-in-comment.d.ts +210 -0
  833. package/esm/models/operations/reply-to-linked-in-comment.d.ts.map +1 -0
  834. package/esm/models/operations/reply-to-linked-in-comment.js +190 -0
  835. package/esm/models/operations/reply-to-linked-in-comment.js.map +1 -0
  836. package/esm/models/operations/repost-linked-in-post.d.ts +197 -0
  837. package/esm/models/operations/repost-linked-in-post.d.ts.map +1 -0
  838. package/esm/models/operations/repost-linked-in-post.js +181 -0
  839. package/esm/models/operations/repost-linked-in-post.js.map +1 -0
  840. package/esm/models/operations/resolve-linked-in-search-parameters.d.ts +222 -0
  841. package/esm/models/operations/resolve-linked-in-search-parameters.d.ts.map +1 -0
  842. package/esm/models/operations/resolve-linked-in-search-parameters.js +212 -0
  843. package/esm/models/operations/resolve-linked-in-search-parameters.js.map +1 -0
  844. package/esm/models/operations/save-linked-in-post.d.ts +185 -0
  845. package/esm/models/operations/save-linked-in-post.d.ts.map +1 -0
  846. package/esm/models/operations/save-linked-in-post.js +177 -0
  847. package/esm/models/operations/save-linked-in-post.js.map +1 -0
  848. package/esm/models/operations/search-linked-in-by-url.d.ts +326 -0
  849. package/esm/models/operations/search-linked-in-by-url.d.ts.map +1 -0
  850. package/esm/models/operations/search-linked-in-by-url.js +328 -0
  851. package/esm/models/operations/search-linked-in-by-url.js.map +1 -0
  852. package/esm/models/operations/search-linked-in-companies.d.ts +265 -0
  853. package/esm/models/operations/search-linked-in-companies.d.ts.map +1 -0
  854. package/esm/models/operations/search-linked-in-companies.js +244 -0
  855. package/esm/models/operations/search-linked-in-companies.js.map +1 -0
  856. package/esm/models/operations/search-linked-in-conversations.d.ts +228 -0
  857. package/esm/models/operations/search-linked-in-conversations.d.ts.map +1 -0
  858. package/esm/models/operations/search-linked-in-conversations.js +221 -0
  859. package/esm/models/operations/search-linked-in-conversations.js.map +1 -0
  860. package/esm/models/operations/search-linked-in-jobs.d.ts +327 -0
  861. package/esm/models/operations/search-linked-in-jobs.d.ts.map +1 -0
  862. package/esm/models/operations/search-linked-in-jobs.js +272 -0
  863. package/esm/models/operations/search-linked-in-jobs.js.map +1 -0
  864. package/esm/models/operations/search-linked-in-people.d.ts +316 -0
  865. package/esm/models/operations/search-linked-in-people.d.ts.map +1 -0
  866. package/esm/models/operations/search-linked-in-people.js +257 -0
  867. package/esm/models/operations/search-linked-in-people.js.map +1 -0
  868. package/esm/models/operations/search-linked-in-posts.d.ts +316 -0
  869. package/esm/models/operations/search-linked-in-posts.d.ts.map +1 -0
  870. package/esm/models/operations/search-linked-in-posts.js +270 -0
  871. package/esm/models/operations/search-linked-in-posts.js.map +1 -0
  872. package/esm/models/operations/search-linked-in.d.ts +545 -0
  873. package/esm/models/operations/search-linked-in.d.ts.map +1 -0
  874. package/esm/models/operations/search-linked-in.js +433 -0
  875. package/esm/models/operations/search-linked-in.js.map +1 -0
  876. package/esm/models/operations/search-sales-nav-companies.d.ts +310 -0
  877. package/esm/models/operations/search-sales-nav-companies.d.ts.map +1 -0
  878. package/esm/models/operations/search-sales-nav-companies.js +252 -0
  879. package/esm/models/operations/search-sales-nav-companies.js.map +1 -0
  880. package/esm/models/operations/search-sales-nav-people.d.ts +429 -0
  881. package/esm/models/operations/search-sales-nav-people.d.ts.map +1 -0
  882. package/esm/models/operations/search-sales-nav-people.js +314 -0
  883. package/esm/models/operations/search-sales-nav-people.js.map +1 -0
  884. package/esm/models/operations/search-sales-nav.d.ts +497 -0
  885. package/esm/models/operations/search-sales-nav.d.ts.map +1 -0
  886. package/esm/models/operations/search-sales-nav.js +358 -0
  887. package/esm/models/operations/search-sales-nav.js.map +1 -0
  888. package/esm/models/operations/send-linked-in-message.d.ts +212 -0
  889. package/esm/models/operations/send-linked-in-message.d.ts.map +1 -0
  890. package/esm/models/operations/send-linked-in-message.js +188 -0
  891. package/esm/models/operations/send-linked-in-message.js.map +1 -0
  892. package/esm/models/operations/send-typing-indicator.d.ts +185 -0
  893. package/esm/models/operations/send-typing-indicator.d.ts.map +1 -0
  894. package/esm/models/operations/send-typing-indicator.js +182 -0
  895. package/esm/models/operations/send-typing-indicator.js.map +1 -0
  896. package/esm/models/operations/star-conversation.d.ts +185 -0
  897. package/esm/models/operations/star-conversation.d.ts.map +1 -0
  898. package/esm/models/operations/star-conversation.js +177 -0
  899. package/esm/models/operations/star-conversation.js.map +1 -0
  900. package/esm/models/operations/sync-campaign-actions.d.ts +238 -0
  901. package/esm/models/operations/sync-campaign-actions.d.ts.map +1 -0
  902. package/esm/models/operations/sync-campaign-actions.js +216 -0
  903. package/esm/models/operations/sync-campaign-actions.js.map +1 -0
  904. package/esm/models/operations/unarchive-conversation.d.ts +185 -0
  905. package/esm/models/operations/unarchive-conversation.d.ts.map +1 -0
  906. package/esm/models/operations/unarchive-conversation.js +182 -0
  907. package/esm/models/operations/unarchive-conversation.js.map +1 -0
  908. package/esm/models/operations/unfollow-linked-in-company.d.ts +185 -0
  909. package/esm/models/operations/unfollow-linked-in-company.d.ts.map +1 -0
  910. package/esm/models/operations/unfollow-linked-in-company.js +189 -0
  911. package/esm/models/operations/unfollow-linked-in-company.js.map +1 -0
  912. package/esm/models/operations/unfollow-linked-in-profile.d.ts +186 -0
  913. package/esm/models/operations/unfollow-linked-in-profile.d.ts.map +1 -0
  914. package/esm/models/operations/unfollow-linked-in-profile.js +190 -0
  915. package/esm/models/operations/unfollow-linked-in-profile.js.map +1 -0
  916. package/esm/models/operations/unlike-linked-in-comment.d.ts +185 -0
  917. package/esm/models/operations/unlike-linked-in-comment.d.ts.map +1 -0
  918. package/esm/models/operations/unlike-linked-in-comment.js +182 -0
  919. package/esm/models/operations/unlike-linked-in-comment.js.map +1 -0
  920. package/esm/models/operations/unlike-linked-in-post.d.ts +185 -0
  921. package/esm/models/operations/unlike-linked-in-post.d.ts.map +1 -0
  922. package/esm/models/operations/unlike-linked-in-post.js +177 -0
  923. package/esm/models/operations/unlike-linked-in-post.js.map +1 -0
  924. package/esm/models/operations/unreact-to-message.d.ts +195 -0
  925. package/esm/models/operations/unreact-to-message.d.ts.map +1 -0
  926. package/esm/models/operations/unreact-to-message.js +179 -0
  927. package/esm/models/operations/unreact-to-message.js.map +1 -0
  928. package/esm/models/operations/unsave-linked-in-post.d.ts +185 -0
  929. package/esm/models/operations/unsave-linked-in-post.d.ts.map +1 -0
  930. package/esm/models/operations/unsave-linked-in-post.js +177 -0
  931. package/esm/models/operations/unsave-linked-in-post.js.map +1 -0
  932. package/esm/models/operations/unstar-conversation.d.ts +185 -0
  933. package/esm/models/operations/unstar-conversation.d.ts.map +1 -0
  934. package/esm/models/operations/unstar-conversation.js +177 -0
  935. package/esm/models/operations/unstar-conversation.js.map +1 -0
  936. package/esm/models/operations/update-linked-in-account.d.ts +201 -0
  937. package/esm/models/operations/update-linked-in-account.d.ts.map +1 -0
  938. package/esm/models/operations/update-linked-in-account.js +197 -0
  939. package/esm/models/operations/update-linked-in-account.js.map +1 -0
  940. package/esm/models/operations/upsert-contacts.d.ts +162 -0
  941. package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
  942. package/esm/models/operations/upsert-contacts.js +110 -0
  943. package/esm/models/operations/upsert-contacts.js.map +1 -0
  944. package/esm/models/operations/visit-linked-in-company.d.ts +310 -0
  945. package/esm/models/operations/visit-linked-in-company.d.ts.map +1 -0
  946. package/esm/models/operations/visit-linked-in-company.js +277 -0
  947. package/esm/models/operations/visit-linked-in-company.js.map +1 -0
  948. package/esm/models/operations/visit-linked-in-profile.d.ts +337 -0
  949. package/esm/models/operations/visit-linked-in-profile.d.ts.map +1 -0
  950. package/esm/models/operations/visit-linked-in-profile.js +293 -0
  951. package/esm/models/operations/visit-linked-in-profile.js.map +1 -0
  952. package/esm/models/operations/withdraw-linked-in-invitation.d.ts +186 -0
  953. package/esm/models/operations/withdraw-linked-in-invitation.d.ts.map +1 -0
  954. package/esm/models/operations/withdraw-linked-in-invitation.js +182 -0
  955. package/esm/models/operations/withdraw-linked-in-invitation.js.map +1 -0
  956. package/esm/sdk/actions.d.ts +33 -0
  957. package/esm/sdk/actions.d.ts.map +1 -0
  958. package/esm/sdk/actions.js +48 -0
  959. package/esm/sdk/actions.js.map +1 -0
  960. package/esm/sdk/campaigns.d.ts +1 -1
  961. package/esm/sdk/campaigns.d.ts.map +1 -1
  962. package/esm/sdk/campaigns.js +3 -3
  963. package/esm/sdk/campaigns.js.map +1 -1
  964. package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
  965. package/esm/sdk/chat.d.ts.map +1 -0
  966. package/esm/sdk/chat.js +55 -0
  967. package/esm/sdk/chat.js.map +1 -0
  968. package/esm/sdk/company-pages.d.ts +33 -0
  969. package/esm/sdk/company-pages.d.ts.map +1 -0
  970. package/esm/sdk/company-pages.js +48 -0
  971. package/esm/sdk/company-pages.js.map +1 -0
  972. package/esm/sdk/contacts.d.ts +12 -0
  973. package/esm/sdk/contacts.d.ts.map +1 -0
  974. package/esm/sdk/contacts.js +18 -0
  975. package/esm/sdk/contacts.js.map +1 -0
  976. package/esm/sdk/linked-in-actions-2.d.ts +47 -0
  977. package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
  978. package/esm/sdk/linked-in-actions-2.js +68 -0
  979. package/esm/sdk/linked-in-actions-2.js.map +1 -0
  980. package/esm/sdk/linked-in-chat-2.d.ts +40 -0
  981. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
  982. package/esm/sdk/linked-in-chat-2.js +58 -0
  983. package/esm/sdk/linked-in-chat-2.js.map +1 -0
  984. package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
  985. package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
  986. package/esm/sdk/linked-in-scrapers-2.js +28 -0
  987. package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
  988. package/esm/sdk/linked-in-search-1.d.ts +149 -0
  989. package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
  990. package/esm/sdk/linked-in-search-1.js +161 -0
  991. package/esm/sdk/linked-in-search-1.js.map +1 -0
  992. package/esm/sdk/linkedin-actions-1.d.ts +96 -0
  993. package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
  994. package/esm/sdk/linkedin-actions-1.js +138 -0
  995. package/esm/sdk/linkedin-actions-1.js.map +1 -0
  996. package/esm/sdk/linkedin-chat-1.d.ts +58 -0
  997. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
  998. package/esm/sdk/linkedin-chat-1.js +82 -0
  999. package/esm/sdk/linkedin-chat-1.js.map +1 -0
  1000. package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
  1001. package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
  1002. package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
  1003. package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
  1004. package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
  1005. package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
  1006. package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
  1007. package/esm/sdk/linkedin-search-2.js.map +1 -0
  1008. package/esm/sdk/profile.d.ts +43 -1
  1009. package/esm/sdk/profile.d.ts.map +1 -1
  1010. package/esm/sdk/profile.js +63 -3
  1011. package/esm/sdk/profile.js.map +1 -1
  1012. package/esm/sdk/sales-nav.d.ts +47 -0
  1013. package/esm/sdk/sales-nav.d.ts.map +1 -0
  1014. package/esm/sdk/sales-nav.js +53 -0
  1015. package/esm/sdk/sales-nav.js.map +1 -0
  1016. package/esm/sdk/sales-navigator-search.d.ts +55 -0
  1017. package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
  1018. package/esm/sdk/sales-navigator-search.js +64 -0
  1019. package/esm/sdk/sales-navigator-search.js.map +1 -0
  1020. package/esm/sdk/scrapers.d.ts +19 -0
  1021. package/esm/sdk/scrapers.d.ts.map +1 -0
  1022. package/esm/sdk/scrapers.js +28 -0
  1023. package/esm/sdk/scrapers.js.map +1 -0
  1024. package/esm/sdk/sdk.d.ts +41 -8
  1025. package/esm/sdk/sdk.d.ts.map +1 -1
  1026. package/esm/sdk/sdk.js +63 -8
  1027. package/esm/sdk/sdk.js.map +1 -1
  1028. package/esm/types/discriminated-union.d.ts +25 -0
  1029. package/esm/types/discriminated-union.d.ts.map +1 -0
  1030. package/esm/types/discriminated-union.js +61 -0
  1031. package/esm/types/discriminated-union.js.map +1 -0
  1032. package/esm/types/smart-union.d.ts.map +1 -1
  1033. package/esm/types/smart-union.js +2 -1
  1034. package/esm/types/smart-union.js.map +1 -1
  1035. package/jsr.json +1 -1
  1036. package/package.json +1 -1
  1037. package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +49 -37
  1038. package/src/funcs/actions-follow-company.ts +224 -0
  1039. package/src/funcs/actions-list-sent-invitations.ts +242 -0
  1040. package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +43 -37
  1041. package/src/funcs/campaigns-filter.ts +36 -36
  1042. package/src/funcs/campaigns-get-stats.ts +39 -36
  1043. package/src/funcs/campaigns-get-status.ts +39 -36
  1044. package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +43 -37
  1045. package/src/funcs/chat-archive.ts +221 -0
  1046. package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +52 -37
  1047. package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +61 -37
  1048. package/src/funcs/chat-unreact.ts +218 -0
  1049. package/src/funcs/company-pages-get-analytics.ts +227 -0
  1050. package/src/funcs/company-pages-get-permissions.ts +236 -0
  1051. package/src/funcs/company-pages-get-posts.ts +221 -0
  1052. package/src/funcs/company-pages-list.ts +210 -0
  1053. package/src/funcs/contacts-upsert.ts +161 -0
  1054. package/src/funcs/linked-in-actions-create-comment.ts +224 -0
  1055. package/src/funcs/linked-in-actions-decline-invitation.ts +236 -0
  1056. package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +43 -37
  1057. package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +44 -38
  1058. package/src/funcs/linked-in-actions-save-post.ts +218 -0
  1059. package/src/funcs/linked-in-actions-unfollow-profile.ts +227 -0
  1060. package/src/funcs/linked-in-chat-list-starred.ts +235 -0
  1061. package/src/funcs/linked-in-chat-mark-seen.ts +224 -0
  1062. package/src/funcs/linked-in-chat-star.ts +218 -0
  1063. package/src/funcs/linked-in-chat-unarchive.ts +224 -0
  1064. package/src/funcs/linked-in-chat-unstar.ts +218 -0
  1065. package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +62 -37
  1066. package/src/funcs/linked-in-scrapers-get-feed.ts +223 -0
  1067. package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +65 -37
  1068. package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +49 -37
  1069. package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +37 -37
  1070. package/src/funcs/linkedin-actions-accept-invitation.ts +51 -36
  1071. package/src/funcs/linkedin-actions-edit-comment.ts +221 -0
  1072. package/src/funcs/linkedin-actions-edit-post.ts +218 -0
  1073. package/src/funcs/linkedin-actions-follow-profile.ts +224 -0
  1074. package/src/funcs/linkedin-actions-like-post.ts +218 -0
  1075. package/src/funcs/linkedin-actions-list-invitations.ts +48 -36
  1076. package/src/funcs/linkedin-actions-reply-to-comment.ts +48 -36
  1077. package/src/funcs/linkedin-actions-repost-post.ts +218 -0
  1078. package/src/funcs/linkedin-actions-unfollow-company.ts +227 -0
  1079. package/src/funcs/linkedin-actions-unlike-comment.ts +224 -0
  1080. package/src/funcs/linkedin-actions-unlike-post.ts +218 -0
  1081. package/src/funcs/linkedin-actions-unsave-post.ts +218 -0
  1082. package/src/funcs/linkedin-actions-withdraw-invitation.ts +242 -0
  1083. package/src/funcs/linkedin-chat-get-messages.ts +48 -36
  1084. package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
  1085. package/src/funcs/linkedin-chat-list-archived.ts +238 -0
  1086. package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +49 -37
  1087. package/src/funcs/linkedin-chat-mark-all-read.ts +214 -0
  1088. package/src/funcs/linkedin-chat-react.ts +214 -0
  1089. package/src/funcs/linkedin-chat-send-typing-indicator.ts +221 -0
  1090. package/src/funcs/linkedin-scrapers-collect-comments.ts +48 -36
  1091. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +242 -0
  1092. package/src/funcs/linkedin-scrapers-collect-likes.ts +46 -37
  1093. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +236 -0
  1094. package/src/funcs/linkedin-scrapers-visit-company.ts +45 -36
  1095. package/src/funcs/linkedin-search-search-by-url.ts +42 -36
  1096. package/src/funcs/linkedin-search-search-jobs.ts +39 -36
  1097. package/src/funcs/linkedin-search-search-people.ts +45 -36
  1098. package/src/funcs/linkedin-search-search-posts.ts +42 -36
  1099. package/src/funcs/profile-get-credits.ts +36 -36
  1100. package/src/funcs/profile-get-follower-analytics.ts +223 -0
  1101. package/src/funcs/profile-get-followers.ts +48 -36
  1102. package/src/funcs/profile-get-limits.ts +36 -36
  1103. package/src/funcs/profile-get-post-analytics.ts +230 -0
  1104. package/src/funcs/profile-get-posts.ts +39 -36
  1105. package/src/funcs/profile-get-profile-views.ts +211 -0
  1106. package/src/funcs/profile-get-search-appearances.ts +223 -0
  1107. package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +46 -37
  1108. package/src/funcs/profile-list-accounts.ts +204 -0
  1109. package/src/funcs/profile-refresh.ts +51 -36
  1110. package/src/funcs/profile-update-account.ts +224 -0
  1111. package/src/funcs/sales-nav-search-people.ts +259 -0
  1112. package/src/funcs/sales-navigator-search-search-companies.ts +242 -0
  1113. package/src/funcs/sales-navigator-search-search.ts +235 -0
  1114. package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +46 -37
  1115. package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +46 -37
  1116. package/src/lib/config.ts +4 -4
  1117. package/src/models/errors/accept-linked-in-invitation.ts +505 -0
  1118. package/src/models/errors/archive-conversation.ts +504 -0
  1119. package/src/models/errors/collect-linked-in-comment-replies.ts +512 -0
  1120. package/src/models/errors/collect-linked-in-comments.ts +506 -0
  1121. package/src/models/errors/collect-linked-in-hashtag-posts.ts +508 -0
  1122. package/src/models/errors/collect-linked-in-likes.ts +162 -152
  1123. package/src/models/errors/collect-linked-in-posts.ts +504 -0
  1124. package/src/models/errors/collect-saved-linked-in-posts.ts +504 -0
  1125. package/src/models/errors/comment-on-linked-in-post.ts +507 -0
  1126. package/src/models/errors/connect-linked-in-profile.ts +508 -0
  1127. package/src/models/errors/decline-linked-in-invitation.ts +504 -0
  1128. package/src/models/errors/edit-linked-in-comment.ts +504 -0
  1129. package/src/models/errors/edit-linked-in-post.ts +504 -0
  1130. package/src/models/errors/filter-campaign.ts +500 -0
  1131. package/src/models/errors/find-linked-in-conversation.ts +505 -0
  1132. package/src/models/errors/follow-linked-in-company.ts +507 -0
  1133. package/src/models/errors/follow-linked-in-profile.ts +507 -0
  1134. package/src/models/errors/get-campaign-stats.ts +504 -0
  1135. package/src/models/errors/get-campaign-status.ts +508 -0
  1136. package/src/models/errors/get-company-page-analytics.ts +506 -0
  1137. package/src/models/errors/get-company-page-permissions.ts +504 -0
  1138. package/src/models/errors/get-company-page-posts.ts +504 -0
  1139. package/src/models/errors/get-conversation-messages.ts +506 -0
  1140. package/src/models/errors/get-linked-in-feed.ts +502 -0
  1141. package/src/models/errors/get-linked-in-follower-analytics.ts +511 -0
  1142. package/src/models/errors/get-linked-in-post-analytics.ts +505 -0
  1143. package/src/models/errors/get-linked-in-profile-views.ts +506 -0
  1144. package/src/models/errors/get-linked-in-search-appearances.ts +511 -0
  1145. package/src/models/errors/get-my-credits.ts +500 -0
  1146. package/src/models/errors/get-my-limits.ts +500 -0
  1147. package/src/models/errors/get-my-linked-in-followers.ts +508 -0
  1148. package/src/models/errors/get-my-linked-in-posts.ts +506 -0
  1149. package/src/models/errors/get-my-linked-in-profile.ts +504 -0
  1150. package/src/models/errors/get-unread-count.ts +500 -0
  1151. package/src/models/errors/index.ts +77 -0
  1152. package/src/models/errors/like-linked-in-comment.ts +504 -0
  1153. package/src/models/errors/like-linked-in-post.ts +504 -0
  1154. package/src/models/errors/list-archived-conversations.ts +504 -0
  1155. package/src/models/errors/list-inbox-conversations.ts +508 -0
  1156. package/src/models/errors/list-linked-in-accounts.ts +504 -0
  1157. package/src/models/errors/list-linked-in-company-pages.ts +505 -0
  1158. package/src/models/errors/list-linked-in-invitations.ts +506 -0
  1159. package/src/models/errors/list-sent-linked-in-invitations.ts +508 -0
  1160. package/src/models/errors/list-starred-conversations.ts +505 -0
  1161. package/src/models/errors/mark-all-conversations-read.ts +505 -0
  1162. package/src/models/errors/mark-conversation-seen.ts +504 -0
  1163. package/src/models/errors/publish-linked-in-post.ts +504 -0
  1164. package/src/models/errors/react-to-message.ts +500 -0
  1165. package/src/models/errors/refresh-my-linked-in-profile.ts +505 -0
  1166. package/src/models/errors/reply-to-linked-in-comment.ts +508 -0
  1167. package/src/models/errors/repost-linked-in-post.ts +506 -0
  1168. package/src/models/errors/resolve-linked-in-search-parameters.ts +519 -0
  1169. package/src/models/errors/save-linked-in-post.ts +504 -0
  1170. package/src/models/errors/search-linked-in-by-url.ts +504 -0
  1171. package/src/models/errors/search-linked-in-companies.ts +506 -0
  1172. package/src/models/errors/search-linked-in-conversations.ts +508 -0
  1173. package/src/models/errors/search-linked-in-jobs.ts +506 -0
  1174. package/src/models/errors/search-linked-in-people.ts +504 -0
  1175. package/src/models/errors/search-linked-in-posts.ts +504 -0
  1176. package/src/models/errors/search-linked-in.ts +500 -0
  1177. package/src/models/errors/search-sales-nav-companies.ts +506 -0
  1178. package/src/models/errors/search-sales-nav-people.ts +504 -0
  1179. package/src/models/errors/search-sales-nav.ts +500 -0
  1180. package/src/models/errors/send-linked-in-message.ts +504 -0
  1181. package/src/models/errors/send-typing-indicator.ts +504 -0
  1182. package/src/models/errors/star-conversation.ts +504 -0
  1183. package/src/models/errors/sync-campaign-actions.ts +504 -0
  1184. package/src/models/errors/unarchive-conversation.ts +507 -0
  1185. package/src/models/errors/unfollow-linked-in-company.ts +506 -0
  1186. package/src/models/errors/unfollow-linked-in-profile.ts +506 -0
  1187. package/src/models/errors/unlike-linked-in-comment.ts +507 -0
  1188. package/src/models/errors/unlike-linked-in-post.ts +506 -0
  1189. package/src/models/errors/unreact-to-message.ts +504 -0
  1190. package/src/models/errors/unsave-linked-in-post.ts +506 -0
  1191. package/src/models/errors/unstar-conversation.ts +506 -0
  1192. package/src/models/errors/update-linked-in-account.ts +507 -0
  1193. package/src/models/errors/visit-linked-in-company.ts +504 -0
  1194. package/src/models/errors/visit-linked-in-profile.ts +504 -0
  1195. package/src/models/errors/withdraw-linked-in-invitation.ts +508 -0
  1196. package/src/models/operations/accept-linked-in-invitation.ts +668 -0
  1197. package/src/models/operations/archive-conversation.ts +603 -0
  1198. package/src/models/operations/collect-linked-in-comment-replies.ts +832 -0
  1199. package/src/models/operations/collect-linked-in-comments.ts +801 -0
  1200. package/src/models/operations/collect-linked-in-hashtag-posts.ts +676 -0
  1201. package/src/models/operations/collect-linked-in-likes.ts +682 -0
  1202. package/src/models/operations/collect-linked-in-posts.ts +702 -0
  1203. package/src/models/operations/collect-saved-linked-in-posts.ts +653 -0
  1204. package/src/models/operations/comment-on-linked-in-post.ts +649 -0
  1205. package/src/models/operations/connect-linked-in-profile.ts +646 -0
  1206. package/src/models/operations/decline-linked-in-invitation.ts +657 -0
  1207. package/src/models/operations/edit-linked-in-comment.ts +615 -0
  1208. package/src/models/operations/edit-linked-in-post.ts +589 -0
  1209. package/src/models/operations/filter-campaign.ts +610 -0
  1210. package/src/models/operations/find-linked-in-conversation.ts +809 -0
  1211. package/src/models/operations/follow-linked-in-company.ts +613 -0
  1212. package/src/models/operations/follow-linked-in-profile.ts +615 -0
  1213. package/src/models/operations/get-campaign-stats.ts +617 -0
  1214. package/src/models/operations/get-campaign-status.ts +656 -0
  1215. package/src/models/operations/get-company-page-analytics.ts +736 -0
  1216. package/src/models/operations/get-company-page-permissions.ts +780 -0
  1217. package/src/models/operations/get-company-page-posts.ts +672 -0
  1218. package/src/models/operations/get-conversation-messages.ts +763 -0
  1219. package/src/models/operations/get-linked-in-feed.ts +608 -0
  1220. package/src/models/operations/get-linked-in-follower-analytics.ts +664 -0
  1221. package/src/models/operations/get-linked-in-post-analytics.ts +644 -0
  1222. package/src/models/operations/get-linked-in-profile-views.ts +624 -0
  1223. package/src/models/operations/get-linked-in-search-appearances.ts +664 -0
  1224. package/src/models/operations/get-my-credits.ts +580 -0
  1225. package/src/models/operations/get-my-limits.ts +1086 -0
  1226. package/src/models/operations/get-my-linked-in-followers.ts +677 -0
  1227. package/src/models/operations/get-my-linked-in-posts.ts +670 -0
  1228. package/src/models/operations/get-my-linked-in-profile.ts +911 -0
  1229. package/src/models/operations/get-unread-count.ts +570 -0
  1230. package/src/models/operations/index.ts +79 -2
  1231. package/src/models/operations/like-linked-in-comment.ts +659 -0
  1232. package/src/models/operations/like-linked-in-post.ts +642 -0
  1233. package/src/models/operations/list-archived-conversations.ts +755 -0
  1234. package/src/models/operations/list-inbox-conversations.ts +735 -0
  1235. package/src/models/operations/list-linked-in-accounts.ts +630 -0
  1236. package/src/models/operations/list-linked-in-company-pages.ts +660 -0
  1237. package/src/models/operations/list-linked-in-invitations.ts +738 -0
  1238. package/src/models/operations/list-sent-linked-in-invitations.ts +672 -0
  1239. package/src/models/operations/list-starred-conversations.ts +754 -0
  1240. package/src/models/operations/mark-all-conversations-read.ts +633 -0
  1241. package/src/models/operations/mark-conversation-seen.ts +613 -0
  1242. package/src/models/operations/publish-linked-in-post.ts +745 -0
  1243. package/src/models/operations/react-to-message.ts +586 -0
  1244. package/src/models/operations/refresh-my-linked-in-profile.ts +958 -0
  1245. package/src/models/operations/reply-to-linked-in-comment.ts +655 -0
  1246. package/src/models/operations/repost-linked-in-post.ts +610 -0
  1247. package/src/models/operations/resolve-linked-in-search-parameters.ts +749 -0
  1248. package/src/models/operations/save-linked-in-post.ts +583 -0
  1249. package/src/models/operations/search-linked-in-by-url.ts +977 -0
  1250. package/src/models/operations/search-linked-in-companies.ts +779 -0
  1251. package/src/models/operations/search-linked-in-conversations.ts +779 -0
  1252. package/src/models/operations/search-linked-in-jobs.ts +836 -0
  1253. package/src/models/operations/search-linked-in-people.ts +853 -0
  1254. package/src/models/operations/search-linked-in-posts.ts +840 -0
  1255. package/src/models/operations/search-linked-in.ts +1238 -0
  1256. package/src/models/operations/search-sales-nav-companies.ts +848 -0
  1257. package/src/models/operations/search-sales-nav-people.ts +1074 -0
  1258. package/src/models/operations/search-sales-nav.ts +1175 -0
  1259. package/src/models/operations/send-linked-in-message.ts +636 -0
  1260. package/src/models/operations/send-typing-indicator.ts +603 -0
  1261. package/src/models/operations/star-conversation.ts +583 -0
  1262. package/src/models/operations/sync-campaign-actions.ts +707 -0
  1263. package/src/models/operations/unarchive-conversation.ts +613 -0
  1264. package/src/models/operations/unfollow-linked-in-company.ts +629 -0
  1265. package/src/models/operations/unfollow-linked-in-profile.ts +631 -0
  1266. package/src/models/operations/unlike-linked-in-comment.ts +613 -0
  1267. package/src/models/operations/unlike-linked-in-post.ts +594 -0
  1268. package/src/models/operations/unreact-to-message.ts +595 -0
  1269. package/src/models/operations/unsave-linked-in-post.ts +594 -0
  1270. package/src/models/operations/unstar-conversation.ts +594 -0
  1271. package/src/models/operations/update-linked-in-account.ts +653 -0
  1272. package/src/models/operations/upsert-contacts.ts +279 -0
  1273. package/src/models/operations/visit-linked-in-company.ts +900 -0
  1274. package/src/models/operations/visit-linked-in-profile.ts +950 -0
  1275. package/src/models/operations/withdraw-linked-in-invitation.ts +655 -0
  1276. package/src/sdk/actions.ts +81 -0
  1277. package/src/sdk/campaigns.ts +3 -3
  1278. package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
  1279. package/src/sdk/company-pages.ts +79 -0
  1280. package/src/sdk/contacts.ts +27 -0
  1281. package/src/sdk/linked-in-actions-2.ts +117 -0
  1282. package/src/sdk/linked-in-chat-2.ts +99 -0
  1283. package/src/sdk/linked-in-scrapers-2.ts +45 -0
  1284. package/src/sdk/linked-in-search-1.ts +186 -0
  1285. package/src/sdk/linkedin-actions-1.ts +243 -0
  1286. package/src/sdk/linkedin-chat-1.ts +139 -0
  1287. package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
  1288. package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
  1289. package/src/sdk/profile.ts +109 -3
  1290. package/src/sdk/sales-nav.ts +62 -0
  1291. package/src/sdk/sales-navigator-search.ts +81 -0
  1292. package/src/sdk/scrapers.ts +45 -0
  1293. package/src/sdk/sdk.ts +84 -16
  1294. package/src/types/discriminated-union.ts +101 -0
  1295. package/src/types/smart-union.ts +2 -1
  1296. package/esm/funcs/campaigns-sync-actions.d.ts.map +0 -1
  1297. package/esm/funcs/campaigns-sync-actions.js.map +0 -1
  1298. package/esm/funcs/linkedin-actions-connect-profile.d.ts.map +0 -1
  1299. package/esm/funcs/linkedin-actions-publish-post.d.ts.map +0 -1
  1300. package/esm/funcs/linkedin-actions-send-message.d.ts.map +0 -1
  1301. package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
  1302. package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
  1303. package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
  1304. package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
  1305. package/esm/funcs/linkedin-chat-search-conversations.d.ts.map +0 -1
  1306. package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
  1307. package/esm/funcs/linkedin-scrapers-collect-posts.d.ts.map +0 -1
  1308. package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
  1309. package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
  1310. package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
  1311. package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
  1312. package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
  1313. package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
  1314. package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
  1315. package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
  1316. package/esm/models/operations/get-campaign-stats-response.d.ts +0 -1606
  1317. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  1318. package/esm/models/operations/get-campaign-stats-response.js +0 -973
  1319. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  1320. package/esm/models/operations/send-linked-in-message-response.d.ts +0 -2353
  1321. package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
  1322. package/esm/models/operations/send-linked-in-message-response.js +0 -1585
  1323. package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
  1324. package/esm/sdk/linkedin-actions.d.ts +0 -54
  1325. package/esm/sdk/linkedin-actions.d.ts.map +0 -1
  1326. package/esm/sdk/linkedin-actions.js +0 -78
  1327. package/esm/sdk/linkedin-actions.js.map +0 -1
  1328. package/esm/sdk/linkedin-chat.d.ts.map +0 -1
  1329. package/esm/sdk/linkedin-chat.js +0 -59
  1330. package/esm/sdk/linkedin-chat.js.map +0 -1
  1331. package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
  1332. package/esm/sdk/linkedin-scrapers.js.map +0 -1
  1333. package/esm/sdk/linkedin-search.d.ts.map +0 -1
  1334. package/esm/sdk/linkedin-search.js.map +0 -1
  1335. package/src/models/operations/get-campaign-stats-response.ts +0 -3335
  1336. package/src/models/operations/send-linked-in-message-response.ts +0 -4904
  1337. package/src/sdk/linkedin-actions.ts +0 -135
@@ -1,4904 +0,0 @@
1
- /*
2
- * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
- */
4
-
5
- import * as z from "zod/v4-mini";
6
- import { safeParse } from "../../lib/schemas.js";
7
- import * as openEnums from "../../types/enums.js";
8
- import { ClosedEnum, OpenEnum } from "../../types/enums.js";
9
- import { Result as SafeParseResult } from "../../types/fp.js";
10
- import * as types from "../../types/primitives.js";
11
- import { smartUnion } from "../../types/smart-union.js";
12
- import { SDKValidationError } from "../errors/sdk-validation-error.js";
13
-
14
- export type CollectLinkedInLikesRequest = {
15
- /**
16
- * LinkedIn post URL to inspect for reactions.
17
- */
18
- postUrl: string;
19
- /**
20
- * Pagination offset (multiples of 200).
21
- */
22
- start?: number | undefined;
23
- /**
24
- * Number of likes to fetch per page (0-200, default 200). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
25
- */
26
- count?: number | undefined;
27
- };
28
-
29
- export type CollectLinkedInLikesInternalServerErrorDetails =
30
- | string
31
- | Array<string>;
32
-
33
- export type CollectLinkedInLikesInternalServerErrorError = {
34
- code: string;
35
- message: string;
36
- docs?: string | undefined;
37
- details?: string | Array<string> | undefined;
38
- };
39
-
40
- export const CollectLinkedInLikesCode = {
41
- RateLimitExceeded: "rate_limit_exceeded",
42
- } as const;
43
- export type CollectLinkedInLikesCode = ClosedEnum<
44
- typeof CollectLinkedInLikesCode
45
- >;
46
-
47
- /**
48
- * Current and max daily usage (null if no daily cap).
49
- */
50
- export type CollectLinkedInLikesDaily = {
51
- current: number;
52
- limit: number;
53
- };
54
-
55
- /**
56
- * Current and max weekly usage (null if no weekly cap).
57
- */
58
- export type CollectLinkedInLikesWeekly = {
59
- current: number;
60
- limit: number;
61
- };
62
-
63
- export type CollectLinkedInLikesTooManyRequestsError = {
64
- code: CollectLinkedInLikesCode;
65
- message: string;
66
- docs?: string | undefined;
67
- /**
68
- * Seconds to wait before retrying.
69
- */
70
- retryAfter: number;
71
- /**
72
- * Current and max daily usage (null if no daily cap).
73
- */
74
- daily: CollectLinkedInLikesDaily | null;
75
- /**
76
- * Current and max weekly usage (null if no weekly cap).
77
- */
78
- weekly: CollectLinkedInLikesWeekly | null;
79
- };
80
-
81
- export type CollectLinkedInLikesUnprocessableEntityDetails =
82
- | string
83
- | Array<string>;
84
-
85
- export type CollectLinkedInLikesUnprocessableEntityError = {
86
- code: string;
87
- message: string;
88
- docs?: string | undefined;
89
- details?: string | Array<string> | undefined;
90
- };
91
-
92
- export type CollectLinkedInLikesGoneDetails = string | Array<string>;
93
-
94
- export type CollectLinkedInLikesGoneError = {
95
- code: string;
96
- message: string;
97
- docs?: string | undefined;
98
- details?: string | Array<string> | undefined;
99
- };
100
-
101
- export type CollectLinkedInLikesConflictDetails = string | Array<string>;
102
-
103
- export type CollectLinkedInLikesConflictError = {
104
- code: string;
105
- message: string;
106
- docs?: string | undefined;
107
- details?: string | Array<string> | undefined;
108
- };
109
-
110
- export type CollectLinkedInLikesNotFoundDetails = string | Array<string>;
111
-
112
- export type CollectLinkedInLikesNotFoundError = {
113
- code: string;
114
- message: string;
115
- docs?: string | undefined;
116
- details?: string | Array<string> | undefined;
117
- };
118
-
119
- export type CollectLinkedInLikesForbiddenDetails = string | Array<string>;
120
-
121
- export type CollectLinkedInLikesForbiddenError = {
122
- code: string;
123
- message: string;
124
- docs?: string | undefined;
125
- details?: string | Array<string> | undefined;
126
- };
127
-
128
- export type CollectLinkedInLikesUnauthorizedDetails = string | Array<string>;
129
-
130
- export type CollectLinkedInLikesUnauthorizedError = {
131
- code: string;
132
- message: string;
133
- docs?: string | undefined;
134
- details?: string | Array<string> | undefined;
135
- };
136
-
137
- export type CollectLinkedInLikesBadRequestDetails = string | Array<string>;
138
-
139
- export type CollectLinkedInLikesBadRequestError = {
140
- code: string;
141
- message: string;
142
- docs?: string | undefined;
143
- details?: string | Array<string> | undefined;
144
- };
145
-
146
- export const CollectLinkedInLikesType = {
147
- Like: "like",
148
- } as const;
149
- export type CollectLinkedInLikesType = ClosedEnum<
150
- typeof CollectLinkedInLikesType
151
- >;
152
-
153
- export type CollectLinkedInLikesProfile = {
154
- name: string;
155
- headline: string | null;
156
- profileUrl: string | null;
157
- imageUrl: string | null;
158
- type: CollectLinkedInLikesType;
159
- };
160
-
161
- /**
162
- * List of profiles who liked the post
163
- */
164
- export type CollectLinkedInLikesResponse = {
165
- success: boolean;
166
- profiles: Array<CollectLinkedInLikesProfile>;
167
- count: number;
168
- total: number;
169
- start: number;
170
- hasMore: boolean;
171
- /**
172
- * The total from your last call to this endpoint for the same post (null on first call). Compare with total to detect new likes without client-side tracking.
173
- */
174
- previousTotal: number | null;
175
- /**
176
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
177
- */
178
- creditsUsed: number;
179
- /**
180
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
181
- */
182
- retryAfter: number;
183
- };
184
-
185
- export type CollectLinkedInCommentsRequest = {
186
- /**
187
- * LinkedIn post URL to inspect for comments.
188
- */
189
- postUrl: string;
190
- /**
191
- * Pagination offset (multiples of 100).
192
- */
193
- start?: number | undefined;
194
- /**
195
- * Number of comments to fetch per page (0-100, default 100). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed — can call count=100 immediately after).
196
- */
197
- count?: number | undefined;
198
- /**
199
- * When provided, each profile in the response includes actionsCompleted (message/reply/like/visit/connect booleans) and knownDistance (cached memberDistance from recent visits, null if not cached). Enables campaign-aware scraping without manual cross-referencing.
200
- */
201
- campaignSlug?: string | undefined;
202
- };
203
-
204
- export const CollectLinkedInCommentsType = {
205
- Comment: "comment",
206
- } as const;
207
- export type CollectLinkedInCommentsType = ClosedEnum<
208
- typeof CollectLinkedInCommentsType
209
- >;
210
-
211
- /**
212
- * Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
213
- */
214
- export type CollectLinkedInCommentsActionsCompleted = {
215
- message: boolean;
216
- reply: boolean;
217
- like: boolean;
218
- visit: boolean;
219
- connect: boolean;
220
- };
221
-
222
- export type CollectLinkedInCommentsProfile = {
223
- name: string;
224
- headline: string | null;
225
- profileUrl: string | null;
226
- imageUrl: string | null;
227
- type: CollectLinkedInCommentsType;
228
- commentText?: string | undefined;
229
- timestamp: number | null;
230
- isEdited?: boolean | undefined;
231
- /**
232
- * Full comment URN — use directly for /reply and /like endpoints. Do NOT reconstruct from hash fields.
233
- */
234
- commentUrn?: string | undefined;
235
- /**
236
- * SHA256 hash of commentUrn — use for dedup slugs only, not for building URNs.
237
- */
238
- commentHash?: string | undefined;
239
- /**
240
- * True if the commenter is the post author.
241
- */
242
- isPostAuthor?: boolean | undefined;
243
- /**
244
- * Number of replies to this comment.
245
- */
246
- repliesCount?: number | undefined;
247
- /**
248
- * True if the post author already replied to this comment.
249
- */
250
- hasReplyFromPostAuthor?: boolean | undefined;
251
- postUrn?: string | undefined;
252
- /**
253
- * SHA256 hash of postUrn — use for dedup slugs only.
254
- */
255
- postHash?: string | undefined;
256
- /**
257
- * Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
258
- */
259
- actionsCompleted?: CollectLinkedInCommentsActionsCompleted | undefined;
260
- /**
261
- * Cached memberDistance from a recent profile visit (1 = connected, 2 = 2nd degree, etc.). null if campaignSlug not provided or profile not visited recently.
262
- */
263
- knownDistance: number | null;
264
- };
265
-
266
- /**
267
- * List of profiles who commented on the post
268
- */
269
- export type CollectLinkedInCommentsResponse = {
270
- success: boolean;
271
- profiles: Array<CollectLinkedInCommentsProfile>;
272
- count: number;
273
- total: number;
274
- start: number;
275
- hasMore: boolean;
276
- /**
277
- * The total from your last call to this endpoint for the same post (null on first call). Compare with total to detect new comments without client-side tracking.
278
- */
279
- previousTotal: number | null;
280
- /**
281
- * Number of returned profiles that already have a completed 'message' action in this campaign. Only present when campaignSlug is provided.
282
- */
283
- processedCount?: number | undefined;
284
- /**
285
- * Number of returned profiles that have NOT yet been messaged in this campaign. Only present when campaignSlug is provided.
286
- */
287
- newCount?: number | undefined;
288
- /**
289
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
290
- */
291
- creditsUsed: number;
292
- /**
293
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
294
- */
295
- retryAfter: number;
296
- };
297
-
298
- export type CollectLinkedInCommentRepliesRequest = {
299
- /**
300
- * Comment URN returned by the comments endpoint (e.g., 'urn:li:comment:(activity:123456,789)').
301
- */
302
- commentUrn: string;
303
- /**
304
- * Pagination offset (default 0).
305
- */
306
- start?: number | undefined;
307
- /**
308
- * Number of replies to fetch per page (0-100, default 100). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
309
- */
310
- count?: number | undefined;
311
- };
312
-
313
- export const CollectLinkedInCommentRepliesType = {
314
- Comment: "comment",
315
- } as const;
316
- export type CollectLinkedInCommentRepliesType = ClosedEnum<
317
- typeof CollectLinkedInCommentRepliesType
318
- >;
319
-
320
- /**
321
- * Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
322
- */
323
- export type CollectLinkedInCommentRepliesActionsCompleted = {
324
- message: boolean;
325
- reply: boolean;
326
- like: boolean;
327
- visit: boolean;
328
- connect: boolean;
329
- };
330
-
331
- export type Reply = {
332
- name: string;
333
- headline: string | null;
334
- profileUrl: string | null;
335
- imageUrl: string | null;
336
- type: CollectLinkedInCommentRepliesType;
337
- commentText?: string | undefined;
338
- timestamp: number | null;
339
- isEdited?: boolean | undefined;
340
- /**
341
- * Full comment URN — use directly for /reply and /like endpoints. Do NOT reconstruct from hash fields.
342
- */
343
- commentUrn?: string | undefined;
344
- /**
345
- * SHA256 hash of commentUrn — use for dedup slugs only, not for building URNs.
346
- */
347
- commentHash?: string | undefined;
348
- /**
349
- * True if the commenter is the post author.
350
- */
351
- isPostAuthor?: boolean | undefined;
352
- /**
353
- * Number of replies to this comment.
354
- */
355
- repliesCount?: number | undefined;
356
- /**
357
- * True if the post author already replied to this comment.
358
- */
359
- hasReplyFromPostAuthor?: boolean | undefined;
360
- postUrn?: string | undefined;
361
- /**
362
- * SHA256 hash of postUrn — use for dedup slugs only.
363
- */
364
- postHash?: string | undefined;
365
- /**
366
- * Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
367
- */
368
- actionsCompleted?: CollectLinkedInCommentRepliesActionsCompleted | undefined;
369
- /**
370
- * Cached memberDistance from a recent profile visit (1 = connected, 2 = 2nd degree, etc.). null if campaignSlug not provided or profile not visited recently.
371
- */
372
- knownDistance: number | null;
373
- };
374
-
375
- /**
376
- * List of replies to the comment
377
- */
378
- export type CollectLinkedInCommentRepliesResponse = {
379
- success: boolean;
380
- replies: Array<Reply>;
381
- count: number;
382
- total: number;
383
- start: number;
384
- hasMore: boolean;
385
- parentCommentUrn: string;
386
- /**
387
- * The total from your last call to this endpoint for the same comment (null on first call). Compare with total to detect new replies without client-side tracking.
388
- */
389
- previousTotal: number | null;
390
- /**
391
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
392
- */
393
- creditsUsed: number;
394
- /**
395
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
396
- */
397
- retryAfter: number;
398
- };
399
-
400
- export type CollectLinkedInPostsRequest = {
401
- /**
402
- * LinkedIn profile URL to fetch posts from.
403
- */
404
- profileUrl: string;
405
- /**
406
- * Number of posts to fetch (0-100, default 20). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
407
- */
408
- count?: number | undefined;
409
- /**
410
- * Pagination offset (default 0).
411
- */
412
- start?: number | undefined;
413
- /**
414
- * Pagination token from a previous response to fetch the next page.
415
- */
416
- paginationToken?: string | undefined;
417
- };
418
-
419
- export const CollectLinkedInPostsType = {
420
- Activity: "activity",
421
- UgcPost: "ugcPost",
422
- Share: "share",
423
- } as const;
424
- export type CollectLinkedInPostsType = OpenEnum<
425
- typeof CollectLinkedInPostsType
426
- >;
427
-
428
- export type CollectLinkedInPostsPost = {
429
- postUrl: string;
430
- text: string;
431
- date: number;
432
- likesCount: number;
433
- commentsCount: number;
434
- sharesCount: number;
435
- postUrn: string;
436
- postId: string;
437
- type: CollectLinkedInPostsType;
438
- };
439
-
440
- /**
441
- * Paginated list of posts from the profile
442
- */
443
- export type CollectLinkedInPostsResponse = {
444
- success: boolean;
445
- posts: Array<CollectLinkedInPostsPost>;
446
- count: number;
447
- total: number;
448
- start: number;
449
- hasMore: boolean;
450
- paginationToken: string | null;
451
- /**
452
- * The total from your last call to this endpoint for the same profile (null on first call). Compare with total to detect new posts without client-side tracking.
453
- */
454
- previousTotal: number | null;
455
- /**
456
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
457
- */
458
- creditsUsed: number;
459
- /**
460
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
461
- */
462
- retryAfter: number;
463
- };
464
-
465
- export type VisitLinkedInProfileRequest = {
466
- /**
467
- * LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B6pt58d4FVmts1F7TPi4D1-uL1fw')
468
- */
469
- profile: string;
470
- /**
471
- * Optional campaign identifier for tracking only. No dedup — visit always executes.
472
- */
473
- campaignSlug?: string | undefined;
474
- /**
475
- * Deprecated. Use campaignSlug only.
476
- *
477
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
478
- */
479
- actionSlug?: string | undefined;
480
- /**
481
- * When true, fetches the last 5 posts from the profile (adds a random delay between requests). Defaults to false.
482
- */
483
- includePosts?: boolean | undefined;
484
- };
485
-
486
- /**
487
- * Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
488
- */
489
- export const PendingConnection = {
490
- Pending: "pending",
491
- Failed: "failed",
492
- None: "none",
493
- } as const;
494
- /**
495
- * Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
496
- */
497
- export type PendingConnection = OpenEnum<typeof PendingConnection>;
498
-
499
- export type VisitLinkedInProfilePositionStartDate = {
500
- month: number | null;
501
- year: number;
502
- };
503
-
504
- export type VisitLinkedInProfilePositionEndDate = {
505
- month: number | null;
506
- year: number;
507
- };
508
-
509
- export type VisitLinkedInProfilePosition = {
510
- companyName: string | null;
511
- title: string | null;
512
- companyUrl: string | null;
513
- companyLogo: string | null;
514
- startDate: VisitLinkedInProfilePositionStartDate | null;
515
- endDate: VisitLinkedInProfilePositionEndDate | null;
516
- isCurrent: boolean;
517
- };
518
-
519
- export type VisitLinkedInProfileEducationStartDate = {
520
- month: number | null;
521
- year: number;
522
- };
523
-
524
- export type VisitLinkedInProfileEducationEndDate = {
525
- month: number | null;
526
- year: number;
527
- };
528
-
529
- export type VisitLinkedInProfileEducation = {
530
- schoolName: string | null;
531
- degreeName: string | null;
532
- fieldOfStudy: string | null;
533
- schoolUrl: string | null;
534
- schoolLogo: string | null;
535
- startDate: VisitLinkedInProfileEducationStartDate | null;
536
- endDate: VisitLinkedInProfileEducationEndDate | null;
537
- };
538
-
539
- export const VisitLinkedInProfileType = {
540
- Activity: "activity",
541
- UgcPost: "ugcPost",
542
- Share: "share",
543
- } as const;
544
- export type VisitLinkedInProfileType = OpenEnum<
545
- typeof VisitLinkedInProfileType
546
- >;
547
-
548
- export type VisitLinkedInProfileLastPost = {
549
- postUrl: string;
550
- text: string;
551
- date: number;
552
- likesCount: number;
553
- commentsCount: number;
554
- sharesCount: number;
555
- postUrn: string;
556
- postId: string;
557
- type: VisitLinkedInProfileType;
558
- };
559
-
560
- /**
561
- * Profile contact data
562
- */
563
- export type VisitLinkedInProfileResponse = {
564
- success: boolean;
565
- firstName: string;
566
- lastName: string;
567
- headline: string | null;
568
- publicIdentifier: string;
569
- /**
570
- * LinkedIn profile URL. Null when publicIdentifier is unavailable (restricted profiles).
571
- */
572
- profileUrl: string | null;
573
- /**
574
- * LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAAA...'). Use this for matching against inbox participants.
575
- */
576
- profileUrn: string | null;
577
- imageUrl: string | null;
578
- email: string | null;
579
- location: string | null;
580
- /**
581
- * Current company name (from most recent position)
582
- */
583
- company: string | null;
584
- /**
585
- * Current job title (from most recent position)
586
- */
587
- position: string | null;
588
- /**
589
- * Connection degree: 0 (self), 1 (direct connection), 2+ (2nd degree, 3rd degree, etc.), or null if unknown
590
- */
591
- memberDistance: number | null;
592
- /**
593
- * Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
594
- */
595
- pendingConnection: PendingConnection;
596
- /**
597
- * Work experience positions
598
- */
599
- positions?: Array<VisitLinkedInProfilePosition> | undefined;
600
- /**
601
- * Education entries
602
- */
603
- educations?: Array<VisitLinkedInProfileEducation> | undefined;
604
- /**
605
- * Last 5 posts from the profile (only present when includePosts is true)
606
- */
607
- lastPosts?: Array<VisitLinkedInProfileLastPost> | undefined;
608
- /**
609
- * true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
610
- */
611
- cached: boolean;
612
- /**
613
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
614
- */
615
- creditsUsed: number;
616
- /**
617
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
618
- */
619
- retryAfter: number;
620
- };
621
-
622
- export type VisitLinkedInCompanyRequest = {
623
- /**
624
- * LinkedIn company URL (e.g., 'https://www.linkedin.com/company/openai') or universal name (e.g., 'openai')
625
- */
626
- companyUrl: string;
627
- /**
628
- * Include workplace policy data such as hybrid/remote status and benefits. Costs 1 extra credit (extra API call).
629
- */
630
- includeWorkplacePolicy?: boolean | undefined;
631
- };
632
-
633
- /**
634
- * Employee count range
635
- */
636
- export type EmployeeCountRange = {
637
- start: number;
638
- end: number | null;
639
- };
640
-
641
- export type Headquarter = {
642
- country: string | null;
643
- geographicArea: string | null;
644
- city: string | null;
645
- postalCode: string | null;
646
- line1: string | null;
647
- line2: string | null;
648
- };
649
-
650
- export type FoundedOn = {
651
- year: number;
652
- };
653
-
654
- export type CallToAction = {
655
- type: string;
656
- url: string;
657
- };
658
-
659
- export type AffiliatedCompany = {
660
- id: string;
661
- universalName: string;
662
- name: string;
663
- url: string | null;
664
- logoUrl: string | null;
665
- followerCount: number | null;
666
- industry: string | null;
667
- };
668
-
669
- export type SimilarCompany = {
670
- id: string;
671
- universalName: string;
672
- name: string;
673
- url: string | null;
674
- logoUrl: string | null;
675
- followerCount: number | null;
676
- industry: string | null;
677
- };
678
-
679
- /**
680
- * Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
681
- */
682
- export type WorkplacePolicy = {
683
- title: string | null;
684
- description: string | null;
685
- timeAtOnsite: string | null;
686
- benefits: Array<string>;
687
- };
688
-
689
- /**
690
- * Company profile data
691
- */
692
- export type VisitLinkedInCompanyResponse = {
693
- success: boolean;
694
- /**
695
- * LinkedIn numeric company ID
696
- */
697
- id: string;
698
- /**
699
- * Company URL slug
700
- */
701
- universalName: string;
702
- name: string;
703
- description: string | null;
704
- /**
705
- * LinkedIn company page URL
706
- */
707
- url: string;
708
- /**
709
- * External website URL
710
- */
711
- websiteUrl: string | null;
712
- industry: string | null;
713
- /**
714
- * Exact employee count on LinkedIn
715
- */
716
- employeeCount: number | null;
717
- /**
718
- * Employee count range
719
- */
720
- employeeCountRange: EmployeeCountRange | null;
721
- headquarter: Headquarter | null;
722
- logoUrl: string | null;
723
- coverImageUrl: string | null;
724
- followerCount: number | null;
725
- specialities: Array<string>;
726
- tagline: string | null;
727
- isVerified: boolean;
728
- foundedOn: FoundedOn | null;
729
- phone: string | null;
730
- callToAction: CallToAction | null;
731
- hashtags: Array<string>;
732
- /**
733
- * Showcase / affiliated pages
734
- */
735
- affiliatedCompanies: Array<AffiliatedCompany>;
736
- /**
737
- * Similar companies suggested by LinkedIn
738
- */
739
- similarCompanies: Array<SimilarCompany>;
740
- /**
741
- * Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
742
- */
743
- workplacePolicy: WorkplacePolicy | null;
744
- /**
745
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
746
- */
747
- creditsUsed: number;
748
- /**
749
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
750
- */
751
- retryAfter: number;
752
- };
753
-
754
- /**
755
- * Type of search to perform (required unless url is provided)
756
- */
757
- export const CategoryRequest = {
758
- Posts: "posts",
759
- People: "people",
760
- Companies: "companies",
761
- Jobs: "jobs",
762
- } as const;
763
- /**
764
- * Type of search to perform (required unless url is provided)
765
- */
766
- export type CategoryRequest = ClosedEnum<typeof CategoryRequest>;
767
-
768
- /**
769
- * Sort order (posts & jobs)
770
- */
771
- export const SearchLinkedInSortBy = {
772
- Relevance: "relevance",
773
- Date: "date",
774
- } as const;
775
- /**
776
- * Sort order (posts & jobs)
777
- */
778
- export type SearchLinkedInSortBy = ClosedEnum<typeof SearchLinkedInSortBy>;
779
-
780
- /**
781
- * Time filter (posts & jobs)
782
- */
783
- export const SearchLinkedInDatePosted = {
784
- Past24h: "past-24h",
785
- PastWeek: "past-week",
786
- PastMonth: "past-month",
787
- } as const;
788
- /**
789
- * Time filter (posts & jobs)
790
- */
791
- export type SearchLinkedInDatePosted = ClosedEnum<
792
- typeof SearchLinkedInDatePosted
793
- >;
794
-
795
- /**
796
- * Media type filter (posts only)
797
- */
798
- export const SearchLinkedInContentType = {
799
- Images: "images",
800
- Videos: "videos",
801
- Documents: "documents",
802
- } as const;
803
- /**
804
- * Media type filter (posts only)
805
- */
806
- export type SearchLinkedInContentType = ClosedEnum<
807
- typeof SearchLinkedInContentType
808
- >;
809
-
810
- export const SearchLinkedInConnectionDegree = {
811
- F: "F",
812
- S: "S",
813
- O: "O",
814
- } as const;
815
- export type SearchLinkedInConnectionDegree = ClosedEnum<
816
- typeof SearchLinkedInConnectionDegree
817
- >;
818
-
819
- export const SearchLinkedInCompanySize = {
820
- A: "A",
821
- B: "B",
822
- C: "C",
823
- D: "D",
824
- E: "E",
825
- F: "F",
826
- G: "G",
827
- H: "H",
828
- I: "I",
829
- } as const;
830
- export type SearchLinkedInCompanySize = ClosedEnum<
831
- typeof SearchLinkedInCompanySize
832
- >;
833
-
834
- export const SearchLinkedInJobType = {
835
- F: "F",
836
- P: "P",
837
- C: "C",
838
- T: "T",
839
- I: "I",
840
- V: "V",
841
- O: "O",
842
- } as const;
843
- export type SearchLinkedInJobType = ClosedEnum<typeof SearchLinkedInJobType>;
844
-
845
- export const SearchLinkedInExperienceLevel = {
846
- One: "1",
847
- Two: "2",
848
- Three: "3",
849
- Four: "4",
850
- Five: "5",
851
- Six: "6",
852
- } as const;
853
- export type SearchLinkedInExperienceLevel = ClosedEnum<
854
- typeof SearchLinkedInExperienceLevel
855
- >;
856
-
857
- export const SearchLinkedInWorkplaceType = {
858
- One: "1",
859
- Two: "2",
860
- Three: "3",
861
- } as const;
862
- export type SearchLinkedInWorkplaceType = ClosedEnum<
863
- typeof SearchLinkedInWorkplaceType
864
- >;
865
-
866
- export type SearchLinkedInRequest = {
867
- /**
868
- * Type of search to perform (required unless url is provided)
869
- */
870
- category?: CategoryRequest | undefined;
871
- /**
872
- * LinkedIn search URL — category and filters are extracted automatically. Explicit params override URL-derived ones.
873
- */
874
- url?: string | undefined;
875
- /**
876
- * Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "outreach automation"), AND to require both terms, OR for alternatives (e.g. CEO OR founder), NOT to exclude (e.g. manager NOT assistant), and parentheses to group (e.g. (CEO OR CTO) AND SaaS). Operators must be UPPERCASE. Without quotes, multi-word queries are treated as AND by default which may return overly broad results — use exact phrases with quotes for precise matching.
877
- */
878
- keywords?: string | undefined;
879
- /**
880
- * Sort order (posts & jobs)
881
- */
882
- sortBy?: SearchLinkedInSortBy | undefined;
883
- /**
884
- * Time filter (posts & jobs)
885
- */
886
- datePosted?: SearchLinkedInDatePosted | undefined;
887
- /**
888
- * Media type filter (posts only)
889
- */
890
- contentType?: SearchLinkedInContentType | undefined;
891
- /**
892
- * Author industry IDs (posts only, resolve via /search/parameters)
893
- */
894
- authorIndustry?: Array<string> | undefined;
895
- /**
896
- * Author company IDs (posts only, resolve via /search/parameters)
897
- */
898
- authorCompany?: Array<string> | undefined;
899
- /**
900
- * Connection degree: F=1st, S=2nd, O=3rd+ (people only)
901
- */
902
- connectionDegree?: Array<SearchLinkedInConnectionDegree> | undefined;
903
- /**
904
- * First name filter (people only)
905
- */
906
- firstName?: string | undefined;
907
- /**
908
- * Last name filter (people only)
909
- */
910
- lastName?: string | undefined;
911
- /**
912
- * Job title filter, supports OR syntax (people only)
913
- */
914
- title?: string | undefined;
915
- /**
916
- * Profile URN to find connections of (people only)
917
- */
918
- connectionOf?: string | undefined;
919
- /**
920
- * Profile language codes e.g. ['en','fr'] (people only)
921
- */
922
- profileLanguage?: Array<string> | undefined;
923
- /**
924
- * School IDs (people only, resolve via /search/parameters)
925
- */
926
- school?: Array<string> | undefined;
927
- /**
928
- * Geo IDs (people, companies, jobs -- resolve via /search/parameters)
929
- */
930
- location?: Array<string> | undefined;
931
- /**
932
- * Industry IDs (people, companies -- resolve via /search/parameters)
933
- */
934
- industry?: Array<string> | undefined;
935
- /**
936
- * Current company IDs (people only, resolve via /search/parameters)
937
- */
938
- currentCompany?: Array<string> | undefined;
939
- /**
940
- * Past company IDs (people only, resolve via /search/parameters)
941
- */
942
- pastCompany?: Array<string> | undefined;
943
- /**
944
- * Company size: A=1-10, B=11-50, C=51-200, D=201-500, E=501-1K, F=1K-5K, G=5K-10K, H=10K+, I=self (companies only)
945
- */
946
- companySize?: Array<SearchLinkedInCompanySize> | undefined;
947
- /**
948
- * Job type: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other (jobs only)
949
- */
950
- jobType?: Array<SearchLinkedInJobType> | undefined;
951
- /**
952
- * Experience level: 1=Internship, 2=Entry, 3=Associate, 4=Mid-Senior, 5=Director, 6=Executive (jobs only)
953
- */
954
- experienceLevel?: Array<SearchLinkedInExperienceLevel> | undefined;
955
- /**
956
- * Workplace type: 1=On-site, 2=Remote, 3=Hybrid (jobs only)
957
- */
958
- workplaceType?: Array<SearchLinkedInWorkplaceType> | undefined;
959
- /**
960
- * Pagination offset (default 0)
961
- */
962
- start?: number | undefined;
963
- /**
964
- * Results per page (default 10, max 50)
965
- */
966
- count?: number | undefined;
967
- };
968
-
969
- export const SearchLinkedInCategoryResponseBody = {
970
- Posts: "posts",
971
- People: "people",
972
- Companies: "companies",
973
- Jobs: "jobs",
974
- } as const;
975
- export type SearchLinkedInCategoryResponseBody = OpenEnum<
976
- typeof SearchLinkedInCategoryResponseBody
977
- >;
978
-
979
- export const SearchLinkedInTypeJob = {
980
- Job: "JOB",
981
- } as const;
982
- export type SearchLinkedInTypeJob = ClosedEnum<typeof SearchLinkedInTypeJob>;
983
-
984
- export type SearchLinkedInItemsJob = {
985
- type: SearchLinkedInTypeJob;
986
- title: string;
987
- company: string | null;
988
- companyUrl: string | null;
989
- companyLogo: string | null;
990
- location: string | null;
991
- workplaceType: string | null;
992
- postedAt: string | null;
993
- jobUrl: string;
994
- listingId: string;
995
- };
996
-
997
- export const SearchLinkedInTypeCompany = {
998
- Company: "COMPANY",
999
- } as const;
1000
- export type SearchLinkedInTypeCompany = ClosedEnum<
1001
- typeof SearchLinkedInTypeCompany
1002
- >;
1003
-
1004
- export type SearchLinkedInItemsCompany = {
1005
- type: SearchLinkedInTypeCompany;
1006
- name: string;
1007
- profileUrl: string | null;
1008
- summary: string | null;
1009
- industry: string | null;
1010
- location: string | null;
1011
- followersCount: number | null;
1012
- };
1013
-
1014
- export const SearchLinkedInTypePeople = {
1015
- People: "PEOPLE",
1016
- } as const;
1017
- export type SearchLinkedInTypePeople = ClosedEnum<
1018
- typeof SearchLinkedInTypePeople
1019
- >;
1020
-
1021
- export const SearchLinkedInNetworkDistance = {
1022
- Distance1: "DISTANCE_1",
1023
- Distance2: "DISTANCE_2",
1024
- Distance3: "DISTANCE_3",
1025
- OutOfNetwork: "OUT_OF_NETWORK",
1026
- } as const;
1027
- export type SearchLinkedInNetworkDistance = OpenEnum<
1028
- typeof SearchLinkedInNetworkDistance
1029
- >;
1030
-
1031
- export type SearchLinkedInCurrentPosition = {
1032
- company: string | null;
1033
- role: string | null;
1034
- };
1035
-
1036
- export type SearchLinkedInItemsPeople = {
1037
- type: SearchLinkedInTypePeople;
1038
- name: string;
1039
- profileUrl: string | null;
1040
- headline: string | null;
1041
- location: string | null;
1042
- profilePicture: string | null;
1043
- networkDistance: SearchLinkedInNetworkDistance | null;
1044
- currentPositions: Array<SearchLinkedInCurrentPosition>;
1045
- };
1046
-
1047
- export const SearchLinkedInTypePost = {
1048
- Post: "POST",
1049
- } as const;
1050
- export type SearchLinkedInTypePost = ClosedEnum<typeof SearchLinkedInTypePost>;
1051
-
1052
- export type SearchLinkedInAuthor = {
1053
- name: string;
1054
- profileUrl: string | null;
1055
- headline: string | null;
1056
- profilePicture: string | null;
1057
- isCompany: boolean;
1058
- };
1059
-
1060
- export type SearchLinkedInItemsPost = {
1061
- type: SearchLinkedInTypePost;
1062
- postUrl: string;
1063
- text: string;
1064
- date: number;
1065
- likesCount: number;
1066
- commentsCount: number;
1067
- sharesCount: number;
1068
- postUrn: string;
1069
- postId: string;
1070
- author: SearchLinkedInAuthor;
1071
- isRepost: boolean;
1072
- };
1073
-
1074
- export type SearchLinkedInItemsUnion =
1075
- | Array<SearchLinkedInItemsPost>
1076
- | Array<SearchLinkedInItemsPeople>
1077
- | Array<SearchLinkedInItemsCompany>
1078
- | Array<SearchLinkedInItemsJob>;
1079
-
1080
- export type SearchLinkedInPaging = {
1081
- start: number;
1082
- count: number;
1083
- total: number;
1084
- };
1085
-
1086
- /**
1087
- * Search results for the specified category
1088
- */
1089
- export type SearchLinkedInResponse = {
1090
- success: boolean;
1091
- category: SearchLinkedInCategoryResponseBody;
1092
- items:
1093
- | Array<SearchLinkedInItemsPost>
1094
- | Array<SearchLinkedInItemsPeople>
1095
- | Array<SearchLinkedInItemsCompany>
1096
- | Array<SearchLinkedInItemsJob>;
1097
- paging: SearchLinkedInPaging;
1098
- hasMore: boolean;
1099
- /**
1100
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1101
- */
1102
- creditsUsed: number;
1103
- /**
1104
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1105
- */
1106
- retryAfter: number;
1107
- };
1108
-
1109
- /**
1110
- * Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
1111
- */
1112
- export const SearchLinkedInPostsSortBy = {
1113
- Relevance: "relevance",
1114
- Date: "date",
1115
- } as const;
1116
- /**
1117
- * Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
1118
- */
1119
- export type SearchLinkedInPostsSortBy = ClosedEnum<
1120
- typeof SearchLinkedInPostsSortBy
1121
- >;
1122
-
1123
- /**
1124
- * Filter by publication date. Useful for finding recent discussions or trending topics.
1125
- */
1126
- export const SearchLinkedInPostsDatePosted = {
1127
- Past24h: "past-24h",
1128
- PastWeek: "past-week",
1129
- PastMonth: "past-month",
1130
- } as const;
1131
- /**
1132
- * Filter by publication date. Useful for finding recent discussions or trending topics.
1133
- */
1134
- export type SearchLinkedInPostsDatePosted = ClosedEnum<
1135
- typeof SearchLinkedInPostsDatePosted
1136
- >;
1137
-
1138
- /**
1139
- * Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
1140
- */
1141
- export const SearchLinkedInPostsContentType = {
1142
- Images: "images",
1143
- Videos: "videos",
1144
- Documents: "documents",
1145
- } as const;
1146
- /**
1147
- * Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
1148
- */
1149
- export type SearchLinkedInPostsContentType = ClosedEnum<
1150
- typeof SearchLinkedInPostsContentType
1151
- >;
1152
-
1153
- export type SearchLinkedInPostsRequest = {
1154
- /**
1155
- * Search keywords (required). Searches across post text content. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "AI automation"), AND to require both terms, OR for alternatives (e.g. "growth hacking" OR "growth marketing"), NOT to exclude (e.g. outreach NOT webinar), and parentheses to group (e.g. (AI OR ML) AND "case study"). Operators must be UPPERCASE. Without quotes, multi-word queries are treated as AND by default which may return broad results.
1156
- */
1157
- keywords: string;
1158
- /**
1159
- * Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
1160
- */
1161
- url?: string | undefined;
1162
- /**
1163
- * Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
1164
- */
1165
- sortBy?: SearchLinkedInPostsSortBy | undefined;
1166
- /**
1167
- * Filter by publication date. Useful for finding recent discussions or trending topics.
1168
- */
1169
- datePosted?: SearchLinkedInPostsDatePosted | undefined;
1170
- /**
1171
- * Filter by media type. Only return posts that contain the specified media. 'images' = photo posts, 'videos' = video posts, 'documents' = carousel/PDF posts.
1172
- */
1173
- contentType?: SearchLinkedInPostsContentType | undefined;
1174
- /**
1175
- * Filter by the post author's industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'. Example: resolve 'Technology' to get industry IDs.
1176
- */
1177
- authorIndustry?: Array<string> | undefined;
1178
- /**
1179
- * Filter by the post author's company. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' to get company ID '1441'.
1180
- */
1181
- authorCompany?: Array<string> | undefined;
1182
- /**
1183
- * Pagination offset (default 0). Use multiples of `count` to page through results. Example: start=0 for page 1, start=10 for page 2 (with count=10).
1184
- */
1185
- start?: number | undefined;
1186
- /**
1187
- * Results per page (default 10, max 50). Controls how many posts are returned per request.
1188
- */
1189
- count?: number | undefined;
1190
- };
1191
-
1192
- export const SearchLinkedInPostsCategory = {
1193
- Posts: "posts",
1194
- } as const;
1195
- export type SearchLinkedInPostsCategory = ClosedEnum<
1196
- typeof SearchLinkedInPostsCategory
1197
- >;
1198
-
1199
- export const SearchLinkedInPostsType = {
1200
- Post: "POST",
1201
- } as const;
1202
- export type SearchLinkedInPostsType = ClosedEnum<
1203
- typeof SearchLinkedInPostsType
1204
- >;
1205
-
1206
- export type SearchLinkedInPostsAuthor = {
1207
- name: string;
1208
- profileUrl: string | null;
1209
- headline: string | null;
1210
- profilePicture: string | null;
1211
- isCompany: boolean;
1212
- };
1213
-
1214
- export type SearchLinkedInPostsItem = {
1215
- type: SearchLinkedInPostsType;
1216
- postUrl: string;
1217
- text: string;
1218
- date: number;
1219
- likesCount: number;
1220
- commentsCount: number;
1221
- sharesCount: number;
1222
- postUrn: string;
1223
- postId: string;
1224
- author: SearchLinkedInPostsAuthor;
1225
- isRepost: boolean;
1226
- };
1227
-
1228
- export type SearchLinkedInPostsPaging = {
1229
- start: number;
1230
- count: number;
1231
- total: number;
1232
- };
1233
-
1234
- /**
1235
- * List of LinkedIn posts matching the search criteria
1236
- */
1237
- export type SearchLinkedInPostsResponse = {
1238
- success: boolean;
1239
- category: SearchLinkedInPostsCategory;
1240
- items: Array<SearchLinkedInPostsItem>;
1241
- paging: SearchLinkedInPostsPaging;
1242
- hasMore: boolean;
1243
- /**
1244
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1245
- */
1246
- creditsUsed: number;
1247
- /**
1248
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1249
- */
1250
- retryAfter: number;
1251
- };
1252
-
1253
- export const SearchLinkedInPeopleConnectionDegree = {
1254
- F: "F",
1255
- S: "S",
1256
- O: "O",
1257
- } as const;
1258
- export type SearchLinkedInPeopleConnectionDegree = ClosedEnum<
1259
- typeof SearchLinkedInPeopleConnectionDegree
1260
- >;
1261
-
1262
- export type SearchLinkedInPeopleRequest = {
1263
- /**
1264
- * Search keywords. Matches against name, headline, company, skills, and bio. Optional — you can search by filters alone (e.g. all 2nd-degree connections in Paris). Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "product manager"), AND to require both terms, OR for alternatives (e.g. CEO OR founder OR CTO), NOT to exclude (e.g. manager NOT assistant), and parentheses to group (e.g. (CEO OR CTO) AND SaaS). Operators must be UPPERCASE.
1265
- */
1266
- keywords?: string | undefined;
1267
- /**
1268
- * Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
1269
- */
1270
- url?: string | undefined;
1271
- /**
1272
- * Filter by connection degree. 'F' = 1st degree (your direct connections), 'S' = 2nd degree (connections of connections), 'O' = 3rd+ degree and out of network. Accepts multiple values, e.g. ['F','S'] for 1st and 2nd degree.
1273
- */
1274
- connectionDegree?: Array<SearchLinkedInPeopleConnectionDegree> | undefined;
1275
- /**
1276
- * Filter by first name. Exact match (case-insensitive).
1277
- */
1278
- firstName?: string | undefined;
1279
- /**
1280
- * Filter by last name. Exact match (case-insensitive).
1281
- */
1282
- lastName?: string | undefined;
1283
- /**
1284
- * Filter by current job title. Matches against the person's current position title. Supports boolean OR syntax with '|' separator. Example: 'CEO|CTO|Founder' finds people with any of these titles.
1285
- */
1286
- title?: string | undefined;
1287
- /**
1288
- * Find connections of a specific person. Pass the person's LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAABZ0Qo4B...'). Returns people who are connected to this person.
1289
- */
1290
- connectionOf?: string | undefined;
1291
- /**
1292
- * Filter by LinkedIn profile language. Array of ISO 639-1 codes. Example: ['en'] for English profiles, ['en','fr'] for English or French profiles.
1293
- */
1294
- profileLanguage?: Array<string> | undefined;
1295
- /**
1296
- * Filter by school/university. Array of LinkedIn school IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='SCHOOL'. Example: resolve 'Harvard' to get school IDs.
1297
- */
1298
- school?: Array<string> | undefined;
1299
- /**
1300
- * Filter by geographic location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'. Example: resolve 'San Francisco' → '102277331'.
1301
- */
1302
- location?: Array<string> | undefined;
1303
- /**
1304
- * Filter by industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
1305
- */
1306
- industry?: Array<string> | undefined;
1307
- /**
1308
- * Filter by current employer. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' → '1441'.
1309
- */
1310
- currentCompany?: Array<string> | undefined;
1311
- /**
1312
- * Filter by past employer. Array of LinkedIn company IDs. Finds people who previously worked at these companies.
1313
- */
1314
- pastCompany?: Array<string> | undefined;
1315
- /**
1316
- * Pagination offset (default 0). Use multiples of `count` to page through results.
1317
- */
1318
- start?: number | undefined;
1319
- /**
1320
- * Results per page (default 10, max 50).
1321
- */
1322
- count?: number | undefined;
1323
- };
1324
-
1325
- export const SearchLinkedInPeopleCategory = {
1326
- People: "people",
1327
- } as const;
1328
- export type SearchLinkedInPeopleCategory = ClosedEnum<
1329
- typeof SearchLinkedInPeopleCategory
1330
- >;
1331
-
1332
- export const SearchLinkedInPeopleType = {
1333
- People: "PEOPLE",
1334
- } as const;
1335
- export type SearchLinkedInPeopleType = ClosedEnum<
1336
- typeof SearchLinkedInPeopleType
1337
- >;
1338
-
1339
- export const SearchLinkedInPeopleNetworkDistance = {
1340
- Distance1: "DISTANCE_1",
1341
- Distance2: "DISTANCE_2",
1342
- Distance3: "DISTANCE_3",
1343
- OutOfNetwork: "OUT_OF_NETWORK",
1344
- } as const;
1345
- export type SearchLinkedInPeopleNetworkDistance = OpenEnum<
1346
- typeof SearchLinkedInPeopleNetworkDistance
1347
- >;
1348
-
1349
- export type SearchLinkedInPeopleCurrentPosition = {
1350
- company: string | null;
1351
- role: string | null;
1352
- };
1353
-
1354
- export type SearchLinkedInPeopleItem = {
1355
- type: SearchLinkedInPeopleType;
1356
- name: string;
1357
- profileUrl: string | null;
1358
- headline: string | null;
1359
- location: string | null;
1360
- profilePicture: string | null;
1361
- networkDistance: SearchLinkedInPeopleNetworkDistance | null;
1362
- currentPositions: Array<SearchLinkedInPeopleCurrentPosition>;
1363
- };
1364
-
1365
- export type SearchLinkedInPeoplePaging = {
1366
- start: number;
1367
- count: number;
1368
- total: number;
1369
- };
1370
-
1371
- /**
1372
- * List of LinkedIn people matching the search criteria
1373
- */
1374
- export type SearchLinkedInPeopleResponse = {
1375
- success: boolean;
1376
- category: SearchLinkedInPeopleCategory;
1377
- items: Array<SearchLinkedInPeopleItem>;
1378
- paging: SearchLinkedInPeoplePaging;
1379
- hasMore: boolean;
1380
- /**
1381
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1382
- */
1383
- creditsUsed: number;
1384
- /**
1385
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1386
- */
1387
- retryAfter: number;
1388
- };
1389
-
1390
- export const SearchLinkedInCompaniesCompanySize = {
1391
- A: "A",
1392
- B: "B",
1393
- C: "C",
1394
- D: "D",
1395
- E: "E",
1396
- F: "F",
1397
- G: "G",
1398
- H: "H",
1399
- I: "I",
1400
- } as const;
1401
- export type SearchLinkedInCompaniesCompanySize = ClosedEnum<
1402
- typeof SearchLinkedInCompaniesCompanySize
1403
- >;
1404
-
1405
- export type SearchLinkedInCompaniesRequest = {
1406
- /**
1407
- * Search keywords. Matches against company name, description, and specialties. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "artificial intelligence"), AND to require both terms, OR for alternatives (e.g. SaaS OR "cloud computing"), NOT to exclude (e.g. consulting NOT staffing), and parentheses to group (e.g. (AI OR ML) AND healthcare). Operators must be UPPERCASE.
1408
- */
1409
- keywords?: string | undefined;
1410
- /**
1411
- * Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
1412
- */
1413
- url?: string | undefined;
1414
- /**
1415
- * Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
1416
- */
1417
- location?: Array<string> | undefined;
1418
- /**
1419
- * Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
1420
- */
1421
- industry?: Array<string> | undefined;
1422
- /**
1423
- * Filter by employee count. Multiple values accepted (OR logic). Codes: A=1-10 employees, B=11-50, C=51-200, D=201-500, E=501-1,000, F=1,001-5,000, G=5,001-10,000, H=10,001+, I=Self-employed.
1424
- */
1425
- companySize?: Array<SearchLinkedInCompaniesCompanySize> | undefined;
1426
- /**
1427
- * Pagination offset (default 0). Use multiples of `count` to page through results.
1428
- */
1429
- start?: number | undefined;
1430
- /**
1431
- * Results per page (default 10, max 50).
1432
- */
1433
- count?: number | undefined;
1434
- };
1435
-
1436
- export const SearchLinkedInCompaniesCategory = {
1437
- Companies: "companies",
1438
- } as const;
1439
- export type SearchLinkedInCompaniesCategory = ClosedEnum<
1440
- typeof SearchLinkedInCompaniesCategory
1441
- >;
1442
-
1443
- export const SearchLinkedInCompaniesType = {
1444
- Company: "COMPANY",
1445
- } as const;
1446
- export type SearchLinkedInCompaniesType = ClosedEnum<
1447
- typeof SearchLinkedInCompaniesType
1448
- >;
1449
-
1450
- export type SearchLinkedInCompaniesItem = {
1451
- type: SearchLinkedInCompaniesType;
1452
- name: string;
1453
- profileUrl: string | null;
1454
- summary: string | null;
1455
- industry: string | null;
1456
- location: string | null;
1457
- followersCount: number | null;
1458
- };
1459
-
1460
- export type SearchLinkedInCompaniesPaging = {
1461
- start: number;
1462
- count: number;
1463
- total: number;
1464
- };
1465
-
1466
- /**
1467
- * List of LinkedIn companies matching the search criteria
1468
- */
1469
- export type SearchLinkedInCompaniesResponse = {
1470
- success: boolean;
1471
- category: SearchLinkedInCompaniesCategory;
1472
- items: Array<SearchLinkedInCompaniesItem>;
1473
- paging: SearchLinkedInCompaniesPaging;
1474
- hasMore: boolean;
1475
- /**
1476
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1477
- */
1478
- creditsUsed: number;
1479
- /**
1480
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1481
- */
1482
- retryAfter: number;
1483
- };
1484
-
1485
- /**
1486
- * Filter by posting date. Useful for finding recently posted jobs.
1487
- */
1488
- export const SearchLinkedInJobsDatePosted = {
1489
- Past24h: "past-24h",
1490
- PastWeek: "past-week",
1491
- PastMonth: "past-month",
1492
- } as const;
1493
- /**
1494
- * Filter by posting date. Useful for finding recently posted jobs.
1495
- */
1496
- export type SearchLinkedInJobsDatePosted = ClosedEnum<
1497
- typeof SearchLinkedInJobsDatePosted
1498
- >;
1499
-
1500
- /**
1501
- * Sort order. 'relevance' (default) or 'date' (most recent first).
1502
- */
1503
- export const SearchLinkedInJobsSortBy = {
1504
- Relevance: "relevance",
1505
- Date: "date",
1506
- } as const;
1507
- /**
1508
- * Sort order. 'relevance' (default) or 'date' (most recent first).
1509
- */
1510
- export type SearchLinkedInJobsSortBy = ClosedEnum<
1511
- typeof SearchLinkedInJobsSortBy
1512
- >;
1513
-
1514
- export const SearchLinkedInJobsJobType = {
1515
- F: "F",
1516
- P: "P",
1517
- C: "C",
1518
- T: "T",
1519
- I: "I",
1520
- V: "V",
1521
- O: "O",
1522
- } as const;
1523
- export type SearchLinkedInJobsJobType = ClosedEnum<
1524
- typeof SearchLinkedInJobsJobType
1525
- >;
1526
-
1527
- export const SearchLinkedInJobsExperienceLevel = {
1528
- One: "1",
1529
- Two: "2",
1530
- Three: "3",
1531
- Four: "4",
1532
- Five: "5",
1533
- Six: "6",
1534
- } as const;
1535
- export type SearchLinkedInJobsExperienceLevel = ClosedEnum<
1536
- typeof SearchLinkedInJobsExperienceLevel
1537
- >;
1538
-
1539
- export const SearchLinkedInJobsWorkplaceType = {
1540
- One: "1",
1541
- Two: "2",
1542
- Three: "3",
1543
- } as const;
1544
- export type SearchLinkedInJobsWorkplaceType = ClosedEnum<
1545
- typeof SearchLinkedInJobsWorkplaceType
1546
- >;
1547
-
1548
- export type SearchLinkedInJobsRequest = {
1549
- /**
1550
- * Search keywords. Matches against job title, company name, and description. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "frontend engineer"), AND to require both terms, OR for alternatives (e.g. React OR Vue OR Angular), NOT to exclude (e.g. engineer NOT intern), and parentheses to group (e.g. (React OR Vue) AND "senior engineer"). Operators must be UPPERCASE.
1551
- */
1552
- keywords?: string | undefined;
1553
- /**
1554
- * Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
1555
- */
1556
- url?: string | undefined;
1557
- /**
1558
- * Filter by job location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
1559
- */
1560
- location?: Array<string> | undefined;
1561
- /**
1562
- * Filter by posting date. Useful for finding recently posted jobs.
1563
- */
1564
- datePosted?: SearchLinkedInJobsDatePosted | undefined;
1565
- /**
1566
- * Sort order. 'relevance' (default) or 'date' (most recent first).
1567
- */
1568
- sortBy?: SearchLinkedInJobsSortBy | undefined;
1569
- /**
1570
- * Filter by employment type. Multiple values accepted (OR logic). Codes: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other.
1571
- */
1572
- jobType?: Array<SearchLinkedInJobsJobType> | undefined;
1573
- /**
1574
- * Filter by seniority. Multiple values accepted (OR logic). Codes: 1=Internship, 2=Entry level, 3=Associate, 4=Mid-Senior level, 5=Director, 6=Executive.
1575
- */
1576
- experienceLevel?: Array<SearchLinkedInJobsExperienceLevel> | undefined;
1577
- /**
1578
- * Filter by workplace type. Multiple values accepted (OR logic). Codes: 1=On-site, 2=Remote, 3=Hybrid.
1579
- */
1580
- workplaceType?: Array<SearchLinkedInJobsWorkplaceType> | undefined;
1581
- /**
1582
- * Pagination offset (default 0). Use multiples of `count` to page through results.
1583
- */
1584
- start?: number | undefined;
1585
- /**
1586
- * Results per page (default 10, max 50).
1587
- */
1588
- count?: number | undefined;
1589
- };
1590
-
1591
- export const SearchLinkedInJobsCategory = {
1592
- Jobs: "jobs",
1593
- } as const;
1594
- export type SearchLinkedInJobsCategory = ClosedEnum<
1595
- typeof SearchLinkedInJobsCategory
1596
- >;
1597
-
1598
- export const SearchLinkedInJobsType = {
1599
- Job: "JOB",
1600
- } as const;
1601
- export type SearchLinkedInJobsType = ClosedEnum<typeof SearchLinkedInJobsType>;
1602
-
1603
- export type SearchLinkedInJobsItem = {
1604
- type: SearchLinkedInJobsType;
1605
- title: string;
1606
- company: string | null;
1607
- companyUrl: string | null;
1608
- companyLogo: string | null;
1609
- location: string | null;
1610
- workplaceType: string | null;
1611
- postedAt: string | null;
1612
- jobUrl: string;
1613
- listingId: string;
1614
- };
1615
-
1616
- export type SearchLinkedInJobsPaging = {
1617
- start: number;
1618
- count: number;
1619
- total: number;
1620
- };
1621
-
1622
- /**
1623
- * List of LinkedIn job listings matching the search criteria
1624
- */
1625
- export type SearchLinkedInJobsResponse = {
1626
- success: boolean;
1627
- category: SearchLinkedInJobsCategory;
1628
- items: Array<SearchLinkedInJobsItem>;
1629
- paging: SearchLinkedInJobsPaging;
1630
- hasMore: boolean;
1631
- /**
1632
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1633
- */
1634
- creditsUsed: number;
1635
- /**
1636
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1637
- */
1638
- retryAfter: number;
1639
- };
1640
-
1641
- export type SearchLinkedInByUrlRequest = {
1642
- /**
1643
- * A LinkedIn search URL. The endpoint automatically extracts the category, keywords, and all filters from the URL. Example: 'https://www.linkedin.com/search/results/people/?keywords=engineer&network=%5B%22S%22%5D'
1644
- */
1645
- url: string;
1646
- /**
1647
- * Override pagination offset. If not provided, uses the page from the URL (or defaults to 0).
1648
- */
1649
- start?: number | undefined;
1650
- /**
1651
- * Override results per page (default 10, max 50).
1652
- */
1653
- count?: number | undefined;
1654
- };
1655
-
1656
- export const SearchLinkedInByUrlCategory = {
1657
- Posts: "posts",
1658
- People: "people",
1659
- Companies: "companies",
1660
- Jobs: "jobs",
1661
- } as const;
1662
- export type SearchLinkedInByUrlCategory = OpenEnum<
1663
- typeof SearchLinkedInByUrlCategory
1664
- >;
1665
-
1666
- export const SearchLinkedInByUrlTypeJob = {
1667
- Job: "JOB",
1668
- } as const;
1669
- export type SearchLinkedInByUrlTypeJob = ClosedEnum<
1670
- typeof SearchLinkedInByUrlTypeJob
1671
- >;
1672
-
1673
- export type SearchLinkedInByUrlItemsJob = {
1674
- type: SearchLinkedInByUrlTypeJob;
1675
- title: string;
1676
- company: string | null;
1677
- companyUrl: string | null;
1678
- companyLogo: string | null;
1679
- location: string | null;
1680
- workplaceType: string | null;
1681
- postedAt: string | null;
1682
- jobUrl: string;
1683
- listingId: string;
1684
- };
1685
-
1686
- export const SearchLinkedInByUrlTypeCompany = {
1687
- Company: "COMPANY",
1688
- } as const;
1689
- export type SearchLinkedInByUrlTypeCompany = ClosedEnum<
1690
- typeof SearchLinkedInByUrlTypeCompany
1691
- >;
1692
-
1693
- export type SearchLinkedInByUrlItemsCompany = {
1694
- type: SearchLinkedInByUrlTypeCompany;
1695
- name: string;
1696
- profileUrl: string | null;
1697
- summary: string | null;
1698
- industry: string | null;
1699
- location: string | null;
1700
- followersCount: number | null;
1701
- };
1702
-
1703
- export const SearchLinkedInByUrlTypePeople = {
1704
- People: "PEOPLE",
1705
- } as const;
1706
- export type SearchLinkedInByUrlTypePeople = ClosedEnum<
1707
- typeof SearchLinkedInByUrlTypePeople
1708
- >;
1709
-
1710
- export const SearchLinkedInByUrlNetworkDistance = {
1711
- Distance1: "DISTANCE_1",
1712
- Distance2: "DISTANCE_2",
1713
- Distance3: "DISTANCE_3",
1714
- OutOfNetwork: "OUT_OF_NETWORK",
1715
- } as const;
1716
- export type SearchLinkedInByUrlNetworkDistance = OpenEnum<
1717
- typeof SearchLinkedInByUrlNetworkDistance
1718
- >;
1719
-
1720
- export type SearchLinkedInByUrlCurrentPosition = {
1721
- company: string | null;
1722
- role: string | null;
1723
- };
1724
-
1725
- export type SearchLinkedInByUrlItemsPeople = {
1726
- type: SearchLinkedInByUrlTypePeople;
1727
- name: string;
1728
- profileUrl: string | null;
1729
- headline: string | null;
1730
- location: string | null;
1731
- profilePicture: string | null;
1732
- networkDistance: SearchLinkedInByUrlNetworkDistance | null;
1733
- currentPositions: Array<SearchLinkedInByUrlCurrentPosition>;
1734
- };
1735
-
1736
- export const SearchLinkedInByUrlTypePost = {
1737
- Post: "POST",
1738
- } as const;
1739
- export type SearchLinkedInByUrlTypePost = ClosedEnum<
1740
- typeof SearchLinkedInByUrlTypePost
1741
- >;
1742
-
1743
- export type SearchLinkedInByUrlAuthor = {
1744
- name: string;
1745
- profileUrl: string | null;
1746
- headline: string | null;
1747
- profilePicture: string | null;
1748
- isCompany: boolean;
1749
- };
1750
-
1751
- export type SearchLinkedInByUrlItemsPost = {
1752
- type: SearchLinkedInByUrlTypePost;
1753
- postUrl: string;
1754
- text: string;
1755
- date: number;
1756
- likesCount: number;
1757
- commentsCount: number;
1758
- sharesCount: number;
1759
- postUrn: string;
1760
- postId: string;
1761
- author: SearchLinkedInByUrlAuthor;
1762
- isRepost: boolean;
1763
- };
1764
-
1765
- export type SearchLinkedInByUrlItemsUnion =
1766
- | Array<SearchLinkedInByUrlItemsPost>
1767
- | Array<SearchLinkedInByUrlItemsPeople>
1768
- | Array<SearchLinkedInByUrlItemsCompany>
1769
- | Array<SearchLinkedInByUrlItemsJob>;
1770
-
1771
- export type SearchLinkedInByUrlPaging = {
1772
- start: number;
1773
- count: number;
1774
- total: number;
1775
- };
1776
-
1777
- /**
1778
- * Search results parsed from the LinkedIn URL
1779
- */
1780
- export type SearchLinkedInByUrlResponse = {
1781
- success: boolean;
1782
- category: SearchLinkedInByUrlCategory;
1783
- items:
1784
- | Array<SearchLinkedInByUrlItemsPost>
1785
- | Array<SearchLinkedInByUrlItemsPeople>
1786
- | Array<SearchLinkedInByUrlItemsCompany>
1787
- | Array<SearchLinkedInByUrlItemsJob>;
1788
- paging: SearchLinkedInByUrlPaging;
1789
- hasMore: boolean;
1790
- /**
1791
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1792
- */
1793
- creditsUsed: number;
1794
- /**
1795
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1796
- */
1797
- retryAfter: number;
1798
- };
1799
-
1800
- /**
1801
- * Parameter type to resolve
1802
- */
1803
- export const ResolveLinkedInSearchParametersType = {
1804
- Geo: "GEO",
1805
- Company: "COMPANY",
1806
- Industry: "INDUSTRY",
1807
- School: "SCHOOL",
1808
- Connections: "CONNECTIONS",
1809
- People: "PEOPLE",
1810
- } as const;
1811
- /**
1812
- * Parameter type to resolve
1813
- */
1814
- export type ResolveLinkedInSearchParametersType = ClosedEnum<
1815
- typeof ResolveLinkedInSearchParametersType
1816
- >;
1817
-
1818
- export type ResolveLinkedInSearchParametersRequest = {
1819
- /**
1820
- * Parameter type to resolve
1821
- */
1822
- type: ResolveLinkedInSearchParametersType;
1823
- /**
1824
- * Text to resolve into LinkedIn IDs
1825
- */
1826
- keywords: string;
1827
- /**
1828
- * Max results (default 10, max 50)
1829
- */
1830
- limit?: number | undefined;
1831
- };
1832
-
1833
- export type ResolveLinkedInSearchParametersItem = {
1834
- id: string;
1835
- title: string;
1836
- type: string;
1837
- };
1838
-
1839
- /**
1840
- * Resolved search parameter items
1841
- */
1842
- export type ResolveLinkedInSearchParametersResponse = {
1843
- success: boolean;
1844
- items: Array<ResolveLinkedInSearchParametersItem>;
1845
- count: number;
1846
- /**
1847
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1848
- */
1849
- creditsUsed: number;
1850
- /**
1851
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1852
- */
1853
- retryAfter: number;
1854
- };
1855
-
1856
- export type ConnectLinkedInProfileRequest = {
1857
- /**
1858
- * LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B6pt58d4FVmts1F7TPi4D1-uL1fw')
1859
- */
1860
- profile: string;
1861
- /**
1862
- * Campaign identifier for deduplication. Dedup by profile automatically.
1863
- */
1864
- campaignSlug?: string | undefined;
1865
- /**
1866
- * Deprecated. Use campaignSlug only.
1867
- *
1868
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
1869
- */
1870
- actionSlug?: string | undefined;
1871
- };
1872
-
1873
- /**
1874
- * Connection request sent successfully
1875
- */
1876
- export type ConnectLinkedInProfileResponse = {
1877
- success: boolean;
1878
- message: string;
1879
- /**
1880
- * True if a connection request was already successfully sent to this profile this week
1881
- */
1882
- duplicate?: boolean | undefined;
1883
- /**
1884
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1885
- */
1886
- creditsUsed: number;
1887
- /**
1888
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1889
- */
1890
- retryAfter: number;
1891
- };
1892
-
1893
- export type ListLinkedInInvitationsRequest = {
1894
- /**
1895
- * Pagination offset (0-based)
1896
- */
1897
- start?: number | undefined;
1898
- /**
1899
- * Number of invitations to return (max 100)
1900
- */
1901
- count?: number | undefined;
1902
- };
1903
-
1904
- /**
1905
- * Profile info of the person who sent the invitation
1906
- */
1907
- export type FromMember = {
1908
- name: string | null;
1909
- headline: string | null;
1910
- profileUrl: string | null;
1911
- profilePicture: string | null;
1912
- };
1913
-
1914
- export type Invitation = {
1915
- /**
1916
- * Invitation ID needed for accepting
1917
- */
1918
- invitationId: string;
1919
- /**
1920
- * Shared secret needed for accepting
1921
- */
1922
- sharedSecret: string;
1923
- /**
1924
- * Full invitation URN
1925
- */
1926
- entityUrn: string;
1927
- /**
1928
- * ISO 8601 timestamp when invitation was sent
1929
- */
1930
- sentAt: string | null;
1931
- /**
1932
- * Custom message included with the invitation
1933
- */
1934
- message: string | null;
1935
- /**
1936
- * Sender's profile ID (pass to accept endpoint)
1937
- */
1938
- senderProfileId: string | null;
1939
- /**
1940
- * Sender's first name (pass to accept endpoint)
1941
- */
1942
- senderFirstName: string | null;
1943
- /**
1944
- * Sender's last name (pass to accept endpoint)
1945
- */
1946
- senderLastName: string | null;
1947
- /**
1948
- * Profile info of the person who sent the invitation
1949
- */
1950
- fromMember: FromMember | null;
1951
- };
1952
-
1953
- /**
1954
- * List of pending invitations
1955
- */
1956
- export type ListLinkedInInvitationsResponse = {
1957
- success: boolean;
1958
- invitations: Array<Invitation>;
1959
- /**
1960
- * Total number of pending invitations
1961
- */
1962
- total: number;
1963
- start: number;
1964
- count: number;
1965
- /**
1966
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1967
- */
1968
- creditsUsed: number;
1969
- /**
1970
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1971
- */
1972
- retryAfter: number;
1973
- };
1974
-
1975
- export type AcceptLinkedInInvitationRequest = {
1976
- /**
1977
- * Invitation ID (from the list invitations endpoint)
1978
- */
1979
- invitationId: string;
1980
- /**
1981
- * Shared secret / validation token (from the list invitations endpoint)
1982
- */
1983
- sharedSecret: string;
1984
- /**
1985
- * Sender's profile ID (from the list invitations endpoint, e.g. 'ACoAAB6pI5sB...'). Recommended for reliability.
1986
- */
1987
- senderProfileId?: string | undefined;
1988
- /**
1989
- * Sender's first name (from the list invitations endpoint). Recommended for reliability.
1990
- */
1991
- firstName?: string | undefined;
1992
- /**
1993
- * Sender's last name (from the list invitations endpoint). Recommended for reliability.
1994
- */
1995
- lastName?: string | undefined;
1996
- };
1997
-
1998
- /**
1999
- * Invitation accepted successfully
2000
- */
2001
- export type AcceptLinkedInInvitationResponse = {
2002
- success: boolean;
2003
- message: string;
2004
- /**
2005
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
2006
- */
2007
- creditsUsed: number;
2008
- /**
2009
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
2010
- */
2011
- retryAfter: number;
2012
- };
2013
-
2014
- export type SendLinkedInMessageRequest = {
2015
- /**
2016
- * LinkedIn profile URL (e.g., 'https://www.linkedin.com/in/username') or profile URN (e.g., 'urn:li:member:123456')
2017
- */
2018
- profile: string;
2019
- /**
2020
- * Message content to send
2021
- */
2022
- message: string;
2023
- /**
2024
- * Campaign identifier for deduplication. Dedup by profile automatically.
2025
- */
2026
- campaignSlug?: string | undefined;
2027
- /**
2028
- * Deprecated. Use campaignSlug only.
2029
- *
2030
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
2031
- */
2032
- actionSlug?: string | undefined;
2033
- };
2034
-
2035
- /**
2036
- * Message sent successfully
2037
- */
2038
- export type SendLinkedInMessageResponse = {
2039
- success: boolean;
2040
- messageId: string;
2041
- /**
2042
- * True if this action was already executed for the given campaignSlug + target.
2043
- */
2044
- duplicate?: boolean | undefined;
2045
- /**
2046
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
2047
- */
2048
- creditsUsed: number;
2049
- /**
2050
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
2051
- */
2052
- retryAfter: number;
2053
- };
2054
-
2055
- /** @internal */
2056
- export type CollectLinkedInLikesRequest$Outbound = {
2057
- postUrl: string;
2058
- start?: number | undefined;
2059
- count?: number | undefined;
2060
- };
2061
-
2062
- /** @internal */
2063
- export const CollectLinkedInLikesRequest$outboundSchema: z.ZodMiniType<
2064
- CollectLinkedInLikesRequest$Outbound,
2065
- CollectLinkedInLikesRequest
2066
- > = z.object({
2067
- postUrl: z.string(),
2068
- start: z.optional(z.int()),
2069
- count: z.optional(z.int()),
2070
- });
2071
-
2072
- export function collectLinkedInLikesRequestToJSON(
2073
- collectLinkedInLikesRequest: CollectLinkedInLikesRequest,
2074
- ): string {
2075
- return JSON.stringify(
2076
- CollectLinkedInLikesRequest$outboundSchema.parse(
2077
- collectLinkedInLikesRequest,
2078
- ),
2079
- );
2080
- }
2081
-
2082
- /** @internal */
2083
- export const CollectLinkedInLikesInternalServerErrorDetails$inboundSchema:
2084
- z.ZodMiniType<CollectLinkedInLikesInternalServerErrorDetails, unknown> =
2085
- smartUnion([types.string(), z.array(types.string())]);
2086
-
2087
- export function collectLinkedInLikesInternalServerErrorDetailsFromJSON(
2088
- jsonString: string,
2089
- ): SafeParseResult<
2090
- CollectLinkedInLikesInternalServerErrorDetails,
2091
- SDKValidationError
2092
- > {
2093
- return safeParse(
2094
- jsonString,
2095
- (x) =>
2096
- CollectLinkedInLikesInternalServerErrorDetails$inboundSchema.parse(
2097
- JSON.parse(x),
2098
- ),
2099
- `Failed to parse 'CollectLinkedInLikesInternalServerErrorDetails' from JSON`,
2100
- );
2101
- }
2102
-
2103
- /** @internal */
2104
- export const CollectLinkedInLikesInternalServerErrorError$inboundSchema:
2105
- z.ZodMiniType<CollectLinkedInLikesInternalServerErrorError, unknown> = z
2106
- .object({
2107
- code: types.string(),
2108
- message: types.string(),
2109
- docs: types.optional(types.string()),
2110
- details: types.optional(
2111
- smartUnion([types.string(), z.array(types.string())]),
2112
- ),
2113
- });
2114
-
2115
- export function collectLinkedInLikesInternalServerErrorErrorFromJSON(
2116
- jsonString: string,
2117
- ): SafeParseResult<
2118
- CollectLinkedInLikesInternalServerErrorError,
2119
- SDKValidationError
2120
- > {
2121
- return safeParse(
2122
- jsonString,
2123
- (x) =>
2124
- CollectLinkedInLikesInternalServerErrorError$inboundSchema.parse(
2125
- JSON.parse(x),
2126
- ),
2127
- `Failed to parse 'CollectLinkedInLikesInternalServerErrorError' from JSON`,
2128
- );
2129
- }
2130
-
2131
- /** @internal */
2132
- export const CollectLinkedInLikesCode$inboundSchema: z.ZodMiniEnum<
2133
- typeof CollectLinkedInLikesCode
2134
- > = z.enum(CollectLinkedInLikesCode);
2135
-
2136
- /** @internal */
2137
- export const CollectLinkedInLikesDaily$inboundSchema: z.ZodMiniType<
2138
- CollectLinkedInLikesDaily,
2139
- unknown
2140
- > = z.object({
2141
- current: types.number(),
2142
- limit: types.number(),
2143
- });
2144
-
2145
- export function collectLinkedInLikesDailyFromJSON(
2146
- jsonString: string,
2147
- ): SafeParseResult<CollectLinkedInLikesDaily, SDKValidationError> {
2148
- return safeParse(
2149
- jsonString,
2150
- (x) => CollectLinkedInLikesDaily$inboundSchema.parse(JSON.parse(x)),
2151
- `Failed to parse 'CollectLinkedInLikesDaily' from JSON`,
2152
- );
2153
- }
2154
-
2155
- /** @internal */
2156
- export const CollectLinkedInLikesWeekly$inboundSchema: z.ZodMiniType<
2157
- CollectLinkedInLikesWeekly,
2158
- unknown
2159
- > = z.object({
2160
- current: types.number(),
2161
- limit: types.number(),
2162
- });
2163
-
2164
- export function collectLinkedInLikesWeeklyFromJSON(
2165
- jsonString: string,
2166
- ): SafeParseResult<CollectLinkedInLikesWeekly, SDKValidationError> {
2167
- return safeParse(
2168
- jsonString,
2169
- (x) => CollectLinkedInLikesWeekly$inboundSchema.parse(JSON.parse(x)),
2170
- `Failed to parse 'CollectLinkedInLikesWeekly' from JSON`,
2171
- );
2172
- }
2173
-
2174
- /** @internal */
2175
- export const CollectLinkedInLikesTooManyRequestsError$inboundSchema:
2176
- z.ZodMiniType<CollectLinkedInLikesTooManyRequestsError, unknown> = z.object({
2177
- code: CollectLinkedInLikesCode$inboundSchema,
2178
- message: types.string(),
2179
- docs: types.optional(types.string()),
2180
- retryAfter: types.number(),
2181
- daily: types.nullable(
2182
- z.lazy(() => CollectLinkedInLikesDaily$inboundSchema),
2183
- ),
2184
- weekly: types.nullable(
2185
- z.lazy(() => CollectLinkedInLikesWeekly$inboundSchema),
2186
- ),
2187
- });
2188
-
2189
- export function collectLinkedInLikesTooManyRequestsErrorFromJSON(
2190
- jsonString: string,
2191
- ): SafeParseResult<
2192
- CollectLinkedInLikesTooManyRequestsError,
2193
- SDKValidationError
2194
- > {
2195
- return safeParse(
2196
- jsonString,
2197
- (x) =>
2198
- CollectLinkedInLikesTooManyRequestsError$inboundSchema.parse(
2199
- JSON.parse(x),
2200
- ),
2201
- `Failed to parse 'CollectLinkedInLikesTooManyRequestsError' from JSON`,
2202
- );
2203
- }
2204
-
2205
- /** @internal */
2206
- export const CollectLinkedInLikesUnprocessableEntityDetails$inboundSchema:
2207
- z.ZodMiniType<CollectLinkedInLikesUnprocessableEntityDetails, unknown> =
2208
- smartUnion([types.string(), z.array(types.string())]);
2209
-
2210
- export function collectLinkedInLikesUnprocessableEntityDetailsFromJSON(
2211
- jsonString: string,
2212
- ): SafeParseResult<
2213
- CollectLinkedInLikesUnprocessableEntityDetails,
2214
- SDKValidationError
2215
- > {
2216
- return safeParse(
2217
- jsonString,
2218
- (x) =>
2219
- CollectLinkedInLikesUnprocessableEntityDetails$inboundSchema.parse(
2220
- JSON.parse(x),
2221
- ),
2222
- `Failed to parse 'CollectLinkedInLikesUnprocessableEntityDetails' from JSON`,
2223
- );
2224
- }
2225
-
2226
- /** @internal */
2227
- export const CollectLinkedInLikesUnprocessableEntityError$inboundSchema:
2228
- z.ZodMiniType<CollectLinkedInLikesUnprocessableEntityError, unknown> = z
2229
- .object({
2230
- code: types.string(),
2231
- message: types.string(),
2232
- docs: types.optional(types.string()),
2233
- details: types.optional(
2234
- smartUnion([types.string(), z.array(types.string())]),
2235
- ),
2236
- });
2237
-
2238
- export function collectLinkedInLikesUnprocessableEntityErrorFromJSON(
2239
- jsonString: string,
2240
- ): SafeParseResult<
2241
- CollectLinkedInLikesUnprocessableEntityError,
2242
- SDKValidationError
2243
- > {
2244
- return safeParse(
2245
- jsonString,
2246
- (x) =>
2247
- CollectLinkedInLikesUnprocessableEntityError$inboundSchema.parse(
2248
- JSON.parse(x),
2249
- ),
2250
- `Failed to parse 'CollectLinkedInLikesUnprocessableEntityError' from JSON`,
2251
- );
2252
- }
2253
-
2254
- /** @internal */
2255
- export const CollectLinkedInLikesGoneDetails$inboundSchema: z.ZodMiniType<
2256
- CollectLinkedInLikesGoneDetails,
2257
- unknown
2258
- > = smartUnion([types.string(), z.array(types.string())]);
2259
-
2260
- export function collectLinkedInLikesGoneDetailsFromJSON(
2261
- jsonString: string,
2262
- ): SafeParseResult<CollectLinkedInLikesGoneDetails, SDKValidationError> {
2263
- return safeParse(
2264
- jsonString,
2265
- (x) => CollectLinkedInLikesGoneDetails$inboundSchema.parse(JSON.parse(x)),
2266
- `Failed to parse 'CollectLinkedInLikesGoneDetails' from JSON`,
2267
- );
2268
- }
2269
-
2270
- /** @internal */
2271
- export const CollectLinkedInLikesGoneError$inboundSchema: z.ZodMiniType<
2272
- CollectLinkedInLikesGoneError,
2273
- unknown
2274
- > = z.object({
2275
- code: types.string(),
2276
- message: types.string(),
2277
- docs: types.optional(types.string()),
2278
- details: types.optional(
2279
- smartUnion([types.string(), z.array(types.string())]),
2280
- ),
2281
- });
2282
-
2283
- export function collectLinkedInLikesGoneErrorFromJSON(
2284
- jsonString: string,
2285
- ): SafeParseResult<CollectLinkedInLikesGoneError, SDKValidationError> {
2286
- return safeParse(
2287
- jsonString,
2288
- (x) => CollectLinkedInLikesGoneError$inboundSchema.parse(JSON.parse(x)),
2289
- `Failed to parse 'CollectLinkedInLikesGoneError' from JSON`,
2290
- );
2291
- }
2292
-
2293
- /** @internal */
2294
- export const CollectLinkedInLikesConflictDetails$inboundSchema: z.ZodMiniType<
2295
- CollectLinkedInLikesConflictDetails,
2296
- unknown
2297
- > = smartUnion([types.string(), z.array(types.string())]);
2298
-
2299
- export function collectLinkedInLikesConflictDetailsFromJSON(
2300
- jsonString: string,
2301
- ): SafeParseResult<CollectLinkedInLikesConflictDetails, SDKValidationError> {
2302
- return safeParse(
2303
- jsonString,
2304
- (x) =>
2305
- CollectLinkedInLikesConflictDetails$inboundSchema.parse(JSON.parse(x)),
2306
- `Failed to parse 'CollectLinkedInLikesConflictDetails' from JSON`,
2307
- );
2308
- }
2309
-
2310
- /** @internal */
2311
- export const CollectLinkedInLikesConflictError$inboundSchema: z.ZodMiniType<
2312
- CollectLinkedInLikesConflictError,
2313
- unknown
2314
- > = z.object({
2315
- code: types.string(),
2316
- message: types.string(),
2317
- docs: types.optional(types.string()),
2318
- details: types.optional(
2319
- smartUnion([types.string(), z.array(types.string())]),
2320
- ),
2321
- });
2322
-
2323
- export function collectLinkedInLikesConflictErrorFromJSON(
2324
- jsonString: string,
2325
- ): SafeParseResult<CollectLinkedInLikesConflictError, SDKValidationError> {
2326
- return safeParse(
2327
- jsonString,
2328
- (x) => CollectLinkedInLikesConflictError$inboundSchema.parse(JSON.parse(x)),
2329
- `Failed to parse 'CollectLinkedInLikesConflictError' from JSON`,
2330
- );
2331
- }
2332
-
2333
- /** @internal */
2334
- export const CollectLinkedInLikesNotFoundDetails$inboundSchema: z.ZodMiniType<
2335
- CollectLinkedInLikesNotFoundDetails,
2336
- unknown
2337
- > = smartUnion([types.string(), z.array(types.string())]);
2338
-
2339
- export function collectLinkedInLikesNotFoundDetailsFromJSON(
2340
- jsonString: string,
2341
- ): SafeParseResult<CollectLinkedInLikesNotFoundDetails, SDKValidationError> {
2342
- return safeParse(
2343
- jsonString,
2344
- (x) =>
2345
- CollectLinkedInLikesNotFoundDetails$inboundSchema.parse(JSON.parse(x)),
2346
- `Failed to parse 'CollectLinkedInLikesNotFoundDetails' from JSON`,
2347
- );
2348
- }
2349
-
2350
- /** @internal */
2351
- export const CollectLinkedInLikesNotFoundError$inboundSchema: z.ZodMiniType<
2352
- CollectLinkedInLikesNotFoundError,
2353
- unknown
2354
- > = z.object({
2355
- code: types.string(),
2356
- message: types.string(),
2357
- docs: types.optional(types.string()),
2358
- details: types.optional(
2359
- smartUnion([types.string(), z.array(types.string())]),
2360
- ),
2361
- });
2362
-
2363
- export function collectLinkedInLikesNotFoundErrorFromJSON(
2364
- jsonString: string,
2365
- ): SafeParseResult<CollectLinkedInLikesNotFoundError, SDKValidationError> {
2366
- return safeParse(
2367
- jsonString,
2368
- (x) => CollectLinkedInLikesNotFoundError$inboundSchema.parse(JSON.parse(x)),
2369
- `Failed to parse 'CollectLinkedInLikesNotFoundError' from JSON`,
2370
- );
2371
- }
2372
-
2373
- /** @internal */
2374
- export const CollectLinkedInLikesForbiddenDetails$inboundSchema: z.ZodMiniType<
2375
- CollectLinkedInLikesForbiddenDetails,
2376
- unknown
2377
- > = smartUnion([types.string(), z.array(types.string())]);
2378
-
2379
- export function collectLinkedInLikesForbiddenDetailsFromJSON(
2380
- jsonString: string,
2381
- ): SafeParseResult<CollectLinkedInLikesForbiddenDetails, SDKValidationError> {
2382
- return safeParse(
2383
- jsonString,
2384
- (x) =>
2385
- CollectLinkedInLikesForbiddenDetails$inboundSchema.parse(JSON.parse(x)),
2386
- `Failed to parse 'CollectLinkedInLikesForbiddenDetails' from JSON`,
2387
- );
2388
- }
2389
-
2390
- /** @internal */
2391
- export const CollectLinkedInLikesForbiddenError$inboundSchema: z.ZodMiniType<
2392
- CollectLinkedInLikesForbiddenError,
2393
- unknown
2394
- > = z.object({
2395
- code: types.string(),
2396
- message: types.string(),
2397
- docs: types.optional(types.string()),
2398
- details: types.optional(
2399
- smartUnion([types.string(), z.array(types.string())]),
2400
- ),
2401
- });
2402
-
2403
- export function collectLinkedInLikesForbiddenErrorFromJSON(
2404
- jsonString: string,
2405
- ): SafeParseResult<CollectLinkedInLikesForbiddenError, SDKValidationError> {
2406
- return safeParse(
2407
- jsonString,
2408
- (x) =>
2409
- CollectLinkedInLikesForbiddenError$inboundSchema.parse(JSON.parse(x)),
2410
- `Failed to parse 'CollectLinkedInLikesForbiddenError' from JSON`,
2411
- );
2412
- }
2413
-
2414
- /** @internal */
2415
- export const CollectLinkedInLikesUnauthorizedDetails$inboundSchema:
2416
- z.ZodMiniType<CollectLinkedInLikesUnauthorizedDetails, unknown> = smartUnion([
2417
- types.string(),
2418
- z.array(types.string()),
2419
- ]);
2420
-
2421
- export function collectLinkedInLikesUnauthorizedDetailsFromJSON(
2422
- jsonString: string,
2423
- ): SafeParseResult<
2424
- CollectLinkedInLikesUnauthorizedDetails,
2425
- SDKValidationError
2426
- > {
2427
- return safeParse(
2428
- jsonString,
2429
- (x) =>
2430
- CollectLinkedInLikesUnauthorizedDetails$inboundSchema.parse(
2431
- JSON.parse(x),
2432
- ),
2433
- `Failed to parse 'CollectLinkedInLikesUnauthorizedDetails' from JSON`,
2434
- );
2435
- }
2436
-
2437
- /** @internal */
2438
- export const CollectLinkedInLikesUnauthorizedError$inboundSchema: z.ZodMiniType<
2439
- CollectLinkedInLikesUnauthorizedError,
2440
- unknown
2441
- > = z.object({
2442
- code: types.string(),
2443
- message: types.string(),
2444
- docs: types.optional(types.string()),
2445
- details: types.optional(
2446
- smartUnion([types.string(), z.array(types.string())]),
2447
- ),
2448
- });
2449
-
2450
- export function collectLinkedInLikesUnauthorizedErrorFromJSON(
2451
- jsonString: string,
2452
- ): SafeParseResult<CollectLinkedInLikesUnauthorizedError, SDKValidationError> {
2453
- return safeParse(
2454
- jsonString,
2455
- (x) =>
2456
- CollectLinkedInLikesUnauthorizedError$inboundSchema.parse(JSON.parse(x)),
2457
- `Failed to parse 'CollectLinkedInLikesUnauthorizedError' from JSON`,
2458
- );
2459
- }
2460
-
2461
- /** @internal */
2462
- export const CollectLinkedInLikesBadRequestDetails$inboundSchema: z.ZodMiniType<
2463
- CollectLinkedInLikesBadRequestDetails,
2464
- unknown
2465
- > = smartUnion([types.string(), z.array(types.string())]);
2466
-
2467
- export function collectLinkedInLikesBadRequestDetailsFromJSON(
2468
- jsonString: string,
2469
- ): SafeParseResult<CollectLinkedInLikesBadRequestDetails, SDKValidationError> {
2470
- return safeParse(
2471
- jsonString,
2472
- (x) =>
2473
- CollectLinkedInLikesBadRequestDetails$inboundSchema.parse(JSON.parse(x)),
2474
- `Failed to parse 'CollectLinkedInLikesBadRequestDetails' from JSON`,
2475
- );
2476
- }
2477
-
2478
- /** @internal */
2479
- export const CollectLinkedInLikesBadRequestError$inboundSchema: z.ZodMiniType<
2480
- CollectLinkedInLikesBadRequestError,
2481
- unknown
2482
- > = z.object({
2483
- code: types.string(),
2484
- message: types.string(),
2485
- docs: types.optional(types.string()),
2486
- details: types.optional(
2487
- smartUnion([types.string(), z.array(types.string())]),
2488
- ),
2489
- });
2490
-
2491
- export function collectLinkedInLikesBadRequestErrorFromJSON(
2492
- jsonString: string,
2493
- ): SafeParseResult<CollectLinkedInLikesBadRequestError, SDKValidationError> {
2494
- return safeParse(
2495
- jsonString,
2496
- (x) =>
2497
- CollectLinkedInLikesBadRequestError$inboundSchema.parse(JSON.parse(x)),
2498
- `Failed to parse 'CollectLinkedInLikesBadRequestError' from JSON`,
2499
- );
2500
- }
2501
-
2502
- /** @internal */
2503
- export const CollectLinkedInLikesType$inboundSchema: z.ZodMiniEnum<
2504
- typeof CollectLinkedInLikesType
2505
- > = z.enum(CollectLinkedInLikesType);
2506
-
2507
- /** @internal */
2508
- export const CollectLinkedInLikesProfile$inboundSchema: z.ZodMiniType<
2509
- CollectLinkedInLikesProfile,
2510
- unknown
2511
- > = z.object({
2512
- name: types.string(),
2513
- headline: types.nullable(types.string()),
2514
- profileUrl: types.nullable(types.string()),
2515
- imageUrl: types.nullable(types.string()),
2516
- type: CollectLinkedInLikesType$inboundSchema,
2517
- });
2518
-
2519
- export function collectLinkedInLikesProfileFromJSON(
2520
- jsonString: string,
2521
- ): SafeParseResult<CollectLinkedInLikesProfile, SDKValidationError> {
2522
- return safeParse(
2523
- jsonString,
2524
- (x) => CollectLinkedInLikesProfile$inboundSchema.parse(JSON.parse(x)),
2525
- `Failed to parse 'CollectLinkedInLikesProfile' from JSON`,
2526
- );
2527
- }
2528
-
2529
- /** @internal */
2530
- export const CollectLinkedInLikesResponse$inboundSchema: z.ZodMiniType<
2531
- CollectLinkedInLikesResponse,
2532
- unknown
2533
- > = z.object({
2534
- success: types.boolean(),
2535
- profiles: z.array(z.lazy(() => CollectLinkedInLikesProfile$inboundSchema)),
2536
- count: types.number(),
2537
- total: types.number(),
2538
- start: types.number(),
2539
- hasMore: types.boolean(),
2540
- previousTotal: types.nullable(types.number()),
2541
- creditsUsed: types.number(),
2542
- retryAfter: types.number(),
2543
- });
2544
-
2545
- export function collectLinkedInLikesResponseFromJSON(
2546
- jsonString: string,
2547
- ): SafeParseResult<CollectLinkedInLikesResponse, SDKValidationError> {
2548
- return safeParse(
2549
- jsonString,
2550
- (x) => CollectLinkedInLikesResponse$inboundSchema.parse(JSON.parse(x)),
2551
- `Failed to parse 'CollectLinkedInLikesResponse' from JSON`,
2552
- );
2553
- }
2554
-
2555
- /** @internal */
2556
- export type CollectLinkedInCommentsRequest$Outbound = {
2557
- postUrl: string;
2558
- start?: number | undefined;
2559
- count?: number | undefined;
2560
- campaignSlug?: string | undefined;
2561
- };
2562
-
2563
- /** @internal */
2564
- export const CollectLinkedInCommentsRequest$outboundSchema: z.ZodMiniType<
2565
- CollectLinkedInCommentsRequest$Outbound,
2566
- CollectLinkedInCommentsRequest
2567
- > = z.object({
2568
- postUrl: z.string(),
2569
- start: z.optional(z.int()),
2570
- count: z.optional(z.int()),
2571
- campaignSlug: z.optional(z.string()),
2572
- });
2573
-
2574
- export function collectLinkedInCommentsRequestToJSON(
2575
- collectLinkedInCommentsRequest: CollectLinkedInCommentsRequest,
2576
- ): string {
2577
- return JSON.stringify(
2578
- CollectLinkedInCommentsRequest$outboundSchema.parse(
2579
- collectLinkedInCommentsRequest,
2580
- ),
2581
- );
2582
- }
2583
-
2584
- /** @internal */
2585
- export const CollectLinkedInCommentsType$inboundSchema: z.ZodMiniEnum<
2586
- typeof CollectLinkedInCommentsType
2587
- > = z.enum(CollectLinkedInCommentsType);
2588
-
2589
- /** @internal */
2590
- export const CollectLinkedInCommentsActionsCompleted$inboundSchema:
2591
- z.ZodMiniType<CollectLinkedInCommentsActionsCompleted, unknown> = z.object({
2592
- message: types.boolean(),
2593
- reply: types.boolean(),
2594
- like: types.boolean(),
2595
- visit: types.boolean(),
2596
- connect: types.boolean(),
2597
- });
2598
-
2599
- export function collectLinkedInCommentsActionsCompletedFromJSON(
2600
- jsonString: string,
2601
- ): SafeParseResult<
2602
- CollectLinkedInCommentsActionsCompleted,
2603
- SDKValidationError
2604
- > {
2605
- return safeParse(
2606
- jsonString,
2607
- (x) =>
2608
- CollectLinkedInCommentsActionsCompleted$inboundSchema.parse(
2609
- JSON.parse(x),
2610
- ),
2611
- `Failed to parse 'CollectLinkedInCommentsActionsCompleted' from JSON`,
2612
- );
2613
- }
2614
-
2615
- /** @internal */
2616
- export const CollectLinkedInCommentsProfile$inboundSchema: z.ZodMiniType<
2617
- CollectLinkedInCommentsProfile,
2618
- unknown
2619
- > = z.object({
2620
- name: types.string(),
2621
- headline: types.nullable(types.string()),
2622
- profileUrl: types.nullable(types.string()),
2623
- imageUrl: types.nullable(types.string()),
2624
- type: CollectLinkedInCommentsType$inboundSchema,
2625
- commentText: types.optional(types.string()),
2626
- timestamp: types.nullable(types.number()),
2627
- isEdited: types.optional(types.boolean()),
2628
- commentUrn: types.optional(types.string()),
2629
- commentHash: types.optional(types.string()),
2630
- isPostAuthor: types.optional(types.boolean()),
2631
- repliesCount: types.optional(types.number()),
2632
- hasReplyFromPostAuthor: types.optional(types.boolean()),
2633
- postUrn: types.optional(types.string()),
2634
- postHash: types.optional(types.string()),
2635
- actionsCompleted: types.optional(
2636
- z.lazy(() => CollectLinkedInCommentsActionsCompleted$inboundSchema),
2637
- ),
2638
- knownDistance: types.nullable(types.number()),
2639
- });
2640
-
2641
- export function collectLinkedInCommentsProfileFromJSON(
2642
- jsonString: string,
2643
- ): SafeParseResult<CollectLinkedInCommentsProfile, SDKValidationError> {
2644
- return safeParse(
2645
- jsonString,
2646
- (x) => CollectLinkedInCommentsProfile$inboundSchema.parse(JSON.parse(x)),
2647
- `Failed to parse 'CollectLinkedInCommentsProfile' from JSON`,
2648
- );
2649
- }
2650
-
2651
- /** @internal */
2652
- export const CollectLinkedInCommentsResponse$inboundSchema: z.ZodMiniType<
2653
- CollectLinkedInCommentsResponse,
2654
- unknown
2655
- > = z.object({
2656
- success: types.boolean(),
2657
- profiles: z.array(z.lazy(() => CollectLinkedInCommentsProfile$inboundSchema)),
2658
- count: types.number(),
2659
- total: types.number(),
2660
- start: types.number(),
2661
- hasMore: types.boolean(),
2662
- previousTotal: types.nullable(types.number()),
2663
- processedCount: types.optional(types.number()),
2664
- newCount: types.optional(types.number()),
2665
- creditsUsed: types.number(),
2666
- retryAfter: types.number(),
2667
- });
2668
-
2669
- export function collectLinkedInCommentsResponseFromJSON(
2670
- jsonString: string,
2671
- ): SafeParseResult<CollectLinkedInCommentsResponse, SDKValidationError> {
2672
- return safeParse(
2673
- jsonString,
2674
- (x) => CollectLinkedInCommentsResponse$inboundSchema.parse(JSON.parse(x)),
2675
- `Failed to parse 'CollectLinkedInCommentsResponse' from JSON`,
2676
- );
2677
- }
2678
-
2679
- /** @internal */
2680
- export type CollectLinkedInCommentRepliesRequest$Outbound = {
2681
- commentUrn: string;
2682
- start?: number | undefined;
2683
- count?: number | undefined;
2684
- };
2685
-
2686
- /** @internal */
2687
- export const CollectLinkedInCommentRepliesRequest$outboundSchema: z.ZodMiniType<
2688
- CollectLinkedInCommentRepliesRequest$Outbound,
2689
- CollectLinkedInCommentRepliesRequest
2690
- > = z.object({
2691
- commentUrn: z.string(),
2692
- start: z.optional(z.int()),
2693
- count: z.optional(z.int()),
2694
- });
2695
-
2696
- export function collectLinkedInCommentRepliesRequestToJSON(
2697
- collectLinkedInCommentRepliesRequest: CollectLinkedInCommentRepliesRequest,
2698
- ): string {
2699
- return JSON.stringify(
2700
- CollectLinkedInCommentRepliesRequest$outboundSchema.parse(
2701
- collectLinkedInCommentRepliesRequest,
2702
- ),
2703
- );
2704
- }
2705
-
2706
- /** @internal */
2707
- export const CollectLinkedInCommentRepliesType$inboundSchema: z.ZodMiniEnum<
2708
- typeof CollectLinkedInCommentRepliesType
2709
- > = z.enum(CollectLinkedInCommentRepliesType);
2710
-
2711
- /** @internal */
2712
- export const CollectLinkedInCommentRepliesActionsCompleted$inboundSchema:
2713
- z.ZodMiniType<CollectLinkedInCommentRepliesActionsCompleted, unknown> = z
2714
- .object({
2715
- message: types.boolean(),
2716
- reply: types.boolean(),
2717
- like: types.boolean(),
2718
- visit: types.boolean(),
2719
- connect: types.boolean(),
2720
- });
2721
-
2722
- export function collectLinkedInCommentRepliesActionsCompletedFromJSON(
2723
- jsonString: string,
2724
- ): SafeParseResult<
2725
- CollectLinkedInCommentRepliesActionsCompleted,
2726
- SDKValidationError
2727
- > {
2728
- return safeParse(
2729
- jsonString,
2730
- (x) =>
2731
- CollectLinkedInCommentRepliesActionsCompleted$inboundSchema.parse(
2732
- JSON.parse(x),
2733
- ),
2734
- `Failed to parse 'CollectLinkedInCommentRepliesActionsCompleted' from JSON`,
2735
- );
2736
- }
2737
-
2738
- /** @internal */
2739
- export const Reply$inboundSchema: z.ZodMiniType<Reply, unknown> = z.object({
2740
- name: types.string(),
2741
- headline: types.nullable(types.string()),
2742
- profileUrl: types.nullable(types.string()),
2743
- imageUrl: types.nullable(types.string()),
2744
- type: CollectLinkedInCommentRepliesType$inboundSchema,
2745
- commentText: types.optional(types.string()),
2746
- timestamp: types.nullable(types.number()),
2747
- isEdited: types.optional(types.boolean()),
2748
- commentUrn: types.optional(types.string()),
2749
- commentHash: types.optional(types.string()),
2750
- isPostAuthor: types.optional(types.boolean()),
2751
- repliesCount: types.optional(types.number()),
2752
- hasReplyFromPostAuthor: types.optional(types.boolean()),
2753
- postUrn: types.optional(types.string()),
2754
- postHash: types.optional(types.string()),
2755
- actionsCompleted: types.optional(
2756
- z.lazy(() => CollectLinkedInCommentRepliesActionsCompleted$inboundSchema),
2757
- ),
2758
- knownDistance: types.nullable(types.number()),
2759
- });
2760
-
2761
- export function replyFromJSON(
2762
- jsonString: string,
2763
- ): SafeParseResult<Reply, SDKValidationError> {
2764
- return safeParse(
2765
- jsonString,
2766
- (x) => Reply$inboundSchema.parse(JSON.parse(x)),
2767
- `Failed to parse 'Reply' from JSON`,
2768
- );
2769
- }
2770
-
2771
- /** @internal */
2772
- export const CollectLinkedInCommentRepliesResponse$inboundSchema: z.ZodMiniType<
2773
- CollectLinkedInCommentRepliesResponse,
2774
- unknown
2775
- > = z.object({
2776
- success: types.boolean(),
2777
- replies: z.array(z.lazy(() => Reply$inboundSchema)),
2778
- count: types.number(),
2779
- total: types.number(),
2780
- start: types.number(),
2781
- hasMore: types.boolean(),
2782
- parentCommentUrn: types.string(),
2783
- previousTotal: types.nullable(types.number()),
2784
- creditsUsed: types.number(),
2785
- retryAfter: types.number(),
2786
- });
2787
-
2788
- export function collectLinkedInCommentRepliesResponseFromJSON(
2789
- jsonString: string,
2790
- ): SafeParseResult<CollectLinkedInCommentRepliesResponse, SDKValidationError> {
2791
- return safeParse(
2792
- jsonString,
2793
- (x) =>
2794
- CollectLinkedInCommentRepliesResponse$inboundSchema.parse(JSON.parse(x)),
2795
- `Failed to parse 'CollectLinkedInCommentRepliesResponse' from JSON`,
2796
- );
2797
- }
2798
-
2799
- /** @internal */
2800
- export type CollectLinkedInPostsRequest$Outbound = {
2801
- profileUrl: string;
2802
- count?: number | undefined;
2803
- start?: number | undefined;
2804
- paginationToken?: string | undefined;
2805
- };
2806
-
2807
- /** @internal */
2808
- export const CollectLinkedInPostsRequest$outboundSchema: z.ZodMiniType<
2809
- CollectLinkedInPostsRequest$Outbound,
2810
- CollectLinkedInPostsRequest
2811
- > = z.object({
2812
- profileUrl: z.string(),
2813
- count: z.optional(z.int()),
2814
- start: z.optional(z.int()),
2815
- paginationToken: z.optional(z.string()),
2816
- });
2817
-
2818
- export function collectLinkedInPostsRequestToJSON(
2819
- collectLinkedInPostsRequest: CollectLinkedInPostsRequest,
2820
- ): string {
2821
- return JSON.stringify(
2822
- CollectLinkedInPostsRequest$outboundSchema.parse(
2823
- collectLinkedInPostsRequest,
2824
- ),
2825
- );
2826
- }
2827
-
2828
- /** @internal */
2829
- export const CollectLinkedInPostsType$inboundSchema: z.ZodMiniType<
2830
- CollectLinkedInPostsType,
2831
- unknown
2832
- > = openEnums.inboundSchema(CollectLinkedInPostsType);
2833
-
2834
- /** @internal */
2835
- export const CollectLinkedInPostsPost$inboundSchema: z.ZodMiniType<
2836
- CollectLinkedInPostsPost,
2837
- unknown
2838
- > = z.object({
2839
- postUrl: types.string(),
2840
- text: types.string(),
2841
- date: types.number(),
2842
- likesCount: types.number(),
2843
- commentsCount: types.number(),
2844
- sharesCount: types.number(),
2845
- postUrn: types.string(),
2846
- postId: types.string(),
2847
- type: CollectLinkedInPostsType$inboundSchema,
2848
- });
2849
-
2850
- export function collectLinkedInPostsPostFromJSON(
2851
- jsonString: string,
2852
- ): SafeParseResult<CollectLinkedInPostsPost, SDKValidationError> {
2853
- return safeParse(
2854
- jsonString,
2855
- (x) => CollectLinkedInPostsPost$inboundSchema.parse(JSON.parse(x)),
2856
- `Failed to parse 'CollectLinkedInPostsPost' from JSON`,
2857
- );
2858
- }
2859
-
2860
- /** @internal */
2861
- export const CollectLinkedInPostsResponse$inboundSchema: z.ZodMiniType<
2862
- CollectLinkedInPostsResponse,
2863
- unknown
2864
- > = z.object({
2865
- success: types.boolean(),
2866
- posts: z.array(z.lazy(() => CollectLinkedInPostsPost$inboundSchema)),
2867
- count: types.number(),
2868
- total: types.number(),
2869
- start: types.number(),
2870
- hasMore: types.boolean(),
2871
- paginationToken: types.nullable(types.string()),
2872
- previousTotal: types.nullable(types.number()),
2873
- creditsUsed: types.number(),
2874
- retryAfter: types.number(),
2875
- });
2876
-
2877
- export function collectLinkedInPostsResponseFromJSON(
2878
- jsonString: string,
2879
- ): SafeParseResult<CollectLinkedInPostsResponse, SDKValidationError> {
2880
- return safeParse(
2881
- jsonString,
2882
- (x) => CollectLinkedInPostsResponse$inboundSchema.parse(JSON.parse(x)),
2883
- `Failed to parse 'CollectLinkedInPostsResponse' from JSON`,
2884
- );
2885
- }
2886
-
2887
- /** @internal */
2888
- export type VisitLinkedInProfileRequest$Outbound = {
2889
- profile: string;
2890
- campaignSlug?: string | undefined;
2891
- actionSlug?: string | undefined;
2892
- includePosts?: boolean | undefined;
2893
- };
2894
-
2895
- /** @internal */
2896
- export const VisitLinkedInProfileRequest$outboundSchema: z.ZodMiniType<
2897
- VisitLinkedInProfileRequest$Outbound,
2898
- VisitLinkedInProfileRequest
2899
- > = z.object({
2900
- profile: z.string(),
2901
- campaignSlug: z.optional(z.string()),
2902
- actionSlug: z.optional(z.string()),
2903
- includePosts: z.optional(z.boolean()),
2904
- });
2905
-
2906
- export function visitLinkedInProfileRequestToJSON(
2907
- visitLinkedInProfileRequest: VisitLinkedInProfileRequest,
2908
- ): string {
2909
- return JSON.stringify(
2910
- VisitLinkedInProfileRequest$outboundSchema.parse(
2911
- visitLinkedInProfileRequest,
2912
- ),
2913
- );
2914
- }
2915
-
2916
- /** @internal */
2917
- export const PendingConnection$inboundSchema: z.ZodMiniType<
2918
- PendingConnection,
2919
- unknown
2920
- > = openEnums.inboundSchema(PendingConnection);
2921
-
2922
- /** @internal */
2923
- export const VisitLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<
2924
- VisitLinkedInProfilePositionStartDate,
2925
- unknown
2926
- > = z.object({
2927
- month: types.nullable(types.number()),
2928
- year: types.number(),
2929
- });
2930
-
2931
- export function visitLinkedInProfilePositionStartDateFromJSON(
2932
- jsonString: string,
2933
- ): SafeParseResult<VisitLinkedInProfilePositionStartDate, SDKValidationError> {
2934
- return safeParse(
2935
- jsonString,
2936
- (x) =>
2937
- VisitLinkedInProfilePositionStartDate$inboundSchema.parse(JSON.parse(x)),
2938
- `Failed to parse 'VisitLinkedInProfilePositionStartDate' from JSON`,
2939
- );
2940
- }
2941
-
2942
- /** @internal */
2943
- export const VisitLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<
2944
- VisitLinkedInProfilePositionEndDate,
2945
- unknown
2946
- > = z.object({
2947
- month: types.nullable(types.number()),
2948
- year: types.number(),
2949
- });
2950
-
2951
- export function visitLinkedInProfilePositionEndDateFromJSON(
2952
- jsonString: string,
2953
- ): SafeParseResult<VisitLinkedInProfilePositionEndDate, SDKValidationError> {
2954
- return safeParse(
2955
- jsonString,
2956
- (x) =>
2957
- VisitLinkedInProfilePositionEndDate$inboundSchema.parse(JSON.parse(x)),
2958
- `Failed to parse 'VisitLinkedInProfilePositionEndDate' from JSON`,
2959
- );
2960
- }
2961
-
2962
- /** @internal */
2963
- export const VisitLinkedInProfilePosition$inboundSchema: z.ZodMiniType<
2964
- VisitLinkedInProfilePosition,
2965
- unknown
2966
- > = z.object({
2967
- companyName: types.nullable(types.string()),
2968
- title: types.nullable(types.string()),
2969
- companyUrl: types.nullable(types.string()),
2970
- companyLogo: types.nullable(types.string()),
2971
- startDate: types.nullable(
2972
- z.lazy(() => VisitLinkedInProfilePositionStartDate$inboundSchema),
2973
- ),
2974
- endDate: types.nullable(
2975
- z.lazy(() => VisitLinkedInProfilePositionEndDate$inboundSchema),
2976
- ),
2977
- isCurrent: types.boolean(),
2978
- });
2979
-
2980
- export function visitLinkedInProfilePositionFromJSON(
2981
- jsonString: string,
2982
- ): SafeParseResult<VisitLinkedInProfilePosition, SDKValidationError> {
2983
- return safeParse(
2984
- jsonString,
2985
- (x) => VisitLinkedInProfilePosition$inboundSchema.parse(JSON.parse(x)),
2986
- `Failed to parse 'VisitLinkedInProfilePosition' from JSON`,
2987
- );
2988
- }
2989
-
2990
- /** @internal */
2991
- export const VisitLinkedInProfileEducationStartDate$inboundSchema:
2992
- z.ZodMiniType<VisitLinkedInProfileEducationStartDate, unknown> = z.object({
2993
- month: types.nullable(types.number()),
2994
- year: types.number(),
2995
- });
2996
-
2997
- export function visitLinkedInProfileEducationStartDateFromJSON(
2998
- jsonString: string,
2999
- ): SafeParseResult<VisitLinkedInProfileEducationStartDate, SDKValidationError> {
3000
- return safeParse(
3001
- jsonString,
3002
- (x) =>
3003
- VisitLinkedInProfileEducationStartDate$inboundSchema.parse(JSON.parse(x)),
3004
- `Failed to parse 'VisitLinkedInProfileEducationStartDate' from JSON`,
3005
- );
3006
- }
3007
-
3008
- /** @internal */
3009
- export const VisitLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<
3010
- VisitLinkedInProfileEducationEndDate,
3011
- unknown
3012
- > = z.object({
3013
- month: types.nullable(types.number()),
3014
- year: types.number(),
3015
- });
3016
-
3017
- export function visitLinkedInProfileEducationEndDateFromJSON(
3018
- jsonString: string,
3019
- ): SafeParseResult<VisitLinkedInProfileEducationEndDate, SDKValidationError> {
3020
- return safeParse(
3021
- jsonString,
3022
- (x) =>
3023
- VisitLinkedInProfileEducationEndDate$inboundSchema.parse(JSON.parse(x)),
3024
- `Failed to parse 'VisitLinkedInProfileEducationEndDate' from JSON`,
3025
- );
3026
- }
3027
-
3028
- /** @internal */
3029
- export const VisitLinkedInProfileEducation$inboundSchema: z.ZodMiniType<
3030
- VisitLinkedInProfileEducation,
3031
- unknown
3032
- > = z.object({
3033
- schoolName: types.nullable(types.string()),
3034
- degreeName: types.nullable(types.string()),
3035
- fieldOfStudy: types.nullable(types.string()),
3036
- schoolUrl: types.nullable(types.string()),
3037
- schoolLogo: types.nullable(types.string()),
3038
- startDate: types.nullable(
3039
- z.lazy(() => VisitLinkedInProfileEducationStartDate$inboundSchema),
3040
- ),
3041
- endDate: types.nullable(
3042
- z.lazy(() => VisitLinkedInProfileEducationEndDate$inboundSchema),
3043
- ),
3044
- });
3045
-
3046
- export function visitLinkedInProfileEducationFromJSON(
3047
- jsonString: string,
3048
- ): SafeParseResult<VisitLinkedInProfileEducation, SDKValidationError> {
3049
- return safeParse(
3050
- jsonString,
3051
- (x) => VisitLinkedInProfileEducation$inboundSchema.parse(JSON.parse(x)),
3052
- `Failed to parse 'VisitLinkedInProfileEducation' from JSON`,
3053
- );
3054
- }
3055
-
3056
- /** @internal */
3057
- export const VisitLinkedInProfileType$inboundSchema: z.ZodMiniType<
3058
- VisitLinkedInProfileType,
3059
- unknown
3060
- > = openEnums.inboundSchema(VisitLinkedInProfileType);
3061
-
3062
- /** @internal */
3063
- export const VisitLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<
3064
- VisitLinkedInProfileLastPost,
3065
- unknown
3066
- > = z.object({
3067
- postUrl: types.string(),
3068
- text: types.string(),
3069
- date: types.number(),
3070
- likesCount: types.number(),
3071
- commentsCount: types.number(),
3072
- sharesCount: types.number(),
3073
- postUrn: types.string(),
3074
- postId: types.string(),
3075
- type: VisitLinkedInProfileType$inboundSchema,
3076
- });
3077
-
3078
- export function visitLinkedInProfileLastPostFromJSON(
3079
- jsonString: string,
3080
- ): SafeParseResult<VisitLinkedInProfileLastPost, SDKValidationError> {
3081
- return safeParse(
3082
- jsonString,
3083
- (x) => VisitLinkedInProfileLastPost$inboundSchema.parse(JSON.parse(x)),
3084
- `Failed to parse 'VisitLinkedInProfileLastPost' from JSON`,
3085
- );
3086
- }
3087
-
3088
- /** @internal */
3089
- export const VisitLinkedInProfileResponse$inboundSchema: z.ZodMiniType<
3090
- VisitLinkedInProfileResponse,
3091
- unknown
3092
- > = z.object({
3093
- success: types.boolean(),
3094
- firstName: types.string(),
3095
- lastName: types.string(),
3096
- headline: types.nullable(types.string()),
3097
- publicIdentifier: types.string(),
3098
- profileUrl: types.nullable(types.string()),
3099
- profileUrn: types.nullable(types.string()),
3100
- imageUrl: types.nullable(types.string()),
3101
- email: types.nullable(types.string()),
3102
- location: types.nullable(types.string()),
3103
- company: types.nullable(types.string()),
3104
- position: types.nullable(types.string()),
3105
- memberDistance: types.nullable(types.number()),
3106
- pendingConnection: PendingConnection$inboundSchema,
3107
- positions: types.optional(
3108
- z.array(z.lazy(() => VisitLinkedInProfilePosition$inboundSchema)),
3109
- ),
3110
- educations: types.optional(
3111
- z.array(z.lazy(() => VisitLinkedInProfileEducation$inboundSchema)),
3112
- ),
3113
- lastPosts: types.optional(
3114
- z.array(z.lazy(() => VisitLinkedInProfileLastPost$inboundSchema)),
3115
- ),
3116
- cached: types.boolean(),
3117
- creditsUsed: types.number(),
3118
- retryAfter: types.number(),
3119
- });
3120
-
3121
- export function visitLinkedInProfileResponseFromJSON(
3122
- jsonString: string,
3123
- ): SafeParseResult<VisitLinkedInProfileResponse, SDKValidationError> {
3124
- return safeParse(
3125
- jsonString,
3126
- (x) => VisitLinkedInProfileResponse$inboundSchema.parse(JSON.parse(x)),
3127
- `Failed to parse 'VisitLinkedInProfileResponse' from JSON`,
3128
- );
3129
- }
3130
-
3131
- /** @internal */
3132
- export type VisitLinkedInCompanyRequest$Outbound = {
3133
- companyUrl: string;
3134
- includeWorkplacePolicy?: boolean | undefined;
3135
- };
3136
-
3137
- /** @internal */
3138
- export const VisitLinkedInCompanyRequest$outboundSchema: z.ZodMiniType<
3139
- VisitLinkedInCompanyRequest$Outbound,
3140
- VisitLinkedInCompanyRequest
3141
- > = z.object({
3142
- companyUrl: z.string(),
3143
- includeWorkplacePolicy: z.optional(z.boolean()),
3144
- });
3145
-
3146
- export function visitLinkedInCompanyRequestToJSON(
3147
- visitLinkedInCompanyRequest: VisitLinkedInCompanyRequest,
3148
- ): string {
3149
- return JSON.stringify(
3150
- VisitLinkedInCompanyRequest$outboundSchema.parse(
3151
- visitLinkedInCompanyRequest,
3152
- ),
3153
- );
3154
- }
3155
-
3156
- /** @internal */
3157
- export const EmployeeCountRange$inboundSchema: z.ZodMiniType<
3158
- EmployeeCountRange,
3159
- unknown
3160
- > = z.object({
3161
- start: types.number(),
3162
- end: types.nullable(types.number()),
3163
- });
3164
-
3165
- export function employeeCountRangeFromJSON(
3166
- jsonString: string,
3167
- ): SafeParseResult<EmployeeCountRange, SDKValidationError> {
3168
- return safeParse(
3169
- jsonString,
3170
- (x) => EmployeeCountRange$inboundSchema.parse(JSON.parse(x)),
3171
- `Failed to parse 'EmployeeCountRange' from JSON`,
3172
- );
3173
- }
3174
-
3175
- /** @internal */
3176
- export const Headquarter$inboundSchema: z.ZodMiniType<Headquarter, unknown> = z
3177
- .object({
3178
- country: types.nullable(types.string()),
3179
- geographicArea: types.nullable(types.string()),
3180
- city: types.nullable(types.string()),
3181
- postalCode: types.nullable(types.string()),
3182
- line1: types.nullable(types.string()),
3183
- line2: types.nullable(types.string()),
3184
- });
3185
-
3186
- export function headquarterFromJSON(
3187
- jsonString: string,
3188
- ): SafeParseResult<Headquarter, SDKValidationError> {
3189
- return safeParse(
3190
- jsonString,
3191
- (x) => Headquarter$inboundSchema.parse(JSON.parse(x)),
3192
- `Failed to parse 'Headquarter' from JSON`,
3193
- );
3194
- }
3195
-
3196
- /** @internal */
3197
- export const FoundedOn$inboundSchema: z.ZodMiniType<FoundedOn, unknown> = z
3198
- .object({
3199
- year: types.number(),
3200
- });
3201
-
3202
- export function foundedOnFromJSON(
3203
- jsonString: string,
3204
- ): SafeParseResult<FoundedOn, SDKValidationError> {
3205
- return safeParse(
3206
- jsonString,
3207
- (x) => FoundedOn$inboundSchema.parse(JSON.parse(x)),
3208
- `Failed to parse 'FoundedOn' from JSON`,
3209
- );
3210
- }
3211
-
3212
- /** @internal */
3213
- export const CallToAction$inboundSchema: z.ZodMiniType<CallToAction, unknown> =
3214
- z.object({
3215
- type: types.string(),
3216
- url: types.string(),
3217
- });
3218
-
3219
- export function callToActionFromJSON(
3220
- jsonString: string,
3221
- ): SafeParseResult<CallToAction, SDKValidationError> {
3222
- return safeParse(
3223
- jsonString,
3224
- (x) => CallToAction$inboundSchema.parse(JSON.parse(x)),
3225
- `Failed to parse 'CallToAction' from JSON`,
3226
- );
3227
- }
3228
-
3229
- /** @internal */
3230
- export const AffiliatedCompany$inboundSchema: z.ZodMiniType<
3231
- AffiliatedCompany,
3232
- unknown
3233
- > = z.object({
3234
- id: types.string(),
3235
- universalName: types.string(),
3236
- name: types.string(),
3237
- url: types.nullable(types.string()),
3238
- logoUrl: types.nullable(types.string()),
3239
- followerCount: types.nullable(types.number()),
3240
- industry: types.nullable(types.string()),
3241
- });
3242
-
3243
- export function affiliatedCompanyFromJSON(
3244
- jsonString: string,
3245
- ): SafeParseResult<AffiliatedCompany, SDKValidationError> {
3246
- return safeParse(
3247
- jsonString,
3248
- (x) => AffiliatedCompany$inboundSchema.parse(JSON.parse(x)),
3249
- `Failed to parse 'AffiliatedCompany' from JSON`,
3250
- );
3251
- }
3252
-
3253
- /** @internal */
3254
- export const SimilarCompany$inboundSchema: z.ZodMiniType<
3255
- SimilarCompany,
3256
- unknown
3257
- > = z.object({
3258
- id: types.string(),
3259
- universalName: types.string(),
3260
- name: types.string(),
3261
- url: types.nullable(types.string()),
3262
- logoUrl: types.nullable(types.string()),
3263
- followerCount: types.nullable(types.number()),
3264
- industry: types.nullable(types.string()),
3265
- });
3266
-
3267
- export function similarCompanyFromJSON(
3268
- jsonString: string,
3269
- ): SafeParseResult<SimilarCompany, SDKValidationError> {
3270
- return safeParse(
3271
- jsonString,
3272
- (x) => SimilarCompany$inboundSchema.parse(JSON.parse(x)),
3273
- `Failed to parse 'SimilarCompany' from JSON`,
3274
- );
3275
- }
3276
-
3277
- /** @internal */
3278
- export const WorkplacePolicy$inboundSchema: z.ZodMiniType<
3279
- WorkplacePolicy,
3280
- unknown
3281
- > = z.object({
3282
- title: types.nullable(types.string()),
3283
- description: types.nullable(types.string()),
3284
- timeAtOnsite: types.nullable(types.string()),
3285
- benefits: z.array(types.string()),
3286
- });
3287
-
3288
- export function workplacePolicyFromJSON(
3289
- jsonString: string,
3290
- ): SafeParseResult<WorkplacePolicy, SDKValidationError> {
3291
- return safeParse(
3292
- jsonString,
3293
- (x) => WorkplacePolicy$inboundSchema.parse(JSON.parse(x)),
3294
- `Failed to parse 'WorkplacePolicy' from JSON`,
3295
- );
3296
- }
3297
-
3298
- /** @internal */
3299
- export const VisitLinkedInCompanyResponse$inboundSchema: z.ZodMiniType<
3300
- VisitLinkedInCompanyResponse,
3301
- unknown
3302
- > = z.object({
3303
- success: types.boolean(),
3304
- id: types.string(),
3305
- universalName: types.string(),
3306
- name: types.string(),
3307
- description: types.nullable(types.string()),
3308
- url: types.string(),
3309
- websiteUrl: types.nullable(types.string()),
3310
- industry: types.nullable(types.string()),
3311
- employeeCount: types.nullable(types.number()),
3312
- employeeCountRange: types.nullable(
3313
- z.lazy(() => EmployeeCountRange$inboundSchema),
3314
- ),
3315
- headquarter: types.nullable(z.lazy(() => Headquarter$inboundSchema)),
3316
- logoUrl: types.nullable(types.string()),
3317
- coverImageUrl: types.nullable(types.string()),
3318
- followerCount: types.nullable(types.number()),
3319
- specialities: z.array(types.string()),
3320
- tagline: types.nullable(types.string()),
3321
- isVerified: types.boolean(),
3322
- foundedOn: types.nullable(z.lazy(() => FoundedOn$inboundSchema)),
3323
- phone: types.nullable(types.string()),
3324
- callToAction: types.nullable(z.lazy(() => CallToAction$inboundSchema)),
3325
- hashtags: z.array(types.string()),
3326
- affiliatedCompanies: z.array(z.lazy(() => AffiliatedCompany$inboundSchema)),
3327
- similarCompanies: z.array(z.lazy(() => SimilarCompany$inboundSchema)),
3328
- workplacePolicy: types.nullable(z.lazy(() => WorkplacePolicy$inboundSchema)),
3329
- creditsUsed: types.number(),
3330
- retryAfter: types.number(),
3331
- });
3332
-
3333
- export function visitLinkedInCompanyResponseFromJSON(
3334
- jsonString: string,
3335
- ): SafeParseResult<VisitLinkedInCompanyResponse, SDKValidationError> {
3336
- return safeParse(
3337
- jsonString,
3338
- (x) => VisitLinkedInCompanyResponse$inboundSchema.parse(JSON.parse(x)),
3339
- `Failed to parse 'VisitLinkedInCompanyResponse' from JSON`,
3340
- );
3341
- }
3342
-
3343
- /** @internal */
3344
- export const CategoryRequest$outboundSchema: z.ZodMiniEnum<
3345
- typeof CategoryRequest
3346
- > = z.enum(CategoryRequest);
3347
-
3348
- /** @internal */
3349
- export const SearchLinkedInSortBy$outboundSchema: z.ZodMiniEnum<
3350
- typeof SearchLinkedInSortBy
3351
- > = z.enum(SearchLinkedInSortBy);
3352
-
3353
- /** @internal */
3354
- export const SearchLinkedInDatePosted$outboundSchema: z.ZodMiniEnum<
3355
- typeof SearchLinkedInDatePosted
3356
- > = z.enum(SearchLinkedInDatePosted);
3357
-
3358
- /** @internal */
3359
- export const SearchLinkedInContentType$outboundSchema: z.ZodMiniEnum<
3360
- typeof SearchLinkedInContentType
3361
- > = z.enum(SearchLinkedInContentType);
3362
-
3363
- /** @internal */
3364
- export const SearchLinkedInConnectionDegree$outboundSchema: z.ZodMiniEnum<
3365
- typeof SearchLinkedInConnectionDegree
3366
- > = z.enum(SearchLinkedInConnectionDegree);
3367
-
3368
- /** @internal */
3369
- export const SearchLinkedInCompanySize$outboundSchema: z.ZodMiniEnum<
3370
- typeof SearchLinkedInCompanySize
3371
- > = z.enum(SearchLinkedInCompanySize);
3372
-
3373
- /** @internal */
3374
- export const SearchLinkedInJobType$outboundSchema: z.ZodMiniEnum<
3375
- typeof SearchLinkedInJobType
3376
- > = z.enum(SearchLinkedInJobType);
3377
-
3378
- /** @internal */
3379
- export const SearchLinkedInExperienceLevel$outboundSchema: z.ZodMiniEnum<
3380
- typeof SearchLinkedInExperienceLevel
3381
- > = z.enum(SearchLinkedInExperienceLevel);
3382
-
3383
- /** @internal */
3384
- export const SearchLinkedInWorkplaceType$outboundSchema: z.ZodMiniEnum<
3385
- typeof SearchLinkedInWorkplaceType
3386
- > = z.enum(SearchLinkedInWorkplaceType);
3387
-
3388
- /** @internal */
3389
- export type SearchLinkedInRequest$Outbound = {
3390
- category?: string | undefined;
3391
- url?: string | undefined;
3392
- keywords?: string | undefined;
3393
- sortBy?: string | undefined;
3394
- datePosted?: string | undefined;
3395
- contentType?: string | undefined;
3396
- authorIndustry?: Array<string> | undefined;
3397
- authorCompany?: Array<string> | undefined;
3398
- connectionDegree?: Array<string> | undefined;
3399
- firstName?: string | undefined;
3400
- lastName?: string | undefined;
3401
- title?: string | undefined;
3402
- connectionOf?: string | undefined;
3403
- profileLanguage?: Array<string> | undefined;
3404
- school?: Array<string> | undefined;
3405
- location?: Array<string> | undefined;
3406
- industry?: Array<string> | undefined;
3407
- currentCompany?: Array<string> | undefined;
3408
- pastCompany?: Array<string> | undefined;
3409
- companySize?: Array<string> | undefined;
3410
- jobType?: Array<string> | undefined;
3411
- experienceLevel?: Array<string> | undefined;
3412
- workplaceType?: Array<string> | undefined;
3413
- start?: number | undefined;
3414
- count?: number | undefined;
3415
- };
3416
-
3417
- /** @internal */
3418
- export const SearchLinkedInRequest$outboundSchema: z.ZodMiniType<
3419
- SearchLinkedInRequest$Outbound,
3420
- SearchLinkedInRequest
3421
- > = z.object({
3422
- category: z.optional(CategoryRequest$outboundSchema),
3423
- url: z.optional(z.string()),
3424
- keywords: z.optional(z.string()),
3425
- sortBy: z.optional(SearchLinkedInSortBy$outboundSchema),
3426
- datePosted: z.optional(SearchLinkedInDatePosted$outboundSchema),
3427
- contentType: z.optional(SearchLinkedInContentType$outboundSchema),
3428
- authorIndustry: z.optional(z.array(z.string())),
3429
- authorCompany: z.optional(z.array(z.string())),
3430
- connectionDegree: z.optional(
3431
- z.array(SearchLinkedInConnectionDegree$outboundSchema),
3432
- ),
3433
- firstName: z.optional(z.string()),
3434
- lastName: z.optional(z.string()),
3435
- title: z.optional(z.string()),
3436
- connectionOf: z.optional(z.string()),
3437
- profileLanguage: z.optional(z.array(z.string())),
3438
- school: z.optional(z.array(z.string())),
3439
- location: z.optional(z.array(z.string())),
3440
- industry: z.optional(z.array(z.string())),
3441
- currentCompany: z.optional(z.array(z.string())),
3442
- pastCompany: z.optional(z.array(z.string())),
3443
- companySize: z.optional(z.array(SearchLinkedInCompanySize$outboundSchema)),
3444
- jobType: z.optional(z.array(SearchLinkedInJobType$outboundSchema)),
3445
- experienceLevel: z.optional(
3446
- z.array(SearchLinkedInExperienceLevel$outboundSchema),
3447
- ),
3448
- workplaceType: z.optional(
3449
- z.array(SearchLinkedInWorkplaceType$outboundSchema),
3450
- ),
3451
- start: z.optional(z.int()),
3452
- count: z.optional(z.int()),
3453
- });
3454
-
3455
- export function searchLinkedInRequestToJSON(
3456
- searchLinkedInRequest: SearchLinkedInRequest,
3457
- ): string {
3458
- return JSON.stringify(
3459
- SearchLinkedInRequest$outboundSchema.parse(searchLinkedInRequest),
3460
- );
3461
- }
3462
-
3463
- /** @internal */
3464
- export const SearchLinkedInCategoryResponseBody$inboundSchema: z.ZodMiniType<
3465
- SearchLinkedInCategoryResponseBody,
3466
- unknown
3467
- > = openEnums.inboundSchema(SearchLinkedInCategoryResponseBody);
3468
-
3469
- /** @internal */
3470
- export const SearchLinkedInTypeJob$inboundSchema: z.ZodMiniEnum<
3471
- typeof SearchLinkedInTypeJob
3472
- > = z.enum(SearchLinkedInTypeJob);
3473
-
3474
- /** @internal */
3475
- export const SearchLinkedInItemsJob$inboundSchema: z.ZodMiniType<
3476
- SearchLinkedInItemsJob,
3477
- unknown
3478
- > = z.object({
3479
- type: SearchLinkedInTypeJob$inboundSchema,
3480
- title: types.string(),
3481
- company: types.nullable(types.string()),
3482
- companyUrl: types.nullable(types.string()),
3483
- companyLogo: types.nullable(types.string()),
3484
- location: types.nullable(types.string()),
3485
- workplaceType: types.nullable(types.string()),
3486
- postedAt: types.nullable(types.string()),
3487
- jobUrl: types.string(),
3488
- listingId: types.string(),
3489
- });
3490
-
3491
- export function searchLinkedInItemsJobFromJSON(
3492
- jsonString: string,
3493
- ): SafeParseResult<SearchLinkedInItemsJob, SDKValidationError> {
3494
- return safeParse(
3495
- jsonString,
3496
- (x) => SearchLinkedInItemsJob$inboundSchema.parse(JSON.parse(x)),
3497
- `Failed to parse 'SearchLinkedInItemsJob' from JSON`,
3498
- );
3499
- }
3500
-
3501
- /** @internal */
3502
- export const SearchLinkedInTypeCompany$inboundSchema: z.ZodMiniEnum<
3503
- typeof SearchLinkedInTypeCompany
3504
- > = z.enum(SearchLinkedInTypeCompany);
3505
-
3506
- /** @internal */
3507
- export const SearchLinkedInItemsCompany$inboundSchema: z.ZodMiniType<
3508
- SearchLinkedInItemsCompany,
3509
- unknown
3510
- > = z.object({
3511
- type: SearchLinkedInTypeCompany$inboundSchema,
3512
- name: types.string(),
3513
- profileUrl: types.nullable(types.string()),
3514
- summary: types.nullable(types.string()),
3515
- industry: types.nullable(types.string()),
3516
- location: types.nullable(types.string()),
3517
- followersCount: types.nullable(types.number()),
3518
- });
3519
-
3520
- export function searchLinkedInItemsCompanyFromJSON(
3521
- jsonString: string,
3522
- ): SafeParseResult<SearchLinkedInItemsCompany, SDKValidationError> {
3523
- return safeParse(
3524
- jsonString,
3525
- (x) => SearchLinkedInItemsCompany$inboundSchema.parse(JSON.parse(x)),
3526
- `Failed to parse 'SearchLinkedInItemsCompany' from JSON`,
3527
- );
3528
- }
3529
-
3530
- /** @internal */
3531
- export const SearchLinkedInTypePeople$inboundSchema: z.ZodMiniEnum<
3532
- typeof SearchLinkedInTypePeople
3533
- > = z.enum(SearchLinkedInTypePeople);
3534
-
3535
- /** @internal */
3536
- export const SearchLinkedInNetworkDistance$inboundSchema: z.ZodMiniType<
3537
- SearchLinkedInNetworkDistance,
3538
- unknown
3539
- > = openEnums.inboundSchema(SearchLinkedInNetworkDistance);
3540
-
3541
- /** @internal */
3542
- export const SearchLinkedInCurrentPosition$inboundSchema: z.ZodMiniType<
3543
- SearchLinkedInCurrentPosition,
3544
- unknown
3545
- > = z.object({
3546
- company: types.nullable(types.string()),
3547
- role: types.nullable(types.string()),
3548
- });
3549
-
3550
- export function searchLinkedInCurrentPositionFromJSON(
3551
- jsonString: string,
3552
- ): SafeParseResult<SearchLinkedInCurrentPosition, SDKValidationError> {
3553
- return safeParse(
3554
- jsonString,
3555
- (x) => SearchLinkedInCurrentPosition$inboundSchema.parse(JSON.parse(x)),
3556
- `Failed to parse 'SearchLinkedInCurrentPosition' from JSON`,
3557
- );
3558
- }
3559
-
3560
- /** @internal */
3561
- export const SearchLinkedInItemsPeople$inboundSchema: z.ZodMiniType<
3562
- SearchLinkedInItemsPeople,
3563
- unknown
3564
- > = z.object({
3565
- type: SearchLinkedInTypePeople$inboundSchema,
3566
- name: types.string(),
3567
- profileUrl: types.nullable(types.string()),
3568
- headline: types.nullable(types.string()),
3569
- location: types.nullable(types.string()),
3570
- profilePicture: types.nullable(types.string()),
3571
- networkDistance: types.nullable(SearchLinkedInNetworkDistance$inboundSchema),
3572
- currentPositions: z.array(
3573
- z.lazy(() => SearchLinkedInCurrentPosition$inboundSchema),
3574
- ),
3575
- });
3576
-
3577
- export function searchLinkedInItemsPeopleFromJSON(
3578
- jsonString: string,
3579
- ): SafeParseResult<SearchLinkedInItemsPeople, SDKValidationError> {
3580
- return safeParse(
3581
- jsonString,
3582
- (x) => SearchLinkedInItemsPeople$inboundSchema.parse(JSON.parse(x)),
3583
- `Failed to parse 'SearchLinkedInItemsPeople' from JSON`,
3584
- );
3585
- }
3586
-
3587
- /** @internal */
3588
- export const SearchLinkedInTypePost$inboundSchema: z.ZodMiniEnum<
3589
- typeof SearchLinkedInTypePost
3590
- > = z.enum(SearchLinkedInTypePost);
3591
-
3592
- /** @internal */
3593
- export const SearchLinkedInAuthor$inboundSchema: z.ZodMiniType<
3594
- SearchLinkedInAuthor,
3595
- unknown
3596
- > = z.object({
3597
- name: types.string(),
3598
- profileUrl: types.nullable(types.string()),
3599
- headline: types.nullable(types.string()),
3600
- profilePicture: types.nullable(types.string()),
3601
- isCompany: types.boolean(),
3602
- });
3603
-
3604
- export function searchLinkedInAuthorFromJSON(
3605
- jsonString: string,
3606
- ): SafeParseResult<SearchLinkedInAuthor, SDKValidationError> {
3607
- return safeParse(
3608
- jsonString,
3609
- (x) => SearchLinkedInAuthor$inboundSchema.parse(JSON.parse(x)),
3610
- `Failed to parse 'SearchLinkedInAuthor' from JSON`,
3611
- );
3612
- }
3613
-
3614
- /** @internal */
3615
- export const SearchLinkedInItemsPost$inboundSchema: z.ZodMiniType<
3616
- SearchLinkedInItemsPost,
3617
- unknown
3618
- > = z.object({
3619
- type: SearchLinkedInTypePost$inboundSchema,
3620
- postUrl: types.string(),
3621
- text: types.string(),
3622
- date: types.number(),
3623
- likesCount: types.number(),
3624
- commentsCount: types.number(),
3625
- sharesCount: types.number(),
3626
- postUrn: types.string(),
3627
- postId: types.string(),
3628
- author: z.lazy(() => SearchLinkedInAuthor$inboundSchema),
3629
- isRepost: types.boolean(),
3630
- });
3631
-
3632
- export function searchLinkedInItemsPostFromJSON(
3633
- jsonString: string,
3634
- ): SafeParseResult<SearchLinkedInItemsPost, SDKValidationError> {
3635
- return safeParse(
3636
- jsonString,
3637
- (x) => SearchLinkedInItemsPost$inboundSchema.parse(JSON.parse(x)),
3638
- `Failed to parse 'SearchLinkedInItemsPost' from JSON`,
3639
- );
3640
- }
3641
-
3642
- /** @internal */
3643
- export const SearchLinkedInItemsUnion$inboundSchema: z.ZodMiniType<
3644
- SearchLinkedInItemsUnion,
3645
- unknown
3646
- > = smartUnion([
3647
- z.array(z.lazy(() => SearchLinkedInItemsPost$inboundSchema)),
3648
- z.array(z.lazy(() => SearchLinkedInItemsPeople$inboundSchema)),
3649
- z.array(z.lazy(() => SearchLinkedInItemsCompany$inboundSchema)),
3650
- z.array(z.lazy(() => SearchLinkedInItemsJob$inboundSchema)),
3651
- ]);
3652
-
3653
- export function searchLinkedInItemsUnionFromJSON(
3654
- jsonString: string,
3655
- ): SafeParseResult<SearchLinkedInItemsUnion, SDKValidationError> {
3656
- return safeParse(
3657
- jsonString,
3658
- (x) => SearchLinkedInItemsUnion$inboundSchema.parse(JSON.parse(x)),
3659
- `Failed to parse 'SearchLinkedInItemsUnion' from JSON`,
3660
- );
3661
- }
3662
-
3663
- /** @internal */
3664
- export const SearchLinkedInPaging$inboundSchema: z.ZodMiniType<
3665
- SearchLinkedInPaging,
3666
- unknown
3667
- > = z.object({
3668
- start: types.number(),
3669
- count: types.number(),
3670
- total: types.number(),
3671
- });
3672
-
3673
- export function searchLinkedInPagingFromJSON(
3674
- jsonString: string,
3675
- ): SafeParseResult<SearchLinkedInPaging, SDKValidationError> {
3676
- return safeParse(
3677
- jsonString,
3678
- (x) => SearchLinkedInPaging$inboundSchema.parse(JSON.parse(x)),
3679
- `Failed to parse 'SearchLinkedInPaging' from JSON`,
3680
- );
3681
- }
3682
-
3683
- /** @internal */
3684
- export const SearchLinkedInResponse$inboundSchema: z.ZodMiniType<
3685
- SearchLinkedInResponse,
3686
- unknown
3687
- > = z.object({
3688
- success: types.boolean(),
3689
- category: SearchLinkedInCategoryResponseBody$inboundSchema,
3690
- items: smartUnion([
3691
- z.array(z.lazy(() => SearchLinkedInItemsPost$inboundSchema)),
3692
- z.array(z.lazy(() => SearchLinkedInItemsPeople$inboundSchema)),
3693
- z.array(z.lazy(() => SearchLinkedInItemsCompany$inboundSchema)),
3694
- z.array(z.lazy(() => SearchLinkedInItemsJob$inboundSchema)),
3695
- ]),
3696
- paging: z.lazy(() => SearchLinkedInPaging$inboundSchema),
3697
- hasMore: types.boolean(),
3698
- creditsUsed: types.number(),
3699
- retryAfter: types.number(),
3700
- });
3701
-
3702
- export function searchLinkedInResponseFromJSON(
3703
- jsonString: string,
3704
- ): SafeParseResult<SearchLinkedInResponse, SDKValidationError> {
3705
- return safeParse(
3706
- jsonString,
3707
- (x) => SearchLinkedInResponse$inboundSchema.parse(JSON.parse(x)),
3708
- `Failed to parse 'SearchLinkedInResponse' from JSON`,
3709
- );
3710
- }
3711
-
3712
- /** @internal */
3713
- export const SearchLinkedInPostsSortBy$outboundSchema: z.ZodMiniEnum<
3714
- typeof SearchLinkedInPostsSortBy
3715
- > = z.enum(SearchLinkedInPostsSortBy);
3716
-
3717
- /** @internal */
3718
- export const SearchLinkedInPostsDatePosted$outboundSchema: z.ZodMiniEnum<
3719
- typeof SearchLinkedInPostsDatePosted
3720
- > = z.enum(SearchLinkedInPostsDatePosted);
3721
-
3722
- /** @internal */
3723
- export const SearchLinkedInPostsContentType$outboundSchema: z.ZodMiniEnum<
3724
- typeof SearchLinkedInPostsContentType
3725
- > = z.enum(SearchLinkedInPostsContentType);
3726
-
3727
- /** @internal */
3728
- export type SearchLinkedInPostsRequest$Outbound = {
3729
- keywords: string;
3730
- url?: string | undefined;
3731
- sortBy?: string | undefined;
3732
- datePosted?: string | undefined;
3733
- contentType?: string | undefined;
3734
- authorIndustry?: Array<string> | undefined;
3735
- authorCompany?: Array<string> | undefined;
3736
- start?: number | undefined;
3737
- count?: number | undefined;
3738
- };
3739
-
3740
- /** @internal */
3741
- export const SearchLinkedInPostsRequest$outboundSchema: z.ZodMiniType<
3742
- SearchLinkedInPostsRequest$Outbound,
3743
- SearchLinkedInPostsRequest
3744
- > = z.object({
3745
- keywords: z.string(),
3746
- url: z.optional(z.string()),
3747
- sortBy: z.optional(SearchLinkedInPostsSortBy$outboundSchema),
3748
- datePosted: z.optional(SearchLinkedInPostsDatePosted$outboundSchema),
3749
- contentType: z.optional(SearchLinkedInPostsContentType$outboundSchema),
3750
- authorIndustry: z.optional(z.array(z.string())),
3751
- authorCompany: z.optional(z.array(z.string())),
3752
- start: z.optional(z.int()),
3753
- count: z.optional(z.int()),
3754
- });
3755
-
3756
- export function searchLinkedInPostsRequestToJSON(
3757
- searchLinkedInPostsRequest: SearchLinkedInPostsRequest,
3758
- ): string {
3759
- return JSON.stringify(
3760
- SearchLinkedInPostsRequest$outboundSchema.parse(searchLinkedInPostsRequest),
3761
- );
3762
- }
3763
-
3764
- /** @internal */
3765
- export const SearchLinkedInPostsCategory$inboundSchema: z.ZodMiniEnum<
3766
- typeof SearchLinkedInPostsCategory
3767
- > = z.enum(SearchLinkedInPostsCategory);
3768
-
3769
- /** @internal */
3770
- export const SearchLinkedInPostsType$inboundSchema: z.ZodMiniEnum<
3771
- typeof SearchLinkedInPostsType
3772
- > = z.enum(SearchLinkedInPostsType);
3773
-
3774
- /** @internal */
3775
- export const SearchLinkedInPostsAuthor$inboundSchema: z.ZodMiniType<
3776
- SearchLinkedInPostsAuthor,
3777
- unknown
3778
- > = z.object({
3779
- name: types.string(),
3780
- profileUrl: types.nullable(types.string()),
3781
- headline: types.nullable(types.string()),
3782
- profilePicture: types.nullable(types.string()),
3783
- isCompany: types.boolean(),
3784
- });
3785
-
3786
- export function searchLinkedInPostsAuthorFromJSON(
3787
- jsonString: string,
3788
- ): SafeParseResult<SearchLinkedInPostsAuthor, SDKValidationError> {
3789
- return safeParse(
3790
- jsonString,
3791
- (x) => SearchLinkedInPostsAuthor$inboundSchema.parse(JSON.parse(x)),
3792
- `Failed to parse 'SearchLinkedInPostsAuthor' from JSON`,
3793
- );
3794
- }
3795
-
3796
- /** @internal */
3797
- export const SearchLinkedInPostsItem$inboundSchema: z.ZodMiniType<
3798
- SearchLinkedInPostsItem,
3799
- unknown
3800
- > = z.object({
3801
- type: SearchLinkedInPostsType$inboundSchema,
3802
- postUrl: types.string(),
3803
- text: types.string(),
3804
- date: types.number(),
3805
- likesCount: types.number(),
3806
- commentsCount: types.number(),
3807
- sharesCount: types.number(),
3808
- postUrn: types.string(),
3809
- postId: types.string(),
3810
- author: z.lazy(() => SearchLinkedInPostsAuthor$inboundSchema),
3811
- isRepost: types.boolean(),
3812
- });
3813
-
3814
- export function searchLinkedInPostsItemFromJSON(
3815
- jsonString: string,
3816
- ): SafeParseResult<SearchLinkedInPostsItem, SDKValidationError> {
3817
- return safeParse(
3818
- jsonString,
3819
- (x) => SearchLinkedInPostsItem$inboundSchema.parse(JSON.parse(x)),
3820
- `Failed to parse 'SearchLinkedInPostsItem' from JSON`,
3821
- );
3822
- }
3823
-
3824
- /** @internal */
3825
- export const SearchLinkedInPostsPaging$inboundSchema: z.ZodMiniType<
3826
- SearchLinkedInPostsPaging,
3827
- unknown
3828
- > = z.object({
3829
- start: types.number(),
3830
- count: types.number(),
3831
- total: types.number(),
3832
- });
3833
-
3834
- export function searchLinkedInPostsPagingFromJSON(
3835
- jsonString: string,
3836
- ): SafeParseResult<SearchLinkedInPostsPaging, SDKValidationError> {
3837
- return safeParse(
3838
- jsonString,
3839
- (x) => SearchLinkedInPostsPaging$inboundSchema.parse(JSON.parse(x)),
3840
- `Failed to parse 'SearchLinkedInPostsPaging' from JSON`,
3841
- );
3842
- }
3843
-
3844
- /** @internal */
3845
- export const SearchLinkedInPostsResponse$inboundSchema: z.ZodMiniType<
3846
- SearchLinkedInPostsResponse,
3847
- unknown
3848
- > = z.object({
3849
- success: types.boolean(),
3850
- category: SearchLinkedInPostsCategory$inboundSchema,
3851
- items: z.array(z.lazy(() => SearchLinkedInPostsItem$inboundSchema)),
3852
- paging: z.lazy(() => SearchLinkedInPostsPaging$inboundSchema),
3853
- hasMore: types.boolean(),
3854
- creditsUsed: types.number(),
3855
- retryAfter: types.number(),
3856
- });
3857
-
3858
- export function searchLinkedInPostsResponseFromJSON(
3859
- jsonString: string,
3860
- ): SafeParseResult<SearchLinkedInPostsResponse, SDKValidationError> {
3861
- return safeParse(
3862
- jsonString,
3863
- (x) => SearchLinkedInPostsResponse$inboundSchema.parse(JSON.parse(x)),
3864
- `Failed to parse 'SearchLinkedInPostsResponse' from JSON`,
3865
- );
3866
- }
3867
-
3868
- /** @internal */
3869
- export const SearchLinkedInPeopleConnectionDegree$outboundSchema: z.ZodMiniEnum<
3870
- typeof SearchLinkedInPeopleConnectionDegree
3871
- > = z.enum(SearchLinkedInPeopleConnectionDegree);
3872
-
3873
- /** @internal */
3874
- export type SearchLinkedInPeopleRequest$Outbound = {
3875
- keywords?: string | undefined;
3876
- url?: string | undefined;
3877
- connectionDegree?: Array<string> | undefined;
3878
- firstName?: string | undefined;
3879
- lastName?: string | undefined;
3880
- title?: string | undefined;
3881
- connectionOf?: string | undefined;
3882
- profileLanguage?: Array<string> | undefined;
3883
- school?: Array<string> | undefined;
3884
- location?: Array<string> | undefined;
3885
- industry?: Array<string> | undefined;
3886
- currentCompany?: Array<string> | undefined;
3887
- pastCompany?: Array<string> | undefined;
3888
- start?: number | undefined;
3889
- count?: number | undefined;
3890
- };
3891
-
3892
- /** @internal */
3893
- export const SearchLinkedInPeopleRequest$outboundSchema: z.ZodMiniType<
3894
- SearchLinkedInPeopleRequest$Outbound,
3895
- SearchLinkedInPeopleRequest
3896
- > = z.object({
3897
- keywords: z.optional(z.string()),
3898
- url: z.optional(z.string()),
3899
- connectionDegree: z.optional(
3900
- z.array(SearchLinkedInPeopleConnectionDegree$outboundSchema),
3901
- ),
3902
- firstName: z.optional(z.string()),
3903
- lastName: z.optional(z.string()),
3904
- title: z.optional(z.string()),
3905
- connectionOf: z.optional(z.string()),
3906
- profileLanguage: z.optional(z.array(z.string())),
3907
- school: z.optional(z.array(z.string())),
3908
- location: z.optional(z.array(z.string())),
3909
- industry: z.optional(z.array(z.string())),
3910
- currentCompany: z.optional(z.array(z.string())),
3911
- pastCompany: z.optional(z.array(z.string())),
3912
- start: z.optional(z.int()),
3913
- count: z.optional(z.int()),
3914
- });
3915
-
3916
- export function searchLinkedInPeopleRequestToJSON(
3917
- searchLinkedInPeopleRequest: SearchLinkedInPeopleRequest,
3918
- ): string {
3919
- return JSON.stringify(
3920
- SearchLinkedInPeopleRequest$outboundSchema.parse(
3921
- searchLinkedInPeopleRequest,
3922
- ),
3923
- );
3924
- }
3925
-
3926
- /** @internal */
3927
- export const SearchLinkedInPeopleCategory$inboundSchema: z.ZodMiniEnum<
3928
- typeof SearchLinkedInPeopleCategory
3929
- > = z.enum(SearchLinkedInPeopleCategory);
3930
-
3931
- /** @internal */
3932
- export const SearchLinkedInPeopleType$inboundSchema: z.ZodMiniEnum<
3933
- typeof SearchLinkedInPeopleType
3934
- > = z.enum(SearchLinkedInPeopleType);
3935
-
3936
- /** @internal */
3937
- export const SearchLinkedInPeopleNetworkDistance$inboundSchema: z.ZodMiniType<
3938
- SearchLinkedInPeopleNetworkDistance,
3939
- unknown
3940
- > = openEnums.inboundSchema(SearchLinkedInPeopleNetworkDistance);
3941
-
3942
- /** @internal */
3943
- export const SearchLinkedInPeopleCurrentPosition$inboundSchema: z.ZodMiniType<
3944
- SearchLinkedInPeopleCurrentPosition,
3945
- unknown
3946
- > = z.object({
3947
- company: types.nullable(types.string()),
3948
- role: types.nullable(types.string()),
3949
- });
3950
-
3951
- export function searchLinkedInPeopleCurrentPositionFromJSON(
3952
- jsonString: string,
3953
- ): SafeParseResult<SearchLinkedInPeopleCurrentPosition, SDKValidationError> {
3954
- return safeParse(
3955
- jsonString,
3956
- (x) =>
3957
- SearchLinkedInPeopleCurrentPosition$inboundSchema.parse(JSON.parse(x)),
3958
- `Failed to parse 'SearchLinkedInPeopleCurrentPosition' from JSON`,
3959
- );
3960
- }
3961
-
3962
- /** @internal */
3963
- export const SearchLinkedInPeopleItem$inboundSchema: z.ZodMiniType<
3964
- SearchLinkedInPeopleItem,
3965
- unknown
3966
- > = z.object({
3967
- type: SearchLinkedInPeopleType$inboundSchema,
3968
- name: types.string(),
3969
- profileUrl: types.nullable(types.string()),
3970
- headline: types.nullable(types.string()),
3971
- location: types.nullable(types.string()),
3972
- profilePicture: types.nullable(types.string()),
3973
- networkDistance: types.nullable(
3974
- SearchLinkedInPeopleNetworkDistance$inboundSchema,
3975
- ),
3976
- currentPositions: z.array(
3977
- z.lazy(() => SearchLinkedInPeopleCurrentPosition$inboundSchema),
3978
- ),
3979
- });
3980
-
3981
- export function searchLinkedInPeopleItemFromJSON(
3982
- jsonString: string,
3983
- ): SafeParseResult<SearchLinkedInPeopleItem, SDKValidationError> {
3984
- return safeParse(
3985
- jsonString,
3986
- (x) => SearchLinkedInPeopleItem$inboundSchema.parse(JSON.parse(x)),
3987
- `Failed to parse 'SearchLinkedInPeopleItem' from JSON`,
3988
- );
3989
- }
3990
-
3991
- /** @internal */
3992
- export const SearchLinkedInPeoplePaging$inboundSchema: z.ZodMiniType<
3993
- SearchLinkedInPeoplePaging,
3994
- unknown
3995
- > = z.object({
3996
- start: types.number(),
3997
- count: types.number(),
3998
- total: types.number(),
3999
- });
4000
-
4001
- export function searchLinkedInPeoplePagingFromJSON(
4002
- jsonString: string,
4003
- ): SafeParseResult<SearchLinkedInPeoplePaging, SDKValidationError> {
4004
- return safeParse(
4005
- jsonString,
4006
- (x) => SearchLinkedInPeoplePaging$inboundSchema.parse(JSON.parse(x)),
4007
- `Failed to parse 'SearchLinkedInPeoplePaging' from JSON`,
4008
- );
4009
- }
4010
-
4011
- /** @internal */
4012
- export const SearchLinkedInPeopleResponse$inboundSchema: z.ZodMiniType<
4013
- SearchLinkedInPeopleResponse,
4014
- unknown
4015
- > = z.object({
4016
- success: types.boolean(),
4017
- category: SearchLinkedInPeopleCategory$inboundSchema,
4018
- items: z.array(z.lazy(() => SearchLinkedInPeopleItem$inboundSchema)),
4019
- paging: z.lazy(() => SearchLinkedInPeoplePaging$inboundSchema),
4020
- hasMore: types.boolean(),
4021
- creditsUsed: types.number(),
4022
- retryAfter: types.number(),
4023
- });
4024
-
4025
- export function searchLinkedInPeopleResponseFromJSON(
4026
- jsonString: string,
4027
- ): SafeParseResult<SearchLinkedInPeopleResponse, SDKValidationError> {
4028
- return safeParse(
4029
- jsonString,
4030
- (x) => SearchLinkedInPeopleResponse$inboundSchema.parse(JSON.parse(x)),
4031
- `Failed to parse 'SearchLinkedInPeopleResponse' from JSON`,
4032
- );
4033
- }
4034
-
4035
- /** @internal */
4036
- export const SearchLinkedInCompaniesCompanySize$outboundSchema: z.ZodMiniEnum<
4037
- typeof SearchLinkedInCompaniesCompanySize
4038
- > = z.enum(SearchLinkedInCompaniesCompanySize);
4039
-
4040
- /** @internal */
4041
- export type SearchLinkedInCompaniesRequest$Outbound = {
4042
- keywords?: string | undefined;
4043
- url?: string | undefined;
4044
- location?: Array<string> | undefined;
4045
- industry?: Array<string> | undefined;
4046
- companySize?: Array<string> | undefined;
4047
- start?: number | undefined;
4048
- count?: number | undefined;
4049
- };
4050
-
4051
- /** @internal */
4052
- export const SearchLinkedInCompaniesRequest$outboundSchema: z.ZodMiniType<
4053
- SearchLinkedInCompaniesRequest$Outbound,
4054
- SearchLinkedInCompaniesRequest
4055
- > = z.object({
4056
- keywords: z.optional(z.string()),
4057
- url: z.optional(z.string()),
4058
- location: z.optional(z.array(z.string())),
4059
- industry: z.optional(z.array(z.string())),
4060
- companySize: z.optional(
4061
- z.array(SearchLinkedInCompaniesCompanySize$outboundSchema),
4062
- ),
4063
- start: z.optional(z.int()),
4064
- count: z.optional(z.int()),
4065
- });
4066
-
4067
- export function searchLinkedInCompaniesRequestToJSON(
4068
- searchLinkedInCompaniesRequest: SearchLinkedInCompaniesRequest,
4069
- ): string {
4070
- return JSON.stringify(
4071
- SearchLinkedInCompaniesRequest$outboundSchema.parse(
4072
- searchLinkedInCompaniesRequest,
4073
- ),
4074
- );
4075
- }
4076
-
4077
- /** @internal */
4078
- export const SearchLinkedInCompaniesCategory$inboundSchema: z.ZodMiniEnum<
4079
- typeof SearchLinkedInCompaniesCategory
4080
- > = z.enum(SearchLinkedInCompaniesCategory);
4081
-
4082
- /** @internal */
4083
- export const SearchLinkedInCompaniesType$inboundSchema: z.ZodMiniEnum<
4084
- typeof SearchLinkedInCompaniesType
4085
- > = z.enum(SearchLinkedInCompaniesType);
4086
-
4087
- /** @internal */
4088
- export const SearchLinkedInCompaniesItem$inboundSchema: z.ZodMiniType<
4089
- SearchLinkedInCompaniesItem,
4090
- unknown
4091
- > = z.object({
4092
- type: SearchLinkedInCompaniesType$inboundSchema,
4093
- name: types.string(),
4094
- profileUrl: types.nullable(types.string()),
4095
- summary: types.nullable(types.string()),
4096
- industry: types.nullable(types.string()),
4097
- location: types.nullable(types.string()),
4098
- followersCount: types.nullable(types.number()),
4099
- });
4100
-
4101
- export function searchLinkedInCompaniesItemFromJSON(
4102
- jsonString: string,
4103
- ): SafeParseResult<SearchLinkedInCompaniesItem, SDKValidationError> {
4104
- return safeParse(
4105
- jsonString,
4106
- (x) => SearchLinkedInCompaniesItem$inboundSchema.parse(JSON.parse(x)),
4107
- `Failed to parse 'SearchLinkedInCompaniesItem' from JSON`,
4108
- );
4109
- }
4110
-
4111
- /** @internal */
4112
- export const SearchLinkedInCompaniesPaging$inboundSchema: z.ZodMiniType<
4113
- SearchLinkedInCompaniesPaging,
4114
- unknown
4115
- > = z.object({
4116
- start: types.number(),
4117
- count: types.number(),
4118
- total: types.number(),
4119
- });
4120
-
4121
- export function searchLinkedInCompaniesPagingFromJSON(
4122
- jsonString: string,
4123
- ): SafeParseResult<SearchLinkedInCompaniesPaging, SDKValidationError> {
4124
- return safeParse(
4125
- jsonString,
4126
- (x) => SearchLinkedInCompaniesPaging$inboundSchema.parse(JSON.parse(x)),
4127
- `Failed to parse 'SearchLinkedInCompaniesPaging' from JSON`,
4128
- );
4129
- }
4130
-
4131
- /** @internal */
4132
- export const SearchLinkedInCompaniesResponse$inboundSchema: z.ZodMiniType<
4133
- SearchLinkedInCompaniesResponse,
4134
- unknown
4135
- > = z.object({
4136
- success: types.boolean(),
4137
- category: SearchLinkedInCompaniesCategory$inboundSchema,
4138
- items: z.array(z.lazy(() => SearchLinkedInCompaniesItem$inboundSchema)),
4139
- paging: z.lazy(() => SearchLinkedInCompaniesPaging$inboundSchema),
4140
- hasMore: types.boolean(),
4141
- creditsUsed: types.number(),
4142
- retryAfter: types.number(),
4143
- });
4144
-
4145
- export function searchLinkedInCompaniesResponseFromJSON(
4146
- jsonString: string,
4147
- ): SafeParseResult<SearchLinkedInCompaniesResponse, SDKValidationError> {
4148
- return safeParse(
4149
- jsonString,
4150
- (x) => SearchLinkedInCompaniesResponse$inboundSchema.parse(JSON.parse(x)),
4151
- `Failed to parse 'SearchLinkedInCompaniesResponse' from JSON`,
4152
- );
4153
- }
4154
-
4155
- /** @internal */
4156
- export const SearchLinkedInJobsDatePosted$outboundSchema: z.ZodMiniEnum<
4157
- typeof SearchLinkedInJobsDatePosted
4158
- > = z.enum(SearchLinkedInJobsDatePosted);
4159
-
4160
- /** @internal */
4161
- export const SearchLinkedInJobsSortBy$outboundSchema: z.ZodMiniEnum<
4162
- typeof SearchLinkedInJobsSortBy
4163
- > = z.enum(SearchLinkedInJobsSortBy);
4164
-
4165
- /** @internal */
4166
- export const SearchLinkedInJobsJobType$outboundSchema: z.ZodMiniEnum<
4167
- typeof SearchLinkedInJobsJobType
4168
- > = z.enum(SearchLinkedInJobsJobType);
4169
-
4170
- /** @internal */
4171
- export const SearchLinkedInJobsExperienceLevel$outboundSchema: z.ZodMiniEnum<
4172
- typeof SearchLinkedInJobsExperienceLevel
4173
- > = z.enum(SearchLinkedInJobsExperienceLevel);
4174
-
4175
- /** @internal */
4176
- export const SearchLinkedInJobsWorkplaceType$outboundSchema: z.ZodMiniEnum<
4177
- typeof SearchLinkedInJobsWorkplaceType
4178
- > = z.enum(SearchLinkedInJobsWorkplaceType);
4179
-
4180
- /** @internal */
4181
- export type SearchLinkedInJobsRequest$Outbound = {
4182
- keywords?: string | undefined;
4183
- url?: string | undefined;
4184
- location?: Array<string> | undefined;
4185
- datePosted?: string | undefined;
4186
- sortBy?: string | undefined;
4187
- jobType?: Array<string> | undefined;
4188
- experienceLevel?: Array<string> | undefined;
4189
- workplaceType?: Array<string> | undefined;
4190
- start?: number | undefined;
4191
- count?: number | undefined;
4192
- };
4193
-
4194
- /** @internal */
4195
- export const SearchLinkedInJobsRequest$outboundSchema: z.ZodMiniType<
4196
- SearchLinkedInJobsRequest$Outbound,
4197
- SearchLinkedInJobsRequest
4198
- > = z.object({
4199
- keywords: z.optional(z.string()),
4200
- url: z.optional(z.string()),
4201
- location: z.optional(z.array(z.string())),
4202
- datePosted: z.optional(SearchLinkedInJobsDatePosted$outboundSchema),
4203
- sortBy: z.optional(SearchLinkedInJobsSortBy$outboundSchema),
4204
- jobType: z.optional(z.array(SearchLinkedInJobsJobType$outboundSchema)),
4205
- experienceLevel: z.optional(
4206
- z.array(SearchLinkedInJobsExperienceLevel$outboundSchema),
4207
- ),
4208
- workplaceType: z.optional(
4209
- z.array(SearchLinkedInJobsWorkplaceType$outboundSchema),
4210
- ),
4211
- start: z.optional(z.int()),
4212
- count: z.optional(z.int()),
4213
- });
4214
-
4215
- export function searchLinkedInJobsRequestToJSON(
4216
- searchLinkedInJobsRequest: SearchLinkedInJobsRequest,
4217
- ): string {
4218
- return JSON.stringify(
4219
- SearchLinkedInJobsRequest$outboundSchema.parse(searchLinkedInJobsRequest),
4220
- );
4221
- }
4222
-
4223
- /** @internal */
4224
- export const SearchLinkedInJobsCategory$inboundSchema: z.ZodMiniEnum<
4225
- typeof SearchLinkedInJobsCategory
4226
- > = z.enum(SearchLinkedInJobsCategory);
4227
-
4228
- /** @internal */
4229
- export const SearchLinkedInJobsType$inboundSchema: z.ZodMiniEnum<
4230
- typeof SearchLinkedInJobsType
4231
- > = z.enum(SearchLinkedInJobsType);
4232
-
4233
- /** @internal */
4234
- export const SearchLinkedInJobsItem$inboundSchema: z.ZodMiniType<
4235
- SearchLinkedInJobsItem,
4236
- unknown
4237
- > = z.object({
4238
- type: SearchLinkedInJobsType$inboundSchema,
4239
- title: types.string(),
4240
- company: types.nullable(types.string()),
4241
- companyUrl: types.nullable(types.string()),
4242
- companyLogo: types.nullable(types.string()),
4243
- location: types.nullable(types.string()),
4244
- workplaceType: types.nullable(types.string()),
4245
- postedAt: types.nullable(types.string()),
4246
- jobUrl: types.string(),
4247
- listingId: types.string(),
4248
- });
4249
-
4250
- export function searchLinkedInJobsItemFromJSON(
4251
- jsonString: string,
4252
- ): SafeParseResult<SearchLinkedInJobsItem, SDKValidationError> {
4253
- return safeParse(
4254
- jsonString,
4255
- (x) => SearchLinkedInJobsItem$inboundSchema.parse(JSON.parse(x)),
4256
- `Failed to parse 'SearchLinkedInJobsItem' from JSON`,
4257
- );
4258
- }
4259
-
4260
- /** @internal */
4261
- export const SearchLinkedInJobsPaging$inboundSchema: z.ZodMiniType<
4262
- SearchLinkedInJobsPaging,
4263
- unknown
4264
- > = z.object({
4265
- start: types.number(),
4266
- count: types.number(),
4267
- total: types.number(),
4268
- });
4269
-
4270
- export function searchLinkedInJobsPagingFromJSON(
4271
- jsonString: string,
4272
- ): SafeParseResult<SearchLinkedInJobsPaging, SDKValidationError> {
4273
- return safeParse(
4274
- jsonString,
4275
- (x) => SearchLinkedInJobsPaging$inboundSchema.parse(JSON.parse(x)),
4276
- `Failed to parse 'SearchLinkedInJobsPaging' from JSON`,
4277
- );
4278
- }
4279
-
4280
- /** @internal */
4281
- export const SearchLinkedInJobsResponse$inboundSchema: z.ZodMiniType<
4282
- SearchLinkedInJobsResponse,
4283
- unknown
4284
- > = z.object({
4285
- success: types.boolean(),
4286
- category: SearchLinkedInJobsCategory$inboundSchema,
4287
- items: z.array(z.lazy(() => SearchLinkedInJobsItem$inboundSchema)),
4288
- paging: z.lazy(() => SearchLinkedInJobsPaging$inboundSchema),
4289
- hasMore: types.boolean(),
4290
- creditsUsed: types.number(),
4291
- retryAfter: types.number(),
4292
- });
4293
-
4294
- export function searchLinkedInJobsResponseFromJSON(
4295
- jsonString: string,
4296
- ): SafeParseResult<SearchLinkedInJobsResponse, SDKValidationError> {
4297
- return safeParse(
4298
- jsonString,
4299
- (x) => SearchLinkedInJobsResponse$inboundSchema.parse(JSON.parse(x)),
4300
- `Failed to parse 'SearchLinkedInJobsResponse' from JSON`,
4301
- );
4302
- }
4303
-
4304
- /** @internal */
4305
- export type SearchLinkedInByUrlRequest$Outbound = {
4306
- url: string;
4307
- start?: number | undefined;
4308
- count?: number | undefined;
4309
- };
4310
-
4311
- /** @internal */
4312
- export const SearchLinkedInByUrlRequest$outboundSchema: z.ZodMiniType<
4313
- SearchLinkedInByUrlRequest$Outbound,
4314
- SearchLinkedInByUrlRequest
4315
- > = z.object({
4316
- url: z.string(),
4317
- start: z.optional(z.int()),
4318
- count: z.optional(z.int()),
4319
- });
4320
-
4321
- export function searchLinkedInByUrlRequestToJSON(
4322
- searchLinkedInByUrlRequest: SearchLinkedInByUrlRequest,
4323
- ): string {
4324
- return JSON.stringify(
4325
- SearchLinkedInByUrlRequest$outboundSchema.parse(searchLinkedInByUrlRequest),
4326
- );
4327
- }
4328
-
4329
- /** @internal */
4330
- export const SearchLinkedInByUrlCategory$inboundSchema: z.ZodMiniType<
4331
- SearchLinkedInByUrlCategory,
4332
- unknown
4333
- > = openEnums.inboundSchema(SearchLinkedInByUrlCategory);
4334
-
4335
- /** @internal */
4336
- export const SearchLinkedInByUrlTypeJob$inboundSchema: z.ZodMiniEnum<
4337
- typeof SearchLinkedInByUrlTypeJob
4338
- > = z.enum(SearchLinkedInByUrlTypeJob);
4339
-
4340
- /** @internal */
4341
- export const SearchLinkedInByUrlItemsJob$inboundSchema: z.ZodMiniType<
4342
- SearchLinkedInByUrlItemsJob,
4343
- unknown
4344
- > = z.object({
4345
- type: SearchLinkedInByUrlTypeJob$inboundSchema,
4346
- title: types.string(),
4347
- company: types.nullable(types.string()),
4348
- companyUrl: types.nullable(types.string()),
4349
- companyLogo: types.nullable(types.string()),
4350
- location: types.nullable(types.string()),
4351
- workplaceType: types.nullable(types.string()),
4352
- postedAt: types.nullable(types.string()),
4353
- jobUrl: types.string(),
4354
- listingId: types.string(),
4355
- });
4356
-
4357
- export function searchLinkedInByUrlItemsJobFromJSON(
4358
- jsonString: string,
4359
- ): SafeParseResult<SearchLinkedInByUrlItemsJob, SDKValidationError> {
4360
- return safeParse(
4361
- jsonString,
4362
- (x) => SearchLinkedInByUrlItemsJob$inboundSchema.parse(JSON.parse(x)),
4363
- `Failed to parse 'SearchLinkedInByUrlItemsJob' from JSON`,
4364
- );
4365
- }
4366
-
4367
- /** @internal */
4368
- export const SearchLinkedInByUrlTypeCompany$inboundSchema: z.ZodMiniEnum<
4369
- typeof SearchLinkedInByUrlTypeCompany
4370
- > = z.enum(SearchLinkedInByUrlTypeCompany);
4371
-
4372
- /** @internal */
4373
- export const SearchLinkedInByUrlItemsCompany$inboundSchema: z.ZodMiniType<
4374
- SearchLinkedInByUrlItemsCompany,
4375
- unknown
4376
- > = z.object({
4377
- type: SearchLinkedInByUrlTypeCompany$inboundSchema,
4378
- name: types.string(),
4379
- profileUrl: types.nullable(types.string()),
4380
- summary: types.nullable(types.string()),
4381
- industry: types.nullable(types.string()),
4382
- location: types.nullable(types.string()),
4383
- followersCount: types.nullable(types.number()),
4384
- });
4385
-
4386
- export function searchLinkedInByUrlItemsCompanyFromJSON(
4387
- jsonString: string,
4388
- ): SafeParseResult<SearchLinkedInByUrlItemsCompany, SDKValidationError> {
4389
- return safeParse(
4390
- jsonString,
4391
- (x) => SearchLinkedInByUrlItemsCompany$inboundSchema.parse(JSON.parse(x)),
4392
- `Failed to parse 'SearchLinkedInByUrlItemsCompany' from JSON`,
4393
- );
4394
- }
4395
-
4396
- /** @internal */
4397
- export const SearchLinkedInByUrlTypePeople$inboundSchema: z.ZodMiniEnum<
4398
- typeof SearchLinkedInByUrlTypePeople
4399
- > = z.enum(SearchLinkedInByUrlTypePeople);
4400
-
4401
- /** @internal */
4402
- export const SearchLinkedInByUrlNetworkDistance$inboundSchema: z.ZodMiniType<
4403
- SearchLinkedInByUrlNetworkDistance,
4404
- unknown
4405
- > = openEnums.inboundSchema(SearchLinkedInByUrlNetworkDistance);
4406
-
4407
- /** @internal */
4408
- export const SearchLinkedInByUrlCurrentPosition$inboundSchema: z.ZodMiniType<
4409
- SearchLinkedInByUrlCurrentPosition,
4410
- unknown
4411
- > = z.object({
4412
- company: types.nullable(types.string()),
4413
- role: types.nullable(types.string()),
4414
- });
4415
-
4416
- export function searchLinkedInByUrlCurrentPositionFromJSON(
4417
- jsonString: string,
4418
- ): SafeParseResult<SearchLinkedInByUrlCurrentPosition, SDKValidationError> {
4419
- return safeParse(
4420
- jsonString,
4421
- (x) =>
4422
- SearchLinkedInByUrlCurrentPosition$inboundSchema.parse(JSON.parse(x)),
4423
- `Failed to parse 'SearchLinkedInByUrlCurrentPosition' from JSON`,
4424
- );
4425
- }
4426
-
4427
- /** @internal */
4428
- export const SearchLinkedInByUrlItemsPeople$inboundSchema: z.ZodMiniType<
4429
- SearchLinkedInByUrlItemsPeople,
4430
- unknown
4431
- > = z.object({
4432
- type: SearchLinkedInByUrlTypePeople$inboundSchema,
4433
- name: types.string(),
4434
- profileUrl: types.nullable(types.string()),
4435
- headline: types.nullable(types.string()),
4436
- location: types.nullable(types.string()),
4437
- profilePicture: types.nullable(types.string()),
4438
- networkDistance: types.nullable(
4439
- SearchLinkedInByUrlNetworkDistance$inboundSchema,
4440
- ),
4441
- currentPositions: z.array(
4442
- z.lazy(() => SearchLinkedInByUrlCurrentPosition$inboundSchema),
4443
- ),
4444
- });
4445
-
4446
- export function searchLinkedInByUrlItemsPeopleFromJSON(
4447
- jsonString: string,
4448
- ): SafeParseResult<SearchLinkedInByUrlItemsPeople, SDKValidationError> {
4449
- return safeParse(
4450
- jsonString,
4451
- (x) => SearchLinkedInByUrlItemsPeople$inboundSchema.parse(JSON.parse(x)),
4452
- `Failed to parse 'SearchLinkedInByUrlItemsPeople' from JSON`,
4453
- );
4454
- }
4455
-
4456
- /** @internal */
4457
- export const SearchLinkedInByUrlTypePost$inboundSchema: z.ZodMiniEnum<
4458
- typeof SearchLinkedInByUrlTypePost
4459
- > = z.enum(SearchLinkedInByUrlTypePost);
4460
-
4461
- /** @internal */
4462
- export const SearchLinkedInByUrlAuthor$inboundSchema: z.ZodMiniType<
4463
- SearchLinkedInByUrlAuthor,
4464
- unknown
4465
- > = z.object({
4466
- name: types.string(),
4467
- profileUrl: types.nullable(types.string()),
4468
- headline: types.nullable(types.string()),
4469
- profilePicture: types.nullable(types.string()),
4470
- isCompany: types.boolean(),
4471
- });
4472
-
4473
- export function searchLinkedInByUrlAuthorFromJSON(
4474
- jsonString: string,
4475
- ): SafeParseResult<SearchLinkedInByUrlAuthor, SDKValidationError> {
4476
- return safeParse(
4477
- jsonString,
4478
- (x) => SearchLinkedInByUrlAuthor$inboundSchema.parse(JSON.parse(x)),
4479
- `Failed to parse 'SearchLinkedInByUrlAuthor' from JSON`,
4480
- );
4481
- }
4482
-
4483
- /** @internal */
4484
- export const SearchLinkedInByUrlItemsPost$inboundSchema: z.ZodMiniType<
4485
- SearchLinkedInByUrlItemsPost,
4486
- unknown
4487
- > = z.object({
4488
- type: SearchLinkedInByUrlTypePost$inboundSchema,
4489
- postUrl: types.string(),
4490
- text: types.string(),
4491
- date: types.number(),
4492
- likesCount: types.number(),
4493
- commentsCount: types.number(),
4494
- sharesCount: types.number(),
4495
- postUrn: types.string(),
4496
- postId: types.string(),
4497
- author: z.lazy(() => SearchLinkedInByUrlAuthor$inboundSchema),
4498
- isRepost: types.boolean(),
4499
- });
4500
-
4501
- export function searchLinkedInByUrlItemsPostFromJSON(
4502
- jsonString: string,
4503
- ): SafeParseResult<SearchLinkedInByUrlItemsPost, SDKValidationError> {
4504
- return safeParse(
4505
- jsonString,
4506
- (x) => SearchLinkedInByUrlItemsPost$inboundSchema.parse(JSON.parse(x)),
4507
- `Failed to parse 'SearchLinkedInByUrlItemsPost' from JSON`,
4508
- );
4509
- }
4510
-
4511
- /** @internal */
4512
- export const SearchLinkedInByUrlItemsUnion$inboundSchema: z.ZodMiniType<
4513
- SearchLinkedInByUrlItemsUnion,
4514
- unknown
4515
- > = smartUnion([
4516
- z.array(z.lazy(() => SearchLinkedInByUrlItemsPost$inboundSchema)),
4517
- z.array(z.lazy(() => SearchLinkedInByUrlItemsPeople$inboundSchema)),
4518
- z.array(z.lazy(() => SearchLinkedInByUrlItemsCompany$inboundSchema)),
4519
- z.array(z.lazy(() => SearchLinkedInByUrlItemsJob$inboundSchema)),
4520
- ]);
4521
-
4522
- export function searchLinkedInByUrlItemsUnionFromJSON(
4523
- jsonString: string,
4524
- ): SafeParseResult<SearchLinkedInByUrlItemsUnion, SDKValidationError> {
4525
- return safeParse(
4526
- jsonString,
4527
- (x) => SearchLinkedInByUrlItemsUnion$inboundSchema.parse(JSON.parse(x)),
4528
- `Failed to parse 'SearchLinkedInByUrlItemsUnion' from JSON`,
4529
- );
4530
- }
4531
-
4532
- /** @internal */
4533
- export const SearchLinkedInByUrlPaging$inboundSchema: z.ZodMiniType<
4534
- SearchLinkedInByUrlPaging,
4535
- unknown
4536
- > = z.object({
4537
- start: types.number(),
4538
- count: types.number(),
4539
- total: types.number(),
4540
- });
4541
-
4542
- export function searchLinkedInByUrlPagingFromJSON(
4543
- jsonString: string,
4544
- ): SafeParseResult<SearchLinkedInByUrlPaging, SDKValidationError> {
4545
- return safeParse(
4546
- jsonString,
4547
- (x) => SearchLinkedInByUrlPaging$inboundSchema.parse(JSON.parse(x)),
4548
- `Failed to parse 'SearchLinkedInByUrlPaging' from JSON`,
4549
- );
4550
- }
4551
-
4552
- /** @internal */
4553
- export const SearchLinkedInByUrlResponse$inboundSchema: z.ZodMiniType<
4554
- SearchLinkedInByUrlResponse,
4555
- unknown
4556
- > = z.object({
4557
- success: types.boolean(),
4558
- category: SearchLinkedInByUrlCategory$inboundSchema,
4559
- items: smartUnion([
4560
- z.array(z.lazy(() => SearchLinkedInByUrlItemsPost$inboundSchema)),
4561
- z.array(z.lazy(() => SearchLinkedInByUrlItemsPeople$inboundSchema)),
4562
- z.array(z.lazy(() => SearchLinkedInByUrlItemsCompany$inboundSchema)),
4563
- z.array(z.lazy(() => SearchLinkedInByUrlItemsJob$inboundSchema)),
4564
- ]),
4565
- paging: z.lazy(() => SearchLinkedInByUrlPaging$inboundSchema),
4566
- hasMore: types.boolean(),
4567
- creditsUsed: types.number(),
4568
- retryAfter: types.number(),
4569
- });
4570
-
4571
- export function searchLinkedInByUrlResponseFromJSON(
4572
- jsonString: string,
4573
- ): SafeParseResult<SearchLinkedInByUrlResponse, SDKValidationError> {
4574
- return safeParse(
4575
- jsonString,
4576
- (x) => SearchLinkedInByUrlResponse$inboundSchema.parse(JSON.parse(x)),
4577
- `Failed to parse 'SearchLinkedInByUrlResponse' from JSON`,
4578
- );
4579
- }
4580
-
4581
- /** @internal */
4582
- export const ResolveLinkedInSearchParametersType$outboundSchema: z.ZodMiniEnum<
4583
- typeof ResolveLinkedInSearchParametersType
4584
- > = z.enum(ResolveLinkedInSearchParametersType);
4585
-
4586
- /** @internal */
4587
- export type ResolveLinkedInSearchParametersRequest$Outbound = {
4588
- type: string;
4589
- keywords: string;
4590
- limit?: number | undefined;
4591
- };
4592
-
4593
- /** @internal */
4594
- export const ResolveLinkedInSearchParametersRequest$outboundSchema:
4595
- z.ZodMiniType<
4596
- ResolveLinkedInSearchParametersRequest$Outbound,
4597
- ResolveLinkedInSearchParametersRequest
4598
- > = z.object({
4599
- type: ResolveLinkedInSearchParametersType$outboundSchema,
4600
- keywords: z.string(),
4601
- limit: z.optional(z.int()),
4602
- });
4603
-
4604
- export function resolveLinkedInSearchParametersRequestToJSON(
4605
- resolveLinkedInSearchParametersRequest:
4606
- ResolveLinkedInSearchParametersRequest,
4607
- ): string {
4608
- return JSON.stringify(
4609
- ResolveLinkedInSearchParametersRequest$outboundSchema.parse(
4610
- resolveLinkedInSearchParametersRequest,
4611
- ),
4612
- );
4613
- }
4614
-
4615
- /** @internal */
4616
- export const ResolveLinkedInSearchParametersItem$inboundSchema: z.ZodMiniType<
4617
- ResolveLinkedInSearchParametersItem,
4618
- unknown
4619
- > = z.object({
4620
- id: types.string(),
4621
- title: types.string(),
4622
- type: types.string(),
4623
- });
4624
-
4625
- export function resolveLinkedInSearchParametersItemFromJSON(
4626
- jsonString: string,
4627
- ): SafeParseResult<ResolveLinkedInSearchParametersItem, SDKValidationError> {
4628
- return safeParse(
4629
- jsonString,
4630
- (x) =>
4631
- ResolveLinkedInSearchParametersItem$inboundSchema.parse(JSON.parse(x)),
4632
- `Failed to parse 'ResolveLinkedInSearchParametersItem' from JSON`,
4633
- );
4634
- }
4635
-
4636
- /** @internal */
4637
- export const ResolveLinkedInSearchParametersResponse$inboundSchema:
4638
- z.ZodMiniType<ResolveLinkedInSearchParametersResponse, unknown> = z.object({
4639
- success: types.boolean(),
4640
- items: z.array(
4641
- z.lazy(() => ResolveLinkedInSearchParametersItem$inboundSchema),
4642
- ),
4643
- count: types.number(),
4644
- creditsUsed: types.number(),
4645
- retryAfter: types.number(),
4646
- });
4647
-
4648
- export function resolveLinkedInSearchParametersResponseFromJSON(
4649
- jsonString: string,
4650
- ): SafeParseResult<
4651
- ResolveLinkedInSearchParametersResponse,
4652
- SDKValidationError
4653
- > {
4654
- return safeParse(
4655
- jsonString,
4656
- (x) =>
4657
- ResolveLinkedInSearchParametersResponse$inboundSchema.parse(
4658
- JSON.parse(x),
4659
- ),
4660
- `Failed to parse 'ResolveLinkedInSearchParametersResponse' from JSON`,
4661
- );
4662
- }
4663
-
4664
- /** @internal */
4665
- export type ConnectLinkedInProfileRequest$Outbound = {
4666
- profile: string;
4667
- campaignSlug?: string | undefined;
4668
- actionSlug?: string | undefined;
4669
- };
4670
-
4671
- /** @internal */
4672
- export const ConnectLinkedInProfileRequest$outboundSchema: z.ZodMiniType<
4673
- ConnectLinkedInProfileRequest$Outbound,
4674
- ConnectLinkedInProfileRequest
4675
- > = z.object({
4676
- profile: z.string(),
4677
- campaignSlug: z.optional(z.string()),
4678
- actionSlug: z.optional(z.string()),
4679
- });
4680
-
4681
- export function connectLinkedInProfileRequestToJSON(
4682
- connectLinkedInProfileRequest: ConnectLinkedInProfileRequest,
4683
- ): string {
4684
- return JSON.stringify(
4685
- ConnectLinkedInProfileRequest$outboundSchema.parse(
4686
- connectLinkedInProfileRequest,
4687
- ),
4688
- );
4689
- }
4690
-
4691
- /** @internal */
4692
- export const ConnectLinkedInProfileResponse$inboundSchema: z.ZodMiniType<
4693
- ConnectLinkedInProfileResponse,
4694
- unknown
4695
- > = z.object({
4696
- success: types.boolean(),
4697
- message: types.string(),
4698
- duplicate: types.optional(types.boolean()),
4699
- creditsUsed: types.number(),
4700
- retryAfter: types.number(),
4701
- });
4702
-
4703
- export function connectLinkedInProfileResponseFromJSON(
4704
- jsonString: string,
4705
- ): SafeParseResult<ConnectLinkedInProfileResponse, SDKValidationError> {
4706
- return safeParse(
4707
- jsonString,
4708
- (x) => ConnectLinkedInProfileResponse$inboundSchema.parse(JSON.parse(x)),
4709
- `Failed to parse 'ConnectLinkedInProfileResponse' from JSON`,
4710
- );
4711
- }
4712
-
4713
- /** @internal */
4714
- export type ListLinkedInInvitationsRequest$Outbound = {
4715
- start: number;
4716
- count: number;
4717
- };
4718
-
4719
- /** @internal */
4720
- export const ListLinkedInInvitationsRequest$outboundSchema: z.ZodMiniType<
4721
- ListLinkedInInvitationsRequest$Outbound,
4722
- ListLinkedInInvitationsRequest
4723
- > = z.object({
4724
- start: z._default(z.int(), 0),
4725
- count: z._default(z.int(), 10),
4726
- });
4727
-
4728
- export function listLinkedInInvitationsRequestToJSON(
4729
- listLinkedInInvitationsRequest: ListLinkedInInvitationsRequest,
4730
- ): string {
4731
- return JSON.stringify(
4732
- ListLinkedInInvitationsRequest$outboundSchema.parse(
4733
- listLinkedInInvitationsRequest,
4734
- ),
4735
- );
4736
- }
4737
-
4738
- /** @internal */
4739
- export const FromMember$inboundSchema: z.ZodMiniType<FromMember, unknown> = z
4740
- .object({
4741
- name: types.nullable(types.string()),
4742
- headline: types.nullable(types.string()),
4743
- profileUrl: types.nullable(types.string()),
4744
- profilePicture: types.nullable(types.string()),
4745
- });
4746
-
4747
- export function fromMemberFromJSON(
4748
- jsonString: string,
4749
- ): SafeParseResult<FromMember, SDKValidationError> {
4750
- return safeParse(
4751
- jsonString,
4752
- (x) => FromMember$inboundSchema.parse(JSON.parse(x)),
4753
- `Failed to parse 'FromMember' from JSON`,
4754
- );
4755
- }
4756
-
4757
- /** @internal */
4758
- export const Invitation$inboundSchema: z.ZodMiniType<Invitation, unknown> = z
4759
- .object({
4760
- invitationId: types.string(),
4761
- sharedSecret: types.string(),
4762
- entityUrn: types.string(),
4763
- sentAt: types.nullable(types.string()),
4764
- message: types.nullable(types.string()),
4765
- senderProfileId: types.nullable(types.string()),
4766
- senderFirstName: types.nullable(types.string()),
4767
- senderLastName: types.nullable(types.string()),
4768
- fromMember: types.nullable(z.lazy(() => FromMember$inboundSchema)),
4769
- });
4770
-
4771
- export function invitationFromJSON(
4772
- jsonString: string,
4773
- ): SafeParseResult<Invitation, SDKValidationError> {
4774
- return safeParse(
4775
- jsonString,
4776
- (x) => Invitation$inboundSchema.parse(JSON.parse(x)),
4777
- `Failed to parse 'Invitation' from JSON`,
4778
- );
4779
- }
4780
-
4781
- /** @internal */
4782
- export const ListLinkedInInvitationsResponse$inboundSchema: z.ZodMiniType<
4783
- ListLinkedInInvitationsResponse,
4784
- unknown
4785
- > = z.object({
4786
- success: types.boolean(),
4787
- invitations: z.array(z.lazy(() => Invitation$inboundSchema)),
4788
- total: types.number(),
4789
- start: types.number(),
4790
- count: types.number(),
4791
- creditsUsed: types.number(),
4792
- retryAfter: types.number(),
4793
- });
4794
-
4795
- export function listLinkedInInvitationsResponseFromJSON(
4796
- jsonString: string,
4797
- ): SafeParseResult<ListLinkedInInvitationsResponse, SDKValidationError> {
4798
- return safeParse(
4799
- jsonString,
4800
- (x) => ListLinkedInInvitationsResponse$inboundSchema.parse(JSON.parse(x)),
4801
- `Failed to parse 'ListLinkedInInvitationsResponse' from JSON`,
4802
- );
4803
- }
4804
-
4805
- /** @internal */
4806
- export type AcceptLinkedInInvitationRequest$Outbound = {
4807
- invitationId: string;
4808
- sharedSecret: string;
4809
- senderProfileId?: string | undefined;
4810
- firstName?: string | undefined;
4811
- lastName?: string | undefined;
4812
- };
4813
-
4814
- /** @internal */
4815
- export const AcceptLinkedInInvitationRequest$outboundSchema: z.ZodMiniType<
4816
- AcceptLinkedInInvitationRequest$Outbound,
4817
- AcceptLinkedInInvitationRequest
4818
- > = z.object({
4819
- invitationId: z.string(),
4820
- sharedSecret: z.string(),
4821
- senderProfileId: z.optional(z.string()),
4822
- firstName: z.optional(z.string()),
4823
- lastName: z.optional(z.string()),
4824
- });
4825
-
4826
- export function acceptLinkedInInvitationRequestToJSON(
4827
- acceptLinkedInInvitationRequest: AcceptLinkedInInvitationRequest,
4828
- ): string {
4829
- return JSON.stringify(
4830
- AcceptLinkedInInvitationRequest$outboundSchema.parse(
4831
- acceptLinkedInInvitationRequest,
4832
- ),
4833
- );
4834
- }
4835
-
4836
- /** @internal */
4837
- export const AcceptLinkedInInvitationResponse$inboundSchema: z.ZodMiniType<
4838
- AcceptLinkedInInvitationResponse,
4839
- unknown
4840
- > = z.object({
4841
- success: types.boolean(),
4842
- message: types.string(),
4843
- creditsUsed: types.number(),
4844
- retryAfter: types.number(),
4845
- });
4846
-
4847
- export function acceptLinkedInInvitationResponseFromJSON(
4848
- jsonString: string,
4849
- ): SafeParseResult<AcceptLinkedInInvitationResponse, SDKValidationError> {
4850
- return safeParse(
4851
- jsonString,
4852
- (x) => AcceptLinkedInInvitationResponse$inboundSchema.parse(JSON.parse(x)),
4853
- `Failed to parse 'AcceptLinkedInInvitationResponse' from JSON`,
4854
- );
4855
- }
4856
-
4857
- /** @internal */
4858
- export type SendLinkedInMessageRequest$Outbound = {
4859
- profile: string;
4860
- message: string;
4861
- campaignSlug?: string | undefined;
4862
- actionSlug?: string | undefined;
4863
- };
4864
-
4865
- /** @internal */
4866
- export const SendLinkedInMessageRequest$outboundSchema: z.ZodMiniType<
4867
- SendLinkedInMessageRequest$Outbound,
4868
- SendLinkedInMessageRequest
4869
- > = z.object({
4870
- profile: z.string(),
4871
- message: z.string(),
4872
- campaignSlug: z.optional(z.string()),
4873
- actionSlug: z.optional(z.string()),
4874
- });
4875
-
4876
- export function sendLinkedInMessageRequestToJSON(
4877
- sendLinkedInMessageRequest: SendLinkedInMessageRequest,
4878
- ): string {
4879
- return JSON.stringify(
4880
- SendLinkedInMessageRequest$outboundSchema.parse(sendLinkedInMessageRequest),
4881
- );
4882
- }
4883
-
4884
- /** @internal */
4885
- export const SendLinkedInMessageResponse$inboundSchema: z.ZodMiniType<
4886
- SendLinkedInMessageResponse,
4887
- unknown
4888
- > = z.object({
4889
- success: types.boolean(),
4890
- messageId: types.string(),
4891
- duplicate: types.optional(types.boolean()),
4892
- creditsUsed: types.number(),
4893
- retryAfter: types.number(),
4894
- });
4895
-
4896
- export function sendLinkedInMessageResponseFromJSON(
4897
- jsonString: string,
4898
- ): SafeParseResult<SendLinkedInMessageResponse, SDKValidationError> {
4899
- return safeParse(
4900
- jsonString,
4901
- (x) => SendLinkedInMessageResponse$inboundSchema.parse(JSON.parse(x)),
4902
- `Failed to parse 'SendLinkedInMessageResponse' from JSON`,
4903
- );
4904
- }