bereach 1.4.0 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +101 -128
  3. package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
  4. package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
  5. package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
  6. package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
  7. package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
  8. package/esm/funcs/actions-create-comment.d.ts.map +1 -0
  9. package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
  10. package/esm/funcs/actions-create-comment.js.map +1 -0
  11. package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
  12. package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
  13. package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
  14. package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
  15. package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
  16. package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
  17. package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
  18. package/esm/funcs/actions-edit-comment.js.map +1 -0
  19. package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
  20. package/esm/funcs/actions-edit-post.d.ts.map +1 -0
  21. package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
  22. package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
  23. package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
  24. package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
  25. package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
  26. package/esm/funcs/actions-follow-profile.js.map +1 -0
  27. package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
  28. package/esm/funcs/actions-like-comment.d.ts.map +1 -0
  29. package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
  30. package/esm/funcs/actions-like-comment.js.map +1 -0
  31. package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
  32. package/esm/funcs/actions-like-post.d.ts.map +1 -0
  33. package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
  34. package/esm/funcs/actions-like-post.js.map +1 -0
  35. package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
  36. package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
  37. package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
  38. package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
  39. package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
  40. package/esm/funcs/actions-publish-post.d.ts.map +1 -0
  41. package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
  42. package/esm/funcs/actions-publish-post.js.map +1 -0
  43. package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
  44. package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
  45. package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
  46. package/esm/funcs/actions-reply-to-comment.js.map +1 -0
  47. package/esm/funcs/actions-repost-post.d.ts +18 -0
  48. package/esm/funcs/actions-repost-post.d.ts.map +1 -0
  49. package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
  50. package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
  51. package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
  52. package/esm/funcs/actions-save-post.d.ts.map +1 -0
  53. package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
  54. package/esm/funcs/actions-save-post.js.map +1 -0
  55. package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
  56. package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
  57. package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
  58. package/esm/funcs/actions-unfollow-company.js.map +1 -0
  59. package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
  60. package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
  61. package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
  62. package/esm/funcs/actions-unfollow-profile.js.map +1 -0
  63. package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
  64. package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
  65. package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
  66. package/esm/funcs/actions-unlike-comment.js.map +1 -0
  67. package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
  68. package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
  69. package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
  70. package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
  71. package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
  72. package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
  73. package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
  74. package/esm/funcs/actions-unsave-post.js.map +1 -0
  75. package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
  76. package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
  77. package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
  78. package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
  79. package/esm/funcs/chat-list-inbox.d.ts +18 -0
  80. package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
  81. package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
  82. package/esm/funcs/chat-list-inbox.js.map +1 -0
  83. package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
  84. package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
  85. package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
  86. package/esm/funcs/chat-mark-all-read.js.map +1 -0
  87. package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
  88. package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
  89. package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
  90. package/esm/funcs/chat-mark-seen.js.map +1 -0
  91. package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
  92. package/esm/funcs/chat-react.d.ts.map +1 -0
  93. package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
  94. package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
  95. package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
  96. package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
  97. package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
  98. package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
  99. package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
  100. package/esm/funcs/chat-star.d.ts.map +1 -0
  101. package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
  102. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
  103. package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
  104. package/esm/funcs/chat-unarchive.d.ts.map +1 -0
  105. package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
  106. package/esm/funcs/chat-unarchive.js.map +1 -0
  107. package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
  108. package/esm/funcs/chat-unstar.d.ts.map +1 -0
  109. package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
  110. package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
  111. package/esm/funcs/company-pages-posts.d.ts +18 -0
  112. package/esm/funcs/company-pages-posts.d.ts.map +1 -0
  113. package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
  114. package/esm/funcs/company-pages-posts.js.map +1 -0
  115. package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
  116. package/esm/funcs/profile-posts.d.ts.map +1 -0
  117. package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
  118. package/esm/funcs/profile-posts.js.map +1 -0
  119. package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
  120. package/esm/funcs/profile-views.d.ts.map +1 -0
  121. package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
  122. package/esm/funcs/profile-views.js.map +1 -0
  123. package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
  124. package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
  125. package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
  126. package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
  127. package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
  128. package/esm/funcs/sales-nav-people.d.ts.map +1 -0
  129. package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
  130. package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
  131. package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
  132. package/esm/funcs/sales-nav-search.d.ts.map +1 -0
  133. package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
  134. package/esm/funcs/sales-nav-search.js.map +1 -0
  135. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
  136. package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
  137. package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
  138. package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
  139. package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
  140. package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
  141. package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
  142. package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
  143. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
  144. package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
  145. package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
  146. package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
  147. package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
  148. package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
  149. package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
  150. package/esm/funcs/scrapers-collect-likes.js.map +1 -0
  151. package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
  152. package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
  153. package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
  154. package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
  155. package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
  156. package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
  157. package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
  158. package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
  159. package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
  160. package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
  161. package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
  162. package/esm/funcs/scrapers-visit-company.js.map +1 -0
  163. package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
  164. package/esm/funcs/search-by-url.d.ts.map +1 -0
  165. package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
  166. package/esm/funcs/search-by-url.js.map +1 -0
  167. package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
  168. package/esm/funcs/search-companies.d.ts.map +1 -0
  169. package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
  170. package/esm/funcs/search-companies.js.map +1 -0
  171. package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
  172. package/esm/funcs/search-jobs.d.ts.map +1 -0
  173. package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
  174. package/esm/funcs/search-jobs.js.map +1 -0
  175. package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
  176. package/esm/funcs/search-people.d.ts.map +1 -0
  177. package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
  178. package/esm/funcs/search-people.js.map +1 -0
  179. package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
  180. package/esm/funcs/search-posts.d.ts.map +1 -0
  181. package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
  182. package/esm/funcs/search-posts.js.map +1 -0
  183. package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
  184. package/esm/funcs/search-search.d.ts.map +1 -0
  185. package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
  186. package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
  187. package/esm/lib/config.d.ts +2 -2
  188. package/esm/lib/config.js +2 -2
  189. package/esm/models/operations/index.d.ts +1 -1
  190. package/esm/models/operations/index.d.ts.map +1 -1
  191. package/esm/models/operations/index.js +1 -1
  192. package/esm/models/operations/index.js.map +1 -1
  193. package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +890 -890
  194. package/esm/models/operations/search-companies-response.d.ts.map +1 -0
  195. package/esm/models/operations/{search-people-response.js → search-companies-response.js} +611 -604
  196. package/esm/models/operations/search-companies-response.js.map +1 -0
  197. package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
  198. package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
  199. package/esm/models/operations/search-contacts-campaign.js +102 -102
  200. package/esm/models/operations/search-contacts-campaign.js.map +1 -1
  201. package/esm/models/operations/update-account-response.d.ts +634 -634
  202. package/esm/models/operations/update-account-response.d.ts.map +1 -1
  203. package/esm/models/operations/update-account-response.js +307 -307
  204. package/esm/models/operations/update-account-response.js.map +1 -1
  205. package/esm/models/operations/update-schedule-response.d.ts +111 -61
  206. package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
  207. package/esm/models/operations/update-schedule-response.js +37 -32
  208. package/esm/models/operations/update-schedule-response.js.map +1 -1
  209. package/esm/sdk/actions.d.ts +133 -0
  210. package/esm/sdk/actions.d.ts.map +1 -1
  211. package/esm/sdk/actions.js +190 -0
  212. package/esm/sdk/actions.js.map +1 -1
  213. package/esm/sdk/chat.d.ts +56 -0
  214. package/esm/sdk/chat.d.ts.map +1 -1
  215. package/esm/sdk/chat.js +80 -0
  216. package/esm/sdk/chat.js.map +1 -1
  217. package/esm/sdk/company-pages.d.ts +1 -1
  218. package/esm/sdk/company-pages.d.ts.map +1 -1
  219. package/esm/sdk/company-pages.js +3 -3
  220. package/esm/sdk/company-pages.js.map +1 -1
  221. package/esm/sdk/contacts.d.ts +12 -12
  222. package/esm/sdk/contacts.d.ts.map +1 -1
  223. package/esm/sdk/contacts.js +16 -16
  224. package/esm/sdk/contacts.js.map +1 -1
  225. package/esm/sdk/profile.d.ts +2 -2
  226. package/esm/sdk/profile.d.ts.map +1 -1
  227. package/esm/sdk/profile.js +6 -6
  228. package/esm/sdk/profile.js.map +1 -1
  229. package/esm/sdk/sales-nav.d.ts +51 -1
  230. package/esm/sdk/sales-nav.d.ts.map +1 -1
  231. package/esm/sdk/sales-nav.js +59 -3
  232. package/esm/sdk/sales-nav.js.map +1 -1
  233. package/esm/sdk/scrapers.d.ts +49 -0
  234. package/esm/sdk/scrapers.d.ts.map +1 -1
  235. package/esm/sdk/scrapers.js +70 -0
  236. package/esm/sdk/scrapers.js.map +1 -1
  237. package/esm/sdk/sdk.d.ts +0 -27
  238. package/esm/sdk/sdk.d.ts.map +1 -1
  239. package/esm/sdk/sdk.js +0 -45
  240. package/esm/sdk/sdk.js.map +1 -1
  241. package/esm/sdk/search.d.ts +383 -0
  242. package/esm/sdk/search.d.ts.map +1 -1
  243. package/esm/sdk/search.js +401 -0
  244. package/esm/sdk/search.js.map +1 -1
  245. package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
  246. package/jsr.json +1 -1
  247. package/package.json +1 -1
  248. package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
  249. package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
  250. package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
  251. package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
  252. package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
  253. package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
  254. package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
  255. package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
  256. package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
  257. package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
  258. package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
  259. package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
  260. package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
  261. package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
  262. package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
  263. package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
  264. package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
  265. package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
  266. package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
  267. package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
  268. package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
  269. package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
  270. package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
  271. package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
  272. package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
  273. package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
  274. package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
  275. package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
  276. package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
  277. package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
  278. package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
  279. package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
  280. package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
  281. package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
  282. package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
  283. package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
  284. package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
  285. package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
  286. package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
  287. package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
  288. package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
  289. package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
  290. package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
  291. package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
  292. package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
  293. package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
  294. package/src/lib/config.ts +2 -2
  295. package/src/models/operations/index.ts +1 -1
  296. package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
  297. package/src/models/operations/search-contacts-campaign.ts +366 -366
  298. package/src/models/operations/update-account-response.ts +1147 -1147
  299. package/src/models/operations/update-schedule-response.ts +180 -125
  300. package/src/sdk/actions.ts +342 -0
  301. package/src/sdk/chat.ts +144 -0
  302. package/src/sdk/company-pages.ts +3 -3
  303. package/src/sdk/contacts.ts +24 -24
  304. package/src/sdk/profile.ts +6 -6
  305. package/src/sdk/sales-nav.ts +75 -3
  306. package/src/sdk/scrapers.ts +126 -0
  307. package/src/sdk/sdk.ts +0 -56
  308. package/src/sdk/search.ts +449 -0
  309. package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
  310. package/esm/funcs/company-pages-get-posts.js.map +0 -1
  311. package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
  312. package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
  313. package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
  314. package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
  315. package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
  316. package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
  317. package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
  318. package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
  319. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
  320. package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
  321. package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
  322. package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
  323. package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
  324. package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
  325. package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
  326. package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
  327. package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
  328. package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
  329. package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
  330. package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
  331. package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
  332. package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
  333. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
  334. package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
  335. package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
  336. package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
  337. package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
  338. package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
  339. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
  340. package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
  341. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
  342. package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
  343. package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
  344. package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
  345. package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
  346. package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
  347. package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
  348. package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
  349. package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
  350. package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
  351. package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
  352. package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
  353. package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
  354. package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
  355. package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
  356. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
  357. package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
  358. package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
  359. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
  360. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
  361. package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
  362. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
  363. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
  364. package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
  365. package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
  366. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
  367. package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
  368. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
  369. package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
  370. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
  371. package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
  372. package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
  373. package/esm/funcs/linkedin-search-search-people.js.map +0 -1
  374. package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
  375. package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
  376. package/esm/funcs/profile-get-posts.d.ts +0 -18
  377. package/esm/funcs/profile-get-posts.d.ts.map +0 -1
  378. package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
  379. package/esm/funcs/profile-get-profile-views.js.map +0 -1
  380. package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
  381. package/esm/funcs/sales-nav-search-people.js.map +0 -1
  382. package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
  383. package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
  384. package/esm/models/operations/search-people-response.d.ts.map +0 -1
  385. package/esm/models/operations/search-people-response.js.map +0 -1
  386. package/esm/sdk/linked-in-actions-2.d.ts +0 -47
  387. package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
  388. package/esm/sdk/linked-in-actions-2.js +0 -68
  389. package/esm/sdk/linked-in-actions-2.js.map +0 -1
  390. package/esm/sdk/linked-in-chat-2.d.ts +0 -33
  391. package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
  392. package/esm/sdk/linked-in-chat-2.js +0 -48
  393. package/esm/sdk/linked-in-chat-2.js.map +0 -1
  394. package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
  395. package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
  396. package/esm/sdk/linked-in-scrapers-2.js +0 -28
  397. package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
  398. package/esm/sdk/linked-in-search-1.d.ts +0 -113
  399. package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
  400. package/esm/sdk/linked-in-search-1.js +0 -122
  401. package/esm/sdk/linked-in-search-1.js.map +0 -1
  402. package/esm/sdk/linkedin-actions-1.d.ts +0 -96
  403. package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
  404. package/esm/sdk/linkedin-actions-1.js +0 -138
  405. package/esm/sdk/linkedin-actions-1.js.map +0 -1
  406. package/esm/sdk/linkedin-chat-1.d.ts +0 -33
  407. package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
  408. package/esm/sdk/linkedin-chat-1.js +0 -48
  409. package/esm/sdk/linkedin-chat-1.js.map +0 -1
  410. package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
  411. package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
  412. package/esm/sdk/linkedin-scrapers-1.js +0 -58
  413. package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
  414. package/esm/sdk/linkedin-search-2.d.ts +0 -280
  415. package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
  416. package/esm/sdk/linkedin-search-2.js +0 -295
  417. package/esm/sdk/linkedin-search-2.js.map +0 -1
  418. package/esm/sdk/sales-navigator-search.d.ts +0 -55
  419. package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
  420. package/esm/sdk/sales-navigator-search.js +0 -64
  421. package/esm/sdk/sales-navigator-search.js.map +0 -1
  422. package/src/sdk/linked-in-actions-2.ts +0 -117
  423. package/src/sdk/linked-in-chat-2.ts +0 -81
  424. package/src/sdk/linked-in-scrapers-2.ts +0 -45
  425. package/src/sdk/linked-in-search-1.ts +0 -139
  426. package/src/sdk/linkedin-actions-1.ts +0 -243
  427. package/src/sdk/linkedin-chat-1.ts +0 -81
  428. package/src/sdk/linkedin-scrapers-1.ts +0 -99
  429. package/src/sdk/linkedin-search-2.ts +0 -328
  430. package/src/sdk/sales-navigator-search.ts +0 -81
