bereach 1.2.3 → 1.3.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 (1225) hide show
  1. package/README.md +13 -706
  2. package/esm/funcs/actions-connect-profile.d.ts +1 -1
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  4. package/esm/funcs/actions-connect-profile.js +1 -1
  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 +1 -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 +1 -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 +2 -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 +1 -1
  21. package/esm/funcs/campaigns-filter.js.map +1 -1
  22. package/esm/funcs/campaigns-get-stats.d.ts +1 -1
  23. package/esm/funcs/campaigns-get-stats.d.ts.map +1 -1
  24. package/esm/funcs/campaigns-get-stats.js +1 -1
  25. package/esm/funcs/campaigns-get-stats.js.map +1 -1
  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 +1 -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 +1 -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 +1 -1
  37. package/esm/funcs/chat-archive.js.map +1 -1
  38. package/esm/funcs/chat-find-conversation.d.ts +1 -1
  39. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  40. package/esm/funcs/chat-find-conversation.js +1 -1
  41. package/esm/funcs/chat-find-conversation.js.map +1 -1
  42. package/esm/funcs/chat-search-conversations.d.ts +1 -1
  43. package/esm/funcs/chat-search-conversations.d.ts.map +1 -1
  44. package/esm/funcs/chat-search-conversations.js +1 -1
  45. package/esm/funcs/chat-search-conversations.js.map +1 -1
  46. package/esm/funcs/chat-unreact.d.ts +1 -1
  47. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  48. package/esm/funcs/chat-unreact.js +1 -1
  49. package/esm/funcs/chat-unreact.js.map +1 -1
  50. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  51. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  52. package/esm/funcs/company-pages-get-analytics.js +1 -1
  53. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  54. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  55. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  56. package/esm/funcs/company-pages-get-permissions.js +1 -1
  57. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  58. package/esm/funcs/company-pages-get-posts.d.ts +1 -1
  59. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -1
  60. package/esm/funcs/company-pages-get-posts.js +1 -1
  61. package/esm/funcs/company-pages-get-posts.js.map +1 -1
  62. package/esm/funcs/company-pages-list.d.ts +1 -1
  63. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  64. package/esm/funcs/company-pages-list.js +1 -1
  65. package/esm/funcs/company-pages-list.js.map +1 -1
  66. package/esm/funcs/linked-in-actions-create-comment.d.ts +1 -1
  67. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -1
  68. package/esm/funcs/linked-in-actions-create-comment.js +1 -1
  69. package/esm/funcs/linked-in-actions-create-comment.js.map +1 -1
  70. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +1 -1
  71. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -1
  72. package/esm/funcs/linked-in-actions-decline-invitation.js +1 -1
  73. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -1
  74. package/esm/funcs/linked-in-actions-like-comment.d.ts +1 -1
  75. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -1
  76. package/esm/funcs/linked-in-actions-like-comment.js +1 -1
  77. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -1
  78. package/esm/funcs/linked-in-actions-publish-post.d.ts +1 -1
  79. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -1
  80. package/esm/funcs/linked-in-actions-publish-post.js +1 -1
  81. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -1
  82. package/esm/funcs/linked-in-actions-save-post.d.ts +1 -1
  83. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -1
  84. package/esm/funcs/linked-in-actions-save-post.js +1 -1
  85. package/esm/funcs/linked-in-actions-save-post.js.map +1 -1
  86. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +1 -1
  87. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -1
  88. package/esm/funcs/linked-in-actions-unfollow-profile.js +1 -1
  89. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +1 -1
  90. package/esm/funcs/linked-in-chat-list-starred.d.ts +1 -1
  91. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -1
  92. package/esm/funcs/linked-in-chat-list-starred.js +1 -1
  93. package/esm/funcs/linked-in-chat-list-starred.js.map +1 -1
  94. package/esm/funcs/linked-in-chat-mark-seen.d.ts +1 -1
  95. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -1
  96. package/esm/funcs/linked-in-chat-mark-seen.js +1 -1
  97. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -1
  98. package/esm/funcs/linked-in-chat-star.d.ts +1 -1
  99. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -1
  100. package/esm/funcs/linked-in-chat-star.js +1 -1
  101. package/esm/funcs/linked-in-chat-star.js.map +1 -1
  102. package/esm/funcs/linked-in-chat-unarchive.d.ts +1 -1
  103. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -1
  104. package/esm/funcs/linked-in-chat-unarchive.js +1 -1
  105. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -1
  106. package/esm/funcs/linked-in-chat-unstar.d.ts +1 -1
  107. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -1
  108. package/esm/funcs/linked-in-chat-unstar.js +1 -1
  109. package/esm/funcs/linked-in-chat-unstar.js.map +1 -1
  110. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +1 -1
  111. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -1
  112. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +1 -2
  113. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -1
  114. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +1 -1
  115. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -1
  116. package/esm/funcs/linked-in-scrapers-get-feed.js +1 -1
  117. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -1
  118. package/esm/funcs/linked-in-search-resolve-parameters.d.ts +1 -1
  119. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -1
  120. package/esm/funcs/linked-in-search-resolve-parameters.js +1 -2
  121. package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -1
  122. package/esm/funcs/linked-in-search-search-companies.d.ts +1 -1
  123. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -1
  124. package/esm/funcs/linked-in-search-search-companies.js +1 -1
  125. package/esm/funcs/linked-in-search-search-companies.js.map +1 -1
  126. package/esm/funcs/linked-in-search-search.d.ts +1 -1
  127. package/esm/funcs/linked-in-search-search.d.ts.map +1 -1
  128. package/esm/funcs/linked-in-search-search.js +1 -1
  129. package/esm/funcs/linked-in-search-search.js.map +1 -1
  130. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
  131. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
  132. package/esm/funcs/linkedin-actions-accept-invitation.js +1 -1
  133. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
  134. package/esm/funcs/linkedin-actions-edit-comment.d.ts +1 -1
  135. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +1 -1
  136. package/esm/funcs/linkedin-actions-edit-comment.js +1 -1
  137. package/esm/funcs/linkedin-actions-edit-comment.js.map +1 -1
  138. package/esm/funcs/linkedin-actions-edit-post.d.ts +1 -1
  139. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -1
  140. package/esm/funcs/linkedin-actions-edit-post.js +1 -1
  141. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -1
  142. package/esm/funcs/linkedin-actions-follow-profile.d.ts +1 -1
  143. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +1 -1
  144. package/esm/funcs/linkedin-actions-follow-profile.js +1 -1
  145. package/esm/funcs/linkedin-actions-follow-profile.js.map +1 -1
  146. package/esm/funcs/linkedin-actions-like-post.d.ts +1 -1
  147. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -1
  148. package/esm/funcs/linkedin-actions-like-post.js +1 -1
  149. package/esm/funcs/linkedin-actions-like-post.js.map +1 -1
  150. package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
  151. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
  152. package/esm/funcs/linkedin-actions-list-invitations.js +1 -1
  153. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
  154. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
  155. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
  156. package/esm/funcs/linkedin-actions-reply-to-comment.js +1 -1
  157. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
  158. package/esm/funcs/linkedin-actions-repost-post.d.ts +1 -1
  159. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -1
  160. package/esm/funcs/linkedin-actions-repost-post.js +1 -1
  161. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -1
  162. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +1 -1
  163. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -1
  164. package/esm/funcs/linkedin-actions-unfollow-company.js +1 -1
  165. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -1
  166. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +1 -1
  167. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -1
  168. package/esm/funcs/linkedin-actions-unlike-comment.js +1 -1
  169. package/esm/funcs/linkedin-actions-unlike-comment.js.map +1 -1
  170. package/esm/funcs/linkedin-actions-unlike-post.d.ts +1 -1
  171. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -1
  172. package/esm/funcs/linkedin-actions-unlike-post.js +1 -1
  173. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -1
  174. package/esm/funcs/linkedin-actions-unsave-post.d.ts +1 -1
  175. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -1
  176. package/esm/funcs/linkedin-actions-unsave-post.js +1 -1
  177. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -1
  178. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +1 -1
  179. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -1
  180. package/esm/funcs/linkedin-actions-withdraw-invitation.js +1 -1
  181. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -1
  182. package/esm/funcs/linkedin-chat-get-messages.d.ts +1 -1
  183. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +1 -1
  184. package/esm/funcs/linkedin-chat-get-messages.js +1 -1
  185. package/esm/funcs/linkedin-chat-get-messages.js.map +1 -1
  186. package/esm/funcs/linkedin-chat-get-unread-count.d.ts +1 -1
  187. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -1
  188. package/esm/funcs/linkedin-chat-get-unread-count.js +1 -1
  189. package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -1
  190. package/esm/funcs/linkedin-chat-list-archived.d.ts +1 -1
  191. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -1
  192. package/esm/funcs/linkedin-chat-list-archived.js +1 -1
  193. package/esm/funcs/linkedin-chat-list-archived.js.map +1 -1
  194. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +1 -1
  195. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -1
  196. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +1 -1
  197. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -1
  198. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +1 -1
  199. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -1
  200. package/esm/funcs/linkedin-chat-mark-all-read.js +1 -1
  201. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -1
  202. package/esm/funcs/linkedin-chat-react.d.ts +1 -1
  203. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -1
  204. package/esm/funcs/linkedin-chat-react.js +1 -1
  205. package/esm/funcs/linkedin-chat-react.js.map +1 -1
  206. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +1 -1
  207. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -1
  208. package/esm/funcs/linkedin-chat-send-typing-indicator.js +1 -1
  209. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -1
  210. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +1 -1
  211. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
  212. package/esm/funcs/linkedin-scrapers-collect-comments.js +1 -1
  213. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
  214. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +1 -1
  215. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -1
  216. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +1 -1
  217. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -1
  218. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
  219. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
  220. package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
  221. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
  222. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +1 -1
  223. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -1
  224. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +1 -1
  225. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -1
  226. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
  227. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
  228. package/esm/funcs/linkedin-scrapers-visit-company.js +1 -1
  229. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
  230. package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
  231. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
  232. package/esm/funcs/linkedin-search-search-by-url.js +1 -1
  233. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
  234. package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
  235. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
  236. package/esm/funcs/linkedin-search-search-jobs.js +1 -1
  237. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
  238. package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
  239. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
  240. package/esm/funcs/linkedin-search-search-people.js +1 -1
  241. package/esm/funcs/linkedin-search-search-people.js.map +1 -1
  242. package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
  243. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
  244. package/esm/funcs/linkedin-search-search-posts.js +1 -1
  245. package/esm/funcs/linkedin-search-search-posts.js.map +1 -1
  246. package/esm/funcs/profile-get-credits.d.ts +2 -2
  247. package/esm/funcs/profile-get-credits.d.ts.map +1 -1
  248. package/esm/funcs/profile-get-credits.js +2 -2
  249. package/esm/funcs/profile-get-credits.js.map +1 -1
  250. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  251. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  252. package/esm/funcs/profile-get-follower-analytics.js +1 -1
  253. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  254. package/esm/funcs/profile-get-followers.d.ts +1 -1
  255. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  256. package/esm/funcs/profile-get-followers.js +1 -1
  257. package/esm/funcs/profile-get-followers.js.map +1 -1
  258. package/esm/funcs/profile-get-limits.d.ts +1 -1
  259. package/esm/funcs/profile-get-limits.d.ts.map +1 -1
  260. package/esm/funcs/profile-get-limits.js +1 -1
  261. package/esm/funcs/profile-get-limits.js.map +1 -1
  262. package/esm/funcs/profile-get-post-analytics.d.ts +1 -1
  263. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  264. package/esm/funcs/profile-get-post-analytics.js +1 -1
  265. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  266. package/esm/funcs/profile-get-posts.d.ts +1 -1
  267. package/esm/funcs/profile-get-posts.d.ts.map +1 -1
  268. package/esm/funcs/profile-get-posts.js +1 -1
  269. package/esm/funcs/profile-get-posts.js.map +1 -1
  270. package/esm/funcs/profile-get-profile-views.d.ts +1 -1
  271. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -1
  272. package/esm/funcs/profile-get-profile-views.js +1 -1
  273. package/esm/funcs/profile-get-profile-views.js.map +1 -1
  274. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  275. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  276. package/esm/funcs/profile-get-search-appearances.js +1 -1
  277. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  278. package/esm/funcs/profile-get.d.ts +1 -1
  279. package/esm/funcs/profile-get.d.ts.map +1 -1
  280. package/esm/funcs/profile-get.js +1 -1
  281. package/esm/funcs/profile-get.js.map +1 -1
  282. package/esm/funcs/profile-list-accounts.d.ts +1 -1
  283. package/esm/funcs/profile-list-accounts.d.ts.map +1 -1
  284. package/esm/funcs/profile-list-accounts.js +1 -1
  285. package/esm/funcs/profile-list-accounts.js.map +1 -1
  286. package/esm/funcs/profile-refresh.d.ts +1 -1
  287. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  288. package/esm/funcs/profile-refresh.js +1 -1
  289. package/esm/funcs/profile-refresh.js.map +1 -1
  290. package/esm/funcs/profile-update-account.d.ts +1 -1
  291. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  292. package/esm/funcs/profile-update-account.js +1 -1
  293. package/esm/funcs/profile-update-account.js.map +1 -1
  294. package/esm/funcs/sales-nav-search-people.d.ts +1 -1
  295. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -1
  296. package/esm/funcs/sales-nav-search-people.js +1 -1
  297. package/esm/funcs/sales-nav-search-people.js.map +1 -1
  298. package/esm/funcs/sales-navigator-search-search-companies.d.ts +1 -1
  299. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -1
  300. package/esm/funcs/sales-navigator-search-search-companies.js +1 -1
  301. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -1
  302. package/esm/funcs/sales-navigator-search-search.d.ts +1 -1
  303. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -1
  304. package/esm/funcs/sales-navigator-search-search.js +1 -1
  305. package/esm/funcs/sales-navigator-search-search.js.map +1 -1
  306. package/esm/funcs/scrapers-collect-posts.d.ts +1 -1
  307. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  308. package/esm/funcs/scrapers-collect-posts.js +1 -1
  309. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  310. package/esm/funcs/scrapers-visit-profile.d.ts +1 -1
  311. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  312. package/esm/funcs/scrapers-visit-profile.js +1 -1
  313. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  314. package/esm/lib/config.d.ts +3 -3
  315. package/esm/lib/config.js +3 -3
  316. package/esm/lib/files.d.ts +13 -0
  317. package/esm/lib/files.d.ts.map +1 -1
  318. package/esm/lib/files.js +18 -0
  319. package/esm/lib/files.js.map +1 -1
  320. package/esm/lib/sdks.d.ts.map +1 -1
  321. package/esm/lib/sdks.js +8 -4
  322. package/esm/lib/sdks.js.map +1 -1
  323. package/esm/lib/url.d.ts.map +1 -1
  324. package/esm/lib/url.js +4 -2
  325. package/esm/lib/url.js.map +1 -1
  326. package/esm/models/errors/collect-linked-in-likes.d.ts +45 -45
  327. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  328. package/esm/models/errors/collect-linked-in-likes.js +46 -45
  329. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  330. package/esm/models/errors/index.d.ts +0 -77
  331. package/esm/models/errors/index.d.ts.map +1 -1
  332. package/esm/models/errors/index.js +0 -77
  333. package/esm/models/errors/index.js.map +1 -1
  334. package/esm/models/operations/get-campaign-stats-response.d.ts +1550 -0
  335. package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -0
  336. package/esm/models/operations/get-campaign-stats-response.js +961 -0
  337. package/esm/models/operations/get-campaign-stats-response.js.map +1 -0
  338. package/esm/models/operations/index.d.ts +3 -78
  339. package/esm/models/operations/index.d.ts.map +1 -1
  340. package/esm/models/operations/index.js +3 -78
  341. package/esm/models/operations/index.js.map +1 -1
  342. package/esm/models/operations/scraping-weekly.d.ts +2945 -0
  343. package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
  344. package/esm/models/operations/scraping-weekly.js +1593 -0
  345. package/esm/models/operations/scraping-weekly.js.map +1 -0
  346. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts +2412 -0
  347. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
  348. package/esm/models/operations/search-linked-in-by-url-type-post.js +1577 -0
  349. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
  350. package/esm/models/operations/upsert-contacts.d.ts +25 -5
  351. package/esm/models/operations/upsert-contacts.d.ts.map +1 -1
  352. package/esm/models/operations/upsert-contacts.js +8 -2
  353. package/esm/models/operations/upsert-contacts.js.map +1 -1
  354. package/esm/sdk/actions.d.ts +1 -1
  355. package/esm/sdk/actions.js +1 -1
  356. package/esm/sdk/profile.d.ts +1 -1
  357. package/esm/sdk/profile.js +1 -1
  358. package/jsr.json +1 -1
  359. package/package.json +1 -1
  360. package/src/funcs/actions-connect-profile.ts +36 -48
  361. package/src/funcs/actions-follow-company.ts +36 -45
  362. package/src/funcs/actions-list-sent-invitations.ts +36 -60
  363. package/src/funcs/actions-send-message.ts +37 -43
  364. package/src/funcs/campaigns-filter.ts +36 -37
  365. package/src/funcs/campaigns-get-stats.ts +36 -40
  366. package/src/funcs/campaigns-get-status.ts +36 -40
  367. package/src/funcs/campaigns-sync.ts +36 -43
  368. package/src/funcs/chat-archive.ts +36 -42
  369. package/src/funcs/chat-find-conversation.ts +36 -51
  370. package/src/funcs/chat-search-conversations.ts +36 -60
  371. package/src/funcs/chat-unreact.ts +36 -39
  372. package/src/funcs/company-pages-get-analytics.ts +36 -48
  373. package/src/funcs/company-pages-get-permissions.ts +36 -54
  374. package/src/funcs/company-pages-get-posts.ts +36 -42
  375. package/src/funcs/company-pages-list.ts +36 -51
  376. package/src/funcs/linked-in-actions-create-comment.ts +36 -45
  377. package/src/funcs/linked-in-actions-decline-invitation.ts +36 -54
  378. package/src/funcs/linked-in-actions-like-comment.ts +36 -42
  379. package/src/funcs/linked-in-actions-publish-post.ts +36 -42
  380. package/src/funcs/linked-in-actions-save-post.ts +36 -39
  381. package/src/funcs/linked-in-actions-unfollow-profile.ts +36 -48
  382. package/src/funcs/linked-in-chat-list-starred.ts +36 -51
  383. package/src/funcs/linked-in-chat-mark-seen.ts +36 -45
  384. package/src/funcs/linked-in-chat-star.ts +36 -39
  385. package/src/funcs/linked-in-chat-unarchive.ts +36 -45
  386. package/src/funcs/linked-in-chat-unstar.ts +36 -39
  387. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +36 -61
  388. package/src/funcs/linked-in-scrapers-get-feed.ts +36 -39
  389. package/src/funcs/linked-in-search-resolve-parameters.ts +36 -64
  390. package/src/funcs/linked-in-search-search-companies.ts +36 -48
  391. package/src/funcs/linked-in-search-search.ts +36 -36
  392. package/src/funcs/linkedin-actions-accept-invitation.ts +36 -51
  393. package/src/funcs/linkedin-actions-edit-comment.ts +36 -42
  394. package/src/funcs/linkedin-actions-edit-post.ts +36 -39
  395. package/src/funcs/linkedin-actions-follow-profile.ts +36 -45
  396. package/src/funcs/linkedin-actions-like-post.ts +36 -39
  397. package/src/funcs/linkedin-actions-list-invitations.ts +36 -48
  398. package/src/funcs/linkedin-actions-reply-to-comment.ts +36 -48
  399. package/src/funcs/linkedin-actions-repost-post.ts +36 -39
  400. package/src/funcs/linkedin-actions-unfollow-company.ts +36 -48
  401. package/src/funcs/linkedin-actions-unlike-comment.ts +36 -45
  402. package/src/funcs/linkedin-actions-unlike-post.ts +36 -39
  403. package/src/funcs/linkedin-actions-unsave-post.ts +36 -39
  404. package/src/funcs/linkedin-actions-withdraw-invitation.ts +36 -60
  405. package/src/funcs/linkedin-chat-get-messages.ts +36 -48
  406. package/src/funcs/linkedin-chat-get-unread-count.ts +36 -36
  407. package/src/funcs/linkedin-chat-list-archived.ts +36 -54
  408. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +36 -48
  409. package/src/funcs/linkedin-chat-mark-all-read.ts +36 -51
  410. package/src/funcs/linkedin-chat-react.ts +36 -36
  411. package/src/funcs/linkedin-chat-send-typing-indicator.ts +36 -42
  412. package/src/funcs/linkedin-scrapers-collect-comments.ts +36 -48
  413. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +36 -60
  414. package/src/funcs/linkedin-scrapers-collect-likes.ts +36 -45
  415. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +36 -54
  416. package/src/funcs/linkedin-scrapers-visit-company.ts +36 -45
  417. package/src/funcs/linkedin-search-search-by-url.ts +36 -42
  418. package/src/funcs/linkedin-search-search-jobs.ts +36 -39
  419. package/src/funcs/linkedin-search-search-people.ts +36 -45
  420. package/src/funcs/linkedin-search-search-posts.ts +36 -42
  421. package/src/funcs/profile-get-credits.ts +37 -37
  422. package/src/funcs/profile-get-follower-analytics.ts +36 -60
  423. package/src/funcs/profile-get-followers.ts +36 -48
  424. package/src/funcs/profile-get-limits.ts +36 -36
  425. package/src/funcs/profile-get-post-analytics.ts +36 -51
  426. package/src/funcs/profile-get-posts.ts +36 -39
  427. package/src/funcs/profile-get-profile-views.ts +36 -48
  428. package/src/funcs/profile-get-search-appearances.ts +36 -60
  429. package/src/funcs/profile-get.ts +36 -45
  430. package/src/funcs/profile-list-accounts.ts +36 -45
  431. package/src/funcs/profile-refresh.ts +36 -51
  432. package/src/funcs/profile-update-account.ts +36 -45
  433. package/src/funcs/sales-nav-search-people.ts +36 -45
  434. package/src/funcs/sales-navigator-search-search-companies.ts +36 -48
  435. package/src/funcs/sales-navigator-search-search.ts +36 -36
  436. package/src/funcs/scrapers-collect-posts.ts +36 -45
  437. package/src/funcs/scrapers-visit-profile.ts +36 -45
  438. package/src/lib/config.ts +3 -3
  439. package/src/lib/files.ts +22 -0
  440. package/src/lib/sdks.ts +7 -5
  441. package/src/lib/url.ts +16 -14
  442. package/src/models/errors/collect-linked-in-likes.ts +128 -138
  443. package/src/models/errors/index.ts +0 -77
  444. package/src/models/operations/get-campaign-stats-response.ts +3367 -0
  445. package/src/models/operations/index.ts +3 -78
  446. package/src/models/operations/scraping-weekly.ts +5706 -0
  447. package/src/models/operations/search-linked-in-by-url-type-post.ts +4897 -0
  448. package/src/models/operations/upsert-contacts.ts +32 -6
  449. package/src/sdk/actions.ts +1 -1
  450. package/src/sdk/profile.ts +1 -1
  451. package/esm/models/errors/accept-linked-in-invitation.d.ts +0 -211
  452. package/esm/models/errors/accept-linked-in-invitation.d.ts.map +0 -1
  453. package/esm/models/errors/accept-linked-in-invitation.js +0 -308
  454. package/esm/models/errors/accept-linked-in-invitation.js.map +0 -1
  455. package/esm/models/errors/archive-conversation.d.ts +0 -211
  456. package/esm/models/errors/archive-conversation.d.ts.map +0 -1
  457. package/esm/models/errors/archive-conversation.js +0 -305
  458. package/esm/models/errors/archive-conversation.js.map +0 -1
  459. package/esm/models/errors/collect-linked-in-comment-replies.d.ts +0 -211
  460. package/esm/models/errors/collect-linked-in-comment-replies.d.ts.map +0 -1
  461. package/esm/models/errors/collect-linked-in-comment-replies.js +0 -312
  462. package/esm/models/errors/collect-linked-in-comment-replies.js.map +0 -1
  463. package/esm/models/errors/collect-linked-in-comments.d.ts +0 -211
  464. package/esm/models/errors/collect-linked-in-comments.d.ts.map +0 -1
  465. package/esm/models/errors/collect-linked-in-comments.js +0 -307
  466. package/esm/models/errors/collect-linked-in-comments.js.map +0 -1
  467. package/esm/models/errors/collect-linked-in-hashtag-posts.d.ts +0 -211
  468. package/esm/models/errors/collect-linked-in-hashtag-posts.d.ts.map +0 -1
  469. package/esm/models/errors/collect-linked-in-hashtag-posts.js +0 -310
  470. package/esm/models/errors/collect-linked-in-hashtag-posts.js.map +0 -1
  471. package/esm/models/errors/collect-linked-in-posts.d.ts +0 -211
  472. package/esm/models/errors/collect-linked-in-posts.d.ts.map +0 -1
  473. package/esm/models/errors/collect-linked-in-posts.js +0 -305
  474. package/esm/models/errors/collect-linked-in-posts.js.map +0 -1
  475. package/esm/models/errors/collect-saved-linked-in-posts.d.ts +0 -211
  476. package/esm/models/errors/collect-saved-linked-in-posts.d.ts.map +0 -1
  477. package/esm/models/errors/collect-saved-linked-in-posts.js +0 -309
  478. package/esm/models/errors/collect-saved-linked-in-posts.js.map +0 -1
  479. package/esm/models/errors/comment-on-linked-in-post.d.ts +0 -211
  480. package/esm/models/errors/comment-on-linked-in-post.d.ts.map +0 -1
  481. package/esm/models/errors/comment-on-linked-in-post.js +0 -306
  482. package/esm/models/errors/comment-on-linked-in-post.js.map +0 -1
  483. package/esm/models/errors/connect-linked-in-profile.d.ts +0 -211
  484. package/esm/models/errors/connect-linked-in-profile.d.ts.map +0 -1
  485. package/esm/models/errors/connect-linked-in-profile.js +0 -307
  486. package/esm/models/errors/connect-linked-in-profile.js.map +0 -1
  487. package/esm/models/errors/decline-linked-in-invitation.d.ts +0 -211
  488. package/esm/models/errors/decline-linked-in-invitation.d.ts.map +0 -1
  489. package/esm/models/errors/decline-linked-in-invitation.js +0 -309
  490. package/esm/models/errors/decline-linked-in-invitation.js.map +0 -1
  491. package/esm/models/errors/edit-linked-in-comment.d.ts +0 -211
  492. package/esm/models/errors/edit-linked-in-comment.d.ts.map +0 -1
  493. package/esm/models/errors/edit-linked-in-comment.js +0 -305
  494. package/esm/models/errors/edit-linked-in-comment.js.map +0 -1
  495. package/esm/models/errors/edit-linked-in-post.d.ts +0 -211
  496. package/esm/models/errors/edit-linked-in-post.d.ts.map +0 -1
  497. package/esm/models/errors/edit-linked-in-post.js +0 -305
  498. package/esm/models/errors/edit-linked-in-post.js.map +0 -1
  499. package/esm/models/errors/filter-campaign.d.ts +0 -211
  500. package/esm/models/errors/filter-campaign.d.ts.map +0 -1
  501. package/esm/models/errors/filter-campaign.js +0 -305
  502. package/esm/models/errors/filter-campaign.js.map +0 -1
  503. package/esm/models/errors/find-linked-in-conversation.d.ts +0 -211
  504. package/esm/models/errors/find-linked-in-conversation.d.ts.map +0 -1
  505. package/esm/models/errors/find-linked-in-conversation.js +0 -308
  506. package/esm/models/errors/find-linked-in-conversation.js.map +0 -1
  507. package/esm/models/errors/follow-linked-in-company.d.ts +0 -211
  508. package/esm/models/errors/follow-linked-in-company.d.ts.map +0 -1
  509. package/esm/models/errors/follow-linked-in-company.js +0 -306
  510. package/esm/models/errors/follow-linked-in-company.js.map +0 -1
  511. package/esm/models/errors/follow-linked-in-profile.d.ts +0 -211
  512. package/esm/models/errors/follow-linked-in-profile.d.ts.map +0 -1
  513. package/esm/models/errors/follow-linked-in-profile.js +0 -306
  514. package/esm/models/errors/follow-linked-in-profile.js.map +0 -1
  515. package/esm/models/errors/get-campaign-stats.d.ts +0 -211
  516. package/esm/models/errors/get-campaign-stats.d.ts.map +0 -1
  517. package/esm/models/errors/get-campaign-stats.js +0 -305
  518. package/esm/models/errors/get-campaign-stats.js.map +0 -1
  519. package/esm/models/errors/get-campaign-status.d.ts +0 -211
  520. package/esm/models/errors/get-campaign-status.d.ts.map +0 -1
  521. package/esm/models/errors/get-campaign-status.js +0 -305
  522. package/esm/models/errors/get-campaign-status.js.map +0 -1
  523. package/esm/models/errors/get-company-page-analytics.d.ts +0 -211
  524. package/esm/models/errors/get-company-page-analytics.d.ts.map +0 -1
  525. package/esm/models/errors/get-company-page-analytics.js +0 -307
  526. package/esm/models/errors/get-company-page-analytics.js.map +0 -1
  527. package/esm/models/errors/get-company-page-permissions.d.ts +0 -211
  528. package/esm/models/errors/get-company-page-permissions.d.ts.map +0 -1
  529. package/esm/models/errors/get-company-page-permissions.js +0 -309
  530. package/esm/models/errors/get-company-page-permissions.js.map +0 -1
  531. package/esm/models/errors/get-company-page-posts.d.ts +0 -211
  532. package/esm/models/errors/get-company-page-posts.d.ts.map +0 -1
  533. package/esm/models/errors/get-company-page-posts.js +0 -305
  534. package/esm/models/errors/get-company-page-posts.js.map +0 -1
  535. package/esm/models/errors/get-conversation-messages.d.ts +0 -211
  536. package/esm/models/errors/get-conversation-messages.d.ts.map +0 -1
  537. package/esm/models/errors/get-conversation-messages.js +0 -307
  538. package/esm/models/errors/get-conversation-messages.js.map +0 -1
  539. package/esm/models/errors/get-linked-in-feed.d.ts +0 -211
  540. package/esm/models/errors/get-linked-in-feed.d.ts.map +0 -1
  541. package/esm/models/errors/get-linked-in-feed.js +0 -305
  542. package/esm/models/errors/get-linked-in-feed.js.map +0 -1
  543. package/esm/models/errors/get-linked-in-follower-analytics.d.ts +0 -211
  544. package/esm/models/errors/get-linked-in-follower-analytics.d.ts.map +0 -1
  545. package/esm/models/errors/get-linked-in-follower-analytics.js +0 -311
  546. package/esm/models/errors/get-linked-in-follower-analytics.js.map +0 -1
  547. package/esm/models/errors/get-linked-in-post-analytics.d.ts +0 -211
  548. package/esm/models/errors/get-linked-in-post-analytics.d.ts.map +0 -1
  549. package/esm/models/errors/get-linked-in-post-analytics.js +0 -308
  550. package/esm/models/errors/get-linked-in-post-analytics.js.map +0 -1
  551. package/esm/models/errors/get-linked-in-profile-views.d.ts +0 -211
  552. package/esm/models/errors/get-linked-in-profile-views.d.ts.map +0 -1
  553. package/esm/models/errors/get-linked-in-profile-views.js +0 -307
  554. package/esm/models/errors/get-linked-in-profile-views.js.map +0 -1
  555. package/esm/models/errors/get-linked-in-search-appearances.d.ts +0 -211
  556. package/esm/models/errors/get-linked-in-search-appearances.d.ts.map +0 -1
  557. package/esm/models/errors/get-linked-in-search-appearances.js +0 -311
  558. package/esm/models/errors/get-linked-in-search-appearances.js.map +0 -1
  559. package/esm/models/errors/get-my-credits.d.ts +0 -211
  560. package/esm/models/errors/get-my-credits.d.ts.map +0 -1
  561. package/esm/models/errors/get-my-credits.js +0 -305
  562. package/esm/models/errors/get-my-credits.js.map +0 -1
  563. package/esm/models/errors/get-my-limits.d.ts +0 -211
  564. package/esm/models/errors/get-my-limits.d.ts.map +0 -1
  565. package/esm/models/errors/get-my-limits.js +0 -305
  566. package/esm/models/errors/get-my-limits.js.map +0 -1
  567. package/esm/models/errors/get-my-linked-in-followers.d.ts +0 -211
  568. package/esm/models/errors/get-my-linked-in-followers.d.ts.map +0 -1
  569. package/esm/models/errors/get-my-linked-in-followers.js +0 -307
  570. package/esm/models/errors/get-my-linked-in-followers.js.map +0 -1
  571. package/esm/models/errors/get-my-linked-in-posts.d.ts +0 -211
  572. package/esm/models/errors/get-my-linked-in-posts.d.ts.map +0 -1
  573. package/esm/models/errors/get-my-linked-in-posts.js +0 -305
  574. package/esm/models/errors/get-my-linked-in-posts.js.map +0 -1
  575. package/esm/models/errors/get-my-linked-in-profile.d.ts +0 -211
  576. package/esm/models/errors/get-my-linked-in-profile.d.ts.map +0 -1
  577. package/esm/models/errors/get-my-linked-in-profile.js +0 -305
  578. package/esm/models/errors/get-my-linked-in-profile.js.map +0 -1
  579. package/esm/models/errors/get-unread-count.d.ts +0 -211
  580. package/esm/models/errors/get-unread-count.d.ts.map +0 -1
  581. package/esm/models/errors/get-unread-count.js +0 -305
  582. package/esm/models/errors/get-unread-count.js.map +0 -1
  583. package/esm/models/errors/like-linked-in-comment.d.ts +0 -211
  584. package/esm/models/errors/like-linked-in-comment.d.ts.map +0 -1
  585. package/esm/models/errors/like-linked-in-comment.js +0 -305
  586. package/esm/models/errors/like-linked-in-comment.js.map +0 -1
  587. package/esm/models/errors/like-linked-in-post.d.ts +0 -211
  588. package/esm/models/errors/like-linked-in-post.d.ts.map +0 -1
  589. package/esm/models/errors/like-linked-in-post.js +0 -305
  590. package/esm/models/errors/like-linked-in-post.js.map +0 -1
  591. package/esm/models/errors/list-archived-conversations.d.ts +0 -211
  592. package/esm/models/errors/list-archived-conversations.d.ts.map +0 -1
  593. package/esm/models/errors/list-archived-conversations.js +0 -309
  594. package/esm/models/errors/list-archived-conversations.js.map +0 -1
  595. package/esm/models/errors/list-inbox-conversations.d.ts +0 -211
  596. package/esm/models/errors/list-inbox-conversations.d.ts.map +0 -1
  597. package/esm/models/errors/list-inbox-conversations.js +0 -307
  598. package/esm/models/errors/list-inbox-conversations.js.map +0 -1
  599. package/esm/models/errors/list-linked-in-accounts.d.ts +0 -211
  600. package/esm/models/errors/list-linked-in-accounts.d.ts.map +0 -1
  601. package/esm/models/errors/list-linked-in-accounts.js +0 -305
  602. package/esm/models/errors/list-linked-in-accounts.js.map +0 -1
  603. package/esm/models/errors/list-linked-in-company-pages.d.ts +0 -211
  604. package/esm/models/errors/list-linked-in-company-pages.d.ts.map +0 -1
  605. package/esm/models/errors/list-linked-in-company-pages.js +0 -308
  606. package/esm/models/errors/list-linked-in-company-pages.js.map +0 -1
  607. package/esm/models/errors/list-linked-in-invitations.d.ts +0 -211
  608. package/esm/models/errors/list-linked-in-invitations.d.ts.map +0 -1
  609. package/esm/models/errors/list-linked-in-invitations.js +0 -307
  610. package/esm/models/errors/list-linked-in-invitations.js.map +0 -1
  611. package/esm/models/errors/list-sent-linked-in-invitations.d.ts +0 -211
  612. package/esm/models/errors/list-sent-linked-in-invitations.d.ts.map +0 -1
  613. package/esm/models/errors/list-sent-linked-in-invitations.js +0 -310
  614. package/esm/models/errors/list-sent-linked-in-invitations.js.map +0 -1
  615. package/esm/models/errors/list-starred-conversations.d.ts +0 -211
  616. package/esm/models/errors/list-starred-conversations.d.ts.map +0 -1
  617. package/esm/models/errors/list-starred-conversations.js +0 -308
  618. package/esm/models/errors/list-starred-conversations.js.map +0 -1
  619. package/esm/models/errors/mark-all-conversations-read.d.ts +0 -211
  620. package/esm/models/errors/mark-all-conversations-read.d.ts.map +0 -1
  621. package/esm/models/errors/mark-all-conversations-read.js +0 -308
  622. package/esm/models/errors/mark-all-conversations-read.js.map +0 -1
  623. package/esm/models/errors/mark-conversation-seen.d.ts +0 -211
  624. package/esm/models/errors/mark-conversation-seen.d.ts.map +0 -1
  625. package/esm/models/errors/mark-conversation-seen.js +0 -305
  626. package/esm/models/errors/mark-conversation-seen.js.map +0 -1
  627. package/esm/models/errors/publish-linked-in-post.d.ts +0 -211
  628. package/esm/models/errors/publish-linked-in-post.d.ts.map +0 -1
  629. package/esm/models/errors/publish-linked-in-post.js +0 -305
  630. package/esm/models/errors/publish-linked-in-post.js.map +0 -1
  631. package/esm/models/errors/react-to-message.d.ts +0 -211
  632. package/esm/models/errors/react-to-message.d.ts.map +0 -1
  633. package/esm/models/errors/react-to-message.js +0 -305
  634. package/esm/models/errors/react-to-message.js.map +0 -1
  635. package/esm/models/errors/refresh-my-linked-in-profile.d.ts +0 -211
  636. package/esm/models/errors/refresh-my-linked-in-profile.d.ts.map +0 -1
  637. package/esm/models/errors/refresh-my-linked-in-profile.js +0 -308
  638. package/esm/models/errors/refresh-my-linked-in-profile.js.map +0 -1
  639. package/esm/models/errors/reply-to-linked-in-comment.d.ts +0 -211
  640. package/esm/models/errors/reply-to-linked-in-comment.d.ts.map +0 -1
  641. package/esm/models/errors/reply-to-linked-in-comment.js +0 -307
  642. package/esm/models/errors/reply-to-linked-in-comment.js.map +0 -1
  643. package/esm/models/errors/repost-linked-in-post.d.ts +0 -211
  644. package/esm/models/errors/repost-linked-in-post.d.ts.map +0 -1
  645. package/esm/models/errors/repost-linked-in-post.js +0 -305
  646. package/esm/models/errors/repost-linked-in-post.js.map +0 -1
  647. package/esm/models/errors/resolve-linked-in-search-parameters.d.ts +0 -211
  648. package/esm/models/errors/resolve-linked-in-search-parameters.d.ts.map +0 -1
  649. package/esm/models/errors/resolve-linked-in-search-parameters.js +0 -314
  650. package/esm/models/errors/resolve-linked-in-search-parameters.js.map +0 -1
  651. package/esm/models/errors/save-linked-in-post.d.ts +0 -211
  652. package/esm/models/errors/save-linked-in-post.d.ts.map +0 -1
  653. package/esm/models/errors/save-linked-in-post.js +0 -305
  654. package/esm/models/errors/save-linked-in-post.js.map +0 -1
  655. package/esm/models/errors/search-linked-in-by-url.d.ts +0 -211
  656. package/esm/models/errors/search-linked-in-by-url.d.ts.map +0 -1
  657. package/esm/models/errors/search-linked-in-by-url.js +0 -305
  658. package/esm/models/errors/search-linked-in-by-url.js.map +0 -1
  659. package/esm/models/errors/search-linked-in-companies.d.ts +0 -211
  660. package/esm/models/errors/search-linked-in-companies.d.ts.map +0 -1
  661. package/esm/models/errors/search-linked-in-companies.js +0 -307
  662. package/esm/models/errors/search-linked-in-companies.js.map +0 -1
  663. package/esm/models/errors/search-linked-in-conversations.d.ts +0 -211
  664. package/esm/models/errors/search-linked-in-conversations.d.ts.map +0 -1
  665. package/esm/models/errors/search-linked-in-conversations.js +0 -310
  666. package/esm/models/errors/search-linked-in-conversations.js.map +0 -1
  667. package/esm/models/errors/search-linked-in-jobs.d.ts +0 -211
  668. package/esm/models/errors/search-linked-in-jobs.d.ts.map +0 -1
  669. package/esm/models/errors/search-linked-in-jobs.js +0 -305
  670. package/esm/models/errors/search-linked-in-jobs.js.map +0 -1
  671. package/esm/models/errors/search-linked-in-people.d.ts +0 -211
  672. package/esm/models/errors/search-linked-in-people.d.ts.map +0 -1
  673. package/esm/models/errors/search-linked-in-people.js +0 -305
  674. package/esm/models/errors/search-linked-in-people.js.map +0 -1
  675. package/esm/models/errors/search-linked-in-posts.d.ts +0 -211
  676. package/esm/models/errors/search-linked-in-posts.d.ts.map +0 -1
  677. package/esm/models/errors/search-linked-in-posts.js +0 -305
  678. package/esm/models/errors/search-linked-in-posts.js.map +0 -1
  679. package/esm/models/errors/search-linked-in.d.ts +0 -211
  680. package/esm/models/errors/search-linked-in.d.ts.map +0 -1
  681. package/esm/models/errors/search-linked-in.js +0 -305
  682. package/esm/models/errors/search-linked-in.js.map +0 -1
  683. package/esm/models/errors/search-sales-nav-companies.d.ts +0 -211
  684. package/esm/models/errors/search-sales-nav-companies.d.ts.map +0 -1
  685. package/esm/models/errors/search-sales-nav-companies.js +0 -307
  686. package/esm/models/errors/search-sales-nav-companies.js.map +0 -1
  687. package/esm/models/errors/search-sales-nav-people.d.ts +0 -211
  688. package/esm/models/errors/search-sales-nav-people.d.ts.map +0 -1
  689. package/esm/models/errors/search-sales-nav-people.js +0 -305
  690. package/esm/models/errors/search-sales-nav-people.js.map +0 -1
  691. package/esm/models/errors/search-sales-nav.d.ts +0 -211
  692. package/esm/models/errors/search-sales-nav.d.ts.map +0 -1
  693. package/esm/models/errors/search-sales-nav.js +0 -305
  694. package/esm/models/errors/search-sales-nav.js.map +0 -1
  695. package/esm/models/errors/send-linked-in-message.d.ts +0 -211
  696. package/esm/models/errors/send-linked-in-message.d.ts.map +0 -1
  697. package/esm/models/errors/send-linked-in-message.js +0 -305
  698. package/esm/models/errors/send-linked-in-message.js.map +0 -1
  699. package/esm/models/errors/send-typing-indicator.d.ts +0 -211
  700. package/esm/models/errors/send-typing-indicator.d.ts.map +0 -1
  701. package/esm/models/errors/send-typing-indicator.js +0 -305
  702. package/esm/models/errors/send-typing-indicator.js.map +0 -1
  703. package/esm/models/errors/star-conversation.d.ts +0 -211
  704. package/esm/models/errors/star-conversation.d.ts.map +0 -1
  705. package/esm/models/errors/star-conversation.js +0 -305
  706. package/esm/models/errors/star-conversation.js.map +0 -1
  707. package/esm/models/errors/sync-campaign-actions.d.ts +0 -211
  708. package/esm/models/errors/sync-campaign-actions.d.ts.map +0 -1
  709. package/esm/models/errors/sync-campaign-actions.js +0 -305
  710. package/esm/models/errors/sync-campaign-actions.js.map +0 -1
  711. package/esm/models/errors/unarchive-conversation.d.ts +0 -211
  712. package/esm/models/errors/unarchive-conversation.d.ts.map +0 -1
  713. package/esm/models/errors/unarchive-conversation.js +0 -306
  714. package/esm/models/errors/unarchive-conversation.js.map +0 -1
  715. package/esm/models/errors/unfollow-linked-in-company.d.ts +0 -211
  716. package/esm/models/errors/unfollow-linked-in-company.d.ts.map +0 -1
  717. package/esm/models/errors/unfollow-linked-in-company.js +0 -307
  718. package/esm/models/errors/unfollow-linked-in-company.js.map +0 -1
  719. package/esm/models/errors/unfollow-linked-in-profile.d.ts +0 -211
  720. package/esm/models/errors/unfollow-linked-in-profile.d.ts.map +0 -1
  721. package/esm/models/errors/unfollow-linked-in-profile.js +0 -307
  722. package/esm/models/errors/unfollow-linked-in-profile.js.map +0 -1
  723. package/esm/models/errors/unlike-linked-in-comment.d.ts +0 -211
  724. package/esm/models/errors/unlike-linked-in-comment.d.ts.map +0 -1
  725. package/esm/models/errors/unlike-linked-in-comment.js +0 -306
  726. package/esm/models/errors/unlike-linked-in-comment.js.map +0 -1
  727. package/esm/models/errors/unlike-linked-in-post.d.ts +0 -211
  728. package/esm/models/errors/unlike-linked-in-post.d.ts.map +0 -1
  729. package/esm/models/errors/unlike-linked-in-post.js +0 -305
  730. package/esm/models/errors/unlike-linked-in-post.js.map +0 -1
  731. package/esm/models/errors/unreact-to-message.d.ts +0 -211
  732. package/esm/models/errors/unreact-to-message.d.ts.map +0 -1
  733. package/esm/models/errors/unreact-to-message.js +0 -305
  734. package/esm/models/errors/unreact-to-message.js.map +0 -1
  735. package/esm/models/errors/unsave-linked-in-post.d.ts +0 -211
  736. package/esm/models/errors/unsave-linked-in-post.d.ts.map +0 -1
  737. package/esm/models/errors/unsave-linked-in-post.js +0 -305
  738. package/esm/models/errors/unsave-linked-in-post.js.map +0 -1
  739. package/esm/models/errors/unstar-conversation.d.ts +0 -211
  740. package/esm/models/errors/unstar-conversation.d.ts.map +0 -1
  741. package/esm/models/errors/unstar-conversation.js +0 -305
  742. package/esm/models/errors/unstar-conversation.js.map +0 -1
  743. package/esm/models/errors/update-linked-in-account.d.ts +0 -211
  744. package/esm/models/errors/update-linked-in-account.d.ts.map +0 -1
  745. package/esm/models/errors/update-linked-in-account.js +0 -306
  746. package/esm/models/errors/update-linked-in-account.js.map +0 -1
  747. package/esm/models/errors/visit-linked-in-company.d.ts +0 -211
  748. package/esm/models/errors/visit-linked-in-company.d.ts.map +0 -1
  749. package/esm/models/errors/visit-linked-in-company.js +0 -305
  750. package/esm/models/errors/visit-linked-in-company.js.map +0 -1
  751. package/esm/models/errors/visit-linked-in-profile.d.ts +0 -211
  752. package/esm/models/errors/visit-linked-in-profile.d.ts.map +0 -1
  753. package/esm/models/errors/visit-linked-in-profile.js +0 -305
  754. package/esm/models/errors/visit-linked-in-profile.js.map +0 -1
  755. package/esm/models/errors/withdraw-linked-in-invitation.d.ts +0 -211
  756. package/esm/models/errors/withdraw-linked-in-invitation.d.ts.map +0 -1
  757. package/esm/models/errors/withdraw-linked-in-invitation.js +0 -311
  758. package/esm/models/errors/withdraw-linked-in-invitation.js.map +0 -1
  759. package/esm/models/operations/accept-linked-in-invitation.d.ts +0 -206
  760. package/esm/models/operations/accept-linked-in-invitation.d.ts.map +0 -1
  761. package/esm/models/operations/accept-linked-in-invitation.js +0 -191
  762. package/esm/models/operations/accept-linked-in-invitation.js.map +0 -1
  763. package/esm/models/operations/archive-conversation.d.ts +0 -185
  764. package/esm/models/operations/archive-conversation.d.ts.map +0 -1
  765. package/esm/models/operations/archive-conversation.js +0 -182
  766. package/esm/models/operations/archive-conversation.js.map +0 -1
  767. package/esm/models/operations/collect-linked-in-comment-replies.d.ts +0 -270
  768. package/esm/models/operations/collect-linked-in-comment-replies.d.ts.map +0 -1
  769. package/esm/models/operations/collect-linked-in-comment-replies.js +0 -232
  770. package/esm/models/operations/collect-linked-in-comment-replies.js.map +0 -1
  771. package/esm/models/operations/collect-linked-in-comments.d.ts +0 -282
  772. package/esm/models/operations/collect-linked-in-comments.d.ts.map +0 -1
  773. package/esm/models/operations/collect-linked-in-comments.js +0 -239
  774. package/esm/models/operations/collect-linked-in-comments.js.map +0 -1
  775. package/esm/models/operations/collect-linked-in-hashtag-posts.d.ts +0 -196
  776. package/esm/models/operations/collect-linked-in-hashtag-posts.d.ts.map +0 -1
  777. package/esm/models/operations/collect-linked-in-hashtag-posts.js +0 -185
  778. package/esm/models/operations/collect-linked-in-hashtag-posts.js.map +0 -1
  779. package/esm/models/operations/collect-linked-in-likes.d.ts +0 -220
  780. package/esm/models/operations/collect-linked-in-likes.d.ts.map +0 -1
  781. package/esm/models/operations/collect-linked-in-likes.js +0 -206
  782. package/esm/models/operations/collect-linked-in-likes.js.map +0 -1
  783. package/esm/models/operations/collect-linked-in-posts.d.ts +0 -232
  784. package/esm/models/operations/collect-linked-in-posts.d.ts.map +0 -1
  785. package/esm/models/operations/collect-linked-in-posts.js +0 -215
  786. package/esm/models/operations/collect-linked-in-posts.js.map +0 -1
  787. package/esm/models/operations/collect-saved-linked-in-posts.d.ts +0 -192
  788. package/esm/models/operations/collect-saved-linked-in-posts.d.ts.map +0 -1
  789. package/esm/models/operations/collect-saved-linked-in-posts.js +0 -183
  790. package/esm/models/operations/collect-saved-linked-in-posts.js.map +0 -1
  791. package/esm/models/operations/comment-on-linked-in-post.d.ts +0 -215
  792. package/esm/models/operations/comment-on-linked-in-post.d.ts.map +0 -1
  793. package/esm/models/operations/comment-on-linked-in-post.js +0 -188
  794. package/esm/models/operations/comment-on-linked-in-post.js.map +0 -1
  795. package/esm/models/operations/connect-linked-in-profile.d.ts +0 -202
  796. package/esm/models/operations/connect-linked-in-profile.d.ts.map +0 -1
  797. package/esm/models/operations/connect-linked-in-profile.js +0 -189
  798. package/esm/models/operations/connect-linked-in-profile.js.map +0 -1
  799. package/esm/models/operations/decline-linked-in-invitation.d.ts +0 -196
  800. package/esm/models/operations/decline-linked-in-invitation.d.ts.map +0 -1
  801. package/esm/models/operations/decline-linked-in-invitation.js +0 -183
  802. package/esm/models/operations/decline-linked-in-invitation.js.map +0 -1
  803. package/esm/models/operations/edit-linked-in-comment.d.ts +0 -195
  804. package/esm/models/operations/edit-linked-in-comment.d.ts.map +0 -1
  805. package/esm/models/operations/edit-linked-in-comment.js +0 -184
  806. package/esm/models/operations/edit-linked-in-comment.js.map +0 -1
  807. package/esm/models/operations/edit-linked-in-post.d.ts +0 -190
  808. package/esm/models/operations/edit-linked-in-post.d.ts.map +0 -1
  809. package/esm/models/operations/edit-linked-in-post.js +0 -178
  810. package/esm/models/operations/edit-linked-in-post.js.map +0 -1
  811. package/esm/models/operations/filter-campaign.d.ts +0 -204
  812. package/esm/models/operations/filter-campaign.d.ts.map +0 -1
  813. package/esm/models/operations/filter-campaign.js +0 -188
  814. package/esm/models/operations/filter-campaign.js.map +0 -1
  815. package/esm/models/operations/find-linked-in-conversation.d.ts +0 -251
  816. package/esm/models/operations/find-linked-in-conversation.d.ts.map +0 -1
  817. package/esm/models/operations/find-linked-in-conversation.js +0 -246
  818. package/esm/models/operations/find-linked-in-conversation.js.map +0 -1
  819. package/esm/models/operations/follow-linked-in-company.d.ts +0 -185
  820. package/esm/models/operations/follow-linked-in-company.d.ts.map +0 -1
  821. package/esm/models/operations/follow-linked-in-company.js +0 -182
  822. package/esm/models/operations/follow-linked-in-company.js.map +0 -1
  823. package/esm/models/operations/follow-linked-in-profile.d.ts +0 -186
  824. package/esm/models/operations/follow-linked-in-profile.d.ts.map +0 -1
  825. package/esm/models/operations/follow-linked-in-profile.js +0 -183
  826. package/esm/models/operations/follow-linked-in-profile.js.map +0 -1
  827. package/esm/models/operations/get-campaign-stats.d.ts +0 -203
  828. package/esm/models/operations/get-campaign-stats.d.ts.map +0 -1
  829. package/esm/models/operations/get-campaign-stats.js +0 -185
  830. package/esm/models/operations/get-campaign-stats.js.map +0 -1
  831. package/esm/models/operations/get-campaign-status.d.ts +0 -212
  832. package/esm/models/operations/get-campaign-status.d.ts.map +0 -1
  833. package/esm/models/operations/get-campaign-status.js +0 -198
  834. package/esm/models/operations/get-campaign-status.js.map +0 -1
  835. package/esm/models/operations/get-company-page-analytics.d.ts +0 -222
  836. package/esm/models/operations/get-company-page-analytics.d.ts.map +0 -1
  837. package/esm/models/operations/get-company-page-analytics.js +0 -230
  838. package/esm/models/operations/get-company-page-analytics.js.map +0 -1
  839. package/esm/models/operations/get-company-page-permissions.d.ts +0 -284
  840. package/esm/models/operations/get-company-page-permissions.d.ts.map +0 -1
  841. package/esm/models/operations/get-company-page-permissions.js +0 -212
  842. package/esm/models/operations/get-company-page-permissions.js.map +0 -1
  843. package/esm/models/operations/get-company-page-posts.d.ts +0 -229
  844. package/esm/models/operations/get-company-page-posts.d.ts.map +0 -1
  845. package/esm/models/operations/get-company-page-posts.js +0 -198
  846. package/esm/models/operations/get-company-page-posts.js.map +0 -1
  847. package/esm/models/operations/get-conversation-messages.d.ts +0 -241
  848. package/esm/models/operations/get-conversation-messages.d.ts.map +0 -1
  849. package/esm/models/operations/get-conversation-messages.js +0 -241
  850. package/esm/models/operations/get-conversation-messages.js.map +0 -1
  851. package/esm/models/operations/get-linked-in-feed.d.ts +0 -204
  852. package/esm/models/operations/get-linked-in-feed.d.ts.map +0 -1
  853. package/esm/models/operations/get-linked-in-feed.js +0 -188
  854. package/esm/models/operations/get-linked-in-feed.js.map +0 -1
  855. package/esm/models/operations/get-linked-in-follower-analytics.d.ts +0 -179
  856. package/esm/models/operations/get-linked-in-follower-analytics.d.ts.map +0 -1
  857. package/esm/models/operations/get-linked-in-follower-analytics.js +0 -184
  858. package/esm/models/operations/get-linked-in-follower-analytics.js.map +0 -1
  859. package/esm/models/operations/get-linked-in-post-analytics.d.ts +0 -186
  860. package/esm/models/operations/get-linked-in-post-analytics.d.ts.map +0 -1
  861. package/esm/models/operations/get-linked-in-post-analytics.js +0 -187
  862. package/esm/models/operations/get-linked-in-post-analytics.js.map +0 -1
  863. package/esm/models/operations/get-linked-in-profile-views.d.ts +0 -180
  864. package/esm/models/operations/get-linked-in-profile-views.d.ts.map +0 -1
  865. package/esm/models/operations/get-linked-in-profile-views.js +0 -189
  866. package/esm/models/operations/get-linked-in-profile-views.js.map +0 -1
  867. package/esm/models/operations/get-linked-in-search-appearances.d.ts +0 -179
  868. package/esm/models/operations/get-linked-in-search-appearances.d.ts.map +0 -1
  869. package/esm/models/operations/get-linked-in-search-appearances.js +0 -184
  870. package/esm/models/operations/get-linked-in-search-appearances.js.map +0 -1
  871. package/esm/models/operations/get-my-credits.d.ts +0 -194
  872. package/esm/models/operations/get-my-credits.d.ts.map +0 -1
  873. package/esm/models/operations/get-my-credits.js +0 -187
  874. package/esm/models/operations/get-my-credits.js.map +0 -1
  875. package/esm/models/operations/get-my-limits.d.ts +0 -470
  876. package/esm/models/operations/get-my-limits.d.ts.map +0 -1
  877. package/esm/models/operations/get-my-limits.js +0 -305
  878. package/esm/models/operations/get-my-limits.js.map +0 -1
  879. package/esm/models/operations/get-my-linked-in-followers.d.ts +0 -212
  880. package/esm/models/operations/get-my-linked-in-followers.d.ts.map +0 -1
  881. package/esm/models/operations/get-my-linked-in-followers.js +0 -204
  882. package/esm/models/operations/get-my-linked-in-followers.js.map +0 -1
  883. package/esm/models/operations/get-my-linked-in-posts.d.ts +0 -223
  884. package/esm/models/operations/get-my-linked-in-posts.d.ts.map +0 -1
  885. package/esm/models/operations/get-my-linked-in-posts.js +0 -208
  886. package/esm/models/operations/get-my-linked-in-posts.js.map +0 -1
  887. package/esm/models/operations/get-my-linked-in-profile.d.ts +0 -308
  888. package/esm/models/operations/get-my-linked-in-profile.d.ts.map +0 -1
  889. package/esm/models/operations/get-my-linked-in-profile.js +0 -277
  890. package/esm/models/operations/get-my-linked-in-profile.js.map +0 -1
  891. package/esm/models/operations/get-unread-count.d.ts +0 -182
  892. package/esm/models/operations/get-unread-count.d.ts.map +0 -1
  893. package/esm/models/operations/get-unread-count.js +0 -176
  894. package/esm/models/operations/get-unread-count.js.map +0 -1
  895. package/esm/models/operations/like-linked-in-comment.d.ts +0 -227
  896. package/esm/models/operations/like-linked-in-comment.d.ts.map +0 -1
  897. package/esm/models/operations/like-linked-in-comment.js +0 -200
  898. package/esm/models/operations/like-linked-in-comment.js.map +0 -1
  899. package/esm/models/operations/like-linked-in-post.d.ts +0 -232
  900. package/esm/models/operations/like-linked-in-post.d.ts.map +0 -1
  901. package/esm/models/operations/like-linked-in-post.js +0 -196
  902. package/esm/models/operations/like-linked-in-post.js.map +0 -1
  903. package/esm/models/operations/list-archived-conversations.d.ts +0 -223
  904. package/esm/models/operations/list-archived-conversations.d.ts.map +0 -1
  905. package/esm/models/operations/list-archived-conversations.js +0 -218
  906. package/esm/models/operations/list-archived-conversations.js.map +0 -1
  907. package/esm/models/operations/list-inbox-conversations.d.ts +0 -223
  908. package/esm/models/operations/list-inbox-conversations.d.ts.map +0 -1
  909. package/esm/models/operations/list-inbox-conversations.js +0 -223
  910. package/esm/models/operations/list-inbox-conversations.js.map +0 -1
  911. package/esm/models/operations/list-linked-in-accounts.d.ts +0 -189
  912. package/esm/models/operations/list-linked-in-accounts.d.ts.map +0 -1
  913. package/esm/models/operations/list-linked-in-accounts.js +0 -196
  914. package/esm/models/operations/list-linked-in-accounts.js.map +0 -1
  915. package/esm/models/operations/list-linked-in-company-pages.d.ts +0 -197
  916. package/esm/models/operations/list-linked-in-company-pages.d.ts.map +0 -1
  917. package/esm/models/operations/list-linked-in-company-pages.js +0 -196
  918. package/esm/models/operations/list-linked-in-company-pages.js.map +0 -1
  919. package/esm/models/operations/list-linked-in-invitations.d.ts +0 -250
  920. package/esm/models/operations/list-linked-in-invitations.d.ts.map +0 -1
  921. package/esm/models/operations/list-linked-in-invitations.js +0 -221
  922. package/esm/models/operations/list-linked-in-invitations.js.map +0 -1
  923. package/esm/models/operations/list-sent-linked-in-invitations.d.ts +0 -192
  924. package/esm/models/operations/list-sent-linked-in-invitations.d.ts.map +0 -1
  925. package/esm/models/operations/list-sent-linked-in-invitations.js +0 -185
  926. package/esm/models/operations/list-sent-linked-in-invitations.js.map +0 -1
  927. package/esm/models/operations/list-starred-conversations.d.ts +0 -223
  928. package/esm/models/operations/list-starred-conversations.d.ts.map +0 -1
  929. package/esm/models/operations/list-starred-conversations.js +0 -224
  930. package/esm/models/operations/list-starred-conversations.js.map +0 -1
  931. package/esm/models/operations/mark-all-conversations-read.d.ts +0 -178
  932. package/esm/models/operations/mark-all-conversations-read.d.ts.map +0 -1
  933. package/esm/models/operations/mark-all-conversations-read.js +0 -184
  934. package/esm/models/operations/mark-all-conversations-read.js.map +0 -1
  935. package/esm/models/operations/mark-conversation-seen.d.ts +0 -185
  936. package/esm/models/operations/mark-conversation-seen.d.ts.map +0 -1
  937. package/esm/models/operations/mark-conversation-seen.js +0 -182
  938. package/esm/models/operations/mark-conversation-seen.js.map +0 -1
  939. package/esm/models/operations/publish-linked-in-post.d.ts +0 -298
  940. package/esm/models/operations/publish-linked-in-post.d.ts.map +0 -1
  941. package/esm/models/operations/publish-linked-in-post.js +0 -223
  942. package/esm/models/operations/publish-linked-in-post.js.map +0 -1
  943. package/esm/models/operations/react-to-message.d.ts +0 -195
  944. package/esm/models/operations/react-to-message.d.ts.map +0 -1
  945. package/esm/models/operations/react-to-message.js +0 -179
  946. package/esm/models/operations/react-to-message.js.map +0 -1
  947. package/esm/models/operations/refresh-my-linked-in-profile.d.ts +0 -309
  948. package/esm/models/operations/refresh-my-linked-in-profile.d.ts.map +0 -1
  949. package/esm/models/operations/refresh-my-linked-in-profile.js +0 -282
  950. package/esm/models/operations/refresh-my-linked-in-profile.js.map +0 -1
  951. package/esm/models/operations/reply-to-linked-in-comment.d.ts +0 -210
  952. package/esm/models/operations/reply-to-linked-in-comment.d.ts.map +0 -1
  953. package/esm/models/operations/reply-to-linked-in-comment.js +0 -190
  954. package/esm/models/operations/reply-to-linked-in-comment.js.map +0 -1
  955. package/esm/models/operations/repost-linked-in-post.d.ts +0 -197
  956. package/esm/models/operations/repost-linked-in-post.d.ts.map +0 -1
  957. package/esm/models/operations/repost-linked-in-post.js +0 -181
  958. package/esm/models/operations/repost-linked-in-post.js.map +0 -1
  959. package/esm/models/operations/resolve-linked-in-search-parameters.d.ts +0 -222
  960. package/esm/models/operations/resolve-linked-in-search-parameters.d.ts.map +0 -1
  961. package/esm/models/operations/resolve-linked-in-search-parameters.js +0 -212
  962. package/esm/models/operations/resolve-linked-in-search-parameters.js.map +0 -1
  963. package/esm/models/operations/save-linked-in-post.d.ts +0 -185
  964. package/esm/models/operations/save-linked-in-post.d.ts.map +0 -1
  965. package/esm/models/operations/save-linked-in-post.js +0 -177
  966. package/esm/models/operations/save-linked-in-post.js.map +0 -1
  967. package/esm/models/operations/search-linked-in-by-url.d.ts +0 -326
  968. package/esm/models/operations/search-linked-in-by-url.d.ts.map +0 -1
  969. package/esm/models/operations/search-linked-in-by-url.js +0 -328
  970. package/esm/models/operations/search-linked-in-by-url.js.map +0 -1
  971. package/esm/models/operations/search-linked-in-companies.d.ts +0 -265
  972. package/esm/models/operations/search-linked-in-companies.d.ts.map +0 -1
  973. package/esm/models/operations/search-linked-in-companies.js +0 -244
  974. package/esm/models/operations/search-linked-in-companies.js.map +0 -1
  975. package/esm/models/operations/search-linked-in-conversations.d.ts +0 -228
  976. package/esm/models/operations/search-linked-in-conversations.d.ts.map +0 -1
  977. package/esm/models/operations/search-linked-in-conversations.js +0 -221
  978. package/esm/models/operations/search-linked-in-conversations.js.map +0 -1
  979. package/esm/models/operations/search-linked-in-jobs.d.ts +0 -327
  980. package/esm/models/operations/search-linked-in-jobs.d.ts.map +0 -1
  981. package/esm/models/operations/search-linked-in-jobs.js +0 -272
  982. package/esm/models/operations/search-linked-in-jobs.js.map +0 -1
  983. package/esm/models/operations/search-linked-in-people.d.ts +0 -316
  984. package/esm/models/operations/search-linked-in-people.d.ts.map +0 -1
  985. package/esm/models/operations/search-linked-in-people.js +0 -257
  986. package/esm/models/operations/search-linked-in-people.js.map +0 -1
  987. package/esm/models/operations/search-linked-in-posts.d.ts +0 -316
  988. package/esm/models/operations/search-linked-in-posts.d.ts.map +0 -1
  989. package/esm/models/operations/search-linked-in-posts.js +0 -270
  990. package/esm/models/operations/search-linked-in-posts.js.map +0 -1
  991. package/esm/models/operations/search-linked-in.d.ts +0 -545
  992. package/esm/models/operations/search-linked-in.d.ts.map +0 -1
  993. package/esm/models/operations/search-linked-in.js +0 -433
  994. package/esm/models/operations/search-linked-in.js.map +0 -1
  995. package/esm/models/operations/search-sales-nav-companies.d.ts +0 -310
  996. package/esm/models/operations/search-sales-nav-companies.d.ts.map +0 -1
  997. package/esm/models/operations/search-sales-nav-companies.js +0 -252
  998. package/esm/models/operations/search-sales-nav-companies.js.map +0 -1
  999. package/esm/models/operations/search-sales-nav-people.d.ts +0 -429
  1000. package/esm/models/operations/search-sales-nav-people.d.ts.map +0 -1
  1001. package/esm/models/operations/search-sales-nav-people.js +0 -314
  1002. package/esm/models/operations/search-sales-nav-people.js.map +0 -1
  1003. package/esm/models/operations/search-sales-nav.d.ts +0 -497
  1004. package/esm/models/operations/search-sales-nav.d.ts.map +0 -1
  1005. package/esm/models/operations/search-sales-nav.js +0 -358
  1006. package/esm/models/operations/search-sales-nav.js.map +0 -1
  1007. package/esm/models/operations/send-linked-in-message.d.ts +0 -212
  1008. package/esm/models/operations/send-linked-in-message.d.ts.map +0 -1
  1009. package/esm/models/operations/send-linked-in-message.js +0 -188
  1010. package/esm/models/operations/send-linked-in-message.js.map +0 -1
  1011. package/esm/models/operations/send-typing-indicator.d.ts +0 -185
  1012. package/esm/models/operations/send-typing-indicator.d.ts.map +0 -1
  1013. package/esm/models/operations/send-typing-indicator.js +0 -182
  1014. package/esm/models/operations/send-typing-indicator.js.map +0 -1
  1015. package/esm/models/operations/star-conversation.d.ts +0 -185
  1016. package/esm/models/operations/star-conversation.d.ts.map +0 -1
  1017. package/esm/models/operations/star-conversation.js +0 -177
  1018. package/esm/models/operations/star-conversation.js.map +0 -1
  1019. package/esm/models/operations/sync-campaign-actions.d.ts +0 -238
  1020. package/esm/models/operations/sync-campaign-actions.d.ts.map +0 -1
  1021. package/esm/models/operations/sync-campaign-actions.js +0 -216
  1022. package/esm/models/operations/sync-campaign-actions.js.map +0 -1
  1023. package/esm/models/operations/unarchive-conversation.d.ts +0 -185
  1024. package/esm/models/operations/unarchive-conversation.d.ts.map +0 -1
  1025. package/esm/models/operations/unarchive-conversation.js +0 -182
  1026. package/esm/models/operations/unarchive-conversation.js.map +0 -1
  1027. package/esm/models/operations/unfollow-linked-in-company.d.ts +0 -185
  1028. package/esm/models/operations/unfollow-linked-in-company.d.ts.map +0 -1
  1029. package/esm/models/operations/unfollow-linked-in-company.js +0 -189
  1030. package/esm/models/operations/unfollow-linked-in-company.js.map +0 -1
  1031. package/esm/models/operations/unfollow-linked-in-profile.d.ts +0 -186
  1032. package/esm/models/operations/unfollow-linked-in-profile.d.ts.map +0 -1
  1033. package/esm/models/operations/unfollow-linked-in-profile.js +0 -190
  1034. package/esm/models/operations/unfollow-linked-in-profile.js.map +0 -1
  1035. package/esm/models/operations/unlike-linked-in-comment.d.ts +0 -185
  1036. package/esm/models/operations/unlike-linked-in-comment.d.ts.map +0 -1
  1037. package/esm/models/operations/unlike-linked-in-comment.js +0 -182
  1038. package/esm/models/operations/unlike-linked-in-comment.js.map +0 -1
  1039. package/esm/models/operations/unlike-linked-in-post.d.ts +0 -185
  1040. package/esm/models/operations/unlike-linked-in-post.d.ts.map +0 -1
  1041. package/esm/models/operations/unlike-linked-in-post.js +0 -177
  1042. package/esm/models/operations/unlike-linked-in-post.js.map +0 -1
  1043. package/esm/models/operations/unreact-to-message.d.ts +0 -195
  1044. package/esm/models/operations/unreact-to-message.d.ts.map +0 -1
  1045. package/esm/models/operations/unreact-to-message.js +0 -179
  1046. package/esm/models/operations/unreact-to-message.js.map +0 -1
  1047. package/esm/models/operations/unsave-linked-in-post.d.ts +0 -185
  1048. package/esm/models/operations/unsave-linked-in-post.d.ts.map +0 -1
  1049. package/esm/models/operations/unsave-linked-in-post.js +0 -177
  1050. package/esm/models/operations/unsave-linked-in-post.js.map +0 -1
  1051. package/esm/models/operations/unstar-conversation.d.ts +0 -185
  1052. package/esm/models/operations/unstar-conversation.d.ts.map +0 -1
  1053. package/esm/models/operations/unstar-conversation.js +0 -177
  1054. package/esm/models/operations/unstar-conversation.js.map +0 -1
  1055. package/esm/models/operations/update-linked-in-account.d.ts +0 -201
  1056. package/esm/models/operations/update-linked-in-account.d.ts.map +0 -1
  1057. package/esm/models/operations/update-linked-in-account.js +0 -197
  1058. package/esm/models/operations/update-linked-in-account.js.map +0 -1
  1059. package/esm/models/operations/visit-linked-in-company.d.ts +0 -310
  1060. package/esm/models/operations/visit-linked-in-company.d.ts.map +0 -1
  1061. package/esm/models/operations/visit-linked-in-company.js +0 -277
  1062. package/esm/models/operations/visit-linked-in-company.js.map +0 -1
  1063. package/esm/models/operations/visit-linked-in-profile.d.ts +0 -337
  1064. package/esm/models/operations/visit-linked-in-profile.d.ts.map +0 -1
  1065. package/esm/models/operations/visit-linked-in-profile.js +0 -293
  1066. package/esm/models/operations/visit-linked-in-profile.js.map +0 -1
  1067. package/esm/models/operations/withdraw-linked-in-invitation.d.ts +0 -186
  1068. package/esm/models/operations/withdraw-linked-in-invitation.d.ts.map +0 -1
  1069. package/esm/models/operations/withdraw-linked-in-invitation.js +0 -182
  1070. package/esm/models/operations/withdraw-linked-in-invitation.js.map +0 -1
  1071. package/src/models/errors/accept-linked-in-invitation.ts +0 -505
  1072. package/src/models/errors/archive-conversation.ts +0 -504
  1073. package/src/models/errors/collect-linked-in-comment-replies.ts +0 -512
  1074. package/src/models/errors/collect-linked-in-comments.ts +0 -506
  1075. package/src/models/errors/collect-linked-in-hashtag-posts.ts +0 -508
  1076. package/src/models/errors/collect-linked-in-posts.ts +0 -504
  1077. package/src/models/errors/collect-saved-linked-in-posts.ts +0 -504
  1078. package/src/models/errors/comment-on-linked-in-post.ts +0 -507
  1079. package/src/models/errors/connect-linked-in-profile.ts +0 -508
  1080. package/src/models/errors/decline-linked-in-invitation.ts +0 -504
  1081. package/src/models/errors/edit-linked-in-comment.ts +0 -504
  1082. package/src/models/errors/edit-linked-in-post.ts +0 -504
  1083. package/src/models/errors/filter-campaign.ts +0 -500
  1084. package/src/models/errors/find-linked-in-conversation.ts +0 -505
  1085. package/src/models/errors/follow-linked-in-company.ts +0 -507
  1086. package/src/models/errors/follow-linked-in-profile.ts +0 -507
  1087. package/src/models/errors/get-campaign-stats.ts +0 -504
  1088. package/src/models/errors/get-campaign-status.ts +0 -508
  1089. package/src/models/errors/get-company-page-analytics.ts +0 -506
  1090. package/src/models/errors/get-company-page-permissions.ts +0 -504
  1091. package/src/models/errors/get-company-page-posts.ts +0 -504
  1092. package/src/models/errors/get-conversation-messages.ts +0 -506
  1093. package/src/models/errors/get-linked-in-feed.ts +0 -502
  1094. package/src/models/errors/get-linked-in-follower-analytics.ts +0 -511
  1095. package/src/models/errors/get-linked-in-post-analytics.ts +0 -505
  1096. package/src/models/errors/get-linked-in-profile-views.ts +0 -506
  1097. package/src/models/errors/get-linked-in-search-appearances.ts +0 -511
  1098. package/src/models/errors/get-my-credits.ts +0 -500
  1099. package/src/models/errors/get-my-limits.ts +0 -500
  1100. package/src/models/errors/get-my-linked-in-followers.ts +0 -508
  1101. package/src/models/errors/get-my-linked-in-posts.ts +0 -506
  1102. package/src/models/errors/get-my-linked-in-profile.ts +0 -504
  1103. package/src/models/errors/get-unread-count.ts +0 -500
  1104. package/src/models/errors/like-linked-in-comment.ts +0 -504
  1105. package/src/models/errors/like-linked-in-post.ts +0 -504
  1106. package/src/models/errors/list-archived-conversations.ts +0 -504
  1107. package/src/models/errors/list-inbox-conversations.ts +0 -508
  1108. package/src/models/errors/list-linked-in-accounts.ts +0 -504
  1109. package/src/models/errors/list-linked-in-company-pages.ts +0 -505
  1110. package/src/models/errors/list-linked-in-invitations.ts +0 -506
  1111. package/src/models/errors/list-sent-linked-in-invitations.ts +0 -508
  1112. package/src/models/errors/list-starred-conversations.ts +0 -505
  1113. package/src/models/errors/mark-all-conversations-read.ts +0 -505
  1114. package/src/models/errors/mark-conversation-seen.ts +0 -504
  1115. package/src/models/errors/publish-linked-in-post.ts +0 -504
  1116. package/src/models/errors/react-to-message.ts +0 -500
  1117. package/src/models/errors/refresh-my-linked-in-profile.ts +0 -505
  1118. package/src/models/errors/reply-to-linked-in-comment.ts +0 -508
  1119. package/src/models/errors/repost-linked-in-post.ts +0 -506
  1120. package/src/models/errors/resolve-linked-in-search-parameters.ts +0 -519
  1121. package/src/models/errors/save-linked-in-post.ts +0 -504
  1122. package/src/models/errors/search-linked-in-by-url.ts +0 -504
  1123. package/src/models/errors/search-linked-in-companies.ts +0 -506
  1124. package/src/models/errors/search-linked-in-conversations.ts +0 -508
  1125. package/src/models/errors/search-linked-in-jobs.ts +0 -506
  1126. package/src/models/errors/search-linked-in-people.ts +0 -504
  1127. package/src/models/errors/search-linked-in-posts.ts +0 -504
  1128. package/src/models/errors/search-linked-in.ts +0 -500
  1129. package/src/models/errors/search-sales-nav-companies.ts +0 -506
  1130. package/src/models/errors/search-sales-nav-people.ts +0 -504
  1131. package/src/models/errors/search-sales-nav.ts +0 -500
  1132. package/src/models/errors/send-linked-in-message.ts +0 -504
  1133. package/src/models/errors/send-typing-indicator.ts +0 -504
  1134. package/src/models/errors/star-conversation.ts +0 -504
  1135. package/src/models/errors/sync-campaign-actions.ts +0 -504
  1136. package/src/models/errors/unarchive-conversation.ts +0 -507
  1137. package/src/models/errors/unfollow-linked-in-company.ts +0 -506
  1138. package/src/models/errors/unfollow-linked-in-profile.ts +0 -506
  1139. package/src/models/errors/unlike-linked-in-comment.ts +0 -507
  1140. package/src/models/errors/unlike-linked-in-post.ts +0 -506
  1141. package/src/models/errors/unreact-to-message.ts +0 -504
  1142. package/src/models/errors/unsave-linked-in-post.ts +0 -506
  1143. package/src/models/errors/unstar-conversation.ts +0 -506
  1144. package/src/models/errors/update-linked-in-account.ts +0 -507
  1145. package/src/models/errors/visit-linked-in-company.ts +0 -504
  1146. package/src/models/errors/visit-linked-in-profile.ts +0 -504
  1147. package/src/models/errors/withdraw-linked-in-invitation.ts +0 -508
  1148. package/src/models/operations/accept-linked-in-invitation.ts +0 -668
  1149. package/src/models/operations/archive-conversation.ts +0 -603
  1150. package/src/models/operations/collect-linked-in-comment-replies.ts +0 -832
  1151. package/src/models/operations/collect-linked-in-comments.ts +0 -801
  1152. package/src/models/operations/collect-linked-in-hashtag-posts.ts +0 -676
  1153. package/src/models/operations/collect-linked-in-likes.ts +0 -682
  1154. package/src/models/operations/collect-linked-in-posts.ts +0 -702
  1155. package/src/models/operations/collect-saved-linked-in-posts.ts +0 -653
  1156. package/src/models/operations/comment-on-linked-in-post.ts +0 -649
  1157. package/src/models/operations/connect-linked-in-profile.ts +0 -646
  1158. package/src/models/operations/decline-linked-in-invitation.ts +0 -657
  1159. package/src/models/operations/edit-linked-in-comment.ts +0 -615
  1160. package/src/models/operations/edit-linked-in-post.ts +0 -589
  1161. package/src/models/operations/filter-campaign.ts +0 -610
  1162. package/src/models/operations/find-linked-in-conversation.ts +0 -809
  1163. package/src/models/operations/follow-linked-in-company.ts +0 -613
  1164. package/src/models/operations/follow-linked-in-profile.ts +0 -615
  1165. package/src/models/operations/get-campaign-stats.ts +0 -617
  1166. package/src/models/operations/get-campaign-status.ts +0 -656
  1167. package/src/models/operations/get-company-page-analytics.ts +0 -736
  1168. package/src/models/operations/get-company-page-permissions.ts +0 -780
  1169. package/src/models/operations/get-company-page-posts.ts +0 -672
  1170. package/src/models/operations/get-conversation-messages.ts +0 -763
  1171. package/src/models/operations/get-linked-in-feed.ts +0 -608
  1172. package/src/models/operations/get-linked-in-follower-analytics.ts +0 -664
  1173. package/src/models/operations/get-linked-in-post-analytics.ts +0 -644
  1174. package/src/models/operations/get-linked-in-profile-views.ts +0 -624
  1175. package/src/models/operations/get-linked-in-search-appearances.ts +0 -664
  1176. package/src/models/operations/get-my-credits.ts +0 -580
  1177. package/src/models/operations/get-my-limits.ts +0 -1086
  1178. package/src/models/operations/get-my-linked-in-followers.ts +0 -677
  1179. package/src/models/operations/get-my-linked-in-posts.ts +0 -670
  1180. package/src/models/operations/get-my-linked-in-profile.ts +0 -911
  1181. package/src/models/operations/get-unread-count.ts +0 -570
  1182. package/src/models/operations/like-linked-in-comment.ts +0 -659
  1183. package/src/models/operations/like-linked-in-post.ts +0 -642
  1184. package/src/models/operations/list-archived-conversations.ts +0 -755
  1185. package/src/models/operations/list-inbox-conversations.ts +0 -735
  1186. package/src/models/operations/list-linked-in-accounts.ts +0 -630
  1187. package/src/models/operations/list-linked-in-company-pages.ts +0 -660
  1188. package/src/models/operations/list-linked-in-invitations.ts +0 -738
  1189. package/src/models/operations/list-sent-linked-in-invitations.ts +0 -672
  1190. package/src/models/operations/list-starred-conversations.ts +0 -754
  1191. package/src/models/operations/mark-all-conversations-read.ts +0 -633
  1192. package/src/models/operations/mark-conversation-seen.ts +0 -613
  1193. package/src/models/operations/publish-linked-in-post.ts +0 -745
  1194. package/src/models/operations/react-to-message.ts +0 -586
  1195. package/src/models/operations/refresh-my-linked-in-profile.ts +0 -958
  1196. package/src/models/operations/reply-to-linked-in-comment.ts +0 -655
  1197. package/src/models/operations/repost-linked-in-post.ts +0 -610
  1198. package/src/models/operations/resolve-linked-in-search-parameters.ts +0 -749
  1199. package/src/models/operations/save-linked-in-post.ts +0 -583
  1200. package/src/models/operations/search-linked-in-by-url.ts +0 -977
  1201. package/src/models/operations/search-linked-in-companies.ts +0 -779
  1202. package/src/models/operations/search-linked-in-conversations.ts +0 -779
  1203. package/src/models/operations/search-linked-in-jobs.ts +0 -836
  1204. package/src/models/operations/search-linked-in-people.ts +0 -853
  1205. package/src/models/operations/search-linked-in-posts.ts +0 -840
  1206. package/src/models/operations/search-linked-in.ts +0 -1238
  1207. package/src/models/operations/search-sales-nav-companies.ts +0 -848
  1208. package/src/models/operations/search-sales-nav-people.ts +0 -1074
  1209. package/src/models/operations/search-sales-nav.ts +0 -1175
  1210. package/src/models/operations/send-linked-in-message.ts +0 -636
  1211. package/src/models/operations/send-typing-indicator.ts +0 -603
  1212. package/src/models/operations/star-conversation.ts +0 -583
  1213. package/src/models/operations/sync-campaign-actions.ts +0 -707
  1214. package/src/models/operations/unarchive-conversation.ts +0 -613
  1215. package/src/models/operations/unfollow-linked-in-company.ts +0 -629
  1216. package/src/models/operations/unfollow-linked-in-profile.ts +0 -631
  1217. package/src/models/operations/unlike-linked-in-comment.ts +0 -613
  1218. package/src/models/operations/unlike-linked-in-post.ts +0 -594
  1219. package/src/models/operations/unreact-to-message.ts +0 -595
  1220. package/src/models/operations/unsave-linked-in-post.ts +0 -594
  1221. package/src/models/operations/unstar-conversation.ts +0 -594
  1222. package/src/models/operations/update-linked-in-account.ts +0 -653
  1223. package/src/models/operations/visit-linked-in-company.ts +0 -900
  1224. package/src/models/operations/visit-linked-in-profile.ts +0 -950
  1225. package/src/models/operations/withdraw-linked-in-invitation.ts +0 -655
