bereach 1.3.3 → 2.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (682) hide show
  1. package/README.md +142 -42
  2. package/esm/funcs/actions-connect-profile.d.ts +2 -2
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  4. package/esm/funcs/actions-connect-profile.js +4 -2
  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 +3 -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 +3 -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 +4 -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 +3 -1
  21. package/esm/funcs/campaigns-filter.js.map +1 -1
  22. package/esm/funcs/{campaigns-get-stats.d.ts → campaigns-get-campaign-stats.d.ts} +2 -2
  23. package/esm/funcs/campaigns-get-campaign-stats.d.ts.map +1 -0
  24. package/esm/funcs/{campaigns-get-stats.js → campaigns-get-campaign-stats.js} +8 -7
  25. package/esm/funcs/campaigns-get-campaign-stats.js.map +1 -0
  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 +3 -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 +3 -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 +3 -1
  37. package/esm/funcs/chat-archive.js.map +1 -1
  38. package/esm/funcs/chat-find-conversation.d.ts +2 -9
  39. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  40. package/esm/funcs/chat-find-conversation.js +4 -9
  41. package/esm/funcs/chat-find-conversation.js.map +1 -1
  42. package/esm/funcs/chat-unreact.d.ts +1 -1
  43. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  44. package/esm/funcs/chat-unreact.js +3 -1
  45. package/esm/funcs/chat-unreact.js.map +1 -1
  46. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  47. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  48. package/esm/funcs/company-pages-get-analytics.js +3 -1
  49. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  50. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  51. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  52. package/esm/funcs/company-pages-get-permissions.js +3 -1
  53. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  54. package/esm/funcs/company-pages-get-posts.d.ts +1 -1
  55. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -1
  56. package/esm/funcs/company-pages-get-posts.js +3 -1
  57. package/esm/funcs/company-pages-get-posts.js.map +1 -1
  58. package/esm/funcs/company-pages-list.d.ts +1 -1
  59. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  60. package/esm/funcs/company-pages-list.js +3 -1
  61. package/esm/funcs/company-pages-list.js.map +1 -1
  62. package/esm/funcs/contacts-add-campaign-contacts.d.ts +18 -0
  63. package/esm/funcs/contacts-add-campaign-contacts.d.ts.map +1 -0
  64. package/esm/funcs/contacts-add-campaign-contacts.js +103 -0
  65. package/esm/funcs/contacts-add-campaign-contacts.js.map +1 -0
  66. package/esm/funcs/contacts-add-contact-activities.d.ts +18 -0
  67. package/esm/funcs/contacts-add-contact-activities.d.ts.map +1 -0
  68. package/esm/funcs/contacts-add-contact-activities.js +103 -0
  69. package/esm/funcs/contacts-add-contact-activities.js.map +1 -0
  70. package/esm/funcs/contacts-bulk-update-contacts.d.ts +18 -0
  71. package/esm/funcs/contacts-bulk-update-contacts.d.ts.map +1 -0
  72. package/esm/funcs/contacts-bulk-update-contacts.js +97 -0
  73. package/esm/funcs/contacts-bulk-update-contacts.js.map +1 -0
  74. package/esm/funcs/contacts-create-campaign.d.ts +18 -0
  75. package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
  76. package/esm/funcs/contacts-create-campaign.js +97 -0
  77. package/esm/funcs/contacts-create-campaign.js.map +1 -0
  78. package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
  79. package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
  80. package/esm/funcs/contacts-delete-agent-state.js +102 -0
  81. package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
  82. package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
  83. package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
  84. package/esm/funcs/contacts-get-agent-state.js +102 -0
  85. package/esm/funcs/contacts-get-agent-state.js.map +1 -0
  86. package/esm/funcs/contacts-get-contact-by-url.d.ts +18 -0
  87. package/esm/funcs/contacts-get-contact-by-url.d.ts.map +1 -0
  88. package/esm/funcs/contacts-get-contact-by-url.js +100 -0
  89. package/esm/funcs/contacts-get-contact-by-url.js.map +1 -0
  90. package/esm/funcs/contacts-get-contact-stats.d.ts +18 -0
  91. package/esm/funcs/contacts-get-contact-stats.d.ts.map +1 -0
  92. package/esm/funcs/contacts-get-contact-stats.js +100 -0
  93. package/esm/funcs/contacts-get-contact-stats.js.map +1 -0
  94. package/esm/funcs/contacts-get-contact.d.ts +18 -0
  95. package/esm/funcs/contacts-get-contact.d.ts.map +1 -0
  96. package/esm/funcs/contacts-get-contact.js +102 -0
  97. package/esm/funcs/contacts-get-contact.js.map +1 -0
  98. package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
  99. package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
  100. package/esm/funcs/contacts-list-agent-states.js +86 -0
  101. package/esm/funcs/contacts-list-agent-states.js.map +1 -0
  102. package/esm/funcs/contacts-list-campaign-contacts.d.ts +18 -0
  103. package/esm/funcs/contacts-list-campaign-contacts.d.ts.map +1 -0
  104. package/esm/funcs/contacts-list-campaign-contacts.js +111 -0
  105. package/esm/funcs/contacts-list-campaign-contacts.js.map +1 -0
  106. package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
  107. package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
  108. package/esm/funcs/contacts-list-campaigns.js +103 -0
  109. package/esm/funcs/contacts-list-campaigns.js.map +1 -0
  110. package/esm/funcs/contacts-list-contact-activities.d.ts +18 -0
  111. package/esm/funcs/contacts-list-contact-activities.d.ts.map +1 -0
  112. package/esm/funcs/contacts-list-contact-activities.js +108 -0
  113. package/esm/funcs/contacts-list-contact-activities.js.map +1 -0
  114. package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
  115. package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
  116. package/esm/funcs/contacts-patch-agent-state.js +103 -0
  117. package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
  118. package/esm/funcs/contacts-search-contacts.d.ts +18 -0
  119. package/esm/funcs/contacts-search-contacts.d.ts.map +1 -0
  120. package/esm/funcs/contacts-search-contacts.js +112 -0
  121. package/esm/funcs/contacts-search-contacts.js.map +1 -0
  122. package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
  123. package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
  124. package/esm/funcs/contacts-set-agent-state.js +103 -0
  125. package/esm/funcs/contacts-set-agent-state.js.map +1 -0
  126. package/esm/funcs/contacts-update-campaign.d.ts +18 -0
  127. package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
  128. package/esm/funcs/contacts-update-campaign.js +103 -0
  129. package/esm/funcs/contacts-update-campaign.js.map +1 -0
  130. package/esm/funcs/contacts-update-contact.d.ts +18 -0
  131. package/esm/funcs/contacts-update-contact.d.ts.map +1 -0
  132. package/esm/funcs/contacts-update-contact.js +103 -0
  133. package/esm/funcs/contacts-update-contact.js.map +1 -0
  134. package/esm/funcs/contacts-upsert.d.ts +3 -2
  135. package/esm/funcs/contacts-upsert.d.ts.map +1 -1
  136. package/esm/funcs/contacts-upsert.js +21 -3
  137. package/esm/funcs/contacts-upsert.js.map +1 -1
  138. package/esm/funcs/context-delete-context.d.ts +18 -0
  139. package/esm/funcs/context-delete-context.d.ts.map +1 -0
  140. package/esm/funcs/context-delete-context.js +101 -0
  141. package/esm/funcs/context-delete-context.js.map +1 -0
  142. package/esm/funcs/context-list-context.d.ts +18 -0
  143. package/esm/funcs/context-list-context.d.ts.map +1 -0
  144. package/esm/funcs/context-list-context.js +101 -0
  145. package/esm/funcs/context-list-context.js.map +1 -0
  146. package/esm/funcs/context-set-context.d.ts +18 -0
  147. package/esm/funcs/{campaigns-get-stats.d.ts.map → context-set-context.d.ts.map} +1 -1
  148. package/esm/funcs/context-set-context.js +97 -0
  149. package/esm/funcs/context-set-context.js.map +1 -0
  150. package/esm/funcs/cron-list-cron-schedules.d.ts +18 -0
  151. package/esm/funcs/cron-list-cron-schedules.d.ts.map +1 -0
  152. package/esm/funcs/cron-list-cron-schedules.js +86 -0
  153. package/esm/funcs/cron-list-cron-schedules.js.map +1 -0
  154. package/esm/funcs/cron-update-cron-schedule.d.ts +18 -0
  155. package/esm/funcs/{chat-search-conversations.d.ts.map → cron-update-cron-schedule.d.ts.map} +1 -1
  156. package/esm/funcs/cron-update-cron-schedule.js +103 -0
  157. package/esm/funcs/cron-update-cron-schedule.js.map +1 -0
  158. package/esm/funcs/linked-in-actions-create-comment.d.ts +1 -1
  159. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -1
  160. package/esm/funcs/linked-in-actions-create-comment.js +3 -1
  161. package/esm/funcs/linked-in-actions-create-comment.js.map +1 -1
  162. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +1 -1
  163. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -1
  164. package/esm/funcs/linked-in-actions-decline-invitation.js +3 -1
  165. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -1
  166. package/esm/funcs/linked-in-actions-like-comment.d.ts +1 -1
  167. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -1
  168. package/esm/funcs/linked-in-actions-like-comment.js +3 -1
  169. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -1
  170. package/esm/funcs/linked-in-actions-publish-post.d.ts +1 -1
  171. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -1
  172. package/esm/funcs/linked-in-actions-publish-post.js +3 -1
  173. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -1
  174. package/esm/funcs/linked-in-actions-save-post.d.ts +1 -1
  175. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -1
  176. package/esm/funcs/linked-in-actions-save-post.js +3 -1
  177. package/esm/funcs/linked-in-actions-save-post.js.map +1 -1
  178. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +1 -1
  179. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -1
  180. package/esm/funcs/linked-in-actions-unfollow-profile.js +3 -1
  181. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +1 -1
  182. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts +22 -0
  183. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts.map +1 -0
  184. package/esm/funcs/{linkedin-chat-get-messages.js → linked-in-chat-get-conversation-messages.js} +15 -9
  185. package/esm/funcs/linked-in-chat-get-conversation-messages.js.map +1 -0
  186. package/esm/funcs/{linkedin-chat-get-unread-count.d.ts → linked-in-chat-get-unread-count.d.ts} +2 -2
  187. package/esm/funcs/linked-in-chat-get-unread-count.d.ts.map +1 -0
  188. package/esm/funcs/{linkedin-chat-get-unread-count.js → linked-in-chat-get-unread-count.js} +8 -7
  189. package/esm/funcs/linked-in-chat-get-unread-count.js.map +1 -0
  190. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts +18 -0
  191. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts.map +1 -0
  192. package/esm/funcs/{linkedin-chat-list-archived.js → linked-in-chat-list-archived-conversations.js} +13 -10
  193. package/esm/funcs/linked-in-chat-list-archived-conversations.js.map +1 -0
  194. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts +18 -0
  195. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts.map +1 -0
  196. package/esm/funcs/{linked-in-chat-list-starred.js → linked-in-chat-list-starred-conversations.js} +13 -10
  197. package/esm/funcs/linked-in-chat-list-starred-conversations.js.map +1 -0
  198. package/esm/funcs/linked-in-chat-mark-seen.d.ts +1 -1
  199. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -1
  200. package/esm/funcs/linked-in-chat-mark-seen.js +3 -1
  201. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -1
  202. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts +18 -0
  203. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts.map +1 -0
  204. package/esm/funcs/{chat-search-conversations.js → linked-in-chat-search-linked-in-conversations.js} +14 -8
  205. package/esm/funcs/linked-in-chat-search-linked-in-conversations.js.map +1 -0
  206. package/esm/funcs/linked-in-chat-star.d.ts +1 -1
  207. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -1
  208. package/esm/funcs/linked-in-chat-star.js +3 -1
  209. package/esm/funcs/linked-in-chat-star.js.map +1 -1
  210. package/esm/funcs/linked-in-chat-unarchive.d.ts +1 -1
  211. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -1
  212. package/esm/funcs/linked-in-chat-unarchive.js +3 -1
  213. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -1
  214. package/esm/funcs/linked-in-chat-unstar.d.ts +1 -1
  215. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -1
  216. package/esm/funcs/linked-in-chat-unstar.js +3 -1
  217. package/esm/funcs/linked-in-chat-unstar.js.map +1 -1
  218. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +2 -2
  219. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -1
  220. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +4 -2
  221. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -1
  222. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +1 -1
  223. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -1
  224. package/esm/funcs/linked-in-scrapers-get-feed.js +3 -1
  225. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -1
  226. package/esm/funcs/{linked-in-search-resolve-parameters.d.ts → linked-in-search-resolve-linked-in-search-parameters.d.ts} +6 -3
  227. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.d.ts.map +1 -0
  228. package/esm/funcs/{linked-in-search-resolve-parameters.js → linked-in-search-resolve-linked-in-search-parameters.js} +18 -8
  229. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.js.map +1 -0
  230. package/esm/funcs/linked-in-search-search-companies.d.ts +1 -1
  231. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -1
  232. package/esm/funcs/linked-in-search-search-companies.js +3 -1
  233. package/esm/funcs/linked-in-search-search-companies.js.map +1 -1
  234. package/esm/funcs/linked-in-search-search.d.ts +1 -1
  235. package/esm/funcs/linked-in-search-search.d.ts.map +1 -1
  236. package/esm/funcs/linked-in-search-search.js +3 -1
  237. package/esm/funcs/linked-in-search-search.js.map +1 -1
  238. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
  239. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
  240. package/esm/funcs/linkedin-actions-accept-invitation.js +3 -1
  241. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
  242. package/esm/funcs/linkedin-actions-edit-comment.d.ts +1 -1
  243. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +1 -1
  244. package/esm/funcs/linkedin-actions-edit-comment.js +3 -1
  245. package/esm/funcs/linkedin-actions-edit-comment.js.map +1 -1
  246. package/esm/funcs/linkedin-actions-edit-post.d.ts +1 -1
  247. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -1
  248. package/esm/funcs/linkedin-actions-edit-post.js +3 -1
  249. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -1
  250. package/esm/funcs/linkedin-actions-follow-profile.d.ts +1 -1
  251. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +1 -1
  252. package/esm/funcs/linkedin-actions-follow-profile.js +3 -1
  253. package/esm/funcs/linkedin-actions-follow-profile.js.map +1 -1
  254. package/esm/funcs/linkedin-actions-like-post.d.ts +1 -1
  255. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -1
  256. package/esm/funcs/linkedin-actions-like-post.js +3 -1
  257. package/esm/funcs/linkedin-actions-like-post.js.map +1 -1
  258. package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
  259. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
  260. package/esm/funcs/linkedin-actions-list-invitations.js +3 -1
  261. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
  262. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
  263. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
  264. package/esm/funcs/linkedin-actions-reply-to-comment.js +3 -1
  265. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
  266. package/esm/funcs/linkedin-actions-repost-post.d.ts +2 -2
  267. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -1
  268. package/esm/funcs/linkedin-actions-repost-post.js +4 -2
  269. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -1
  270. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +1 -1
  271. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -1
  272. package/esm/funcs/linkedin-actions-unfollow-company.js +3 -1
  273. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -1
  274. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +1 -1
  275. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -1
  276. package/esm/funcs/linkedin-actions-unlike-comment.js +3 -1
  277. package/esm/funcs/linkedin-actions-unlike-comment.js.map +1 -1
  278. package/esm/funcs/linkedin-actions-unlike-post.d.ts +1 -1
  279. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -1
  280. package/esm/funcs/linkedin-actions-unlike-post.js +3 -1
  281. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -1
  282. package/esm/funcs/linkedin-actions-unsave-post.d.ts +1 -1
  283. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -1
  284. package/esm/funcs/linkedin-actions-unsave-post.js +3 -1
  285. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -1
  286. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +1 -1
  287. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -1
  288. package/esm/funcs/linkedin-actions-withdraw-invitation.js +3 -1
  289. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -1
  290. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +2 -2
  291. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -1
  292. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +8 -4
  293. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -1
  294. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +1 -1
  295. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -1
  296. package/esm/funcs/linkedin-chat-mark-all-read.js +3 -1
  297. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -1
  298. package/esm/funcs/linkedin-chat-react.d.ts +1 -1
  299. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -1
  300. package/esm/funcs/linkedin-chat-react.js +3 -1
  301. package/esm/funcs/linkedin-chat-react.js.map +1 -1
  302. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +1 -1
  303. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -1
  304. package/esm/funcs/linkedin-chat-send-typing-indicator.js +3 -1
  305. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -1
  306. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +2 -2
  307. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
  308. package/esm/funcs/linkedin-scrapers-collect-comments.js +4 -2
  309. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
  310. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +1 -1
  311. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -1
  312. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +3 -1
  313. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -1
  314. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +2 -2
  315. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
  316. package/esm/funcs/linkedin-scrapers-collect-likes.js +4 -2
  317. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
  318. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +1 -1
  319. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -1
  320. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +3 -1
  321. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -1
  322. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
  323. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
  324. package/esm/funcs/linkedin-scrapers-visit-company.js +3 -1
  325. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
  326. package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
  327. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
  328. package/esm/funcs/linkedin-search-search-by-url.js +3 -1
  329. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
  330. package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
  331. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
  332. package/esm/funcs/linkedin-search-search-jobs.js +3 -1
  333. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
  334. package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
  335. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
  336. package/esm/funcs/linkedin-search-search-people.js +3 -1
  337. package/esm/funcs/linkedin-search-search-people.js.map +1 -1
  338. package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
  339. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
  340. package/esm/funcs/linkedin-search-search-posts.js +3 -1
  341. package/esm/funcs/linkedin-search-search-posts.js.map +1 -1
  342. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  343. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  344. package/esm/funcs/profile-get-follower-analytics.js +3 -1
  345. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  346. package/esm/funcs/profile-get-followers.d.ts +1 -1
  347. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  348. package/esm/funcs/profile-get-followers.js +3 -1
  349. package/esm/funcs/profile-get-followers.js.map +1 -1
  350. package/esm/funcs/profile-get-linked-in-connections.d.ts +18 -0
  351. package/esm/funcs/profile-get-linked-in-connections.d.ts.map +1 -0
  352. package/esm/funcs/profile-get-linked-in-connections.js +101 -0
  353. package/esm/funcs/profile-get-linked-in-connections.js.map +1 -0
  354. package/esm/funcs/{profile-get-credits.d.ts → profile-get-my-credits.d.ts} +2 -2
  355. package/esm/funcs/profile-get-my-credits.d.ts.map +1 -0
  356. package/esm/funcs/{profile-get-credits.js → profile-get-my-credits.js} +6 -4
  357. package/esm/funcs/profile-get-my-credits.js.map +1 -0
  358. package/esm/funcs/{profile-get-limits.d.ts → profile-get-my-limits.d.ts} +2 -2
  359. package/esm/funcs/{profile-list-accounts.d.ts.map → profile-get-my-limits.d.ts.map} +1 -1
  360. package/esm/funcs/{profile-get-limits.js → profile-get-my-limits.js} +6 -4
  361. package/esm/funcs/profile-get-my-limits.js.map +1 -0
  362. package/esm/funcs/{profile-get.d.ts → profile-get-my-linked-in-profile.d.ts} +2 -2
  363. package/esm/funcs/profile-get-my-linked-in-profile.d.ts.map +1 -0
  364. package/esm/funcs/{profile-get.js → profile-get-my-linked-in-profile.js} +6 -4
  365. package/esm/funcs/profile-get-my-linked-in-profile.js.map +1 -0
  366. package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
  367. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  368. package/esm/funcs/profile-get-post-analytics.js +4 -2
  369. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  370. package/esm/funcs/profile-get-posts.d.ts +1 -1
  371. package/esm/funcs/profile-get-posts.d.ts.map +1 -1
  372. package/esm/funcs/profile-get-posts.js +3 -1
  373. package/esm/funcs/profile-get-posts.js.map +1 -1
  374. package/esm/funcs/profile-get-profile-views.d.ts +1 -1
  375. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -1
  376. package/esm/funcs/profile-get-profile-views.js +3 -1
  377. package/esm/funcs/profile-get-profile-views.js.map +1 -1
  378. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  379. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  380. package/esm/funcs/profile-get-search-appearances.js +3 -1
  381. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  382. package/esm/funcs/{profile-list-accounts.d.ts → profile-list-linked-in-accounts.d.ts} +2 -2
  383. package/esm/funcs/profile-list-linked-in-accounts.d.ts.map +1 -0
  384. package/esm/funcs/{profile-list-accounts.js → profile-list-linked-in-accounts.js} +6 -4
  385. package/esm/funcs/profile-list-linked-in-accounts.js.map +1 -0
  386. package/esm/funcs/profile-refresh.d.ts +1 -1
  387. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  388. package/esm/funcs/profile-refresh.js +3 -1
  389. package/esm/funcs/profile-refresh.js.map +1 -1
  390. package/esm/funcs/profile-switch-linked-in-account.d.ts +18 -0
  391. package/esm/funcs/profile-switch-linked-in-account.d.ts.map +1 -0
  392. package/esm/funcs/profile-switch-linked-in-account.js +97 -0
  393. package/esm/funcs/profile-switch-linked-in-account.js.map +1 -0
  394. package/esm/funcs/profile-update-account.d.ts +1 -1
  395. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  396. package/esm/funcs/profile-update-account.js +3 -1
  397. package/esm/funcs/profile-update-account.js.map +1 -1
  398. package/esm/funcs/sales-nav-search-people.d.ts +1 -1
  399. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -1
  400. package/esm/funcs/sales-nav-search-people.js +3 -1
  401. package/esm/funcs/sales-nav-search-people.js.map +1 -1
  402. package/esm/funcs/sales-navigator-search-search-companies.d.ts +1 -1
  403. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -1
  404. package/esm/funcs/sales-navigator-search-search-companies.js +3 -1
  405. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -1
  406. package/esm/funcs/sales-navigator-search-search.d.ts +1 -1
  407. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -1
  408. package/esm/funcs/sales-navigator-search-search.js +3 -1
  409. package/esm/funcs/sales-navigator-search-search.js.map +1 -1
  410. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts +18 -0
  411. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts.map +1 -0
  412. package/esm/funcs/scheduled-messages-batch-schedule-messages.js +97 -0
  413. package/esm/funcs/scheduled-messages-batch-schedule-messages.js.map +1 -0
  414. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts +18 -0
  415. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts.map +1 -0
  416. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js +97 -0
  417. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js.map +1 -0
  418. package/esm/funcs/{chat-search-conversations.d.ts → scheduled-messages-create-scheduled-message.d.ts} +4 -4
  419. package/esm/funcs/scheduled-messages-create-scheduled-message.d.ts.map +1 -0
  420. package/esm/funcs/scheduled-messages-create-scheduled-message.js +97 -0
  421. package/esm/funcs/scheduled-messages-create-scheduled-message.js.map +1 -0
  422. package/esm/funcs/{linkedin-chat-list-archived.d.ts → scheduled-messages-list-scheduled-messages.d.ts} +4 -4
  423. package/esm/funcs/scheduled-messages-list-scheduled-messages.d.ts.map +1 -0
  424. package/esm/funcs/scheduled-messages-list-scheduled-messages.js +104 -0
  425. package/esm/funcs/scheduled-messages-list-scheduled-messages.js.map +1 -0
  426. package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
  427. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  428. package/esm/funcs/scrapers-collect-posts.js +4 -2
  429. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  430. package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
  431. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  432. package/esm/funcs/scrapers-visit-profile.js +6 -2
  433. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  434. package/esm/lib/config.d.ts +4 -4
  435. package/esm/lib/config.d.ts.map +1 -1
  436. package/esm/lib/config.js +7 -3
  437. package/esm/lib/config.js.map +1 -1
  438. package/esm/models/errors/collect-linked-in-likes.d.ts +46 -0
  439. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  440. package/esm/models/errors/collect-linked-in-likes.js +66 -0
  441. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  442. package/esm/models/operations/index.d.ts +4 -4
  443. package/esm/models/operations/index.d.ts.map +1 -1
  444. package/esm/models/operations/index.js +4 -4
  445. package/esm/models/operations/index.js.map +1 -1
  446. package/esm/models/operations/{scraping-weekly.d.ts → refresh-my-linked-in-profile-type.d.ts} +405 -620
  447. package/esm/models/operations/refresh-my-linked-in-profile-type.d.ts.map +1 -0
  448. package/esm/models/operations/{scraping-weekly.js → refresh-my-linked-in-profile-type.js} +270 -302
  449. package/esm/models/operations/refresh-my-linked-in-profile-type.js.map +1 -0
  450. package/esm/models/operations/{search-linked-in-by-url-type-post.d.ts → search-linked-in-jobs-experience-level.d.ts} +305 -255
  451. package/esm/models/operations/search-linked-in-jobs-experience-level.d.ts.map +1 -0
  452. package/esm/models/operations/{search-linked-in-by-url-type-post.js → search-linked-in-jobs-experience-level.js} +211 -178
  453. package/esm/models/operations/search-linked-in-jobs-experience-level.js.map +1 -0
  454. package/esm/models/operations/{get-campaign-stats-response.d.ts → update-contact-outreach-status.d.ts} +1520 -386
  455. package/esm/models/operations/update-contact-outreach-status.d.ts.map +1 -0
  456. package/esm/models/operations/{get-campaign-stats-response.js → update-contact-outreach-status.js} +923 -249
  457. package/esm/models/operations/update-contact-outreach-status.js.map +1 -0
  458. package/esm/models/operations/update-cron-schedule-response.d.ts +1820 -0
  459. package/esm/models/operations/update-cron-schedule-response.d.ts.map +1 -0
  460. package/esm/models/operations/update-cron-schedule-response.js +1194 -0
  461. package/esm/models/operations/update-cron-schedule-response.js.map +1 -0
  462. package/esm/sdk/actions.d.ts +2 -2
  463. package/esm/sdk/actions.js +2 -2
  464. package/esm/sdk/campaigns.d.ts +1 -1
  465. package/esm/sdk/campaigns.d.ts.map +1 -1
  466. package/esm/sdk/campaigns.js +3 -3
  467. package/esm/sdk/campaigns.js.map +1 -1
  468. package/esm/sdk/chat.d.ts +1 -15
  469. package/esm/sdk/chat.d.ts.map +1 -1
  470. package/esm/sdk/chat.js +1 -18
  471. package/esm/sdk/chat.js.map +1 -1
  472. package/esm/sdk/contacts.d.ts +127 -1
  473. package/esm/sdk/contacts.d.ts.map +1 -1
  474. package/esm/sdk/contacts.js +181 -1
  475. package/esm/sdk/contacts.js.map +1 -1
  476. package/esm/sdk/context.d.ts +26 -0
  477. package/esm/sdk/context.d.ts.map +1 -0
  478. package/esm/sdk/context.js +38 -0
  479. package/esm/sdk/context.js.map +1 -0
  480. package/esm/sdk/cron.d.ts +19 -0
  481. package/esm/sdk/cron.d.ts.map +1 -0
  482. package/esm/sdk/cron.js +28 -0
  483. package/esm/sdk/cron.js.map +1 -0
  484. package/esm/sdk/linked-in-chat-2.d.ts +39 -7
  485. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -1
  486. package/esm/sdk/linked-in-chat-2.js +54 -10
  487. package/esm/sdk/linked-in-chat-2.js.map +1 -1
  488. package/esm/sdk/linked-in-scrapers-2.d.ts +1 -1
  489. package/esm/sdk/linked-in-scrapers-2.js +1 -1
  490. package/esm/sdk/linked-in-search-1.d.ts +5 -2
  491. package/esm/sdk/linked-in-search-1.d.ts.map +1 -1
  492. package/esm/sdk/linked-in-search-1.js +7 -4
  493. package/esm/sdk/linked-in-search-1.js.map +1 -1
  494. package/esm/sdk/linkedin-actions-1.d.ts +1 -1
  495. package/esm/sdk/linkedin-actions-1.js +1 -1
  496. package/esm/sdk/linkedin-chat-1.d.ts +2 -27
  497. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -1
  498. package/esm/sdk/linkedin-chat-1.js +1 -35
  499. package/esm/sdk/linkedin-chat-1.js.map +1 -1
  500. package/esm/sdk/linkedin-scrapers-1.d.ts +2 -2
  501. package/esm/sdk/linkedin-scrapers-1.js +2 -2
  502. package/esm/sdk/profile.d.ts +19 -5
  503. package/esm/sdk/profile.d.ts.map +1 -1
  504. package/esm/sdk/profile.js +33 -13
  505. package/esm/sdk/profile.js.map +1 -1
  506. package/esm/sdk/scheduled-messages.d.ts +33 -0
  507. package/esm/sdk/scheduled-messages.d.ts.map +1 -0
  508. package/esm/sdk/scheduled-messages.js +48 -0
  509. package/esm/sdk/scheduled-messages.js.map +1 -0
  510. package/esm/sdk/scrapers.d.ts +4 -2
  511. package/esm/sdk/scrapers.d.ts.map +1 -1
  512. package/esm/sdk/scrapers.js +4 -2
  513. package/esm/sdk/scrapers.js.map +1 -1
  514. package/esm/sdk/sdk.d.ts +11 -2
  515. package/esm/sdk/sdk.d.ts.map +1 -1
  516. package/esm/sdk/sdk.js +19 -4
  517. package/esm/sdk/sdk.js.map +1 -1
  518. package/jsr.json +1 -1
  519. package/package.json +2 -4
  520. package/src/funcs/actions-connect-profile.ts +11 -1
  521. package/src/funcs/actions-follow-company.ts +10 -0
  522. package/src/funcs/actions-list-sent-invitations.ts +10 -0
  523. package/src/funcs/actions-send-message.ts +11 -1
  524. package/src/funcs/campaigns-filter.ts +10 -0
  525. package/src/funcs/{campaigns-get-stats.ts → campaigns-get-campaign-stats.ts} +14 -5
  526. package/src/funcs/campaigns-get-status.ts +10 -0
  527. package/src/funcs/campaigns-sync.ts +10 -0
  528. package/src/funcs/chat-archive.ts +10 -0
  529. package/src/funcs/chat-find-conversation.ts +11 -8
  530. package/src/funcs/chat-unreact.ts +10 -0
  531. package/src/funcs/company-pages-get-analytics.ts +10 -0
  532. package/src/funcs/company-pages-get-permissions.ts +10 -0
  533. package/src/funcs/company-pages-get-posts.ts +10 -0
  534. package/src/funcs/company-pages-list.ts +10 -0
  535. package/src/funcs/contacts-add-campaign-contacts.ts +233 -0
  536. package/src/funcs/contacts-add-contact-activities.ts +231 -0
  537. package/src/funcs/contacts-bulk-update-contacts.ts +225 -0
  538. package/src/funcs/contacts-create-campaign.ts +224 -0
  539. package/src/funcs/contacts-delete-agent-state.ts +230 -0
  540. package/src/funcs/contacts-get-agent-state.ts +229 -0
  541. package/src/funcs/contacts-get-contact-by-url.ts +228 -0
  542. package/src/funcs/contacts-get-contact-stats.ts +232 -0
  543. package/src/funcs/contacts-get-contact.ts +229 -0
  544. package/src/funcs/contacts-list-agent-states.ts +205 -0
  545. package/src/funcs/contacts-list-campaign-contacts.ts +242 -0
  546. package/src/funcs/contacts-list-campaigns.ts +235 -0
  547. package/src/funcs/contacts-list-contact-activities.ts +237 -0
  548. package/src/funcs/contacts-patch-agent-state.ts +230 -0
  549. package/src/funcs/contacts-search-contacts.ts +244 -0
  550. package/src/funcs/contacts-set-agent-state.ts +230 -0
  551. package/src/funcs/contacts-update-campaign.ts +230 -0
  552. package/src/funcs/contacts-update-contact.ts +230 -0
  553. package/src/funcs/contacts-upsert.ts +66 -3
  554. package/src/funcs/context-delete-context.ts +229 -0
  555. package/src/funcs/context-list-context.ts +230 -0
  556. package/src/funcs/context-set-context.ts +224 -0
  557. package/src/funcs/cron-list-cron-schedules.ts +205 -0
  558. package/src/funcs/cron-update-cron-schedule.ts +231 -0
  559. package/src/funcs/linked-in-actions-create-comment.ts +10 -0
  560. package/src/funcs/linked-in-actions-decline-invitation.ts +10 -0
  561. package/src/funcs/linked-in-actions-like-comment.ts +10 -0
  562. package/src/funcs/linked-in-actions-publish-post.ts +10 -0
  563. package/src/funcs/linked-in-actions-save-post.ts +10 -0
  564. package/src/funcs/linked-in-actions-unfollow-profile.ts +10 -0
  565. package/src/funcs/{linkedin-chat-get-messages.ts → linked-in-chat-get-conversation-messages.ts} +22 -7
  566. package/src/funcs/{linkedin-chat-get-unread-count.ts → linked-in-chat-get-unread-count.ts} +12 -6
  567. package/src/funcs/{linkedin-chat-list-archived.ts → linked-in-chat-list-archived-conversations.ts} +20 -8
  568. package/src/funcs/{linked-in-chat-list-starred.ts → linked-in-chat-list-starred-conversations.ts} +20 -8
  569. package/src/funcs/linked-in-chat-mark-seen.ts +10 -0
  570. package/src/funcs/{chat-search-conversations.ts → linked-in-chat-search-linked-in-conversations.ts} +21 -6
  571. package/src/funcs/linked-in-chat-star.ts +10 -0
  572. package/src/funcs/linked-in-chat-unarchive.ts +10 -0
  573. package/src/funcs/linked-in-chat-unstar.ts +10 -0
  574. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +11 -1
  575. package/src/funcs/linked-in-scrapers-get-feed.ts +10 -0
  576. package/src/funcs/{linked-in-search-resolve-parameters.ts → linked-in-search-resolve-linked-in-search-parameters.ts} +25 -6
  577. package/src/funcs/linked-in-search-search-companies.ts +10 -0
  578. package/src/funcs/linked-in-search-search.ts +10 -0
  579. package/src/funcs/linkedin-actions-accept-invitation.ts +10 -0
  580. package/src/funcs/linkedin-actions-edit-comment.ts +10 -0
  581. package/src/funcs/linkedin-actions-edit-post.ts +10 -0
  582. package/src/funcs/linkedin-actions-follow-profile.ts +10 -0
  583. package/src/funcs/linkedin-actions-like-post.ts +10 -0
  584. package/src/funcs/linkedin-actions-list-invitations.ts +10 -0
  585. package/src/funcs/linkedin-actions-reply-to-comment.ts +10 -0
  586. package/src/funcs/linkedin-actions-repost-post.ts +11 -1
  587. package/src/funcs/linkedin-actions-unfollow-company.ts +10 -0
  588. package/src/funcs/linkedin-actions-unlike-comment.ts +10 -0
  589. package/src/funcs/linkedin-actions-unlike-post.ts +10 -0
  590. package/src/funcs/linkedin-actions-unsave-post.ts +10 -0
  591. package/src/funcs/linkedin-actions-withdraw-invitation.ts +10 -0
  592. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +20 -5
  593. package/src/funcs/linkedin-chat-mark-all-read.ts +10 -0
  594. package/src/funcs/linkedin-chat-react.ts +10 -0
  595. package/src/funcs/linkedin-chat-send-typing-indicator.ts +10 -0
  596. package/src/funcs/linkedin-scrapers-collect-comments.ts +11 -1
  597. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +10 -0
  598. package/src/funcs/linkedin-scrapers-collect-likes.ts +11 -1
  599. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +10 -0
  600. package/src/funcs/linkedin-scrapers-visit-company.ts +10 -0
  601. package/src/funcs/linkedin-search-search-by-url.ts +10 -0
  602. package/src/funcs/linkedin-search-search-jobs.ts +10 -0
  603. package/src/funcs/linkedin-search-search-people.ts +10 -0
  604. package/src/funcs/linkedin-search-search-posts.ts +10 -0
  605. package/src/funcs/profile-get-follower-analytics.ts +10 -0
  606. package/src/funcs/profile-get-followers.ts +10 -0
  607. package/src/funcs/profile-get-linked-in-connections.ts +233 -0
  608. package/src/funcs/{profile-get-credits.ts → profile-get-my-credits.ts} +12 -2
  609. package/src/funcs/{profile-get-limits.ts → profile-get-my-limits.ts} +12 -2
  610. package/src/funcs/{profile-get.ts → profile-get-my-linked-in-profile.ts} +12 -2
  611. package/src/funcs/profile-get-post-analytics.ts +11 -1
  612. package/src/funcs/profile-get-posts.ts +10 -0
  613. package/src/funcs/profile-get-profile-views.ts +10 -0
  614. package/src/funcs/profile-get-search-appearances.ts +10 -0
  615. package/src/funcs/{profile-list-accounts.ts → profile-list-linked-in-accounts.ts} +12 -2
  616. package/src/funcs/profile-refresh.ts +10 -0
  617. package/src/funcs/profile-switch-linked-in-account.ts +225 -0
  618. package/src/funcs/profile-update-account.ts +10 -0
  619. package/src/funcs/sales-nav-search-people.ts +10 -0
  620. package/src/funcs/sales-navigator-search-search-companies.ts +10 -0
  621. package/src/funcs/sales-navigator-search-search.ts +10 -0
  622. package/src/funcs/scheduled-messages-batch-schedule-messages.ts +225 -0
  623. package/src/funcs/scheduled-messages-cancel-scheduled-messages.ts +225 -0
  624. package/src/funcs/scheduled-messages-create-scheduled-message.ts +225 -0
  625. package/src/funcs/scheduled-messages-list-scheduled-messages.ts +236 -0
  626. package/src/funcs/scrapers-collect-posts.ts +11 -1
  627. package/src/funcs/scrapers-visit-profile.ts +13 -1
  628. package/src/lib/config.ts +7 -3
  629. package/src/models/errors/collect-linked-in-likes.ts +108 -0
  630. package/src/models/operations/index.ts +4 -4
  631. package/src/models/operations/{scraping-weekly.ts → refresh-my-linked-in-profile-type.ts} +2106 -2363
  632. package/src/models/operations/{search-linked-in-by-url-type-post.ts → search-linked-in-jobs-experience-level.ts} +649 -536
  633. package/src/models/operations/{get-campaign-stats-response.ts → update-contact-outreach-status.ts} +3582 -1450
  634. package/src/models/operations/update-cron-schedule-response.ts +3771 -0
  635. package/src/sdk/actions.ts +2 -2
  636. package/src/sdk/campaigns.ts +3 -3
  637. package/src/sdk/chat.ts +1 -26
  638. package/src/sdk/contacts.ts +323 -1
  639. package/src/sdk/context.ts +63 -0
  640. package/src/sdk/cron.ts +43 -0
  641. package/src/sdk/linked-in-chat-2.ts +92 -18
  642. package/src/sdk/linked-in-scrapers-2.ts +1 -1
  643. package/src/sdk/linked-in-search-1.ts +7 -4
  644. package/src/sdk/linkedin-actions-1.ts +1 -1
  645. package/src/sdk/linkedin-chat-1.ts +2 -60
  646. package/src/sdk/linkedin-scrapers-1.ts +2 -2
  647. package/src/sdk/profile.ts +49 -13
  648. package/src/sdk/scheduled-messages.ts +81 -0
  649. package/src/sdk/scrapers.ts +4 -2
  650. package/src/sdk/sdk.ts +23 -5
  651. package/esm/funcs/campaigns-get-stats.js.map +0 -1
  652. package/esm/funcs/chat-search-conversations.js.map +0 -1
  653. package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
  654. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
  655. package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
  656. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
  657. package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
  658. package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
  659. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
  660. package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
  661. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
  662. package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
  663. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
  664. package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
  665. package/esm/funcs/profile-get-credits.d.ts.map +0 -1
  666. package/esm/funcs/profile-get-credits.js.map +0 -1
  667. package/esm/funcs/profile-get-limits.d.ts.map +0 -1
  668. package/esm/funcs/profile-get-limits.js.map +0 -1
  669. package/esm/funcs/profile-get.d.ts.map +0 -1
  670. package/esm/funcs/profile-get.js.map +0 -1
  671. package/esm/funcs/profile-list-accounts.js.map +0 -1
  672. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  673. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  674. package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
  675. package/esm/models/operations/scraping-weekly.js.map +0 -1
  676. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
  677. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
  678. package/esm/models/operations/upsert-contacts.d.ts +0 -182
  679. package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
  680. package/esm/models/operations/upsert-contacts.js +0 -116
  681. package/esm/models/operations/upsert-contacts.js.map +0 -1
  682. package/src/models/operations/upsert-contacts.ts +0 -305
