bereach 1.3.2 → 1.4.0-beta.10

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 (1156) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +235 -149
  3. package/esm/funcs/actions-accept-invitation.d.ts +18 -0
  4. package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
  5. package/esm/funcs/actions-accept-invitation.js +97 -0
  6. package/esm/funcs/actions-accept-invitation.js.map +1 -0
  7. package/esm/funcs/actions-connect-profile.d.ts +2 -2
  8. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  9. package/esm/funcs/actions-connect-profile.js +6 -4
  10. package/esm/funcs/actions-connect-profile.js.map +1 -1
  11. package/esm/funcs/actions-create-comment.d.ts +18 -0
  12. package/esm/funcs/actions-create-comment.d.ts.map +1 -0
  13. package/esm/funcs/actions-create-comment.js +97 -0
  14. package/esm/funcs/actions-create-comment.js.map +1 -0
  15. package/esm/funcs/actions-decline-invitation.d.ts +18 -0
  16. package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
  17. package/esm/funcs/actions-decline-invitation.js +97 -0
  18. package/esm/funcs/actions-decline-invitation.js.map +1 -0
  19. package/esm/funcs/actions-edit-comment.d.ts +18 -0
  20. package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
  21. package/esm/funcs/actions-edit-comment.js +97 -0
  22. package/esm/funcs/actions-edit-comment.js.map +1 -0
  23. package/esm/funcs/actions-edit-post.d.ts +18 -0
  24. package/esm/funcs/actions-edit-post.d.ts.map +1 -0
  25. package/esm/funcs/actions-edit-post.js +97 -0
  26. package/esm/funcs/actions-edit-post.js.map +1 -0
  27. package/esm/funcs/actions-follow-company.d.ts +1 -1
  28. package/esm/funcs/actions-follow-company.d.ts.map +1 -1
  29. package/esm/funcs/actions-follow-company.js +5 -3
  30. package/esm/funcs/actions-follow-company.js.map +1 -1
  31. package/esm/funcs/actions-follow-profile.d.ts +18 -0
  32. package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
  33. package/esm/funcs/actions-follow-profile.js +97 -0
  34. package/esm/funcs/actions-follow-profile.js.map +1 -0
  35. package/esm/funcs/actions-like-comment.d.ts +18 -0
  36. package/esm/funcs/actions-like-comment.d.ts.map +1 -0
  37. package/esm/funcs/actions-like-comment.js +97 -0
  38. package/esm/funcs/actions-like-comment.js.map +1 -0
  39. package/esm/funcs/actions-like-post.d.ts +18 -0
  40. package/esm/funcs/actions-like-post.d.ts.map +1 -0
  41. package/esm/funcs/actions-like-post.js +97 -0
  42. package/esm/funcs/actions-like-post.js.map +1 -0
  43. package/esm/funcs/actions-list-invitations.d.ts +18 -0
  44. package/esm/funcs/actions-list-invitations.d.ts.map +1 -0
  45. package/esm/funcs/actions-list-invitations.js +99 -0
  46. package/esm/funcs/actions-list-invitations.js.map +1 -0
  47. package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
  48. package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
  49. package/esm/funcs/actions-list-sent-invitations.js +5 -3
  50. package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
  51. package/esm/funcs/actions-publish-post.d.ts +18 -0
  52. package/esm/funcs/actions-publish-post.d.ts.map +1 -0
  53. package/esm/funcs/actions-publish-post.js +97 -0
  54. package/esm/funcs/actions-publish-post.js.map +1 -0
  55. package/esm/funcs/actions-reply-to-comment.d.ts +18 -0
  56. package/esm/funcs/actions-reply-to-comment.d.ts.map +1 -0
  57. package/esm/funcs/actions-reply-to-comment.js +97 -0
  58. package/esm/funcs/actions-reply-to-comment.js.map +1 -0
  59. package/esm/funcs/actions-repost-post.d.ts +18 -0
  60. package/esm/funcs/actions-repost-post.d.ts.map +1 -0
  61. package/esm/funcs/actions-repost-post.js +97 -0
  62. package/esm/funcs/actions-repost-post.js.map +1 -0
  63. package/esm/funcs/actions-save-post.d.ts +18 -0
  64. package/esm/funcs/actions-save-post.d.ts.map +1 -0
  65. package/esm/funcs/actions-save-post.js +97 -0
  66. package/esm/funcs/actions-save-post.js.map +1 -0
  67. package/esm/funcs/actions-send-message.d.ts +2 -2
  68. package/esm/funcs/actions-send-message.d.ts.map +1 -1
  69. package/esm/funcs/actions-send-message.js +6 -4
  70. package/esm/funcs/actions-send-message.js.map +1 -1
  71. package/esm/funcs/actions-unfollow-company.d.ts +18 -0
  72. package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
  73. package/esm/funcs/actions-unfollow-company.js +97 -0
  74. package/esm/funcs/actions-unfollow-company.js.map +1 -0
  75. package/esm/funcs/actions-unfollow-profile.d.ts +18 -0
  76. package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
  77. package/esm/funcs/actions-unfollow-profile.js +97 -0
  78. package/esm/funcs/actions-unfollow-profile.js.map +1 -0
  79. package/esm/funcs/actions-unlike-comment.d.ts +18 -0
  80. package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
  81. package/esm/funcs/actions-unlike-comment.js +97 -0
  82. package/esm/funcs/actions-unlike-comment.js.map +1 -0
  83. package/esm/funcs/actions-unlike-post.d.ts +18 -0
  84. package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
  85. package/esm/funcs/actions-unlike-post.js +97 -0
  86. package/esm/funcs/actions-unlike-post.js.map +1 -0
  87. package/esm/funcs/actions-unsave-post.d.ts +18 -0
  88. package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
  89. package/esm/funcs/actions-unsave-post.js +97 -0
  90. package/esm/funcs/actions-unsave-post.js.map +1 -0
  91. package/esm/funcs/actions-withdraw-invitation.d.ts +18 -0
  92. package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
  93. package/esm/funcs/actions-withdraw-invitation.js +97 -0
  94. package/esm/funcs/actions-withdraw-invitation.js.map +1 -0
  95. package/esm/funcs/campaigns-filter.d.ts +1 -1
  96. package/esm/funcs/campaigns-filter.d.ts.map +1 -1
  97. package/esm/funcs/campaigns-filter.js +5 -3
  98. package/esm/funcs/campaigns-filter.js.map +1 -1
  99. package/esm/funcs/campaigns-get-status.d.ts +1 -1
  100. package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
  101. package/esm/funcs/campaigns-get-status.js +5 -3
  102. package/esm/funcs/campaigns-get-status.js.map +1 -1
  103. package/esm/funcs/campaigns-stats.d.ts +18 -0
  104. package/esm/funcs/campaigns-stats.d.ts.map +1 -0
  105. package/esm/funcs/campaigns-stats.js +102 -0
  106. package/esm/funcs/campaigns-stats.js.map +1 -0
  107. package/esm/funcs/campaigns-sync.d.ts +1 -1
  108. package/esm/funcs/campaigns-sync.d.ts.map +1 -1
  109. package/esm/funcs/campaigns-sync.js +5 -3
  110. package/esm/funcs/campaigns-sync.js.map +1 -1
  111. package/esm/funcs/chat-archive.d.ts +1 -1
  112. package/esm/funcs/chat-archive.d.ts.map +1 -1
  113. package/esm/funcs/chat-archive.js +5 -3
  114. package/esm/funcs/chat-archive.js.map +1 -1
  115. package/esm/funcs/chat-find-conversation.d.ts +2 -9
  116. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  117. package/esm/funcs/chat-find-conversation.js +6 -11
  118. package/esm/funcs/chat-find-conversation.js.map +1 -1
  119. package/esm/funcs/chat-get-messages.d.ts +22 -0
  120. package/esm/funcs/chat-get-messages.d.ts.map +1 -0
  121. package/esm/funcs/chat-get-messages.js +105 -0
  122. package/esm/funcs/chat-get-messages.js.map +1 -0
  123. package/esm/funcs/chat-get-unread-count.d.ts +18 -0
  124. package/esm/funcs/chat-get-unread-count.d.ts.map +1 -0
  125. package/esm/funcs/chat-get-unread-count.js +86 -0
  126. package/esm/funcs/chat-get-unread-count.js.map +1 -0
  127. package/esm/funcs/chat-list-archived.d.ts +18 -0
  128. package/esm/funcs/chat-list-archived.d.ts.map +1 -0
  129. package/esm/funcs/chat-list-archived.js +100 -0
  130. package/esm/funcs/chat-list-archived.js.map +1 -0
  131. package/esm/funcs/chat-list-inbox.d.ts +18 -0
  132. package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
  133. package/esm/funcs/chat-list-inbox.js +99 -0
  134. package/esm/funcs/chat-list-inbox.js.map +1 -0
  135. package/esm/funcs/chat-list-starred.d.ts +18 -0
  136. package/esm/funcs/chat-list-starred.d.ts.map +1 -0
  137. package/esm/funcs/chat-list-starred.js +100 -0
  138. package/esm/funcs/chat-list-starred.js.map +1 -0
  139. package/esm/funcs/chat-mark-all-read.d.ts +18 -0
  140. package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
  141. package/esm/funcs/chat-mark-all-read.js +87 -0
  142. package/esm/funcs/chat-mark-all-read.js.map +1 -0
  143. package/esm/funcs/chat-mark-seen.d.ts +18 -0
  144. package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
  145. package/esm/funcs/chat-mark-seen.js +97 -0
  146. package/esm/funcs/chat-mark-seen.js.map +1 -0
  147. package/esm/funcs/chat-react.d.ts +18 -0
  148. package/esm/funcs/chat-react.d.ts.map +1 -0
  149. package/esm/funcs/chat-react.js +97 -0
  150. package/esm/funcs/chat-react.js.map +1 -0
  151. package/esm/funcs/chat-search-conversations.d.ts +2 -2
  152. package/esm/funcs/chat-search-conversations.d.ts.map +1 -1
  153. package/esm/funcs/chat-search-conversations.js +14 -8
  154. package/esm/funcs/chat-search-conversations.js.map +1 -1
  155. package/esm/funcs/chat-send-typing-indicator.d.ts +18 -0
  156. package/esm/funcs/chat-send-typing-indicator.d.ts.map +1 -0
  157. package/esm/funcs/chat-send-typing-indicator.js +97 -0
  158. package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
  159. package/esm/funcs/chat-star.d.ts +18 -0
  160. package/esm/funcs/chat-star.d.ts.map +1 -0
  161. package/esm/funcs/chat-star.js +97 -0
  162. package/esm/funcs/chat-star.js.map +1 -0
  163. package/esm/funcs/chat-unarchive.d.ts +18 -0
  164. package/esm/funcs/chat-unarchive.d.ts.map +1 -0
  165. package/esm/funcs/chat-unarchive.js +97 -0
  166. package/esm/funcs/chat-unarchive.js.map +1 -0
  167. package/esm/funcs/chat-unreact.d.ts +1 -1
  168. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  169. package/esm/funcs/chat-unreact.js +5 -3
  170. package/esm/funcs/chat-unreact.js.map +1 -1
  171. package/esm/funcs/chat-unstar.d.ts +18 -0
  172. package/esm/funcs/chat-unstar.d.ts.map +1 -0
  173. package/esm/funcs/chat-unstar.js +97 -0
  174. package/esm/funcs/chat-unstar.js.map +1 -0
  175. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  176. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  177. package/esm/funcs/company-pages-get-analytics.js +5 -3
  178. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  179. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  180. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  181. package/esm/funcs/company-pages-get-permissions.js +5 -3
  182. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  183. package/esm/funcs/company-pages-list.d.ts +1 -1
  184. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  185. package/esm/funcs/company-pages-list.js +4 -2
  186. package/esm/funcs/company-pages-list.js.map +1 -1
  187. package/esm/funcs/company-pages-posts.d.ts +18 -0
  188. package/esm/funcs/company-pages-posts.d.ts.map +1 -0
  189. package/esm/funcs/company-pages-posts.js +97 -0
  190. package/esm/funcs/company-pages-posts.js.map +1 -0
  191. package/esm/funcs/contacts-add-activities.d.ts +18 -0
  192. package/esm/funcs/contacts-add-activities.d.ts.map +1 -0
  193. package/esm/funcs/contacts-add-activities.js +103 -0
  194. package/esm/funcs/contacts-add-activities.js.map +1 -0
  195. package/esm/funcs/contacts-add-to-campaign.d.ts +18 -0
  196. package/esm/funcs/contacts-add-to-campaign.d.ts.map +1 -0
  197. package/esm/funcs/contacts-add-to-campaign.js +103 -0
  198. package/esm/funcs/contacts-add-to-campaign.js.map +1 -0
  199. package/esm/funcs/contacts-bulk-update.d.ts +18 -0
  200. package/esm/funcs/contacts-bulk-update.d.ts.map +1 -0
  201. package/esm/funcs/contacts-bulk-update.js +97 -0
  202. package/esm/funcs/contacts-bulk-update.js.map +1 -0
  203. package/esm/funcs/contacts-campaign-status-transition.d.ts +18 -0
  204. package/esm/funcs/contacts-campaign-status-transition.d.ts.map +1 -0
  205. package/esm/funcs/contacts-campaign-status-transition.js +103 -0
  206. package/esm/funcs/contacts-campaign-status-transition.js.map +1 -0
  207. package/esm/funcs/contacts-create-campaign.d.ts +18 -0
  208. package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
  209. package/esm/funcs/contacts-create-campaign.js +97 -0
  210. package/esm/funcs/contacts-create-campaign.js.map +1 -0
  211. package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
  212. package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
  213. package/esm/funcs/contacts-delete-agent-state.js +102 -0
  214. package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
  215. package/esm/funcs/contacts-delete-campaign.d.ts +18 -0
  216. package/esm/funcs/contacts-delete-campaign.d.ts.map +1 -0
  217. package/esm/funcs/contacts-delete-campaign.js +102 -0
  218. package/esm/funcs/contacts-delete-campaign.js.map +1 -0
  219. package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
  220. package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
  221. package/esm/funcs/contacts-get-agent-state.js +102 -0
  222. package/esm/funcs/contacts-get-agent-state.js.map +1 -0
  223. package/esm/funcs/contacts-get-by-url.d.ts +18 -0
  224. package/esm/funcs/contacts-get-by-url.d.ts.map +1 -0
  225. package/esm/funcs/contacts-get-by-url.js +100 -0
  226. package/esm/funcs/contacts-get-by-url.js.map +1 -0
  227. package/esm/funcs/contacts-get-campaign.d.ts +18 -0
  228. package/esm/funcs/contacts-get-campaign.d.ts.map +1 -0
  229. package/esm/funcs/contacts-get-campaign.js +102 -0
  230. package/esm/funcs/contacts-get-campaign.js.map +1 -0
  231. package/esm/funcs/contacts-get.d.ts +18 -0
  232. package/esm/funcs/contacts-get.d.ts.map +1 -0
  233. package/esm/funcs/contacts-get.js +102 -0
  234. package/esm/funcs/contacts-get.js.map +1 -0
  235. package/esm/funcs/contacts-list-activities.d.ts +18 -0
  236. package/esm/funcs/contacts-list-activities.d.ts.map +1 -0
  237. package/esm/funcs/contacts-list-activities.js +108 -0
  238. package/esm/funcs/contacts-list-activities.js.map +1 -0
  239. package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
  240. package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
  241. package/esm/funcs/contacts-list-agent-states.js +100 -0
  242. package/esm/funcs/contacts-list-agent-states.js.map +1 -0
  243. package/esm/funcs/contacts-list-by-campaign.d.ts +18 -0
  244. package/esm/funcs/contacts-list-by-campaign.d.ts.map +1 -0
  245. package/esm/funcs/contacts-list-by-campaign.js +111 -0
  246. package/esm/funcs/contacts-list-by-campaign.js.map +1 -0
  247. package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
  248. package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
  249. package/esm/funcs/contacts-list-campaigns.js +103 -0
  250. package/esm/funcs/contacts-list-campaigns.js.map +1 -0
  251. package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
  252. package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
  253. package/esm/funcs/contacts-patch-agent-state.js +103 -0
  254. package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
  255. package/esm/funcs/contacts-search.d.ts +18 -0
  256. package/esm/funcs/contacts-search.d.ts.map +1 -0
  257. package/esm/funcs/contacts-search.js +112 -0
  258. package/esm/funcs/contacts-search.js.map +1 -0
  259. package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
  260. package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
  261. package/esm/funcs/contacts-set-agent-state.js +103 -0
  262. package/esm/funcs/contacts-set-agent-state.js.map +1 -0
  263. package/esm/funcs/contacts-stats.d.ts +18 -0
  264. package/esm/funcs/contacts-stats.d.ts.map +1 -0
  265. package/esm/funcs/contacts-stats.js +100 -0
  266. package/esm/funcs/contacts-stats.js.map +1 -0
  267. package/esm/funcs/contacts-update-campaign.d.ts +18 -0
  268. package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
  269. package/esm/funcs/contacts-update-campaign.js +103 -0
  270. package/esm/funcs/contacts-update-campaign.js.map +1 -0
  271. package/esm/funcs/contacts-update.d.ts +18 -0
  272. package/esm/funcs/contacts-update.d.ts.map +1 -0
  273. package/esm/funcs/contacts-update.js +103 -0
  274. package/esm/funcs/contacts-update.js.map +1 -0
  275. package/esm/funcs/contacts-upsert.d.ts +3 -2
  276. package/esm/funcs/contacts-upsert.d.ts.map +1 -1
  277. package/esm/funcs/contacts-upsert.js +23 -5
  278. package/esm/funcs/contacts-upsert.js.map +1 -1
  279. package/esm/funcs/context-delete.d.ts +18 -0
  280. package/esm/funcs/context-delete.d.ts.map +1 -0
  281. package/esm/funcs/context-delete.js +101 -0
  282. package/esm/funcs/context-delete.js.map +1 -0
  283. package/esm/funcs/context-list-entries.d.ts +18 -0
  284. package/esm/funcs/context-list-entries.d.ts.map +1 -0
  285. package/esm/funcs/context-list-entries.js +101 -0
  286. package/esm/funcs/context-list-entries.js.map +1 -0
  287. package/esm/funcs/context-set.d.ts +18 -0
  288. package/esm/funcs/context-set.d.ts.map +1 -0
  289. package/esm/funcs/context-set.js +97 -0
  290. package/esm/funcs/context-set.js.map +1 -0
  291. package/esm/funcs/cron-list-schedules.d.ts +18 -0
  292. package/esm/funcs/cron-list-schedules.d.ts.map +1 -0
  293. package/esm/funcs/cron-list-schedules.js +86 -0
  294. package/esm/funcs/cron-list-schedules.js.map +1 -0
  295. package/esm/funcs/cron-update-schedule.d.ts +18 -0
  296. package/esm/funcs/cron-update-schedule.d.ts.map +1 -0
  297. package/esm/funcs/cron-update-schedule.js +103 -0
  298. package/esm/funcs/cron-update-schedule.js.map +1 -0
  299. package/esm/funcs/profile-get-credits.d.ts +1 -1
  300. package/esm/funcs/profile-get-credits.d.ts.map +1 -1
  301. package/esm/funcs/profile-get-credits.js +5 -3
  302. package/esm/funcs/profile-get-credits.js.map +1 -1
  303. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  304. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  305. package/esm/funcs/profile-get-follower-analytics.js +4 -2
  306. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  307. package/esm/funcs/profile-get-followers.d.ts +1 -1
  308. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  309. package/esm/funcs/profile-get-followers.js +5 -3
  310. package/esm/funcs/profile-get-followers.js.map +1 -1
  311. package/esm/funcs/profile-get-limits.d.ts +1 -1
  312. package/esm/funcs/profile-get-limits.d.ts.map +1 -1
  313. package/esm/funcs/profile-get-limits.js +5 -3
  314. package/esm/funcs/profile-get-limits.js.map +1 -1
  315. package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
  316. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  317. package/esm/funcs/profile-get-post-analytics.js +6 -4
  318. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  319. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  320. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  321. package/esm/funcs/profile-get-search-appearances.js +4 -2
  322. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  323. package/esm/funcs/profile-get.d.ts +1 -1
  324. package/esm/funcs/profile-get.d.ts.map +1 -1
  325. package/esm/funcs/profile-get.js +5 -3
  326. package/esm/funcs/profile-get.js.map +1 -1
  327. package/esm/funcs/profile-list-accounts.d.ts +1 -1
  328. package/esm/funcs/profile-list-accounts.d.ts.map +1 -1
  329. package/esm/funcs/profile-list-accounts.js +5 -3
  330. package/esm/funcs/profile-list-accounts.js.map +1 -1
  331. package/esm/funcs/profile-list-connections.d.ts +18 -0
  332. package/esm/funcs/profile-list-connections.d.ts.map +1 -0
  333. package/esm/funcs/profile-list-connections.js +103 -0
  334. package/esm/funcs/profile-list-connections.js.map +1 -0
  335. package/esm/funcs/profile-posts.d.ts +18 -0
  336. package/esm/funcs/profile-posts.d.ts.map +1 -0
  337. package/esm/funcs/profile-posts.js +99 -0
  338. package/esm/funcs/profile-posts.js.map +1 -0
  339. package/esm/funcs/profile-refresh.d.ts +1 -1
  340. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  341. package/esm/funcs/profile-refresh.js +4 -2
  342. package/esm/funcs/profile-refresh.js.map +1 -1
  343. package/esm/funcs/profile-switch-account.d.ts +18 -0
  344. package/esm/funcs/profile-switch-account.d.ts.map +1 -0
  345. package/esm/funcs/profile-switch-account.js +97 -0
  346. package/esm/funcs/profile-switch-account.js.map +1 -0
  347. package/esm/funcs/profile-update-account.d.ts +1 -1
  348. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  349. package/esm/funcs/profile-update-account.js +5 -3
  350. package/esm/funcs/profile-update-account.js.map +1 -1
  351. package/esm/funcs/profile-views.d.ts +18 -0
  352. package/esm/funcs/profile-views.d.ts.map +1 -0
  353. package/esm/funcs/profile-views.js +87 -0
  354. package/esm/funcs/profile-views.js.map +1 -0
  355. package/esm/funcs/sales-nav-companies.d.ts +33 -0
  356. package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
  357. package/esm/funcs/sales-nav-companies.js +112 -0
  358. package/esm/funcs/sales-nav-companies.js.map +1 -0
  359. package/esm/funcs/sales-nav-people.d.ts +53 -0
  360. package/esm/funcs/sales-nav-people.d.ts.map +1 -0
  361. package/esm/funcs/sales-nav-people.js +132 -0
  362. package/esm/funcs/sales-nav-people.js.map +1 -0
  363. package/esm/funcs/sales-nav-search.d.ts +39 -0
  364. package/esm/funcs/sales-nav-search.d.ts.map +1 -0
  365. package/esm/funcs/sales-nav-search.js +118 -0
  366. package/esm/funcs/sales-nav-search.js.map +1 -0
  367. package/esm/funcs/scheduled-messages-batch-schedule.d.ts +18 -0
  368. package/esm/funcs/scheduled-messages-batch-schedule.d.ts.map +1 -0
  369. package/esm/funcs/scheduled-messages-batch-schedule.js +97 -0
  370. package/esm/funcs/scheduled-messages-batch-schedule.js.map +1 -0
  371. package/esm/funcs/scheduled-messages-cancel.d.ts +18 -0
  372. package/esm/funcs/scheduled-messages-cancel.d.ts.map +1 -0
  373. package/esm/funcs/scheduled-messages-cancel.js +97 -0
  374. package/esm/funcs/scheduled-messages-cancel.js.map +1 -0
  375. package/esm/funcs/scheduled-messages-create.d.ts +18 -0
  376. package/esm/funcs/scheduled-messages-create.d.ts.map +1 -0
  377. package/esm/funcs/scheduled-messages-create.js +97 -0
  378. package/esm/funcs/scheduled-messages-create.js.map +1 -0
  379. package/esm/funcs/scheduled-messages-list.d.ts +18 -0
  380. package/esm/funcs/scheduled-messages-list.d.ts.map +1 -0
  381. package/esm/funcs/scheduled-messages-list.js +104 -0
  382. package/esm/funcs/scheduled-messages-list.js.map +1 -0
  383. package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts +18 -0
  384. package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts.map +1 -0
  385. package/esm/funcs/scrapers-bulk-visit-batch-status.js +102 -0
  386. package/esm/funcs/scrapers-bulk-visit-batch-status.js.map +1 -0
  387. package/esm/funcs/scrapers-bulk-visit-profile.d.ts +18 -0
  388. package/esm/funcs/scrapers-bulk-visit-profile.d.ts.map +1 -0
  389. package/esm/funcs/scrapers-bulk-visit-profile.js +97 -0
  390. package/esm/funcs/scrapers-bulk-visit-profile.js.map +1 -0
  391. package/esm/funcs/scrapers-collect-comment-replies.d.ts +18 -0
  392. package/esm/funcs/scrapers-collect-comment-replies.d.ts.map +1 -0
  393. package/esm/funcs/scrapers-collect-comment-replies.js +97 -0
  394. package/esm/funcs/scrapers-collect-comment-replies.js.map +1 -0
  395. package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
  396. package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
  397. package/esm/funcs/scrapers-collect-comments.js +97 -0
  398. package/esm/funcs/scrapers-collect-comments.js.map +1 -0
  399. package/esm/funcs/scrapers-collect-hashtag-posts.d.ts +18 -0
  400. package/esm/funcs/scrapers-collect-hashtag-posts.d.ts.map +1 -0
  401. package/esm/funcs/scrapers-collect-hashtag-posts.js +97 -0
  402. package/esm/funcs/scrapers-collect-hashtag-posts.js.map +1 -0
  403. package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
  404. package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
  405. package/esm/funcs/scrapers-collect-likes.js +97 -0
  406. package/esm/funcs/scrapers-collect-likes.js.map +1 -0
  407. package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
  408. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  409. package/esm/funcs/scrapers-collect-posts.js +6 -4
  410. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  411. package/esm/funcs/scrapers-get-feed.d.ts +18 -0
  412. package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
  413. package/esm/funcs/scrapers-get-feed.js +99 -0
  414. package/esm/funcs/scrapers-get-feed.js.map +1 -0
  415. package/esm/funcs/scrapers-list-saved-posts.d.ts +18 -0
  416. package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
  417. package/esm/funcs/scrapers-list-saved-posts.js +97 -0
  418. package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
  419. package/esm/funcs/scrapers-visit-company.d.ts +18 -0
  420. package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
  421. package/esm/funcs/scrapers-visit-company.js +97 -0
  422. package/esm/funcs/scrapers-visit-company.js.map +1 -0
  423. package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
  424. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  425. package/esm/funcs/scrapers-visit-profile.js +8 -4
  426. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  427. package/esm/funcs/search-by-url.d.ts +69 -0
  428. package/esm/funcs/search-by-url.d.ts.map +1 -0
  429. package/esm/funcs/search-by-url.js +148 -0
  430. package/esm/funcs/search-by-url.js.map +1 -0
  431. package/esm/funcs/search-companies.d.ts +75 -0
  432. package/esm/funcs/search-companies.d.ts.map +1 -0
  433. package/esm/funcs/search-companies.js +154 -0
  434. package/esm/funcs/search-companies.js.map +1 -0
  435. package/esm/funcs/search-jobs.d.ts +96 -0
  436. package/esm/funcs/search-jobs.d.ts.map +1 -0
  437. package/esm/funcs/search-jobs.js +175 -0
  438. package/esm/funcs/search-jobs.js.map +1 -0
  439. package/esm/funcs/search-people.d.ts +83 -0
  440. package/esm/funcs/search-people.d.ts.map +1 -0
  441. package/esm/funcs/search-people.js +162 -0
  442. package/esm/funcs/search-people.js.map +1 -0
  443. package/esm/funcs/search-posts.d.ts +71 -0
  444. package/esm/funcs/search-posts.d.ts.map +1 -0
  445. package/esm/funcs/search-posts.js +150 -0
  446. package/esm/funcs/search-posts.js.map +1 -0
  447. package/esm/funcs/search-resolve-parameters.d.ts +50 -0
  448. package/esm/funcs/search-resolve-parameters.d.ts.map +1 -0
  449. package/esm/funcs/search-resolve-parameters.js +134 -0
  450. package/esm/funcs/search-resolve-parameters.js.map +1 -0
  451. package/esm/funcs/search-search.d.ts +55 -0
  452. package/esm/funcs/search-search.d.ts.map +1 -0
  453. package/esm/funcs/search-search.js +134 -0
  454. package/esm/funcs/search-search.js.map +1 -0
  455. package/esm/lib/config.d.ts +5 -5
  456. package/esm/lib/config.d.ts.map +1 -1
  457. package/esm/lib/config.js +8 -4
  458. package/esm/lib/config.js.map +1 -1
  459. package/esm/lib/files.d.ts +13 -0
  460. package/esm/lib/files.d.ts.map +1 -1
  461. package/esm/lib/files.js +18 -0
  462. package/esm/lib/files.js.map +1 -1
  463. package/esm/lib/sdks.d.ts.map +1 -1
  464. package/esm/lib/sdks.js +8 -4
  465. package/esm/lib/sdks.js.map +1 -1
  466. package/esm/lib/url.d.ts.map +1 -1
  467. package/esm/lib/url.js +4 -2
  468. package/esm/lib/url.js.map +1 -1
  469. package/esm/models/errors/collect-likes.d.ts +257 -0
  470. package/esm/models/errors/collect-likes.d.ts.map +1 -0
  471. package/esm/models/errors/collect-likes.js +372 -0
  472. package/esm/models/errors/collect-likes.js.map +1 -0
  473. package/esm/models/errors/index.d.ts +1 -1
  474. package/esm/models/errors/index.d.ts.map +1 -1
  475. package/esm/models/errors/index.js +1 -1
  476. package/esm/models/errors/index.js.map +1 -1
  477. package/esm/models/operations/index.d.ts +4 -4
  478. package/esm/models/operations/index.d.ts.map +1 -1
  479. package/esm/models/operations/index.js +4 -4
  480. package/esm/models/operations/index.js.map +1 -1
  481. package/esm/models/operations/search-companies-response.d.ts +2499 -0
  482. package/esm/models/operations/search-companies-response.d.ts.map +1 -0
  483. package/esm/models/operations/search-companies-response.js +1626 -0
  484. package/esm/models/operations/search-companies-response.js.map +1 -0
  485. package/esm/models/operations/search-contacts-contact.d.ts +2635 -0
  486. package/esm/models/operations/search-contacts-contact.d.ts.map +1 -0
  487. package/esm/models/operations/search-contacts-contact.js +1605 -0
  488. package/esm/models/operations/search-contacts-contact.js.map +1 -0
  489. package/esm/models/operations/update-account-response.d.ts +2800 -0
  490. package/esm/models/operations/update-account-response.d.ts.map +1 -0
  491. package/esm/models/operations/update-account-response.js +1575 -0
  492. package/esm/models/operations/update-account-response.js.map +1 -0
  493. package/esm/models/operations/update-schedule-response.d.ts +2216 -0
  494. package/esm/models/operations/update-schedule-response.d.ts.map +1 -0
  495. package/esm/models/operations/update-schedule-response.js +1459 -0
  496. package/esm/models/operations/update-schedule-response.js.map +1 -0
  497. package/esm/sdk/actions.d.ts +139 -6
  498. package/esm/sdk/actions.d.ts.map +1 -1
  499. package/esm/sdk/actions.js +192 -2
  500. package/esm/sdk/actions.js.map +1 -1
  501. package/esm/sdk/campaigns.d.ts +4 -4
  502. package/esm/sdk/campaigns.d.ts.map +1 -1
  503. package/esm/sdk/campaigns.js +3 -3
  504. package/esm/sdk/campaigns.js.map +1 -1
  505. package/esm/sdk/chat.d.ts +91 -10
  506. package/esm/sdk/chat.d.ts.map +1 -1
  507. package/esm/sdk/chat.js +125 -8
  508. package/esm/sdk/chat.js.map +1 -1
  509. package/esm/sdk/company-pages.d.ts +4 -4
  510. package/esm/sdk/company-pages.d.ts.map +1 -1
  511. package/esm/sdk/company-pages.js +3 -3
  512. package/esm/sdk/company-pages.js.map +1 -1
  513. package/esm/sdk/contacts.d.ts +149 -2
  514. package/esm/sdk/contacts.d.ts.map +1 -1
  515. package/esm/sdk/contacts.js +211 -1
  516. package/esm/sdk/contacts.js.map +1 -1
  517. package/esm/sdk/context.d.ts +26 -0
  518. package/esm/sdk/context.d.ts.map +1 -0
  519. package/esm/sdk/context.js +38 -0
  520. package/esm/sdk/context.js.map +1 -0
  521. package/esm/sdk/cron.d.ts +19 -0
  522. package/esm/sdk/cron.d.ts.map +1 -0
  523. package/esm/sdk/cron.js +28 -0
  524. package/esm/sdk/cron.js.map +1 -0
  525. package/esm/sdk/profile.d.ts +27 -13
  526. package/esm/sdk/profile.d.ts.map +1 -1
  527. package/esm/sdk/profile.js +27 -7
  528. package/esm/sdk/profile.js.map +1 -1
  529. package/esm/sdk/sales-nav.d.ts +51 -1
  530. package/esm/sdk/sales-nav.d.ts.map +1 -1
  531. package/esm/sdk/sales-nav.js +59 -3
  532. package/esm/sdk/sales-nav.js.map +1 -1
  533. package/esm/sdk/scheduled-messages.d.ts +33 -0
  534. package/esm/sdk/scheduled-messages.d.ts.map +1 -0
  535. package/esm/sdk/scheduled-messages.js +48 -0
  536. package/esm/sdk/scheduled-messages.js.map +1 -0
  537. package/esm/sdk/scrapers.d.ts +69 -4
  538. package/esm/sdk/scrapers.d.ts.map +1 -1
  539. package/esm/sdk/scrapers.js +94 -2
  540. package/esm/sdk/scrapers.js.map +1 -1
  541. package/esm/sdk/sdk.d.ts +12 -27
  542. package/esm/sdk/sdk.d.ts.map +1 -1
  543. package/esm/sdk/sdk.js +19 -44
  544. package/esm/sdk/sdk.js.map +1 -1
  545. package/esm/sdk/search.d.ts +427 -0
  546. package/esm/sdk/search.d.ts.map +1 -0
  547. package/esm/sdk/search.js +451 -0
  548. package/esm/sdk/search.js.map +1 -0
  549. package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
  550. package/examples/node_modules/@types/node/assert.d.ts +1062 -0
  551. package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
  552. package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
  553. package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
  554. package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
  555. package/examples/node_modules/@types/node/cluster.d.ts +577 -0
  556. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  557. package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
  558. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  559. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  560. package/examples/node_modules/@types/node/console.d.ts +452 -0
  561. package/examples/node_modules/@types/node/constants.d.ts +21 -0
  562. package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
  563. package/examples/node_modules/@types/node/dgram.d.ts +597 -0
  564. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  565. package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
  566. package/examples/node_modules/@types/node/dns.d.ts +871 -0
  567. package/examples/node_modules/@types/node/domain.d.ts +170 -0
  568. package/examples/node_modules/@types/node/events.d.ts +977 -0
  569. package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
  570. package/examples/node_modules/@types/node/fs.d.ts +4375 -0
  571. package/examples/node_modules/@types/node/globals.d.ts +172 -0
  572. package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  573. package/examples/node_modules/@types/node/http.d.ts +2049 -0
  574. package/examples/node_modules/@types/node/http2.d.ts +2631 -0
  575. package/examples/node_modules/@types/node/https.d.ts +578 -0
  576. package/examples/node_modules/@types/node/index.d.ts +93 -0
  577. package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
  578. package/examples/node_modules/@types/node/module.d.ts +539 -0
  579. package/examples/node_modules/@types/node/net.d.ts +1012 -0
  580. package/examples/node_modules/@types/node/os.d.ts +506 -0
  581. package/examples/node_modules/@types/node/path.d.ts +200 -0
  582. package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
  583. package/examples/node_modules/@types/node/process.d.ts +1961 -0
  584. package/examples/node_modules/@types/node/punycode.d.ts +117 -0
  585. package/examples/node_modules/@types/node/querystring.d.ts +152 -0
  586. package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
  587. package/examples/node_modules/@types/node/readline.d.ts +589 -0
  588. package/examples/node_modules/@types/node/repl.d.ts +430 -0
  589. package/examples/node_modules/@types/node/sea.d.ts +153 -0
  590. package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
  591. package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
  592. package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
  593. package/examples/node_modules/@types/node/stream.d.ts +1675 -0
  594. package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
  595. package/examples/node_modules/@types/node/test.d.ts +1787 -0
  596. package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
  597. package/examples/node_modules/@types/node/timers.d.ts +286 -0
  598. package/examples/node_modules/@types/node/tls.d.ts +1259 -0
  599. package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
  600. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  601. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  602. package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
  603. package/examples/node_modules/@types/node/tty.d.ts +208 -0
  604. package/examples/node_modules/@types/node/url.d.ts +964 -0
  605. package/examples/node_modules/@types/node/util.d.ts +2331 -0
  606. package/examples/node_modules/@types/node/v8.d.ts +809 -0
  607. package/examples/node_modules/@types/node/vm.d.ts +1001 -0
  608. package/examples/node_modules/@types/node/wasi.d.ts +181 -0
  609. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  610. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  611. package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
  612. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  613. package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
  614. package/examples/node_modules/@types/node/zlib.d.ts +598 -0
  615. package/examples/node_modules/dotenv/config.d.ts +1 -0
  616. package/examples/node_modules/dotenv/config.js +9 -0
  617. package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
  618. package/examples/node_modules/dotenv/lib/env-options.js +28 -0
  619. package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
  620. package/examples/node_modules/dotenv/lib/main.js +386 -0
  621. package/examples/node_modules/esbuild/install.js +289 -0
  622. package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
  623. package/examples/node_modules/esbuild/lib/main.js +2242 -0
  624. package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -0
  625. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
  626. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
  627. package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
  628. package/examples/node_modules/tsx/dist/cli.mjs +55 -0
  629. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +1 -0
  630. package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
  631. package/examples/node_modules/tsx/dist/esm/index.mjs +2 -0
  632. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +1 -0
  633. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +14 -0
  634. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
  635. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
  636. package/examples/node_modules/tsx/dist/loader.mjs +1 -0
  637. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +1 -0
  638. package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +1 -0
  639. package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
  640. package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
  641. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +1 -0
  642. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +4 -0
  643. package/examples/node_modules/tsx/dist/repl.mjs +3 -0
  644. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +1 -0
  645. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
  646. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +1 -0
  647. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
  648. package/examples/node_modules/undici-types/agent.d.ts +31 -0
  649. package/examples/node_modules/undici-types/api.d.ts +43 -0
  650. package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
  651. package/examples/node_modules/undici-types/cache.d.ts +36 -0
  652. package/examples/node_modules/undici-types/client.d.ts +108 -0
  653. package/examples/node_modules/undici-types/connector.d.ts +34 -0
  654. package/examples/node_modules/undici-types/content-type.d.ts +21 -0
  655. package/examples/node_modules/undici-types/cookies.d.ts +28 -0
  656. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  657. package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
  658. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  659. package/examples/node_modules/undici-types/errors.d.ts +149 -0
  660. package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
  661. package/examples/node_modules/undici-types/fetch.d.ts +209 -0
  662. package/examples/node_modules/undici-types/file.d.ts +39 -0
  663. package/examples/node_modules/undici-types/filereader.d.ts +54 -0
  664. package/examples/node_modules/undici-types/formdata.d.ts +108 -0
  665. package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  666. package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
  667. package/examples/node_modules/undici-types/handlers.d.ts +15 -0
  668. package/examples/node_modules/undici-types/header.d.ts +4 -0
  669. package/examples/node_modules/undici-types/index.d.ts +71 -0
  670. package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
  671. package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
  672. package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
  673. package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
  674. package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  675. package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
  676. package/examples/node_modules/undici-types/patch.d.ts +33 -0
  677. package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
  678. package/examples/node_modules/undici-types/pool.d.ts +39 -0
  679. package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
  680. package/examples/node_modules/undici-types/readable.d.ts +65 -0
  681. package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
  682. package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
  683. package/examples/node_modules/undici-types/util.d.ts +18 -0
  684. package/examples/node_modules/undici-types/webidl.d.ts +228 -0
  685. package/examples/node_modules/undici-types/websocket.d.ts +150 -0
  686. package/examples/scrapersCollectLikes.example.ts +30 -0
  687. package/jsr.json +1 -1
  688. package/package.json +2 -4
  689. package/src/funcs/actions-accept-invitation.ts +225 -0
  690. package/src/funcs/actions-connect-profile.ts +19 -10
  691. package/src/funcs/actions-create-comment.ts +224 -0
  692. package/src/funcs/actions-decline-invitation.ts +225 -0
  693. package/src/funcs/actions-edit-comment.ts +224 -0
  694. package/src/funcs/actions-edit-post.ts +224 -0
  695. package/src/funcs/actions-follow-company.ts +18 -9
  696. package/src/funcs/actions-follow-profile.ts +224 -0
  697. package/src/funcs/actions-like-comment.ts +224 -0
  698. package/src/funcs/actions-like-post.ts +224 -0
  699. package/src/funcs/actions-list-invitations.ts +230 -0
  700. package/src/funcs/actions-list-sent-invitations.ts +18 -11
  701. package/src/funcs/actions-publish-post.ts +224 -0
  702. package/src/funcs/actions-reply-to-comment.ts +224 -0
  703. package/src/funcs/actions-repost-post.ts +224 -0
  704. package/src/funcs/actions-save-post.ts +224 -0
  705. package/src/funcs/actions-send-message.ts +19 -10
  706. package/src/funcs/actions-unfollow-company.ts +224 -0
  707. package/src/funcs/actions-unfollow-profile.ts +224 -0
  708. package/src/funcs/actions-unlike-comment.ts +224 -0
  709. package/src/funcs/actions-unlike-post.ts +224 -0
  710. package/src/funcs/actions-unsave-post.ts +224 -0
  711. package/src/funcs/actions-withdraw-invitation.ts +225 -0
  712. package/src/funcs/campaigns-filter.ts +18 -9
  713. package/src/funcs/campaigns-get-status.ts +18 -10
  714. package/src/funcs/campaigns-stats.ts +230 -0
  715. package/src/funcs/campaigns-sync.ts +18 -10
  716. package/src/funcs/chat-archive.ts +18 -9
  717. package/src/funcs/chat-find-conversation.ts +19 -16
  718. package/src/funcs/chat-get-messages.ts +233 -0
  719. package/src/funcs/chat-get-unread-count.ts +205 -0
  720. package/src/funcs/chat-list-archived.ts +229 -0
  721. package/src/funcs/chat-list-inbox.ts +227 -0
  722. package/src/funcs/chat-list-starred.ts +229 -0
  723. package/src/funcs/chat-mark-all-read.ts +209 -0
  724. package/src/funcs/chat-mark-seen.ts +224 -0
  725. package/src/funcs/chat-react.ts +224 -0
  726. package/src/funcs/chat-search-conversations.ts +28 -16
  727. package/src/funcs/chat-send-typing-indicator.ts +225 -0
  728. package/src/funcs/chat-star.ts +224 -0
  729. package/src/funcs/chat-unarchive.ts +224 -0
  730. package/src/funcs/chat-unreact.ts +18 -9
  731. package/src/funcs/chat-unstar.ts +224 -0
  732. package/src/funcs/company-pages-get-analytics.ts +18 -9
  733. package/src/funcs/company-pages-get-permissions.ts +18 -12
  734. package/src/funcs/company-pages-list.ts +15 -5
  735. package/src/funcs/company-pages-posts.ts +224 -0
  736. package/src/funcs/contacts-add-activities.ts +230 -0
  737. package/src/funcs/contacts-add-to-campaign.ts +233 -0
  738. package/src/funcs/contacts-bulk-update.ts +224 -0
  739. package/src/funcs/contacts-campaign-status-transition.ts +233 -0
  740. package/src/funcs/contacts-create-campaign.ts +224 -0
  741. package/src/funcs/contacts-delete-agent-state.ts +230 -0
  742. package/src/funcs/contacts-delete-campaign.ts +229 -0
  743. package/src/funcs/contacts-get-agent-state.ts +229 -0
  744. package/src/funcs/contacts-get-by-url.ts +228 -0
  745. package/src/funcs/contacts-get-campaign.ts +229 -0
  746. package/src/funcs/contacts-get.ts +229 -0
  747. package/src/funcs/contacts-list-activities.ts +236 -0
  748. package/src/funcs/contacts-list-agent-states.ts +232 -0
  749. package/src/funcs/contacts-list-by-campaign.ts +242 -0
  750. package/src/funcs/contacts-list-campaigns.ts +235 -0
  751. package/src/funcs/contacts-patch-agent-state.ts +230 -0
  752. package/src/funcs/contacts-search.ts +244 -0
  753. package/src/funcs/contacts-set-agent-state.ts +230 -0
  754. package/src/funcs/contacts-stats.ts +232 -0
  755. package/src/funcs/contacts-update-campaign.ts +230 -0
  756. package/src/funcs/contacts-update.ts +230 -0
  757. package/src/funcs/contacts-upsert.ts +74 -11
  758. package/src/funcs/context-delete.ts +229 -0
  759. package/src/funcs/context-list-entries.ts +230 -0
  760. package/src/funcs/context-set.ts +224 -0
  761. package/src/funcs/cron-list-schedules.ts +205 -0
  762. package/src/funcs/cron-update-schedule.ts +230 -0
  763. package/src/funcs/profile-get-credits.ts +16 -6
  764. package/src/funcs/profile-get-follower-analytics.ts +17 -7
  765. package/src/funcs/profile-get-followers.ts +18 -11
  766. package/src/funcs/profile-get-limits.ts +16 -6
  767. package/src/funcs/profile-get-post-analytics.ts +19 -9
  768. package/src/funcs/profile-get-search-appearances.ts +17 -7
  769. package/src/funcs/profile-get.ts +16 -6
  770. package/src/funcs/profile-list-accounts.ts +16 -6
  771. package/src/funcs/profile-list-connections.ts +235 -0
  772. package/src/funcs/profile-posts.ts +227 -0
  773. package/src/funcs/profile-refresh.ts +15 -5
  774. package/src/funcs/profile-switch-account.ts +224 -0
  775. package/src/funcs/profile-update-account.ts +18 -9
  776. package/src/funcs/profile-views.ts +209 -0
  777. package/src/funcs/sales-nav-companies.ts +240 -0
  778. package/src/funcs/sales-nav-people.ts +260 -0
  779. package/src/funcs/sales-nav-search.ts +245 -0
  780. package/src/funcs/scheduled-messages-batch-schedule.ts +224 -0
  781. package/src/funcs/scheduled-messages-cancel.ts +224 -0
  782. package/src/funcs/scheduled-messages-create.ts +224 -0
  783. package/src/funcs/scheduled-messages-list.ts +233 -0
  784. package/src/funcs/scrapers-bulk-visit-batch-status.ts +230 -0
  785. package/src/funcs/scrapers-bulk-visit-profile.ts +225 -0
  786. package/src/funcs/scrapers-collect-comment-replies.ts +225 -0
  787. package/src/funcs/scrapers-collect-comments.ts +224 -0
  788. package/src/funcs/scrapers-collect-hashtag-posts.ts +225 -0
  789. package/src/funcs/scrapers-collect-likes.ts +224 -0
  790. package/src/funcs/scrapers-collect-posts.ts +19 -10
  791. package/src/funcs/scrapers-get-feed.ts +227 -0
  792. package/src/funcs/scrapers-list-saved-posts.ts +224 -0
  793. package/src/funcs/scrapers-visit-company.ts +224 -0
  794. package/src/funcs/scrapers-visit-profile.ts +21 -10
  795. package/src/funcs/search-by-url.ts +275 -0
  796. package/src/funcs/search-companies.ts +281 -0
  797. package/src/funcs/search-jobs.ts +302 -0
  798. package/src/funcs/search-people.ts +289 -0
  799. package/src/funcs/search-posts.ts +277 -0
  800. package/src/funcs/search-resolve-parameters.ts +263 -0
  801. package/src/funcs/search-search.ts +261 -0
  802. package/src/lib/config.ts +8 -4
  803. package/src/lib/files.ts +22 -0
  804. package/src/lib/sdks.ts +7 -5
  805. package/src/lib/url.ts +16 -14
  806. package/src/models/errors/collect-likes.ts +600 -0
  807. package/src/models/errors/index.ts +1 -1
  808. package/src/models/operations/index.ts +4 -4
  809. package/src/models/operations/search-companies-response.ts +4888 -0
  810. package/src/models/operations/search-contacts-contact.ts +5287 -0
  811. package/src/models/operations/update-account-response.ts +5354 -0
  812. package/src/models/operations/update-schedule-response.ts +4456 -0
  813. package/src/sdk/actions.ts +352 -10
  814. package/src/sdk/campaigns.ts +9 -9
  815. package/src/sdk/chat.ts +227 -16
  816. package/src/sdk/company-pages.ts +10 -10
  817. package/src/sdk/contacts.ts +381 -3
  818. package/src/sdk/context.ts +63 -0
  819. package/src/sdk/cron.ts +43 -0
  820. package/src/sdk/profile.ts +62 -26
  821. package/src/sdk/sales-nav.ts +75 -3
  822. package/src/sdk/scheduled-messages.ts +81 -0
  823. package/src/sdk/scrapers.ts +170 -6
  824. package/src/sdk/sdk.ts +22 -54
  825. package/src/sdk/search.ts +508 -0
  826. package/esm/funcs/campaigns-get-stats.d.ts +0 -18
  827. package/esm/funcs/campaigns-get-stats.d.ts.map +0 -1
  828. package/esm/funcs/campaigns-get-stats.js +0 -101
  829. package/esm/funcs/campaigns-get-stats.js.map +0 -1
  830. package/esm/funcs/company-pages-get-posts.d.ts +0 -18
  831. package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
  832. package/esm/funcs/company-pages-get-posts.js +0 -95
  833. package/esm/funcs/company-pages-get-posts.js.map +0 -1
  834. package/esm/funcs/linked-in-actions-create-comment.d.ts +0 -18
  835. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +0 -1
  836. package/esm/funcs/linked-in-actions-create-comment.js +0 -95
  837. package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
  838. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
  839. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
  840. package/esm/funcs/linked-in-actions-decline-invitation.js +0 -95
  841. package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
  842. package/esm/funcs/linked-in-actions-like-comment.d.ts +0 -18
  843. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +0 -1
  844. package/esm/funcs/linked-in-actions-like-comment.js +0 -95
  845. package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
  846. package/esm/funcs/linked-in-actions-publish-post.d.ts +0 -18
  847. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
  848. package/esm/funcs/linked-in-actions-publish-post.js +0 -95
  849. package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
  850. package/esm/funcs/linked-in-actions-save-post.d.ts +0 -18
  851. package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
  852. package/esm/funcs/linked-in-actions-save-post.js +0 -95
  853. package/esm/funcs/linked-in-actions-save-post.js.map +0 -1
  854. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
  855. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
  856. package/esm/funcs/linked-in-actions-unfollow-profile.js +0 -95
  857. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
  858. package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
  859. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
  860. package/esm/funcs/linked-in-chat-list-starred.js +0 -97
  861. package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
  862. package/esm/funcs/linked-in-chat-mark-seen.d.ts +0 -18
  863. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
  864. package/esm/funcs/linked-in-chat-mark-seen.js +0 -95
  865. package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
  866. package/esm/funcs/linked-in-chat-star.d.ts +0 -18
  867. package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
  868. package/esm/funcs/linked-in-chat-star.js +0 -95
  869. package/esm/funcs/linked-in-chat-star.js.map +0 -1
  870. package/esm/funcs/linked-in-chat-unarchive.d.ts +0 -18
  871. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +0 -1
  872. package/esm/funcs/linked-in-chat-unarchive.js +0 -95
  873. package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
  874. package/esm/funcs/linked-in-chat-unstar.d.ts +0 -18
  875. package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
  876. package/esm/funcs/linked-in-chat-unstar.js +0 -95
  877. package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
  878. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +0 -18
  879. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
  880. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +0 -95
  881. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
  882. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +0 -18
  883. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
  884. package/esm/funcs/linked-in-scrapers-get-feed.js +0 -97
  885. package/esm/funcs/linked-in-scrapers-get-feed.js.map +0 -1
  886. package/esm/funcs/linked-in-search-resolve-parameters.d.ts +0 -47
  887. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
  888. package/esm/funcs/linked-in-search-resolve-parameters.js +0 -124
  889. package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
  890. package/esm/funcs/linked-in-search-search-companies.d.ts +0 -75
  891. package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
  892. package/esm/funcs/linked-in-search-search-companies.js +0 -152
  893. package/esm/funcs/linked-in-search-search-companies.js.map +0 -1
  894. package/esm/funcs/linked-in-search-search.d.ts +0 -55
  895. package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
  896. package/esm/funcs/linked-in-search-search.js +0 -132
  897. package/esm/funcs/linked-in-search-search.js.map +0 -1
  898. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +0 -18
  899. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
  900. package/esm/funcs/linkedin-actions-accept-invitation.js +0 -95
  901. package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
  902. package/esm/funcs/linkedin-actions-edit-comment.d.ts +0 -18
  903. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
  904. package/esm/funcs/linkedin-actions-edit-comment.js +0 -95
  905. package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
  906. package/esm/funcs/linkedin-actions-edit-post.d.ts +0 -18
  907. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +0 -1
  908. package/esm/funcs/linkedin-actions-edit-post.js +0 -95
  909. package/esm/funcs/linkedin-actions-edit-post.js.map +0 -1
  910. package/esm/funcs/linkedin-actions-follow-profile.d.ts +0 -18
  911. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
  912. package/esm/funcs/linkedin-actions-follow-profile.js +0 -95
  913. package/esm/funcs/linkedin-actions-follow-profile.js.map +0 -1
  914. package/esm/funcs/linkedin-actions-like-post.d.ts +0 -18
  915. package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
  916. package/esm/funcs/linkedin-actions-like-post.js +0 -95
  917. package/esm/funcs/linkedin-actions-like-post.js.map +0 -1
  918. package/esm/funcs/linkedin-actions-list-invitations.d.ts +0 -18
  919. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
  920. package/esm/funcs/linkedin-actions-list-invitations.js +0 -97
  921. package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
  922. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +0 -18
  923. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
  924. package/esm/funcs/linkedin-actions-reply-to-comment.js +0 -95
  925. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +0 -1
  926. package/esm/funcs/linkedin-actions-repost-post.d.ts +0 -18
  927. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
  928. package/esm/funcs/linkedin-actions-repost-post.js +0 -95
  929. package/esm/funcs/linkedin-actions-repost-post.js.map +0 -1
  930. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
  931. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
  932. package/esm/funcs/linkedin-actions-unfollow-company.js +0 -95
  933. package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
  934. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +0 -18
  935. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
  936. package/esm/funcs/linkedin-actions-unlike-comment.js +0 -95
  937. package/esm/funcs/linkedin-actions-unlike-comment.js.map +0 -1
  938. package/esm/funcs/linkedin-actions-unlike-post.d.ts +0 -18
  939. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
  940. package/esm/funcs/linkedin-actions-unlike-post.js +0 -95
  941. package/esm/funcs/linkedin-actions-unlike-post.js.map +0 -1
  942. package/esm/funcs/linkedin-actions-unsave-post.d.ts +0 -18
  943. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
  944. package/esm/funcs/linkedin-actions-unsave-post.js +0 -95
  945. package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
  946. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +0 -18
  947. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
  948. package/esm/funcs/linkedin-actions-withdraw-invitation.js +0 -95
  949. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
  950. package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
  951. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
  952. package/esm/funcs/linkedin-chat-get-messages.js +0 -99
  953. package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
  954. package/esm/funcs/linkedin-chat-get-unread-count.d.ts +0 -18
  955. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
  956. package/esm/funcs/linkedin-chat-get-unread-count.js +0 -85
  957. package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
  958. package/esm/funcs/linkedin-chat-list-archived.d.ts +0 -18
  959. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
  960. package/esm/funcs/linkedin-chat-list-archived.js +0 -97
  961. package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
  962. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +0 -18
  963. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +0 -1
  964. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +0 -95
  965. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +0 -1
  966. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +0 -18
  967. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
  968. package/esm/funcs/linkedin-chat-mark-all-read.js +0 -85
  969. package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
  970. package/esm/funcs/linkedin-chat-react.d.ts +0 -18
  971. package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
  972. package/esm/funcs/linkedin-chat-react.js +0 -95
  973. package/esm/funcs/linkedin-chat-react.js.map +0 -1
  974. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
  975. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
  976. package/esm/funcs/linkedin-chat-send-typing-indicator.js +0 -95
  977. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
  978. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +0 -18
  979. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
  980. package/esm/funcs/linkedin-scrapers-collect-comments.js +0 -95
  981. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
  982. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +0 -18
  983. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
  984. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +0 -95
  985. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +0 -1
  986. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +0 -18
  987. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
  988. package/esm/funcs/linkedin-scrapers-collect-likes.js +0 -95
  989. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
  990. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +0 -18
  991. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
  992. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +0 -95
  993. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
  994. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +0 -18
  995. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
  996. package/esm/funcs/linkedin-scrapers-visit-company.js +0 -95
  997. package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
  998. package/esm/funcs/linkedin-search-search-by-url.d.ts +0 -69
  999. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
  1000. package/esm/funcs/linkedin-search-search-by-url.js +0 -146
  1001. package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
  1002. package/esm/funcs/linkedin-search-search-jobs.d.ts +0 -96
  1003. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
  1004. package/esm/funcs/linkedin-search-search-jobs.js +0 -173
  1005. package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
  1006. package/esm/funcs/linkedin-search-search-people.d.ts +0 -83
  1007. package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
  1008. package/esm/funcs/linkedin-search-search-people.js +0 -160
  1009. package/esm/funcs/linkedin-search-search-people.js.map +0 -1
  1010. package/esm/funcs/linkedin-search-search-posts.d.ts +0 -71
  1011. package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
  1012. package/esm/funcs/linkedin-search-search-posts.js +0 -148
  1013. package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
  1014. package/esm/funcs/profile-get-posts.d.ts +0 -18
  1015. package/esm/funcs/profile-get-posts.d.ts.map +0 -1
  1016. package/esm/funcs/profile-get-posts.js +0 -97
  1017. package/esm/funcs/profile-get-posts.js.map +0 -1
  1018. package/esm/funcs/profile-get-profile-views.d.ts +0 -18
  1019. package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
  1020. package/esm/funcs/profile-get-profile-views.js +0 -85
  1021. package/esm/funcs/profile-get-profile-views.js.map +0 -1
  1022. package/esm/funcs/sales-nav-search-people.d.ts +0 -53
  1023. package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
  1024. package/esm/funcs/sales-nav-search-people.js +0 -130
  1025. package/esm/funcs/sales-nav-search-people.js.map +0 -1
  1026. package/esm/funcs/sales-navigator-search-search-companies.d.ts +0 -33
  1027. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
  1028. package/esm/funcs/sales-navigator-search-search-companies.js +0 -110
  1029. package/esm/funcs/sales-navigator-search-search-companies.js.map +0 -1
  1030. package/esm/funcs/sales-navigator-search-search.d.ts +0 -39
  1031. package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
  1032. package/esm/funcs/sales-navigator-search-search.js +0 -116
  1033. package/esm/funcs/sales-navigator-search-search.js.map +0 -1
  1034. package/esm/models/errors/collect-linked-in-likes.d.ts +0 -211
  1035. package/esm/models/errors/collect-linked-in-likes.d.ts.map +0 -1
  1036. package/esm/models/errors/collect-linked-in-likes.js +0 -306
  1037. package/esm/models/errors/collect-linked-in-likes.js.map +0 -1
  1038. package/esm/models/operations/get-campaign-stats-response.d.ts +0 -1550
  1039. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  1040. package/esm/models/operations/get-campaign-stats-response.js +0 -961
  1041. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  1042. package/esm/models/operations/scraping-weekly.d.ts +0 -2946
  1043. package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
  1044. package/esm/models/operations/scraping-weekly.js +0 -1594
  1045. package/esm/models/operations/scraping-weekly.js.map +0 -1
  1046. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts +0 -2412
  1047. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
  1048. package/esm/models/operations/search-linked-in-by-url-type-post.js +0 -1577
  1049. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
  1050. package/esm/models/operations/upsert-contacts.d.ts +0 -182
  1051. package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
  1052. package/esm/models/operations/upsert-contacts.js +0 -116
  1053. package/esm/models/operations/upsert-contacts.js.map +0 -1
  1054. package/esm/sdk/linked-in-actions-2.d.ts +0 -47
  1055. package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
  1056. package/esm/sdk/linked-in-actions-2.js +0 -68
  1057. package/esm/sdk/linked-in-actions-2.js.map +0 -1
  1058. package/esm/sdk/linked-in-chat-2.d.ts +0 -40
  1059. package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
  1060. package/esm/sdk/linked-in-chat-2.js +0 -58
  1061. package/esm/sdk/linked-in-chat-2.js.map +0 -1
  1062. package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
  1063. package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
  1064. package/esm/sdk/linked-in-scrapers-2.js +0 -28
  1065. package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
  1066. package/esm/sdk/linked-in-search-1.d.ts +0 -149
  1067. package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
  1068. package/esm/sdk/linked-in-search-1.js +0 -161
  1069. package/esm/sdk/linked-in-search-1.js.map +0 -1
  1070. package/esm/sdk/linkedin-actions-1.d.ts +0 -96
  1071. package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
  1072. package/esm/sdk/linkedin-actions-1.js +0 -138
  1073. package/esm/sdk/linkedin-actions-1.js.map +0 -1
  1074. package/esm/sdk/linkedin-chat-1.d.ts +0 -58
  1075. package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
  1076. package/esm/sdk/linkedin-chat-1.js +0 -82
  1077. package/esm/sdk/linkedin-chat-1.js.map +0 -1
  1078. package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
  1079. package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
  1080. package/esm/sdk/linkedin-scrapers-1.js +0 -58
  1081. package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
  1082. package/esm/sdk/linkedin-search-2.d.ts +0 -280
  1083. package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
  1084. package/esm/sdk/linkedin-search-2.js +0 -295
  1085. package/esm/sdk/linkedin-search-2.js.map +0 -1
  1086. package/esm/sdk/sales-navigator-search.d.ts +0 -55
  1087. package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
  1088. package/esm/sdk/sales-navigator-search.js +0 -64
  1089. package/esm/sdk/sales-navigator-search.js.map +0 -1
  1090. package/examples/linkedinScrapersCollectLikes.example.ts +0 -30
  1091. package/src/funcs/campaigns-get-stats.ts +0 -222
  1092. package/src/funcs/company-pages-get-posts.ts +0 -215
  1093. package/src/funcs/linked-in-actions-create-comment.ts +0 -215
  1094. package/src/funcs/linked-in-actions-decline-invitation.ts +0 -218
  1095. package/src/funcs/linked-in-actions-like-comment.ts +0 -215
  1096. package/src/funcs/linked-in-actions-publish-post.ts +0 -215
  1097. package/src/funcs/linked-in-actions-save-post.ts +0 -215
  1098. package/src/funcs/linked-in-actions-unfollow-profile.ts +0 -215
  1099. package/src/funcs/linked-in-chat-list-starred.ts +0 -220
  1100. package/src/funcs/linked-in-chat-mark-seen.ts +0 -215
  1101. package/src/funcs/linked-in-chat-star.ts +0 -215
  1102. package/src/funcs/linked-in-chat-unarchive.ts +0 -215
  1103. package/src/funcs/linked-in-chat-unstar.ts +0 -215
  1104. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +0 -218
  1105. package/src/funcs/linked-in-scrapers-get-feed.ts +0 -220
  1106. package/src/funcs/linked-in-search-resolve-parameters.ts +0 -250
  1107. package/src/funcs/linked-in-search-search-companies.ts +0 -272
  1108. package/src/funcs/linked-in-search-search.ts +0 -251
  1109. package/src/funcs/linkedin-actions-accept-invitation.ts +0 -215
  1110. package/src/funcs/linkedin-actions-edit-comment.ts +0 -215
  1111. package/src/funcs/linkedin-actions-edit-post.ts +0 -215
  1112. package/src/funcs/linkedin-actions-follow-profile.ts +0 -215
  1113. package/src/funcs/linkedin-actions-like-post.ts +0 -215
  1114. package/src/funcs/linkedin-actions-list-invitations.ts +0 -220
  1115. package/src/funcs/linkedin-actions-reply-to-comment.ts +0 -215
  1116. package/src/funcs/linkedin-actions-repost-post.ts +0 -215
  1117. package/src/funcs/linkedin-actions-unfollow-company.ts +0 -215
  1118. package/src/funcs/linkedin-actions-unlike-comment.ts +0 -215
  1119. package/src/funcs/linkedin-actions-unlike-post.ts +0 -215
  1120. package/src/funcs/linkedin-actions-unsave-post.ts +0 -215
  1121. package/src/funcs/linkedin-actions-withdraw-invitation.ts +0 -218
  1122. package/src/funcs/linkedin-chat-get-messages.ts +0 -219
  1123. package/src/funcs/linkedin-chat-get-unread-count.ts +0 -199
  1124. package/src/funcs/linkedin-chat-list-archived.ts +0 -220
  1125. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +0 -215
  1126. package/src/funcs/linkedin-chat-mark-all-read.ts +0 -199
  1127. package/src/funcs/linkedin-chat-react.ts +0 -214
  1128. package/src/funcs/linkedin-chat-send-typing-indicator.ts +0 -215
  1129. package/src/funcs/linkedin-scrapers-collect-comments.ts +0 -215
  1130. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +0 -218
  1131. package/src/funcs/linkedin-scrapers-collect-likes.ts +0 -215
  1132. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +0 -218
  1133. package/src/funcs/linkedin-scrapers-visit-company.ts +0 -215
  1134. package/src/funcs/linkedin-search-search-by-url.ts +0 -266
  1135. package/src/funcs/linkedin-search-search-jobs.ts +0 -293
  1136. package/src/funcs/linkedin-search-search-people.ts +0 -280
  1137. package/src/funcs/linkedin-search-search-posts.ts +0 -268
  1138. package/src/funcs/profile-get-posts.ts +0 -220
  1139. package/src/funcs/profile-get-profile-views.ts +0 -199
  1140. package/src/funcs/sales-nav-search-people.ts +0 -250
  1141. package/src/funcs/sales-navigator-search-search-companies.ts +0 -230
  1142. package/src/funcs/sales-navigator-search-search.ts +0 -235
  1143. package/src/models/errors/collect-linked-in-likes.ts +0 -494
  1144. package/src/models/operations/get-campaign-stats-response.ts +0 -3367
  1145. package/src/models/operations/scraping-weekly.ts +0 -5707
  1146. package/src/models/operations/search-linked-in-by-url-type-post.ts +0 -4897
  1147. package/src/models/operations/upsert-contacts.ts +0 -305
  1148. package/src/sdk/linked-in-actions-2.ts +0 -117
  1149. package/src/sdk/linked-in-chat-2.ts +0 -99
  1150. package/src/sdk/linked-in-scrapers-2.ts +0 -45
  1151. package/src/sdk/linked-in-search-1.ts +0 -186
  1152. package/src/sdk/linkedin-actions-1.ts +0 -243
  1153. package/src/sdk/linkedin-chat-1.ts +0 -139
  1154. package/src/sdk/linkedin-scrapers-1.ts +0 -99
  1155. package/src/sdk/linkedin-search-2.ts +0 -328
  1156. package/src/sdk/sales-navigator-search.ts +0 -81
