bereach 1.3.3 → 2.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (682) hide show
  1. package/README.md +142 -42
  2. package/esm/funcs/actions-connect-profile.d.ts +2 -2
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  4. package/esm/funcs/actions-connect-profile.js +4 -2
  5. package/esm/funcs/actions-connect-profile.js.map +1 -1
  6. package/esm/funcs/actions-follow-company.d.ts +1 -1
  7. package/esm/funcs/actions-follow-company.d.ts.map +1 -1
  8. package/esm/funcs/actions-follow-company.js +3 -1
  9. package/esm/funcs/actions-follow-company.js.map +1 -1
  10. package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
  11. package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
  12. package/esm/funcs/actions-list-sent-invitations.js +3 -1
  13. package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
  14. package/esm/funcs/actions-send-message.d.ts +2 -2
  15. package/esm/funcs/actions-send-message.d.ts.map +1 -1
  16. package/esm/funcs/actions-send-message.js +4 -2
  17. package/esm/funcs/actions-send-message.js.map +1 -1
  18. package/esm/funcs/campaigns-filter.d.ts +1 -1
  19. package/esm/funcs/campaigns-filter.d.ts.map +1 -1
  20. package/esm/funcs/campaigns-filter.js +3 -1
  21. package/esm/funcs/campaigns-filter.js.map +1 -1
  22. package/esm/funcs/{campaigns-get-stats.d.ts → campaigns-get-campaign-stats.d.ts} +2 -2
  23. package/esm/funcs/campaigns-get-campaign-stats.d.ts.map +1 -0
  24. package/esm/funcs/{campaigns-get-stats.js → campaigns-get-campaign-stats.js} +8 -7
  25. package/esm/funcs/campaigns-get-campaign-stats.js.map +1 -0
  26. package/esm/funcs/campaigns-get-status.d.ts +1 -1
  27. package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
  28. package/esm/funcs/campaigns-get-status.js +3 -1
  29. package/esm/funcs/campaigns-get-status.js.map +1 -1
  30. package/esm/funcs/campaigns-sync.d.ts +1 -1
  31. package/esm/funcs/campaigns-sync.d.ts.map +1 -1
  32. package/esm/funcs/campaigns-sync.js +3 -1
  33. package/esm/funcs/campaigns-sync.js.map +1 -1
  34. package/esm/funcs/chat-archive.d.ts +1 -1
  35. package/esm/funcs/chat-archive.d.ts.map +1 -1
  36. package/esm/funcs/chat-archive.js +3 -1
  37. package/esm/funcs/chat-archive.js.map +1 -1
  38. package/esm/funcs/chat-find-conversation.d.ts +2 -9
  39. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  40. package/esm/funcs/chat-find-conversation.js +4 -9
  41. package/esm/funcs/chat-find-conversation.js.map +1 -1
  42. package/esm/funcs/chat-unreact.d.ts +1 -1
  43. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  44. package/esm/funcs/chat-unreact.js +3 -1
  45. package/esm/funcs/chat-unreact.js.map +1 -1
  46. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  47. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  48. package/esm/funcs/company-pages-get-analytics.js +3 -1
  49. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  50. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  51. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  52. package/esm/funcs/company-pages-get-permissions.js +3 -1
  53. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  54. package/esm/funcs/company-pages-get-posts.d.ts +1 -1
  55. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -1
  56. package/esm/funcs/company-pages-get-posts.js +3 -1
  57. package/esm/funcs/company-pages-get-posts.js.map +1 -1
  58. package/esm/funcs/company-pages-list.d.ts +1 -1
  59. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  60. package/esm/funcs/company-pages-list.js +3 -1
  61. package/esm/funcs/company-pages-list.js.map +1 -1
  62. package/esm/funcs/contacts-add-campaign-contacts.d.ts +18 -0
  63. package/esm/funcs/contacts-add-campaign-contacts.d.ts.map +1 -0
  64. package/esm/funcs/contacts-add-campaign-contacts.js +103 -0
  65. package/esm/funcs/contacts-add-campaign-contacts.js.map +1 -0
  66. package/esm/funcs/contacts-add-contact-activities.d.ts +18 -0
  67. package/esm/funcs/contacts-add-contact-activities.d.ts.map +1 -0
  68. package/esm/funcs/contacts-add-contact-activities.js +103 -0
  69. package/esm/funcs/contacts-add-contact-activities.js.map +1 -0
  70. package/esm/funcs/contacts-bulk-update-contacts.d.ts +18 -0
  71. package/esm/funcs/contacts-bulk-update-contacts.d.ts.map +1 -0
  72. package/esm/funcs/contacts-bulk-update-contacts.js +97 -0
  73. package/esm/funcs/contacts-bulk-update-contacts.js.map +1 -0
  74. package/esm/funcs/contacts-create-campaign.d.ts +18 -0
  75. package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
  76. package/esm/funcs/contacts-create-campaign.js +97 -0
  77. package/esm/funcs/contacts-create-campaign.js.map +1 -0
  78. package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
  79. package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
  80. package/esm/funcs/contacts-delete-agent-state.js +102 -0
  81. package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
  82. package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
  83. package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
  84. package/esm/funcs/contacts-get-agent-state.js +102 -0
  85. package/esm/funcs/contacts-get-agent-state.js.map +1 -0
  86. package/esm/funcs/contacts-get-contact-by-url.d.ts +18 -0
  87. package/esm/funcs/contacts-get-contact-by-url.d.ts.map +1 -0
  88. package/esm/funcs/contacts-get-contact-by-url.js +100 -0
  89. package/esm/funcs/contacts-get-contact-by-url.js.map +1 -0
  90. package/esm/funcs/contacts-get-contact-stats.d.ts +18 -0
  91. package/esm/funcs/contacts-get-contact-stats.d.ts.map +1 -0
  92. package/esm/funcs/contacts-get-contact-stats.js +100 -0
  93. package/esm/funcs/contacts-get-contact-stats.js.map +1 -0
  94. package/esm/funcs/contacts-get-contact.d.ts +18 -0
  95. package/esm/funcs/contacts-get-contact.d.ts.map +1 -0
  96. package/esm/funcs/contacts-get-contact.js +102 -0
  97. package/esm/funcs/contacts-get-contact.js.map +1 -0
  98. package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
  99. package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
  100. package/esm/funcs/contacts-list-agent-states.js +86 -0
  101. package/esm/funcs/contacts-list-agent-states.js.map +1 -0
  102. package/esm/funcs/contacts-list-campaign-contacts.d.ts +18 -0
  103. package/esm/funcs/contacts-list-campaign-contacts.d.ts.map +1 -0
  104. package/esm/funcs/contacts-list-campaign-contacts.js +111 -0
  105. package/esm/funcs/contacts-list-campaign-contacts.js.map +1 -0
  106. package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
  107. package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
  108. package/esm/funcs/contacts-list-campaigns.js +103 -0
  109. package/esm/funcs/contacts-list-campaigns.js.map +1 -0
  110. package/esm/funcs/contacts-list-contact-activities.d.ts +18 -0
  111. package/esm/funcs/contacts-list-contact-activities.d.ts.map +1 -0
  112. package/esm/funcs/contacts-list-contact-activities.js +108 -0
  113. package/esm/funcs/contacts-list-contact-activities.js.map +1 -0
  114. package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
  115. package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
  116. package/esm/funcs/contacts-patch-agent-state.js +103 -0
  117. package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
  118. package/esm/funcs/contacts-search-contacts.d.ts +18 -0
  119. package/esm/funcs/contacts-search-contacts.d.ts.map +1 -0
  120. package/esm/funcs/contacts-search-contacts.js +112 -0
  121. package/esm/funcs/contacts-search-contacts.js.map +1 -0
  122. package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
  123. package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
  124. package/esm/funcs/contacts-set-agent-state.js +103 -0
  125. package/esm/funcs/contacts-set-agent-state.js.map +1 -0
  126. package/esm/funcs/contacts-update-campaign.d.ts +18 -0
  127. package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
  128. package/esm/funcs/contacts-update-campaign.js +103 -0
  129. package/esm/funcs/contacts-update-campaign.js.map +1 -0
  130. package/esm/funcs/contacts-update-contact.d.ts +18 -0
  131. package/esm/funcs/contacts-update-contact.d.ts.map +1 -0
  132. package/esm/funcs/contacts-update-contact.js +103 -0
  133. package/esm/funcs/contacts-update-contact.js.map +1 -0
  134. package/esm/funcs/contacts-upsert.d.ts +3 -2
  135. package/esm/funcs/contacts-upsert.d.ts.map +1 -1
  136. package/esm/funcs/contacts-upsert.js +21 -3
  137. package/esm/funcs/contacts-upsert.js.map +1 -1
  138. package/esm/funcs/context-delete-context.d.ts +18 -0
  139. package/esm/funcs/context-delete-context.d.ts.map +1 -0
  140. package/esm/funcs/context-delete-context.js +101 -0
  141. package/esm/funcs/context-delete-context.js.map +1 -0
  142. package/esm/funcs/context-list-context.d.ts +18 -0
  143. package/esm/funcs/context-list-context.d.ts.map +1 -0
  144. package/esm/funcs/context-list-context.js +101 -0
  145. package/esm/funcs/context-list-context.js.map +1 -0
  146. package/esm/funcs/context-set-context.d.ts +18 -0
  147. package/esm/funcs/{campaigns-get-stats.d.ts.map → context-set-context.d.ts.map} +1 -1
  148. package/esm/funcs/context-set-context.js +97 -0
  149. package/esm/funcs/context-set-context.js.map +1 -0
  150. package/esm/funcs/cron-list-cron-schedules.d.ts +18 -0
  151. package/esm/funcs/cron-list-cron-schedules.d.ts.map +1 -0
  152. package/esm/funcs/cron-list-cron-schedules.js +86 -0
  153. package/esm/funcs/cron-list-cron-schedules.js.map +1 -0
  154. package/esm/funcs/cron-update-cron-schedule.d.ts +18 -0
  155. package/esm/funcs/{chat-search-conversations.d.ts.map → cron-update-cron-schedule.d.ts.map} +1 -1
  156. package/esm/funcs/cron-update-cron-schedule.js +103 -0
  157. package/esm/funcs/cron-update-cron-schedule.js.map +1 -0
  158. package/esm/funcs/linked-in-actions-create-comment.d.ts +1 -1
  159. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -1
  160. package/esm/funcs/linked-in-actions-create-comment.js +3 -1
  161. package/esm/funcs/linked-in-actions-create-comment.js.map +1 -1
  162. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +1 -1
  163. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -1
  164. package/esm/funcs/linked-in-actions-decline-invitation.js +3 -1
  165. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -1
  166. package/esm/funcs/linked-in-actions-like-comment.d.ts +1 -1
  167. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -1
  168. package/esm/funcs/linked-in-actions-like-comment.js +3 -1
  169. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -1
  170. package/esm/funcs/linked-in-actions-publish-post.d.ts +1 -1
  171. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -1
  172. package/esm/funcs/linked-in-actions-publish-post.js +3 -1
  173. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -1
  174. package/esm/funcs/linked-in-actions-save-post.d.ts +1 -1
  175. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -1
  176. package/esm/funcs/linked-in-actions-save-post.js +3 -1
  177. package/esm/funcs/linked-in-actions-save-post.js.map +1 -1
  178. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +1 -1
  179. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -1
  180. package/esm/funcs/linked-in-actions-unfollow-profile.js +3 -1
  181. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +1 -1
  182. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts +22 -0
  183. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts.map +1 -0
  184. package/esm/funcs/{linkedin-chat-get-messages.js → linked-in-chat-get-conversation-messages.js} +15 -9
  185. package/esm/funcs/linked-in-chat-get-conversation-messages.js.map +1 -0
  186. package/esm/funcs/{linkedin-chat-get-unread-count.d.ts → linked-in-chat-get-unread-count.d.ts} +2 -2
  187. package/esm/funcs/linked-in-chat-get-unread-count.d.ts.map +1 -0
  188. package/esm/funcs/{linkedin-chat-get-unread-count.js → linked-in-chat-get-unread-count.js} +8 -7
  189. package/esm/funcs/linked-in-chat-get-unread-count.js.map +1 -0
  190. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts +18 -0
  191. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts.map +1 -0
  192. package/esm/funcs/{linkedin-chat-list-archived.js → linked-in-chat-list-archived-conversations.js} +13 -10
  193. package/esm/funcs/linked-in-chat-list-archived-conversations.js.map +1 -0
  194. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts +18 -0
  195. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts.map +1 -0
  196. package/esm/funcs/{linked-in-chat-list-starred.js → linked-in-chat-list-starred-conversations.js} +13 -10
  197. package/esm/funcs/linked-in-chat-list-starred-conversations.js.map +1 -0
  198. package/esm/funcs/linked-in-chat-mark-seen.d.ts +1 -1
  199. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -1
  200. package/esm/funcs/linked-in-chat-mark-seen.js +3 -1
  201. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -1
  202. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts +18 -0
  203. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts.map +1 -0
  204. package/esm/funcs/{chat-search-conversations.js → linked-in-chat-search-linked-in-conversations.js} +14 -8
  205. package/esm/funcs/linked-in-chat-search-linked-in-conversations.js.map +1 -0
  206. package/esm/funcs/linked-in-chat-star.d.ts +1 -1
  207. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -1
  208. package/esm/funcs/linked-in-chat-star.js +3 -1
  209. package/esm/funcs/linked-in-chat-star.js.map +1 -1
  210. package/esm/funcs/linked-in-chat-unarchive.d.ts +1 -1
  211. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -1
  212. package/esm/funcs/linked-in-chat-unarchive.js +3 -1
  213. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -1
  214. package/esm/funcs/linked-in-chat-unstar.d.ts +1 -1
  215. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -1
  216. package/esm/funcs/linked-in-chat-unstar.js +3 -1
  217. package/esm/funcs/linked-in-chat-unstar.js.map +1 -1
  218. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +2 -2
  219. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -1
  220. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +4 -2
  221. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -1
  222. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +1 -1
  223. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -1
  224. package/esm/funcs/linked-in-scrapers-get-feed.js +3 -1
  225. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -1
  226. package/esm/funcs/{linked-in-search-resolve-parameters.d.ts → linked-in-search-resolve-linked-in-search-parameters.d.ts} +6 -3
  227. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.d.ts.map +1 -0
  228. package/esm/funcs/{linked-in-search-resolve-parameters.js → linked-in-search-resolve-linked-in-search-parameters.js} +18 -8
  229. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.js.map +1 -0
  230. package/esm/funcs/linked-in-search-search-companies.d.ts +1 -1
  231. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -1
  232. package/esm/funcs/linked-in-search-search-companies.js +3 -1
  233. package/esm/funcs/linked-in-search-search-companies.js.map +1 -1
  234. package/esm/funcs/linked-in-search-search.d.ts +1 -1
  235. package/esm/funcs/linked-in-search-search.d.ts.map +1 -1
  236. package/esm/funcs/linked-in-search-search.js +3 -1
  237. package/esm/funcs/linked-in-search-search.js.map +1 -1
  238. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
  239. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
  240. package/esm/funcs/linkedin-actions-accept-invitation.js +3 -1
  241. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
  242. package/esm/funcs/linkedin-actions-edit-comment.d.ts +1 -1
  243. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +1 -1
  244. package/esm/funcs/linkedin-actions-edit-comment.js +3 -1
  245. package/esm/funcs/linkedin-actions-edit-comment.js.map +1 -1
  246. package/esm/funcs/linkedin-actions-edit-post.d.ts +1 -1
  247. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -1
  248. package/esm/funcs/linkedin-actions-edit-post.js +3 -1
  249. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -1
  250. package/esm/funcs/linkedin-actions-follow-profile.d.ts +1 -1
  251. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +1 -1
  252. package/esm/funcs/linkedin-actions-follow-profile.js +3 -1
  253. package/esm/funcs/linkedin-actions-follow-profile.js.map +1 -1
  254. package/esm/funcs/linkedin-actions-like-post.d.ts +1 -1
  255. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -1
  256. package/esm/funcs/linkedin-actions-like-post.js +3 -1
  257. package/esm/funcs/linkedin-actions-like-post.js.map +1 -1
  258. package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
  259. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
  260. package/esm/funcs/linkedin-actions-list-invitations.js +3 -1
  261. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
  262. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
  263. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
  264. package/esm/funcs/linkedin-actions-reply-to-comment.js +3 -1
  265. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
  266. package/esm/funcs/linkedin-actions-repost-post.d.ts +2 -2
  267. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -1
  268. package/esm/funcs/linkedin-actions-repost-post.js +4 -2
  269. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -1
  270. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +1 -1
  271. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -1
  272. package/esm/funcs/linkedin-actions-unfollow-company.js +3 -1
  273. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -1
  274. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +1 -1
  275. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -1
  276. package/esm/funcs/linkedin-actions-unlike-comment.js +3 -1
  277. package/esm/funcs/linkedin-actions-unlike-comment.js.map +1 -1
  278. package/esm/funcs/linkedin-actions-unlike-post.d.ts +1 -1
  279. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -1
  280. package/esm/funcs/linkedin-actions-unlike-post.js +3 -1
  281. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -1
  282. package/esm/funcs/linkedin-actions-unsave-post.d.ts +1 -1
  283. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -1
  284. package/esm/funcs/linkedin-actions-unsave-post.js +3 -1
  285. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -1
  286. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +1 -1
  287. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -1
  288. package/esm/funcs/linkedin-actions-withdraw-invitation.js +3 -1
  289. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -1
  290. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +2 -2
  291. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -1
  292. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +8 -4
  293. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -1
  294. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +1 -1
  295. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -1
  296. package/esm/funcs/linkedin-chat-mark-all-read.js +3 -1
  297. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -1
  298. package/esm/funcs/linkedin-chat-react.d.ts +1 -1
  299. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -1
  300. package/esm/funcs/linkedin-chat-react.js +3 -1
  301. package/esm/funcs/linkedin-chat-react.js.map +1 -1
  302. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +1 -1
  303. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -1
  304. package/esm/funcs/linkedin-chat-send-typing-indicator.js +3 -1
  305. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -1
  306. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +2 -2
  307. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
  308. package/esm/funcs/linkedin-scrapers-collect-comments.js +4 -2
  309. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
  310. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +1 -1
  311. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -1
  312. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +3 -1
  313. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -1
  314. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +2 -2
  315. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
  316. package/esm/funcs/linkedin-scrapers-collect-likes.js +4 -2
  317. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
  318. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +1 -1
  319. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -1
  320. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +3 -1
  321. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -1
  322. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
  323. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
  324. package/esm/funcs/linkedin-scrapers-visit-company.js +3 -1
  325. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
  326. package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
  327. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
  328. package/esm/funcs/linkedin-search-search-by-url.js +3 -1
  329. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
  330. package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
  331. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
  332. package/esm/funcs/linkedin-search-search-jobs.js +3 -1
  333. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
  334. package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
  335. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
  336. package/esm/funcs/linkedin-search-search-people.js +3 -1
  337. package/esm/funcs/linkedin-search-search-people.js.map +1 -1
  338. package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
  339. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
  340. package/esm/funcs/linkedin-search-search-posts.js +3 -1
  341. package/esm/funcs/linkedin-search-search-posts.js.map +1 -1
  342. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  343. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  344. package/esm/funcs/profile-get-follower-analytics.js +3 -1
  345. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  346. package/esm/funcs/profile-get-followers.d.ts +1 -1
  347. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  348. package/esm/funcs/profile-get-followers.js +3 -1
  349. package/esm/funcs/profile-get-followers.js.map +1 -1
  350. package/esm/funcs/profile-get-linked-in-connections.d.ts +18 -0
  351. package/esm/funcs/profile-get-linked-in-connections.d.ts.map +1 -0
  352. package/esm/funcs/profile-get-linked-in-connections.js +101 -0
  353. package/esm/funcs/profile-get-linked-in-connections.js.map +1 -0
  354. package/esm/funcs/{profile-get-credits.d.ts → profile-get-my-credits.d.ts} +2 -2
  355. package/esm/funcs/profile-get-my-credits.d.ts.map +1 -0
  356. package/esm/funcs/{profile-get-credits.js → profile-get-my-credits.js} +6 -4
  357. package/esm/funcs/profile-get-my-credits.js.map +1 -0
  358. package/esm/funcs/{profile-get-limits.d.ts → profile-get-my-limits.d.ts} +2 -2
  359. package/esm/funcs/{profile-list-accounts.d.ts.map → profile-get-my-limits.d.ts.map} +1 -1
  360. package/esm/funcs/{profile-get-limits.js → profile-get-my-limits.js} +6 -4
  361. package/esm/funcs/profile-get-my-limits.js.map +1 -0
  362. package/esm/funcs/{profile-get.d.ts → profile-get-my-linked-in-profile.d.ts} +2 -2
  363. package/esm/funcs/profile-get-my-linked-in-profile.d.ts.map +1 -0
  364. package/esm/funcs/{profile-get.js → profile-get-my-linked-in-profile.js} +6 -4
  365. package/esm/funcs/profile-get-my-linked-in-profile.js.map +1 -0
  366. package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
  367. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  368. package/esm/funcs/profile-get-post-analytics.js +4 -2
  369. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  370. package/esm/funcs/profile-get-posts.d.ts +1 -1
  371. package/esm/funcs/profile-get-posts.d.ts.map +1 -1
  372. package/esm/funcs/profile-get-posts.js +3 -1
  373. package/esm/funcs/profile-get-posts.js.map +1 -1
  374. package/esm/funcs/profile-get-profile-views.d.ts +1 -1
  375. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -1
  376. package/esm/funcs/profile-get-profile-views.js +3 -1
  377. package/esm/funcs/profile-get-profile-views.js.map +1 -1
  378. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  379. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  380. package/esm/funcs/profile-get-search-appearances.js +3 -1
  381. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  382. package/esm/funcs/{profile-list-accounts.d.ts → profile-list-linked-in-accounts.d.ts} +2 -2
  383. package/esm/funcs/profile-list-linked-in-accounts.d.ts.map +1 -0
  384. package/esm/funcs/{profile-list-accounts.js → profile-list-linked-in-accounts.js} +6 -4
  385. package/esm/funcs/profile-list-linked-in-accounts.js.map +1 -0
  386. package/esm/funcs/profile-refresh.d.ts +1 -1
  387. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  388. package/esm/funcs/profile-refresh.js +3 -1
  389. package/esm/funcs/profile-refresh.js.map +1 -1
  390. package/esm/funcs/profile-switch-linked-in-account.d.ts +18 -0
  391. package/esm/funcs/profile-switch-linked-in-account.d.ts.map +1 -0
  392. package/esm/funcs/profile-switch-linked-in-account.js +97 -0
  393. package/esm/funcs/profile-switch-linked-in-account.js.map +1 -0
  394. package/esm/funcs/profile-update-account.d.ts +1 -1
  395. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  396. package/esm/funcs/profile-update-account.js +3 -1
  397. package/esm/funcs/profile-update-account.js.map +1 -1
  398. package/esm/funcs/sales-nav-search-people.d.ts +1 -1
  399. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -1
  400. package/esm/funcs/sales-nav-search-people.js +3 -1
  401. package/esm/funcs/sales-nav-search-people.js.map +1 -1
  402. package/esm/funcs/sales-navigator-search-search-companies.d.ts +1 -1
  403. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -1
  404. package/esm/funcs/sales-navigator-search-search-companies.js +3 -1
  405. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -1
  406. package/esm/funcs/sales-navigator-search-search.d.ts +1 -1
  407. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -1
  408. package/esm/funcs/sales-navigator-search-search.js +3 -1
  409. package/esm/funcs/sales-navigator-search-search.js.map +1 -1
  410. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts +18 -0
  411. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts.map +1 -0
  412. package/esm/funcs/scheduled-messages-batch-schedule-messages.js +97 -0
  413. package/esm/funcs/scheduled-messages-batch-schedule-messages.js.map +1 -0
  414. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts +18 -0
  415. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts.map +1 -0
  416. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js +97 -0
  417. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js.map +1 -0
  418. package/esm/funcs/{chat-search-conversations.d.ts → scheduled-messages-create-scheduled-message.d.ts} +4 -4
  419. package/esm/funcs/scheduled-messages-create-scheduled-message.d.ts.map +1 -0
  420. package/esm/funcs/scheduled-messages-create-scheduled-message.js +97 -0
  421. package/esm/funcs/scheduled-messages-create-scheduled-message.js.map +1 -0
  422. package/esm/funcs/{linkedin-chat-list-archived.d.ts → scheduled-messages-list-scheduled-messages.d.ts} +4 -4
  423. package/esm/funcs/scheduled-messages-list-scheduled-messages.d.ts.map +1 -0
  424. package/esm/funcs/scheduled-messages-list-scheduled-messages.js +104 -0
  425. package/esm/funcs/scheduled-messages-list-scheduled-messages.js.map +1 -0
  426. package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
  427. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  428. package/esm/funcs/scrapers-collect-posts.js +4 -2
  429. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  430. package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
  431. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  432. package/esm/funcs/scrapers-visit-profile.js +6 -2
  433. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  434. package/esm/lib/config.d.ts +4 -4
  435. package/esm/lib/config.d.ts.map +1 -1
  436. package/esm/lib/config.js +7 -3
  437. package/esm/lib/config.js.map +1 -1
  438. package/esm/models/errors/collect-linked-in-likes.d.ts +46 -0
  439. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  440. package/esm/models/errors/collect-linked-in-likes.js +66 -0
  441. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  442. package/esm/models/operations/index.d.ts +4 -4
  443. package/esm/models/operations/index.d.ts.map +1 -1
  444. package/esm/models/operations/index.js +4 -4
  445. package/esm/models/operations/index.js.map +1 -1
  446. package/esm/models/operations/{scraping-weekly.d.ts → refresh-my-linked-in-profile-type.d.ts} +405 -620
  447. package/esm/models/operations/refresh-my-linked-in-profile-type.d.ts.map +1 -0
  448. package/esm/models/operations/{scraping-weekly.js → refresh-my-linked-in-profile-type.js} +270 -302
  449. package/esm/models/operations/refresh-my-linked-in-profile-type.js.map +1 -0
  450. package/esm/models/operations/{search-linked-in-by-url-type-post.d.ts → search-linked-in-jobs-experience-level.d.ts} +305 -255
  451. package/esm/models/operations/search-linked-in-jobs-experience-level.d.ts.map +1 -0
  452. package/esm/models/operations/{search-linked-in-by-url-type-post.js → search-linked-in-jobs-experience-level.js} +211 -178
  453. package/esm/models/operations/search-linked-in-jobs-experience-level.js.map +1 -0
  454. package/esm/models/operations/{get-campaign-stats-response.d.ts → update-contact-outreach-status.d.ts} +1520 -386
  455. package/esm/models/operations/update-contact-outreach-status.d.ts.map +1 -0
  456. package/esm/models/operations/{get-campaign-stats-response.js → update-contact-outreach-status.js} +923 -249
  457. package/esm/models/operations/update-contact-outreach-status.js.map +1 -0
  458. package/esm/models/operations/update-cron-schedule-response.d.ts +1820 -0
  459. package/esm/models/operations/update-cron-schedule-response.d.ts.map +1 -0
  460. package/esm/models/operations/update-cron-schedule-response.js +1194 -0
  461. package/esm/models/operations/update-cron-schedule-response.js.map +1 -0
  462. package/esm/sdk/actions.d.ts +2 -2
  463. package/esm/sdk/actions.js +2 -2
  464. package/esm/sdk/campaigns.d.ts +1 -1
  465. package/esm/sdk/campaigns.d.ts.map +1 -1
  466. package/esm/sdk/campaigns.js +3 -3
  467. package/esm/sdk/campaigns.js.map +1 -1
  468. package/esm/sdk/chat.d.ts +1 -15
  469. package/esm/sdk/chat.d.ts.map +1 -1
  470. package/esm/sdk/chat.js +1 -18
  471. package/esm/sdk/chat.js.map +1 -1
  472. package/esm/sdk/contacts.d.ts +127 -1
  473. package/esm/sdk/contacts.d.ts.map +1 -1
  474. package/esm/sdk/contacts.js +181 -1
  475. package/esm/sdk/contacts.js.map +1 -1
  476. package/esm/sdk/context.d.ts +26 -0
  477. package/esm/sdk/context.d.ts.map +1 -0
  478. package/esm/sdk/context.js +38 -0
  479. package/esm/sdk/context.js.map +1 -0
  480. package/esm/sdk/cron.d.ts +19 -0
  481. package/esm/sdk/cron.d.ts.map +1 -0
  482. package/esm/sdk/cron.js +28 -0
  483. package/esm/sdk/cron.js.map +1 -0
  484. package/esm/sdk/linked-in-chat-2.d.ts +39 -7
  485. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -1
  486. package/esm/sdk/linked-in-chat-2.js +54 -10
  487. package/esm/sdk/linked-in-chat-2.js.map +1 -1
  488. package/esm/sdk/linked-in-scrapers-2.d.ts +1 -1
  489. package/esm/sdk/linked-in-scrapers-2.js +1 -1
  490. package/esm/sdk/linked-in-search-1.d.ts +5 -2
  491. package/esm/sdk/linked-in-search-1.d.ts.map +1 -1
  492. package/esm/sdk/linked-in-search-1.js +7 -4
  493. package/esm/sdk/linked-in-search-1.js.map +1 -1
  494. package/esm/sdk/linkedin-actions-1.d.ts +1 -1
  495. package/esm/sdk/linkedin-actions-1.js +1 -1
  496. package/esm/sdk/linkedin-chat-1.d.ts +2 -27
  497. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -1
  498. package/esm/sdk/linkedin-chat-1.js +1 -35
  499. package/esm/sdk/linkedin-chat-1.js.map +1 -1
  500. package/esm/sdk/linkedin-scrapers-1.d.ts +2 -2
  501. package/esm/sdk/linkedin-scrapers-1.js +2 -2
  502. package/esm/sdk/profile.d.ts +19 -5
  503. package/esm/sdk/profile.d.ts.map +1 -1
  504. package/esm/sdk/profile.js +33 -13
  505. package/esm/sdk/profile.js.map +1 -1
  506. package/esm/sdk/scheduled-messages.d.ts +33 -0
  507. package/esm/sdk/scheduled-messages.d.ts.map +1 -0
  508. package/esm/sdk/scheduled-messages.js +48 -0
  509. package/esm/sdk/scheduled-messages.js.map +1 -0
  510. package/esm/sdk/scrapers.d.ts +4 -2
  511. package/esm/sdk/scrapers.d.ts.map +1 -1
  512. package/esm/sdk/scrapers.js +4 -2
  513. package/esm/sdk/scrapers.js.map +1 -1
  514. package/esm/sdk/sdk.d.ts +11 -2
  515. package/esm/sdk/sdk.d.ts.map +1 -1
  516. package/esm/sdk/sdk.js +19 -4
  517. package/esm/sdk/sdk.js.map +1 -1
  518. package/jsr.json +1 -1
  519. package/package.json +2 -4
  520. package/src/funcs/actions-connect-profile.ts +11 -1
  521. package/src/funcs/actions-follow-company.ts +10 -0
  522. package/src/funcs/actions-list-sent-invitations.ts +10 -0
  523. package/src/funcs/actions-send-message.ts +11 -1
  524. package/src/funcs/campaigns-filter.ts +10 -0
  525. package/src/funcs/{campaigns-get-stats.ts → campaigns-get-campaign-stats.ts} +14 -5
  526. package/src/funcs/campaigns-get-status.ts +10 -0
  527. package/src/funcs/campaigns-sync.ts +10 -0
  528. package/src/funcs/chat-archive.ts +10 -0
  529. package/src/funcs/chat-find-conversation.ts +11 -8
  530. package/src/funcs/chat-unreact.ts +10 -0
  531. package/src/funcs/company-pages-get-analytics.ts +10 -0
  532. package/src/funcs/company-pages-get-permissions.ts +10 -0
  533. package/src/funcs/company-pages-get-posts.ts +10 -0
  534. package/src/funcs/company-pages-list.ts +10 -0
  535. package/src/funcs/contacts-add-campaign-contacts.ts +233 -0
  536. package/src/funcs/contacts-add-contact-activities.ts +231 -0
  537. package/src/funcs/contacts-bulk-update-contacts.ts +225 -0
  538. package/src/funcs/contacts-create-campaign.ts +224 -0
  539. package/src/funcs/contacts-delete-agent-state.ts +230 -0
  540. package/src/funcs/contacts-get-agent-state.ts +229 -0
  541. package/src/funcs/contacts-get-contact-by-url.ts +228 -0
  542. package/src/funcs/contacts-get-contact-stats.ts +232 -0
  543. package/src/funcs/contacts-get-contact.ts +229 -0
  544. package/src/funcs/contacts-list-agent-states.ts +205 -0
  545. package/src/funcs/contacts-list-campaign-contacts.ts +242 -0
  546. package/src/funcs/contacts-list-campaigns.ts +235 -0
  547. package/src/funcs/contacts-list-contact-activities.ts +237 -0
  548. package/src/funcs/contacts-patch-agent-state.ts +230 -0
  549. package/src/funcs/contacts-search-contacts.ts +244 -0
  550. package/src/funcs/contacts-set-agent-state.ts +230 -0
  551. package/src/funcs/contacts-update-campaign.ts +230 -0
  552. package/src/funcs/contacts-update-contact.ts +230 -0
  553. package/src/funcs/contacts-upsert.ts +66 -3
  554. package/src/funcs/context-delete-context.ts +229 -0
  555. package/src/funcs/context-list-context.ts +230 -0
  556. package/src/funcs/context-set-context.ts +224 -0
  557. package/src/funcs/cron-list-cron-schedules.ts +205 -0
  558. package/src/funcs/cron-update-cron-schedule.ts +231 -0
  559. package/src/funcs/linked-in-actions-create-comment.ts +10 -0
  560. package/src/funcs/linked-in-actions-decline-invitation.ts +10 -0
  561. package/src/funcs/linked-in-actions-like-comment.ts +10 -0
  562. package/src/funcs/linked-in-actions-publish-post.ts +10 -0
  563. package/src/funcs/linked-in-actions-save-post.ts +10 -0
  564. package/src/funcs/linked-in-actions-unfollow-profile.ts +10 -0
  565. package/src/funcs/{linkedin-chat-get-messages.ts → linked-in-chat-get-conversation-messages.ts} +22 -7
  566. package/src/funcs/{linkedin-chat-get-unread-count.ts → linked-in-chat-get-unread-count.ts} +12 -6
  567. package/src/funcs/{linkedin-chat-list-archived.ts → linked-in-chat-list-archived-conversations.ts} +20 -8
  568. package/src/funcs/{linked-in-chat-list-starred.ts → linked-in-chat-list-starred-conversations.ts} +20 -8
  569. package/src/funcs/linked-in-chat-mark-seen.ts +10 -0
  570. package/src/funcs/{chat-search-conversations.ts → linked-in-chat-search-linked-in-conversations.ts} +21 -6
  571. package/src/funcs/linked-in-chat-star.ts +10 -0
  572. package/src/funcs/linked-in-chat-unarchive.ts +10 -0
  573. package/src/funcs/linked-in-chat-unstar.ts +10 -0
  574. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +11 -1
  575. package/src/funcs/linked-in-scrapers-get-feed.ts +10 -0
  576. package/src/funcs/{linked-in-search-resolve-parameters.ts → linked-in-search-resolve-linked-in-search-parameters.ts} +25 -6
  577. package/src/funcs/linked-in-search-search-companies.ts +10 -0
  578. package/src/funcs/linked-in-search-search.ts +10 -0
  579. package/src/funcs/linkedin-actions-accept-invitation.ts +10 -0
  580. package/src/funcs/linkedin-actions-edit-comment.ts +10 -0
  581. package/src/funcs/linkedin-actions-edit-post.ts +10 -0
  582. package/src/funcs/linkedin-actions-follow-profile.ts +10 -0
  583. package/src/funcs/linkedin-actions-like-post.ts +10 -0
  584. package/src/funcs/linkedin-actions-list-invitations.ts +10 -0
  585. package/src/funcs/linkedin-actions-reply-to-comment.ts +10 -0
  586. package/src/funcs/linkedin-actions-repost-post.ts +11 -1
  587. package/src/funcs/linkedin-actions-unfollow-company.ts +10 -0
  588. package/src/funcs/linkedin-actions-unlike-comment.ts +10 -0
  589. package/src/funcs/linkedin-actions-unlike-post.ts +10 -0
  590. package/src/funcs/linkedin-actions-unsave-post.ts +10 -0
  591. package/src/funcs/linkedin-actions-withdraw-invitation.ts +10 -0
  592. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +20 -5
  593. package/src/funcs/linkedin-chat-mark-all-read.ts +10 -0
  594. package/src/funcs/linkedin-chat-react.ts +10 -0
  595. package/src/funcs/linkedin-chat-send-typing-indicator.ts +10 -0
  596. package/src/funcs/linkedin-scrapers-collect-comments.ts +11 -1
  597. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +10 -0
  598. package/src/funcs/linkedin-scrapers-collect-likes.ts +11 -1
  599. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +10 -0
  600. package/src/funcs/linkedin-scrapers-visit-company.ts +10 -0
  601. package/src/funcs/linkedin-search-search-by-url.ts +10 -0
  602. package/src/funcs/linkedin-search-search-jobs.ts +10 -0
  603. package/src/funcs/linkedin-search-search-people.ts +10 -0
  604. package/src/funcs/linkedin-search-search-posts.ts +10 -0
  605. package/src/funcs/profile-get-follower-analytics.ts +10 -0
  606. package/src/funcs/profile-get-followers.ts +10 -0
  607. package/src/funcs/profile-get-linked-in-connections.ts +233 -0
  608. package/src/funcs/{profile-get-credits.ts → profile-get-my-credits.ts} +12 -2
  609. package/src/funcs/{profile-get-limits.ts → profile-get-my-limits.ts} +12 -2
  610. package/src/funcs/{profile-get.ts → profile-get-my-linked-in-profile.ts} +12 -2
  611. package/src/funcs/profile-get-post-analytics.ts +11 -1
  612. package/src/funcs/profile-get-posts.ts +10 -0
  613. package/src/funcs/profile-get-profile-views.ts +10 -0
  614. package/src/funcs/profile-get-search-appearances.ts +10 -0
  615. package/src/funcs/{profile-list-accounts.ts → profile-list-linked-in-accounts.ts} +12 -2
  616. package/src/funcs/profile-refresh.ts +10 -0
  617. package/src/funcs/profile-switch-linked-in-account.ts +225 -0
  618. package/src/funcs/profile-update-account.ts +10 -0
  619. package/src/funcs/sales-nav-search-people.ts +10 -0
  620. package/src/funcs/sales-navigator-search-search-companies.ts +10 -0
  621. package/src/funcs/sales-navigator-search-search.ts +10 -0
  622. package/src/funcs/scheduled-messages-batch-schedule-messages.ts +225 -0
  623. package/src/funcs/scheduled-messages-cancel-scheduled-messages.ts +225 -0
  624. package/src/funcs/scheduled-messages-create-scheduled-message.ts +225 -0
  625. package/src/funcs/scheduled-messages-list-scheduled-messages.ts +236 -0
  626. package/src/funcs/scrapers-collect-posts.ts +11 -1
  627. package/src/funcs/scrapers-visit-profile.ts +13 -1
  628. package/src/lib/config.ts +7 -3
  629. package/src/models/errors/collect-linked-in-likes.ts +108 -0
  630. package/src/models/operations/index.ts +4 -4
  631. package/src/models/operations/{scraping-weekly.ts → refresh-my-linked-in-profile-type.ts} +2106 -2363
  632. package/src/models/operations/{search-linked-in-by-url-type-post.ts → search-linked-in-jobs-experience-level.ts} +649 -536
  633. package/src/models/operations/{get-campaign-stats-response.ts → update-contact-outreach-status.ts} +3582 -1450
  634. package/src/models/operations/update-cron-schedule-response.ts +3771 -0
  635. package/src/sdk/actions.ts +2 -2
  636. package/src/sdk/campaigns.ts +3 -3
  637. package/src/sdk/chat.ts +1 -26
  638. package/src/sdk/contacts.ts +323 -1
  639. package/src/sdk/context.ts +63 -0
  640. package/src/sdk/cron.ts +43 -0
  641. package/src/sdk/linked-in-chat-2.ts +92 -18
  642. package/src/sdk/linked-in-scrapers-2.ts +1 -1
  643. package/src/sdk/linked-in-search-1.ts +7 -4
  644. package/src/sdk/linkedin-actions-1.ts +1 -1
  645. package/src/sdk/linkedin-chat-1.ts +2 -60
  646. package/src/sdk/linkedin-scrapers-1.ts +2 -2
  647. package/src/sdk/profile.ts +49 -13
  648. package/src/sdk/scheduled-messages.ts +81 -0
  649. package/src/sdk/scrapers.ts +4 -2
  650. package/src/sdk/sdk.ts +23 -5
  651. package/esm/funcs/campaigns-get-stats.js.map +0 -1
  652. package/esm/funcs/chat-search-conversations.js.map +0 -1
  653. package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
  654. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
  655. package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
  656. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
  657. package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
  658. package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
  659. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
  660. package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
  661. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
  662. package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
  663. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
  664. package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
  665. package/esm/funcs/profile-get-credits.d.ts.map +0 -1
  666. package/esm/funcs/profile-get-credits.js.map +0 -1
  667. package/esm/funcs/profile-get-limits.d.ts.map +0 -1
  668. package/esm/funcs/profile-get-limits.js.map +0 -1
  669. package/esm/funcs/profile-get.d.ts.map +0 -1
  670. package/esm/funcs/profile-get.js.map +0 -1
  671. package/esm/funcs/profile-list-accounts.js.map +0 -1
  672. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  673. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  674. package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
  675. package/esm/models/operations/scraping-weekly.js.map +0 -1
  676. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
  677. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
  678. package/esm/models/operations/upsert-contacts.d.ts +0 -182
  679. package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
  680. package/esm/models/operations/upsert-contacts.js +0 -116
  681. package/esm/models/operations/upsert-contacts.js.map +0 -1
  682. package/src/models/operations/upsert-contacts.ts +0 -305