@@ -677,32 +677,18 @@ export type SetAgentStateResponse = {
677
677
  retryAfter: number;
678
678
  };
679
679
 
680
- export type PatchAgentStateRequestBody = {
681
- /**
682
- * Partial state fields to merge
683
- */
684
- data: { [k: string]: any };
685
- };
686
-
687
- export type PatchAgentStateRequest = {
680
+ export type DeleteAgentStateRequest = {
688
681
  /**
689
682
  * State key
690
683
  */
691
684
  key: string;
692
- body: PatchAgentStateRequestBody;
693
685
  };
694
686
 
695
687
  /**
696
- * State merged
688
+ * State deleted
697
689
  */
698
- export type PatchAgentStateResponse = {
690
+ export type DeleteAgentStateResponse = {
699
691
  success: true;
700
- key: string;
701
- /**
702
- * Full state object
703
- */
704
- data: any;
705
- updatedAt: string | null;
706
692
  /**
707
693
  * Credits consumed by this call (always 0 for contacts queries).
708
694
  */
@@ -713,18 +699,32 @@ export type PatchAgentStateResponse = {
713
699
  retryAfter: number;
714
700
  };
715
701
 
716
- export type DeleteAgentStateRequest = {
702
+ export type PatchAgentStateRequestBody = {
703
+ /**
704
+ * Partial state fields to merge
705
+ */
706
+ data: { [k: string]: any };
707
+ };
708
+
709
+ export type PatchAgentStateRequest = {
717
710
  /**
718
711
  * State key
719
712
  */
720
713
  key: string;
714
+ body: PatchAgentStateRequestBody;
721
715
  };
722
716
 
723
717
  /**
724
- * State deleted
718
+ * State merged
725
719
  */
726
- export type DeleteAgentStateResponse = {
720
+ export type PatchAgentStateResponse = {
727
721
  success: true;
722
+ key: string;
723
+ /**
724
+ * Full state object
725
+ */
726
+ data: any;
727
+ updatedAt: string | null;
728
728
  /**
729
729
  * Credits consumed by this call (always 0 for contacts queries).
730
730
  */
@@ -758,8 +758,18 @@ export type ListCampaignsStageCounts = {
758
758
  };
759
759
 
760
760
  export type ListCampaignsCampaign = {
761
+ /**
762
+ * Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
763
+ */
761
764
  id: string;
765
+ /**
766
+ * Human-readable campaign name.
767
+ */
762
768
  name: string;
769
+ /**
770
+ * URL-safe slug auto-generated from name.
771
+ */
772
+ slug?: string | null | undefined;
763
773
  description: string | null;
764
774
  context: string | null;
765
775
  type: string;
@@ -836,7 +846,7 @@ export type CreateCampaignType = ClosedEnum<typeof CreateCampaignType>;
836
846
 
837
847
  export type CreateCampaignRequest = {
838
848
  /**
839
- * Campaign name (e.g., 'lg-engagement-competitor-openai')
849
+ * Human-readable campaign name. Use a clear, descriptive title (e.g., 'Reverse Prospecting — LinkedIn Connections', 'SaaS Sales Leaders EU'). Do NOT use slugs or technical IDs.
840
850
  */
841
851
  name: string;
842
852
  /**
@@ -862,8 +872,18 @@ export type CreateCampaignStageCounts = {
862
872
  };
863
873
 
864
874
  export type CreateCampaignCampaign = {
875
+ /**
876
+ * Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
877
+ */
865
878
  id: string;
879
+ /**
880
+ * Human-readable campaign name.
881
+ */
866
882
  name: string;
883
+ /**
884
+ * URL-safe slug auto-generated from name.
885
+ */
886
+ slug?: string | null | undefined;
867
887
  description: string | null;
868
888
  context: string | null;
869
889
  type: string;
@@ -934,8 +954,18 @@ export type GetCampaignStageCounts = {
934
954
  };
935
955
 
936
956
  export type GetCampaignCampaign = {
957
+ /**
958
+ * Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
959
+ */
937
960
  id: string;
961
+ /**
962
+ * Human-readable campaign name.
963
+ */
938
964
  name: string;
965
+ /**
966
+ * URL-safe slug auto-generated from name.
967
+ */
968
+ slug?: string | null | undefined;
939
969
  description: string | null;
940
970
  context: string | null;
941
971
  type: string;
@@ -990,6 +1020,28 @@ export type GetCampaignResponse = {
990
1020
  retryAfter: number;
991
1021
  };
992
1022
 
1023
+ export type DeleteCampaignRequest = {
1024
+ /**
1025
+ * Campaign ID
1026
+ */
1027
+ campaignId: string;
1028
+ };
1029
+
1030
+ /**
1031
+ * Campaign deleted
1032
+ */
1033
+ export type DeleteCampaignResponse = {
1034
+ success: true;
1035
+ /**
1036
+ * Credits consumed by this call (always 0 for contacts queries).
1037
+ */
1038
+ creditsUsed: number;
1039
+ /**
1040
+ * Seconds to wait before next call of the same type (always 0 for contacts queries).
1041
+ */
1042
+ retryAfter: number;
1043
+ };
1044
+
993
1045
  export const UpdateCampaignStatus = {
994
1046
  Draft: "draft",
995
1047
  Scheduled: "scheduled",
@@ -1029,8 +1081,18 @@ export type UpdateCampaignStageCounts = {
1029
1081
  };
1030
1082
 
1031
1083
  export type UpdateCampaignCampaign = {
1084
+ /**
1085
+ * Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
1086
+ */
1032
1087
  id: string;
1088
+ /**
1089
+ * Human-readable campaign name.
1090
+ */
1033
1091
  name: string;
1092
+ /**
1093
+ * URL-safe slug auto-generated from name.
1094
+ */
1095
+ slug?: string | null | undefined;
1034
1096
  description: string | null;
1035
1097
  context: string | null;
1036
1098
  type: string;
@@ -1085,28 +1147,6 @@ export type UpdateCampaignResponse = {
1085
1147
  retryAfter: number;
1086
1148
  };
1087
1149
 
1088
- export type DeleteCampaignRequest = {
1089
- /**
1090
- * Campaign ID
1091
- */
1092
- campaignId: string;
1093
- };
1094
-
1095
- /**
1096
- * Campaign deleted
1097
- */
1098
- export type DeleteCampaignResponse = {
1099
- success: true;
1100
- /**
1101
- * Credits consumed by this call (always 0 for contacts queries).
1102
- */
1103
- creditsUsed: number;
1104
- /**
1105
- * Seconds to wait before next call of the same type (always 0 for contacts queries).
1106
- */
1107
- retryAfter: number;
1108
- };
1109
-
1110
1150
  export const CampaignStatusTransitionAction = {
1111
1151
  Activate: "activate",
1112
1152
  Start: "start",
@@ -1145,8 +1185,18 @@ export type CampaignStatusTransitionStageCounts = {
1145
1185
  };
1146
1186
 
1147
1187
  export type CampaignStatusTransitionCampaign = {
1188
+ /**
1189
+ * Campaign unique ID (nanoid). Use this as campaignSlug in API calls.
1190
+ */
1148
1191
  id: string;
1192
+ /**
1193
+ * Human-readable campaign name.
1194
+ */
1149
1195
  name: string;
1196
+ /**
1197
+ * URL-safe slug auto-generated from name.
1198
+ */
1199
+ slug?: string | null | undefined;
1150
1200
  description: string | null;
1151
1201
  context: string | null;
1152
1202
  type: string;
@@ -2995,6 +3045,47 @@ export function setAgentStateResponseFromJSON(
2995
3045
  );
2996
3046
  }
2997
3047
 
3048
+ /** @internal */
3049
+ export type DeleteAgentStateRequest$Outbound = {
3050
+ key: string;
3051
+ };
3052
+
3053
+ /** @internal */
3054
+ export const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<
3055
+ DeleteAgentStateRequest$Outbound,
3056
+ DeleteAgentStateRequest
3057
+ > = z.object({
3058
+ key: z.string(),
3059
+ });
3060
+
3061
+ export function deleteAgentStateRequestToJSON(
3062
+ deleteAgentStateRequest: DeleteAgentStateRequest,
3063
+ ): string {
3064
+ return JSON.stringify(
3065
+ DeleteAgentStateRequest$outboundSchema.parse(deleteAgentStateRequest),
3066
+ );
3067
+ }
3068
+
3069
+ /** @internal */
3070
+ export const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<
3071
+ DeleteAgentStateResponse,
3072
+ unknown
3073
+ > = z.object({
3074
+ success: types.literal(true),
3075
+ creditsUsed: types.number(),
3076
+ retryAfter: types.number(),
3077
+ });
3078
+
3079
+ export function deleteAgentStateResponseFromJSON(
3080
+ jsonString: string,
3081
+ ): SafeParseResult<DeleteAgentStateResponse, SDKValidationError> {
3082
+ return safeParse(
3083
+ jsonString,
3084
+ (x) => DeleteAgentStateResponse$inboundSchema.parse(JSON.parse(x)),
3085
+ `Failed to parse 'DeleteAgentStateResponse' from JSON`,
3086
+ );
3087
+ }
3088
+
2998
3089
  /** @internal */
2999
3090
  export type PatchAgentStateRequestBody$Outbound = {
3000
3091
  data: { [k: string]: any };
@@ -3062,47 +3153,6 @@ export function patchAgentStateResponseFromJSON(
3062
3153
  );
3063
3154
  }
3064
3155
 
3065
- /** @internal */
3066
- export type DeleteAgentStateRequest$Outbound = {
3067
- key: string;
3068
- };
3069
-
3070
- /** @internal */
3071
- export const DeleteAgentStateRequest$outboundSchema: z.ZodMiniType<
3072
- DeleteAgentStateRequest$Outbound,
3073
- DeleteAgentStateRequest
3074
- > = z.object({
3075
- key: z.string(),
3076
- });
3077
-
3078
- export function deleteAgentStateRequestToJSON(
3079
- deleteAgentStateRequest: DeleteAgentStateRequest,
3080
- ): string {
3081
- return JSON.stringify(
3082
- DeleteAgentStateRequest$outboundSchema.parse(deleteAgentStateRequest),
3083
- );
3084
- }
3085
-
3086
- /** @internal */
3087
- export const DeleteAgentStateResponse$inboundSchema: z.ZodMiniType<
3088
- DeleteAgentStateResponse,
3089
- unknown
3090
- > = z.object({
3091
- success: types.literal(true),
3092
- creditsUsed: types.number(),
3093
- retryAfter: types.number(),
3094
- });
3095
-
3096
- export function deleteAgentStateResponseFromJSON(
3097
- jsonString: string,
3098
- ): SafeParseResult<DeleteAgentStateResponse, SDKValidationError> {
3099
- return safeParse(
3100
- jsonString,
3101
- (x) => DeleteAgentStateResponse$inboundSchema.parse(JSON.parse(x)),
3102
- `Failed to parse 'DeleteAgentStateResponse' from JSON`,
3103
- );
3104
- }
3105
-
3106
3156
  /** @internal */
3107
3157
  export const ListCampaignsType$outboundSchema: z.ZodMiniEnum<
3108
3158
  typeof ListCampaignsType
@@ -3164,6 +3214,7 @@ export const ListCampaignsCampaign$inboundSchema: z.ZodMiniType<
3164
3214
  > = z.object({
3165
3215
  id: types.string(),
3166
3216
  name: types.string(),
3217
+ slug: z.optional(z.nullable(types.string())),
3167
3218
  description: types.nullable(types.string()),
3168
3219
  context: types.nullable(types.string()),
3169
3220
  type: types.string(),
@@ -3296,6 +3347,7 @@ export const CreateCampaignCampaign$inboundSchema: z.ZodMiniType<
3296
3347
  > = z.object({
3297
3348
  id: types.string(),
3298
3349
  name: types.string(),
3350
+ slug: z.optional(z.nullable(types.string())),
3299
3351
  description: types.nullable(types.string()),
3300
3352
  context: types.nullable(types.string()),
3301
3353
  type: types.string(),
@@ -3396,6 +3448,7 @@ export const GetCampaignCampaign$inboundSchema: z.ZodMiniType<
3396
3448
  > = z.object({
3397
3449
  id: types.string(),
3398
3450
  name: types.string(),
3451
+ slug: z.optional(z.nullable(types.string())),
3399
3452
  description: types.nullable(types.string()),
3400
3453
  context: types.nullable(types.string()),
3401
3454
  type: types.string(),
@@ -3446,6 +3499,47 @@ export function getCampaignResponseFromJSON(
3446
3499
  );
3447
3500
  }
3448
3501
 
3502
+ /** @internal */
3503
+ export type DeleteCampaignRequest$Outbound = {
3504
+ campaignId: string;
3505
+ };
3506
+
3507
+ /** @internal */
3508
+ export const DeleteCampaignRequest$outboundSchema: z.ZodMiniType<
3509
+ DeleteCampaignRequest$Outbound,
3510
+ DeleteCampaignRequest
3511
+ > = z.object({
3512
+ campaignId: z.string(),
3513
+ });
3514
+
3515
+ export function deleteCampaignRequestToJSON(
3516
+ deleteCampaignRequest: DeleteCampaignRequest,
3517
+ ): string {
3518
+ return JSON.stringify(
3519
+ DeleteCampaignRequest$outboundSchema.parse(deleteCampaignRequest),
3520
+ );
3521
+ }
3522
+
3523
+ /** @internal */
3524
+ export const DeleteCampaignResponse$inboundSchema: z.ZodMiniType<
3525
+ DeleteCampaignResponse,
3526
+ unknown
3527
+ > = z.object({
3528
+ success: types.literal(true),
3529
+ creditsUsed: types.number(),
3530
+ retryAfter: types.number(),
3531
+ });
3532
+
3533
+ export function deleteCampaignResponseFromJSON(
3534
+ jsonString: string,
3535
+ ): SafeParseResult<DeleteCampaignResponse, SDKValidationError> {
3536
+ return safeParse(
3537
+ jsonString,
3538
+ (x) => DeleteCampaignResponse$inboundSchema.parse(JSON.parse(x)),
3539
+ `Failed to parse 'DeleteCampaignResponse' from JSON`,
3540
+ );
3541
+ }
3542
+
3449
3543
  /** @internal */
3450
3544
  export const UpdateCampaignStatus$outboundSchema: z.ZodMiniEnum<
3451
3545
  typeof UpdateCampaignStatus
@@ -3540,6 +3634,7 @@ export const UpdateCampaignCampaign$inboundSchema: z.ZodMiniType<
3540
3634
  > = z.object({
3541
3635
  id: types.string(),
3542
3636
  name: types.string(),
3637
+ slug: z.optional(z.nullable(types.string())),
3543
3638
  description: types.nullable(types.string()),
3544
3639
  context: types.nullable(types.string()),
3545
3640
  type: types.string(),
@@ -3590,47 +3685,6 @@ export function updateCampaignResponseFromJSON(
3590
3685
  );
3591
3686
  }
3592
3687
 
3593
- /** @internal */
3594
- export type DeleteCampaignRequest$Outbound = {
3595
- campaignId: string;
3596
- };
3597
-
3598
- /** @internal */
3599
- export const DeleteCampaignRequest$outboundSchema: z.ZodMiniType<
3600
- DeleteCampaignRequest$Outbound,
3601
- DeleteCampaignRequest
3602
- > = z.object({
3603
- campaignId: z.string(),
3604
- });
3605
-
3606
- export function deleteCampaignRequestToJSON(
3607
- deleteCampaignRequest: DeleteCampaignRequest,
3608
- ): string {
3609
- return JSON.stringify(
3610
- DeleteCampaignRequest$outboundSchema.parse(deleteCampaignRequest),
3611
- );
3612
- }
3613
-
3614
- /** @internal */
3615
- export const DeleteCampaignResponse$inboundSchema: z.ZodMiniType<
3616
- DeleteCampaignResponse,
3617
- unknown
3618
- > = z.object({
3619
- success: types.literal(true),
3620
- creditsUsed: types.number(),
3621
- retryAfter: types.number(),
3622
- });
3623
-
3624
- export function deleteCampaignResponseFromJSON(
3625
- jsonString: string,
3626
- ): SafeParseResult<DeleteCampaignResponse, SDKValidationError> {
3627
- return safeParse(
3628
- jsonString,
3629
- (x) => DeleteCampaignResponse$inboundSchema.parse(JSON.parse(x)),
3630
- `Failed to parse 'DeleteCampaignResponse' from JSON`,
3631
- );
3632
- }
3633
-
3634
3688
  /** @internal */
3635
3689
  export const CampaignStatusTransitionAction$outboundSchema: z.ZodMiniEnum<
3636
3690
  typeof CampaignStatusTransitionAction
@@ -3724,6 +3778,7 @@ export const CampaignStatusTransitionCampaign$inboundSchema: z.ZodMiniType<
3724
3778
  > = z.object({
3725
3779
  id: types.string(),
3726
3780
  name: types.string(),
3781
+ slug: z.optional(z.nullable(types.string())),
3727
3782
  description: types.nullable(types.string()),
3728
3783
  context: types.nullable(types.string()),
3729
3784
  type: types.string(),