bereach 1.2.3 → 1.3.2

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