bereach 1.3.2 → 1.4.0-beta.10

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 (1156) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +235 -149
  3. package/esm/funcs/actions-accept-invitation.d.ts +18 -0
  4. package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
  5. package/esm/funcs/actions-accept-invitation.js +97 -0
  6. package/esm/funcs/actions-accept-invitation.js.map +1 -0
  7. package/esm/funcs/actions-connect-profile.d.ts +2 -2
  8. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  9. package/esm/funcs/actions-connect-profile.js +6 -4
  10. package/esm/funcs/actions-connect-profile.js.map +1 -1
  11. package/esm/funcs/actions-create-comment.d.ts +18 -0
  12. package/esm/funcs/actions-create-comment.d.ts.map +1 -0
  13. package/esm/funcs/actions-create-comment.js +97 -0
  14. package/esm/funcs/actions-create-comment.js.map +1 -0
  15. package/esm/funcs/actions-decline-invitation.d.ts +18 -0
  16. package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
  17. package/esm/funcs/actions-decline-invitation.js +97 -0
  18. package/esm/funcs/actions-decline-invitation.js.map +1 -0
  19. package/esm/funcs/actions-edit-comment.d.ts +18 -0
  20. package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
  21. package/esm/funcs/actions-edit-comment.js +97 -0
  22. package/esm/funcs/actions-edit-comment.js.map +1 -0
  23. package/esm/funcs/actions-edit-post.d.ts +18 -0
  24. package/esm/funcs/actions-edit-post.d.ts.map +1 -0
  25. package/esm/funcs/actions-edit-post.js +97 -0
  26. package/esm/funcs/actions-edit-post.js.map +1 -0
  27. package/esm/funcs/actions-follow-company.d.ts +1 -1
  28. package/esm/funcs/actions-follow-company.d.ts.map +1 -1
  29. package/esm/funcs/actions-follow-company.js +5 -3
  30. package/esm/funcs/actions-follow-company.js.map +1 -1
  31. package/esm/funcs/actions-follow-profile.d.ts +18 -0
  32. package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
  33. package/esm/funcs/actions-follow-profile.js +97 -0
  34. package/esm/funcs/actions-follow-profile.js.map +1 -0
  35. package/esm/funcs/actions-like-comment.d.ts +18 -0
  36. package/esm/funcs/actions-like-comment.d.ts.map +1 -0
  37. package/esm/funcs/actions-like-comment.js +97 -0
  38. package/esm/funcs/actions-like-comment.js.map +1 -0
  39. package/esm/funcs/actions-like-post.d.ts +18 -0
  40. package/esm/funcs/actions-like-post.d.ts.map +1 -0
  41. package/esm/funcs/actions-like-post.js +97 -0
  42. package/esm/funcs/actions-like-post.js.map +1 -0
  43. package/esm/funcs/actions-list-invitations.d.ts +18 -0
  44. package/esm/funcs/actions-list-invitations.d.ts.map +1 -0
  45. package/esm/funcs/actions-list-invitations.js +99 -0
  46. package/esm/funcs/actions-list-invitations.js.map +1 -0
  47. package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
  48. package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
  49. package/esm/funcs/actions-list-sent-invitations.js +5 -3
  50. package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
  51. package/esm/funcs/actions-publish-post.d.ts +18 -0
  52. package/esm/funcs/actions-publish-post.d.ts.map +1 -0
  53. package/esm/funcs/actions-publish-post.js +97 -0
  54. package/esm/funcs/actions-publish-post.js.map +1 -0
  55. package/esm/funcs/actions-reply-to-comment.d.ts +18 -0
  56. package/esm/funcs/actions-reply-to-comment.d.ts.map +1 -0
  57. package/esm/funcs/actions-reply-to-comment.js +97 -0
  58. package/esm/funcs/actions-reply-to-comment.js.map +1 -0
  59. package/esm/funcs/actions-repost-post.d.ts +18 -0
  60. package/esm/funcs/actions-repost-post.d.ts.map +1 -0
  61. package/esm/funcs/actions-repost-post.js +97 -0
  62. package/esm/funcs/actions-repost-post.js.map +1 -0
  63. package/esm/funcs/actions-save-post.d.ts +18 -0
  64. package/esm/funcs/actions-save-post.d.ts.map +1 -0
  65. package/esm/funcs/actions-save-post.js +97 -0
  66. package/esm/funcs/actions-save-post.js.map +1 -0
  67. package/esm/funcs/actions-send-message.d.ts +2 -2
  68. package/esm/funcs/actions-send-message.d.ts.map +1 -1
  69. package/esm/funcs/actions-send-message.js +6 -4
  70. package/esm/funcs/actions-send-message.js.map +1 -1
  71. package/esm/funcs/actions-unfollow-company.d.ts +18 -0
  72. package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
  73. package/esm/funcs/actions-unfollow-company.js +97 -0
  74. package/esm/funcs/actions-unfollow-company.js.map +1 -0
  75. package/esm/funcs/actions-unfollow-profile.d.ts +18 -0
  76. package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
  77. package/esm/funcs/actions-unfollow-profile.js +97 -0
  78. package/esm/funcs/actions-unfollow-profile.js.map +1 -0
  79. package/esm/funcs/actions-unlike-comment.d.ts +18 -0
  80. package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
  81. package/esm/funcs/actions-unlike-comment.js +97 -0
  82. package/esm/funcs/actions-unlike-comment.js.map +1 -0
  83. package/esm/funcs/actions-unlike-post.d.ts +18 -0
  84. package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
  85. package/esm/funcs/actions-unlike-post.js +97 -0
  86. package/esm/funcs/actions-unlike-post.js.map +1 -0
  87. package/esm/funcs/actions-unsave-post.d.ts +18 -0
  88. package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
  89. package/esm/funcs/actions-unsave-post.js +97 -0
  90. package/esm/funcs/actions-unsave-post.js.map +1 -0
  91. package/esm/funcs/actions-withdraw-invitation.d.ts +18 -0
  92. package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
  93. package/esm/funcs/actions-withdraw-invitation.js +97 -0
  94. package/esm/funcs/actions-withdraw-invitation.js.map +1 -0
  95. package/esm/funcs/campaigns-filter.d.ts +1 -1
  96. package/esm/funcs/campaigns-filter.d.ts.map +1 -1
  97. package/esm/funcs/campaigns-filter.js +5 -3
  98. package/esm/funcs/campaigns-filter.js.map +1 -1
  99. package/esm/funcs/campaigns-get-status.d.ts +1 -1
  100. package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
  101. package/esm/funcs/campaigns-get-status.js +5 -3
  102. package/esm/funcs/campaigns-get-status.js.map +1 -1
  103. package/esm/funcs/campaigns-stats.d.ts +18 -0
  104. package/esm/funcs/campaigns-stats.d.ts.map +1 -0
  105. package/esm/funcs/campaigns-stats.js +102 -0
  106. package/esm/funcs/campaigns-stats.js.map +1 -0
  107. package/esm/funcs/campaigns-sync.d.ts +1 -1
  108. package/esm/funcs/campaigns-sync.d.ts.map +1 -1
  109. package/esm/funcs/campaigns-sync.js +5 -3
  110. package/esm/funcs/campaigns-sync.js.map +1 -1
  111. package/esm/funcs/chat-archive.d.ts +1 -1
  112. package/esm/funcs/chat-archive.d.ts.map +1 -1
  113. package/esm/funcs/chat-archive.js +5 -3
  114. package/esm/funcs/chat-archive.js.map +1 -1
  115. package/esm/funcs/chat-find-conversation.d.ts +2 -9
  116. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  117. package/esm/funcs/chat-find-conversation.js +6 -11
  118. package/esm/funcs/chat-find-conversation.js.map +1 -1
  119. package/esm/funcs/chat-get-messages.d.ts +22 -0
  120. package/esm/funcs/chat-get-messages.d.ts.map +1 -0
  121. package/esm/funcs/chat-get-messages.js +105 -0
  122. package/esm/funcs/chat-get-messages.js.map +1 -0
  123. package/esm/funcs/chat-get-unread-count.d.ts +18 -0
  124. package/esm/funcs/chat-get-unread-count.d.ts.map +1 -0
  125. package/esm/funcs/chat-get-unread-count.js +86 -0
  126. package/esm/funcs/chat-get-unread-count.js.map +1 -0
  127. package/esm/funcs/chat-list-archived.d.ts +18 -0
  128. package/esm/funcs/chat-list-archived.d.ts.map +1 -0
  129. package/esm/funcs/chat-list-archived.js +100 -0
  130. package/esm/funcs/chat-list-archived.js.map +1 -0
  131. package/esm/funcs/chat-list-inbox.d.ts +18 -0
  132. package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
  133. package/esm/funcs/chat-list-inbox.js +99 -0
  134. package/esm/funcs/chat-list-inbox.js.map +1 -0
  135. package/esm/funcs/chat-list-starred.d.ts +18 -0
  136. package/esm/funcs/chat-list-starred.d.ts.map +1 -0
  137. package/esm/funcs/chat-list-starred.js +100 -0
  138. package/esm/funcs/chat-list-starred.js.map +1 -0
  139. package/esm/funcs/chat-mark-all-read.d.ts +18 -0
  140. package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
  141. package/esm/funcs/chat-mark-all-read.js +87 -0
  142. package/esm/funcs/chat-mark-all-read.js.map +1 -0
  143. package/esm/funcs/chat-mark-seen.d.ts +18 -0
  144. package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
  145. package/esm/funcs/chat-mark-seen.js +97 -0
  146. package/esm/funcs/chat-mark-seen.js.map +1 -0
  147. package/esm/funcs/chat-react.d.ts +18 -0
  148. package/esm/funcs/chat-react.d.ts.map +1 -0
  149. package/esm/funcs/chat-react.js +97 -0
  150. package/esm/funcs/chat-react.js.map +1 -0
  151. package/esm/funcs/chat-search-conversations.d.ts +2 -2
  152. package/esm/funcs/chat-search-conversations.d.ts.map +1 -1
  153. package/esm/funcs/chat-search-conversations.js +14 -8
  154. package/esm/funcs/chat-search-conversations.js.map +1 -1
  155. package/esm/funcs/chat-send-typing-indicator.d.ts +18 -0
  156. package/esm/funcs/chat-send-typing-indicator.d.ts.map +1 -0
  157. package/esm/funcs/chat-send-typing-indicator.js +97 -0
  158. package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
  159. package/esm/funcs/chat-star.d.ts +18 -0
  160. package/esm/funcs/chat-star.d.ts.map +1 -0
  161. package/esm/funcs/chat-star.js +97 -0
  162. package/esm/funcs/chat-star.js.map +1 -0
  163. package/esm/funcs/chat-unarchive.d.ts +18 -0
  164. package/esm/funcs/chat-unarchive.d.ts.map +1 -0
  165. package/esm/funcs/chat-unarchive.js +97 -0
  166. package/esm/funcs/chat-unarchive.js.map +1 -0
  167. package/esm/funcs/chat-unreact.d.ts +1 -1
  168. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  169. package/esm/funcs/chat-unreact.js +5 -3
  170. package/esm/funcs/chat-unreact.js.map +1 -1
  171. package/esm/funcs/chat-unstar.d.ts +18 -0
  172. package/esm/funcs/chat-unstar.d.ts.map +1 -0
  173. package/esm/funcs/chat-unstar.js +97 -0
  174. package/esm/funcs/chat-unstar.js.map +1 -0
  175. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  176. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  177. package/esm/funcs/company-pages-get-analytics.js +5 -3
  178. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  179. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  180. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  181. package/esm/funcs/company-pages-get-permissions.js +5 -3
  182. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  183. package/esm/funcs/company-pages-list.d.ts +1 -1
  184. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  185. package/esm/funcs/company-pages-list.js +4 -2
  186. package/esm/funcs/company-pages-list.js.map +1 -1
  187. package/esm/funcs/company-pages-posts.d.ts +18 -0
  188. package/esm/funcs/company-pages-posts.d.ts.map +1 -0
  189. package/esm/funcs/company-pages-posts.js +97 -0
  190. package/esm/funcs/company-pages-posts.js.map +1 -0
  191. package/esm/funcs/contacts-add-activities.d.ts +18 -0
  192. package/esm/funcs/contacts-add-activities.d.ts.map +1 -0
  193. package/esm/funcs/contacts-add-activities.js +103 -0
  194. package/esm/funcs/contacts-add-activities.js.map +1 -0
  195. package/esm/funcs/contacts-add-to-campaign.d.ts +18 -0
  196. package/esm/funcs/contacts-add-to-campaign.d.ts.map +1 -0
  197. package/esm/funcs/contacts-add-to-campaign.js +103 -0
  198. package/esm/funcs/contacts-add-to-campaign.js.map +1 -0
  199. package/esm/funcs/contacts-bulk-update.d.ts +18 -0
  200. package/esm/funcs/contacts-bulk-update.d.ts.map +1 -0
  201. package/esm/funcs/contacts-bulk-update.js +97 -0
  202. package/esm/funcs/contacts-bulk-update.js.map +1 -0
  203. package/esm/funcs/contacts-campaign-status-transition.d.ts +18 -0
  204. package/esm/funcs/contacts-campaign-status-transition.d.ts.map +1 -0
  205. package/esm/funcs/contacts-campaign-status-transition.js +103 -0
  206. package/esm/funcs/contacts-campaign-status-transition.js.map +1 -0
  207. package/esm/funcs/contacts-create-campaign.d.ts +18 -0
  208. package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
  209. package/esm/funcs/contacts-create-campaign.js +97 -0
  210. package/esm/funcs/contacts-create-campaign.js.map +1 -0
  211. package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
  212. package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
  213. package/esm/funcs/contacts-delete-agent-state.js +102 -0
  214. package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
  215. package/esm/funcs/contacts-delete-campaign.d.ts +18 -0
  216. package/esm/funcs/contacts-delete-campaign.d.ts.map +1 -0
  217. package/esm/funcs/contacts-delete-campaign.js +102 -0
  218. package/esm/funcs/contacts-delete-campaign.js.map +1 -0
  219. package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
  220. package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
  221. package/esm/funcs/contacts-get-agent-state.js +102 -0
  222. package/esm/funcs/contacts-get-agent-state.js.map +1 -0
  223. package/esm/funcs/contacts-get-by-url.d.ts +18 -0
  224. package/esm/funcs/contacts-get-by-url.d.ts.map +1 -0
  225. package/esm/funcs/contacts-get-by-url.js +100 -0
  226. package/esm/funcs/contacts-get-by-url.js.map +1 -0
  227. package/esm/funcs/contacts-get-campaign.d.ts +18 -0
  228. package/esm/funcs/contacts-get-campaign.d.ts.map +1 -0
  229. package/esm/funcs/contacts-get-campaign.js +102 -0
  230. package/esm/funcs/contacts-get-campaign.js.map +1 -0
  231. package/esm/funcs/contacts-get.d.ts +18 -0
  232. package/esm/funcs/contacts-get.d.ts.map +1 -0
  233. package/esm/funcs/contacts-get.js +102 -0
  234. package/esm/funcs/contacts-get.js.map +1 -0
  235. package/esm/funcs/contacts-list-activities.d.ts +18 -0
  236. package/esm/funcs/contacts-list-activities.d.ts.map +1 -0
  237. package/esm/funcs/contacts-list-activities.js +108 -0
  238. package/esm/funcs/contacts-list-activities.js.map +1 -0
  239. package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
  240. package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
  241. package/esm/funcs/contacts-list-agent-states.js +100 -0
  242. package/esm/funcs/contacts-list-agent-states.js.map +1 -0
  243. package/esm/funcs/contacts-list-by-campaign.d.ts +18 -0
  244. package/esm/funcs/contacts-list-by-campaign.d.ts.map +1 -0
  245. package/esm/funcs/contacts-list-by-campaign.js +111 -0
  246. package/esm/funcs/contacts-list-by-campaign.js.map +1 -0
  247. package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
  248. package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
  249. package/esm/funcs/contacts-list-campaigns.js +103 -0
  250. package/esm/funcs/contacts-list-campaigns.js.map +1 -0
  251. package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
  252. package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
  253. package/esm/funcs/contacts-patch-agent-state.js +103 -0
  254. package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
  255. package/esm/funcs/contacts-search.d.ts +18 -0
  256. package/esm/funcs/contacts-search.d.ts.map +1 -0
  257. package/esm/funcs/contacts-search.js +112 -0
  258. package/esm/funcs/contacts-search.js.map +1 -0
  259. package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
  260. package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
  261. package/esm/funcs/contacts-set-agent-state.js +103 -0
  262. package/esm/funcs/contacts-set-agent-state.js.map +1 -0
  263. package/esm/funcs/contacts-stats.d.ts +18 -0
  264. package/esm/funcs/contacts-stats.d.ts.map +1 -0
  265. package/esm/funcs/contacts-stats.js +100 -0
  266. package/esm/funcs/contacts-stats.js.map +1 -0
  267. package/esm/funcs/contacts-update-campaign.d.ts +18 -0
  268. package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
  269. package/esm/funcs/contacts-update-campaign.js +103 -0
  270. package/esm/funcs/contacts-update-campaign.js.map +1 -0
  271. package/esm/funcs/contacts-update.d.ts +18 -0
  272. package/esm/funcs/contacts-update.d.ts.map +1 -0
  273. package/esm/funcs/contacts-update.js +103 -0
  274. package/esm/funcs/contacts-update.js.map +1 -0
  275. package/esm/funcs/contacts-upsert.d.ts +3 -2
  276. package/esm/funcs/contacts-upsert.d.ts.map +1 -1
  277. package/esm/funcs/contacts-upsert.js +23 -5
  278. package/esm/funcs/contacts-upsert.js.map +1 -1
  279. package/esm/funcs/context-delete.d.ts +18 -0
  280. package/esm/funcs/context-delete.d.ts.map +1 -0
  281. package/esm/funcs/context-delete.js +101 -0
  282. package/esm/funcs/context-delete.js.map +1 -0
  283. package/esm/funcs/context-list-entries.d.ts +18 -0
  284. package/esm/funcs/context-list-entries.d.ts.map +1 -0
  285. package/esm/funcs/context-list-entries.js +101 -0
  286. package/esm/funcs/context-list-entries.js.map +1 -0
  287. package/esm/funcs/context-set.d.ts +18 -0
  288. package/esm/funcs/context-set.d.ts.map +1 -0
  289. package/esm/funcs/context-set.js +97 -0
  290. package/esm/funcs/context-set.js.map +1 -0
  291. package/esm/funcs/cron-list-schedules.d.ts +18 -0
  292. package/esm/funcs/cron-list-schedules.d.ts.map +1 -0
  293. package/esm/funcs/cron-list-schedules.js +86 -0
  294. package/esm/funcs/cron-list-schedules.js.map +1 -0
  295. package/esm/funcs/cron-update-schedule.d.ts +18 -0
  296. package/esm/funcs/cron-update-schedule.d.ts.map +1 -0
  297. package/esm/funcs/cron-update-schedule.js +103 -0
  298. package/esm/funcs/cron-update-schedule.js.map +1 -0
  299. package/esm/funcs/profile-get-credits.d.ts +1 -1
  300. package/esm/funcs/profile-get-credits.d.ts.map +1 -1
  301. package/esm/funcs/profile-get-credits.js +5 -3
  302. package/esm/funcs/profile-get-credits.js.map +1 -1
  303. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  304. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  305. package/esm/funcs/profile-get-follower-analytics.js +4 -2
  306. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  307. package/esm/funcs/profile-get-followers.d.ts +1 -1
  308. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  309. package/esm/funcs/profile-get-followers.js +5 -3
  310. package/esm/funcs/profile-get-followers.js.map +1 -1
  311. package/esm/funcs/profile-get-limits.d.ts +1 -1
  312. package/esm/funcs/profile-get-limits.d.ts.map +1 -1
  313. package/esm/funcs/profile-get-limits.js +5 -3
  314. package/esm/funcs/profile-get-limits.js.map +1 -1
  315. package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
  316. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  317. package/esm/funcs/profile-get-post-analytics.js +6 -4
  318. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  319. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  320. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  321. package/esm/funcs/profile-get-search-appearances.js +4 -2
  322. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  323. package/esm/funcs/profile-get.d.ts +1 -1
  324. package/esm/funcs/profile-get.d.ts.map +1 -1
  325. package/esm/funcs/profile-get.js +5 -3
  326. package/esm/funcs/profile-get.js.map +1 -1
  327. package/esm/funcs/profile-list-accounts.d.ts +1 -1
  328. package/esm/funcs/profile-list-accounts.d.ts.map +1 -1
  329. package/esm/funcs/profile-list-accounts.js +5 -3
  330. package/esm/funcs/profile-list-accounts.js.map +1 -1
  331. package/esm/funcs/profile-list-connections.d.ts +18 -0
  332. package/esm/funcs/profile-list-connections.d.ts.map +1 -0
  333. package/esm/funcs/profile-list-connections.js +103 -0
  334. package/esm/funcs/profile-list-connections.js.map +1 -0
  335. package/esm/funcs/profile-posts.d.ts +18 -0
  336. package/esm/funcs/profile-posts.d.ts.map +1 -0
  337. package/esm/funcs/profile-posts.js +99 -0
  338. package/esm/funcs/profile-posts.js.map +1 -0
  339. package/esm/funcs/profile-refresh.d.ts +1 -1
  340. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  341. package/esm/funcs/profile-refresh.js +4 -2
  342. package/esm/funcs/profile-refresh.js.map +1 -1
  343. package/esm/funcs/profile-switch-account.d.ts +18 -0
  344. package/esm/funcs/profile-switch-account.d.ts.map +1 -0
  345. package/esm/funcs/profile-switch-account.js +97 -0
  346. package/esm/funcs/profile-switch-account.js.map +1 -0
  347. package/esm/funcs/profile-update-account.d.ts +1 -1
  348. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  349. package/esm/funcs/profile-update-account.js +5 -3
  350. package/esm/funcs/profile-update-account.js.map +1 -1
  351. package/esm/funcs/profile-views.d.ts +18 -0
  352. package/esm/funcs/profile-views.d.ts.map +1 -0
  353. package/esm/funcs/profile-views.js +87 -0
  354. package/esm/funcs/profile-views.js.map +1 -0
  355. package/esm/funcs/sales-nav-companies.d.ts +33 -0
  356. package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
  357. package/esm/funcs/sales-nav-companies.js +112 -0
  358. package/esm/funcs/sales-nav-companies.js.map +1 -0
  359. package/esm/funcs/sales-nav-people.d.ts +53 -0
  360. package/esm/funcs/sales-nav-people.d.ts.map +1 -0
  361. package/esm/funcs/sales-nav-people.js +132 -0
  362. package/esm/funcs/sales-nav-people.js.map +1 -0
  363. package/esm/funcs/sales-nav-search.d.ts +39 -0
  364. package/esm/funcs/sales-nav-search.d.ts.map +1 -0
  365. package/esm/funcs/sales-nav-search.js +118 -0
  366. package/esm/funcs/sales-nav-search.js.map +1 -0
  367. package/esm/funcs/scheduled-messages-batch-schedule.d.ts +18 -0
  368. package/esm/funcs/scheduled-messages-batch-schedule.d.ts.map +1 -0
  369. package/esm/funcs/scheduled-messages-batch-schedule.js +97 -0
  370. package/esm/funcs/scheduled-messages-batch-schedule.js.map +1 -0
  371. package/esm/funcs/scheduled-messages-cancel.d.ts +18 -0
  372. package/esm/funcs/scheduled-messages-cancel.d.ts.map +1 -0
  373. package/esm/funcs/scheduled-messages-cancel.js +97 -0
  374. package/esm/funcs/scheduled-messages-cancel.js.map +1 -0
  375. package/esm/funcs/scheduled-messages-create.d.ts +18 -0
  376. package/esm/funcs/scheduled-messages-create.d.ts.map +1 -0
  377. package/esm/funcs/scheduled-messages-create.js +97 -0
  378. package/esm/funcs/scheduled-messages-create.js.map +1 -0
  379. package/esm/funcs/scheduled-messages-list.d.ts +18 -0
  380. package/esm/funcs/scheduled-messages-list.d.ts.map +1 -0
  381. package/esm/funcs/scheduled-messages-list.js +104 -0
  382. package/esm/funcs/scheduled-messages-list.js.map +1 -0
  383. package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts +18 -0
  384. package/esm/funcs/scrapers-bulk-visit-batch-status.d.ts.map +1 -0
  385. package/esm/funcs/scrapers-bulk-visit-batch-status.js +102 -0
  386. package/esm/funcs/scrapers-bulk-visit-batch-status.js.map +1 -0
  387. package/esm/funcs/scrapers-bulk-visit-profile.d.ts +18 -0
  388. package/esm/funcs/scrapers-bulk-visit-profile.d.ts.map +1 -0
  389. package/esm/funcs/scrapers-bulk-visit-profile.js +97 -0
  390. package/esm/funcs/scrapers-bulk-visit-profile.js.map +1 -0
  391. package/esm/funcs/scrapers-collect-comment-replies.d.ts +18 -0
  392. package/esm/funcs/scrapers-collect-comment-replies.d.ts.map +1 -0
  393. package/esm/funcs/scrapers-collect-comment-replies.js +97 -0
  394. package/esm/funcs/scrapers-collect-comment-replies.js.map +1 -0
  395. package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
  396. package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
  397. package/esm/funcs/scrapers-collect-comments.js +97 -0
  398. package/esm/funcs/scrapers-collect-comments.js.map +1 -0
  399. package/esm/funcs/scrapers-collect-hashtag-posts.d.ts +18 -0
  400. package/esm/funcs/scrapers-collect-hashtag-posts.d.ts.map +1 -0
  401. package/esm/funcs/scrapers-collect-hashtag-posts.js +97 -0
  402. package/esm/funcs/scrapers-collect-hashtag-posts.js.map +1 -0
  403. package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
  404. package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
  405. package/esm/funcs/scrapers-collect-likes.js +97 -0
  406. package/esm/funcs/scrapers-collect-likes.js.map +1 -0
  407. package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
  408. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  409. package/esm/funcs/scrapers-collect-posts.js +6 -4
  410. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  411. package/esm/funcs/scrapers-get-feed.d.ts +18 -0
  412. package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
  413. package/esm/funcs/scrapers-get-feed.js +99 -0
  414. package/esm/funcs/scrapers-get-feed.js.map +1 -0
  415. package/esm/funcs/scrapers-list-saved-posts.d.ts +18 -0
  416. package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
  417. package/esm/funcs/scrapers-list-saved-posts.js +97 -0
  418. package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
  419. package/esm/funcs/scrapers-visit-company.d.ts +18 -0
  420. package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
  421. package/esm/funcs/scrapers-visit-company.js +97 -0
  422. package/esm/funcs/scrapers-visit-company.js.map +1 -0
  423. package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
  424. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  425. package/esm/funcs/scrapers-visit-profile.js +8 -4
  426. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  427. package/esm/funcs/search-by-url.d.ts +69 -0
  428. package/esm/funcs/search-by-url.d.ts.map +1 -0
  429. package/esm/funcs/search-by-url.js +148 -0
  430. package/esm/funcs/search-by-url.js.map +1 -0
  431. package/esm/funcs/search-companies.d.ts +75 -0
  432. package/esm/funcs/search-companies.d.ts.map +1 -0
  433. package/esm/funcs/search-companies.js +154 -0
  434. package/esm/funcs/search-companies.js.map +1 -0
  435. package/esm/funcs/search-jobs.d.ts +96 -0
  436. package/esm/funcs/search-jobs.d.ts.map +1 -0
  437. package/esm/funcs/search-jobs.js +175 -0
  438. package/esm/funcs/search-jobs.js.map +1 -0
  439. package/esm/funcs/search-people.d.ts +83 -0
  440. package/esm/funcs/search-people.d.ts.map +1 -0
  441. package/esm/funcs/search-people.js +162 -0
  442. package/esm/funcs/search-people.js.map +1 -0
  443. package/esm/funcs/search-posts.d.ts +71 -0
  444. package/esm/funcs/search-posts.d.ts.map +1 -0
  445. package/esm/funcs/search-posts.js +150 -0
  446. package/esm/funcs/search-posts.js.map +1 -0
  447. package/esm/funcs/search-resolve-parameters.d.ts +50 -0
  448. package/esm/funcs/search-resolve-parameters.d.ts.map +1 -0
  449. package/esm/funcs/search-resolve-parameters.js +134 -0
  450. package/esm/funcs/search-resolve-parameters.js.map +1 -0
  451. package/esm/funcs/search-search.d.ts +55 -0
  452. package/esm/funcs/search-search.d.ts.map +1 -0
  453. package/esm/funcs/search-search.js +134 -0
  454. package/esm/funcs/search-search.js.map +1 -0
  455. package/esm/lib/config.d.ts +5 -5
  456. package/esm/lib/config.d.ts.map +1 -1
  457. package/esm/lib/config.js +8 -4
  458. package/esm/lib/config.js.map +1 -1
  459. package/esm/lib/files.d.ts +13 -0
  460. package/esm/lib/files.d.ts.map +1 -1
  461. package/esm/lib/files.js +18 -0
  462. package/esm/lib/files.js.map +1 -1
  463. package/esm/lib/sdks.d.ts.map +1 -1
  464. package/esm/lib/sdks.js +8 -4
  465. package/esm/lib/sdks.js.map +1 -1
  466. package/esm/lib/url.d.ts.map +1 -1
  467. package/esm/lib/url.js +4 -2
  468. package/esm/lib/url.js.map +1 -1
  469. package/esm/models/errors/collect-likes.d.ts +257 -0
  470. package/esm/models/errors/collect-likes.d.ts.map +1 -0
  471. package/esm/models/errors/collect-likes.js +372 -0
  472. package/esm/models/errors/collect-likes.js.map +1 -0
  473. package/esm/models/errors/index.d.ts +1 -1
  474. package/esm/models/errors/index.d.ts.map +1 -1
  475. package/esm/models/errors/index.js +1 -1
  476. package/esm/models/errors/index.js.map +1 -1
  477. package/esm/models/operations/index.d.ts +4 -4
  478. package/esm/models/operations/index.d.ts.map +1 -1
  479. package/esm/models/operations/index.js +4 -4
  480. package/esm/models/operations/index.js.map +1 -1
  481. package/esm/models/operations/search-companies-response.d.ts +2499 -0
  482. package/esm/models/operations/search-companies-response.d.ts.map +1 -0
  483. package/esm/models/operations/search-companies-response.js +1626 -0
  484. package/esm/models/operations/search-companies-response.js.map +1 -0
  485. package/esm/models/operations/search-contacts-contact.d.ts +2635 -0
  486. package/esm/models/operations/search-contacts-contact.d.ts.map +1 -0
  487. package/esm/models/operations/search-contacts-contact.js +1605 -0
  488. package/esm/models/operations/search-contacts-contact.js.map +1 -0
  489. package/esm/models/operations/update-account-response.d.ts +2800 -0
  490. package/esm/models/operations/update-account-response.d.ts.map +1 -0
  491. package/esm/models/operations/update-account-response.js +1575 -0
  492. package/esm/models/operations/update-account-response.js.map +1 -0
  493. package/esm/models/operations/update-schedule-response.d.ts +2216 -0
  494. package/esm/models/operations/update-schedule-response.d.ts.map +1 -0
  495. package/esm/models/operations/update-schedule-response.js +1459 -0
  496. package/esm/models/operations/update-schedule-response.js.map +1 -0
  497. package/esm/sdk/actions.d.ts +139 -6
  498. package/esm/sdk/actions.d.ts.map +1 -1
  499. package/esm/sdk/actions.js +192 -2
  500. package/esm/sdk/actions.js.map +1 -1
  501. package/esm/sdk/campaigns.d.ts +4 -4
  502. package/esm/sdk/campaigns.d.ts.map +1 -1
  503. package/esm/sdk/campaigns.js +3 -3
  504. package/esm/sdk/campaigns.js.map +1 -1
  505. package/esm/sdk/chat.d.ts +91 -10
  506. package/esm/sdk/chat.d.ts.map +1 -1
  507. package/esm/sdk/chat.js +125 -8
  508. package/esm/sdk/chat.js.map +1 -1
  509. package/esm/sdk/company-pages.d.ts +4 -4
  510. package/esm/sdk/company-pages.d.ts.map +1 -1
  511. package/esm/sdk/company-pages.js +3 -3
  512. package/esm/sdk/company-pages.js.map +1 -1
  513. package/esm/sdk/contacts.d.ts +149 -2
  514. package/esm/sdk/contacts.d.ts.map +1 -1
  515. package/esm/sdk/contacts.js +211 -1
  516. package/esm/sdk/contacts.js.map +1 -1
  517. package/esm/sdk/context.d.ts +26 -0
  518. package/esm/sdk/context.d.ts.map +1 -0
  519. package/esm/sdk/context.js +38 -0
  520. package/esm/sdk/context.js.map +1 -0
  521. package/esm/sdk/cron.d.ts +19 -0
  522. package/esm/sdk/cron.d.ts.map +1 -0
  523. package/esm/sdk/cron.js +28 -0
  524. package/esm/sdk/cron.js.map +1 -0
  525. package/esm/sdk/profile.d.ts +27 -13
  526. package/esm/sdk/profile.d.ts.map +1 -1
  527. package/esm/sdk/profile.js +27 -7
  528. package/esm/sdk/profile.js.map +1 -1
  529. package/esm/sdk/sales-nav.d.ts +51 -1
  530. package/esm/sdk/sales-nav.d.ts.map +1 -1
  531. package/esm/sdk/sales-nav.js +59 -3
  532. package/esm/sdk/sales-nav.js.map +1 -1
  533. package/esm/sdk/scheduled-messages.d.ts +33 -0
  534. package/esm/sdk/scheduled-messages.d.ts.map +1 -0
  535. package/esm/sdk/scheduled-messages.js +48 -0
  536. package/esm/sdk/scheduled-messages.js.map +1 -0
  537. package/esm/sdk/scrapers.d.ts +69 -4
  538. package/esm/sdk/scrapers.d.ts.map +1 -1
  539. package/esm/sdk/scrapers.js +94 -2
  540. package/esm/sdk/scrapers.js.map +1 -1
  541. package/esm/sdk/sdk.d.ts +12 -27
  542. package/esm/sdk/sdk.d.ts.map +1 -1
  543. package/esm/sdk/sdk.js +19 -44
  544. package/esm/sdk/sdk.js.map +1 -1
  545. package/esm/sdk/search.d.ts +427 -0
  546. package/esm/sdk/search.d.ts.map +1 -0
  547. package/esm/sdk/search.js +451 -0
  548. package/esm/sdk/search.js.map +1 -0
  549. package/examples/node_modules/@types/node/assert/strict.d.ts +8 -0
  550. package/examples/node_modules/@types/node/assert.d.ts +1062 -0
  551. package/examples/node_modules/@types/node/async_hooks.d.ts +605 -0
  552. package/examples/node_modules/@types/node/buffer.buffer.d.ts +471 -0
  553. package/examples/node_modules/@types/node/buffer.d.ts +1936 -0
  554. package/examples/node_modules/@types/node/child_process.d.ts +1475 -0
  555. package/examples/node_modules/@types/node/cluster.d.ts +577 -0
  556. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  557. package/examples/node_modules/@types/node/compatibility/index.d.ts +9 -0
  558. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  559. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  560. package/examples/node_modules/@types/node/console.d.ts +452 -0
  561. package/examples/node_modules/@types/node/constants.d.ts +21 -0
  562. package/examples/node_modules/@types/node/crypto.d.ts +4590 -0
  563. package/examples/node_modules/@types/node/dgram.d.ts +597 -0
  564. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  565. package/examples/node_modules/@types/node/dns/promises.d.ts +479 -0
  566. package/examples/node_modules/@types/node/dns.d.ts +871 -0
  567. package/examples/node_modules/@types/node/domain.d.ts +170 -0
  568. package/examples/node_modules/@types/node/events.d.ts +977 -0
  569. package/examples/node_modules/@types/node/fs/promises.d.ts +1270 -0
  570. package/examples/node_modules/@types/node/fs.d.ts +4375 -0
  571. package/examples/node_modules/@types/node/globals.d.ts +172 -0
  572. package/examples/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  573. package/examples/node_modules/@types/node/http.d.ts +2049 -0
  574. package/examples/node_modules/@types/node/http2.d.ts +2631 -0
  575. package/examples/node_modules/@types/node/https.d.ts +578 -0
  576. package/examples/node_modules/@types/node/index.d.ts +93 -0
  577. package/examples/node_modules/@types/node/inspector.generated.d.ts +3966 -0
  578. package/examples/node_modules/@types/node/module.d.ts +539 -0
  579. package/examples/node_modules/@types/node/net.d.ts +1012 -0
  580. package/examples/node_modules/@types/node/os.d.ts +506 -0
  581. package/examples/node_modules/@types/node/path.d.ts +200 -0
  582. package/examples/node_modules/@types/node/perf_hooks.d.ts +961 -0
  583. package/examples/node_modules/@types/node/process.d.ts +1961 -0
  584. package/examples/node_modules/@types/node/punycode.d.ts +117 -0
  585. package/examples/node_modules/@types/node/querystring.d.ts +152 -0
  586. package/examples/node_modules/@types/node/readline/promises.d.ts +162 -0
  587. package/examples/node_modules/@types/node/readline.d.ts +589 -0
  588. package/examples/node_modules/@types/node/repl.d.ts +430 -0
  589. package/examples/node_modules/@types/node/sea.d.ts +153 -0
  590. package/examples/node_modules/@types/node/stream/consumers.d.ts +38 -0
  591. package/examples/node_modules/@types/node/stream/promises.d.ts +90 -0
  592. package/examples/node_modules/@types/node/stream/web.d.ts +533 -0
  593. package/examples/node_modules/@types/node/stream.d.ts +1675 -0
  594. package/examples/node_modules/@types/node/string_decoder.d.ts +67 -0
  595. package/examples/node_modules/@types/node/test.d.ts +1787 -0
  596. package/examples/node_modules/@types/node/timers/promises.d.ts +108 -0
  597. package/examples/node_modules/@types/node/timers.d.ts +286 -0
  598. package/examples/node_modules/@types/node/tls.d.ts +1259 -0
  599. package/examples/node_modules/@types/node/trace_events.d.ts +197 -0
  600. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  601. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  602. package/examples/node_modules/@types/node/ts5.6/index.d.ts +93 -0
  603. package/examples/node_modules/@types/node/tty.d.ts +208 -0
  604. package/examples/node_modules/@types/node/url.d.ts +964 -0
  605. package/examples/node_modules/@types/node/util.d.ts +2331 -0
  606. package/examples/node_modules/@types/node/v8.d.ts +809 -0
  607. package/examples/node_modules/@types/node/vm.d.ts +1001 -0
  608. package/examples/node_modules/@types/node/wasi.d.ts +181 -0
  609. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  610. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  611. package/examples/node_modules/@types/node/web-globals/events.d.ts +97 -0
  612. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  613. package/examples/node_modules/@types/node/worker_threads.d.ts +715 -0
  614. package/examples/node_modules/@types/node/zlib.d.ts +598 -0
  615. package/examples/node_modules/dotenv/config.d.ts +1 -0
  616. package/examples/node_modules/dotenv/config.js +9 -0
  617. package/examples/node_modules/dotenv/lib/cli-options.js +17 -0
  618. package/examples/node_modules/dotenv/lib/env-options.js +28 -0
  619. package/examples/node_modules/dotenv/lib/main.d.ts +162 -0
  620. package/examples/node_modules/dotenv/lib/main.js +386 -0
  621. package/examples/node_modules/esbuild/install.js +289 -0
  622. package/examples/node_modules/esbuild/lib/main.d.ts +716 -0
  623. package/examples/node_modules/esbuild/lib/main.js +2242 -0
  624. package/examples/node_modules/get-tsconfig/dist/index.mjs +7 -0
  625. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +1 -0
  626. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +1 -0
  627. package/examples/node_modules/tsx/dist/cjs/index.mjs +1 -0
  628. package/examples/node_modules/tsx/dist/cli.mjs +55 -0
  629. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +1 -0
  630. package/examples/node_modules/tsx/dist/esm/api/index.mjs +1 -0
  631. package/examples/node_modules/tsx/dist/esm/index.mjs +2 -0
  632. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +1 -0
  633. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +14 -0
  634. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +1 -0
  635. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +3 -0
  636. package/examples/node_modules/tsx/dist/loader.mjs +1 -0
  637. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +1 -0
  638. package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +1 -0
  639. package/examples/node_modules/tsx/dist/patch-repl.mjs +1 -0
  640. package/examples/node_modules/tsx/dist/preflight.mjs +1 -0
  641. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +1 -0
  642. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +4 -0
  643. package/examples/node_modules/tsx/dist/repl.mjs +3 -0
  644. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +1 -0
  645. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +1 -0
  646. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +1 -0
  647. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +5 -0
  648. package/examples/node_modules/undici-types/agent.d.ts +31 -0
  649. package/examples/node_modules/undici-types/api.d.ts +43 -0
  650. package/examples/node_modules/undici-types/balanced-pool.d.ts +29 -0
  651. package/examples/node_modules/undici-types/cache.d.ts +36 -0
  652. package/examples/node_modules/undici-types/client.d.ts +108 -0
  653. package/examples/node_modules/undici-types/connector.d.ts +34 -0
  654. package/examples/node_modules/undici-types/content-type.d.ts +21 -0
  655. package/examples/node_modules/undici-types/cookies.d.ts +28 -0
  656. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  657. package/examples/node_modules/undici-types/dispatcher.d.ts +256 -0
  658. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  659. package/examples/node_modules/undici-types/errors.d.ts +149 -0
  660. package/examples/node_modules/undici-types/eventsource.d.ts +61 -0
  661. package/examples/node_modules/undici-types/fetch.d.ts +209 -0
  662. package/examples/node_modules/undici-types/file.d.ts +39 -0
  663. package/examples/node_modules/undici-types/filereader.d.ts +54 -0
  664. package/examples/node_modules/undici-types/formdata.d.ts +108 -0
  665. package/examples/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  666. package/examples/node_modules/undici-types/global-origin.d.ts +7 -0
  667. package/examples/node_modules/undici-types/handlers.d.ts +15 -0
  668. package/examples/node_modules/undici-types/header.d.ts +4 -0
  669. package/examples/node_modules/undici-types/index.d.ts +71 -0
  670. package/examples/node_modules/undici-types/interceptors.d.ts +17 -0
  671. package/examples/node_modules/undici-types/mock-agent.d.ts +50 -0
  672. package/examples/node_modules/undici-types/mock-client.d.ts +25 -0
  673. package/examples/node_modules/undici-types/mock-errors.d.ts +12 -0
  674. package/examples/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  675. package/examples/node_modules/undici-types/mock-pool.d.ts +25 -0
  676. package/examples/node_modules/undici-types/patch.d.ts +33 -0
  677. package/examples/node_modules/undici-types/pool-stats.d.ts +19 -0
  678. package/examples/node_modules/undici-types/pool.d.ts +39 -0
  679. package/examples/node_modules/undici-types/proxy-agent.d.ts +28 -0
  680. package/examples/node_modules/undici-types/readable.d.ts +65 -0
  681. package/examples/node_modules/undici-types/retry-agent.d.ts +8 -0
  682. package/examples/node_modules/undici-types/retry-handler.d.ts +116 -0
  683. package/examples/node_modules/undici-types/util.d.ts +18 -0
  684. package/examples/node_modules/undici-types/webidl.d.ts +228 -0
  685. package/examples/node_modules/undici-types/websocket.d.ts +150 -0
  686. package/examples/scrapersCollectLikes.example.ts +30 -0
  687. package/jsr.json +1 -1
  688. package/package.json +2 -4
  689. package/src/funcs/actions-accept-invitation.ts +225 -0
  690. package/src/funcs/actions-connect-profile.ts +19 -10
  691. package/src/funcs/actions-create-comment.ts +224 -0
  692. package/src/funcs/actions-decline-invitation.ts +225 -0
  693. package/src/funcs/actions-edit-comment.ts +224 -0
  694. package/src/funcs/actions-edit-post.ts +224 -0
  695. package/src/funcs/actions-follow-company.ts +18 -9
  696. package/src/funcs/actions-follow-profile.ts +224 -0
  697. package/src/funcs/actions-like-comment.ts +224 -0
  698. package/src/funcs/actions-like-post.ts +224 -0
  699. package/src/funcs/actions-list-invitations.ts +230 -0
  700. package/src/funcs/actions-list-sent-invitations.ts +18 -11
  701. package/src/funcs/actions-publish-post.ts +224 -0
  702. package/src/funcs/actions-reply-to-comment.ts +224 -0
  703. package/src/funcs/actions-repost-post.ts +224 -0
  704. package/src/funcs/actions-save-post.ts +224 -0
  705. package/src/funcs/actions-send-message.ts +19 -10
  706. package/src/funcs/actions-unfollow-company.ts +224 -0
  707. package/src/funcs/actions-unfollow-profile.ts +224 -0
  708. package/src/funcs/actions-unlike-comment.ts +224 -0
  709. package/src/funcs/actions-unlike-post.ts +224 -0
  710. package/src/funcs/actions-unsave-post.ts +224 -0
  711. package/src/funcs/actions-withdraw-invitation.ts +225 -0
  712. package/src/funcs/campaigns-filter.ts +18 -9
  713. package/src/funcs/campaigns-get-status.ts +18 -10
  714. package/src/funcs/campaigns-stats.ts +230 -0
  715. package/src/funcs/campaigns-sync.ts +18 -10
  716. package/src/funcs/chat-archive.ts +18 -9
  717. package/src/funcs/chat-find-conversation.ts +19 -16
  718. package/src/funcs/chat-get-messages.ts +233 -0
  719. package/src/funcs/chat-get-unread-count.ts +205 -0
  720. package/src/funcs/chat-list-archived.ts +229 -0
  721. package/src/funcs/chat-list-inbox.ts +227 -0
  722. package/src/funcs/chat-list-starred.ts +229 -0
  723. package/src/funcs/chat-mark-all-read.ts +209 -0
  724. package/src/funcs/chat-mark-seen.ts +224 -0
  725. package/src/funcs/chat-react.ts +224 -0
  726. package/src/funcs/chat-search-conversations.ts +28 -16
  727. package/src/funcs/chat-send-typing-indicator.ts +225 -0
  728. package/src/funcs/chat-star.ts +224 -0
  729. package/src/funcs/chat-unarchive.ts +224 -0
  730. package/src/funcs/chat-unreact.ts +18 -9
  731. package/src/funcs/chat-unstar.ts +224 -0
  732. package/src/funcs/company-pages-get-analytics.ts +18 -9
  733. package/src/funcs/company-pages-get-permissions.ts +18 -12
  734. package/src/funcs/company-pages-list.ts +15 -5
  735. package/src/funcs/company-pages-posts.ts +224 -0
  736. package/src/funcs/contacts-add-activities.ts +230 -0
  737. package/src/funcs/contacts-add-to-campaign.ts +233 -0
  738. package/src/funcs/contacts-bulk-update.ts +224 -0
  739. package/src/funcs/contacts-campaign-status-transition.ts +233 -0
  740. package/src/funcs/contacts-create-campaign.ts +224 -0
  741. package/src/funcs/contacts-delete-agent-state.ts +230 -0
  742. package/src/funcs/contacts-delete-campaign.ts +229 -0
  743. package/src/funcs/contacts-get-agent-state.ts +229 -0
  744. package/src/funcs/contacts-get-by-url.ts +228 -0
  745. package/src/funcs/contacts-get-campaign.ts +229 -0
  746. package/src/funcs/contacts-get.ts +229 -0
  747. package/src/funcs/contacts-list-activities.ts +236 -0
  748. package/src/funcs/contacts-list-agent-states.ts +232 -0
  749. package/src/funcs/contacts-list-by-campaign.ts +242 -0
  750. package/src/funcs/contacts-list-campaigns.ts +235 -0
  751. package/src/funcs/contacts-patch-agent-state.ts +230 -0
  752. package/src/funcs/contacts-search.ts +244 -0
  753. package/src/funcs/contacts-set-agent-state.ts +230 -0
  754. package/src/funcs/contacts-stats.ts +232 -0
  755. package/src/funcs/contacts-update-campaign.ts +230 -0
  756. package/src/funcs/contacts-update.ts +230 -0
  757. package/src/funcs/contacts-upsert.ts +74 -11
  758. package/src/funcs/context-delete.ts +229 -0
  759. package/src/funcs/context-list-entries.ts +230 -0
  760. package/src/funcs/context-set.ts +224 -0
  761. package/src/funcs/cron-list-schedules.ts +205 -0
  762. package/src/funcs/cron-update-schedule.ts +230 -0
  763. package/src/funcs/profile-get-credits.ts +16 -6
  764. package/src/funcs/profile-get-follower-analytics.ts +17 -7
  765. package/src/funcs/profile-get-followers.ts +18 -11
  766. package/src/funcs/profile-get-limits.ts +16 -6
  767. package/src/funcs/profile-get-post-analytics.ts +19 -9
  768. package/src/funcs/profile-get-search-appearances.ts +17 -7
  769. package/src/funcs/profile-get.ts +16 -6
  770. package/src/funcs/profile-list-accounts.ts +16 -6
  771. package/src/funcs/profile-list-connections.ts +235 -0
  772. package/src/funcs/profile-posts.ts +227 -0
  773. package/src/funcs/profile-refresh.ts +15 -5
  774. package/src/funcs/profile-switch-account.ts +224 -0
  775. package/src/funcs/profile-update-account.ts +18 -9
  776. package/src/funcs/profile-views.ts +209 -0
  777. package/src/funcs/sales-nav-companies.ts +240 -0
  778. package/src/funcs/sales-nav-people.ts +260 -0
  779. package/src/funcs/sales-nav-search.ts +245 -0
  780. package/src/funcs/scheduled-messages-batch-schedule.ts +224 -0
  781. package/src/funcs/scheduled-messages-cancel.ts +224 -0
  782. package/src/funcs/scheduled-messages-create.ts +224 -0
  783. package/src/funcs/scheduled-messages-list.ts +233 -0
  784. package/src/funcs/scrapers-bulk-visit-batch-status.ts +230 -0
  785. package/src/funcs/scrapers-bulk-visit-profile.ts +225 -0
  786. package/src/funcs/scrapers-collect-comment-replies.ts +225 -0
  787. package/src/funcs/scrapers-collect-comments.ts +224 -0
  788. package/src/funcs/scrapers-collect-hashtag-posts.ts +225 -0
  789. package/src/funcs/scrapers-collect-likes.ts +224 -0
  790. package/src/funcs/scrapers-collect-posts.ts +19 -10
  791. package/src/funcs/scrapers-get-feed.ts +227 -0
  792. package/src/funcs/scrapers-list-saved-posts.ts +224 -0
  793. package/src/funcs/scrapers-visit-company.ts +224 -0
  794. package/src/funcs/scrapers-visit-profile.ts +21 -10
  795. package/src/funcs/search-by-url.ts +275 -0
  796. package/src/funcs/search-companies.ts +281 -0
  797. package/src/funcs/search-jobs.ts +302 -0
  798. package/src/funcs/search-people.ts +289 -0
  799. package/src/funcs/search-posts.ts +277 -0
  800. package/src/funcs/search-resolve-parameters.ts +263 -0
  801. package/src/funcs/search-search.ts +261 -0
  802. package/src/lib/config.ts +8 -4
  803. package/src/lib/files.ts +22 -0
  804. package/src/lib/sdks.ts +7 -5
  805. package/src/lib/url.ts +16 -14
  806. package/src/models/errors/collect-likes.ts +600 -0
  807. package/src/models/errors/index.ts +1 -1
  808. package/src/models/operations/index.ts +4 -4
  809. package/src/models/operations/search-companies-response.ts +4888 -0
  810. package/src/models/operations/search-contacts-contact.ts +5287 -0
  811. package/src/models/operations/update-account-response.ts +5354 -0
  812. package/src/models/operations/update-schedule-response.ts +4456 -0
  813. package/src/sdk/actions.ts +352 -10
  814. package/src/sdk/campaigns.ts +9 -9
  815. package/src/sdk/chat.ts +227 -16
  816. package/src/sdk/company-pages.ts +10 -10
  817. package/src/sdk/contacts.ts +381 -3
  818. package/src/sdk/context.ts +63 -0
  819. package/src/sdk/cron.ts +43 -0
  820. package/src/sdk/profile.ts +62 -26
  821. package/src/sdk/sales-nav.ts +75 -3
  822. package/src/sdk/scheduled-messages.ts +81 -0
  823. package/src/sdk/scrapers.ts +170 -6
  824. package/src/sdk/sdk.ts +22 -54
  825. package/src/sdk/search.ts +508 -0
  826. package/esm/funcs/campaigns-get-stats.d.ts +0 -18
  827. package/esm/funcs/campaigns-get-stats.d.ts.map +0 -1
  828. package/esm/funcs/campaigns-get-stats.js +0 -101
  829. package/esm/funcs/campaigns-get-stats.js.map +0 -1
  830. package/esm/funcs/company-pages-get-posts.d.ts +0 -18
  831. package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
  832. package/esm/funcs/company-pages-get-posts.js +0 -95
  833. package/esm/funcs/company-pages-get-posts.js.map +0 -1
  834. package/esm/funcs/linked-in-actions-create-comment.d.ts +0 -18
  835. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +0 -1
  836. package/esm/funcs/linked-in-actions-create-comment.js +0 -95
  837. package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
  838. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
  839. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
  840. package/esm/funcs/linked-in-actions-decline-invitation.js +0 -95
  841. package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
  842. package/esm/funcs/linked-in-actions-like-comment.d.ts +0 -18
  843. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +0 -1
  844. package/esm/funcs/linked-in-actions-like-comment.js +0 -95
  845. package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
  846. package/esm/funcs/linked-in-actions-publish-post.d.ts +0 -18
  847. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
  848. package/esm/funcs/linked-in-actions-publish-post.js +0 -95
  849. package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
  850. package/esm/funcs/linked-in-actions-save-post.d.ts +0 -18
  851. package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
  852. package/esm/funcs/linked-in-actions-save-post.js +0 -95
  853. package/esm/funcs/linked-in-actions-save-post.js.map +0 -1
  854. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
  855. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
  856. package/esm/funcs/linked-in-actions-unfollow-profile.js +0 -95
  857. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
  858. package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
  859. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
  860. package/esm/funcs/linked-in-chat-list-starred.js +0 -97
  861. package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
  862. package/esm/funcs/linked-in-chat-mark-seen.d.ts +0 -18
  863. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
  864. package/esm/funcs/linked-in-chat-mark-seen.js +0 -95
  865. package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
  866. package/esm/funcs/linked-in-chat-star.d.ts +0 -18
  867. package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
  868. package/esm/funcs/linked-in-chat-star.js +0 -95
  869. package/esm/funcs/linked-in-chat-star.js.map +0 -1
  870. package/esm/funcs/linked-in-chat-unarchive.d.ts +0 -18
  871. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +0 -1
  872. package/esm/funcs/linked-in-chat-unarchive.js +0 -95
  873. package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
  874. package/esm/funcs/linked-in-chat-unstar.d.ts +0 -18
  875. package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
  876. package/esm/funcs/linked-in-chat-unstar.js +0 -95
  877. package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
  878. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +0 -18
  879. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
  880. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +0 -95
  881. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
  882. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +0 -18
  883. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
  884. package/esm/funcs/linked-in-scrapers-get-feed.js +0 -97
  885. package/esm/funcs/linked-in-scrapers-get-feed.js.map +0 -1
  886. package/esm/funcs/linked-in-search-resolve-parameters.d.ts +0 -47
  887. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
  888. package/esm/funcs/linked-in-search-resolve-parameters.js +0 -124
  889. package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
  890. package/esm/funcs/linked-in-search-search-companies.d.ts +0 -75
  891. package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
  892. package/esm/funcs/linked-in-search-search-companies.js +0 -152
  893. package/esm/funcs/linked-in-search-search-companies.js.map +0 -1
  894. package/esm/funcs/linked-in-search-search.d.ts +0 -55
  895. package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
  896. package/esm/funcs/linked-in-search-search.js +0 -132
  897. package/esm/funcs/linked-in-search-search.js.map +0 -1
  898. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +0 -18
  899. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
  900. package/esm/funcs/linkedin-actions-accept-invitation.js +0 -95
  901. package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
  902. package/esm/funcs/linkedin-actions-edit-comment.d.ts +0 -18
  903. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
  904. package/esm/funcs/linkedin-actions-edit-comment.js +0 -95
  905. package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
  906. package/esm/funcs/linkedin-actions-edit-post.d.ts +0 -18
  907. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +0 -1
  908. package/esm/funcs/linkedin-actions-edit-post.js +0 -95
  909. package/esm/funcs/linkedin-actions-edit-post.js.map +0 -1
  910. package/esm/funcs/linkedin-actions-follow-profile.d.ts +0 -18
  911. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
  912. package/esm/funcs/linkedin-actions-follow-profile.js +0 -95
  913. package/esm/funcs/linkedin-actions-follow-profile.js.map +0 -1
  914. package/esm/funcs/linkedin-actions-like-post.d.ts +0 -18
  915. package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
  916. package/esm/funcs/linkedin-actions-like-post.js +0 -95
  917. package/esm/funcs/linkedin-actions-like-post.js.map +0 -1
  918. package/esm/funcs/linkedin-actions-list-invitations.d.ts +0 -18
  919. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
  920. package/esm/funcs/linkedin-actions-list-invitations.js +0 -97
  921. package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
  922. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +0 -18
  923. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
  924. package/esm/funcs/linkedin-actions-reply-to-comment.js +0 -95
  925. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +0 -1
  926. package/esm/funcs/linkedin-actions-repost-post.d.ts +0 -18
  927. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
  928. package/esm/funcs/linkedin-actions-repost-post.js +0 -95
  929. package/esm/funcs/linkedin-actions-repost-post.js.map +0 -1
  930. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
  931. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
  932. package/esm/funcs/linkedin-actions-unfollow-company.js +0 -95
  933. package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
  934. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +0 -18
  935. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
  936. package/esm/funcs/linkedin-actions-unlike-comment.js +0 -95
  937. package/esm/funcs/linkedin-actions-unlike-comment.js.map +0 -1
  938. package/esm/funcs/linkedin-actions-unlike-post.d.ts +0 -18
  939. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
  940. package/esm/funcs/linkedin-actions-unlike-post.js +0 -95
  941. package/esm/funcs/linkedin-actions-unlike-post.js.map +0 -1
  942. package/esm/funcs/linkedin-actions-unsave-post.d.ts +0 -18
  943. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
  944. package/esm/funcs/linkedin-actions-unsave-post.js +0 -95
  945. package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
  946. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +0 -18
  947. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
  948. package/esm/funcs/linkedin-actions-withdraw-invitation.js +0 -95
  949. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
  950. package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
  951. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
  952. package/esm/funcs/linkedin-chat-get-messages.js +0 -99
  953. package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
  954. package/esm/funcs/linkedin-chat-get-unread-count.d.ts +0 -18
  955. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
  956. package/esm/funcs/linkedin-chat-get-unread-count.js +0 -85
  957. package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
  958. package/esm/funcs/linkedin-chat-list-archived.d.ts +0 -18
  959. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
  960. package/esm/funcs/linkedin-chat-list-archived.js +0 -97
  961. package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
  962. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +0 -18
  963. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +0 -1
  964. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +0 -95
  965. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +0 -1
  966. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +0 -18
  967. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
  968. package/esm/funcs/linkedin-chat-mark-all-read.js +0 -85
  969. package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
  970. package/esm/funcs/linkedin-chat-react.d.ts +0 -18
  971. package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
  972. package/esm/funcs/linkedin-chat-react.js +0 -95
  973. package/esm/funcs/linkedin-chat-react.js.map +0 -1
  974. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
  975. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
  976. package/esm/funcs/linkedin-chat-send-typing-indicator.js +0 -95
  977. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
  978. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +0 -18
  979. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
  980. package/esm/funcs/linkedin-scrapers-collect-comments.js +0 -95
  981. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
  982. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +0 -18
  983. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
  984. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +0 -95
  985. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +0 -1
  986. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +0 -18
  987. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
  988. package/esm/funcs/linkedin-scrapers-collect-likes.js +0 -95
  989. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
  990. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +0 -18
  991. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
  992. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +0 -95
  993. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
  994. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +0 -18
  995. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
  996. package/esm/funcs/linkedin-scrapers-visit-company.js +0 -95
  997. package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
  998. package/esm/funcs/linkedin-search-search-by-url.d.ts +0 -69
  999. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
  1000. package/esm/funcs/linkedin-search-search-by-url.js +0 -146
  1001. package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
  1002. package/esm/funcs/linkedin-search-search-jobs.d.ts +0 -96
  1003. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
  1004. package/esm/funcs/linkedin-search-search-jobs.js +0 -173
  1005. package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
  1006. package/esm/funcs/linkedin-search-search-people.d.ts +0 -83
  1007. package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
  1008. package/esm/funcs/linkedin-search-search-people.js +0 -160
  1009. package/esm/funcs/linkedin-search-search-people.js.map +0 -1
  1010. package/esm/funcs/linkedin-search-search-posts.d.ts +0 -71
  1011. package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
  1012. package/esm/funcs/linkedin-search-search-posts.js +0 -148
  1013. package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
  1014. package/esm/funcs/profile-get-posts.d.ts +0 -18
  1015. package/esm/funcs/profile-get-posts.d.ts.map +0 -1
  1016. package/esm/funcs/profile-get-posts.js +0 -97
  1017. package/esm/funcs/profile-get-posts.js.map +0 -1
  1018. package/esm/funcs/profile-get-profile-views.d.ts +0 -18
  1019. package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
  1020. package/esm/funcs/profile-get-profile-views.js +0 -85
  1021. package/esm/funcs/profile-get-profile-views.js.map +0 -1
  1022. package/esm/funcs/sales-nav-search-people.d.ts +0 -53
  1023. package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
  1024. package/esm/funcs/sales-nav-search-people.js +0 -130
  1025. package/esm/funcs/sales-nav-search-people.js.map +0 -1
  1026. package/esm/funcs/sales-navigator-search-search-companies.d.ts +0 -33
  1027. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
  1028. package/esm/funcs/sales-navigator-search-search-companies.js +0 -110
  1029. package/esm/funcs/sales-navigator-search-search-companies.js.map +0 -1
  1030. package/esm/funcs/sales-navigator-search-search.d.ts +0 -39
  1031. package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
  1032. package/esm/funcs/sales-navigator-search-search.js +0 -116
  1033. package/esm/funcs/sales-navigator-search-search.js.map +0 -1
  1034. package/esm/models/errors/collect-linked-in-likes.d.ts +0 -211
  1035. package/esm/models/errors/collect-linked-in-likes.d.ts.map +0 -1
  1036. package/esm/models/errors/collect-linked-in-likes.js +0 -306
  1037. package/esm/models/errors/collect-linked-in-likes.js.map +0 -1
  1038. package/esm/models/operations/get-campaign-stats-response.d.ts +0 -1550
  1039. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  1040. package/esm/models/operations/get-campaign-stats-response.js +0 -961
  1041. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  1042. package/esm/models/operations/scraping-weekly.d.ts +0 -2946
  1043. package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
  1044. package/esm/models/operations/scraping-weekly.js +0 -1594
  1045. package/esm/models/operations/scraping-weekly.js.map +0 -1
  1046. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts +0 -2412
  1047. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
  1048. package/esm/models/operations/search-linked-in-by-url-type-post.js +0 -1577
  1049. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
  1050. package/esm/models/operations/upsert-contacts.d.ts +0 -182
  1051. package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
  1052. package/esm/models/operations/upsert-contacts.js +0 -116
  1053. package/esm/models/operations/upsert-contacts.js.map +0 -1
  1054. package/esm/sdk/linked-in-actions-2.d.ts +0 -47
  1055. package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
  1056. package/esm/sdk/linked-in-actions-2.js +0 -68
  1057. package/esm/sdk/linked-in-actions-2.js.map +0 -1
  1058. package/esm/sdk/linked-in-chat-2.d.ts +0 -40
  1059. package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
  1060. package/esm/sdk/linked-in-chat-2.js +0 -58
  1061. package/esm/sdk/linked-in-chat-2.js.map +0 -1
  1062. package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
  1063. package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
  1064. package/esm/sdk/linked-in-scrapers-2.js +0 -28
  1065. package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
  1066. package/esm/sdk/linked-in-search-1.d.ts +0 -149
  1067. package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
  1068. package/esm/sdk/linked-in-search-1.js +0 -161
  1069. package/esm/sdk/linked-in-search-1.js.map +0 -1
  1070. package/esm/sdk/linkedin-actions-1.d.ts +0 -96
  1071. package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
  1072. package/esm/sdk/linkedin-actions-1.js +0 -138
  1073. package/esm/sdk/linkedin-actions-1.js.map +0 -1
  1074. package/esm/sdk/linkedin-chat-1.d.ts +0 -58
  1075. package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
  1076. package/esm/sdk/linkedin-chat-1.js +0 -82
  1077. package/esm/sdk/linkedin-chat-1.js.map +0 -1
  1078. package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
  1079. package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
  1080. package/esm/sdk/linkedin-scrapers-1.js +0 -58
  1081. package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
  1082. package/esm/sdk/linkedin-search-2.d.ts +0 -280
  1083. package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
  1084. package/esm/sdk/linkedin-search-2.js +0 -295
  1085. package/esm/sdk/linkedin-search-2.js.map +0 -1
  1086. package/esm/sdk/sales-navigator-search.d.ts +0 -55
  1087. package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
  1088. package/esm/sdk/sales-navigator-search.js +0 -64
  1089. package/esm/sdk/sales-navigator-search.js.map +0 -1
  1090. package/examples/linkedinScrapersCollectLikes.example.ts +0 -30
  1091. package/src/funcs/campaigns-get-stats.ts +0 -222
  1092. package/src/funcs/company-pages-get-posts.ts +0 -215
  1093. package/src/funcs/linked-in-actions-create-comment.ts +0 -215
  1094. package/src/funcs/linked-in-actions-decline-invitation.ts +0 -218
  1095. package/src/funcs/linked-in-actions-like-comment.ts +0 -215
  1096. package/src/funcs/linked-in-actions-publish-post.ts +0 -215
  1097. package/src/funcs/linked-in-actions-save-post.ts +0 -215
  1098. package/src/funcs/linked-in-actions-unfollow-profile.ts +0 -215
  1099. package/src/funcs/linked-in-chat-list-starred.ts +0 -220
  1100. package/src/funcs/linked-in-chat-mark-seen.ts +0 -215
  1101. package/src/funcs/linked-in-chat-star.ts +0 -215
  1102. package/src/funcs/linked-in-chat-unarchive.ts +0 -215
  1103. package/src/funcs/linked-in-chat-unstar.ts +0 -215
  1104. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +0 -218
  1105. package/src/funcs/linked-in-scrapers-get-feed.ts +0 -220
  1106. package/src/funcs/linked-in-search-resolve-parameters.ts +0 -250
  1107. package/src/funcs/linked-in-search-search-companies.ts +0 -272
  1108. package/src/funcs/linked-in-search-search.ts +0 -251
  1109. package/src/funcs/linkedin-actions-accept-invitation.ts +0 -215
  1110. package/src/funcs/linkedin-actions-edit-comment.ts +0 -215
  1111. package/src/funcs/linkedin-actions-edit-post.ts +0 -215
  1112. package/src/funcs/linkedin-actions-follow-profile.ts +0 -215
  1113. package/src/funcs/linkedin-actions-like-post.ts +0 -215
  1114. package/src/funcs/linkedin-actions-list-invitations.ts +0 -220
  1115. package/src/funcs/linkedin-actions-reply-to-comment.ts +0 -215
  1116. package/src/funcs/linkedin-actions-repost-post.ts +0 -215
  1117. package/src/funcs/linkedin-actions-unfollow-company.ts +0 -215
  1118. package/src/funcs/linkedin-actions-unlike-comment.ts +0 -215
  1119. package/src/funcs/linkedin-actions-unlike-post.ts +0 -215
  1120. package/src/funcs/linkedin-actions-unsave-post.ts +0 -215
  1121. package/src/funcs/linkedin-actions-withdraw-invitation.ts +0 -218
  1122. package/src/funcs/linkedin-chat-get-messages.ts +0 -219
  1123. package/src/funcs/linkedin-chat-get-unread-count.ts +0 -199
  1124. package/src/funcs/linkedin-chat-list-archived.ts +0 -220
  1125. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +0 -215
  1126. package/src/funcs/linkedin-chat-mark-all-read.ts +0 -199
  1127. package/src/funcs/linkedin-chat-react.ts +0 -214
  1128. package/src/funcs/linkedin-chat-send-typing-indicator.ts +0 -215
  1129. package/src/funcs/linkedin-scrapers-collect-comments.ts +0 -215
  1130. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +0 -218
  1131. package/src/funcs/linkedin-scrapers-collect-likes.ts +0 -215
  1132. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +0 -218
  1133. package/src/funcs/linkedin-scrapers-visit-company.ts +0 -215
  1134. package/src/funcs/linkedin-search-search-by-url.ts +0 -266
  1135. package/src/funcs/linkedin-search-search-jobs.ts +0 -293
  1136. package/src/funcs/linkedin-search-search-people.ts +0 -280
  1137. package/src/funcs/linkedin-search-search-posts.ts +0 -268
  1138. package/src/funcs/profile-get-posts.ts +0 -220
  1139. package/src/funcs/profile-get-profile-views.ts +0 -199
  1140. package/src/funcs/sales-nav-search-people.ts +0 -250
  1141. package/src/funcs/sales-navigator-search-search-companies.ts +0 -230
  1142. package/src/funcs/sales-navigator-search-search.ts +0 -235
  1143. package/src/models/errors/collect-linked-in-likes.ts +0 -494
  1144. package/src/models/operations/get-campaign-stats-response.ts +0 -3367
  1145. package/src/models/operations/scraping-weekly.ts +0 -5707
  1146. package/src/models/operations/search-linked-in-by-url-type-post.ts +0 -4897
  1147. package/src/models/operations/upsert-contacts.ts +0 -305
  1148. package/src/sdk/linked-in-actions-2.ts +0 -117
  1149. package/src/sdk/linked-in-chat-2.ts +0 -99
  1150. package/src/sdk/linked-in-scrapers-2.ts +0 -45
  1151. package/src/sdk/linked-in-search-1.ts +0 -186
  1152. package/src/sdk/linkedin-actions-1.ts +0 -243
  1153. package/src/sdk/linkedin-chat-1.ts +0 -139
  1154. package/src/sdk/linkedin-scrapers-1.ts +0 -99
  1155. package/src/sdk/linkedin-search-2.ts +0 -328
  1156. package/src/sdk/sales-navigator-search.ts +0 -81
