bereach 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +101 -128
  3. package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
  4. package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
  5. package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
  6. package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
  7. package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
  8. package/esm/funcs/actions-create-comment.d.ts.map +1 -0
  9. package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
  10. package/esm/funcs/actions-create-comment.js.map +1 -0
  11. package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
  12. package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
  13. package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
  14. package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
  15. package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
  16. package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
  17. package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
  18. package/esm/funcs/actions-edit-comment.js.map +1 -0
  19. package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
  20. package/esm/funcs/actions-edit-post.d.ts.map +1 -0
  21. package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
  22. package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
  23. package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
  24. package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
  25. package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
  26. package/esm/funcs/actions-follow-profile.js.map +1 -0
  27. package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
  28. package/esm/funcs/actions-like-comment.d.ts.map +1 -0
  29. package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
  30. package/esm/funcs/actions-like-comment.js.map +1 -0
  31. package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
  32. package/esm/funcs/actions-like-post.d.ts.map +1 -0
  33. package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
  34. package/esm/funcs/actions-like-post.js.map +1 -0
  35. package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
  36. package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
  37. package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
  38. package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
  39. package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
  40. package/esm/funcs/actions-publish-post.d.ts.map +1 -0
  41. package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
  42. package/esm/funcs/actions-publish-post.js.map +1 -0
  43. package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
  44. package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
  45. package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
  46. package/esm/funcs/actions-reply-to-comment.js.map +1 -0
  47. package/esm/funcs/actions-repost-post.d.ts +18 -0
  48. package/esm/funcs/actions-repost-post.d.ts.map +1 -0
  49. package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
  50. package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
  51. package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
  52. package/esm/funcs/actions-save-post.d.ts.map +1 -0
  53. package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
  54. package/esm/funcs/actions-save-post.js.map +1 -0
  55. package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
  56. package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
  57. package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
  58. package/esm/funcs/actions-unfollow-company.js.map +1 -0
  59. package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
  60. package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
  61. package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
  62. package/esm/funcs/actions-unfollow-profile.js.map +1 -0
  63. package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
  64. package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
  65. package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
  66. package/esm/funcs/actions-unlike-comment.js.map +1 -0
  67. package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
  68. package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
  69. package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
  70. package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
  71. package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
  72. package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
  73. package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
  74. package/esm/funcs/actions-unsave-post.js.map +1 -0
  75. package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
  76. package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
  77. package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
  78. package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
  79. package/esm/funcs/chat-list-inbox.d.ts +18 -0
  80. package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
  81. package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
  82. package/esm/funcs/chat-list-inbox.js.map +1 -0
  83. package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
  84. package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
  85. package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
  86. package/esm/funcs/chat-mark-all-read.js.map +1 -0
  87. package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
  88. package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
  89. package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
  90. package/esm/funcs/chat-mark-seen.js.map +1 -0
  91. package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
  92. package/esm/funcs/chat-react.d.ts.map +1 -0
  93. package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
  94. package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
  95. package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
  96. package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
  97. package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
  98. package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
  99. package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
  100. package/esm/funcs/chat-star.d.ts.map +1 -0
  101. package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
  102. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
  103. package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
  104. package/esm/funcs/chat-unarchive.d.ts.map +1 -0
  105. package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
  106. package/esm/funcs/chat-unarchive.js.map +1 -0
  107. package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
  108. package/esm/funcs/chat-unstar.d.ts.map +1 -0
  109. package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
  110. package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
  111. package/esm/funcs/company-pages-posts.d.ts +18 -0
  112. package/esm/funcs/company-pages-posts.d.ts.map +1 -0
  113. package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
  114. package/esm/funcs/company-pages-posts.js.map +1 -0
  115. package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
  116. package/esm/funcs/profile-posts.d.ts.map +1 -0
  117. package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
  118. package/esm/funcs/profile-posts.js.map +1 -0
  119. package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
  120. package/esm/funcs/profile-views.d.ts.map +1 -0
  121. package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
  122. package/esm/funcs/profile-views.js.map +1 -0
  123. package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
  124. package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
  125. package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
  126. package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
  127. package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
  128. package/esm/funcs/sales-nav-people.d.ts.map +1 -0
  129. package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
  130. package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
  131. package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
  132. package/esm/funcs/sales-nav-search.d.ts.map +1 -0
  133. package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
  134. package/esm/funcs/sales-nav-search.js.map +1 -0
  135. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
  136. package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
  137. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
  138. package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
  139. package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
  140. package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
  141. package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
  142. package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
  143. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
  144. package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
  145. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
  146. package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
  147. package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
  148. package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
  149. package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
  150. package/esm/funcs/scrapers-collect-likes.js.map +1 -0
  151. package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
  152. package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
  153. package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
  154. package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
  155. package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
  156. package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
  157. package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
  158. package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
  159. package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
  160. package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
  161. package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
  162. package/esm/funcs/scrapers-visit-company.js.map +1 -0
  163. package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
  164. package/esm/funcs/search-by-url.d.ts.map +1 -0
  165. package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
  166. package/esm/funcs/search-by-url.js.map +1 -0
  167. package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
  168. package/esm/funcs/search-companies.d.ts.map +1 -0
  169. package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
  170. package/esm/funcs/search-companies.js.map +1 -0
  171. package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
  172. package/esm/funcs/search-jobs.d.ts.map +1 -0
  173. package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
  174. package/esm/funcs/search-jobs.js.map +1 -0
  175. package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
  176. package/esm/funcs/search-people.d.ts.map +1 -0
  177. package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
  178. package/esm/funcs/search-people.js.map +1 -0
  179. package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
  180. package/esm/funcs/search-posts.d.ts.map +1 -0
  181. package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
  182. package/esm/funcs/search-posts.js.map +1 -0
  183. package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
  184. package/esm/funcs/search-search.d.ts.map +1 -0
  185. package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
  186. package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
  187. package/esm/lib/config.d.ts +2 -2
  188. package/esm/lib/config.js +2 -2
  189. package/esm/models/operations/index.d.ts +1 -1
  190. package/esm/models/operations/index.d.ts.map +1 -1
  191. package/esm/models/operations/index.js +1 -1
  192. package/esm/models/operations/index.js.map +1 -1
  193. package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +890 -890
  194. package/esm/models/operations/search-companies-response.d.ts.map +1 -0
  195. package/esm/models/operations/{search-people-response.js → search-companies-response.js} +611 -604
  196. package/esm/models/operations/search-companies-response.js.map +1 -0
  197. package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
  198. package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
  199. package/esm/models/operations/search-contacts-campaign.js +102 -102
  200. package/esm/models/operations/search-contacts-campaign.js.map +1 -1
  201. package/esm/models/operations/update-account-response.d.ts +634 -634
  202. package/esm/models/operations/update-account-response.d.ts.map +1 -1
  203. package/esm/models/operations/update-account-response.js +307 -307
  204. package/esm/models/operations/update-account-response.js.map +1 -1
  205. package/esm/models/operations/update-schedule-response.d.ts +111 -61
  206. package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
  207. package/esm/models/operations/update-schedule-response.js +37 -32
  208. package/esm/models/operations/update-schedule-response.js.map +1 -1
  209. package/esm/sdk/actions.d.ts +133 -0
  210. package/esm/sdk/actions.d.ts.map +1 -1
  211. package/esm/sdk/actions.js +190 -0
  212. package/esm/sdk/actions.js.map +1 -1
  213. package/esm/sdk/chat.d.ts +56 -0
  214. package/esm/sdk/chat.d.ts.map +1 -1
  215. package/esm/sdk/chat.js +80 -0
  216. package/esm/sdk/chat.js.map +1 -1
  217. package/esm/sdk/company-pages.d.ts +1 -1
  218. package/esm/sdk/company-pages.d.ts.map +1 -1
  219. package/esm/sdk/company-pages.js +3 -3
  220. package/esm/sdk/company-pages.js.map +1 -1
  221. package/esm/sdk/contacts.d.ts +12 -12
  222. package/esm/sdk/contacts.d.ts.map +1 -1
  223. package/esm/sdk/contacts.js +16 -16
  224. package/esm/sdk/contacts.js.map +1 -1
  225. package/esm/sdk/profile.d.ts +2 -2
  226. package/esm/sdk/profile.d.ts.map +1 -1
  227. package/esm/sdk/profile.js +6 -6
  228. package/esm/sdk/profile.js.map +1 -1
  229. package/esm/sdk/sales-nav.d.ts +51 -1
  230. package/esm/sdk/sales-nav.d.ts.map +1 -1
  231. package/esm/sdk/sales-nav.js +59 -3
  232. package/esm/sdk/sales-nav.js.map +1 -1
  233. package/esm/sdk/scrapers.d.ts +49 -0
  234. package/esm/sdk/scrapers.d.ts.map +1 -1
  235. package/esm/sdk/scrapers.js +70 -0
  236. package/esm/sdk/scrapers.js.map +1 -1
  237. package/esm/sdk/sdk.d.ts +0 -27
  238. package/esm/sdk/sdk.d.ts.map +1 -1
  239. package/esm/sdk/sdk.js +0 -45
  240. package/esm/sdk/sdk.js.map +1 -1
  241. package/esm/sdk/search.d.ts +383 -0
  242. package/esm/sdk/search.d.ts.map +1 -1
  243. package/esm/sdk/search.js +401 -0
  244. package/esm/sdk/search.js.map +1 -1
  245. package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
  246. package/jsr.json +1 -1
  247. package/package.json +1 -1
  248. package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
  249. package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
  250. package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
  251. package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
  252. package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
  253. package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
  254. package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
  255. package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
  256. package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
  257. package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
  258. package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
  259. package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
  260. package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
  261. package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
  262. package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
  263. package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
  264. package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
  265. package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
  266. package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
  267. package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
  268. package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
  269. package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
  270. package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
  271. package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
  272. package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
  273. package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
  274. package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
  275. package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
  276. package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
  277. package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
  278. package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
  279. package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
  280. package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
  281. package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
  282. package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
  283. package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
  284. package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
  285. package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
  286. package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
  287. package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
  288. package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
  289. package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
  290. package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
  291. package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
  292. package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
  293. package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
  294. package/src/lib/config.ts +2 -2
  295. package/src/models/operations/index.ts +1 -1
  296. package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
  297. package/src/models/operations/search-contacts-campaign.ts +366 -366
  298. package/src/models/operations/update-account-response.ts +1147 -1147
  299. package/src/models/operations/update-schedule-response.ts +180 -125
  300. package/src/sdk/actions.ts +342 -0
  301. package/src/sdk/chat.ts +144 -0
  302. package/src/sdk/company-pages.ts +3 -3
  303. package/src/sdk/contacts.ts +24 -24
  304. package/src/sdk/profile.ts +6 -6
  305. package/src/sdk/sales-nav.ts +75 -3
  306. package/src/sdk/scrapers.ts +126 -0
  307. package/src/sdk/sdk.ts +0 -56
  308. package/src/sdk/search.ts +449 -0
  309. package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
  310. package/esm/funcs/company-pages-get-posts.js.map +0 -1
  311. package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
  312. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
  313. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
  314. package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
  315. package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
  316. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
  317. package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
  318. package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
  319. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
  320. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
  321. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
  322. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
  323. package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
  324. package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
  325. package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
  326. package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
  327. package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
  328. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
  329. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
  330. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
  331. package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
  332. package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
  333. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
  334. package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
  335. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
  336. package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
  337. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
  338. package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
  339. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
  340. package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
  341. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
  342. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
  343. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
  344. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
  345. package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
  346. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
  347. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
  348. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
  349. package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
  350. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
  351. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
  352. package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
  353. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
  354. package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
  355. package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
  356. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
  357. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
  358. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
  359. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
  360. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
  361. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
  362. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
  363. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
  364. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
  365. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
  366. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
  367. package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
  368. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
  369. package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
  370. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
  371. package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
  372. package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
  373. package/esm/funcs/linkedin-search-search-people.js.map +0 -1
  374. package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
  375. package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
  376. package/esm/funcs/profile-get-posts.d.ts +0 -18
  377. package/esm/funcs/profile-get-posts.d.ts.map +0 -1
  378. package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
  379. package/esm/funcs/profile-get-profile-views.js.map +0 -1
  380. package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
  381. package/esm/funcs/sales-nav-search-people.js.map +0 -1
  382. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
  383. package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
  384. package/esm/models/operations/search-people-response.d.ts.map +0 -1
  385. package/esm/models/operations/search-people-response.js.map +0 -1
  386. package/esm/sdk/linked-in-actions-2.d.ts +0 -47
  387. package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
  388. package/esm/sdk/linked-in-actions-2.js +0 -68
  389. package/esm/sdk/linked-in-actions-2.js.map +0 -1
  390. package/esm/sdk/linked-in-chat-2.d.ts +0 -33
  391. package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
  392. package/esm/sdk/linked-in-chat-2.js +0 -48
  393. package/esm/sdk/linked-in-chat-2.js.map +0 -1
  394. package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
  395. package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
  396. package/esm/sdk/linked-in-scrapers-2.js +0 -28
  397. package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
  398. package/esm/sdk/linked-in-search-1.d.ts +0 -113
  399. package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
  400. package/esm/sdk/linked-in-search-1.js +0 -122
  401. package/esm/sdk/linked-in-search-1.js.map +0 -1
  402. package/esm/sdk/linkedin-actions-1.d.ts +0 -96
  403. package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
  404. package/esm/sdk/linkedin-actions-1.js +0 -138
  405. package/esm/sdk/linkedin-actions-1.js.map +0 -1
  406. package/esm/sdk/linkedin-chat-1.d.ts +0 -33
  407. package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
  408. package/esm/sdk/linkedin-chat-1.js +0 -48
  409. package/esm/sdk/linkedin-chat-1.js.map +0 -1
  410. package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
  411. package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
  412. package/esm/sdk/linkedin-scrapers-1.js +0 -58
  413. package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
  414. package/esm/sdk/linkedin-search-2.d.ts +0 -280
  415. package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
  416. package/esm/sdk/linkedin-search-2.js +0 -295
  417. package/esm/sdk/linkedin-search-2.js.map +0 -1
  418. package/esm/sdk/sales-navigator-search.d.ts +0 -55
  419. package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
  420. package/esm/sdk/sales-navigator-search.js +0 -64
  421. package/esm/sdk/sales-navigator-search.js.map +0 -1
  422. package/src/sdk/linked-in-actions-2.ts +0 -117
  423. package/src/sdk/linked-in-chat-2.ts +0 -81
  424. package/src/sdk/linked-in-scrapers-2.ts +0 -45
  425. package/src/sdk/linked-in-search-1.ts +0 -139
  426. package/src/sdk/linkedin-actions-1.ts +0 -243
  427. package/src/sdk/linkedin-chat-1.ts +0 -81
  428. package/src/sdk/linkedin-scrapers-1.ts +0 -99
  429. package/src/sdk/linkedin-search-2.ts +0 -328
  430. package/src/sdk/sales-navigator-search.ts +0 -81
