bereach 0.1.1

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 (451) hide show
  1. package/FUNCTIONS.md +90 -0
  2. package/README.md +530 -0
  3. package/RUNTIMES.md +48 -0
  4. package/esm/core.d.ts +10 -0
  5. package/esm/core.d.ts.map +1 -0
  6. package/esm/core.js +13 -0
  7. package/esm/core.js.map +1 -0
  8. package/esm/funcs/campaigns-filter.d.ts +20 -0
  9. package/esm/funcs/campaigns-filter.d.ts.map +1 -0
  10. package/esm/funcs/campaigns-filter.js +106 -0
  11. package/esm/funcs/campaigns-filter.js.map +1 -0
  12. package/esm/funcs/campaigns-get-stats.d.ts +18 -0
  13. package/esm/funcs/campaigns-get-stats.d.ts.map +1 -0
  14. package/esm/funcs/campaigns-get-stats.js +101 -0
  15. package/esm/funcs/campaigns-get-stats.js.map +1 -0
  16. package/esm/funcs/campaigns-get-status.d.ts +18 -0
  17. package/esm/funcs/campaigns-get-status.d.ts.map +1 -0
  18. package/esm/funcs/campaigns-get-status.js +101 -0
  19. package/esm/funcs/campaigns-get-status.js.map +1 -0
  20. package/esm/funcs/campaigns-sync-actions.d.ts +18 -0
  21. package/esm/funcs/campaigns-sync-actions.d.ts.map +1 -0
  22. package/esm/funcs/campaigns-sync-actions.js +101 -0
  23. package/esm/funcs/campaigns-sync-actions.js.map +1 -0
  24. package/esm/funcs/linkedin-actions-accept-invitation.d.ts +18 -0
  25. package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +1 -0
  26. package/esm/funcs/linkedin-actions-accept-invitation.js +95 -0
  27. package/esm/funcs/linkedin-actions-accept-invitation.js.map +1 -0
  28. package/esm/funcs/linkedin-actions-connect-profile.d.ts +18 -0
  29. package/esm/funcs/linkedin-actions-connect-profile.d.ts.map +1 -0
  30. package/esm/funcs/linkedin-actions-connect-profile.js +95 -0
  31. package/esm/funcs/linkedin-actions-connect-profile.js.map +1 -0
  32. package/esm/funcs/linkedin-actions-like-comment.d.ts +18 -0
  33. package/esm/funcs/linkedin-actions-like-comment.d.ts.map +1 -0
  34. package/esm/funcs/linkedin-actions-like-comment.js +95 -0
  35. package/esm/funcs/linkedin-actions-like-comment.js.map +1 -0
  36. package/esm/funcs/linkedin-actions-list-invitations.d.ts +18 -0
  37. package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +1 -0
  38. package/esm/funcs/linkedin-actions-list-invitations.js +97 -0
  39. package/esm/funcs/linkedin-actions-list-invitations.js.map +1 -0
  40. package/esm/funcs/linkedin-actions-publish-post.d.ts +18 -0
  41. package/esm/funcs/linkedin-actions-publish-post.d.ts.map +1 -0
  42. package/esm/funcs/linkedin-actions-publish-post.js +95 -0
  43. package/esm/funcs/linkedin-actions-publish-post.js.map +1 -0
  44. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts +18 -0
  45. package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +1 -0
  46. package/esm/funcs/linkedin-actions-reply-to-comment.js +95 -0
  47. package/esm/funcs/linkedin-actions-reply-to-comment.js.map +1 -0
  48. package/esm/funcs/linkedin-actions-send-message.d.ts +18 -0
  49. package/esm/funcs/linkedin-actions-send-message.d.ts.map +1 -0
  50. package/esm/funcs/linkedin-actions-send-message.js +95 -0
  51. package/esm/funcs/linkedin-actions-send-message.js.map +1 -0
  52. package/esm/funcs/linkedin-chat-find-conversation.d.ts +25 -0
  53. package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +1 -0
  54. package/esm/funcs/linkedin-chat-find-conversation.js +102 -0
  55. package/esm/funcs/linkedin-chat-find-conversation.js.map +1 -0
  56. package/esm/funcs/linkedin-chat-get-messages.d.ts +22 -0
  57. package/esm/funcs/linkedin-chat-get-messages.d.ts.map +1 -0
  58. package/esm/funcs/linkedin-chat-get-messages.js +99 -0
  59. package/esm/funcs/linkedin-chat-get-messages.js.map +1 -0
  60. package/esm/funcs/linkedin-chat-list-conversations.d.ts +18 -0
  61. package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +1 -0
  62. package/esm/funcs/linkedin-chat-list-conversations.js +95 -0
  63. package/esm/funcs/linkedin-chat-list-conversations.js.map +1 -0
  64. package/esm/funcs/linkedin-chat-search-conversations.d.ts +18 -0
  65. package/esm/funcs/linkedin-chat-search-conversations.d.ts.map +1 -0
  66. package/esm/funcs/linkedin-chat-search-conversations.js +95 -0
  67. package/esm/funcs/linkedin-chat-search-conversations.js.map +1 -0
  68. package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts +18 -0
  69. package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +1 -0
  70. package/esm/funcs/linkedin-scrapers-collect-comment-replies.js +95 -0
  71. package/esm/funcs/linkedin-scrapers-collect-comment-replies.js.map +1 -0
  72. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts +18 -0
  73. package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +1 -0
  74. package/esm/funcs/linkedin-scrapers-collect-comments.js +95 -0
  75. package/esm/funcs/linkedin-scrapers-collect-comments.js.map +1 -0
  76. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +18 -0
  77. package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +1 -0
  78. package/esm/funcs/linkedin-scrapers-collect-likes.js +95 -0
  79. package/esm/funcs/linkedin-scrapers-collect-likes.js.map +1 -0
  80. package/esm/funcs/linkedin-scrapers-collect-posts.d.ts +18 -0
  81. package/esm/funcs/linkedin-scrapers-collect-posts.d.ts.map +1 -0
  82. package/esm/funcs/linkedin-scrapers-collect-posts.js +95 -0
  83. package/esm/funcs/linkedin-scrapers-collect-posts.js.map +1 -0
  84. package/esm/funcs/linkedin-scrapers-visit-company.d.ts +18 -0
  85. package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +1 -0
  86. package/esm/funcs/linkedin-scrapers-visit-company.js +95 -0
  87. package/esm/funcs/linkedin-scrapers-visit-company.js.map +1 -0
  88. package/esm/funcs/linkedin-scrapers-visit-profile.d.ts +18 -0
  89. package/esm/funcs/linkedin-scrapers-visit-profile.d.ts.map +1 -0
  90. package/esm/funcs/linkedin-scrapers-visit-profile.js +95 -0
  91. package/esm/funcs/linkedin-scrapers-visit-profile.js.map +1 -0
  92. package/esm/funcs/linkedin-search-resolve-parameters.d.ts +47 -0
  93. package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +1 -0
  94. package/esm/funcs/linkedin-search-resolve-parameters.js +124 -0
  95. package/esm/funcs/linkedin-search-resolve-parameters.js.map +1 -0
  96. package/esm/funcs/linkedin-search-search-by-url.d.ts +69 -0
  97. package/esm/funcs/linkedin-search-search-by-url.d.ts.map +1 -0
  98. package/esm/funcs/linkedin-search-search-by-url.js +146 -0
  99. package/esm/funcs/linkedin-search-search-by-url.js.map +1 -0
  100. package/esm/funcs/linkedin-search-search-companies.d.ts +75 -0
  101. package/esm/funcs/linkedin-search-search-companies.d.ts.map +1 -0
  102. package/esm/funcs/linkedin-search-search-companies.js +152 -0
  103. package/esm/funcs/linkedin-search-search-companies.js.map +1 -0
  104. package/esm/funcs/linkedin-search-search-jobs.d.ts +96 -0
  105. package/esm/funcs/linkedin-search-search-jobs.d.ts.map +1 -0
  106. package/esm/funcs/linkedin-search-search-jobs.js +173 -0
  107. package/esm/funcs/linkedin-search-search-jobs.js.map +1 -0
  108. package/esm/funcs/linkedin-search-search-people.d.ts +83 -0
  109. package/esm/funcs/linkedin-search-search-people.d.ts.map +1 -0
  110. package/esm/funcs/linkedin-search-search-people.js +160 -0
  111. package/esm/funcs/linkedin-search-search-people.js.map +1 -0
  112. package/esm/funcs/linkedin-search-search-posts.d.ts +71 -0
  113. package/esm/funcs/linkedin-search-search-posts.d.ts.map +1 -0
  114. package/esm/funcs/linkedin-search-search-posts.js +148 -0
  115. package/esm/funcs/linkedin-search-search-posts.js.map +1 -0
  116. package/esm/funcs/linkedin-search-unified-search.d.ts +55 -0
  117. package/esm/funcs/linkedin-search-unified-search.d.ts.map +1 -0
  118. package/esm/funcs/linkedin-search-unified-search.js +132 -0
  119. package/esm/funcs/linkedin-search-unified-search.js.map +1 -0
  120. package/esm/funcs/profile-get-credits.d.ts +18 -0
  121. package/esm/funcs/profile-get-credits.d.ts.map +1 -0
  122. package/esm/funcs/profile-get-credits.js +84 -0
  123. package/esm/funcs/profile-get-credits.js.map +1 -0
  124. package/esm/funcs/profile-get-followers.d.ts +18 -0
  125. package/esm/funcs/profile-get-followers.d.ts.map +1 -0
  126. package/esm/funcs/profile-get-followers.js +97 -0
  127. package/esm/funcs/profile-get-followers.js.map +1 -0
  128. package/esm/funcs/profile-get-limits.d.ts +18 -0
  129. package/esm/funcs/profile-get-limits.d.ts.map +1 -0
  130. package/esm/funcs/profile-get-limits.js +84 -0
  131. package/esm/funcs/profile-get-limits.js.map +1 -0
  132. package/esm/funcs/profile-get-linked-in-profile.d.ts +18 -0
  133. package/esm/funcs/profile-get-linked-in-profile.d.ts.map +1 -0
  134. package/esm/funcs/profile-get-linked-in-profile.js +84 -0
  135. package/esm/funcs/profile-get-linked-in-profile.js.map +1 -0
  136. package/esm/funcs/profile-get-posts.d.ts +18 -0
  137. package/esm/funcs/profile-get-posts.d.ts.map +1 -0
  138. package/esm/funcs/profile-get-posts.js +97 -0
  139. package/esm/funcs/profile-get-posts.js.map +1 -0
  140. package/esm/funcs/profile-refresh.d.ts +18 -0
  141. package/esm/funcs/profile-refresh.d.ts.map +1 -0
  142. package/esm/funcs/profile-refresh.js +84 -0
  143. package/esm/funcs/profile-refresh.js.map +1 -0
  144. package/esm/hooks/hooks.d.ts +25 -0
  145. package/esm/hooks/hooks.d.ts.map +1 -0
  146. package/esm/hooks/hooks.js +82 -0
  147. package/esm/hooks/hooks.js.map +1 -0
  148. package/esm/hooks/index.d.ts +3 -0
  149. package/esm/hooks/index.d.ts.map +1 -0
  150. package/esm/hooks/index.js +6 -0
  151. package/esm/hooks/index.js.map +1 -0
  152. package/esm/hooks/registration.d.ts +3 -0
  153. package/esm/hooks/registration.d.ts.map +1 -0
  154. package/esm/hooks/registration.js +12 -0
  155. package/esm/hooks/registration.js.map +1 -0
  156. package/esm/hooks/types.d.ts +76 -0
  157. package/esm/hooks/types.d.ts.map +1 -0
  158. package/esm/hooks/types.js +5 -0
  159. package/esm/hooks/types.js.map +1 -0
  160. package/esm/index.d.ts +6 -0
  161. package/esm/index.d.ts.map +1 -0
  162. package/esm/index.js +8 -0
  163. package/esm/index.js.map +1 -0
  164. package/esm/lib/base64.d.ts +10 -0
  165. package/esm/lib/base64.d.ts.map +1 -0
  166. package/esm/lib/base64.js +31 -0
  167. package/esm/lib/base64.js.map +1 -0
  168. package/esm/lib/config.d.ts +38 -0
  169. package/esm/lib/config.d.ts.map +1 -0
  170. package/esm/lib/config.js +34 -0
  171. package/esm/lib/config.js.map +1 -0
  172. package/esm/lib/dlv.d.ts +14 -0
  173. package/esm/lib/dlv.d.ts.map +1 -0
  174. package/esm/lib/dlv.js +46 -0
  175. package/esm/lib/dlv.js.map +1 -0
  176. package/esm/lib/encodings.d.ts +53 -0
  177. package/esm/lib/encodings.d.ts.map +1 -0
  178. package/esm/lib/encodings.js +370 -0
  179. package/esm/lib/encodings.js.map +1 -0
  180. package/esm/lib/env.d.ts +15 -0
  181. package/esm/lib/env.d.ts.map +1 -0
  182. package/esm/lib/env.js +44 -0
  183. package/esm/lib/env.js.map +1 -0
  184. package/esm/lib/files.d.ts +13 -0
  185. package/esm/lib/files.d.ts.map +1 -0
  186. package/esm/lib/files.js +73 -0
  187. package/esm/lib/files.js.map +1 -0
  188. package/esm/lib/http.d.ts +67 -0
  189. package/esm/lib/http.d.ts.map +1 -0
  190. package/esm/lib/http.js +209 -0
  191. package/esm/lib/http.js.map +1 -0
  192. package/esm/lib/is-plain-object.d.ts +2 -0
  193. package/esm/lib/is-plain-object.d.ts.map +1 -0
  194. package/esm/lib/is-plain-object.js +38 -0
  195. package/esm/lib/is-plain-object.js.map +1 -0
  196. package/esm/lib/logger.d.ts +6 -0
  197. package/esm/lib/logger.d.ts.map +1 -0
  198. package/esm/lib/logger.js +5 -0
  199. package/esm/lib/logger.js.map +1 -0
  200. package/esm/lib/matchers.d.ts +59 -0
  201. package/esm/lib/matchers.d.ts.map +1 -0
  202. package/esm/lib/matchers.js +202 -0
  203. package/esm/lib/matchers.js.map +1 -0
  204. package/esm/lib/primitives.d.ts +26 -0
  205. package/esm/lib/primitives.d.ts.map +1 -0
  206. package/esm/lib/primitives.js +103 -0
  207. package/esm/lib/primitives.js.map +1 -0
  208. package/esm/lib/retries.d.ts +38 -0
  209. package/esm/lib/retries.d.ts.map +1 -0
  210. package/esm/lib/retries.js +150 -0
  211. package/esm/lib/retries.js.map +1 -0
  212. package/esm/lib/schemas.d.ts +21 -0
  213. package/esm/lib/schemas.d.ts.map +1 -0
  214. package/esm/lib/schemas.js +57 -0
  215. package/esm/lib/schemas.js.map +1 -0
  216. package/esm/lib/sdks.d.ts +63 -0
  217. package/esm/lib/sdks.d.ts.map +1 -0
  218. package/esm/lib/sdks.js +258 -0
  219. package/esm/lib/sdks.js.map +1 -0
  220. package/esm/lib/security.d.ts +83 -0
  221. package/esm/lib/security.d.ts.map +1 -0
  222. package/esm/lib/security.js +138 -0
  223. package/esm/lib/security.js.map +1 -0
  224. package/esm/lib/url.d.ts +5 -0
  225. package/esm/lib/url.d.ts.map +1 -0
  226. package/esm/lib/url.js +22 -0
  227. package/esm/lib/url.js.map +1 -0
  228. package/esm/models/errors/bereach-default-error.d.ts +10 -0
  229. package/esm/models/errors/bereach-default-error.d.ts.map +1 -0
  230. package/esm/models/errors/bereach-default-error.js +30 -0
  231. package/esm/models/errors/bereach-default-error.js.map +1 -0
  232. package/esm/models/errors/bereach-error.d.ts +19 -0
  233. package/esm/models/errors/bereach-error.d.ts.map +1 -0
  234. package/esm/models/errors/bereach-error.js +26 -0
  235. package/esm/models/errors/bereach-error.js.map +1 -0
  236. package/esm/models/errors/collect-linked-in-likes.d.ts +211 -0
  237. package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -0
  238. package/esm/models/errors/collect-linked-in-likes.js +306 -0
  239. package/esm/models/errors/collect-linked-in-likes.js.map +1 -0
  240. package/esm/models/errors/http-client-errors.d.ts +44 -0
  241. package/esm/models/errors/http-client-errors.d.ts.map +1 -0
  242. package/esm/models/errors/http-client-errors.js +56 -0
  243. package/esm/models/errors/http-client-errors.js.map +1 -0
  244. package/esm/models/errors/index.d.ts +7 -0
  245. package/esm/models/errors/index.d.ts.map +1 -0
  246. package/esm/models/errors/index.js +10 -0
  247. package/esm/models/errors/index.js.map +1 -0
  248. package/esm/models/errors/response-validation-error.d.ts +26 -0
  249. package/esm/models/errors/response-validation-error.d.ts.map +1 -0
  250. package/esm/models/errors/response-validation-error.js +37 -0
  251. package/esm/models/errors/response-validation-error.js.map +1 -0
  252. package/esm/models/errors/sdk-validation-error.d.ts +21 -0
  253. package/esm/models/errors/sdk-validation-error.d.ts.map +1 -0
  254. package/esm/models/errors/sdk-validation-error.js +52 -0
  255. package/esm/models/errors/sdk-validation-error.js.map +1 -0
  256. package/esm/models/index.d.ts +2 -0
  257. package/esm/models/index.d.ts.map +1 -0
  258. package/esm/models/index.js +5 -0
  259. package/esm/models/index.js.map +1 -0
  260. package/esm/models/operations/get-campaign-stats-response.d.ts +1627 -0
  261. package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -0
  262. package/esm/models/operations/get-campaign-stats-response.js +1002 -0
  263. package/esm/models/operations/get-campaign-stats-response.js.map +1 -0
  264. package/esm/models/operations/index.d.ts +3 -0
  265. package/esm/models/operations/index.d.ts.map +1 -0
  266. package/esm/models/operations/index.js +6 -0
  267. package/esm/models/operations/index.js.map +1 -0
  268. package/esm/models/operations/send-linked-in-message-response.d.ts +2350 -0
  269. package/esm/models/operations/send-linked-in-message-response.d.ts.map +1 -0
  270. package/esm/models/operations/send-linked-in-message-response.js +1585 -0
  271. package/esm/models/operations/send-linked-in-message-response.js.map +1 -0
  272. package/esm/models/security.d.ts +12 -0
  273. package/esm/models/security.d.ts.map +1 -0
  274. package/esm/models/security.js +12 -0
  275. package/esm/models/security.js.map +1 -0
  276. package/esm/sdk/campaigns.d.ts +35 -0
  277. package/esm/sdk/campaigns.d.ts.map +1 -0
  278. package/esm/sdk/campaigns.js +50 -0
  279. package/esm/sdk/campaigns.js.map +1 -0
  280. package/esm/sdk/index.d.ts +2 -0
  281. package/esm/sdk/index.d.ts.map +1 -0
  282. package/esm/sdk/index.js +5 -0
  283. package/esm/sdk/index.js.map +1 -0
  284. package/esm/sdk/linkedin-actions.d.ts +54 -0
  285. package/esm/sdk/linkedin-actions.d.ts.map +1 -0
  286. package/esm/sdk/linkedin-actions.js +78 -0
  287. package/esm/sdk/linkedin-actions.js.map +1 -0
  288. package/esm/sdk/linkedin-chat.d.ts +44 -0
  289. package/esm/sdk/linkedin-chat.d.ts.map +1 -0
  290. package/esm/sdk/linkedin-chat.js +59 -0
  291. package/esm/sdk/linkedin-chat.js.map +1 -0
  292. package/esm/sdk/linkedin-scrapers.d.ts +47 -0
  293. package/esm/sdk/linkedin-scrapers.d.ts.map +1 -0
  294. package/esm/sdk/linkedin-scrapers.js +68 -0
  295. package/esm/sdk/linkedin-scrapers.js.map +1 -0
  296. package/esm/sdk/linkedin-search.d.ts +424 -0
  297. package/esm/sdk/linkedin-search.d.ts.map +1 -0
  298. package/esm/sdk/linkedin-search.js +448 -0
  299. package/esm/sdk/linkedin-search.js.map +1 -0
  300. package/esm/sdk/profile.d.ts +47 -0
  301. package/esm/sdk/profile.d.ts.map +1 -0
  302. package/esm/sdk/profile.js +68 -0
  303. package/esm/sdk/profile.js.map +1 -0
  304. package/esm/sdk/sdk.d.ts +22 -0
  305. package/esm/sdk/sdk.d.ts.map +1 -0
  306. package/esm/sdk/sdk.js +37 -0
  307. package/esm/sdk/sdk.js.map +1 -0
  308. package/esm/types/async.d.ts +23 -0
  309. package/esm/types/async.d.ts.map +1 -0
  310. package/esm/types/async.js +28 -0
  311. package/esm/types/async.js.map +1 -0
  312. package/esm/types/blobs.d.ts +4 -0
  313. package/esm/types/blobs.d.ts.map +1 -0
  314. package/esm/types/blobs.js +25 -0
  315. package/esm/types/blobs.js.map +1 -0
  316. package/esm/types/const-date-time.d.ts +3 -0
  317. package/esm/types/const-date-time.d.ts.map +1 -0
  318. package/esm/types/const-date-time.js +10 -0
  319. package/esm/types/const-date-time.js.map +1 -0
  320. package/esm/types/default-to-zero-value.d.ts +12 -0
  321. package/esm/types/default-to-zero-value.d.ts.map +1 -0
  322. package/esm/types/default-to-zero-value.js +31 -0
  323. package/esm/types/default-to-zero-value.js.map +1 -0
  324. package/esm/types/enums.d.ts +9 -0
  325. package/esm/types/enums.d.ts.map +1 -0
  326. package/esm/types/enums.js +27 -0
  327. package/esm/types/enums.js.map +1 -0
  328. package/esm/types/fp.d.ts +31 -0
  329. package/esm/types/fp.d.ts.map +1 -0
  330. package/esm/types/fp.js +31 -0
  331. package/esm/types/fp.js.map +1 -0
  332. package/esm/types/index.d.ts +10 -0
  333. package/esm/types/index.d.ts.map +1 -0
  334. package/esm/types/index.js +10 -0
  335. package/esm/types/index.js.map +1 -0
  336. package/esm/types/operations.d.ts +27 -0
  337. package/esm/types/operations.d.ts.map +1 -0
  338. package/esm/types/operations.js +77 -0
  339. package/esm/types/operations.js.map +1 -0
  340. package/esm/types/primitives.d.ts +11 -0
  341. package/esm/types/primitives.d.ts.map +1 -0
  342. package/esm/types/primitives.js +132 -0
  343. package/esm/types/primitives.js.map +1 -0
  344. package/esm/types/rfcdate.d.ts +21 -0
  345. package/esm/types/rfcdate.d.ts.map +1 -0
  346. package/esm/types/rfcdate.js +43 -0
  347. package/esm/types/rfcdate.js.map +1 -0
  348. package/esm/types/smart-union.d.ts +7 -0
  349. package/esm/types/smart-union.d.ts.map +1 -0
  350. package/esm/types/smart-union.js +117 -0
  351. package/esm/types/smart-union.js.map +1 -0
  352. package/esm/types/streams.d.ts +2 -0
  353. package/esm/types/streams.d.ts.map +1 -0
  354. package/esm/types/streams.js +15 -0
  355. package/esm/types/streams.js.map +1 -0
  356. package/esm/types/unrecognized.d.ts +16 -0
  357. package/esm/types/unrecognized.d.ts.map +1 -0
  358. package/esm/types/unrecognized.js +31 -0
  359. package/esm/types/unrecognized.js.map +1 -0
  360. package/examples/linkedinScrapersCollectLikes.example.ts +30 -0
  361. package/jsr.json +27 -0
  362. package/package.json +62 -0
  363. package/src/core.ts +13 -0
  364. package/src/funcs/campaigns-filter.ts +227 -0
  365. package/src/funcs/campaigns-get-stats.ts +222 -0
  366. package/src/funcs/campaigns-get-status.ts +222 -0
  367. package/src/funcs/campaigns-sync-actions.ts +222 -0
  368. package/src/funcs/linkedin-actions-accept-invitation.ts +215 -0
  369. package/src/funcs/linkedin-actions-connect-profile.ts +215 -0
  370. package/src/funcs/linkedin-actions-like-comment.ts +215 -0
  371. package/src/funcs/linkedin-actions-list-invitations.ts +220 -0
  372. package/src/funcs/linkedin-actions-publish-post.ts +215 -0
  373. package/src/funcs/linkedin-actions-reply-to-comment.ts +215 -0
  374. package/src/funcs/linkedin-actions-send-message.ts +215 -0
  375. package/src/funcs/linkedin-chat-find-conversation.ts +222 -0
  376. package/src/funcs/linkedin-chat-get-messages.ts +219 -0
  377. package/src/funcs/linkedin-chat-list-conversations.ts +215 -0
  378. package/src/funcs/linkedin-chat-search-conversations.ts +218 -0
  379. package/src/funcs/linkedin-scrapers-collect-comment-replies.ts +218 -0
  380. package/src/funcs/linkedin-scrapers-collect-comments.ts +215 -0
  381. package/src/funcs/linkedin-scrapers-collect-likes.ts +215 -0
  382. package/src/funcs/linkedin-scrapers-collect-posts.ts +215 -0
  383. package/src/funcs/linkedin-scrapers-visit-company.ts +215 -0
  384. package/src/funcs/linkedin-scrapers-visit-profile.ts +215 -0
  385. package/src/funcs/linkedin-search-resolve-parameters.ts +250 -0
  386. package/src/funcs/linkedin-search-search-by-url.ts +266 -0
  387. package/src/funcs/linkedin-search-search-companies.ts +272 -0
  388. package/src/funcs/linkedin-search-search-jobs.ts +293 -0
  389. package/src/funcs/linkedin-search-search-people.ts +280 -0
  390. package/src/funcs/linkedin-search-search-posts.ts +268 -0
  391. package/src/funcs/linkedin-search-unified-search.ts +251 -0
  392. package/src/funcs/profile-get-credits.ts +195 -0
  393. package/src/funcs/profile-get-followers.ts +220 -0
  394. package/src/funcs/profile-get-limits.ts +195 -0
  395. package/src/funcs/profile-get-linked-in-profile.ts +195 -0
  396. package/src/funcs/profile-get-posts.ts +220 -0
  397. package/src/funcs/profile-refresh.ts +195 -0
  398. package/src/hooks/hooks.ts +132 -0
  399. package/src/hooks/index.ts +6 -0
  400. package/src/hooks/registration.ts +14 -0
  401. package/src/hooks/types.ts +107 -0
  402. package/src/index.ts +9 -0
  403. package/src/lib/base64.ts +39 -0
  404. package/src/lib/config.ts +67 -0
  405. package/src/lib/dlv.ts +53 -0
  406. package/src/lib/encodings.ts +501 -0
  407. package/src/lib/env.ts +57 -0
  408. package/src/lib/files.ts +82 -0
  409. package/src/lib/http.ts +323 -0
  410. package/src/lib/is-plain-object.ts +43 -0
  411. package/src/lib/logger.ts +9 -0
  412. package/src/lib/matchers.ts +353 -0
  413. package/src/lib/primitives.ts +150 -0
  414. package/src/lib/retries.ts +218 -0
  415. package/src/lib/schemas.ts +94 -0
  416. package/src/lib/sdks.ts +406 -0
  417. package/src/lib/security.ts +263 -0
  418. package/src/lib/url.ts +33 -0
  419. package/src/models/errors/bereach-default-error.ts +40 -0
  420. package/src/models/errors/bereach-error.ts +35 -0
  421. package/src/models/errors/collect-linked-in-likes.ts +494 -0
  422. package/src/models/errors/http-client-errors.ts +62 -0
  423. package/src/models/errors/index.ts +10 -0
  424. package/src/models/errors/response-validation-error.ts +50 -0
  425. package/src/models/errors/sdk-validation-error.ts +54 -0
  426. package/src/models/index.ts +5 -0
  427. package/src/models/operations/get-campaign-stats-response.ts +3409 -0
  428. package/src/models/operations/index.ts +6 -0
  429. package/src/models/operations/send-linked-in-message-response.ts +4903 -0
  430. package/src/models/security.ts +26 -0
  431. package/src/sdk/campaigns.ts +83 -0
  432. package/src/sdk/index.ts +5 -0
  433. package/src/sdk/linkedin-actions.ts +135 -0
  434. package/src/sdk/linkedin-chat.ts +92 -0
  435. package/src/sdk/linkedin-scrapers.ts +117 -0
  436. package/src/sdk/linkedin-search.ts +505 -0
  437. package/src/sdk/profile.ts +109 -0
  438. package/src/sdk/sdk.ts +43 -0
  439. package/src/types/async.ts +68 -0
  440. package/src/types/blobs.ts +33 -0
  441. package/src/types/const-date-time.ts +15 -0
  442. package/src/types/default-to-zero-value.ts +33 -0
  443. package/src/types/enums.ts +45 -0
  444. package/src/types/fp.ts +50 -0
  445. package/src/types/index.ts +13 -0
  446. package/src/types/operations.ts +105 -0
  447. package/src/types/primitives.ts +168 -0
  448. package/src/types/rfcdate.ts +54 -0
  449. package/src/types/smart-union.ts +153 -0
  450. package/src/types/streams.ts +21 -0
  451. package/src/types/unrecognized.ts +35 -0