@@ -0,0 +1,90 @@
1
+ declare module "stream/promises" {
2
+ import {
3
+ FinishedOptions as _FinishedOptions,
4
+ PipelineDestination,
5
+ PipelineOptions,
6
+ PipelinePromise,
7
+ PipelineSource,
8
+ PipelineTransform,
9
+ } from "node:stream";
10
+ interface FinishedOptions extends _FinishedOptions {
11
+ /**
12
+ * If true, removes the listeners registered by this function before the promise is fulfilled.
13
+ * @default false
14
+ */
15
+ cleanup?: boolean | undefined;
16
+ }
17
+ function finished(
18
+ stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream,
19
+ options?: FinishedOptions,
20
+ ): Promise<void>;
21
+ function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(
22
+ source: A,
23
+ destination: B,
24
+ options?: PipelineOptions,
25
+ ): PipelinePromise<B>;
26
+ function pipeline<
27
+ A extends PipelineSource<any>,
28
+ T1 extends PipelineTransform<A, any>,
29
+ B extends PipelineDestination<T1, any>,
30
+ >(
31
+ source: A,
32
+ transform1: T1,
33
+ destination: B,
34
+ options?: PipelineOptions,
35
+ ): PipelinePromise<B>;
36
+ function pipeline<
37
+ A extends PipelineSource<any>,
38
+ T1 extends PipelineTransform<A, any>,
39
+ T2 extends PipelineTransform<T1, any>,
40
+ B extends PipelineDestination<T2, any>,
41
+ >(
42
+ source: A,
43
+ transform1: T1,
44
+ transform2: T2,
45
+ destination: B,
46
+ options?: PipelineOptions,
47
+ ): PipelinePromise<B>;
48
+ function pipeline<
49
+ A extends PipelineSource<any>,
50
+ T1 extends PipelineTransform<A, any>,
51
+ T2 extends PipelineTransform<T1, any>,
52
+ T3 extends PipelineTransform<T2, any>,
53
+ B extends PipelineDestination<T3, any>,
54
+ >(
55
+ source: A,
56
+ transform1: T1,
57
+ transform2: T2,
58
+ transform3: T3,
59
+ destination: B,
60
+ options?: PipelineOptions,
61
+ ): PipelinePromise<B>;
62
+ function pipeline<
63
+ A extends PipelineSource<any>,
64
+ T1 extends PipelineTransform<A, any>,
65
+ T2 extends PipelineTransform<T1, any>,
66
+ T3 extends PipelineTransform<T2, any>,
67
+ T4 extends PipelineTransform<T3, any>,
68
+ B extends PipelineDestination<T4, any>,
69
+ >(
70
+ source: A,
71
+ transform1: T1,
72
+ transform2: T2,
73
+ transform3: T3,
74
+ transform4: T4,
75
+ destination: B,
76
+ options?: PipelineOptions,
77
+ ): PipelinePromise<B>;
78
+ function pipeline(
79
+ streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
80
+ options?: PipelineOptions,
81
+ ): Promise<void>;
82
+ function pipeline(
83
+ stream1: NodeJS.ReadableStream,
84
+ stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
85
+ ...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
86
+ ): Promise<void>;
87
+ }
88
+ declare module "node:stream/promises" {
89
+ export * from "stream/promises";
90
+ }
@@ -0,0 +1,533 @@
1
+ type _ByteLengthQueuingStrategy = typeof globalThis extends { onmessage: any } ? {}
2
+ : import("stream/web").ByteLengthQueuingStrategy;
3
+ type _CompressionStream = typeof globalThis extends { onmessage: any; ReportingObserver: any } ? {}
4
+ : import("stream/web").CompressionStream;
5
+ type _CountQueuingStrategy = typeof globalThis extends { onmessage: any } ? {}
6
+ : import("stream/web").CountQueuingStrategy;
7
+ type _DecompressionStream = typeof globalThis extends { onmessage: any; ReportingObserver: any } ? {}
8
+ : import("stream/web").DecompressionStream;
9
+ type _QueuingStrategy<T = any> = typeof globalThis extends { onmessage: any } ? {}
10
+ : import("stream/web").QueuingStrategy<T>;
11
+ type _ReadableByteStreamController = typeof globalThis extends { onmessage: any } ? {}
12
+ : import("stream/web").ReadableByteStreamController;
13
+ type _ReadableStream<R = any> = typeof globalThis extends { onmessage: any } ? {}
14
+ : import("stream/web").ReadableStream<R>;
15
+ type _ReadableStreamBYOBReader = typeof globalThis extends { onmessage: any } ? {}
16
+ : import("stream/web").ReadableStreamBYOBReader;
17
+ type _ReadableStreamBYOBRequest = typeof globalThis extends { onmessage: any } ? {}
18
+ : import("stream/web").ReadableStreamBYOBRequest;
19
+ type _ReadableStreamDefaultController<R = any> = typeof globalThis extends { onmessage: any } ? {}
20
+ : import("stream/web").ReadableStreamDefaultController<R>;
21
+ type _ReadableStreamDefaultReader<R = any> = typeof globalThis extends { onmessage: any } ? {}
22
+ : import("stream/web").ReadableStreamDefaultReader<R>;
23
+ type _TextDecoderStream = typeof globalThis extends { onmessage: any } ? {}
24
+ : import("stream/web").TextDecoderStream;
25
+ type _TextEncoderStream = typeof globalThis extends { onmessage: any } ? {}
26
+ : import("stream/web").TextEncoderStream;
27
+ type _TransformStream<I = any, O = any> = typeof globalThis extends { onmessage: any } ? {}
28
+ : import("stream/web").TransformStream<I, O>;
29
+ type _TransformStreamDefaultController<O = any> = typeof globalThis extends { onmessage: any } ? {}
30
+ : import("stream/web").TransformStreamDefaultController<O>;
31
+ type _WritableStream<W = any> = typeof globalThis extends { onmessage: any } ? {}
32
+ : import("stream/web").WritableStream<W>;
33
+ type _WritableStreamDefaultController = typeof globalThis extends { onmessage: any } ? {}
34
+ : import("stream/web").WritableStreamDefaultController;
35
+ type _WritableStreamDefaultWriter<W = any> = typeof globalThis extends { onmessage: any } ? {}
36
+ : import("stream/web").WritableStreamDefaultWriter<W>;
37
+
38
+ declare module "stream/web" {
39
+ // stub module, pending copy&paste from .d.ts or manual impl
40
+ // copy from lib.dom.d.ts
41
+ interface ReadableWritablePair<R = any, W = any> {
42
+ readable: ReadableStream<R>;
43
+ /**
44
+ * Provides a convenient, chainable way of piping this readable stream
45
+ * through a transform stream (or any other { writable, readable }
46
+ * pair). It simply pipes the stream into the writable side of the
47
+ * supplied pair, and returns the readable side for further use.
48
+ *
49
+ * Piping a stream will lock it for the duration of the pipe, preventing
50
+ * any other consumer from acquiring a reader.
51
+ */
52
+ writable: WritableStream<W>;
53
+ }
54
+ interface StreamPipeOptions {
55
+ preventAbort?: boolean;
56
+ preventCancel?: boolean;
57
+ /**
58
+ * Pipes this readable stream to a given writable stream destination.
59
+ * The way in which the piping process behaves under various error
60
+ * conditions can be customized with a number of passed options. It
61
+ * returns a promise that fulfills when the piping process completes
62
+ * successfully, or rejects if any errors were encountered.
63
+ *
64
+ * Piping a stream will lock it for the duration of the pipe, preventing
65
+ * any other consumer from acquiring a reader.
66
+ *
67
+ * Errors and closures of the source and destination streams propagate
68
+ * as follows:
69
+ *
70
+ * An error in this source readable stream will abort destination,
71
+ * unless preventAbort is truthy. The returned promise will be rejected
72
+ * with the source's error, or with any error that occurs during
73
+ * aborting the destination.
74
+ *
75
+ * An error in destination will cancel this source readable stream,
76
+ * unless preventCancel is truthy. The returned promise will be rejected
77
+ * with the destination's error, or with any error that occurs during
78
+ * canceling the source.
79
+ *
80
+ * When this source readable stream closes, destination will be closed,
81
+ * unless preventClose is truthy. The returned promise will be fulfilled
82
+ * once this process completes, unless an error is encountered while
83
+ * closing the destination, in which case it will be rejected with that
84
+ * error.
85
+ *
86
+ * If destination starts out closed or closing, this source readable
87
+ * stream will be canceled, unless preventCancel is true. The returned
88
+ * promise will be rejected with an error indicating piping to a closed
89
+ * stream failed, or with any error that occurs during canceling the
90
+ * source.
91
+ *
92
+ * The signal option can be set to an AbortSignal to allow aborting an
93
+ * ongoing pipe operation via the corresponding AbortController. In this
94
+ * case, this source readable stream will be canceled, and destination
95
+ * aborted, unless the respective options preventCancel or preventAbort
96
+ * are set.
97
+ */
98
+ preventClose?: boolean;
99
+ signal?: AbortSignal;
100
+ }
101
+ interface ReadableStreamGenericReader {
102
+ readonly closed: Promise<void>;
103
+ cancel(reason?: any): Promise<void>;
104
+ }
105
+ type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
106
+ interface ReadableStreamReadValueResult<T> {
107
+ done: false;
108
+ value: T;
109
+ }
110
+ interface ReadableStreamReadDoneResult<T> {
111
+ done: true;
112
+ value?: T;
113
+ }
114
+ type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
115
+ interface ReadableByteStreamControllerCallback {
116
+ (controller: ReadableByteStreamController): void | PromiseLike<void>;
117
+ }
118
+ interface UnderlyingSinkAbortCallback {
119
+ (reason?: any): void | PromiseLike<void>;
120
+ }
121
+ interface UnderlyingSinkCloseCallback {
122
+ (): void | PromiseLike<void>;
123
+ }
124
+ interface UnderlyingSinkStartCallback {
125
+ (controller: WritableStreamDefaultController): any;
126
+ }
127
+ interface UnderlyingSinkWriteCallback<W> {
128
+ (chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;
129
+ }
130
+ interface UnderlyingSourceCancelCallback {
131
+ (reason?: any): void | PromiseLike<void>;
132
+ }
133
+ interface UnderlyingSourcePullCallback<R> {
134
+ (controller: ReadableStreamController<R>): void | PromiseLike<void>;
135
+ }
136
+ interface UnderlyingSourceStartCallback<R> {
137
+ (controller: ReadableStreamController<R>): any;
138
+ }
139
+ interface TransformerFlushCallback<O> {
140
+ (controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
141
+ }
142
+ interface TransformerStartCallback<O> {
143
+ (controller: TransformStreamDefaultController<O>): any;
144
+ }
145
+ interface TransformerTransformCallback<I, O> {
146
+ (chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
147
+ }
148
+ interface UnderlyingByteSource {
149
+ autoAllocateChunkSize?: number;
150
+ cancel?: ReadableStreamErrorCallback;
151
+ pull?: ReadableByteStreamControllerCallback;
152
+ start?: ReadableByteStreamControllerCallback;
153
+ type: "bytes";
154
+ }
155
+ interface UnderlyingSource<R = any> {
156
+ cancel?: UnderlyingSourceCancelCallback;
157
+ pull?: UnderlyingSourcePullCallback<R>;
158
+ start?: UnderlyingSourceStartCallback<R>;
159
+ type?: undefined;
160
+ }
161
+ interface UnderlyingSink<W = any> {
162
+ abort?: UnderlyingSinkAbortCallback;
163
+ close?: UnderlyingSinkCloseCallback;
164
+ start?: UnderlyingSinkStartCallback;
165
+ type?: undefined;
166
+ write?: UnderlyingSinkWriteCallback<W>;
167
+ }
168
+ interface ReadableStreamErrorCallback {
169
+ (reason: any): void | PromiseLike<void>;
170
+ }
171
+ interface ReadableStreamAsyncIterator<T> extends NodeJS.AsyncIterator<T, NodeJS.BuiltinIteratorReturn, unknown> {
172
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
173
+ }
174
+ /** This Streams API interface represents a readable stream of byte data. */
175
+ interface ReadableStream<R = any> {
176
+ readonly locked: boolean;
177
+ cancel(reason?: any): Promise<void>;
178
+ getReader(options: { mode: "byob" }): ReadableStreamBYOBReader;
179
+ getReader(): ReadableStreamDefaultReader<R>;
180
+ getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<R>;
181
+ pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
182
+ pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
183
+ tee(): [ReadableStream<R>, ReadableStream<R>];
184
+ values(options?: { preventCancel?: boolean }): ReadableStreamAsyncIterator<R>;
185
+ [Symbol.asyncIterator](): ReadableStreamAsyncIterator<R>;
186
+ }
187
+ const ReadableStream: {
188
+ prototype: ReadableStream;
189
+ from<T>(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>;
190
+ new(underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array>): ReadableStream<Uint8Array>;
191
+ new<R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
192
+ };
193
+ type ReadableStreamReaderMode = "byob";
194
+ interface ReadableStreamGetReaderOptions {
195
+ /**
196
+ * Creates a ReadableStreamBYOBReader and locks the stream to the new reader.
197
+ *
198
+ * This call behaves the same way as the no-argument variant, except that it only works on readable byte streams, i.e. streams which were constructed specifically with the ability to handle "bring your own buffer" reading. The returned BYOB reader provides the ability to directly read individual chunks from the stream via its read() method, into developer-supplied buffers, allowing more precise control over allocation.
199
+ */
200
+ mode?: ReadableStreamReaderMode;
201
+ }
202
+ type ReadableStreamReader<T> = ReadableStreamDefaultReader<T> | ReadableStreamBYOBReader;
203
+ interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
204
+ read(): Promise<ReadableStreamReadResult<R>>;
205
+ releaseLock(): void;
206
+ }
207
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader) */
208
+ interface ReadableStreamBYOBReader extends ReadableStreamGenericReader {
209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/read) */
210
+ read<T extends ArrayBufferView>(
211
+ view: T,
212
+ options?: {
213
+ min?: number;
214
+ },
215
+ ): Promise<ReadableStreamReadResult<T>>;
216
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBReader/releaseLock) */
217
+ releaseLock(): void;
218
+ }
219
+ const ReadableStreamDefaultReader: {
220
+ prototype: ReadableStreamDefaultReader;
221
+ new<R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
222
+ };
223
+ const ReadableStreamBYOBReader: {
224
+ prototype: ReadableStreamBYOBReader;
225
+ new(stream: ReadableStream): ReadableStreamBYOBReader;
226
+ };
227
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest) */
228
+ interface ReadableStreamBYOBRequest {
229
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/view) */
230
+ readonly view: ArrayBufferView | null;
231
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respond) */
232
+ respond(bytesWritten: number): void;
233
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReadableStreamBYOBRequest/respondWithNewView) */
234
+ respondWithNewView(view: ArrayBufferView): void;
235
+ }
236
+ const ReadableStreamBYOBRequest: {
237
+ prototype: ReadableStreamBYOBRequest;
238
+ new(): ReadableStreamBYOBRequest;
239
+ };
240
+ interface ReadableByteStreamController {
241
+ readonly byobRequest: ReadableStreamBYOBRequest | null;
242
+ readonly desiredSize: number | null;
243
+ close(): void;
244
+ enqueue(chunk: ArrayBufferView): void;
245
+ error(error?: any): void;
246
+ }
247
+ const ReadableByteStreamController: {
248
+ prototype: ReadableByteStreamController;
249
+ new(): ReadableByteStreamController;
250
+ };
251
+ interface ReadableStreamDefaultController<R = any> {
252
+ readonly desiredSize: number | null;
253
+ close(): void;
254
+ enqueue(chunk?: R): void;
255
+ error(e?: any): void;
256
+ }
257
+ const ReadableStreamDefaultController: {
258
+ prototype: ReadableStreamDefaultController;
259
+ new(): ReadableStreamDefaultController;
260
+ };
261
+ interface Transformer<I = any, O = any> {
262
+ flush?: TransformerFlushCallback<O>;
263
+ readableType?: undefined;
264
+ start?: TransformerStartCallback<O>;
265
+ transform?: TransformerTransformCallback<I, O>;
266
+ writableType?: undefined;
267
+ }
268
+ interface TransformStream<I = any, O = any> {
269
+ readonly readable: ReadableStream<O>;
270
+ readonly writable: WritableStream<I>;
271
+ }
272
+ const TransformStream: {
273
+ prototype: TransformStream;
274
+ new<I = any, O = any>(
275
+ transformer?: Transformer<I, O>,
276
+ writableStrategy?: QueuingStrategy<I>,
277
+ readableStrategy?: QueuingStrategy<O>,
278
+ ): TransformStream<I, O>;
279
+ };
280
+ interface TransformStreamDefaultController<O = any> {
281
+ readonly desiredSize: number | null;
282
+ enqueue(chunk?: O): void;
283
+ error(reason?: any): void;
284
+ terminate(): void;
285
+ }
286
+ const TransformStreamDefaultController: {
287
+ prototype: TransformStreamDefaultController;
288
+ new(): TransformStreamDefaultController;
289
+ };
290
+ /**
291
+ * This Streams API interface provides a standard abstraction for writing
292
+ * streaming data to a destination, known as a sink. This object comes with
293
+ * built-in back pressure and queuing.
294
+ */
295
+ interface WritableStream<W = any> {
296
+ readonly locked: boolean;
297
+ abort(reason?: any): Promise<void>;
298
+ close(): Promise<void>;
299
+ getWriter(): WritableStreamDefaultWriter<W>;
300
+ }
301
+ const WritableStream: {
302
+ prototype: WritableStream;
303
+ new<W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;
304
+ };
305
+ /**
306
+ * This Streams API interface is the object returned by
307
+ * WritableStream.getWriter() and once created locks the < writer to the
308
+ * WritableStream ensuring that no other streams can write to the underlying
309
+ * sink.
310
+ */
311
+ interface WritableStreamDefaultWriter<W = any> {
312
+ readonly closed: Promise<void>;
313
+ readonly desiredSize: number | null;
314
+ readonly ready: Promise<void>;
315
+ abort(reason?: any): Promise<void>;
316
+ close(): Promise<void>;
317
+ releaseLock(): void;
318
+ write(chunk?: W): Promise<void>;
319
+ }
320
+ const WritableStreamDefaultWriter: {
321
+ prototype: WritableStreamDefaultWriter;
322
+ new<W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;
323
+ };
324
+ /**
325
+ * This Streams API interface represents a controller allowing control of a
326
+ * WritableStream's state. When constructing a WritableStream, the
327
+ * underlying sink is given a corresponding WritableStreamDefaultController
328
+ * instance to manipulate.
329
+ */
330
+ interface WritableStreamDefaultController {
331
+ error(e?: any): void;
332
+ }
333
+ const WritableStreamDefaultController: {
334
+ prototype: WritableStreamDefaultController;
335
+ new(): WritableStreamDefaultController;
336
+ };
337
+ interface QueuingStrategy<T = any> {
338
+ highWaterMark?: number;
339
+ size?: QueuingStrategySize<T>;
340
+ }
341
+ interface QueuingStrategySize<T = any> {
342
+ (chunk?: T): number;
343
+ }
344
+ interface QueuingStrategyInit {
345
+ /**
346
+ * Creates a new ByteLengthQueuingStrategy with the provided high water
347
+ * mark.
348
+ *
349
+ * Note that the provided high water mark will not be validated ahead of
350
+ * time. Instead, if it is negative, NaN, or not a number, the resulting
351
+ * ByteLengthQueuingStrategy will cause the corresponding stream
352
+ * constructor to throw.
353
+ */
354
+ highWaterMark: number;
355
+ }
356
+ /**
357
+ * This Streams API interface provides a built-in byte length queuing
358
+ * strategy that can be used when constructing streams.
359
+ */
360
+ interface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {
361
+ readonly highWaterMark: number;
362
+ readonly size: QueuingStrategySize<ArrayBufferView>;
363
+ }
364
+ const ByteLengthQueuingStrategy: {
365
+ prototype: ByteLengthQueuingStrategy;
366
+ new(init: QueuingStrategyInit): ByteLengthQueuingStrategy;
367
+ };
368
+ /**
369
+ * This Streams API interface provides a built-in byte length queuing
370
+ * strategy that can be used when constructing streams.
371
+ */
372
+ interface CountQueuingStrategy extends QueuingStrategy {
373
+ readonly highWaterMark: number;
374
+ readonly size: QueuingStrategySize;
375
+ }
376
+ const CountQueuingStrategy: {
377
+ prototype: CountQueuingStrategy;
378
+ new(init: QueuingStrategyInit): CountQueuingStrategy;
379
+ };
380
+ interface TextEncoderStream {
381
+ /** Returns "utf-8". */
382
+ readonly encoding: "utf-8";
383
+ readonly readable: ReadableStream<Uint8Array>;
384
+ readonly writable: WritableStream<string>;
385
+ readonly [Symbol.toStringTag]: string;
386
+ }
387
+ const TextEncoderStream: {
388
+ prototype: TextEncoderStream;
389
+ new(): TextEncoderStream;
390
+ };
391
+ interface TextDecoderOptions {
392
+ fatal?: boolean;
393
+ ignoreBOM?: boolean;
394
+ }
395
+ type BufferSource = ArrayBufferView | ArrayBuffer;
396
+ interface TextDecoderStream {
397
+ /** Returns encoding's name, lower cased. */
398
+ readonly encoding: string;
399
+ /** Returns `true` if error mode is "fatal", and `false` otherwise. */
400
+ readonly fatal: boolean;
401
+ /** Returns `true` if ignore BOM flag is set, and `false` otherwise. */
402
+ readonly ignoreBOM: boolean;
403
+ readonly readable: ReadableStream<string>;
404
+ readonly writable: WritableStream<BufferSource>;
405
+ readonly [Symbol.toStringTag]: string;
406
+ }
407
+ const TextDecoderStream: {
408
+ prototype: TextDecoderStream;
409
+ new(encoding?: string, options?: TextDecoderOptions): TextDecoderStream;
410
+ };
411
+ interface CompressionStream {
412
+ readonly readable: ReadableStream;
413
+ readonly writable: WritableStream;
414
+ }
415
+ const CompressionStream: {
416
+ prototype: CompressionStream;
417
+ new(format: "deflate" | "deflate-raw" | "gzip"): CompressionStream;
418
+ };
419
+ interface DecompressionStream {
420
+ readonly writable: WritableStream;
421
+ readonly readable: ReadableStream;
422
+ }
423
+ const DecompressionStream: {
424
+ prototype: DecompressionStream;
425
+ new(format: "deflate" | "deflate-raw" | "gzip"): DecompressionStream;
426
+ };
427
+
428
+ global {
429
+ interface ByteLengthQueuingStrategy extends _ByteLengthQueuingStrategy {}
430
+ var ByteLengthQueuingStrategy: typeof globalThis extends { onmessage: any; ByteLengthQueuingStrategy: infer T }
431
+ ? T
432
+ : typeof import("stream/web").ByteLengthQueuingStrategy;
433
+
434
+ interface CompressionStream extends _CompressionStream {}
435
+ var CompressionStream: typeof globalThis extends {
436
+ onmessage: any;
437
+ // CompressionStream, DecompressionStream and ReportingObserver was introduced in the same commit.
438
+ // If ReportingObserver check is removed, the type here will form a circular reference in TS5.0+lib.dom.d.ts
439
+ ReportingObserver: any;
440
+ CompressionStream: infer T;
441
+ } ? T
442
+ // TS 4.8, 4.9, 5.0
443
+ : typeof globalThis extends { onmessage: any; TransformStream: { prototype: infer T } } ? {
444
+ prototype: T;
445
+ new(format: "deflate" | "deflate-raw" | "gzip"): T;
446
+ }
447
+ : typeof import("stream/web").CompressionStream;
448
+
449
+ interface CountQueuingStrategy extends _CountQueuingStrategy {}
450
+ var CountQueuingStrategy: typeof globalThis extends { onmessage: any; CountQueuingStrategy: infer T } ? T
451
+ : typeof import("stream/web").CountQueuingStrategy;
452
+
453
+ interface DecompressionStream extends _DecompressionStream {}
454
+ var DecompressionStream: typeof globalThis extends {
455
+ onmessage: any;
456
+ // CompressionStream, DecompressionStream and ReportingObserver was introduced in the same commit.
457
+ // If ReportingObserver check is removed, the type here will form a circular reference in TS5.0+lib.dom.d.ts
458
+ ReportingObserver: any;
459
+ DecompressionStream: infer T;
460
+ } ? T
461
+ // TS 4.8, 4.9, 5.0
462
+ : typeof globalThis extends { onmessage: any; TransformStream: { prototype: infer T } } ? {
463
+ prototype: T;
464
+ new(format: "deflate" | "deflate-raw" | "gzip"): T;
465
+ }
466
+ : typeof import("stream/web").DecompressionStream;
467
+
468
+ interface QueuingStrategy<T = any> extends _QueuingStrategy<T> {}
469
+
470
+ interface ReadableByteStreamController extends _ReadableByteStreamController {}
471
+ var ReadableByteStreamController: typeof globalThis extends
472
+ { onmessage: any; ReadableByteStreamController: infer T } ? T
473
+ : typeof import("stream/web").ReadableByteStreamController;
474
+
475
+ interface ReadableStream<R = any> extends _ReadableStream<R> {}
476
+ var ReadableStream: typeof globalThis extends { onmessage: any; ReadableStream: infer T } ? T
477
+ : typeof import("stream/web").ReadableStream;
478
+
479
+ interface ReadableStreamBYOBReader extends _ReadableStreamBYOBReader {}
480
+ var ReadableStreamBYOBReader: typeof globalThis extends { onmessage: any; ReadableStreamBYOBReader: infer T }
481
+ ? T
482
+ : typeof import("stream/web").ReadableStreamBYOBReader;
483
+
484
+ interface ReadableStreamBYOBRequest extends _ReadableStreamBYOBRequest {}
485
+ var ReadableStreamBYOBRequest: typeof globalThis extends { onmessage: any; ReadableStreamBYOBRequest: infer T }
486
+ ? T
487
+ : typeof import("stream/web").ReadableStreamBYOBRequest;
488
+
489
+ interface ReadableStreamDefaultController<R = any> extends _ReadableStreamDefaultController<R> {}
490
+ var ReadableStreamDefaultController: typeof globalThis extends
491
+ { onmessage: any; ReadableStreamDefaultController: infer T } ? T
492
+ : typeof import("stream/web").ReadableStreamDefaultController;
493
+
494
+ interface ReadableStreamDefaultReader<R = any> extends _ReadableStreamDefaultReader<R> {}
495
+ var ReadableStreamDefaultReader: typeof globalThis extends
496
+ { onmessage: any; ReadableStreamDefaultReader: infer T } ? T
497
+ : typeof import("stream/web").ReadableStreamDefaultReader;
498
+
499
+ interface TextDecoderStream extends _TextDecoderStream {}
500
+ var TextDecoderStream: typeof globalThis extends { onmessage: any; TextDecoderStream: infer T } ? T
501
+ : typeof import("stream/web").TextDecoderStream;
502
+
503
+ interface TextEncoderStream extends _TextEncoderStream {}
504
+ var TextEncoderStream: typeof globalThis extends { onmessage: any; TextEncoderStream: infer T } ? T
505
+ : typeof import("stream/web").TextEncoderStream;
506
+
507
+ interface TransformStream<I = any, O = any> extends _TransformStream<I, O> {}
508
+ var TransformStream: typeof globalThis extends { onmessage: any; TransformStream: infer T } ? T
509
+ : typeof import("stream/web").TransformStream;
510
+
511
+ interface TransformStreamDefaultController<O = any> extends _TransformStreamDefaultController<O> {}
512
+ var TransformStreamDefaultController: typeof globalThis extends
513
+ { onmessage: any; TransformStreamDefaultController: infer T } ? T
514
+ : typeof import("stream/web").TransformStreamDefaultController;
515
+
516
+ interface WritableStream<W = any> extends _WritableStream<W> {}
517
+ var WritableStream: typeof globalThis extends { onmessage: any; WritableStream: infer T } ? T
518
+ : typeof import("stream/web").WritableStream;
519
+
520
+ interface WritableStreamDefaultController extends _WritableStreamDefaultController {}
521
+ var WritableStreamDefaultController: typeof globalThis extends
522
+ { onmessage: any; WritableStreamDefaultController: infer T } ? T
523
+ : typeof import("stream/web").WritableStreamDefaultController;
524
+
525
+ interface WritableStreamDefaultWriter<W = any> extends _WritableStreamDefaultWriter<W> {}
526
+ var WritableStreamDefaultWriter: typeof globalThis extends
527
+ { onmessage: any; WritableStreamDefaultWriter: infer T } ? T
528
+ : typeof import("stream/web").WritableStreamDefaultWriter;
529
+ }
530
+ }
531
+ declare module "node:stream/web" {
532
+ export * from "stream/web";
533
+ }