@@ -6,7 +6,31 @@ import { remap as remap$ } from "../../lib/primitives.js";
6
6
  import { safeParse } from "../../lib/schemas.js";
7
7
  import * as openEnums from "../../types/enums.js";
8
8
  import * as types from "../../types/primitives.js";
9
- import { ConnectionRequest$inboundSchema, GetMyLimitsMessage$inboundSchema, ProfileVisit$inboundSchema, ScrapingDaily$inboundSchema, ScrapingWeekly$inboundSchema, } from "./scraping-weekly.js";
9
+ import { smartUnion } from "../../types/smart-union.js";
10
+ import { RefreshMyLinkedInProfileEducation$inboundSchema, RefreshMyLinkedInProfileLocation$inboundSchema, RefreshMyLinkedInProfilePosition$inboundSchema, RefreshMyLinkedInProfileType$inboundSchema, } from "./refresh-my-linked-in-profile-type.js";
11
+ /**
12
+ * Type of media attached to the post.
13
+ */
14
+ export const RefreshMyLinkedInProfileMediaType = {
15
+ Image: "image",
16
+ Video: "video",
17
+ Document: "document",
18
+ Article: "article",
19
+ };
20
+ export const GetMyLinkedInPostsType = {
21
+ Activity: "activity",
22
+ UgcPost: "ugcPost",
23
+ Share: "share",
24
+ };
25
+ /**
26
+ * Type of media attached to the post.
27
+ */
28
+ export const GetMyLinkedInPostsMediaType = {
29
+ Image: "image",
30
+ Video: "video",
31
+ Document: "document",
32
+ Article: "article",
33
+ };
10
34
  export const GetConversationMessagesType = {
11
35
  Audio: "audio",
12
36
  SharedPost: "shared_post",
@@ -23,18 +47,348 @@ export const FindLinkedInConversationType = {
23
47
  File: "file",
24
48
  Unknown: "unknown",
25
49
  };
26
- export const Action = {
50
+ export const SyncCampaignActionsAction = {
27
51
  Message: "message",
28
52
  Reply: "reply",
29
53
  Like: "like",
30
54
  Visit: "visit",
31
55
  Connect: "connect",
32
56
  };
57
+ /**
58
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
59
+ */
60
+ export const UpsertContactsSource = {
61
+ Likes: "likes",
62
+ Comments: "comments",
63
+ Reposts: "reposts",
64
+ Posts: "posts",
65
+ CompanyFollowers: "company_followers",
66
+ SearchResults: "search_results",
67
+ ManualImport: "manual_import",
68
+ EventAttendees: "event_attendees",
69
+ GroupMembers: "group_members",
70
+ EngagementScraping: "engagement_scraping",
71
+ ContentSearch: "content_search",
72
+ FollowersMining: "followers_mining",
73
+ PeopleSearch: "people_search",
74
+ JobSearch: "job_search",
75
+ CompanySearch: "company_search",
76
+ NetworkExpansion: "network_expansion",
77
+ };
78
+ /**
79
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
80
+ */
81
+ export const UpsertContactsLifecycleStage = {
82
+ Contact: "contact",
83
+ Lead: "lead",
84
+ Qualified: "qualified",
85
+ Approved: "approved",
86
+ Rejected: "rejected",
87
+ };
88
+ export const SearchContactsLifecycleStage = {
89
+ Contact: "contact",
90
+ Lead: "lead",
91
+ Qualified: "qualified",
92
+ Approved: "approved",
93
+ Rejected: "rejected",
94
+ };
95
+ export const SearchContactsOutreachStatus = {
96
+ None: "none",
97
+ ConnectionSent: "connection_sent",
98
+ Connected: "connected",
99
+ DmSent: "dm_sent",
100
+ FollowedUp: "followed_up",
101
+ Replied: "replied",
102
+ InConversation: "in_conversation",
103
+ MeetingBooked: "meeting_booked",
104
+ Converted: "converted",
105
+ NotInterested: "not_interested",
106
+ };
107
+ export const DoNotContact = {
108
+ True: "true",
109
+ False: "false",
110
+ };
111
+ export const HasProfileData = {
112
+ True: "true",
113
+ False: "false",
114
+ };
115
+ /**
116
+ * Promote to new stage (forward-only, except rejected)
117
+ */
118
+ export const UpdateContactLifecycleStage = {
119
+ Contact: "contact",
120
+ Lead: "lead",
121
+ Qualified: "qualified",
122
+ Approved: "approved",
123
+ Rejected: "rejected",
124
+ };
125
+ /**
126
+ * Manual outreach status override
127
+ */
128
+ export const UpdateContactOutreachStatus = {
129
+ None: "none",
130
+ ConnectionSent: "connection_sent",
131
+ Connected: "connected",
132
+ DmSent: "dm_sent",
133
+ FollowedUp: "followed_up",
134
+ Replied: "replied",
135
+ InConversation: "in_conversation",
136
+ MeetingBooked: "meeting_booked",
137
+ Converted: "converted",
138
+ NotInterested: "not_interested",
139
+ };
140
+ /** @internal */
141
+ export const RefreshMyLinkedInProfileMediaType$inboundSchema = openEnums.inboundSchema(RefreshMyLinkedInProfileMediaType);
142
+ /** @internal */
143
+ export const RefreshMyLinkedInProfileMedia$inboundSchema = z.object({
144
+ type: RefreshMyLinkedInProfileMediaType$inboundSchema,
145
+ urls: z.array(types.string()),
146
+ title: types.optional(types.string()),
147
+ thumbnailUrl: types.optional(types.string()),
148
+ });
149
+ export function refreshMyLinkedInProfileMediaFromJSON(jsonString) {
150
+ return safeParse(jsonString, (x) => RefreshMyLinkedInProfileMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshMyLinkedInProfileMedia' from JSON`);
151
+ }
152
+ /** @internal */
153
+ export const RefreshMyLinkedInProfileLastPost$inboundSchema = z.object({
154
+ postUrl: types.string(),
155
+ text: types.string(),
156
+ date: types.number(),
157
+ likesCount: types.number(),
158
+ commentsCount: types.number(),
159
+ sharesCount: types.number(),
160
+ postUrn: types.string(),
161
+ postId: types.string(),
162
+ type: RefreshMyLinkedInProfileType$inboundSchema,
163
+ media: types.optional(z.lazy(() => RefreshMyLinkedInProfileMedia$inboundSchema)),
164
+ });
165
+ export function refreshMyLinkedInProfileLastPostFromJSON(jsonString) {
166
+ return safeParse(jsonString, (x) => RefreshMyLinkedInProfileLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshMyLinkedInProfileLastPost' from JSON`);
167
+ }
168
+ /** @internal */
169
+ export const RefreshMyLinkedInProfileResponse$inboundSchema = z.object({
170
+ success: types.literal(true),
171
+ linkedinProfileId: types.nullable(types.string()),
172
+ linkedinName: types.nullable(types.string()),
173
+ linkedinEmail: types.nullable(types.string()),
174
+ profileUrn: types.nullable(types.string()),
175
+ headline: types.nullable(types.string()),
176
+ profilePic: types.nullable(types.string()),
177
+ profileUrl: types.nullable(types.string()),
178
+ positions: types.optional(z.array(RefreshMyLinkedInProfilePosition$inboundSchema)),
179
+ educations: types.optional(z.array(RefreshMyLinkedInProfileEducation$inboundSchema)),
180
+ connectionsCount: types.nullable(types.number()),
181
+ location: types.nullable(RefreshMyLinkedInProfileLocation$inboundSchema),
182
+ isVerified: types.nullable(types.boolean()),
183
+ lastPosts: types.optional(z.array(z.lazy(() => RefreshMyLinkedInProfileLastPost$inboundSchema))),
184
+ refreshed: types.literal(true),
185
+ creditsUsed: types.number(),
186
+ retryAfter: types.number(),
187
+ });
188
+ export function refreshMyLinkedInProfileResponseFromJSON(jsonString) {
189
+ return safeParse(jsonString, (x) => RefreshMyLinkedInProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RefreshMyLinkedInProfileResponse' from JSON`);
190
+ }
191
+ /** @internal */
192
+ export const GetMyLinkedInPostsRequest$outboundSchema = z.object({
193
+ count: z.optional(z.int()),
194
+ start: z.optional(z.int()),
195
+ paginationToken: z.optional(z.string()),
196
+ });
197
+ export function getMyLinkedInPostsRequestToJSON(getMyLinkedInPostsRequest) {
198
+ return JSON.stringify(GetMyLinkedInPostsRequest$outboundSchema.parse(getMyLinkedInPostsRequest));
199
+ }
200
+ /** @internal */
201
+ export const GetMyLinkedInPostsType$inboundSchema = openEnums.inboundSchema(GetMyLinkedInPostsType);
202
+ /** @internal */
203
+ export const GetMyLinkedInPostsMediaType$inboundSchema = openEnums.inboundSchema(GetMyLinkedInPostsMediaType);
204
+ /** @internal */
205
+ export const GetMyLinkedInPostsMedia$inboundSchema = z.object({
206
+ type: GetMyLinkedInPostsMediaType$inboundSchema,
207
+ urls: z.array(types.string()),
208
+ title: types.optional(types.string()),
209
+ thumbnailUrl: types.optional(types.string()),
210
+ });
211
+ export function getMyLinkedInPostsMediaFromJSON(jsonString) {
212
+ return safeParse(jsonString, (x) => GetMyLinkedInPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInPostsMedia' from JSON`);
213
+ }
214
+ /** @internal */
215
+ export const GetMyLinkedInPostsPost$inboundSchema = z.object({
216
+ postUrl: types.string(),
217
+ text: types.string(),
218
+ date: types.number(),
219
+ likesCount: types.number(),
220
+ commentsCount: types.number(),
221
+ sharesCount: types.number(),
222
+ postUrn: types.string(),
223
+ postId: types.string(),
224
+ type: GetMyLinkedInPostsType$inboundSchema,
225
+ media: types.optional(z.lazy(() => GetMyLinkedInPostsMedia$inboundSchema)),
226
+ });
227
+ export function getMyLinkedInPostsPostFromJSON(jsonString) {
228
+ return safeParse(jsonString, (x) => GetMyLinkedInPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInPostsPost' from JSON`);
229
+ }
230
+ /** @internal */
231
+ export const GetMyLinkedInPostsResponse$inboundSchema = z.object({
232
+ success: types.literal(true),
233
+ posts: z.array(z.lazy(() => GetMyLinkedInPostsPost$inboundSchema)),
234
+ count: types.number(),
235
+ total: types.number(),
236
+ start: types.number(),
237
+ hasMore: types.boolean(),
238
+ paginationToken: types.nullable(types.string()),
239
+ creditsUsed: types.number(),
240
+ retryAfter: types.number(),
241
+ });
242
+ export function getMyLinkedInPostsResponseFromJSON(jsonString) {
243
+ return safeParse(jsonString, (x) => GetMyLinkedInPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInPostsResponse' from JSON`);
244
+ }
245
+ /** @internal */
246
+ export const GetMyLinkedInFollowersRequest$outboundSchema = z.object({
247
+ start: z.optional(z.int()),
248
+ count: z.optional(z.int()),
249
+ });
250
+ export function getMyLinkedInFollowersRequestToJSON(getMyLinkedInFollowersRequest) {
251
+ return JSON.stringify(GetMyLinkedInFollowersRequest$outboundSchema.parse(getMyLinkedInFollowersRequest));
252
+ }
253
+ /** @internal */
254
+ export const Follower$inboundSchema = z
255
+ .object({
256
+ name: types.string(),
257
+ headline: types.nullable(types.string()),
258
+ profileUrl: types.nullable(types.string()),
259
+ profilePicture: types.nullable(types.string()),
260
+ followerCount: types.nullable(types.number()),
261
+ following: types.boolean(),
262
+ profileUrn: types.nullable(types.string()),
263
+ publicIdentifier: types.nullable(types.string()),
264
+ });
265
+ export function followerFromJSON(jsonString) {
266
+ return safeParse(jsonString, (x) => Follower$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Follower' from JSON`);
267
+ }
268
+ /** @internal */
269
+ export const GetMyLinkedInFollowersResponse$inboundSchema = z.object({
270
+ success: types.literal(true),
271
+ followers: z.array(z.lazy(() => Follower$inboundSchema)),
272
+ count: types.number(),
273
+ totalFollowers: types.number(),
274
+ start: types.number(),
275
+ hasMore: types.boolean(),
276
+ creditsUsed: types.number(),
277
+ retryAfter: types.number(),
278
+ });
279
+ export function getMyLinkedInFollowersResponseFromJSON(jsonString) {
280
+ return safeParse(jsonString, (x) => GetMyLinkedInFollowersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLinkedInFollowersResponse' from JSON`);
281
+ }
282
+ /** @internal */
283
+ export const ConnectionRequestDaily$inboundSchema = z.object({
284
+ current: types.number(),
285
+ limit: types.number(),
286
+ remaining: types.number(),
287
+ });
288
+ export function connectionRequestDailyFromJSON(jsonString) {
289
+ return safeParse(jsonString, (x) => ConnectionRequestDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestDaily' from JSON`);
290
+ }
291
+ /** @internal */
292
+ export const ConnectionRequestWeekly$inboundSchema = z.object({
293
+ current: types.number(),
294
+ limit: types.number(),
295
+ remaining: types.number(),
296
+ });
297
+ export function connectionRequestWeeklyFromJSON(jsonString) {
298
+ return safeParse(jsonString, (x) => ConnectionRequestWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequestWeekly' from JSON`);
299
+ }
300
+ /** @internal */
301
+ export const ConnectionRequest$inboundSchema = z.object({
302
+ daily: z.lazy(() => ConnectionRequestDaily$inboundSchema),
303
+ weekly: types.nullable(z.lazy(() => ConnectionRequestWeekly$inboundSchema)),
304
+ minIntervalSeconds: types.number(),
305
+ nextResetDaily: types.date(),
306
+ nextResetWeekly: types.nullable(types.date()),
307
+ });
308
+ export function connectionRequestFromJSON(jsonString) {
309
+ return safeParse(jsonString, (x) => ConnectionRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectionRequest' from JSON`);
310
+ }
311
+ /** @internal */
312
+ export const MessageDaily$inboundSchema = z.object({
313
+ current: types.number(),
314
+ limit: types.number(),
315
+ remaining: types.number(),
316
+ });
317
+ export function messageDailyFromJSON(jsonString) {
318
+ return safeParse(jsonString, (x) => MessageDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessageDaily' from JSON`);
319
+ }
320
+ /** @internal */
321
+ export const MessageWeekly$inboundSchema = z.object({
322
+ current: types.number(),
323
+ limit: types.number(),
324
+ remaining: types.number(),
325
+ });
326
+ export function messageWeeklyFromJSON(jsonString) {
327
+ return safeParse(jsonString, (x) => MessageWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MessageWeekly' from JSON`);
328
+ }
329
+ /** @internal */
330
+ export const GetMyLimitsMessage$inboundSchema = z.object({
331
+ daily: z.lazy(() => MessageDaily$inboundSchema),
332
+ weekly: types.nullable(z.lazy(() => MessageWeekly$inboundSchema)),
333
+ minIntervalSeconds: types.number(),
334
+ nextResetDaily: types.date(),
335
+ nextResetWeekly: types.nullable(types.date()),
336
+ });
337
+ export function getMyLimitsMessageFromJSON(jsonString) {
338
+ return safeParse(jsonString, (x) => GetMyLimitsMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetMyLimitsMessage' from JSON`);
339
+ }
340
+ /** @internal */
341
+ export const ProfileVisitDaily$inboundSchema = z.object({
342
+ current: types.number(),
343
+ limit: types.number(),
344
+ remaining: types.number(),
345
+ });
346
+ export function profileVisitDailyFromJSON(jsonString) {
347
+ return safeParse(jsonString, (x) => ProfileVisitDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisitDaily' from JSON`);
348
+ }
349
+ /** @internal */
350
+ export const ProfileVisitWeekly$inboundSchema = z.object({
351
+ current: types.number(),
352
+ limit: types.number(),
353
+ remaining: types.number(),
354
+ });
355
+ export function profileVisitWeeklyFromJSON(jsonString) {
356
+ return safeParse(jsonString, (x) => ProfileVisitWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisitWeekly' from JSON`);
357
+ }
358
+ /** @internal */
359
+ export const ProfileVisit$inboundSchema = z.object({
360
+ daily: z.lazy(() => ProfileVisitDaily$inboundSchema),
361
+ weekly: types.nullable(z.lazy(() => ProfileVisitWeekly$inboundSchema)),
362
+ minIntervalSeconds: types.number(),
363
+ nextResetDaily: types.date(),
364
+ nextResetWeekly: types.nullable(types.date()),
365
+ });
366
+ export function profileVisitFromJSON(jsonString) {
367
+ return safeParse(jsonString, (x) => ProfileVisit$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ProfileVisit' from JSON`);
368
+ }
369
+ /** @internal */
370
+ export const ScrapingDaily$inboundSchema = z.object({
371
+ current: types.number(),
372
+ limit: types.number(),
373
+ remaining: types.number(),
374
+ });
375
+ export function scrapingDailyFromJSON(jsonString) {
376
+ return safeParse(jsonString, (x) => ScrapingDaily$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScrapingDaily' from JSON`);
377
+ }
378
+ /** @internal */
379
+ export const ScrapingWeekly$inboundSchema = z.object({
380
+ current: types.number(),
381
+ limit: types.number(),
382
+ remaining: types.number(),
383
+ });
384
+ export function scrapingWeeklyFromJSON(jsonString) {
385
+ return safeParse(jsonString, (x) => ScrapingWeekly$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ScrapingWeekly' from JSON`);
386
+ }
33
387
  /** @internal */
34
388
  export const Scraping$inboundSchema = z
35
389
  .object({
36
- daily: ScrapingDaily$inboundSchema,
37
- weekly: types.nullable(ScrapingWeekly$inboundSchema),
390
+ daily: z.lazy(() => ScrapingDaily$inboundSchema),
391
+ weekly: types.nullable(z.lazy(() => ScrapingWeekly$inboundSchema)),
38
392
  minIntervalSeconds: types.number(),
39
393
  nextResetDaily: types.date(),
40
394
  nextResetWeekly: types.nullable(types.date()),
@@ -44,9 +398,9 @@ export function scrapingFromJSON(jsonString) {
44
398
  }
45
399
  /** @internal */
46
400
  export const Limits$inboundSchema = z.pipe(z.object({
47
- connection_request: ConnectionRequest$inboundSchema,
48
- message: GetMyLimitsMessage$inboundSchema,
49
- profile_visit: ProfileVisit$inboundSchema,
401
+ connection_request: z.lazy(() => ConnectionRequest$inboundSchema),
402
+ message: z.lazy(() => GetMyLimitsMessage$inboundSchema),
403
+ profile_visit: z.lazy(() => ProfileVisit$inboundSchema),
50
404
  scraping: z.lazy(() => Scraping$inboundSchema),
51
405
  }), z.transform((v) => {
52
406
  return remap$(v, {
@@ -95,9 +449,25 @@ export function getLinkedInProfileViewsRequestToJSON(getLinkedInProfileViewsRequ
95
449
  return JSON.stringify(GetLinkedInProfileViewsRequest$outboundSchema.parse(getLinkedInProfileViewsRequest));
96
450
  }
97
451
  /** @internal */
452
+ export const ViewedAt$inboundSchema = smartUnion([types.number(), types.string()]);
453
+ export function viewedAtFromJSON(jsonString) {
454
+ return safeParse(jsonString, (x) => ViewedAt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ViewedAt' from JSON`);
455
+ }
456
+ /** @internal */
457
+ export const View$inboundSchema = z.object({
458
+ entityUrn: types.string(),
459
+ viewedAt: types.nullable(smartUnion([types.number(), types.string()])),
460
+ viewer: types.nullable(types.string()),
461
+ headline: types.nullable(types.string()),
462
+ navigationUrl: types.nullable(types.string()),
463
+ });
464
+ export function viewFromJSON(jsonString) {
465
+ return safeParse(jsonString, (x) => View$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'View' from JSON`);
466
+ }
467
+ /** @internal */
98
468
  export const GetLinkedInProfileViewsResponse$inboundSchema = z.object({
99
469
  success: types.literal(true),
100
- views: z.array(z.any()),
470
+ views: z.array(z.lazy(() => View$inboundSchema)),
101
471
  total: types.number(),
102
472
  creditsUsed: types.number(),
103
473
  retryAfter: types.number(),
@@ -111,9 +481,20 @@ export function getLinkedInSearchAppearancesRequestToJSON(getLinkedInSearchAppea
111
481
  return JSON.stringify(GetLinkedInSearchAppearancesRequest$outboundSchema.parse(getLinkedInSearchAppearancesRequest));
112
482
  }
113
483
  /** @internal */
484
+ export const Appearances$inboundSchema = z
485
+ .object({
486
+ count: types.number(),
487
+ keywords: z.array(z.any()),
488
+ companies: z.array(z.any()),
489
+ raw: z.any(),
490
+ });
491
+ export function appearancesFromJSON(jsonString) {
492
+ return safeParse(jsonString, (x) => Appearances$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Appearances' from JSON`);
493
+ }
494
+ /** @internal */
114
495
  export const GetLinkedInSearchAppearancesResponse$inboundSchema = z.object({
115
496
  success: types.literal(true),
116
- appearances: z.any(),
497
+ appearances: z.lazy(() => Appearances$inboundSchema),
117
498
  creditsUsed: types.number(),
118
499
  retryAfter: types.number(),
119
500
  });
@@ -128,9 +509,18 @@ export function getLinkedInPostAnalyticsRequestToJSON(getLinkedInPostAnalyticsRe
128
509
  return JSON.stringify(GetLinkedInPostAnalyticsRequest$outboundSchema.parse(getLinkedInPostAnalyticsRequest));
129
510
  }
130
511
  /** @internal */
512
+ export const GetLinkedInPostAnalyticsAnalytics$inboundSchema = z.object({
513
+ reactions: types.number(),
514
+ comments: types.number(),
515
+ postUrn: types.string(),
516
+ });
517
+ export function getLinkedInPostAnalyticsAnalyticsFromJSON(jsonString) {
518
+ return safeParse(jsonString, (x) => GetLinkedInPostAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInPostAnalyticsAnalytics' from JSON`);
519
+ }
520
+ /** @internal */
131
521
  export const GetLinkedInPostAnalyticsResponse$inboundSchema = z.object({
132
522
  success: types.literal(true),
133
- analytics: z.any(),
523
+ analytics: z.lazy(() => GetLinkedInPostAnalyticsAnalytics$inboundSchema),
134
524
  creditsUsed: types.number(),
135
525
  retryAfter: types.number(),
136
526
  });
@@ -143,9 +533,16 @@ export function getLinkedInFollowerAnalyticsRequestToJSON(getLinkedInFollowerAna
143
533
  return JSON.stringify(GetLinkedInFollowerAnalyticsRequest$outboundSchema.parse(getLinkedInFollowerAnalyticsRequest));
144
534
  }
145
535
  /** @internal */
536
+ export const GetLinkedInFollowerAnalyticsAnalytics$inboundSchema = z.catchall(z.object({
537
+ count: types.number(),
538
+ }), z.any());
539
+ export function getLinkedInFollowerAnalyticsAnalyticsFromJSON(jsonString) {
540
+ return safeParse(jsonString, (x) => GetLinkedInFollowerAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInFollowerAnalyticsAnalytics' from JSON`);
541
+ }
542
+ /** @internal */
146
543
  export const GetLinkedInFollowerAnalyticsResponse$inboundSchema = z.object({
147
544
  success: types.literal(true),
148
- analytics: z.any(),
545
+ analytics: z.lazy(() => GetLinkedInFollowerAnalyticsAnalytics$inboundSchema),
149
546
  creditsUsed: types.number(),
150
547
  retryAfter: types.number(),
151
548
  });
@@ -153,6 +550,56 @@ export function getLinkedInFollowerAnalyticsResponseFromJSON(jsonString) {
153
550
  return safeParse(jsonString, (x) => GetLinkedInFollowerAnalyticsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInFollowerAnalyticsResponse' from JSON`);
154
551
  }
155
552
  /** @internal */
553
+ export const SwitchLinkedInAccountRequest$outboundSchema = z.object({
554
+ credentialsId: z.string(),
555
+ });
556
+ export function switchLinkedInAccountRequestToJSON(switchLinkedInAccountRequest) {
557
+ return JSON.stringify(SwitchLinkedInAccountRequest$outboundSchema.parse(switchLinkedInAccountRequest));
558
+ }
559
+ /** @internal */
560
+ export const SwitchLinkedInAccountResponse$inboundSchema = z.object({
561
+ success: types.literal(true),
562
+ creditsUsed: types.number(),
563
+ retryAfter: types.number(),
564
+ });
565
+ export function switchLinkedInAccountResponseFromJSON(jsonString) {
566
+ return safeParse(jsonString, (x) => SwitchLinkedInAccountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SwitchLinkedInAccountResponse' from JSON`);
567
+ }
568
+ /** @internal */
569
+ export const GetLinkedInConnectionsRequest$outboundSchema = z.object({
570
+ start: z._default(z.int(), 0),
571
+ count: z._default(z.int(), 40),
572
+ });
573
+ export function getLinkedInConnectionsRequestToJSON(getLinkedInConnectionsRequest) {
574
+ return JSON.stringify(GetLinkedInConnectionsRequest$outboundSchema.parse(getLinkedInConnectionsRequest));
575
+ }
576
+ /** @internal */
577
+ export const Connection$inboundSchema = z
578
+ .object({
579
+ name: types.string(),
580
+ headline: types.nullable(types.string()),
581
+ profileUrl: types.nullable(types.string()),
582
+ imageUrl: types.nullable(types.string()),
583
+ publicIdentifier: types.nullable(types.string()),
584
+ profileUrn: types.nullable(types.string()),
585
+ connectedAt: types.nullable(types.string()),
586
+ });
587
+ export function connectionFromJSON(jsonString) {
588
+ return safeParse(jsonString, (x) => Connection$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Connection' from JSON`);
589
+ }
590
+ /** @internal */
591
+ export const GetLinkedInConnectionsResponse$inboundSchema = z.object({
592
+ success: types.literal(true),
593
+ connections: z.array(z.lazy(() => Connection$inboundSchema)),
594
+ total: types.number(),
595
+ hasMore: types.boolean(),
596
+ creditsUsed: types.number(),
597
+ retryAfter: types.number(),
598
+ });
599
+ export function getLinkedInConnectionsResponseFromJSON(jsonString) {
600
+ return safeParse(jsonString, (x) => GetLinkedInConnectionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInConnectionsResponse' from JSON`);
601
+ }
602
+ /** @internal */
156
603
  export const Page$inboundSchema = z.object({
157
604
  id: types.string(),
158
605
  universalName: types.string(),
@@ -285,8 +732,7 @@ export function getCompanyPageAnalyticsHeadquarterFromJSON(jsonString) {
285
732
  return safeParse(jsonString, (x) => GetCompanyPageAnalyticsHeadquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPageAnalyticsHeadquarter' from JSON`);
286
733
  }
287
734
  /** @internal */
288
- export const Analytics$inboundSchema = z
289
- .object({
735
+ export const GetCompanyPageAnalyticsAnalytics$inboundSchema = z.object({
290
736
  name: types.string(),
291
737
  universalName: types.string(),
292
738
  followerCount: types.nullable(types.number()),
@@ -302,13 +748,13 @@ export const Analytics$inboundSchema = z
302
748
  specialities: z.array(types.string()),
303
749
  industryUrns: z.array(types.string()),
304
750
  });
305
- export function analyticsFromJSON(jsonString) {
306
- return safeParse(jsonString, (x) => Analytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Analytics' from JSON`);
751
+ export function getCompanyPageAnalyticsAnalyticsFromJSON(jsonString) {
752
+ return safeParse(jsonString, (x) => GetCompanyPageAnalyticsAnalytics$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCompanyPageAnalyticsAnalytics' from JSON`);
307
753
  }
308
754
  /** @internal */
309
755
  export const GetCompanyPageAnalyticsResponse$inboundSchema = z.object({
310
756
  success: types.literal(true),
311
- analytics: z.lazy(() => Analytics$inboundSchema),
757
+ analytics: z.lazy(() => GetCompanyPageAnalyticsAnalytics$inboundSchema),
312
758
  creditsUsed: types.number(),
313
759
  retryAfter: types.number(),
314
760
  });
@@ -371,89 +817,63 @@ export function listInboxConversationsResponseFromJSON(jsonString) {
371
817
  return safeParse(jsonString, (x) => ListInboxConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListInboxConversationsResponse' from JSON`);
372
818
  }
373
819
  /** @internal */
374
- export const GetConversationMessagesRequest$outboundSchema = z.object({
375
- conversationUrn: z.string(),
376
- deliveredAt: z.optional(z.int()),
377
- });
378
- export function getConversationMessagesRequestToJSON(getConversationMessagesRequest) {
379
- return JSON.stringify(GetConversationMessagesRequest$outboundSchema.parse(getConversationMessagesRequest));
380
- }
381
- /** @internal */
382
- export const GetConversationMessagesSender$inboundSchema = z.object({
383
- firstName: types.string(),
384
- lastName: types.string(),
385
- profileUrl: types.nullable(types.string()),
386
- headline: types.nullable(types.string()),
387
- profilePicture: types.nullable(types.string()),
388
- publicIdentifier: types.nullable(types.string()),
389
- profileUrn: types.nullable(types.string()),
390
- });
391
- export function getConversationMessagesSenderFromJSON(jsonString) {
392
- return safeParse(jsonString, (x) => GetConversationMessagesSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesSender' from JSON`);
820
+ export const MarkAllConversationsReadRequest$outboundSchema = z.object({});
821
+ export function markAllConversationsReadRequestToJSON(markAllConversationsReadRequest) {
822
+ return JSON.stringify(MarkAllConversationsReadRequest$outboundSchema.parse(markAllConversationsReadRequest));
393
823
  }
394
824
  /** @internal */
395
- export const GetConversationMessagesType$inboundSchema = openEnums.inboundSchema(GetConversationMessagesType);
396
- /** @internal */
397
- export const GetConversationMessagesAttachment$inboundSchema = z.object({
398
- type: GetConversationMessagesType$inboundSchema,
399
- audioUrl: types.optional(types.string()),
400
- audioDuration: types.optional(types.number()),
401
- hostUrn: types.optional(types.string()),
402
- repliedText: types.optional(types.string()),
403
- repliedSenderName: types.optional(types.string()),
404
- imageUrl: types.optional(types.string()),
405
- fileName: types.optional(types.string()),
406
- fileUrl: types.optional(types.string()),
825
+ export const MarkAllConversationsReadResponse$inboundSchema = z.object({
826
+ success: types.literal(true),
827
+ creditsUsed: types.number(),
828
+ retryAfter: types.number(),
407
829
  });
408
- export function getConversationMessagesAttachmentFromJSON(jsonString) {
409
- return safeParse(jsonString, (x) => GetConversationMessagesAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesAttachment' from JSON`);
830
+ export function markAllConversationsReadResponseFromJSON(jsonString) {
831
+ return safeParse(jsonString, (x) => MarkAllConversationsReadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkAllConversationsReadResponse' from JSON`);
410
832
  }
411
833
  /** @internal */
412
- export const GetConversationMessagesMessage$inboundSchema = z.object({
413
- messageUrn: types.string(),
414
- text: types.nullable(types.string()),
415
- deliveredAt: types.number(),
416
- senderProfileUrn: types.string(),
417
- sender: z.lazy(() => GetConversationMessagesSender$inboundSchema),
418
- attachments: z.array(z.lazy(() => GetConversationMessagesAttachment$inboundSchema)),
834
+ export const ReactToMessageRequest$outboundSchema = z.object({
835
+ messageUrn: z.string(),
836
+ emoji: z.string(),
837
+ conversationUrn: z.string(),
419
838
  });
420
- export function getConversationMessagesMessageFromJSON(jsonString) {
421
- return safeParse(jsonString, (x) => GetConversationMessagesMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesMessage' from JSON`);
839
+ export function reactToMessageRequestToJSON(reactToMessageRequest) {
840
+ return JSON.stringify(ReactToMessageRequest$outboundSchema.parse(reactToMessageRequest));
422
841
  }
423
842
  /** @internal */
424
- export const GetConversationMessagesResponse$inboundSchema = z.object({
843
+ export const ReactToMessageResponse$inboundSchema = z.object({
425
844
  success: types.literal(true),
426
- messages: z.array(z.lazy(() => GetConversationMessagesMessage$inboundSchema)),
427
- prevCursor: types.nullable(types.number()),
428
845
  creditsUsed: types.number(),
429
846
  retryAfter: types.number(),
430
847
  });
431
- export function getConversationMessagesResponseFromJSON(jsonString) {
432
- return safeParse(jsonString, (x) => GetConversationMessagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesResponse' from JSON`);
848
+ export function reactToMessageResponseFromJSON(jsonString) {
849
+ return safeParse(jsonString, (x) => ReactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReactToMessageResponse' from JSON`);
433
850
  }
434
851
  /** @internal */
435
- export const MarkAllConversationsReadRequest$outboundSchema = z.object({});
436
- export function markAllConversationsReadRequestToJSON(markAllConversationsReadRequest) {
437
- return JSON.stringify(MarkAllConversationsReadRequest$outboundSchema.parse(markAllConversationsReadRequest));
852
+ export const SendTypingIndicatorRequest$outboundSchema = z.object({
853
+ conversationUrn: z.string(),
854
+ });
855
+ export function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest) {
856
+ return JSON.stringify(SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest));
438
857
  }
439
858
  /** @internal */
440
- export const MarkAllConversationsReadResponse$inboundSchema = z.object({
859
+ export const SendTypingIndicatorResponse$inboundSchema = z.object({
441
860
  success: types.literal(true),
442
861
  creditsUsed: types.number(),
443
862
  retryAfter: types.number(),
444
863
  });
445
- export function markAllConversationsReadResponseFromJSON(jsonString) {
446
- return safeParse(jsonString, (x) => MarkAllConversationsReadResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'MarkAllConversationsReadResponse' from JSON`);
864
+ export function sendTypingIndicatorResponseFromJSON(jsonString) {
865
+ return safeParse(jsonString, (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendTypingIndicatorResponse' from JSON`);
447
866
  }
448
867
  /** @internal */
449
- export const ListArchivedConversationsRequest$outboundSchema = z.object({
868
+ export const SearchLinkedInConversationsRequest$outboundSchema = z.object({
869
+ keywords: z.string(),
450
870
  nextCursor: z.optional(z.string()),
451
871
  });
452
- export function listArchivedConversationsRequestToJSON(listArchivedConversationsRequest) {
453
- return JSON.stringify(ListArchivedConversationsRequest$outboundSchema.parse(listArchivedConversationsRequest));
872
+ export function searchLinkedInConversationsRequestToJSON(searchLinkedInConversationsRequest) {
873
+ return JSON.stringify(SearchLinkedInConversationsRequest$outboundSchema.parse(searchLinkedInConversationsRequest));
454
874
  }
455
875
  /** @internal */
456
- export const ListArchivedConversationsParticipant$inboundSchema = z.object({
876
+ export const SearchLinkedInConversationsParticipant$inboundSchema = z.object({
457
877
  profileUrn: types.string(),
458
878
  firstName: types.string(),
459
879
  lastName: types.string(),
@@ -462,20 +882,20 @@ export const ListArchivedConversationsParticipant$inboundSchema = z.object({
462
882
  profilePicture: types.nullable(types.string()),
463
883
  publicIdentifier: types.nullable(types.string()),
464
884
  });
465
- export function listArchivedConversationsParticipantFromJSON(jsonString) {
466
- return safeParse(jsonString, (x) => ListArchivedConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsParticipant' from JSON`);
885
+ export function searchLinkedInConversationsParticipantFromJSON(jsonString) {
886
+ return safeParse(jsonString, (x) => SearchLinkedInConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsParticipant' from JSON`);
467
887
  }
468
888
  /** @internal */
469
- export const ListArchivedConversationsLastMessage$inboundSchema = z.object({
889
+ export const SearchLinkedInConversationsLastMessage$inboundSchema = z.object({
470
890
  text: types.nullable(types.string()),
471
891
  deliveredAt: types.number(),
472
892
  senderProfileUrn: types.string(),
473
893
  });
474
- export function listArchivedConversationsLastMessageFromJSON(jsonString) {
475
- return safeParse(jsonString, (x) => ListArchivedConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsLastMessage' from JSON`);
894
+ export function searchLinkedInConversationsLastMessageFromJSON(jsonString) {
895
+ return safeParse(jsonString, (x) => SearchLinkedInConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsLastMessage' from JSON`);
476
896
  }
477
897
  /** @internal */
478
- export const ListArchivedConversationsConversation$inboundSchema = z.object({
898
+ export const SearchLinkedInConversationsConversation$inboundSchema = z.object({
479
899
  conversationUrn: types.string(),
480
900
  conversationUrl: types.string(),
481
901
  lastActivityAt: types.number(),
@@ -483,82 +903,93 @@ export const ListArchivedConversationsConversation$inboundSchema = z.object({
483
903
  read: types.boolean(),
484
904
  unreadCount: types.number(),
485
905
  groupChat: types.boolean(),
486
- participants: z.array(z.lazy(() => ListArchivedConversationsParticipant$inboundSchema)),
487
- lastMessage: types.nullable(z.lazy(() => ListArchivedConversationsLastMessage$inboundSchema)),
906
+ participants: z.array(z.lazy(() => SearchLinkedInConversationsParticipant$inboundSchema)),
907
+ lastMessage: types.nullable(z.lazy(() => SearchLinkedInConversationsLastMessage$inboundSchema)),
488
908
  });
489
- export function listArchivedConversationsConversationFromJSON(jsonString) {
490
- return safeParse(jsonString, (x) => ListArchivedConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsConversation' from JSON`);
909
+ export function searchLinkedInConversationsConversationFromJSON(jsonString) {
910
+ return safeParse(jsonString, (x) => SearchLinkedInConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsConversation' from JSON`);
491
911
  }
492
912
  /** @internal */
493
- export const ListArchivedConversationsResponse$inboundSchema = z.object({
913
+ export const SearchLinkedInConversationsResponse$inboundSchema = z.object({
494
914
  success: types.literal(true),
495
- conversations: z.array(z.lazy(() => ListArchivedConversationsConversation$inboundSchema)),
915
+ conversations: z.array(z.lazy(() => SearchLinkedInConversationsConversation$inboundSchema)),
496
916
  nextCursor: types.nullable(types.string()),
497
917
  creditsUsed: types.number(),
498
918
  retryAfter: types.number(),
499
919
  });
500
- export function listArchivedConversationsResponseFromJSON(jsonString) {
501
- return safeParse(jsonString, (x) => ListArchivedConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsResponse' from JSON`);
920
+ export function searchLinkedInConversationsResponseFromJSON(jsonString) {
921
+ return safeParse(jsonString, (x) => SearchLinkedInConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsResponse' from JSON`);
502
922
  }
503
923
  /** @internal */
504
- export const ReactToMessageRequest$outboundSchema = z.object({
505
- messageUrn: z.string(),
506
- emoji: z.string(),
924
+ export const GetConversationMessagesRequest$outboundSchema = z.object({
507
925
  conversationUrn: z.string(),
926
+ deliveredAt: z.optional(z.int()),
508
927
  });
509
- export function reactToMessageRequestToJSON(reactToMessageRequest) {
510
- return JSON.stringify(ReactToMessageRequest$outboundSchema.parse(reactToMessageRequest));
928
+ export function getConversationMessagesRequestToJSON(getConversationMessagesRequest) {
929
+ return JSON.stringify(GetConversationMessagesRequest$outboundSchema.parse(getConversationMessagesRequest));
511
930
  }
512
931
  /** @internal */
513
- export const ReactToMessageResponse$inboundSchema = z.object({
514
- success: types.literal(true),
515
- creditsUsed: types.number(),
516
- retryAfter: types.number(),
932
+ export const GetConversationMessagesSender$inboundSchema = z.object({
933
+ firstName: types.string(),
934
+ lastName: types.string(),
935
+ profileUrl: types.nullable(types.string()),
936
+ headline: types.nullable(types.string()),
937
+ profilePicture: types.nullable(types.string()),
938
+ publicIdentifier: types.nullable(types.string()),
939
+ profileUrn: types.nullable(types.string()),
517
940
  });
518
- export function reactToMessageResponseFromJSON(jsonString) {
519
- return safeParse(jsonString, (x) => ReactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReactToMessageResponse' from JSON`);
941
+ export function getConversationMessagesSenderFromJSON(jsonString) {
942
+ return safeParse(jsonString, (x) => GetConversationMessagesSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesSender' from JSON`);
520
943
  }
521
944
  /** @internal */
522
- export const SendTypingIndicatorRequest$outboundSchema = z.object({
523
- conversationUrn: z.string(),
524
- });
525
- export function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest) {
526
- return JSON.stringify(SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest));
527
- }
945
+ export const GetConversationMessagesType$inboundSchema = openEnums.inboundSchema(GetConversationMessagesType);
528
946
  /** @internal */
529
- export const SendTypingIndicatorResponse$inboundSchema = z.object({
530
- success: types.literal(true),
531
- creditsUsed: types.number(),
532
- retryAfter: types.number(),
947
+ export const GetConversationMessagesAttachment$inboundSchema = z.object({
948
+ type: GetConversationMessagesType$inboundSchema,
949
+ audioUrl: types.optional(types.string()),
950
+ audioDuration: types.optional(types.number()),
951
+ hostUrn: types.optional(types.string()),
952
+ repliedText: types.optional(types.string()),
953
+ repliedSenderName: types.optional(types.string()),
954
+ imageUrl: types.optional(types.string()),
955
+ fileName: types.optional(types.string()),
956
+ fileUrl: types.optional(types.string()),
533
957
  });
534
- export function sendTypingIndicatorResponseFromJSON(jsonString) {
535
- return safeParse(jsonString, (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendTypingIndicatorResponse' from JSON`);
958
+ export function getConversationMessagesAttachmentFromJSON(jsonString) {
959
+ return safeParse(jsonString, (x) => GetConversationMessagesAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesAttachment' from JSON`);
536
960
  }
537
961
  /** @internal */
538
- export const GetUnreadCountRequest$outboundSchema = z.object({});
539
- export function getUnreadCountRequestToJSON(getUnreadCountRequest) {
540
- return JSON.stringify(GetUnreadCountRequest$outboundSchema.parse(getUnreadCountRequest));
962
+ export const GetConversationMessagesMessage$inboundSchema = z.object({
963
+ messageUrn: types.string(),
964
+ text: types.nullable(types.string()),
965
+ deliveredAt: types.number(),
966
+ senderProfileUrn: types.string(),
967
+ sender: z.lazy(() => GetConversationMessagesSender$inboundSchema),
968
+ attachments: z.array(z.lazy(() => GetConversationMessagesAttachment$inboundSchema)),
969
+ });
970
+ export function getConversationMessagesMessageFromJSON(jsonString) {
971
+ return safeParse(jsonString, (x) => GetConversationMessagesMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesMessage' from JSON`);
541
972
  }
542
973
  /** @internal */
543
- export const GetUnreadCountResponse$inboundSchema = z.object({
974
+ export const GetConversationMessagesResponse$inboundSchema = z.object({
544
975
  success: types.literal(true),
545
- unreadCount: types.number(),
976
+ messages: z.array(z.lazy(() => GetConversationMessagesMessage$inboundSchema)),
977
+ prevCursor: types.nullable(types.number()),
546
978
  creditsUsed: types.number(),
547
979
  retryAfter: types.number(),
548
980
  });
549
- export function getUnreadCountResponseFromJSON(jsonString) {
550
- return safeParse(jsonString, (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetUnreadCountResponse' from JSON`);
981
+ export function getConversationMessagesResponseFromJSON(jsonString) {
982
+ return safeParse(jsonString, (x) => GetConversationMessagesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetConversationMessagesResponse' from JSON`);
551
983
  }
552
984
  /** @internal */
553
- export const SearchLinkedInConversationsRequest$outboundSchema = z.object({
554
- keywords: z.string(),
985
+ export const ListStarredConversationsRequest$outboundSchema = z.object({
555
986
  nextCursor: z.optional(z.string()),
556
987
  });
557
- export function searchLinkedInConversationsRequestToJSON(searchLinkedInConversationsRequest) {
558
- return JSON.stringify(SearchLinkedInConversationsRequest$outboundSchema.parse(searchLinkedInConversationsRequest));
988
+ export function listStarredConversationsRequestToJSON(listStarredConversationsRequest) {
989
+ return JSON.stringify(ListStarredConversationsRequest$outboundSchema.parse(listStarredConversationsRequest));
559
990
  }
560
991
  /** @internal */
561
- export const SearchLinkedInConversationsParticipant$inboundSchema = z.object({
992
+ export const ListStarredConversationsParticipant$inboundSchema = z.object({
562
993
  profileUrn: types.string(),
563
994
  firstName: types.string(),
564
995
  lastName: types.string(),
@@ -567,20 +998,20 @@ export const SearchLinkedInConversationsParticipant$inboundSchema = z.object({
567
998
  profilePicture: types.nullable(types.string()),
568
999
  publicIdentifier: types.nullable(types.string()),
569
1000
  });
570
- export function searchLinkedInConversationsParticipantFromJSON(jsonString) {
571
- return safeParse(jsonString, (x) => SearchLinkedInConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsParticipant' from JSON`);
1001
+ export function listStarredConversationsParticipantFromJSON(jsonString) {
1002
+ return safeParse(jsonString, (x) => ListStarredConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsParticipant' from JSON`);
572
1003
  }
573
1004
  /** @internal */
574
- export const SearchLinkedInConversationsLastMessage$inboundSchema = z.object({
1005
+ export const ListStarredConversationsLastMessage$inboundSchema = z.object({
575
1006
  text: types.nullable(types.string()),
576
1007
  deliveredAt: types.number(),
577
1008
  senderProfileUrn: types.string(),
578
1009
  });
579
- export function searchLinkedInConversationsLastMessageFromJSON(jsonString) {
580
- return safeParse(jsonString, (x) => SearchLinkedInConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsLastMessage' from JSON`);
1010
+ export function listStarredConversationsLastMessageFromJSON(jsonString) {
1011
+ return safeParse(jsonString, (x) => ListStarredConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsLastMessage' from JSON`);
581
1012
  }
582
1013
  /** @internal */
583
- export const SearchLinkedInConversationsConversation$inboundSchema = z.object({
1014
+ export const ListStarredConversationsConversation$inboundSchema = z.object({
584
1015
  conversationUrn: types.string(),
585
1016
  conversationUrl: types.string(),
586
1017
  lastActivityAt: types.number(),
@@ -588,125 +1019,87 @@ export const SearchLinkedInConversationsConversation$inboundSchema = z.object({
588
1019
  read: types.boolean(),
589
1020
  unreadCount: types.number(),
590
1021
  groupChat: types.boolean(),
591
- participants: z.array(z.lazy(() => SearchLinkedInConversationsParticipant$inboundSchema)),
592
- lastMessage: types.nullable(z.lazy(() => SearchLinkedInConversationsLastMessage$inboundSchema)),
1022
+ participants: z.array(z.lazy(() => ListStarredConversationsParticipant$inboundSchema)),
1023
+ lastMessage: types.nullable(z.lazy(() => ListStarredConversationsLastMessage$inboundSchema)),
593
1024
  });
594
- export function searchLinkedInConversationsConversationFromJSON(jsonString) {
595
- return safeParse(jsonString, (x) => SearchLinkedInConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsConversation' from JSON`);
1025
+ export function listStarredConversationsConversationFromJSON(jsonString) {
1026
+ return safeParse(jsonString, (x) => ListStarredConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsConversation' from JSON`);
596
1027
  }
597
1028
  /** @internal */
598
- export const SearchLinkedInConversationsResponse$inboundSchema = z.object({
1029
+ export const ListStarredConversationsResponse$inboundSchema = z.object({
599
1030
  success: types.literal(true),
600
- conversations: z.array(z.lazy(() => SearchLinkedInConversationsConversation$inboundSchema)),
1031
+ conversations: z.array(z.lazy(() => ListStarredConversationsConversation$inboundSchema)),
601
1032
  nextCursor: types.nullable(types.string()),
602
1033
  creditsUsed: types.number(),
603
1034
  retryAfter: types.number(),
604
1035
  });
605
- export function searchLinkedInConversationsResponseFromJSON(jsonString) {
606
- return safeParse(jsonString, (x) => SearchLinkedInConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInConversationsResponse' from JSON`);
607
- }
608
- /** @internal */
609
- export const FindLinkedInConversationRequest$outboundSchema = z.object({
610
- profile: z.string(),
611
- includeMessages: z._default(z.boolean(), false),
612
- });
613
- export function findLinkedInConversationRequestToJSON(findLinkedInConversationRequest) {
614
- return JSON.stringify(FindLinkedInConversationRequest$outboundSchema.parse(findLinkedInConversationRequest));
1036
+ export function listStarredConversationsResponseFromJSON(jsonString) {
1037
+ return safeParse(jsonString, (x) => ListStarredConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsResponse' from JSON`);
615
1038
  }
616
1039
  /** @internal */
617
- export const FindLinkedInConversationConversation$inboundSchema = z.object({
618
- conversationUrn: types.string(),
1040
+ export const ListArchivedConversationsRequest$outboundSchema = z.object({
1041
+ nextCursor: z.optional(z.string()),
619
1042
  });
620
- export function findLinkedInConversationConversationFromJSON(jsonString) {
621
- return safeParse(jsonString, (x) => FindLinkedInConversationConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationConversation' from JSON`);
1043
+ export function listArchivedConversationsRequestToJSON(listArchivedConversationsRequest) {
1044
+ return JSON.stringify(ListArchivedConversationsRequest$outboundSchema.parse(listArchivedConversationsRequest));
622
1045
  }
623
1046
  /** @internal */
624
- export const FindLinkedInConversationSender$inboundSchema = z.object({
1047
+ export const ListArchivedConversationsParticipant$inboundSchema = z.object({
1048
+ profileUrn: types.string(),
625
1049
  firstName: types.string(),
626
1050
  lastName: types.string(),
627
1051
  profileUrl: types.nullable(types.string()),
628
1052
  headline: types.nullable(types.string()),
629
1053
  profilePicture: types.nullable(types.string()),
630
1054
  publicIdentifier: types.nullable(types.string()),
631
- profileUrn: types.nullable(types.string()),
632
1055
  });
633
- export function findLinkedInConversationSenderFromJSON(jsonString) {
634
- return safeParse(jsonString, (x) => FindLinkedInConversationSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationSender' from JSON`);
635
- }
636
- /** @internal */
637
- export const FindLinkedInConversationType$inboundSchema = openEnums.inboundSchema(FindLinkedInConversationType);
638
- /** @internal */
639
- export const FindLinkedInConversationAttachment$inboundSchema = z.object({
640
- type: FindLinkedInConversationType$inboundSchema,
641
- audioUrl: types.optional(types.string()),
642
- audioDuration: types.optional(types.number()),
643
- hostUrn: types.optional(types.string()),
644
- repliedText: types.optional(types.string()),
645
- repliedSenderName: types.optional(types.string()),
646
- imageUrl: types.optional(types.string()),
647
- fileName: types.optional(types.string()),
648
- fileUrl: types.optional(types.string()),
649
- });
650
- export function findLinkedInConversationAttachmentFromJSON(jsonString) {
651
- return safeParse(jsonString, (x) => FindLinkedInConversationAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationAttachment' from JSON`);
1056
+ export function listArchivedConversationsParticipantFromJSON(jsonString) {
1057
+ return safeParse(jsonString, (x) => ListArchivedConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsParticipant' from JSON`);
652
1058
  }
653
1059
  /** @internal */
654
- export const FindLinkedInConversationMessage$inboundSchema = z.object({
655
- messageUrn: types.string(),
1060
+ export const ListArchivedConversationsLastMessage$inboundSchema = z.object({
656
1061
  text: types.nullable(types.string()),
657
1062
  deliveredAt: types.number(),
658
1063
  senderProfileUrn: types.string(),
659
- sender: z.lazy(() => FindLinkedInConversationSender$inboundSchema),
660
- attachments: z.array(z.lazy(() => FindLinkedInConversationAttachment$inboundSchema)),
661
- });
662
- export function findLinkedInConversationMessageFromJSON(jsonString) {
663
- return safeParse(jsonString, (x) => FindLinkedInConversationMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationMessage' from JSON`);
664
- }
665
- /** @internal */
666
- export const FindLinkedInConversationResponse$inboundSchema = z.object({
667
- success: types.literal(true),
668
- found: types.boolean(),
669
- conversation: types.nullable(z.lazy(() => FindLinkedInConversationConversation$inboundSchema)),
670
- messages: types.nullable(z.array(z.lazy(() => FindLinkedInConversationMessage$inboundSchema))),
671
- creditsUsed: types.number(),
672
- retryAfter: types.number(),
673
1064
  });
674
- export function findLinkedInConversationResponseFromJSON(jsonString) {
675
- return safeParse(jsonString, (x) => FindLinkedInConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationResponse' from JSON`);
1065
+ export function listArchivedConversationsLastMessageFromJSON(jsonString) {
1066
+ return safeParse(jsonString, (x) => ListArchivedConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsLastMessage' from JSON`);
676
1067
  }
677
1068
  /** @internal */
678
- export const ArchiveConversationRequest$outboundSchema = z.object({
679
- conversationUrn: z.string(),
1069
+ export const ListArchivedConversationsConversation$inboundSchema = z.object({
1070
+ conversationUrn: types.string(),
1071
+ conversationUrl: types.string(),
1072
+ lastActivityAt: types.number(),
1073
+ createdAt: types.number(),
1074
+ read: types.boolean(),
1075
+ unreadCount: types.number(),
1076
+ groupChat: types.boolean(),
1077
+ participants: z.array(z.lazy(() => ListArchivedConversationsParticipant$inboundSchema)),
1078
+ lastMessage: types.nullable(z.lazy(() => ListArchivedConversationsLastMessage$inboundSchema)),
680
1079
  });
681
- export function archiveConversationRequestToJSON(archiveConversationRequest) {
682
- return JSON.stringify(ArchiveConversationRequest$outboundSchema.parse(archiveConversationRequest));
1080
+ export function listArchivedConversationsConversationFromJSON(jsonString) {
1081
+ return safeParse(jsonString, (x) => ListArchivedConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsConversation' from JSON`);
683
1082
  }
684
1083
  /** @internal */
685
- export const ArchiveConversationResponse$inboundSchema = z.object({
1084
+ export const ListArchivedConversationsResponse$inboundSchema = z.object({
686
1085
  success: types.literal(true),
1086
+ conversations: z.array(z.lazy(() => ListArchivedConversationsConversation$inboundSchema)),
1087
+ nextCursor: types.nullable(types.string()),
687
1088
  creditsUsed: types.number(),
688
1089
  retryAfter: types.number(),
689
1090
  });
690
- export function archiveConversationResponseFromJSON(jsonString) {
691
- return safeParse(jsonString, (x) => ArchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArchiveConversationResponse' from JSON`);
692
- }
693
- /** @internal */
694
- export const UnreactToMessageRequest$outboundSchema = z.object({
695
- messageUrn: z.string(),
696
- emoji: z.string(),
697
- conversationUrn: z.string(),
698
- });
699
- export function unreactToMessageRequestToJSON(unreactToMessageRequest) {
700
- return JSON.stringify(UnreactToMessageRequest$outboundSchema.parse(unreactToMessageRequest));
1091
+ export function listArchivedConversationsResponseFromJSON(jsonString) {
1092
+ return safeParse(jsonString, (x) => ListArchivedConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListArchivedConversationsResponse' from JSON`);
701
1093
  }
702
1094
  /** @internal */
703
- export const UnreactToMessageResponse$inboundSchema = z.object({
1095
+ export const GetUnreadCountResponse$inboundSchema = z.object({
704
1096
  success: types.literal(true),
1097
+ unreadCount: types.number(),
705
1098
  creditsUsed: types.number(),
706
1099
  retryAfter: types.number(),
707
1100
  });
708
- export function unreactToMessageResponseFromJSON(jsonString) {
709
- return safeParse(jsonString, (x) => UnreactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnreactToMessageResponse' from JSON`);
1101
+ export function getUnreadCountResponseFromJSON(jsonString) {
1102
+ return safeParse(jsonString, (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetUnreadCountResponse' from JSON`);
710
1103
  }
711
1104
  /** @internal */
712
1105
  export const MarkConversationSeenRequest$outboundSchema = z.object({
@@ -757,75 +1150,123 @@ export function unstarConversationResponseFromJSON(jsonString) {
757
1150
  return safeParse(jsonString, (x) => UnstarConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnstarConversationResponse' from JSON`);
758
1151
  }
759
1152
  /** @internal */
760
- export const ListStarredConversationsRequest$outboundSchema = z.object({
761
- nextCursor: z.optional(z.string()),
1153
+ export const UnarchiveConversationRequest$outboundSchema = z.object({
1154
+ conversationUrn: z.string(),
762
1155
  });
763
- export function listStarredConversationsRequestToJSON(listStarredConversationsRequest) {
764
- return JSON.stringify(ListStarredConversationsRequest$outboundSchema.parse(listStarredConversationsRequest));
1156
+ export function unarchiveConversationRequestToJSON(unarchiveConversationRequest) {
1157
+ return JSON.stringify(UnarchiveConversationRequest$outboundSchema.parse(unarchiveConversationRequest));
765
1158
  }
766
1159
  /** @internal */
767
- export const ListStarredConversationsParticipant$inboundSchema = z.object({
768
- profileUrn: types.string(),
1160
+ export const UnarchiveConversationResponse$inboundSchema = z.object({
1161
+ success: types.literal(true),
1162
+ creditsUsed: types.number(),
1163
+ retryAfter: types.number(),
1164
+ });
1165
+ export function unarchiveConversationResponseFromJSON(jsonString) {
1166
+ return safeParse(jsonString, (x) => UnarchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnarchiveConversationResponse' from JSON`);
1167
+ }
1168
+ /** @internal */
1169
+ export const FindLinkedInConversationRequest$outboundSchema = z.object({
1170
+ profile: z.string(),
1171
+ includeMessages: z.optional(z.boolean()),
1172
+ });
1173
+ export function findLinkedInConversationRequestToJSON(findLinkedInConversationRequest) {
1174
+ return JSON.stringify(FindLinkedInConversationRequest$outboundSchema.parse(findLinkedInConversationRequest));
1175
+ }
1176
+ /** @internal */
1177
+ export const FindLinkedInConversationConversation$inboundSchema = z.object({
1178
+ conversationUrn: types.string(),
1179
+ });
1180
+ export function findLinkedInConversationConversationFromJSON(jsonString) {
1181
+ return safeParse(jsonString, (x) => FindLinkedInConversationConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationConversation' from JSON`);
1182
+ }
1183
+ /** @internal */
1184
+ export const FindLinkedInConversationSender$inboundSchema = z.object({
769
1185
  firstName: types.string(),
770
1186
  lastName: types.string(),
771
1187
  profileUrl: types.nullable(types.string()),
772
1188
  headline: types.nullable(types.string()),
773
1189
  profilePicture: types.nullable(types.string()),
774
1190
  publicIdentifier: types.nullable(types.string()),
1191
+ profileUrn: types.nullable(types.string()),
775
1192
  });
776
- export function listStarredConversationsParticipantFromJSON(jsonString) {
777
- return safeParse(jsonString, (x) => ListStarredConversationsParticipant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsParticipant' from JSON`);
1193
+ export function findLinkedInConversationSenderFromJSON(jsonString) {
1194
+ return safeParse(jsonString, (x) => FindLinkedInConversationSender$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationSender' from JSON`);
778
1195
  }
779
1196
  /** @internal */
780
- export const ListStarredConversationsLastMessage$inboundSchema = z.object({
1197
+ export const FindLinkedInConversationType$inboundSchema = openEnums.inboundSchema(FindLinkedInConversationType);
1198
+ /** @internal */
1199
+ export const FindLinkedInConversationAttachment$inboundSchema = z.object({
1200
+ type: FindLinkedInConversationType$inboundSchema,
1201
+ audioUrl: types.optional(types.string()),
1202
+ audioDuration: types.optional(types.number()),
1203
+ hostUrn: types.optional(types.string()),
1204
+ repliedText: types.optional(types.string()),
1205
+ repliedSenderName: types.optional(types.string()),
1206
+ imageUrl: types.optional(types.string()),
1207
+ fileName: types.optional(types.string()),
1208
+ fileUrl: types.optional(types.string()),
1209
+ });
1210
+ export function findLinkedInConversationAttachmentFromJSON(jsonString) {
1211
+ return safeParse(jsonString, (x) => FindLinkedInConversationAttachment$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationAttachment' from JSON`);
1212
+ }
1213
+ /** @internal */
1214
+ export const FindLinkedInConversationMessage$inboundSchema = z.object({
1215
+ messageUrn: types.string(),
781
1216
  text: types.nullable(types.string()),
782
1217
  deliveredAt: types.number(),
783
1218
  senderProfileUrn: types.string(),
1219
+ sender: z.lazy(() => FindLinkedInConversationSender$inboundSchema),
1220
+ attachments: z.array(z.lazy(() => FindLinkedInConversationAttachment$inboundSchema)),
784
1221
  });
785
- export function listStarredConversationsLastMessageFromJSON(jsonString) {
786
- return safeParse(jsonString, (x) => ListStarredConversationsLastMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsLastMessage' from JSON`);
1222
+ export function findLinkedInConversationMessageFromJSON(jsonString) {
1223
+ return safeParse(jsonString, (x) => FindLinkedInConversationMessage$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationMessage' from JSON`);
787
1224
  }
788
1225
  /** @internal */
789
- export const ListStarredConversationsConversation$inboundSchema = z.object({
790
- conversationUrn: types.string(),
791
- conversationUrl: types.string(),
792
- lastActivityAt: types.number(),
793
- createdAt: types.number(),
794
- read: types.boolean(),
795
- unreadCount: types.number(),
796
- groupChat: types.boolean(),
797
- participants: z.array(z.lazy(() => ListStarredConversationsParticipant$inboundSchema)),
798
- lastMessage: types.nullable(z.lazy(() => ListStarredConversationsLastMessage$inboundSchema)),
1226
+ export const FindLinkedInConversationResponse$inboundSchema = z.object({
1227
+ success: types.literal(true),
1228
+ found: types.boolean(),
1229
+ conversation: types.nullable(z.lazy(() => FindLinkedInConversationConversation$inboundSchema)),
1230
+ messages: types.nullable(z.array(z.lazy(() => FindLinkedInConversationMessage$inboundSchema))),
1231
+ creditsUsed: types.number(),
1232
+ retryAfter: types.number(),
799
1233
  });
800
- export function listStarredConversationsConversationFromJSON(jsonString) {
801
- return safeParse(jsonString, (x) => ListStarredConversationsConversation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsConversation' from JSON`);
1234
+ export function findLinkedInConversationResponseFromJSON(jsonString) {
1235
+ return safeParse(jsonString, (x) => FindLinkedInConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FindLinkedInConversationResponse' from JSON`);
802
1236
  }
803
1237
  /** @internal */
804
- export const ListStarredConversationsResponse$inboundSchema = z.object({
1238
+ export const ArchiveConversationRequest$outboundSchema = z.object({
1239
+ conversationUrn: z.string(),
1240
+ });
1241
+ export function archiveConversationRequestToJSON(archiveConversationRequest) {
1242
+ return JSON.stringify(ArchiveConversationRequest$outboundSchema.parse(archiveConversationRequest));
1243
+ }
1244
+ /** @internal */
1245
+ export const ArchiveConversationResponse$inboundSchema = z.object({
805
1246
  success: types.literal(true),
806
- conversations: z.array(z.lazy(() => ListStarredConversationsConversation$inboundSchema)),
807
- nextCursor: types.nullable(types.string()),
808
1247
  creditsUsed: types.number(),
809
1248
  retryAfter: types.number(),
810
1249
  });
811
- export function listStarredConversationsResponseFromJSON(jsonString) {
812
- return safeParse(jsonString, (x) => ListStarredConversationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListStarredConversationsResponse' from JSON`);
1250
+ export function archiveConversationResponseFromJSON(jsonString) {
1251
+ return safeParse(jsonString, (x) => ArchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ArchiveConversationResponse' from JSON`);
813
1252
  }
814
1253
  /** @internal */
815
- export const UnarchiveConversationRequest$outboundSchema = z.object({
1254
+ export const UnreactToMessageRequest$outboundSchema = z.object({
1255
+ messageUrn: z.string(),
1256
+ emoji: z.string(),
816
1257
  conversationUrn: z.string(),
817
1258
  });
818
- export function unarchiveConversationRequestToJSON(unarchiveConversationRequest) {
819
- return JSON.stringify(UnarchiveConversationRequest$outboundSchema.parse(unarchiveConversationRequest));
1259
+ export function unreactToMessageRequestToJSON(unreactToMessageRequest) {
1260
+ return JSON.stringify(UnreactToMessageRequest$outboundSchema.parse(unreactToMessageRequest));
820
1261
  }
821
1262
  /** @internal */
822
- export const UnarchiveConversationResponse$inboundSchema = z.object({
1263
+ export const UnreactToMessageResponse$inboundSchema = z.object({
823
1264
  success: types.literal(true),
824
1265
  creditsUsed: types.number(),
825
1266
  retryAfter: types.number(),
826
1267
  });
827
- export function unarchiveConversationResponseFromJSON(jsonString) {
828
- return safeParse(jsonString, (x) => UnarchiveConversationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnarchiveConversationResponse' from JSON`);
1268
+ export function unreactToMessageResponseFromJSON(jsonString) {
1269
+ return safeParse(jsonString, (x) => UnreactToMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnreactToMessageResponse' from JSON`);
829
1270
  }
830
1271
  /** @internal */
831
1272
  export const FilterCampaignRequest$outboundSchema = z.object({
@@ -892,11 +1333,11 @@ export function getCampaignStatusResponseFromJSON(jsonString) {
892
1333
  return safeParse(jsonString, (x) => GetCampaignStatusResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCampaignStatusResponse' from JSON`);
893
1334
  }
894
1335
  /** @internal */
895
- export const Action$outboundSchema = z.enum(Action);
1336
+ export const SyncCampaignActionsAction$outboundSchema = z.enum(SyncCampaignActionsAction);
896
1337
  /** @internal */
897
1338
  export const SyncCampaignActionsProfile$outboundSchema = z.object({
898
1339
  profile: z.string(),
899
- actions: z.array(Action$outboundSchema),
1340
+ actions: z.array(SyncCampaignActionsAction$outboundSchema),
900
1341
  });
901
1342
  export function syncCampaignActionsProfileToJSON(syncCampaignActionsProfile) {
902
1343
  return JSON.stringify(SyncCampaignActionsProfile$outboundSchema.parse(syncCampaignActionsProfile));
@@ -935,14 +1376,8 @@ export function syncCampaignActionsResponseFromJSON(jsonString) {
935
1376
  return safeParse(jsonString, (x) => SyncCampaignActionsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SyncCampaignActionsResponse' from JSON`);
936
1377
  }
937
1378
  /** @internal */
938
- export const GetCampaignStatsRequestBody$outboundSchema = z.object({});
939
- export function getCampaignStatsRequestBodyToJSON(getCampaignStatsRequestBody) {
940
- return JSON.stringify(GetCampaignStatsRequestBody$outboundSchema.parse(getCampaignStatsRequestBody));
941
- }
942
- /** @internal */
943
1379
  export const GetCampaignStatsRequest$outboundSchema = z.object({
944
1380
  campaignSlug: z.string(),
945
- body: z.optional(z.lazy(() => GetCampaignStatsRequestBody$outboundSchema)),
946
1381
  });
947
1382
  export function getCampaignStatsRequestToJSON(getCampaignStatsRequest) {
948
1383
  return JSON.stringify(GetCampaignStatsRequest$outboundSchema.parse(getCampaignStatsRequest));
@@ -958,4 +1393,243 @@ export const GetCampaignStatsResponse$inboundSchema = z.object({
958
1393
  export function getCampaignStatsResponseFromJSON(jsonString) {
959
1394
  return safeParse(jsonString, (x) => GetCampaignStatsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCampaignStatsResponse' from JSON`);
960
1395
  }
961
- //# sourceMappingURL=get-campaign-stats-response.js.map
1396
+ /** @internal */
1397
+ export const UpsertContactsSource$outboundSchema = z.enum(UpsertContactsSource);
1398
+ /** @internal */
1399
+ export const UpsertContactsLifecycleStage$outboundSchema = z.enum(UpsertContactsLifecycleStage);
1400
+ /** @internal */
1401
+ export const UpsertContactsContactRequest$outboundSchema = z.object({
1402
+ linkedinUrl: z.string(),
1403
+ profileUrn: z.optional(z.nullable(z.string())),
1404
+ publicIdentifier: z.optional(z.nullable(z.string())),
1405
+ name: z.string(),
1406
+ source: z._default(UpsertContactsSource$outboundSchema, "manual_import"),
1407
+ sourceAngle: z.optional(z.string()),
1408
+ lifecycleStage: z.optional(UpsertContactsLifecycleStage$outboundSchema),
1409
+ hotScore: z.optional(z.int()),
1410
+ qualificationNotes: z.optional(z.string()),
1411
+ notes: z.optional(z.string()),
1412
+ });
1413
+ export function upsertContactsContactRequestToJSON(upsertContactsContactRequest) {
1414
+ return JSON.stringify(UpsertContactsContactRequest$outboundSchema.parse(upsertContactsContactRequest));
1415
+ }
1416
+ /** @internal */
1417
+ export const UpsertContactsRequest$outboundSchema = z.object({
1418
+ contacts: z.array(z.lazy(() => UpsertContactsContactRequest$outboundSchema)),
1419
+ });
1420
+ export function upsertContactsRequestToJSON(upsertContactsRequest) {
1421
+ return JSON.stringify(UpsertContactsRequest$outboundSchema.parse(upsertContactsRequest));
1422
+ }
1423
+ /** @internal */
1424
+ export const UpsertContactsResults$inboundSchema = z.object({
1425
+ created: types.number(),
1426
+ updated: types.number(),
1427
+ skipped: types.number(),
1428
+ errors: z.array(types.string()),
1429
+ });
1430
+ export function upsertContactsResultsFromJSON(jsonString) {
1431
+ return safeParse(jsonString, (x) => UpsertContactsResults$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertContactsResults' from JSON`);
1432
+ }
1433
+ /** @internal */
1434
+ export const UpsertContactsContactResponse$inboundSchema = z.object({
1435
+ id: types.string(),
1436
+ linkedinUrl: types.string(),
1437
+ profileUrn: types.nullable(types.string()),
1438
+ publicIdentifier: types.nullable(types.string()),
1439
+ name: types.string(),
1440
+ lifecycleStage: types.string(),
1441
+ hotScore: types.number(),
1442
+ qualificationNotes: types.nullable(types.string()),
1443
+ notes: types.nullable(types.string()),
1444
+ stageChangedAt: types.nullable(types.string()),
1445
+ profileData: types.nullable(z.any()),
1446
+ profileUpdatedAt: types.nullable(types.string()),
1447
+ conversationData: types.nullable(z.any()),
1448
+ conversationUpdatedAt: types.nullable(types.string()),
1449
+ outreachStatus: types.string(),
1450
+ lastContactedAt: types.nullable(types.string()),
1451
+ lastRepliedAt: types.nullable(types.string()),
1452
+ nextFollowUpAt: types.nullable(types.string()),
1453
+ doNotContact: types.boolean(),
1454
+ tags: z.array(types.string()),
1455
+ createdAt: types.string(),
1456
+ updatedAt: types.string(),
1457
+ });
1458
+ export function upsertContactsContactResponseFromJSON(jsonString) {
1459
+ return safeParse(jsonString, (x) => UpsertContactsContactResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertContactsContactResponse' from JSON`);
1460
+ }
1461
+ /** @internal */
1462
+ export const UpsertContactsResponse$inboundSchema = z.object({
1463
+ success: types.literal(true),
1464
+ results: z.lazy(() => UpsertContactsResults$inboundSchema),
1465
+ contacts: z.array(z.lazy(() => UpsertContactsContactResponse$inboundSchema)),
1466
+ creditsUsed: types.number(),
1467
+ retryAfter: types.number(),
1468
+ });
1469
+ export function upsertContactsResponseFromJSON(jsonString) {
1470
+ return safeParse(jsonString, (x) => UpsertContactsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertContactsResponse' from JSON`);
1471
+ }
1472
+ /** @internal */
1473
+ export const SearchContactsLifecycleStage$outboundSchema = z.enum(SearchContactsLifecycleStage);
1474
+ /** @internal */
1475
+ export const SearchContactsOutreachStatus$outboundSchema = z.enum(SearchContactsOutreachStatus);
1476
+ /** @internal */
1477
+ export const DoNotContact$outboundSchema = z
1478
+ .enum(DoNotContact);
1479
+ /** @internal */
1480
+ export const HasProfileData$outboundSchema = z.enum(HasProfileData);
1481
+ /** @internal */
1482
+ export const SearchContactsRequest$outboundSchema = z.object({
1483
+ linkedinUrl: z.optional(z.string()),
1484
+ name: z.optional(z.string()),
1485
+ lifecycleStage: z.optional(SearchContactsLifecycleStage$outboundSchema),
1486
+ sortBy: z.optional(z.string()),
1487
+ minHotScore: z.optional(z.int()),
1488
+ outreachStatus: z.optional(SearchContactsOutreachStatus$outboundSchema),
1489
+ tag: z.optional(z.string()),
1490
+ followUpBefore: z.optional(z.string()),
1491
+ doNotContact: z.optional(DoNotContact$outboundSchema),
1492
+ hasProfileData: z.optional(HasProfileData$outboundSchema),
1493
+ campaignId: z.optional(z.string()),
1494
+ limit: z._default(z.int(), 50),
1495
+ offset: z._default(z.int(), 0),
1496
+ });
1497
+ export function searchContactsRequestToJSON(searchContactsRequest) {
1498
+ return JSON.stringify(SearchContactsRequest$outboundSchema.parse(searchContactsRequest));
1499
+ }
1500
+ /** @internal */
1501
+ export const SearchContactsCampaign$inboundSchema = z.object({
1502
+ campaignId: types.string(),
1503
+ campaignName: types.string(),
1504
+ campaignStatus: types.string(),
1505
+ source: types.string(),
1506
+ sourceAngle: types.nullable(types.string()),
1507
+ addedAt: types.string(),
1508
+ });
1509
+ export function searchContactsCampaignFromJSON(jsonString) {
1510
+ return safeParse(jsonString, (x) => SearchContactsCampaign$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsCampaign' from JSON`);
1511
+ }
1512
+ /** @internal */
1513
+ export const SearchContactsContact$inboundSchema = z.object({
1514
+ id: types.string(),
1515
+ linkedinUrl: types.string(),
1516
+ profileUrn: types.nullable(types.string()),
1517
+ publicIdentifier: types.nullable(types.string()),
1518
+ name: types.string(),
1519
+ lifecycleStage: types.string(),
1520
+ hotScore: types.number(),
1521
+ qualificationNotes: types.nullable(types.string()),
1522
+ notes: types.nullable(types.string()),
1523
+ stageChangedAt: types.nullable(types.string()),
1524
+ profileData: types.nullable(z.any()),
1525
+ profileUpdatedAt: types.nullable(types.string()),
1526
+ conversationData: types.nullable(z.any()),
1527
+ conversationUpdatedAt: types.nullable(types.string()),
1528
+ outreachStatus: types.string(),
1529
+ lastContactedAt: types.nullable(types.string()),
1530
+ lastRepliedAt: types.nullable(types.string()),
1531
+ nextFollowUpAt: types.nullable(types.string()),
1532
+ doNotContact: types.boolean(),
1533
+ tags: z.array(types.string()),
1534
+ createdAt: types.string(),
1535
+ updatedAt: types.string(),
1536
+ campaigns: z.array(z.lazy(() => SearchContactsCampaign$inboundSchema)),
1537
+ });
1538
+ export function searchContactsContactFromJSON(jsonString) {
1539
+ return safeParse(jsonString, (x) => SearchContactsContact$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsContact' from JSON`);
1540
+ }
1541
+ /** @internal */
1542
+ export const SearchContactsPagination$inboundSchema = z.object({
1543
+ limit: types.number(),
1544
+ offset: types.number(),
1545
+ total: types.number(),
1546
+ });
1547
+ export function searchContactsPaginationFromJSON(jsonString) {
1548
+ return safeParse(jsonString, (x) => SearchContactsPagination$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsPagination' from JSON`);
1549
+ }
1550
+ /** @internal */
1551
+ export const SearchContactsResponse$inboundSchema = z.object({
1552
+ success: types.literal(true),
1553
+ contacts: z.array(z.lazy(() => SearchContactsContact$inboundSchema)),
1554
+ pagination: z.lazy(() => SearchContactsPagination$inboundSchema),
1555
+ creditsUsed: types.number(),
1556
+ retryAfter: types.number(),
1557
+ });
1558
+ export function searchContactsResponseFromJSON(jsonString) {
1559
+ return safeParse(jsonString, (x) => SearchContactsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchContactsResponse' from JSON`);
1560
+ }
1561
+ /** @internal */
1562
+ export const GetContactRequest$outboundSchema = z.object({
1563
+ id: z.string(),
1564
+ });
1565
+ export function getContactRequestToJSON(getContactRequest) {
1566
+ return JSON.stringify(GetContactRequest$outboundSchema.parse(getContactRequest));
1567
+ }
1568
+ /** @internal */
1569
+ export const GetContactActivity$inboundSchema = z.object({
1570
+ id: types.string(),
1571
+ type: types.string(),
1572
+ content: types.nullable(types.string()),
1573
+ metadata: types.nullable(z.any()),
1574
+ createdAt: types.string(),
1575
+ });
1576
+ export function getContactActivityFromJSON(jsonString) {
1577
+ return safeParse(jsonString, (x) => GetContactActivity$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetContactActivity' from JSON`);
1578
+ }
1579
+ /** @internal */
1580
+ export const GetContactCampaign$inboundSchema = z.object({
1581
+ campaignId: types.string(),
1582
+ campaignName: types.string(),
1583
+ campaignStatus: types.string(),
1584
+ source: types.string(),
1585
+ sourceAngle: types.nullable(types.string()),
1586
+ addedAt: types.string(),
1587
+ });
1588
+ export function getContactCampaignFromJSON(jsonString) {
1589
+ return safeParse(jsonString, (x) => GetContactCampaign$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetContactCampaign' from JSON`);
1590
+ }
1591
+ /** @internal */
1592
+ export const GetContactContact$inboundSchema = z.object({
1593
+ id: types.string(),
1594
+ linkedinUrl: types.string(),
1595
+ profileUrn: types.nullable(types.string()),
1596
+ publicIdentifier: types.nullable(types.string()),
1597
+ name: types.string(),
1598
+ lifecycleStage: types.string(),
1599
+ hotScore: types.number(),
1600
+ qualificationNotes: types.nullable(types.string()),
1601
+ notes: types.nullable(types.string()),
1602
+ stageChangedAt: types.nullable(types.string()),
1603
+ profileData: types.nullable(z.any()),
1604
+ profileUpdatedAt: types.nullable(types.string()),
1605
+ conversationData: types.nullable(z.any()),
1606
+ conversationUpdatedAt: types.nullable(types.string()),
1607
+ outreachStatus: types.string(),
1608
+ lastContactedAt: types.nullable(types.string()),
1609
+ lastRepliedAt: types.nullable(types.string()),
1610
+ nextFollowUpAt: types.nullable(types.string()),
1611
+ doNotContact: types.boolean(),
1612
+ tags: z.array(types.string()),
1613
+ createdAt: types.string(),
1614
+ updatedAt: types.string(),
1615
+ activities: z.array(z.lazy(() => GetContactActivity$inboundSchema)),
1616
+ campaigns: z.array(z.lazy(() => GetContactCampaign$inboundSchema)),
1617
+ });
1618
+ export function getContactContactFromJSON(jsonString) {
1619
+ return safeParse(jsonString, (x) => GetContactContact$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetContactContact' from JSON`);
1620
+ }
1621
+ /** @internal */
1622
+ export const GetContactResponse$inboundSchema = z.object({
1623
+ success: types.literal(true),
1624
+ contact: z.lazy(() => GetContactContact$inboundSchema),
1625
+ creditsUsed: types.number(),
1626
+ retryAfter: types.number(),
1627
+ });
1628
+ export function getContactResponseFromJSON(jsonString) {
1629
+ return safeParse(jsonString, (x) => GetContactResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetContactResponse' from JSON`);
1630
+ }
1631
+ /** @internal */
1632
+ export const UpdateContactLifecycleStage$outboundSchema = z.enum(UpdateContactLifecycleStage);
1633
+ /** @internal */
1634
+ export const UpdateContactOutreachStatus$outboundSchema = z.enum(UpdateContactOutreachStatus);
1635
+ //# sourceMappingURL=update-contact-outreach-status.js.map