bereach 0.2.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (468) hide show
  1. package/README.md +191 -66
  2. package/esm/funcs/{linkedin-actions-connect-profile.d.ts → actions-connect-profile.d.ts} +2 -2
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -0
  4. package/esm/funcs/{linkedin-actions-connect-profile.js → actions-connect-profile.js} +2 -2
  5. package/esm/funcs/actions-connect-profile.js.map +1 -0
  6. package/esm/funcs/actions-follow-company.d.ts +18 -0
  7. package/esm/funcs/{campaigns-sync-actions.d.ts.map → actions-follow-company.d.ts.map} +1 -1
  8. package/esm/funcs/actions-follow-company.js +95 -0
  9. package/esm/funcs/actions-follow-company.js.map +1 -0
  10. package/esm/funcs/{profile-get-linked-in-profile.d.ts → actions-list-sent-invitations.d.ts} +4 -4
  11. package/esm/funcs/{linkedin-actions-publish-post.d.ts.map → actions-list-sent-invitations.d.ts.map} +1 -1
  12. package/esm/funcs/actions-list-sent-invitations.js +95 -0
  13. package/esm/funcs/{linkedin-actions-publish-post.js.map → actions-list-sent-invitations.js.map} +1 -1
  14. package/esm/funcs/actions-send-message.d.ts +18 -0
  15. package/esm/funcs/actions-send-message.d.ts.map +1 -0
  16. package/esm/funcs/{linkedin-actions-send-message.js → actions-send-message.js} +3 -3
  17. package/esm/funcs/actions-send-message.js.map +1 -0
  18. package/esm/funcs/campaigns-sync.d.ts +18 -0
  19. package/esm/funcs/campaigns-sync.d.ts.map +1 -0
  20. package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +2 -2
  21. package/esm/funcs/campaigns-sync.js.map +1 -0
  22. package/esm/funcs/chat-archive.d.ts +18 -0
  23. package/esm/funcs/chat-archive.d.ts.map +1 -0
  24. package/esm/funcs/chat-archive.js +95 -0
  25. package/esm/funcs/chat-archive.js.map +1 -0
  26. package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
  27. package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
  28. package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +2 -2
  29. package/esm/funcs/chat-find-conversation.js.map +1 -0
  30. package/esm/funcs/chat-search-conversations.d.ts +18 -0
  31. package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
  32. package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +2 -2
  33. package/esm/funcs/chat-search-conversations.js.map +1 -0
  34. package/esm/funcs/chat-unreact.d.ts +18 -0
  35. package/esm/funcs/chat-unreact.d.ts.map +1 -0
  36. package/esm/funcs/chat-unreact.js +95 -0
  37. package/esm/funcs/chat-unreact.js.map +1 -0
  38. package/esm/funcs/company-pages-get-analytics.d.ts +18 -0
  39. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
  40. package/esm/funcs/company-pages-get-analytics.js +95 -0
  41. package/esm/funcs/company-pages-get-analytics.js.map +1 -0
  42. package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
  43. package/esm/funcs/{linkedin-actions-send-message.d.ts.map → company-pages-get-permissions.d.ts.map} +1 -1
  44. package/esm/funcs/company-pages-get-permissions.js +95 -0
  45. package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
  46. package/esm/funcs/{campaigns-sync-actions.d.ts → company-pages-get-posts.d.ts} +4 -4
  47. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
  48. package/esm/funcs/company-pages-get-posts.js +95 -0
  49. package/esm/funcs/company-pages-get-posts.js.map +1 -0
  50. package/esm/funcs/company-pages-list.d.ts +18 -0
  51. package/esm/funcs/company-pages-list.d.ts.map +1 -0
  52. package/esm/funcs/company-pages-list.js +84 -0
  53. package/esm/funcs/company-pages-list.js.map +1 -0
  54. package/esm/funcs/contacts-upsert.d.ts +17 -0
  55. package/esm/funcs/contacts-upsert.d.ts.map +1 -0
  56. package/esm/funcs/contacts-upsert.js +79 -0
  57. package/esm/funcs/contacts-upsert.js.map +1 -0
  58. package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
  59. package/esm/funcs/{linkedin-actions-connect-profile.d.ts.map → linked-in-actions-create-comment.d.ts.map} +1 -1
  60. package/esm/funcs/linked-in-actions-create-comment.js +95 -0
  61. package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
  62. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
  63. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
  64. package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
  65. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
  66. package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
  67. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
  68. package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +2 -2
  69. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
  70. package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
  71. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
  72. package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +3 -3
  73. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
  74. package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
  75. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
  76. package/esm/funcs/linked-in-actions-save-post.js +95 -0
  77. package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
  78. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
  79. package/esm/funcs/{linkedin-chat-search-conversations.d.ts.map → linked-in-actions-unfollow-profile.d.ts.map} +1 -1
  80. package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
  81. package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
  82. package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
  83. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
  84. package/esm/funcs/linked-in-chat-list-starred.js +97 -0
  85. package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
  86. package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
  87. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
  88. package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
  89. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
  90. package/esm/funcs/linked-in-chat-star.d.ts +18 -0
  91. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
  92. package/esm/funcs/linked-in-chat-star.js +95 -0
  93. package/esm/funcs/linked-in-chat-star.js.map +1 -0
  94. package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
  95. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
  96. package/esm/funcs/linked-in-chat-unarchive.js +95 -0
  97. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
  98. package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
  99. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
  100. package/esm/funcs/linked-in-chat-unstar.js +95 -0
  101. package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
  102. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linked-in-scrapers-collect-comment-replies.d.ts} +2 -2
  103. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
  104. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +2 -2
  105. package/esm/funcs/{campaigns-sync-actions.js.map → linked-in-scrapers-collect-comment-replies.js.map} +1 -1
  106. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
  107. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
  108. package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
  109. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
  110. package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
  111. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
  112. package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +2 -2
  113. package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
  114. package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
  115. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
  116. package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +2 -2
  117. package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
  118. package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
  119. package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
  120. package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +2 -2
  121. package/esm/funcs/linked-in-search-search.js.map +1 -0
  122. package/esm/funcs/{linkedin-actions-send-message.d.ts → linkedin-actions-edit-comment.d.ts} +4 -4
  123. package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
  124. package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
  125. package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
  126. package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
  127. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
  128. package/esm/funcs/linkedin-actions-edit-post.js +95 -0
  129. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
  130. package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
  131. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
  132. package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
  133. package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
  134. package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
  135. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
  136. package/esm/funcs/linkedin-actions-like-post.js +95 -0
  137. package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
  138. package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
  139. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
  140. package/esm/funcs/linkedin-actions-repost-post.js +95 -0
  141. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
  142. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
  143. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
  144. package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
  145. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
  146. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
  147. package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts.map → linkedin-actions-unlike-comment.d.ts.map} +1 -1
  148. package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
  149. package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
  150. package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
  151. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
  152. package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
  153. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
  154. package/esm/funcs/linkedin-actions-unsave-post.d.ts +18 -0
  155. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
  156. package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
  157. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
  158. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
  159. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
  160. package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
  161. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
  162. package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → linkedin-chat-get-unread-count.d.ts} +4 -4
  163. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
  164. package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
  165. package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
  166. package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
  167. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
  168. package/esm/funcs/linkedin-chat-list-archived.js +97 -0
  169. package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
  170. package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
  171. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
  172. package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +2 -2
  173. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
  174. package/esm/funcs/{linkedin-chat-search-conversations.d.ts → linkedin-chat-mark-all-read.d.ts} +4 -4
  175. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
  176. package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
  177. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
  178. package/esm/funcs/linkedin-chat-react.d.ts +18 -0
  179. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
  180. package/esm/funcs/linkedin-chat-react.js +95 -0
  181. package/esm/funcs/linkedin-chat-react.js.map +1 -0
  182. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
  183. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
  184. package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
  185. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
  186. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
  187. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
  188. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
  189. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
  190. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
  191. package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
  192. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
  193. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
  194. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
  195. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
  196. package/esm/funcs/profile-get-credits.d.ts +1 -1
  197. package/esm/funcs/profile-get-credits.js +1 -1
  198. package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
  199. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
  200. package/esm/funcs/profile-get-follower-analytics.js +85 -0
  201. package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
  202. package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
  203. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
  204. package/esm/funcs/profile-get-post-analytics.js +95 -0
  205. package/esm/funcs/profile-get-post-analytics.js.map +1 -0
  206. package/esm/funcs/profile-get-profile-views.d.ts +18 -0
  207. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
  208. package/esm/funcs/profile-get-profile-views.js +85 -0
  209. package/esm/funcs/profile-get-profile-views.js.map +1 -0
  210. package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
  211. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
  212. package/esm/funcs/profile-get-search-appearances.js +85 -0
  213. package/esm/funcs/profile-get-search-appearances.js.map +1 -0
  214. package/esm/funcs/profile-get.d.ts +18 -0
  215. package/esm/funcs/profile-get.d.ts.map +1 -0
  216. package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +2 -2
  217. package/esm/funcs/profile-get.js.map +1 -0
  218. package/esm/funcs/profile-list-accounts.d.ts +18 -0
  219. package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
  220. package/esm/funcs/profile-list-accounts.js +84 -0
  221. package/esm/funcs/profile-list-accounts.js.map +1 -0
  222. package/esm/funcs/profile-update-account.d.ts +18 -0
  223. package/esm/funcs/profile-update-account.d.ts.map +1 -0
  224. package/esm/funcs/profile-update-account.js +95 -0
  225. package/esm/funcs/profile-update-account.js.map +1 -0
  226. package/esm/funcs/sales-nav-search-people.d.ts +53 -0
  227. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
  228. package/esm/funcs/sales-nav-search-people.js +130 -0
  229. package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
  230. package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
  231. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
  232. package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
  233. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
  234. package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
  235. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
  236. package/esm/funcs/sales-navigator-search-search.js +116 -0
  237. package/esm/funcs/sales-navigator-search-search.js.map +1 -0
  238. package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
  239. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
  240. package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +2 -2
  241. package/esm/funcs/scrapers-collect-posts.js.map +1 -0
  242. package/esm/funcs/scrapers-visit-profile.d.ts +18 -0
  243. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
  244. package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +2 -2
  245. package/esm/funcs/scrapers-visit-profile.js.map +1 -0
  246. package/esm/lib/config.d.ts +4 -4
  247. package/esm/lib/config.js +4 -4
  248. package/esm/models/errors/collect-linked-in-likes.d.ts +18 -18
  249. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  250. package/esm/models/errors/collect-linked-in-likes.js +9 -9
  251. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  252. package/esm/models/operations/get-campaign-stats-response.d.ts +800 -856
  253. package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -1
  254. package/esm/models/operations/get-campaign-stats-response.js +503 -515
  255. package/esm/models/operations/get-campaign-stats-response.js.map +1 -1
  256. package/esm/models/operations/index.d.ts +3 -1
  257. package/esm/models/operations/index.d.ts.map +1 -1
  258. package/esm/models/operations/index.js +3 -1
  259. package/esm/models/operations/index.js.map +1 -1
  260. package/esm/models/operations/scraping-weekly.d.ts +2946 -0
  261. package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
  262. package/esm/models/operations/scraping-weekly.js +1594 -0
  263. package/esm/models/operations/scraping-weekly.js.map +1 -0
  264. package/esm/models/operations/{send-linked-in-message-response.d.ts → search-linked-in-by-url-type-post.d.ts} +825 -766
  265. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
  266. package/esm/models/operations/{send-linked-in-message-response.js → search-linked-in-by-url-type-post.js} +410 -418
  267. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
  268. package/esm/models/operations/upsert-contacts.d.ts +182 -0
  269. package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
  270. package/esm/models/operations/upsert-contacts.js +116 -0
  271. package/esm/models/operations/upsert-contacts.js.map +1 -0
  272. package/esm/sdk/actions.d.ts +33 -0
  273. package/esm/sdk/actions.d.ts.map +1 -0
  274. package/esm/sdk/actions.js +48 -0
  275. package/esm/sdk/actions.js.map +1 -0
  276. package/esm/sdk/campaigns.d.ts +1 -1
  277. package/esm/sdk/campaigns.d.ts.map +1 -1
  278. package/esm/sdk/campaigns.js +3 -3
  279. package/esm/sdk/campaigns.js.map +1 -1
  280. package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
  281. package/esm/sdk/chat.d.ts.map +1 -0
  282. package/esm/sdk/chat.js +55 -0
  283. package/esm/sdk/chat.js.map +1 -0
  284. package/esm/sdk/company-pages.d.ts +33 -0
  285. package/esm/sdk/company-pages.d.ts.map +1 -0
  286. package/esm/sdk/company-pages.js +48 -0
  287. package/esm/sdk/company-pages.js.map +1 -0
  288. package/esm/sdk/contacts.d.ts +12 -0
  289. package/esm/sdk/contacts.d.ts.map +1 -0
  290. package/esm/sdk/contacts.js +18 -0
  291. package/esm/sdk/contacts.js.map +1 -0
  292. package/esm/sdk/linked-in-actions-2.d.ts +47 -0
  293. package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
  294. package/esm/sdk/linked-in-actions-2.js +68 -0
  295. package/esm/sdk/linked-in-actions-2.js.map +1 -0
  296. package/esm/sdk/linked-in-chat-2.d.ts +40 -0
  297. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
  298. package/esm/sdk/linked-in-chat-2.js +58 -0
  299. package/esm/sdk/linked-in-chat-2.js.map +1 -0
  300. package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
  301. package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
  302. package/esm/sdk/linked-in-scrapers-2.js +28 -0
  303. package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
  304. package/esm/sdk/linked-in-search-1.d.ts +149 -0
  305. package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
  306. package/esm/sdk/linked-in-search-1.js +161 -0
  307. package/esm/sdk/linked-in-search-1.js.map +1 -0
  308. package/esm/sdk/linkedin-actions-1.d.ts +96 -0
  309. package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
  310. package/esm/sdk/linkedin-actions-1.js +138 -0
  311. package/esm/sdk/linkedin-actions-1.js.map +1 -0
  312. package/esm/sdk/linkedin-chat-1.d.ts +58 -0
  313. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
  314. package/esm/sdk/linkedin-chat-1.js +82 -0
  315. package/esm/sdk/linkedin-chat-1.js.map +1 -0
  316. package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
  317. package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
  318. package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
  319. package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
  320. package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
  321. package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
  322. package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
  323. package/esm/sdk/linkedin-search-2.js.map +1 -0
  324. package/esm/sdk/profile.d.ts +44 -2
  325. package/esm/sdk/profile.d.ts.map +1 -1
  326. package/esm/sdk/profile.js +64 -4
  327. package/esm/sdk/profile.js.map +1 -1
  328. package/esm/sdk/sales-nav.d.ts +47 -0
  329. package/esm/sdk/sales-nav.d.ts.map +1 -0
  330. package/esm/sdk/sales-nav.js +53 -0
  331. package/esm/sdk/sales-nav.js.map +1 -0
  332. package/esm/sdk/sales-navigator-search.d.ts +55 -0
  333. package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
  334. package/esm/sdk/sales-navigator-search.js +64 -0
  335. package/esm/sdk/sales-navigator-search.js.map +1 -0
  336. package/esm/sdk/scrapers.d.ts +19 -0
  337. package/esm/sdk/scrapers.d.ts.map +1 -0
  338. package/esm/sdk/scrapers.js +28 -0
  339. package/esm/sdk/scrapers.js.map +1 -0
  340. package/esm/sdk/sdk.d.ts +41 -8
  341. package/esm/sdk/sdk.d.ts.map +1 -1
  342. package/esm/sdk/sdk.js +63 -8
  343. package/esm/sdk/sdk.js.map +1 -1
  344. package/esm/types/discriminated-union.d.ts +25 -0
  345. package/esm/types/discriminated-union.d.ts.map +1 -0
  346. package/esm/types/discriminated-union.js +61 -0
  347. package/esm/types/discriminated-union.js.map +1 -0
  348. package/esm/types/smart-union.d.ts.map +1 -1
  349. package/esm/types/smart-union.js +2 -1
  350. package/esm/types/smart-union.js.map +1 -1
  351. package/jsr.json +1 -1
  352. package/package.json +1 -1
  353. package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +1 -1
  354. package/src/funcs/actions-follow-company.ts +215 -0
  355. package/src/funcs/actions-list-sent-invitations.ts +218 -0
  356. package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +2 -2
  357. package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +1 -1
  358. package/src/funcs/chat-archive.ts +215 -0
  359. package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +1 -1
  360. package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +1 -1
  361. package/src/funcs/chat-unreact.ts +215 -0
  362. package/src/funcs/company-pages-get-analytics.ts +215 -0
  363. package/src/funcs/company-pages-get-permissions.ts +218 -0
  364. package/src/funcs/company-pages-get-posts.ts +215 -0
  365. package/src/funcs/company-pages-list.ts +195 -0
  366. package/src/funcs/contacts-upsert.ts +161 -0
  367. package/src/funcs/linked-in-actions-create-comment.ts +215 -0
  368. package/src/funcs/linked-in-actions-decline-invitation.ts +218 -0
  369. package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +1 -1
  370. package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +2 -2
  371. package/src/funcs/linked-in-actions-save-post.ts +215 -0
  372. package/src/funcs/linked-in-actions-unfollow-profile.ts +215 -0
  373. package/src/funcs/linked-in-chat-list-starred.ts +220 -0
  374. package/src/funcs/linked-in-chat-mark-seen.ts +215 -0
  375. package/src/funcs/linked-in-chat-star.ts +215 -0
  376. package/src/funcs/linked-in-chat-unarchive.ts +215 -0
  377. package/src/funcs/linked-in-chat-unstar.ts +215 -0
  378. package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +1 -1
  379. package/src/funcs/linked-in-scrapers-get-feed.ts +220 -0
  380. package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +1 -1
  381. package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +1 -1
  382. package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +1 -1
  383. package/src/funcs/linkedin-actions-edit-comment.ts +215 -0
  384. package/src/funcs/linkedin-actions-edit-post.ts +215 -0
  385. package/src/funcs/linkedin-actions-follow-profile.ts +215 -0
  386. package/src/funcs/linkedin-actions-like-post.ts +215 -0
  387. package/src/funcs/linkedin-actions-repost-post.ts +215 -0
  388. package/src/funcs/linkedin-actions-unfollow-company.ts +215 -0
  389. package/src/funcs/linkedin-actions-unlike-comment.ts +215 -0
  390. package/src/funcs/linkedin-actions-unlike-post.ts +215 -0
  391. package/src/funcs/linkedin-actions-unsave-post.ts +215 -0
  392. package/src/funcs/linkedin-actions-withdraw-invitation.ts +218 -0
  393. package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
  394. package/src/funcs/linkedin-chat-list-archived.ts +220 -0
  395. package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +1 -1
  396. package/src/funcs/linkedin-chat-mark-all-read.ts +199 -0
  397. package/src/funcs/linkedin-chat-react.ts +214 -0
  398. package/src/funcs/linkedin-chat-send-typing-indicator.ts +215 -0
  399. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +218 -0
  400. package/src/funcs/linkedin-scrapers-collect-likes.ts +1 -1
  401. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +218 -0
  402. package/src/funcs/profile-get-credits.ts +1 -1
  403. package/src/funcs/profile-get-follower-analytics.ts +199 -0
  404. package/src/funcs/profile-get-post-analytics.ts +215 -0
  405. package/src/funcs/profile-get-profile-views.ts +199 -0
  406. package/src/funcs/profile-get-search-appearances.ts +199 -0
  407. package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +1 -1
  408. package/src/funcs/profile-list-accounts.ts +195 -0
  409. package/src/funcs/profile-update-account.ts +215 -0
  410. package/src/funcs/sales-nav-search-people.ts +250 -0
  411. package/src/funcs/sales-navigator-search-search-companies.ts +230 -0
  412. package/src/funcs/sales-navigator-search-search.ts +235 -0
  413. package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +1 -1
  414. package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +1 -1
  415. package/src/lib/config.ts +4 -4
  416. package/src/models/errors/collect-linked-in-likes.ts +27 -27
  417. package/src/models/operations/get-campaign-stats-response.ts +1616 -1584
  418. package/src/models/operations/index.ts +3 -1
  419. package/src/models/operations/scraping-weekly.ts +5707 -0
  420. package/src/models/operations/{send-linked-in-message-response.ts → search-linked-in-by-url-type-post.ts} +2086 -2093
  421. package/src/models/operations/upsert-contacts.ts +305 -0
  422. package/src/sdk/actions.ts +81 -0
  423. package/src/sdk/campaigns.ts +3 -3
  424. package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
  425. package/src/sdk/company-pages.ts +79 -0
  426. package/src/sdk/contacts.ts +27 -0
  427. package/src/sdk/linked-in-actions-2.ts +117 -0
  428. package/src/sdk/linked-in-chat-2.ts +99 -0
  429. package/src/sdk/linked-in-scrapers-2.ts +45 -0
  430. package/src/sdk/linked-in-search-1.ts +186 -0
  431. package/src/sdk/linkedin-actions-1.ts +243 -0
  432. package/src/sdk/linkedin-chat-1.ts +139 -0
  433. package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
  434. package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
  435. package/src/sdk/profile.ts +110 -4
  436. package/src/sdk/sales-nav.ts +62 -0
  437. package/src/sdk/sales-navigator-search.ts +81 -0
  438. package/src/sdk/scrapers.ts +45 -0
  439. package/src/sdk/sdk.ts +84 -16
  440. package/src/types/discriminated-union.ts +101 -0
  441. package/src/types/smart-union.ts +2 -1
  442. package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
  443. package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
  444. package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
  445. package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
  446. package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
  447. package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
  448. package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
  449. package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
  450. package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
  451. package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
  452. package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
  453. package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
  454. package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
  455. package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
  456. package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
  457. package/esm/sdk/linkedin-actions.d.ts +0 -54
  458. package/esm/sdk/linkedin-actions.d.ts.map +0 -1
  459. package/esm/sdk/linkedin-actions.js +0 -78
  460. package/esm/sdk/linkedin-actions.js.map +0 -1
  461. package/esm/sdk/linkedin-chat.d.ts.map +0 -1
  462. package/esm/sdk/linkedin-chat.js +0 -59
  463. package/esm/sdk/linkedin-chat.js.map +0 -1
  464. package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
  465. package/esm/sdk/linkedin-scrapers.js.map +0 -1
  466. package/esm/sdk/linkedin-search.d.ts.map +0 -1
  467. package/esm/sdk/linkedin-search.js.map +0 -1
  468. package/src/sdk/linkedin-actions.ts +0 -135