@@ -26,6 +26,26 @@ export type CollectLinkedInLikesRequest = {
26
26
  count?: number | undefined;
27
27
  };
28
28
 
29
+ export type CollectLinkedInLikesServiceUnavailableDetails =
30
+ | string
31
+ | Array<string>;
32
+
33
+ export type CollectLinkedInLikesServiceUnavailableError = {
34
+ code: string;
35
+ message: string;
36
+ docs?: string | undefined;
37
+ details?: string | Array<string> | undefined;
38
+ };
39
+
40
+ export type CollectLinkedInLikesBadGatewayDetails = string | Array<string>;
41
+
42
+ export type CollectLinkedInLikesBadGatewayError = {
43
+ code: string;
44
+ message: string;
45
+ docs?: string | undefined;
46
+ details?: string | Array<string> | undefined;
47
+ };
48
+
29
49
  export type CollectLinkedInLikesInternalServerErrorDetails =
30
50
  | string
31
51
  | Array<string>;
@@ -164,6 +184,10 @@ export type CollectLinkedInLikesProfile = {
164
184
  */
165
185
  profileUrn: string | null;
166
186
  type: CollectLinkedInLikesType;
187
+ /**
188
+ * Reaction type (e.g. 'LIKE', 'CELEBRATE', 'EMPATHY', 'INTEREST', 'PRAISE', 'APPRECIATION').
189
+ */
190
+ reactionType?: string | undefined;
167
191
  };
