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
@@ -0,0 +1,1820 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ import { UpdateContactLifecycleStage, UpdateContactOutreachStatus } from "./update-contact-outreach-status.js";
6
+ export type UpdateContactTags3 = {
7
+ set: Array<string>;
8
+ };
9
+ export type UpdateContactTags2 = {
10
+ add?: Array<string> | undefined;
11
+ remove: Array<string>;
12
+ };
13
+ export type UpdateContactTags1 = {
14
+ add: Array<string>;
15
+ remove?: Array<string> | undefined;
16
+ };
17
+ /**
18
+ * Add/remove/set tags
19
+ */
20
+ export type UpdateContactTagsUnion = UpdateContactTags1 | UpdateContactTags2 | UpdateContactTags3;
21
+ export type UpdateContactRequestBody = {
22
+ /**
23
+ * Promote to new stage (forward-only, except rejected)
24
+ */
25
+ lifecycleStage?: UpdateContactLifecycleStage | undefined;
26
+ hotScore?: number | undefined;
27
+ qualificationNotes?: string | undefined;
28
+ notes?: string | undefined;
29
+ /**
30
+ * Update contact name
31
+ */
32
+ name?: string | undefined;
33
+ /**
34
+ * Full LinkedIn profile snapshot (JSON)
35
+ */
36
+ profileData?: any | undefined;
37
+ /**
38
+ * When profileData was last refreshed
39
+ */
40
+ profileUpdatedAt?: Date | undefined;
41
+ /**
42
+ * DM history (JSON: historySummary + recentMessages)
43
+ */
44
+ conversationData?: any | undefined;
45
+ /**
46
+ * When conversationData was last synced
47
+ */
48
+ conversationUpdatedAt?: Date | undefined;
49
+ /**
50
+ * Manual outreach status override
51
+ */
52
+ outreachStatus?: UpdateContactOutreachStatus | undefined;
53
+ /**
54
+ * When agent should follow up (null to clear)
55
+ */
56
+ nextFollowUpAt?: Date | null | undefined;
57
+ /**
58
+ * Flag contact as do-not-contact
59
+ */
60
+ doNotContact?: boolean | undefined;
61
+ /**
62
+ * Add/remove/set tags
63
+ */
64
+ tags?: UpdateContactTags1 | UpdateContactTags2 | UpdateContactTags3 | undefined;
65
+ };
66
+ export type UpdateContactRequest = {
67
+ /**
68
+ * Contact ID
69
+ */
70
+ id: string;
71
+ body: UpdateContactRequestBody;
72
+ };
73
+ export type UpdateContactContact = {
74
+ id: string;
75
+ linkedinUrl: string;
76
+ /**
77
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
78
+ */
79
+ profileUrn: string | null;
80
+ /**
81
+ * LinkedIn vanity slug (e.g. joshuaau)
82
+ */
83
+ publicIdentifier: string | null;
84
+ name: string;
85
+ lifecycleStage: string;
86
+ hotScore: number;
87
+ qualificationNotes: string | null;
88
+ notes: string | null;
89
+ stageChangedAt: string | null;
90
+ profileData: any | null;
91
+ profileUpdatedAt: string | null;
92
+ conversationData: any | null;
93
+ conversationUpdatedAt: string | null;
94
+ outreachStatus: string;
95
+ lastContactedAt: string | null;
96
+ lastRepliedAt: string | null;
97
+ nextFollowUpAt: string | null;
98
+ doNotContact: boolean;
99
+ tags: Array<string>;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ };
103
+ /**
104
+ * Updated contact
105
+ */
106
+ export type UpdateContactResponse = {
107
+ success: true;
108
+ contact: UpdateContactContact;
109
+ /**
110
+ * Credits consumed by this call (always 0 for contacts queries).
111
+ */
112
+ creditsUsed: number;
113
+ /**
114
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
115
+ */
116
+ retryAfter: number;
117
+ };
118
+ export type ListContactActivitiesRequest = {
119
+ /**
120
+ * Filter by activity type
121
+ */
122
+ type?: string | undefined;
123
+ limit?: number | undefined;
124
+ offset?: number | undefined;
125
+ /**
126
+ * Contact ID
127
+ */
128
+ id: string;
129
+ };
130
+ export type ListContactActivitiesActivity = {
131
+ id: string;
132
+ type: string;
133
+ content: string | null;
134
+ metadata: any | null;
135
+ createdAt: string;
136
+ };
137
+ export type ListContactActivitiesPagination = {
138
+ limit: number;
139
+ offset: number;
140
+ total: number;
141
+ };
142
+ /**
143
+ * Contact activities
144
+ */
145
+ export type ListContactActivitiesResponse = {
146
+ success: true;
147
+ activities: Array<ListContactActivitiesActivity>;
148
+ pagination: ListContactActivitiesPagination;
149
+ /**
150
+ * Credits consumed by this call (always 0 for contacts queries).
151
+ */
152
+ creditsUsed: number;
153
+ /**
154
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
155
+ */
156
+ retryAfter: number;
157
+ };
158
+ /**
159
+ * Activity type
160
+ */
161
+ export declare const AddContactActivitiesType: {
162
+ readonly ConnectionRequest: "connection_request";
163
+ readonly Message: "message";
164
+ readonly FollowUp: "follow_up";
165
+ readonly ReplyReceived: "reply_received";
166
+ readonly ConnectionAccepted: "connection_accepted";
167
+ readonly ProfileView: "profile_view";
168
+ readonly EngagementObserved: "engagement_observed";
169
+ readonly PostInteraction: "post_interaction";
170
+ readonly SearchFound: "search_found";
171
+ readonly Qualification: "qualification";
172
+ readonly StageChange: "stage_change";
173
+ readonly MessageReceived: "message_received";
174
+ readonly UserInterest: "user_interest";
175
+ readonly MeetingBooked: "meeting_booked";
176
+ readonly MeetingCompleted: "meeting_completed";
177
+ readonly MeetingCancelled: "meeting_cancelled";
178
+ readonly DoNotContact: "do_not_contact";
179
+ };
180
+ /**
181
+ * Activity type
182
+ */
183
+ export type AddContactActivitiesType = ClosedEnum<typeof AddContactActivitiesType>;
184
+ export type AddContactActivitiesActivity = {
185
+ /**
186
+ * Activity type
187
+ */
188
+ type: AddContactActivitiesType;
189
+ /**
190
+ * Human-readable description of what happened
191
+ */
192
+ content?: string | undefined;
193
+ /**
194
+ * Structured data: postUrl, postAuthor, angle, distance, etc.
195
+ */
196
+ metadata?: any | undefined;
197
+ };
198
+ export type AddContactActivitiesRequestBody = {
199
+ /**
200
+ * Activities to log
201
+ */
202
+ activities: Array<AddContactActivitiesActivity>;
203
+ };
204
+ export type AddContactActivitiesRequest = {
205
+ /**
206
+ * Contact ID
207
+ */
208
+ id: string;
209
+ body: AddContactActivitiesRequestBody;
210
+ };
211
+ /**
212
+ * Activities logged
213
+ */
214
+ export type AddContactActivitiesResponse = {
215
+ success: true;
216
+ created: number;
217
+ /**
218
+ * Credits consumed by this call (always 0 for contacts queries).
219
+ */
220
+ creditsUsed: number;
221
+ /**
222
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
223
+ */
224
+ retryAfter: number;
225
+ };
226
+ export declare const BulkUpdateContactsLifecycleStage: {
227
+ readonly Contact: "contact";
228
+ readonly Lead: "lead";
229
+ readonly Qualified: "qualified";
230
+ readonly Approved: "approved";
231
+ readonly Rejected: "rejected";
232
+ };
233
+ export type BulkUpdateContactsLifecycleStage = ClosedEnum<typeof BulkUpdateContactsLifecycleStage>;
234
+ export declare const BulkUpdateContactsOutreachStatus: {
235
+ readonly None: "none";
236
+ readonly ConnectionSent: "connection_sent";
237
+ readonly Connected: "connected";
238
+ readonly DmSent: "dm_sent";
239
+ readonly FollowedUp: "followed_up";
240
+ readonly Replied: "replied";
241
+ readonly InConversation: "in_conversation";
242
+ readonly MeetingBooked: "meeting_booked";
243
+ readonly Converted: "converted";
244
+ readonly NotInterested: "not_interested";
245
+ };
246
+ export type BulkUpdateContactsOutreachStatus = ClosedEnum<typeof BulkUpdateContactsOutreachStatus>;
247
+ export type BulkUpdateContactsTags3 = {
248
+ set: Array<string>;
249
+ };
250
+ export type BulkUpdateContactsTags2 = {
251
+ add?: Array<string> | undefined;
252
+ remove: Array<string>;
253
+ };
254
+ export type BulkUpdateContactsTags1 = {
255
+ add: Array<string>;
256
+ remove?: Array<string> | undefined;
257
+ };
258
+ /**
259
+ * Tag operations: { add, remove } or { set }
260
+ */
261
+ export type BulkUpdateContactsTagsUnion = BulkUpdateContactsTags1 | BulkUpdateContactsTags2 | BulkUpdateContactsTags3;
262
+ /**
263
+ * Fields to update on all matching contacts
264
+ */
265
+ export type Update = {
266
+ lifecycleStage?: BulkUpdateContactsLifecycleStage | undefined;
267
+ hotScore?: number | undefined;
268
+ qualificationNotes?: string | undefined;
269
+ notes?: string | undefined;
270
+ outreachStatus?: BulkUpdateContactsOutreachStatus | undefined;
271
+ nextFollowUpAt?: Date | null | undefined;
272
+ doNotContact?: boolean | undefined;
273
+ /**
274
+ * Tag operations: { add, remove } or { set }
275
+ */
276
+ tags?: BulkUpdateContactsTags1 | BulkUpdateContactsTags2 | BulkUpdateContactsTags3 | undefined;
277
+ };
278
+ export type BulkUpdateContactsRequest = {
279
+ /**
280
+ * Contact IDs to update
281
+ */
282
+ contactIds: Array<string>;
283
+ /**
284
+ * Fields to update on all matching contacts
285
+ */
286
+ update: Update;
287
+ };
288
+ /**
289
+ * Bulk update results
290
+ */
291
+ export type BulkUpdateContactsResponse = {
292
+ success: true;
293
+ updated: number;
294
+ skipped: number;
295
+ errors: Array<string>;
296
+ /**
297
+ * Credits consumed by this call (always 0 for contacts queries).
298
+ */
299
+ creditsUsed: number;
300
+ /**
301
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
302
+ */
303
+ retryAfter: number;
304
+ };
305
+ export type GetContactStatsRequest = {
306
+ /**
307
+ * Filter stats by campaign
308
+ */
309
+ campaignId?: string | undefined;
310
+ };
311
+ export type Funnel = {
312
+ contact: number;
313
+ lead: number;
314
+ qualified: number;
315
+ approved: number;
316
+ rejected: number;
317
+ };
318
+ export type BySourceAngle = {
319
+ total: number;
320
+ contact: number;
321
+ lead: number;
322
+ qualified: number;
323
+ approved: number;
324
+ rejected: number;
325
+ };
326
+ export type ByCampaign = {
327
+ name: string;
328
+ total: number;
329
+ contact: number;
330
+ lead: number;
331
+ qualified: number;
332
+ approved: number;
333
+ rejected: number;
334
+ };
335
+ export type GetContactStatsDaily = {
336
+ date: string;
337
+ created: number;
338
+ };
339
+ /**
340
+ * Contact statistics
341
+ */
342
+ export type GetContactStatsResponse = {
343
+ success: true;
344
+ funnel: Funnel;
345
+ bySource: {
346
+ [k: string]: number;
347
+ };
348
+ bySourceAngle: {
349
+ [k: string]: BySourceAngle;
350
+ };
351
+ byCampaign: {
352
+ [k: string]: ByCampaign;
353
+ };
354
+ daily: Array<GetContactStatsDaily>;
355
+ /**
356
+ * Credits consumed by this call (always 0 for contacts queries).
357
+ */
358
+ creditsUsed: number;
359
+ /**
360
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
361
+ */
362
+ retryAfter: number;
363
+ };
364
+ export type State = {
365
+ key: string;
366
+ /**
367
+ * Full state object
368
+ */
369
+ data: any;
370
+ updatedAt: string | null;
371
+ };
372
+ /**
373
+ * All state entries
374
+ */
375
+ export type ListAgentStatesResponse = {
376
+ success: true;
377
+ states: Array<State>;
378
+ /**
379
+ * Credits consumed by this call (always 0 for contacts queries).
380
+ */
381
+ creditsUsed: number;
382
+ /**
383
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
384
+ */
385
+ retryAfter: number;
386
+ };
387
+ export type GetAgentStateRequest = {
388
+ /**
389
+ * State key
390
+ */
391
+ key: string;
392
+ };
393
+ /**
394
+ * State entry
395
+ */
396
+ export type GetAgentStateResponse = {
397
+ success: true;
398
+ key: string;
399
+ /**
400
+ * Full state object
401
+ */
402
+ data: any;
403
+ updatedAt: string | null;
404
+ /**
405
+ * Credits consumed by this call (always 0 for contacts queries).
406
+ */
407
+ creditsUsed: number;
408
+ /**
409
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
410
+ */
411
+ retryAfter: number;
412
+ };
413
+ export type SetAgentStateRequestBody = {
414
+ /**
415
+ * Full state object to store
416
+ */
417
+ data: any;
418
+ };
419
+ export type SetAgentStateRequest = {
420
+ /**
421
+ * State key
422
+ */
423
+ key: string;
424
+ body: SetAgentStateRequestBody;
425
+ };
426
+ /**
427
+ * State saved
428
+ */
429
+ export type SetAgentStateResponse = {
430
+ success: true;
431
+ key: string;
432
+ /**
433
+ * Full state object
434
+ */
435
+ data: any;
436
+ updatedAt: string | null;
437
+ /**
438
+ * Credits consumed by this call (always 0 for contacts queries).
439
+ */
440
+ creditsUsed: number;
441
+ /**
442
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
443
+ */
444
+ retryAfter: number;
445
+ };
446
+ export type DeleteAgentStateRequest = {
447
+ /**
448
+ * State key
449
+ */
450
+ key: string;
451
+ };
452
+ /**
453
+ * State deleted
454
+ */
455
+ export type DeleteAgentStateResponse = {
456
+ success: true;
457
+ /**
458
+ * Credits consumed by this call (always 0 for contacts queries).
459
+ */
460
+ creditsUsed: number;
461
+ /**
462
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
463
+ */
464
+ retryAfter: number;
465
+ };
466
+ export type PatchAgentStateRequestBody = {
467
+ /**
468
+ * Partial state fields to merge
469
+ */
470
+ data: {
471
+ [k: string]: any;
472
+ };
473
+ };
474
+ export type PatchAgentStateRequest = {
475
+ /**
476
+ * State key
477
+ */
478
+ key: string;
479
+ body: PatchAgentStateRequestBody;
480
+ };
481
+ /**
482
+ * State merged
483
+ */
484
+ export type PatchAgentStateResponse = {
485
+ success: true;
486
+ key: string;
487
+ /**
488
+ * Full state object
489
+ */
490
+ data: any;
491
+ updatedAt: string | null;
492
+ /**
493
+ * Credits consumed by this call (always 0 for contacts queries).
494
+ */
495
+ creditsUsed: number;
496
+ /**
497
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
498
+ */
499
+ retryAfter: number;
500
+ };
501
+ export declare const ListCampaignsType: {
502
+ readonly Outreach: "outreach";
503
+ readonly LeadGen: "lead_gen";
504
+ readonly LeadMagnet: "lead_magnet";
505
+ };
506
+ export type ListCampaignsType = ClosedEnum<typeof ListCampaignsType>;
507
+ export type ListCampaignsRequest = {
508
+ type?: ListCampaignsType | undefined;
509
+ status?: string | undefined;
510
+ limit?: number | undefined;
511
+ offset?: number | undefined;
512
+ };
513
+ export type ListCampaignsStageCounts = {
514
+ contact: number;
515
+ lead: number;
516
+ qualified: number;
517
+ approved: number;
518
+ rejected: number;
519
+ };
520
+ export type ListCampaignsCampaign = {
521
+ id: string;
522
+ name: string;
523
+ description: string | null;
524
+ context: string | null;
525
+ type: string;
526
+ status: string;
527
+ totalContacts: number;
528
+ stageCounts?: ListCampaignsStageCounts | undefined;
529
+ createdAt: string;
530
+ updatedAt: string;
531
+ };
532
+ export type ListCampaignsPagination = {
533
+ limit: number;
534
+ offset: number;
535
+ total: number;
536
+ };
537
+ /**
538
+ * Campaigns list
539
+ */
540
+ export type ListCampaignsResponse = {
541
+ success: true;
542
+ campaigns: Array<ListCampaignsCampaign>;
543
+ pagination: ListCampaignsPagination;
544
+ /**
545
+ * Credits consumed by this call (always 0 for contacts queries).
546
+ */
547
+ creditsUsed: number;
548
+ /**
549
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
550
+ */
551
+ retryAfter: number;
552
+ };
553
+ /**
554
+ * Campaign type
555
+ */
556
+ export declare const CreateCampaignType: {
557
+ readonly Outreach: "outreach";
558
+ readonly LeadGen: "lead_gen";
559
+ readonly LeadMagnet: "lead_magnet";
560
+ };
561
+ /**
562
+ * Campaign type
563
+ */
564
+ export type CreateCampaignType = ClosedEnum<typeof CreateCampaignType>;
565
+ export type CreateCampaignRequest = {
566
+ /**
567
+ * Campaign name (e.g., 'lg-engagement-competitor-openai')
568
+ */
569
+ name: string;
570
+ /**
571
+ * Optional campaign description
572
+ */
573
+ description?: string | undefined;
574
+ /**
575
+ * Full agent instructions in markdown
576
+ */
577
+ context?: string | undefined;
578
+ /**
579
+ * Campaign type
580
+ */
581
+ type?: CreateCampaignType | undefined;
582
+ };
583
+ export type CreateCampaignStageCounts = {
584
+ contact: number;
585
+ lead: number;
586
+ qualified: number;
587
+ approved: number;
588
+ rejected: number;
589
+ };
590
+ export type CreateCampaignCampaign = {
591
+ id: string;
592
+ name: string;
593
+ description: string | null;
594
+ context: string | null;
595
+ type: string;
596
+ status: string;
597
+ totalContacts: number;
598
+ stageCounts?: CreateCampaignStageCounts | undefined;
599
+ createdAt: string;
600
+ updatedAt: string;
601
+ };
602
+ /**
603
+ * Campaign created
604
+ */
605
+ export type CreateCampaignResponse = {
606
+ success: true;
607
+ campaign: CreateCampaignCampaign;
608
+ /**
609
+ * Credits consumed by this call (always 0 for contacts queries).
610
+ */
611
+ creditsUsed: number;
612
+ /**
613
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
614
+ */
615
+ retryAfter: number;
616
+ };
617
+ export declare const UpdateCampaignStatus: {
618
+ readonly Draft: "draft";
619
+ readonly Scheduled: "scheduled";
620
+ readonly Running: "running";
621
+ readonly Paused: "paused";
622
+ readonly Completed: "completed";
623
+ readonly Failed: "failed";
624
+ };
625
+ export type UpdateCampaignStatus = ClosedEnum<typeof UpdateCampaignStatus>;
626
+ export type UpdateCampaignRequestBody = {
627
+ name?: string | undefined;
628
+ description?: string | undefined;
629
+ context?: string | undefined;
630
+ status?: UpdateCampaignStatus | undefined;
631
+ scheduledStartTime?: string | undefined;
632
+ scheduledStopTime?: string | undefined;
633
+ timezone?: string | undefined;
634
+ runDays?: Array<string> | undefined;
635
+ dailyActionLimit?: number | null | undefined;
636
+ };
637
+ export type UpdateCampaignRequest = {
638
+ /**
639
+ * Campaign ID
640
+ */
641
+ campaignId: string;
642
+ body: UpdateCampaignRequestBody;
643
+ };
644
+ export type UpdateCampaignStageCounts = {
645
+ contact: number;
646
+ lead: number;
647
+ qualified: number;
648
+ approved: number;
649
+ rejected: number;
650
+ };
651
+ export type UpdateCampaignCampaign = {
652
+ id: string;
653
+ name: string;
654
+ description: string | null;
655
+ context: string | null;
656
+ type: string;
657
+ status: string;
658
+ totalContacts: number;
659
+ stageCounts?: UpdateCampaignStageCounts | undefined;
660
+ createdAt: string;
661
+ updatedAt: string;
662
+ };
663
+ /**
664
+ * Campaign updated
665
+ */
666
+ export type UpdateCampaignResponse = {
667
+ success: true;
668
+ campaign: UpdateCampaignCampaign;
669
+ /**
670
+ * Credits consumed by this call (always 0 for contacts queries).
671
+ */
672
+ creditsUsed: number;
673
+ /**
674
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
675
+ */
676
+ retryAfter: number;
677
+ };
678
+ export declare const ListCampaignContactsLifecycleStage: {
679
+ readonly Contact: "contact";
680
+ readonly Lead: "lead";
681
+ readonly Qualified: "qualified";
682
+ readonly Approved: "approved";
683
+ readonly Rejected: "rejected";
684
+ };
685
+ export type ListCampaignContactsLifecycleStage = ClosedEnum<typeof ListCampaignContactsLifecycleStage>;
686
+ export type ListCampaignContactsRequest = {
687
+ lifecycleStage?: ListCampaignContactsLifecycleStage | undefined;
688
+ source?: string | undefined;
689
+ sourceAngle?: string | undefined;
690
+ minHotScore?: number | undefined;
691
+ limit?: number | undefined;
692
+ offset?: number | undefined;
693
+ /**
694
+ * Campaign ID
695
+ */
696
+ campaignId: string;
697
+ };
698
+ export type ListCampaignContactsContact = {
699
+ id: string;
700
+ linkedinUrl: string;
701
+ /**
702
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
703
+ */
704
+ profileUrn: string | null;
705
+ /**
706
+ * LinkedIn vanity slug (e.g. joshuaau)
707
+ */
708
+ publicIdentifier: string | null;
709
+ name: string;
710
+ lifecycleStage: string;
711
+ hotScore: number;
712
+ qualificationNotes: string | null;
713
+ notes: string | null;
714
+ stageChangedAt: string | null;
715
+ profileData: any | null;
716
+ profileUpdatedAt: string | null;
717
+ conversationData: any | null;
718
+ conversationUpdatedAt: string | null;
719
+ outreachStatus: string;
720
+ lastContactedAt: string | null;
721
+ lastRepliedAt: string | null;
722
+ nextFollowUpAt: string | null;
723
+ doNotContact: boolean;
724
+ tags: Array<string>;
725
+ createdAt: string;
726
+ updatedAt: string;
727
+ source: string;
728
+ sourceAngle: string | null;
729
+ addedAt: string;
730
+ };
731
+ export type ListCampaignContactsPagination = {
732
+ limit: number;
733
+ offset: number;
734
+ total: number;
735
+ };
736
+ /**
737
+ * Campaign contacts
738
+ */
739
+ export type ListCampaignContactsResponse = {
740
+ success: true;
741
+ contacts: Array<ListCampaignContactsContact>;
742
+ pagination: ListCampaignContactsPagination;
743
+ /**
744
+ * Credits consumed by this call (always 0 for contacts queries).
745
+ */
746
+ creditsUsed: number;
747
+ /**
748
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
749
+ */
750
+ retryAfter: number;
751
+ };
752
+ /**
753
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
754
+ */
755
+ export declare const AddCampaignContactsSource: {
756
+ readonly Likes: "likes";
757
+ readonly Comments: "comments";
758
+ readonly Reposts: "reposts";
759
+ readonly Posts: "posts";
760
+ readonly CompanyFollowers: "company_followers";
761
+ readonly SearchResults: "search_results";
762
+ readonly ManualImport: "manual_import";
763
+ readonly EventAttendees: "event_attendees";
764
+ readonly GroupMembers: "group_members";
765
+ readonly EngagementScraping: "engagement_scraping";
766
+ readonly ContentSearch: "content_search";
767
+ readonly FollowersMining: "followers_mining";
768
+ readonly PeopleSearch: "people_search";
769
+ readonly JobSearch: "job_search";
770
+ readonly CompanySearch: "company_search";
771
+ readonly NetworkExpansion: "network_expansion";
772
+ };
773
+ /**
774
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
775
+ */
776
+ export type AddCampaignContactsSource = ClosedEnum<typeof AddCampaignContactsSource>;
777
+ /**
778
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
779
+ */
780
+ export declare const AddCampaignContactsLifecycleStage: {
781
+ readonly Contact: "contact";
782
+ readonly Lead: "lead";
783
+ readonly Qualified: "qualified";
784
+ readonly Approved: "approved";
785
+ readonly Rejected: "rejected";
786
+ };
787
+ /**
788
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
789
+ */
790
+ export type AddCampaignContactsLifecycleStage = ClosedEnum<typeof AddCampaignContactsLifecycleStage>;
791
+ export type AddCampaignContactsContact = {
792
+ /**
793
+ * LinkedIn profile URL, URN, or bare vanity name
794
+ */
795
+ linkedinUrl: string;
796
+ /**
797
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...). Improves dedup when provided alongside a vanity URL.
798
+ */
799
+ profileUrn?: string | null | undefined;
800
+ /**
801
+ * LinkedIn vanity slug (e.g. joshuaau). Improves dedup when provided alongside a URN.
802
+ */
803
+ publicIdentifier?: string | null | undefined;
804
+ /**
805
+ * Profile name
806
+ */
807
+ name: string;
808
+ /**
809
+ * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
810
+ */
811
+ source?: AddCampaignContactsSource | undefined;
812
+ /**
813
+ * Which lead-gen angle found this (e.g., 'vp-sales-france')
814
+ */
815
+ sourceAngle?: string | undefined;
816
+ /**
817
+ * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
818
+ */
819
+ lifecycleStage?: AddCampaignContactsLifecycleStage | undefined;
820
+ /**
821
+ * Contact quality score (0-100)
822
+ */
823
+ hotScore?: number | undefined;
824
+ /**
825
+ * Agent reasoning for qualification decision
826
+ */
827
+ qualificationNotes?: string | undefined;
828
+ notes?: string | undefined;
829
+ };
830
+ export type AddCampaignContactsRequestBody = {
831
+ /**
832
+ * Contacts to add (single or bulk)
833
+ */
834
+ contacts: Array<AddCampaignContactsContact>;
835
+ };
836
+ export type AddCampaignContactsRequest = {
837
+ /**
838
+ * Campaign ID
839
+ */
840
+ campaignId: string;
841
+ body: AddCampaignContactsRequestBody;
842
+ };
843
+ export type AddCampaignContactsResults = {
844
+ created: number;
845
+ skipped: number;
846
+ errors: Array<string>;
847
+ };
848
+ /**
849
+ * Contacts added
850
+ */
851
+ export type AddCampaignContactsResponse = {
852
+ success: true;
853
+ results: AddCampaignContactsResults;
854
+ /**
855
+ * Credits consumed by this call (always 0 for contacts queries).
856
+ */
857
+ creditsUsed: number;
858
+ /**
859
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
860
+ */
861
+ retryAfter: number;
862
+ };
863
+ export type GetContactByUrlRequest = {
864
+ /**
865
+ * LinkedIn profile URL to look up
866
+ */
867
+ linkedinUrl: string;
868
+ };
869
+ export type GetContactByUrlActivity = {
870
+ id: string;
871
+ type: string;
872
+ content: string | null;
873
+ metadata: any | null;
874
+ createdAt: string;
875
+ };
876
+ export type GetContactByUrlCampaign = {
877
+ campaignId: string;
878
+ campaignName: string;
879
+ campaignStatus: string;
880
+ source: string;
881
+ sourceAngle: string | null;
882
+ addedAt: string;
883
+ };
884
+ export type GetContactByUrlContact = {
885
+ id: string;
886
+ linkedinUrl: string;
887
+ /**
888
+ * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
889
+ */
890
+ profileUrn: string | null;
891
+ /**
892
+ * LinkedIn vanity slug (e.g. joshuaau)
893
+ */
894
+ publicIdentifier: string | null;
895
+ name: string;
896
+ lifecycleStage: string;
897
+ hotScore: number;
898
+ qualificationNotes: string | null;
899
+ notes: string | null;
900
+ stageChangedAt: string | null;
901
+ profileData: any | null;
902
+ profileUpdatedAt: string | null;
903
+ conversationData: any | null;
904
+ conversationUpdatedAt: string | null;
905
+ outreachStatus: string;
906
+ lastContactedAt: string | null;
907
+ lastRepliedAt: string | null;
908
+ nextFollowUpAt: string | null;
909
+ doNotContact: boolean;
910
+ tags: Array<string>;
911
+ createdAt: string;
912
+ updatedAt: string;
913
+ activities: Array<GetContactByUrlActivity>;
914
+ campaigns: Array<GetContactByUrlCampaign>;
915
+ };
916
+ /**
917
+ * Contact found
918
+ */
919
+ export type GetContactByUrlResponse = {
920
+ success: true;
921
+ contact: GetContactByUrlContact;
922
+ /**
923
+ * Credits consumed by this call (always 0 for contacts queries).
924
+ */
925
+ creditsUsed: number;
926
+ /**
927
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
928
+ */
929
+ retryAfter: number;
930
+ };
931
+ export declare const QueryParamStatus: {
932
+ readonly Draft: "draft";
933
+ readonly Scheduled: "scheduled";
934
+ readonly Sending: "sending";
935
+ readonly Sent: "sent";
936
+ readonly Failed: "failed";
937
+ readonly Cancelled: "cancelled";
938
+ };
939
+ export type QueryParamStatus = ClosedEnum<typeof QueryParamStatus>;
940
+ export type ListScheduledMessagesRequest = {
941
+ status?: QueryParamStatus | undefined;
942
+ contactId?: string | undefined;
943
+ campaignSlug?: string | undefined;
944
+ limit?: number | undefined;
945
+ offset?: number | undefined;
946
+ };
947
+ export declare const ListScheduledMessagesStatusResponse: {
948
+ readonly Draft: "draft";
949
+ readonly Scheduled: "scheduled";
950
+ readonly Sending: "sending";
951
+ readonly Sent: "sent";
952
+ readonly Failed: "failed";
953
+ readonly Cancelled: "cancelled";
954
+ };
955
+ export type ListScheduledMessagesStatusResponse = OpenEnum<typeof ListScheduledMessagesStatusResponse>;
956
+ export type ListScheduledMessagesMessage = {
957
+ id: string;
958
+ contactId: string;
959
+ contactName: string | null;
960
+ contactLinkedinUrl: string | null;
961
+ message: string;
962
+ status: ListScheduledMessagesStatusResponse;
963
+ scheduledSendAt: string | null;
964
+ sentAt: string | null;
965
+ campaignSlug: string | null;
966
+ createdAt: string;
967
+ updatedAt: string;
968
+ };
969
+ export type ListScheduledMessagesPagination = {
970
+ limit: number;
971
+ offset: number;
972
+ total: number;
973
+ };
974
+ /**
975
+ * Messages list
976
+ */
977
+ export type ListScheduledMessagesResponse = {
978
+ success: true;
979
+ messages: Array<ListScheduledMessagesMessage>;
980
+ pagination: ListScheduledMessagesPagination;
981
+ /**
982
+ * Credits consumed (always 0 for workspace operations).
983
+ */
984
+ creditsUsed: number;
985
+ /**
986
+ * Seconds to wait (always 0 for workspace operations).
987
+ */
988
+ retryAfter: number;
989
+ };
990
+ /**
991
+ * Default 'draft'
992
+ */
993
+ export declare const CreateScheduledMessageStatusRequest: {
994
+ readonly Draft: "draft";
995
+ readonly Scheduled: "scheduled";
996
+ };
997
+ /**
998
+ * Default 'draft'
999
+ */
1000
+ export type CreateScheduledMessageStatusRequest = ClosedEnum<typeof CreateScheduledMessageStatusRequest>;
1001
+ export type CreateScheduledMessageRequest = {
1002
+ /**
1003
+ * Internal contact ID
1004
+ */
1005
+ contactId: string;
1006
+ /**
1007
+ * DM text
1008
+ */
1009
+ message: string;
1010
+ /**
1011
+ * Default 'draft'
1012
+ */
1013
+ status?: CreateScheduledMessageStatusRequest | undefined;
1014
+ /**
1015
+ * ISO datetime for auto-send
1016
+ */
1017
+ scheduledSendAt?: string | undefined;
1018
+ campaignSlug?: string | undefined;
1019
+ };
1020
+ export declare const CreateScheduledMessageStatusResponse: {
1021
+ readonly Draft: "draft";
1022
+ readonly Scheduled: "scheduled";
1023
+ readonly Sending: "sending";
1024
+ readonly Sent: "sent";
1025
+ readonly Failed: "failed";
1026
+ readonly Cancelled: "cancelled";
1027
+ };
1028
+ export type CreateScheduledMessageStatusResponse = OpenEnum<typeof CreateScheduledMessageStatusResponse>;
1029
+ export type CreateScheduledMessageMessage = {
1030
+ id: string;
1031
+ contactId: string;
1032
+ contactName: string | null;
1033
+ contactLinkedinUrl: string | null;
1034
+ message: string;
1035
+ status: CreateScheduledMessageStatusResponse;
1036
+ scheduledSendAt: string | null;
1037
+ sentAt: string | null;
1038
+ campaignSlug: string | null;
1039
+ createdAt: string;
1040
+ updatedAt: string;
1041
+ };
1042
+ /**
1043
+ * Message created
1044
+ */
1045
+ export type CreateScheduledMessageResponse = {
1046
+ success: true;
1047
+ message: CreateScheduledMessageMessage;
1048
+ /**
1049
+ * Credits consumed (always 0 for workspace operations).
1050
+ */
1051
+ creditsUsed: number;
1052
+ /**
1053
+ * Seconds to wait (always 0 for workspace operations).
1054
+ */
1055
+ retryAfter: number;
1056
+ };
1057
+ export type BatchScheduleMessagesRequest = {
1058
+ /**
1059
+ * Schedule all drafts for these contacts
1060
+ */
1061
+ contactIds?: Array<string> | undefined;
1062
+ /**
1063
+ * Schedule specific messages
1064
+ */
1065
+ messageIds?: Array<string> | undefined;
1066
+ /**
1067
+ * ISO datetime for sending
1068
+ */
1069
+ scheduledSendAt: string;
1070
+ };
1071
+ /**
1072
+ * Messages scheduled
1073
+ */
1074
+ export type BatchScheduleMessagesResponse = {
1075
+ success: true;
1076
+ scheduled: number;
1077
+ /**
1078
+ * Credits consumed (always 0 for workspace operations).
1079
+ */
1080
+ creditsUsed: number;
1081
+ /**
1082
+ * Seconds to wait (always 0 for workspace operations).
1083
+ */
1084
+ retryAfter: number;
1085
+ };
1086
+ export type CancelScheduledMessagesRequest = {
1087
+ /**
1088
+ * Cancel specific messages
1089
+ */
1090
+ messageIds?: Array<string> | undefined;
1091
+ /**
1092
+ * Cancel all pending for these contacts
1093
+ */
1094
+ contactIds?: Array<string> | undefined;
1095
+ };
1096
+ /**
1097
+ * Messages cancelled
1098
+ */
1099
+ export type CancelScheduledMessagesResponse = {
1100
+ success: true;
1101
+ cancelled: number;
1102
+ /**
1103
+ * Credits consumed (always 0 for workspace operations).
1104
+ */
1105
+ creditsUsed: number;
1106
+ /**
1107
+ * Seconds to wait (always 0 for workspace operations).
1108
+ */
1109
+ retryAfter: number;
1110
+ };
1111
+ export type ListContextRequest = {
1112
+ /**
1113
+ * Filter by scope (e.g. "campaign:abc", "user")
1114
+ */
1115
+ scope?: string | undefined;
1116
+ /**
1117
+ * Filter by type (e.g. "icp", "tone-voice")
1118
+ */
1119
+ type?: string | undefined;
1120
+ };
1121
+ export type ListContextEntry = {
1122
+ type: string;
1123
+ label: string | null;
1124
+ content: string;
1125
+ scope: string;
1126
+ updatedAt: string;
1127
+ };
1128
+ /**
1129
+ * Context entries
1130
+ */
1131
+ export type ListContextResponse = {
1132
+ success: true;
1133
+ entries: Array<ListContextEntry>;
1134
+ /**
1135
+ * Credits consumed (always 0 for workspace operations).
1136
+ */
1137
+ creditsUsed: number;
1138
+ /**
1139
+ * Seconds to wait (always 0 for workspace operations).
1140
+ */
1141
+ retryAfter: number;
1142
+ };
1143
+ export type SetContextRequest = {
1144
+ /**
1145
+ * Context type: "user-profile", "product-pitch", "icp", "tone-voice", "playbook", or "custom:{slug}"
1146
+ */
1147
+ type: string;
1148
+ /**
1149
+ * Markdown content
1150
+ */
1151
+ content: string;
1152
+ /**
1153
+ * Defaults to "user"
1154
+ */
1155
+ scope?: string | undefined;
1156
+ /**
1157
+ * Display label
1158
+ */
1159
+ label?: string | undefined;
1160
+ };
1161
+ export type SetContextEntry = {
1162
+ type: string;
1163
+ label: string | null;
1164
+ content: string;
1165
+ scope: string;
1166
+ updatedAt: string;
1167
+ };
1168
+ /**
1169
+ * Context saved
1170
+ */
1171
+ export type SetContextResponse = {
1172
+ success: true;
1173
+ entry: SetContextEntry;
1174
+ /**
1175
+ * Credits consumed (always 0 for workspace operations).
1176
+ */
1177
+ creditsUsed: number;
1178
+ /**
1179
+ * Seconds to wait (always 0 for workspace operations).
1180
+ */
1181
+ retryAfter: number;
1182
+ };
1183
+ export type DeleteContextRequest = {
1184
+ /**
1185
+ * Context type to delete
1186
+ */
1187
+ type: string;
1188
+ /**
1189
+ * Scope (defaults to "user")
1190
+ */
1191
+ scope?: string | undefined;
1192
+ };
1193
+ /**
1194
+ * Context deleted
1195
+ */
1196
+ export type DeleteContextResponse = {
1197
+ success: true;
1198
+ /**
1199
+ * Credits consumed (always 0 for workspace operations).
1200
+ */
1201
+ creditsUsed: number;
1202
+ /**
1203
+ * Seconds to wait (always 0 for workspace operations).
1204
+ */
1205
+ retryAfter: number;
1206
+ };
1207
+ export type Schedule = {
1208
+ scheduleId: string;
1209
+ type: string;
1210
+ state: string;
1211
+ cron: string | null;
1212
+ nextExecution: string | null;
1213
+ lastRunAt: string | null;
1214
+ lastRunStatus: string | null;
1215
+ };
1216
+ /**
1217
+ * Cron schedules
1218
+ */
1219
+ export type ListCronSchedulesResponse = {
1220
+ success: true;
1221
+ schedules: Array<Schedule>;
1222
+ /**
1223
+ * Credits consumed (always 0 for workspace operations).
1224
+ */
1225
+ creditsUsed: number;
1226
+ /**
1227
+ * Seconds to wait (always 0 for workspace operations).
1228
+ */
1229
+ retryAfter: number;
1230
+ };
1231
+ /**
1232
+ * Action to perform
1233
+ */
1234
+ export declare const UpdateCronScheduleAction: {
1235
+ readonly Pause: "pause";
1236
+ readonly Resume: "resume";
1237
+ readonly Delete: "delete";
1238
+ };
1239
+ /**
1240
+ * Action to perform
1241
+ */
1242
+ export type UpdateCronScheduleAction = ClosedEnum<typeof UpdateCronScheduleAction>;
1243
+ export type UpdateCronScheduleRequestBody = {
1244
+ /**
1245
+ * Action to perform
1246
+ */
1247
+ action: UpdateCronScheduleAction;
1248
+ };
1249
+ export type UpdateCronScheduleRequest = {
1250
+ /**
1251
+ * Schedule ID
1252
+ */
1253
+ scheduleId: string;
1254
+ body: UpdateCronScheduleRequestBody;
1255
+ };
1256
+ /**
1257
+ * Schedule updated
1258
+ */
1259
+ export type UpdateCronScheduleResponse = {
1260
+ success: true;
1261
+ /**
1262
+ * Credits consumed (always 0 for workspace operations).
1263
+ */
1264
+ creditsUsed: number;
1265
+ /**
1266
+ * Seconds to wait (always 0 for workspace operations).
1267
+ */
1268
+ retryAfter: number;
1269
+ };
1270
+ /** @internal */
1271
+ export type UpdateContactTags3$Outbound = {
1272
+ set: Array<string>;
1273
+ };
1274
+ /** @internal */
1275
+ export declare const UpdateContactTags3$outboundSchema: z.ZodMiniType<UpdateContactTags3$Outbound, UpdateContactTags3>;
1276
+ export declare function updateContactTags3ToJSON(updateContactTags3: UpdateContactTags3): string;
1277
+ /** @internal */
1278
+ export type UpdateContactTags2$Outbound = {
1279
+ add?: Array<string> | undefined;
1280
+ remove: Array<string>;
1281
+ };
1282
+ /** @internal */
1283
+ export declare const UpdateContactTags2$outboundSchema: z.ZodMiniType<UpdateContactTags2$Outbound, UpdateContactTags2>;
1284
+ export declare function updateContactTags2ToJSON(updateContactTags2: UpdateContactTags2): string;
1285
+ /** @internal */
1286
+ export type UpdateContactTags1$Outbound = {
1287
+ add: Array<string>;
1288
+ remove?: Array<string> | undefined;
1289
+ };
1290
+ /** @internal */
1291
+ export declare const UpdateContactTags1$outboundSchema: z.ZodMiniType<UpdateContactTags1$Outbound, UpdateContactTags1>;
1292
+ export declare function updateContactTags1ToJSON(updateContactTags1: UpdateContactTags1): string;
1293
+ /** @internal */
1294
+ export type UpdateContactTagsUnion$Outbound = UpdateContactTags1$Outbound | UpdateContactTags2$Outbound | UpdateContactTags3$Outbound;
1295
+ /** @internal */
1296
+ export declare const UpdateContactTagsUnion$outboundSchema: z.ZodMiniType<UpdateContactTagsUnion$Outbound, UpdateContactTagsUnion>;
1297
+ export declare function updateContactTagsUnionToJSON(updateContactTagsUnion: UpdateContactTagsUnion): string;
1298
+ /** @internal */
1299
+ export type UpdateContactRequestBody$Outbound = {
1300
+ lifecycleStage?: string | undefined;
1301
+ hotScore?: number | undefined;
1302
+ qualificationNotes?: string | undefined;
1303
+ notes?: string | undefined;
1304
+ name?: string | undefined;
1305
+ profileData?: any | undefined;
1306
+ profileUpdatedAt?: string | undefined;
1307
+ conversationData?: any | undefined;
1308
+ conversationUpdatedAt?: string | undefined;
1309
+ outreachStatus?: string | undefined;
1310
+ nextFollowUpAt?: string | null | undefined;
1311
+ doNotContact?: boolean | undefined;
1312
+ tags?: UpdateContactTags1$Outbound | UpdateContactTags2$Outbound | UpdateContactTags3$Outbound | undefined;
1313
+ };
1314
+ /** @internal */
1315
+ export declare const UpdateContactRequestBody$outboundSchema: z.ZodMiniType<UpdateContactRequestBody$Outbound, UpdateContactRequestBody>;
1316
+ export declare function updateContactRequestBodyToJSON(updateContactRequestBody: UpdateContactRequestBody): string;
1317
+ /** @internal */
1318
+ export type UpdateContactRequest$Outbound = {
1319
+ id: string;
1320
+ body: UpdateContactRequestBody$Outbound;
1321
+ };
1322
+ /** @internal */
1323
+ export declare const UpdateContactRequest$outboundSchema: z.ZodMiniType<UpdateContactRequest$Outbound, UpdateContactRequest>;
1324
+ export declare function updateContactRequestToJSON(updateContactRequest: UpdateContactRequest): string;
1325
+ /** @internal */
1326
+ export declare const UpdateContactContact$inboundSchema: z.ZodMiniType<UpdateContactContact, unknown>;
1327
+ export declare function updateContactContactFromJSON(jsonString: string): SafeParseResult<UpdateContactContact, SDKValidationError>;
1328
+ /** @internal */
1329
+ export declare const UpdateContactResponse$inboundSchema: z.ZodMiniType<UpdateContactResponse, unknown>;
1330
+ export declare function updateContactResponseFromJSON(jsonString: string): SafeParseResult<UpdateContactResponse, SDKValidationError>;
1331
+ /** @internal */
1332
+ export type ListContactActivitiesRequest$Outbound = {
1333
+ type?: string | undefined;
1334
+ limit: number;
1335
+ offset: number;
1336
+ id: string;
1337
+ };
1338
+ /** @internal */
1339
+ export declare const ListContactActivitiesRequest$outboundSchema: z.ZodMiniType<ListContactActivitiesRequest$Outbound, ListContactActivitiesRequest>;
1340
+ export declare function listContactActivitiesRequestToJSON(listContactActivitiesRequest: ListContactActivitiesRequest): string;
1341
+ /** @internal */
1342
+ export declare const ListContactActivitiesActivity$inboundSchema: z.ZodMiniType<ListContactActivitiesActivity, unknown>;
1343
+ export declare function listContactActivitiesActivityFromJSON(jsonString: string): SafeParseResult<ListContactActivitiesActivity, SDKValidationError>;
1344
+ /** @internal */
1345
+ export declare const ListContactActivitiesPagination$inboundSchema: z.ZodMiniType<ListContactActivitiesPagination, unknown>;
1346
+ export declare function listContactActivitiesPaginationFromJSON(jsonString: string): SafeParseResult<ListContactActivitiesPagination, SDKValidationError>;
1347
+ /** @internal */
1348
+ export declare const ListContactActivitiesResponse$inboundSchema: z.ZodMiniType<ListContactActivitiesResponse, unknown>;
1349
+ export declare function listContactActivitiesResponseFromJSON(jsonString: string): SafeParseResult<ListContactActivitiesResponse, SDKValidationError>;
1350
+ /** @internal */
1351
+ export declare const AddContactActivitiesType$outboundSchema: z.ZodMiniEnum<typeof AddContactActivitiesType>;
1352
+ /** @internal */
1353
+ export type AddContactActivitiesActivity$Outbound = {
1354
+ type: string;
1355
+ content?: string | undefined;
1356
+ metadata?: any | undefined;
1357
+ };
1358
+ /** @internal */
1359
+ export declare const AddContactActivitiesActivity$outboundSchema: z.ZodMiniType<AddContactActivitiesActivity$Outbound, AddContactActivitiesActivity>;
1360
+ export declare function addContactActivitiesActivityToJSON(addContactActivitiesActivity: AddContactActivitiesActivity): string;
1361
+ /** @internal */
1362
+ export type AddContactActivitiesRequestBody$Outbound = {
1363
+ activities: Array<AddContactActivitiesActivity$Outbound>;
1364
+ };
1365
+ /** @internal */
1366
+ export declare const AddContactActivitiesRequestBody$outboundSchema: z.ZodMiniType<AddContactActivitiesRequestBody$Outbound, AddContactActivitiesRequestBody>;
1367
+ export declare function addContactActivitiesRequestBodyToJSON(addContactActivitiesRequestBody: AddContactActivitiesRequestBody): string;
1368
+ /** @internal */
1369
+ export type AddContactActivitiesRequest$Outbound = {
1370
+ id: string;
1371
+ body: AddContactActivitiesRequestBody$Outbound;
1372
+ };
1373
+ /** @internal */
1374
+ export declare const AddContactActivitiesRequest$outboundSchema: z.ZodMiniType<AddContactActivitiesRequest$Outbound, AddContactActivitiesRequest>;
1375
+ export declare function addContactActivitiesRequestToJSON(addContactActivitiesRequest: AddContactActivitiesRequest): string;
1376
+ /** @internal */
1377
+ export declare const AddContactActivitiesResponse$inboundSchema: z.ZodMiniType<AddContactActivitiesResponse, unknown>;
1378
+ export declare function addContactActivitiesResponseFromJSON(jsonString: string): SafeParseResult<AddContactActivitiesResponse, SDKValidationError>;
1379
+ /** @internal */
1380
+ export declare const BulkUpdateContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof BulkUpdateContactsLifecycleStage>;
1381
+ /** @internal */
1382
+ export declare const BulkUpdateContactsOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof BulkUpdateContactsOutreachStatus>;
1383
+ /** @internal */
1384
+ export type BulkUpdateContactsTags3$Outbound = {
1385
+ set: Array<string>;
1386
+ };
1387
+ /** @internal */
1388
+ export declare const BulkUpdateContactsTags3$outboundSchema: z.ZodMiniType<BulkUpdateContactsTags3$Outbound, BulkUpdateContactsTags3>;
1389
+ export declare function bulkUpdateContactsTags3ToJSON(bulkUpdateContactsTags3: BulkUpdateContactsTags3): string;
1390
+ /** @internal */
1391
+ export type BulkUpdateContactsTags2$Outbound = {
1392
+ add?: Array<string> | undefined;
1393
+ remove: Array<string>;
1394
+ };
1395
+ /** @internal */
1396
+ export declare const BulkUpdateContactsTags2$outboundSchema: z.ZodMiniType<BulkUpdateContactsTags2$Outbound, BulkUpdateContactsTags2>;
1397
+ export declare function bulkUpdateContactsTags2ToJSON(bulkUpdateContactsTags2: BulkUpdateContactsTags2): string;
1398
+ /** @internal */
1399
+ export type BulkUpdateContactsTags1$Outbound = {
1400
+ add: Array<string>;
1401
+ remove?: Array<string> | undefined;
1402
+ };
1403
+ /** @internal */
1404
+ export declare const BulkUpdateContactsTags1$outboundSchema: z.ZodMiniType<BulkUpdateContactsTags1$Outbound, BulkUpdateContactsTags1>;
1405
+ export declare function bulkUpdateContactsTags1ToJSON(bulkUpdateContactsTags1: BulkUpdateContactsTags1): string;
1406
+ /** @internal */
1407
+ export type BulkUpdateContactsTagsUnion$Outbound = BulkUpdateContactsTags1$Outbound | BulkUpdateContactsTags2$Outbound | BulkUpdateContactsTags3$Outbound;
1408
+ /** @internal */
1409
+ export declare const BulkUpdateContactsTagsUnion$outboundSchema: z.ZodMiniType<BulkUpdateContactsTagsUnion$Outbound, BulkUpdateContactsTagsUnion>;
1410
+ export declare function bulkUpdateContactsTagsUnionToJSON(bulkUpdateContactsTagsUnion: BulkUpdateContactsTagsUnion): string;
1411
+ /** @internal */
1412
+ export type Update$Outbound = {
1413
+ lifecycleStage?: string | undefined;
1414
+ hotScore?: number | undefined;
1415
+ qualificationNotes?: string | undefined;
1416
+ notes?: string | undefined;
1417
+ outreachStatus?: string | undefined;
1418
+ nextFollowUpAt?: string | null | undefined;
1419
+ doNotContact?: boolean | undefined;
1420
+ tags?: BulkUpdateContactsTags1$Outbound | BulkUpdateContactsTags2$Outbound | BulkUpdateContactsTags3$Outbound | undefined;
1421
+ };
1422
+ /** @internal */
1423
+ export declare const Update$outboundSchema: z.ZodMiniType<Update$Outbound, Update>;
1424
+ export declare function updateToJSON(update: Update): string;
1425
+ /** @internal */
1426
+ export type BulkUpdateContactsRequest$Outbound = {
1427
+ contactIds: Array<string>;
1428
+ update: Update$Outbound;
1429
+ };
1430
+ /** @internal */
1431
+ export declare const BulkUpdateContactsRequest$outboundSchema: z.ZodMiniType<BulkUpdateContactsRequest$Outbound, BulkUpdateContactsRequest>;
1432
+ export declare function bulkUpdateContactsRequestToJSON(bulkUpdateContactsRequest: BulkUpdateContactsRequest): string;
1433
+ /** @internal */
1434
+ export declare const BulkUpdateContactsResponse$inboundSchema: z.ZodMiniType<BulkUpdateContactsResponse, unknown>;
1435
+ export declare function bulkUpdateContactsResponseFromJSON(jsonString: string): SafeParseResult<BulkUpdateContactsResponse, SDKValidationError>;
1436
+ /** @internal */
1437
+ export type GetContactStatsRequest$Outbound = {
1438
+ campaignId?: string | undefined;
1439
+ };
1440
+ /** @internal */
1441
+ export declare const GetContactStatsRequest$outboundSchema: z.ZodMiniType<GetContactStatsRequest$Outbound, GetContactStatsRequest>;
1442
+ export declare function getContactStatsRequestToJSON(getContactStatsRequest: GetContactStatsRequest): string;
1443
+ /** @internal */
1444
+ export declare const Funnel$inboundSchema: z.ZodMiniType<Funnel, unknown>;
1445
+ export declare function funnelFromJSON(jsonString: string): SafeParseResult<Funnel, SDKValidationError>;
1446
+ /** @internal */
1447
+ export declare const BySourceAngle$inboundSchema: z.ZodMiniType<BySourceAngle, unknown>;
1448
+ export declare function bySourceAngleFromJSON(jsonString: string): SafeParseResult<BySourceAngle, SDKValidationError>;
1449
+ /** @internal */
1450
+ export declare const ByCampaign$inboundSchema: z.ZodMiniType<ByCampaign, unknown>;
1451
+ export declare function byCampaignFromJSON(jsonString: string): SafeParseResult<ByCampaign, SDKValidationError>;
1452
+ /** @internal */
1453
+ export declare const GetContactStatsDaily$inboundSchema: z.ZodMiniType<GetContactStatsDaily, unknown>;
1454
+ export declare function getContactStatsDailyFromJSON(jsonString: string): SafeParseResult<GetContactStatsDaily, SDKValidationError>;
1455
+ /** @internal */
1456
+ export declare const GetContactStatsResponse$inboundSchema: z.ZodMiniType<GetContactStatsResponse, unknown>;
1457
+ export declare function getContactStatsResponseFromJSON(jsonString: string): SafeParseResult<GetContactStatsResponse, SDKValidationError>;
1458
+ /** @internal */
1459
+ export declare const State$inboundSchema: z.ZodMiniType<State, unknown>;
1460
+ export declare function stateFromJSON(jsonString: string): SafeParseResult<State, SDKValidationError>;
1461
+ /** @internal */
1462
+ export declare const ListAgentStatesResponse$inboundSchema: z.ZodMiniType<ListAgentStatesResponse, unknown>;
1463
+ export declare function listAgentStatesResponseFromJSON(jsonString: string): SafeParseResult<ListAgentStatesResponse, SDKValidationError>;
1464
+ /** @internal */
1465
+ export type GetAgentStateRequest$Outbound = {
1466
+ key: string;
1467
+ };
1468
+ /** @internal */
1469
+ export declare const GetAgentStateRequest$outboundSchema: z.ZodMiniType<GetAgentStateRequest$Outbound, GetAgentStateRequest>;
1470
+ export declare function getAgentStateRequestToJSON(getAgentStateRequest: GetAgentStateRequest): string;
1471
+ /** @internal */
1472
+ export declare const GetAgentStateResponse$inboundSchema: z.ZodMiniType<GetAgentStateResponse, unknown>;
1473
+ export declare function getAgentStateResponseFromJSON(jsonString: string): SafeParseResult<GetAgentStateResponse, SDKValidationError>;
1474
+ /** @internal */
1475
+ export type SetAgentStateRequestBody$Outbound = {
1476
+ data: any;
1477
+ };
1478
+ /** @internal */
1479
+ export declare const SetAgentStateRequestBody$outboundSchema: z.ZodMiniType<SetAgentStateRequestBody$Outbound, SetAgentStateRequestBody>;
1480
+ export declare function setAgentStateRequestBodyToJSON(setAgentStateRequestBody: SetAgentStateRequestBody): string;
1481
+ /** @internal */
1482
+ export type SetAgentStateRequest$Outbound = {
1483
+ key: string;
1484
+ body: SetAgentStateRequestBody$Outbound;
1485
+ };
1486
+ /** @internal */
1487
+ export declare const SetAgentStateRequest$outboundSchema: z.ZodMiniType<SetAgentStateRequest$Outbound, SetAgentStateRequest>;
1488
+ export declare function setAgentStateRequestToJSON(setAgentStateRequest: SetAgentStateRequest): string;
1489
+ /** @internal */
1490
+ export declare const SetAgentStateResponse$inboundSchema: z.ZodMiniType<SetAgentStateResponse, unknown>;
1491
+ export declare function setAgentStateResponseFromJSON(jsonString: string): SafeParseResult<SetAgentStateResponse, SDKValidationError>;
1492
+ /** @internal */
1493
+ export type DeleteAgentStateRequest$Outbound = {
1494
+ key: string;
1495
+ };
1496
+ /** @internal */
1497
+ export declare const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<DeleteAgentStateRequest$Outbound, DeleteAgentStateRequest>;
1498
+ export declare function deleteAgentStateRequestToJSON(deleteAgentStateRequest: DeleteAgentStateRequest): string;
1499
+ /** @internal */
1500
+ export declare const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<DeleteAgentStateResponse, unknown>;
1501
+ export declare function deleteAgentStateResponseFromJSON(jsonString: string): SafeParseResult<DeleteAgentStateResponse, SDKValidationError>;
1502
+ /** @internal */
1503
+ export type PatchAgentStateRequestBody$Outbound = {
1504
+ data: {
1505
+ [k: string]: any;
1506
+ };
1507
+ };
1508
+ /** @internal */
1509
+ export declare const PatchAgentStateRequestBody$outboundSchema: z.ZodMiniType<PatchAgentStateRequestBody$Outbound, PatchAgentStateRequestBody>;
1510
+ export declare function patchAgentStateRequestBodyToJSON(patchAgentStateRequestBody: PatchAgentStateRequestBody): string;
1511
+ /** @internal */
1512
+ export type PatchAgentStateRequest$Outbound = {
1513
+ key: string;
1514
+ body: PatchAgentStateRequestBody$Outbound;
1515
+ };
1516
+ /** @internal */
1517
+ export declare const PatchAgentStateRequest$outboundSchema: z.ZodMiniType<PatchAgentStateRequest$Outbound, PatchAgentStateRequest>;
1518
+ export declare function patchAgentStateRequestToJSON(patchAgentStateRequest: PatchAgentStateRequest): string;
1519
+ /** @internal */
1520
+ export declare const PatchAgentStateResponse$inboundSchema: z.ZodMiniType<PatchAgentStateResponse, unknown>;
1521
+ export declare function patchAgentStateResponseFromJSON(jsonString: string): SafeParseResult<PatchAgentStateResponse, SDKValidationError>;
1522
+ /** @internal */
1523
+ export declare const ListCampaignsType$outboundSchema: z.ZodMiniEnum<typeof ListCampaignsType>;
1524
+ /** @internal */
1525
+ export type ListCampaignsRequest$Outbound = {
1526
+ type?: string | undefined;
1527
+ status?: string | undefined;
1528
+ limit: number;
1529
+ offset: number;
1530
+ };
1531
+ /** @internal */
1532
+ export declare const ListCampaignsRequest$outboundSchema: z.ZodMiniType<ListCampaignsRequest$Outbound, ListCampaignsRequest>;
1533
+ export declare function listCampaignsRequestToJSON(listCampaignsRequest: ListCampaignsRequest): string;
1534
+ /** @internal */
1535
+ export declare const ListCampaignsStageCounts$inboundSchema: z.ZodMiniType<ListCampaignsStageCounts, unknown>;
1536
+ export declare function listCampaignsStageCountsFromJSON(jsonString: string): SafeParseResult<ListCampaignsStageCounts, SDKValidationError>;
1537
+ /** @internal */
1538
+ export declare const ListCampaignsCampaign$inboundSchema: z.ZodMiniType<ListCampaignsCampaign, unknown>;
1539
+ export declare function listCampaignsCampaignFromJSON(jsonString: string): SafeParseResult<ListCampaignsCampaign, SDKValidationError>;
1540
+ /** @internal */
1541
+ export declare const ListCampaignsPagination$inboundSchema: z.ZodMiniType<ListCampaignsPagination, unknown>;
1542
+ export declare function listCampaignsPaginationFromJSON(jsonString: string): SafeParseResult<ListCampaignsPagination, SDKValidationError>;
1543
+ /** @internal */
1544
+ export declare const ListCampaignsResponse$inboundSchema: z.ZodMiniType<ListCampaignsResponse, unknown>;
1545
+ export declare function listCampaignsResponseFromJSON(jsonString: string): SafeParseResult<ListCampaignsResponse, SDKValidationError>;
1546
+ /** @internal */
1547
+ export declare const CreateCampaignType$outboundSchema: z.ZodMiniEnum<typeof CreateCampaignType>;
1548
+ /** @internal */
1549
+ export type CreateCampaignRequest$Outbound = {
1550
+ name: string;
1551
+ description?: string | undefined;
1552
+ context?: string | undefined;
1553
+ type: string;
1554
+ };
1555
+ /** @internal */
1556
+ export declare const CreateCampaignRequest$outboundSchema: z.ZodMiniType<CreateCampaignRequest$Outbound, CreateCampaignRequest>;
1557
+ export declare function createCampaignRequestToJSON(createCampaignRequest: CreateCampaignRequest): string;
1558
+ /** @internal */
1559
+ export declare const CreateCampaignStageCounts$inboundSchema: z.ZodMiniType<CreateCampaignStageCounts, unknown>;
1560
+ export declare function createCampaignStageCountsFromJSON(jsonString: string): SafeParseResult<CreateCampaignStageCounts, SDKValidationError>;
1561
+ /** @internal */
1562
+ export declare const CreateCampaignCampaign$inboundSchema: z.ZodMiniType<CreateCampaignCampaign, unknown>;
1563
+ export declare function createCampaignCampaignFromJSON(jsonString: string): SafeParseResult<CreateCampaignCampaign, SDKValidationError>;
1564
+ /** @internal */
1565
+ export declare const CreateCampaignResponse$inboundSchema: z.ZodMiniType<CreateCampaignResponse, unknown>;
1566
+ export declare function createCampaignResponseFromJSON(jsonString: string): SafeParseResult<CreateCampaignResponse, SDKValidationError>;
1567
+ /** @internal */
1568
+ export declare const UpdateCampaignStatus$outboundSchema: z.ZodMiniEnum<typeof UpdateCampaignStatus>;
1569
+ /** @internal */
1570
+ export type UpdateCampaignRequestBody$Outbound = {
1571
+ name?: string | undefined;
1572
+ description?: string | undefined;
1573
+ context?: string | undefined;
1574
+ status?: string | undefined;
1575
+ scheduledStartTime?: string | undefined;
1576
+ scheduledStopTime?: string | undefined;
1577
+ timezone?: string | undefined;
1578
+ runDays?: Array<string> | undefined;
1579
+ dailyActionLimit?: number | null | undefined;
1580
+ };
1581
+ /** @internal */
1582
+ export declare const UpdateCampaignRequestBody$outboundSchema: z.ZodMiniType<UpdateCampaignRequestBody$Outbound, UpdateCampaignRequestBody>;
1583
+ export declare function updateCampaignRequestBodyToJSON(updateCampaignRequestBody: UpdateCampaignRequestBody): string;
1584
+ /** @internal */
1585
+ export type UpdateCampaignRequest$Outbound = {
1586
+ campaignId: string;
1587
+ body: UpdateCampaignRequestBody$Outbound;
1588
+ };
1589
+ /** @internal */
1590
+ export declare const UpdateCampaignRequest$outboundSchema: z.ZodMiniType<UpdateCampaignRequest$Outbound, UpdateCampaignRequest>;
1591
+ export declare function updateCampaignRequestToJSON(updateCampaignRequest: UpdateCampaignRequest): string;
1592
+ /** @internal */
1593
+ export declare const UpdateCampaignStageCounts$inboundSchema: z.ZodMiniType<UpdateCampaignStageCounts, unknown>;
1594
+ export declare function updateCampaignStageCountsFromJSON(jsonString: string): SafeParseResult<UpdateCampaignStageCounts, SDKValidationError>;
1595
+ /** @internal */
1596
+ export declare const UpdateCampaignCampaign$inboundSchema: z.ZodMiniType<UpdateCampaignCampaign, unknown>;
1597
+ export declare function updateCampaignCampaignFromJSON(jsonString: string): SafeParseResult<UpdateCampaignCampaign, SDKValidationError>;
1598
+ /** @internal */
1599
+ export declare const UpdateCampaignResponse$inboundSchema: z.ZodMiniType<UpdateCampaignResponse, unknown>;
1600
+ export declare function updateCampaignResponseFromJSON(jsonString: string): SafeParseResult<UpdateCampaignResponse, SDKValidationError>;
1601
+ /** @internal */
1602
+ export declare const ListCampaignContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof ListCampaignContactsLifecycleStage>;
1603
+ /** @internal */
1604
+ export type ListCampaignContactsRequest$Outbound = {
1605
+ lifecycleStage?: string | undefined;
1606
+ source?: string | undefined;
1607
+ sourceAngle?: string | undefined;
1608
+ minHotScore?: number | undefined;
1609
+ limit: number;
1610
+ offset: number;
1611
+ campaignId: string;
1612
+ };
1613
+ /** @internal */
1614
+ export declare const ListCampaignContactsRequest$outboundSchema: z.ZodMiniType<ListCampaignContactsRequest$Outbound, ListCampaignContactsRequest>;
1615
+ export declare function listCampaignContactsRequestToJSON(listCampaignContactsRequest: ListCampaignContactsRequest): string;
1616
+ /** @internal */
1617
+ export declare const ListCampaignContactsContact$inboundSchema: z.ZodMiniType<ListCampaignContactsContact, unknown>;
1618
+ export declare function listCampaignContactsContactFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsContact, SDKValidationError>;
1619
+ /** @internal */
1620
+ export declare const ListCampaignContactsPagination$inboundSchema: z.ZodMiniType<ListCampaignContactsPagination, unknown>;
1621
+ export declare function listCampaignContactsPaginationFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsPagination, SDKValidationError>;
1622
+ /** @internal */
1623
+ export declare const ListCampaignContactsResponse$inboundSchema: z.ZodMiniType<ListCampaignContactsResponse, unknown>;
1624
+ export declare function listCampaignContactsResponseFromJSON(jsonString: string): SafeParseResult<ListCampaignContactsResponse, SDKValidationError>;
1625
+ /** @internal */
1626
+ export declare const AddCampaignContactsSource$outboundSchema: z.ZodMiniEnum<typeof AddCampaignContactsSource>;
1627
+ /** @internal */
1628
+ export declare const AddCampaignContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof AddCampaignContactsLifecycleStage>;
1629
+ /** @internal */
1630
+ export type AddCampaignContactsContact$Outbound = {
1631
+ linkedinUrl: string;
1632
+ profileUrn?: string | null | undefined;
1633
+ publicIdentifier?: string | null | undefined;
1634
+ name: string;
1635
+ source: string;
1636
+ sourceAngle?: string | undefined;
1637
+ lifecycleStage?: string | undefined;
1638
+ hotScore?: number | undefined;
1639
+ qualificationNotes?: string | undefined;
1640
+ notes?: string | undefined;
1641
+ };
1642
+ /** @internal */
1643
+ export declare const AddCampaignContactsContact$outboundSchema: z.ZodMiniType<AddCampaignContactsContact$Outbound, AddCampaignContactsContact>;
1644
+ export declare function addCampaignContactsContactToJSON(addCampaignContactsContact: AddCampaignContactsContact): string;
1645
+ /** @internal */
1646
+ export type AddCampaignContactsRequestBody$Outbound = {
1647
+ contacts: Array<AddCampaignContactsContact$Outbound>;
1648
+ };
1649
+ /** @internal */
1650
+ export declare const AddCampaignContactsRequestBody$outboundSchema: z.ZodMiniType<AddCampaignContactsRequestBody$Outbound, AddCampaignContactsRequestBody>;
1651
+ export declare function addCampaignContactsRequestBodyToJSON(addCampaignContactsRequestBody: AddCampaignContactsRequestBody): string;
1652
+ /** @internal */
1653
+ export type AddCampaignContactsRequest$Outbound = {
1654
+ campaignId: string;
1655
+ body: AddCampaignContactsRequestBody$Outbound;
1656
+ };
1657
+ /** @internal */
1658
+ export declare const AddCampaignContactsRequest$outboundSchema: z.ZodMiniType<AddCampaignContactsRequest$Outbound, AddCampaignContactsRequest>;
1659
+ export declare function addCampaignContactsRequestToJSON(addCampaignContactsRequest: AddCampaignContactsRequest): string;
1660
+ /** @internal */
1661
+ export declare const AddCampaignContactsResults$inboundSchema: z.ZodMiniType<AddCampaignContactsResults, unknown>;
1662
+ export declare function addCampaignContactsResultsFromJSON(jsonString: string): SafeParseResult<AddCampaignContactsResults, SDKValidationError>;
1663
+ /** @internal */
1664
+ export declare const AddCampaignContactsResponse$inboundSchema: z.ZodMiniType<AddCampaignContactsResponse, unknown>;
1665
+ export declare function addCampaignContactsResponseFromJSON(jsonString: string): SafeParseResult<AddCampaignContactsResponse, SDKValidationError>;
1666
+ /** @internal */
1667
+ export type GetContactByUrlRequest$Outbound = {
1668
+ linkedinUrl: string;
1669
+ };
1670
+ /** @internal */
1671
+ export declare const GetContactByUrlRequest$outboundSchema: z.ZodMiniType<GetContactByUrlRequest$Outbound, GetContactByUrlRequest>;
1672
+ export declare function getContactByUrlRequestToJSON(getContactByUrlRequest: GetContactByUrlRequest): string;
1673
+ /** @internal */
1674
+ export declare const GetContactByUrlActivity$inboundSchema: z.ZodMiniType<GetContactByUrlActivity, unknown>;
1675
+ export declare function getContactByUrlActivityFromJSON(jsonString: string): SafeParseResult<GetContactByUrlActivity, SDKValidationError>;
1676
+ /** @internal */
1677
+ export declare const GetContactByUrlCampaign$inboundSchema: z.ZodMiniType<GetContactByUrlCampaign, unknown>;
1678
+ export declare function getContactByUrlCampaignFromJSON(jsonString: string): SafeParseResult<GetContactByUrlCampaign, SDKValidationError>;
1679
+ /** @internal */
1680
+ export declare const GetContactByUrlContact$inboundSchema: z.ZodMiniType<GetContactByUrlContact, unknown>;
1681
+ export declare function getContactByUrlContactFromJSON(jsonString: string): SafeParseResult<GetContactByUrlContact, SDKValidationError>;
1682
+ /** @internal */
1683
+ export declare const GetContactByUrlResponse$inboundSchema: z.ZodMiniType<GetContactByUrlResponse, unknown>;
1684
+ export declare function getContactByUrlResponseFromJSON(jsonString: string): SafeParseResult<GetContactByUrlResponse, SDKValidationError>;
1685
+ /** @internal */
1686
+ export declare const QueryParamStatus$outboundSchema: z.ZodMiniEnum<typeof QueryParamStatus>;
1687
+ /** @internal */
1688
+ export type ListScheduledMessagesRequest$Outbound = {
1689
+ status?: string | undefined;
1690
+ contactId?: string | undefined;
1691
+ campaignSlug?: string | undefined;
1692
+ limit: number;
1693
+ offset: number;
1694
+ };
1695
+ /** @internal */
1696
+ export declare const ListScheduledMessagesRequest$outboundSchema: z.ZodMiniType<ListScheduledMessagesRequest$Outbound, ListScheduledMessagesRequest>;
1697
+ export declare function listScheduledMessagesRequestToJSON(listScheduledMessagesRequest: ListScheduledMessagesRequest): string;
1698
+ /** @internal */
1699
+ export declare const ListScheduledMessagesStatusResponse$inboundSchema: z.ZodMiniType<ListScheduledMessagesStatusResponse, unknown>;
1700
+ /** @internal */
1701
+ export declare const ListScheduledMessagesMessage$inboundSchema: z.ZodMiniType<ListScheduledMessagesMessage, unknown>;
1702
+ export declare function listScheduledMessagesMessageFromJSON(jsonString: string): SafeParseResult<ListScheduledMessagesMessage, SDKValidationError>;
1703
+ /** @internal */
1704
+ export declare const ListScheduledMessagesPagination$inboundSchema: z.ZodMiniType<ListScheduledMessagesPagination, unknown>;
1705
+ export declare function listScheduledMessagesPaginationFromJSON(jsonString: string): SafeParseResult<ListScheduledMessagesPagination, SDKValidationError>;
1706
+ /** @internal */
1707
+ export declare const ListScheduledMessagesResponse$inboundSchema: z.ZodMiniType<ListScheduledMessagesResponse, unknown>;
1708
+ export declare function listScheduledMessagesResponseFromJSON(jsonString: string): SafeParseResult<ListScheduledMessagesResponse, SDKValidationError>;
1709
+ /** @internal */
1710
+ export declare const CreateScheduledMessageStatusRequest$outboundSchema: z.ZodMiniEnum<typeof CreateScheduledMessageStatusRequest>;
1711
+ /** @internal */
1712
+ export type CreateScheduledMessageRequest$Outbound = {
1713
+ contactId: string;
1714
+ message: string;
1715
+ status?: string | undefined;
1716
+ scheduledSendAt?: string | undefined;
1717
+ campaignSlug?: string | undefined;
1718
+ };
1719
+ /** @internal */
1720
+ export declare const CreateScheduledMessageRequest$outboundSchema: z.ZodMiniType<CreateScheduledMessageRequest$Outbound, CreateScheduledMessageRequest>;
1721
+ export declare function createScheduledMessageRequestToJSON(createScheduledMessageRequest: CreateScheduledMessageRequest): string;
1722
+ /** @internal */
1723
+ export declare const CreateScheduledMessageStatusResponse$inboundSchema: z.ZodMiniType<CreateScheduledMessageStatusResponse, unknown>;
1724
+ /** @internal */
1725
+ export declare const CreateScheduledMessageMessage$inboundSchema: z.ZodMiniType<CreateScheduledMessageMessage, unknown>;
1726
+ export declare function createScheduledMessageMessageFromJSON(jsonString: string): SafeParseResult<CreateScheduledMessageMessage, SDKValidationError>;
1727
+ /** @internal */
1728
+ export declare const CreateScheduledMessageResponse$inboundSchema: z.ZodMiniType<CreateScheduledMessageResponse, unknown>;
1729
+ export declare function createScheduledMessageResponseFromJSON(jsonString: string): SafeParseResult<CreateScheduledMessageResponse, SDKValidationError>;
1730
+ /** @internal */
1731
+ export type BatchScheduleMessagesRequest$Outbound = {
1732
+ contactIds?: Array<string> | undefined;
1733
+ messageIds?: Array<string> | undefined;
1734
+ scheduledSendAt: string;
1735
+ };
1736
+ /** @internal */
1737
+ export declare const BatchScheduleMessagesRequest$outboundSchema: z.ZodMiniType<BatchScheduleMessagesRequest$Outbound, BatchScheduleMessagesRequest>;
1738
+ export declare function batchScheduleMessagesRequestToJSON(batchScheduleMessagesRequest: BatchScheduleMessagesRequest): string;
1739
+ /** @internal */
1740
+ export declare const BatchScheduleMessagesResponse$inboundSchema: z.ZodMiniType<BatchScheduleMessagesResponse, unknown>;
1741
+ export declare function batchScheduleMessagesResponseFromJSON(jsonString: string): SafeParseResult<BatchScheduleMessagesResponse, SDKValidationError>;
1742
+ /** @internal */
1743
+ export type CancelScheduledMessagesRequest$Outbound = {
1744
+ messageIds?: Array<string> | undefined;
1745
+ contactIds?: Array<string> | undefined;
1746
+ };
1747
+ /** @internal */
1748
+ export declare const CancelScheduledMessagesRequest$outboundSchema: z.ZodMiniType<CancelScheduledMessagesRequest$Outbound, CancelScheduledMessagesRequest>;
1749
+ export declare function cancelScheduledMessagesRequestToJSON(cancelScheduledMessagesRequest: CancelScheduledMessagesRequest): string;
1750
+ /** @internal */
1751
+ export declare const CancelScheduledMessagesResponse$inboundSchema: z.ZodMiniType<CancelScheduledMessagesResponse, unknown>;
1752
+ export declare function cancelScheduledMessagesResponseFromJSON(jsonString: string): SafeParseResult<CancelScheduledMessagesResponse, SDKValidationError>;
1753
+ /** @internal */
1754
+ export type ListContextRequest$Outbound = {
1755
+ scope?: string | undefined;
1756
+ type?: string | undefined;
1757
+ };
1758
+ /** @internal */
1759
+ export declare const ListContextRequest$outboundSchema: z.ZodMiniType<ListContextRequest$Outbound, ListContextRequest>;
1760
+ export declare function listContextRequestToJSON(listContextRequest: ListContextRequest): string;
1761
+ /** @internal */
1762
+ export declare const ListContextEntry$inboundSchema: z.ZodMiniType<ListContextEntry, unknown>;
1763
+ export declare function listContextEntryFromJSON(jsonString: string): SafeParseResult<ListContextEntry, SDKValidationError>;
1764
+ /** @internal */
1765
+ export declare const ListContextResponse$inboundSchema: z.ZodMiniType<ListContextResponse, unknown>;
1766
+ export declare function listContextResponseFromJSON(jsonString: string): SafeParseResult<ListContextResponse, SDKValidationError>;
1767
+ /** @internal */
1768
+ export type SetContextRequest$Outbound = {
1769
+ type: string;
1770
+ content: string;
1771
+ scope?: string | undefined;
1772
+ label?: string | undefined;
1773
+ };
1774
+ /** @internal */
1775
+ export declare const SetContextRequest$outboundSchema: z.ZodMiniType<SetContextRequest$Outbound, SetContextRequest>;
1776
+ export declare function setContextRequestToJSON(setContextRequest: SetContextRequest): string;
1777
+ /** @internal */
1778
+ export declare const SetContextEntry$inboundSchema: z.ZodMiniType<SetContextEntry, unknown>;
1779
+ export declare function setContextEntryFromJSON(jsonString: string): SafeParseResult<SetContextEntry, SDKValidationError>;
1780
+ /** @internal */
1781
+ export declare const SetContextResponse$inboundSchema: z.ZodMiniType<SetContextResponse, unknown>;
1782
+ export declare function setContextResponseFromJSON(jsonString: string): SafeParseResult<SetContextResponse, SDKValidationError>;
1783
+ /** @internal */
1784
+ export type DeleteContextRequest$Outbound = {
1785
+ type: string;
1786
+ scope?: string | undefined;
1787
+ };
1788
+ /** @internal */
1789
+ export declare const DeleteContextRequest$outboundSchema: z.ZodMiniType<DeleteContextRequest$Outbound, DeleteContextRequest>;
1790
+ export declare function deleteContextRequestToJSON(deleteContextRequest: DeleteContextRequest): string;
1791
+ /** @internal */
1792
+ export declare const DeleteContextResponse$inboundSchema: z.ZodMiniType<DeleteContextResponse, unknown>;
1793
+ export declare function deleteContextResponseFromJSON(jsonString: string): SafeParseResult<DeleteContextResponse, SDKValidationError>;
1794
+ /** @internal */
1795
+ export declare const Schedule$inboundSchema: z.ZodMiniType<Schedule, unknown>;
1796
+ export declare function scheduleFromJSON(jsonString: string): SafeParseResult<Schedule, SDKValidationError>;
1797
+ /** @internal */
1798
+ export declare const ListCronSchedulesResponse$inboundSchema: z.ZodMiniType<ListCronSchedulesResponse, unknown>;
1799
+ export declare function listCronSchedulesResponseFromJSON(jsonString: string): SafeParseResult<ListCronSchedulesResponse, SDKValidationError>;
1800
+ /** @internal */
1801
+ export declare const UpdateCronScheduleAction$outboundSchema: z.ZodMiniEnum<typeof UpdateCronScheduleAction>;
1802
+ /** @internal */
1803
+ export type UpdateCronScheduleRequestBody$Outbound = {
1804
+ action: string;
1805
+ };
1806
+ /** @internal */
1807
+ export declare const UpdateCronScheduleRequestBody$outboundSchema: z.ZodMiniType<UpdateCronScheduleRequestBody$Outbound, UpdateCronScheduleRequestBody>;
1808
+ export declare function updateCronScheduleRequestBodyToJSON(updateCronScheduleRequestBody: UpdateCronScheduleRequestBody): string;
1809
+ /** @internal */
1810
+ export type UpdateCronScheduleRequest$Outbound = {
1811
+ scheduleId: string;
1812
+ body: UpdateCronScheduleRequestBody$Outbound;
1813
+ };
1814
+ /** @internal */
1815
+ export declare const UpdateCronScheduleRequest$outboundSchema: z.ZodMiniType<UpdateCronScheduleRequest$Outbound, UpdateCronScheduleRequest>;
1816
+ export declare function updateCronScheduleRequestToJSON(updateCronScheduleRequest: UpdateCronScheduleRequest): string;
1817
+ /** @internal */
1818
+ export declare const UpdateCronScheduleResponse$inboundSchema: z.ZodMiniType<UpdateCronScheduleResponse, unknown>;
1819
+ export declare function updateCronScheduleResponseFromJSON(jsonString: string): SafeParseResult<UpdateCronScheduleResponse, SDKValidationError>;
1820
+ //# sourceMappingURL=update-cron-schedule-response.d.ts.map