@@ -0,0 +1,3367 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { remap as remap$ } from "../../lib/primitives.js";
7
+ import { safeParse } from "../../lib/schemas.js";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
10
+ import { Result as SafeParseResult } from "../../types/fp.js";
11
+ import * as types from "../../types/primitives.js";
12
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
13
+ import {
14
+ ConnectionRequest,
15
+ ConnectionRequest$inboundSchema,
16
+ GetMyLimitsMessage,
17
+ GetMyLimitsMessage$inboundSchema,
18
+ ProfileVisit,
19
+ ProfileVisit$inboundSchema,
20
+ ScrapingDaily,
21
+ ScrapingDaily$inboundSchema,
22
+ ScrapingWeekly,
23
+ ScrapingWeekly$inboundSchema,
24
+ } from "./scraping-weekly.js";
25
+
26
+ /**
27
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
28
+ */
29
+ export type Scraping = {
30
+ /**
31
+ * Daily usage counter (resets at midnight UTC)
32
+ */
33
+ daily: ScrapingDaily;
34
+ /**
35
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
36
+ */
37
+ weekly: ScrapingWeekly | null;
38
+ /**
39
+ * Minimum delay in seconds required between two consecutive actions of this type
40
+ */
41
+ minIntervalSeconds: number;
42
+ /**
43
+ * ISO 8601 timestamp of the next daily counter reset
44
+ */
45
+ nextResetDaily: Date;
46
+ /**
47
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
48
+ */
49
+ nextResetWeekly: Date | null;
50
+ };
51
+
52
+ export type Limits = {
53
+ /**
54
+ * Limits for sending LinkedIn connection requests
55
+ */
56
+ connectionRequest: ConnectionRequest;
57
+ /**
58
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
59
+ */
60
+ message: GetMyLimitsMessage;
61
+ /**
62
+ * Limits for visiting LinkedIn profiles and company pages
63
+ */
64
+ profileVisit: ProfileVisit;
65
+ /**
66
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
67
+ */
68
+ scraping: Scraping;
69
+ };
70
+
71
+ /**
72
+ * Rate limit status for all action types
73
+ */
74
+ export type GetMyLimitsResponse = {
75
+ success: true;
76
+ /**
77
+ * Workspace limit multiplier applied to all base limits (default 1.0)
78
+ */
79
+ multiplier: number;
80
+ limits: Limits;
81
+ /**
82
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
83
+ */
84
+ creditsUsed: number;
85
+ /**
86
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
87
+ */
88
+ retryAfter: number;
89
+ };
90
+
91
+ export type Credits = {
92
+ /**
93
+ * Number of credits used in the current billing period
94
+ */
95
+ current: number;
96
+ /**
97
+ * Maximum credits available for the workspace, or null if unlimited
98
+ */
99
+ limit: number | null;
100
+ /**
101
+ * Credits remaining before hitting the limit, or null if unlimited
102
+ */
103
+ remaining: number | null;
104
+ /**
105
+ * Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
106
+ */
107
+ percentage: number;
108
+ /**
109
+ * Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
110
+ */
111
+ isUnlimited: boolean;
112
+ };
113
+
114
+ /**
115
+ * Credit balance for the workspace
116
+ */
117
+ export type GetMyCreditsResponse = {
118
+ success: true;
119
+ credits: Credits;
120
+ /**
121
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
122
+ */
123
+ creditsUsed: number;
124
+ /**
125
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
126
+ */
127
+ retryAfter: number;
128
+ };
129
+
130
+ export type GetLinkedInProfileViewsRequest = {};
131
+
132
+ /**
133
+ * Profile viewers
134
+ */
135
+ export type GetLinkedInProfileViewsResponse = {
136
+ success: true;
137
+ views: Array<any>;
138
+ total: number;
139
+ /**
140
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
141
+ */
142
+ creditsUsed: number;
143
+ /**
144
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
145
+ */
146
+ retryAfter: number;
147
+ };
148
+
149
+ export type GetLinkedInSearchAppearancesRequest = {};
150
+
151
+ /**
152
+ * Search appearance stats
153
+ */
154
+ export type GetLinkedInSearchAppearancesResponse = {
155
+ success: true;
156
+ appearances: any;
157
+ /**
158
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
159
+ */
160
+ creditsUsed: number;
161
+ /**
162
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
163
+ */
164
+ retryAfter: number;
165
+ };
166
+
167
+ export type GetLinkedInPostAnalyticsRequest = {
168
+ /**
169
+ * LinkedIn post URL or URN
170
+ */
171
+ postUrl: string;
172
+ };
173
+
174
+ /**
175
+ * Post analytics
176
+ */
177
+ export type GetLinkedInPostAnalyticsResponse = {
178
+ success: true;
179
+ analytics: any;
180
+ /**
181
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
182
+ */
183
+ creditsUsed: number;
184
+ /**
185
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
186
+ */
187
+ retryAfter: number;
188
+ };
189
+
190
+ export type GetLinkedInFollowerAnalyticsRequest = {};
191
+
192
+ /**
193
+ * Follower analytics
194
+ */
195
+ export type GetLinkedInFollowerAnalyticsResponse = {
196
+ success: true;
197
+ analytics: any;
198
+ /**
199
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
200
+ */
201
+ creditsUsed: number;
202
+ /**
203
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
204
+ */
205
+ retryAfter: number;
206
+ };
207
+
208
+ export type Page = {
209
+ /**
210
+ * LinkedIn numeric company ID.
211
+ */
212
+ id: string;
213
+ /**
214
+ * Company URL slug (e.g. 'openai').
215
+ */
216
+ universalName: string;
217
+ name: string;
218
+ url: string;
219
+ logoUrl: string | null;
220
+ followerCount: number | null;
221
+ industry: string | null;
222
+ employeeCount: number | null;
223
+ /**
224
+ * Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
225
+ */
226
+ adminRole: string | null;
227
+ };
228
+
229
+ /**
230
+ * List of managed company pages
231
+ */
232
+ export type ListLinkedInCompanyPagesResponse = {
233
+ success: true;
234
+ pages: Array<Page>;
235
+ total: number;
236
+ /**
237
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
238
+ */
239
+ creditsUsed: number;
240
+ /**
241
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
242
+ */
243
+ retryAfter: number;
244
+ };
245
+
246
+ export type GetCompanyPagePostsRequest = {
247
+ /**
248
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
249
+ */
250
+ universalName: string;
251
+ /**
252
+ * Number of posts to return (max 50).
253
+ */
254
+ count?: number | undefined;
255
+ /**
256
+ * Pagination offset.
257
+ */
258
+ start?: number | undefined;
259
+ };
260
+
261
+ export type GetCompanyPagePostsPost = {
262
+ /**
263
+ * LinkedIn activity URN for this post.
264
+ */
265
+ activityUrn: string;
266
+ /**
267
+ * Direct URL to the post on LinkedIn.
268
+ */
269
+ postUrl: string;
270
+ /**
271
+ * Post text content (null if media-only).
272
+ */
273
+ text: string | null;
274
+ /**
275
+ * Unix timestamp in milliseconds (null if unavailable).
276
+ */
277
+ publishedAt: number | null;
278
+ /**
279
+ * Number of likes/reactions.
280
+ */
281
+ numLikes: number | null;
282
+ /**
283
+ * Number of comments.
284
+ */
285
+ numComments: number | null;
286
+ };
287
+
288
+ /**
289
+ * Company page posts
290
+ */
291
+ export type GetCompanyPagePostsResponse = {
292
+ success: true;
293
+ posts: Array<GetCompanyPagePostsPost>;
294
+ /**
295
+ * Total number of posts available.
296
+ */
297
+ total: number;
298
+ /**
299
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
300
+ */
301
+ creditsUsed: number;
302
+ /**
303
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
304
+ */
305
+ retryAfter: number;
306
+ };
307
+
308
+ export type GetCompanyPagePermissionsRequest = {
309
+ /**
310
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
311
+ */
312
+ universalName: string;
313
+ };
314
+
315
+ export type Permissions = {
316
+ /**
317
+ * Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
318
+ */
319
+ role: string | null;
320
+ /**
321
+ * Can post as the company page.
322
+ */
323
+ canCreateOrganicShare: boolean;
324
+ /**
325
+ * Can comment as the company page.
326
+ */
327
+ canCreateComment: boolean;
328
+ /**
329
+ * Can like/react as the company page.
330
+ */
331
+ canCreateReaction: boolean;
332
+ /**
333
+ * Can delete company page posts.
334
+ */
335
+ canDeleteShare: boolean;
336
+ /**
337
+ * Can pin posts on the company page.
338
+ */
339
+ canPinShare: boolean;
340
+ /**
341
+ * Can send messages from the company page inbox.
342
+ */
343
+ canSendMessages: boolean;
344
+ /**
345
+ * Can read the company page inbox.
346
+ */
347
+ canReadMessages: boolean;
348
+ /**
349
+ * Can access the admin analytics dashboard.
350
+ */
351
+ canReadAdminDashboard: boolean;
352
+ /**
353
+ * Can view post/update analytics.
354
+ */
355
+ canReadOrganizationUpdateAnalytics: boolean;
356
+ /**
357
+ * Can view visitor analytics.
358
+ */
359
+ canReadOrganizationVisitorAnalytics: boolean;
360
+ /**
361
+ * Can view follower analytics.
362
+ */
363
+ canReadOrganizationFollowerAnalytics: boolean;
364
+ /**
365
+ * Can view search appearance analytics.
366
+ */
367
+ canReadOrganizationSearchAppearanceAnalytics: boolean;
368
+ /**
369
+ * Can edit the company page profile.
370
+ */
371
+ canUpdateOrganizationProfile: boolean;
372
+ /**
373
+ * Can add/remove page admins.
374
+ */
375
+ canEditAdministrators: boolean;
376
+ /**
377
+ * Can deactivate the company page.
378
+ */
379
+ canDeactivateOrganization: boolean;
380
+ /**
381
+ * Can create/edit company events.
382
+ */
383
+ canEditEvents: boolean;
384
+ /**
385
+ * Can view company events.
386
+ */
387
+ canReadEvents: boolean;
388
+ /**
389
+ * Can sponsor/boost posts.
390
+ */
391
+ canSponsorShare: boolean;
392
+ /**
393
+ * Can manage the career page section.
394
+ */
395
+ canManageCareerPages: boolean;
396
+ /**
397
+ * Can manage messaging settings.
398
+ */
399
+ canManageMessagingAccess: boolean;
400
+ /**
401
+ * Can notify employees about posts.
402
+ */
403
+ canNotifyEmployees: boolean;
404
+ /**
405
+ * Can export lead-gen form leads.
406
+ */
407
+ canExportLeads: boolean;
408
+ };
409
+
410
+ /**
411
+ * Company page admin permissions
412
+ */
413
+ export type GetCompanyPagePermissionsResponse = {
414
+ success: true;
415
+ universalName: string;
416
+ permissions: Permissions;
417
+ /**
418
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
419
+ */
420
+ creditsUsed: number;
421
+ /**
422
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
423
+ */
424
+ retryAfter: number;
425
+ };
426
+
427
+ export type GetCompanyPageAnalyticsRequest = {
428
+ /**
429
+ * Company page ID (numeric, e.g. '111652438')
430
+ */
431
+ companyId: string;
432
+ };
433
+
434
+ export type GetCompanyPageAnalyticsFoundedOn = {
435
+ year: number;
436
+ month?: number | undefined;
437
+ day?: number | undefined;
438
+ };
439
+
440
+ export type GetCompanyPageAnalyticsHeadquarter = {
441
+ city: string;
442
+ country: string;
443
+ line1?: string | undefined;
444
+ postalCode?: string | undefined;
445
+ };
446
+
447
+ export type Analytics = {
448
+ name: string;
449
+ universalName: string;
450
+ followerCount: number | null;
451
+ employeeCount: number | null;
452
+ visitorsInPastMonthCount: number | null;
453
+ isActive: boolean;
454
+ foundedOn: GetCompanyPageAnalyticsFoundedOn | null;
455
+ headquarter: GetCompanyPageAnalyticsHeadquarter | null;
456
+ description: string | null;
457
+ tagline: string | null;
458
+ websiteUrl: string | null;
459
+ organizationType: string | null;
460
+ specialities: Array<string>;
461
+ industryUrns: Array<string>;
462
+ };
463
+
464
+ /**
465
+ * Company page overview analytics
466
+ */
467
+ export type GetCompanyPageAnalyticsResponse = {
468
+ success: true;
469
+ analytics: Analytics;
470
+ /**
471
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
472
+ */
473
+ creditsUsed: number;
474
+ /**
475
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
476
+ */
477
+ retryAfter: number;
478
+ };
479
+
480
+ export type ListInboxConversationsRequest = {
481
+ /**
482
+ * Pagination cursor from a previous response
483
+ */
484
+ nextCursor?: string | undefined;
485
+ };
486
+
487
+ export type ListInboxConversationsParticipant = {
488
+ profileUrn: string;
489
+ firstName: string;
490
+ lastName: string;
491
+ profileUrl: string | null;
492
+ headline: string | null;
493
+ profilePicture: string | null;
494
+ publicIdentifier: string | null;
495
+ };
496
+
497
+ export type ListInboxConversationsLastMessage = {
498
+ text: string | null;
499
+ deliveredAt: number;
500
+ senderProfileUrn: string;
501
+ };
502
+
503
+ export type ListInboxConversationsConversation = {
504
+ conversationUrn: string;
505
+ conversationUrl: string;
506
+ lastActivityAt: number;
507
+ createdAt: number;
508
+ read: boolean;
509
+ unreadCount: number;
510
+ groupChat: boolean;
511
+ participants: Array<ListInboxConversationsParticipant>;
512
+ lastMessage: ListInboxConversationsLastMessage | null;
513
+ };
514
+
515
+ /**
516
+ * Inbox conversations
517
+ */
518
+ export type ListInboxConversationsResponse = {
519
+ success: true;
520
+ conversations: Array<ListInboxConversationsConversation>;
521
+ /**
522
+ * Cursor for fetching next page
523
+ */
524
+ nextCursor: string | null;
525
+ /**
526
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
527
+ */
528
+ creditsUsed: number;
529
+ /**
530
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
531
+ */
532
+ retryAfter: number;
533
+ };
534
+
535
+ export type GetConversationMessagesRequest = {
536
+ /**
537
+ * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
538
+ */
539
+ conversationUrn: string;
540
+ /**
541
+ * Timestamp (ms) of the oldest message from previous page — pass this to load older messages
542
+ */
543
+ deliveredAt?: number | undefined;
544
+ };
545
+
546
+ export type GetConversationMessagesSender = {
547
+ firstName: string;
548
+ lastName: string;
549
+ profileUrl: string | null;
550
+ headline: string | null;
551
+ profilePicture: string | null;
552
+ publicIdentifier: string | null;
553
+ profileUrn: string | null;
554
+ };
555
+
556
+ export const GetConversationMessagesType = {
557
+ Audio: "audio",
558
+ SharedPost: "shared_post",
559
+ RepliedMessage: "replied_message",
560
+ Image: "image",
561
+ File: "file",
562
+ Unknown: "unknown",
563
+ } as const;
564
+ export type GetConversationMessagesType = OpenEnum<
565
+ typeof GetConversationMessagesType
566
+ >;
567
+
568
+ export type GetConversationMessagesAttachment = {
569
+ type: GetConversationMessagesType;
570
+ audioUrl?: string | undefined;
571
+ audioDuration?: number | undefined;
572
+ hostUrn?: string | undefined;
573
+ repliedText?: string | undefined;
574
+ repliedSenderName?: string | undefined;
575
+ imageUrl?: string | undefined;
576
+ fileName?: string | undefined;
577
+ fileUrl?: string | undefined;
578
+ };
579
+
580
+ export type GetConversationMessagesMessage = {
581
+ messageUrn: string;
582
+ text: string | null;
583
+ deliveredAt: number;
584
+ senderProfileUrn: string;
585
+ sender: GetConversationMessagesSender;
586
+ attachments: Array<GetConversationMessagesAttachment>;
587
+ };
588
+
589
+ /**
590
+ * Conversation messages
591
+ */
592
+ export type GetConversationMessagesResponse = {
593
+ success: true;
594
+ messages: Array<GetConversationMessagesMessage>;
595
+ /**
596
+ * deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
597
+ */
598
+ prevCursor: number | null;
599
+ /**
600
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
601
+ */
602
+ creditsUsed: number;
603
+ /**
604
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
605
+ */
606
+ retryAfter: number;
607
+ };
608
+
609
+ export type MarkAllConversationsReadRequest = {};
610
+
611
+ /**
612
+ * All conversations marked as read
613
+ */
614
+ export type MarkAllConversationsReadResponse = {
615
+ success: true;
616
+ /**
617
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
618
+ */
619
+ creditsUsed: number;
620
+ /**
621
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
622
+ */
623
+ retryAfter: number;
624
+ };
625
+
626
+ export type ListArchivedConversationsRequest = {
627
+ /**
628
+ * Pagination cursor from a previous response
629
+ */
630
+ nextCursor?: string | undefined;
631
+ };
632
+
633
+ export type ListArchivedConversationsParticipant = {
634
+ profileUrn: string;
635
+ firstName: string;
636
+ lastName: string;
637
+ profileUrl: string | null;
638
+ headline: string | null;
639
+ profilePicture: string | null;
640
+ publicIdentifier: string | null;
641
+ };
642
+
643
+ export type ListArchivedConversationsLastMessage = {
644
+ text: string | null;
645
+ deliveredAt: number;
646
+ senderProfileUrn: string;
647
+ };
648
+
649
+ export type ListArchivedConversationsConversation = {
650
+ conversationUrn: string;
651
+ conversationUrl: string;
652
+ lastActivityAt: number;
653
+ createdAt: number;
654
+ read: boolean;
655
+ unreadCount: number;
656
+ groupChat: boolean;
657
+ participants: Array<ListArchivedConversationsParticipant>;
658
+ lastMessage: ListArchivedConversationsLastMessage | null;
659
+ };
660
+
661
+ /**
662
+ * Archived conversations
663
+ */
664
+ export type ListArchivedConversationsResponse = {
665
+ success: true;
666
+ conversations: Array<ListArchivedConversationsConversation>;
667
+ /**
668
+ * Cursor for fetching next page
669
+ */
670
+ nextCursor: string | null;
671
+ /**
672
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
673
+ */
674
+ creditsUsed: number;
675
+ /**
676
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
677
+ */
678
+ retryAfter: number;
679
+ };
680
+
681
+ export type ReactToMessageRequest = {
682
+ /**
683
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
684
+ */
685
+ messageUrn: string;
686
+ /**
687
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
688
+ */
689
+ emoji: string;
690
+ /**
691
+ * Conversation URN (required for the old messaging API fallback)
692
+ */
693
+ conversationUrn: string;
694
+ };
695
+
696
+ /**
697
+ * Reaction added
698
+ */
699
+ export type ReactToMessageResponse = {
700
+ success: true;
701
+ /**
702
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
703
+ */
704
+ creditsUsed: number;
705
+ /**
706
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
707
+ */
708
+ retryAfter: number;
709
+ };
710
+
711
+ export type SendTypingIndicatorRequest = {
712
+ /**
713
+ * Full conversation URN
714
+ */
715
+ conversationUrn: string;
716
+ };
717
+
718
+ /**
719
+ * Typing indicator sent
720
+ */
721
+ export type SendTypingIndicatorResponse = {
722
+ success: true;
723
+ /**
724
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
725
+ */
726
+ creditsUsed: number;
727
+ /**
728
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
729
+ */
730
+ retryAfter: number;
731
+ };
732
+
733
+ export type GetUnreadCountRequest = {};
734
+
735
+ /**
736
+ * Unread count
737
+ */
738
+ export type GetUnreadCountResponse = {
739
+ success: true;
740
+ /**
741
+ * Number of unread conversations/messages
742
+ */
743
+ unreadCount: number;
744
+ /**
745
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
746
+ */
747
+ creditsUsed: number;
748
+ /**
749
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
750
+ */
751
+ retryAfter: number;
752
+ };
753
+
754
+ export type SearchLinkedInConversationsRequest = {
755
+ /**
756
+ * Search keywords
757
+ */
758
+ keywords: string;
759
+ /**
760
+ * Pagination cursor from a previous response
761
+ */
762
+ nextCursor?: string | undefined;
763
+ };
764
+
765
+ export type SearchLinkedInConversationsParticipant = {
766
+ profileUrn: string;
767
+ firstName: string;
768
+ lastName: string;
769
+ profileUrl: string | null;
770
+ headline: string | null;
771
+ profilePicture: string | null;
772
+ publicIdentifier: string | null;
773
+ };
774
+
775
+ export type SearchLinkedInConversationsLastMessage = {
776
+ text: string | null;
777
+ deliveredAt: number;
778
+ senderProfileUrn: string;
779
+ };
780
+
781
+ export type SearchLinkedInConversationsConversation = {
782
+ conversationUrn: string;
783
+ conversationUrl: string;
784
+ lastActivityAt: number;
785
+ createdAt: number;
786
+ read: boolean;
787
+ unreadCount: number;
788
+ groupChat: boolean;
789
+ participants: Array<SearchLinkedInConversationsParticipant>;
790
+ lastMessage: SearchLinkedInConversationsLastMessage | null;
791
+ };
792
+
793
+ /**
794
+ * Matching conversations
795
+ */
796
+ export type SearchLinkedInConversationsResponse = {
797
+ success: true;
798
+ conversations: Array<SearchLinkedInConversationsConversation>;
799
+ /**
800
+ * Cursor for fetching next page
801
+ */
802
+ nextCursor: string | null;
803
+ /**
804
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
805
+ */
806
+ creditsUsed: number;
807
+ /**
808
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
809
+ */
810
+ retryAfter: number;
811
+ };
812
+
813
+ export type FindLinkedInConversationRequest = {
814
+ /**
815
+ * Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
816
+ */
817
+ profile: string;
818
+ /**
819
+ * If true, also return the conversation's recent messages (0 extra credits).
820
+ */
821
+ includeMessages?: boolean | undefined;
822
+ };
823
+
824
+ /**
825
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
826
+ */
827
+ export type FindLinkedInConversationConversation = {
828
+ conversationUrn: string;
829
+ };
830
+
831
+ export type FindLinkedInConversationSender = {
832
+ firstName: string;
833
+ lastName: string;
834
+ profileUrl: string | null;
835
+ headline: string | null;
836
+ profilePicture: string | null;
837
+ publicIdentifier: string | null;
838
+ profileUrn: string | null;
839
+ };
840
+
841
+ export const FindLinkedInConversationType = {
842
+ Audio: "audio",
843
+ SharedPost: "shared_post",
844
+ RepliedMessage: "replied_message",
845
+ Image: "image",
846
+ File: "file",
847
+ Unknown: "unknown",
848
+ } as const;
849
+ export type FindLinkedInConversationType = OpenEnum<
850
+ typeof FindLinkedInConversationType
851
+ >;
852
+
853
+ export type FindLinkedInConversationAttachment = {
854
+ type: FindLinkedInConversationType;
855
+ audioUrl?: string | undefined;
856
+ audioDuration?: number | undefined;
857
+ hostUrn?: string | undefined;
858
+ repliedText?: string | undefined;
859
+ repliedSenderName?: string | undefined;
860
+ imageUrl?: string | undefined;
861
+ fileName?: string | undefined;
862
+ fileUrl?: string | undefined;
863
+ };
864
+
865
+ export type FindLinkedInConversationMessage = {
866
+ messageUrn: string;
867
+ text: string | null;
868
+ deliveredAt: number;
869
+ senderProfileUrn: string;
870
+ sender: FindLinkedInConversationSender;
871
+ attachments: Array<FindLinkedInConversationAttachment>;
872
+ };
873
+
874
+ /**
875
+ * Conversation found (or not)
876
+ */
877
+ export type FindLinkedInConversationResponse = {
878
+ success: true;
879
+ found: boolean;
880
+ /**
881
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
882
+ */
883
+ conversation: FindLinkedInConversationConversation | null;
884
+ messages: Array<FindLinkedInConversationMessage> | null;
885
+ /**
886
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
887
+ */
888
+ creditsUsed: number;
889
+ /**
890
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
891
+ */
892
+ retryAfter: number;
893
+ };
894
+
895
+ export type ArchiveConversationRequest = {
896
+ /**
897
+ * Full conversation URN
898
+ */
899
+ conversationUrn: string;
900
+ };
901
+
902
+ /**
903
+ * Conversation archived
904
+ */
905
+ export type ArchiveConversationResponse = {
906
+ success: true;
907
+ /**
908
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
909
+ */
910
+ creditsUsed: number;
911
+ /**
912
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
913
+ */
914
+ retryAfter: number;
915
+ };
916
+
917
+ export type UnreactToMessageRequest = {
918
+ /**
919
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
920
+ */
921
+ messageUrn: string;
922
+ /**
923
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
924
+ */
925
+ emoji: string;
926
+ /**
927
+ * Conversation URN (required for the old messaging API fallback)
928
+ */
929
+ conversationUrn: string;
930
+ };
931
+
932
+ /**
933
+ * Reaction removed
934
+ */
935
+ export type UnreactToMessageResponse = {
936
+ success: true;
937
+ /**
938
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
939
+ */
940
+ creditsUsed: number;
941
+ /**
942
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
943
+ */
944
+ retryAfter: number;
945
+ };
946
+
947
+ export type MarkConversationSeenRequest = {
948
+ /**
949
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
950
+ */
951
+ conversationUrn: string;
952
+ };
953
+
954
+ /**
955
+ * Conversation marked as read
956
+ */
957
+ export type MarkConversationSeenResponse = {
958
+ success: true;
959
+ /**
960
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
961
+ */
962
+ creditsUsed: number;
963
+ /**
964
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
965
+ */
966
+ retryAfter: number;
967
+ };
968
+
969
+ export type StarConversationRequest = {
970
+ /**
971
+ * Full conversation URN
972
+ */
973
+ conversationUrn: string;
974
+ };
975
+
976
+ /**
977
+ * Conversation starred
978
+ */
979
+ export type StarConversationResponse = {
980
+ success: true;
981
+ /**
982
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
983
+ */
984
+ creditsUsed: number;
985
+ /**
986
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
987
+ */
988
+ retryAfter: number;
989
+ };
990
+
991
+ export type UnstarConversationRequest = {
992
+ /**
993
+ * Full conversation URN
994
+ */
995
+ conversationUrn: string;
996
+ };
997
+
998
+ /**
999
+ * Conversation unstarred
1000
+ */
1001
+ export type UnstarConversationResponse = {
1002
+ success: true;
1003
+ /**
1004
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1005
+ */
1006
+ creditsUsed: number;
1007
+ /**
1008
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1009
+ */
1010
+ retryAfter: number;
1011
+ };
1012
+
1013
+ export type ListStarredConversationsRequest = {
1014
+ /**
1015
+ * Pagination cursor from a previous response
1016
+ */
1017
+ nextCursor?: string | undefined;
1018
+ };
1019
+
1020
+ export type ListStarredConversationsParticipant = {
1021
+ profileUrn: string;
1022
+ firstName: string;
1023
+ lastName: string;
1024
+ profileUrl: string | null;
1025
+ headline: string | null;
1026
+ profilePicture: string | null;
1027
+ publicIdentifier: string | null;
1028
+ };
1029
+
1030
+ export type ListStarredConversationsLastMessage = {
1031
+ text: string | null;
1032
+ deliveredAt: number;
1033
+ senderProfileUrn: string;
1034
+ };
1035
+
1036
+ export type ListStarredConversationsConversation = {
1037
+ conversationUrn: string;
1038
+ conversationUrl: string;
1039
+ lastActivityAt: number;
1040
+ createdAt: number;
1041
+ read: boolean;
1042
+ unreadCount: number;
1043
+ groupChat: boolean;
1044
+ participants: Array<ListStarredConversationsParticipant>;
1045
+ lastMessage: ListStarredConversationsLastMessage | null;
1046
+ };
1047
+
1048
+ /**
1049
+ * Starred conversations
1050
+ */
1051
+ export type ListStarredConversationsResponse = {
1052
+ success: true;
1053
+ conversations: Array<ListStarredConversationsConversation>;
1054
+ /**
1055
+ * Cursor for fetching next page
1056
+ */
1057
+ nextCursor: string | null;
1058
+ /**
1059
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1060
+ */
1061
+ creditsUsed: number;
1062
+ /**
1063
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1064
+ */
1065
+ retryAfter: number;
1066
+ };
1067
+
1068
+ export type UnarchiveConversationRequest = {
1069
+ /**
1070
+ * Full conversation URN
1071
+ */
1072
+ conversationUrn: string;
1073
+ };
1074
+
1075
+ /**
1076
+ * Conversation unarchived
1077
+ */
1078
+ export type UnarchiveConversationResponse = {
1079
+ success: true;
1080
+ /**
1081
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1082
+ */
1083
+ creditsUsed: number;
1084
+ /**
1085
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1086
+ */
1087
+ retryAfter: number;
1088
+ };
1089
+
1090
+ export type FilterCampaignRequest = {
1091
+ /**
1092
+ * Unique identifier for the automation campaign (e.g., 'lead-magnet-post-12345', 'outreach-webinar-feb')
1093
+ */
1094
+ campaignSlug: string;
1095
+ /**
1096
+ * Comma-separated list of action slugs to check (e.g., 'send-mp-john-doe,like-comment-abc123')
1097
+ */
1098
+ actionSlugs: string;
1099
+ };
1100
+
1101
+ export type CheckedSlug = {
1102
+ actionSlug: string;
1103
+ completed: boolean;
1104
+ };
1105
+
1106
+ /**
1107
+ * Filter status with checked slugs
1108
+ */
1109
+ export type FilterCampaignResponse = {
1110
+ /**
1111
+ * True if all actionSlugs have been completed for this campaign, meaning the entire flow can be skipped
1112
+ */
1113
+ filtered: boolean;
1114
+ /**
1115
+ * Status of each action slug — completed means the action was already executed for this campaign
1116
+ */
1117
+ checkedSlugs: Array<CheckedSlug>;
1118
+ /**
1119
+ * Credits consumed by this call (always 0 for campaign queries).
1120
+ */
1121
+ creditsUsed: number;
1122
+ /**
1123
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1124
+ */
1125
+ retryAfter: number;
1126
+ };
1127
+
1128
+ export type GetCampaignStatusRequestBody = {
1129
+ /**
1130
+ * LinkedIn profile URLs or URNs to check status for within this campaign.
1131
+ */
1132
+ profiles: Array<string>;
1133
+ };
1134
+
1135
+ export type GetCampaignStatusRequest = {
1136
+ /**
1137
+ * Campaign identifier
1138
+ */
1139
+ campaignSlug: string;
1140
+ body: GetCampaignStatusRequestBody;
1141
+ };
1142
+
1143
+ export type GetCampaignStatusProfile = {
1144
+ profile: string;
1145
+ message: boolean;
1146
+ reply: boolean;
1147
+ like: boolean;
1148
+ visit: boolean;
1149
+ connect: boolean;
1150
+ };
1151
+
1152
+ /**
1153
+ * Per-profile action completion status
1154
+ */
1155
+ export type GetCampaignStatusResponse = {
1156
+ success: true;
1157
+ profiles: Array<GetCampaignStatusProfile>;
1158
+ /**
1159
+ * Credits consumed by this call (always 0 for campaign queries).
1160
+ */
1161
+ creditsUsed: number;
1162
+ /**
1163
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1164
+ */
1165
+ retryAfter: number;
1166
+ };
1167
+
1168
+ export const Action = {
1169
+ Message: "message",
1170
+ Reply: "reply",
1171
+ Like: "like",
1172
+ Visit: "visit",
1173
+ Connect: "connect",
1174
+ } as const;
1175
+ export type Action = ClosedEnum<typeof Action>;
1176
+
1177
+ export type SyncCampaignActionsProfile = {
1178
+ /**
1179
+ * LinkedIn profile URL or URN
1180
+ */
1181
+ profile: string;
1182
+ /**
1183
+ * Action types to mark as completed
1184
+ */
1185
+ actions: Array<Action>;
1186
+ };
1187
+
1188
+ export type SyncCampaignActionsRequestBody = {
1189
+ /**
1190
+ * Profiles and actions to mark as completed without performing them on LinkedIn.
1191
+ */
1192
+ profiles: Array<SyncCampaignActionsProfile>;
1193
+ };
1194
+
1195
+ export type SyncCampaignActionsRequest = {
1196
+ /**
1197
+ * Campaign identifier
1198
+ */
1199
+ campaignSlug: string;
1200
+ body: SyncCampaignActionsRequestBody;
1201
+ };
1202
+
1203
+ export type Synced = {
1204
+ profile: string;
1205
+ actions: { [k: string]: boolean };
1206
+ };
1207
+
1208
+ /**
1209
+ * Actions marked as completed
1210
+ */
1211
+ export type SyncCampaignActionsResponse = {
1212
+ success: true;
1213
+ synced: Array<Synced>;
1214
+ /**
1215
+ * Credits consumed by this call (always 0 for campaign queries).
1216
+ */
1217
+ creditsUsed: number;
1218
+ /**
1219
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1220
+ */
1221
+ retryAfter: number;
1222
+ };
1223
+
1224
+ export type GetCampaignStatsRequestBody = {};
1225
+
1226
+ export type GetCampaignStatsRequest = {
1227
+ /**
1228
+ * Campaign identifier
1229
+ */
1230
+ campaignSlug: string;
1231
+ body?: GetCampaignStatsRequestBody | undefined;
1232
+ };
1233
+
1234
+ /**
1235
+ * Aggregate campaign statistics
1236
+ */
1237
+ export type GetCampaignStatsResponse = {
1238
+ success: true;
1239
+ /**
1240
+ * Per-action-type counts (e.g. message: 45, reply: 120)
1241
+ */
1242
+ stats: { [k: string]: number };
1243
+ /**
1244
+ * Unique profiles processed in this campaign
1245
+ */
1246
+ totalProfiles: number;
1247
+ /**
1248
+ * Total credits consumed by this campaign (sum of action counts). Also serves as the per-call creditsUsed (always 0 for this endpoint).
1249
+ */
1250
+ creditsUsed: number;
1251
+ /**
1252
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1253
+ */
1254
+ retryAfter: number;
1255
+ };
1256
+
1257
+ /** @internal */
1258
+ export const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown> = z
1259
+ .object({
1260
+ daily: ScrapingDaily$inboundSchema,
1261
+ weekly: types.nullable(ScrapingWeekly$inboundSchema),
1262
+ minIntervalSeconds: types.number(),
1263
+ nextResetDaily: types.date(),
1264
+ nextResetWeekly: types.nullable(types.date()),
1265
+ });
1266
+
1267
+ export function scrapingFromJSON(
1268
+ jsonString: string,
1269
+ ): SafeParseResult<Scraping, SDKValidationError> {
1270
+ return safeParse(
1271
+ jsonString,
1272
+ (x) => Scraping$inboundSchema.parse(JSON.parse(x)),
1273
+ `Failed to parse 'Scraping' from JSON`,
1274
+ );
1275
+ }
1276
+
1277
+ /** @internal */
1278
+ export const Limits$inboundSchema: z.ZodMiniType<Limits, unknown> = z.pipe(
1279
+ z.object({
1280
+ connection_request: ConnectionRequest$inboundSchema,
1281
+ message: GetMyLimitsMessage$inboundSchema,
1282
+ profile_visit: ProfileVisit$inboundSchema,
1283
+ scraping: z.lazy(() => Scraping$inboundSchema),
1284
+ }),
1285
+ z.transform((v) => {
1286
+ return remap$(v, {
1287
+ "connection_request": "connectionRequest",
1288
+ "profile_visit": "profileVisit",
1289
+ });
1290
+ }),
1291
+ );
1292
+
1293
+ export function limitsFromJSON(
1294
+ jsonString: string,
1295
+ ): SafeParseResult<Limits, SDKValidationError> {
1296
+ return safeParse(
1297
+ jsonString,
1298
+ (x) => Limits$inboundSchema.parse(JSON.parse(x)),
1299
+ `Failed to parse 'Limits' from JSON`,
1300
+ );
1301
+ }
1302
+
1303
+ /** @internal */
1304
+ export const GetMyLimitsResponse$inboundSchema: z.ZodMiniType<
1305
+ GetMyLimitsResponse,
1306
+ unknown
1307
+ > = z.object({
1308
+ success: types.literal(true),
1309
+ multiplier: types.number(),
1310
+ limits: z.lazy(() => Limits$inboundSchema),
1311
+ creditsUsed: types.number(),
1312
+ retryAfter: types.number(),
1313
+ });
1314
+
1315
+ export function getMyLimitsResponseFromJSON(
1316
+ jsonString: string,
1317
+ ): SafeParseResult<GetMyLimitsResponse, SDKValidationError> {
1318
+ return safeParse(
1319
+ jsonString,
1320
+ (x) => GetMyLimitsResponse$inboundSchema.parse(JSON.parse(x)),
1321
+ `Failed to parse 'GetMyLimitsResponse' from JSON`,
1322
+ );
1323
+ }
1324
+
1325
+ /** @internal */
1326
+ export const Credits$inboundSchema: z.ZodMiniType<Credits, unknown> = z.object({
1327
+ current: types.number(),
1328
+ limit: types.nullable(types.number()),
1329
+ remaining: types.nullable(types.number()),
1330
+ percentage: types.number(),
1331
+ isUnlimited: types.boolean(),
1332
+ });
1333
+
1334
+ export function creditsFromJSON(
1335
+ jsonString: string,
1336
+ ): SafeParseResult<Credits, SDKValidationError> {
1337
+ return safeParse(
1338
+ jsonString,
1339
+ (x) => Credits$inboundSchema.parse(JSON.parse(x)),
1340
+ `Failed to parse 'Credits' from JSON`,
1341
+ );
1342
+ }
1343
+
1344
+ /** @internal */
1345
+ export const GetMyCreditsResponse$inboundSchema: z.ZodMiniType<
1346
+ GetMyCreditsResponse,
1347
+ unknown
1348
+ > = z.object({
1349
+ success: types.literal(true),
1350
+ credits: z.lazy(() => Credits$inboundSchema),
1351
+ creditsUsed: types.number(),
1352
+ retryAfter: types.number(),
1353
+ });
1354
+
1355
+ export function getMyCreditsResponseFromJSON(
1356
+ jsonString: string,
1357
+ ): SafeParseResult<GetMyCreditsResponse, SDKValidationError> {
1358
+ return safeParse(
1359
+ jsonString,
1360
+ (x) => GetMyCreditsResponse$inboundSchema.parse(JSON.parse(x)),
1361
+ `Failed to parse 'GetMyCreditsResponse' from JSON`,
1362
+ );
1363
+ }
1364
+
1365
+ /** @internal */
1366
+ export type GetLinkedInProfileViewsRequest$Outbound = {};
1367
+
1368
+ /** @internal */
1369
+ export const GetLinkedInProfileViewsRequest$outboundSchema: z.ZodMiniType<
1370
+ GetLinkedInProfileViewsRequest$Outbound,
1371
+ GetLinkedInProfileViewsRequest
1372
+ > = z.object({});
1373
+
1374
+ export function getLinkedInProfileViewsRequestToJSON(
1375
+ getLinkedInProfileViewsRequest: GetLinkedInProfileViewsRequest,
1376
+ ): string {
1377
+ return JSON.stringify(
1378
+ GetLinkedInProfileViewsRequest$outboundSchema.parse(
1379
+ getLinkedInProfileViewsRequest,
1380
+ ),
1381
+ );
1382
+ }
1383
+
1384
+ /** @internal */
1385
+ export const GetLinkedInProfileViewsResponse$inboundSchema: z.ZodMiniType<
1386
+ GetLinkedInProfileViewsResponse,
1387
+ unknown
1388
+ > = z.object({
1389
+ success: types.literal(true),
1390
+ views: z.array(z.any()),
1391
+ total: types.number(),
1392
+ creditsUsed: types.number(),
1393
+ retryAfter: types.number(),
1394
+ });
1395
+
1396
+ export function getLinkedInProfileViewsResponseFromJSON(
1397
+ jsonString: string,
1398
+ ): SafeParseResult<GetLinkedInProfileViewsResponse, SDKValidationError> {
1399
+ return safeParse(
1400
+ jsonString,
1401
+ (x) => GetLinkedInProfileViewsResponse$inboundSchema.parse(JSON.parse(x)),
1402
+ `Failed to parse 'GetLinkedInProfileViewsResponse' from JSON`,
1403
+ );
1404
+ }
1405
+
1406
+ /** @internal */
1407
+ export type GetLinkedInSearchAppearancesRequest$Outbound = {};
1408
+
1409
+ /** @internal */
1410
+ export const GetLinkedInSearchAppearancesRequest$outboundSchema: z.ZodMiniType<
1411
+ GetLinkedInSearchAppearancesRequest$Outbound,
1412
+ GetLinkedInSearchAppearancesRequest
1413
+ > = z.object({});
1414
+
1415
+ export function getLinkedInSearchAppearancesRequestToJSON(
1416
+ getLinkedInSearchAppearancesRequest: GetLinkedInSearchAppearancesRequest,
1417
+ ): string {
1418
+ return JSON.stringify(
1419
+ GetLinkedInSearchAppearancesRequest$outboundSchema.parse(
1420
+ getLinkedInSearchAppearancesRequest,
1421
+ ),
1422
+ );
1423
+ }
1424
+
1425
+ /** @internal */
1426
+ export const GetLinkedInSearchAppearancesResponse$inboundSchema: z.ZodMiniType<
1427
+ GetLinkedInSearchAppearancesResponse,
1428
+ unknown
1429
+ > = z.object({
1430
+ success: types.literal(true),
1431
+ appearances: z.any(),
1432
+ creditsUsed: types.number(),
1433
+ retryAfter: types.number(),
1434
+ });
1435
+
1436
+ export function getLinkedInSearchAppearancesResponseFromJSON(
1437
+ jsonString: string,
1438
+ ): SafeParseResult<GetLinkedInSearchAppearancesResponse, SDKValidationError> {
1439
+ return safeParse(
1440
+ jsonString,
1441
+ (x) =>
1442
+ GetLinkedInSearchAppearancesResponse$inboundSchema.parse(JSON.parse(x)),
1443
+ `Failed to parse 'GetLinkedInSearchAppearancesResponse' from JSON`,
1444
+ );
1445
+ }
1446
+
1447
+ /** @internal */
1448
+ export type GetLinkedInPostAnalyticsRequest$Outbound = {
1449
+ postUrl: string;
1450
+ };
1451
+
1452
+ /** @internal */
1453
+ export const GetLinkedInPostAnalyticsRequest$outboundSchema: z.ZodMiniType<
1454
+ GetLinkedInPostAnalyticsRequest$Outbound,
1455
+ GetLinkedInPostAnalyticsRequest
1456
+ > = z.object({
1457
+ postUrl: z.string(),
1458
+ });
1459
+
1460
+ export function getLinkedInPostAnalyticsRequestToJSON(
1461
+ getLinkedInPostAnalyticsRequest: GetLinkedInPostAnalyticsRequest,
1462
+ ): string {
1463
+ return JSON.stringify(
1464
+ GetLinkedInPostAnalyticsRequest$outboundSchema.parse(
1465
+ getLinkedInPostAnalyticsRequest,
1466
+ ),
1467
+ );
1468
+ }
1469
+
1470
+ /** @internal */
1471
+ export const GetLinkedInPostAnalyticsResponse$inboundSchema: z.ZodMiniType<
1472
+ GetLinkedInPostAnalyticsResponse,
1473
+ unknown
1474
+ > = z.object({
1475
+ success: types.literal(true),
1476
+ analytics: z.any(),
1477
+ creditsUsed: types.number(),
1478
+ retryAfter: types.number(),
1479
+ });
1480
+
1481
+ export function getLinkedInPostAnalyticsResponseFromJSON(
1482
+ jsonString: string,
1483
+ ): SafeParseResult<GetLinkedInPostAnalyticsResponse, SDKValidationError> {
1484
+ return safeParse(
1485
+ jsonString,
1486
+ (x) => GetLinkedInPostAnalyticsResponse$inboundSchema.parse(JSON.parse(x)),
1487
+ `Failed to parse 'GetLinkedInPostAnalyticsResponse' from JSON`,
1488
+ );
1489
+ }
1490
+
1491
+ /** @internal */
1492
+ export type GetLinkedInFollowerAnalyticsRequest$Outbound = {};
1493
+
1494
+ /** @internal */
1495
+ export const GetLinkedInFollowerAnalyticsRequest$outboundSchema: z.ZodMiniType<
1496
+ GetLinkedInFollowerAnalyticsRequest$Outbound,
1497
+ GetLinkedInFollowerAnalyticsRequest
1498
+ > = z.object({});
1499
+
1500
+ export function getLinkedInFollowerAnalyticsRequestToJSON(
1501
+ getLinkedInFollowerAnalyticsRequest: GetLinkedInFollowerAnalyticsRequest,
1502
+ ): string {
1503
+ return JSON.stringify(
1504
+ GetLinkedInFollowerAnalyticsRequest$outboundSchema.parse(
1505
+ getLinkedInFollowerAnalyticsRequest,
1506
+ ),
1507
+ );
1508
+ }
1509
+
1510
+ /** @internal */
1511
+ export const GetLinkedInFollowerAnalyticsResponse$inboundSchema: z.ZodMiniType<
1512
+ GetLinkedInFollowerAnalyticsResponse,
1513
+ unknown
1514
+ > = z.object({
1515
+ success: types.literal(true),
1516
+ analytics: z.any(),
1517
+ creditsUsed: types.number(),
1518
+ retryAfter: types.number(),
1519
+ });
1520
+
1521
+ export function getLinkedInFollowerAnalyticsResponseFromJSON(
1522
+ jsonString: string,
1523
+ ): SafeParseResult<GetLinkedInFollowerAnalyticsResponse, SDKValidationError> {
1524
+ return safeParse(
1525
+ jsonString,
1526
+ (x) =>
1527
+ GetLinkedInFollowerAnalyticsResponse$inboundSchema.parse(JSON.parse(x)),
1528
+ `Failed to parse 'GetLinkedInFollowerAnalyticsResponse' from JSON`,
1529
+ );
1530
+ }
1531
+
1532
+ /** @internal */
1533
+ export const Page$inboundSchema: z.ZodMiniType<Page, unknown> = z.object({
1534
+ id: types.string(),
1535
+ universalName: types.string(),
1536
+ name: types.string(),
1537
+ url: types.string(),
1538
+ logoUrl: types.nullable(types.string()),
1539
+ followerCount: types.nullable(types.number()),
1540
+ industry: types.nullable(types.string()),
1541
+ employeeCount: types.nullable(types.number()),
1542
+ adminRole: types.nullable(types.string()),
1543
+ });
1544
+
1545
+ export function pageFromJSON(
1546
+ jsonString: string,
1547
+ ): SafeParseResult<Page, SDKValidationError> {
1548
+ return safeParse(
1549
+ jsonString,
1550
+ (x) => Page$inboundSchema.parse(JSON.parse(x)),
1551
+ `Failed to parse 'Page' from JSON`,
1552
+ );
1553
+ }
1554
+
1555
+ /** @internal */
1556
+ export const ListLinkedInCompanyPagesResponse$inboundSchema: z.ZodMiniType<
1557
+ ListLinkedInCompanyPagesResponse,
1558
+ unknown
1559
+ > = z.object({
1560
+ success: types.literal(true),
1561
+ pages: z.array(z.lazy(() => Page$inboundSchema)),
1562
+ total: types.number(),
1563
+ creditsUsed: types.number(),
1564
+ retryAfter: types.number(),
1565
+ });
1566
+
1567
+ export function listLinkedInCompanyPagesResponseFromJSON(
1568
+ jsonString: string,
1569
+ ): SafeParseResult<ListLinkedInCompanyPagesResponse, SDKValidationError> {
1570
+ return safeParse(
1571
+ jsonString,
1572
+ (x) => ListLinkedInCompanyPagesResponse$inboundSchema.parse(JSON.parse(x)),
1573
+ `Failed to parse 'ListLinkedInCompanyPagesResponse' from JSON`,
1574
+ );
1575
+ }
1576
+
1577
+ /** @internal */
1578
+ export type GetCompanyPagePostsRequest$Outbound = {
1579
+ universalName: string;
1580
+ count: number;
1581
+ start: number;
1582
+ };
1583
+
1584
+ /** @internal */
1585
+ export const GetCompanyPagePostsRequest$outboundSchema: z.ZodMiniType<
1586
+ GetCompanyPagePostsRequest$Outbound,
1587
+ GetCompanyPagePostsRequest
1588
+ > = z.object({
1589
+ universalName: z.string(),
1590
+ count: z._default(z.int(), 10),
1591
+ start: z._default(z.int(), 0),
1592
+ });
1593
+
1594
+ export function getCompanyPagePostsRequestToJSON(
1595
+ getCompanyPagePostsRequest: GetCompanyPagePostsRequest,
1596
+ ): string {
1597
+ return JSON.stringify(
1598
+ GetCompanyPagePostsRequest$outboundSchema.parse(getCompanyPagePostsRequest),
1599
+ );
1600
+ }
1601
+
1602
+ /** @internal */
1603
+ export const GetCompanyPagePostsPost$inboundSchema: z.ZodMiniType<
1604
+ GetCompanyPagePostsPost,
1605
+ unknown
1606
+ > = z.object({
1607
+ activityUrn: types.string(),
1608
+ postUrl: types.string(),
1609
+ text: types.nullable(types.string()),
1610
+ publishedAt: types.nullable(types.number()),
1611
+ numLikes: types.nullable(types.number()),
1612
+ numComments: types.nullable(types.number()),
1613
+ });
1614
+
1615
+ export function getCompanyPagePostsPostFromJSON(
1616
+ jsonString: string,
1617
+ ): SafeParseResult<GetCompanyPagePostsPost, SDKValidationError> {
1618
+ return safeParse(
1619
+ jsonString,
1620
+ (x) => GetCompanyPagePostsPost$inboundSchema.parse(JSON.parse(x)),
1621
+ `Failed to parse 'GetCompanyPagePostsPost' from JSON`,
1622
+ );
1623
+ }
1624
+
1625
+ /** @internal */
1626
+ export const GetCompanyPagePostsResponse$inboundSchema: z.ZodMiniType<
1627
+ GetCompanyPagePostsResponse,
1628
+ unknown
1629
+ > = z.object({
1630
+ success: types.literal(true),
1631
+ posts: z.array(z.lazy(() => GetCompanyPagePostsPost$inboundSchema)),
1632
+ total: types.number(),
1633
+ creditsUsed: types.number(),
1634
+ retryAfter: types.number(),
1635
+ });
1636
+
1637
+ export function getCompanyPagePostsResponseFromJSON(
1638
+ jsonString: string,
1639
+ ): SafeParseResult<GetCompanyPagePostsResponse, SDKValidationError> {
1640
+ return safeParse(
1641
+ jsonString,
1642
+ (x) => GetCompanyPagePostsResponse$inboundSchema.parse(JSON.parse(x)),
1643
+ `Failed to parse 'GetCompanyPagePostsResponse' from JSON`,
1644
+ );
1645
+ }
1646
+
1647
+ /** @internal */
1648
+ export type GetCompanyPagePermissionsRequest$Outbound = {
1649
+ universalName: string;
1650
+ };
1651
+
1652
+ /** @internal */
1653
+ export const GetCompanyPagePermissionsRequest$outboundSchema: z.ZodMiniType<
1654
+ GetCompanyPagePermissionsRequest$Outbound,
1655
+ GetCompanyPagePermissionsRequest
1656
+ > = z.object({
1657
+ universalName: z.string(),
1658
+ });
1659
+
1660
+ export function getCompanyPagePermissionsRequestToJSON(
1661
+ getCompanyPagePermissionsRequest: GetCompanyPagePermissionsRequest,
1662
+ ): string {
1663
+ return JSON.stringify(
1664
+ GetCompanyPagePermissionsRequest$outboundSchema.parse(
1665
+ getCompanyPagePermissionsRequest,
1666
+ ),
1667
+ );
1668
+ }
1669
+
1670
+ /** @internal */
1671
+ export const Permissions$inboundSchema: z.ZodMiniType<Permissions, unknown> = z
1672
+ .object({
1673
+ role: types.nullable(types.string()),
1674
+ canCreateOrganicShare: types.boolean(),
1675
+ canCreateComment: types.boolean(),
1676
+ canCreateReaction: types.boolean(),
1677
+ canDeleteShare: types.boolean(),
1678
+ canPinShare: types.boolean(),
1679
+ canSendMessages: types.boolean(),
1680
+ canReadMessages: types.boolean(),
1681
+ canReadAdminDashboard: types.boolean(),
1682
+ canReadOrganizationUpdateAnalytics: types.boolean(),
1683
+ canReadOrganizationVisitorAnalytics: types.boolean(),
1684
+ canReadOrganizationFollowerAnalytics: types.boolean(),
1685
+ canReadOrganizationSearchAppearanceAnalytics: types.boolean(),
1686
+ canUpdateOrganizationProfile: types.boolean(),
1687
+ canEditAdministrators: types.boolean(),
1688
+ canDeactivateOrganization: types.boolean(),
1689
+ canEditEvents: types.boolean(),
1690
+ canReadEvents: types.boolean(),
1691
+ canSponsorShare: types.boolean(),
1692
+ canManageCareerPages: types.boolean(),
1693
+ canManageMessagingAccess: types.boolean(),
1694
+ canNotifyEmployees: types.boolean(),
1695
+ canExportLeads: types.boolean(),
1696
+ });
1697
+
1698
+ export function permissionsFromJSON(
1699
+ jsonString: string,
1700
+ ): SafeParseResult<Permissions, SDKValidationError> {
1701
+ return safeParse(
1702
+ jsonString,
1703
+ (x) => Permissions$inboundSchema.parse(JSON.parse(x)),
1704
+ `Failed to parse 'Permissions' from JSON`,
1705
+ );
1706
+ }
1707
+
1708
+ /** @internal */
1709
+ export const GetCompanyPagePermissionsResponse$inboundSchema: z.ZodMiniType<
1710
+ GetCompanyPagePermissionsResponse,
1711
+ unknown
1712
+ > = z.object({
1713
+ success: types.literal(true),
1714
+ universalName: types.string(),
1715
+ permissions: z.lazy(() => Permissions$inboundSchema),
1716
+ creditsUsed: types.number(),
1717
+ retryAfter: types.number(),
1718
+ });
1719
+
1720
+ export function getCompanyPagePermissionsResponseFromJSON(
1721
+ jsonString: string,
1722
+ ): SafeParseResult<GetCompanyPagePermissionsResponse, SDKValidationError> {
1723
+ return safeParse(
1724
+ jsonString,
1725
+ (x) => GetCompanyPagePermissionsResponse$inboundSchema.parse(JSON.parse(x)),
1726
+ `Failed to parse 'GetCompanyPagePermissionsResponse' from JSON`,
1727
+ );
1728
+ }
1729
+
1730
+ /** @internal */
1731
+ export type GetCompanyPageAnalyticsRequest$Outbound = {
1732
+ companyId: string;
1733
+ };
1734
+
1735
+ /** @internal */
1736
+ export const GetCompanyPageAnalyticsRequest$outboundSchema: z.ZodMiniType<
1737
+ GetCompanyPageAnalyticsRequest$Outbound,
1738
+ GetCompanyPageAnalyticsRequest
1739
+ > = z.object({
1740
+ companyId: z.string(),
1741
+ });
1742
+
1743
+ export function getCompanyPageAnalyticsRequestToJSON(
1744
+ getCompanyPageAnalyticsRequest: GetCompanyPageAnalyticsRequest,
1745
+ ): string {
1746
+ return JSON.stringify(
1747
+ GetCompanyPageAnalyticsRequest$outboundSchema.parse(
1748
+ getCompanyPageAnalyticsRequest,
1749
+ ),
1750
+ );
1751
+ }
1752
+
1753
+ /** @internal */
1754
+ export const GetCompanyPageAnalyticsFoundedOn$inboundSchema: z.ZodMiniType<
1755
+ GetCompanyPageAnalyticsFoundedOn,
1756
+ unknown
1757
+ > = z.object({
1758
+ year: types.number(),
1759
+ month: types.optional(types.number()),
1760
+ day: types.optional(types.number()),
1761
+ });
1762
+
1763
+ export function getCompanyPageAnalyticsFoundedOnFromJSON(
1764
+ jsonString: string,
1765
+ ): SafeParseResult<GetCompanyPageAnalyticsFoundedOn, SDKValidationError> {
1766
+ return safeParse(
1767
+ jsonString,
1768
+ (x) => GetCompanyPageAnalyticsFoundedOn$inboundSchema.parse(JSON.parse(x)),
1769
+ `Failed to parse 'GetCompanyPageAnalyticsFoundedOn' from JSON`,
1770
+ );
1771
+ }
1772
+
1773
+ /** @internal */
1774
+ export const GetCompanyPageAnalyticsHeadquarter$inboundSchema: z.ZodMiniType<
1775
+ GetCompanyPageAnalyticsHeadquarter,
1776
+ unknown
1777
+ > = z.object({
1778
+ city: types.string(),
1779
+ country: types.string(),
1780
+ line1: types.optional(types.string()),
1781
+ postalCode: types.optional(types.string()),
1782
+ });
1783
+
1784
+ export function getCompanyPageAnalyticsHeadquarterFromJSON(
1785
+ jsonString: string,
1786
+ ): SafeParseResult<GetCompanyPageAnalyticsHeadquarter, SDKValidationError> {
1787
+ return safeParse(
1788
+ jsonString,
1789
+ (x) =>
1790
+ GetCompanyPageAnalyticsHeadquarter$inboundSchema.parse(JSON.parse(x)),
1791
+ `Failed to parse 'GetCompanyPageAnalyticsHeadquarter' from JSON`,
1792
+ );
1793
+ }
1794
+
1795
+ /** @internal */
1796
+ export const Analytics$inboundSchema: z.ZodMiniType<Analytics, unknown> = z
1797
+ .object({
1798
+ name: types.string(),
1799
+ universalName: types.string(),
1800
+ followerCount: types.nullable(types.number()),
1801
+ employeeCount: types.nullable(types.number()),
1802
+ visitorsInPastMonthCount: types.nullable(types.number()),
1803
+ isActive: types.boolean(),
1804
+ foundedOn: types.nullable(
1805
+ z.lazy(() => GetCompanyPageAnalyticsFoundedOn$inboundSchema),
1806
+ ),
1807
+ headquarter: types.nullable(
1808
+ z.lazy(() => GetCompanyPageAnalyticsHeadquarter$inboundSchema),
1809
+ ),
1810
+ description: types.nullable(types.string()),
1811
+ tagline: types.nullable(types.string()),
1812
+ websiteUrl: types.nullable(types.string()),
1813
+ organizationType: types.nullable(types.string()),
1814
+ specialities: z.array(types.string()),
1815
+ industryUrns: z.array(types.string()),
1816
+ });
1817
+
1818
+ export function analyticsFromJSON(
1819
+ jsonString: string,
1820
+ ): SafeParseResult<Analytics, SDKValidationError> {
1821
+ return safeParse(
1822
+ jsonString,
1823
+ (x) => Analytics$inboundSchema.parse(JSON.parse(x)),
1824
+ `Failed to parse 'Analytics' from JSON`,
1825
+ );
1826
+ }
1827
+
1828
+ /** @internal */
1829
+ export const GetCompanyPageAnalyticsResponse$inboundSchema: z.ZodMiniType<
1830
+ GetCompanyPageAnalyticsResponse,
1831
+ unknown
1832
+ > = z.object({
1833
+ success: types.literal(true),
1834
+ analytics: z.lazy(() => Analytics$inboundSchema),
1835
+ creditsUsed: types.number(),
1836
+ retryAfter: types.number(),
1837
+ });
1838
+
1839
+ export function getCompanyPageAnalyticsResponseFromJSON(
1840
+ jsonString: string,
1841
+ ): SafeParseResult<GetCompanyPageAnalyticsResponse, SDKValidationError> {
1842
+ return safeParse(
1843
+ jsonString,
1844
+ (x) => GetCompanyPageAnalyticsResponse$inboundSchema.parse(JSON.parse(x)),
1845
+ `Failed to parse 'GetCompanyPageAnalyticsResponse' from JSON`,
1846
+ );
1847
+ }
1848
+
1849
+ /** @internal */
1850
+ export type ListInboxConversationsRequest$Outbound = {
1851
+ nextCursor?: string | undefined;
1852
+ };
1853
+
1854
+ /** @internal */
1855
+ export const ListInboxConversationsRequest$outboundSchema: z.ZodMiniType<
1856
+ ListInboxConversationsRequest$Outbound,
1857
+ ListInboxConversationsRequest
1858
+ > = z.object({
1859
+ nextCursor: z.optional(z.string()),
1860
+ });
1861
+
1862
+ export function listInboxConversationsRequestToJSON(
1863
+ listInboxConversationsRequest: ListInboxConversationsRequest,
1864
+ ): string {
1865
+ return JSON.stringify(
1866
+ ListInboxConversationsRequest$outboundSchema.parse(
1867
+ listInboxConversationsRequest,
1868
+ ),
1869
+ );
1870
+ }
1871
+
1872
+ /** @internal */
1873
+ export const ListInboxConversationsParticipant$inboundSchema: z.ZodMiniType<
1874
+ ListInboxConversationsParticipant,
1875
+ unknown
1876
+ > = z.object({
1877
+ profileUrn: types.string(),
1878
+ firstName: types.string(),
1879
+ lastName: types.string(),
1880
+ profileUrl: types.nullable(types.string()),
1881
+ headline: types.nullable(types.string()),
1882
+ profilePicture: types.nullable(types.string()),
1883
+ publicIdentifier: types.nullable(types.string()),
1884
+ });
1885
+
1886
+ export function listInboxConversationsParticipantFromJSON(
1887
+ jsonString: string,
1888
+ ): SafeParseResult<ListInboxConversationsParticipant, SDKValidationError> {
1889
+ return safeParse(
1890
+ jsonString,
1891
+ (x) => ListInboxConversationsParticipant$inboundSchema.parse(JSON.parse(x)),
1892
+ `Failed to parse 'ListInboxConversationsParticipant' from JSON`,
1893
+ );
1894
+ }
1895
+
1896
+ /** @internal */
1897
+ export const ListInboxConversationsLastMessage$inboundSchema: z.ZodMiniType<
1898
+ ListInboxConversationsLastMessage,
1899
+ unknown
1900
+ > = z.object({
1901
+ text: types.nullable(types.string()),
1902
+ deliveredAt: types.number(),
1903
+ senderProfileUrn: types.string(),
1904
+ });
1905
+
1906
+ export function listInboxConversationsLastMessageFromJSON(
1907
+ jsonString: string,
1908
+ ): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError> {
1909
+ return safeParse(
1910
+ jsonString,
1911
+ (x) => ListInboxConversationsLastMessage$inboundSchema.parse(JSON.parse(x)),
1912
+ `Failed to parse 'ListInboxConversationsLastMessage' from JSON`,
1913
+ );
1914
+ }
1915
+
1916
+ /** @internal */
1917
+ export const ListInboxConversationsConversation$inboundSchema: z.ZodMiniType<
1918
+ ListInboxConversationsConversation,
1919
+ unknown
1920
+ > = z.object({
1921
+ conversationUrn: types.string(),
1922
+ conversationUrl: types.string(),
1923
+ lastActivityAt: types.number(),
1924
+ createdAt: types.number(),
1925
+ read: types.boolean(),
1926
+ unreadCount: types.number(),
1927
+ groupChat: types.boolean(),
1928
+ participants: z.array(
1929
+ z.lazy(() => ListInboxConversationsParticipant$inboundSchema),
1930
+ ),
1931
+ lastMessage: types.nullable(
1932
+ z.lazy(() => ListInboxConversationsLastMessage$inboundSchema),
1933
+ ),
1934
+ });
1935
+
1936
+ export function listInboxConversationsConversationFromJSON(
1937
+ jsonString: string,
1938
+ ): SafeParseResult<ListInboxConversationsConversation, SDKValidationError> {
1939
+ return safeParse(
1940
+ jsonString,
1941
+ (x) =>
1942
+ ListInboxConversationsConversation$inboundSchema.parse(JSON.parse(x)),
1943
+ `Failed to parse 'ListInboxConversationsConversation' from JSON`,
1944
+ );
1945
+ }
1946
+
1947
+ /** @internal */
1948
+ export const ListInboxConversationsResponse$inboundSchema: z.ZodMiniType<
1949
+ ListInboxConversationsResponse,
1950
+ unknown
1951
+ > = z.object({
1952
+ success: types.literal(true),
1953
+ conversations: z.array(
1954
+ z.lazy(() => ListInboxConversationsConversation$inboundSchema),
1955
+ ),
1956
+ nextCursor: types.nullable(types.string()),
1957
+ creditsUsed: types.number(),
1958
+ retryAfter: types.number(),
1959
+ });
1960
+
1961
+ export function listInboxConversationsResponseFromJSON(
1962
+ jsonString: string,
1963
+ ): SafeParseResult<ListInboxConversationsResponse, SDKValidationError> {
1964
+ return safeParse(
1965
+ jsonString,
1966
+ (x) => ListInboxConversationsResponse$inboundSchema.parse(JSON.parse(x)),
1967
+ `Failed to parse 'ListInboxConversationsResponse' from JSON`,
1968
+ );
1969
+ }
1970
+
1971
+ /** @internal */
1972
+ export type GetConversationMessagesRequest$Outbound = {
1973
+ conversationUrn: string;
1974
+ deliveredAt?: number | undefined;
1975
+ };
1976
+
1977
+ /** @internal */
1978
+ export const GetConversationMessagesRequest$outboundSchema: z.ZodMiniType<
1979
+ GetConversationMessagesRequest$Outbound,
1980
+ GetConversationMessagesRequest
1981
+ > = z.object({
1982
+ conversationUrn: z.string(),
1983
+ deliveredAt: z.optional(z.int()),
1984
+ });
1985
+
1986
+ export function getConversationMessagesRequestToJSON(
1987
+ getConversationMessagesRequest: GetConversationMessagesRequest,
1988
+ ): string {
1989
+ return JSON.stringify(
1990
+ GetConversationMessagesRequest$outboundSchema.parse(
1991
+ getConversationMessagesRequest,
1992
+ ),
1993
+ );
1994
+ }
1995
+
1996
+ /** @internal */
1997
+ export const GetConversationMessagesSender$inboundSchema: z.ZodMiniType<
1998
+ GetConversationMessagesSender,
1999
+ unknown
2000
+ > = z.object({
2001
+ firstName: types.string(),
2002
+ lastName: types.string(),
2003
+ profileUrl: types.nullable(types.string()),
2004
+ headline: types.nullable(types.string()),
2005
+ profilePicture: types.nullable(types.string()),
2006
+ publicIdentifier: types.nullable(types.string()),
2007
+ profileUrn: types.nullable(types.string()),
2008
+ });
2009
+
2010
+ export function getConversationMessagesSenderFromJSON(
2011
+ jsonString: string,
2012
+ ): SafeParseResult<GetConversationMessagesSender, SDKValidationError> {
2013
+ return safeParse(
2014
+ jsonString,
2015
+ (x) => GetConversationMessagesSender$inboundSchema.parse(JSON.parse(x)),
2016
+ `Failed to parse 'GetConversationMessagesSender' from JSON`,
2017
+ );
2018
+ }
2019
+
2020
+ /** @internal */
2021
+ export const GetConversationMessagesType$inboundSchema: z.ZodMiniType<
2022
+ GetConversationMessagesType,
2023
+ unknown
2024
+ > = openEnums.inboundSchema(GetConversationMessagesType);
2025
+
2026
+ /** @internal */
2027
+ export const GetConversationMessagesAttachment$inboundSchema: z.ZodMiniType<
2028
+ GetConversationMessagesAttachment,
2029
+ unknown
2030
+ > = z.object({
2031
+ type: GetConversationMessagesType$inboundSchema,
2032
+ audioUrl: types.optional(types.string()),
2033
+ audioDuration: types.optional(types.number()),
2034
+ hostUrn: types.optional(types.string()),
2035
+ repliedText: types.optional(types.string()),
2036
+ repliedSenderName: types.optional(types.string()),
2037
+ imageUrl: types.optional(types.string()),
2038
+ fileName: types.optional(types.string()),
2039
+ fileUrl: types.optional(types.string()),
2040
+ });
2041
+
2042
+ export function getConversationMessagesAttachmentFromJSON(
2043
+ jsonString: string,
2044
+ ): SafeParseResult<GetConversationMessagesAttachment, SDKValidationError> {
2045
+ return safeParse(
2046
+ jsonString,
2047
+ (x) => GetConversationMessagesAttachment$inboundSchema.parse(JSON.parse(x)),
2048
+ `Failed to parse 'GetConversationMessagesAttachment' from JSON`,
2049
+ );
2050
+ }
2051
+
2052
+ /** @internal */
2053
+ export const GetConversationMessagesMessage$inboundSchema: z.ZodMiniType<
2054
+ GetConversationMessagesMessage,
2055
+ unknown
2056
+ > = z.object({
2057
+ messageUrn: types.string(),
2058
+ text: types.nullable(types.string()),
2059
+ deliveredAt: types.number(),
2060
+ senderProfileUrn: types.string(),
2061
+ sender: z.lazy(() => GetConversationMessagesSender$inboundSchema),
2062
+ attachments: z.array(
2063
+ z.lazy(() => GetConversationMessagesAttachment$inboundSchema),
2064
+ ),
2065
+ });
2066
+
2067
+ export function getConversationMessagesMessageFromJSON(
2068
+ jsonString: string,
2069
+ ): SafeParseResult<GetConversationMessagesMessage, SDKValidationError> {
2070
+ return safeParse(
2071
+ jsonString,
2072
+ (x) => GetConversationMessagesMessage$inboundSchema.parse(JSON.parse(x)),
2073
+ `Failed to parse 'GetConversationMessagesMessage' from JSON`,
2074
+ );
2075
+ }
2076
+
2077
+ /** @internal */
2078
+ export const GetConversationMessagesResponse$inboundSchema: z.ZodMiniType<
2079
+ GetConversationMessagesResponse,
2080
+ unknown
2081
+ > = z.object({
2082
+ success: types.literal(true),
2083
+ messages: z.array(z.lazy(() => GetConversationMessagesMessage$inboundSchema)),
2084
+ prevCursor: types.nullable(types.number()),
2085
+ creditsUsed: types.number(),
2086
+ retryAfter: types.number(),
2087
+ });
2088
+
2089
+ export function getConversationMessagesResponseFromJSON(
2090
+ jsonString: string,
2091
+ ): SafeParseResult<GetConversationMessagesResponse, SDKValidationError> {
2092
+ return safeParse(
2093
+ jsonString,
2094
+ (x) => GetConversationMessagesResponse$inboundSchema.parse(JSON.parse(x)),
2095
+ `Failed to parse 'GetConversationMessagesResponse' from JSON`,
2096
+ );
2097
+ }
2098
+
2099
+ /** @internal */
2100
+ export type MarkAllConversationsReadRequest$Outbound = {};
2101
+
2102
+ /** @internal */
2103
+ export const MarkAllConversationsReadRequest$outboundSchema: z.ZodMiniType<
2104
+ MarkAllConversationsReadRequest$Outbound,
2105
+ MarkAllConversationsReadRequest
2106
+ > = z.object({});
2107
+
2108
+ export function markAllConversationsReadRequestToJSON(
2109
+ markAllConversationsReadRequest: MarkAllConversationsReadRequest,
2110
+ ): string {
2111
+ return JSON.stringify(
2112
+ MarkAllConversationsReadRequest$outboundSchema.parse(
2113
+ markAllConversationsReadRequest,
2114
+ ),
2115
+ );
2116
+ }
2117
+
2118
+ /** @internal */
2119
+ export const MarkAllConversationsReadResponse$inboundSchema: z.ZodMiniType<
2120
+ MarkAllConversationsReadResponse,
2121
+ unknown
2122
+ > = z.object({
2123
+ success: types.literal(true),
2124
+ creditsUsed: types.number(),
2125
+ retryAfter: types.number(),
2126
+ });
2127
+
2128
+ export function markAllConversationsReadResponseFromJSON(
2129
+ jsonString: string,
2130
+ ): SafeParseResult<MarkAllConversationsReadResponse, SDKValidationError> {
2131
+ return safeParse(
2132
+ jsonString,
2133
+ (x) => MarkAllConversationsReadResponse$inboundSchema.parse(JSON.parse(x)),
2134
+ `Failed to parse 'MarkAllConversationsReadResponse' from JSON`,
2135
+ );
2136
+ }
2137
+
2138
+ /** @internal */
2139
+ export type ListArchivedConversationsRequest$Outbound = {
2140
+ nextCursor?: string | undefined;
2141
+ };
2142
+
2143
+ /** @internal */
2144
+ export const ListArchivedConversationsRequest$outboundSchema: z.ZodMiniType<
2145
+ ListArchivedConversationsRequest$Outbound,
2146
+ ListArchivedConversationsRequest
2147
+ > = z.object({
2148
+ nextCursor: z.optional(z.string()),
2149
+ });
2150
+
2151
+ export function listArchivedConversationsRequestToJSON(
2152
+ listArchivedConversationsRequest: ListArchivedConversationsRequest,
2153
+ ): string {
2154
+ return JSON.stringify(
2155
+ ListArchivedConversationsRequest$outboundSchema.parse(
2156
+ listArchivedConversationsRequest,
2157
+ ),
2158
+ );
2159
+ }
2160
+
2161
+ /** @internal */
2162
+ export const ListArchivedConversationsParticipant$inboundSchema: z.ZodMiniType<
2163
+ ListArchivedConversationsParticipant,
2164
+ unknown
2165
+ > = z.object({
2166
+ profileUrn: types.string(),
2167
+ firstName: types.string(),
2168
+ lastName: types.string(),
2169
+ profileUrl: types.nullable(types.string()),
2170
+ headline: types.nullable(types.string()),
2171
+ profilePicture: types.nullable(types.string()),
2172
+ publicIdentifier: types.nullable(types.string()),
2173
+ });
2174
+
2175
+ export function listArchivedConversationsParticipantFromJSON(
2176
+ jsonString: string,
2177
+ ): SafeParseResult<ListArchivedConversationsParticipant, SDKValidationError> {
2178
+ return safeParse(
2179
+ jsonString,
2180
+ (x) =>
2181
+ ListArchivedConversationsParticipant$inboundSchema.parse(JSON.parse(x)),
2182
+ `Failed to parse 'ListArchivedConversationsParticipant' from JSON`,
2183
+ );
2184
+ }
2185
+
2186
+ /** @internal */
2187
+ export const ListArchivedConversationsLastMessage$inboundSchema: z.ZodMiniType<
2188
+ ListArchivedConversationsLastMessage,
2189
+ unknown
2190
+ > = z.object({
2191
+ text: types.nullable(types.string()),
2192
+ deliveredAt: types.number(),
2193
+ senderProfileUrn: types.string(),
2194
+ });
2195
+
2196
+ export function listArchivedConversationsLastMessageFromJSON(
2197
+ jsonString: string,
2198
+ ): SafeParseResult<ListArchivedConversationsLastMessage, SDKValidationError> {
2199
+ return safeParse(
2200
+ jsonString,
2201
+ (x) =>
2202
+ ListArchivedConversationsLastMessage$inboundSchema.parse(JSON.parse(x)),
2203
+ `Failed to parse 'ListArchivedConversationsLastMessage' from JSON`,
2204
+ );
2205
+ }
2206
+
2207
+ /** @internal */
2208
+ export const ListArchivedConversationsConversation$inboundSchema: z.ZodMiniType<
2209
+ ListArchivedConversationsConversation,
2210
+ unknown
2211
+ > = z.object({
2212
+ conversationUrn: types.string(),
2213
+ conversationUrl: types.string(),
2214
+ lastActivityAt: types.number(),
2215
+ createdAt: types.number(),
2216
+ read: types.boolean(),
2217
+ unreadCount: types.number(),
2218
+ groupChat: types.boolean(),
2219
+ participants: z.array(
2220
+ z.lazy(() => ListArchivedConversationsParticipant$inboundSchema),
2221
+ ),
2222
+ lastMessage: types.nullable(
2223
+ z.lazy(() => ListArchivedConversationsLastMessage$inboundSchema),
2224
+ ),
2225
+ });
2226
+
2227
+ export function listArchivedConversationsConversationFromJSON(
2228
+ jsonString: string,
2229
+ ): SafeParseResult<ListArchivedConversationsConversation, SDKValidationError> {
2230
+ return safeParse(
2231
+ jsonString,
2232
+ (x) =>
2233
+ ListArchivedConversationsConversation$inboundSchema.parse(JSON.parse(x)),
2234
+ `Failed to parse 'ListArchivedConversationsConversation' from JSON`,
2235
+ );
2236
+ }
2237
+
2238
+ /** @internal */
2239
+ export const ListArchivedConversationsResponse$inboundSchema: z.ZodMiniType<
2240
+ ListArchivedConversationsResponse,
2241
+ unknown
2242
+ > = z.object({
2243
+ success: types.literal(true),
2244
+ conversations: z.array(
2245
+ z.lazy(() => ListArchivedConversationsConversation$inboundSchema),
2246
+ ),
2247
+ nextCursor: types.nullable(types.string()),
2248
+ creditsUsed: types.number(),
2249
+ retryAfter: types.number(),
2250
+ });
2251
+
2252
+ export function listArchivedConversationsResponseFromJSON(
2253
+ jsonString: string,
2254
+ ): SafeParseResult<ListArchivedConversationsResponse, SDKValidationError> {
2255
+ return safeParse(
2256
+ jsonString,
2257
+ (x) => ListArchivedConversationsResponse$inboundSchema.parse(JSON.parse(x)),
2258
+ `Failed to parse 'ListArchivedConversationsResponse' from JSON`,
2259
+ );
2260
+ }
2261
+
2262
+ /** @internal */
2263
+ export type ReactToMessageRequest$Outbound = {
2264
+ messageUrn: string;
2265
+ emoji: string;
2266
+ conversationUrn: string;
2267
+ };
2268
+
2269
+ /** @internal */
2270
+ export const ReactToMessageRequest$outboundSchema: z.ZodMiniType<
2271
+ ReactToMessageRequest$Outbound,
2272
+ ReactToMessageRequest
2273
+ > = z.object({
2274
+ messageUrn: z.string(),
2275
+ emoji: z.string(),
2276
+ conversationUrn: z.string(),
2277
+ });
2278
+
2279
+ export function reactToMessageRequestToJSON(
2280
+ reactToMessageRequest: ReactToMessageRequest,
2281
+ ): string {
2282
+ return JSON.stringify(
2283
+ ReactToMessageRequest$outboundSchema.parse(reactToMessageRequest),
2284
+ );
2285
+ }
2286
+
2287
+ /** @internal */
2288
+ export const ReactToMessageResponse$inboundSchema: z.ZodMiniType<
2289
+ ReactToMessageResponse,
2290
+ unknown
2291
+ > = z.object({
2292
+ success: types.literal(true),
2293
+ creditsUsed: types.number(),
2294
+ retryAfter: types.number(),
2295
+ });
2296
+
2297
+ export function reactToMessageResponseFromJSON(
2298
+ jsonString: string,
2299
+ ): SafeParseResult<ReactToMessageResponse, SDKValidationError> {
2300
+ return safeParse(
2301
+ jsonString,
2302
+ (x) => ReactToMessageResponse$inboundSchema.parse(JSON.parse(x)),
2303
+ `Failed to parse 'ReactToMessageResponse' from JSON`,
2304
+ );
2305
+ }
2306
+
2307
+ /** @internal */
2308
+ export type SendTypingIndicatorRequest$Outbound = {
2309
+ conversationUrn: string;
2310
+ };
2311
+
2312
+ /** @internal */
2313
+ export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
2314
+ SendTypingIndicatorRequest$Outbound,
2315
+ SendTypingIndicatorRequest
2316
+ > = z.object({
2317
+ conversationUrn: z.string(),
2318
+ });
2319
+
2320
+ export function sendTypingIndicatorRequestToJSON(
2321
+ sendTypingIndicatorRequest: SendTypingIndicatorRequest,
2322
+ ): string {
2323
+ return JSON.stringify(
2324
+ SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
2325
+ );
2326
+ }
2327
+
2328
+ /** @internal */
2329
+ export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
2330
+ SendTypingIndicatorResponse,
2331
+ unknown
2332
+ > = z.object({
2333
+ success: types.literal(true),
2334
+ creditsUsed: types.number(),
2335
+ retryAfter: types.number(),
2336
+ });
2337
+
2338
+ export function sendTypingIndicatorResponseFromJSON(
2339
+ jsonString: string,
2340
+ ): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
2341
+ return safeParse(
2342
+ jsonString,
2343
+ (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
2344
+ `Failed to parse 'SendTypingIndicatorResponse' from JSON`,
2345
+ );
2346
+ }
2347
+
2348
+ /** @internal */
2349
+ export type GetUnreadCountRequest$Outbound = {};
2350
+
2351
+ /** @internal */
2352
+ export const GetUnreadCountRequest$outboundSchema: z.ZodMiniType<
2353
+ GetUnreadCountRequest$Outbound,
2354
+ GetUnreadCountRequest
2355
+ > = z.object({});
2356
+
2357
+ export function getUnreadCountRequestToJSON(
2358
+ getUnreadCountRequest: GetUnreadCountRequest,
2359
+ ): string {
2360
+ return JSON.stringify(
2361
+ GetUnreadCountRequest$outboundSchema.parse(getUnreadCountRequest),
2362
+ );
2363
+ }
2364
+
2365
+ /** @internal */
2366
+ export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
2367
+ GetUnreadCountResponse,
2368
+ unknown
2369
+ > = z.object({
2370
+ success: types.literal(true),
2371
+ unreadCount: types.number(),
2372
+ creditsUsed: types.number(),
2373
+ retryAfter: types.number(),
2374
+ });
2375
+
2376
+ export function getUnreadCountResponseFromJSON(
2377
+ jsonString: string,
2378
+ ): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
2379
+ return safeParse(
2380
+ jsonString,
2381
+ (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
2382
+ `Failed to parse 'GetUnreadCountResponse' from JSON`,
2383
+ );
2384
+ }
2385
+
2386
+ /** @internal */
2387
+ export type SearchLinkedInConversationsRequest$Outbound = {
2388
+ keywords: string;
2389
+ nextCursor?: string | undefined;
2390
+ };
2391
+
2392
+ /** @internal */
2393
+ export const SearchLinkedInConversationsRequest$outboundSchema: z.ZodMiniType<
2394
+ SearchLinkedInConversationsRequest$Outbound,
2395
+ SearchLinkedInConversationsRequest
2396
+ > = z.object({
2397
+ keywords: z.string(),
2398
+ nextCursor: z.optional(z.string()),
2399
+ });
2400
+
2401
+ export function searchLinkedInConversationsRequestToJSON(
2402
+ searchLinkedInConversationsRequest: SearchLinkedInConversationsRequest,
2403
+ ): string {
2404
+ return JSON.stringify(
2405
+ SearchLinkedInConversationsRequest$outboundSchema.parse(
2406
+ searchLinkedInConversationsRequest,
2407
+ ),
2408
+ );
2409
+ }
2410
+
2411
+ /** @internal */
2412
+ export const SearchLinkedInConversationsParticipant$inboundSchema:
2413
+ z.ZodMiniType<SearchLinkedInConversationsParticipant, unknown> = z.object({
2414
+ profileUrn: types.string(),
2415
+ firstName: types.string(),
2416
+ lastName: types.string(),
2417
+ profileUrl: types.nullable(types.string()),
2418
+ headline: types.nullable(types.string()),
2419
+ profilePicture: types.nullable(types.string()),
2420
+ publicIdentifier: types.nullable(types.string()),
2421
+ });
2422
+
2423
+ export function searchLinkedInConversationsParticipantFromJSON(
2424
+ jsonString: string,
2425
+ ): SafeParseResult<SearchLinkedInConversationsParticipant, SDKValidationError> {
2426
+ return safeParse(
2427
+ jsonString,
2428
+ (x) =>
2429
+ SearchLinkedInConversationsParticipant$inboundSchema.parse(JSON.parse(x)),
2430
+ `Failed to parse 'SearchLinkedInConversationsParticipant' from JSON`,
2431
+ );
2432
+ }
2433
+
2434
+ /** @internal */
2435
+ export const SearchLinkedInConversationsLastMessage$inboundSchema:
2436
+ z.ZodMiniType<SearchLinkedInConversationsLastMessage, unknown> = z.object({
2437
+ text: types.nullable(types.string()),
2438
+ deliveredAt: types.number(),
2439
+ senderProfileUrn: types.string(),
2440
+ });
2441
+
2442
+ export function searchLinkedInConversationsLastMessageFromJSON(
2443
+ jsonString: string,
2444
+ ): SafeParseResult<SearchLinkedInConversationsLastMessage, SDKValidationError> {
2445
+ return safeParse(
2446
+ jsonString,
2447
+ (x) =>
2448
+ SearchLinkedInConversationsLastMessage$inboundSchema.parse(JSON.parse(x)),
2449
+ `Failed to parse 'SearchLinkedInConversationsLastMessage' from JSON`,
2450
+ );
2451
+ }
2452
+
2453
+ /** @internal */
2454
+ export const SearchLinkedInConversationsConversation$inboundSchema:
2455
+ z.ZodMiniType<SearchLinkedInConversationsConversation, unknown> = z.object({
2456
+ conversationUrn: types.string(),
2457
+ conversationUrl: types.string(),
2458
+ lastActivityAt: types.number(),
2459
+ createdAt: types.number(),
2460
+ read: types.boolean(),
2461
+ unreadCount: types.number(),
2462
+ groupChat: types.boolean(),
2463
+ participants: z.array(
2464
+ z.lazy(() => SearchLinkedInConversationsParticipant$inboundSchema),
2465
+ ),
2466
+ lastMessage: types.nullable(
2467
+ z.lazy(() => SearchLinkedInConversationsLastMessage$inboundSchema),
2468
+ ),
2469
+ });
2470
+
2471
+ export function searchLinkedInConversationsConversationFromJSON(
2472
+ jsonString: string,
2473
+ ): SafeParseResult<
2474
+ SearchLinkedInConversationsConversation,
2475
+ SDKValidationError
2476
+ > {
2477
+ return safeParse(
2478
+ jsonString,
2479
+ (x) =>
2480
+ SearchLinkedInConversationsConversation$inboundSchema.parse(
2481
+ JSON.parse(x),
2482
+ ),
2483
+ `Failed to parse 'SearchLinkedInConversationsConversation' from JSON`,
2484
+ );
2485
+ }
2486
+
2487
+ /** @internal */
2488
+ export const SearchLinkedInConversationsResponse$inboundSchema: z.ZodMiniType<
2489
+ SearchLinkedInConversationsResponse,
2490
+ unknown
2491
+ > = z.object({
2492
+ success: types.literal(true),
2493
+ conversations: z.array(
2494
+ z.lazy(() => SearchLinkedInConversationsConversation$inboundSchema),
2495
+ ),
2496
+ nextCursor: types.nullable(types.string()),
2497
+ creditsUsed: types.number(),
2498
+ retryAfter: types.number(),
2499
+ });
2500
+
2501
+ export function searchLinkedInConversationsResponseFromJSON(
2502
+ jsonString: string,
2503
+ ): SafeParseResult<SearchLinkedInConversationsResponse, SDKValidationError> {
2504
+ return safeParse(
2505
+ jsonString,
2506
+ (x) =>
2507
+ SearchLinkedInConversationsResponse$inboundSchema.parse(JSON.parse(x)),
2508
+ `Failed to parse 'SearchLinkedInConversationsResponse' from JSON`,
2509
+ );
2510
+ }
2511
+
2512
+ /** @internal */
2513
+ export type FindLinkedInConversationRequest$Outbound = {
2514
+ profile: string;
2515
+ includeMessages: boolean;
2516
+ };
2517
+
2518
+ /** @internal */
2519
+ export const FindLinkedInConversationRequest$outboundSchema: z.ZodMiniType<
2520
+ FindLinkedInConversationRequest$Outbound,
2521
+ FindLinkedInConversationRequest
2522
+ > = z.object({
2523
+ profile: z.string(),
2524
+ includeMessages: z._default(z.boolean(), false),
2525
+ });
2526
+
2527
+ export function findLinkedInConversationRequestToJSON(
2528
+ findLinkedInConversationRequest: FindLinkedInConversationRequest,
2529
+ ): string {
2530
+ return JSON.stringify(
2531
+ FindLinkedInConversationRequest$outboundSchema.parse(
2532
+ findLinkedInConversationRequest,
2533
+ ),
2534
+ );
2535
+ }
2536
+
2537
+ /** @internal */
2538
+ export const FindLinkedInConversationConversation$inboundSchema: z.ZodMiniType<
2539
+ FindLinkedInConversationConversation,
2540
+ unknown
2541
+ > = z.object({
2542
+ conversationUrn: types.string(),
2543
+ });
2544
+
2545
+ export function findLinkedInConversationConversationFromJSON(
2546
+ jsonString: string,
2547
+ ): SafeParseResult<FindLinkedInConversationConversation, SDKValidationError> {
2548
+ return safeParse(
2549
+ jsonString,
2550
+ (x) =>
2551
+ FindLinkedInConversationConversation$inboundSchema.parse(JSON.parse(x)),
2552
+ `Failed to parse 'FindLinkedInConversationConversation' from JSON`,
2553
+ );
2554
+ }
2555
+
2556
+ /** @internal */
2557
+ export const FindLinkedInConversationSender$inboundSchema: z.ZodMiniType<
2558
+ FindLinkedInConversationSender,
2559
+ unknown
2560
+ > = z.object({
2561
+ firstName: types.string(),
2562
+ lastName: types.string(),
2563
+ profileUrl: types.nullable(types.string()),
2564
+ headline: types.nullable(types.string()),
2565
+ profilePicture: types.nullable(types.string()),
2566
+ publicIdentifier: types.nullable(types.string()),
2567
+ profileUrn: types.nullable(types.string()),
2568
+ });
2569
+
2570
+ export function findLinkedInConversationSenderFromJSON(
2571
+ jsonString: string,
2572
+ ): SafeParseResult<FindLinkedInConversationSender, SDKValidationError> {
2573
+ return safeParse(
2574
+ jsonString,
2575
+ (x) => FindLinkedInConversationSender$inboundSchema.parse(JSON.parse(x)),
2576
+ `Failed to parse 'FindLinkedInConversationSender' from JSON`,
2577
+ );
2578
+ }
2579
+
2580
+ /** @internal */
2581
+ export const FindLinkedInConversationType$inboundSchema: z.ZodMiniType<
2582
+ FindLinkedInConversationType,
2583
+ unknown
2584
+ > = openEnums.inboundSchema(FindLinkedInConversationType);
2585
+
2586
+ /** @internal */
2587
+ export const FindLinkedInConversationAttachment$inboundSchema: z.ZodMiniType<
2588
+ FindLinkedInConversationAttachment,
2589
+ unknown
2590
+ > = z.object({
2591
+ type: FindLinkedInConversationType$inboundSchema,
2592
+ audioUrl: types.optional(types.string()),
2593
+ audioDuration: types.optional(types.number()),
2594
+ hostUrn: types.optional(types.string()),
2595
+ repliedText: types.optional(types.string()),
2596
+ repliedSenderName: types.optional(types.string()),
2597
+ imageUrl: types.optional(types.string()),
2598
+ fileName: types.optional(types.string()),
2599
+ fileUrl: types.optional(types.string()),
2600
+ });
2601
+
2602
+ export function findLinkedInConversationAttachmentFromJSON(
2603
+ jsonString: string,
2604
+ ): SafeParseResult<FindLinkedInConversationAttachment, SDKValidationError> {
2605
+ return safeParse(
2606
+ jsonString,
2607
+ (x) =>
2608
+ FindLinkedInConversationAttachment$inboundSchema.parse(JSON.parse(x)),
2609
+ `Failed to parse 'FindLinkedInConversationAttachment' from JSON`,
2610
+ );
2611
+ }
2612
+
2613
+ /** @internal */
2614
+ export const FindLinkedInConversationMessage$inboundSchema: z.ZodMiniType<
2615
+ FindLinkedInConversationMessage,
2616
+ unknown
2617
+ > = z.object({
2618
+ messageUrn: types.string(),
2619
+ text: types.nullable(types.string()),
2620
+ deliveredAt: types.number(),
2621
+ senderProfileUrn: types.string(),
2622
+ sender: z.lazy(() => FindLinkedInConversationSender$inboundSchema),
2623
+ attachments: z.array(
2624
+ z.lazy(() => FindLinkedInConversationAttachment$inboundSchema),
2625
+ ),
2626
+ });
2627
+
2628
+ export function findLinkedInConversationMessageFromJSON(
2629
+ jsonString: string,
2630
+ ): SafeParseResult<FindLinkedInConversationMessage, SDKValidationError> {
2631
+ return safeParse(
2632
+ jsonString,
2633
+ (x) => FindLinkedInConversationMessage$inboundSchema.parse(JSON.parse(x)),
2634
+ `Failed to parse 'FindLinkedInConversationMessage' from JSON`,
2635
+ );
2636
+ }
2637
+
2638
+ /** @internal */
2639
+ export const FindLinkedInConversationResponse$inboundSchema: z.ZodMiniType<
2640
+ FindLinkedInConversationResponse,
2641
+ unknown
2642
+ > = z.object({
2643
+ success: types.literal(true),
2644
+ found: types.boolean(),
2645
+ conversation: types.nullable(
2646
+ z.lazy(() => FindLinkedInConversationConversation$inboundSchema),
2647
+ ),
2648
+ messages: types.nullable(
2649
+ z.array(z.lazy(() => FindLinkedInConversationMessage$inboundSchema)),
2650
+ ),
2651
+ creditsUsed: types.number(),
2652
+ retryAfter: types.number(),
2653
+ });
2654
+
2655
+ export function findLinkedInConversationResponseFromJSON(
2656
+ jsonString: string,
2657
+ ): SafeParseResult<FindLinkedInConversationResponse, SDKValidationError> {
2658
+ return safeParse(
2659
+ jsonString,
2660
+ (x) => FindLinkedInConversationResponse$inboundSchema.parse(JSON.parse(x)),
2661
+ `Failed to parse 'FindLinkedInConversationResponse' from JSON`,
2662
+ );
2663
+ }
2664
+
2665
+ /** @internal */
2666
+ export type ArchiveConversationRequest$Outbound = {
2667
+ conversationUrn: string;
2668
+ };
2669
+
2670
+ /** @internal */
2671
+ export const ArchiveConversationRequest$outboundSchema: z.ZodMiniType<
2672
+ ArchiveConversationRequest$Outbound,
2673
+ ArchiveConversationRequest
2674
+ > = z.object({
2675
+ conversationUrn: z.string(),
2676
+ });
2677
+
2678
+ export function archiveConversationRequestToJSON(
2679
+ archiveConversationRequest: ArchiveConversationRequest,
2680
+ ): string {
2681
+ return JSON.stringify(
2682
+ ArchiveConversationRequest$outboundSchema.parse(archiveConversationRequest),
2683
+ );
2684
+ }
2685
+
2686
+ /** @internal */
2687
+ export const ArchiveConversationResponse$inboundSchema: z.ZodMiniType<
2688
+ ArchiveConversationResponse,
2689
+ unknown
2690
+ > = z.object({
2691
+ success: types.literal(true),
2692
+ creditsUsed: types.number(),
2693
+ retryAfter: types.number(),
2694
+ });
2695
+
2696
+ export function archiveConversationResponseFromJSON(
2697
+ jsonString: string,
2698
+ ): SafeParseResult<ArchiveConversationResponse, SDKValidationError> {
2699
+ return safeParse(
2700
+ jsonString,
2701
+ (x) => ArchiveConversationResponse$inboundSchema.parse(JSON.parse(x)),
2702
+ `Failed to parse 'ArchiveConversationResponse' from JSON`,
2703
+ );
2704
+ }
2705
+
2706
+ /** @internal */
2707
+ export type UnreactToMessageRequest$Outbound = {
2708
+ messageUrn: string;
2709
+ emoji: string;
2710
+ conversationUrn: string;
2711
+ };
2712
+
2713
+ /** @internal */
2714
+ export const UnreactToMessageRequest$outboundSchema: z.ZodMiniType<
2715
+ UnreactToMessageRequest$Outbound,
2716
+ UnreactToMessageRequest
2717
+ > = z.object({
2718
+ messageUrn: z.string(),
2719
+ emoji: z.string(),
2720
+ conversationUrn: z.string(),
2721
+ });
2722
+
2723
+ export function unreactToMessageRequestToJSON(
2724
+ unreactToMessageRequest: UnreactToMessageRequest,
2725
+ ): string {
2726
+ return JSON.stringify(
2727
+ UnreactToMessageRequest$outboundSchema.parse(unreactToMessageRequest),
2728
+ );
2729
+ }
2730
+
2731
+ /** @internal */
2732
+ export const UnreactToMessageResponse$inboundSchema: z.ZodMiniType<
2733
+ UnreactToMessageResponse,
2734
+ unknown
2735
+ > = z.object({
2736
+ success: types.literal(true),
2737
+ creditsUsed: types.number(),
2738
+ retryAfter: types.number(),
2739
+ });
2740
+
2741
+ export function unreactToMessageResponseFromJSON(
2742
+ jsonString: string,
2743
+ ): SafeParseResult<UnreactToMessageResponse, SDKValidationError> {
2744
+ return safeParse(
2745
+ jsonString,
2746
+ (x) => UnreactToMessageResponse$inboundSchema.parse(JSON.parse(x)),
2747
+ `Failed to parse 'UnreactToMessageResponse' from JSON`,
2748
+ );
2749
+ }
2750
+
2751
+ /** @internal */
2752
+ export type MarkConversationSeenRequest$Outbound = {
2753
+ conversationUrn: string;
2754
+ };
2755
+
2756
+ /** @internal */
2757
+ export const MarkConversationSeenRequest$outboundSchema: z.ZodMiniType<
2758
+ MarkConversationSeenRequest$Outbound,
2759
+ MarkConversationSeenRequest
2760
+ > = z.object({
2761
+ conversationUrn: z.string(),
2762
+ });
2763
+
2764
+ export function markConversationSeenRequestToJSON(
2765
+ markConversationSeenRequest: MarkConversationSeenRequest,
2766
+ ): string {
2767
+ return JSON.stringify(
2768
+ MarkConversationSeenRequest$outboundSchema.parse(
2769
+ markConversationSeenRequest,
2770
+ ),
2771
+ );
2772
+ }
2773
+
2774
+ /** @internal */
2775
+ export const MarkConversationSeenResponse$inboundSchema: z.ZodMiniType<
2776
+ MarkConversationSeenResponse,
2777
+ unknown
2778
+ > = z.object({
2779
+ success: types.literal(true),
2780
+ creditsUsed: types.number(),
2781
+ retryAfter: types.number(),
2782
+ });
2783
+
2784
+ export function markConversationSeenResponseFromJSON(
2785
+ jsonString: string,
2786
+ ): SafeParseResult<MarkConversationSeenResponse, SDKValidationError> {
2787
+ return safeParse(
2788
+ jsonString,
2789
+ (x) => MarkConversationSeenResponse$inboundSchema.parse(JSON.parse(x)),
2790
+ `Failed to parse 'MarkConversationSeenResponse' from JSON`,
2791
+ );
2792
+ }
2793
+
2794
+ /** @internal */
2795
+ export type StarConversationRequest$Outbound = {
2796
+ conversationUrn: string;
2797
+ };
2798
+
2799
+ /** @internal */
2800
+ export const StarConversationRequest$outboundSchema: z.ZodMiniType<
2801
+ StarConversationRequest$Outbound,
2802
+ StarConversationRequest
2803
+ > = z.object({
2804
+ conversationUrn: z.string(),
2805
+ });
2806
+
2807
+ export function starConversationRequestToJSON(
2808
+ starConversationRequest: StarConversationRequest,
2809
+ ): string {
2810
+ return JSON.stringify(
2811
+ StarConversationRequest$outboundSchema.parse(starConversationRequest),
2812
+ );
2813
+ }
2814
+
2815
+ /** @internal */
2816
+ export const StarConversationResponse$inboundSchema: z.ZodMiniType<
2817
+ StarConversationResponse,
2818
+ unknown
2819
+ > = z.object({
2820
+ success: types.literal(true),
2821
+ creditsUsed: types.number(),
2822
+ retryAfter: types.number(),
2823
+ });
2824
+
2825
+ export function starConversationResponseFromJSON(
2826
+ jsonString: string,
2827
+ ): SafeParseResult<StarConversationResponse, SDKValidationError> {
2828
+ return safeParse(
2829
+ jsonString,
2830
+ (x) => StarConversationResponse$inboundSchema.parse(JSON.parse(x)),
2831
+ `Failed to parse 'StarConversationResponse' from JSON`,
2832
+ );
2833
+ }
2834
+
2835
+ /** @internal */
2836
+ export type UnstarConversationRequest$Outbound = {
2837
+ conversationUrn: string;
2838
+ };
2839
+
2840
+ /** @internal */
2841
+ export const UnstarConversationRequest$outboundSchema: z.ZodMiniType<
2842
+ UnstarConversationRequest$Outbound,
2843
+ UnstarConversationRequest
2844
+ > = z.object({
2845
+ conversationUrn: z.string(),
2846
+ });
2847
+
2848
+ export function unstarConversationRequestToJSON(
2849
+ unstarConversationRequest: UnstarConversationRequest,
2850
+ ): string {
2851
+ return JSON.stringify(
2852
+ UnstarConversationRequest$outboundSchema.parse(unstarConversationRequest),
2853
+ );
2854
+ }
2855
+
2856
+ /** @internal */
2857
+ export const UnstarConversationResponse$inboundSchema: z.ZodMiniType<
2858
+ UnstarConversationResponse,
2859
+ unknown
2860
+ > = z.object({
2861
+ success: types.literal(true),
2862
+ creditsUsed: types.number(),
2863
+ retryAfter: types.number(),
2864
+ });
2865
+
2866
+ export function unstarConversationResponseFromJSON(
2867
+ jsonString: string,
2868
+ ): SafeParseResult<UnstarConversationResponse, SDKValidationError> {
2869
+ return safeParse(
2870
+ jsonString,
2871
+ (x) => UnstarConversationResponse$inboundSchema.parse(JSON.parse(x)),
2872
+ `Failed to parse 'UnstarConversationResponse' from JSON`,
2873
+ );
2874
+ }
2875
+
2876
+ /** @internal */
2877
+ export type ListStarredConversationsRequest$Outbound = {
2878
+ nextCursor?: string | undefined;
2879
+ };
2880
+
2881
+ /** @internal */
2882
+ export const ListStarredConversationsRequest$outboundSchema: z.ZodMiniType<
2883
+ ListStarredConversationsRequest$Outbound,
2884
+ ListStarredConversationsRequest
2885
+ > = z.object({
2886
+ nextCursor: z.optional(z.string()),
2887
+ });
2888
+
2889
+ export function listStarredConversationsRequestToJSON(
2890
+ listStarredConversationsRequest: ListStarredConversationsRequest,
2891
+ ): string {
2892
+ return JSON.stringify(
2893
+ ListStarredConversationsRequest$outboundSchema.parse(
2894
+ listStarredConversationsRequest,
2895
+ ),
2896
+ );
2897
+ }
2898
+
2899
+ /** @internal */
2900
+ export const ListStarredConversationsParticipant$inboundSchema: z.ZodMiniType<
2901
+ ListStarredConversationsParticipant,
2902
+ unknown
2903
+ > = z.object({
2904
+ profileUrn: types.string(),
2905
+ firstName: types.string(),
2906
+ lastName: types.string(),
2907
+ profileUrl: types.nullable(types.string()),
2908
+ headline: types.nullable(types.string()),
2909
+ profilePicture: types.nullable(types.string()),
2910
+ publicIdentifier: types.nullable(types.string()),
2911
+ });
2912
+
2913
+ export function listStarredConversationsParticipantFromJSON(
2914
+ jsonString: string,
2915
+ ): SafeParseResult<ListStarredConversationsParticipant, SDKValidationError> {
2916
+ return safeParse(
2917
+ jsonString,
2918
+ (x) =>
2919
+ ListStarredConversationsParticipant$inboundSchema.parse(JSON.parse(x)),
2920
+ `Failed to parse 'ListStarredConversationsParticipant' from JSON`,
2921
+ );
2922
+ }
2923
+
2924
+ /** @internal */
2925
+ export const ListStarredConversationsLastMessage$inboundSchema: z.ZodMiniType<
2926
+ ListStarredConversationsLastMessage,
2927
+ unknown
2928
+ > = z.object({
2929
+ text: types.nullable(types.string()),
2930
+ deliveredAt: types.number(),
2931
+ senderProfileUrn: types.string(),
2932
+ });
2933
+
2934
+ export function listStarredConversationsLastMessageFromJSON(
2935
+ jsonString: string,
2936
+ ): SafeParseResult<ListStarredConversationsLastMessage, SDKValidationError> {
2937
+ return safeParse(
2938
+ jsonString,
2939
+ (x) =>
2940
+ ListStarredConversationsLastMessage$inboundSchema.parse(JSON.parse(x)),
2941
+ `Failed to parse 'ListStarredConversationsLastMessage' from JSON`,
2942
+ );
2943
+ }
2944
+
2945
+ /** @internal */
2946
+ export const ListStarredConversationsConversation$inboundSchema: z.ZodMiniType<
2947
+ ListStarredConversationsConversation,
2948
+ unknown
2949
+ > = z.object({
2950
+ conversationUrn: types.string(),
2951
+ conversationUrl: types.string(),
2952
+ lastActivityAt: types.number(),
2953
+ createdAt: types.number(),
2954
+ read: types.boolean(),
2955
+ unreadCount: types.number(),
2956
+ groupChat: types.boolean(),
2957
+ participants: z.array(
2958
+ z.lazy(() => ListStarredConversationsParticipant$inboundSchema),
2959
+ ),
2960
+ lastMessage: types.nullable(
2961
+ z.lazy(() => ListStarredConversationsLastMessage$inboundSchema),
2962
+ ),
2963
+ });
2964
+
2965
+ export function listStarredConversationsConversationFromJSON(
2966
+ jsonString: string,
2967
+ ): SafeParseResult<ListStarredConversationsConversation, SDKValidationError> {
2968
+ return safeParse(
2969
+ jsonString,
2970
+ (x) =>
2971
+ ListStarredConversationsConversation$inboundSchema.parse(JSON.parse(x)),
2972
+ `Failed to parse 'ListStarredConversationsConversation' from JSON`,
2973
+ );
2974
+ }
2975
+
2976
+ /** @internal */
2977
+ export const ListStarredConversationsResponse$inboundSchema: z.ZodMiniType<
2978
+ ListStarredConversationsResponse,
2979
+ unknown
2980
+ > = z.object({
2981
+ success: types.literal(true),
2982
+ conversations: z.array(
2983
+ z.lazy(() => ListStarredConversationsConversation$inboundSchema),
2984
+ ),
2985
+ nextCursor: types.nullable(types.string()),
2986
+ creditsUsed: types.number(),
2987
+ retryAfter: types.number(),
2988
+ });
2989
+
2990
+ export function listStarredConversationsResponseFromJSON(
2991
+ jsonString: string,
2992
+ ): SafeParseResult<ListStarredConversationsResponse, SDKValidationError> {
2993
+ return safeParse(
2994
+ jsonString,
2995
+ (x) => ListStarredConversationsResponse$inboundSchema.parse(JSON.parse(x)),
2996
+ `Failed to parse 'ListStarredConversationsResponse' from JSON`,
2997
+ );
2998
+ }
2999
+
3000
+ /** @internal */
3001
+ export type UnarchiveConversationRequest$Outbound = {
3002
+ conversationUrn: string;
3003
+ };
3004
+
3005
+ /** @internal */
3006
+ export const UnarchiveConversationRequest$outboundSchema: z.ZodMiniType<
3007
+ UnarchiveConversationRequest$Outbound,
3008
+ UnarchiveConversationRequest
3009
+ > = z.object({
3010
+ conversationUrn: z.string(),
3011
+ });
3012
+
3013
+ export function unarchiveConversationRequestToJSON(
3014
+ unarchiveConversationRequest: UnarchiveConversationRequest,
3015
+ ): string {
3016
+ return JSON.stringify(
3017
+ UnarchiveConversationRequest$outboundSchema.parse(
3018
+ unarchiveConversationRequest,
3019
+ ),
3020
+ );
3021
+ }
3022
+
3023
+ /** @internal */
3024
+ export const UnarchiveConversationResponse$inboundSchema: z.ZodMiniType<
3025
+ UnarchiveConversationResponse,
3026
+ unknown
3027
+ > = z.object({
3028
+ success: types.literal(true),
3029
+ creditsUsed: types.number(),
3030
+ retryAfter: types.number(),
3031
+ });
3032
+
3033
+ export function unarchiveConversationResponseFromJSON(
3034
+ jsonString: string,
3035
+ ): SafeParseResult<UnarchiveConversationResponse, SDKValidationError> {
3036
+ return safeParse(
3037
+ jsonString,
3038
+ (x) => UnarchiveConversationResponse$inboundSchema.parse(JSON.parse(x)),
3039
+ `Failed to parse 'UnarchiveConversationResponse' from JSON`,
3040
+ );
3041
+ }
3042
+
3043
+ /** @internal */
3044
+ export type FilterCampaignRequest$Outbound = {
3045
+ campaignSlug: string;
3046
+ actionSlugs: string;
3047
+ };
3048
+
3049
+ /** @internal */
3050
+ export const FilterCampaignRequest$outboundSchema: z.ZodMiniType<
3051
+ FilterCampaignRequest$Outbound,
3052
+ FilterCampaignRequest
3053
+ > = z.object({
3054
+ campaignSlug: z.string(),
3055
+ actionSlugs: z.string(),
3056
+ });
3057
+
3058
+ export function filterCampaignRequestToJSON(
3059
+ filterCampaignRequest: FilterCampaignRequest,
3060
+ ): string {
3061
+ return JSON.stringify(
3062
+ FilterCampaignRequest$outboundSchema.parse(filterCampaignRequest),
3063
+ );
3064
+ }
3065
+
3066
+ /** @internal */
3067
+ export const CheckedSlug$inboundSchema: z.ZodMiniType<CheckedSlug, unknown> = z
3068
+ .object({
3069
+ actionSlug: types.string(),
3070
+ completed: types.boolean(),
3071
+ });
3072
+
3073
+ export function checkedSlugFromJSON(
3074
+ jsonString: string,
3075
+ ): SafeParseResult<CheckedSlug, SDKValidationError> {
3076
+ return safeParse(
3077
+ jsonString,
3078
+ (x) => CheckedSlug$inboundSchema.parse(JSON.parse(x)),
3079
+ `Failed to parse 'CheckedSlug' from JSON`,
3080
+ );
3081
+ }
3082
+
3083
+ /** @internal */
3084
+ export const FilterCampaignResponse$inboundSchema: z.ZodMiniType<
3085
+ FilterCampaignResponse,
3086
+ unknown
3087
+ > = z.object({
3088
+ filtered: types.boolean(),
3089
+ checkedSlugs: z.array(z.lazy(() => CheckedSlug$inboundSchema)),
3090
+ creditsUsed: types.number(),
3091
+ retryAfter: types.number(),
3092
+ });
3093
+
3094
+ export function filterCampaignResponseFromJSON(
3095
+ jsonString: string,
3096
+ ): SafeParseResult<FilterCampaignResponse, SDKValidationError> {
3097
+ return safeParse(
3098
+ jsonString,
3099
+ (x) => FilterCampaignResponse$inboundSchema.parse(JSON.parse(x)),
3100
+ `Failed to parse 'FilterCampaignResponse' from JSON`,
3101
+ );
3102
+ }
3103
+
3104
+ /** @internal */
3105
+ export type GetCampaignStatusRequestBody$Outbound = {
3106
+ profiles: Array<string>;
3107
+ };
3108
+
3109
+ /** @internal */
3110
+ export const GetCampaignStatusRequestBody$outboundSchema: z.ZodMiniType<
3111
+ GetCampaignStatusRequestBody$Outbound,
3112
+ GetCampaignStatusRequestBody
3113
+ > = z.object({
3114
+ profiles: z.array(z.string()),
3115
+ });
3116
+
3117
+ export function getCampaignStatusRequestBodyToJSON(
3118
+ getCampaignStatusRequestBody: GetCampaignStatusRequestBody,
3119
+ ): string {
3120
+ return JSON.stringify(
3121
+ GetCampaignStatusRequestBody$outboundSchema.parse(
3122
+ getCampaignStatusRequestBody,
3123
+ ),
3124
+ );
3125
+ }
3126
+
3127
+ /** @internal */
3128
+ export type GetCampaignStatusRequest$Outbound = {
3129
+ campaignSlug: string;
3130
+ body: GetCampaignStatusRequestBody$Outbound;
3131
+ };
3132
+
3133
+ /** @internal */
3134
+ export const GetCampaignStatusRequest$outboundSchema: z.ZodMiniType<
3135
+ GetCampaignStatusRequest$Outbound,
3136
+ GetCampaignStatusRequest
3137
+ > = z.object({
3138
+ campaignSlug: z.string(),
3139
+ body: z.lazy(() => GetCampaignStatusRequestBody$outboundSchema),
3140
+ });
3141
+
3142
+ export function getCampaignStatusRequestToJSON(
3143
+ getCampaignStatusRequest: GetCampaignStatusRequest,
3144
+ ): string {
3145
+ return JSON.stringify(
3146
+ GetCampaignStatusRequest$outboundSchema.parse(getCampaignStatusRequest),
3147
+ );
3148
+ }
3149
+
3150
+ /** @internal */
3151
+ export const GetCampaignStatusProfile$inboundSchema: z.ZodMiniType<
3152
+ GetCampaignStatusProfile,
3153
+ unknown
3154
+ > = z.object({
3155
+ profile: types.string(),
3156
+ message: types.boolean(),
3157
+ reply: types.boolean(),
3158
+ like: types.boolean(),
3159
+ visit: types.boolean(),
3160
+ connect: types.boolean(),
3161
+ });
3162
+
3163
+ export function getCampaignStatusProfileFromJSON(
3164
+ jsonString: string,
3165
+ ): SafeParseResult<GetCampaignStatusProfile, SDKValidationError> {
3166
+ return safeParse(
3167
+ jsonString,
3168
+ (x) => GetCampaignStatusProfile$inboundSchema.parse(JSON.parse(x)),
3169
+ `Failed to parse 'GetCampaignStatusProfile' from JSON`,
3170
+ );
3171
+ }
3172
+
3173
+ /** @internal */
3174
+ export const GetCampaignStatusResponse$inboundSchema: z.ZodMiniType<
3175
+ GetCampaignStatusResponse,
3176
+ unknown
3177
+ > = z.object({
3178
+ success: types.literal(true),
3179
+ profiles: z.array(z.lazy(() => GetCampaignStatusProfile$inboundSchema)),
3180
+ creditsUsed: types.number(),
3181
+ retryAfter: types.number(),
3182
+ });
3183
+
3184
+ export function getCampaignStatusResponseFromJSON(
3185
+ jsonString: string,
3186
+ ): SafeParseResult<GetCampaignStatusResponse, SDKValidationError> {
3187
+ return safeParse(
3188
+ jsonString,
3189
+ (x) => GetCampaignStatusResponse$inboundSchema.parse(JSON.parse(x)),
3190
+ `Failed to parse 'GetCampaignStatusResponse' from JSON`,
3191
+ );
3192
+ }
3193
+
3194
+ /** @internal */
3195
+ export const Action$outboundSchema: z.ZodMiniEnum<typeof Action> = z.enum(
3196
+ Action,
3197
+ );
3198
+
3199
+ /** @internal */
3200
+ export type SyncCampaignActionsProfile$Outbound = {
3201
+ profile: string;
3202
+ actions: Array<string>;
3203
+ };
3204
+
3205
+ /** @internal */
3206
+ export const SyncCampaignActionsProfile$outboundSchema: z.ZodMiniType<
3207
+ SyncCampaignActionsProfile$Outbound,
3208
+ SyncCampaignActionsProfile
3209
+ > = z.object({
3210
+ profile: z.string(),
3211
+ actions: z.array(Action$outboundSchema),
3212
+ });
3213
+
3214
+ export function syncCampaignActionsProfileToJSON(
3215
+ syncCampaignActionsProfile: SyncCampaignActionsProfile,
3216
+ ): string {
3217
+ return JSON.stringify(
3218
+ SyncCampaignActionsProfile$outboundSchema.parse(syncCampaignActionsProfile),
3219
+ );
3220
+ }
3221
+
3222
+ /** @internal */
3223
+ export type SyncCampaignActionsRequestBody$Outbound = {
3224
+ profiles: Array<SyncCampaignActionsProfile$Outbound>;
3225
+ };
3226
+
3227
+ /** @internal */
3228
+ export const SyncCampaignActionsRequestBody$outboundSchema: z.ZodMiniType<
3229
+ SyncCampaignActionsRequestBody$Outbound,
3230
+ SyncCampaignActionsRequestBody
3231
+ > = z.object({
3232
+ profiles: z.array(z.lazy(() => SyncCampaignActionsProfile$outboundSchema)),
3233
+ });
3234
+
3235
+ export function syncCampaignActionsRequestBodyToJSON(
3236
+ syncCampaignActionsRequestBody: SyncCampaignActionsRequestBody,
3237
+ ): string {
3238
+ return JSON.stringify(
3239
+ SyncCampaignActionsRequestBody$outboundSchema.parse(
3240
+ syncCampaignActionsRequestBody,
3241
+ ),
3242
+ );
3243
+ }
3244
+
3245
+ /** @internal */
3246
+ export type SyncCampaignActionsRequest$Outbound = {
3247
+ campaignSlug: string;
3248
+ body: SyncCampaignActionsRequestBody$Outbound;
3249
+ };
3250
+
3251
+ /** @internal */
3252
+ export const SyncCampaignActionsRequest$outboundSchema: z.ZodMiniType<
3253
+ SyncCampaignActionsRequest$Outbound,
3254
+ SyncCampaignActionsRequest
3255
+ > = z.object({
3256
+ campaignSlug: z.string(),
3257
+ body: z.lazy(() => SyncCampaignActionsRequestBody$outboundSchema),
3258
+ });
3259
+
3260
+ export function syncCampaignActionsRequestToJSON(
3261
+ syncCampaignActionsRequest: SyncCampaignActionsRequest,
3262
+ ): string {
3263
+ return JSON.stringify(
3264
+ SyncCampaignActionsRequest$outboundSchema.parse(syncCampaignActionsRequest),
3265
+ );
3266
+ }
3267
+
3268
+ /** @internal */
3269
+ export const Synced$inboundSchema: z.ZodMiniType<Synced, unknown> = z.object({
3270
+ profile: types.string(),
3271
+ actions: z.record(z.string(), types.boolean()),
3272
+ });
3273
+
3274
+ export function syncedFromJSON(
3275
+ jsonString: string,
3276
+ ): SafeParseResult<Synced, SDKValidationError> {
3277
+ return safeParse(
3278
+ jsonString,
3279
+ (x) => Synced$inboundSchema.parse(JSON.parse(x)),
3280
+ `Failed to parse 'Synced' from JSON`,
3281
+ );
3282
+ }
3283
+
3284
+ /** @internal */
3285
+ export const SyncCampaignActionsResponse$inboundSchema: z.ZodMiniType<
3286
+ SyncCampaignActionsResponse,
3287
+ unknown
3288
+ > = z.object({
3289
+ success: types.literal(true),
3290
+ synced: z.array(z.lazy(() => Synced$inboundSchema)),
3291
+ creditsUsed: types.number(),
3292
+ retryAfter: types.number(),
3293
+ });
3294
+
3295
+ export function syncCampaignActionsResponseFromJSON(
3296
+ jsonString: string,
3297
+ ): SafeParseResult<SyncCampaignActionsResponse, SDKValidationError> {
3298
+ return safeParse(
3299
+ jsonString,
3300
+ (x) => SyncCampaignActionsResponse$inboundSchema.parse(JSON.parse(x)),
3301
+ `Failed to parse 'SyncCampaignActionsResponse' from JSON`,
3302
+ );
3303
+ }
3304
+
3305
+ /** @internal */
3306
+ export type GetCampaignStatsRequestBody$Outbound = {};
3307
+
3308
+ /** @internal */
3309
+ export const GetCampaignStatsRequestBody$outboundSchema: z.ZodMiniType<
3310
+ GetCampaignStatsRequestBody$Outbound,
3311
+ GetCampaignStatsRequestBody
3312
+ > = z.object({});
3313
+
3314
+ export function getCampaignStatsRequestBodyToJSON(
3315
+ getCampaignStatsRequestBody: GetCampaignStatsRequestBody,
3316
+ ): string {
3317
+ return JSON.stringify(
3318
+ GetCampaignStatsRequestBody$outboundSchema.parse(
3319
+ getCampaignStatsRequestBody,
3320
+ ),
3321
+ );
3322
+ }
3323
+
3324
+ /** @internal */
3325
+ export type GetCampaignStatsRequest$Outbound = {
3326
+ campaignSlug: string;
3327
+ body?: GetCampaignStatsRequestBody$Outbound | undefined;
3328
+ };
3329
+
3330
+ /** @internal */
3331
+ export const GetCampaignStatsRequest$outboundSchema: z.ZodMiniType<
3332
+ GetCampaignStatsRequest$Outbound,
3333
+ GetCampaignStatsRequest
3334
+ > = z.object({
3335
+ campaignSlug: z.string(),
3336
+ body: z.optional(z.lazy(() => GetCampaignStatsRequestBody$outboundSchema)),
3337
+ });
3338
+
3339
+ export function getCampaignStatsRequestToJSON(
3340
+ getCampaignStatsRequest: GetCampaignStatsRequest,
3341
+ ): string {
3342
+ return JSON.stringify(
3343
+ GetCampaignStatsRequest$outboundSchema.parse(getCampaignStatsRequest),
3344
+ );
3345
+ }
3346
+
3347
+ /** @internal */
3348
+ export const GetCampaignStatsResponse$inboundSchema: z.ZodMiniType<
3349
+ GetCampaignStatsResponse,
3350
+ unknown
3351
+ > = z.object({
3352
+ success: types.literal(true),
3353
+ stats: z.record(z.string(), types.number()),
3354
+ totalProfiles: types.number(),
3355
+ creditsUsed: types.number(),
3356
+ retryAfter: types.number(),
3357
+ });
3358
+
3359
+ export function getCampaignStatsResponseFromJSON(
3360
+ jsonString: string,
3361
+ ): SafeParseResult<GetCampaignStatsResponse, SDKValidationError> {
3362
+ return safeParse(
3363
+ jsonString,
3364
+ (x) => GetCampaignStatsResponse$inboundSchema.parse(JSON.parse(x)),
3365
+ `Failed to parse 'GetCampaignStatsResponse' from JSON`,
3366
+ );
3367
+ }