168
192
 
169
193
  /**
@@ -261,9 +285,13 @@ export type CollectLinkedInCommentsProfile = {
261
285
  */
262
286
  repliesCount?: number | undefined;
263
287
  /**
264
- * True if the post author already replied to this comment.
288
+ * True if the post author already replied to this comment. Null when unknown (e.g. LinkedIn only preloaded partial replies).
289
+ */
290
+ hasReplyFromPostAuthor?: boolean | null | undefined;
291
+ /**
292
+ * URN of the parent comment, present on replies only.
265
293
  */
266
- hasReplyFromPostAuthor?: boolean | undefined;
294
+ parentCommentUrn?: string | undefined;
267
295
  postUrn?: string | undefined;
268
296
  /**
269
297
  * SHA256 hash of postUrn — use for dedup slugs only.
@@ -454,13 +482,69 @@ export type CollectSavedLinkedInPostsRequest = {
454
482
  count?: number | undefined;
455
483
  };
456
484
 
485
+ export type CollectSavedLinkedInPostsAuthor = {
486
+ name: string;
487
+ profileUrl: string | null;
488
+ publicIdentifier: string | null;
489
+ profileUrn: string | null;
490
+ };
491
+
492
+ /**
493
+ * Type of media attached to the post.
494
+ */
495
+ export const CollectSavedLinkedInPostsType = {
496
+ Image: "image",
497
+ Video: "video",
498
+ Document: "document",
499
+ Article: "article",
500
+ } as const;
501
+ /**
502
+ * Type of media attached to the post.
503
+ */
504
+ export type CollectSavedLinkedInPostsType = OpenEnum<
505
+ typeof CollectSavedLinkedInPostsType
506
+ >;
507
+
508
+ export type CollectSavedLinkedInPostsMedia = {
509
+ /**
510
+ * Type of media attached to the post.
511
+ */
512
+ type: CollectSavedLinkedInPostsType;
513
+ /**
514
+ * Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
515
+ */
516
+ urls: Array<string>;
517
+ /**
518
+ * Title of the article or document, when available.
519
+ */
520
+ title?: string | undefined;
521
+ /**
522
+ * Thumbnail URL for videos, articles, or document covers.
523
+ */
524
+ thumbnailUrl?: string | undefined;
525
+ };
526
+
527
+ export type CollectSavedLinkedInPostsPost = {
528
+ postUrl: string;
529
+ postUrn: string;
530
+ postId: string;
531
+ text: string;
532
+ date: number;
533
+ likesCount: number;
534
+ commentsCount: number;
535
+ sharesCount: number;
536
+ author: CollectSavedLinkedInPostsAuthor;
537
+ media?: CollectSavedLinkedInPostsMedia | undefined;
538
+ };
539
+
457
540
  /**
458
541
  * Saved posts
459
542
  */
