bereach 1.4.0 → 1.4.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 (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 +3 -3
  188. package/esm/lib/config.js +3 -3
  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} +906 -889
  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} +615 -604
  196. package/esm/models/operations/search-companies-response.js.map +1 -0
  197. package/esm/models/operations/search-contacts-campaign.d.ts +188 -180
  198. package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
  199. package/esm/models/operations/search-contacts-campaign.js +104 -102
  200. package/esm/models/operations/search-contacts-campaign.js.map +1 -1
  201. package/esm/models/operations/update-account-response.d.ts +638 -634
  202. package/esm/models/operations/update-account-response.d.ts.map +1 -1
  203. package/esm/models/operations/update-account-response.js +308 -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 +3 -3
  295. package/src/models/operations/index.ts +1 -1
  296. package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1919 -1910
  297. package/src/models/operations/search-contacts-campaign.ts +376 -366
  298. package/src/models/operations/update-account-response.ts +1156 -1151
  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
@@ -121,6 +121,10 @@ export type RefreshLastPost = {
121
121
  postUrn: string;
122
122
  postId: string;
123
123
  type: RefreshType;
124
+ /**
125
+ * True when the post is a repost/reshare of another post. Absent for original posts.
126
+ */
127
+ isRepost?: boolean | undefined;
124
128
  /**
125
129
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
126
130
  */
@@ -267,6 +271,10 @@ export type GetMyPostsPost = {
267
271
  postUrn: string;
268
272
  postId: string;
269
273
  type: GetMyPostsType;
274
+ /**
275
+ * True when the post is a repost/reshare of another post. Absent for original posts.
276
+ */
277
+ isRepost?: boolean | undefined;
270
278
  /**
271
279
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
272
280
  */
@@ -1224,75 +1232,6 @@ export type ListInboxResponse = {
1224
1232
  retryAfter: number;
1225
1233
  };
1226
1234
 
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
1235
  export type SearchConversationsRequest = {
1297
1236
  /**
1298
1237
  * Search keywords
@@ -1504,6 +1443,89 @@ export type GetMessagesResponse = {
1504
1443
  retryAfter: number;
1505
1444
  };
1506
1445
 
1446
+ export type MarkSeenRequest = {
1447
+ /**
1448
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1449
+ */
1450
+ conversationUrn: string;
1451
+ };
1452
+
1453
+ /**
1454
+ * Conversation marked as read
1455
+ */
1456
+ export type MarkSeenResponse = {
1457
+ success: true;
1458
+ /**
1459
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1460
+ */
1461
+ creditsUsed: number;
1462
+ /**
1463
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1464
+ */
1465
+ retryAfter: number;
1466
+ };
1467
+
1468
+ export type MarkAllReadRequest = {};
1469
+
1470
+ /**
1471
+ * All conversations marked as read
1472
+ */
1473
+ export type MarkAllReadResponse = {
1474
+ success: true;
1475
+ /**
1476
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1477
+ */
1478
+ creditsUsed: number;
1479
+ /**
1480
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1481
+ */
1482
+ retryAfter: number;
1483
+ };
1484
+
1485
+ export type StarRequest = {
1486
+ /**
1487
+ * Full conversation URN
1488
+ */
1489
+ conversationUrn: string;
1490
+ };
1491
+
1492
+ /**
1493
+ * Conversation starred
1494
+ */
1495
+ export type StarResponse = {
1496
+ success: true;
1497
+ /**
1498
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1499
+ */
1500
+ creditsUsed: number;
1501
+ /**
1502
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1503
+ */
1504
+ retryAfter: number;
1505
+ };
1506
+
1507
+ export type UnstarRequest = {
1508
+ /**
1509
+ * Full conversation URN
1510
+ */
1511
+ conversationUrn: string;
1512
+ };
1513
+
1514
+ /**
1515
+ * Conversation unstarred
1516
+ */
1517
+ export type UnstarResponse = {
1518
+ success: true;
1519
+ /**
1520
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1521
+ */
1522
+ creditsUsed: number;
1523
+ /**
1524
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1525
+ */
1526
+ retryAfter: number;
1527
+ };
1528
+
1507
1529
  export type ListStarredRequest = {
1508
1530
  /**
1509
1531
  * Pagination cursor from a previous response
@@ -1581,6 +1603,28 @@ export type ArchiveResponse = {
1581
1603
  retryAfter: number;
1582
1604
  };
1583
1605
 
1606
+ export type UnarchiveRequest = {
1607
+ /**
1608
+ * Full conversation URN
1609
+ */
1610
+ conversationUrn: string;
1611
+ };
1612
+
1613
+ /**
1614
+ * Conversation unarchived
1615
+ */
1616
+ export type UnarchiveResponse = {
1617
+ success: true;
1618
+ /**
1619
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1620
+ */
1621
+ creditsUsed: number;
1622
+ /**
1623
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1624
+ */
1625
+ retryAfter: number;
1626
+ };
1627
+
1584
1628
  export type ListArchivedRequest = {
1585
1629
  /**
1586
1630
  * Pagination cursor from a previous response
@@ -1636,7 +1680,7 @@ export type ListArchivedResponse = {
1636
1680
  retryAfter: number;
1637
1681
  };
1638
1682
 
1639
- export type UnreactRequest = {
1683
+ export type ReactRequest = {
1640
1684
  /**
1641
1685
  * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1642
1686
  */
@@ -1652,9 +1696,9 @@ export type UnreactRequest = {
1652
1696
  };
1653
1697
 
1654
1698
  /**
1655
- * Reaction removed
1699
+ * Reaction added
1656
1700
  */
1657
- export type UnreactResponse = {
1701
+ export type ReactResponse = {
1658
1702
  success: true;
1659
1703
  /**
1660
1704
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1666,36 +1710,25 @@ export type UnreactResponse = {
1666
1710
  retryAfter: number;
1667
1711
  };
1668
1712
 
1669
- /**
1670
- * Unread count
1671
- */
1672
- export type GetUnreadCountResponse = {
1673
- success: true;
1674
- /**
1675
- * Number of unread conversations/messages
1676
- */
1677
- unreadCount: number;
1713
+ export type UnreactRequest = {
1678
1714
  /**
1679
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1715
+ * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1680
1716
  */
1681
- creditsUsed: number;
1717
+ messageUrn: string;
1682
1718
  /**
1683
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1719
+ * Emoji character to react with (e.g. '👍', '❤️', '😂')
1684
1720
  */
1685
- retryAfter: number;
1686
- };
1687
-
1688
- export type MarkSeenRequest = {
1721
+ emoji: string;
1689
1722
  /**
1690
- * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1723
+ * Conversation URN (required for the old messaging API fallback)
1691
1724
  */
1692
1725
  conversationUrn: string;
1693
1726
  };
1694
1727
 
1695
1728
  /**
1696
- * Conversation marked as read
1729
+ * Reaction removed
1697
1730
  */
1698
- export type MarkSeenResponse = {
1731
+ export type UnreactResponse = {
1699
1732
  success: true;
1700
1733
  /**
1701
1734
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1707,7 +1740,7 @@ export type MarkSeenResponse = {
1707
1740
  retryAfter: number;
1708
1741
  };
1709
1742
 
1710
- export type StarRequest = {
1743
+ export type SendTypingIndicatorRequest = {
1711
1744
  /**
1712
1745
  * Full conversation URN
1713
1746
  */
@@ -1715,9 +1748,9 @@ export type StarRequest = {
1715
1748
  };
1716
1749
 
1717
1750
  /**
1718
- * Conversation starred
1751
+ * Typing indicator sent
1719
1752
  */
1720
- export type StarResponse = {
1753
+ export type SendTypingIndicatorResponse = {
1721
1754
  success: true;
1722
1755
  /**
1723
1756
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -1729,40 +1762,15 @@ export type StarResponse = {
1729
1762
  retryAfter: number;
1730
1763
  };
1731
1764
 
1732
- export type UnstarRequest = {
1733
- /**
1734
- * Full conversation URN
1735
- */
1736
- conversationUrn: string;
1737
- };
1738
-
1739
1765
  /**
1740
- * Conversation unstarred
1766
+ * Unread count
1741
1767
  */
1742
- export type UnstarResponse = {
1768
+ export type GetUnreadCountResponse = {
1743
1769
  success: true;
1744
1770
  /**
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
1771
+ * Number of unread conversations/messages
1757
1772
  */
1758
- conversationUrn: string;
1759
- };
1760
-
1761
- /**
1762
- * Conversation unarchived
1763
- */
1764
- export type UnarchiveResponse = {
1765
- success: true;
1773
+ unreadCount: number;
1766
1774
  /**
1767
1775
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1768
1776
  */
@@ -2358,6 +2366,7 @@ export const RefreshLastPost$inboundSchema: z.ZodMiniType<
2358
2366
  postUrn: types.string(),
2359
2367
  postId: types.string(),
2360
2368
  type: RefreshType$inboundSchema,
2369
+ isRepost: types.optional(types.boolean()),
2361
2370
  media: types.optional(z.lazy(() => RefreshMedia$inboundSchema)),
2362
2371
  });
2363
2372
 
@@ -2484,6 +2493,7 @@ export const GetMyPostsPost$inboundSchema: z.ZodMiniType<
2484
2493
  postUrn: types.string(),
2485
2494
  postId: types.string(),
2486
2495
  type: GetMyPostsType$inboundSchema,
2496
+ isRepost: types.optional(types.boolean()),
2487
2497
  media: types.optional(z.lazy(() => GetMyPostsMedia$inboundSchema)),
2488
2498
  });
2489
2499
 
@@ -3746,129 +3756,10 @@ export function listInboxResponseFromJSON(
3746
3756
  }
3747
3757
 
3748
3758
  /** @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
- };
3759
+ export type SearchConversationsRequest$Outbound = {
3760
+ keywords: string;
3761
+ nextCursor?: string | undefined;
3762
+ };
3872
3763
 
3873
3764
  /** @internal */
3874
3765
  export const SearchConversationsRequest$outboundSchema: z.ZodMiniType<
@@ -4256,6 +4147,154 @@ export function getMessagesResponseFromJSON(
4256
4147
  );
4257
4148
  }
4258
4149
 
4150
+ /** @internal */
4151
+ export type MarkSeenRequest$Outbound = {
4152
+ conversationUrn: string;
4153
+ };
4154
+
4155
+ /** @internal */
4156
+ export const MarkSeenRequest$outboundSchema: z.ZodMiniType<
4157
+ MarkSeenRequest$Outbound,
4158
+ MarkSeenRequest
4159
+ > = z.object({
4160
+ conversationUrn: z.string(),
4161
+ });
4162
+
4163
+ export function markSeenRequestToJSON(
4164
+ markSeenRequest: MarkSeenRequest,
4165
+ ): string {
4166
+ return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
4167
+ }
4168
+
4169
+ /** @internal */
4170
+ export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4171
+ MarkSeenResponse,
4172
+ unknown
4173
+ > = z.object({
4174
+ success: types.literal(true),
4175
+ creditsUsed: types.number(),
4176
+ retryAfter: types.number(),
4177
+ });
4178
+
4179
+ export function markSeenResponseFromJSON(
4180
+ jsonString: string,
4181
+ ): SafeParseResult<MarkSeenResponse, SDKValidationError> {
4182
+ return safeParse(
4183
+ jsonString,
4184
+ (x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)),
4185
+ `Failed to parse 'MarkSeenResponse' from JSON`,
4186
+ );
4187
+ }
4188
+
4189
+ /** @internal */
4190
+ export type MarkAllReadRequest$Outbound = {};
4191
+
4192
+ /** @internal */
4193
+ export const MarkAllReadRequest$outboundSchema: z.ZodMiniType<
4194
+ MarkAllReadRequest$Outbound,
4195
+ MarkAllReadRequest
4196
+ > = z.object({});
4197
+
4198
+ export function markAllReadRequestToJSON(
4199
+ markAllReadRequest: MarkAllReadRequest,
4200
+ ): string {
4201
+ return JSON.stringify(
4202
+ MarkAllReadRequest$outboundSchema.parse(markAllReadRequest),
4203
+ );
4204
+ }
4205
+
4206
+ /** @internal */
4207
+ export const MarkAllReadResponse$inboundSchema: z.ZodMiniType<
4208
+ MarkAllReadResponse,
4209
+ unknown
4210
+ > = z.object({
4211
+ success: types.literal(true),
4212
+ creditsUsed: types.number(),
4213
+ retryAfter: types.number(),
4214
+ });
4215
+
4216
+ export function markAllReadResponseFromJSON(
4217
+ jsonString: string,
4218
+ ): SafeParseResult<MarkAllReadResponse, SDKValidationError> {
4219
+ return safeParse(
4220
+ jsonString,
4221
+ (x) => MarkAllReadResponse$inboundSchema.parse(JSON.parse(x)),
4222
+ `Failed to parse 'MarkAllReadResponse' from JSON`,
4223
+ );
4224
+ }
4225
+
4226
+ /** @internal */
4227
+ export type StarRequest$Outbound = {
4228
+ conversationUrn: string;
4229
+ };
4230
+
4231
+ /** @internal */
4232
+ export const StarRequest$outboundSchema: z.ZodMiniType<
4233
+ StarRequest$Outbound,
4234
+ StarRequest
4235
+ > = z.object({
4236
+ conversationUrn: z.string(),
4237
+ });
4238
+
4239
+ export function starRequestToJSON(starRequest: StarRequest): string {
4240
+ return JSON.stringify(StarRequest$outboundSchema.parse(starRequest));
4241
+ }
4242
+
4243
+ /** @internal */
4244
+ export const StarResponse$inboundSchema: z.ZodMiniType<StarResponse, unknown> =
4245
+ z.object({
4246
+ success: types.literal(true),
4247
+ creditsUsed: types.number(),
4248
+ retryAfter: types.number(),
4249
+ });
4250
+
4251
+ export function starResponseFromJSON(
4252
+ jsonString: string,
4253
+ ): SafeParseResult<StarResponse, SDKValidationError> {
4254
+ return safeParse(
4255
+ jsonString,
4256
+ (x) => StarResponse$inboundSchema.parse(JSON.parse(x)),
4257
+ `Failed to parse 'StarResponse' from JSON`,
4258
+ );
4259
+ }
4260
+
4261
+ /** @internal */
4262
+ export type UnstarRequest$Outbound = {
4263
+ conversationUrn: string;
4264
+ };
4265
+
4266
+ /** @internal */
4267
+ export const UnstarRequest$outboundSchema: z.ZodMiniType<
4268
+ UnstarRequest$Outbound,
4269
+ UnstarRequest
4270
+ > = z.object({
4271
+ conversationUrn: z.string(),
4272
+ });
4273
+
4274
+ export function unstarRequestToJSON(unstarRequest: UnstarRequest): string {
4275
+ return JSON.stringify(UnstarRequest$outboundSchema.parse(unstarRequest));
4276
+ }
4277
+
4278
+ /** @internal */
4279
+ export const UnstarResponse$inboundSchema: z.ZodMiniType<
4280
+ UnstarResponse,
4281
+ unknown
4282
+ > = z.object({
4283
+ success: types.literal(true),
4284
+ creditsUsed: types.number(),
4285
+ retryAfter: types.number(),
4286
+ });
4287
+
4288
+ export function unstarResponseFromJSON(
4289
+ jsonString: string,
4290
+ ): SafeParseResult<UnstarResponse, SDKValidationError> {
4291
+ return safeParse(
4292
+ jsonString,
4293
+ (x) => UnstarResponse$inboundSchema.parse(JSON.parse(x)),
4294
+ `Failed to parse 'UnstarResponse' from JSON`,
4295
+ );
4296
+ }
4297
+
4259
4298
  /** @internal */
4260
4299
  export type ListStarredRequest$Outbound = {
4261
4300
  nextCursor?: string | undefined;
@@ -4408,6 +4447,47 @@ export function archiveResponseFromJSON(
4408
4447
  );
4409
4448
  }
4410
4449
 
4450
+ /** @internal */
4451
+ export type UnarchiveRequest$Outbound = {
4452
+ conversationUrn: string;
4453
+ };
4454
+
4455
+ /** @internal */
4456
+ export const UnarchiveRequest$outboundSchema: z.ZodMiniType<
4457
+ UnarchiveRequest$Outbound,
4458
+ UnarchiveRequest
4459
+ > = z.object({
4460
+ conversationUrn: z.string(),
4461
+ });
4462
+
4463
+ export function unarchiveRequestToJSON(
4464
+ unarchiveRequest: UnarchiveRequest,
4465
+ ): string {
4466
+ return JSON.stringify(
4467
+ UnarchiveRequest$outboundSchema.parse(unarchiveRequest),
4468
+ );
4469
+ }
4470
+
4471
+ /** @internal */
4472
+ export const UnarchiveResponse$inboundSchema: z.ZodMiniType<
4473
+ UnarchiveResponse,
4474
+ unknown
4475
+ > = z.object({
4476
+ success: types.literal(true),
4477
+ creditsUsed: types.number(),
4478
+ retryAfter: types.number(),
4479
+ });
4480
+
4481
+ export function unarchiveResponseFromJSON(
4482
+ jsonString: string,
4483
+ ): SafeParseResult<UnarchiveResponse, SDKValidationError> {
4484
+ return safeParse(
4485
+ jsonString,
4486
+ (x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)),
4487
+ `Failed to parse 'UnarchiveResponse' from JSON`,
4488
+ );
4489
+ }
4490
+
4411
4491
  /** @internal */
4412
4492
  export type ListArchivedRequest$Outbound = {
4413
4493
  nextCursor?: string | undefined;
@@ -4524,89 +4604,70 @@ export function listArchivedResponseFromJSON(
4524
4604
  }
4525
4605
 
4526
4606
  /** @internal */
4527
- export type UnreactRequest$Outbound = {
4607
+ export type ReactRequest$Outbound = {
4528
4608
  messageUrn: string;
4529
4609
  emoji: string;
4530
4610
  conversationUrn: string;
4531
4611
  };
4532
4612
 
4533
4613
  /** @internal */
4534
- export const UnreactRequest$outboundSchema: z.ZodMiniType<
4535
- UnreactRequest$Outbound,
4536
- UnreactRequest
4614
+ export const ReactRequest$outboundSchema: z.ZodMiniType<
4615
+ ReactRequest$Outbound,
4616
+ ReactRequest
4537
4617
  > = z.object({
4538
4618
  messageUrn: z.string(),
4539
4619
  emoji: z.string(),
4540
4620
  conversationUrn: z.string(),
4541
4621
  });
4542
4622
 
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
- );
4623
+ export function reactRequestToJSON(reactRequest: ReactRequest): string {
4624
+ return JSON.stringify(ReactRequest$outboundSchema.parse(reactRequest));
4565
4625
  }
4566
4626
 
4567
4627
  /** @internal */
4568
- export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
4569
- GetUnreadCountResponse,
4628
+ export const ReactResponse$inboundSchema: z.ZodMiniType<
4629
+ ReactResponse,
4570
4630
  unknown
4571
4631
  > = z.object({
4572
4632
  success: types.literal(true),
4573
- unreadCount: types.number(),
4574
4633
  creditsUsed: types.number(),
4575
4634
  retryAfter: types.number(),
4576
4635
  });
4577
4636
 
4578
- export function getUnreadCountResponseFromJSON(
4637
+ export function reactResponseFromJSON(
4579
4638
  jsonString: string,
4580
- ): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
4639
+ ): SafeParseResult<ReactResponse, SDKValidationError> {
4581
4640
  return safeParse(
4582
4641
  jsonString,
4583
- (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
4584
- `Failed to parse 'GetUnreadCountResponse' from JSON`,
4642
+ (x) => ReactResponse$inboundSchema.parse(JSON.parse(x)),
4643
+ `Failed to parse 'ReactResponse' from JSON`,
4585
4644
  );
4586
4645
  }
4587
4646
 
4588
4647
  /** @internal */
4589
- export type MarkSeenRequest$Outbound = {
4648
+ export type UnreactRequest$Outbound = {
4649
+ messageUrn: string;
4650
+ emoji: string;
4590
4651
  conversationUrn: string;
4591
4652
  };
4592
4653
 
4593
4654
  /** @internal */
4594
- export const MarkSeenRequest$outboundSchema: z.ZodMiniType<
4595
- MarkSeenRequest$Outbound,
4596
- MarkSeenRequest
4655
+ export const UnreactRequest$outboundSchema: z.ZodMiniType<
4656
+ UnreactRequest$Outbound,
4657
+ UnreactRequest
4597
4658
  > = z.object({
4659
+ messageUrn: z.string(),
4660
+ emoji: z.string(),
4598
4661
  conversationUrn: z.string(),
4599
4662
  });
4600
4663
 
4601
- export function markSeenRequestToJSON(
4602
- markSeenRequest: MarkSeenRequest,
4603
- ): string {
4604
- return JSON.stringify(MarkSeenRequest$outboundSchema.parse(markSeenRequest));
4664
+ export function unreactRequestToJSON(unreactRequest: UnreactRequest): string {
4665
+ return JSON.stringify(UnreactRequest$outboundSchema.parse(unreactRequest));
4605
4666
  }
4606
4667
 
4607
4668
  /** @internal */
4608
- export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4609
- MarkSeenResponse,
4669
+ export const UnreactResponse$inboundSchema: z.ZodMiniType<
4670
+ UnreactResponse,
4610
4671
  unknown
4611
4672
  > = z.object({
4612
4673
  success: types.literal(true),
@@ -4614,71 +4675,40 @@ export const MarkSeenResponse$inboundSchema: z.ZodMiniType<
4614
4675
  retryAfter: types.number(),
4615
4676
  });
4616
4677
 
4617
- export function markSeenResponseFromJSON(
4678
+ export function unreactResponseFromJSON(
4618
4679
  jsonString: string,
4619
- ): SafeParseResult<MarkSeenResponse, SDKValidationError> {
4680
+ ): SafeParseResult<UnreactResponse, SDKValidationError> {
4620
4681
  return safeParse(
4621
4682
  jsonString,
4622
- (x) => MarkSeenResponse$inboundSchema.parse(JSON.parse(x)),
4623
- `Failed to parse 'MarkSeenResponse' from JSON`,
4683
+ (x) => UnreactResponse$inboundSchema.parse(JSON.parse(x)),
4684
+ `Failed to parse 'UnreactResponse' from JSON`,
4624
4685
  );
4625
4686
  }
4626
4687
 
4627
4688
  /** @internal */
4628
- export type StarRequest$Outbound = {
4689
+ export type SendTypingIndicatorRequest$Outbound = {
4629
4690
  conversationUrn: string;
4630
4691
  };
4631
4692
 
4632
4693
  /** @internal */
4633
- export const StarRequest$outboundSchema: z.ZodMiniType<
4634
- StarRequest$Outbound,
4635
- StarRequest
4694
+ export const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<
4695
+ SendTypingIndicatorRequest$Outbound,
4696
+ SendTypingIndicatorRequest
4636
4697
  > = z.object({
4637
4698
  conversationUrn: z.string(),
4638
4699
  });
4639
4700
 
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`,
4701
+ export function sendTypingIndicatorRequestToJSON(
4702
+ sendTypingIndicatorRequest: SendTypingIndicatorRequest,
4703
+ ): string {
4704
+ return JSON.stringify(
4705
+ SendTypingIndicatorRequest$outboundSchema.parse(sendTypingIndicatorRequest),
4659
4706
  );
4660
4707
  }
4661
4708
 
4662
4709
  /** @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,
4710
+ export const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<
4711
+ SendTypingIndicatorResponse,
4682
4712
  unknown
4683
4713
  > = z.object({
4684
4714
  success: types.literal(true),
@@ -4686,54 +4716,34 @@ export const UnstarResponse$inboundSchema: z.ZodMiniType<
4686
4716
  retryAfter: types.number(),
4687
4717
  });
4688
4718
 
4689
- export function unstarResponseFromJSON(
4719
+ export function sendTypingIndicatorResponseFromJSON(
4690
4720
  jsonString: string,
4691
- ): SafeParseResult<UnstarResponse, SDKValidationError> {
4721
+ ): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError> {
4692
4722
  return safeParse(
4693
4723
  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),
4724
+ (x) => SendTypingIndicatorResponse$inboundSchema.parse(JSON.parse(x)),
4725
+ `Failed to parse 'SendTypingIndicatorResponse' from JSON`,
4717
4726
  );
4718
4727
  }
4719
4728
 
4720
4729
  /** @internal */
4721
- export const UnarchiveResponse$inboundSchema: z.ZodMiniType<
4722
- UnarchiveResponse,
4730
+ export const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<
4731
+ GetUnreadCountResponse,
4723
4732
  unknown
4724
4733
  > = z.object({
4725
4734
  success: types.literal(true),
4735
+ unreadCount: types.number(),
4726
4736
  creditsUsed: types.number(),
4727
4737
  retryAfter: types.number(),
4728
4738
  });
4729
4739
 
4730
- export function unarchiveResponseFromJSON(
4740
+ export function getUnreadCountResponseFromJSON(
4731
4741
  jsonString: string,
4732
- ): SafeParseResult<UnarchiveResponse, SDKValidationError> {
4742
+ ): SafeParseResult<GetUnreadCountResponse, SDKValidationError> {
4733
4743
  return safeParse(
4734
4744
  jsonString,
4735
- (x) => UnarchiveResponse$inboundSchema.parse(JSON.parse(x)),
4736
- `Failed to parse 'UnarchiveResponse' from JSON`,
4745
+ (x) => GetUnreadCountResponse$inboundSchema.parse(JSON.parse(x)),
4746
+ `Failed to parse 'GetUnreadCountResponse' from JSON`,
4737
4747
  );
4738
4748
  }
4739
4749