bereach 1.3.3 → 2.1.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (682) hide show
  1. package/README.md +142 -42
  2. package/esm/funcs/actions-connect-profile.d.ts +2 -2
  3. package/esm/funcs/actions-connect-profile.d.ts.map +1 -1
  4. package/esm/funcs/actions-connect-profile.js +4 -2
  5. package/esm/funcs/actions-connect-profile.js.map +1 -1
  6. package/esm/funcs/actions-follow-company.d.ts +1 -1
  7. package/esm/funcs/actions-follow-company.d.ts.map +1 -1
  8. package/esm/funcs/actions-follow-company.js +3 -1
  9. package/esm/funcs/actions-follow-company.js.map +1 -1
  10. package/esm/funcs/actions-list-sent-invitations.d.ts +1 -1
  11. package/esm/funcs/actions-list-sent-invitations.d.ts.map +1 -1
  12. package/esm/funcs/actions-list-sent-invitations.js +3 -1
  13. package/esm/funcs/actions-list-sent-invitations.js.map +1 -1
  14. package/esm/funcs/actions-send-message.d.ts +2 -2
  15. package/esm/funcs/actions-send-message.d.ts.map +1 -1
  16. package/esm/funcs/actions-send-message.js +4 -2
  17. package/esm/funcs/actions-send-message.js.map +1 -1
  18. package/esm/funcs/campaigns-filter.d.ts +1 -1
  19. package/esm/funcs/campaigns-filter.d.ts.map +1 -1
  20. package/esm/funcs/campaigns-filter.js +3 -1
  21. package/esm/funcs/campaigns-filter.js.map +1 -1
  22. package/esm/funcs/{campaigns-get-stats.d.ts → campaigns-get-campaign-stats.d.ts} +2 -2
  23. package/esm/funcs/campaigns-get-campaign-stats.d.ts.map +1 -0
  24. package/esm/funcs/{campaigns-get-stats.js → campaigns-get-campaign-stats.js} +8 -7
  25. package/esm/funcs/campaigns-get-campaign-stats.js.map +1 -0
  26. package/esm/funcs/campaigns-get-status.d.ts +1 -1
  27. package/esm/funcs/campaigns-get-status.d.ts.map +1 -1
  28. package/esm/funcs/campaigns-get-status.js +3 -1
  29. package/esm/funcs/campaigns-get-status.js.map +1 -1
  30. package/esm/funcs/campaigns-sync.d.ts +1 -1
  31. package/esm/funcs/campaigns-sync.d.ts.map +1 -1
  32. package/esm/funcs/campaigns-sync.js +3 -1
  33. package/esm/funcs/campaigns-sync.js.map +1 -1
  34. package/esm/funcs/chat-archive.d.ts +1 -1
  35. package/esm/funcs/chat-archive.d.ts.map +1 -1
  36. package/esm/funcs/chat-archive.js +3 -1
  37. package/esm/funcs/chat-archive.js.map +1 -1
  38. package/esm/funcs/chat-find-conversation.d.ts +2 -9
  39. package/esm/funcs/chat-find-conversation.d.ts.map +1 -1
  40. package/esm/funcs/chat-find-conversation.js +4 -9
  41. package/esm/funcs/chat-find-conversation.js.map +1 -1
  42. package/esm/funcs/chat-unreact.d.ts +1 -1
  43. package/esm/funcs/chat-unreact.d.ts.map +1 -1
  44. package/esm/funcs/chat-unreact.js +3 -1
  45. package/esm/funcs/chat-unreact.js.map +1 -1
  46. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  47. package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -1
  48. package/esm/funcs/company-pages-get-analytics.js +3 -1
  49. package/esm/funcs/company-pages-get-analytics.js.map +1 -1
  50. package/esm/funcs/company-pages-get-permissions.d.ts +1 -1
  51. package/esm/funcs/company-pages-get-permissions.d.ts.map +1 -1
  52. package/esm/funcs/company-pages-get-permissions.js +3 -1
  53. package/esm/funcs/company-pages-get-permissions.js.map +1 -1
  54. package/esm/funcs/company-pages-get-posts.d.ts +1 -1
  55. package/esm/funcs/company-pages-get-posts.d.ts.map +1 -1
  56. package/esm/funcs/company-pages-get-posts.js +3 -1
  57. package/esm/funcs/company-pages-get-posts.js.map +1 -1
  58. package/esm/funcs/company-pages-list.d.ts +1 -1
  59. package/esm/funcs/company-pages-list.d.ts.map +1 -1
  60. package/esm/funcs/company-pages-list.js +3 -1
  61. package/esm/funcs/company-pages-list.js.map +1 -1
  62. package/esm/funcs/contacts-add-campaign-contacts.d.ts +18 -0
  63. package/esm/funcs/contacts-add-campaign-contacts.d.ts.map +1 -0
  64. package/esm/funcs/contacts-add-campaign-contacts.js +103 -0
  65. package/esm/funcs/contacts-add-campaign-contacts.js.map +1 -0
  66. package/esm/funcs/contacts-add-contact-activities.d.ts +18 -0
  67. package/esm/funcs/contacts-add-contact-activities.d.ts.map +1 -0
  68. package/esm/funcs/contacts-add-contact-activities.js +103 -0
  69. package/esm/funcs/contacts-add-contact-activities.js.map +1 -0
  70. package/esm/funcs/contacts-bulk-update-contacts.d.ts +18 -0
  71. package/esm/funcs/contacts-bulk-update-contacts.d.ts.map +1 -0
  72. package/esm/funcs/contacts-bulk-update-contacts.js +97 -0
  73. package/esm/funcs/contacts-bulk-update-contacts.js.map +1 -0
  74. package/esm/funcs/contacts-create-campaign.d.ts +18 -0
  75. package/esm/funcs/contacts-create-campaign.d.ts.map +1 -0
  76. package/esm/funcs/contacts-create-campaign.js +97 -0
  77. package/esm/funcs/contacts-create-campaign.js.map +1 -0
  78. package/esm/funcs/contacts-delete-agent-state.d.ts +18 -0
  79. package/esm/funcs/contacts-delete-agent-state.d.ts.map +1 -0
  80. package/esm/funcs/contacts-delete-agent-state.js +102 -0
  81. package/esm/funcs/contacts-delete-agent-state.js.map +1 -0
  82. package/esm/funcs/contacts-get-agent-state.d.ts +18 -0
  83. package/esm/funcs/contacts-get-agent-state.d.ts.map +1 -0
  84. package/esm/funcs/contacts-get-agent-state.js +102 -0
  85. package/esm/funcs/contacts-get-agent-state.js.map +1 -0
  86. package/esm/funcs/contacts-get-contact-by-url.d.ts +18 -0
  87. package/esm/funcs/contacts-get-contact-by-url.d.ts.map +1 -0
  88. package/esm/funcs/contacts-get-contact-by-url.js +100 -0
  89. package/esm/funcs/contacts-get-contact-by-url.js.map +1 -0
  90. package/esm/funcs/contacts-get-contact-stats.d.ts +18 -0
  91. package/esm/funcs/contacts-get-contact-stats.d.ts.map +1 -0
  92. package/esm/funcs/contacts-get-contact-stats.js +100 -0
  93. package/esm/funcs/contacts-get-contact-stats.js.map +1 -0
  94. package/esm/funcs/contacts-get-contact.d.ts +18 -0
  95. package/esm/funcs/contacts-get-contact.d.ts.map +1 -0
  96. package/esm/funcs/contacts-get-contact.js +102 -0
  97. package/esm/funcs/contacts-get-contact.js.map +1 -0
  98. package/esm/funcs/contacts-list-agent-states.d.ts +18 -0
  99. package/esm/funcs/contacts-list-agent-states.d.ts.map +1 -0
  100. package/esm/funcs/contacts-list-agent-states.js +86 -0
  101. package/esm/funcs/contacts-list-agent-states.js.map +1 -0
  102. package/esm/funcs/contacts-list-campaign-contacts.d.ts +18 -0
  103. package/esm/funcs/contacts-list-campaign-contacts.d.ts.map +1 -0
  104. package/esm/funcs/contacts-list-campaign-contacts.js +111 -0
  105. package/esm/funcs/contacts-list-campaign-contacts.js.map +1 -0
  106. package/esm/funcs/contacts-list-campaigns.d.ts +18 -0
  107. package/esm/funcs/contacts-list-campaigns.d.ts.map +1 -0
  108. package/esm/funcs/contacts-list-campaigns.js +103 -0
  109. package/esm/funcs/contacts-list-campaigns.js.map +1 -0
  110. package/esm/funcs/contacts-list-contact-activities.d.ts +18 -0
  111. package/esm/funcs/contacts-list-contact-activities.d.ts.map +1 -0
  112. package/esm/funcs/contacts-list-contact-activities.js +108 -0
  113. package/esm/funcs/contacts-list-contact-activities.js.map +1 -0
  114. package/esm/funcs/contacts-patch-agent-state.d.ts +18 -0
  115. package/esm/funcs/contacts-patch-agent-state.d.ts.map +1 -0
  116. package/esm/funcs/contacts-patch-agent-state.js +103 -0
  117. package/esm/funcs/contacts-patch-agent-state.js.map +1 -0
  118. package/esm/funcs/contacts-search-contacts.d.ts +18 -0
  119. package/esm/funcs/contacts-search-contacts.d.ts.map +1 -0
  120. package/esm/funcs/contacts-search-contacts.js +112 -0
  121. package/esm/funcs/contacts-search-contacts.js.map +1 -0
  122. package/esm/funcs/contacts-set-agent-state.d.ts +18 -0
  123. package/esm/funcs/contacts-set-agent-state.d.ts.map +1 -0
  124. package/esm/funcs/contacts-set-agent-state.js +103 -0
  125. package/esm/funcs/contacts-set-agent-state.js.map +1 -0
  126. package/esm/funcs/contacts-update-campaign.d.ts +18 -0
  127. package/esm/funcs/contacts-update-campaign.d.ts.map +1 -0
  128. package/esm/funcs/contacts-update-campaign.js +103 -0
  129. package/esm/funcs/contacts-update-campaign.js.map +1 -0
  130. package/esm/funcs/contacts-update-contact.d.ts +18 -0
  131. package/esm/funcs/contacts-update-contact.d.ts.map +1 -0
  132. package/esm/funcs/contacts-update-contact.js +103 -0
  133. package/esm/funcs/contacts-update-contact.js.map +1 -0
  134. package/esm/funcs/contacts-upsert.d.ts +3 -2
  135. package/esm/funcs/contacts-upsert.d.ts.map +1 -1
  136. package/esm/funcs/contacts-upsert.js +21 -3
  137. package/esm/funcs/contacts-upsert.js.map +1 -1
  138. package/esm/funcs/context-delete-context.d.ts +18 -0
  139. package/esm/funcs/context-delete-context.d.ts.map +1 -0
  140. package/esm/funcs/context-delete-context.js +101 -0
  141. package/esm/funcs/context-delete-context.js.map +1 -0
  142. package/esm/funcs/context-list-context.d.ts +18 -0
  143. package/esm/funcs/context-list-context.d.ts.map +1 -0
  144. package/esm/funcs/context-list-context.js +101 -0
  145. package/esm/funcs/context-list-context.js.map +1 -0
  146. package/esm/funcs/context-set-context.d.ts +18 -0
  147. package/esm/funcs/{campaigns-get-stats.d.ts.map → context-set-context.d.ts.map} +1 -1
  148. package/esm/funcs/context-set-context.js +97 -0
  149. package/esm/funcs/context-set-context.js.map +1 -0
  150. package/esm/funcs/cron-list-cron-schedules.d.ts +18 -0
  151. package/esm/funcs/cron-list-cron-schedules.d.ts.map +1 -0
  152. package/esm/funcs/cron-list-cron-schedules.js +86 -0
  153. package/esm/funcs/cron-list-cron-schedules.js.map +1 -0
  154. package/esm/funcs/cron-update-cron-schedule.d.ts +18 -0
  155. package/esm/funcs/{chat-search-conversations.d.ts.map → cron-update-cron-schedule.d.ts.map} +1 -1
  156. package/esm/funcs/cron-update-cron-schedule.js +103 -0
  157. package/esm/funcs/cron-update-cron-schedule.js.map +1 -0
  158. package/esm/funcs/linked-in-actions-create-comment.d.ts +1 -1
  159. package/esm/funcs/linked-in-actions-create-comment.d.ts.map +1 -1
  160. package/esm/funcs/linked-in-actions-create-comment.js +3 -1
  161. package/esm/funcs/linked-in-actions-create-comment.js.map +1 -1
  162. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +1 -1
  163. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -1
  164. package/esm/funcs/linked-in-actions-decline-invitation.js +3 -1
  165. package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -1
  166. package/esm/funcs/linked-in-actions-like-comment.d.ts +1 -1
  167. package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -1
  168. package/esm/funcs/linked-in-actions-like-comment.js +3 -1
  169. package/esm/funcs/linked-in-actions-like-comment.js.map +1 -1
  170. package/esm/funcs/linked-in-actions-publish-post.d.ts +1 -1
  171. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -1
  172. package/esm/funcs/linked-in-actions-publish-post.js +3 -1
  173. package/esm/funcs/linked-in-actions-publish-post.js.map +1 -1
  174. package/esm/funcs/linked-in-actions-save-post.d.ts +1 -1
  175. package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -1
  176. package/esm/funcs/linked-in-actions-save-post.js +3 -1
  177. package/esm/funcs/linked-in-actions-save-post.js.map +1 -1
  178. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +1 -1
  179. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +1 -1
  180. package/esm/funcs/linked-in-actions-unfollow-profile.js +3 -1
  181. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +1 -1
  182. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts +22 -0
  183. package/esm/funcs/linked-in-chat-get-conversation-messages.d.ts.map +1 -0
  184. package/esm/funcs/{linkedin-chat-get-messages.js → linked-in-chat-get-conversation-messages.js} +15 -9
  185. package/esm/funcs/linked-in-chat-get-conversation-messages.js.map +1 -0
  186. package/esm/funcs/{linkedin-chat-get-unread-count.d.ts → linked-in-chat-get-unread-count.d.ts} +2 -2
  187. package/esm/funcs/linked-in-chat-get-unread-count.d.ts.map +1 -0
  188. package/esm/funcs/{linkedin-chat-get-unread-count.js → linked-in-chat-get-unread-count.js} +8 -7
  189. package/esm/funcs/linked-in-chat-get-unread-count.js.map +1 -0
  190. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts +18 -0
  191. package/esm/funcs/linked-in-chat-list-archived-conversations.d.ts.map +1 -0
  192. package/esm/funcs/{linkedin-chat-list-archived.js → linked-in-chat-list-archived-conversations.js} +13 -10
  193. package/esm/funcs/linked-in-chat-list-archived-conversations.js.map +1 -0
  194. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts +18 -0
  195. package/esm/funcs/linked-in-chat-list-starred-conversations.d.ts.map +1 -0
  196. package/esm/funcs/{linked-in-chat-list-starred.js → linked-in-chat-list-starred-conversations.js} +13 -10
  197. package/esm/funcs/linked-in-chat-list-starred-conversations.js.map +1 -0
  198. package/esm/funcs/linked-in-chat-mark-seen.d.ts +1 -1
  199. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -1
  200. package/esm/funcs/linked-in-chat-mark-seen.js +3 -1
  201. package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -1
  202. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts +18 -0
  203. package/esm/funcs/linked-in-chat-search-linked-in-conversations.d.ts.map +1 -0
  204. package/esm/funcs/{chat-search-conversations.js → linked-in-chat-search-linked-in-conversations.js} +14 -8
  205. package/esm/funcs/linked-in-chat-search-linked-in-conversations.js.map +1 -0
  206. package/esm/funcs/linked-in-chat-star.d.ts +1 -1
  207. package/esm/funcs/linked-in-chat-star.d.ts.map +1 -1
  208. package/esm/funcs/linked-in-chat-star.js +3 -1
  209. package/esm/funcs/linked-in-chat-star.js.map +1 -1
  210. package/esm/funcs/linked-in-chat-unarchive.d.ts +1 -1
  211. package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -1
  212. package/esm/funcs/linked-in-chat-unarchive.js +3 -1
  213. package/esm/funcs/linked-in-chat-unarchive.js.map +1 -1
  214. package/esm/funcs/linked-in-chat-unstar.d.ts +1 -1
  215. package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -1
  216. package/esm/funcs/linked-in-chat-unstar.js +3 -1
  217. package/esm/funcs/linked-in-chat-unstar.js.map +1 -1
  218. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts +2 -2
  219. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -1
  220. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js +4 -2
  221. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +1 -1
  222. package/esm/funcs/linked-in-scrapers-get-feed.d.ts +1 -1
  223. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -1
  224. package/esm/funcs/linked-in-scrapers-get-feed.js +3 -1
  225. package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -1
  226. package/esm/funcs/{linked-in-search-resolve-parameters.d.ts → linked-in-search-resolve-linked-in-search-parameters.d.ts} +6 -3
  227. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.d.ts.map +1 -0
  228. package/esm/funcs/{linked-in-search-resolve-parameters.js → linked-in-search-resolve-linked-in-search-parameters.js} +18 -8
  229. package/esm/funcs/linked-in-search-resolve-linked-in-search-parameters.js.map +1 -0
  230. package/esm/funcs/linked-in-search-search-companies.d.ts +1 -1
  231. package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -1
  232. package/esm/funcs/linked-in-search-search-companies.js +3 -1
  233. package/esm/funcs/linked-in-search-search-companies.js.map +1 -1
  234. package/esm/funcs/linked-in-search-search.d.ts +1 -1
  235. package/esm/funcs/linked-in-search-search.d.ts.map +1 -1
  236. package/esm/funcs/linked-in-search-search.js +3 -1
  237. package/esm/funcs/linked-in-search-search.js.map +1 -1
  238. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +1 -1
  239. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -1
  240. package/esm/funcs/linkedin-actions-accept-invitation.js +3 -1
  241. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -1
  242. package/esm/funcs/linkedin-actions-edit-comment.d.ts +1 -1
  243. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +1 -1
  244. package/esm/funcs/linkedin-actions-edit-comment.js +3 -1
  245. package/esm/funcs/linkedin-actions-edit-comment.js.map +1 -1
  246. package/esm/funcs/linkedin-actions-edit-post.d.ts +1 -1
  247. package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -1
  248. package/esm/funcs/linkedin-actions-edit-post.js +3 -1
  249. package/esm/funcs/linkedin-actions-edit-post.js.map +1 -1
  250. package/esm/funcs/linkedin-actions-follow-profile.d.ts +1 -1
  251. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +1 -1
  252. package/esm/funcs/linkedin-actions-follow-profile.js +3 -1
  253. package/esm/funcs/linkedin-actions-follow-profile.js.map +1 -1
  254. package/esm/funcs/linkedin-actions-like-post.d.ts +1 -1
  255. package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -1
  256. package/esm/funcs/linkedin-actions-like-post.js +3 -1
  257. package/esm/funcs/linkedin-actions-like-post.js.map +1 -1
  258. package/esm/funcs/linkedin-actions-list-invitations.d.ts +1 -1
  259. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -1
  260. package/esm/funcs/linkedin-actions-list-invitations.js +3 -1
  261. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -1
  262. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +1 -1
  263. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -1
  264. package/esm/funcs/linkedin-actions-reply-to-comment.js +3 -1
  265. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -1
  266. package/esm/funcs/linkedin-actions-repost-post.d.ts +2 -2
  267. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -1
  268. package/esm/funcs/linkedin-actions-repost-post.js +4 -2
  269. package/esm/funcs/linkedin-actions-repost-post.js.map +1 -1
  270. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +1 -1
  271. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -1
  272. package/esm/funcs/linkedin-actions-unfollow-company.js +3 -1
  273. package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -1
  274. package/esm/funcs/linkedin-actions-unlike-comment.d.ts +1 -1
  275. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +1 -1
  276. package/esm/funcs/linkedin-actions-unlike-comment.js +3 -1
  277. package/esm/funcs/linkedin-actions-unlike-comment.js.map +1 -1
  278. package/esm/funcs/linkedin-actions-unlike-post.d.ts +1 -1
  279. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -1
  280. package/esm/funcs/linkedin-actions-unlike-post.js +3 -1
  281. package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -1
  282. package/esm/funcs/linkedin-actions-unsave-post.d.ts +1 -1
  283. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -1
  284. package/esm/funcs/linkedin-actions-unsave-post.js +3 -1
  285. package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -1
  286. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +1 -1
  287. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -1
  288. package/esm/funcs/linkedin-actions-withdraw-invitation.js +3 -1
  289. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -1
  290. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts +2 -2
  291. package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -1
  292. package/esm/funcs/linkedin-chat-list-inbox-conversations.js +8 -4
  293. package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -1
  294. package/esm/funcs/linkedin-chat-mark-all-read.d.ts +1 -1
  295. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -1
  296. package/esm/funcs/linkedin-chat-mark-all-read.js +3 -1
  297. package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -1
  298. package/esm/funcs/linkedin-chat-react.d.ts +1 -1
  299. package/esm/funcs/linkedin-chat-react.d.ts.map +1 -1
  300. package/esm/funcs/linkedin-chat-react.js +3 -1
  301. package/esm/funcs/linkedin-chat-react.js.map +1 -1
  302. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +1 -1
  303. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -1
  304. package/esm/funcs/linkedin-chat-send-typing-indicator.js +3 -1
  305. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -1
  306. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +2 -2
  307. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -1
  308. package/esm/funcs/linkedin-scrapers-collect-comments.js +4 -2
  309. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -1
  310. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +1 -1
  311. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -1
  312. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +3 -1
  313. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -1
  314. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +2 -2
  315. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -1
  316. package/esm/funcs/linkedin-scrapers-collect-likes.js +4 -2
  317. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -1
  318. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +1 -1
  319. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -1
  320. package/esm/funcs/linkedin-scrapers-list-saved-posts.js +3 -1
  321. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -1
  322. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +1 -1
  323. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -1
  324. package/esm/funcs/linkedin-scrapers-visit-company.js +3 -1
  325. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -1
  326. package/esm/funcs/linkedin-search-search-by-url.d.ts +1 -1
  327. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -1
  328. package/esm/funcs/linkedin-search-search-by-url.js +3 -1
  329. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -1
  330. package/esm/funcs/linkedin-search-search-jobs.d.ts +1 -1
  331. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -1
  332. package/esm/funcs/linkedin-search-search-jobs.js +3 -1
  333. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -1
  334. package/esm/funcs/linkedin-search-search-people.d.ts +1 -1
  335. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -1
  336. package/esm/funcs/linkedin-search-search-people.js +3 -1
  337. package/esm/funcs/linkedin-search-search-people.js.map +1 -1
  338. package/esm/funcs/linkedin-search-search-posts.d.ts +1 -1
  339. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -1
  340. package/esm/funcs/linkedin-search-search-posts.js +3 -1
  341. package/esm/funcs/linkedin-search-search-posts.js.map +1 -1
  342. package/esm/funcs/profile-get-follower-analytics.d.ts +1 -1
  343. package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -1
  344. package/esm/funcs/profile-get-follower-analytics.js +3 -1
  345. package/esm/funcs/profile-get-follower-analytics.js.map +1 -1
  346. package/esm/funcs/profile-get-followers.d.ts +1 -1
  347. package/esm/funcs/profile-get-followers.d.ts.map +1 -1
  348. package/esm/funcs/profile-get-followers.js +3 -1
  349. package/esm/funcs/profile-get-followers.js.map +1 -1
  350. package/esm/funcs/profile-get-linked-in-connections.d.ts +18 -0
  351. package/esm/funcs/profile-get-linked-in-connections.d.ts.map +1 -0
  352. package/esm/funcs/profile-get-linked-in-connections.js +101 -0
  353. package/esm/funcs/profile-get-linked-in-connections.js.map +1 -0
  354. package/esm/funcs/{profile-get-credits.d.ts → profile-get-my-credits.d.ts} +2 -2
  355. package/esm/funcs/profile-get-my-credits.d.ts.map +1 -0
  356. package/esm/funcs/{profile-get-credits.js → profile-get-my-credits.js} +6 -4
  357. package/esm/funcs/profile-get-my-credits.js.map +1 -0
  358. package/esm/funcs/{profile-get-limits.d.ts → profile-get-my-limits.d.ts} +2 -2
  359. package/esm/funcs/{profile-list-accounts.d.ts.map → profile-get-my-limits.d.ts.map} +1 -1
  360. package/esm/funcs/{profile-get-limits.js → profile-get-my-limits.js} +6 -4
  361. package/esm/funcs/profile-get-my-limits.js.map +1 -0
  362. package/esm/funcs/{profile-get.d.ts → profile-get-my-linked-in-profile.d.ts} +2 -2
  363. package/esm/funcs/profile-get-my-linked-in-profile.d.ts.map +1 -0
  364. package/esm/funcs/{profile-get.js → profile-get-my-linked-in-profile.js} +6 -4
  365. package/esm/funcs/profile-get-my-linked-in-profile.js.map +1 -0
  366. package/esm/funcs/profile-get-post-analytics.d.ts +2 -2
  367. package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -1
  368. package/esm/funcs/profile-get-post-analytics.js +4 -2
  369. package/esm/funcs/profile-get-post-analytics.js.map +1 -1
  370. package/esm/funcs/profile-get-posts.d.ts +1 -1
  371. package/esm/funcs/profile-get-posts.d.ts.map +1 -1
  372. package/esm/funcs/profile-get-posts.js +3 -1
  373. package/esm/funcs/profile-get-posts.js.map +1 -1
  374. package/esm/funcs/profile-get-profile-views.d.ts +1 -1
  375. package/esm/funcs/profile-get-profile-views.d.ts.map +1 -1
  376. package/esm/funcs/profile-get-profile-views.js +3 -1
  377. package/esm/funcs/profile-get-profile-views.js.map +1 -1
  378. package/esm/funcs/profile-get-search-appearances.d.ts +1 -1
  379. package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -1
  380. package/esm/funcs/profile-get-search-appearances.js +3 -1
  381. package/esm/funcs/profile-get-search-appearances.js.map +1 -1
  382. package/esm/funcs/{profile-list-accounts.d.ts → profile-list-linked-in-accounts.d.ts} +2 -2
  383. package/esm/funcs/profile-list-linked-in-accounts.d.ts.map +1 -0
  384. package/esm/funcs/{profile-list-accounts.js → profile-list-linked-in-accounts.js} +6 -4
  385. package/esm/funcs/profile-list-linked-in-accounts.js.map +1 -0
  386. package/esm/funcs/profile-refresh.d.ts +1 -1
  387. package/esm/funcs/profile-refresh.d.ts.map +1 -1
  388. package/esm/funcs/profile-refresh.js +3 -1
  389. package/esm/funcs/profile-refresh.js.map +1 -1
  390. package/esm/funcs/profile-switch-linked-in-account.d.ts +18 -0
  391. package/esm/funcs/profile-switch-linked-in-account.d.ts.map +1 -0
  392. package/esm/funcs/profile-switch-linked-in-account.js +97 -0
  393. package/esm/funcs/profile-switch-linked-in-account.js.map +1 -0
  394. package/esm/funcs/profile-update-account.d.ts +1 -1
  395. package/esm/funcs/profile-update-account.d.ts.map +1 -1
  396. package/esm/funcs/profile-update-account.js +3 -1
  397. package/esm/funcs/profile-update-account.js.map +1 -1
  398. package/esm/funcs/sales-nav-search-people.d.ts +1 -1
  399. package/esm/funcs/sales-nav-search-people.d.ts.map +1 -1
  400. package/esm/funcs/sales-nav-search-people.js +3 -1
  401. package/esm/funcs/sales-nav-search-people.js.map +1 -1
  402. package/esm/funcs/sales-navigator-search-search-companies.d.ts +1 -1
  403. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -1
  404. package/esm/funcs/sales-navigator-search-search-companies.js +3 -1
  405. package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -1
  406. package/esm/funcs/sales-navigator-search-search.d.ts +1 -1
  407. package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -1
  408. package/esm/funcs/sales-navigator-search-search.js +3 -1
  409. package/esm/funcs/sales-navigator-search-search.js.map +1 -1
  410. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts +18 -0
  411. package/esm/funcs/scheduled-messages-batch-schedule-messages.d.ts.map +1 -0
  412. package/esm/funcs/scheduled-messages-batch-schedule-messages.js +97 -0
  413. package/esm/funcs/scheduled-messages-batch-schedule-messages.js.map +1 -0
  414. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts +18 -0
  415. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.d.ts.map +1 -0
  416. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js +97 -0
  417. package/esm/funcs/scheduled-messages-cancel-scheduled-messages.js.map +1 -0
  418. package/esm/funcs/{chat-search-conversations.d.ts → scheduled-messages-create-scheduled-message.d.ts} +4 -4
  419. package/esm/funcs/scheduled-messages-create-scheduled-message.d.ts.map +1 -0
  420. package/esm/funcs/scheduled-messages-create-scheduled-message.js +97 -0
  421. package/esm/funcs/scheduled-messages-create-scheduled-message.js.map +1 -0
  422. package/esm/funcs/{linkedin-chat-list-archived.d.ts → scheduled-messages-list-scheduled-messages.d.ts} +4 -4
  423. package/esm/funcs/scheduled-messages-list-scheduled-messages.d.ts.map +1 -0
  424. package/esm/funcs/scheduled-messages-list-scheduled-messages.js +104 -0
  425. package/esm/funcs/scheduled-messages-list-scheduled-messages.js.map +1 -0
  426. package/esm/funcs/scrapers-collect-posts.d.ts +2 -2
  427. package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -1
  428. package/esm/funcs/scrapers-collect-posts.js +4 -2
  429. package/esm/funcs/scrapers-collect-posts.js.map +1 -1
  430. package/esm/funcs/scrapers-visit-profile.d.ts +4 -2
  431. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  432. package/esm/funcs/scrapers-visit-profile.js +6 -2
  433. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  434. package/esm/lib/config.d.ts +4 -4
  435. package/esm/lib/config.d.ts.map +1 -1
  436. package/esm/lib/config.js +7 -3
  437. package/esm/lib/config.js.map +1 -1
  438. package/esm/models/errors/collect-linked-in-likes.d.ts +46 -0
  439. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
  440. package/esm/models/errors/collect-linked-in-likes.js +66 -0
  441. package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
  442. package/esm/models/operations/index.d.ts +4 -4
  443. package/esm/models/operations/index.d.ts.map +1 -1
  444. package/esm/models/operations/index.js +4 -4
  445. package/esm/models/operations/index.js.map +1 -1
  446. package/esm/models/operations/{scraping-weekly.d.ts → refresh-my-linked-in-profile-type.d.ts} +405 -620
  447. package/esm/models/operations/refresh-my-linked-in-profile-type.d.ts.map +1 -0
  448. package/esm/models/operations/{scraping-weekly.js → refresh-my-linked-in-profile-type.js} +270 -302
  449. package/esm/models/operations/refresh-my-linked-in-profile-type.js.map +1 -0
  450. package/esm/models/operations/{search-linked-in-by-url-type-post.d.ts → search-linked-in-jobs-experience-level.d.ts} +305 -255
  451. package/esm/models/operations/search-linked-in-jobs-experience-level.d.ts.map +1 -0
  452. package/esm/models/operations/{search-linked-in-by-url-type-post.js → search-linked-in-jobs-experience-level.js} +211 -178
  453. package/esm/models/operations/search-linked-in-jobs-experience-level.js.map +1 -0
  454. package/esm/models/operations/{get-campaign-stats-response.d.ts → update-contact-outreach-status.d.ts} +1520 -386
  455. package/esm/models/operations/update-contact-outreach-status.d.ts.map +1 -0
  456. package/esm/models/operations/{get-campaign-stats-response.js → update-contact-outreach-status.js} +923 -249
  457. package/esm/models/operations/update-contact-outreach-status.js.map +1 -0
  458. package/esm/models/operations/update-cron-schedule-response.d.ts +1820 -0
  459. package/esm/models/operations/update-cron-schedule-response.d.ts.map +1 -0
  460. package/esm/models/operations/update-cron-schedule-response.js +1194 -0
  461. package/esm/models/operations/update-cron-schedule-response.js.map +1 -0
  462. package/esm/sdk/actions.d.ts +2 -2
  463. package/esm/sdk/actions.js +2 -2
  464. package/esm/sdk/campaigns.d.ts +1 -1
  465. package/esm/sdk/campaigns.d.ts.map +1 -1
  466. package/esm/sdk/campaigns.js +3 -3
  467. package/esm/sdk/campaigns.js.map +1 -1
  468. package/esm/sdk/chat.d.ts +1 -15
  469. package/esm/sdk/chat.d.ts.map +1 -1
  470. package/esm/sdk/chat.js +1 -18
  471. package/esm/sdk/chat.js.map +1 -1
  472. package/esm/sdk/contacts.d.ts +127 -1
  473. package/esm/sdk/contacts.d.ts.map +1 -1
  474. package/esm/sdk/contacts.js +181 -1
  475. package/esm/sdk/contacts.js.map +1 -1
  476. package/esm/sdk/context.d.ts +26 -0
  477. package/esm/sdk/context.d.ts.map +1 -0
  478. package/esm/sdk/context.js +38 -0
  479. package/esm/sdk/context.js.map +1 -0
  480. package/esm/sdk/cron.d.ts +19 -0
  481. package/esm/sdk/cron.d.ts.map +1 -0
  482. package/esm/sdk/cron.js +28 -0
  483. package/esm/sdk/cron.js.map +1 -0
  484. package/esm/sdk/linked-in-chat-2.d.ts +39 -7
  485. package/esm/sdk/linked-in-chat-2.d.ts.map +1 -1
  486. package/esm/sdk/linked-in-chat-2.js +54 -10
  487. package/esm/sdk/linked-in-chat-2.js.map +1 -1
  488. package/esm/sdk/linked-in-scrapers-2.d.ts +1 -1
  489. package/esm/sdk/linked-in-scrapers-2.js +1 -1
  490. package/esm/sdk/linked-in-search-1.d.ts +5 -2
  491. package/esm/sdk/linked-in-search-1.d.ts.map +1 -1
  492. package/esm/sdk/linked-in-search-1.js +7 -4
  493. package/esm/sdk/linked-in-search-1.js.map +1 -1
  494. package/esm/sdk/linkedin-actions-1.d.ts +1 -1
  495. package/esm/sdk/linkedin-actions-1.js +1 -1
  496. package/esm/sdk/linkedin-chat-1.d.ts +2 -27
  497. package/esm/sdk/linkedin-chat-1.d.ts.map +1 -1
  498. package/esm/sdk/linkedin-chat-1.js +1 -35
  499. package/esm/sdk/linkedin-chat-1.js.map +1 -1
  500. package/esm/sdk/linkedin-scrapers-1.d.ts +2 -2
  501. package/esm/sdk/linkedin-scrapers-1.js +2 -2
  502. package/esm/sdk/profile.d.ts +19 -5
  503. package/esm/sdk/profile.d.ts.map +1 -1
  504. package/esm/sdk/profile.js +33 -13
  505. package/esm/sdk/profile.js.map +1 -1
  506. package/esm/sdk/scheduled-messages.d.ts +33 -0
  507. package/esm/sdk/scheduled-messages.d.ts.map +1 -0
  508. package/esm/sdk/scheduled-messages.js +48 -0
  509. package/esm/sdk/scheduled-messages.js.map +1 -0
  510. package/esm/sdk/scrapers.d.ts +4 -2
  511. package/esm/sdk/scrapers.d.ts.map +1 -1
  512. package/esm/sdk/scrapers.js +4 -2
  513. package/esm/sdk/scrapers.js.map +1 -1
  514. package/esm/sdk/sdk.d.ts +11 -2
  515. package/esm/sdk/sdk.d.ts.map +1 -1
  516. package/esm/sdk/sdk.js +19 -4
  517. package/esm/sdk/sdk.js.map +1 -1
  518. package/jsr.json +1 -1
  519. package/package.json +2 -4
  520. package/src/funcs/actions-connect-profile.ts +11 -1
  521. package/src/funcs/actions-follow-company.ts +10 -0
  522. package/src/funcs/actions-list-sent-invitations.ts +10 -0
  523. package/src/funcs/actions-send-message.ts +11 -1
  524. package/src/funcs/campaigns-filter.ts +10 -0
  525. package/src/funcs/{campaigns-get-stats.ts → campaigns-get-campaign-stats.ts} +14 -5
  526. package/src/funcs/campaigns-get-status.ts +10 -0
  527. package/src/funcs/campaigns-sync.ts +10 -0
  528. package/src/funcs/chat-archive.ts +10 -0
  529. package/src/funcs/chat-find-conversation.ts +11 -8
  530. package/src/funcs/chat-unreact.ts +10 -0
  531. package/src/funcs/company-pages-get-analytics.ts +10 -0
  532. package/src/funcs/company-pages-get-permissions.ts +10 -0
  533. package/src/funcs/company-pages-get-posts.ts +10 -0
  534. package/src/funcs/company-pages-list.ts +10 -0
  535. package/src/funcs/contacts-add-campaign-contacts.ts +233 -0
  536. package/src/funcs/contacts-add-contact-activities.ts +231 -0
  537. package/src/funcs/contacts-bulk-update-contacts.ts +225 -0
  538. package/src/funcs/contacts-create-campaign.ts +224 -0
  539. package/src/funcs/contacts-delete-agent-state.ts +230 -0
  540. package/src/funcs/contacts-get-agent-state.ts +229 -0
  541. package/src/funcs/contacts-get-contact-by-url.ts +228 -0
  542. package/src/funcs/contacts-get-contact-stats.ts +232 -0
  543. package/src/funcs/contacts-get-contact.ts +229 -0
  544. package/src/funcs/contacts-list-agent-states.ts +205 -0
  545. package/src/funcs/contacts-list-campaign-contacts.ts +242 -0
  546. package/src/funcs/contacts-list-campaigns.ts +235 -0
  547. package/src/funcs/contacts-list-contact-activities.ts +237 -0
  548. package/src/funcs/contacts-patch-agent-state.ts +230 -0
  549. package/src/funcs/contacts-search-contacts.ts +244 -0
  550. package/src/funcs/contacts-set-agent-state.ts +230 -0
  551. package/src/funcs/contacts-update-campaign.ts +230 -0
  552. package/src/funcs/contacts-update-contact.ts +230 -0
  553. package/src/funcs/contacts-upsert.ts +66 -3
  554. package/src/funcs/context-delete-context.ts +229 -0
  555. package/src/funcs/context-list-context.ts +230 -0
  556. package/src/funcs/context-set-context.ts +224 -0
  557. package/src/funcs/cron-list-cron-schedules.ts +205 -0
  558. package/src/funcs/cron-update-cron-schedule.ts +231 -0
  559. package/src/funcs/linked-in-actions-create-comment.ts +10 -0
  560. package/src/funcs/linked-in-actions-decline-invitation.ts +10 -0
  561. package/src/funcs/linked-in-actions-like-comment.ts +10 -0
  562. package/src/funcs/linked-in-actions-publish-post.ts +10 -0
  563. package/src/funcs/linked-in-actions-save-post.ts +10 -0
  564. package/src/funcs/linked-in-actions-unfollow-profile.ts +10 -0
  565. package/src/funcs/{linkedin-chat-get-messages.ts → linked-in-chat-get-conversation-messages.ts} +22 -7
  566. package/src/funcs/{linkedin-chat-get-unread-count.ts → linked-in-chat-get-unread-count.ts} +12 -6
  567. package/src/funcs/{linkedin-chat-list-archived.ts → linked-in-chat-list-archived-conversations.ts} +20 -8
  568. package/src/funcs/{linked-in-chat-list-starred.ts → linked-in-chat-list-starred-conversations.ts} +20 -8
  569. package/src/funcs/linked-in-chat-mark-seen.ts +10 -0
  570. package/src/funcs/{chat-search-conversations.ts → linked-in-chat-search-linked-in-conversations.ts} +21 -6
  571. package/src/funcs/linked-in-chat-star.ts +10 -0
  572. package/src/funcs/linked-in-chat-unarchive.ts +10 -0
  573. package/src/funcs/linked-in-chat-unstar.ts +10 -0
  574. package/src/funcs/linked-in-scrapers-collect-comment-replies.ts +11 -1
  575. package/src/funcs/linked-in-scrapers-get-feed.ts +10 -0
  576. package/src/funcs/{linked-in-search-resolve-parameters.ts → linked-in-search-resolve-linked-in-search-parameters.ts} +25 -6
  577. package/src/funcs/linked-in-search-search-companies.ts +10 -0
  578. package/src/funcs/linked-in-search-search.ts +10 -0
  579. package/src/funcs/linkedin-actions-accept-invitation.ts +10 -0
  580. package/src/funcs/linkedin-actions-edit-comment.ts +10 -0
  581. package/src/funcs/linkedin-actions-edit-post.ts +10 -0
  582. package/src/funcs/linkedin-actions-follow-profile.ts +10 -0
  583. package/src/funcs/linkedin-actions-like-post.ts +10 -0
  584. package/src/funcs/linkedin-actions-list-invitations.ts +10 -0
  585. package/src/funcs/linkedin-actions-reply-to-comment.ts +10 -0
  586. package/src/funcs/linkedin-actions-repost-post.ts +11 -1
  587. package/src/funcs/linkedin-actions-unfollow-company.ts +10 -0
  588. package/src/funcs/linkedin-actions-unlike-comment.ts +10 -0
  589. package/src/funcs/linkedin-actions-unlike-post.ts +10 -0
  590. package/src/funcs/linkedin-actions-unsave-post.ts +10 -0
  591. package/src/funcs/linkedin-actions-withdraw-invitation.ts +10 -0
  592. package/src/funcs/linkedin-chat-list-inbox-conversations.ts +20 -5
  593. package/src/funcs/linkedin-chat-mark-all-read.ts +10 -0
  594. package/src/funcs/linkedin-chat-react.ts +10 -0
  595. package/src/funcs/linkedin-chat-send-typing-indicator.ts +10 -0
  596. package/src/funcs/linkedin-scrapers-collect-comments.ts +11 -1
  597. package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +10 -0
  598. package/src/funcs/linkedin-scrapers-collect-likes.ts +11 -1
  599. package/src/funcs/linkedin-scrapers-list-saved-posts.ts +10 -0
  600. package/src/funcs/linkedin-scrapers-visit-company.ts +10 -0
  601. package/src/funcs/linkedin-search-search-by-url.ts +10 -0
  602. package/src/funcs/linkedin-search-search-jobs.ts +10 -0
  603. package/src/funcs/linkedin-search-search-people.ts +10 -0
  604. package/src/funcs/linkedin-search-search-posts.ts +10 -0
  605. package/src/funcs/profile-get-follower-analytics.ts +10 -0
  606. package/src/funcs/profile-get-followers.ts +10 -0
  607. package/src/funcs/profile-get-linked-in-connections.ts +233 -0
  608. package/src/funcs/{profile-get-credits.ts → profile-get-my-credits.ts} +12 -2
  609. package/src/funcs/{profile-get-limits.ts → profile-get-my-limits.ts} +12 -2
  610. package/src/funcs/{profile-get.ts → profile-get-my-linked-in-profile.ts} +12 -2
  611. package/src/funcs/profile-get-post-analytics.ts +11 -1
  612. package/src/funcs/profile-get-posts.ts +10 -0
  613. package/src/funcs/profile-get-profile-views.ts +10 -0
  614. package/src/funcs/profile-get-search-appearances.ts +10 -0
  615. package/src/funcs/{profile-list-accounts.ts → profile-list-linked-in-accounts.ts} +12 -2
  616. package/src/funcs/profile-refresh.ts +10 -0
  617. package/src/funcs/profile-switch-linked-in-account.ts +225 -0
  618. package/src/funcs/profile-update-account.ts +10 -0
  619. package/src/funcs/sales-nav-search-people.ts +10 -0
  620. package/src/funcs/sales-navigator-search-search-companies.ts +10 -0
  621. package/src/funcs/sales-navigator-search-search.ts +10 -0
  622. package/src/funcs/scheduled-messages-batch-schedule-messages.ts +225 -0
  623. package/src/funcs/scheduled-messages-cancel-scheduled-messages.ts +225 -0
  624. package/src/funcs/scheduled-messages-create-scheduled-message.ts +225 -0
  625. package/src/funcs/scheduled-messages-list-scheduled-messages.ts +236 -0
  626. package/src/funcs/scrapers-collect-posts.ts +11 -1
  627. package/src/funcs/scrapers-visit-profile.ts +13 -1
  628. package/src/lib/config.ts +7 -3
  629. package/src/models/errors/collect-linked-in-likes.ts +108 -0
  630. package/src/models/operations/index.ts +4 -4
  631. package/src/models/operations/{scraping-weekly.ts → refresh-my-linked-in-profile-type.ts} +2106 -2363
  632. package/src/models/operations/{search-linked-in-by-url-type-post.ts → search-linked-in-jobs-experience-level.ts} +649 -536
  633. package/src/models/operations/{get-campaign-stats-response.ts → update-contact-outreach-status.ts} +3582 -1450
  634. package/src/models/operations/update-cron-schedule-response.ts +3771 -0
  635. package/src/sdk/actions.ts +2 -2
  636. package/src/sdk/campaigns.ts +3 -3
  637. package/src/sdk/chat.ts +1 -26
  638. package/src/sdk/contacts.ts +323 -1
  639. package/src/sdk/context.ts +63 -0
  640. package/src/sdk/cron.ts +43 -0
  641. package/src/sdk/linked-in-chat-2.ts +92 -18
  642. package/src/sdk/linked-in-scrapers-2.ts +1 -1
  643. package/src/sdk/linked-in-search-1.ts +7 -4
  644. package/src/sdk/linkedin-actions-1.ts +1 -1
  645. package/src/sdk/linkedin-chat-1.ts +2 -60
  646. package/src/sdk/linkedin-scrapers-1.ts +2 -2
  647. package/src/sdk/profile.ts +49 -13
  648. package/src/sdk/scheduled-messages.ts +81 -0
  649. package/src/sdk/scrapers.ts +4 -2
  650. package/src/sdk/sdk.ts +23 -5
  651. package/esm/funcs/campaigns-get-stats.js.map +0 -1
  652. package/esm/funcs/chat-search-conversations.js.map +0 -1
  653. package/esm/funcs/linked-in-chat-list-starred.d.ts +0 -18
  654. package/esm/funcs/linked-in-chat-list-starred.d.ts.map +0 -1
  655. package/esm/funcs/linked-in-chat-list-starred.js.map +0 -1
  656. package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +0 -1
  657. package/esm/funcs/linked-in-search-resolve-parameters.js.map +0 -1
  658. package/esm/funcs/linkedin-chat-get-messages.d.ts +0 -22
  659. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +0 -1
  660. package/esm/funcs/linkedin-chat-get-messages.js.map +0 -1
  661. package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +0 -1
  662. package/esm/funcs/linkedin-chat-get-unread-count.js.map +0 -1
  663. package/esm/funcs/linkedin-chat-list-archived.d.ts.map +0 -1
  664. package/esm/funcs/linkedin-chat-list-archived.js.map +0 -1
  665. package/esm/funcs/profile-get-credits.d.ts.map +0 -1
  666. package/esm/funcs/profile-get-credits.js.map +0 -1
  667. package/esm/funcs/profile-get-limits.d.ts.map +0 -1
  668. package/esm/funcs/profile-get-limits.js.map +0 -1
  669. package/esm/funcs/profile-get.d.ts.map +0 -1
  670. package/esm/funcs/profile-get.js.map +0 -1
  671. package/esm/funcs/profile-list-accounts.js.map +0 -1
  672. package/esm/models/operations/get-campaign-stats-response.d.ts.map +0 -1
  673. package/esm/models/operations/get-campaign-stats-response.js.map +0 -1
  674. package/esm/models/operations/scraping-weekly.d.ts.map +0 -1
  675. package/esm/models/operations/scraping-weekly.js.map +0 -1
  676. package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +0 -1
  677. package/esm/models/operations/search-linked-in-by-url-type-post.js.map +0 -1
  678. package/esm/models/operations/upsert-contacts.d.ts +0 -182
  679. package/esm/models/operations/upsert-contacts.d.ts.map +0 -1
  680. package/esm/models/operations/upsert-contacts.js +0 -116
  681. package/esm/models/operations/upsert-contacts.js.map +0 -1
  682. package/src/models/operations/upsert-contacts.ts +0 -305