460
543
  export type CollectSavedLinkedInPostsResponse = {
461
544
  success: true;
462
- posts: Array<any>;
545
+ posts: Array<CollectSavedLinkedInPostsPost>;
463
546
  total: number | null;
547
+ hasMore: boolean;
464
548
  /**
465
549
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
466
550
  */
@@ -486,12 +570,68 @@ export type CollectLinkedInHashtagPostsRequest = {
486
570
  count?: number | undefined;
487
571
  };
488
572
 
573
+ export type CollectLinkedInHashtagPostsAuthor = {
574
+ name: string;
575
+ profileUrl: string | null;
576
+ publicIdentifier: string | null;
577
+ profileUrn: string | null;
578
+ };
579
+
580
+ /**
581
+ * Type of media attached to the post.
582
+ */
583
+ export const CollectLinkedInHashtagPostsType = {
584
+ Image: "image",
585
+ Video: "video",
586
+ Document: "document",
587
+ Article: "article",
588
+ } as const;
589
+ /**
590
+ * Type of media attached to the post.
591
+ */
592
+ export type CollectLinkedInHashtagPostsType = OpenEnum<
593
+ typeof CollectLinkedInHashtagPostsType
594
+ >;
595
+
596
+ export type CollectLinkedInHashtagPostsMedia = {
597
+ /**
598
+ * Type of media attached to the post.
599
+ */
600
+ type: CollectLinkedInHashtagPostsType;
601
+ /**
602
+ * Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
603
+ */
604
+ urls: Array<string>;
605
+ /**
606
+ * Title of the article or document, when available.
607
+ */
608
+ title?: string | undefined;
609
+ /**
610
+ * Thumbnail URL for videos, articles, or document covers.
611
+ */
612
+ thumbnailUrl?: string | undefined;
613
+ };
614
+
615
+ export type CollectLinkedInHashtagPostsPost = {
616
+ postUrl: string;
617
+ postUrn: string;
618
+ text: string;
619
+ date: number;
620
+ likesCount: number;
621
+ commentsCount: number;
622
+ sharesCount: number;
623
+ author: CollectLinkedInHashtagPostsAuthor;
624
+ media?: CollectLinkedInHashtagPostsMedia | undefined;
625
+ };
626
+
489
627
  /**
490
628
  * Hashtag posts
491
629
  */
492
630
  export type CollectLinkedInHashtagPostsResponse = {
493
631
  success: true;
494
- posts: Array<any>;
632
+ posts: Array<CollectLinkedInHashtagPostsPost>;
633
+ total: number;
634
+ hasMore: boolean;
495
635
  /**
496
636
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
497
637
  */
@@ -569,9 +709,13 @@ export type Reply = {
569
709
  */
570
710
  repliesCount?: number | undefined;
571
711
  /**
572
- * True if the post author already replied to this comment.
712
+ * True if the post author already replied to this comment. Null when unknown (e.g. LinkedIn only preloaded partial replies).
713
+ */
714
+ hasReplyFromPostAuthor?: boolean | null | undefined;
715
+ /**
716
+ * URN of the parent comment, present on replies only.
573
717
  */
574
- hasReplyFromPostAuthor?: boolean | undefined;
718
+ parentCommentUrn?: string | undefined;
575
719
  postUrn?: string | undefined;
576
720
  /**
577
721
  * SHA256 hash of postUrn — use for dedup slugs only.
@@ -635,12 +779,73 @@ export type GetLinkedInFeedRequest = {
635
779
  sortOrder?: SortOrder | undefined;
636
780
  };
637
781
 
782
+ export const GetLinkedInFeedType = {
783
+ Activity: "activity",
784
+ UgcPost: "ugcPost",
785
+ Share: "share",
786
+ } as const;
787
+ export type GetLinkedInFeedType = OpenEnum<typeof GetLinkedInFeedType>;
788
+
789
+ /**
790
+ * Type of media attached to the post.
791
+ */
792
+ export const GetLinkedInFeedMediaType = {
793
+ Image: "image",
794
+ Video: "video",
795
+ Document: "document",
796
+ Article: "article",
797
+ } as const;
798
+ /**
799
+ * Type of media attached to the post.
800
+ */
801
+ export type GetLinkedInFeedMediaType = OpenEnum<
802
+ typeof GetLinkedInFeedMediaType
803
+ >;
804
+
805
+ /**
806
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
807
+ */
808
+ export type GetLinkedInFeedMedia = {
809
+ /**
810
+ * Type of media attached to the post.
811
+ */
812
+ type: GetLinkedInFeedMediaType;
813
+ /**
814
+ * Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
815
+ */
816
+ urls: Array<string>;
817
+ /**
818
+ * Title of the article or document, when available.
819
+ */
820
+ title?: string | undefined;
821
+ /**
822
+ * Thumbnail URL for videos, articles, or document covers.
823
+ */
824
+ thumbnailUrl?: string | undefined;
825
+ };
826
+
827
+ export type GetLinkedInFeedPost = {
828
+ postUrl: string;
829
+ text: string;
830
+ date: number;
831
+ likesCount: number;
832
+ commentsCount: number;
833
+ sharesCount: number;
834
+ postUrn: string;
835
+ postId: string;
836
+ type: GetLinkedInFeedType;
837
+ /**
838
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
839
+ */
840
+ media?: GetLinkedInFeedMedia | undefined;
841
+ };
842
+
638
843
  /**
639
844
  * Feed posts
640
845
  */
641
846
  export type GetLinkedInFeedResponse = {
642
847
  success: true;
643
- posts: Array<any>;
848
+ posts: Array<GetLinkedInFeedPost>;
644
849
  /**
645
850
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
646
851
  */
@@ -774,9 +979,13 @@ export type VisitLinkedInProfileRequest = {
774
979
  */
775
980
  actionSlug?: string | undefined;
776
981
  /**
777
- * When true, fetches the last 5 posts from the profile (adds a random delay between requests). Defaults to false.
982
+ * When true, fetches the last 5 posts from the profile (fetched in parallel with other enrichments). Defaults to false.
778
983
  */
779
984
  includePosts?: boolean | undefined;
985
+ /**
986
+ * When true, fetches the last 5 posts the profile recently engaged with via comments. Returns engagement context (target post text, author) but not the comment text itself. Fetched in parallel with includePosts. Defaults to false.
987
+ */
988
+ includeComments?: boolean | undefined;
780
989
  };
781
990
 
782
991
  /**
@@ -832,13 +1041,13 @@ export type VisitLinkedInProfileEducation = {
832
1041
  endDate: VisitLinkedInProfileEducationEndDate | null;
833
1042
  };
834
1043
 
835
- export const VisitLinkedInProfileType = {
1044
+ export const VisitLinkedInProfileLastPostType = {
836
1045
  Activity: "activity",
837
1046
  UgcPost: "ugcPost",
838
1047
  Share: "share",
839
1048
  } as const;
840
- export type VisitLinkedInProfileType = OpenEnum<
841
- typeof VisitLinkedInProfileType
1049
+ export type VisitLinkedInProfileLastPostType = OpenEnum<
1050
+ typeof VisitLinkedInProfileLastPostType
842
1051
  >;
843
1052
 
844
1053
  /**
@@ -888,13 +1097,68 @@ export type VisitLinkedInProfileLastPost = {
888
1097
  sharesCount: number;
889
1098
  postUrn: string;
890
1099
  postId: string;
891
- type: VisitLinkedInProfileType;
1100
+ type: VisitLinkedInProfileLastPostType;
892
1101
  /**
893
1102
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
894
1103
  */
895
1104
  media?: VisitLinkedInProfileMedia | undefined;
896
1105
  };
897
1106
 
1107
+ /**
1108
+ * Activity type: 'comment' for posts the user commented on
1109
+ */
1110
+ export const LastCommentType = {
1111
+ Comment: "comment",
1112
+ Reaction: "reaction",
1113
+ } as const;
1114
+ /**
1115
+ * Activity type: 'comment' for posts the user commented on
1116
+ */
1117
+ export type LastCommentType = OpenEnum<typeof LastCommentType>;
1118
+
1119
+ export type LastComment = {
1120
+ /**
1121
+ * Activity type: 'comment' for posts the user commented on
1122
+ */
1123
+ type: LastCommentType;
1124
+ /**
1125
+ * URN of the feed update (post) the user engaged with
1126
+ */
1127
+ activityUrn: string;
1128
+ /**
1129
+ * The user's comment text (null when not available from the API — this is a LinkedIn limitation)
1130
+ */
1131
+ text: string | null;
1132
+ /**
1133
+ * Reaction type (e.g. 'LIKE', 'CELEBRATE'). Only set for reaction-type activities
1134
+ */
1135
+ reactionType: string | null;
1136
+ /**
1137
+ * URN of the post the user commented on (e.g. 'urn:li:activity:1234567890')
1138
+ */
1139
+ targetPostUrn: string | null;
1140
+ /**
1141
+ * First ~200 chars of the post the user commented on. Use this to understand what topics they engage with
1142
+ */
1143
+ targetPostText: string | null;
1144
+ /**
1145
+ * Name of the post author (the person whose post was commented on)
1146
+ */
1147
+ targetPostAuthor: string | null;
1148
+ /**
1149
+ * Unix timestamp in milliseconds when the activity occurred
1150
+ */
1151
+ timestamp: number | null;
1152
+ /**
1153
+ * Name of the post author (same as targetPostAuthor when available)
1154
+ */
1155
+ actorName: string | null;
1156
+ /**
1157
+ * Profile URN of the post author
1158
+ */
1159
+ actorUrn: string | null;
1160
+ };
1161
+
898
1162
  /**
899
1163
  * Profile contact data
900
1164
  */
@@ -943,6 +1207,10 @@ export type VisitLinkedInProfileResponse = {
943
1207
  * Last 5 posts from the profile (only present when includePosts is true)
944
1208
  */
945
1209
  lastPosts?: Array<VisitLinkedInProfileLastPost> | undefined;
1210
+ /**
1211
+ * Last 5 posts the profile recently commented on (only present when includeComments is true). Contains targetPostText and targetPostAuthor for engagement context.
1212
+ */
1213
+ lastComments?: Array<LastComment> | undefined;
946
1214
  /**
947
1215
  * true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
948
1216
  */
@@ -1914,242 +2182,120 @@ export type SearchLinkedInJobsExperienceLevel = ClosedEnum<
1914
2182
  typeof SearchLinkedInJobsExperienceLevel
1915
2183
  >;
1916
2184
 
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
- */
2185
+ /** @internal */
2186
+ export type CollectLinkedInLikesRequest$Outbound = {
2187
+ postUrl: string;
1962
2188
  start?: number | undefined;
1963
- /**
1964
- * Results per page (default 10, max 50).
1965
- */
1966
2189
  count?: number | undefined;
1967
2190
  };
1968
2191
 
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>;
2192
+ /** @internal */
2193
+ export const CollectLinkedInLikesRequest$outboundSchema: z.ZodMiniType<
2194
+ CollectLinkedInLikesRequest$Outbound,
2195
+ CollectLinkedInLikesRequest
2196
+ > = z.object({
2197
+ postUrl: z.string(),
2198
+ start: z.optional(z.int()),
2199
+ count: z.optional(z.int()),
2200
+ });
1980
2201
 
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
- >;
2202
+ export function collectLinkedInLikesRequestToJSON(
2203
+ collectLinkedInLikesRequest: CollectLinkedInLikesRequest,
2204
+ ): string {
2205
+ return JSON.stringify(
2206
+ CollectLinkedInLikesRequest$outboundSchema.parse(
2207
+ collectLinkedInLikesRequest,
2208
+ ),
2209
+ );
2210
+ }
2087
2211
 
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
- >;
2212
+ /** @internal */
2213
+ export const CollectLinkedInLikesServiceUnavailableDetails$inboundSchema:
2214
+ z.ZodMiniType<CollectLinkedInLikesServiceUnavailableDetails, unknown> =
2215
+ smartUnion([types.string(), z.array(types.string())]);
2097
2216
 
2098
- export type SearchLinkedInByUrlCurrentPosition = {
2099
- company: string | null;
2100
- role: string | null;
2101
- };
2217
+ export function collectLinkedInLikesServiceUnavailableDetailsFromJSON(
2218
+ jsonString: string,
2219
+ ): SafeParseResult<
2220
+ CollectLinkedInLikesServiceUnavailableDetails,
2221
+ SDKValidationError
2222
+ > {
2223
+ return safeParse(
2224
+ jsonString,
2225
+ (x) =>
2226
+ CollectLinkedInLikesServiceUnavailableDetails$inboundSchema.parse(
2227
+ JSON.parse(x),
2228
+ ),
2229
+ `Failed to parse 'CollectLinkedInLikesServiceUnavailableDetails' from JSON`,
2230
+ );
2231
+ }
2102
2232
 
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
- };
2233
+ /** @internal */
2234
+ export const CollectLinkedInLikesServiceUnavailableError$inboundSchema:
2235
+ z.ZodMiniType<CollectLinkedInLikesServiceUnavailableError, unknown> = z
2236
+ .object({
2237
+ code: types.string(),
2238
+ message: types.string(),
2239
+ docs: types.optional(types.string()),
2240
+ details: types.optional(
2241
+ smartUnion([types.string(), z.array(types.string())]),
2242
+ ),
2243
+ });
2121
2244
 
2122
- export const SearchLinkedInByUrlTypePost = {
2123
- Post: "POST",
2124
- } as const;
2125
- export type SearchLinkedInByUrlTypePost = ClosedEnum<
2126
- typeof SearchLinkedInByUrlTypePost
2127
- >;
2245
+ export function collectLinkedInLikesServiceUnavailableErrorFromJSON(
2246
+ jsonString: string,
2247
+ ): SafeParseResult<
2248
+ CollectLinkedInLikesServiceUnavailableError,
2249
+ SDKValidationError
2250
+ > {
2251
+ return safeParse(
2252
+ jsonString,
2253
+ (x) =>
2254
+ CollectLinkedInLikesServiceUnavailableError$inboundSchema.parse(
2255
+ JSON.parse(x),
2256
+ ),
2257
+ `Failed to parse 'CollectLinkedInLikesServiceUnavailableError' from JSON`,
2258
+ );
2259
+ }
2128
2260
 
2129
2261
  /** @internal */
2130
- export type CollectLinkedInLikesRequest$Outbound = {
2131
- postUrl: string;
2132
- start?: number | undefined;
2133
- count?: number | undefined;
2134
- };
2262
+ export const CollectLinkedInLikesBadGatewayDetails$inboundSchema: z.ZodMiniType<
2263
+ CollectLinkedInLikesBadGatewayDetails,
2264
+ unknown
2265
+ > = smartUnion([types.string(), z.array(types.string())]);
2266
+
2267
+ export function collectLinkedInLikesBadGatewayDetailsFromJSON(
2268
+ jsonString: string,
2269
+ ): SafeParseResult<CollectLinkedInLikesBadGatewayDetails, SDKValidationError> {
2270
+ return safeParse(
2271
+ jsonString,
2272
+ (x) =>
2273
+ CollectLinkedInLikesBadGatewayDetails$inboundSchema.parse(JSON.parse(x)),
2274
+ `Failed to parse 'CollectLinkedInLikesBadGatewayDetails' from JSON`,
2275
+ );
2276
+ }
2135
2277
 
2136
2278
  /** @internal */
2137
- export const CollectLinkedInLikesRequest$outboundSchema: z.ZodMiniType<
2138
- CollectLinkedInLikesRequest$Outbound,
2139
- CollectLinkedInLikesRequest
2279
+ export const CollectLinkedInLikesBadGatewayError$inboundSchema: z.ZodMiniType<
2280
+ CollectLinkedInLikesBadGatewayError,
2281
+ unknown
2140
2282
  > = z.object({
2141
- postUrl: z.string(),
2142
- start: z.optional(z.int()),
2143
- count: z.optional(z.int()),
2283
+ code: types.string(),
2284
+ message: types.string(),
2285
+ docs: types.optional(types.string()),
2286
+ details: types.optional(
2287
+ smartUnion([types.string(), z.array(types.string())]),
2288
+ ),
2144
2289
  });
2145
2290
 
2146
- export function collectLinkedInLikesRequestToJSON(
2147
- collectLinkedInLikesRequest: CollectLinkedInLikesRequest,
2148
- ): string {
2149
- return JSON.stringify(
2150
- CollectLinkedInLikesRequest$outboundSchema.parse(
2151
- collectLinkedInLikesRequest,
2152
- ),
2291
+ export function collectLinkedInLikesBadGatewayErrorFromJSON(
2292
+ jsonString: string,
2293
+ ): SafeParseResult<CollectLinkedInLikesBadGatewayError, SDKValidationError> {
2294
+ return safeParse(
2295
+ jsonString,
2296
+ (x) =>
2297
+ CollectLinkedInLikesBadGatewayError$inboundSchema.parse(JSON.parse(x)),
2298
+ `Failed to parse 'CollectLinkedInLikesBadGatewayError' from JSON`,
2153
2299
  );
2154
2300
  }
2155
2301
 
@@ -2590,6 +2736,7 @@ export const CollectLinkedInLikesProfile$inboundSchema: z.ZodMiniType<
2590
2736
  publicIdentifier: types.nullable(types.string()),
2591
2737
  profileUrn: types.nullable(types.string()),
2592
2738
  type: CollectLinkedInLikesType$inboundSchema,
2739
+ reactionType: types.optional(types.string()),
2593
2740
  });
2594
2741
 
2595
2742
  export function collectLinkedInLikesProfileFromJSON(
@@ -2707,7 +2854,8 @@ export const CollectLinkedInCommentsProfile$inboundSchema: z.ZodMiniType<
2707
2854
  commentHash: types.optional(types.string()),
2708
2855
  isPostAuthor: types.optional(types.boolean()),
2709
2856
  repliesCount: types.optional(types.number()),
2710
- hasReplyFromPostAuthor: types.optional(types.boolean()),
2857
+ hasReplyFromPostAuthor: z.optional(z.nullable(types.boolean())),
2858
+ parentCommentUrn: types.optional(types.string()),
2711
2859
  postUrn: types.optional(types.string()),
2712
2860
  postHash: types.optional(types.string()),
2713
2861
  actionsCompleted: types.optional(
@@ -2999,14 +3147,92 @@ export function collectSavedLinkedInPostsRequestToJSON(
2999
3147
  );
3000
3148
  }
3001
3149
 
3150
+ /** @internal */
3151
+ export const CollectSavedLinkedInPostsAuthor$inboundSchema: z.ZodMiniType<
3152
+ CollectSavedLinkedInPostsAuthor,
3153
+ unknown
3154
+ > = z.object({
3155
+ name: types.string(),
3156
+ profileUrl: types.nullable(types.string()),
3157
+ publicIdentifier: types.nullable(types.string()),
3158
+ profileUrn: types.nullable(types.string()),
3159
+ });
3160
+
3161
+ export function collectSavedLinkedInPostsAuthorFromJSON(
3162
+ jsonString: string,
3163
+ ): SafeParseResult<CollectSavedLinkedInPostsAuthor, SDKValidationError> {
3164
+ return safeParse(
3165
+ jsonString,
3166
+ (x) => CollectSavedLinkedInPostsAuthor$inboundSchema.parse(JSON.parse(x)),
3167
+ `Failed to parse 'CollectSavedLinkedInPostsAuthor' from JSON`,
3168
+ );
3169
+ }
3170
+
3171
+ /** @internal */
3172
+ export const CollectSavedLinkedInPostsType$inboundSchema: z.ZodMiniType<
3173
+ CollectSavedLinkedInPostsType,
3174
+ unknown
3175
+ > = openEnums.inboundSchema(CollectSavedLinkedInPostsType);
3176
+
3177
+ /** @internal */
3178
+ export const CollectSavedLinkedInPostsMedia$inboundSchema: z.ZodMiniType<
3179
+ CollectSavedLinkedInPostsMedia,
3180
+ unknown
3181
+ > = z.object({
3182
+ type: CollectSavedLinkedInPostsType$inboundSchema,
3183
+ urls: z.array(types.string()),
3184
+ title: types.optional(types.string()),
3185
+ thumbnailUrl: types.optional(types.string()),
3186
+ });
3187
+
3188
+ export function collectSavedLinkedInPostsMediaFromJSON(
3189
+ jsonString: string,
3190
+ ): SafeParseResult<CollectSavedLinkedInPostsMedia, SDKValidationError> {
3191
+ return safeParse(
3192
+ jsonString,
3193
+ (x) => CollectSavedLinkedInPostsMedia$inboundSchema.parse(JSON.parse(x)),
3194
+ `Failed to parse 'CollectSavedLinkedInPostsMedia' from JSON`,
3195
+ );
3196
+ }
3197
+
3198
+ /** @internal */
3199
+ export const CollectSavedLinkedInPostsPost$inboundSchema: z.ZodMiniType<
3200
+ CollectSavedLinkedInPostsPost,
3201
+ unknown
3202
+ > = z.object({
3203
+ postUrl: types.string(),
3204
+ postUrn: types.string(),
3205
+ postId: types.string(),
3206
+ text: types.string(),
3207
+ date: types.number(),
3208
+ likesCount: types.number(),
3209
+ commentsCount: types.number(),
3210
+ sharesCount: types.number(),
3211
+ author: z.lazy(() => CollectSavedLinkedInPostsAuthor$inboundSchema),
3212
+ media: types.optional(
3213
+ z.lazy(() => CollectSavedLinkedInPostsMedia$inboundSchema),
3214
+ ),
3215
+ });
3216
+
3217
+ export function collectSavedLinkedInPostsPostFromJSON(
3218
+ jsonString: string,
3219
+ ): SafeParseResult<CollectSavedLinkedInPostsPost, SDKValidationError> {
3220
+ return safeParse(
3221
+ jsonString,
3222
+ (x) => CollectSavedLinkedInPostsPost$inboundSchema.parse(JSON.parse(x)),
3223
+ `Failed to parse 'CollectSavedLinkedInPostsPost' from JSON`,
3224
+ );
3225
+ }
3226
+
3002
3227
  /** @internal */
3003
3228
  export const CollectSavedLinkedInPostsResponse$inboundSchema: z.ZodMiniType<
3004
3229
  CollectSavedLinkedInPostsResponse,
3005
3230
  unknown
3006
3231
  > = z.object({
3007
3232
  success: types.literal(true),
3008
- posts: z.array(z.any()),
3233
+ posts: z.array(z.lazy(() => CollectSavedLinkedInPostsPost$inboundSchema)),
3009
3234
  total: types.nullable(types.number()),
3235
+ hasMore: types.boolean(),
3010
3236
  creditsUsed: types.number(),
3011
3237
  retryAfter: types.number(),
3012
3238
  });
@@ -3038,13 +3264,89 @@ export const CollectLinkedInHashtagPostsRequest$outboundSchema: z.ZodMiniType<
3038
3264
  count: z._default(z.int(), 20),
3039
3265
  });
3040
3266
 
3041
- export function collectLinkedInHashtagPostsRequestToJSON(
3042
- collectLinkedInHashtagPostsRequest: CollectLinkedInHashtagPostsRequest,
3043
- ): string {
3044
- return JSON.stringify(
3045
- CollectLinkedInHashtagPostsRequest$outboundSchema.parse(
3046
- collectLinkedInHashtagPostsRequest,
3047
- ),
3267
+ export function collectLinkedInHashtagPostsRequestToJSON(
3268
+ collectLinkedInHashtagPostsRequest: CollectLinkedInHashtagPostsRequest,
3269
+ ): string {
3270
+ return JSON.stringify(
3271
+ CollectLinkedInHashtagPostsRequest$outboundSchema.parse(
3272
+ collectLinkedInHashtagPostsRequest,
3273
+ ),
3274
+ );
3275
+ }
3276
+
3277
+ /** @internal */
3278
+ export const CollectLinkedInHashtagPostsAuthor$inboundSchema: z.ZodMiniType<
3279
+ CollectLinkedInHashtagPostsAuthor,
3280
+ unknown
3281
+ > = z.object({
3282
+ name: types.string(),
3283
+ profileUrl: types.nullable(types.string()),
3284
+ publicIdentifier: types.nullable(types.string()),
3285
+ profileUrn: types.nullable(types.string()),
3286
+ });
3287
+
3288
+ export function collectLinkedInHashtagPostsAuthorFromJSON(
3289
+ jsonString: string,
3290
+ ): SafeParseResult<CollectLinkedInHashtagPostsAuthor, SDKValidationError> {
3291
+ return safeParse(
3292
+ jsonString,
3293
+ (x) => CollectLinkedInHashtagPostsAuthor$inboundSchema.parse(JSON.parse(x)),
3294
+ `Failed to parse 'CollectLinkedInHashtagPostsAuthor' from JSON`,
3295
+ );
3296
+ }
3297
+
3298
+ /** @internal */
3299
+ export const CollectLinkedInHashtagPostsType$inboundSchema: z.ZodMiniType<
3300
+ CollectLinkedInHashtagPostsType,
3301
+ unknown
3302
+ > = openEnums.inboundSchema(CollectLinkedInHashtagPostsType);
3303
+
3304
+ /** @internal */
3305
+ export const CollectLinkedInHashtagPostsMedia$inboundSchema: z.ZodMiniType<
3306
+ CollectLinkedInHashtagPostsMedia,
3307
+ unknown
3308
+ > = z.object({
3309
+ type: CollectLinkedInHashtagPostsType$inboundSchema,
3310
+ urls: z.array(types.string()),
3311
+ title: types.optional(types.string()),
3312
+ thumbnailUrl: types.optional(types.string()),
3313
+ });
3314
+
3315
+ export function collectLinkedInHashtagPostsMediaFromJSON(
3316
+ jsonString: string,
3317
+ ): SafeParseResult<CollectLinkedInHashtagPostsMedia, SDKValidationError> {
3318
+ return safeParse(
3319
+ jsonString,
3320
+ (x) => CollectLinkedInHashtagPostsMedia$inboundSchema.parse(JSON.parse(x)),
3321
+ `Failed to parse 'CollectLinkedInHashtagPostsMedia' from JSON`,
3322
+ );
3323
+ }
3324
+
3325
+ /** @internal */
3326
+ export const CollectLinkedInHashtagPostsPost$inboundSchema: z.ZodMiniType<
3327
+ CollectLinkedInHashtagPostsPost,
3328
+ unknown
3329
+ > = z.object({
3330
+ postUrl: types.string(),
3331
+ postUrn: types.string(),
3332
+ text: types.string(),
3333
+ date: types.number(),
3334
+ likesCount: types.number(),
3335
+ commentsCount: types.number(),
3336
+ sharesCount: types.number(),
3337
+ author: z.lazy(() => CollectLinkedInHashtagPostsAuthor$inboundSchema),
3338
+ media: types.optional(
3339
+ z.lazy(() => CollectLinkedInHashtagPostsMedia$inboundSchema),
3340
+ ),
3341
+ });
3342
+
3343
+ export function collectLinkedInHashtagPostsPostFromJSON(
3344
+ jsonString: string,
3345
+ ): SafeParseResult<CollectLinkedInHashtagPostsPost, SDKValidationError> {
3346
+ return safeParse(
3347
+ jsonString,
3348
+ (x) => CollectLinkedInHashtagPostsPost$inboundSchema.parse(JSON.parse(x)),
3349
+ `Failed to parse 'CollectLinkedInHashtagPostsPost' from JSON`,
3048
3350
  );
3049
3351
  }
3050
3352
 
@@ -3054,7 +3356,9 @@ export const CollectLinkedInHashtagPostsResponse$inboundSchema: z.ZodMiniType<
3054
3356
  unknown
3055
3357
  > = z.object({
3056
3358
  success: types.literal(true),
3057
- posts: z.array(z.any()),
3359
+ posts: z.array(z.lazy(() => CollectLinkedInHashtagPostsPost$inboundSchema)),
3360
+ total: types.number(),
3361
+ hasMore: types.boolean(),
3058
3362
  creditsUsed: types.number(),
3059
3363
  retryAfter: types.number(),
3060
3364
  });
@@ -3145,7 +3449,8 @@ export const Reply$inboundSchema: z.ZodMiniType<Reply, unknown> = z.object({
3145
3449
  commentHash: types.optional(types.string()),
3146
3450
  isPostAuthor: types.optional(types.boolean()),
3147
3451
  repliesCount: types.optional(types.number()),
3148
- hasReplyFromPostAuthor: types.optional(types.boolean()),
3452
+ hasReplyFromPostAuthor: z.optional(z.nullable(types.boolean())),
3453
+ parentCommentUrn: types.optional(types.string()),
3149
3454
  postUrn: types.optional(types.string()),
3150
3455
  postHash: types.optional(types.string()),
3151
3456
  actionsCompleted: types.optional(
@@ -3220,13 +3525,73 @@ export function getLinkedInFeedRequestToJSON(
3220
3525
  );
3221
3526
  }
3222
3527
 
3528
+ /** @internal */
3529
+ export const GetLinkedInFeedType$inboundSchema: z.ZodMiniType<
3530
+ GetLinkedInFeedType,
3531
+ unknown
3532
+ > = openEnums.inboundSchema(GetLinkedInFeedType);
3533
+
3534
+ /** @internal */
3535
+ export const GetLinkedInFeedMediaType$inboundSchema: z.ZodMiniType<
3536
+ GetLinkedInFeedMediaType,
3537
+ unknown
3538
+ > = openEnums.inboundSchema(GetLinkedInFeedMediaType);
3539
+
3540
+ /** @internal */
3541
+ export const GetLinkedInFeedMedia$inboundSchema: z.ZodMiniType<
3542
+ GetLinkedInFeedMedia,
3543
+ unknown
3544
+ > = z.object({
3545
+ type: GetLinkedInFeedMediaType$inboundSchema,
3546
+ urls: z.array(types.string()),
3547
+ title: types.optional(types.string()),
3548
+ thumbnailUrl: types.optional(types.string()),
3549
+ });
3550
+
3551
+ export function getLinkedInFeedMediaFromJSON(
3552
+ jsonString: string,
3553
+ ): SafeParseResult<GetLinkedInFeedMedia, SDKValidationError> {
3554
+ return safeParse(
3555
+ jsonString,
3556
+ (x) => GetLinkedInFeedMedia$inboundSchema.parse(JSON.parse(x)),
3557
+ `Failed to parse 'GetLinkedInFeedMedia' from JSON`,
3558
+ );
3559
+ }
3560
+
3561
+ /** @internal */
3562
+ export const GetLinkedInFeedPost$inboundSchema: z.ZodMiniType<
3563
+ GetLinkedInFeedPost,
3564
+ unknown
3565
+ > = z.object({
3566
+ postUrl: types.string(),
3567
+ text: types.string(),
3568
+ date: types.number(),
3569
+ likesCount: types.number(),
3570
+ commentsCount: types.number(),
3571
+ sharesCount: types.number(),
3572
+ postUrn: types.string(),
3573
+ postId: types.string(),
3574
+ type: GetLinkedInFeedType$inboundSchema,
3575
+ media: types.optional(z.lazy(() => GetLinkedInFeedMedia$inboundSchema)),
3576
+ });
3577
+
3578
+ export function getLinkedInFeedPostFromJSON(
3579
+ jsonString: string,
3580
+ ): SafeParseResult<GetLinkedInFeedPost, SDKValidationError> {
3581
+ return safeParse(
3582
+ jsonString,
3583
+ (x) => GetLinkedInFeedPost$inboundSchema.parse(JSON.parse(x)),
3584
+ `Failed to parse 'GetLinkedInFeedPost' from JSON`,
3585
+ );
3586
+ }
3587
+
3223
3588
  /** @internal */
3224
3589
  export const GetLinkedInFeedResponse$inboundSchema: z.ZodMiniType<
3225
3590
  GetLinkedInFeedResponse,
3226
3591
  unknown
3227
3592
  > = z.object({
3228
3593
  success: types.literal(true),
3229
- posts: z.array(z.any()),
3594
+ posts: z.array(z.lazy(() => GetLinkedInFeedPost$inboundSchema)),
3230
3595
  creditsUsed: types.number(),
3231
3596
  retryAfter: types.number(),
3232
3597
  });
@@ -3363,6 +3728,7 @@ export type VisitLinkedInProfileRequest$Outbound = {
3363
3728
  campaignSlug?: string | undefined;
3364
3729
  actionSlug?: string | undefined;
3365
3730
  includePosts?: boolean | undefined;
3731
+ includeComments?: boolean | undefined;
3366
3732
  };
3367
3733
 
3368
3734
  /** @internal */
@@ -3374,6 +3740,7 @@ export const VisitLinkedInProfileRequest$outboundSchema: z.ZodMiniType<
3374
3740
  campaignSlug: z.optional(z.string()),
3375
3741
  actionSlug: z.optional(z.string()),
3376
3742
  includePosts: z.optional(z.boolean()),
3743
+ includeComments: z.optional(z.boolean()),
3377
3744
  });
3378
3745
 
3379
3746
  export function visitLinkedInProfileRequestToJSON(
@@ -3527,10 +3894,10 @@ export function visitLinkedInProfileEducationFromJSON(
3527
3894
  }
3528
3895
 
3529
3896
  /** @internal */
3530
- export const VisitLinkedInProfileType$inboundSchema: z.ZodMiniType<
3531
- VisitLinkedInProfileType,
3897
+ export const VisitLinkedInProfileLastPostType$inboundSchema: z.ZodMiniType<
3898
+ VisitLinkedInProfileLastPostType,
3532
3899
  unknown
3533
- > = openEnums.inboundSchema(VisitLinkedInProfileType);
3900
+ > = openEnums.inboundSchema(VisitLinkedInProfileLastPostType);
3534
3901
 
3535
3902
  /** @internal */
3536
3903
  export const VisitLinkedInProfileMediaType$inboundSchema: z.ZodMiniType<
@@ -3572,7 +3939,7 @@ export const VisitLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<
3572
3939
  sharesCount: types.number(),
3573
3940
  postUrn: types.string(),
3574
3941
  postId: types.string(),
3575
- type: VisitLinkedInProfileType$inboundSchema,
3942
+ type: VisitLinkedInProfileLastPostType$inboundSchema,
3576
3943
  media: types.optional(z.lazy(() => VisitLinkedInProfileMedia$inboundSchema)),
3577
3944
  });
3578
3945
 
@@ -3586,6 +3953,37 @@ export function visitLinkedInProfileLastPostFromJSON(
3586
3953
  );
3587
3954
  }
3588
3955
 
3956
+ /** @internal */
3957
+ export const LastCommentType$inboundSchema: z.ZodMiniType<
3958
+ LastCommentType,
3959
+ unknown
3960
+ > = openEnums.inboundSchema(LastCommentType);
3961
+
3962
+ /** @internal */
3963
+ export const LastComment$inboundSchema: z.ZodMiniType<LastComment, unknown> = z
3964
+ .object({
3965
+ type: LastCommentType$inboundSchema,
3966
+ activityUrn: types.string(),
3967
+ text: types.nullable(types.string()),
3968
+ reactionType: types.nullable(types.string()),
3969
+ targetPostUrn: types.nullable(types.string()),
3970
+ targetPostText: types.nullable(types.string()),
3971
+ targetPostAuthor: types.nullable(types.string()),
3972
+ timestamp: types.nullable(types.number()),
3973
+ actorName: types.nullable(types.string()),
3974
+ actorUrn: types.nullable(types.string()),
3975
+ });
3976
+
3977
+ export function lastCommentFromJSON(
3978
+ jsonString: string,
3979
+ ): SafeParseResult<LastComment, SDKValidationError> {
3980
+ return safeParse(
3981
+ jsonString,
3982
+ (x) => LastComment$inboundSchema.parse(JSON.parse(x)),
3983
+ `Failed to parse 'LastComment' from JSON`,
3984
+ );
3985
+ }
3986
+
3589
3987
  /** @internal */
3590
3988
  export const VisitLinkedInProfileResponse$inboundSchema: z.ZodMiniType<
3591
3989
  VisitLinkedInProfileResponse,
@@ -3614,6 +4012,9 @@ export const VisitLinkedInProfileResponse$inboundSchema: z.ZodMiniType<
3614
4012
  lastPosts: types.optional(
3615
4013
  z.array(z.lazy(() => VisitLinkedInProfileLastPost$inboundSchema)),
3616
4014
  ),
4015
+ lastComments: types.optional(
4016
+ z.array(z.lazy(() => LastComment$inboundSchema)),
4017
+ ),
3617
4018
  cached: types.boolean(),
3618
4019
  creditsUsed: types.number(),
3619
4020
  retryAfter: types.number(),
@@ -4607,291 +5008,3 @@ export const SearchLinkedInJobsJobType$outboundSchema: z.ZodMiniEnum<
4607
5008
  export const SearchLinkedInJobsExperienceLevel$outboundSchema: z.ZodMiniEnum<
4608
5009
  typeof SearchLinkedInJobsExperienceLevel
4609
5010
  > = 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);