@@ -0,0 +1,2635 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ export type RefreshPositionStartDate = {
6
+ month: number | null;
7
+ year: number;
8
+ };
9
+ export type RefreshPositionEndDate = {
10
+ month: number | null;
11
+ year: number;
12
+ };
13
+ export type RefreshPosition = {
14
+ companyName: string | null;
15
+ title: string | null;
16
+ /**
17
+ * Position description / responsibilities text
18
+ */
19
+ description: string | null;
20
+ companyUrl: string | null;
21
+ companyLogo: string | null;
22
+ /**
23
+ * Short description of the company (from LinkedIn company page)
24
+ */
25
+ companyDescription: string | null;
26
+ startDate: RefreshPositionStartDate | null;
27
+ endDate: RefreshPositionEndDate | null;
28
+ isCurrent: boolean;
29
+ };
30
+ export type RefreshEducationStartDate = {
31
+ month: number | null;
32
+ year: number;
33
+ };
34
+ export type RefreshEducationEndDate = {
35
+ month: number | null;
36
+ year: number;
37
+ };
38
+ export type RefreshEducation = {
39
+ schoolName: string | null;
40
+ degreeName: string | null;
41
+ fieldOfStudy: string | null;
42
+ schoolUrl: string | null;
43
+ schoolLogo: string | null;
44
+ startDate: RefreshEducationStartDate | null;
45
+ endDate: RefreshEducationEndDate | null;
46
+ };
47
+ /**
48
+ * Profile location
49
+ */
50
+ export type RefreshLocation = {
51
+ countryCode: string;
52
+ postalCode?: string | undefined;
53
+ };
54
+ export declare const RefreshType: {
55
+ readonly Activity: "activity";
56
+ readonly UgcPost: "ugcPost";
57
+ readonly Share: "share";
58
+ };
59
+ export type RefreshType = OpenEnum<typeof RefreshType>;
60
+ /**
61
+ * Type of media attached to the post.
62
+ */
63
+ export declare const RefreshMediaType: {
64
+ readonly Image: "image";
65
+ readonly Video: "video";
66
+ readonly Document: "document";
67
+ readonly Article: "article";
68
+ };
69
+ /**
70
+ * Type of media attached to the post.
71
+ */
72
+ export type RefreshMediaType = OpenEnum<typeof RefreshMediaType>;
73
+ /**
74
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
75
+ */
76
+ export type RefreshMedia = {
77
+ /**
78
+ * Type of media attached to the post.
79
+ */
80
+ type: RefreshMediaType;
81
+ /**
82
+ * Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
83
+ */
84
+ urls: Array<string>;
85
+ /**
86
+ * Title of the article or document, when available.
87
+ */
88
+ title?: string | undefined;
89
+ /**
90
+ * Thumbnail URL for videos, articles, or document covers.
91
+ */
92
+ thumbnailUrl?: string | undefined;
93
+ };
94
+ export type RefreshLastPost = {
95
+ postUrl: string;
96
+ text: string;
97
+ date: number;
98
+ likesCount: number;
99
+ commentsCount: number;
100
+ sharesCount: number;
101
+ postUrn: string;
102
+ postId: string;
103
+ type: RefreshType;
104
+ /**
105
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
106
+ */
107
+ media?: RefreshMedia | undefined;
108
+ };
109
+ /**
110
+ * Refreshed LinkedIn profile data
111
+ */
112
+ export type RefreshResponse = {
113
+ success: true;
114
+ /**
115
+ * LinkedIn vanity name (e.g., 'alexandre-sarfati')
116
+ */
117
+ linkedinProfileId: string | null;
118
+ /**
119
+ * Full name from LinkedIn
120
+ */
121
+ linkedinName: string | null;
122
+ /**
123
+ * Email from LinkedIn profile
124
+ */
125
+ linkedinEmail: string | null;
126
+ /**
127
+ * LinkedIn profile URN
128
+ */
129
+ profileUrn: string | null;
130
+ /**
131
+ * LinkedIn headline
132
+ */
133
+ headline: string | null;
134
+ /**
135
+ * Profile picture URL
136
+ */
137
+ profilePic: string | null;
138
+ /**
139
+ * Full LinkedIn profile URL
140
+ */
141
+ profileUrl: string | null;
142
+ /**
143
+ * Work positions (populated after /refresh)
144
+ */
145
+ positions?: Array<RefreshPosition> | undefined;
146
+ /**
147
+ * Education entries (populated after /refresh)
148
+ */
149
+ educations?: Array<RefreshEducation> | undefined;
150
+ /**
151
+ * Total LinkedIn connections
152
+ */
153
+ connectionsCount: number | null;
154
+ /**
155
+ * Profile location
156
+ */
157
+ location: RefreshLocation | null;
158
+ /**
159
+ * LinkedIn verification status
160
+ */
161
+ isVerified: boolean | null;
162
+ /**
163
+ * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
164
+ */
165
+ lastPosts?: Array<RefreshLastPost> | undefined;
166
+ refreshed: true;
167
+ /**
168
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
169
+ */
170
+ creditsUsed: number;
171
+ /**
172
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
173
+ */
174
+ retryAfter: number;
175
+ };
176
+ export type GetMyPostsRequest = {
177
+ /**
178
+ * Number of posts to fetch (default 20, max 100).
179
+ */
180
+ count?: number | undefined;
181
+ /**
182
+ * Pagination offset (default 0).
183
+ */
184
+ start?: number | undefined;
185
+ /**
186
+ * Pagination token from a previous response to fetch the next page.
187
+ */
188
+ paginationToken?: string | undefined;
189
+ };
190
+ export declare const GetMyPostsType: {
191
+ readonly Activity: "activity";
192
+ readonly UgcPost: "ugcPost";
193
+ readonly Share: "share";
194
+ };
195
+ export type GetMyPostsType = OpenEnum<typeof GetMyPostsType>;
196
+ /**
197
+ * Type of media attached to the post.
198
+ */
199
+ export declare const GetMyPostsMediaType: {
200
+ readonly Image: "image";
201
+ readonly Video: "video";
202
+ readonly Document: "document";
203
+ readonly Article: "article";
204
+ };
205
+ /**
206
+ * Type of media attached to the post.
207
+ */
208
+ export type GetMyPostsMediaType = OpenEnum<typeof GetMyPostsMediaType>;
209
+ /**
210
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
211
+ */
212
+ export type GetMyPostsMedia = {
213
+ /**
214
+ * Type of media attached to the post.
215
+ */
216
+ type: GetMyPostsMediaType;
217
+ /**
218
+ * Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
219
+ */
220
+ urls: Array<string>;
221
+ /**
222
+ * Title of the article or document, when available.
223
+ */
224
+ title?: string | undefined;
225
+ /**
226
+ * Thumbnail URL for videos, articles, or document covers.
227
+ */
228
+ thumbnailUrl?: string | undefined;
229
+ };
230
+ export type GetMyPostsPost = {
231
+ postUrl: string;
232
+ text: string;
233
+ date: number;
234
+ likesCount: number;
235
+ commentsCount: number;
236
+ sharesCount: number;
237
+ postUrn: string;
238
+ postId: string;
239
+ type: GetMyPostsType;
240
+ /**
241
+ * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
242
+ */
243
+ media?: GetMyPostsMedia | undefined;
244
+ };
245
+ /**
246
+ * Paginated list of the user's own posts
247
+ */
248
+ export type GetMyPostsResponse = {
249
+ success: true;
250
+ posts: Array<GetMyPostsPost>;
251
+ count: number;
252
+ total: number;
253
+ start: number;
254
+ hasMore: boolean;
255
+ paginationToken: string | null;
256
+ /**
257
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
258
+ */
259
+ creditsUsed: number;
260
+ /**
261
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
262
+ */
263
+ retryAfter: number;
264
+ };
265
+ export type GetFollowersRequest = {
266
+ /**
267
+ * Pagination offset (default 0).
268
+ */
269
+ start?: number | undefined;
270
+ /**
271
+ * Number of followers to fetch per page (default 10, max 50).
272
+ */
273
+ count?: number | undefined;
274
+ };
275
+ export type Follower = {
276
+ name: string;
277
+ headline: string | null;
278
+ profileUrl: string | null;
279
+ profilePicture: string | null;
280
+ followerCount: number | null;
281
+ /**
282
+ * Whether you follow this person back
283
+ */
284
+ following: boolean;
285
+ /**
286
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
287
+ */
288
+ profileUrn: string | null;
289
+ /**
290
+ * Vanity slug from profile URL (e.g. john-doe) when not URN-based
291
+ */
292
+ publicIdentifier: string | null;
293
+ };
294
+ /**
295
+ * Paginated list of followers
296
+ */
297
+ export type GetFollowersResponse = {
298
+ success: true;
299
+ followers: Array<Follower>;
300
+ count: number;
301
+ /**
302
+ * Total reported by LinkedIn (capped at ~1000)
303
+ */
304
+ totalFollowers: number;
305
+ start: number;
306
+ hasMore: boolean;
307
+ /**
308
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
309
+ */
310
+ creditsUsed: number;
311
+ /**
312
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
313
+ */
314
+ retryAfter: number;
315
+ };
316
+ /**
317
+ * Daily usage counter (resets at midnight UTC)
318
+ */
319
+ export type ConnectionRequestDaily = {
320
+ /**
321
+ * Number of actions used in this window
322
+ */
323
+ current: number;
324
+ /**
325
+ * Maximum allowed actions in this window (with multiplier applied)
326
+ */
327
+ limit: number;
328
+ /**
329
+ * Actions remaining before hitting the limit
330
+ */
331
+ remaining: number;
332
+ };
333
+ /**
334
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
335
+ */
336
+ export type ConnectionRequestWeekly = {
337
+ /**
338
+ * Number of actions used in this window
339
+ */
340
+ current: number;
341
+ /**
342
+ * Maximum allowed actions in this window (with multiplier applied)
343
+ */
344
+ limit: number;
345
+ /**
346
+ * Actions remaining before hitting the limit
347
+ */
348
+ remaining: number;
349
+ };
350
+ /**
351
+ * Limits for sending LinkedIn connection requests
352
+ */
353
+ export type ConnectionRequest = {
354
+ /**
355
+ * Daily usage counter (resets at midnight UTC)
356
+ */
357
+ daily: ConnectionRequestDaily;
358
+ /**
359
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
360
+ */
361
+ weekly: ConnectionRequestWeekly | null;
362
+ /**
363
+ * Minimum delay in seconds required between two consecutive actions of this type
364
+ */
365
+ minIntervalSeconds: number;
366
+ /**
367
+ * ISO 8601 timestamp of the next daily counter reset
368
+ */
369
+ nextResetDaily: Date;
370
+ /**
371
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
372
+ */
373
+ nextResetWeekly: Date | null;
374
+ };
375
+ /**
376
+ * Daily usage counter (resets at midnight UTC)
377
+ */
378
+ export type MessageDaily = {
379
+ /**
380
+ * Number of actions used in this window
381
+ */
382
+ current: number;
383
+ /**
384
+ * Maximum allowed actions in this window (with multiplier applied)
385
+ */
386
+ limit: number;
387
+ /**
388
+ * Actions remaining before hitting the limit
389
+ */
390
+ remaining: number;
391
+ };
392
+ /**
393
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
394
+ */
395
+ export type MessageWeekly = {
396
+ /**
397
+ * Number of actions used in this window
398
+ */
399
+ current: number;
400
+ /**
401
+ * Maximum allowed actions in this window (with multiplier applied)
402
+ */
403
+ limit: number;
404
+ /**
405
+ * Actions remaining before hitting the limit
406
+ */
407
+ remaining: number;
408
+ };
409
+ /**
410
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
411
+ */
412
+ export type GetLimitsMessage = {
413
+ /**
414
+ * Daily usage counter (resets at midnight UTC)
415
+ */
416
+ daily: MessageDaily;
417
+ /**
418
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
419
+ */
420
+ weekly: MessageWeekly | null;
421
+ /**
422
+ * Minimum delay in seconds required between two consecutive actions of this type
423
+ */
424
+ minIntervalSeconds: number;
425
+ /**
426
+ * ISO 8601 timestamp of the next daily counter reset
427
+ */
428
+ nextResetDaily: Date;
429
+ /**
430
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
431
+ */
432
+ nextResetWeekly: Date | null;
433
+ };
434
+ /**
435
+ * Daily usage counter (resets at midnight UTC)
436
+ */
437
+ export type ProfileVisitDaily = {
438
+ /**
439
+ * Number of actions used in this window
440
+ */
441
+ current: number;
442
+ /**
443
+ * Maximum allowed actions in this window (with multiplier applied)
444
+ */
445
+ limit: number;
446
+ /**
447
+ * Actions remaining before hitting the limit
448
+ */
449
+ remaining: number;
450
+ };
451
+ /**
452
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
453
+ */
454
+ export type ProfileVisitWeekly = {
455
+ /**
456
+ * Number of actions used in this window
457
+ */
458
+ current: number;
459
+ /**
460
+ * Maximum allowed actions in this window (with multiplier applied)
461
+ */
462
+ limit: number;
463
+ /**
464
+ * Actions remaining before hitting the limit
465
+ */
466
+ remaining: number;
467
+ };
468
+ /**
469
+ * Limits for visiting LinkedIn profiles and company pages
470
+ */
471
+ export type ProfileVisit = {
472
+ /**
473
+ * Daily usage counter (resets at midnight UTC)
474
+ */
475
+ daily: ProfileVisitDaily;
476
+ /**
477
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
478
+ */
479
+ weekly: ProfileVisitWeekly | null;
480
+ /**
481
+ * Minimum delay in seconds required between two consecutive actions of this type
482
+ */
483
+ minIntervalSeconds: number;
484
+ /**
485
+ * ISO 8601 timestamp of the next daily counter reset
486
+ */
487
+ nextResetDaily: Date;
488
+ /**
489
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
490
+ */
491
+ nextResetWeekly: Date | null;
492
+ };
493
+ /**
494
+ * Daily usage counter (resets at midnight UTC)
495
+ */
496
+ export type ScrapingDaily = {
497
+ /**
498
+ * Number of actions used in this window
499
+ */
500
+ current: number;
501
+ /**
502
+ * Maximum allowed actions in this window (with multiplier applied)
503
+ */
504
+ limit: number;
505
+ /**
506
+ * Actions remaining before hitting the limit
507
+ */
508
+ remaining: number;
509
+ };
510
+ /**
511
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
512
+ */
513
+ export type ScrapingWeekly = {
514
+ /**
515
+ * Number of actions used in this window
516
+ */
517
+ current: number;
518
+ /**
519
+ * Maximum allowed actions in this window (with multiplier applied)
520
+ */
521
+ limit: number;
522
+ /**
523
+ * Actions remaining before hitting the limit
524
+ */
525
+ remaining: number;
526
+ };
527
+ /**
528
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
529
+ */
530
+ export type Scraping = {
531
+ /**
532
+ * Daily usage counter (resets at midnight UTC)
533
+ */
534
+ daily: ScrapingDaily;
535
+ /**
536
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
537
+ */
538
+ weekly: ScrapingWeekly | null;
539
+ /**
540
+ * Minimum delay in seconds required between two consecutive actions of this type
541
+ */
542
+ minIntervalSeconds: number;
543
+ /**
544
+ * ISO 8601 timestamp of the next daily counter reset
545
+ */
546
+ nextResetDaily: Date;
547
+ /**
548
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
549
+ */
550
+ nextResetWeekly: Date | null;
551
+ };
552
+ export type Limits = {
553
+ /**
554
+ * Limits for sending LinkedIn connection requests
555
+ */
556
+ connectionRequest: ConnectionRequest;
557
+ /**
558
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
559
+ */
560
+ message: GetLimitsMessage;
561
+ /**
562
+ * Limits for visiting LinkedIn profiles and company pages
563
+ */
564
+ profileVisit: ProfileVisit;
565
+ /**
566
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
567
+ */
568
+ scraping: Scraping;
569
+ };
570
+ /**
571
+ * Rate limit status for all action types
572
+ */
573
+ export type GetLimitsResponse = {
574
+ success: true;
575
+ /**
576
+ * Workspace limit multiplier applied to all base limits (default 1.0)
577
+ */
578
+ multiplier: number;
579
+ limits: Limits;
580
+ /**
581
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
582
+ */
583
+ creditsUsed: number;
584
+ /**
585
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
586
+ */
587
+ retryAfter: number;
588
+ };
589
+ export type Credits = {
590
+ /**
591
+ * Number of credits used in the current billing period
592
+ */
593
+ current: number;
594
+ /**
595
+ * Maximum credits available for the workspace, or null if unlimited
596
+ */
597
+ limit: number | null;
598
+ /**
599
+ * Credits remaining before hitting the limit, or null if unlimited
600
+ */
601
+ remaining: number | null;
602
+ /**
603
+ * Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
604
+ */
605
+ percentage: number;
606
+ /**
607
+ * Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
608
+ */
609
+ isUnlimited: boolean;
610
+ };
611
+ /**
612
+ * Credit balance for the workspace
613
+ */
614
+ export type GetCreditsResponse = {
615
+ success: true;
616
+ credits: Credits;
617
+ /**
618
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
619
+ */
620
+ creditsUsed: number;
621
+ /**
622
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
623
+ */
624
+ retryAfter: number;
625
+ };
626
+ export type GetProfileViewsRequest = {};
627
+ export type ViewedAt = number | string;
628
+ export type View = {
629
+ entityUrn: string;
630
+ viewedAt: number | string | null;
631
+ viewer: string | null;
632
+ headline: string | null;
633
+ navigationUrl: string | null;
634
+ };
635
+ /**
636
+ * Profile viewers
637
+ */
638
+ export type GetProfileViewsResponse = {
639
+ success: true;
640
+ views: Array<View>;
641
+ total: number;
642
+ /**
643
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
644
+ */
645
+ creditsUsed: number;
646
+ /**
647
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
648
+ */
649
+ retryAfter: number;
650
+ };
651
+ export type GetSearchAppearancesRequest = {};
652
+ export type Appearances = {
653
+ count: number;
654
+ /**
655
+ * Top search keywords that led to your profile
656
+ */
657
+ keywords: Array<any>;
658
+ /**
659
+ * Companies of people who found you
660
+ */
661
+ companies: Array<any>;
662
+ /**
663
+ * Raw LinkedIn API response
664
+ */
665
+ raw: any;
666
+ };
667
+ /**
668
+ * Search appearance stats
669
+ */
670
+ export type GetSearchAppearancesResponse = {
671
+ success: true;
672
+ appearances: Appearances;
673
+ /**
674
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
675
+ */
676
+ creditsUsed: number;
677
+ /**
678
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
679
+ */
680
+ retryAfter: number;
681
+ };
682
+ export type GetPostAnalyticsRequest = {
683
+ /**
684
+ * LinkedIn post URL or URN
685
+ */
686
+ postUrl: string;
687
+ };
688
+ export type GetPostAnalyticsAnalytics = {
689
+ reactions: number;
690
+ comments: number;
691
+ postUrn: string;
692
+ };
693
+ /**
694
+ * Post analytics
695
+ */
696
+ export type GetPostAnalyticsResponse = {
697
+ success: true;
698
+ analytics: GetPostAnalyticsAnalytics;
699
+ /**
700
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
701
+ */
702
+ creditsUsed: number;
703
+ /**
704
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
705
+ */
706
+ retryAfter: number;
707
+ };
708
+ export type GetFollowerAnalyticsRequest = {};
709
+ /**
710
+ * Follower count and optional growth/demographics data from LinkedIn
711
+ */
712
+ export type GetFollowerAnalyticsAnalytics = {
713
+ count: number;
714
+ [additionalProperties: string]: unknown;
715
+ };
716
+ /**
717
+ * Follower analytics
718
+ */
719
+ export type GetFollowerAnalyticsResponse = {
720
+ success: true;
721
+ /**
722
+ * Follower count and optional growth/demographics data from LinkedIn
723
+ */
724
+ analytics: GetFollowerAnalyticsAnalytics;
725
+ /**
726
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
727
+ */
728
+ creditsUsed: number;
729
+ /**
730
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
731
+ */
732
+ retryAfter: number;
733
+ };
734
+ export type SwitchAccountRequest = {
735
+ /**
736
+ * The LinkedIn credentials ID to switch to (from listAccounts)
737
+ */
738
+ credentialsId: string;
739
+ };
740
+ /**
741
+ * Account switched
742
+ */
743
+ export type SwitchAccountResponse = {
744
+ success: true;
745
+ /**
746
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
747
+ */
748
+ creditsUsed: number;
749
+ /**
750
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
751
+ */
752
+ retryAfter: number;
753
+ };
754
+ /**
755
+ * Sort order (default RECENTLY_ADDED)
756
+ */
757
+ export declare const SortType: {
758
+ readonly RecentlyAdded: "RECENTLY_ADDED";
759
+ };
760
+ /**
761
+ * Sort order (default RECENTLY_ADDED)
762
+ */
763
+ export type SortType = ClosedEnum<typeof SortType>;
764
+ export type ListConnectionsRequest = {
765
+ /**
766
+ * Pagination offset
767
+ */
768
+ start?: number | undefined;
769
+ /**
770
+ * Results per page (max 40)
771
+ */
772
+ count?: number | undefined;
773
+ /**
774
+ * Sort order (default RECENTLY_ADDED)
775
+ */
776
+ sortType?: SortType | undefined;
777
+ /**
778
+ * Filter connections by name
779
+ */
780
+ keywords?: string | undefined;
781
+ };
782
+ export type Connection = {
783
+ name: string;
784
+ headline: string | null;
785
+ profileUrl: string | null;
786
+ imageUrl: string | null;
787
+ /**
788
+ * Vanity slug from profile URL (e.g. john-doe) when not URN-based
789
+ */
790
+ publicIdentifier: string | null;
791
+ /**
792
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
793
+ */
794
+ profileUrn: string | null;
795
+ connectedAt: string | null;
796
+ };
797
+ /**
798
+ * Connections list
799
+ */
800
+ export type ListConnectionsResponse = {
801
+ success: true;
802
+ connections: Array<Connection>;
803
+ count: number;
804
+ start: number;
805
+ total: number;
806
+ hasMore: boolean;
807
+ /**
808
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
809
+ */
810
+ creditsUsed: number;
811
+ /**
812
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
813
+ */
814
+ retryAfter: number;
815
+ };
816
+ export type Page = {
817
+ /**
818
+ * LinkedIn numeric company ID.
819
+ */
820
+ id: string;
821
+ /**
822
+ * Company URL slug (e.g. 'openai').
823
+ */
824
+ universalName: string;
825
+ name: string;
826
+ url: string;
827
+ logoUrl: string | null;
828
+ followerCount: number | null;
829
+ industry: string | null;
830
+ employeeCount: number | null;
831
+ /**
832
+ * Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
833
+ */
834
+ adminRole: string | null;
835
+ };
836
+ /**
837
+ * List of managed company pages
838
+ */
839
+ export type ListPagesResponse = {
840
+ success: true;
841
+ pages: Array<Page>;
842
+ total: number;
843
+ /**
844
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
845
+ */
846
+ creditsUsed: number;
847
+ /**
848
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
849
+ */
850
+ retryAfter: number;
851
+ };
852
+ export type GetCompanyPostsRequest = {
853
+ /**
854
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
855
+ */
856
+ universalName: string;
857
+ /**
858
+ * Number of posts to return (max 50).
859
+ */
860
+ count?: number | undefined;
861
+ /**
862
+ * Pagination offset.
863
+ */
864
+ start?: number | undefined;
865
+ };
866
+ export type GetCompanyPostsPost = {
867
+ /**
868
+ * LinkedIn activity URN for this post.
869
+ */
870
+ activityUrn: string;
871
+ /**
872
+ * Direct URL to the post on LinkedIn.
873
+ */
874
+ postUrl: string;
875
+ /**
876
+ * Post text content (null if media-only).
877
+ */
878
+ text: string | null;
879
+ /**
880
+ * Unix timestamp in milliseconds (null if unavailable).
881
+ */
882
+ publishedAt: number | null;
883
+ /**
884
+ * Number of likes/reactions.
885
+ */
886
+ numLikes: number | null;
887
+ /**
888
+ * Number of comments.
889
+ */
890
+ numComments: number | null;
891
+ };
892
+ /**
893
+ * Company page posts
894
+ */
895
+ export type GetCompanyPostsResponse = {
896
+ success: true;
897
+ posts: Array<GetCompanyPostsPost>;
898
+ /**
899
+ * Total number of posts available.
900
+ */
901
+ total: number;
902
+ /**
903
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
904
+ */
905
+ creditsUsed: number;
906
+ /**
907
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
908
+ */
909
+ retryAfter: number;
910
+ };
911
+ export type GetPermissionsRequest = {
912
+ /**
913
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
914
+ */
915
+ universalName: string;
916
+ };
917
+ export type Permissions = {
918
+ /**
919
+ * Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
920
+ */
921
+ role: string | null;
922
+ /**
923
+ * Can post as the company page.
924
+ */
925
+ canCreateOrganicShare: boolean;
926
+ /**
927
+ * Can comment as the company page.
928
+ */
929
+ canCreateComment: boolean;
930
+ /**
931
+ * Can like/react as the company page.
932
+ */
933
+ canCreateReaction: boolean;
934
+ /**
935
+ * Can delete company page posts.
936
+ */
937
+ canDeleteShare: boolean;
938
+ /**
939
+ * Can pin posts on the company page.
940
+ */
941
+ canPinShare: boolean;
942
+ /**
943
+ * Can send messages from the company page inbox.
944
+ */
945
+ canSendMessages: boolean;
946
+ /**
947
+ * Can read the company page inbox.
948
+ */
949
+ canReadMessages: boolean;
950
+ /**
951
+ * Can access the admin analytics dashboard.
952
+ */
953
+ canReadAdminDashboard: boolean;
954
+ /**
955
+ * Can view post/update analytics.
956
+ */
957
+ canReadOrganizationUpdateAnalytics: boolean;
958
+ /**
959
+ * Can view visitor analytics.
960
+ */
961
+ canReadOrganizationVisitorAnalytics: boolean;
962
+ /**
963
+ * Can view follower analytics.
964
+ */
965
+ canReadOrganizationFollowerAnalytics: boolean;
966
+ /**
967
+ * Can view search appearance analytics.
968
+ */
969
+ canReadOrganizationSearchAppearanceAnalytics: boolean;
970
+ /**
971
+ * Can edit the company page profile.
972
+ */
973
+ canUpdateOrganizationProfile: boolean;
974
+ /**
975
+ * Can add/remove page admins.
976
+ */
977
+ canEditAdministrators: boolean;
978
+ /**
979
+ * Can deactivate the company page.
980
+ */
981
+ canDeactivateOrganization: boolean;
982
+ /**
983
+ * Can create/edit company events.
984
+ */
985
+ canEditEvents: boolean;
986
+ /**
987
+ * Can view company events.
988
+ */
989
+ canReadEvents: boolean;
990
+ /**
991
+ * Can sponsor/boost posts.
992
+ */
993
+ canSponsorShare: boolean;
994
+ /**
995
+ * Can manage the career page section.
996
+ */
997
+ canManageCareerPages: boolean;
998
+ /**
999
+ * Can manage messaging settings.
1000
+ */
1001
+ canManageMessagingAccess: boolean;
1002
+ /**
1003
+ * Can notify employees about posts.
1004
+ */
1005
+ canNotifyEmployees: boolean;
1006
+ /**
1007
+ * Can export lead-gen form leads.
1008
+ */
1009
+ canExportLeads: boolean;
1010
+ };
1011
+ /**
1012
+ * Company page admin permissions
1013
+ */
1014
+ export type GetPermissionsResponse = {
1015
+ success: true;
1016
+ universalName: string;
1017
+ permissions: Permissions;
1018
+ /**
1019
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1020
+ */
1021
+ creditsUsed: number;
1022
+ /**
1023
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1024
+ */
1025
+ retryAfter: number;
1026
+ };
1027
+ export type GetAnalyticsRequest = {
1028
+ /**
1029
+ * Company page ID (numeric, e.g. '111652438')
1030
+ */
1031
+ companyId: string;
1032
+ };
1033
+ export type GetAnalyticsFoundedOn = {
1034
+ year: number;
1035
+ month?: number | undefined;
1036
+ day?: number | undefined;
1037
+ };
1038
+ export type GetAnalyticsHeadquarter = {
1039
+ city: string;
1040
+ country: string;
1041
+ line1?: string | undefined;
1042
+ postalCode?: string | undefined;
1043
+ };
1044
+ export type GetAnalyticsAnalytics = {
1045
+ name: string;
1046
+ universalName: string;
1047
+ followerCount: number | null;
1048
+ employeeCount: number | null;
1049
+ visitorsInPastMonthCount: number | null;
1050
+ isActive: boolean;
1051
+ foundedOn: GetAnalyticsFoundedOn | null;
1052
+ headquarter: GetAnalyticsHeadquarter | null;
1053
+ description: string | null;
1054
+ tagline: string | null;
1055
+ websiteUrl: string | null;
1056
+ organizationType: string | null;
1057
+ specialities: Array<string>;
1058
+ industryUrns: Array<string>;
1059
+ };
1060
+ /**
1061
+ * Company page overview analytics
1062
+ */
1063
+ export type GetAnalyticsResponse = {
1064
+ success: true;
1065
+ analytics: GetAnalyticsAnalytics;
1066
+ /**
1067
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1068
+ */
1069
+ creditsUsed: number;
1070
+ /**
1071
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1072
+ */
1073
+ retryAfter: number;
1074
+ };
1075
+ export type ListInboxRequest = {
1076
+ /**
1077
+ * Pagination cursor from a previous response
1078
+ */
1079
+ nextCursor?: string | undefined;
1080
+ };
1081
+ export type ListInboxParticipant = {
1082
+ profileUrn: string;
1083
+ firstName: string;
1084
+ lastName: string;
1085
+ profileUrl: string | null;
1086
+ headline: string | null;
1087
+ profilePicture: string | null;
1088
+ publicIdentifier: string | null;
1089
+ };
1090
+ export type ListInboxLastMessage = {
1091
+ text: string | null;
1092
+ deliveredAt: number;
1093
+ senderProfileUrn: string;
1094
+ };
1095
+ export type ListInboxConversation = {
1096
+ conversationUrn: string;
1097
+ conversationUrl: string;
1098
+ lastActivityAt: number;
1099
+ createdAt: number;
1100
+ read: boolean;
1101
+ unreadCount: number;
1102
+ groupChat: boolean;
1103
+ participants: Array<ListInboxParticipant>;
1104
+ lastMessage: ListInboxLastMessage | null;
1105
+ };
1106
+ /**
1107
+ * Inbox conversations
1108
+ */
1109
+ export type ListInboxResponse = {
1110
+ success: true;
1111
+ conversations: Array<ListInboxConversation>;
1112
+ /**
1113
+ * Cursor for fetching next page
1114
+ */
1115
+ nextCursor: string | null;
1116
+ /**
1117
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1118
+ */
1119
+ creditsUsed: number;
1120
+ /**
1121
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1122
+ */
1123
+ retryAfter: number;
1124
+ };
1125
+ export type SearchConversationsRequest = {
1126
+ /**
1127
+ * Search keywords
1128
+ */
1129
+ keywords: string;
1130
+ /**
1131
+ * Pagination cursor from a previous response
1132
+ */
1133
+ nextCursor?: string | undefined;
1134
+ };
1135
+ export type SearchConversationsParticipant = {
1136
+ profileUrn: string;
1137
+ firstName: string;
1138
+ lastName: string;
1139
+ profileUrl: string | null;
1140
+ headline: string | null;
1141
+ profilePicture: string | null;
1142
+ publicIdentifier: string | null;
1143
+ };
1144
+ export type SearchConversationsLastMessage = {
1145
+ text: string | null;
1146
+ deliveredAt: number;
1147
+ senderProfileUrn: string;
1148
+ };
1149
+ export type SearchConversationsConversation = {
1150
+ conversationUrn: string;
1151
+ conversationUrl: string;
1152
+ lastActivityAt: number;
1153
+ createdAt: number;
1154
+ read: boolean;
1155
+ unreadCount: number;
1156
+ groupChat: boolean;
1157
+ participants: Array<SearchConversationsParticipant>;
1158
+ lastMessage: SearchConversationsLastMessage | null;
1159
+ };
1160
+ /**
1161
+ * Matching conversations
1162
+ */
1163
+ export type SearchConversationsResponse = {
1164
+ success: true;
1165
+ conversations: Array<SearchConversationsConversation>;
1166
+ /**
1167
+ * Cursor for fetching next page
1168
+ */
1169
+ nextCursor: string | null;
1170
+ /**
1171
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1172
+ */
1173
+ creditsUsed: number;
1174
+ /**
1175
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1176
+ */
1177
+ retryAfter: number;
1178
+ };
1179
+ export type FindConversationRequest = {
1180
+ /**
1181
+ * 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.
1182
+ */
1183
+ profile: string;
1184
+ /**
1185
+ * If true, also return the conversation's recent messages (0 extra credits).
1186
+ */
1187
+ includeMessages?: boolean | undefined;
1188
+ };
1189
+ /**
1190
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1191
+ */
1192
+ export type FindConversationConversation = {
1193
+ conversationUrn: string;
1194
+ };
1195
+ export type FindConversationSender = {
1196
+ firstName: string;
1197
+ lastName: string;
1198
+ profileUrl: string | null;
1199
+ headline: string | null;
1200
+ profilePicture: string | null;
1201
+ publicIdentifier: string | null;
1202
+ profileUrn: string | null;
1203
+ };
1204
+ export declare const FindConversationType: {
1205
+ readonly Audio: "audio";
1206
+ readonly SharedPost: "shared_post";
1207
+ readonly RepliedMessage: "replied_message";
1208
+ readonly Image: "image";
1209
+ readonly File: "file";
1210
+ readonly Unknown: "unknown";
1211
+ };
1212
+ export type FindConversationType = OpenEnum<typeof FindConversationType>;
1213
+ export type FindConversationAttachment = {
1214
+ type: FindConversationType;
1215
+ audioUrl?: string | undefined;
1216
+ audioDuration?: number | undefined;
1217
+ hostUrn?: string | undefined;
1218
+ repliedText?: string | undefined;
1219
+ repliedSenderName?: string | undefined;
1220
+ imageUrl?: string | undefined;
1221
+ fileName?: string | undefined;
1222
+ fileUrl?: string | undefined;
1223
+ };
1224
+ export type FindConversationMessage = {
1225
+ messageUrn: string;
1226
+ text: string | null;
1227
+ deliveredAt: number;
1228
+ senderProfileUrn: string;
1229
+ sender: FindConversationSender;
1230
+ attachments: Array<FindConversationAttachment>;
1231
+ };
1232
+ /**
1233
+ * Conversation found (or not)
1234
+ */
1235
+ export type FindConversationResponse = {
1236
+ success: true;
1237
+ found: boolean;
1238
+ /**
1239
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1240
+ */
1241
+ conversation: FindConversationConversation | null;
1242
+ messages: Array<FindConversationMessage> | null;
1243
+ /**
1244
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1245
+ */
1246
+ creditsUsed: number;
1247
+ /**
1248
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1249
+ */
1250
+ retryAfter: number;
1251
+ };
1252
+ export type GetMessagesRequest = {
1253
+ /**
1254
+ * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1255
+ */
1256
+ conversationUrn: string;
1257
+ /**
1258
+ * Timestamp (ms) of the oldest message from previous page — pass this to load older messages
1259
+ */
1260
+ deliveredAt?: number | undefined;
1261
+ };
1262
+ export type GetMessagesSender = {
1263
+ firstName: string;
1264
+ lastName: string;
1265
+ profileUrl: string | null;
1266
+ headline: string | null;
1267
+ profilePicture: string | null;
1268
+ publicIdentifier: string | null;
1269
+ profileUrn: string | null;
1270
+ };
1271
+ export declare const GetMessagesType: {
1272
+ readonly Audio: "audio";
1273
+ readonly SharedPost: "shared_post";
1274
+ readonly RepliedMessage: "replied_message";
1275
+ readonly Image: "image";
1276
+ readonly File: "file";
1277
+ readonly Unknown: "unknown";
1278
+ };
1279
+ export type GetMessagesType = OpenEnum<typeof GetMessagesType>;
1280
+ export type GetMessagesAttachment = {
1281
+ type: GetMessagesType;
1282
+ audioUrl?: string | undefined;
1283
+ audioDuration?: number | undefined;
1284
+ hostUrn?: string | undefined;
1285
+ repliedText?: string | undefined;
1286
+ repliedSenderName?: string | undefined;
1287
+ imageUrl?: string | undefined;
1288
+ fileName?: string | undefined;
1289
+ fileUrl?: string | undefined;
1290
+ };
1291
+ export type GetMessagesMessage = {
1292
+ messageUrn: string;
1293
+ text: string | null;
1294
+ deliveredAt: number;
1295
+ senderProfileUrn: string;
1296
+ sender: GetMessagesSender;
1297
+ attachments: Array<GetMessagesAttachment>;
1298
+ };
1299
+ /**
1300
+ * Conversation messages
1301
+ */
1302
+ export type GetMessagesResponse = {
1303
+ success: true;
1304
+ messages: Array<GetMessagesMessage>;
1305
+ /**
1306
+ * deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
1307
+ */
1308
+ prevCursor: number | null;
1309
+ /**
1310
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1311
+ */
1312
+ creditsUsed: number;
1313
+ /**
1314
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1315
+ */
1316
+ retryAfter: number;
1317
+ };
1318
+ export type MarkSeenRequest = {
1319
+ /**
1320
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1321
+ */
1322
+ conversationUrn: string;
1323
+ };
1324
+ /**
1325
+ * Conversation marked as read
1326
+ */
1327
+ export type MarkSeenResponse = {
1328
+ success: true;
1329
+ /**
1330
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1331
+ */
1332
+ creditsUsed: number;
1333
+ /**
1334
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1335
+ */
1336
+ retryAfter: number;
1337
+ };
1338
+ export type MarkAllReadRequest = {};
1339
+ /**
1340
+ * All conversations marked as read
1341
+ */
1342
+ export type MarkAllReadResponse = {
1343
+ success: true;
1344
+ /**
1345
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1346
+ */
1347
+ creditsUsed: number;
1348
+ /**
1349
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1350
+ */
1351
+ retryAfter: number;
1352
+ };
1353
+ export type StarRequest = {
1354
+ /**
1355
+ * Full conversation URN
1356
+ */
1357
+ conversationUrn: string;
1358
+ };
1359
+ /**
1360
+ * Conversation starred
1361
+ */
1362
+ export type StarResponse = {
1363
+ success: true;
1364
+ /**
1365
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1366
+ */
1367
+ creditsUsed: number;
1368
+ /**
1369
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1370
+ */
1371
+ retryAfter: number;
1372
+ };
1373
+ export type UnstarRequest = {
1374
+ /**
1375
+ * Full conversation URN
1376
+ */
1377
+ conversationUrn: string;
1378
+ };
1379
+ /**
1380
+ * Conversation unstarred
1381
+ */
1382
+ export type UnstarResponse = {
1383
+ success: true;
1384
+ /**
1385
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1386
+ */
1387
+ creditsUsed: number;
1388
+ /**
1389
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1390
+ */
1391
+ retryAfter: number;
1392
+ };
1393
+ export type ListStarredRequest = {
1394
+ /**
1395
+ * Pagination cursor from a previous response
1396
+ */
1397
+ nextCursor?: string | undefined;
1398
+ };
1399
+ export type ListStarredParticipant = {
1400
+ profileUrn: string;
1401
+ firstName: string;
1402
+ lastName: string;
1403
+ profileUrl: string | null;
1404
+ headline: string | null;
1405
+ profilePicture: string | null;
1406
+ publicIdentifier: string | null;
1407
+ };
1408
+ export type ListStarredLastMessage = {
1409
+ text: string | null;
1410
+ deliveredAt: number;
1411
+ senderProfileUrn: string;
1412
+ };
1413
+ export type ListStarredConversation = {
1414
+ conversationUrn: string;
1415
+ conversationUrl: string;
1416
+ lastActivityAt: number;
1417
+ createdAt: number;
1418
+ read: boolean;
1419
+ unreadCount: number;
1420
+ groupChat: boolean;
1421
+ participants: Array<ListStarredParticipant>;
1422
+ lastMessage: ListStarredLastMessage | null;
1423
+ };
1424
+ /**
1425
+ * Starred conversations
1426
+ */
1427
+ export type ListStarredResponse = {
1428
+ success: true;
1429
+ conversations: Array<ListStarredConversation>;
1430
+ /**
1431
+ * Cursor for fetching next page
1432
+ */
1433
+ nextCursor: string | null;
1434
+ /**
1435
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1436
+ */
1437
+ creditsUsed: number;
1438
+ /**
1439
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1440
+ */
1441
+ retryAfter: number;
1442
+ };
1443
+ export type ArchiveRequest = {
1444
+ /**
1445
+ * Full conversation URN
1446
+ */
1447
+ conversationUrn: string;
1448
+ };
1449
+ /**
1450
+ * Conversation archived
1451
+ */
1452
+ export type ArchiveResponse = {
1453
+ success: true;
1454
+ /**
1455
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1456
+ */
1457
+ creditsUsed: number;
1458
+ /**
1459
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1460
+ */
1461
+ retryAfter: number;
1462
+ };
1463
+ export type UnarchiveRequest = {
1464
+ /**
1465
+ * Full conversation URN
1466
+ */
1467
+ conversationUrn: string;
1468
+ };
1469
+ /**
1470
+ * Conversation unarchived
1471
+ */
1472
+ export type UnarchiveResponse = {
1473
+ success: true;
1474
+ /**
1475
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1476
+ */
1477
+ creditsUsed: number;
1478
+ /**
1479
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1480
+ */
1481
+ retryAfter: number;
1482
+ };
1483
+ export type ListArchivedRequest = {
1484
+ /**
1485
+ * Pagination cursor from a previous response
1486
+ */
1487
+ nextCursor?: string | undefined;
1488
+ };
1489
+ export type ListArchivedParticipant = {
1490
+ profileUrn: string;
1491
+ firstName: string;
1492
+ lastName: string;
1493
+ profileUrl: string | null;
1494
+ headline: string | null;
1495
+ profilePicture: string | null;
1496
+ publicIdentifier: string | null;
1497
+ };
1498
+ export type ListArchivedLastMessage = {
1499
+ text: string | null;
1500
+ deliveredAt: number;
1501
+ senderProfileUrn: string;
1502
+ };
1503
+ export type ListArchivedConversation = {
1504
+ conversationUrn: string;
1505
+ conversationUrl: string;
1506
+ lastActivityAt: number;
1507
+ createdAt: number;
1508
+ read: boolean;
1509
+ unreadCount: number;
1510
+ groupChat: boolean;
1511
+ participants: Array<ListArchivedParticipant>;
1512
+ lastMessage: ListArchivedLastMessage | null;
1513
+ };
1514
+ /**
1515
+ * Archived conversations
1516
+ */
1517
+ export type ListArchivedResponse = {
1518
+ success: true;
1519
+ conversations: Array<ListArchivedConversation>;
1520
+ /**
1521
+ * Cursor for fetching next page
1522
+ */
1523
+ nextCursor: string | null;
1524
+ /**
1525
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1526
+ */
1527
+ creditsUsed: number;
1528
+ /**
1529
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1530
+ */
1531
+ retryAfter: number;
1532
+ };
1533
+ export type ReactRequest = {
1534
+ /**
1535
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1536
+ */
1537
+ messageUrn: string;
1538
+ /**
1539
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
1540
+ */
1541
+ emoji: string;
1542
+ /**
1543
+ * Conversation URN (required for the old messaging API fallback)
1544
+ */
1545
+ conversationUrn: string;
1546
+ };
1547
+ /**
1548
+ * Reaction added
1549
+ */
1550
+ export type ReactResponse = {
1551
+ success: true;
1552
+ /**
1553
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1554
+ */
1555
+ creditsUsed: number;
1556
+ /**
1557
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1558
+ */
1559
+ retryAfter: number;
1560
+ };
1561
+ export type UnreactRequest = {
1562
+ /**
1563
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1564
+ */
1565
+ messageUrn: string;
1566
+ /**
1567
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
1568
+ */
1569
+ emoji: string;
1570
+ /**
1571
+ * Conversation URN (required for the old messaging API fallback)
1572
+ */
1573
+ conversationUrn: string;
1574
+ };
1575
+ /**
1576
+ * Reaction removed
1577
+ */
1578
+ export type UnreactResponse = {
1579
+ success: true;
1580
+ /**
1581
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1582
+ */
1583
+ creditsUsed: number;
1584
+ /**
1585
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1586
+ */
1587
+ retryAfter: number;
1588
+ };
1589
+ export type SendTypingIndicatorRequest = {
1590
+ /**
1591
+ * Full conversation URN
1592
+ */
1593
+ conversationUrn: string;
1594
+ };
1595
+ /**
1596
+ * Typing indicator sent
1597
+ */
1598
+ export type SendTypingIndicatorResponse = {
1599
+ success: true;
1600
+ /**
1601
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1602
+ */
1603
+ creditsUsed: number;
1604
+ /**
1605
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1606
+ */
1607
+ retryAfter: number;
1608
+ };
1609
+ /**
1610
+ * Unread count
1611
+ */
1612
+ export type GetUnreadCountResponse = {
1613
+ success: true;
1614
+ /**
1615
+ * Number of unread conversations/messages
1616
+ */
1617
+ unreadCount: number;
1618
+ /**
1619
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1620
+ */
1621
+ creditsUsed: number;
1622
+ /**
1623
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1624
+ */
1625
+ retryAfter: number;
1626
+ };
1627
+ export type FilterRequest = {
1628
+ /**
1629
+ * Unique identifier for the automation campaign (e.g., 'lead-magnet-post-12345', 'outreach-webinar-feb')
1630
+ */
1631
+ campaignSlug: string;
1632
+ /**
1633
+ * Comma-separated list of action slugs to check (e.g., 'send-mp-john-doe,like-comment-abc123')
1634
+ */
1635
+ actionSlugs: string;
1636
+ };
1637
+ export type CheckedSlug = {
1638
+ actionSlug: string;
1639
+ completed: boolean;
1640
+ };
1641
+ /**
1642
+ * Filter status with checked slugs
1643
+ */
1644
+ export type FilterResponse = {
1645
+ /**
1646
+ * True if all actionSlugs have been completed for this campaign, meaning the entire flow can be skipped
1647
+ */
1648
+ filtered: boolean;
1649
+ /**
1650
+ * Status of each action slug — completed means the action was already executed for this campaign
1651
+ */
1652
+ checkedSlugs: Array<CheckedSlug>;
1653
+ /**
1654
+ * Credits consumed by this call (always 0 for campaign queries).
1655
+ */
1656
+ creditsUsed: number;
1657
+ /**
1658
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1659
+ */
1660
+ retryAfter: number;
1661
+ };
1662
+ export type GetStatusRequestBody = {
1663
+ /**
1664
+ * LinkedIn profile URLs or URNs to check status for within this campaign.
1665
+ */
1666
+ profiles: Array<string>;
1667
+ };
1668
+ export type GetStatusRequest = {
1669
+ /**
1670
+ * Campaign identifier
1671
+ */
1672
+ campaignSlug: string;
1673
+ body: GetStatusRequestBody;
1674
+ };
1675
+ export type GetStatusProfile = {
1676
+ profile: string;
1677
+ message: boolean;
1678
+ reply: boolean;
1679
+ like: boolean;
1680
+ visit: boolean;
1681
+ connect: boolean;
1682
+ };
1683
+ /**
1684
+ * Per-profile action completion status
1685
+ */
1686
+ export type GetStatusResponse = {
1687
+ success: true;
1688
+ profiles: Array<GetStatusProfile>;
1689
+ /**
1690
+ * Credits consumed by this call (always 0 for campaign queries).
1691
+ */
1692
+ creditsUsed: number;
1693
+ /**
1694
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1695
+ */
1696
+ retryAfter: number;
1697
+ };
1698
+ export declare const SyncAction: {
1699
+ readonly Message: "message";
1700
+ readonly Reply: "reply";
1701
+ readonly Like: "like";
1702
+ readonly Visit: "visit";
1703
+ readonly Connect: "connect";
1704
+ };
1705
+ export type SyncAction = ClosedEnum<typeof SyncAction>;
1706
+ export type SyncProfile = {
1707
+ /**
1708
+ * LinkedIn profile URL or URN
1709
+ */
1710
+ profile: string;
1711
+ /**
1712
+ * Action types to mark as completed
1713
+ */
1714
+ actions: Array<SyncAction>;
1715
+ };
1716
+ export type SyncRequestBody = {
1717
+ /**
1718
+ * Profiles and actions to mark as completed without performing them on LinkedIn.
1719
+ */
1720
+ profiles: Array<SyncProfile>;
1721
+ };
1722
+ export type SyncRequest = {
1723
+ /**
1724
+ * Campaign identifier
1725
+ */
1726
+ campaignSlug: string;
1727
+ body: SyncRequestBody;
1728
+ };
1729
+ export type Synced = {
1730
+ profile: string;
1731
+ actions: {
1732
+ [k: string]: boolean;
1733
+ };
1734
+ };
1735
+ /**
1736
+ * Actions marked as completed
1737
+ */
1738
+ export type SyncResponse = {
1739
+ success: true;
1740
+ synced: Array<Synced>;
1741
+ /**
1742
+ * Credits consumed by this call (always 0 for campaign queries).
1743
+ */
1744
+ creditsUsed: number;
1745
+ /**
1746
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1747
+ */
1748
+ retryAfter: number;
1749
+ };
1750
+ export type GetCampaignStatsRequest = {
1751
+ /**
1752
+ * Campaign identifier
1753
+ */
1754
+ campaignSlug: string;
1755
+ };
1756
+ /**
1757
+ * Aggregate campaign statistics
1758
+ */
1759
+ export type GetCampaignStatsResponse = {
1760
+ success: true;
1761
+ /**
1762
+ * Per-action-type counts (e.g. message: 45, reply: 120)
1763
+ */
1764
+ stats: {
1765
+ [k: string]: number;
1766
+ };
1767
+ /**
1768
+ * Unique profiles processed in this campaign
1769
+ */
1770
+ totalProfiles: number;
1771
+ /**
1772
+ * Total credits consumed by this campaign (sum of action counts). Also serves as the per-call creditsUsed (always 0 for this endpoint).
1773
+ */
1774
+ creditsUsed: number;
1775
+ /**
1776
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1777
+ */
1778
+ retryAfter: number;
1779
+ };
1780
+ /**
1781
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1782
+ */
1783
+ export declare const UpsertSource: {
1784
+ readonly Likes: "likes";
1785
+ readonly Comments: "comments";
1786
+ readonly Reposts: "reposts";
1787
+ readonly Posts: "posts";
1788
+ readonly CompanyFollowers: "company_followers";
1789
+ readonly SearchResults: "search_results";
1790
+ readonly ManualImport: "manual_import";
1791
+ readonly EventAttendees: "event_attendees";
1792
+ readonly GroupMembers: "group_members";
1793
+ readonly EngagementScraping: "engagement_scraping";
1794
+ readonly ContentSearch: "content_search";
1795
+ readonly FollowersMining: "followers_mining";
1796
+ readonly PeopleSearch: "people_search";
1797
+ readonly JobSearch: "job_search";
1798
+ readonly CompanySearch: "company_search";
1799
+ readonly NetworkExpansion: "network_expansion";
1800
+ readonly BulkVisit: "bulk_visit";
1801
+ };
1802
+ /**
1803
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1804
+ */
1805
+ export type UpsertSource = ClosedEnum<typeof UpsertSource>;
1806
+ /**
1807
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
1808
+ */
1809
+ export declare const UpsertLifecycleStage: {
1810
+ readonly Contact: "contact";
1811
+ readonly Lead: "lead";
1812
+ readonly Qualified: "qualified";
1813
+ readonly Approved: "approved";
1814
+ readonly Rejected: "rejected";
1815
+ };
1816
+ /**
1817
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
1818
+ */
1819
+ export type UpsertLifecycleStage = ClosedEnum<typeof UpsertLifecycleStage>;
1820
+ export type UpsertContactRequest = {
1821
+ /**
1822
+ * LinkedIn profile URL, URN, or bare vanity name
1823
+ */
1824
+ linkedinUrl: string;
1825
+ /**
1826
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...). Improves dedup when provided alongside a vanity URL.
1827
+ */
1828
+ profileUrn?: string | null | undefined;
1829
+ /**
1830
+ * LinkedIn vanity slug (e.g. joshuaau). Improves dedup when provided alongside a URN.
1831
+ */
1832
+ publicIdentifier?: string | null | undefined;
1833
+ /**
1834
+ * Profile name
1835
+ */
1836
+ name: string;
1837
+ /**
1838
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1839
+ */
1840
+ source?: UpsertSource | undefined;
1841
+ /**
1842
+ * Which lead-gen angle found this (e.g., 'vp-sales-france')
1843
+ */
1844
+ sourceAngle?: string | undefined;
1845
+ /**
1846
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
1847
+ */
1848
+ lifecycleStage?: UpsertLifecycleStage | undefined;
1849
+ /**
1850
+ * Contact quality score (0-100)
1851
+ */
1852
+ hotScore?: number | undefined;
1853
+ /**
1854
+ * Agent reasoning for qualification decision
1855
+ */
1856
+ qualificationNotes?: string | undefined;
1857
+ notes?: string | undefined;
1858
+ };
1859
+ export type UpsertRequest = {
1860
+ /**
1861
+ * Contacts to add (single or bulk)
1862
+ */
1863
+ contacts: Array<UpsertContactRequest>;
1864
+ };
1865
+ export type UpsertResults = {
1866
+ created: number;
1867
+ updated: number;
1868
+ skipped: number;
1869
+ errors: Array<string>;
1870
+ };
1871
+ export type UpsertContactResponse = {
1872
+ id: string;
1873
+ linkedinUrl: string;
1874
+ /**
1875
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
1876
+ */
1877
+ profileUrn: string | null;
1878
+ /**
1879
+ * LinkedIn vanity slug (e.g. joshuaau)
1880
+ */
1881
+ publicIdentifier: string | null;
1882
+ name: string;
1883
+ lifecycleStage: string;
1884
+ hotScore: number;
1885
+ qualificationNotes: string | null;
1886
+ notes: string | null;
1887
+ stageChangedAt: string | null;
1888
+ profileData: any | null;
1889
+ profileUpdatedAt: string | null;
1890
+ conversationData: any | null;
1891
+ conversationUpdatedAt: string | null;
1892
+ outreachStatus: string;
1893
+ lastContactedAt: string | null;
1894
+ lastRepliedAt: string | null;
1895
+ nextFollowUpAt: string | null;
1896
+ doNotContact: boolean;
1897
+ tags: Array<string>;
1898
+ createdAt: string;
1899
+ updatedAt: string;
1900
+ };
1901
+ /**
1902
+ * Contacts created or updated
1903
+ */
1904
+ export type UpsertResponse = {
1905
+ success: true;
1906
+ results: UpsertResults;
1907
+ /**
1908
+ * Full contact objects with IDs for immediate use
1909
+ */
1910
+ contacts: Array<UpsertContactResponse>;
1911
+ /**
1912
+ * Credits consumed by this call (always 0 for contacts queries).
1913
+ */
1914
+ creditsUsed: number;
1915
+ /**
1916
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
1917
+ */
1918
+ retryAfter: number;
1919
+ };
1920
+ export declare const SearchContactsLifecycleStage: {
1921
+ readonly Contact: "contact";
1922
+ readonly Lead: "lead";
1923
+ readonly Qualified: "qualified";
1924
+ readonly Approved: "approved";
1925
+ readonly Rejected: "rejected";
1926
+ };
1927
+ export type SearchContactsLifecycleStage = ClosedEnum<typeof SearchContactsLifecycleStage>;
1928
+ export declare const SearchContactsOutreachStatus: {
1929
+ readonly None: "none";
1930
+ readonly ConnectionSent: "connection_sent";
1931
+ readonly Connected: "connected";
1932
+ readonly DmSent: "dm_sent";
1933
+ readonly FollowedUp: "followed_up";
1934
+ readonly Replied: "replied";
1935
+ readonly InConversation: "in_conversation";
1936
+ readonly MeetingBooked: "meeting_booked";
1937
+ readonly Converted: "converted";
1938
+ readonly NotInterested: "not_interested";
1939
+ };
1940
+ export type SearchContactsOutreachStatus = ClosedEnum<typeof SearchContactsOutreachStatus>;
1941
+ export declare const DoNotContact: {
1942
+ readonly True: "true";
1943
+ readonly False: "false";
1944
+ };
1945
+ export type DoNotContact = ClosedEnum<typeof DoNotContact>;
1946
+ export declare const HasProfileData: {
1947
+ readonly True: "true";
1948
+ readonly False: "false";
1949
+ };
1950
+ export type HasProfileData = ClosedEnum<typeof HasProfileData>;
1951
+ export type SearchContactsRequest = {
1952
+ /**
1953
+ * Filter by LinkedIn URL (exact match)
1954
+ */
1955
+ linkedinUrl?: string | undefined;
1956
+ /**
1957
+ * Filter by name (partial match)
1958
+ */
1959
+ name?: string | undefined;
1960
+ lifecycleStage?: SearchContactsLifecycleStage | undefined;
1961
+ /**
1962
+ * Sort field (e.g. 'hotScore', 'createdAt', 'nextFollowUpAt')
1963
+ */
1964
+ sortBy?: string | undefined;
1965
+ minHotScore?: number | undefined;
1966
+ outreachStatus?: SearchContactsOutreachStatus | undefined;
1967
+ /**
1968
+ * Filter by tag
1969
+ */
1970
+ tag?: string | undefined;
1971
+ /**
1972
+ * ISO date: contacts with nextFollowUpAt before this date
1973
+ */
1974
+ followUpBefore?: string | undefined;
1975
+ doNotContact?: DoNotContact | undefined;
1976
+ hasProfileData?: HasProfileData | undefined;
1977
+ campaignId?: string | undefined;
1978
+ limit?: number | undefined;
1979
+ offset?: number | undefined;
1980
+ };
1981
+ export type SearchContactsCampaign = {
1982
+ campaignId: string;
1983
+ campaignName: string;
1984
+ /**
1985
+ * Campaign status (e.g. 'active', 'paused', 'completed').
1986
+ */
1987
+ campaignStatus: string;
1988
+ source: string;
1989
+ sourceAngle: string | null;
1990
+ addedAt: string;
1991
+ };
1992
+ export type SearchContactsContact = {
1993
+ id: string;
1994
+ linkedinUrl: string;
1995
+ /**
1996
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
1997
+ */
1998
+ profileUrn: string | null;
1999
+ /**
2000
+ * LinkedIn vanity slug (e.g. joshuaau)
2001
+ */
2002
+ publicIdentifier: string | null;
2003
+ name: string;
2004
+ lifecycleStage: string;
2005
+ hotScore: number;
2006
+ qualificationNotes: string | null;
2007
+ notes: string | null;
2008
+ stageChangedAt: string | null;
2009
+ profileData: any | null;
2010
+ profileUpdatedAt: string | null;
2011
+ conversationData: any | null;
2012
+ conversationUpdatedAt: string | null;
2013
+ outreachStatus: string;
2014
+ lastContactedAt: string | null;
2015
+ lastRepliedAt: string | null;
2016
+ nextFollowUpAt: string | null;
2017
+ doNotContact: boolean;
2018
+ tags: Array<string>;
2019
+ createdAt: string;
2020
+ updatedAt: string;
2021
+ campaigns: Array<SearchContactsCampaign>;
2022
+ };
2023
+ /** @internal */
2024
+ export declare const RefreshPositionStartDate$inboundSchema: z.ZodMiniType<RefreshPositionStartDate, unknown>;
2025
+ export declare function refreshPositionStartDateFromJSON(jsonString: string): SafeParseResult<RefreshPositionStartDate, SDKValidationError>;
2026
+ /** @internal */
2027
+ export declare const RefreshPositionEndDate$inboundSchema: z.ZodMiniType<RefreshPositionEndDate, unknown>;
2028
+ export declare function refreshPositionEndDateFromJSON(jsonString: string): SafeParseResult<RefreshPositionEndDate, SDKValidationError>;
2029
+ /** @internal */
2030
+ export declare const RefreshPosition$inboundSchema: z.ZodMiniType<RefreshPosition, unknown>;
2031
+ export declare function refreshPositionFromJSON(jsonString: string): SafeParseResult<RefreshPosition, SDKValidationError>;
2032
+ /** @internal */
2033
+ export declare const RefreshEducationStartDate$inboundSchema: z.ZodMiniType<RefreshEducationStartDate, unknown>;
2034
+ export declare function refreshEducationStartDateFromJSON(jsonString: string): SafeParseResult<RefreshEducationStartDate, SDKValidationError>;
2035
+ /** @internal */
2036
+ export declare const RefreshEducationEndDate$inboundSchema: z.ZodMiniType<RefreshEducationEndDate, unknown>;
2037
+ export declare function refreshEducationEndDateFromJSON(jsonString: string): SafeParseResult<RefreshEducationEndDate, SDKValidationError>;
2038
+ /** @internal */
2039
+ export declare const RefreshEducation$inboundSchema: z.ZodMiniType<RefreshEducation, unknown>;
2040
+ export declare function refreshEducationFromJSON(jsonString: string): SafeParseResult<RefreshEducation, SDKValidationError>;
2041
+ /** @internal */
2042
+ export declare const RefreshLocation$inboundSchema: z.ZodMiniType<RefreshLocation, unknown>;
2043
+ export declare function refreshLocationFromJSON(jsonString: string): SafeParseResult<RefreshLocation, SDKValidationError>;
2044
+ /** @internal */
2045
+ export declare const RefreshType$inboundSchema: z.ZodMiniType<RefreshType, unknown>;
2046
+ /** @internal */
2047
+ export declare const RefreshMediaType$inboundSchema: z.ZodMiniType<RefreshMediaType, unknown>;
2048
+ /** @internal */
2049
+ export declare const RefreshMedia$inboundSchema: z.ZodMiniType<RefreshMedia, unknown>;
2050
+ export declare function refreshMediaFromJSON(jsonString: string): SafeParseResult<RefreshMedia, SDKValidationError>;
2051
+ /** @internal */
2052
+ export declare const RefreshLastPost$inboundSchema: z.ZodMiniType<RefreshLastPost, unknown>;
2053
+ export declare function refreshLastPostFromJSON(jsonString: string): SafeParseResult<RefreshLastPost, SDKValidationError>;
2054
+ /** @internal */
2055
+ export declare const RefreshResponse$inboundSchema: z.ZodMiniType<RefreshResponse, unknown>;
2056
+ export declare function refreshResponseFromJSON(jsonString: string): SafeParseResult<RefreshResponse, SDKValidationError>;
2057
+ /** @internal */
2058
+ export type GetMyPostsRequest$Outbound = {
2059
+ count?: number | undefined;
2060
+ start?: number | undefined;
2061
+ paginationToken?: string | undefined;
2062
+ };
2063
+ /** @internal */
2064
+ export declare const GetMyPostsRequest$outboundSchema: z.ZodMiniType<GetMyPostsRequest$Outbound, GetMyPostsRequest>;
2065
+ export declare function getMyPostsRequestToJSON(getMyPostsRequest: GetMyPostsRequest): string;
2066
+ /** @internal */
2067
+ export declare const GetMyPostsType$inboundSchema: z.ZodMiniType<GetMyPostsType, unknown>;
2068
+ /** @internal */
2069
+ export declare const GetMyPostsMediaType$inboundSchema: z.ZodMiniType<GetMyPostsMediaType, unknown>;
2070
+ /** @internal */
2071
+ export declare const GetMyPostsMedia$inboundSchema: z.ZodMiniType<GetMyPostsMedia, unknown>;
2072
+ export declare function getMyPostsMediaFromJSON(jsonString: string): SafeParseResult<GetMyPostsMedia, SDKValidationError>;
2073
+ /** @internal */
2074
+ export declare const GetMyPostsPost$inboundSchema: z.ZodMiniType<GetMyPostsPost, unknown>;
2075
+ export declare function getMyPostsPostFromJSON(jsonString: string): SafeParseResult<GetMyPostsPost, SDKValidationError>;
2076
+ /** @internal */
2077
+ export declare const GetMyPostsResponse$inboundSchema: z.ZodMiniType<GetMyPostsResponse, unknown>;
2078
+ export declare function getMyPostsResponseFromJSON(jsonString: string): SafeParseResult<GetMyPostsResponse, SDKValidationError>;
2079
+ /** @internal */
2080
+ export type GetFollowersRequest$Outbound = {
2081
+ start?: number | undefined;
2082
+ count?: number | undefined;
2083
+ };
2084
+ /** @internal */
2085
+ export declare const GetFollowersRequest$outboundSchema: z.ZodMiniType<GetFollowersRequest$Outbound, GetFollowersRequest>;
2086
+ export declare function getFollowersRequestToJSON(getFollowersRequest: GetFollowersRequest): string;
2087
+ /** @internal */
2088
+ export declare const Follower$inboundSchema: z.ZodMiniType<Follower, unknown>;
2089
+ export declare function followerFromJSON(jsonString: string): SafeParseResult<Follower, SDKValidationError>;
2090
+ /** @internal */
2091
+ export declare const GetFollowersResponse$inboundSchema: z.ZodMiniType<GetFollowersResponse, unknown>;
2092
+ export declare function getFollowersResponseFromJSON(jsonString: string): SafeParseResult<GetFollowersResponse, SDKValidationError>;
2093
+ /** @internal */
2094
+ export declare const ConnectionRequestDaily$inboundSchema: z.ZodMiniType<ConnectionRequestDaily, unknown>;
2095
+ export declare function connectionRequestDailyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestDaily, SDKValidationError>;
2096
+ /** @internal */
2097
+ export declare const ConnectionRequestWeekly$inboundSchema: z.ZodMiniType<ConnectionRequestWeekly, unknown>;
2098
+ export declare function connectionRequestWeeklyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestWeekly, SDKValidationError>;
2099
+ /** @internal */
2100
+ export declare const ConnectionRequest$inboundSchema: z.ZodMiniType<ConnectionRequest, unknown>;
2101
+ export declare function connectionRequestFromJSON(jsonString: string): SafeParseResult<ConnectionRequest, SDKValidationError>;
2102
+ /** @internal */
2103
+ export declare const MessageDaily$inboundSchema: z.ZodMiniType<MessageDaily, unknown>;
2104
+ export declare function messageDailyFromJSON(jsonString: string): SafeParseResult<MessageDaily, SDKValidationError>;
2105
+ /** @internal */
2106
+ export declare const MessageWeekly$inboundSchema: z.ZodMiniType<MessageWeekly, unknown>;
2107
+ export declare function messageWeeklyFromJSON(jsonString: string): SafeParseResult<MessageWeekly, SDKValidationError>;
2108
+ /** @internal */
2109
+ export declare const GetLimitsMessage$inboundSchema: z.ZodMiniType<GetLimitsMessage, unknown>;
2110
+ export declare function getLimitsMessageFromJSON(jsonString: string): SafeParseResult<GetLimitsMessage, SDKValidationError>;
2111
+ /** @internal */
2112
+ export declare const ProfileVisitDaily$inboundSchema: z.ZodMiniType<ProfileVisitDaily, unknown>;
2113
+ export declare function profileVisitDailyFromJSON(jsonString: string): SafeParseResult<ProfileVisitDaily, SDKValidationError>;
2114
+ /** @internal */
2115
+ export declare const ProfileVisitWeekly$inboundSchema: z.ZodMiniType<ProfileVisitWeekly, unknown>;
2116
+ export declare function profileVisitWeeklyFromJSON(jsonString: string): SafeParseResult<ProfileVisitWeekly, SDKValidationError>;
2117
+ /** @internal */
2118
+ export declare const ProfileVisit$inboundSchema: z.ZodMiniType<ProfileVisit, unknown>;
2119
+ export declare function profileVisitFromJSON(jsonString: string): SafeParseResult<ProfileVisit, SDKValidationError>;
2120
+ /** @internal */
2121
+ export declare const ScrapingDaily$inboundSchema: z.ZodMiniType<ScrapingDaily, unknown>;
2122
+ export declare function scrapingDailyFromJSON(jsonString: string): SafeParseResult<ScrapingDaily, SDKValidationError>;
2123
+ /** @internal */
2124
+ export declare const ScrapingWeekly$inboundSchema: z.ZodMiniType<ScrapingWeekly, unknown>;
2125
+ export declare function scrapingWeeklyFromJSON(jsonString: string): SafeParseResult<ScrapingWeekly, SDKValidationError>;
2126
+ /** @internal */
2127
+ export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
2128
+ export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
2129
+ /** @internal */
2130
+ export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
2131
+ export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
2132
+ /** @internal */
2133
+ export declare const GetLimitsResponse$inboundSchema: z.ZodMiniType<GetLimitsResponse, unknown>;
2134
+ export declare function getLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetLimitsResponse, SDKValidationError>;
2135
+ /** @internal */
2136
+ export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
2137
+ export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
2138
+ /** @internal */
2139
+ export declare const GetCreditsResponse$inboundSchema: z.ZodMiniType<GetCreditsResponse, unknown>;
2140
+ export declare function getCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetCreditsResponse, SDKValidationError>;
2141
+ /** @internal */
2142
+ export type GetProfileViewsRequest$Outbound = {};
2143
+ /** @internal */
2144
+ export declare const GetProfileViewsRequest$outboundSchema: z.ZodMiniType<GetProfileViewsRequest$Outbound, GetProfileViewsRequest>;
2145
+ export declare function getProfileViewsRequestToJSON(getProfileViewsRequest: GetProfileViewsRequest): string;
2146
+ /** @internal */
2147
+ export declare const ViewedAt$inboundSchema: z.ZodMiniType<ViewedAt, unknown>;
2148
+ export declare function viewedAtFromJSON(jsonString: string): SafeParseResult<ViewedAt, SDKValidationError>;
2149
+ /** @internal */
2150
+ export declare const View$inboundSchema: z.ZodMiniType<View, unknown>;
2151
+ export declare function viewFromJSON(jsonString: string): SafeParseResult<View, SDKValidationError>;
2152
+ /** @internal */
2153
+ export declare const GetProfileViewsResponse$inboundSchema: z.ZodMiniType<GetProfileViewsResponse, unknown>;
2154
+ export declare function getProfileViewsResponseFromJSON(jsonString: string): SafeParseResult<GetProfileViewsResponse, SDKValidationError>;
2155
+ /** @internal */
2156
+ export type GetSearchAppearancesRequest$Outbound = {};
2157
+ /** @internal */
2158
+ export declare const GetSearchAppearancesRequest$outboundSchema: z.ZodMiniType<GetSearchAppearancesRequest$Outbound, GetSearchAppearancesRequest>;
2159
+ export declare function getSearchAppearancesRequestToJSON(getSearchAppearancesRequest: GetSearchAppearancesRequest): string;
2160
+ /** @internal */
2161
+ export declare const Appearances$inboundSchema: z.ZodMiniType<Appearances, unknown>;
2162
+ export declare function appearancesFromJSON(jsonString: string): SafeParseResult<Appearances, SDKValidationError>;
2163
+ /** @internal */
2164
+ export declare const GetSearchAppearancesResponse$inboundSchema: z.ZodMiniType<GetSearchAppearancesResponse, unknown>;
2165
+ export declare function getSearchAppearancesResponseFromJSON(jsonString: string): SafeParseResult<GetSearchAppearancesResponse, SDKValidationError>;
2166
+ /** @internal */
2167
+ export type GetPostAnalyticsRequest$Outbound = {
2168
+ postUrl: string;
2169
+ };
2170
+ /** @internal */
2171
+ export declare const GetPostAnalyticsRequest$outboundSchema: z.ZodMiniType<GetPostAnalyticsRequest$Outbound, GetPostAnalyticsRequest>;
2172
+ export declare function getPostAnalyticsRequestToJSON(getPostAnalyticsRequest: GetPostAnalyticsRequest): string;
2173
+ /** @internal */
2174
+ export declare const GetPostAnalyticsAnalytics$inboundSchema: z.ZodMiniType<GetPostAnalyticsAnalytics, unknown>;
2175
+ export declare function getPostAnalyticsAnalyticsFromJSON(jsonString: string): SafeParseResult<GetPostAnalyticsAnalytics, SDKValidationError>;
2176
+ /** @internal */
2177
+ export declare const GetPostAnalyticsResponse$inboundSchema: z.ZodMiniType<GetPostAnalyticsResponse, unknown>;
2178
+ export declare function getPostAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetPostAnalyticsResponse, SDKValidationError>;
2179
+ /** @internal */
2180
+ export type GetFollowerAnalyticsRequest$Outbound = {};
2181
+ /** @internal */
2182
+ export declare const GetFollowerAnalyticsRequest$outboundSchema: z.ZodMiniType<GetFollowerAnalyticsRequest$Outbound, GetFollowerAnalyticsRequest>;
2183
+ export declare function getFollowerAnalyticsRequestToJSON(getFollowerAnalyticsRequest: GetFollowerAnalyticsRequest): string;
2184
+ /** @internal */
2185
+ export declare const GetFollowerAnalyticsAnalytics$inboundSchema: z.ZodMiniType<GetFollowerAnalyticsAnalytics, unknown>;
2186
+ export declare function getFollowerAnalyticsAnalyticsFromJSON(jsonString: string): SafeParseResult<GetFollowerAnalyticsAnalytics, SDKValidationError>;
2187
+ /** @internal */
2188
+ export declare const GetFollowerAnalyticsResponse$inboundSchema: z.ZodMiniType<GetFollowerAnalyticsResponse, unknown>;
2189
+ export declare function getFollowerAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetFollowerAnalyticsResponse, SDKValidationError>;
2190
+ /** @internal */
2191
+ export type SwitchAccountRequest$Outbound = {
2192
+ credentialsId: string;
2193
+ };
2194
+ /** @internal */
2195
+ export declare const SwitchAccountRequest$outboundSchema: z.ZodMiniType<SwitchAccountRequest$Outbound, SwitchAccountRequest>;
2196
+ export declare function switchAccountRequestToJSON(switchAccountRequest: SwitchAccountRequest): string;
2197
+ /** @internal */
2198
+ export declare const SwitchAccountResponse$inboundSchema: z.ZodMiniType<SwitchAccountResponse, unknown>;
2199
+ export declare function switchAccountResponseFromJSON(jsonString: string): SafeParseResult<SwitchAccountResponse, SDKValidationError>;
2200
+ /** @internal */
2201
+ export declare const SortType$outboundSchema: z.ZodMiniEnum<typeof SortType>;
2202
+ /** @internal */
2203
+ export type ListConnectionsRequest$Outbound = {
2204
+ start: number;
2205
+ count: number;
2206
+ sortType?: string | undefined;
2207
+ keywords?: string | undefined;
2208
+ };
2209
+ /** @internal */
2210
+ export declare const ListConnectionsRequest$outboundSchema: z.ZodMiniType<ListConnectionsRequest$Outbound, ListConnectionsRequest>;
2211
+ export declare function listConnectionsRequestToJSON(listConnectionsRequest: ListConnectionsRequest): string;
2212
+ /** @internal */
2213
+ export declare const Connection$inboundSchema: z.ZodMiniType<Connection, unknown>;
2214
+ export declare function connectionFromJSON(jsonString: string): SafeParseResult<Connection, SDKValidationError>;
2215
+ /** @internal */
2216
+ export declare const ListConnectionsResponse$inboundSchema: z.ZodMiniType<ListConnectionsResponse, unknown>;
2217
+ export declare function listConnectionsResponseFromJSON(jsonString: string): SafeParseResult<ListConnectionsResponse, SDKValidationError>;
2218
+ /** @internal */
2219
+ export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
2220
+ export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
2221
+ /** @internal */
2222
+ export declare const ListPagesResponse$inboundSchema: z.ZodMiniType<ListPagesResponse, unknown>;
2223
+ export declare function listPagesResponseFromJSON(jsonString: string): SafeParseResult<ListPagesResponse, SDKValidationError>;
2224
+ /** @internal */
2225
+ export type GetCompanyPostsRequest$Outbound = {
2226
+ universalName: string;
2227
+ count: number;
2228
+ start: number;
2229
+ };
2230
+ /** @internal */
2231
+ export declare const GetCompanyPostsRequest$outboundSchema: z.ZodMiniType<GetCompanyPostsRequest$Outbound, GetCompanyPostsRequest>;
2232
+ export declare function getCompanyPostsRequestToJSON(getCompanyPostsRequest: GetCompanyPostsRequest): string;
2233
+ /** @internal */
2234
+ export declare const GetCompanyPostsPost$inboundSchema: z.ZodMiniType<GetCompanyPostsPost, unknown>;
2235
+ export declare function getCompanyPostsPostFromJSON(jsonString: string): SafeParseResult<GetCompanyPostsPost, SDKValidationError>;
2236
+ /** @internal */
2237
+ export declare const GetCompanyPostsResponse$inboundSchema: z.ZodMiniType<GetCompanyPostsResponse, unknown>;
2238
+ export declare function getCompanyPostsResponseFromJSON(jsonString: string): SafeParseResult<GetCompanyPostsResponse, SDKValidationError>;
2239
+ /** @internal */
2240
+ export type GetPermissionsRequest$Outbound = {
2241
+ universalName: string;
2242
+ };
2243
+ /** @internal */
2244
+ export declare const GetPermissionsRequest$outboundSchema: z.ZodMiniType<GetPermissionsRequest$Outbound, GetPermissionsRequest>;
2245
+ export declare function getPermissionsRequestToJSON(getPermissionsRequest: GetPermissionsRequest): string;
2246
+ /** @internal */
2247
+ export declare const Permissions$inboundSchema: z.ZodMiniType<Permissions, unknown>;
2248
+ export declare function permissionsFromJSON(jsonString: string): SafeParseResult<Permissions, SDKValidationError>;
2249
+ /** @internal */
2250
+ export declare const GetPermissionsResponse$inboundSchema: z.ZodMiniType<GetPermissionsResponse, unknown>;
2251
+ export declare function getPermissionsResponseFromJSON(jsonString: string): SafeParseResult<GetPermissionsResponse, SDKValidationError>;
2252
+ /** @internal */
2253
+ export type GetAnalyticsRequest$Outbound = {
2254
+ companyId: string;
2255
+ };
2256
+ /** @internal */
2257
+ export declare const GetAnalyticsRequest$outboundSchema: z.ZodMiniType<GetAnalyticsRequest$Outbound, GetAnalyticsRequest>;
2258
+ export declare function getAnalyticsRequestToJSON(getAnalyticsRequest: GetAnalyticsRequest): string;
2259
+ /** @internal */
2260
+ export declare const GetAnalyticsFoundedOn$inboundSchema: z.ZodMiniType<GetAnalyticsFoundedOn, unknown>;
2261
+ export declare function getAnalyticsFoundedOnFromJSON(jsonString: string): SafeParseResult<GetAnalyticsFoundedOn, SDKValidationError>;
2262
+ /** @internal */
2263
+ export declare const GetAnalyticsHeadquarter$inboundSchema: z.ZodMiniType<GetAnalyticsHeadquarter, unknown>;
2264
+ export declare function getAnalyticsHeadquarterFromJSON(jsonString: string): SafeParseResult<GetAnalyticsHeadquarter, SDKValidationError>;
2265
+ /** @internal */
2266
+ export declare const GetAnalyticsAnalytics$inboundSchema: z.ZodMiniType<GetAnalyticsAnalytics, unknown>;
2267
+ export declare function getAnalyticsAnalyticsFromJSON(jsonString: string): SafeParseResult<GetAnalyticsAnalytics, SDKValidationError>;
2268
+ /** @internal */
2269
+ export declare const GetAnalyticsResponse$inboundSchema: z.ZodMiniType<GetAnalyticsResponse, unknown>;
2270
+ export declare function getAnalyticsResponseFromJSON(jsonString: string): SafeParseResult<GetAnalyticsResponse, SDKValidationError>;
2271
+ /** @internal */
2272
+ export type ListInboxRequest$Outbound = {
2273
+ nextCursor?: string | undefined;
2274
+ };
2275
+ /** @internal */
2276
+ export declare const ListInboxRequest$outboundSchema: z.ZodMiniType<ListInboxRequest$Outbound, ListInboxRequest>;
2277
+ export declare function listInboxRequestToJSON(listInboxRequest: ListInboxRequest): string;
2278
+ /** @internal */
2279
+ export declare const ListInboxParticipant$inboundSchema: z.ZodMiniType<ListInboxParticipant, unknown>;
2280
+ export declare function listInboxParticipantFromJSON(jsonString: string): SafeParseResult<ListInboxParticipant, SDKValidationError>;
2281
+ /** @internal */
2282
+ export declare const ListInboxLastMessage$inboundSchema: z.ZodMiniType<ListInboxLastMessage, unknown>;
2283
+ export declare function listInboxLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxLastMessage, SDKValidationError>;
2284
+ /** @internal */
2285
+ export declare const ListInboxConversation$inboundSchema: z.ZodMiniType<ListInboxConversation, unknown>;
2286
+ export declare function listInboxConversationFromJSON(jsonString: string): SafeParseResult<ListInboxConversation, SDKValidationError>;
2287
+ /** @internal */
2288
+ export declare const ListInboxResponse$inboundSchema: z.ZodMiniType<ListInboxResponse, unknown>;
2289
+ export declare function listInboxResponseFromJSON(jsonString: string): SafeParseResult<ListInboxResponse, SDKValidationError>;
2290
+ /** @internal */
2291
+ export type SearchConversationsRequest$Outbound = {
2292
+ keywords: string;
2293
+ nextCursor?: string | undefined;
2294
+ };
2295
+ /** @internal */
2296
+ export declare const SearchConversationsRequest$outboundSchema: z.ZodMiniType<SearchConversationsRequest$Outbound, SearchConversationsRequest>;
2297
+ export declare function searchConversationsRequestToJSON(searchConversationsRequest: SearchConversationsRequest): string;
2298
+ /** @internal */
2299
+ export declare const SearchConversationsParticipant$inboundSchema: z.ZodMiniType<SearchConversationsParticipant, unknown>;
2300
+ export declare function searchConversationsParticipantFromJSON(jsonString: string): SafeParseResult<SearchConversationsParticipant, SDKValidationError>;
2301
+ /** @internal */
2302
+ export declare const SearchConversationsLastMessage$inboundSchema: z.ZodMiniType<SearchConversationsLastMessage, unknown>;
2303
+ export declare function searchConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<SearchConversationsLastMessage, SDKValidationError>;
2304
+ /** @internal */
2305
+ export declare const SearchConversationsConversation$inboundSchema: z.ZodMiniType<SearchConversationsConversation, unknown>;
2306
+ export declare function searchConversationsConversationFromJSON(jsonString: string): SafeParseResult<SearchConversationsConversation, SDKValidationError>;
2307
+ /** @internal */
2308
+ export declare const SearchConversationsResponse$inboundSchema: z.ZodMiniType<SearchConversationsResponse, unknown>;
2309
+ export declare function searchConversationsResponseFromJSON(jsonString: string): SafeParseResult<SearchConversationsResponse, SDKValidationError>;
2310
+ /** @internal */
2311
+ export type FindConversationRequest$Outbound = {
2312
+ profile: string;
2313
+ includeMessages?: boolean | undefined;
2314
+ };
2315
+ /** @internal */
2316
+ export declare const FindConversationRequest$outboundSchema: z.ZodMiniType<FindConversationRequest$Outbound, FindConversationRequest>;
2317
+ export declare function findConversationRequestToJSON(findConversationRequest: FindConversationRequest): string;
2318
+ /** @internal */
2319
+ export declare const FindConversationConversation$inboundSchema: z.ZodMiniType<FindConversationConversation, unknown>;
2320
+ export declare function findConversationConversationFromJSON(jsonString: string): SafeParseResult<FindConversationConversation, SDKValidationError>;
2321
+ /** @internal */
2322
+ export declare const FindConversationSender$inboundSchema: z.ZodMiniType<FindConversationSender, unknown>;
2323
+ export declare function findConversationSenderFromJSON(jsonString: string): SafeParseResult<FindConversationSender, SDKValidationError>;
2324
+ /** @internal */
2325
+ export declare const FindConversationType$inboundSchema: z.ZodMiniType<FindConversationType, unknown>;
2326
+ /** @internal */
2327
+ export declare const FindConversationAttachment$inboundSchema: z.ZodMiniType<FindConversationAttachment, unknown>;
2328
+ export declare function findConversationAttachmentFromJSON(jsonString: string): SafeParseResult<FindConversationAttachment, SDKValidationError>;
2329
+ /** @internal */
2330
+ export declare const FindConversationMessage$inboundSchema: z.ZodMiniType<FindConversationMessage, unknown>;
2331
+ export declare function findConversationMessageFromJSON(jsonString: string): SafeParseResult<FindConversationMessage, SDKValidationError>;
2332
+ /** @internal */
2333
+ export declare const FindConversationResponse$inboundSchema: z.ZodMiniType<FindConversationResponse, unknown>;
2334
+ export declare function findConversationResponseFromJSON(jsonString: string): SafeParseResult<FindConversationResponse, SDKValidationError>;
2335
+ /** @internal */
2336
+ export type GetMessagesRequest$Outbound = {
2337
+ conversationUrn: string;
2338
+ deliveredAt?: number | undefined;
2339
+ };
2340
+ /** @internal */
2341
+ export declare const GetMessagesRequest$outboundSchema: z.ZodMiniType<GetMessagesRequest$Outbound, GetMessagesRequest>;
2342
+ export declare function getMessagesRequestToJSON(getMessagesRequest: GetMessagesRequest): string;
2343
+ /** @internal */
2344
+ export declare const GetMessagesSender$inboundSchema: z.ZodMiniType<GetMessagesSender, unknown>;
2345
+ export declare function getMessagesSenderFromJSON(jsonString: string): SafeParseResult<GetMessagesSender, SDKValidationError>;
2346
+ /** @internal */
2347
+ export declare const GetMessagesType$inboundSchema: z.ZodMiniType<GetMessagesType, unknown>;
2348
+ /** @internal */
2349
+ export declare const GetMessagesAttachment$inboundSchema: z.ZodMiniType<GetMessagesAttachment, unknown>;
2350
+ export declare function getMessagesAttachmentFromJSON(jsonString: string): SafeParseResult<GetMessagesAttachment, SDKValidationError>;
2351
+ /** @internal */
2352
+ export declare const GetMessagesMessage$inboundSchema: z.ZodMiniType<GetMessagesMessage, unknown>;
2353
+ export declare function getMessagesMessageFromJSON(jsonString: string): SafeParseResult<GetMessagesMessage, SDKValidationError>;
2354
+ /** @internal */
2355
+ export declare const GetMessagesResponse$inboundSchema: z.ZodMiniType<GetMessagesResponse, unknown>;
2356
+ export declare function getMessagesResponseFromJSON(jsonString: string): SafeParseResult<GetMessagesResponse, SDKValidationError>;
2357
+ /** @internal */
2358
+ export type MarkSeenRequest$Outbound = {
2359
+ conversationUrn: string;
2360
+ };
2361
+ /** @internal */
2362
+ export declare const MarkSeenRequest$outboundSchema: z.ZodMiniType<MarkSeenRequest$Outbound, MarkSeenRequest>;
2363
+ export declare function markSeenRequestToJSON(markSeenRequest: MarkSeenRequest): string;
2364
+ /** @internal */
2365
+ export declare const MarkSeenResponse$inboundSchema: z.ZodMiniType<MarkSeenResponse, unknown>;
2366
+ export declare function markSeenResponseFromJSON(jsonString: string): SafeParseResult<MarkSeenResponse, SDKValidationError>;
2367
+ /** @internal */
2368
+ export type MarkAllReadRequest$Outbound = {};
2369
+ /** @internal */
2370
+ export declare const MarkAllReadRequest$outboundSchema: z.ZodMiniType<MarkAllReadRequest$Outbound, MarkAllReadRequest>;
2371
+ export declare function markAllReadRequestToJSON(markAllReadRequest: MarkAllReadRequest): string;
2372
+ /** @internal */
2373
+ export declare const MarkAllReadResponse$inboundSchema: z.ZodMiniType<MarkAllReadResponse, unknown>;
2374
+ export declare function markAllReadResponseFromJSON(jsonString: string): SafeParseResult<MarkAllReadResponse, SDKValidationError>;
2375
+ /** @internal */
2376
+ export type StarRequest$Outbound = {
2377
+ conversationUrn: string;
2378
+ };
2379
+ /** @internal */
2380
+ export declare const StarRequest$outboundSchema: z.ZodMiniType<StarRequest$Outbound, StarRequest>;
2381
+ export declare function starRequestToJSON(starRequest: StarRequest): string;
2382
+ /** @internal */
2383
+ export declare const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown>;
2384
+ export declare function starResponseFromJSON(jsonString: string): SafeParseResult<StarResponse, SDKValidationError>;
2385
+ /** @internal */
2386
+ export type UnstarRequest$Outbound = {
2387
+ conversationUrn: string;
2388
+ };
2389
+ /** @internal */
2390
+ export declare const UnstarRequest$outboundSchema: z.ZodMiniType<UnstarRequest$Outbound, UnstarRequest>;
2391
+ export declare function unstarRequestToJSON(unstarRequest: UnstarRequest): string;
2392
+ /** @internal */
2393
+ export declare const UnstarResponse$inboundSchema: z.ZodMiniType<UnstarResponse, unknown>;
2394
+ export declare function unstarResponseFromJSON(jsonString: string): SafeParseResult<UnstarResponse, SDKValidationError>;
2395
+ /** @internal */
2396
+ export type ListStarredRequest$Outbound = {
2397
+ nextCursor?: string | undefined;
2398
+ };
2399
+ /** @internal */
2400
+ export declare const ListStarredRequest$outboundSchema: z.ZodMiniType<ListStarredRequest$Outbound, ListStarredRequest>;
2401
+ export declare function listStarredRequestToJSON(listStarredRequest: ListStarredRequest): string;
2402
+ /** @internal */
2403
+ export declare const ListStarredParticipant$inboundSchema: z.ZodMiniType<ListStarredParticipant, unknown>;
2404
+ export declare function listStarredParticipantFromJSON(jsonString: string): SafeParseResult<ListStarredParticipant, SDKValidationError>;
2405
+ /** @internal */
2406
+ export declare const ListStarredLastMessage$inboundSchema: z.ZodMiniType<ListStarredLastMessage, unknown>;
2407
+ export declare function listStarredLastMessageFromJSON(jsonString: string): SafeParseResult<ListStarredLastMessage, SDKValidationError>;
2408
+ /** @internal */
2409
+ export declare const ListStarredConversation$inboundSchema: z.ZodMiniType<ListStarredConversation, unknown>;
2410
+ export declare function listStarredConversationFromJSON(jsonString: string): SafeParseResult<ListStarredConversation, SDKValidationError>;
2411
+ /** @internal */
2412
+ export declare const ListStarredResponse$inboundSchema: z.ZodMiniType<ListStarredResponse, unknown>;
2413
+ export declare function listStarredResponseFromJSON(jsonString: string): SafeParseResult<ListStarredResponse, SDKValidationError>;
2414
+ /** @internal */
2415
+ export type ArchiveRequest$Outbound = {
2416
+ conversationUrn: string;
2417
+ };
2418
+ /** @internal */
2419
+ export declare const ArchiveRequest$outboundSchema: z.ZodMiniType<ArchiveRequest$Outbound, ArchiveRequest>;
2420
+ export declare function archiveRequestToJSON(archiveRequest: ArchiveRequest): string;
2421
+ /** @internal */
2422
+ export declare const ArchiveResponse$inboundSchema: z.ZodMiniType<ArchiveResponse, unknown>;
2423
+ export declare function archiveResponseFromJSON(jsonString: string): SafeParseResult<ArchiveResponse, SDKValidationError>;
2424
+ /** @internal */
2425
+ export type UnarchiveRequest$Outbound = {
2426
+ conversationUrn: string;
2427
+ };
2428
+ /** @internal */
2429
+ export declare const UnarchiveRequest$outboundSchema: z.ZodMiniType<UnarchiveRequest$Outbound, UnarchiveRequest>;
2430
+ export declare function unarchiveRequestToJSON(unarchiveRequest: UnarchiveRequest): string;
2431
+ /** @internal */
2432
+ export declare const UnarchiveResponse$inboundSchema: z.ZodMiniType<UnarchiveResponse, unknown>;
2433
+ export declare function unarchiveResponseFromJSON(jsonString: string): SafeParseResult<UnarchiveResponse, SDKValidationError>;
2434
+ /** @internal */
2435
+ export type ListArchivedRequest$Outbound = {
2436
+ nextCursor?: string | undefined;
2437
+ };
2438
+ /** @internal */
2439
+ export declare const ListArchivedRequest$outboundSchema: z.ZodMiniType<ListArchivedRequest$Outbound, ListArchivedRequest>;
2440
+ export declare function listArchivedRequestToJSON(listArchivedRequest: ListArchivedRequest): string;
2441
+ /** @internal */
2442
+ export declare const ListArchivedParticipant$inboundSchema: z.ZodMiniType<ListArchivedParticipant, unknown>;
2443
+ export declare function listArchivedParticipantFromJSON(jsonString: string): SafeParseResult<ListArchivedParticipant, SDKValidationError>;
2444
+ /** @internal */
2445
+ export declare const ListArchivedLastMessage$inboundSchema: z.ZodMiniType<ListArchivedLastMessage, unknown>;
2446
+ export declare function listArchivedLastMessageFromJSON(jsonString: string): SafeParseResult<ListArchivedLastMessage, SDKValidationError>;
2447
+ /** @internal */
2448
+ export declare const ListArchivedConversation$inboundSchema: z.ZodMiniType<ListArchivedConversation, unknown>;
2449
+ export declare function listArchivedConversationFromJSON(jsonString: string): SafeParseResult<ListArchivedConversation, SDKValidationError>;
2450
+ /** @internal */
2451
+ export declare const ListArchivedResponse$inboundSchema: z.ZodMiniType<ListArchivedResponse, unknown>;
2452
+ export declare function listArchivedResponseFromJSON(jsonString: string): SafeParseResult<ListArchivedResponse, SDKValidationError>;
2453
+ /** @internal */
2454
+ export type ReactRequest$Outbound = {
2455
+ messageUrn: string;
2456
+ emoji: string;
2457
+ conversationUrn: string;
2458
+ };
2459
+ /** @internal */
2460
+ export declare const ReactRequest$outboundSchema: z.ZodMiniType<ReactRequest$Outbound, ReactRequest>;
2461
+ export declare function reactRequestToJSON(reactRequest: ReactRequest): string;
2462
+ /** @internal */
2463
+ export declare const ReactResponse$inboundSchema: z.ZodMiniType<ReactResponse, unknown>;
2464
+ export declare function reactResponseFromJSON(jsonString: string): SafeParseResult<ReactResponse, SDKValidationError>;
2465
+ /** @internal */
2466
+ export type UnreactRequest$Outbound = {
2467
+ messageUrn: string;
2468
+ emoji: string;
2469
+ conversationUrn: string;
2470
+ };
2471
+ /** @internal */
2472
+ export declare const UnreactRequest$outboundSchema: z.ZodMiniType<UnreactRequest$Outbound, UnreactRequest>;
2473
+ export declare function unreactRequestToJSON(unreactRequest: UnreactRequest): string;
2474
+ /** @internal */
2475
+ export declare const UnreactResponse$inboundSchema: z.ZodMiniType<UnreactResponse, unknown>;
2476
+ export declare function unreactResponseFromJSON(jsonString: string): SafeParseResult<UnreactResponse, SDKValidationError>;
2477
+ /** @internal */
2478
+ export type SendTypingIndicatorRequest$Outbound = {
2479
+ conversationUrn: string;
2480
+ };
2481
+ /** @internal */
2482
+ export declare const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<SendTypingIndicatorRequest$Outbound, SendTypingIndicatorRequest>;
2483
+ export declare function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest: SendTypingIndicatorRequest): string;
2484
+ /** @internal */
2485
+ export declare const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<SendTypingIndicatorResponse, unknown>;
2486
+ export declare function sendTypingIndicatorResponseFromJSON(jsonString: string): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError>;
2487
+ /** @internal */
2488
+ export declare const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<GetUnreadCountResponse, unknown>;
2489
+ export declare function getUnreadCountResponseFromJSON(jsonString: string): SafeParseResult<GetUnreadCountResponse, SDKValidationError>;
2490
+ /** @internal */
2491
+ export type FilterRequest$Outbound = {
2492
+ campaignSlug: string;
2493
+ actionSlugs: string;
2494
+ };
2495
+ /** @internal */
2496
+ export declare const FilterRequest$outboundSchema: z.ZodMiniType<FilterRequest$Outbound, FilterRequest>;
2497
+ export declare function filterRequestToJSON(filterRequest: FilterRequest): string;
2498
+ /** @internal */
2499
+ export declare const CheckedSlug$inboundSchema: z.ZodMiniType<CheckedSlug, unknown>;
2500
+ export declare function checkedSlugFromJSON(jsonString: string): SafeParseResult<CheckedSlug, SDKValidationError>;
2501
+ /** @internal */
2502
+ export declare const FilterResponse$inboundSchema: z.ZodMiniType<FilterResponse, unknown>;
2503
+ export declare function filterResponseFromJSON(jsonString: string): SafeParseResult<FilterResponse, SDKValidationError>;
2504
+ /** @internal */
2505
+ export type GetStatusRequestBody$Outbound = {
2506
+ profiles: Array<string>;
2507
+ };
2508
+ /** @internal */
2509
+ export declare const GetStatusRequestBody$outboundSchema: z.ZodMiniType<GetStatusRequestBody$Outbound, GetStatusRequestBody>;
2510
+ export declare function getStatusRequestBodyToJSON(getStatusRequestBody: GetStatusRequestBody): string;
2511
+ /** @internal */
2512
+ export type GetStatusRequest$Outbound = {
2513
+ campaignSlug: string;
2514
+ body: GetStatusRequestBody$Outbound;
2515
+ };
2516
+ /** @internal */
2517
+ export declare const GetStatusRequest$outboundSchema: z.ZodMiniType<GetStatusRequest$Outbound, GetStatusRequest>;
2518
+ export declare function getStatusRequestToJSON(getStatusRequest: GetStatusRequest): string;
2519
+ /** @internal */
2520
+ export declare const GetStatusProfile$inboundSchema: z.ZodMiniType<GetStatusProfile, unknown>;
2521
+ export declare function getStatusProfileFromJSON(jsonString: string): SafeParseResult<GetStatusProfile, SDKValidationError>;
2522
+ /** @internal */
2523
+ export declare const GetStatusResponse$inboundSchema: z.ZodMiniType<GetStatusResponse, unknown>;
2524
+ export declare function getStatusResponseFromJSON(jsonString: string): SafeParseResult<GetStatusResponse, SDKValidationError>;
2525
+ /** @internal */
2526
+ export declare const SyncAction$outboundSchema: z.ZodMiniEnum<typeof SyncAction>;
2527
+ /** @internal */
2528
+ export type SyncProfile$Outbound = {
2529
+ profile: string;
2530
+ actions: Array<string>;
2531
+ };
2532
+ /** @internal */
2533
+ export declare const SyncProfile$outboundSchema: z.ZodMiniType<SyncProfile$Outbound, SyncProfile>;
2534
+ export declare function syncProfileToJSON(syncProfile: SyncProfile): string;
2535
+ /** @internal */
2536
+ export type SyncRequestBody$Outbound = {
2537
+ profiles: Array<SyncProfile$Outbound>;
2538
+ };
2539
+ /** @internal */
2540
+ export declare const SyncRequestBody$outboundSchema: z.ZodMiniType<SyncRequestBody$Outbound, SyncRequestBody>;
2541
+ export declare function syncRequestBodyToJSON(syncRequestBody: SyncRequestBody): string;
2542
+ /** @internal */
2543
+ export type SyncRequest$Outbound = {
2544
+ campaignSlug: string;
2545
+ body: SyncRequestBody$Outbound;
2546
+ };
2547
+ /** @internal */
2548
+ export declare const SyncRequest$outboundSchema: z.ZodMiniType<SyncRequest$Outbound, SyncRequest>;
2549
+ export declare function syncRequestToJSON(syncRequest: SyncRequest): string;
2550
+ /** @internal */
2551
+ export declare const Synced$inboundSchema: z.ZodMiniType<Synced, unknown>;
2552
+ export declare function syncedFromJSON(jsonString: string): SafeParseResult<Synced, SDKValidationError>;
2553
+ /** @internal */
2554
+ export declare const SyncResponse$inboundSchema: z.ZodMiniType<SyncResponse, unknown>;
2555
+ export declare function syncResponseFromJSON(jsonString: string): SafeParseResult<SyncResponse, SDKValidationError>;
2556
+ /** @internal */
2557
+ export type GetCampaignStatsRequest$Outbound = {
2558
+ campaignSlug: string;
2559
+ };
2560
+ /** @internal */
2561
+ export declare const GetCampaignStatsRequest$outboundSchema: z.ZodMiniType<GetCampaignStatsRequest$Outbound, GetCampaignStatsRequest>;
2562
+ export declare function getCampaignStatsRequestToJSON(getCampaignStatsRequest: GetCampaignStatsRequest): string;
2563
+ /** @internal */
2564
+ export declare const GetCampaignStatsResponse$inboundSchema: z.ZodMiniType<GetCampaignStatsResponse, unknown>;
2565
+ export declare function getCampaignStatsResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignStatsResponse, SDKValidationError>;
2566
+ /** @internal */
2567
+ export declare const UpsertSource$outboundSchema: z.ZodMiniEnum<typeof UpsertSource>;
2568
+ /** @internal */
2569
+ export declare const UpsertLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof UpsertLifecycleStage>;
2570
+ /** @internal */
2571
+ export type UpsertContactRequest$Outbound = {
2572
+ linkedinUrl: string;
2573
+ profileUrn?: string | null | undefined;
2574
+ publicIdentifier?: string | null | undefined;
2575
+ name: string;
2576
+ source: string;
2577
+ sourceAngle?: string | undefined;
2578
+ lifecycleStage?: string | undefined;
2579
+ hotScore?: number | undefined;
2580
+ qualificationNotes?: string | undefined;
2581
+ notes?: string | undefined;
2582
+ };
2583
+ /** @internal */
2584
+ export declare const UpsertContactRequest$outboundSchema: z.ZodMiniType<UpsertContactRequest$Outbound, UpsertContactRequest>;
2585
+ export declare function upsertContactRequestToJSON(upsertContactRequest: UpsertContactRequest): string;
2586
+ /** @internal */
2587
+ export type UpsertRequest$Outbound = {
2588
+ contacts: Array<UpsertContactRequest$Outbound>;
2589
+ };
2590
+ /** @internal */
2591
+ export declare const UpsertRequest$outboundSchema: z.ZodMiniType<UpsertRequest$Outbound, UpsertRequest>;
2592
+ export declare function upsertRequestToJSON(upsertRequest: UpsertRequest): string;
2593
+ /** @internal */
2594
+ export declare const UpsertResults$inboundSchema: z.ZodMiniType<UpsertResults, unknown>;
2595
+ export declare function upsertResultsFromJSON(jsonString: string): SafeParseResult<UpsertResults, SDKValidationError>;
2596
+ /** @internal */
2597
+ export declare const UpsertContactResponse$inboundSchema: z.ZodMiniType<UpsertContactResponse, unknown>;
2598
+ export declare function upsertContactResponseFromJSON(jsonString: string): SafeParseResult<UpsertContactResponse, SDKValidationError>;
2599
+ /** @internal */
2600
+ export declare const UpsertResponse$inboundSchema: z.ZodMiniType<UpsertResponse, unknown>;
2601
+ export declare function upsertResponseFromJSON(jsonString: string): SafeParseResult<UpsertResponse, SDKValidationError>;
2602
+ /** @internal */
2603
+ export declare const SearchContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof SearchContactsLifecycleStage>;
2604
+ /** @internal */
2605
+ export declare const SearchContactsOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof SearchContactsOutreachStatus>;
2606
+ /** @internal */
2607
+ export declare const DoNotContact$outboundSchema: z.ZodMiniEnum<typeof DoNotContact>;
2608
+ /** @internal */
2609
+ export declare const HasProfileData$outboundSchema: z.ZodMiniEnum<typeof HasProfileData>;
2610
+ /** @internal */
2611
+ export type SearchContactsRequest$Outbound = {
2612
+ linkedinUrl?: string | undefined;
2613
+ name?: string | undefined;
2614
+ lifecycleStage?: string | undefined;
2615
+ sortBy?: string | undefined;
2616
+ minHotScore?: number | undefined;
2617
+ outreachStatus?: string | undefined;
2618
+ tag?: string | undefined;
2619
+ followUpBefore?: string | undefined;
2620
+ doNotContact?: string | undefined;
2621
+ hasProfileData?: string | undefined;
2622
+ campaignId?: string | undefined;
2623
+ limit: number;
2624
+ offset: number;
2625
+ };
2626
+ /** @internal */
2627
+ export declare const SearchContactsRequest$outboundSchema: z.ZodMiniType<SearchContactsRequest$Outbound, SearchContactsRequest>;
2628
+ export declare function searchContactsRequestToJSON(searchContactsRequest: SearchContactsRequest): string;
2629
+ /** @internal */
2630
+ export declare const SearchContactsCampaign$inboundSchema: z.ZodMiniType<SearchContactsCampaign, unknown>;
2631
+ export declare function searchContactsCampaignFromJSON(jsonString: string): SafeParseResult<SearchContactsCampaign, SDKValidationError>;
2632
+ /** @internal */
2633
+ export declare const SearchContactsContact$inboundSchema: z.ZodMiniType<SearchContactsContact, unknown>;
2634
+ export declare function searchContactsContactFromJSON(jsonString: string): SafeParseResult<SearchContactsContact, SDKValidationError>;
2635
+ //# sourceMappingURL=search-contacts-contact.d.ts.map