@@ -0,0 +1,224 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { BereachCore } from "../core.js";
7
+ import { encodeJSON } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import { BereachError } from "../models/errors/bereach-error.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/http-client-errors.js";
22
+ import * as errors from "../models/errors/index.js";
23
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
24
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Create or update a context entry
31
+ *
32
+ * @remarks
33
+ * Save context (ICP, tone, playbook, user profile, etc.). 0 credits.
34
+ */
35
+ export function contextSetContext(
36
+ client: BereachCore,
37
+ request: operations.SetContextRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ operations.SetContextResponse,
42
+ | errors.BadRequestError
43
+ | errors.UnauthorizedError
44
+ | errors.ForbiddenError
45
+ | errors.NotFoundError
46
+ | errors.ConflictError
47
+ | errors.GoneError
48
+ | errors.UnprocessableEntityError
49
+ | errors.TooManyRequestsError
50
+ | errors.InternalServerError
51
+ | errors.BadGatewayError
52
+ | errors.ServiceUnavailableError
53
+ | BereachError
54
+ | ResponseValidationError
55
+ | ConnectionError
56
+ | RequestAbortedError
57
+ | RequestTimeoutError
58
+ | InvalidRequestError
59
+ | UnexpectedClientError
60
+ | SDKValidationError
61
+ >
62
+ > {
63
+ return new APIPromise($do(
64
+ client,
65
+ request,
66
+ options,
67
+ ));
68
+ }
69
+
70
+ async function $do(
71
+ client: BereachCore,
72
+ request: operations.SetContextRequest,
73
+ options?: RequestOptions,
74
+ ): Promise<
75
+ [
76
+ Result<
77
+ operations.SetContextResponse,
78
+ | errors.BadRequestError
79
+ | errors.UnauthorizedError
80
+ | errors.ForbiddenError
81
+ | errors.NotFoundError
82
+ | errors.ConflictError
83
+ | errors.GoneError
84
+ | errors.UnprocessableEntityError
85
+ | errors.TooManyRequestsError
86
+ | errors.InternalServerError
87
+ | errors.BadGatewayError
88
+ | errors.ServiceUnavailableError
89
+ | BereachError
90
+ | ResponseValidationError
91
+ | ConnectionError
92
+ | RequestAbortedError
93
+ | RequestTimeoutError
94
+ | InvalidRequestError
95
+ | UnexpectedClientError
96
+ | SDKValidationError
97
+ >,
98
+ APICall,
99
+ ]
100
+ > {
101
+ const parsed = safeParse(
102
+ request,
103
+ (value) => z.parse(operations.SetContextRequest$outboundSchema, value),
104
+ "Input validation failed",
105
+ );
106
+ if (!parsed.ok) {
107
+ return [parsed, { status: "invalid" }];
108
+ }
109
+ const payload = parsed.value;
110
+ const body = encodeJSON("body", payload, { explode: true });
111
+
112
+ const path = pathToFunc("/context")();
113
+
114
+ const headers = new Headers(compactMap({
115
+ "Content-Type": "application/json",
116
+ Accept: "application/json",
117
+ }));
118
+
119
+ const secConfig = await extractSecurity(client._options.token);
120
+ const securityInput = secConfig == null ? {} : { token: secConfig };
121
+ const requestSecurity = resolveGlobalSecurity(securityInput);
122
+
123
+ const context = {
124
+ options: client._options,
125
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
126
+ operationID: "setContext",
127
+ oAuth2Scopes: null,
128
+
129
+ resolvedSecurity: requestSecurity,
130
+
131
+ securitySource: client._options.token,
132
+ retryConfig: options?.retries
133
+ || client._options.retryConfig
134
+ || { strategy: "none" },
135
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
136
+ };
137
+
138
+ const requestRes = client._createRequest(context, {
139
+ security: requestSecurity,
140
+ method: "PUT",
141
+ baseURL: options?.serverURL,
142
+ path: path,
143
+ headers: headers,
144
+ body: body,
145
+ userAgent: client._options.userAgent,
146
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
147
+ }, options);
148
+ if (!requestRes.ok) {
149
+ return [requestRes, { status: "invalid" }];
150
+ }
151
+ const req = requestRes.value;
152
+
153
+ const doResult = await client._do(req, {
154
+ context,
155
+ errorCodes: [
156
+ "400",
157
+ "401",
158
+ "403",
159
+ "404",
160
+ "409",
161
+ "410",
162
+ "422",
163
+ "429",
164
+ "4XX",
165
+ "500",
166
+ "502",
167
+ "503",
168
+ "5XX",
169
+ ],
170
+ retryConfig: context.retryConfig,
171
+ retryCodes: context.retryCodes,
172
+ });
173
+ if (!doResult.ok) {
174
+ return [doResult, { status: "request-error", request: req }];
175
+ }
176
+ const response = doResult.value;
177
+
178
+ const responseFields = {
179
+ HttpMeta: { Response: response, Request: req },
180
+ };
181
+
182
+ const [result] = await M.match<
183
+ operations.SetContextResponse,
184
+ | errors.BadRequestError
185
+ | errors.UnauthorizedError
186
+ | errors.ForbiddenError
187
+ | errors.NotFoundError
188
+ | errors.ConflictError
189
+ | errors.GoneError
190
+ | errors.UnprocessableEntityError
191
+ | errors.TooManyRequestsError
192
+ | errors.InternalServerError
193
+ | errors.BadGatewayError
194
+ | errors.ServiceUnavailableError
195
+ | BereachError
196
+ | ResponseValidationError
197
+ | ConnectionError
198
+ | RequestAbortedError
199
+ | RequestTimeoutError
200
+ | InvalidRequestError
201
+ | UnexpectedClientError
202
+ | SDKValidationError
203
+ >(
204
+ M.json(200, operations.SetContextResponse$inboundSchema),
205
+ M.jsonErr(400, errors.BadRequestError$inboundSchema),
206
+ M.jsonErr(401, errors.UnauthorizedError$inboundSchema),
207
+ M.jsonErr(403, errors.ForbiddenError$inboundSchema),
208
+ M.jsonErr(404, errors.NotFoundError$inboundSchema),
209
+ M.jsonErr(409, errors.ConflictError$inboundSchema),
210
+ M.jsonErr(410, errors.GoneError$inboundSchema),
211
+ M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
212
+ M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
213
+ M.jsonErr(500, errors.InternalServerError$inboundSchema),
214
+ M.jsonErr(502, errors.BadGatewayError$inboundSchema),
215
+ M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
216
+ M.fail("4XX"),
217
+ M.fail("5XX"),
218
+ )(response, req, { extraFields: responseFields });
219
+ if (!result.ok) {
220
+ return [result, { status: "complete", request: req, response }];
221
+ }
222
+
223
+ return [result, { status: "complete", request: req, response }];
224
+ }
@@ -0,0 +1,205 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { BereachCore } from "../core.js";
6
+ import * as M from "../lib/matchers.js";
7
+ import { compactMap } from "../lib/primitives.js";
8
+ import { RequestOptions } from "../lib/sdks.js";
9
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
10
+ import { pathToFunc } from "../lib/url.js";
11
+ import { BereachError } from "../models/errors/bereach-error.js";
12
+ import {
13
+ ConnectionError,
14
+ InvalidRequestError,
15
+ RequestAbortedError,
16
+ RequestTimeoutError,
17
+ UnexpectedClientError,
18
+ } from "../models/errors/http-client-errors.js";
19
+ import * as errors from "../models/errors/index.js";
20
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
21
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
22
+ import * as operations from "../models/operations/index.js";
23
+ import { APICall, APIPromise } from "../types/async.js";
24
+ import { Result } from "../types/fp.js";
25
+
26
+ /**
27
+ * List active cron schedules
28
+ *
29
+ * @remarks
30
+ * List all cron schedules (DM polling, connection polling, draft send) with status. 0 credits.
31
+ */
32
+ export function cronListCronSchedules(
33
+ client: BereachCore,
34
+ options?: RequestOptions,
35
+ ): APIPromise<
36
+ Result<
37
+ operations.ListCronSchedulesResponse,
38
+ | errors.BadRequestError
39
+ | errors.UnauthorizedError
40
+ | errors.ForbiddenError
41
+ | errors.NotFoundError
42
+ | errors.ConflictError
43
+ | errors.GoneError
44
+ | errors.UnprocessableEntityError
45
+ | errors.TooManyRequestsError
46
+ | errors.InternalServerError
47
+ | errors.BadGatewayError
48
+ | errors.ServiceUnavailableError
49
+ | BereachError
50
+ | ResponseValidationError
51
+ | ConnectionError
52
+ | RequestAbortedError
53
+ | RequestTimeoutError
54
+ | InvalidRequestError
55
+ | UnexpectedClientError
56
+ | SDKValidationError
57
+ >
58
+ > {
59
+ return new APIPromise($do(
60
+ client,
61
+ options,
62
+ ));
63
+ }
64
+
65
+ async function $do(
66
+ client: BereachCore,
67
+ options?: RequestOptions,
68
+ ): Promise<
69
+ [
70
+ Result<
71
+ operations.ListCronSchedulesResponse,
72
+ | errors.BadRequestError
73
+ | errors.UnauthorizedError
74
+ | errors.ForbiddenError
75
+ | errors.NotFoundError
76
+ | errors.ConflictError
77
+ | errors.GoneError
78
+ | errors.UnprocessableEntityError
79
+ | errors.TooManyRequestsError
80
+ | errors.InternalServerError
81
+ | errors.BadGatewayError
82
+ | errors.ServiceUnavailableError
83
+ | BereachError
84
+ | ResponseValidationError
85
+ | ConnectionError
86
+ | RequestAbortedError
87
+ | RequestTimeoutError
88
+ | InvalidRequestError
89
+ | UnexpectedClientError
90
+ | SDKValidationError
91
+ >,
92
+ APICall,
93
+ ]
94
+ > {
95
+ const path = pathToFunc("/cron/schedules")();
96
+
97
+ const headers = new Headers(compactMap({
98
+ Accept: "application/json",
99
+ }));
100
+
101
+ const secConfig = await extractSecurity(client._options.token);
102
+ const securityInput = secConfig == null ? {} : { token: secConfig };
103
+ const requestSecurity = resolveGlobalSecurity(securityInput);
104
+
105
+ const context = {
106
+ options: client._options,
107
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
108
+ operationID: "listCronSchedules",
109
+ oAuth2Scopes: null,
110
+
111
+ resolvedSecurity: requestSecurity,
112
+
113
+ securitySource: client._options.token,
114
+ retryConfig: options?.retries
115
+ || client._options.retryConfig
116
+ || { strategy: "none" },
117
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
118
+ };
119
+
120
+ const requestRes = client._createRequest(context, {
121
+ security: requestSecurity,
122
+ method: "GET",
123
+ baseURL: options?.serverURL,
124
+ path: path,
125
+ headers: headers,
126
+ userAgent: client._options.userAgent,
127
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
128
+ }, options);
129
+ if (!requestRes.ok) {
130
+ return [requestRes, { status: "invalid" }];
131
+ }
132
+ const req = requestRes.value;
133
+
134
+ const doResult = await client._do(req, {
135
+ context,
136
+ errorCodes: [
137
+ "400",
138
+ "401",
139
+ "403",
140
+ "404",
141
+ "409",
142
+ "410",
143
+ "422",
144
+ "429",
145
+ "4XX",
146
+ "500",
147
+ "502",
148
+ "503",
149
+ "5XX",
150
+ ],
151
+ retryConfig: context.retryConfig,
152
+ retryCodes: context.retryCodes,
153
+ });
154
+ if (!doResult.ok) {
155
+ return [doResult, { status: "request-error", request: req }];
156
+ }
157
+ const response = doResult.value;
158
+
159
+ const responseFields = {
160
+ HttpMeta: { Response: response, Request: req },
161
+ };
162
+
163
+ const [result] = await M.match<
164
+ operations.ListCronSchedulesResponse,
165
+ | errors.BadRequestError
166
+ | errors.UnauthorizedError
167
+ | errors.ForbiddenError
168
+ | errors.NotFoundError
169
+ | errors.ConflictError
170
+ | errors.GoneError
171
+ | errors.UnprocessableEntityError
172
+ | errors.TooManyRequestsError
173
+ | errors.InternalServerError
174
+ | errors.BadGatewayError
175
+ | errors.ServiceUnavailableError
176
+ | BereachError
177
+ | ResponseValidationError
178
+ | ConnectionError
179
+ | RequestAbortedError
180
+ | RequestTimeoutError
181
+ | InvalidRequestError
182
+ | UnexpectedClientError
183
+ | SDKValidationError
184
+ >(
185
+ M.json(200, operations.ListCronSchedulesResponse$inboundSchema),
186
+ M.jsonErr(400, errors.BadRequestError$inboundSchema),
187
+ M.jsonErr(401, errors.UnauthorizedError$inboundSchema),
188
+ M.jsonErr(403, errors.ForbiddenError$inboundSchema),
189
+ M.jsonErr(404, errors.NotFoundError$inboundSchema),
190
+ M.jsonErr(409, errors.ConflictError$inboundSchema),
191
+ M.jsonErr(410, errors.GoneError$inboundSchema),
192
+ M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
193
+ M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
194
+ M.jsonErr(500, errors.InternalServerError$inboundSchema),
195
+ M.jsonErr(502, errors.BadGatewayError$inboundSchema),
196
+ M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
197
+ M.fail("4XX"),
198
+ M.fail("5XX"),
199
+ )(response, req, { extraFields: responseFields });
200
+ if (!result.ok) {
201
+ return [result, { status: "complete", request: req, response }];
202
+ }
203
+
204
+ return [result, { status: "complete", request: req, response }];
205
+ }
@@ -0,0 +1,231 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v4-mini";
6
+ import { BereachCore } from "../core.js";
7
+ import { encodeJSON, encodeSimple } from "../lib/encodings.js";
8
+ import * as M from "../lib/matchers.js";
9
+ import { compactMap } from "../lib/primitives.js";
10
+ import { safeParse } from "../lib/schemas.js";
11
+ import { RequestOptions } from "../lib/sdks.js";
12
+ import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
13
+ import { pathToFunc } from "../lib/url.js";
14
+ import { BereachError } from "../models/errors/bereach-error.js";
15
+ import {
16
+ ConnectionError,
17
+ InvalidRequestError,
18
+ RequestAbortedError,
19
+ RequestTimeoutError,
20
+ UnexpectedClientError,
21
+ } from "../models/errors/http-client-errors.js";
22
+ import * as errors from "../models/errors/index.js";
23
+ import { ResponseValidationError } from "../models/errors/response-validation-error.js";
24
+ import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
25
+ import * as operations from "../models/operations/index.js";
26
+ import { APICall, APIPromise } from "../types/async.js";
27
+ import { Result } from "../types/fp.js";
28
+
29
+ /**
30
+ * Pause, resume, or delete a cron schedule
31
+ *
32
+ * @remarks
33
+ * Control a cron schedule. 0 credits.
34
+ */
35
+ export function cronUpdateCronSchedule(
36
+ client: BereachCore,
37
+ request: operations.UpdateCronScheduleRequest,
38
+ options?: RequestOptions,
39
+ ): APIPromise<
40
+ Result<
41
+ operations.UpdateCronScheduleResponse,
42
+ | errors.BadRequestError
43
+ | errors.UnauthorizedError
44
+ | errors.ForbiddenError
45
+ | errors.NotFoundError
46
+ | errors.ConflictError
47
+ | errors.GoneError
48
+ | errors.UnprocessableEntityError
49
+ | errors.TooManyRequestsError
50
+ | errors.InternalServerError
51
+ | errors.BadGatewayError
52
+ | errors.ServiceUnavailableError
53
+ | BereachError
54
+ | ResponseValidationError
55
+ | ConnectionError
56
+ | RequestAbortedError
57
+ | RequestTimeoutError
58
+ | InvalidRequestError
59
+ | UnexpectedClientError
60
+ | SDKValidationError
61
+ >
62
+ > {
63
+ return new APIPromise($do(
64
+ client,
65
+ request,
66
+ options,
67
+ ));
68
+ }
69
+
70
+ async function $do(
71
+ client: BereachCore,
72
+ request: operations.UpdateCronScheduleRequest,
73
+ options?: RequestOptions,
74
+ ): Promise<
75
+ [
76
+ Result<
77
+ operations.UpdateCronScheduleResponse,
78
+ | errors.BadRequestError
79
+ | errors.UnauthorizedError
80
+ | errors.ForbiddenError
81
+ | errors.NotFoundError
82
+ | errors.ConflictError
83
+ | errors.GoneError
84
+ | errors.UnprocessableEntityError
85
+ | errors.TooManyRequestsError
86
+ | errors.InternalServerError
87
+ | errors.BadGatewayError
88
+ | errors.ServiceUnavailableError
89
+ | BereachError
90
+ | ResponseValidationError
91
+ | ConnectionError
92
+ | RequestAbortedError
93
+ | RequestTimeoutError
94
+ | InvalidRequestError
95
+ | UnexpectedClientError
96
+ | SDKValidationError
97
+ >,
98
+ APICall,
99
+ ]
100
+ > {
101
+ const parsed = safeParse(
102
+ request,
103
+ (value) =>
104
+ z.parse(operations.UpdateCronScheduleRequest$outboundSchema, value),
105
+ "Input validation failed",
106
+ );
107
+ if (!parsed.ok) {
108
+ return [parsed, { status: "invalid" }];
109
+ }
110
+ const payload = parsed.value;
111
+ const body = encodeJSON("body", payload.body, { explode: true });
112
+
113
+ const pathParams = {
114
+ scheduleId: encodeSimple("scheduleId", payload.scheduleId, {
115
+ explode: false,
116
+ charEncoding: "percent",
117
+ }),
118
+ };
119
+ const path = pathToFunc("/cron/schedules/{scheduleId}")(pathParams);
120
+
121
+ const headers = new Headers(compactMap({
122
+ "Content-Type": "application/json",
123
+ Accept: "application/json",
124
+ }));
125
+
126
+ const secConfig = await extractSecurity(client._options.token);
127
+ const securityInput = secConfig == null ? {} : { token: secConfig };
128
+ const requestSecurity = resolveGlobalSecurity(securityInput);
129
+
130
+ const context = {
131
+ options: client._options,
132
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
133
+ operationID: "updateCronSchedule",
134
+ oAuth2Scopes: null,
135
+
136
+ resolvedSecurity: requestSecurity,
137
+
138
+ securitySource: client._options.token,
139
+ retryConfig: options?.retries
140
+ || client._options.retryConfig
141
+ || { strategy: "none" },
142
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
143
+ };
144
+
145
+ const requestRes = client._createRequest(context, {
146
+ security: requestSecurity,
147
+ method: "PATCH",
148
+ baseURL: options?.serverURL,
149
+ path: path,
150
+ headers: headers,
151
+ body: body,
152
+ userAgent: client._options.userAgent,
153
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
154
+ }, options);
155
+ if (!requestRes.ok) {
156
+ return [requestRes, { status: "invalid" }];
157
+ }
158
+ const req = requestRes.value;
159
+
160
+ const doResult = await client._do(req, {
161
+ context,
162
+ errorCodes: [
163
+ "400",
164
+ "401",
165
+ "403",
166
+ "404",
167
+ "409",
168
+ "410",
169
+ "422",
170
+ "429",
171
+ "4XX",
172
+ "500",
173
+ "502",
174
+ "503",
175
+ "5XX",
176
+ ],
177
+ retryConfig: context.retryConfig,
178
+ retryCodes: context.retryCodes,
179
+ });
180
+ if (!doResult.ok) {
181
+ return [doResult, { status: "request-error", request: req }];
182
+ }
183
+ const response = doResult.value;
184
+
185
+ const responseFields = {
186
+ HttpMeta: { Response: response, Request: req },
187
+ };
188
+
189
+ const [result] = await M.match<
190
+ operations.UpdateCronScheduleResponse,
191
+ | errors.BadRequestError
192
+ | errors.UnauthorizedError
193
+ | errors.ForbiddenError
194
+ | errors.NotFoundError
195
+ | errors.ConflictError
196
+ | errors.GoneError
197
+ | errors.UnprocessableEntityError
198
+ | errors.TooManyRequestsError
199
+ | errors.InternalServerError
200
+ | errors.BadGatewayError
201
+ | errors.ServiceUnavailableError
202
+ | BereachError
203
+ | ResponseValidationError
204
+ | ConnectionError
205
+ | RequestAbortedError
206
+ | RequestTimeoutError
207
+ | InvalidRequestError
208
+ | UnexpectedClientError
209
+ | SDKValidationError
210
+ >(
211
+ M.json(200, operations.UpdateCronScheduleResponse$inboundSchema),
212
+ M.jsonErr(400, errors.BadRequestError$inboundSchema),
213
+ M.jsonErr(401, errors.UnauthorizedError$inboundSchema),
214
+ M.jsonErr(403, errors.ForbiddenError$inboundSchema),
215
+ M.jsonErr(404, errors.NotFoundError$inboundSchema),
216
+ M.jsonErr(409, errors.ConflictError$inboundSchema),
217
+ M.jsonErr(410, errors.GoneError$inboundSchema),
218
+ M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
219
+ M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
220
+ M.jsonErr(500, errors.InternalServerError$inboundSchema),
221
+ M.jsonErr(502, errors.BadGatewayError$inboundSchema),
222
+ M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
223
+ M.fail("4XX"),
224
+ M.fail("5XX"),
225
+ )(response, req, { extraFields: responseFields });
226
+ if (!result.ok) {
227
+ return [result, { status: "complete", request: req, response }];
228
+ }
229
+
230
+ return [result, { status: "complete", request: req, response }];
231
+ }
@@ -48,6 +48,8 @@ export function linkedInActionsCreateComment(
48
48
  | errors.UnprocessableEntityError
49
49
  | errors.TooManyRequestsError
50
50
  | errors.InternalServerError
51
+ | errors.BadGatewayError
52
+ | errors.ServiceUnavailableError
51
53
  | BereachError
52
54
  | ResponseValidationError
53
55
  | ConnectionError
@@ -82,6 +84,8 @@ async function $do(
82
84
  | errors.UnprocessableEntityError
83
85
  | errors.TooManyRequestsError
84
86
  | errors.InternalServerError
87
+ | errors.BadGatewayError
88
+ | errors.ServiceUnavailableError
85
89
  | BereachError
86
90
  | ResponseValidationError
87
91
  | ConnectionError
@@ -160,6 +164,8 @@ async function $do(
160
164
  "429",
161
165
  "4XX",
162
166
  "500",
167
+ "502",
168
+ "503",
163
169
  "5XX",
164
170
  ],
165
171
  retryConfig: context.retryConfig,
@@ -185,6 +191,8 @@ async function $do(
185
191
  | errors.UnprocessableEntityError
186
192
  | errors.TooManyRequestsError
187
193
  | errors.InternalServerError
194
+ | errors.BadGatewayError
195
+ | errors.ServiceUnavailableError
188
196
  | BereachError
189
197
  | ResponseValidationError
190
198
  | ConnectionError
@@ -204,6 +212,8 @@ async function $do(
204
212
  M.jsonErr(422, errors.UnprocessableEntityError$inboundSchema),
205
213
  M.jsonErr(429, errors.TooManyRequestsError$inboundSchema),
206
214
  M.jsonErr(500, errors.InternalServerError$inboundSchema),
215
+ M.jsonErr(502, errors.BadGatewayError$inboundSchema),
216
+ M.jsonErr(503, errors.ServiceUnavailableError$inboundSchema),
207
217
  M.fail("4XX"),
208
218
  M.fail("5XX"),
209
219
  )(response, req, { extraFields: responseFields });