@@ -1224,75 +1224,6 @@ export type ListInboxResponse = {
1224
1224
  retryAfter: number;
1225
1225
  };
1226
1226
 
1227
- export type MarkAllReadRequest = {};
1228
-
1229
- /**
1230
- * All conversations marked as read
1231
- */
1232
- export type MarkAllReadResponse = {
1233
- success: true;
1234
- /**
1235
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1236
- */
1237
- creditsUsed: number;
1238
- /**
1239
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1240
- */
1241
- retryAfter: number;
1242
- };
1243
-
1244
- export type ReactRequest = {
1245
- /**
1246
- * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1247
- */
1248
- messageUrn: string;
1249
- /**
1250
- * Emoji character to react with (e.g. '👍', '❤️', '😂')
1251
- */
1252
- emoji: string;
1253
- /**
1254
- * Conversation URN (required for the old messaging API fallback)
1255
- */
1256
- conversationUrn: string;
1257
- };
1258
-
1259
- /**
1260
- * Reaction added
1261
- */
1262
- export type ReactResponse = {
1263
- success: true;
1264
- /**
1265
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1266
- */
1267
- creditsUsed: number;
1268
- /**
1269
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1270
- */
1271
- retryAfter: number;
1272
- };
1273
-
1274
- export type SendTypingIndicatorRequest = {
1275
- /**
1276
- * Full conversation URN
1277
- */
1278
- conversationUrn: string;
1279
- };
1280
-
1281
- /**
1282
- * Typing indicator sent
1283
- */
1284
- export type SendTypingIndicatorResponse = {
1285
- success: true;
1286
- /**
1287
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1288
- */
1289
- creditsUsed: number;
1290
- /**
1291
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1292
- */
1293
- retryAfter: number;
1294
- };
1295
-
1296
1227
  export type SearchConversationsRequest = {
1297
1228
  /**
1298
1229
  * Search keywords
@@ -1504,6 +1435,89 @@ export type GetMessagesResponse = {
1504
1435
  retryAfter: number;
1505
1436
  };
1506
1437
 
1438
+ export type MarkSeenRequest = {
1439
+ /**
1440
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1441
+ */
1442
+ conversationUrn: string;
1443
+ };
1444
+
1445
+ /**
1446
+ * Conversation marked as read
1447
+ */
1448
+ export type MarkSeenResponse = {
1449
+ success: true;
1450
+ /**
1451
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1452
+ */
1453
+ creditsUsed: number;
1454
+ /**
1455
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1456
+ */
1457
+ retryAfter: number;
1458
+ };
1459
+
1460
+ export type MarkAllReadRequest = {};
1461
+
1462
+ /**
1463
+ * All conversations marked as read
1464
+ */
1465
+ export type MarkAllReadResponse = {
1466
+ success: true;
1467
+ /**
1468
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1469
+ */
1470
+ creditsUsed: number;
1471
+ /**
1472
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1473
+ */
1474
+ retryAfter: number;
1475
+ };
1476
+
1477
+ export type StarRequest = {
1478
+ /**
1479
+ * Full conversation URN
1480
+ */
1481
+ conversationUrn: string;
1482
+ };
1483
+
1484
+ /**
1485
+ * Conversation starred
1486
+ */
1487
+ export type StarResponse = {
1488
+ success: true;
1489
+ /**
1490
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1491
+ */
1492
+ creditsUsed: number;
1493
+ /**
1494
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1495
+ */
1496
+ retryAfter: number;
1497
+ };
1498
+
1499
+ export type UnstarRequest = {
1500
+ /**
1501
+ * Full conversation URN
1502
+ */
1503
+ conversationUrn: string;
1504
+ };
1505
+
1506
+ /**
1507
+ * Conversation unstarred
1508
+ */
1509
+ export type UnstarResponse = {
1510
+ success: true;
1511
+ /**
1512
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1513
+ */
1514
+ creditsUsed: number;
1515
+ /**
1516
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1517
+ */
1518
+ retryAfter: number;
1519
+ };
1520
+
1507
1521
  export type ListStarredRequest = {
1508
1522
  /**
1509
1523
  * Pagination cursor from a previous response
@@ -1581,6 +1595,28 @@ export type ArchiveResponse = {
1581
1595
  retryAfter: number;
1582
1596
  };
1583
1597
 
1598
+ export type UnarchiveRequest = {
1599
+ /**
1600
+ * Full conversation URN
1601
+ */
1602
+ conversationUrn: string;
1603
+ };
1604
+
1605
+ /**
1606
+ * Conversation unarchived
1607
+ */
1608
+ export type UnarchiveResponse = {
1609
+ success: true;
1610
+ /**
1611
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1612
+ */
1613
+ creditsUsed: number;
1614
+ /**
1615
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1616
+ */
1617
+ retryAfter: number;
1618
+ };
1619
+
1584
1620
  export type ListArchivedRequest = {
1585
1621
  /**
1586
1622
  * Pagination cursor from a previous response
@@ -1636,7 +1672,7 @@ export type ListArchivedResponse = {
1636
1672
  retryAfter: number;
1637
1673
  };
1638
1674
 
1639
- export type UnreactRequest = {
1675
+ export type ReactRequest = {
1640
1676
  /**
1641
1677
  * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1642
1678
  */
@@ -1652,9 +1688,9 @@ export type UnreactRequest = {
1652
1688
  };
1653
1689
 
1654
1690
  /**
1655
- * Reaction removed
1691
+ * Reaction added
1656
1692
  */
1657
- export type UnreactResponse = {
1693
+ export type ReactResponse = {
1658
1694
  success: true;
1659
1695
  /**
1660
1696
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1666,36 +1702,25 @@ export type UnreactResponse = {
1666
1702
  retryAfter: number;
1667
1703
  };
1668
1704
 
1669
- /**
1670
- * Unread count
1671
- */
1672
- export type GetUnreadCountResponse = {
1673
- success: true;
1674
- /**
1675
- * Number of unread conversations/messages
1676
- */
1677
- unreadCount: number;
1705
+ export type UnreactRequest = {
1678
1706
  /**
1679
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1707
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1680
1708
  */
1681
- creditsUsed: number;
1709
+ messageUrn: string;
1682
1710
  /**
1683
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1711
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
1684
1712
  */
1685
- retryAfter: number;
1686
- };
1687
-
1688
- export type MarkSeenRequest = {
1713
+ emoji: string;
1689
1714
  /**
1690
- * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1715
+ * Conversation URN (required for the old messaging API fallback)
1691
1716
  */
1692
1717
  conversationUrn: string;
1693
1718
  };
1694
1719
 
1695
1720
  /**
1696
- * Conversation marked as read
1721
+ * Reaction removed
1697
1722
  */
1698
- export type MarkSeenResponse = {
1723
+ export type UnreactResponse = {
1699
1724
  success: true;
1700
1725
  /**
1701
1726
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1707,7 +1732,7 @@ export type MarkSeenResponse = {
1707
1732
  retryAfter: number;
1708
1733
  };
1709
1734
 
1710
- export type StarRequest = {
1735
+ export type SendTypingIndicatorRequest = {
1711
1736
  /**
1712
1737
  * Full conversation URN
1713
1738
  */
@@ -1715,9 +1740,9 @@ export type StarRequest = {
1715
1740
  };
1716
1741
 
1717
1742
  /**
1718
- * Conversation starred
1743
+ * Typing indicator sent
1719
1744
  */
1720
- export type StarResponse = {
1745
+ export type SendTypingIndicatorResponse = {
1721
1746
  success: true;
1722
1747
  /**
1723
1748
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1729,40 +1754,15 @@ export type StarResponse = {
1729
1754
  retryAfter: number;
1730
1755
  };
1731
1756
 
1732
- export type UnstarRequest = {
1733
- /**
1734
- * Full conversation URN
1735
- */
1736
- conversationUrn: string;
1737
- };
1738
-
1739
1757
  /**
1740
- * Conversation unstarred
1758
+ * Unread count
1741
1759
  */
1742
- export type UnstarResponse = {
1760
+ export type GetUnreadCountResponse = {
1743
1761
  success: true;
1744
1762
  /**
1745
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1746
- */
1747
- creditsUsed: number;
1748
- /**
1749
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1750
- */
1751
- retryAfter: number;
1752
- };
1753
-
1754
- export type UnarchiveRequest = {
1755
- /**
1756
- * Full conversation URN
1763
+ * Number of unread conversations/messages
1757
1764
  */
1758
- conversationUrn: string;
1759
- };
1760
-
1761
- /**
1762
- * Conversation unarchived
1763
- */
1764
- export type UnarchiveResponse = {
1765
- success: true;
1765
+ unreadCount: number;
1766
1766
  /**
1767
1767
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1768
1768
  */
@@ -3746,129 +3746,10 @@ export function listInboxResponseFromJSON(
3746
3746
  }
3747
3747
 
3748
3748
  /** @internal */
3749
- export type MarkAllReadRequest$Outbound = {};
3750
-
3751
- /** @internal */
3752
- export const MarkAllReadRequest$outboundSchema: z.ZodMiniType<
3753
- MarkAllReadRequest$Outbound,
3754
- MarkAllReadRequest
3755
- > = z.object({});
3756
-
3757
- export function markAllReadRequestToJSON(
3758
- markAllReadRequest: MarkAllReadRequest,
3759
- ): string {
3760
- return JSON.stringify(
3761
- MarkAllReadRequest$outboundSchema.parse(markAllReadRequest),
3762
- );
3763
- }
3764
-
3765
- /** @internal */
3766
- export const MarkAllReadResponse$inboundSchema: z.ZodMiniType<
3767
- MarkAllReadResponse,
3768
- unknown
3769
- > = z.object({
3770
- success: types.literal(true),
3771
- creditsUsed: types.number(),
3772
- retryAfter: types.number(),
3773
- });
3774
-
3775
- export function markAllReadResponseFromJSON(
3776
- jsonString: string,
3777
- ): SafeParseResult<MarkAllReadResponse, SDKValidationError> {
3778
- return safeParse(
3779
- jsonString,
3780
- (x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)),
3781
- `Failed to parse 'MarkAllReadResponse' from JSON`,
3782
- );
3783
- }
3784
-
3785
- /** @internal */
3786
- export type ReactRequest$Outbound = {
3787
- messageUrn: string;
3788
- emoji: string;
3789
- conversationUrn: string;
3790
- };
3791
-
3792
- /** @internal */
3793
- export const ReactRequest$outboundSchema: z.ZodMiniType<
3794
- ReactRequest$Outbound,
3795
- ReactRequest
3796
- > = z.object({
3797
- messageUrn: z.string(),
3798
- emoji: z.string(),
3799
- conversationUrn: z.string(),
3800
- });
3801
-
3802
- export function reactRequestToJSON(reactRequest: ReactRequest): string {
3803
- return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
3804
- }
3805
-
3806
- /** @internal */
3807
- export const ReactResponse$inboundSchema: z.ZodMiniType<
3808
- ReactResponse,
3809
- unknown
3810
- > = z.object({
3811
- success: types.literal(true),
3812
- creditsUsed: types.number(),
3813
- retryAfter: types.number(),
3814
- });
3815
-
3816
- export function reactResponseFromJSON(
3817
- jsonString: string,
3818
- ): SafeParseResult<ReactResponse, SDKValidationError> {
3819
- return safeParse(
3820
- jsonString,
3821
- (x) => ReactResponse$inboundSchema.parse(JSON.parse(x)),
3822
- `Failed to parse 'ReactResponse' from JSON`,
3823
- );
3824
- }
3825
-
3826
- /** @internal */
3827
- export type SendTypingIndicatorRequest$Outbound = {
3828
- conversationUrn: string;
3829
- };
3830
-
3831
- /** @internal */
3832
- export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
3833
- SendTypingIndicatorRequest$Outbound,
3834
- SendTypingIndicatorRequest
3835
- > = z.object({
3836
- conversationUrn: z.string(),
3837
- });
3838
-
3839
- export function sendTypingIndicatorRequestToJSON(
3840
- sendTypingIndicatorRequest: SendTypingIndicatorRequest,
3841
- ): string {
3842
- return JSON.stringify(
3843
- SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
3844
- );
3845
- }
3846
-
3847
- /** @internal */
3848
- export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
3849
- SendTypingIndicatorResponse,
3850
- unknown
3851
- > = z.object({
3852
- success: types.literal(true),
3853
- creditsUsed: types.number(),
3854
- retryAfter: types.number(),
3855
- });
3856
-
3857
- export function sendTypingIndicatorResponseFromJSON(
3858
- jsonString: string,
3859
- ): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
3860
- return safeParse(
3861
- jsonString,
3862
- (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
3863
- `Failed to parse 'SendTypingIndicatorResponse' from JSON`,
3864
- );
3865
- }
3866
-
3867
- /** @internal */
3868
- export type SearchConversationsRequest$Outbound = {
3869
- keywords: string;
3870
- nextCursor?: string | undefined;
3871
- };
3749
+ export type SearchConversationsRequest$Outbound = {
3750
+ keywords: string;
3751
+ nextCursor?: string | undefined;
3752
+ };
3872
3753
 
3873
3754
  /** @internal */
3874
3755
  export const SearchConversationsRequest$outboundSchema: z.ZodMiniType<
@@ -4256,6 +4137,154 @@ export function getMessagesResponseFromJSON(
4256
4137
  );
4257
4138
  }
4258
4139
 
4140
+ /** @internal */
4141
+ export type MarkSeenRequest$Outbound = {
4142
+ conversationUrn: string;
4143
+ };
4144
+
4145
+ /** @internal */
4146
+ export const MarkSeenRequest$outboundSchema: z.ZodMiniType<
4147
+ MarkSeenRequest$Outbound,
4148
+ MarkSeenRequest
4149
+ > = z.object({
4150
+ conversationUrn: z.string(),
4151
+ });
4152
+
4153
+ export function markSeenRequestToJSON(
4154
+ markSeenRequest: MarkSeenRequest,
4155
+ ): string {
4156
+ return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
4157
+ }
4158
+
4159
+ /** @internal */
4160
+ export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4161
+ MarkSeenResponse,
4162
+ unknown
4163
+ > = z.object({
4164
+ success: types.literal(true),
4165
+ creditsUsed: types.number(),
4166
+ retryAfter: types.number(),
4167
+ });
4168
+
4169
+ export function markSeenResponseFromJSON(
4170
+ jsonString: string,
4171
+ ): SafeParseResult<MarkSeenResponse, SDKValidationError> {
4172
+ return safeParse(
4173
+ jsonString,
4174
+ (x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)),
4175
+ `Failed to parse 'MarkSeenResponse' from JSON`,
4176
+ );
4177
+ }
4178
+
4179
+ /** @internal */
4180
+ export type MarkAllReadRequest$Outbound = {};
4181
+
4182
+ /** @internal */
4183
+ export const MarkAllReadRequest$outboundSchema: z.ZodMiniType<
4184
+ MarkAllReadRequest$Outbound,
4185
+ MarkAllReadRequest
4186
+ > = z.object({});
4187
+
4188
+ export function markAllReadRequestToJSON(
4189
+ markAllReadRequest: MarkAllReadRequest,
4190
+ ): string {
4191
+ return JSON.stringify(
4192
+ MarkAllReadRequest$outboundSchema.parse(markAllReadRequest),
4193
+ );
4194
+ }
4195
+
4196
+ /** @internal */
4197
+ export const MarkAllReadResponse$inboundSchema: z.ZodMiniType<
4198
+ MarkAllReadResponse,
4199
+ unknown
4200
+ > = z.object({
4201
+ success: types.literal(true),
4202
+ creditsUsed: types.number(),
4203
+ retryAfter: types.number(),
4204
+ });
4205
+
4206
+ export function markAllReadResponseFromJSON(
4207
+ jsonString: string,
4208
+ ): SafeParseResult<MarkAllReadResponse, SDKValidationError> {
4209
+ return safeParse(
4210
+ jsonString,
4211
+ (x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)),
4212
+ `Failed to parse 'MarkAllReadResponse' from JSON`,
4213
+ );
4214
+ }
4215
+
4216
+ /** @internal */
4217
+ export type StarRequest$Outbound = {
4218
+ conversationUrn: string;
4219
+ };
4220
+
4221
+ /** @internal */
4222
+ export const StarRequest$outboundSchema: z.ZodMiniType<
4223
+ StarRequest$Outbound,
4224
+ StarRequest
4225
+ > = z.object({
4226
+ conversationUrn: z.string(),
4227
+ });
4228
+
4229
+ export function starRequestToJSON(starRequest: StarRequest): string {
4230
+ return JSON.stringify(StarRequest$outboundSchema.parse(starRequest));
4231
+ }
4232
+
4233
+ /** @internal */
4234
+ export const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown> =
4235
+ z.object({
4236
+ success: types.literal(true),
4237
+ creditsUsed: types.number(),
4238
+ retryAfter: types.number(),
4239
+ });
4240
+
4241
+ export function starResponseFromJSON(
4242
+ jsonString: string,
4243
+ ): SafeParseResult<StarResponse, SDKValidationError> {
4244
+ return safeParse(
4245
+ jsonString,
4246
+ (x) => StarResponse$inboundSchema.parse(JSON.parse(x)),
4247
+ `Failed to parse 'StarResponse' from JSON`,
4248
+ );
4249
+ }
4250
+
4251
+ /** @internal */
4252
+ export type UnstarRequest$Outbound = {
4253
+ conversationUrn: string;
4254
+ };
4255
+
4256
+ /** @internal */
4257
+ export const UnstarRequest$outboundSchema: z.ZodMiniType<
4258
+ UnstarRequest$Outbound,
4259
+ UnstarRequest
4260
+ > = z.object({
4261
+ conversationUrn: z.string(),
4262
+ });
4263
+
4264
+ export function unstarRequestToJSON(unstarRequest: UnstarRequest): string {
4265
+ return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
4266
+ }
4267
+
4268
+ /** @internal */
4269
+ export const UnstarResponse$inboundSchema: z.ZodMiniType<
4270
+ UnstarResponse,
4271
+ unknown
4272
+ > = z.object({
4273
+ success: types.literal(true),
4274
+ creditsUsed: types.number(),
4275
+ retryAfter: types.number(),
4276
+ });
4277
+
4278
+ export function unstarResponseFromJSON(
4279
+ jsonString: string,
4280
+ ): SafeParseResult<UnstarResponse, SDKValidationError> {
4281
+ return safeParse(
4282
+ jsonString,
4283
+ (x) => UnstarResponse$inboundSchema.parse(JSON.parse(x)),
4284
+ `Failed to parse 'UnstarResponse' from JSON`,
4285
+ );
4286
+ }
4287
+
4259
4288
  /** @internal */
4260
4289
  export type ListStarredRequest$Outbound = {
4261
4290
  nextCursor?: string | undefined;
@@ -4408,6 +4437,47 @@ export function archiveResponseFromJSON(
4408
4437
  );
4409
4438
  }
4410
4439
 
4440
+ /** @internal */
4441
+ export type UnarchiveRequest$Outbound = {
4442
+ conversationUrn: string;
4443
+ };
4444
+
4445
+ /** @internal */
4446
+ export const UnarchiveRequest$outboundSchema: z.ZodMiniType<
4447
+ UnarchiveRequest$Outbound,
4448
+ UnarchiveRequest
4449
+ > = z.object({
4450
+ conversationUrn: z.string(),
4451
+ });
4452
+
4453
+ export function unarchiveRequestToJSON(
4454
+ unarchiveRequest: UnarchiveRequest,
4455
+ ): string {
4456
+ return JSON.stringify(
4457
+ UnarchiveRequest$outboundSchema.parse(unarchiveRequest),
4458
+ );
4459
+ }
4460
+
4461
+ /** @internal */
4462
+ export const UnarchiveResponse$inboundSchema: z.ZodMiniType<
4463
+ UnarchiveResponse,
4464
+ unknown
4465
+ > = z.object({
4466
+ success: types.literal(true),
4467
+ creditsUsed: types.number(),
4468
+ retryAfter: types.number(),
4469
+ });
4470
+
4471
+ export function unarchiveResponseFromJSON(
4472
+ jsonString: string,
4473
+ ): SafeParseResult<UnarchiveResponse, SDKValidationError> {
4474
+ return safeParse(
4475
+ jsonString,
4476
+ (x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)),
4477
+ `Failed to parse 'UnarchiveResponse' from JSON`,
4478
+ );
4479
+ }
4480
+
4411
4481
  /** @internal */
4412
4482
  export type ListArchivedRequest$Outbound = {
4413
4483
  nextCursor?: string | undefined;
@@ -4524,89 +4594,70 @@ export function listArchivedResponseFromJSON(
4524
4594
  }
4525
4595
 
4526
4596
  /** @internal */
4527
- export type UnreactRequest$Outbound = {
4597
+ export type ReactRequest$Outbound = {
4528
4598
  messageUrn: string;
4529
4599
  emoji: string;
4530
4600
  conversationUrn: string;
4531
4601
  };
4532
4602
 
4533
4603
  /** @internal */
4534
- export const UnreactRequest$outboundSchema: z.ZodMiniType<
4535
- UnreactRequest$Outbound,
4536
- UnreactRequest
4604
+ export const ReactRequest$outboundSchema: z.ZodMiniType<
4605
+ ReactRequest$Outbound,
4606
+ ReactRequest
4537
4607
  > = z.object({
4538
4608
  messageUrn: z.string(),
4539
4609
  emoji: z.string(),
4540
4610
  conversationUrn: z.string(),
4541
4611
  });
4542
4612
 
4543
- export function unreactRequestToJSON(unreactRequest: UnreactRequest): string {
4544
- return JSON.stringify(UnreactRequest$outboundSchema.parse(unreactRequest));
4545
- }
4546
-
4547
- /** @internal */
4548
- export const UnreactResponse$inboundSchema: z.ZodMiniType<
4549
- UnreactResponse,
4550
- unknown
4551
- > = z.object({
4552
- success: types.literal(true),
4553
- creditsUsed: types.number(),
4554
- retryAfter: types.number(),
4555
- });
4556
-
4557
- export function unreactResponseFromJSON(
4558
- jsonString: string,
4559
- ): SafeParseResult<UnreactResponse, SDKValidationError> {
4560
- return safeParse(
4561
- jsonString,
4562
- (x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)),
4563
- `Failed to parse 'UnreactResponse' from JSON`,
4564
- );
4613
+ export function reactRequestToJSON(reactRequest: ReactRequest): string {
4614
+ return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
4565
4615
  }
4566
4616
 
4567
4617
  /** @internal */
4568
- export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
4569
- GetUnreadCountResponse,
4618
+ export const ReactResponse$inboundSchema: z.ZodMiniType<
4619
+ ReactResponse,
4570
4620
  unknown
4571
4621
  > = z.object({
4572
4622
  success: types.literal(true),
4573
- unreadCount: types.number(),
4574
4623
  creditsUsed: types.number(),
4575
4624
  retryAfter: types.number(),
4576
4625
  });
4577
4626
 
4578
- export function getUnreadCountResponseFromJSON(
4627
+ export function reactResponseFromJSON(
4579
4628
  jsonString: string,
4580
- ): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
4629
+ ): SafeParseResult<ReactResponse, SDKValidationError> {
4581
4630
  return safeParse(
4582
4631
  jsonString,
4583
- (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
4584
- `Failed to parse 'GetUnreadCountResponse' from JSON`,
4632
+ (x) => ReactResponse$inboundSchema.parse(JSON.parse(x)),
4633
+ `Failed to parse 'ReactResponse' from JSON`,
4585
4634
  );
4586
4635
  }
4587
4636
 
4588
4637
  /** @internal */
4589
- export type MarkSeenRequest$Outbound = {
4638
+ export type UnreactRequest$Outbound = {
4639
+ messageUrn: string;
4640
+ emoji: string;
4590
4641
  conversationUrn: string;
4591
4642
  };
4592
4643
 
4593
4644
  /** @internal */
4594
- export const MarkSeenRequest$outboundSchema: z.ZodMiniType<
4595
- MarkSeenRequest$Outbound,
4596
- MarkSeenRequest
4645
+ export const UnreactRequest$outboundSchema: z.ZodMiniType<
4646
+ UnreactRequest$Outbound,
4647
+ UnreactRequest
4597
4648
  > = z.object({
4649
+ messageUrn: z.string(),
4650
+ emoji: z.string(),
4598
4651
  conversationUrn: z.string(),
4599
4652
  });
4600
4653
 
4601
- export function markSeenRequestToJSON(
4602
- markSeenRequest: MarkSeenRequest,
4603
- ): string {
4604
- return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
4654
+ export function unreactRequestToJSON(unreactRequest: UnreactRequest): string {
4655
+ return JSON.stringify(UnreactRequest$outboundSchema.parse(unreactRequest));
4605
4656
  }
4606
4657
 
4607
4658
  /** @internal */
4608
- export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4609
- MarkSeenResponse,
4659
+ export const UnreactResponse$inboundSchema: z.ZodMiniType<
4660
+ UnreactResponse,
4610
4661
  unknown
4611
4662
  > = z.object({
4612
4663
  success: types.literal(true),
@@ -4614,71 +4665,40 @@ export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4614
4665
  retryAfter: types.number(),
4615
4666
  });
4616
4667
 
4617
- export function markSeenResponseFromJSON(
4668
+ export function unreactResponseFromJSON(
4618
4669
  jsonString: string,
4619
- ): SafeParseResult<MarkSeenResponse, SDKValidationError> {
4670
+ ): SafeParseResult<UnreactResponse, SDKValidationError> {
4620
4671
  return safeParse(
4621
4672
  jsonString,
4622
- (x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)),
4623
- `Failed to parse 'MarkSeenResponse' from JSON`,
4673
+ (x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)),
4674
+ `Failed to parse 'UnreactResponse' from JSON`,
4624
4675
  );
4625
4676
  }
4626
4677
 
4627
4678
  /** @internal */
4628
- export type StarRequest$Outbound = {
4679
+ export type SendTypingIndicatorRequest$Outbound = {
4629
4680
  conversationUrn: string;
4630
4681
  };
4631
4682
 
4632
4683
  /** @internal */
4633
- export const StarRequest$outboundSchema: z.ZodMiniType<
4634
- StarRequest$Outbound,
4635
- StarRequest
4684
+ export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
4685
+ SendTypingIndicatorRequest$Outbound,
4686
+ SendTypingIndicatorRequest
4636
4687
  > = z.object({
4637
4688
  conversationUrn: z.string(),
4638
4689
  });
4639
4690
 
4640
- export function starRequestToJSON(starRequest: StarRequest): string {
4641
- return JSON.stringify(StarRequest$outboundSchema.parse(starRequest));
4642
- }
4643
-
4644
- /** @internal */
4645
- export const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown> =
4646
- z.object({
4647
- success: types.literal(true),
4648
- creditsUsed: types.number(),
4649
- retryAfter: types.number(),
4650
- });
4651
-
4652
- export function starResponseFromJSON(
4653
- jsonString: string,
4654
- ): SafeParseResult<StarResponse, SDKValidationError> {
4655
- return safeParse(
4656
- jsonString,
4657
- (x) => StarResponse$inboundSchema.parse(JSON.parse(x)),
4658
- `Failed to parse 'StarResponse' from JSON`,
4691
+ export function sendTypingIndicatorRequestToJSON(
4692
+ sendTypingIndicatorRequest: SendTypingIndicatorRequest,
4693
+ ): string {
4694
+ return JSON.stringify(
4695
+ SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
4659
4696
  );
4660
4697
  }
4661
4698
 
4662
4699
  /** @internal */
4663
- export type UnstarRequest$Outbound = {
4664
- conversationUrn: string;
4665
- };
4666
-
4667
- /** @internal */
4668
- export const UnstarRequest$outboundSchema: z.ZodMiniType<
4669
- UnstarRequest$Outbound,
4670
- UnstarRequest
4671
- > = z.object({
4672
- conversationUrn: z.string(),
4673
- });
4674
-
4675
- export function unstarRequestToJSON(unstarRequest: UnstarRequest): string {
4676
- return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
4677
- }
4678
-
4679
- /** @internal */
4680
- export const UnstarResponse$inboundSchema: z.ZodMiniType<
4681
- UnstarResponse,
4700
+ export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
4701
+ SendTypingIndicatorResponse,
4682
4702
  unknown
4683
4703
  > = z.object({
4684
4704
  success: types.literal(true),
@@ -4686,54 +4706,34 @@ export const UnstarResponse$inboundSchema: z.ZodMiniType<
4686
4706
  retryAfter: types.number(),
4687
4707
  });
4688
4708
 
4689
- export function unstarResponseFromJSON(
4709
+ export function sendTypingIndicatorResponseFromJSON(
4690
4710
  jsonString: string,
4691
- ): SafeParseResult<UnstarResponse, SDKValidationError> {
4711
+ ): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
4692
4712
  return safeParse(
4693
4713
  jsonString,
4694
- (x) => UnstarResponse$inboundSchema.parse(JSON.parse(x)),
4695
- `Failed to parse 'UnstarResponse' from JSON`,
4696
- );
4697
- }
4698
-
4699
- /** @internal */
4700
- export type UnarchiveRequest$Outbound = {
4701
- conversationUrn: string;
4702
- };
4703
-
4704
- /** @internal */
4705
- export const UnarchiveRequest$outboundSchema: z.ZodMiniType<
4706
- UnarchiveRequest$Outbound,
4707
- UnarchiveRequest
4708
- > = z.object({
4709
- conversationUrn: z.string(),
4710
- });
4711
-
4712
- export function unarchiveRequestToJSON(
4713
- unarchiveRequest: UnarchiveRequest,
4714
- ): string {
4715
- return JSON.stringify(
4716
- UnarchiveRequest$outboundSchema.parse(unarchiveRequest),
4714
+ (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
4715
+ `Failed to parse 'SendTypingIndicatorResponse' from JSON`,
4717
4716
  );
4718
4717
  }
4719
4718
 
4720
4719
  /** @internal */
4721
- export const UnarchiveResponse$inboundSchema: z.ZodMiniType<
4722
- UnarchiveResponse,
4720
+ export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
4721
+ GetUnreadCountResponse,
4723
4722
  unknown
4724
4723
  > = z.object({
4725
4724
  success: types.literal(true),
4725
+ unreadCount: types.number(),
4726
4726
  creditsUsed: types.number(),
4727
4727
  retryAfter: types.number(),
4728
4728
  });
4729
4729
 
4730
- export function unarchiveResponseFromJSON(
4730
+ export function getUnreadCountResponseFromJSON(
4731
4731
  jsonString: string,
4732
- ): SafeParseResult<UnarchiveResponse, SDKValidationError> {
4732
+ ): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
4733
4733
  return safeParse(
4734
4734
  jsonString,
4735
- (x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)),
4736
- `Failed to parse 'UnarchiveResponse' from JSON`,
4735
+ (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
4736
+ `Failed to parse 'GetUnreadCountResponse' from JSON`,
4737
4737
  );
4738
4738
  }
4739
4739