@@ -0,0 +1,1627 @@
1
+ import * as z from "zod/v4-mini";
2
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ export type ReplyToLinkedInCommentRequest = {
6
+ /**
7
+ * LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
8
+ */
9
+ commentUrn: string;
10
+ /**
11
+ * Reply message text
12
+ */
13
+ message: string;
14
+ /**
15
+ * Campaign identifier for deduplication. Dedup by commentUrn automatically.
16
+ */
17
+ campaignSlug?: string | undefined;
18
+ /**
19
+ * Deprecated. Use campaignSlug only.
20
+ *
21
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
22
+ */
23
+ actionSlug?: string | undefined;
24
+ };
25
+ /**
26
+ * Reply sent successfully
27
+ */
28
+ export type ReplyToLinkedInCommentResponse = {
29
+ success: boolean;
30
+ /**
31
+ * URN of the created reply comment
32
+ */
33
+ replyUrn?: string | undefined;
34
+ /**
35
+ * True if this action was already executed for the given campaignSlug + target.
36
+ */
37
+ duplicate?: boolean | undefined;
38
+ /**
39
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
40
+ */
41
+ creditsUsed: number;
42
+ /**
43
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
44
+ */
45
+ retryAfter: number;
46
+ };
47
+ /**
48
+ * Reaction type (default: LIKE)
49
+ */
50
+ export declare const ReactionType: {
51
+ readonly Like: "LIKE";
52
+ readonly Love: "LOVE";
53
+ readonly Celebrate: "CELEBRATE";
54
+ readonly Support: "SUPPORT";
55
+ readonly Funny: "FUNNY";
56
+ readonly Insightful: "INSIGHTFUL";
57
+ };
58
+ /**
59
+ * Reaction type (default: LIKE)
60
+ */
61
+ export type ReactionType = ClosedEnum<typeof ReactionType>;
62
+ export type LikeLinkedInCommentRequest = {
63
+ /**
64
+ * LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
65
+ */
66
+ commentUrn: string;
67
+ /**
68
+ * Reaction type (default: LIKE)
69
+ */
70
+ reactionType?: ReactionType | undefined;
71
+ /**
72
+ * Campaign identifier for deduplication. Dedup by commentUrn automatically.
73
+ */
74
+ campaignSlug?: string | undefined;
75
+ /**
76
+ * Deprecated. Use campaignSlug only.
77
+ *
78
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
79
+ */
80
+ actionSlug?: string | undefined;
81
+ };
82
+ /**
83
+ * Comment liked successfully
84
+ */
85
+ export type LikeLinkedInCommentResponse = {
86
+ success: boolean;
87
+ /**
88
+ * Resource key of the created reaction
89
+ */
90
+ resourceKey?: string | undefined;
91
+ /**
92
+ * True if this action was already executed for the given campaignSlug + target.
93
+ */
94
+ duplicate?: boolean | undefined;
95
+ /**
96
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
97
+ */
98
+ creditsUsed: number;
99
+ /**
100
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
101
+ */
102
+ retryAfter: number;
103
+ };
104
+ /**
105
+ * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
106
+ */
107
+ export declare const Mode: {
108
+ readonly Scheduled: "scheduled";
109
+ readonly Instant: "instant";
110
+ };
111
+ /**
112
+ * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
113
+ */
114
+ export type Mode = ClosedEnum<typeof Mode>;
115
+ /**
116
+ * Post visibility
117
+ */
118
+ export declare const Visibility: {
119
+ readonly Anyone: "ANYONE";
120
+ readonly Connections: "CONNECTIONS";
121
+ };
122
+ /**
123
+ * Post visibility
124
+ */
125
+ export type Visibility = ClosedEnum<typeof Visibility>;
126
+ export type Mention = {
127
+ /**
128
+ * LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
129
+ */
130
+ profileUrn: string;
131
+ /**
132
+ * Start character offset in the text where the mention begins
133
+ */
134
+ start: number;
135
+ /**
136
+ * Length of the mention text in characters
137
+ */
138
+ length: number;
139
+ };
140
+ export type PublishLinkedInPostRequest = {
141
+ /**
142
+ * Post commentary text
143
+ */
144
+ text: string;
145
+ /**
146
+ * Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
147
+ */
148
+ mode: Mode;
149
+ /**
150
+ * Timestamp in milliseconds for scheduled posts (required when mode='scheduled')
151
+ */
152
+ scheduledAt?: number | undefined;
153
+ /**
154
+ * URL of an image to attach to the post
155
+ */
156
+ imageUrl?: string | undefined;
157
+ /**
158
+ * Post visibility
159
+ */
160
+ visibility?: Visibility | undefined;
161
+ /**
162
+ * Profile mentions with text positions
163
+ */
164
+ mentions?: Array<Mention> | undefined;
165
+ /**
166
+ * Campaign identifier for deduplication.
167
+ */
168
+ campaignSlug?: string | undefined;
169
+ /**
170
+ * Deprecated. Use campaignSlug only.
171
+ *
172
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
173
+ */
174
+ actionSlug?: string | undefined;
175
+ };
176
+ /**
177
+ * Post published or scheduled successfully
178
+ */
179
+ export type PublishLinkedInPostResponse = {
180
+ success: boolean;
181
+ /**
182
+ * URN of the created share (e.g., 'urn:li:fsd_share:urn:li:share:123...')
183
+ */
184
+ shareUrn: string;
185
+ /**
186
+ * Activity URN (only available for instant mode)
187
+ */
188
+ activityUrn: string | null;
189
+ /**
190
+ * True if this action was already executed for the given campaignSlug + target.
191
+ */
192
+ duplicate?: boolean | undefined;
193
+ /**
194
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
195
+ */
196
+ creditsUsed: number;
197
+ /**
198
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
199
+ */
200
+ retryAfter: number;
201
+ };
202
+ export type GetMyLinkedInProfilePositionStartDate = {
203
+ month: number | null;
204
+ year: number;
205
+ };
206
+ export type GetMyLinkedInProfilePositionEndDate = {
207
+ month: number | null;
208
+ year: number;
209
+ };
210
+ export type GetMyLinkedInProfilePosition = {
211
+ companyName: string | null;
212
+ title: string | null;
213
+ companyUrl: string | null;
214
+ companyLogo: string | null;
215
+ startDate: GetMyLinkedInProfilePositionStartDate | null;
216
+ endDate: GetMyLinkedInProfilePositionEndDate | null;
217
+ isCurrent: boolean;
218
+ };
219
+ export type GetMyLinkedInProfileEducationStartDate = {
220
+ month: number | null;
221
+ year: number;
222
+ };
223
+ export type GetMyLinkedInProfileEducationEndDate = {
224
+ month: number | null;
225
+ year: number;
226
+ };
227
+ export type GetMyLinkedInProfileEducation = {
228
+ schoolName: string | null;
229
+ degreeName: string | null;
230
+ fieldOfStudy: string | null;
231
+ schoolUrl: string | null;
232
+ schoolLogo: string | null;
233
+ startDate: GetMyLinkedInProfileEducationStartDate | null;
234
+ endDate: GetMyLinkedInProfileEducationEndDate | null;
235
+ };
236
+ /**
237
+ * Profile location
238
+ */
239
+ export type GetMyLinkedInProfileLocation = {
240
+ countryCode: string;
241
+ postalCode?: string | undefined;
242
+ };
243
+ export declare const GetMyLinkedInProfileType: {
244
+ readonly Activity: "activity";
245
+ readonly UgcPost: "ugcPost";
246
+ readonly Share: "share";
247
+ };
248
+ export type GetMyLinkedInProfileType = OpenEnum<typeof GetMyLinkedInProfileType>;
249
+ export type GetMyLinkedInProfileLastPost = {
250
+ postUrl: string;
251
+ text: string;
252
+ date: number;
253
+ likesCount: number;
254
+ commentsCount: number;
255
+ sharesCount: number;
256
+ postUrn: string;
257
+ postId: string;
258
+ type: GetMyLinkedInProfileType;
259
+ };
260
+ /**
261
+ * Stored LinkedIn profile data
262
+ */
263
+ export type GetMyLinkedInProfileResponse = {
264
+ success: boolean;
265
+ /**
266
+ * LinkedIn vanity name (e.g., 'alexandre-sarfati')
267
+ */
268
+ linkedinProfileId: string | null;
269
+ /**
270
+ * Full name from LinkedIn
271
+ */
272
+ linkedinName: string | null;
273
+ /**
274
+ * Email from LinkedIn profile
275
+ */
276
+ linkedinEmail: string | null;
277
+ /**
278
+ * LinkedIn profile URN
279
+ */
280
+ profileUrn: string | null;
281
+ /**
282
+ * LinkedIn headline
283
+ */
284
+ headline: string | null;
285
+ /**
286
+ * Profile picture URL
287
+ */
288
+ profilePic: string | null;
289
+ /**
290
+ * Full LinkedIn profile URL
291
+ */
292
+ profileUrl: string | null;
293
+ /**
294
+ * Work positions (populated after /refresh)
295
+ */
296
+ positions?: Array<GetMyLinkedInProfilePosition> | undefined;
297
+ /**
298
+ * Education entries (populated after /refresh)
299
+ */
300
+ educations?: Array<GetMyLinkedInProfileEducation> | undefined;
301
+ /**
302
+ * Total LinkedIn connections
303
+ */
304
+ connectionsCount?: number | null | undefined;
305
+ /**
306
+ * Profile location
307
+ */
308
+ location?: GetMyLinkedInProfileLocation | null | undefined;
309
+ /**
310
+ * LinkedIn verification status
311
+ */
312
+ isVerified?: boolean | undefined;
313
+ /**
314
+ * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
315
+ */
316
+ lastPosts?: Array<GetMyLinkedInProfileLastPost> | undefined;
317
+ /**
318
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
319
+ */
320
+ creditsUsed: number;
321
+ /**
322
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
323
+ */
324
+ retryAfter: number;
325
+ };
326
+ export type RefreshMyLinkedInProfilePositionStartDate = {
327
+ month: number | null;
328
+ year: number;
329
+ };
330
+ export type RefreshMyLinkedInProfilePositionEndDate = {
331
+ month: number | null;
332
+ year: number;
333
+ };
334
+ export type RefreshMyLinkedInProfilePosition = {
335
+ companyName: string | null;
336
+ title: string | null;
337
+ companyUrl: string | null;
338
+ companyLogo: string | null;
339
+ startDate: RefreshMyLinkedInProfilePositionStartDate | null;
340
+ endDate: RefreshMyLinkedInProfilePositionEndDate | null;
341
+ isCurrent: boolean;
342
+ };
343
+ export type RefreshMyLinkedInProfileEducationStartDate = {
344
+ month: number | null;
345
+ year: number;
346
+ };
347
+ export type RefreshMyLinkedInProfileEducationEndDate = {
348
+ month: number | null;
349
+ year: number;
350
+ };
351
+ export type RefreshMyLinkedInProfileEducation = {
352
+ schoolName: string | null;
353
+ degreeName: string | null;
354
+ fieldOfStudy: string | null;
355
+ schoolUrl: string | null;
356
+ schoolLogo: string | null;
357
+ startDate: RefreshMyLinkedInProfileEducationStartDate | null;
358
+ endDate: RefreshMyLinkedInProfileEducationEndDate | null;
359
+ };
360
+ /**
361
+ * Profile location
362
+ */
363
+ export type RefreshMyLinkedInProfileLocation = {
364
+ countryCode: string;
365
+ postalCode?: string | undefined;
366
+ };
367
+ export declare const RefreshMyLinkedInProfileType: {
368
+ readonly Activity: "activity";
369
+ readonly UgcPost: "ugcPost";
370
+ readonly Share: "share";
371
+ };
372
+ export type RefreshMyLinkedInProfileType = OpenEnum<typeof RefreshMyLinkedInProfileType>;
373
+ export type RefreshMyLinkedInProfileLastPost = {
374
+ postUrl: string;
375
+ text: string;
376
+ date: number;
377
+ likesCount: number;
378
+ commentsCount: number;
379
+ sharesCount: number;
380
+ postUrn: string;
381
+ postId: string;
382
+ type: RefreshMyLinkedInProfileType;
383
+ };
384
+ /**
385
+ * Refreshed LinkedIn profile data
386
+ */
387
+ export type RefreshMyLinkedInProfileResponse = {
388
+ success: boolean;
389
+ /**
390
+ * LinkedIn vanity name (e.g., 'alexandre-sarfati')
391
+ */
392
+ linkedinProfileId: string | null;
393
+ /**
394
+ * Full name from LinkedIn
395
+ */
396
+ linkedinName: string | null;
397
+ /**
398
+ * Email from LinkedIn profile
399
+ */
400
+ linkedinEmail: string | null;
401
+ /**
402
+ * LinkedIn profile URN
403
+ */
404
+ profileUrn: string | null;
405
+ /**
406
+ * LinkedIn headline
407
+ */
408
+ headline: string | null;
409
+ /**
410
+ * Profile picture URL
411
+ */
412
+ profilePic: string | null;
413
+ /**
414
+ * Full LinkedIn profile URL
415
+ */
416
+ profileUrl: string | null;
417
+ /**
418
+ * Work positions (populated after /refresh)
419
+ */
420
+ positions?: Array<RefreshMyLinkedInProfilePosition> | undefined;
421
+ /**
422
+ * Education entries (populated after /refresh)
423
+ */
424
+ educations?: Array<RefreshMyLinkedInProfileEducation> | undefined;
425
+ /**
426
+ * Total LinkedIn connections
427
+ */
428
+ connectionsCount?: number | null | undefined;
429
+ /**
430
+ * Profile location
431
+ */
432
+ location?: RefreshMyLinkedInProfileLocation | null | undefined;
433
+ /**
434
+ * LinkedIn verification status
435
+ */
436
+ isVerified?: boolean | undefined;
437
+ /**
438
+ * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
439
+ */
440
+ lastPosts?: Array<RefreshMyLinkedInProfileLastPost> | undefined;
441
+ refreshed: boolean;
442
+ /**
443
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
444
+ */
445
+ creditsUsed: number;
446
+ /**
447
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
448
+ */
449
+ retryAfter: number;
450
+ };
451
+ export type GetMyLinkedInPostsRequest = {
452
+ /**
453
+ * Number of posts to fetch (default 20, max 100).
454
+ */
455
+ count?: number | undefined;
456
+ /**
457
+ * Pagination offset (default 0).
458
+ */
459
+ start?: number | undefined;
460
+ /**
461
+ * Pagination token from a previous response to fetch the next page.
462
+ */
463
+ paginationToken?: string | undefined;
464
+ };
465
+ export declare const GetMyLinkedInPostsType: {
466
+ readonly Activity: "activity";
467
+ readonly UgcPost: "ugcPost";
468
+ readonly Share: "share";
469
+ };
470
+ export type GetMyLinkedInPostsType = OpenEnum<typeof GetMyLinkedInPostsType>;
471
+ export type GetMyLinkedInPostsPost = {
472
+ postUrl: string;
473
+ text: string;
474
+ date: number;
475
+ likesCount: number;
476
+ commentsCount: number;
477
+ sharesCount: number;
478
+ postUrn: string;
479
+ postId: string;
480
+ type: GetMyLinkedInPostsType;
481
+ };
482
+ /**
483
+ * Paginated list of the user's own posts
484
+ */
485
+ export type GetMyLinkedInPostsResponse = {
486
+ success: boolean;
487
+ posts: Array<GetMyLinkedInPostsPost>;
488
+ count: number;
489
+ total: number;
490
+ start: number;
491
+ hasMore: boolean;
492
+ paginationToken: string | null;
493
+ /**
494
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
495
+ */
496
+ creditsUsed: number;
497
+ /**
498
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
499
+ */
500
+ retryAfter: number;
501
+ };
502
+ export type GetMyLinkedInFollowersRequest = {
503
+ /**
504
+ * Pagination offset (default 0).
505
+ */
506
+ start?: number | undefined;
507
+ /**
508
+ * Number of followers to fetch per page (default 10, max 50).
509
+ */
510
+ count?: number | undefined;
511
+ };
512
+ export type Follower = {
513
+ name: string;
514
+ headline: string | null;
515
+ profileUrl: string | null;
516
+ profilePicture: string | null;
517
+ followerCount: number | null;
518
+ /**
519
+ * Whether you follow this person back
520
+ */
521
+ following: boolean;
522
+ };
523
+ /**
524
+ * Paginated list of followers
525
+ */
526
+ export type GetMyLinkedInFollowersResponse = {
527
+ success: boolean;
528
+ followers: Array<Follower>;
529
+ count: number;
530
+ /**
531
+ * Total reported by LinkedIn (capped at ~1000)
532
+ */
533
+ totalFollowers: number;
534
+ start: number;
535
+ hasMore: boolean;
536
+ /**
537
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
538
+ */
539
+ creditsUsed: number;
540
+ /**
541
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
542
+ */
543
+ retryAfter: number;
544
+ };
545
+ /**
546
+ * Daily usage counter (resets at midnight UTC)
547
+ */
548
+ export type ConnectionRequestDaily = {
549
+ /**
550
+ * Number of actions used in this window
551
+ */
552
+ current: number;
553
+ /**
554
+ * Maximum allowed actions in this window (with multiplier applied)
555
+ */
556
+ limit: number;
557
+ /**
558
+ * Actions remaining before hitting the limit
559
+ */
560
+ remaining: number;
561
+ };
562
+ /**
563
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
564
+ */
565
+ export type ConnectionRequestWeekly = {
566
+ /**
567
+ * Number of actions used in this window
568
+ */
569
+ current: number;
570
+ /**
571
+ * Maximum allowed actions in this window (with multiplier applied)
572
+ */
573
+ limit: number;
574
+ /**
575
+ * Actions remaining before hitting the limit
576
+ */
577
+ remaining: number;
578
+ };
579
+ /**
580
+ * Limits for sending LinkedIn connection requests
581
+ */
582
+ export type ConnectionRequest = {
583
+ /**
584
+ * Daily usage counter (resets at midnight UTC)
585
+ */
586
+ daily: ConnectionRequestDaily;
587
+ /**
588
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
589
+ */
590
+ weekly: ConnectionRequestWeekly | null;
591
+ /**
592
+ * Minimum delay in seconds required between two consecutive actions of this type
593
+ */
594
+ minIntervalSeconds: number;
595
+ /**
596
+ * ISO 8601 timestamp of the next daily counter reset
597
+ */
598
+ nextResetDaily: Date;
599
+ /**
600
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
601
+ */
602
+ nextResetWeekly: Date | null;
603
+ };
604
+ /**
605
+ * Daily usage counter (resets at midnight UTC)
606
+ */
607
+ export type MessageDaily = {
608
+ /**
609
+ * Number of actions used in this window
610
+ */
611
+ current: number;
612
+ /**
613
+ * Maximum allowed actions in this window (with multiplier applied)
614
+ */
615
+ limit: number;
616
+ /**
617
+ * Actions remaining before hitting the limit
618
+ */
619
+ remaining: number;
620
+ };
621
+ /**
622
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
623
+ */
624
+ export type MessageWeekly = {
625
+ /**
626
+ * Number of actions used in this window
627
+ */
628
+ current: number;
629
+ /**
630
+ * Maximum allowed actions in this window (with multiplier applied)
631
+ */
632
+ limit: number;
633
+ /**
634
+ * Actions remaining before hitting the limit
635
+ */
636
+ remaining: number;
637
+ };
638
+ /**
639
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
640
+ */
641
+ export type GetMyLimitsMessage = {
642
+ /**
643
+ * Daily usage counter (resets at midnight UTC)
644
+ */
645
+ daily: MessageDaily;
646
+ /**
647
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
648
+ */
649
+ weekly: MessageWeekly | null;
650
+ /**
651
+ * Minimum delay in seconds required between two consecutive actions of this type
652
+ */
653
+ minIntervalSeconds: number;
654
+ /**
655
+ * ISO 8601 timestamp of the next daily counter reset
656
+ */
657
+ nextResetDaily: Date;
658
+ /**
659
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
660
+ */
661
+ nextResetWeekly: Date | null;
662
+ };
663
+ /**
664
+ * Daily usage counter (resets at midnight UTC)
665
+ */
666
+ export type ProfileVisitDaily = {
667
+ /**
668
+ * Number of actions used in this window
669
+ */
670
+ current: number;
671
+ /**
672
+ * Maximum allowed actions in this window (with multiplier applied)
673
+ */
674
+ limit: number;
675
+ /**
676
+ * Actions remaining before hitting the limit
677
+ */
678
+ remaining: number;
679
+ };
680
+ /**
681
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
682
+ */
683
+ export type ProfileVisitWeekly = {
684
+ /**
685
+ * Number of actions used in this window
686
+ */
687
+ current: number;
688
+ /**
689
+ * Maximum allowed actions in this window (with multiplier applied)
690
+ */
691
+ limit: number;
692
+ /**
693
+ * Actions remaining before hitting the limit
694
+ */
695
+ remaining: number;
696
+ };
697
+ /**
698
+ * Limits for visiting LinkedIn profiles and company pages
699
+ */
700
+ export type ProfileVisit = {
701
+ /**
702
+ * Daily usage counter (resets at midnight UTC)
703
+ */
704
+ daily: ProfileVisitDaily;
705
+ /**
706
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
707
+ */
708
+ weekly: ProfileVisitWeekly | null;
709
+ /**
710
+ * Minimum delay in seconds required between two consecutive actions of this type
711
+ */
712
+ minIntervalSeconds: number;
713
+ /**
714
+ * ISO 8601 timestamp of the next daily counter reset
715
+ */
716
+ nextResetDaily: Date;
717
+ /**
718
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
719
+ */
720
+ nextResetWeekly: Date | null;
721
+ };
722
+ /**
723
+ * Daily usage counter (resets at midnight UTC)
724
+ */
725
+ export type ScrapingDaily = {
726
+ /**
727
+ * Number of actions used in this window
728
+ */
729
+ current: number;
730
+ /**
731
+ * Maximum allowed actions in this window (with multiplier applied)
732
+ */
733
+ limit: number;
734
+ /**
735
+ * Actions remaining before hitting the limit
736
+ */
737
+ remaining: number;
738
+ };
739
+ /**
740
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
741
+ */
742
+ export type ScrapingWeekly = {
743
+ /**
744
+ * Number of actions used in this window
745
+ */
746
+ current: number;
747
+ /**
748
+ * Maximum allowed actions in this window (with multiplier applied)
749
+ */
750
+ limit: number;
751
+ /**
752
+ * Actions remaining before hitting the limit
753
+ */
754
+ remaining: number;
755
+ };
756
+ /**
757
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
758
+ */
759
+ export type Scraping = {
760
+ /**
761
+ * Daily usage counter (resets at midnight UTC)
762
+ */
763
+ daily: ScrapingDaily;
764
+ /**
765
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
766
+ */
767
+ weekly: ScrapingWeekly | null;
768
+ /**
769
+ * Minimum delay in seconds required between two consecutive actions of this type
770
+ */
771
+ minIntervalSeconds: number;
772
+ /**
773
+ * ISO 8601 timestamp of the next daily counter reset
774
+ */
775
+ nextResetDaily: Date;
776
+ /**
777
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
778
+ */
779
+ nextResetWeekly: Date | null;
780
+ };
781
+ export type Limits = {
782
+ /**
783
+ * Limits for sending LinkedIn connection requests
784
+ */
785
+ connectionRequest: ConnectionRequest;
786
+ /**
787
+ * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
788
+ */
789
+ message: GetMyLimitsMessage;
790
+ /**
791
+ * Limits for visiting LinkedIn profiles and company pages
792
+ */
793
+ profileVisit: ProfileVisit;
794
+ /**
795
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
796
+ */
797
+ scraping: Scraping;
798
+ };
799
+ /**
800
+ * Rate limit status for all action types
801
+ */
802
+ export type GetMyLimitsResponse = {
803
+ success: boolean;
804
+ /**
805
+ * Workspace limit multiplier applied to all base limits (default 1.0)
806
+ */
807
+ multiplier: number;
808
+ limits: Limits;
809
+ /**
810
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
811
+ */
812
+ creditsUsed: number;
813
+ /**
814
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
815
+ */
816
+ retryAfter: number;
817
+ };
818
+ export type Credits = {
819
+ /**
820
+ * Number of credits used in the current billing period
821
+ */
822
+ current: number;
823
+ /**
824
+ * Maximum credits available for the workspace
825
+ */
826
+ limit: number;
827
+ /**
828
+ * Credits remaining before hitting the limit
829
+ */
830
+ remaining: number;
831
+ /**
832
+ * Percentage of credits used (0-100, rounded to 2 decimal places)
833
+ */
834
+ percentage: number;
835
+ };
836
+ /**
837
+ * Credit balance for the workspace
838
+ */
839
+ export type GetMyCreditsResponse = {
840
+ success: boolean;
841
+ credits: Credits;
842
+ /**
843
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
844
+ */
845
+ creditsUsed: number;
846
+ /**
847
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
848
+ */
849
+ retryAfter: number;
850
+ };
851
+ export type ListInboxConversationsRequest = {
852
+ /**
853
+ * Pagination cursor from a previous response
854
+ */
855
+ nextCursor?: string | undefined;
856
+ };
857
+ export type ListInboxConversationsParticipant = {
858
+ profileUrn: string;
859
+ firstName: string;
860
+ lastName: string;
861
+ profileUrl: string;
862
+ headline: string | null;
863
+ profilePicture: string | null;
864
+ };
865
+ export type ListInboxConversationsLastMessage = {
866
+ text: string;
867
+ deliveredAt: number;
868
+ senderProfileUrn: string;
869
+ };
870
+ export type ListInboxConversationsConversation = {
871
+ conversationUrn: string;
872
+ conversationUrl: string;
873
+ lastActivityAt: number;
874
+ createdAt: number;
875
+ read: boolean;
876
+ unreadCount: number;
877
+ groupChat: boolean;
878
+ participants: Array<ListInboxConversationsParticipant>;
879
+ lastMessage: ListInboxConversationsLastMessage | null;
880
+ };
881
+ /**
882
+ * Inbox conversations
883
+ */
884
+ export type ListInboxConversationsResponse = {
885
+ success: boolean;
886
+ conversations: Array<ListInboxConversationsConversation>;
887
+ /**
888
+ * Cursor for fetching next page
889
+ */
890
+ nextCursor: string | null;
891
+ /**
892
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
893
+ */
894
+ creditsUsed: number;
895
+ /**
896
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
897
+ */
898
+ retryAfter: number;
899
+ };
900
+ export type SearchLinkedInConversationsRequest = {
901
+ /**
902
+ * Search keywords
903
+ */
904
+ keywords: string;
905
+ /**
906
+ * Pagination cursor from a previous response
907
+ */
908
+ nextCursor?: string | undefined;
909
+ };
910
+ export type SearchLinkedInConversationsParticipant = {
911
+ profileUrn: string;
912
+ firstName: string;
913
+ lastName: string;
914
+ profileUrl: string;
915
+ headline: string | null;
916
+ profilePicture: string | null;
917
+ };
918
+ export type SearchLinkedInConversationsLastMessage = {
919
+ text: string;
920
+ deliveredAt: number;
921
+ senderProfileUrn: string;
922
+ };
923
+ export type SearchLinkedInConversationsConversation = {
924
+ conversationUrn: string;
925
+ conversationUrl: string;
926
+ lastActivityAt: number;
927
+ createdAt: number;
928
+ read: boolean;
929
+ unreadCount: number;
930
+ groupChat: boolean;
931
+ participants: Array<SearchLinkedInConversationsParticipant>;
932
+ lastMessage: SearchLinkedInConversationsLastMessage | null;
933
+ };
934
+ /**
935
+ * Matching conversations
936
+ */
937
+ export type SearchLinkedInConversationsResponse = {
938
+ success: boolean;
939
+ conversations: Array<SearchLinkedInConversationsConversation>;
940
+ /**
941
+ * Cursor for fetching next page
942
+ */
943
+ nextCursor: string | null;
944
+ /**
945
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
946
+ */
947
+ creditsUsed: number;
948
+ /**
949
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
950
+ */
951
+ retryAfter: number;
952
+ };
953
+ export type FindLinkedInConversationRequest = {
954
+ /**
955
+ * Profile URL or URN (e.g. 'https://linkedin.com/in/marie-sandre' or 'urn:li:fsd_profile:ACoAA...'). Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
956
+ */
957
+ profile: string;
958
+ /**
959
+ * If true, also return the conversation's recent messages (0 extra credits).
960
+ */
961
+ includeMessages?: boolean | undefined;
962
+ };
963
+ export type FindLinkedInConversationParticipant = {
964
+ profileUrn: string;
965
+ firstName: string;
966
+ lastName: string;
967
+ profileUrl: string;
968
+ headline: string | null;
969
+ profilePicture: string | null;
970
+ };
971
+ export type FindLinkedInConversationLastMessage = {
972
+ text: string;
973
+ deliveredAt: number;
974
+ senderProfileUrn: string;
975
+ };
976
+ export type FindLinkedInConversationConversation = {
977
+ conversationUrn: string;
978
+ conversationUrl: string;
979
+ lastActivityAt: number;
980
+ createdAt: number;
981
+ read: boolean;
982
+ unreadCount: number;
983
+ groupChat: boolean;
984
+ participants: Array<FindLinkedInConversationParticipant>;
985
+ lastMessage: FindLinkedInConversationLastMessage | null;
986
+ };
987
+ export type FindLinkedInConversationSender = {
988
+ firstName: string;
989
+ lastName: string;
990
+ profileUrl: string;
991
+ headline: string | null;
992
+ profilePicture: string | null;
993
+ };
994
+ export declare const FindLinkedInConversationType: {
995
+ readonly Audio: "audio";
996
+ readonly SharedPost: "shared_post";
997
+ readonly RepliedMessage: "replied_message";
998
+ readonly Image: "image";
999
+ readonly File: "file";
1000
+ readonly Unknown: "unknown";
1001
+ };
1002
+ export type FindLinkedInConversationType = OpenEnum<typeof FindLinkedInConversationType>;
1003
+ export type FindLinkedInConversationAttachment = {
1004
+ type: FindLinkedInConversationType;
1005
+ audioUrl?: string | undefined;
1006
+ audioDuration?: number | undefined;
1007
+ hostUrn?: string | undefined;
1008
+ repliedText?: string | undefined;
1009
+ repliedSenderName?: string | undefined;
1010
+ imageUrl?: string | undefined;
1011
+ fileName?: string | undefined;
1012
+ fileUrl?: string | undefined;
1013
+ };
1014
+ export type FindLinkedInConversationMessage = {
1015
+ messageUrn: string;
1016
+ text: string;
1017
+ deliveredAt: number;
1018
+ senderProfileUrn: string;
1019
+ sender: FindLinkedInConversationSender;
1020
+ attachments: Array<FindLinkedInConversationAttachment>;
1021
+ };
1022
+ /**
1023
+ * Conversation found (or not)
1024
+ */
1025
+ export type FindLinkedInConversationResponse = {
1026
+ success: boolean;
1027
+ found: boolean;
1028
+ conversation: FindLinkedInConversationConversation | null;
1029
+ messages: Array<FindLinkedInConversationMessage> | null;
1030
+ /**
1031
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1032
+ */
1033
+ creditsUsed: number;
1034
+ /**
1035
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1036
+ */
1037
+ retryAfter: number;
1038
+ };
1039
+ export type GetConversationMessagesRequest = {
1040
+ /**
1041
+ * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1042
+ */
1043
+ conversationUrn: string;
1044
+ /**
1045
+ * Timestamp (ms) of the oldest message from previous page — pass this to load older messages
1046
+ */
1047
+ deliveredAt?: number | undefined;
1048
+ };
1049
+ export type GetConversationMessagesSender = {
1050
+ firstName: string;
1051
+ lastName: string;
1052
+ profileUrl: string;
1053
+ headline: string | null;
1054
+ profilePicture: string | null;
1055
+ };
1056
+ export declare const GetConversationMessagesType: {
1057
+ readonly Audio: "audio";
1058
+ readonly SharedPost: "shared_post";
1059
+ readonly RepliedMessage: "replied_message";
1060
+ readonly Image: "image";
1061
+ readonly File: "file";
1062
+ readonly Unknown: "unknown";
1063
+ };
1064
+ export type GetConversationMessagesType = OpenEnum<typeof GetConversationMessagesType>;
1065
+ export type GetConversationMessagesAttachment = {
1066
+ type: GetConversationMessagesType;
1067
+ audioUrl?: string | undefined;
1068
+ audioDuration?: number | undefined;
1069
+ hostUrn?: string | undefined;
1070
+ repliedText?: string | undefined;
1071
+ repliedSenderName?: string | undefined;
1072
+ imageUrl?: string | undefined;
1073
+ fileName?: string | undefined;
1074
+ fileUrl?: string | undefined;
1075
+ };
1076
+ export type GetConversationMessagesMessage = {
1077
+ messageUrn: string;
1078
+ text: string;
1079
+ deliveredAt: number;
1080
+ senderProfileUrn: string;
1081
+ sender: GetConversationMessagesSender;
1082
+ attachments: Array<GetConversationMessagesAttachment>;
1083
+ };
1084
+ /**
1085
+ * Conversation messages
1086
+ */
1087
+ export type GetConversationMessagesResponse = {
1088
+ success: boolean;
1089
+ messages: Array<GetConversationMessagesMessage>;
1090
+ /**
1091
+ * deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
1092
+ */
1093
+ prevCursor: number | null;
1094
+ /**
1095
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1096
+ */
1097
+ creditsUsed: number;
1098
+ /**
1099
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1100
+ */
1101
+ retryAfter: number;
1102
+ };
1103
+ export type FilterCampaignRequest = {
1104
+ /**
1105
+ * Unique identifier for the automation campaign (e.g., 'lead-magnet-post-12345', 'outreach-webinar-feb')
1106
+ */
1107
+ campaignSlug: string;
1108
+ /**
1109
+ * Comma-separated list of action slugs to check (e.g., 'send-mp-john-doe,like-comment-abc123')
1110
+ */
1111
+ actionSlugs: string;
1112
+ };
1113
+ export type CheckedSlug = {
1114
+ actionSlug: string;
1115
+ completed: boolean;
1116
+ };
1117
+ /**
1118
+ * Filter status with checked slugs
1119
+ */
1120
+ export type FilterCampaignResponse = {
1121
+ /**
1122
+ * True if all actionSlugs have been completed for this campaign, meaning the entire flow can be skipped
1123
+ */
1124
+ filtered: boolean;
1125
+ /**
1126
+ * Status of each action slug — completed means the action was already executed for this campaign
1127
+ */
1128
+ checkedSlugs: Array<CheckedSlug>;
1129
+ /**
1130
+ * Credits consumed by this call (always 0 for campaign queries).
1131
+ */
1132
+ creditsUsed: number;
1133
+ /**
1134
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1135
+ */
1136
+ retryAfter: number;
1137
+ };
1138
+ export type GetCampaignStatusRequestBody = {
1139
+ /**
1140
+ * LinkedIn profile URLs or URNs to check status for within this campaign.
1141
+ */
1142
+ profiles: Array<string>;
1143
+ };
1144
+ export type GetCampaignStatusRequest = {
1145
+ /**
1146
+ * Campaign identifier
1147
+ */
1148
+ campaignSlug: string;
1149
+ body: GetCampaignStatusRequestBody;
1150
+ };
1151
+ export type GetCampaignStatusProfile = {
1152
+ profile: string;
1153
+ message: boolean;
1154
+ reply: boolean;
1155
+ like: boolean;
1156
+ visit: boolean;
1157
+ connect: boolean;
1158
+ };
1159
+ /**
1160
+ * Per-profile action completion status
1161
+ */
1162
+ export type GetCampaignStatusResponse = {
1163
+ success: boolean;
1164
+ profiles: Array<GetCampaignStatusProfile>;
1165
+ /**
1166
+ * Credits consumed by this call (always 0 for campaign queries).
1167
+ */
1168
+ creditsUsed: number;
1169
+ /**
1170
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1171
+ */
1172
+ retryAfter: number;
1173
+ };
1174
+ export declare const Action: {
1175
+ readonly Message: "message";
1176
+ readonly Reply: "reply";
1177
+ readonly Like: "like";
1178
+ readonly Visit: "visit";
1179
+ readonly Connect: "connect";
1180
+ };
1181
+ export type Action = ClosedEnum<typeof Action>;
1182
+ export type SyncCampaignActionsProfile = {
1183
+ /**
1184
+ * LinkedIn profile URL or URN
1185
+ */
1186
+ profile: string;
1187
+ /**
1188
+ * Action types to mark as completed
1189
+ */
1190
+ actions: Array<Action>;
1191
+ };
1192
+ export type SyncCampaignActionsRequestBody = {
1193
+ /**
1194
+ * Profiles and actions to mark as completed without performing them on LinkedIn.
1195
+ */
1196
+ profiles: Array<SyncCampaignActionsProfile>;
1197
+ };
1198
+ export type SyncCampaignActionsRequest = {
1199
+ /**
1200
+ * Campaign identifier
1201
+ */
1202
+ campaignSlug: string;
1203
+ body: SyncCampaignActionsRequestBody;
1204
+ };
1205
+ export type Synced = {
1206
+ profile: string;
1207
+ actions: {
1208
+ [k: string]: boolean;
1209
+ };
1210
+ };
1211
+ /**
1212
+ * Actions marked as completed
1213
+ */
1214
+ export type SyncCampaignActionsResponse = {
1215
+ success: boolean;
1216
+ synced: Array<Synced>;
1217
+ /**
1218
+ * Credits consumed by this call (always 0 for campaign queries).
1219
+ */
1220
+ creditsUsed: number;
1221
+ /**
1222
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1223
+ */
1224
+ retryAfter: number;
1225
+ };
1226
+ export type GetCampaignStatsRequestBody = {};
1227
+ export type GetCampaignStatsRequest = {
1228
+ /**
1229
+ * Campaign identifier
1230
+ */
1231
+ campaignSlug: string;
1232
+ body?: GetCampaignStatsRequestBody | undefined;
1233
+ };
1234
+ /**
1235
+ * Aggregate campaign statistics
1236
+ */
1237
+ export type GetCampaignStatsResponse = {
1238
+ success: boolean;
1239
+ /**
1240
+ * Per-action-type counts (e.g. message: 45, reply: 120)
1241
+ */
1242
+ stats: {
1243
+ [k: string]: number;
1244
+ };
1245
+ /**
1246
+ * Unique profiles processed in this campaign
1247
+ */
1248
+ totalProfiles: number;
1249
+ /**
1250
+ * Total credits consumed by this campaign (sum of action counts). Also serves as the per-call creditsUsed (always 0 for this endpoint).
1251
+ */
1252
+ creditsUsed: number;
1253
+ /**
1254
+ * Seconds to wait before next call of the same type (always 0 for campaign queries).
1255
+ */
1256
+ retryAfter: number;
1257
+ };
1258
+ /** @internal */
1259
+ export type ReplyToLinkedInCommentRequest$Outbound = {
1260
+ commentUrn: string;
1261
+ message: string;
1262
+ campaignSlug?: string | undefined;
1263
+ actionSlug?: string | undefined;
1264
+ };
1265
+ /** @internal */
1266
+ export declare const ReplyToLinkedInCommentRequest$outboundSchema: z.ZodMiniType<ReplyToLinkedInCommentRequest$Outbound, ReplyToLinkedInCommentRequest>;
1267
+ export declare function replyToLinkedInCommentRequestToJSON(replyToLinkedInCommentRequest: ReplyToLinkedInCommentRequest): string;
1268
+ /** @internal */
1269
+ export declare const ReplyToLinkedInCommentResponse$inboundSchema: z.ZodMiniType<ReplyToLinkedInCommentResponse, unknown>;
1270
+ export declare function replyToLinkedInCommentResponseFromJSON(jsonString: string): SafeParseResult<ReplyToLinkedInCommentResponse, SDKValidationError>;
1271
+ /** @internal */
1272
+ export declare const ReactionType$outboundSchema: z.ZodMiniEnum<typeof ReactionType>;
1273
+ /** @internal */
1274
+ export type LikeLinkedInCommentRequest$Outbound = {
1275
+ commentUrn: string;
1276
+ reactionType: string;
1277
+ campaignSlug?: string | undefined;
1278
+ actionSlug?: string | undefined;
1279
+ };
1280
+ /** @internal */
1281
+ export declare const LikeLinkedInCommentRequest$outboundSchema: z.ZodMiniType<LikeLinkedInCommentRequest$Outbound, LikeLinkedInCommentRequest>;
1282
+ export declare function likeLinkedInCommentRequestToJSON(likeLinkedInCommentRequest: LikeLinkedInCommentRequest): string;
1283
+ /** @internal */
1284
+ export declare const LikeLinkedInCommentResponse$inboundSchema: z.ZodMiniType<LikeLinkedInCommentResponse, unknown>;
1285
+ export declare function likeLinkedInCommentResponseFromJSON(jsonString: string): SafeParseResult<LikeLinkedInCommentResponse, SDKValidationError>;
1286
+ /** @internal */
1287
+ export declare const Mode$outboundSchema: z.ZodMiniEnum<typeof Mode>;
1288
+ /** @internal */
1289
+ export declare const Visibility$outboundSchema: z.ZodMiniEnum<typeof Visibility>;
1290
+ /** @internal */
1291
+ export type Mention$Outbound = {
1292
+ profileUrn: string;
1293
+ start: number;
1294
+ length: number;
1295
+ };
1296
+ /** @internal */
1297
+ export declare const Mention$outboundSchema: z.ZodMiniType<Mention$Outbound, Mention>;
1298
+ export declare function mentionToJSON(mention: Mention): string;
1299
+ /** @internal */
1300
+ export type PublishLinkedInPostRequest$Outbound = {
1301
+ text: string;
1302
+ mode: string;
1303
+ scheduledAt?: number | undefined;
1304
+ imageUrl?: string | undefined;
1305
+ visibility: string;
1306
+ mentions?: Array<Mention$Outbound> | undefined;
1307
+ campaignSlug?: string | undefined;
1308
+ actionSlug?: string | undefined;
1309
+ };
1310
+ /** @internal */
1311
+ export declare const PublishLinkedInPostRequest$outboundSchema: z.ZodMiniType<PublishLinkedInPostRequest$Outbound, PublishLinkedInPostRequest>;
1312
+ export declare function publishLinkedInPostRequestToJSON(publishLinkedInPostRequest: PublishLinkedInPostRequest): string;
1313
+ /** @internal */
1314
+ export declare const PublishLinkedInPostResponse$inboundSchema: z.ZodMiniType<PublishLinkedInPostResponse, unknown>;
1315
+ export declare function publishLinkedInPostResponseFromJSON(jsonString: string): SafeParseResult<PublishLinkedInPostResponse, SDKValidationError>;
1316
+ /** @internal */
1317
+ export declare const GetMyLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePositionStartDate, unknown>;
1318
+ export declare function getMyLinkedInProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePositionStartDate, SDKValidationError>;
1319
+ /** @internal */
1320
+ export declare const GetMyLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePositionEndDate, unknown>;
1321
+ export declare function getMyLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePositionEndDate, SDKValidationError>;
1322
+ /** @internal */
1323
+ export declare const GetMyLinkedInProfilePosition$inboundSchema: z.ZodMiniType<GetMyLinkedInProfilePosition, unknown>;
1324
+ export declare function getMyLinkedInProfilePositionFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfilePosition, SDKValidationError>;
1325
+ /** @internal */
1326
+ export declare const GetMyLinkedInProfileEducationStartDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducationStartDate, unknown>;
1327
+ export declare function getMyLinkedInProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducationStartDate, SDKValidationError>;
1328
+ /** @internal */
1329
+ export declare const GetMyLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducationEndDate, unknown>;
1330
+ export declare function getMyLinkedInProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducationEndDate, SDKValidationError>;
1331
+ /** @internal */
1332
+ export declare const GetMyLinkedInProfileEducation$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileEducation, unknown>;
1333
+ export declare function getMyLinkedInProfileEducationFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileEducation, SDKValidationError>;
1334
+ /** @internal */
1335
+ export declare const GetMyLinkedInProfileLocation$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileLocation, unknown>;
1336
+ export declare function getMyLinkedInProfileLocationFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileLocation, SDKValidationError>;
1337
+ /** @internal */
1338
+ export declare const GetMyLinkedInProfileType$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileType, unknown>;
1339
+ /** @internal */
1340
+ export declare const GetMyLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileLastPost, unknown>;
1341
+ export declare function getMyLinkedInProfileLastPostFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileLastPost, SDKValidationError>;
1342
+ /** @internal */
1343
+ export declare const GetMyLinkedInProfileResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInProfileResponse, unknown>;
1344
+ export declare function getMyLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInProfileResponse, SDKValidationError>;
1345
+ /** @internal */
1346
+ export declare const RefreshMyLinkedInProfilePositionStartDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePositionStartDate, unknown>;
1347
+ export declare function refreshMyLinkedInProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePositionStartDate, SDKValidationError>;
1348
+ /** @internal */
1349
+ export declare const RefreshMyLinkedInProfilePositionEndDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePositionEndDate, unknown>;
1350
+ export declare function refreshMyLinkedInProfilePositionEndDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePositionEndDate, SDKValidationError>;
1351
+ /** @internal */
1352
+ export declare const RefreshMyLinkedInProfilePosition$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfilePosition, unknown>;
1353
+ export declare function refreshMyLinkedInProfilePositionFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfilePosition, SDKValidationError>;
1354
+ /** @internal */
1355
+ export declare const RefreshMyLinkedInProfileEducationStartDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducationStartDate, unknown>;
1356
+ export declare function refreshMyLinkedInProfileEducationStartDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducationStartDate, SDKValidationError>;
1357
+ /** @internal */
1358
+ export declare const RefreshMyLinkedInProfileEducationEndDate$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducationEndDate, unknown>;
1359
+ export declare function refreshMyLinkedInProfileEducationEndDateFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducationEndDate, SDKValidationError>;
1360
+ /** @internal */
1361
+ export declare const RefreshMyLinkedInProfileEducation$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileEducation, unknown>;
1362
+ export declare function refreshMyLinkedInProfileEducationFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileEducation, SDKValidationError>;
1363
+ /** @internal */
1364
+ export declare const RefreshMyLinkedInProfileLocation$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileLocation, unknown>;
1365
+ export declare function refreshMyLinkedInProfileLocationFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileLocation, SDKValidationError>;
1366
+ /** @internal */
1367
+ export declare const RefreshMyLinkedInProfileType$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileType, unknown>;
1368
+ /** @internal */
1369
+ export declare const RefreshMyLinkedInProfileLastPost$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileLastPost, unknown>;
1370
+ export declare function refreshMyLinkedInProfileLastPostFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileLastPost, SDKValidationError>;
1371
+ /** @internal */
1372
+ export declare const RefreshMyLinkedInProfileResponse$inboundSchema: z.ZodMiniType<RefreshMyLinkedInProfileResponse, unknown>;
1373
+ export declare function refreshMyLinkedInProfileResponseFromJSON(jsonString: string): SafeParseResult<RefreshMyLinkedInProfileResponse, SDKValidationError>;
1374
+ /** @internal */
1375
+ export type GetMyLinkedInPostsRequest$Outbound = {
1376
+ count?: number | undefined;
1377
+ start?: number | undefined;
1378
+ paginationToken?: string | undefined;
1379
+ };
1380
+ /** @internal */
1381
+ export declare const GetMyLinkedInPostsRequest$outboundSchema: z.ZodMiniType<GetMyLinkedInPostsRequest$Outbound, GetMyLinkedInPostsRequest>;
1382
+ export declare function getMyLinkedInPostsRequestToJSON(getMyLinkedInPostsRequest: GetMyLinkedInPostsRequest): string;
1383
+ /** @internal */
1384
+ export declare const GetMyLinkedInPostsType$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsType, unknown>;
1385
+ /** @internal */
1386
+ export declare const GetMyLinkedInPostsPost$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsPost, unknown>;
1387
+ export declare function getMyLinkedInPostsPostFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInPostsPost, SDKValidationError>;
1388
+ /** @internal */
1389
+ export declare const GetMyLinkedInPostsResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInPostsResponse, unknown>;
1390
+ export declare function getMyLinkedInPostsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInPostsResponse, SDKValidationError>;
1391
+ /** @internal */
1392
+ export type GetMyLinkedInFollowersRequest$Outbound = {
1393
+ start?: number | undefined;
1394
+ count?: number | undefined;
1395
+ };
1396
+ /** @internal */
1397
+ export declare const GetMyLinkedInFollowersRequest$outboundSchema: z.ZodMiniType<GetMyLinkedInFollowersRequest$Outbound, GetMyLinkedInFollowersRequest>;
1398
+ export declare function getMyLinkedInFollowersRequestToJSON(getMyLinkedInFollowersRequest: GetMyLinkedInFollowersRequest): string;
1399
+ /** @internal */
1400
+ export declare const Follower$inboundSchema: z.ZodMiniType<Follower, unknown>;
1401
+ export declare function followerFromJSON(jsonString: string): SafeParseResult<Follower, SDKValidationError>;
1402
+ /** @internal */
1403
+ export declare const GetMyLinkedInFollowersResponse$inboundSchema: z.ZodMiniType<GetMyLinkedInFollowersResponse, unknown>;
1404
+ export declare function getMyLinkedInFollowersResponseFromJSON(jsonString: string): SafeParseResult<GetMyLinkedInFollowersResponse, SDKValidationError>;
1405
+ /** @internal */
1406
+ export declare const ConnectionRequestDaily$inboundSchema: z.ZodMiniType<ConnectionRequestDaily, unknown>;
1407
+ export declare function connectionRequestDailyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestDaily, SDKValidationError>;
1408
+ /** @internal */
1409
+ export declare const ConnectionRequestWeekly$inboundSchema: z.ZodMiniType<ConnectionRequestWeekly, unknown>;
1410
+ export declare function connectionRequestWeeklyFromJSON(jsonString: string): SafeParseResult<ConnectionRequestWeekly, SDKValidationError>;
1411
+ /** @internal */
1412
+ export declare const ConnectionRequest$inboundSchema: z.ZodMiniType<ConnectionRequest, unknown>;
1413
+ export declare function connectionRequestFromJSON(jsonString: string): SafeParseResult<ConnectionRequest, SDKValidationError>;
1414
+ /** @internal */
1415
+ export declare const MessageDaily$inboundSchema: z.ZodMiniType<MessageDaily, unknown>;
1416
+ export declare function messageDailyFromJSON(jsonString: string): SafeParseResult<MessageDaily, SDKValidationError>;
1417
+ /** @internal */
1418
+ export declare const MessageWeekly$inboundSchema: z.ZodMiniType<MessageWeekly, unknown>;
1419
+ export declare function messageWeeklyFromJSON(jsonString: string): SafeParseResult<MessageWeekly, SDKValidationError>;
1420
+ /** @internal */
1421
+ export declare const GetMyLimitsMessage$inboundSchema: z.ZodMiniType<GetMyLimitsMessage, unknown>;
1422
+ export declare function getMyLimitsMessageFromJSON(jsonString: string): SafeParseResult<GetMyLimitsMessage, SDKValidationError>;
1423
+ /** @internal */
1424
+ export declare const ProfileVisitDaily$inboundSchema: z.ZodMiniType<ProfileVisitDaily, unknown>;
1425
+ export declare function profileVisitDailyFromJSON(jsonString: string): SafeParseResult<ProfileVisitDaily, SDKValidationError>;
1426
+ /** @internal */
1427
+ export declare const ProfileVisitWeekly$inboundSchema: z.ZodMiniType<ProfileVisitWeekly, unknown>;
1428
+ export declare function profileVisitWeeklyFromJSON(jsonString: string): SafeParseResult<ProfileVisitWeekly, SDKValidationError>;
1429
+ /** @internal */
1430
+ export declare const ProfileVisit$inboundSchema: z.ZodMiniType<ProfileVisit, unknown>;
1431
+ export declare function profileVisitFromJSON(jsonString: string): SafeParseResult<ProfileVisit, SDKValidationError>;
1432
+ /** @internal */
1433
+ export declare const ScrapingDaily$inboundSchema: z.ZodMiniType<ScrapingDaily, unknown>;
1434
+ export declare function scrapingDailyFromJSON(jsonString: string): SafeParseResult<ScrapingDaily, SDKValidationError>;
1435
+ /** @internal */
1436
+ export declare const ScrapingWeekly$inboundSchema: z.ZodMiniType<ScrapingWeekly, unknown>;
1437
+ export declare function scrapingWeeklyFromJSON(jsonString: string): SafeParseResult<ScrapingWeekly, SDKValidationError>;
1438
+ /** @internal */
1439
+ export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
1440
+ export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
1441
+ /** @internal */
1442
+ export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
1443
+ export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
1444
+ /** @internal */
1445
+ export declare const GetMyLimitsResponse$inboundSchema: z.ZodMiniType<GetMyLimitsResponse, unknown>;
1446
+ export declare function getMyLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetMyLimitsResponse, SDKValidationError>;
1447
+ /** @internal */
1448
+ export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
1449
+ export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
1450
+ /** @internal */
1451
+ export declare const GetMyCreditsResponse$inboundSchema: z.ZodMiniType<GetMyCreditsResponse, unknown>;
1452
+ export declare function getMyCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetMyCreditsResponse, SDKValidationError>;
1453
+ /** @internal */
1454
+ export type ListInboxConversationsRequest$Outbound = {
1455
+ nextCursor?: string | undefined;
1456
+ };
1457
+ /** @internal */
1458
+ export declare const ListInboxConversationsRequest$outboundSchema: z.ZodMiniType<ListInboxConversationsRequest$Outbound, ListInboxConversationsRequest>;
1459
+ export declare function listInboxConversationsRequestToJSON(listInboxConversationsRequest: ListInboxConversationsRequest): string;
1460
+ /** @internal */
1461
+ export declare const ListInboxConversationsParticipant$inboundSchema: z.ZodMiniType<ListInboxConversationsParticipant, unknown>;
1462
+ export declare function listInboxConversationsParticipantFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsParticipant, SDKValidationError>;
1463
+ /** @internal */
1464
+ export declare const ListInboxConversationsLastMessage$inboundSchema: z.ZodMiniType<ListInboxConversationsLastMessage, unknown>;
1465
+ export declare function listInboxConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsLastMessage, SDKValidationError>;
1466
+ /** @internal */
1467
+ export declare const ListInboxConversationsConversation$inboundSchema: z.ZodMiniType<ListInboxConversationsConversation, unknown>;
1468
+ export declare function listInboxConversationsConversationFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsConversation, SDKValidationError>;
1469
+ /** @internal */
1470
+ export declare const ListInboxConversationsResponse$inboundSchema: z.ZodMiniType<ListInboxConversationsResponse, unknown>;
1471
+ export declare function listInboxConversationsResponseFromJSON(jsonString: string): SafeParseResult<ListInboxConversationsResponse, SDKValidationError>;
1472
+ /** @internal */
1473
+ export type SearchLinkedInConversationsRequest$Outbound = {
1474
+ keywords: string;
1475
+ nextCursor?: string | undefined;
1476
+ };
1477
+ /** @internal */
1478
+ export declare const SearchLinkedInConversationsRequest$outboundSchema: z.ZodMiniType<SearchLinkedInConversationsRequest$Outbound, SearchLinkedInConversationsRequest>;
1479
+ export declare function searchLinkedInConversationsRequestToJSON(searchLinkedInConversationsRequest: SearchLinkedInConversationsRequest): string;
1480
+ /** @internal */
1481
+ export declare const SearchLinkedInConversationsParticipant$inboundSchema: z.ZodMiniType<SearchLinkedInConversationsParticipant, unknown>;
1482
+ export declare function searchLinkedInConversationsParticipantFromJSON(jsonString: string): SafeParseResult<SearchLinkedInConversationsParticipant, SDKValidationError>;
1483
+ /** @internal */
1484
+ export declare const SearchLinkedInConversationsLastMessage$inboundSchema: z.ZodMiniType<SearchLinkedInConversationsLastMessage, unknown>;
1485
+ export declare function searchLinkedInConversationsLastMessageFromJSON(jsonString: string): SafeParseResult<SearchLinkedInConversationsLastMessage, SDKValidationError>;
1486
+ /** @internal */
1487
+ export declare const SearchLinkedInConversationsConversation$inboundSchema: z.ZodMiniType<SearchLinkedInConversationsConversation, unknown>;
1488
+ export declare function searchLinkedInConversationsConversationFromJSON(jsonString: string): SafeParseResult<SearchLinkedInConversationsConversation, SDKValidationError>;
1489
+ /** @internal */
1490
+ export declare const SearchLinkedInConversationsResponse$inboundSchema: z.ZodMiniType<SearchLinkedInConversationsResponse, unknown>;
1491
+ export declare function searchLinkedInConversationsResponseFromJSON(jsonString: string): SafeParseResult<SearchLinkedInConversationsResponse, SDKValidationError>;
1492
+ /** @internal */
1493
+ export type FindLinkedInConversationRequest$Outbound = {
1494
+ profile: string;
1495
+ includeMessages: boolean;
1496
+ };
1497
+ /** @internal */
1498
+ export declare const FindLinkedInConversationRequest$outboundSchema: z.ZodMiniType<FindLinkedInConversationRequest$Outbound, FindLinkedInConversationRequest>;
1499
+ export declare function findLinkedInConversationRequestToJSON(findLinkedInConversationRequest: FindLinkedInConversationRequest): string;
1500
+ /** @internal */
1501
+ export declare const FindLinkedInConversationParticipant$inboundSchema: z.ZodMiniType<FindLinkedInConversationParticipant, unknown>;
1502
+ export declare function findLinkedInConversationParticipantFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationParticipant, SDKValidationError>;
1503
+ /** @internal */
1504
+ export declare const FindLinkedInConversationLastMessage$inboundSchema: z.ZodMiniType<FindLinkedInConversationLastMessage, unknown>;
1505
+ export declare function findLinkedInConversationLastMessageFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationLastMessage, SDKValidationError>;
1506
+ /** @internal */
1507
+ export declare const FindLinkedInConversationConversation$inboundSchema: z.ZodMiniType<FindLinkedInConversationConversation, unknown>;
1508
+ export declare function findLinkedInConversationConversationFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationConversation, SDKValidationError>;
1509
+ /** @internal */
1510
+ export declare const FindLinkedInConversationSender$inboundSchema: z.ZodMiniType<FindLinkedInConversationSender, unknown>;
1511
+ export declare function findLinkedInConversationSenderFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationSender, SDKValidationError>;
1512
+ /** @internal */
1513
+ export declare const FindLinkedInConversationType$inboundSchema: z.ZodMiniType<FindLinkedInConversationType, unknown>;
1514
+ /** @internal */
1515
+ export declare const FindLinkedInConversationAttachment$inboundSchema: z.ZodMiniType<FindLinkedInConversationAttachment, unknown>;
1516
+ export declare function findLinkedInConversationAttachmentFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationAttachment, SDKValidationError>;
1517
+ /** @internal */
1518
+ export declare const FindLinkedInConversationMessage$inboundSchema: z.ZodMiniType<FindLinkedInConversationMessage, unknown>;
1519
+ export declare function findLinkedInConversationMessageFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationMessage, SDKValidationError>;
1520
+ /** @internal */
1521
+ export declare const FindLinkedInConversationResponse$inboundSchema: z.ZodMiniType<FindLinkedInConversationResponse, unknown>;
1522
+ export declare function findLinkedInConversationResponseFromJSON(jsonString: string): SafeParseResult<FindLinkedInConversationResponse, SDKValidationError>;
1523
+ /** @internal */
1524
+ export type GetConversationMessagesRequest$Outbound = {
1525
+ conversationUrn: string;
1526
+ deliveredAt?: number | undefined;
1527
+ };
1528
+ /** @internal */
1529
+ export declare const GetConversationMessagesRequest$outboundSchema: z.ZodMiniType<GetConversationMessagesRequest$Outbound, GetConversationMessagesRequest>;
1530
+ export declare function getConversationMessagesRequestToJSON(getConversationMessagesRequest: GetConversationMessagesRequest): string;
1531
+ /** @internal */
1532
+ export declare const GetConversationMessagesSender$inboundSchema: z.ZodMiniType<GetConversationMessagesSender, unknown>;
1533
+ export declare function getConversationMessagesSenderFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesSender, SDKValidationError>;
1534
+ /** @internal */
1535
+ export declare const GetConversationMessagesType$inboundSchema: z.ZodMiniType<GetConversationMessagesType, unknown>;
1536
+ /** @internal */
1537
+ export declare const GetConversationMessagesAttachment$inboundSchema: z.ZodMiniType<GetConversationMessagesAttachment, unknown>;
1538
+ export declare function getConversationMessagesAttachmentFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesAttachment, SDKValidationError>;
1539
+ /** @internal */
1540
+ export declare const GetConversationMessagesMessage$inboundSchema: z.ZodMiniType<GetConversationMessagesMessage, unknown>;
1541
+ export declare function getConversationMessagesMessageFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesMessage, SDKValidationError>;
1542
+ /** @internal */
1543
+ export declare const GetConversationMessagesResponse$inboundSchema: z.ZodMiniType<GetConversationMessagesResponse, unknown>;
1544
+ export declare function getConversationMessagesResponseFromJSON(jsonString: string): SafeParseResult<GetConversationMessagesResponse, SDKValidationError>;
1545
+ /** @internal */
1546
+ export type FilterCampaignRequest$Outbound = {
1547
+ campaignSlug: string;
1548
+ actionSlugs: string;
1549
+ };
1550
+ /** @internal */
1551
+ export declare const FilterCampaignRequest$outboundSchema: z.ZodMiniType<FilterCampaignRequest$Outbound, FilterCampaignRequest>;
1552
+ export declare function filterCampaignRequestToJSON(filterCampaignRequest: FilterCampaignRequest): string;
1553
+ /** @internal */
1554
+ export declare const CheckedSlug$inboundSchema: z.ZodMiniType<CheckedSlug, unknown>;
1555
+ export declare function checkedSlugFromJSON(jsonString: string): SafeParseResult<CheckedSlug, SDKValidationError>;
1556
+ /** @internal */
1557
+ export declare const FilterCampaignResponse$inboundSchema: z.ZodMiniType<FilterCampaignResponse, unknown>;
1558
+ export declare function filterCampaignResponseFromJSON(jsonString: string): SafeParseResult<FilterCampaignResponse, SDKValidationError>;
1559
+ /** @internal */
1560
+ export type GetCampaignStatusRequestBody$Outbound = {
1561
+ profiles: Array<string>;
1562
+ };
1563
+ /** @internal */
1564
+ export declare const GetCampaignStatusRequestBody$outboundSchema: z.ZodMiniType<GetCampaignStatusRequestBody$Outbound, GetCampaignStatusRequestBody>;
1565
+ export declare function getCampaignStatusRequestBodyToJSON(getCampaignStatusRequestBody: GetCampaignStatusRequestBody): string;
1566
+ /** @internal */
1567
+ export type GetCampaignStatusRequest$Outbound = {
1568
+ campaignSlug: string;
1569
+ body: GetCampaignStatusRequestBody$Outbound;
1570
+ };
1571
+ /** @internal */
1572
+ export declare const GetCampaignStatusRequest$outboundSchema: z.ZodMiniType<GetCampaignStatusRequest$Outbound, GetCampaignStatusRequest>;
1573
+ export declare function getCampaignStatusRequestToJSON(getCampaignStatusRequest: GetCampaignStatusRequest): string;
1574
+ /** @internal */
1575
+ export declare const GetCampaignStatusProfile$inboundSchema: z.ZodMiniType<GetCampaignStatusProfile, unknown>;
1576
+ export declare function getCampaignStatusProfileFromJSON(jsonString: string): SafeParseResult<GetCampaignStatusProfile, SDKValidationError>;
1577
+ /** @internal */
1578
+ export declare const GetCampaignStatusResponse$inboundSchema: z.ZodMiniType<GetCampaignStatusResponse, unknown>;
1579
+ export declare function getCampaignStatusResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignStatusResponse, SDKValidationError>;
1580
+ /** @internal */
1581
+ export declare const Action$outboundSchema: z.ZodMiniEnum<typeof Action>;
1582
+ /** @internal */
1583
+ export type SyncCampaignActionsProfile$Outbound = {
1584
+ profile: string;
1585
+ actions: Array<string>;
1586
+ };
1587
+ /** @internal */
1588
+ export declare const SyncCampaignActionsProfile$outboundSchema: z.ZodMiniType<SyncCampaignActionsProfile$Outbound, SyncCampaignActionsProfile>;
1589
+ export declare function syncCampaignActionsProfileToJSON(syncCampaignActionsProfile: SyncCampaignActionsProfile): string;
1590
+ /** @internal */
1591
+ export type SyncCampaignActionsRequestBody$Outbound = {
1592
+ profiles: Array<SyncCampaignActionsProfile$Outbound>;
1593
+ };
1594
+ /** @internal */
1595
+ export declare const SyncCampaignActionsRequestBody$outboundSchema: z.ZodMiniType<SyncCampaignActionsRequestBody$Outbound, SyncCampaignActionsRequestBody>;
1596
+ export declare function syncCampaignActionsRequestBodyToJSON(syncCampaignActionsRequestBody: SyncCampaignActionsRequestBody): string;
1597
+ /** @internal */
1598
+ export type SyncCampaignActionsRequest$Outbound = {
1599
+ campaignSlug: string;
1600
+ body: SyncCampaignActionsRequestBody$Outbound;
1601
+ };
1602
+ /** @internal */
1603
+ export declare const SyncCampaignActionsRequest$outboundSchema: z.ZodMiniType<SyncCampaignActionsRequest$Outbound, SyncCampaignActionsRequest>;
1604
+ export declare function syncCampaignActionsRequestToJSON(syncCampaignActionsRequest: SyncCampaignActionsRequest): string;
1605
+ /** @internal */
1606
+ export declare const Synced$inboundSchema: z.ZodMiniType<Synced, unknown>;
1607
+ export declare function syncedFromJSON(jsonString: string): SafeParseResult<Synced, SDKValidationError>;
1608
+ /** @internal */
1609
+ export declare const SyncCampaignActionsResponse$inboundSchema: z.ZodMiniType<SyncCampaignActionsResponse, unknown>;
1610
+ export declare function syncCampaignActionsResponseFromJSON(jsonString: string): SafeParseResult<SyncCampaignActionsResponse, SDKValidationError>;
1611
+ /** @internal */
1612
+ export type GetCampaignStatsRequestBody$Outbound = {};
1613
+ /** @internal */
1614
+ export declare const GetCampaignStatsRequestBody$outboundSchema: z.ZodMiniType<GetCampaignStatsRequestBody$Outbound, GetCampaignStatsRequestBody>;
1615
+ export declare function getCampaignStatsRequestBodyToJSON(getCampaignStatsRequestBody: GetCampaignStatsRequestBody): string;
1616
+ /** @internal */
1617
+ export type GetCampaignStatsRequest$Outbound = {
1618
+ campaignSlug: string;
1619
+ body?: GetCampaignStatsRequestBody$Outbound | undefined;
1620
+ };
1621
+ /** @internal */
1622
+ export declare const GetCampaignStatsRequest$outboundSchema: z.ZodMiniType<GetCampaignStatsRequest$Outbound, GetCampaignStatsRequest>;
1623
+ export declare function getCampaignStatsRequestToJSON(getCampaignStatsRequest: GetCampaignStatsRequest): string;
1624
+ /** @internal */
1625
+ export declare const GetCampaignStatsResponse$inboundSchema: z.ZodMiniType<GetCampaignStatsResponse, unknown>;
1626
+ export declare function getCampaignStatsResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignStatsResponse, SDKValidationError>;
1627
+ //# sourceMappingURL=get-campaign-stats-response.d.ts.map