@@ -2,39 +2,60 @@ import * as z from "zod/v4-mini";
2
2
  import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
- export type ReplyToLinkedInCommentRequest = {
5
+ import { ConnectionRequest, GetMyLimitsMessage, ProfileVisit, ScrapingDaily, ScrapingWeekly } from "./scraping-weekly.js";
6
+ /**
7
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
8
+ */
9
+ export type Scraping = {
10
+ /**
11
+ * Daily usage counter (resets at midnight UTC)
12
+ */
13
+ daily: ScrapingDaily;
6
14
  /**
7
- * LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
15
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
8
16
  */
9
- commentUrn: string;
17
+ weekly: ScrapingWeekly | null;
10
18
  /**
11
- * Reply message text
19
+ * Minimum delay in seconds required between two consecutive actions of this type
12
20
  */
13
- message: string;
21
+ minIntervalSeconds: number;
14
22
  /**
15
- * Campaign identifier for deduplication. Dedup by commentUrn automatically.
23
+ * ISO 8601 timestamp of the next daily counter reset
16
24
  */
17
- campaignSlug?: string | undefined;
25
+ nextResetDaily: Date;
18
26
  /**
19
- * Deprecated. Use campaignSlug only.
20
- *
21
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
27
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
22
28
  */
23
- actionSlug?: string | undefined;
29
+ nextResetWeekly: Date | null;
24
30
  };
25
- /**
26
- * Reply sent successfully
27
- */
28
- export type ReplyToLinkedInCommentResponse = {
29
- success: boolean;
31
+ export type Limits = {
32
+ /**
33
+ * Limits for sending LinkedIn connection requests
34
+ */
35
+ connectionRequest: ConnectionRequest;
36
+ /**
37
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
38
+ */
39
+ message: GetMyLimitsMessage;
40
+ /**
41
+ * Limits for visiting LinkedIn profiles and company pages
42
+ */
43
+ profileVisit: ProfileVisit;
30
44
  /**
31
- * URN of the created reply comment
45
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
32
46
  */
33
- replyUrn?: string | undefined;
47
+ scraping: Scraping;
48
+ };
49
+ /**
50
+ * Rate limit status for all action types
51
+ */
52
+ export type GetMyLimitsResponse = {
53
+ success: true;
34
54
  /**
35
- * True if this action was already executed for the given campaignSlug + target.
55
+ * Workspace limit multiplier applied to all base limits (default 1.0)
36
56
  */
37
- duplicate?: boolean | undefined;
57
+ multiplier: number;
58
+ limits: Limits;
38
59
  /**
39
60
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
40
61
  */
@@ -44,54 +65,51 @@ export type ReplyToLinkedInCommentResponse = {
44
65
  */
45
66
  retryAfter: number;
46
67
  };
47
- /**
48
- * Reaction type (default: LIKE)
49
- */
50
- export declare const ReactionType: {
51
- readonly Like: "LIKE";
52
- readonly Love: "LOVE";
53
- readonly Celebrate: "CELEBRATE";
54
- readonly Support: "SUPPORT";
55
- readonly Funny: "FUNNY";
56
- readonly Insightful: "INSIGHTFUL";
57
- };
58
- /**
59
- * Reaction type (default: LIKE)
60
- */
61
- export type ReactionType = ClosedEnum<typeof ReactionType>;
62
- export type LikeLinkedInCommentRequest = {
68
+ export type Credits = {
69
+ /**
70
+ * Number of credits used in the current billing period
71
+ */
72
+ current: number;
63
73
  /**
64
- * LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
74
+ * Maximum credits available for the workspace, or null if unlimited
65
75
  */
66
- commentUrn: string;
76
+ limit: number | null;
67
77
  /**
68
- * Reaction type (default: LIKE)
78
+ * Credits remaining before hitting the limit, or null if unlimited
69
79
  */
70
- reactionType?: ReactionType | undefined;
80
+ remaining: number | null;
71
81
  /**
72
- * Campaign identifier for deduplication. Dedup by commentUrn automatically.
82
+ * Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
73
83
  */
74
- campaignSlug?: string | undefined;
84
+ percentage: number;
75
85
  /**
76
- * Deprecated. Use campaignSlug only.
77
- *
78
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
86
+ * Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
79
87
  */
80
- actionSlug?: string | undefined;
88
+ isUnlimited: boolean;
81
89
  };
82
90
  /**
83
- * Comment liked successfully
91
+ * Credit balance for the workspace
84
92
  */
85
- export type LikeLinkedInCommentResponse = {
86
- success: boolean;
93
+ export type GetMyCreditsResponse = {
94
+ success: true;
95
+ credits: Credits;
87
96
  /**
88
- * Resource key of the created reaction
97
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
89
98
  */
90
- resourceKey?: string | undefined;
99
+ creditsUsed: number;
91
100
  /**
92
- * True if this action was already executed for the given campaignSlug + target.
101
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
93
102
  */
94
- duplicate?: boolean | undefined;
103
+ retryAfter: number;
104
+ };
105
+ export type GetLinkedInProfileViewsRequest = {};
106
+ /**
107
+ * Profile viewers
108
+ */
109
+ export type GetLinkedInProfileViewsResponse = {
110
+ success: true;
111
+ views: Array<any>;
112
+ total: number;
95
113
  /**
96
114
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
97
115
  */
@@ -101,395 +119,261 @@ export type LikeLinkedInCommentResponse = {
101
119
  */
102
120
  retryAfter: number;
103
121
  };
122
+ export type GetLinkedInSearchAppearancesRequest = {};
104
123
  /**
105
- * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
106
- */
107
- export declare const Mode: {
108
- readonly Scheduled: "scheduled";
109
- readonly Instant: "instant";
110
- };
111
- /**
112
- * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
113
- */
114
- export type Mode = ClosedEnum<typeof Mode>;
115
- /**
116
- * Post visibility
117
- */
118
- export declare const Visibility: {
119
- readonly Anyone: "ANYONE";
120
- readonly Connections: "CONNECTIONS";
121
- };
122
- /**
123
- * Post visibility
124
+ * Search appearance stats
124
125
  */
125
- export type Visibility = ClosedEnum<typeof Visibility>;
126
- export type Mention = {
127
- /**
128
- * LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
129
- */
130
- profileUrn: string;
126
+ export type GetLinkedInSearchAppearancesResponse = {
127
+ success: true;
128
+ appearances: any;
131
129
  /**
132
- * Start character offset in the text where the mention begins
130
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
133
131
  */
134
- start: number;
132
+ creditsUsed: number;
135
133
  /**
136
- * Length of the mention text in characters
134
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
137
135
  */
138
- length: number;
136
+ retryAfter: number;
139
137
  };
140
- export type PublishLinkedInPostRequest = {
138
+ export type GetLinkedInPostAnalyticsRequest = {
141
139
  /**
142
- * Post commentary text
140
+ * LinkedIn post URL or URN
143
141
  */
144
- text: string;
142
+ postUrl: string;
143
+ };
144
+ /**
145
+ * Post analytics
146
+ */
147
+ export type GetLinkedInPostAnalyticsResponse = {
148
+ success: true;
149
+ analytics: any;
145
150
  /**
146
- * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
151
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
147
152
  */
148
- mode: Mode;
153
+ creditsUsed: number;
149
154
  /**
150
- * Timestamp in milliseconds for scheduled posts (required when mode='scheduled')
155
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
151
156
  */
152
- scheduledAt?: number | undefined;
157
+ retryAfter: number;
158
+ };
159
+ export type GetLinkedInFollowerAnalyticsRequest = {};
160
+ /**
161
+ * Follower analytics
162
+ */
163
+ export type GetLinkedInFollowerAnalyticsResponse = {
164
+ success: true;
165
+ analytics: any;
153
166
  /**
154
- * URL of an image to attach to the post
167
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
155
168
  */
156
- imageUrl?: string | undefined;
169
+ creditsUsed: number;
157
170
  /**
158
- * Post visibility
171
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
159
172
  */
160
- visibility?: Visibility | undefined;
173
+ retryAfter: number;
174
+ };
175
+ export type Page = {
161
176
  /**
162
- * Profile mentions with text positions
177
+ * LinkedIn numeric company ID.
163
178
  */
164
- mentions?: Array<Mention> | undefined;
179
+ id: string;
165
180
  /**
166
- * Campaign identifier for deduplication.
181
+ * Company URL slug (e.g. 'openai').
167
182
  */
168
- campaignSlug?: string | undefined;
183
+ universalName: string;
184
+ name: string;
185
+ url: string;
186
+ logoUrl: string | null;
187
+ followerCount: number | null;
188
+ industry: string | null;
189
+ employeeCount: number | null;
169
190
  /**
170
- * Deprecated. Use campaignSlug only.
171
- *
172
- * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
191
+ * Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
173
192
  */
174
- actionSlug?: string | undefined;
193
+ adminRole: string | null;
175
194
  };
176
195
  /**
177
- * Post published or scheduled successfully
196
+ * List of managed company pages
178
197
  */
179
- export type PublishLinkedInPostResponse = {
180
- success: boolean;
198
+ export type ListLinkedInCompanyPagesResponse = {
199
+ success: true;
200
+ pages: Array<Page>;
201
+ total: number;
181
202
  /**
182
- * URN of the created share (e.g., 'urn:li:fsd_share:urn:li:share:123...')
203
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
183
204
  */
184
- shareUrn: string;
205
+ creditsUsed: number;
185
206
  /**
186
- * Activity URN (only available for instant mode)
207
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
187
208
  */
188
- activityUrn: string | null;
209
+ retryAfter: number;
210
+ };
211
+ export type GetCompanyPagePostsRequest = {
189
212
  /**
190
- * True if this action was already executed for the given campaignSlug + target.
213
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
191
214
  */
192
- duplicate?: boolean | undefined;
215
+ universalName: string;
193
216
  /**
194
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
217
+ * Number of posts to return (max 50).
195
218
  */
196
- creditsUsed: number;
219
+ count?: number | undefined;
197
220
  /**
198
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
221
+ * Pagination offset.
199
222
  */
200
- retryAfter: number;
201
- };
202
- export type GetMyLinkedInProfilePositionStartDate = {
203
- month: number | null;
204
- year: number;
205
- };
206
- export type GetMyLinkedInProfilePositionEndDate = {
207
- month: number | null;
208
- year: number;
209
- };
210
- export type GetMyLinkedInProfilePosition = {
211
- companyName: string | null;
212
- title: string | null;
213
- companyUrl: string | null;
214
- companyLogo: string | null;
215
- startDate: GetMyLinkedInProfilePositionStartDate | null;
216
- endDate: GetMyLinkedInProfilePositionEndDate | null;
217
- isCurrent: boolean;
218
- };
219
- export type GetMyLinkedInProfileEducationStartDate = {
220
- month: number | null;
221
- year: number;
222
- };
223
- export type GetMyLinkedInProfileEducationEndDate = {
224
- month: number | null;
225
- year: number;
226
- };
227
- export type GetMyLinkedInProfileEducation = {
228
- schoolName: string | null;
229
- degreeName: string | null;
230
- fieldOfStudy: string | null;
231
- schoolUrl: string | null;
232
- schoolLogo: string | null;
233
- startDate: GetMyLinkedInProfileEducationStartDate | null;
234
- endDate: GetMyLinkedInProfileEducationEndDate | null;
235
- };
236
- /**
237
- * Profile location
238
- */
239
- export type GetMyLinkedInProfileLocation = {
240
- countryCode: string;
241
- postalCode?: string | undefined;
242
- };
243
- export declare const GetMyLinkedInProfileType: {
244
- readonly Activity: "activity";
245
- readonly UgcPost: "ugcPost";
246
- readonly Share: "share";
247
- };
248
- export type GetMyLinkedInProfileType = OpenEnum<typeof GetMyLinkedInProfileType>;
249
- export type GetMyLinkedInProfileLastPost = {
250
- postUrl: string;
251
- text: string;
252
- date: number;
253
- likesCount: number;
254
- commentsCount: number;
255
- sharesCount: number;
256
- postUrn: string;
257
- postId: string;
258
- type: GetMyLinkedInProfileType;
223
+ start?: number | undefined;
259
224
  };
260
- /**
261
- * Stored LinkedIn profile data
262
- */
263
- export type GetMyLinkedInProfileResponse = {
264
- success: boolean;
225
+ export type GetCompanyPagePostsPost = {
265
226
  /**
266
- * LinkedIn vanity name (e.g., 'alexandre-sarfati')
227
+ * LinkedIn activity URN for this post.
267
228
  */
268
- linkedinProfileId: string | null;
229
+ activityUrn: string;
269
230
  /**
270
- * Full name from LinkedIn
231
+ * Direct URL to the post on LinkedIn.
271
232
  */
272
- linkedinName: string | null;
233
+ postUrl: string;
273
234
  /**
274
- * Email from LinkedIn profile
235
+ * Post text content (null if media-only).
275
236
  */
276
- linkedinEmail: string | null;
237
+ text: string | null;
277
238
  /**
278
- * LinkedIn profile URN
239
+ * Unix timestamp in milliseconds (null if unavailable).
279
240
  */
280
- profileUrn: string | null;
241
+ publishedAt: number | null;
281
242
  /**
282
- * LinkedIn headline
243
+ * Number of likes/reactions.
283
244
  */
284
- headline: string | null;
245
+ numLikes: number | null;
285
246
  /**
286
- * Profile picture URL
247
+ * Number of comments.
287
248
  */
288
- profilePic: string | null;
249
+ numComments: number | null;
250
+ };
251
+ /**
252
+ * Company page posts
253
+ */
254
+ export type GetCompanyPagePostsResponse = {
255
+ success: true;
256
+ posts: Array<GetCompanyPagePostsPost>;
289
257
  /**
290
- * Full LinkedIn profile URL
258
+ * Total number of posts available.
291
259
  */
292
- profileUrl: string | null;
260
+ total: number;
293
261
  /**
294
- * Work positions (populated after /refresh)
262
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
295
263
  */
296
- positions?: Array<GetMyLinkedInProfilePosition> | undefined;
264
+ creditsUsed: number;
297
265
  /**
298
- * Education entries (populated after /refresh)
266
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
299
267
  */
300
- educations?: Array<GetMyLinkedInProfileEducation> | undefined;
268
+ retryAfter: number;
269
+ };
270
+ export type GetCompanyPagePermissionsRequest = {
301
271
  /**
302
- * Total LinkedIn connections
272
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
303
273
  */
304
- connectionsCount: number | null;
274
+ universalName: string;
275
+ };
276
+ export type Permissions = {
305
277
  /**
306
- * Profile location
278
+ * Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
307
279
  */
308
- location: GetMyLinkedInProfileLocation | null;
280
+ role: string | null;
309
281
  /**
310
- * LinkedIn verification status
282
+ * Can post as the company page.
311
283
  */
312
- isVerified: boolean | null;
284
+ canCreateOrganicShare: boolean;
313
285
  /**
314
- * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
286
+ * Can comment as the company page.
315
287
  */
316
- lastPosts?: Array<GetMyLinkedInProfileLastPost> | undefined;
288
+ canCreateComment: boolean;
317
289
  /**
318
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
290
+ * Can like/react as the company page.
319
291
  */
320
- creditsUsed: number;
292
+ canCreateReaction: boolean;
321
293
  /**
322
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
294
+ * Can delete company page posts.
323
295
  */
324
- retryAfter: number;
325
- };
326
- export type RefreshMyLinkedInProfilePositionStartDate = {
327
- month: number | null;
328
- year: number;
329
- };
330
- export type RefreshMyLinkedInProfilePositionEndDate = {
331
- month: number | null;
332
- year: number;
333
- };
334
- export type RefreshMyLinkedInProfilePosition = {
335
- companyName: string | null;
336
- title: string | null;
337
- companyUrl: string | null;
338
- companyLogo: string | null;
339
- startDate: RefreshMyLinkedInProfilePositionStartDate | null;
340
- endDate: RefreshMyLinkedInProfilePositionEndDate | null;
341
- isCurrent: boolean;
342
- };
343
- export type RefreshMyLinkedInProfileEducationStartDate = {
344
- month: number | null;
345
- year: number;
346
- };
347
- export type RefreshMyLinkedInProfileEducationEndDate = {
348
- month: number | null;
349
- year: number;
350
- };
351
- export type RefreshMyLinkedInProfileEducation = {
352
- schoolName: string | null;
353
- degreeName: string | null;
354
- fieldOfStudy: string | null;
355
- schoolUrl: string | null;
356
- schoolLogo: string | null;
357
- startDate: RefreshMyLinkedInProfileEducationStartDate | null;
358
- endDate: RefreshMyLinkedInProfileEducationEndDate | null;
359
- };
360
- /**
361
- * Profile location
362
- */
363
- export type RefreshMyLinkedInProfileLocation = {
364
- countryCode: string;
365
- postalCode?: string | undefined;
366
- };
367
- export declare const RefreshMyLinkedInProfileType: {
368
- readonly Activity: "activity";
369
- readonly UgcPost: "ugcPost";
370
- readonly Share: "share";
371
- };
372
- export type RefreshMyLinkedInProfileType = OpenEnum<typeof RefreshMyLinkedInProfileType>;
373
- export type RefreshMyLinkedInProfileLastPost = {
374
- postUrl: string;
375
- text: string;
376
- date: number;
377
- likesCount: number;
378
- commentsCount: number;
379
- sharesCount: number;
380
- postUrn: string;
381
- postId: string;
382
- type: RefreshMyLinkedInProfileType;
383
- };
384
- /**
385
- * Refreshed LinkedIn profile data
386
- */
387
- export type RefreshMyLinkedInProfileResponse = {
388
- success: boolean;
296
+ canDeleteShare: boolean;
389
297
  /**
390
- * LinkedIn vanity name (e.g., 'alexandre-sarfati')
298
+ * Can pin posts on the company page.
391
299
  */
392
- linkedinProfileId: string | null;
300
+ canPinShare: boolean;
393
301
  /**
394
- * Full name from LinkedIn
302
+ * Can send messages from the company page inbox.
395
303
  */
396
- linkedinName: string | null;
304
+ canSendMessages: boolean;
397
305
  /**
398
- * Email from LinkedIn profile
306
+ * Can read the company page inbox.
399
307
  */
400
- linkedinEmail: string | null;
308
+ canReadMessages: boolean;
401
309
  /**
402
- * LinkedIn profile URN
310
+ * Can access the admin analytics dashboard.
403
311
  */
404
- profileUrn: string | null;
312
+ canReadAdminDashboard: boolean;
405
313
  /**
406
- * LinkedIn headline
314
+ * Can view post/update analytics.
407
315
  */
408
- headline: string | null;
316
+ canReadOrganizationUpdateAnalytics: boolean;
409
317
  /**
410
- * Profile picture URL
318
+ * Can view visitor analytics.
411
319
  */
412
- profilePic: string | null;
320
+ canReadOrganizationVisitorAnalytics: boolean;
413
321
  /**
414
- * Full LinkedIn profile URL
322
+ * Can view follower analytics.
415
323
  */
416
- profileUrl: string | null;
324
+ canReadOrganizationFollowerAnalytics: boolean;
417
325
  /**
418
- * Work positions (populated after /refresh)
326
+ * Can view search appearance analytics.
419
327
  */
420
- positions?: Array<RefreshMyLinkedInProfilePosition> | undefined;
328
+ canReadOrganizationSearchAppearanceAnalytics: boolean;
421
329
  /**
422
- * Education entries (populated after /refresh)
330
+ * Can edit the company page profile.
423
331
  */
424
- educations?: Array<RefreshMyLinkedInProfileEducation> | undefined;
332
+ canUpdateOrganizationProfile: boolean;
425
333
  /**
426
- * Total LinkedIn connections
334
+ * Can add/remove page admins.
427
335
  */
428
- connectionsCount: number | null;
336
+ canEditAdministrators: boolean;
429
337
  /**
430
- * Profile location
338
+ * Can deactivate the company page.
431
339
  */
432
- location: RefreshMyLinkedInProfileLocation | null;
340
+ canDeactivateOrganization: boolean;
433
341
  /**
434
- * LinkedIn verification status
342
+ * Can create/edit company events.
435
343
  */
436
- isVerified: boolean | null;
344
+ canEditEvents: boolean;
437
345
  /**
438
- * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
346
+ * Can view company events.
439
347
  */
440
- lastPosts?: Array<RefreshMyLinkedInProfileLastPost> | undefined;
441
- refreshed: boolean;
348
+ canReadEvents: boolean;
442
349
  /**
443
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
350
+ * Can sponsor/boost posts.
444
351
  */
445
- creditsUsed: number;
352
+ canSponsorShare: boolean;
446
353
  /**
447
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
354
+ * Can manage the career page section.
448
355
  */
449
- retryAfter: number;
450
- };
451
- export type GetMyLinkedInPostsRequest = {
356
+ canManageCareerPages: boolean;
452
357
  /**
453
- * Number of posts to fetch (default 20, max 100).
358
+ * Can manage messaging settings.
454
359
  */
455
- count?: number | undefined;
360
+ canManageMessagingAccess: boolean;
456
361
  /**
457
- * Pagination offset (default 0).
362
+ * Can notify employees about posts.
458
363
  */
459
- start?: number | undefined;
364
+ canNotifyEmployees: boolean;
460
365
  /**
461
- * Pagination token from a previous response to fetch the next page.
366
+ * Can export lead-gen form leads.
462
367
  */
463
- paginationToken?: string | undefined;
464
- };
465
- export declare const GetMyLinkedInPostsType: {
466
- readonly Activity: "activity";
467
- readonly UgcPost: "ugcPost";
468
- readonly Share: "share";
469
- };
470
- export type GetMyLinkedInPostsType = OpenEnum<typeof GetMyLinkedInPostsType>;
471
- export type GetMyLinkedInPostsPost = {
472
- postUrl: string;
473
- text: string;
474
- date: number;
475
- likesCount: number;
476
- commentsCount: number;
477
- sharesCount: number;
478
- postUrn: string;
479
- postId: string;
480
- type: GetMyLinkedInPostsType;
368
+ canExportLeads: boolean;
481
369
  };
482
370
  /**
483
- * Paginated list of the user's own posts
371
+ * Company page admin permissions
484
372
  */
485
- export type GetMyLinkedInPostsResponse = {
486
- success: boolean;
487
- posts: Array<GetMyLinkedInPostsPost>;
488
- count: number;
489
- total: number;
490
- start: number;
491
- hasMore: boolean;
492
- paginationToken: string | null;
373
+ export type GetCompanyPagePermissionsResponse = {
374
+ success: true;
375
+ universalName: string;
376
+ permissions: Permissions;
493
377
  /**
494
378
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
495
379
  */
@@ -499,40 +383,45 @@ export type GetMyLinkedInPostsResponse = {
499
383
  */
500
384
  retryAfter: number;
501
385
  };
502
- export type GetMyLinkedInFollowersRequest = {
503
- /**
504
- * Pagination offset (default 0).
505
- */
506
- start?: number | undefined;
386
+ export type GetCompanyPageAnalyticsRequest = {
507
387
  /**
508
- * Number of followers to fetch per page (default 10, max 50).
388
+ * Company page ID (numeric, e.g. '111652438')
509
389
  */
510
- count?: number | undefined;
390
+ companyId: string;
391
+ };
392
+ export type GetCompanyPageAnalyticsFoundedOn = {
393
+ year: number;
394
+ month?: number | undefined;
395
+ day?: number | undefined;
511
396
  };
512
- export type Follower = {
397
+ export type GetCompanyPageAnalyticsHeadquarter = {
398
+ city: string;
399
+ country: string;
400
+ line1?: string | undefined;
401
+ postalCode?: string | undefined;
402
+ };
403
+ export type Analytics = {
513
404
  name: string;
514
- headline: string | null;
515
- profileUrl: string | null;
516
- profilePicture: string | null;
405
+ universalName: string;
517
406
  followerCount: number | null;
518
- /**
519
- * Whether you follow this person back
520
- */
521
- following: boolean;
407
+ employeeCount: number | null;
408
+ visitorsInPastMonthCount: number | null;
409
+ isActive: boolean;
410
+ foundedOn: GetCompanyPageAnalyticsFoundedOn | null;
411
+ headquarter: GetCompanyPageAnalyticsHeadquarter | null;
412
+ description: string | null;
413
+ tagline: string | null;
414
+ websiteUrl: string | null;
415
+ organizationType: string | null;
416
+ specialities: Array<string>;
417
+ industryUrns: Array<string>;
522
418
  };
523
419
  /**
524
- * Paginated list of followers
420
+ * Company page overview analytics
525
421
  */
526
- export type GetMyLinkedInFollowersResponse = {
527
- success: boolean;
528
- followers: Array<Follower>;
529
- count: number;
530
- /**
531
- * Total reported by LinkedIn (capped at ~1000)
532
- */
533
- totalFollowers: number;
534
- start: number;
535
- hasMore: boolean;
422
+ export type GetCompanyPageAnalyticsResponse = {
423
+ success: true;
424
+ analytics: Analytics;
536
425
  /**
537
426
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
538
427
  */
@@ -542,270 +431,420 @@ export type GetMyLinkedInFollowersResponse = {
542
431
  */
543
432
  retryAfter: number;
544
433
  };
545
- /**
546
- * Daily usage counter (resets at midnight UTC)
547
- */
548
- export type ConnectionRequestDaily = {
549
- /**
550
- * Number of actions used in this window
551
- */
552
- current: number;
553
- /**
554
- * Maximum allowed actions in this window (with multiplier applied)
555
- */
556
- limit: number;
434
+ export type ListInboxConversationsRequest = {
557
435
  /**
558
- * Actions remaining before hitting the limit
436
+ * Pagination cursor from a previous response
559
437
  */
560
- remaining: number;
438
+ nextCursor?: string | undefined;
439
+ };
440
+ export type ListInboxConversationsParticipant = {
441
+ profileUrn: string;
442
+ firstName: string;
443
+ lastName: string;
444
+ profileUrl: string | null;
445
+ headline: string | null;
446
+ profilePicture: string | null;
447
+ publicIdentifier: string | null;
448
+ };
449
+ export type ListInboxConversationsLastMessage = {
450
+ text: string | null;
451
+ deliveredAt: number;
452
+ senderProfileUrn: string;
453
+ };
454
+ export type ListInboxConversationsConversation = {
455
+ conversationUrn: string;
456
+ conversationUrl: string;
457
+ lastActivityAt: number;
458
+ createdAt: number;
459
+ read: boolean;
460
+ unreadCount: number;
461
+ groupChat: boolean;
462
+ participants: Array<ListInboxConversationsParticipant>;
463
+ lastMessage: ListInboxConversationsLastMessage | null;
561
464
  };
562
465
  /**
563
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
466
+ * Inbox conversations
564
467
  */
565
- export type ConnectionRequestWeekly = {
468
+ export type ListInboxConversationsResponse = {
469
+ success: true;
470
+ conversations: Array<ListInboxConversationsConversation>;
566
471
  /**
567
- * Number of actions used in this window
472
+ * Cursor for fetching next page
568
473
  */
569
- current: number;
474
+ nextCursor: string | null;
570
475
  /**
571
- * Maximum allowed actions in this window (with multiplier applied)
476
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
572
477
  */
573
- limit: number;
478
+ creditsUsed: number;
574
479
  /**
575
- * Actions remaining before hitting the limit
480
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
576
481
  */
577
- remaining: number;
482
+ retryAfter: number;
578
483
  };
579
- /**
580
- * Limits for sending LinkedIn connection requests
581
- */
582
- export type ConnectionRequest = {
583
- /**
584
- * Daily usage counter (resets at midnight UTC)
585
- */
586
- daily: ConnectionRequestDaily;
484
+ export type GetConversationMessagesRequest = {
587
485
  /**
588
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
486
+ * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
589
487
  */
590
- weekly: ConnectionRequestWeekly | null;
488
+ conversationUrn: string;
591
489
  /**
592
- * Minimum delay in seconds required between two consecutive actions of this type
490
+ * Timestamp (ms) of the oldest message from previous page pass this to load older messages
593
491
  */
594
- minIntervalSeconds: number;
595
- /**
596
- * ISO 8601 timestamp of the next daily counter reset
597
- */
598
- nextResetDaily: Date;
599
- /**
600
- * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
601
- */
602
- nextResetWeekly: Date | null;
492
+ deliveredAt?: number | undefined;
493
+ };
494
+ export type GetConversationMessagesSender = {
495
+ firstName: string;
496
+ lastName: string;
497
+ profileUrl: string | null;
498
+ headline: string | null;
499
+ profilePicture: string | null;
500
+ publicIdentifier: string | null;
501
+ profileUrn: string | null;
502
+ };
503
+ export declare const GetConversationMessagesType: {
504
+ readonly Audio: "audio";
505
+ readonly SharedPost: "shared_post";
506
+ readonly RepliedMessage: "replied_message";
507
+ readonly Image: "image";
508
+ readonly File: "file";
509
+ readonly Unknown: "unknown";
510
+ };
511
+ export type GetConversationMessagesType = OpenEnum<typeof GetConversationMessagesType>;
512
+ export type GetConversationMessagesAttachment = {
513
+ type: GetConversationMessagesType;
514
+ audioUrl?: string | undefined;
515
+ audioDuration?: number | undefined;
516
+ hostUrn?: string | undefined;
517
+ repliedText?: string | undefined;
518
+ repliedSenderName?: string | undefined;
519
+ imageUrl?: string | undefined;
520
+ fileName?: string | undefined;
521
+ fileUrl?: string | undefined;
522
+ };
523
+ export type GetConversationMessagesMessage = {
524
+ messageUrn: string;
525
+ text: string | null;
526
+ deliveredAt: number;
527
+ senderProfileUrn: string;
528
+ sender: GetConversationMessagesSender;
529
+ attachments: Array<GetConversationMessagesAttachment>;
603
530
  };
604
531
  /**
605
- * Daily usage counter (resets at midnight UTC)
532
+ * Conversation messages
606
533
  */
607
- export type MessageDaily = {
534
+ export type GetConversationMessagesResponse = {
535
+ success: true;
536
+ messages: Array<GetConversationMessagesMessage>;
608
537
  /**
609
- * Number of actions used in this window
538
+ * deliveredAt timestamp (ms) of the oldest message pass as 'deliveredAt' to load older messages. Null when no more messages.
610
539
  */
611
- current: number;
540
+ prevCursor: number | null;
612
541
  /**
613
- * Maximum allowed actions in this window (with multiplier applied)
542
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
614
543
  */
615
- limit: number;
544
+ creditsUsed: number;
616
545
  /**
617
- * Actions remaining before hitting the limit
546
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
618
547
  */
619
- remaining: number;
548
+ retryAfter: number;
620
549
  };
550
+ export type MarkAllConversationsReadRequest = {};
621
551
  /**
622
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
552
+ * All conversations marked as read
623
553
  */
624
- export type MessageWeekly = {
554
+ export type MarkAllConversationsReadResponse = {
555
+ success: true;
625
556
  /**
626
- * Number of actions used in this window
557
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
627
558
  */
628
- current: number;
559
+ creditsUsed: number;
629
560
  /**
630
- * Maximum allowed actions in this window (with multiplier applied)
561
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
631
562
  */
632
- limit: number;
563
+ retryAfter: number;
564
+ };
565
+ export type ListArchivedConversationsRequest = {
633
566
  /**
634
- * Actions remaining before hitting the limit
567
+ * Pagination cursor from a previous response
635
568
  */
636
- remaining: number;
569
+ nextCursor?: string | undefined;
570
+ };
571
+ export type ListArchivedConversationsParticipant = {
572
+ profileUrn: string;
573
+ firstName: string;
574
+ lastName: string;
575
+ profileUrl: string | null;
576
+ headline: string | null;
577
+ profilePicture: string | null;
578
+ publicIdentifier: string | null;
579
+ };
580
+ export type ListArchivedConversationsLastMessage = {
581
+ text: string | null;
582
+ deliveredAt: number;
583
+ senderProfileUrn: string;
584
+ };
585
+ export type ListArchivedConversationsConversation = {
586
+ conversationUrn: string;
587
+ conversationUrl: string;
588
+ lastActivityAt: number;
589
+ createdAt: number;
590
+ read: boolean;
591
+ unreadCount: number;
592
+ groupChat: boolean;
593
+ participants: Array<ListArchivedConversationsParticipant>;
594
+ lastMessage: ListArchivedConversationsLastMessage | null;
637
595
  };
638
596
  /**
639
- * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
597
+ * Archived conversations
640
598
  */
641
- export type GetMyLimitsMessage = {
599
+ export type ListArchivedConversationsResponse = {
600
+ success: true;
601
+ conversations: Array<ListArchivedConversationsConversation>;
642
602
  /**
643
- * Daily usage counter (resets at midnight UTC)
603
+ * Cursor for fetching next page
644
604
  */
645
- daily: MessageDaily;
605
+ nextCursor: string | null;
646
606
  /**
647
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
607
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
648
608
  */
649
- weekly: MessageWeekly | null;
609
+ creditsUsed: number;
650
610
  /**
651
- * Minimum delay in seconds required between two consecutive actions of this type
611
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
652
612
  */
653
- minIntervalSeconds: number;
613
+ retryAfter: number;
614
+ };
615
+ export type ReactToMessageRequest = {
654
616
  /**
655
- * ISO 8601 timestamp of the next daily counter reset
617
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
656
618
  */
657
- nextResetDaily: Date;
619
+ messageUrn: string;
658
620
  /**
659
- * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
621
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
660
622
  */
661
- nextResetWeekly: Date | null;
623
+ emoji: string;
624
+ /**
625
+ * Conversation URN (required for the old messaging API fallback)
626
+ */
627
+ conversationUrn: string;
662
628
  };
663
629
  /**
664
- * Daily usage counter (resets at midnight UTC)
630
+ * Reaction added
665
631
  */
666
- export type ProfileVisitDaily = {
632
+ export type ReactToMessageResponse = {
633
+ success: true;
667
634
  /**
668
- * Number of actions used in this window
635
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
669
636
  */
670
- current: number;
637
+ creditsUsed: number;
671
638
  /**
672
- * Maximum allowed actions in this window (with multiplier applied)
639
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
673
640
  */
674
- limit: number;
641
+ retryAfter: number;
642
+ };
643
+ export type SendTypingIndicatorRequest = {
675
644
  /**
676
- * Actions remaining before hitting the limit
645
+ * Full conversation URN
677
646
  */
678
- remaining: number;
647
+ conversationUrn: string;
679
648
  };
680
649
  /**
681
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
650
+ * Typing indicator sent
682
651
  */
683
- export type ProfileVisitWeekly = {
684
- /**
685
- * Number of actions used in this window
686
- */
687
- current: number;
652
+ export type SendTypingIndicatorResponse = {
653
+ success: true;
688
654
  /**
689
- * Maximum allowed actions in this window (with multiplier applied)
655
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
690
656
  */
691
- limit: number;
657
+ creditsUsed: number;
692
658
  /**
693
- * Actions remaining before hitting the limit
659
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
694
660
  */
695
- remaining: number;
661
+ retryAfter: number;
696
662
  };
663
+ export type GetUnreadCountRequest = {};
697
664
  /**
698
- * Limits for visiting LinkedIn profiles and company pages
665
+ * Unread count
699
666
  */
700
- export type ProfileVisit = {
667
+ export type GetUnreadCountResponse = {
668
+ success: true;
701
669
  /**
702
- * Daily usage counter (resets at midnight UTC)
670
+ * Number of unread conversations/messages
703
671
  */
704
- daily: ProfileVisitDaily;
672
+ unreadCount: number;
705
673
  /**
706
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
674
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
707
675
  */
708
- weekly: ProfileVisitWeekly | null;
676
+ creditsUsed: number;
709
677
  /**
710
- * Minimum delay in seconds required between two consecutive actions of this type
678
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
711
679
  */
712
- minIntervalSeconds: number;
680
+ retryAfter: number;
681
+ };
682
+ export type SearchLinkedInConversationsRequest = {
713
683
  /**
714
- * ISO 8601 timestamp of the next daily counter reset
684
+ * Search keywords
715
685
  */
716
- nextResetDaily: Date;
686
+ keywords: string;
717
687
  /**
718
- * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
688
+ * Pagination cursor from a previous response
719
689
  */
720
- nextResetWeekly: Date | null;
690
+ nextCursor?: string | undefined;
691
+ };
692
+ export type SearchLinkedInConversationsParticipant = {
693
+ profileUrn: string;
694
+ firstName: string;
695
+ lastName: string;
696
+ profileUrl: string | null;
697
+ headline: string | null;
698
+ profilePicture: string | null;
699
+ publicIdentifier: string | null;
700
+ };
701
+ export type SearchLinkedInConversationsLastMessage = {
702
+ text: string | null;
703
+ deliveredAt: number;
704
+ senderProfileUrn: string;
705
+ };
706
+ export type SearchLinkedInConversationsConversation = {
707
+ conversationUrn: string;
708
+ conversationUrl: string;
709
+ lastActivityAt: number;
710
+ createdAt: number;
711
+ read: boolean;
712
+ unreadCount: number;
713
+ groupChat: boolean;
714
+ participants: Array<SearchLinkedInConversationsParticipant>;
715
+ lastMessage: SearchLinkedInConversationsLastMessage | null;
721
716
  };
722
717
  /**
723
- * Daily usage counter (resets at midnight UTC)
718
+ * Matching conversations
724
719
  */
725
- export type ScrapingDaily = {
720
+ export type SearchLinkedInConversationsResponse = {
721
+ success: true;
722
+ conversations: Array<SearchLinkedInConversationsConversation>;
726
723
  /**
727
- * Number of actions used in this window
724
+ * Cursor for fetching next page
728
725
  */
729
- current: number;
726
+ nextCursor: string | null;
730
727
  /**
731
- * Maximum allowed actions in this window (with multiplier applied)
728
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
732
729
  */
733
- limit: number;
730
+ creditsUsed: number;
734
731
  /**
735
- * Actions remaining before hitting the limit
732
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
736
733
  */
737
- remaining: number;
734
+ retryAfter: number;
738
735
  };
739
- /**
740
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
741
- */
742
- export type ScrapingWeekly = {
743
- /**
744
- * Number of actions used in this window
745
- */
746
- current: number;
736
+ export type FindLinkedInConversationRequest = {
747
737
  /**
748
- * Maximum allowed actions in this window (with multiplier applied)
738
+ * Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
749
739
  */
750
- limit: number;
740
+ profile: string;
751
741
  /**
752
- * Actions remaining before hitting the limit
742
+ * If true, also return the conversation's recent messages (0 extra credits).
753
743
  */
754
- remaining: number;
744
+ includeMessages?: boolean | undefined;
755
745
  };
756
746
  /**
757
- * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
747
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
758
748
  */
759
- export type Scraping = {
749
+ export type FindLinkedInConversationConversation = {
750
+ conversationUrn: string;
751
+ };
752
+ export type FindLinkedInConversationSender = {
753
+ firstName: string;
754
+ lastName: string;
755
+ profileUrl: string | null;
756
+ headline: string | null;
757
+ profilePicture: string | null;
758
+ publicIdentifier: string | null;
759
+ profileUrn: string | null;
760
+ };
761
+ export declare const FindLinkedInConversationType: {
762
+ readonly Audio: "audio";
763
+ readonly SharedPost: "shared_post";
764
+ readonly RepliedMessage: "replied_message";
765
+ readonly Image: "image";
766
+ readonly File: "file";
767
+ readonly Unknown: "unknown";
768
+ };
769
+ export type FindLinkedInConversationType = OpenEnum<typeof FindLinkedInConversationType>;
770
+ export type FindLinkedInConversationAttachment = {
771
+ type: FindLinkedInConversationType;
772
+ audioUrl?: string | undefined;
773
+ audioDuration?: number | undefined;
774
+ hostUrn?: string | undefined;
775
+ repliedText?: string | undefined;
776
+ repliedSenderName?: string | undefined;
777
+ imageUrl?: string | undefined;
778
+ fileName?: string | undefined;
779
+ fileUrl?: string | undefined;
780
+ };
781
+ export type FindLinkedInConversationMessage = {
782
+ messageUrn: string;
783
+ text: string | null;
784
+ deliveredAt: number;
785
+ senderProfileUrn: string;
786
+ sender: FindLinkedInConversationSender;
787
+ attachments: Array<FindLinkedInConversationAttachment>;
788
+ };
789
+ /**
790
+ * Conversation found (or not)
791
+ */
792
+ export type FindLinkedInConversationResponse = {
793
+ success: true;
794
+ found: boolean;
760
795
  /**
761
- * Daily usage counter (resets at midnight UTC)
796
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
762
797
  */
763
- daily: ScrapingDaily;
798
+ conversation: FindLinkedInConversationConversation | null;
799
+ messages: Array<FindLinkedInConversationMessage> | null;
764
800
  /**
765
- * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
801
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
766
802
  */
767
- weekly: ScrapingWeekly | null;
803
+ creditsUsed: number;
768
804
  /**
769
- * Minimum delay in seconds required between two consecutive actions of this type
805
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
770
806
  */
771
- minIntervalSeconds: number;
807
+ retryAfter: number;
808
+ };
809
+ export type ArchiveConversationRequest = {
772
810
  /**
773
- * ISO 8601 timestamp of the next daily counter reset
811
+ * Full conversation URN
774
812
  */
775
- nextResetDaily: Date;
813
+ conversationUrn: string;
814
+ };
815
+ /**
816
+ * Conversation archived
817
+ */
818
+ export type ArchiveConversationResponse = {
819
+ success: true;
776
820
  /**
777
- * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
821
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
778
822
  */
779
- nextResetWeekly: Date | null;
780
- };
781
- export type Limits = {
823
+ creditsUsed: number;
782
824
  /**
783
- * Limits for sending LinkedIn connection requests
825
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
784
826
  */
785
- connectionRequest: ConnectionRequest;
827
+ retryAfter: number;
828
+ };
829
+ export type UnreactToMessageRequest = {
786
830
  /**
787
- * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
831
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
788
832
  */
789
- message: GetMyLimitsMessage;
833
+ messageUrn: string;
790
834
  /**
791
- * Limits for visiting LinkedIn profiles and company pages
835
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
792
836
  */
793
- profileVisit: ProfileVisit;
837
+ emoji: string;
794
838
  /**
795
- * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
839
+ * Conversation URN (required for the old messaging API fallback)
796
840
  */
797
- scraping: Scraping;
841
+ conversationUrn: string;
798
842
  };
799
843
  /**
800
- * Rate limit status for all action types
844
+ * Reaction removed
801
845
  */
802
- export type GetMyLimitsResponse = {
803
- success: boolean;
804
- /**
805
- * Workspace limit multiplier applied to all base limits (default 1.0)
806
- */
807
- multiplier: number;
808
- limits: Limits;
846
+ export type UnreactToMessageResponse = {
847
+ success: true;
809
848
  /**
810
849
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
811
850
  */
@@ -815,30 +854,37 @@ export type GetMyLimitsResponse = {
815
854
  */
816
855
  retryAfter: number;
817
856
  };
818
- export type Credits = {
857
+ export type MarkConversationSeenRequest = {
819
858
  /**
820
- * Number of credits used in the current billing period
859
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
821
860
  */
822
- current: number;
861
+ conversationUrn: string;
862
+ };
863
+ /**
864
+ * Conversation marked as read
865
+ */
866
+ export type MarkConversationSeenResponse = {
867
+ success: true;
823
868
  /**
824
- * Maximum credits available for the workspace
869
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
825
870
  */
826
- limit: number;
871
+ creditsUsed: number;
827
872
  /**
828
- * Credits remaining before hitting the limit
873
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
829
874
  */
830
- remaining: number;
875
+ retryAfter: number;
876
+ };
877
+ export type StarConversationRequest = {
831
878
  /**
832
- * Percentage of credits used (0-100, rounded to 2 decimal places)
879
+ * Full conversation URN
833
880
  */
834
- percentage: number;
881
+ conversationUrn: string;
835
882
  };
836
883
  /**
837
- * Credit balance for the workspace
884
+ * Conversation starred
838
885
  */
839
- export type GetMyCreditsResponse = {
840
- success: boolean;
841
- credits: Credits;
886
+ export type StarConversationResponse = {
887
+ success: true;
842
888
  /**
843
889
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
844
890
  */
@@ -848,46 +894,17 @@ export type GetMyCreditsResponse = {
848
894
  */
849
895
  retryAfter: number;
850
896
  };
851
- export type ListInboxConversationsRequest = {
897
+ export type UnstarConversationRequest = {
852
898
  /**
853
- * Pagination cursor from a previous response
899
+ * Full conversation URN
854
900
  */
855
- nextCursor?: string | undefined;
856
- };
857
- export type ListInboxConversationsParticipant = {
858
- profileUrn: string;
859
- firstName: string;
860
- lastName: string;
861
- profileUrl: string | null;
862
- headline: string | null;
863
- profilePicture: string | null;
864
- };
865
- export type ListInboxConversationsLastMessage = {
866
- text: string | null;
867
- deliveredAt: number;
868
- senderProfileUrn: string;
869
- };
870
- export type ListInboxConversationsConversation = {
871
901
  conversationUrn: string;
872
- conversationUrl: string;
873
- lastActivityAt: number;
874
- createdAt: number;
875
- read: boolean;
876
- unreadCount: number;
877
- groupChat: boolean;
878
- participants: Array<ListInboxConversationsParticipant>;
879
- lastMessage: ListInboxConversationsLastMessage | null;
880
902
  };
881
903
  /**
882
- * Inbox conversations
904
+ * Conversation unstarred
883
905
  */
884
- export type ListInboxConversationsResponse = {
885
- success: boolean;
886
- conversations: Array<ListInboxConversationsConversation>;
887
- /**
888
- * Cursor for fetching next page
889
- */
890
- nextCursor: string | null;
906
+ export type UnstarConversationResponse = {
907
+ success: true;
891
908
  /**
892
909
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
893
910
  */
@@ -897,30 +914,27 @@ export type ListInboxConversationsResponse = {
897
914
  */
898
915
  retryAfter: number;
899
916
  };
900
- export type SearchLinkedInConversationsRequest = {
901
- /**
902
- * Search keywords
903
- */
904
- keywords: string;
917
+ export type ListStarredConversationsRequest = {
905
918
  /**
906
919
  * Pagination cursor from a previous response
907
920
  */
908
921
  nextCursor?: string | undefined;
909
922
  };
910
- export type SearchLinkedInConversationsParticipant = {
923
+ export type ListStarredConversationsParticipant = {
911
924
  profileUrn: string;
912
925
  firstName: string;
913
926
  lastName: string;
914
927
  profileUrl: string | null;
915
928
  headline: string | null;
916
929
  profilePicture: string | null;
930
+ publicIdentifier: string | null;
917
931
  };
918
- export type SearchLinkedInConversationsLastMessage = {
932
+ export type ListStarredConversationsLastMessage = {
919
933
  text: string | null;
920
934
  deliveredAt: number;
921
935
  senderProfileUrn: string;
922
936
  };
923
- export type SearchLinkedInConversationsConversation = {
937
+ export type ListStarredConversationsConversation = {
924
938
  conversationUrn: string;
925
939
  conversationUrl: string;
926
940
  lastActivityAt: number;
@@ -928,15 +942,15 @@ export type SearchLinkedInConversationsConversation = {
928
942
  read: boolean;
929
943
  unreadCount: number;
930
944
  groupChat: boolean;
931
- participants: Array<SearchLinkedInConversationsParticipant>;
932
- lastMessage: SearchLinkedInConversationsLastMessage | null;
945
+ participants: Array<ListStarredConversationsParticipant>;
946
+ lastMessage: ListStarredConversationsLastMessage | null;
933
947
  };
934
948
  /**
935
- * Matching conversations
949
+ * Starred conversations
936
950
  */
937
- export type SearchLinkedInConversationsResponse = {
938
- success: boolean;
939
- conversations: Array<SearchLinkedInConversationsConversation>;
951
+ export type ListStarredConversationsResponse = {
952
+ success: true;
953
+ conversations: Array<ListStarredConversationsConversation>;
940
954
  /**
941
955
  * Cursor for fetching next page
942
956
  */
@@ -950,132 +964,17 @@ export type SearchLinkedInConversationsResponse = {
950
964
  */
951
965
  retryAfter: number;
952
966
  };
953
- export type FindLinkedInConversationRequest = {
954
- /**
955
- * Profile URL or URN (e.g. 'https://linkedin.com/in/marie-sandre' or 'urn:li:fsd_profile:ACoAA...'). Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
956
- */
957
- profile: string;
958
- /**
959
- * If true, also return the conversation's recent messages (0 extra credits).
960
- */
961
- includeMessages?: boolean | undefined;
962
- };
963
- /**
964
- * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
965
- */
966
- export type FindLinkedInConversationConversation = {
967
- conversationUrn: string;
968
- };
969
- export type FindLinkedInConversationSender = {
970
- firstName: string;
971
- lastName: string;
972
- profileUrl: string | null;
973
- headline: string | null;
974
- profilePicture: string | null;
975
- };
976
- export declare const FindLinkedInConversationType: {
977
- readonly Audio: "audio";
978
- readonly SharedPost: "shared_post";
979
- readonly RepliedMessage: "replied_message";
980
- readonly Image: "image";
981
- readonly File: "file";
982
- readonly Unknown: "unknown";
983
- };
984
- export type FindLinkedInConversationType = OpenEnum<typeof FindLinkedInConversationType>;
985
- export type FindLinkedInConversationAttachment = {
986
- type: FindLinkedInConversationType;
987
- audioUrl?: string | undefined;
988
- audioDuration?: number | undefined;
989
- hostUrn?: string | undefined;
990
- repliedText?: string | undefined;
991
- repliedSenderName?: string | undefined;
992
- imageUrl?: string | undefined;
993
- fileName?: string | undefined;
994
- fileUrl?: string | undefined;
995
- };
996
- export type FindLinkedInConversationMessage = {
997
- messageUrn: string;
998
- text: string | null;
999
- deliveredAt: number;
1000
- senderProfileUrn: string;
1001
- sender: FindLinkedInConversationSender;
1002
- attachments: Array<FindLinkedInConversationAttachment>;
1003
- };
1004
- /**
1005
- * Conversation found (or not)
1006
- */
1007
- export type FindLinkedInConversationResponse = {
1008
- success: boolean;
1009
- found: boolean;
1010
- /**
1011
- * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1012
- */
1013
- conversation: FindLinkedInConversationConversation | null;
1014
- messages: Array<FindLinkedInConversationMessage> | null;
1015
- /**
1016
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1017
- */
1018
- creditsUsed: number;
1019
- /**
1020
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1021
- */
1022
- retryAfter: number;
1023
- };
1024
- export type GetConversationMessagesRequest = {
967
+ export type UnarchiveConversationRequest = {
1025
968
  /**
1026
- * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
969
+ * Full conversation URN
1027
970
  */
1028
971
  conversationUrn: string;
1029
- /**
1030
- * Timestamp (ms) of the oldest message from previous page — pass this to load older messages
1031
- */
1032
- deliveredAt?: number | undefined;
1033
- };
1034
- export type GetConversationMessagesSender = {
1035
- firstName: string;
1036
- lastName: string;
1037
- profileUrl: string | null;
1038
- headline: string | null;
1039
- profilePicture: string | null;
1040
- };
1041
- export declare const GetConversationMessagesType: {
1042
- readonly Audio: "audio";
1043
- readonly SharedPost: "shared_post";
1044
- readonly RepliedMessage: "replied_message";
1045
- readonly Image: "image";
1046
- readonly File: "file";
1047
- readonly Unknown: "unknown";
1048
- };
1049
- export type GetConversationMessagesType = OpenEnum<typeof GetConversationMessagesType>;
1050
- export type GetConversationMessagesAttachment = {
1051
- type: GetConversationMessagesType;
1052
- audioUrl?: string | undefined;
1053
- audioDuration?: number | undefined;
1054
- hostUrn?: string | undefined;
1055
- repliedText?: string | undefined;
1056
- repliedSenderName?: string | undefined;
1057
- imageUrl?: string | undefined;
1058
- fileName?: string | undefined;
1059
- fileUrl?: string | undefined;
1060
- };
1061
- export type GetConversationMessagesMessage = {
1062
- messageUrn: string;
1063
- text: string | null;
1064
- deliveredAt: number;
1065
- senderProfileUrn: string;
1066
- sender: GetConversationMessagesSender;
1067
- attachments: Array<GetConversationMessagesAttachment>;
1068
972
  };
1069
973
  /**
1070
- * Conversation messages
974
+ * Conversation unarchived
1071
975
  */
1072
- export type GetConversationMessagesResponse = {
1073
- success: boolean;
1074
- messages: Array<GetConversationMessagesMessage>;
1075
- /**
1076
- * deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
1077
- */
1078
- prevCursor: number | null;
976
+ export type UnarchiveConversationResponse = {
977
+ success: true;
1079
978
  /**
1080
979
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1081
980
  */
@@ -1145,7 +1044,7 @@ export type GetCampaignStatusProfile = {
1145
1044
  * Per-profile action completion status
1146
1045
  */
1147
1046
  export type GetCampaignStatusResponse = {
1148
- success: boolean;
1047
+ success: true;
1149
1048
  profiles: Array<GetCampaignStatusProfile>;
1150
1049
  /**
1151
1050
  * Credits consumed by this call (always 0 for campaign queries).
@@ -1197,7 +1096,7 @@ export type Synced = {
1197
1096
  * Actions marked as completed
1198
1097
  */
1199
1098
  export type SyncCampaignActionsResponse = {
1200
- success: boolean;
1099
+ success: true;
1201
1100
  synced: Array<Synced>;
1202
1101
  /**
1203
1102
  * Credits consumed by this call (always 0 for campaign queries).
@@ -1220,7 +1119,7 @@ export type GetCampaignStatsRequest = {
1220
1119
  * Aggregate campaign statistics
1221
1120
  */
1222
1121
  export type GetCampaignStatsResponse = {
1223
- success: boolean;
1122
+ success: true;
1224
1123
  /**
1225
1124
  * Per-action-type counts (e.g. message: 45, reply: 120)
1226
1125
  */
@@ -1241,219 +1140,205 @@ export type GetCampaignStatsResponse = {
1241
1140
  retryAfter: number;
1242
1141
  };
1243
1142
  /** @internal */
1244
- export type ReplyToLinkedInCommentRequest$Outbound = {
1245
- commentUrn: string;
1246
- message: string;
1247
- campaignSlug?: string | undefined;
1248
- actionSlug?: string | undefined;
1249
- };
1143
+ export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
1144
+ export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
1250
1145
  /** @internal */
1251
- export declare const ReplyToLinkedInCommentRequest$outboundSchema: z.ZodMiniType<ReplyToLinkedInCommentRequest$Outbound, ReplyToLinkedInCommentRequest>;
1252
- export declare function replyToLinkedInCommentRequestToJSON(replyToLinkedInCommentRequest: ReplyToLinkedInCommentRequest): string;
1146
+ export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
1147
+ export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
1253
1148
  /** @internal */
1254
- export declare const ReplyToLinkedInCommentResponse$inboundSchema: z.ZodMiniType<ReplyToLinkedInCommentResponse, unknown>;
1255
- export declare function replyToLinkedInCommentResponseFromJSON(jsonString: string): SafeParseResult<ReplyToLinkedInCommentResponse, SDKValidationError>;
1149
+ export declare const GetMyLimitsResponse$inboundSchema: z.ZodMiniType<GetMyLimitsResponse, unknown>;
1150
+ export declare function getMyLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLimitsResponse, SDKValidationError>;
1256
1151
  /** @internal */
1257
- export declare const ReactionType$outboundSchema: z.ZodMiniEnum<typeof ReactionType>;
1152
+ export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
1153
+ export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
1258
1154
  /** @internal */
1259
- export type LikeLinkedInCommentRequest$Outbound = {
1260
- commentUrn: string;
1261
- reactionType: string;
1262
- campaignSlug?: string | undefined;
1263
- actionSlug?: string | undefined;
1264
- };
1155
+ export declare const GetMyCreditsResponse$inboundSchema: z.ZodMiniType<GetMyCreditsResponse, unknown>;
1156
+ export declare function getMyCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetMyCreditsResponse, SDKValidationError>;
1265
1157
  /** @internal */
1266
- export declare const LikeLinkedInCommentRequest$outboundSchema: z.ZodMiniType<LikeLinkedInCommentRequest$Outbound, LikeLinkedInCommentRequest>;
1267
- export declare function likeLinkedInCommentRequestToJSON(likeLinkedInCommentRequest: LikeLinkedInCommentRequest): string;
1158
+ export type GetLinkedInProfileViewsRequest$Outbound = {};
1268
1159
  /** @internal */
1269
- export declare const LikeLinkedInCommentResponse$inboundSchema: z.ZodMiniType<LikeLinkedInCommentResponse, unknown>;
1270
- export declare function likeLinkedInCommentResponseFromJSON(jsonString: string): SafeParseResult<LikeLinkedInCommentResponse, SDKValidationError>;
1160
+ export declare const GetLinkedInProfileViewsRequest$outboundSchema: z.ZodMiniType<GetLinkedInProfileViewsRequest$Outbound, GetLinkedInProfileViewsRequest>;
1161
+ export declare function getLinkedInProfileViewsRequestToJSON(getLinkedInProfileViewsRequest: GetLinkedInProfileViewsRequest): string;
1271
1162
  /** @internal */
1272
- export declare const Mode$outboundSchema: z.ZodMiniEnum<typeof Mode>;
1163
+ export declare const GetLinkedInProfileViewsResponse$inboundSchema: z.ZodMiniType<GetLinkedInProfileViewsResponse, unknown>;
1164
+ export declare function getLinkedInProfileViewsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInProfileViewsResponse, SDKValidationError>;
1273
1165
  /** @internal */
1274
- export declare const Visibility$outboundSchema: z.ZodMiniEnum<typeof Visibility>;
1166
+ export type GetLinkedInSearchAppearancesRequest$Outbound = {};
1275
1167
  /** @internal */
1276
- export type Mention$Outbound = {
1277
- profileUrn: string;
1278
- start: number;
1279
- length: number;
1280
- };
1168
+ export declare const GetLinkedInSearchAppearancesRequest$outboundSchema: z.ZodMiniType<GetLinkedInSearchAppearancesRequest$Outbound, GetLinkedInSearchAppearancesRequest>;
1169
+ export declare function getLinkedInSearchAppearancesRequestToJSON(getLinkedInSearchAppearancesRequest: GetLinkedInSearchAppearancesRequest): string;
1281
1170
  /** @internal */
1282
- export declare const Mention$outboundSchema: z.ZodMiniType<Mention$Outbound, Mention>;
1283
- export declare function mentionToJSON(mention: Mention): string;
1171
+ export declare const GetLinkedInSearchAppearancesResponse$inboundSchema: z.ZodMiniType<GetLinkedInSearchAppearancesResponse, unknown>;
1172
+ export declare function getLinkedInSearchAppearancesResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInSearchAppearancesResponse, SDKValidationError>;
1284
1173
  /** @internal */
1285
- export type PublishLinkedInPostRequest$Outbound = {
1286
- text: string;
1287
- mode: string;
1288
- scheduledAt?: number | undefined;
1289
- imageUrl?: string | undefined;
1290
- visibility: string;
1291
- mentions?: Array<Mention$Outbound> | undefined;
1292
- campaignSlug?: string | undefined;
1293
- actionSlug?: string | undefined;
1174
+ export type GetLinkedInPostAnalyticsRequest$Outbound = {
1175
+ postUrl: string;
1294
1176
  };
1295
1177
  /** @internal */
1296
- export declare const PublishLinkedInPostRequest$outboundSchema: z.ZodMiniType<PublishLinkedInPostRequest$Outbound, PublishLinkedInPostRequest>;
1297
- export declare function publishLinkedInPostRequestToJSON(publishLinkedInPostRequest: PublishLinkedInPostRequest): string;
1298
- /** @internal */
1299
- export declare const PublishLinkedInPostResponse$inboundSchema: z.ZodMiniType<PublishLinkedInPostResponse, unknown>;
1300
- export declare function publishLinkedInPostResponseFromJSON(jsonString: string): SafeParseResult<PublishLinkedInPostResponse, SDKValidationError>;
1178
+ export declare const GetLinkedInPostAnalyticsRequest$outboundSchema: z.ZodMiniType<GetLinkedInPostAnalyticsRequest$Outbound, GetLinkedInPostAnalyticsRequest>;
1179
+ export declare function getLinkedInPostAnalyticsRequestToJSON(getLinkedInPostAnalyticsRequest: GetLinkedInPostAnalyticsRequest): string;
1301
1180
  /** @internal */
1302
- export declare const GetMyLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePositionStartDate, unknown>;
1303
- export declare function getMyLinkedInProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePositionStartDate, SDKValidationError>;
1181
+ export declare const GetLinkedInPostAnalyticsResponse$inboundSchema: z.ZodMiniType<GetLinkedInPostAnalyticsResponse, unknown>;
1182
+ export declare function getLinkedInPostAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInPostAnalyticsResponse, SDKValidationError>;
1304
1183
  /** @internal */
1305
- export declare const GetMyLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePositionEndDate, unknown>;
1306
- export declare function getMyLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePositionEndDate, SDKValidationError>;
1184
+ export type GetLinkedInFollowerAnalyticsRequest$Outbound = {};
1307
1185
  /** @internal */
1308
- export declare const GetMyLinkedInProfilePosition$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePosition, unknown>;
1309
- export declare function getMyLinkedInProfilePositionFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePosition, SDKValidationError>;
1186
+ export declare const GetLinkedInFollowerAnalyticsRequest$outboundSchema: z.ZodMiniType<GetLinkedInFollowerAnalyticsRequest$Outbound, GetLinkedInFollowerAnalyticsRequest>;
1187
+ export declare function getLinkedInFollowerAnalyticsRequestToJSON(getLinkedInFollowerAnalyticsRequest: GetLinkedInFollowerAnalyticsRequest): string;
1310
1188
  /** @internal */
1311
- export declare const GetMyLinkedInProfileEducationStartDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducationStartDate, unknown>;
1312
- export declare function getMyLinkedInProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducationStartDate, SDKValidationError>;
1189
+ export declare const GetLinkedInFollowerAnalyticsResponse$inboundSchema: z.ZodMiniType<GetLinkedInFollowerAnalyticsResponse, unknown>;
1190
+ export declare function getLinkedInFollowerAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetLinkedInFollowerAnalyticsResponse, SDKValidationError>;
1313
1191
  /** @internal */
1314
- export declare const GetMyLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducationEndDate, unknown>;
1315
- export declare function getMyLinkedInProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducationEndDate, SDKValidationError>;
1192
+ export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
1193
+ export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
1316
1194
  /** @internal */
1317
- export declare const GetMyLinkedInProfileEducation$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducation, unknown>;
1318
- export declare function getMyLinkedInProfileEducationFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducation, SDKValidationError>;
1195
+ export declare const ListLinkedInCompanyPagesResponse$inboundSchema: z.ZodMiniType<ListLinkedInCompanyPagesResponse, unknown>;
1196
+ export declare function listLinkedInCompanyPagesResponseFromJSON(jsonString: string): SafeParseResult<ListLinkedInCompanyPagesResponse, SDKValidationError>;
1319
1197
  /** @internal */
1320
- export declare const GetMyLinkedInProfileLocation$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileLocation, unknown>;
1321
- export declare function getMyLinkedInProfileLocationFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileLocation, SDKValidationError>;
1198
+ export type GetCompanyPagePostsRequest$Outbound = {
1199
+ universalName: string;
1200
+ count: number;
1201
+ start: number;
1202
+ };
1322
1203
  /** @internal */
1323
- export declare const GetMyLinkedInProfileType$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileType, unknown>;
1204
+ export declare const GetCompanyPagePostsRequest$outboundSchema: z.ZodMiniType<GetCompanyPagePostsRequest$Outbound, GetCompanyPagePostsRequest>;
1205
+ export declare function getCompanyPagePostsRequestToJSON(getCompanyPagePostsRequest: GetCompanyPagePostsRequest): string;
1324
1206
  /** @internal */
1325
- export declare const GetMyLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileLastPost, unknown>;
1326
- export declare function getMyLinkedInProfileLastPostFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileLastPost, SDKValidationError>;
1207
+ export declare const GetCompanyPagePostsPost$inboundSchema: z.ZodMiniType<GetCompanyPagePostsPost, unknown>;
1208
+ export declare function getCompanyPagePostsPostFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePostsPost, SDKValidationError>;
1327
1209
  /** @internal */
1328
- export declare const GetMyLinkedInProfileResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileResponse, unknown>;
1329
- export declare function getMyLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileResponse, SDKValidationError>;
1210
+ export declare const GetCompanyPagePostsResponse$inboundSchema: z.ZodMiniType<GetCompanyPagePostsResponse, unknown>;
1211
+ export declare function getCompanyPagePostsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePostsResponse, SDKValidationError>;
1330
1212
  /** @internal */
1331
- export declare const RefreshMyLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePositionStartDate, unknown>;
1332
- export declare function refreshMyLinkedInProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePositionStartDate, SDKValidationError>;
1213
+ export type GetCompanyPagePermissionsRequest$Outbound = {
1214
+ universalName: string;
1215
+ };
1333
1216
  /** @internal */
1334
- export declare const RefreshMyLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePositionEndDate, unknown>;
1335
- export declare function refreshMyLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePositionEndDate, SDKValidationError>;
1217
+ export declare const GetCompanyPagePermissionsRequest$outboundSchema: z.ZodMiniType<GetCompanyPagePermissionsRequest$Outbound, GetCompanyPagePermissionsRequest>;
1218
+ export declare function getCompanyPagePermissionsRequestToJSON(getCompanyPagePermissionsRequest: GetCompanyPagePermissionsRequest): string;
1336
1219
  /** @internal */
1337
- export declare const RefreshMyLinkedInProfilePosition$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePosition, unknown>;
1338
- export declare function refreshMyLinkedInProfilePositionFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePosition, SDKValidationError>;
1220
+ export declare const Permissions$inboundSchema: z.ZodMiniType<Permissions, unknown>;
1221
+ export declare function permissionsFromJSON(jsonString: string): SafeParseResult<Permissions, SDKValidationError>;
1339
1222
  /** @internal */
1340
- export declare const RefreshMyLinkedInProfileEducationStartDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducationStartDate, unknown>;
1341
- export declare function refreshMyLinkedInProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducationStartDate, SDKValidationError>;
1223
+ export declare const GetCompanyPagePermissionsResponse$inboundSchema: z.ZodMiniType<GetCompanyPagePermissionsResponse, unknown>;
1224
+ export declare function getCompanyPagePermissionsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPagePermissionsResponse, SDKValidationError>;
1342
1225
  /** @internal */
1343
- export declare const RefreshMyLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducationEndDate, unknown>;
1344
- export declare function refreshMyLinkedInProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducationEndDate, SDKValidationError>;
1226
+ export type GetCompanyPageAnalyticsRequest$Outbound = {
1227
+ companyId: string;
1228
+ };
1345
1229
  /** @internal */
1346
- export declare const RefreshMyLinkedInProfileEducation$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducation, unknown>;
1347
- export declare function refreshMyLinkedInProfileEducationFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducation, SDKValidationError>;
1230
+ export declare const GetCompanyPageAnalyticsRequest$outboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsRequest$Outbound, GetCompanyPageAnalyticsRequest>;
1231
+ export declare function getCompanyPageAnalyticsRequestToJSON(getCompanyPageAnalyticsRequest: GetCompanyPageAnalyticsRequest): string;
1348
1232
  /** @internal */
1349
- export declare const RefreshMyLinkedInProfileLocation$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileLocation, unknown>;
1350
- export declare function refreshMyLinkedInProfileLocationFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileLocation, SDKValidationError>;
1233
+ export declare const GetCompanyPageAnalyticsFoundedOn$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsFoundedOn, unknown>;
1234
+ export declare function getCompanyPageAnalyticsFoundedOnFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsFoundedOn, SDKValidationError>;
1351
1235
  /** @internal */
1352
- export declare const RefreshMyLinkedInProfileType$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileType, unknown>;
1236
+ export declare const GetCompanyPageAnalyticsHeadquarter$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsHeadquarter, unknown>;
1237
+ export declare function getCompanyPageAnalyticsHeadquarterFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsHeadquarter, SDKValidationError>;
1353
1238
  /** @internal */
1354
- export declare const RefreshMyLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileLastPost, unknown>;
1355
- export declare function refreshMyLinkedInProfileLastPostFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileLastPost, SDKValidationError>;
1239
+ export declare const Analytics$inboundSchema: z.ZodMiniType<Analytics, unknown>;
1240
+ export declare function analyticsFromJSON(jsonString: string): SafeParseResult<Analytics, SDKValidationError>;
1356
1241
  /** @internal */
1357
- export declare const RefreshMyLinkedInProfileResponse$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileResponse, unknown>;
1358
- export declare function refreshMyLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileResponse, SDKValidationError>;
1242
+ export declare const GetCompanyPageAnalyticsResponse$inboundSchema: z.ZodMiniType<GetCompanyPageAnalyticsResponse, unknown>;
1243
+ export declare function getCompanyPageAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPageAnalyticsResponse, SDKValidationError>;
1359
1244
  /** @internal */
1360
- export type GetMyLinkedInPostsRequest$Outbound = {
1361
- count?: number | undefined;
1362
- start?: number | undefined;
1363
- paginationToken?: string | undefined;
1245
+ export type ListInboxConversationsRequest$Outbound = {
1246
+ nextCursor?: string | undefined;
1364
1247
  };
1365
1248
  /** @internal */
1366
- export declare const GetMyLinkedInPostsRequest$outboundSchema: z.ZodMiniType<GetMyLinkedInPostsRequest$Outbound, GetMyLinkedInPostsRequest>;
1367
- export declare function getMyLinkedInPostsRequestToJSON(getMyLinkedInPostsRequest: GetMyLinkedInPostsRequest): string;
1249
+ export declare const ListInboxConversationsRequest$outboundSchema: z.ZodMiniType<ListInboxConversationsRequest$Outbound, ListInboxConversationsRequest>;
1250
+ export declare function listInboxConversationsRequestToJSON(listInboxConversationsRequest: ListInboxConversationsRequest): string;
1251
+ /** @internal */
1252
+ export declare const ListInboxConversationsParticipant$inboundSchema: z.ZodMiniType<ListInboxConversationsParticipant, unknown>;
1253
+ export declare function listInboxConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsParticipant, SDKValidationError>;
1368
1254
  /** @internal */
1369
- export declare const GetMyLinkedInPostsType$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsType, unknown>;
1255
+ export declare const ListInboxConversationsLastMessage$inboundSchema: z.ZodMiniType<ListInboxConversationsLastMessage, unknown>;
1256
+ export declare function listInboxConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError>;
1370
1257
  /** @internal */
1371
- export declare const GetMyLinkedInPostsPost$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsPost, unknown>;
1372
- export declare function getMyLinkedInPostsPostFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInPostsPost, SDKValidationError>;
1258
+ export declare const ListInboxConversationsConversation$inboundSchema: z.ZodMiniType<ListInboxConversationsConversation, unknown>;
1259
+ export declare function listInboxConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsConversation, SDKValidationError>;
1373
1260
  /** @internal */
1374
- export declare const GetMyLinkedInPostsResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsResponse, unknown>;
1375
- export declare function getMyLinkedInPostsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInPostsResponse, SDKValidationError>;
1261
+ export declare const ListInboxConversationsResponse$inboundSchema: z.ZodMiniType<ListInboxConversationsResponse, unknown>;
1262
+ export declare function listInboxConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsResponse, SDKValidationError>;
1376
1263
  /** @internal */
1377
- export type GetMyLinkedInFollowersRequest$Outbound = {
1378
- start?: number | undefined;
1379
- count?: number | undefined;
1264
+ export type GetConversationMessagesRequest$Outbound = {
1265
+ conversationUrn: string;
1266
+ deliveredAt?: number | undefined;
1380
1267
  };
1381
1268
  /** @internal */
1382
- export declare const GetMyLinkedInFollowersRequest$outboundSchema: z.ZodMiniType<GetMyLinkedInFollowersRequest$Outbound, GetMyLinkedInFollowersRequest>;
1383
- export declare function getMyLinkedInFollowersRequestToJSON(getMyLinkedInFollowersRequest: GetMyLinkedInFollowersRequest): string;
1384
- /** @internal */
1385
- export declare const Follower$inboundSchema: z.ZodMiniType<Follower, unknown>;
1386
- export declare function followerFromJSON(jsonString: string): SafeParseResult<Follower, SDKValidationError>;
1269
+ export declare const GetConversationMessagesRequest$outboundSchema: z.ZodMiniType<GetConversationMessagesRequest$Outbound, GetConversationMessagesRequest>;
1270
+ export declare function getConversationMessagesRequestToJSON(getConversationMessagesRequest: GetConversationMessagesRequest): string;
1387
1271
  /** @internal */
1388
- export declare const GetMyLinkedInFollowersResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInFollowersResponse, unknown>;
1389
- export declare function getMyLinkedInFollowersResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInFollowersResponse, SDKValidationError>;
1272
+ export declare const GetConversationMessagesSender$inboundSchema: z.ZodMiniType<GetConversationMessagesSender, unknown>;
1273
+ export declare function getConversationMessagesSenderFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesSender, SDKValidationError>;
1390
1274
  /** @internal */
1391
- export declare const ConnectionRequestDaily$inboundSchema: z.ZodMiniType<ConnectionRequestDaily, unknown>;
1392
- export declare function connectionRequestDailyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestDaily, SDKValidationError>;
1275
+ export declare const GetConversationMessagesType$inboundSchema: z.ZodMiniType<GetConversationMessagesType, unknown>;
1393
1276
  /** @internal */
1394
- export declare const ConnectionRequestWeekly$inboundSchema: z.ZodMiniType<ConnectionRequestWeekly, unknown>;
1395
- export declare function connectionRequestWeeklyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestWeekly, SDKValidationError>;
1277
+ export declare const GetConversationMessagesAttachment$inboundSchema: z.ZodMiniType<GetConversationMessagesAttachment, unknown>;
1278
+ export declare function getConversationMessagesAttachmentFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesAttachment, SDKValidationError>;
1396
1279
  /** @internal */
1397
- export declare const ConnectionRequest$inboundSchema: z.ZodMiniType<ConnectionRequest, unknown>;
1398
- export declare function connectionRequestFromJSON(jsonString: string): SafeParseResult<ConnectionRequest, SDKValidationError>;
1280
+ export declare const GetConversationMessagesMessage$inboundSchema: z.ZodMiniType<GetConversationMessagesMessage, unknown>;
1281
+ export declare function getConversationMessagesMessageFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesMessage, SDKValidationError>;
1399
1282
  /** @internal */
1400
- export declare const MessageDaily$inboundSchema: z.ZodMiniType<MessageDaily, unknown>;
1401
- export declare function messageDailyFromJSON(jsonString: string): SafeParseResult<MessageDaily, SDKValidationError>;
1283
+ export declare const GetConversationMessagesResponse$inboundSchema: z.ZodMiniType<GetConversationMessagesResponse, unknown>;
1284
+ export declare function getConversationMessagesResponseFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesResponse, SDKValidationError>;
1402
1285
  /** @internal */
1403
- export declare const MessageWeekly$inboundSchema: z.ZodMiniType<MessageWeekly, unknown>;
1404
- export declare function messageWeeklyFromJSON(jsonString: string): SafeParseResult<MessageWeekly, SDKValidationError>;
1286
+ export type MarkAllConversationsReadRequest$Outbound = {};
1405
1287
  /** @internal */
1406
- export declare const GetMyLimitsMessage$inboundSchema: z.ZodMiniType<GetMyLimitsMessage, unknown>;
1407
- export declare function getMyLimitsMessageFromJSON(jsonString: string): SafeParseResult<GetMyLimitsMessage, SDKValidationError>;
1288
+ export declare const MarkAllConversationsReadRequest$outboundSchema: z.ZodMiniType<MarkAllConversationsReadRequest$Outbound, MarkAllConversationsReadRequest>;
1289
+ export declare function markAllConversationsReadRequestToJSON(markAllConversationsReadRequest: MarkAllConversationsReadRequest): string;
1408
1290
  /** @internal */
1409
- export declare const ProfileVisitDaily$inboundSchema: z.ZodMiniType<ProfileVisitDaily, unknown>;
1410
- export declare function profileVisitDailyFromJSON(jsonString: string): SafeParseResult<ProfileVisitDaily, SDKValidationError>;
1291
+ export declare const MarkAllConversationsReadResponse$inboundSchema: z.ZodMiniType<MarkAllConversationsReadResponse, unknown>;
1292
+ export declare function markAllConversationsReadResponseFromJSON(jsonString: string): SafeParseResult<MarkAllConversationsReadResponse, SDKValidationError>;
1411
1293
  /** @internal */
1412
- export declare const ProfileVisitWeekly$inboundSchema: z.ZodMiniType<ProfileVisitWeekly, unknown>;
1413
- export declare function profileVisitWeeklyFromJSON(jsonString: string): SafeParseResult<ProfileVisitWeekly, SDKValidationError>;
1294
+ export type ListArchivedConversationsRequest$Outbound = {
1295
+ nextCursor?: string | undefined;
1296
+ };
1414
1297
  /** @internal */
1415
- export declare const ProfileVisit$inboundSchema: z.ZodMiniType<ProfileVisit, unknown>;
1416
- export declare function profileVisitFromJSON(jsonString: string): SafeParseResult<ProfileVisit, SDKValidationError>;
1298
+ export declare const ListArchivedConversationsRequest$outboundSchema: z.ZodMiniType<ListArchivedConversationsRequest$Outbound, ListArchivedConversationsRequest>;
1299
+ export declare function listArchivedConversationsRequestToJSON(listArchivedConversationsRequest: ListArchivedConversationsRequest): string;
1417
1300
  /** @internal */
1418
- export declare const ScrapingDaily$inboundSchema: z.ZodMiniType<ScrapingDaily, unknown>;
1419
- export declare function scrapingDailyFromJSON(jsonString: string): SafeParseResult<ScrapingDaily, SDKValidationError>;
1301
+ export declare const ListArchivedConversationsParticipant$inboundSchema: z.ZodMiniType<ListArchivedConversationsParticipant, unknown>;
1302
+ export declare function listArchivedConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsParticipant, SDKValidationError>;
1420
1303
  /** @internal */
1421
- export declare const ScrapingWeekly$inboundSchema: z.ZodMiniType<ScrapingWeekly, unknown>;
1422
- export declare function scrapingWeeklyFromJSON(jsonString: string): SafeParseResult<ScrapingWeekly, SDKValidationError>;
1304
+ export declare const ListArchivedConversationsLastMessage$inboundSchema: z.ZodMiniType<ListArchivedConversationsLastMessage, unknown>;
1305
+ export declare function listArchivedConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsLastMessage, SDKValidationError>;
1423
1306
  /** @internal */
1424
- export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
1425
- export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
1307
+ export declare const ListArchivedConversationsConversation$inboundSchema: z.ZodMiniType<ListArchivedConversationsConversation, unknown>;
1308
+ export declare function listArchivedConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsConversation, SDKValidationError>;
1426
1309
  /** @internal */
1427
- export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
1428
- export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
1310
+ export declare const ListArchivedConversationsResponse$inboundSchema: z.ZodMiniType<ListArchivedConversationsResponse, unknown>;
1311
+ export declare function listArchivedConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListArchivedConversationsResponse, SDKValidationError>;
1429
1312
  /** @internal */
1430
- export declare const GetMyLimitsResponse$inboundSchema: z.ZodMiniType<GetMyLimitsResponse, unknown>;
1431
- export declare function getMyLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLimitsResponse, SDKValidationError>;
1313
+ export type ReactToMessageRequest$Outbound = {
1314
+ messageUrn: string;
1315
+ emoji: string;
1316
+ conversationUrn: string;
1317
+ };
1432
1318
  /** @internal */
1433
- export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
1434
- export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
1319
+ export declare const ReactToMessageRequest$outboundSchema: z.ZodMiniType<ReactToMessageRequest$Outbound, ReactToMessageRequest>;
1320
+ export declare function reactToMessageRequestToJSON(reactToMessageRequest: ReactToMessageRequest): string;
1435
1321
  /** @internal */
1436
- export declare const GetMyCreditsResponse$inboundSchema: z.ZodMiniType<GetMyCreditsResponse, unknown>;
1437
- export declare function getMyCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetMyCreditsResponse, SDKValidationError>;
1322
+ export declare const ReactToMessageResponse$inboundSchema: z.ZodMiniType<ReactToMessageResponse, unknown>;
1323
+ export declare function reactToMessageResponseFromJSON(jsonString: string): SafeParseResult<ReactToMessageResponse, SDKValidationError>;
1438
1324
  /** @internal */
1439
- export type ListInboxConversationsRequest$Outbound = {
1440
- nextCursor?: string | undefined;
1325
+ export type SendTypingIndicatorRequest$Outbound = {
1326
+ conversationUrn: string;
1441
1327
  };
1442
1328
  /** @internal */
1443
- export declare const ListInboxConversationsRequest$outboundSchema: z.ZodMiniType<ListInboxConversationsRequest$Outbound, ListInboxConversationsRequest>;
1444
- export declare function listInboxConversationsRequestToJSON(listInboxConversationsRequest: ListInboxConversationsRequest): string;
1329
+ export declare const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<SendTypingIndicatorRequest$Outbound, SendTypingIndicatorRequest>;
1330
+ export declare function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest: SendTypingIndicatorRequest): string;
1445
1331
  /** @internal */
1446
- export declare const ListInboxConversationsParticipant$inboundSchema: z.ZodMiniType<ListInboxConversationsParticipant, unknown>;
1447
- export declare function listInboxConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsParticipant, SDKValidationError>;
1332
+ export declare const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<SendTypingIndicatorResponse, unknown>;
1333
+ export declare function sendTypingIndicatorResponseFromJSON(jsonString: string): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError>;
1448
1334
  /** @internal */
1449
- export declare const ListInboxConversationsLastMessage$inboundSchema: z.ZodMiniType<ListInboxConversationsLastMessage, unknown>;
1450
- export declare function listInboxConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError>;
1335
+ export type GetUnreadCountRequest$Outbound = {};
1451
1336
  /** @internal */
1452
- export declare const ListInboxConversationsConversation$inboundSchema: z.ZodMiniType<ListInboxConversationsConversation, unknown>;
1453
- export declare function listInboxConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsConversation, SDKValidationError>;
1337
+ export declare const GetUnreadCountRequest$outboundSchema: z.ZodMiniType<GetUnreadCountRequest$Outbound, GetUnreadCountRequest>;
1338
+ export declare function getUnreadCountRequestToJSON(getUnreadCountRequest: GetUnreadCountRequest): string;
1454
1339
  /** @internal */
1455
- export declare const ListInboxConversationsResponse$inboundSchema: z.ZodMiniType<ListInboxConversationsResponse, unknown>;
1456
- export declare function listInboxConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsResponse, SDKValidationError>;
1340
+ export declare const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<GetUnreadCountResponse, unknown>;
1341
+ export declare function getUnreadCountResponseFromJSON(jsonString: string): SafeParseResult<GetUnreadCountResponse, SDKValidationError>;
1457
1342
  /** @internal */
1458
1343
  export type SearchLinkedInConversationsRequest$Outbound = {
1459
1344
  keywords: string;
@@ -1500,27 +1385,86 @@ export declare function findLinkedInConversationMessageFromJSON(jsonString: stri
1500
1385
  export declare const FindLinkedInConversationResponse$inboundSchema: z.ZodMiniType<FindLinkedInConversationResponse, unknown>;
1501
1386
  export declare function findLinkedInConversationResponseFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationResponse, SDKValidationError>;
1502
1387
  /** @internal */
1503
- export type GetConversationMessagesRequest$Outbound = {
1388
+ export type ArchiveConversationRequest$Outbound = {
1504
1389
  conversationUrn: string;
1505
- deliveredAt?: number | undefined;
1506
1390
  };
1507
1391
  /** @internal */
1508
- export declare const GetConversationMessagesRequest$outboundSchema: z.ZodMiniType<GetConversationMessagesRequest$Outbound, GetConversationMessagesRequest>;
1509
- export declare function getConversationMessagesRequestToJSON(getConversationMessagesRequest: GetConversationMessagesRequest): string;
1392
+ export declare const ArchiveConversationRequest$outboundSchema: z.ZodMiniType<ArchiveConversationRequest$Outbound, ArchiveConversationRequest>;
1393
+ export declare function archiveConversationRequestToJSON(archiveConversationRequest: ArchiveConversationRequest): string;
1510
1394
  /** @internal */
1511
- export declare const GetConversationMessagesSender$inboundSchema: z.ZodMiniType<GetConversationMessagesSender, unknown>;
1512
- export declare function getConversationMessagesSenderFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesSender, SDKValidationError>;
1395
+ export declare const ArchiveConversationResponse$inboundSchema: z.ZodMiniType<ArchiveConversationResponse, unknown>;
1396
+ export declare function archiveConversationResponseFromJSON(jsonString: string): SafeParseResult<ArchiveConversationResponse, SDKValidationError>;
1513
1397
  /** @internal */
1514
- export declare const GetConversationMessagesType$inboundSchema: z.ZodMiniType<GetConversationMessagesType, unknown>;
1398
+ export type UnreactToMessageRequest$Outbound = {
1399
+ messageUrn: string;
1400
+ emoji: string;
1401
+ conversationUrn: string;
1402
+ };
1515
1403
  /** @internal */
1516
- export declare const GetConversationMessagesAttachment$inboundSchema: z.ZodMiniType<GetConversationMessagesAttachment, unknown>;
1517
- export declare function getConversationMessagesAttachmentFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesAttachment, SDKValidationError>;
1404
+ export declare const UnreactToMessageRequest$outboundSchema: z.ZodMiniType<UnreactToMessageRequest$Outbound, UnreactToMessageRequest>;
1405
+ export declare function unreactToMessageRequestToJSON(unreactToMessageRequest: UnreactToMessageRequest): string;
1518
1406
  /** @internal */
1519
- export declare const GetConversationMessagesMessage$inboundSchema: z.ZodMiniType<GetConversationMessagesMessage, unknown>;
1520
- export declare function getConversationMessagesMessageFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesMessage, SDKValidationError>;
1407
+ export declare const UnreactToMessageResponse$inboundSchema: z.ZodMiniType<UnreactToMessageResponse, unknown>;
1408
+ export declare function unreactToMessageResponseFromJSON(jsonString: string): SafeParseResult<UnreactToMessageResponse, SDKValidationError>;
1521
1409
  /** @internal */
1522
- export declare const GetConversationMessagesResponse$inboundSchema: z.ZodMiniType<GetConversationMessagesResponse, unknown>;
1523
- export declare function getConversationMessagesResponseFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesResponse, SDKValidationError>;
1410
+ export type MarkConversationSeenRequest$Outbound = {
1411
+ conversationUrn: string;
1412
+ };
1413
+ /** @internal */
1414
+ export declare const MarkConversationSeenRequest$outboundSchema: z.ZodMiniType<MarkConversationSeenRequest$Outbound, MarkConversationSeenRequest>;
1415
+ export declare function markConversationSeenRequestToJSON(markConversationSeenRequest: MarkConversationSeenRequest): string;
1416
+ /** @internal */
1417
+ export declare const MarkConversationSeenResponse$inboundSchema: z.ZodMiniType<MarkConversationSeenResponse, unknown>;
1418
+ export declare function markConversationSeenResponseFromJSON(jsonString: string): SafeParseResult<MarkConversationSeenResponse, SDKValidationError>;
1419
+ /** @internal */
1420
+ export type StarConversationRequest$Outbound = {
1421
+ conversationUrn: string;
1422
+ };
1423
+ /** @internal */
1424
+ export declare const StarConversationRequest$outboundSchema: z.ZodMiniType<StarConversationRequest$Outbound, StarConversationRequest>;
1425
+ export declare function starConversationRequestToJSON(starConversationRequest: StarConversationRequest): string;
1426
+ /** @internal */
1427
+ export declare const StarConversationResponse$inboundSchema: z.ZodMiniType<StarConversationResponse, unknown>;
1428
+ export declare function starConversationResponseFromJSON(jsonString: string): SafeParseResult<StarConversationResponse, SDKValidationError>;
1429
+ /** @internal */
1430
+ export type UnstarConversationRequest$Outbound = {
1431
+ conversationUrn: string;
1432
+ };
1433
+ /** @internal */
1434
+ export declare const UnstarConversationRequest$outboundSchema: z.ZodMiniType<UnstarConversationRequest$Outbound, UnstarConversationRequest>;
1435
+ export declare function unstarConversationRequestToJSON(unstarConversationRequest: UnstarConversationRequest): string;
1436
+ /** @internal */
1437
+ export declare const UnstarConversationResponse$inboundSchema: z.ZodMiniType<UnstarConversationResponse, unknown>;
1438
+ export declare function unstarConversationResponseFromJSON(jsonString: string): SafeParseResult<UnstarConversationResponse, SDKValidationError>;
1439
+ /** @internal */
1440
+ export type ListStarredConversationsRequest$Outbound = {
1441
+ nextCursor?: string | undefined;
1442
+ };
1443
+ /** @internal */
1444
+ export declare const ListStarredConversationsRequest$outboundSchema: z.ZodMiniType<ListStarredConversationsRequest$Outbound, ListStarredConversationsRequest>;
1445
+ export declare function listStarredConversationsRequestToJSON(listStarredConversationsRequest: ListStarredConversationsRequest): string;
1446
+ /** @internal */
1447
+ export declare const ListStarredConversationsParticipant$inboundSchema: z.ZodMiniType<ListStarredConversationsParticipant, unknown>;
1448
+ export declare function listStarredConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsParticipant, SDKValidationError>;
1449
+ /** @internal */
1450
+ export declare const ListStarredConversationsLastMessage$inboundSchema: z.ZodMiniType<ListStarredConversationsLastMessage, unknown>;
1451
+ export declare function listStarredConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsLastMessage, SDKValidationError>;
1452
+ /** @internal */
1453
+ export declare const ListStarredConversationsConversation$inboundSchema: z.ZodMiniType<ListStarredConversationsConversation, unknown>;
1454
+ export declare function listStarredConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsConversation, SDKValidationError>;
1455
+ /** @internal */
1456
+ export declare const ListStarredConversationsResponse$inboundSchema: z.ZodMiniType<ListStarredConversationsResponse, unknown>;
1457
+ export declare function listStarredConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListStarredConversationsResponse, SDKValidationError>;
1458
+ /** @internal */
1459
+ export type UnarchiveConversationRequest$Outbound = {
1460
+ conversationUrn: string;
1461
+ };
1462
+ /** @internal */
1463
+ export declare const UnarchiveConversationRequest$outboundSchema: z.ZodMiniType<UnarchiveConversationRequest$Outbound, UnarchiveConversationRequest>;
1464
+ export declare function unarchiveConversationRequestToJSON(unarchiveConversationRequest: UnarchiveConversationRequest): string;
1465
+ /** @internal */
1466
+ export declare const UnarchiveConversationResponse$inboundSchema: z.ZodMiniType<UnarchiveConversationResponse, unknown>;
1467
+ export declare function unarchiveConversationResponseFromJSON(jsonString: string): SafeParseResult<UnarchiveConversationResponse, SDKValidationError>;
1524
1468
  /** @internal */
1525
1469
  export type FilterCampaignRequest$Outbound = {
1526
1470
  campaignSlug: string;