bereach 1.4.2 → 1.5.0

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 (288) hide show
  1. package/README.md +71 -5
  2. package/esm/funcs/actions-connect-profile.d.ts +1 -1
  3. package/esm/funcs/actions-connect-profile.js +1 -1
  4. package/esm/funcs/actions-edit-profile.d.ts +18 -0
  5. package/esm/funcs/actions-edit-profile.d.ts.map +1 -0
  6. package/esm/funcs/actions-edit-profile.js +97 -0
  7. package/esm/funcs/actions-edit-profile.js.map +1 -0
  8. package/esm/funcs/chat-get-conversation-summary.d.ts +18 -0
  9. package/esm/funcs/chat-get-conversation-summary.d.ts.map +1 -0
  10. package/esm/funcs/chat-get-conversation-summary.js +100 -0
  11. package/esm/funcs/chat-get-conversation-summary.js.map +1 -0
  12. package/esm/funcs/chat-list-inbox.d.ts +1 -1
  13. package/esm/funcs/chat-list-inbox.js +1 -1
  14. package/esm/funcs/chat-save-conversation-summary.d.ts +18 -0
  15. package/esm/funcs/chat-save-conversation-summary.d.ts.map +1 -0
  16. package/esm/funcs/chat-save-conversation-summary.js +97 -0
  17. package/esm/funcs/chat-save-conversation-summary.js.map +1 -0
  18. package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
  19. package/esm/funcs/company-pages-get-analytics.js +1 -1
  20. package/esm/funcs/connectors-agent-snapshot.d.ts +18 -0
  21. package/esm/funcs/connectors-agent-snapshot.d.ts.map +1 -0
  22. package/esm/funcs/connectors-agent-snapshot.js +86 -0
  23. package/esm/funcs/connectors-agent-snapshot.js.map +1 -0
  24. package/esm/funcs/connectors-connector-heartbeat.d.ts +18 -0
  25. package/esm/funcs/connectors-connector-heartbeat.d.ts.map +1 -0
  26. package/esm/funcs/connectors-connector-heartbeat.js +99 -0
  27. package/esm/funcs/connectors-connector-heartbeat.js.map +1 -0
  28. package/esm/funcs/connectors-list-connectors.d.ts +18 -0
  29. package/esm/funcs/connectors-list-connectors.d.ts.map +1 -0
  30. package/esm/funcs/connectors-list-connectors.js +86 -0
  31. package/esm/funcs/connectors-list-connectors.js.map +1 -0
  32. package/esm/funcs/connectors-pull-task.d.ts +18 -0
  33. package/esm/funcs/connectors-pull-task.d.ts.map +1 -0
  34. package/esm/funcs/connectors-pull-task.js +86 -0
  35. package/esm/funcs/connectors-pull-task.js.map +1 -0
  36. package/esm/funcs/connectors-submit-task-result.d.ts +18 -0
  37. package/esm/funcs/connectors-submit-task-result.d.ts.map +1 -0
  38. package/esm/funcs/connectors-submit-task-result.js +103 -0
  39. package/esm/funcs/connectors-submit-task-result.js.map +1 -0
  40. package/esm/funcs/contacts-global-activities.d.ts +18 -0
  41. package/esm/funcs/contacts-global-activities.d.ts.map +1 -0
  42. package/esm/funcs/contacts-global-activities.js +105 -0
  43. package/esm/funcs/contacts-global-activities.js.map +1 -0
  44. package/esm/funcs/profile-create-api-token.d.ts +18 -0
  45. package/esm/funcs/profile-create-api-token.d.ts.map +1 -0
  46. package/esm/funcs/profile-create-api-token.js +99 -0
  47. package/esm/funcs/profile-create-api-token.js.map +1 -0
  48. package/esm/funcs/profile-delete-api-token.d.ts +18 -0
  49. package/esm/funcs/profile-delete-api-token.d.ts.map +1 -0
  50. package/esm/funcs/profile-delete-api-token.js +99 -0
  51. package/esm/funcs/profile-delete-api-token.js.map +1 -0
  52. package/esm/funcs/profile-get-api-token.d.ts +18 -0
  53. package/esm/funcs/profile-get-api-token.d.ts.map +1 -0
  54. package/esm/funcs/profile-get-api-token.js +100 -0
  55. package/esm/funcs/profile-get-api-token.js.map +1 -0
  56. package/esm/funcs/profile-get-my-activity.d.ts +18 -0
  57. package/esm/funcs/profile-get-my-activity.d.ts.map +1 -0
  58. package/esm/funcs/profile-get-my-activity.js +104 -0
  59. package/esm/funcs/profile-get-my-activity.js.map +1 -0
  60. package/esm/funcs/profile-get-settings.d.ts +18 -0
  61. package/esm/funcs/profile-get-settings.d.ts.map +1 -0
  62. package/esm/funcs/profile-get-settings.js +86 -0
  63. package/esm/funcs/profile-get-settings.js.map +1 -0
  64. package/esm/funcs/profile-patch-settings.d.ts +18 -0
  65. package/esm/funcs/profile-patch-settings.d.ts.map +1 -0
  66. package/esm/funcs/profile-patch-settings.js +97 -0
  67. package/esm/funcs/profile-patch-settings.js.map +1 -0
  68. package/esm/funcs/profile-revalidate-linkedin.d.ts +18 -0
  69. package/esm/funcs/profile-revalidate-linkedin.d.ts.map +1 -0
  70. package/esm/funcs/profile-revalidate-linkedin.js +86 -0
  71. package/esm/funcs/profile-revalidate-linkedin.js.map +1 -0
  72. package/esm/funcs/sales-nav-search.d.ts +1 -1
  73. package/esm/funcs/sales-nav-search.js +1 -1
  74. package/esm/funcs/scheduled-messages-review-drafts.d.ts +18 -0
  75. package/esm/funcs/scheduled-messages-review-drafts.d.ts.map +1 -0
  76. package/esm/funcs/scheduled-messages-review-drafts.js +97 -0
  77. package/esm/funcs/scheduled-messages-review-drafts.js.map +1 -0
  78. package/esm/funcs/scrapers-collect-comment-replies.d.ts +1 -1
  79. package/esm/funcs/scrapers-collect-comment-replies.js +1 -1
  80. package/esm/funcs/scrapers-collect-comments.d.ts +1 -1
  81. package/esm/funcs/scrapers-collect-comments.js +1 -1
  82. package/esm/funcs/scrapers-collect-likes.d.ts +1 -1
  83. package/esm/funcs/scrapers-collect-likes.js +1 -1
  84. package/esm/funcs/scrapers-visit-profile.d.ts +2 -0
  85. package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
  86. package/esm/funcs/scrapers-visit-profile.js +2 -0
  87. package/esm/funcs/scrapers-visit-profile.js.map +1 -1
  88. package/esm/funcs/search-people.d.ts +2 -2
  89. package/esm/funcs/search-people.js +2 -2
  90. package/esm/funcs/search-search.d.ts +1 -1
  91. package/esm/funcs/search-search.js +1 -1
  92. package/esm/funcs/settings-get-dm-polling-settings.d.ts +18 -0
  93. package/esm/funcs/settings-get-dm-polling-settings.d.ts.map +1 -0
  94. package/esm/funcs/settings-get-dm-polling-settings.js +86 -0
  95. package/esm/funcs/settings-get-dm-polling-settings.js.map +1 -0
  96. package/esm/funcs/settings-patch-dm-polling-settings.d.ts +18 -0
  97. package/esm/funcs/settings-patch-dm-polling-settings.d.ts.map +1 -0
  98. package/esm/funcs/settings-patch-dm-polling-settings.js +97 -0
  99. package/esm/funcs/settings-patch-dm-polling-settings.js.map +1 -0
  100. package/esm/funcs/tasks-cancel-chain.d.ts +18 -0
  101. package/esm/funcs/tasks-cancel-chain.d.ts.map +1 -0
  102. package/esm/funcs/tasks-cancel-chain.js +102 -0
  103. package/esm/funcs/tasks-cancel-chain.js.map +1 -0
  104. package/esm/funcs/tasks-cancel-task.d.ts +18 -0
  105. package/esm/funcs/tasks-cancel-task.d.ts.map +1 -0
  106. package/esm/funcs/tasks-cancel-task.js +102 -0
  107. package/esm/funcs/tasks-cancel-task.js.map +1 -0
  108. package/esm/funcs/tasks-events-feed.d.ts +18 -0
  109. package/esm/funcs/tasks-events-feed.d.ts.map +1 -0
  110. package/esm/funcs/tasks-events-feed.js +101 -0
  111. package/esm/funcs/tasks-events-feed.js.map +1 -0
  112. package/esm/funcs/tasks-list-tasks.d.ts +18 -0
  113. package/esm/funcs/tasks-list-tasks.d.ts.map +1 -0
  114. package/esm/funcs/tasks-list-tasks.js +104 -0
  115. package/esm/funcs/tasks-list-tasks.js.map +1 -0
  116. package/esm/funcs/workspace-create-workspace-invite.d.ts +18 -0
  117. package/esm/funcs/workspace-create-workspace-invite.d.ts.map +1 -0
  118. package/esm/funcs/workspace-create-workspace-invite.js +97 -0
  119. package/esm/funcs/workspace-create-workspace-invite.js.map +1 -0
  120. package/esm/funcs/workspace-delete-workspace-account.d.ts +18 -0
  121. package/esm/funcs/workspace-delete-workspace-account.d.ts.map +1 -0
  122. package/esm/funcs/workspace-delete-workspace-account.js +102 -0
  123. package/esm/funcs/workspace-delete-workspace-account.js.map +1 -0
  124. package/esm/funcs/workspace-delete-workspace-invite.d.ts +18 -0
  125. package/esm/funcs/workspace-delete-workspace-invite.d.ts.map +1 -0
  126. package/esm/funcs/workspace-delete-workspace-invite.js +97 -0
  127. package/esm/funcs/workspace-delete-workspace-invite.js.map +1 -0
  128. package/esm/funcs/workspace-upgrade-workspace-account.d.ts +18 -0
  129. package/esm/funcs/workspace-upgrade-workspace-account.d.ts.map +1 -0
  130. package/esm/funcs/workspace-upgrade-workspace-account.js +97 -0
  131. package/esm/funcs/workspace-upgrade-workspace-account.js.map +1 -0
  132. package/esm/hooks/hooks.d.ts.map +1 -1
  133. package/esm/hooks/hooks.js +0 -2
  134. package/esm/hooks/hooks.js.map +1 -1
  135. package/esm/lib/config.d.ts +5 -5
  136. package/esm/lib/config.d.ts.map +1 -1
  137. package/esm/lib/config.js +6 -6
  138. package/esm/lib/config.js.map +1 -1
  139. package/esm/lib/encodings.d.ts.map +1 -1
  140. package/esm/lib/encodings.js +20 -5
  141. package/esm/lib/encodings.js.map +1 -1
  142. package/esm/lib/security.d.ts +1 -1
  143. package/esm/lib/security.d.ts.map +1 -1
  144. package/esm/lib/security.js +19 -8
  145. package/esm/lib/security.js.map +1 -1
  146. package/esm/models/operations/{search-contacts-campaign.d.ts → archive-response.d.ts} +1174 -1151
  147. package/esm/models/operations/archive-response.d.ts.map +1 -0
  148. package/esm/models/operations/{search-contacts-campaign.js → archive-response.js} +456 -461
  149. package/esm/models/operations/archive-response.js.map +1 -0
  150. package/esm/models/operations/delete-workspace-invite-response.d.ts +1374 -0
  151. package/esm/models/operations/delete-workspace-invite-response.d.ts.map +1 -0
  152. package/esm/models/operations/delete-workspace-invite-response.js +901 -0
  153. package/esm/models/operations/delete-workspace-invite-response.js.map +1 -0
  154. package/esm/models/operations/{update-schedule-response.d.ts → get-by-url-campaign.d.ts} +1629 -1291
  155. package/esm/models/operations/get-by-url-campaign.d.ts.map +1 -0
  156. package/esm/models/operations/{update-schedule-response.js → get-by-url-campaign.js} +534 -341
  157. package/esm/models/operations/get-by-url-campaign.js.map +1 -0
  158. package/esm/models/operations/index.d.ts +4 -3
  159. package/esm/models/operations/index.d.ts.map +1 -1
  160. package/esm/models/operations/index.js +4 -3
  161. package/esm/models/operations/index.js.map +1 -1
  162. package/esm/models/operations/search-companies-response.d.ts +45 -12
  163. package/esm/models/operations/search-companies-response.d.ts.map +1 -1
  164. package/esm/models/operations/search-companies-response.js +10 -2
  165. package/esm/models/operations/search-companies-response.js.map +1 -1
  166. package/esm/models/operations/{update-account-response.d.ts → update-account-proxy-config-response.d.ts} +70 -38
  167. package/esm/models/operations/update-account-proxy-config-response.d.ts.map +1 -0
  168. package/esm/models/operations/{update-account-response.js → update-account-proxy-config-response.js} +27 -28
  169. package/esm/models/operations/update-account-proxy-config-response.js.map +1 -0
  170. package/esm/sdk/actions.d.ts +8 -1
  171. package/esm/sdk/actions.d.ts.map +1 -1
  172. package/esm/sdk/actions.js +11 -1
  173. package/esm/sdk/actions.js.map +1 -1
  174. package/esm/sdk/chat.d.ts +15 -1
  175. package/esm/sdk/chat.d.ts.map +1 -1
  176. package/esm/sdk/chat.js +21 -1
  177. package/esm/sdk/chat.js.map +1 -1
  178. package/esm/sdk/company-pages.d.ts +1 -1
  179. package/esm/sdk/company-pages.js +1 -1
  180. package/esm/sdk/connectors.d.ts +40 -0
  181. package/esm/sdk/connectors.d.ts.map +1 -0
  182. package/esm/sdk/connectors.js +58 -0
  183. package/esm/sdk/connectors.js.map +1 -0
  184. package/esm/sdk/contacts.d.ts +7 -0
  185. package/esm/sdk/contacts.d.ts.map +1 -1
  186. package/esm/sdk/contacts.js +10 -0
  187. package/esm/sdk/contacts.js.map +1 -1
  188. package/esm/sdk/profile.d.ts +49 -0
  189. package/esm/sdk/profile.d.ts.map +1 -1
  190. package/esm/sdk/profile.js +70 -0
  191. package/esm/sdk/profile.js.map +1 -1
  192. package/esm/sdk/sales-nav.d.ts +1 -1
  193. package/esm/sdk/sales-nav.js +1 -1
  194. package/esm/sdk/scheduled-messages.d.ts +7 -0
  195. package/esm/sdk/scheduled-messages.d.ts.map +1 -1
  196. package/esm/sdk/scheduled-messages.js +10 -0
  197. package/esm/sdk/scheduled-messages.js.map +1 -1
  198. package/esm/sdk/scrapers.d.ts +5 -3
  199. package/esm/sdk/scrapers.d.ts.map +1 -1
  200. package/esm/sdk/scrapers.js +5 -3
  201. package/esm/sdk/scrapers.js.map +1 -1
  202. package/esm/sdk/sdk.d.ts +12 -0
  203. package/esm/sdk/sdk.d.ts.map +1 -1
  204. package/esm/sdk/sdk.js +20 -0
  205. package/esm/sdk/sdk.js.map +1 -1
  206. package/esm/sdk/search.d.ts +3 -3
  207. package/esm/sdk/search.js +3 -3
  208. package/esm/sdk/settings.d.ts +19 -0
  209. package/esm/sdk/settings.d.ts.map +1 -0
  210. package/esm/sdk/settings.js +28 -0
  211. package/esm/sdk/settings.js.map +1 -0
  212. package/esm/sdk/tasks.d.ts +33 -0
  213. package/esm/sdk/tasks.d.ts.map +1 -0
  214. package/esm/sdk/tasks.js +48 -0
  215. package/esm/sdk/tasks.js.map +1 -0
  216. package/esm/sdk/workspace.d.ts +33 -0
  217. package/esm/sdk/workspace.d.ts.map +1 -0
  218. package/esm/sdk/workspace.js +48 -0
  219. package/esm/sdk/workspace.js.map +1 -0
  220. package/jsr.json +1 -1
  221. package/package.json +1 -1
  222. package/src/funcs/actions-connect-profile.ts +1 -1
  223. package/src/funcs/actions-edit-profile.ts +224 -0
  224. package/src/funcs/chat-get-conversation-summary.ts +229 -0
  225. package/src/funcs/chat-list-inbox.ts +1 -1
  226. package/src/funcs/chat-save-conversation-summary.ts +225 -0
  227. package/src/funcs/company-pages-get-analytics.ts +1 -1
  228. package/src/funcs/connectors-agent-snapshot.ts +205 -0
  229. package/src/funcs/connectors-connector-heartbeat.ts +230 -0
  230. package/src/funcs/connectors-list-connectors.ts +205 -0
  231. package/src/funcs/connectors-pull-task.ts +205 -0
  232. package/src/funcs/connectors-submit-task-result.ts +231 -0
  233. package/src/funcs/contacts-global-activities.ts +237 -0
  234. package/src/funcs/profile-create-api-token.ts +230 -0
  235. package/src/funcs/profile-delete-api-token.ts +230 -0
  236. package/src/funcs/profile-get-api-token.ts +229 -0
  237. package/src/funcs/profile-get-my-activity.ts +236 -0
  238. package/src/funcs/profile-get-settings.ts +205 -0
  239. package/src/funcs/profile-patch-settings.ts +224 -0
  240. package/src/funcs/profile-revalidate-linkedin.ts +205 -0
  241. package/src/funcs/sales-nav-search.ts +1 -1
  242. package/src/funcs/scheduled-messages-review-drafts.ts +224 -0
  243. package/src/funcs/scrapers-collect-comment-replies.ts +1 -1
  244. package/src/funcs/scrapers-collect-comments.ts +1 -1
  245. package/src/funcs/scrapers-collect-likes.ts +1 -1
  246. package/src/funcs/scrapers-visit-profile.ts +2 -0
  247. package/src/funcs/search-people.ts +2 -2
  248. package/src/funcs/search-search.ts +1 -1
  249. package/src/funcs/settings-get-dm-polling-settings.ts +205 -0
  250. package/src/funcs/settings-patch-dm-polling-settings.ts +225 -0
  251. package/src/funcs/tasks-cancel-chain.ts +229 -0
  252. package/src/funcs/tasks-cancel-task.ts +229 -0
  253. package/src/funcs/tasks-events-feed.ts +230 -0
  254. package/src/funcs/tasks-list-tasks.ts +233 -0
  255. package/src/funcs/workspace-create-workspace-invite.ts +225 -0
  256. package/src/funcs/workspace-delete-workspace-account.ts +230 -0
  257. package/src/funcs/workspace-delete-workspace-invite.ts +225 -0
  258. package/src/funcs/workspace-upgrade-workspace-account.ts +225 -0
  259. package/src/hooks/hooks.ts +0 -3
  260. package/src/lib/config.ts +6 -6
  261. package/src/lib/encodings.ts +23 -4
  262. package/src/lib/security.ts +14 -2
  263. package/src/models/operations/{search-contacts-campaign.ts → archive-response.ts} +2503 -2362
  264. package/src/models/operations/delete-workspace-invite-response.ts +2783 -0
  265. package/src/models/operations/{update-schedule-response.ts → get-by-url-campaign.ts} +3591 -2939
  266. package/src/models/operations/index.ts +4 -3
  267. package/src/models/operations/search-companies-response.ts +55 -14
  268. package/src/models/operations/{update-account-response.ts → update-account-proxy-config-response.ts} +112 -84
  269. package/src/sdk/actions.ts +19 -1
  270. package/src/sdk/chat.ts +37 -1
  271. package/src/sdk/company-pages.ts +1 -1
  272. package/src/sdk/connectors.ts +93 -0
  273. package/src/sdk/contacts.ts +18 -0
  274. package/src/sdk/profile.ts +122 -0
  275. package/src/sdk/sales-nav.ts +1 -1
  276. package/src/sdk/scheduled-messages.ts +18 -0
  277. package/src/sdk/scrapers.ts +5 -3
  278. package/src/sdk/sdk.ts +24 -0
  279. package/src/sdk/search.ts +3 -3
  280. package/src/sdk/settings.ts +43 -0
  281. package/src/sdk/tasks.ts +81 -0
  282. package/src/sdk/workspace.ts +81 -0
  283. package/esm/models/operations/search-contacts-campaign.d.ts.map +0 -1
  284. package/esm/models/operations/search-contacts-campaign.js.map +0 -1
  285. package/esm/models/operations/update-account-response.d.ts.map +0 -1
  286. package/esm/models/operations/update-account-response.js.map +0 -1
  287. package/esm/models/operations/update-schedule-response.d.ts.map +0 -1
  288. package/esm/models/operations/update-schedule-response.js.map +0 -1
@@ -2,6 +2,33 @@ import * as z from "zod/v4-mini";
2
2
  import { ClosedEnum, OpenEnum } from "../../types/enums.js";
3
3
  import { Result as SafeParseResult } from "../../types/fp.js";
4
4
  import { SDKValidationError } from "../errors/sdk-validation-error.js";
5
+ import { UpdateAccountProxyConfigResponse } from "./update-account-proxy-config-response.js";
6
+ export type UpdateAccountAccount = {
7
+ id: string;
8
+ label: string | null;
9
+ isDefault: boolean;
10
+ linkedinProfileId: string | null;
11
+ linkedinName: string | null;
12
+ headline: string | null;
13
+ profilePic: string | null;
14
+ isValid: boolean;
15
+ proxyConfig: UpdateAccountProxyConfigResponse | null;
16
+ };
17
+ /**
18
+ * Updated account
19
+ */
20
+ export type UpdateAccountResponse = {
21
+ success: true;
22
+ account: UpdateAccountAccount;
23
+ /**
24
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
25
+ */
26
+ creditsUsed: number;
27
+ /**
28
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
29
+ */
30
+ retryAfter: number;
31
+ };
5
32
  export type RefreshPositionStartDate = {
6
33
  month: number | null;
7
34
  year: number;
@@ -14,15 +41,15 @@ export type RefreshPosition = {
14
41
  companyName: string | null;
15
42
  title: string | null;
16
43
  /**
17
- * Position description / responsibilities text
44
+ * Position description / responsibilities text (only populated when includeAbout is true)
18
45
  */
19
- description: string | null;
46
+ description?: string | null | undefined;
20
47
  companyUrl: string | null;
21
48
  companyLogo: string | null;
22
49
  /**
23
- * Short description of the company (from LinkedIn company page)
50
+ * Short description of the company (only populated when includeAbout is true)
24
51
  */
25
- companyDescription: string | null;
52
+ companyDescription?: string | null | undefined;
26
53
  startDate: RefreshPositionStartDate | null;
27
54
  endDate: RefreshPositionEndDate | null;
28
55
  isCurrent: boolean;
@@ -101,6 +128,10 @@ export type RefreshLastPost = {
101
128
  postUrn: string;
102
129
  postId: string;
103
130
  type: RefreshType;
131
+ /**
132
+ * True when the post is a repost/reshare of another post. Absent for original posts.
133
+ */
134
+ isRepost?: boolean | undefined;
104
135
  /**
105
136
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
106
137
  */
@@ -155,6 +186,10 @@ export type RefreshResponse = {
155
186
  * Total LinkedIn connections
156
187
  */
157
188
  connectionsCount: number | null;
189
+ /**
190
+ * Total number of followers (populated during refresh)
191
+ */
192
+ followersCount?: number | null | undefined;
158
193
  /**
159
194
  * Profile location
160
195
  */
@@ -167,6 +202,14 @@ export type RefreshResponse = {
167
202
  * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
168
203
  */
169
204
  lastPosts?: Array<RefreshLastPost> | undefined;
205
+ /**
206
+ * Last 20 comments by the user (populated after /me/linkedin/activity?tabType=COMMENTS)
207
+ */
208
+ lastComments?: Array<any> | undefined;
209
+ /**
210
+ * Last reactions by the user (populated after /me/linkedin/activity?tabType=REACTIONS)
211
+ */
212
+ lastReactions?: Array<any> | undefined;
170
213
  refreshed: true;
171
214
  /**
172
215
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
@@ -241,6 +284,10 @@ export type GetMyPostsPost = {
241
284
  postUrn: string;
242
285
  postId: string;
243
286
  type: GetMyPostsType;
287
+ /**
288
+ * True when the post is a repost/reshare of another post. Absent for original posts.
289
+ */
290
+ isRepost?: boolean | undefined;
244
291
  /**
245
292
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
246
293
  */
@@ -318,7 +365,7 @@ export type GetFollowersResponse = {
318
365
  retryAfter: number;
319
366
  };
320
367
  /**
321
- * Daily usage counter (resets at midnight UTC)
368
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
322
369
  */
323
370
  export type ConnectionRequestDaily = {
324
371
  /**
@@ -356,9 +403,9 @@ export type ConnectionRequestWeekly = {
356
403
  */
357
404
  export type ConnectionRequest = {
358
405
  /**
359
- * Daily usage counter (resets at midnight UTC)
406
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
360
407
  */
361
- daily: ConnectionRequestDaily;
408
+ daily: ConnectionRequestDaily | null;
362
409
  /**
363
410
  * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
364
411
  */
@@ -368,16 +415,16 @@ export type ConnectionRequest = {
368
415
  */
369
416
  minIntervalSeconds: number;
370
417
  /**
371
- * ISO 8601 timestamp of the next daily counter reset
418
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
372
419
  */
373
- nextResetDaily: Date;
420
+ nextResetDaily: Date | null;
374
421
  /**
375
422
  * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
376
423
  */
377
424
  nextResetWeekly: Date | null;
378
425
  };
379
426
  /**
380
- * Daily usage counter (resets at midnight UTC)
427
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
381
428
  */
382
429
  export type MessageDaily = {
383
430
  /**
@@ -411,13 +458,13 @@ export type MessageWeekly = {
411
458
  remaining: number;
412
459
  };
413
460
  /**
414
- * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
461
+ * Limits for sending DMs
415
462
  */
416
463
  export type GetLimitsMessage = {
417
464
  /**
418
- * Daily usage counter (resets at midnight UTC)
465
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
419
466
  */
420
- daily: MessageDaily;
467
+ daily: MessageDaily | null;
421
468
  /**
422
469
  * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
423
470
  */
@@ -427,16 +474,16 @@ export type GetLimitsMessage = {
427
474
  */
428
475
  minIntervalSeconds: number;
429
476
  /**
430
- * ISO 8601 timestamp of the next daily counter reset
477
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
431
478
  */
432
- nextResetDaily: Date;
479
+ nextResetDaily: Date | null;
433
480
  /**
434
481
  * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
435
482
  */
436
483
  nextResetWeekly: Date | null;
437
484
  };
438
485
  /**
439
- * Daily usage counter (resets at midnight UTC)
486
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
440
487
  */
441
488
  export type ProfileVisitDaily = {
442
489
  /**
@@ -474,9 +521,9 @@ export type ProfileVisitWeekly = {
474
521
  */
475
522
  export type ProfileVisit = {
476
523
  /**
477
- * Daily usage counter (resets at midnight UTC)
524
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
478
525
  */
479
- daily: ProfileVisitDaily;
526
+ daily: ProfileVisitDaily | null;
480
527
  /**
481
528
  * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
482
529
  */
@@ -486,16 +533,16 @@ export type ProfileVisit = {
486
533
  */
487
534
  minIntervalSeconds: number;
488
535
  /**
489
- * ISO 8601 timestamp of the next daily counter reset
536
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
490
537
  */
491
- nextResetDaily: Date;
538
+ nextResetDaily: Date | null;
492
539
  /**
493
540
  * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
494
541
  */
495
542
  nextResetWeekly: Date | null;
496
543
  };
497
544
  /**
498
- * Daily usage counter (resets at midnight UTC)
545
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
499
546
  */
500
547
  export type ScrapingDaily = {
501
548
  /**
@@ -533,9 +580,9 @@ export type ScrapingWeekly = {
533
580
  */
534
581
  export type Scraping = {
535
582
  /**
536
- * Daily usage counter (resets at midnight UTC)
583
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
537
584
  */
538
- daily: ScrapingDaily;
585
+ daily: ScrapingDaily | null;
539
586
  /**
540
587
  * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
541
588
  */
@@ -545,377 +592,357 @@ export type Scraping = {
545
592
  */
546
593
  minIntervalSeconds: number;
547
594
  /**
548
- * ISO 8601 timestamp of the next daily counter reset
595
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
549
596
  */
550
- nextResetDaily: Date;
597
+ nextResetDaily: Date | null;
551
598
  /**
552
599
  * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
553
600
  */
554
601
  nextResetWeekly: Date | null;
555
602
  };
556
- export type Limits = {
557
- /**
558
- * Limits for sending LinkedIn connection requests
559
- */
560
- connectionRequest: ConnectionRequest;
603
+ /**
604
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
605
+ */
606
+ export type PostDaily = {
561
607
  /**
562
- * Limits for social engagement actions: sending messages, publishing posts, replying to comments, liking comments
608
+ * Number of actions used in this window
563
609
  */
564
- message: GetLimitsMessage;
610
+ current: number;
565
611
  /**
566
- * Limits for visiting LinkedIn profiles and company pages
612
+ * Maximum allowed actions in this window (with multiplier applied)
567
613
  */
568
- profileVisit: ProfileVisit;
614
+ limit: number;
569
615
  /**
570
- * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
616
+ * Actions remaining before hitting the limit
571
617
  */
572
- scraping: Scraping;
618
+ remaining: number;
573
619
  };
574
620
  /**
575
- * Rate limit status for all action types
621
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
576
622
  */
577
- export type GetLimitsResponse = {
578
- success: true;
623
+ export type PostWeekly = {
579
624
  /**
580
- * Workspace limit multiplier applied to all base limits (default 1.0)
625
+ * Number of actions used in this window
581
626
  */
582
- multiplier: number;
583
- limits: Limits;
627
+ current: number;
584
628
  /**
585
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
629
+ * Maximum allowed actions in this window (with multiplier applied)
586
630
  */
587
- creditsUsed: number;
631
+ limit: number;
588
632
  /**
589
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
633
+ * Actions remaining before hitting the limit
590
634
  */
591
- retryAfter: number;
635
+ remaining: number;
592
636
  };
593
- export type Credits = {
637
+ /**
638
+ * Limits for publishing LinkedIn posts
639
+ */
640
+ export type GetLimitsPost = {
594
641
  /**
595
- * Number of credits used in the current billing period
642
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
596
643
  */
597
- current: number;
644
+ daily: PostDaily | null;
598
645
  /**
599
- * Maximum credits available for the workspace, or null if unlimited
646
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
600
647
  */
601
- limit: number | null;
648
+ weekly: PostWeekly | null;
602
649
  /**
603
- * Credits remaining before hitting the limit, or null if unlimited
650
+ * Minimum delay in seconds required between two consecutive actions of this type
604
651
  */
605
- remaining: number | null;
652
+ minIntervalSeconds: number;
606
653
  /**
607
- * Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
654
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
608
655
  */
609
- percentage: number;
656
+ nextResetDaily: Date | null;
610
657
  /**
611
- * Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
658
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
612
659
  */
613
- isUnlimited: boolean;
660
+ nextResetWeekly: Date | null;
614
661
  };
615
662
  /**
616
- * Credit balance for the workspace
663
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
617
664
  */
618
- export type GetCreditsResponse = {
619
- success: true;
620
- credits: Credits;
665
+ export type AcceptInvitationDaily2 = {
621
666
  /**
622
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
667
+ * Number of actions used in this window
623
668
  */
624
- creditsUsed: number;
669
+ current: number;
625
670
  /**
626
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
671
+ * Maximum allowed actions in this window (with multiplier applied)
627
672
  */
628
- retryAfter: number;
629
- };
630
- export type GetProfileViewsRequest = {};
631
- export type ViewedAt = number | string;
632
- export type View = {
633
- entityUrn: string;
634
- viewedAt: number | string | null;
635
- viewer: string | null;
636
- headline: string | null;
637
- navigationUrl: string | null;
673
+ limit: number;
674
+ /**
675
+ * Actions remaining before hitting the limit
676
+ */
677
+ remaining: number;
638
678
  };
639
679
  /**
640
- * Profile viewers
680
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
641
681
  */
642
- export type GetProfileViewsResponse = {
643
- success: true;
644
- views: Array<View>;
645
- total: number;
682
+ export type AcceptInvitationWeekly2 = {
646
683
  /**
647
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
684
+ * Number of actions used in this window
648
685
  */
649
- creditsUsed: number;
686
+ current: number;
650
687
  /**
651
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
688
+ * Maximum allowed actions in this window (with multiplier applied)
652
689
  */
653
- retryAfter: number;
690
+ limit: number;
691
+ /**
692
+ * Actions remaining before hitting the limit
693
+ */
694
+ remaining: number;
654
695
  };
655
- export type GetSearchAppearancesRequest = {};
656
- export type Appearances = {
657
- count: number;
696
+ /**
697
+ * Limits for accepting connection invitations
698
+ */
699
+ export type AcceptInvitation = {
658
700
  /**
659
- * Top search keywords that led to your profile
701
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
660
702
  */
661
- keywords: Array<any>;
703
+ daily: AcceptInvitationDaily2 | null;
662
704
  /**
663
- * Companies of people who found you
705
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
664
706
  */
665
- companies: Array<any>;
707
+ weekly: AcceptInvitationWeekly2 | null;
708
+ /**
709
+ * Minimum delay in seconds required between two consecutive actions of this type
710
+ */
711
+ minIntervalSeconds: number;
712
+ /**
713
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
714
+ */
715
+ nextResetDaily: Date | null;
666
716
  /**
667
- * Raw LinkedIn API response
717
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
668
718
  */
669
- raw: any;
719
+ nextResetWeekly: Date | null;
670
720
  };
671
721
  /**
672
- * Search appearance stats
722
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
673
723
  */
674
- export type GetSearchAppearancesResponse = {
675
- success: true;
676
- appearances: Appearances;
724
+ export type CommentPostDaily = {
677
725
  /**
678
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
726
+ * Number of actions used in this window
679
727
  */
680
- creditsUsed: number;
728
+ current: number;
681
729
  /**
682
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
730
+ * Maximum allowed actions in this window (with multiplier applied)
683
731
  */
684
- retryAfter: number;
685
- };
686
- export type GetPostAnalyticsRequest = {
732
+ limit: number;
687
733
  /**
688
- * LinkedIn post URL or URN
734
+ * Actions remaining before hitting the limit
689
735
  */
690
- postUrl: string;
691
- };
692
- export type GetPostAnalyticsAnalytics = {
693
- reactions: number;
694
- comments: number;
695
- postUrn: string;
736
+ remaining: number;
696
737
  };
697
738
  /**
698
- * Post analytics
739
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
699
740
  */
700
- export type GetPostAnalyticsResponse = {
701
- success: true;
702
- analytics: GetPostAnalyticsAnalytics;
741
+ export type CommentPostWeekly = {
703
742
  /**
704
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
743
+ * Number of actions used in this window
705
744
  */
706
- creditsUsed: number;
745
+ current: number;
707
746
  /**
708
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
747
+ * Maximum allowed actions in this window (with multiplier applied)
709
748
  */
710
- retryAfter: number;
711
- };
712
- export type GetFollowerAnalyticsRequest = {};
713
- /**
714
- * Follower count and optional growth/demographics data from LinkedIn
715
- */
716
- export type GetFollowerAnalyticsAnalytics = {
717
- count: number;
718
- [additionalProperties: string]: unknown;
749
+ limit: number;
750
+ /**
751
+ * Actions remaining before hitting the limit
752
+ */
753
+ remaining: number;
719
754
  };
720
755
  /**
721
- * Follower analytics
756
+ * Limits for commenting on posts
722
757
  */
723
- export type GetFollowerAnalyticsResponse = {
724
- success: true;
758
+ export type CommentPost = {
725
759
  /**
726
- * Follower count and optional growth/demographics data from LinkedIn
760
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
727
761
  */
728
- analytics: GetFollowerAnalyticsAnalytics;
762
+ daily: CommentPostDaily | null;
729
763
  /**
730
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
764
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
731
765
  */
732
- creditsUsed: number;
766
+ weekly: CommentPostWeekly | null;
733
767
  /**
734
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
768
+ * Minimum delay in seconds required between two consecutive actions of this type
735
769
  */
736
- retryAfter: number;
737
- };
738
- export type SwitchAccountRequest = {
770
+ minIntervalSeconds: number;
739
771
  /**
740
- * The LinkedIn credentials ID to switch to (from listAccounts)
772
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
741
773
  */
742
- credentialsId: string;
743
- };
744
- /**
745
- * Switched account summary
746
- */
747
- export type SwitchAccountAccount = {
748
- id: string;
749
- name: string;
750
- avatar: string | null;
751
- plan: string;
774
+ nextResetDaily: Date | null;
775
+ /**
776
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
777
+ */
778
+ nextResetWeekly: Date | null;
752
779
  };
753
780
  /**
754
- * Account switched
781
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
755
782
  */
756
- export type SwitchAccountResponse = {
757
- success: true;
783
+ export type ReplyCommentDaily = {
758
784
  /**
759
- * Switched account summary
785
+ * Number of actions used in this window
760
786
  */
761
- account: SwitchAccountAccount;
787
+ current: number;
762
788
  /**
763
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
789
+ * Maximum allowed actions in this window (with multiplier applied)
764
790
  */
765
- creditsUsed: number;
791
+ limit: number;
766
792
  /**
767
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
793
+ * Actions remaining before hitting the limit
768
794
  */
769
- retryAfter: number;
795
+ remaining: number;
770
796
  };
771
797
  /**
772
- * Sort order (default RECENTLY_ADDED)
798
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
773
799
  */
774
- export declare const SortType: {
775
- readonly RecentlyAdded: "RECENTLY_ADDED";
800
+ export type ReplyCommentWeekly = {
801
+ /**
802
+ * Number of actions used in this window
803
+ */
804
+ current: number;
805
+ /**
806
+ * Maximum allowed actions in this window (with multiplier applied)
807
+ */
808
+ limit: number;
809
+ /**
810
+ * Actions remaining before hitting the limit
811
+ */
812
+ remaining: number;
776
813
  };
777
814
  /**
778
- * Sort order (default RECENTLY_ADDED)
815
+ * Limits for replying to comments
779
816
  */
780
- export type SortType = ClosedEnum<typeof SortType>;
781
- export type ListConnectionsRequest = {
817
+ export type ReplyComment = {
782
818
  /**
783
- * Pagination offset
819
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
784
820
  */
785
- start?: number | undefined;
821
+ daily: ReplyCommentDaily | null;
786
822
  /**
787
- * Results per page (max 40)
823
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
788
824
  */
789
- count?: number | undefined;
790
- /**
791
- * Sort order (default RECENTLY_ADDED)
792
- */
793
- sortType?: SortType | undefined;
825
+ weekly: ReplyCommentWeekly | null;
794
826
  /**
795
- * Filter connections by name
827
+ * Minimum delay in seconds required between two consecutive actions of this type
796
828
  */
797
- keywords?: string | undefined;
798
- };
799
- export type Connection = {
800
- name: string;
801
- headline: string | null;
802
- profileUrl: string | null;
803
- imageUrl: string | null;
829
+ minIntervalSeconds: number;
804
830
  /**
805
- * Vanity slug from profile URL (e.g. john-doe) when not URN-based
831
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
806
832
  */
807
- publicIdentifier: string | null;
833
+ nextResetDaily: Date | null;
808
834
  /**
809
- * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
835
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
810
836
  */
811
- profileUrn: string | null;
812
- connectedAt: string | null;
837
+ nextResetWeekly: Date | null;
813
838
  };
814
839
  /**
815
- * Connections list
840
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
816
841
  */
817
- export type ListConnectionsResponse = {
818
- success: true;
819
- connections: Array<Connection>;
820
- count: number;
821
- start: number;
822
- total: number;
823
- hasMore: boolean;
842
+ export type ChatSearchDaily = {
824
843
  /**
825
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
844
+ * Number of actions used in this window
826
845
  */
827
- creditsUsed: number;
846
+ current: number;
828
847
  /**
829
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
848
+ * Maximum allowed actions in this window (with multiplier applied)
830
849
  */
831
- retryAfter: number;
850
+ limit: number;
851
+ /**
852
+ * Actions remaining before hitting the limit
853
+ */
854
+ remaining: number;
832
855
  };
833
- export type Page = {
856
+ /**
857
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
858
+ */
859
+ export type ChatSearchWeekly = {
834
860
  /**
835
- * LinkedIn numeric company ID.
861
+ * Number of actions used in this window
836
862
  */
837
- id: string;
863
+ current: number;
838
864
  /**
839
- * Company URL slug (e.g. 'openai').
865
+ * Maximum allowed actions in this window (with multiplier applied)
840
866
  */
841
- universalName: string;
842
- name: string;
843
- url: string;
844
- logoUrl: string | null;
845
- followerCount: number | null;
846
- industry: string | null;
847
- employeeCount: number | null;
867
+ limit: number;
848
868
  /**
849
- * Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
869
+ * Actions remaining before hitting the limit
850
870
  */
851
- adminRole: string | null;
871
+ remaining: number;
852
872
  };
853
873
  /**
854
- * List of managed company pages
874
+ * Limits for searching chat conversations
855
875
  */
856
- export type ListPagesResponse = {
857
- success: true;
858
- pages: Array<Page>;
859
- total: number;
876
+ export type ChatSearch = {
860
877
  /**
861
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
878
+ * Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
862
879
  */
863
- creditsUsed: number;
880
+ daily: ChatSearchDaily | null;
864
881
  /**
865
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
882
+ * Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
866
883
  */
867
- retryAfter: number;
868
- };
869
- export type GetCompanyPostsRequest = {
884
+ weekly: ChatSearchWeekly | null;
870
885
  /**
871
- * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
886
+ * Minimum delay in seconds required between two consecutive actions of this type
872
887
  */
873
- universalName: string;
888
+ minIntervalSeconds: number;
874
889
  /**
875
- * Number of posts to return (max 50).
890
+ * ISO 8601 timestamp of the next daily counter reset. Null if not configured.
876
891
  */
877
- count?: number | undefined;
892
+ nextResetDaily: Date | null;
878
893
  /**
879
- * Pagination offset.
894
+ * ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
880
895
  */
881
- start?: number | undefined;
896
+ nextResetWeekly: Date | null;
882
897
  };
883
- export type GetCompanyPostsPost = {
898
+ export type Limits = {
884
899
  /**
885
- * LinkedIn activity URN for this post.
900
+ * Limits for sending LinkedIn connection requests
886
901
  */
887
- activityUrn: string;
902
+ connectionRequest: ConnectionRequest;
888
903
  /**
889
- * Direct URL to the post on LinkedIn.
904
+ * Limits for sending DMs
890
905
  */
891
- postUrl: string;
906
+ message: GetLimitsMessage;
892
907
  /**
893
- * Post text content (null if media-only).
908
+ * Limits for visiting LinkedIn profiles and company pages
894
909
  */
895
- text: string | null;
910
+ profileVisit: ProfileVisit;
896
911
  /**
897
- * Unix timestamp in milliseconds (null if unavailable).
912
+ * Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
898
913
  */
899
- publishedAt: number | null;
914
+ scraping: Scraping;
900
915
  /**
901
- * Number of likes/reactions.
916
+ * Limits for publishing LinkedIn posts
902
917
  */
903
- numLikes: number | null;
918
+ post?: GetLimitsPost | undefined;
904
919
  /**
905
- * Number of comments.
920
+ * Limits for accepting connection invitations
906
921
  */
907
- numComments: number | null;
922
+ acceptInvitation?: AcceptInvitation | undefined;
923
+ /**
924
+ * Limits for commenting on posts
925
+ */
926
+ commentPost?: CommentPost | undefined;
927
+ /**
928
+ * Limits for replying to comments
929
+ */
930
+ replyComment?: ReplyComment | undefined;
931
+ /**
932
+ * Limits for searching chat conversations
933
+ */
934
+ chatSearch?: ChatSearch | undefined;
908
935
  };
909
936
  /**
910
- * Company page posts
937
+ * Rate limit status for all action types
911
938
  */
912
- export type GetCompanyPostsResponse = {
939
+ export type GetLimitsResponse = {
913
940
  success: true;
914
- posts: Array<GetCompanyPostsPost>;
915
941
  /**
916
- * Total number of posts available.
942
+ * Workspace limit multiplier applied to all base limits (default 1.0)
917
943
  */
918
- total: number;
944
+ multiplier: number;
945
+ limits: Limits;
919
946
  /**
920
947
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
921
948
  */
@@ -925,113 +952,90 @@ export type GetCompanyPostsResponse = {
925
952
  */
926
953
  retryAfter: number;
927
954
  };
928
- export type GetPermissionsRequest = {
929
- /**
930
- * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
931
- */
932
- universalName: string;
933
- };
934
- export type Permissions = {
955
+ export type GetCreditsCredits = {
935
956
  /**
936
- * Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
937
- */
938
- role: string | null;
939
- /**
940
- * Can post as the company page.
941
- */
942
- canCreateOrganicShare: boolean;
943
- /**
944
- * Can comment as the company page.
945
- */
946
- canCreateComment: boolean;
947
- /**
948
- * Can like/react as the company page.
949
- */
950
- canCreateReaction: boolean;
951
- /**
952
- * Can delete company page posts.
953
- */
954
- canDeleteShare: boolean;
955
- /**
956
- * Can pin posts on the company page.
957
- */
958
- canPinShare: boolean;
959
- /**
960
- * Can send messages from the company page inbox.
961
- */
962
- canSendMessages: boolean;
963
- /**
964
- * Can read the company page inbox.
965
- */
966
- canReadMessages: boolean;
967
- /**
968
- * Can access the admin analytics dashboard.
969
- */
970
- canReadAdminDashboard: boolean;
971
- /**
972
- * Can view post/update analytics.
973
- */
974
- canReadOrganizationUpdateAnalytics: boolean;
975
- /**
976
- * Can view visitor analytics.
977
- */
978
- canReadOrganizationVisitorAnalytics: boolean;
979
- /**
980
- * Can view follower analytics.
957
+ * Number of credits used in the current billing period
981
958
  */
982
- canReadOrganizationFollowerAnalytics: boolean;
959
+ current: number;
983
960
  /**
984
- * Can view search appearance analytics.
961
+ * Maximum credits available for the workspace, or null if unlimited
985
962
  */
986
- canReadOrganizationSearchAppearanceAnalytics: boolean;
963
+ limit: number | null;
987
964
  /**
988
- * Can edit the company page profile.
965
+ * Credits remaining before hitting the limit, or null if unlimited
989
966
  */
990
- canUpdateOrganizationProfile: boolean;
967
+ remaining: number | null;
991
968
  /**
992
- * Can add/remove page admins.
969
+ * Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
993
970
  */
994
- canEditAdministrators: boolean;
971
+ percentage: number;
995
972
  /**
996
- * Can deactivate the company page.
973
+ * Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
997
974
  */
998
- canDeactivateOrganization: boolean;
975
+ isUnlimited: boolean;
976
+ };
977
+ /**
978
+ * Credit balance for the workspace
979
+ */
980
+ export type GetCreditsResponse = {
981
+ success: true;
982
+ credits: GetCreditsCredits;
999
983
  /**
1000
- * Can create/edit company events.
984
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1001
985
  */
1002
- canEditEvents: boolean;
986
+ creditsUsed: number;
1003
987
  /**
1004
- * Can view company events.
988
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1005
989
  */
1006
- canReadEvents: boolean;
990
+ retryAfter: number;
991
+ };
992
+ export type GetProfileViewsRequest = {};
993
+ export type ViewedAt = number | string;
994
+ export type View = {
995
+ entityUrn: string;
996
+ viewedAt: number | string | null;
997
+ viewer: string | null;
998
+ headline: string | null;
999
+ navigationUrl: string | null;
1000
+ };
1001
+ /**
1002
+ * Profile viewers
1003
+ */
1004
+ export type GetProfileViewsResponse = {
1005
+ success: true;
1006
+ views: Array<View>;
1007
+ total: number;
1007
1008
  /**
1008
- * Can sponsor/boost posts.
1009
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1009
1010
  */
1010
- canSponsorShare: boolean;
1011
+ creditsUsed: number;
1011
1012
  /**
1012
- * Can manage the career page section.
1013
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1013
1014
  */
1014
- canManageCareerPages: boolean;
1015
+ retryAfter: number;
1016
+ };
1017
+ export type GetSearchAppearancesRequest = {};
1018
+ export type Appearances = {
1019
+ count: number;
1015
1020
  /**
1016
- * Can manage messaging settings.
1021
+ * Top search keywords that led to your profile
1017
1022
  */
1018
- canManageMessagingAccess: boolean;
1023
+ keywords: Array<any>;
1019
1024
  /**
1020
- * Can notify employees about posts.
1025
+ * Companies of people who found you
1021
1026
  */
1022
- canNotifyEmployees: boolean;
1027
+ companies: Array<any>;
1023
1028
  /**
1024
- * Can export lead-gen form leads.
1029
+ * Raw LinkedIn API response (included when available)
1025
1030
  */
1026
- canExportLeads: boolean;
1031
+ raw?: any | undefined;
1027
1032
  };
1028
1033
  /**
1029
- * Company page admin permissions
1034
+ * Search appearance stats
1030
1035
  */
1031
- export type GetPermissionsResponse = {
1036
+ export type GetSearchAppearancesResponse = {
1032
1037
  success: true;
1033
- universalName: string;
1034
- permissions: Permissions;
1038
+ appearances: Appearances;
1035
1039
  /**
1036
1040
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1037
1041
  */
@@ -1041,45 +1045,23 @@ export type GetPermissionsResponse = {
1041
1045
  */
1042
1046
  retryAfter: number;
1043
1047
  };
1044
- export type GetAnalyticsRequest = {
1048
+ export type GetPostAnalyticsRequest = {
1045
1049
  /**
1046
- * Company page ID (numeric, e.g. '111652438')
1050
+ * LinkedIn post URL or URN
1047
1051
  */
1048
- companyId: string;
1049
- };
1050
- export type GetAnalyticsFoundedOn = {
1051
- year: number;
1052
- month?: number | undefined;
1053
- day?: number | undefined;
1054
- };
1055
- export type GetAnalyticsHeadquarter = {
1056
- city: string;
1057
- country: string;
1058
- line1?: string | undefined;
1059
- postalCode?: string | undefined;
1052
+ postUrl: string;
1060
1053
  };
1061
- export type GetAnalyticsAnalytics = {
1062
- name: string;
1063
- universalName: string;
1064
- followerCount: number | null;
1065
- employeeCount: number | null;
1066
- visitorsInPastMonthCount: number | null;
1067
- isActive: boolean;
1068
- foundedOn: GetAnalyticsFoundedOn | null;
1069
- headquarter: GetAnalyticsHeadquarter | null;
1070
- description: string | null;
1071
- tagline: string | null;
1072
- websiteUrl: string | null;
1073
- organizationType: string | null;
1074
- specialities: Array<string>;
1075
- industryUrns: Array<string>;
1054
+ export type GetPostAnalyticsAnalytics = {
1055
+ reactions: number;
1056
+ comments: number;
1057
+ postUrn: string;
1076
1058
  };
1077
1059
  /**
1078
- * Company page overview analytics
1060
+ * Post analytics
1079
1061
  */
1080
- export type GetAnalyticsResponse = {
1062
+ export type GetPostAnalyticsResponse = {
1081
1063
  success: true;
1082
- analytics: GetAnalyticsAnalytics;
1064
+ analytics: GetPostAnalyticsAnalytics;
1083
1065
  /**
1084
1066
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1085
1067
  */
@@ -1089,47 +1071,23 @@ export type GetAnalyticsResponse = {
1089
1071
  */
1090
1072
  retryAfter: number;
1091
1073
  };
1092
- export type ListInboxRequest = {
1093
- /**
1094
- * Pagination cursor from a previous response
1095
- */
1096
- nextCursor?: string | undefined;
1097
- };
1098
- export type ListInboxParticipant = {
1099
- profileUrn: string;
1100
- firstName: string;
1101
- lastName: string;
1102
- profileUrl: string | null;
1103
- headline: string | null;
1104
- profilePicture: string | null;
1105
- publicIdentifier: string | null;
1106
- };
1107
- export type ListInboxLastMessage = {
1108
- text: string | null;
1109
- deliveredAt: number;
1110
- senderProfileUrn: string;
1111
- };
1112
- export type ListInboxConversation = {
1113
- conversationUrn: string;
1114
- conversationUrl: string;
1115
- lastActivityAt: number;
1116
- createdAt: number;
1117
- read: boolean;
1118
- unreadCount: number;
1119
- groupChat: boolean;
1120
- participants: Array<ListInboxParticipant>;
1121
- lastMessage: ListInboxLastMessage | null;
1074
+ export type GetFollowerAnalyticsRequest = {};
1075
+ /**
1076
+ * Follower count and optional growth/demographics data from LinkedIn
1077
+ */
1078
+ export type GetFollowerAnalyticsAnalytics = {
1079
+ count: number;
1080
+ [additionalProperties: string]: unknown;
1122
1081
  };
1123
1082
  /**
1124
- * Inbox conversations
1083
+ * Follower analytics
1125
1084
  */
1126
- export type ListInboxResponse = {
1085
+ export type GetFollowerAnalyticsResponse = {
1127
1086
  success: true;
1128
- conversations: Array<ListInboxConversation>;
1129
1087
  /**
1130
- * Cursor for fetching next page
1088
+ * Follower count and optional growth/demographics data from LinkedIn
1131
1089
  */
1132
- nextCursor: string | null;
1090
+ analytics: GetFollowerAnalyticsAnalytics;
1133
1091
  /**
1134
1092
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1135
1093
  */
@@ -1139,51 +1097,30 @@ export type ListInboxResponse = {
1139
1097
  */
1140
1098
  retryAfter: number;
1141
1099
  };
1142
- export type SearchConversationsRequest = {
1143
- /**
1144
- * Search keywords
1145
- */
1146
- keywords: string;
1100
+ export type SwitchAccountRequest = {
1147
1101
  /**
1148
- * Pagination cursor from a previous response
1102
+ * The LinkedIn credentials ID to switch to (from listAccounts)
1149
1103
  */
1150
- nextCursor?: string | undefined;
1151
- };
1152
- export type SearchConversationsParticipant = {
1153
- profileUrn: string;
1154
- firstName: string;
1155
- lastName: string;
1156
- profileUrl: string | null;
1157
- headline: string | null;
1158
- profilePicture: string | null;
1159
- publicIdentifier: string | null;
1160
- };
1161
- export type SearchConversationsLastMessage = {
1162
- text: string | null;
1163
- deliveredAt: number;
1164
- senderProfileUrn: string;
1104
+ credentialsId: string;
1165
1105
  };
1166
- export type SearchConversationsConversation = {
1167
- conversationUrn: string;
1168
- conversationUrl: string;
1169
- lastActivityAt: number;
1170
- createdAt: number;
1171
- read: boolean;
1172
- unreadCount: number;
1173
- groupChat: boolean;
1174
- participants: Array<SearchConversationsParticipant>;
1175
- lastMessage: SearchConversationsLastMessage | null;
1106
+ /**
1107
+ * Switched account summary
1108
+ */
1109
+ export type SwitchAccountAccount = {
1110
+ id: string;
1111
+ name: string;
1112
+ avatar: string | null;
1113
+ plan: string;
1176
1114
  };
1177
1115
  /**
1178
- * Matching conversations
1116
+ * Account switched
1179
1117
  */
1180
- export type SearchConversationsResponse = {
1118
+ export type SwitchAccountResponse = {
1181
1119
  success: true;
1182
- conversations: Array<SearchConversationsConversation>;
1183
1120
  /**
1184
- * Cursor for fetching next page
1121
+ * Switched account summary
1185
1122
  */
1186
- nextCursor: string | null;
1123
+ account: SwitchAccountAccount;
1187
1124
  /**
1188
1125
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1189
1126
  */
@@ -1193,70 +1130,63 @@ export type SearchConversationsResponse = {
1193
1130
  */
1194
1131
  retryAfter: number;
1195
1132
  };
1196
- export type FindConversationRequest = {
1133
+ /**
1134
+ * Sort order (default RECENTLY_ADDED)
1135
+ */
1136
+ export declare const SortType: {
1137
+ readonly RecentlyAdded: "RECENTLY_ADDED";
1138
+ };
1139
+ /**
1140
+ * Sort order (default RECENTLY_ADDED)
1141
+ */
1142
+ export type SortType = ClosedEnum<typeof SortType>;
1143
+ export type ListConnectionsRequest = {
1197
1144
  /**
1198
- * Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
1145
+ * Pagination offset
1199
1146
  */
1200
- profile: string;
1147
+ start?: number | undefined;
1201
1148
  /**
1202
- * If true, also return the conversation's recent messages (0 extra credits).
1149
+ * Results per page (max 40)
1203
1150
  */
1204
- includeMessages?: boolean | undefined;
1151
+ count?: number | undefined;
1152
+ /**
1153
+ * Sort order (default RECENTLY_ADDED)
1154
+ */
1155
+ sortType?: SortType | undefined;
1156
+ /**
1157
+ * Filter connections by name
1158
+ */
1159
+ keywords?: string | undefined;
1205
1160
  };
1206
1161
  /**
1207
- * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1162
+ * Connection date (Unix timestamp ms or ISO string)
1208
1163
  */
1209
- export type FindConversationConversation = {
1210
- conversationUrn: string;
1211
- };
1212
- export type FindConversationSender = {
1213
- firstName: string;
1214
- lastName: string;
1215
- profileUrl: string | null;
1164
+ export type ConnectedAt = number | string;
1165
+ export type Connection = {
1166
+ name: string;
1216
1167
  headline: string | null;
1217
- profilePicture: string | null;
1218
- publicIdentifier: string | null;
1168
+ profileUrl: string | null;
1219
1169
  profileUrn: string | null;
1220
- };
1221
- export declare const FindConversationType: {
1222
- readonly Audio: "audio";
1223
- readonly SharedPost: "shared_post";
1224
- readonly RepliedMessage: "replied_message";
1225
- readonly Image: "image";
1226
- readonly File: "file";
1227
- readonly Unknown: "unknown";
1228
- };
1229
- export type FindConversationType = OpenEnum<typeof FindConversationType>;
1230
- export type FindConversationAttachment = {
1231
- type: FindConversationType;
1232
- audioUrl?: string | undefined;
1233
- audioDuration?: number | undefined;
1234
- hostUrn?: string | undefined;
1235
- repliedText?: string | undefined;
1236
- repliedSenderName?: string | undefined;
1237
- imageUrl?: string | undefined;
1238
- fileName?: string | undefined;
1239
- fileUrl?: string | undefined;
1240
- };
1241
- export type FindConversationMessage = {
1242
- messageUrn: string;
1243
- text: string | null;
1244
- deliveredAt: number;
1245
- senderProfileUrn: string;
1246
- sender: FindConversationSender;
1247
- attachments: Array<FindConversationAttachment>;
1170
+ publicIdentifier: string | null;
1171
+ /**
1172
+ * Profile picture URL
1173
+ */
1174
+ profilePicture: string | null;
1175
+ /**
1176
+ * Connection date (Unix timestamp ms or ISO string)
1177
+ */
1178
+ connectedAt: number | string | null;
1248
1179
  };
1249
1180
  /**
1250
- * Conversation found (or not)
1181
+ * Connections list
1251
1182
  */
1252
- export type FindConversationResponse = {
1183
+ export type ListConnectionsResponse = {
1253
1184
  success: true;
1254
- found: boolean;
1255
- /**
1256
- * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1257
- */
1258
- conversation: FindConversationConversation | null;
1259
- messages: Array<FindConversationMessage> | null;
1185
+ connections: Array<Connection>;
1186
+ count: number;
1187
+ start: number;
1188
+ total: number;
1189
+ hasMore: boolean;
1260
1190
  /**
1261
1191
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1262
1192
  */
@@ -1266,63 +1196,62 @@ export type FindConversationResponse = {
1266
1196
  */
1267
1197
  retryAfter: number;
1268
1198
  };
1269
- export type GetMessagesRequest = {
1199
+ /**
1200
+ * Type of activity to fetch
1201
+ */
1202
+ export declare const QueryParamTabType: {
1203
+ readonly Comments: "COMMENTS";
1204
+ readonly Reactions: "REACTIONS";
1205
+ };
1206
+ /**
1207
+ * Type of activity to fetch
1208
+ */
1209
+ export type QueryParamTabType = ClosedEnum<typeof QueryParamTabType>;
1210
+ export type GetMyActivityRequest = {
1270
1211
  /**
1271
- * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1212
+ * Type of activity to fetch
1272
1213
  */
1273
- conversationUrn: string;
1214
+ tabType?: QueryParamTabType | undefined;
1274
1215
  /**
1275
- * Timestamp (ms) of the oldest message from previous page — pass this to load older messages
1216
+ * Company page ID to fetch organization activity instead of personal
1276
1217
  */
1277
- deliveredAt?: number | undefined;
1218
+ companyId?: string | undefined;
1219
+ /**
1220
+ * Number of items per page (max 50)
1221
+ */
1222
+ count?: number | undefined;
1223
+ /**
1224
+ * Pagination offset
1225
+ */
1226
+ start?: number | undefined;
1227
+ /**
1228
+ * Pagination token from previous response
1229
+ */
1230
+ paginationToken?: string | undefined;
1278
1231
  };
1279
- export type GetMessagesSender = {
1280
- firstName: string;
1281
- lastName: string;
1282
- profileUrl: string | null;
1283
- headline: string | null;
1284
- profilePicture: string | null;
1285
- publicIdentifier: string | null;
1286
- profileUrn: string | null;
1287
- };
1288
- export declare const GetMessagesType: {
1289
- readonly Audio: "audio";
1290
- readonly SharedPost: "shared_post";
1291
- readonly RepliedMessage: "replied_message";
1292
- readonly Image: "image";
1293
- readonly File: "file";
1294
- readonly Unknown: "unknown";
1295
- };
1296
- export type GetMessagesType = OpenEnum<typeof GetMessagesType>;
1297
- export type GetMessagesAttachment = {
1298
- type: GetMessagesType;
1299
- audioUrl?: string | undefined;
1300
- audioDuration?: number | undefined;
1301
- hostUrn?: string | undefined;
1302
- repliedText?: string | undefined;
1303
- repliedSenderName?: string | undefined;
1304
- imageUrl?: string | undefined;
1305
- fileName?: string | undefined;
1306
- fileUrl?: string | undefined;
1307
- };
1308
- export type GetMessagesMessage = {
1309
- messageUrn: string;
1310
- text: string | null;
1311
- deliveredAt: number;
1312
- senderProfileUrn: string;
1313
- sender: GetMessagesSender;
1314
- attachments: Array<GetMessagesAttachment>;
1232
+ export declare const TabTypeResponse: {
1233
+ readonly Comments: "COMMENTS";
1234
+ readonly Reactions: "REACTIONS";
1315
1235
  };
1236
+ export type TabTypeResponse = OpenEnum<typeof TabTypeResponse>;
1316
1237
  /**
1317
- * Conversation messages
1238
+ * Activity list
1318
1239
  */
1319
- export type GetMessagesResponse = {
1240
+ export type GetMyActivityResponse = {
1320
1241
  success: true;
1321
- messages: Array<GetMessagesMessage>;
1322
1242
  /**
1323
- * deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
1243
+ * 'personal' for user activity, 'company:{id}' for org activity
1324
1244
  */
1325
- prevCursor: number | null;
1245
+ actor: string;
1246
+ tabType: TabTypeResponse;
1247
+ /**
1248
+ * Activity items — comments or reactions depending on tabType
1249
+ */
1250
+ items: Array<any>;
1251
+ count: number;
1252
+ total: number;
1253
+ start: number;
1254
+ paginationToken: string | null;
1326
1255
  /**
1327
1256
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1328
1257
  */
@@ -1332,17 +1261,190 @@ export type GetMessagesResponse = {
1332
1261
  */
1333
1262
  retryAfter: number;
1334
1263
  };
1335
- export type MarkSeenRequest = {
1264
+ export type User = {
1265
+ id: string;
1266
+ name: string | null;
1267
+ email: string | null;
1268
+ image: string | null;
1269
+ phone: string | null;
1270
+ createdAt: string;
1271
+ };
1272
+ export type GetSettingsLocation = {
1273
+ country: string | null;
1274
+ city: string | null;
1275
+ };
1276
+ export type Proxy = {
1277
+ enabled: boolean;
1278
+ [additionalProperties: string]: unknown;
1279
+ };
1280
+ export type AnthropicKey = {
1281
+ isSet: boolean;
1282
+ partial: string | null;
1283
+ };
1284
+ export type Subscription = {
1285
+ plan: string;
1286
+ tier: string;
1287
+ proSeatsIncluded: number;
1288
+ proSeatsUsed: number;
1289
+ status: string | null;
1290
+ currentPeriodEnd: string | null;
1291
+ hasStripe: boolean;
1292
+ };
1293
+ export type GetSettingsCredits = {
1294
+ current: number;
1295
+ limit: number | null;
1296
+ isUnlimited: boolean;
1297
+ };
1298
+ export type LinkedinAccountProxy = {
1299
+ enabled: boolean;
1300
+ [additionalProperties: string]: unknown;
1301
+ };
1302
+ export type ApiKey = {
1303
+ partialKey: string;
1304
+ createdAt: string;
1305
+ };
1306
+ export type LinkedinAccount = {
1307
+ id: string;
1308
+ label: string | null;
1309
+ isDefault: boolean;
1310
+ linkedinName: string | null;
1311
+ linkedinEmail: string | null;
1312
+ profilePic: string | null;
1313
+ profileUrl: string | null;
1314
+ headline: string | null;
1315
+ isValid: boolean;
1316
+ isActive: boolean;
1317
+ validationError: string | null;
1318
+ accountPlan: string | null;
1319
+ credits: GetSettingsCredits;
1320
+ proxy: LinkedinAccountProxy;
1321
+ apiKey: ApiKey | null;
1322
+ createdAt: string;
1323
+ };
1324
+ export type PendingInvite = {
1325
+ id: string;
1326
+ email: string | null;
1327
+ name: string | null;
1328
+ code: string;
1329
+ maxUses: number;
1330
+ useCount: number;
1331
+ expiresAt: string | null;
1332
+ createdAt: string;
1333
+ };
1334
+ /**
1335
+ * Account settings
1336
+ */
1337
+ export type GetSettingsResponse = {
1338
+ success: true;
1339
+ user: User;
1340
+ location: GetSettingsLocation;
1341
+ proxy: Proxy;
1342
+ anthropicKey: AnthropicKey;
1343
+ subscription: Subscription;
1344
+ linkedinAccounts: Array<LinkedinAccount>;
1345
+ pendingInvites: Array<PendingInvite>;
1346
+ };
1347
+ export type PatchSettingsRequest = {
1336
1348
  /**
1337
- * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1349
+ * ISO country code
1338
1350
  */
1339
- conversationUrn: string;
1351
+ country?: string | undefined;
1352
+ city?: string | undefined;
1353
+ phone?: string | null | undefined;
1354
+ /**
1355
+ * Anthropic API key (sk-ant-...). Set to null to remove.
1356
+ */
1357
+ anthropicKey?: string | null | undefined;
1340
1358
  };
1341
1359
  /**
1342
- * Conversation marked as read
1360
+ * Settings updated
1343
1361
  */
1344
- export type MarkSeenResponse = {
1362
+ export type PatchSettingsResponse = {
1363
+ success: true;
1364
+ };
1365
+ /**
1366
+ * Validation result
1367
+ */
1368
+ export type RevalidateLinkedinResponse = {
1369
+ success: true;
1370
+ message: string;
1371
+ /**
1372
+ * True if credentials were previously marked invalid
1373
+ */
1374
+ wasInvalid: boolean;
1375
+ };
1376
+ export type GetApiTokenRequest = {
1377
+ /**
1378
+ * LinkedIn credentials ID (defaults to current account)
1379
+ */
1380
+ accountId?: string | undefined;
1381
+ };
1382
+ /**
1383
+ * Token returned
1384
+ */
1385
+ export type GetApiTokenResponse = {
1386
+ token: string | null;
1387
+ partialKey?: string | undefined;
1388
+ createdAt?: string | undefined;
1389
+ accountId?: string | undefined;
1390
+ };
1391
+ export type CreateApiTokenRequest = {
1392
+ /**
1393
+ * LinkedIn credentials ID (defaults to current account)
1394
+ */
1395
+ accountId?: string | undefined;
1396
+ };
1397
+ /**
1398
+ * Token created
1399
+ */
1400
+ export type CreateApiTokenResponse = {
1345
1401
  success: true;
1402
+ /**
1403
+ * Full API token (brc_...) - only shown once
1404
+ */
1405
+ token: string;
1406
+ partialKey: string;
1407
+ accountId: string;
1408
+ };
1409
+ export type DeleteApiTokenRequest = {
1410
+ /**
1411
+ * LinkedIn credentials ID (defaults to current account)
1412
+ */
1413
+ accountId?: string | undefined;
1414
+ };
1415
+ /**
1416
+ * Token deleted
1417
+ */
1418
+ export type DeleteApiTokenResponse = {
1419
+ success: true;
1420
+ };
1421
+ export type Page = {
1422
+ /**
1423
+ * LinkedIn numeric company ID.
1424
+ */
1425
+ id: string;
1426
+ /**
1427
+ * Company URL slug (e.g. 'openai').
1428
+ */
1429
+ universalName: string;
1430
+ name: string;
1431
+ url: string;
1432
+ logoUrl: string | null;
1433
+ followerCount: number | null;
1434
+ industry: string | null;
1435
+ employeeCount: number | null;
1436
+ /**
1437
+ * Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
1438
+ */
1439
+ adminRole: string | null;
1440
+ };
1441
+ /**
1442
+ * List of managed company pages
1443
+ */
1444
+ export type ListPagesResponse = {
1445
+ success: true;
1446
+ pages: Array<Page>;
1447
+ total: number;
1346
1448
  /**
1347
1449
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1348
1450
  */
@@ -1352,12 +1454,56 @@ export type MarkSeenResponse = {
1352
1454
  */
1353
1455
  retryAfter: number;
1354
1456
  };
1355
- export type MarkAllReadRequest = {};
1457
+ export type GetCompanyPostsRequest = {
1458
+ /**
1459
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
1460
+ */
1461
+ universalName: string;
1462
+ /**
1463
+ * Number of posts to return (max 50).
1464
+ */
1465
+ count?: number | undefined;
1466
+ /**
1467
+ * Pagination offset.
1468
+ */
1469
+ start?: number | undefined;
1470
+ };
1471
+ export type GetCompanyPostsPost = {
1472
+ /**
1473
+ * LinkedIn activity URN for this post.
1474
+ */
1475
+ activityUrn: string;
1476
+ /**
1477
+ * Direct URL to the post on LinkedIn.
1478
+ */
1479
+ postUrl: string;
1480
+ /**
1481
+ * Post text content (null if media-only).
1482
+ */
1483
+ text: string | null;
1484
+ /**
1485
+ * Unix timestamp in milliseconds (null if unavailable).
1486
+ */
1487
+ publishedAt: number | null;
1488
+ /**
1489
+ * Number of likes/reactions.
1490
+ */
1491
+ numLikes: number | null;
1492
+ /**
1493
+ * Number of comments.
1494
+ */
1495
+ numComments: number | null;
1496
+ };
1356
1497
  /**
1357
- * All conversations marked as read
1498
+ * Company page posts
1358
1499
  */
1359
- export type MarkAllReadResponse = {
1500
+ export type GetCompanyPostsResponse = {
1360
1501
  success: true;
1502
+ posts: Array<GetCompanyPostsPost>;
1503
+ /**
1504
+ * Total number of posts available.
1505
+ */
1506
+ total: number;
1361
1507
  /**
1362
1508
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1363
1509
  */
@@ -1367,17 +1513,113 @@ export type MarkAllReadResponse = {
1367
1513
  */
1368
1514
  retryAfter: number;
1369
1515
  };
1370
- export type StarRequest = {
1516
+ export type GetPermissionsRequest = {
1371
1517
  /**
1372
- * Full conversation URN
1518
+ * Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
1373
1519
  */
1374
- conversationUrn: string;
1520
+ universalName: string;
1521
+ };
1522
+ export type Permissions = {
1523
+ /**
1524
+ * Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
1525
+ */
1526
+ role: string | null;
1527
+ /**
1528
+ * Can post as the company page.
1529
+ */
1530
+ canCreateOrganicShare: boolean;
1531
+ /**
1532
+ * Can comment as the company page.
1533
+ */
1534
+ canCreateComment: boolean;
1535
+ /**
1536
+ * Can like/react as the company page.
1537
+ */
1538
+ canCreateReaction: boolean;
1539
+ /**
1540
+ * Can delete company page posts.
1541
+ */
1542
+ canDeleteShare: boolean;
1543
+ /**
1544
+ * Can pin posts on the company page.
1545
+ */
1546
+ canPinShare: boolean;
1547
+ /**
1548
+ * Can send messages from the company page inbox.
1549
+ */
1550
+ canSendMessages: boolean;
1551
+ /**
1552
+ * Can read the company page inbox.
1553
+ */
1554
+ canReadMessages: boolean;
1555
+ /**
1556
+ * Can access the admin analytics dashboard.
1557
+ */
1558
+ canReadAdminDashboard: boolean;
1559
+ /**
1560
+ * Can view post/update analytics.
1561
+ */
1562
+ canReadOrganizationUpdateAnalytics: boolean;
1563
+ /**
1564
+ * Can view visitor analytics.
1565
+ */
1566
+ canReadOrganizationVisitorAnalytics: boolean;
1567
+ /**
1568
+ * Can view follower analytics.
1569
+ */
1570
+ canReadOrganizationFollowerAnalytics: boolean;
1571
+ /**
1572
+ * Can view search appearance analytics.
1573
+ */
1574
+ canReadOrganizationSearchAppearanceAnalytics: boolean;
1575
+ /**
1576
+ * Can edit the company page profile.
1577
+ */
1578
+ canUpdateOrganizationProfile: boolean;
1579
+ /**
1580
+ * Can add/remove page admins.
1581
+ */
1582
+ canEditAdministrators: boolean;
1583
+ /**
1584
+ * Can deactivate the company page.
1585
+ */
1586
+ canDeactivateOrganization: boolean;
1587
+ /**
1588
+ * Can create/edit company events.
1589
+ */
1590
+ canEditEvents: boolean;
1591
+ /**
1592
+ * Can view company events.
1593
+ */
1594
+ canReadEvents: boolean;
1595
+ /**
1596
+ * Can sponsor/boost posts.
1597
+ */
1598
+ canSponsorShare: boolean;
1599
+ /**
1600
+ * Can manage the career page section.
1601
+ */
1602
+ canManageCareerPages: boolean;
1603
+ /**
1604
+ * Can manage messaging settings.
1605
+ */
1606
+ canManageMessagingAccess: boolean;
1607
+ /**
1608
+ * Can notify employees about posts.
1609
+ */
1610
+ canNotifyEmployees: boolean;
1611
+ /**
1612
+ * Can export lead-gen form leads.
1613
+ */
1614
+ canExportLeads: boolean;
1375
1615
  };
1376
1616
  /**
1377
- * Conversation starred
1617
+ * Company page admin permissions
1378
1618
  */
1379
- export type StarResponse = {
1619
+ export type GetPermissionsResponse = {
1380
1620
  success: true;
1621
+ universalName: string;
1622
+ permissions: Permissions;
1381
1623
  /**
1382
1624
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1383
1625
  */
@@ -1387,17 +1629,45 @@ export type StarResponse = {
1387
1629
  */
1388
1630
  retryAfter: number;
1389
1631
  };
1390
- export type UnstarRequest = {
1632
+ export type GetAnalyticsRequest = {
1391
1633
  /**
1392
- * Full conversation URN
1634
+ * Company page ID (numeric, e.g. '111652438')
1393
1635
  */
1394
- conversationUrn: string;
1636
+ companyId: string;
1637
+ };
1638
+ export type GetAnalyticsFoundedOn = {
1639
+ year: number;
1640
+ month?: number | undefined;
1641
+ day?: number | undefined;
1642
+ };
1643
+ export type GetAnalyticsHeadquarter = {
1644
+ city: string;
1645
+ country: string;
1646
+ line1?: string | undefined;
1647
+ postalCode?: string | undefined;
1648
+ };
1649
+ export type GetAnalyticsAnalytics = {
1650
+ name: string;
1651
+ universalName: string;
1652
+ followerCount: number | null;
1653
+ employeeCount: number | null;
1654
+ visitorsInPastMonthCount: number | null;
1655
+ isActive: boolean;
1656
+ foundedOn: GetAnalyticsFoundedOn | null;
1657
+ headquarter: GetAnalyticsHeadquarter | null;
1658
+ description: string | null;
1659
+ tagline: string | null;
1660
+ websiteUrl: string | null;
1661
+ organizationType: string | null;
1662
+ specialities: Array<string>;
1663
+ industryUrns: Array<string>;
1395
1664
  };
1396
1665
  /**
1397
- * Conversation unstarred
1666
+ * Company page overview analytics
1398
1667
  */
1399
- export type UnstarResponse = {
1668
+ export type GetAnalyticsResponse = {
1400
1669
  success: true;
1670
+ analytics: GetAnalyticsAnalytics;
1401
1671
  /**
1402
1672
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1403
1673
  */
@@ -1407,13 +1677,17 @@ export type UnstarResponse = {
1407
1677
  */
1408
1678
  retryAfter: number;
1409
1679
  };
1410
- export type ListStarredRequest = {
1680
+ export type ListInboxRequest = {
1411
1681
  /**
1412
1682
  * Pagination cursor from a previous response
1413
1683
  */
1414
1684
  nextCursor?: string | undefined;
1685
+ /**
1686
+ * Number of conversations to return (default 20, max 40)
1687
+ */
1688
+ count?: number | undefined;
1415
1689
  };
1416
- export type ListStarredParticipant = {
1690
+ export type ListInboxParticipant = {
1417
1691
  profileUrn: string;
1418
1692
  firstName: string;
1419
1693
  lastName: string;
@@ -1422,12 +1696,12 @@ export type ListStarredParticipant = {
1422
1696
  profilePicture: string | null;
1423
1697
  publicIdentifier: string | null;
1424
1698
  };
1425
- export type ListStarredLastMessage = {
1699
+ export type ListInboxLastMessage = {
1426
1700
  text: string | null;
1427
1701
  deliveredAt: number;
1428
1702
  senderProfileUrn: string;
1429
1703
  };
1430
- export type ListStarredConversation = {
1704
+ export type ListInboxConversation = {
1431
1705
  conversationUrn: string;
1432
1706
  conversationUrl: string;
1433
1707
  lastActivityAt: number;
@@ -1435,15 +1709,15 @@ export type ListStarredConversation = {
1435
1709
  read: boolean;
1436
1710
  unreadCount: number;
1437
1711
  groupChat: boolean;
1438
- participants: Array<ListStarredParticipant>;
1439
- lastMessage: ListStarredLastMessage | null;
1712
+ participants: Array<ListInboxParticipant>;
1713
+ lastMessage: ListInboxLastMessage | null;
1440
1714
  };
1441
1715
  /**
1442
- * Starred conversations
1716
+ * Inbox conversations
1443
1717
  */
1444
- export type ListStarredResponse = {
1718
+ export type ListInboxResponse = {
1445
1719
  success: true;
1446
- conversations: Array<ListStarredConversation>;
1720
+ conversations: Array<ListInboxConversation>;
1447
1721
  /**
1448
1722
  * Cursor for fetching next page
1449
1723
  */
@@ -1457,53 +1731,17 @@ export type ListStarredResponse = {
1457
1731
  */
1458
1732
  retryAfter: number;
1459
1733
  };
1460
- export type ArchiveRequest = {
1461
- /**
1462
- * Full conversation URN
1463
- */
1464
- conversationUrn: string;
1465
- };
1466
- /**
1467
- * Conversation archived
1468
- */
1469
- export type ArchiveResponse = {
1470
- success: true;
1471
- /**
1472
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1473
- */
1474
- creditsUsed: number;
1475
- /**
1476
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1477
- */
1478
- retryAfter: number;
1479
- };
1480
- export type UnarchiveRequest = {
1481
- /**
1482
- * Full conversation URN
1483
- */
1484
- conversationUrn: string;
1485
- };
1486
- /**
1487
- * Conversation unarchived
1488
- */
1489
- export type UnarchiveResponse = {
1490
- success: true;
1491
- /**
1492
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1493
- */
1494
- creditsUsed: number;
1734
+ export type SearchConversationsRequest = {
1495
1735
  /**
1496
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1736
+ * Search keywords
1497
1737
  */
1498
- retryAfter: number;
1499
- };
1500
- export type ListArchivedRequest = {
1738
+ keywords: string;
1501
1739
  /**
1502
1740
  * Pagination cursor from a previous response
1503
1741
  */
1504
1742
  nextCursor?: string | undefined;
1505
1743
  };
1506
- export type ListArchivedParticipant = {
1744
+ export type SearchConversationsParticipant = {
1507
1745
  profileUrn: string;
1508
1746
  firstName: string;
1509
1747
  lastName: string;
@@ -1512,12 +1750,12 @@ export type ListArchivedParticipant = {
1512
1750
  profilePicture: string | null;
1513
1751
  publicIdentifier: string | null;
1514
1752
  };
1515
- export type ListArchivedLastMessage = {
1753
+ export type SearchConversationsLastMessage = {
1516
1754
  text: string | null;
1517
1755
  deliveredAt: number;
1518
1756
  senderProfileUrn: string;
1519
1757
  };
1520
- export type ListArchivedConversation = {
1758
+ export type SearchConversationsConversation = {
1521
1759
  conversationUrn: string;
1522
1760
  conversationUrl: string;
1523
1761
  lastActivityAt: number;
@@ -1525,15 +1763,15 @@ export type ListArchivedConversation = {
1525
1763
  read: boolean;
1526
1764
  unreadCount: number;
1527
1765
  groupChat: boolean;
1528
- participants: Array<ListArchivedParticipant>;
1529
- lastMessage: ListArchivedLastMessage | null;
1766
+ participants: Array<SearchConversationsParticipant>;
1767
+ lastMessage: SearchConversationsLastMessage | null;
1530
1768
  };
1531
1769
  /**
1532
- * Archived conversations
1770
+ * Matching conversations
1533
1771
  */
1534
- export type ListArchivedResponse = {
1772
+ export type SearchConversationsResponse = {
1535
1773
  success: true;
1536
- conversations: Array<ListArchivedConversation>;
1774
+ conversations: Array<SearchConversationsConversation>;
1537
1775
  /**
1538
1776
  * Cursor for fetching next page
1539
1777
  */
@@ -1547,73 +1785,82 @@ export type ListArchivedResponse = {
1547
1785
  */
1548
1786
  retryAfter: number;
1549
1787
  };
1550
- export type ReactRequest = {
1551
- /**
1552
- * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1553
- */
1554
- messageUrn: string;
1788
+ export type FindConversationRequest = {
1555
1789
  /**
1556
- * Emoji character to react with (e.g. '👍', '❤️', '😂')
1790
+ * Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
1557
1791
  */
1558
- emoji: string;
1792
+ profile: string;
1559
1793
  /**
1560
- * Conversation URN (required for the old messaging API fallback)
1794
+ * If true, also return the conversation's recent messages (0 extra credits).
1561
1795
  */
1562
- conversationUrn: string;
1796
+ includeMessages?: boolean | undefined;
1563
1797
  };
1564
1798
  /**
1565
- * Reaction added
1799
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1566
1800
  */
1567
- export type ReactResponse = {
1568
- success: true;
1569
- /**
1570
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1571
- */
1572
- creditsUsed: number;
1573
- /**
1574
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1575
- */
1576
- retryAfter: number;
1801
+ export type FindConversationConversation = {
1802
+ conversationUrn: string;
1577
1803
  };
1578
- export type UnreactRequest = {
1579
- /**
1580
- * Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
1581
- */
1804
+ export type FindConversationSender = {
1805
+ firstName: string;
1806
+ lastName: string;
1807
+ profileUrl: string | null;
1808
+ headline: string | null;
1809
+ profilePicture: string | null;
1810
+ publicIdentifier: string | null;
1811
+ profileUrn: string | null;
1812
+ };
1813
+ export declare const FindConversationType: {
1814
+ readonly Audio: "audio";
1815
+ readonly SharedPost: "shared_post";
1816
+ readonly RepliedMessage: "replied_message";
1817
+ readonly Image: "image";
1818
+ readonly File: "file";
1819
+ readonly Unknown: "unknown";
1820
+ };
1821
+ export type FindConversationType = OpenEnum<typeof FindConversationType>;
1822
+ export type FindConversationAttachment = {
1823
+ type: FindConversationType;
1824
+ audioUrl?: string | undefined;
1825
+ audioDuration?: number | undefined;
1826
+ hostUrn?: string | undefined;
1827
+ repliedText?: string | undefined;
1828
+ repliedSenderName?: string | undefined;
1829
+ imageUrl?: string | undefined;
1830
+ fileName?: string | undefined;
1831
+ fileUrl?: string | undefined;
1832
+ };
1833
+ export type FindConversationMessage = {
1582
1834
  messageUrn: string;
1835
+ text: string | null;
1836
+ deliveredAt: number;
1837
+ senderProfileUrn: string;
1838
+ sender: FindConversationSender;
1839
+ attachments: Array<FindConversationAttachment>;
1583
1840
  /**
1584
- * Emoji character to react with (e.g. '👍', '❤️', '😂')
1585
- */
1586
- emoji: string;
1587
- /**
1588
- * Conversation URN (required for the old messaging API fallback)
1841
+ * True if the authenticated user sent this message.
1589
1842
  */
1590
- conversationUrn: string;
1843
+ isOutbound: boolean;
1591
1844
  };
1592
1845
  /**
1593
- * Reaction removed
1846
+ * Conversation found (or not)
1594
1847
  */
1595
- export type UnreactResponse = {
1848
+ export type FindConversationResponse = {
1596
1849
  success: true;
1850
+ found: boolean;
1597
1851
  /**
1598
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1852
+ * Lightweight conversation reference (O(1) lookup returns URN only, not full details).
1599
1853
  */
1600
- creditsUsed: number;
1854
+ conversation: FindConversationConversation | null;
1855
+ messages: Array<FindConversationMessage> | null;
1601
1856
  /**
1602
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1857
+ * deliveredAt timestamp (ms) of the oldest message pass as 'deliveredAt' to load older messages. Only present when includeMessages is true.
1603
1858
  */
1604
- retryAfter: number;
1605
- };
1606
- export type SendTypingIndicatorRequest = {
1859
+ prevCursor?: number | null | undefined;
1607
1860
  /**
1608
- * Full conversation URN
1861
+ * The authenticated user's profile URN. Useful for determining message direction.
1609
1862
  */
1610
- conversationUrn: string;
1611
- };
1612
- /**
1613
- * Typing indicator sent
1614
- */
1615
- export type SendTypingIndicatorResponse = {
1616
- success: true;
1863
+ userProfileUrn?: string | undefined;
1617
1864
  /**
1618
1865
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1619
1866
  */
@@ -1623,390 +1870,228 @@ export type SendTypingIndicatorResponse = {
1623
1870
  */
1624
1871
  retryAfter: number;
1625
1872
  };
1626
- /**
1627
- * Unread count
1628
- */
1629
- export type GetUnreadCountResponse = {
1630
- success: true;
1631
- /**
1632
- * Number of unread conversations/messages
1633
- */
1634
- unreadCount: number;
1873
+ export type GetMessagesRequest = {
1635
1874
  /**
1636
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1875
+ * Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1637
1876
  */
1638
- creditsUsed: number;
1877
+ conversationUrn: string;
1639
1878
  /**
1640
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
1879
+ * Timestamp (ms) of the oldest message from previous page pass this to load older messages
1641
1880
  */
1642
- retryAfter: number;
1881
+ deliveredAt?: number | undefined;
1643
1882
  };
1644
- export type FilterRequest = {
1645
- /**
1646
- * Unique identifier for the automation campaign (e.g., 'lead-magnet-post-12345', 'outreach-webinar-feb')
1647
- */
1648
- campaignSlug: string;
1883
+ export type GetMessagesSender = {
1884
+ firstName: string;
1885
+ lastName: string;
1886
+ profileUrl: string | null;
1887
+ headline: string | null;
1888
+ profilePicture: string | null;
1889
+ publicIdentifier: string | null;
1890
+ profileUrn: string | null;
1891
+ };
1892
+ export declare const GetMessagesType: {
1893
+ readonly Audio: "audio";
1894
+ readonly SharedPost: "shared_post";
1895
+ readonly RepliedMessage: "replied_message";
1896
+ readonly Image: "image";
1897
+ readonly File: "file";
1898
+ readonly Unknown: "unknown";
1899
+ };
1900
+ export type GetMessagesType = OpenEnum<typeof GetMessagesType>;
1901
+ export type GetMessagesAttachment = {
1902
+ type: GetMessagesType;
1903
+ audioUrl?: string | undefined;
1904
+ audioDuration?: number | undefined;
1905
+ hostUrn?: string | undefined;
1906
+ repliedText?: string | undefined;
1907
+ repliedSenderName?: string | undefined;
1908
+ imageUrl?: string | undefined;
1909
+ fileName?: string | undefined;
1910
+ fileUrl?: string | undefined;
1911
+ };
1912
+ export type GetMessagesMessage = {
1913
+ messageUrn: string;
1914
+ text: string | null;
1915
+ deliveredAt: number;
1916
+ senderProfileUrn: string;
1917
+ sender: GetMessagesSender;
1918
+ attachments: Array<GetMessagesAttachment>;
1649
1919
  /**
1650
- * Comma-separated list of action slugs to check (e.g., 'send-mp-john-doe,like-comment-abc123')
1920
+ * True if the authenticated user sent this message.
1651
1921
  */
1652
- actionSlugs: string;
1653
- };
1654
- export type CheckedSlug = {
1655
- actionSlug: string;
1656
- completed: boolean;
1922
+ isOutbound: boolean;
1657
1923
  };
1658
1924
  /**
1659
- * Filter status with checked slugs
1925
+ * Conversation messages
1660
1926
  */
1661
- export type FilterResponse = {
1662
- /**
1663
- * True if all actionSlugs have been completed for this campaign, meaning the entire flow can be skipped
1664
- */
1665
- filtered: boolean;
1927
+ export type GetMessagesResponse = {
1928
+ success: true;
1929
+ messages: Array<GetMessagesMessage>;
1666
1930
  /**
1667
- * Status of each action slugcompleted means the action was already executed for this campaign
1931
+ * deliveredAt timestamp (ms) of the oldest messagepass as 'deliveredAt' to load older messages. Null when no more messages.
1668
1932
  */
1669
- checkedSlugs: Array<CheckedSlug>;
1933
+ prevCursor: number | null;
1670
1934
  /**
1671
- * Credits consumed by this call (always 0 for campaign queries).
1935
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1672
1936
  */
1673
1937
  creditsUsed: number;
1674
1938
  /**
1675
- * Seconds to wait before next call of the same type (always 0 for campaign queries).
1939
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1676
1940
  */
1677
1941
  retryAfter: number;
1678
1942
  };
1679
- export type GetStatusRequestBody = {
1680
- /**
1681
- * LinkedIn profile URLs or URNs to check status for within this campaign.
1682
- */
1683
- profiles: Array<string>;
1684
- };
1685
- export type GetStatusRequest = {
1943
+ export type MarkSeenRequest = {
1686
1944
  /**
1687
- * Campaign identifier
1945
+ * Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
1688
1946
  */
1689
- campaignSlug: string;
1690
- body: GetStatusRequestBody;
1691
- };
1692
- export type GetStatusProfile = {
1693
- profile: string;
1694
- message: boolean;
1695
- reply: boolean;
1696
- like: boolean;
1697
- visit: boolean;
1698
- connect: boolean;
1947
+ conversationUrn: string;
1699
1948
  };
1700
1949
  /**
1701
- * Per-profile action completion status
1950
+ * Conversation marked as read
1702
1951
  */
1703
- export type GetStatusResponse = {
1952
+ export type MarkSeenResponse = {
1704
1953
  success: true;
1705
- profiles: Array<GetStatusProfile>;
1706
1954
  /**
1707
- * Credits consumed by this call (always 0 for campaign queries).
1955
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1708
1956
  */
1709
1957
  creditsUsed: number;
1710
1958
  /**
1711
- * Seconds to wait before next call of the same type (always 0 for campaign queries).
1712
- */
1713
- retryAfter: number;
1714
- };
1715
- export declare const SyncAction: {
1716
- readonly Message: "message";
1717
- readonly Reply: "reply";
1718
- readonly Like: "like";
1719
- readonly Visit: "visit";
1720
- readonly Connect: "connect";
1721
- };
1722
- export type SyncAction = ClosedEnum<typeof SyncAction>;
1723
- export type SyncProfile = {
1724
- /**
1725
- * LinkedIn profile URL or URN
1726
- */
1727
- profile: string;
1728
- /**
1729
- * Action types to mark as completed
1730
- */
1731
- actions: Array<SyncAction>;
1732
- };
1733
- export type SyncRequestBody = {
1734
- /**
1735
- * Profiles and actions to mark as completed without performing them on LinkedIn.
1736
- */
1737
- profiles: Array<SyncProfile>;
1738
- };
1739
- export type SyncRequest = {
1740
- /**
1741
- * Campaign identifier
1742
- */
1743
- campaignSlug: string;
1744
- body: SyncRequestBody;
1745
- };
1746
- export type Synced = {
1747
- profile: string;
1748
- actions: {
1749
- [k: string]: boolean;
1750
- };
1959
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1960
+ */
1961
+ retryAfter: number;
1751
1962
  };
1963
+ export type MarkAllReadRequest = {};
1752
1964
  /**
1753
- * Actions marked as completed
1965
+ * All conversations marked as read
1754
1966
  */
1755
- export type SyncResponse = {
1967
+ export type MarkAllReadResponse = {
1756
1968
  success: true;
1757
- synced: Array<Synced>;
1758
1969
  /**
1759
- * Credits consumed by this call (always 0 for campaign queries).
1970
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1760
1971
  */
1761
1972
  creditsUsed: number;
1762
1973
  /**
1763
- * Seconds to wait before next call of the same type (always 0 for campaign queries).
1974
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1764
1975
  */
1765
1976
  retryAfter: number;
1766
1977
  };
1767
- export type GetCampaignStatsRequest = {
1978
+ export type StarRequest = {
1768
1979
  /**
1769
- * Campaign identifier
1980
+ * Full conversation URN
1770
1981
  */
1771
- campaignSlug: string;
1982
+ conversationUrn: string;
1772
1983
  };
1773
1984
  /**
1774
- * Aggregate campaign statistics
1985
+ * Conversation starred
1775
1986
  */
1776
- export type GetCampaignStatsResponse = {
1987
+ export type StarResponse = {
1777
1988
  success: true;
1778
1989
  /**
1779
- * Per-action-type counts (e.g. message: 45, reply: 120)
1780
- */
1781
- stats: {
1782
- [k: string]: number;
1783
- };
1784
- /**
1785
- * Unique profiles processed in this campaign
1786
- */
1787
- totalProfiles: number;
1788
- /**
1789
- * Total credits consumed by this campaign (sum of action counts). Also serves as the per-call creditsUsed (always 0 for this endpoint).
1990
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1790
1991
  */
1791
1992
  creditsUsed: number;
1792
1993
  /**
1793
- * Seconds to wait before next call of the same type (always 0 for campaign queries).
1994
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1794
1995
  */
1795
1996
  retryAfter: number;
1796
1997
  };
1797
- /**
1798
- * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1799
- */
1800
- export declare const UpsertSource: {
1801
- readonly Likes: "likes";
1802
- readonly Comments: "comments";
1803
- readonly Reposts: "reposts";
1804
- readonly Posts: "posts";
1805
- readonly CompanyFollowers: "company_followers";
1806
- readonly SearchResults: "search_results";
1807
- readonly ManualImport: "manual_import";
1808
- readonly EventAttendees: "event_attendees";
1809
- readonly GroupMembers: "group_members";
1810
- readonly EngagementScraping: "engagement_scraping";
1811
- readonly ContentSearch: "content_search";
1812
- readonly FollowersMining: "followers_mining";
1813
- readonly PeopleSearch: "people_search";
1814
- readonly JobSearch: "job_search";
1815
- readonly CompanySearch: "company_search";
1816
- readonly NetworkExpansion: "network_expansion";
1817
- readonly BulkVisit: "bulk_visit";
1818
- };
1819
- /**
1820
- * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1821
- */
1822
- export type UpsertSource = ClosedEnum<typeof UpsertSource>;
1823
- /**
1824
- * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
1825
- */
1826
- export declare const UpsertLifecycleStage: {
1827
- readonly Contact: "contact";
1828
- readonly Lead: "lead";
1829
- readonly Qualified: "qualified";
1830
- readonly Approved: "approved";
1831
- readonly Rejected: "rejected";
1998
+ export type UnstarRequest = {
1999
+ /**
2000
+ * Full conversation URN
2001
+ */
2002
+ conversationUrn: string;
1832
2003
  };
1833
2004
  /**
1834
- * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
2005
+ * Conversation unstarred
1835
2006
  */
1836
- export type UpsertLifecycleStage = ClosedEnum<typeof UpsertLifecycleStage>;
1837
- export type UpsertContactRequest = {
1838
- /**
1839
- * LinkedIn profile URL, URN, or bare vanity name
1840
- */
1841
- linkedinUrl: string;
1842
- /**
1843
- * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...). Improves dedup when provided alongside a vanity URL.
1844
- */
1845
- profileUrn?: string | null | undefined;
1846
- /**
1847
- * LinkedIn vanity slug (e.g. joshuaau). Improves dedup when provided alongside a URN.
1848
- */
1849
- publicIdentifier?: string | null | undefined;
1850
- /**
1851
- * Profile name
1852
- */
1853
- name: string;
1854
- /**
1855
- * How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
1856
- */
1857
- source?: UpsertSource | undefined;
1858
- /**
1859
- * Which lead-gen angle found this (e.g., 'vp-sales-france')
1860
- */
1861
- sourceAngle?: string | undefined;
1862
- /**
1863
- * Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
1864
- */
1865
- lifecycleStage?: UpsertLifecycleStage | undefined;
2007
+ export type UnstarResponse = {
2008
+ success: true;
1866
2009
  /**
1867
- * Contact quality score (0-100)
2010
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1868
2011
  */
1869
- hotScore?: number | undefined;
2012
+ creditsUsed: number;
1870
2013
  /**
1871
- * Agent reasoning for qualification decision
2014
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1872
2015
  */
1873
- qualificationNotes?: string | undefined;
1874
- notes?: string | undefined;
2016
+ retryAfter: number;
1875
2017
  };
1876
- export type UpsertRequest = {
2018
+ export type ListStarredRequest = {
1877
2019
  /**
1878
- * Contacts to add (single or bulk)
2020
+ * Pagination cursor from a previous response
1879
2021
  */
1880
- contacts: Array<UpsertContactRequest>;
1881
- };
1882
- export type UpsertResults = {
1883
- created: number;
1884
- updated: number;
1885
- skipped: number;
1886
- errors: Array<string>;
2022
+ nextCursor?: string | undefined;
1887
2023
  };
1888
- export type UpsertContactResponse = {
1889
- id: string;
1890
- linkedinUrl: string;
1891
- /**
1892
- * LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...)
1893
- */
1894
- profileUrn: string | null;
1895
- /**
1896
- * LinkedIn vanity slug (e.g. joshuaau)
1897
- */
2024
+ export type ListStarredParticipant = {
2025
+ profileUrn: string;
2026
+ firstName: string;
2027
+ lastName: string;
2028
+ profileUrl: string | null;
2029
+ headline: string | null;
2030
+ profilePicture: string | null;
1898
2031
  publicIdentifier: string | null;
1899
- name: string;
1900
- lifecycleStage: string;
1901
- hotScore: number;
1902
- qualificationNotes: string | null;
1903
- notes: string | null;
1904
- stageChangedAt: string | null;
1905
- profileData: any | null;
1906
- profileUpdatedAt: string | null;
1907
- conversationData: any | null;
1908
- conversationUpdatedAt: string | null;
1909
- outreachStatus: string;
1910
- lastContactedAt: string | null;
1911
- lastRepliedAt: string | null;
1912
- nextFollowUpAt: string | null;
1913
- doNotContact: boolean;
1914
- tags: Array<string>;
1915
- createdAt: string;
1916
- updatedAt: string;
2032
+ };
2033
+ export type ListStarredLastMessage = {
2034
+ text: string | null;
2035
+ deliveredAt: number;
2036
+ senderProfileUrn: string;
2037
+ };
2038
+ export type ListStarredConversation = {
2039
+ conversationUrn: string;
2040
+ conversationUrl: string;
2041
+ lastActivityAt: number;
2042
+ createdAt: number;
2043
+ read: boolean;
2044
+ unreadCount: number;
2045
+ groupChat: boolean;
2046
+ participants: Array<ListStarredParticipant>;
2047
+ lastMessage: ListStarredLastMessage | null;
1917
2048
  };
1918
2049
  /**
1919
- * Contacts created or updated
2050
+ * Starred conversations
1920
2051
  */
1921
- export type UpsertResponse = {
2052
+ export type ListStarredResponse = {
1922
2053
  success: true;
1923
- results: UpsertResults;
2054
+ conversations: Array<ListStarredConversation>;
1924
2055
  /**
1925
- * Full contact objects with IDs for immediate use
2056
+ * Cursor for fetching next page
1926
2057
  */
1927
- contacts: Array<UpsertContactResponse>;
2058
+ nextCursor: string | null;
1928
2059
  /**
1929
- * Credits consumed by this call (always 0 for contacts queries).
2060
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1930
2061
  */
1931
2062
  creditsUsed: number;
1932
2063
  /**
1933
- * Seconds to wait before next call of the same type (always 0 for contacts queries).
2064
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1934
2065
  */
1935
2066
  retryAfter: number;
1936
2067
  };
1937
- export declare const SearchContactsLifecycleStage: {
1938
- readonly Contact: "contact";
1939
- readonly Lead: "lead";
1940
- readonly Qualified: "qualified";
1941
- readonly Approved: "approved";
1942
- readonly Rejected: "rejected";
1943
- };
1944
- export type SearchContactsLifecycleStage = ClosedEnum<typeof SearchContactsLifecycleStage>;
1945
- export declare const SearchContactsOutreachStatus: {
1946
- readonly None: "none";
1947
- readonly ConnectionSent: "connection_sent";
1948
- readonly Connected: "connected";
1949
- readonly DmSent: "dm_sent";
1950
- readonly FollowedUp: "followed_up";
1951
- readonly Replied: "replied";
1952
- readonly InConversation: "in_conversation";
1953
- readonly MeetingBooked: "meeting_booked";
1954
- readonly Converted: "converted";
1955
- readonly NotInterested: "not_interested";
1956
- };
1957
- export type SearchContactsOutreachStatus = ClosedEnum<typeof SearchContactsOutreachStatus>;
1958
- export declare const DoNotContact: {
1959
- readonly True: "true";
1960
- readonly False: "false";
1961
- };
1962
- export type DoNotContact = ClosedEnum<typeof DoNotContact>;
1963
- export declare const HasProfileData: {
1964
- readonly True: "true";
1965
- readonly False: "false";
1966
- };
1967
- export type HasProfileData = ClosedEnum<typeof HasProfileData>;
1968
- export type SearchContactsRequest = {
1969
- /**
1970
- * Filter by LinkedIn URL (exact match)
1971
- */
1972
- linkedinUrl?: string | undefined;
1973
- /**
1974
- * Filter by name (partial match)
1975
- */
1976
- name?: string | undefined;
1977
- lifecycleStage?: SearchContactsLifecycleStage | undefined;
1978
- /**
1979
- * Sort field (e.g. 'hotScore', 'createdAt', 'nextFollowUpAt')
1980
- */
1981
- sortBy?: string | undefined;
1982
- minHotScore?: number | undefined;
1983
- outreachStatus?: SearchContactsOutreachStatus | undefined;
2068
+ export type ArchiveRequest = {
1984
2069
  /**
1985
- * Filter by tag
2070
+ * Full conversation URN
1986
2071
  */
1987
- tag?: string | undefined;
2072
+ conversationUrn: string;
2073
+ };
2074
+ /**
2075
+ * Conversation archived
2076
+ */
2077
+ export type ArchiveResponse = {
2078
+ success: true;
1988
2079
  /**
1989
- * ISO date: contacts with nextFollowUpAt before this date
2080
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1990
2081
  */
1991
- followUpBefore?: string | undefined;
1992
- doNotContact?: DoNotContact | undefined;
1993
- hasProfileData?: HasProfileData | undefined;
1994
- campaignId?: string | undefined;
1995
- limit?: number | undefined;
1996
- offset?: number | undefined;
1997
- };
1998
- export type SearchContactsCampaign = {
1999
- campaignId: string;
2000
- campaignName: string;
2082
+ creditsUsed: number;
2001
2083
  /**
2002
- * Campaign status (e.g. 'active', 'paused', 'completed').
2084
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
2003
2085
  */
2004
- campaignStatus: string;
2005
- source: string;
2006
- sourceAngle: string | null;
2007
- addedAt: string;
2086
+ retryAfter: number;
2008
2087
  };
2009
2088
  /** @internal */
2089
+ export declare const UpdateAccountAccount$inboundSchema: z.ZodMiniType<UpdateAccountAccount, unknown>;
2090
+ export declare function updateAccountAccountFromJSON(jsonString: string): SafeParseResult<UpdateAccountAccount, SDKValidationError>;
2091
+ /** @internal */
2092
+ export declare const UpdateAccountResponse$inboundSchema: z.ZodMiniType<UpdateAccountResponse, unknown>;
2093
+ export declare function updateAccountResponseFromJSON(jsonString: string): SafeParseResult<UpdateAccountResponse, SDKValidationError>;
2094
+ /** @internal */
2010
2095
  export declare const RefreshPositionStartDate$inboundSchema: z.ZodMiniType<RefreshPositionStartDate, unknown>;
2011
2096
  export declare function refreshPositionStartDateFromJSON(jsonString: string): SafeParseResult<RefreshPositionStartDate, SDKValidationError>;
2012
2097
  /** @internal */
@@ -2113,14 +2198,59 @@ export declare function scrapingWeeklyFromJSON(jsonString: string): SafeParseRes
2113
2198
  export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
2114
2199
  export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
2115
2200
  /** @internal */
2201
+ export declare const PostDaily$inboundSchema: z.ZodMiniType<PostDaily, unknown>;
2202
+ export declare function postDailyFromJSON(jsonString: string): SafeParseResult<PostDaily, SDKValidationError>;
2203
+ /** @internal */
2204
+ export declare const PostWeekly$inboundSchema: z.ZodMiniType<PostWeekly, unknown>;
2205
+ export declare function postWeeklyFromJSON(jsonString: string): SafeParseResult<PostWeekly, SDKValidationError>;
2206
+ /** @internal */
2207
+ export declare const GetLimitsPost$inboundSchema: z.ZodMiniType<GetLimitsPost, unknown>;
2208
+ export declare function getLimitsPostFromJSON(jsonString: string): SafeParseResult<GetLimitsPost, SDKValidationError>;
2209
+ /** @internal */
2210
+ export declare const AcceptInvitationDaily2$inboundSchema: z.ZodMiniType<AcceptInvitationDaily2, unknown>;
2211
+ export declare function acceptInvitationDaily2FromJSON(jsonString: string): SafeParseResult<AcceptInvitationDaily2, SDKValidationError>;
2212
+ /** @internal */
2213
+ export declare const AcceptInvitationWeekly2$inboundSchema: z.ZodMiniType<AcceptInvitationWeekly2, unknown>;
2214
+ export declare function acceptInvitationWeekly2FromJSON(jsonString: string): SafeParseResult<AcceptInvitationWeekly2, SDKValidationError>;
2215
+ /** @internal */
2216
+ export declare const AcceptInvitation$inboundSchema: z.ZodMiniType<AcceptInvitation, unknown>;
2217
+ export declare function acceptInvitationFromJSON(jsonString: string): SafeParseResult<AcceptInvitation, SDKValidationError>;
2218
+ /** @internal */
2219
+ export declare const CommentPostDaily$inboundSchema: z.ZodMiniType<CommentPostDaily, unknown>;
2220
+ export declare function commentPostDailyFromJSON(jsonString: string): SafeParseResult<CommentPostDaily, SDKValidationError>;
2221
+ /** @internal */
2222
+ export declare const CommentPostWeekly$inboundSchema: z.ZodMiniType<CommentPostWeekly, unknown>;
2223
+ export declare function commentPostWeeklyFromJSON(jsonString: string): SafeParseResult<CommentPostWeekly, SDKValidationError>;
2224
+ /** @internal */
2225
+ export declare const CommentPost$inboundSchema: z.ZodMiniType<CommentPost, unknown>;
2226
+ export declare function commentPostFromJSON(jsonString: string): SafeParseResult<CommentPost, SDKValidationError>;
2227
+ /** @internal */
2228
+ export declare const ReplyCommentDaily$inboundSchema: z.ZodMiniType<ReplyCommentDaily, unknown>;
2229
+ export declare function replyCommentDailyFromJSON(jsonString: string): SafeParseResult<ReplyCommentDaily, SDKValidationError>;
2230
+ /** @internal */
2231
+ export declare const ReplyCommentWeekly$inboundSchema: z.ZodMiniType<ReplyCommentWeekly, unknown>;
2232
+ export declare function replyCommentWeeklyFromJSON(jsonString: string): SafeParseResult<ReplyCommentWeekly, SDKValidationError>;
2233
+ /** @internal */
2234
+ export declare const ReplyComment$inboundSchema: z.ZodMiniType<ReplyComment, unknown>;
2235
+ export declare function replyCommentFromJSON(jsonString: string): SafeParseResult<ReplyComment, SDKValidationError>;
2236
+ /** @internal */
2237
+ export declare const ChatSearchDaily$inboundSchema: z.ZodMiniType<ChatSearchDaily, unknown>;
2238
+ export declare function chatSearchDailyFromJSON(jsonString: string): SafeParseResult<ChatSearchDaily, SDKValidationError>;
2239
+ /** @internal */
2240
+ export declare const ChatSearchWeekly$inboundSchema: z.ZodMiniType<ChatSearchWeekly, unknown>;
2241
+ export declare function chatSearchWeeklyFromJSON(jsonString: string): SafeParseResult<ChatSearchWeekly, SDKValidationError>;
2242
+ /** @internal */
2243
+ export declare const ChatSearch$inboundSchema: z.ZodMiniType<ChatSearch, unknown>;
2244
+ export declare function chatSearchFromJSON(jsonString: string): SafeParseResult<ChatSearch, SDKValidationError>;
2245
+ /** @internal */
2116
2246
  export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
2117
2247
  export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
2118
2248
  /** @internal */
2119
2249
  export declare const GetLimitsResponse$inboundSchema: z.ZodMiniType<GetLimitsResponse, unknown>;
2120
2250
  export declare function getLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetLimitsResponse, SDKValidationError>;
2121
2251
  /** @internal */
2122
- export declare const Credits$inboundSchema: z.ZodMiniType<Credits, unknown>;
2123
- export declare function creditsFromJSON(jsonString: string): SafeParseResult<Credits, SDKValidationError>;
2252
+ export declare const GetCreditsCredits$inboundSchema: z.ZodMiniType<GetCreditsCredits, unknown>;
2253
+ export declare function getCreditsCreditsFromJSON(jsonString: string): SafeParseResult<GetCreditsCredits, SDKValidationError>;
2124
2254
  /** @internal */
2125
2255
  export declare const GetCreditsResponse$inboundSchema: z.ZodMiniType<GetCreditsResponse, unknown>;
2126
2256
  export declare function getCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetCreditsResponse, SDKValidationError>;
@@ -2199,12 +2329,112 @@ export type ListConnectionsRequest$Outbound = {
2199
2329
  export declare const ListConnectionsRequest$outboundSchema: z.ZodMiniType<ListConnectionsRequest$Outbound, ListConnectionsRequest>;
2200
2330
  export declare function listConnectionsRequestToJSON(listConnectionsRequest: ListConnectionsRequest): string;
2201
2331
  /** @internal */
2332
+ export declare const ConnectedAt$inboundSchema: z.ZodMiniType<ConnectedAt, unknown>;
2333
+ export declare function connectedAtFromJSON(jsonString: string): SafeParseResult<ConnectedAt, SDKValidationError>;
2334
+ /** @internal */
2202
2335
  export declare const Connection$inboundSchema: z.ZodMiniType<Connection, unknown>;
2203
2336
  export declare function connectionFromJSON(jsonString: string): SafeParseResult<Connection, SDKValidationError>;
2204
2337
  /** @internal */
2205
2338
  export declare const ListConnectionsResponse$inboundSchema: z.ZodMiniType<ListConnectionsResponse, unknown>;
2206
2339
  export declare function listConnectionsResponseFromJSON(jsonString: string): SafeParseResult<ListConnectionsResponse, SDKValidationError>;
2207
2340
  /** @internal */
2341
+ export declare const QueryParamTabType$outboundSchema: z.ZodMiniEnum<typeof QueryParamTabType>;
2342
+ /** @internal */
2343
+ export type GetMyActivityRequest$Outbound = {
2344
+ tabType: string;
2345
+ companyId?: string | undefined;
2346
+ count: number;
2347
+ start: number;
2348
+ paginationToken?: string | undefined;
2349
+ };
2350
+ /** @internal */
2351
+ export declare const GetMyActivityRequest$outboundSchema: z.ZodMiniType<GetMyActivityRequest$Outbound, GetMyActivityRequest>;
2352
+ export declare function getMyActivityRequestToJSON(getMyActivityRequest: GetMyActivityRequest): string;
2353
+ /** @internal */
2354
+ export declare const TabTypeResponse$inboundSchema: z.ZodMiniType<TabTypeResponse, unknown>;
2355
+ /** @internal */
2356
+ export declare const GetMyActivityResponse$inboundSchema: z.ZodMiniType<GetMyActivityResponse, unknown>;
2357
+ export declare function getMyActivityResponseFromJSON(jsonString: string): SafeParseResult<GetMyActivityResponse, SDKValidationError>;
2358
+ /** @internal */
2359
+ export declare const User$inboundSchema: z.ZodMiniType<User, unknown>;
2360
+ export declare function userFromJSON(jsonString: string): SafeParseResult<User, SDKValidationError>;
2361
+ /** @internal */
2362
+ export declare const GetSettingsLocation$inboundSchema: z.ZodMiniType<GetSettingsLocation, unknown>;
2363
+ export declare function getSettingsLocationFromJSON(jsonString: string): SafeParseResult<GetSettingsLocation, SDKValidationError>;
2364
+ /** @internal */
2365
+ export declare const Proxy$inboundSchema: z.ZodMiniType<Proxy, unknown>;
2366
+ export declare function proxyFromJSON(jsonString: string): SafeParseResult<Proxy, SDKValidationError>;
2367
+ /** @internal */
2368
+ export declare const AnthropicKey$inboundSchema: z.ZodMiniType<AnthropicKey, unknown>;
2369
+ export declare function anthropicKeyFromJSON(jsonString: string): SafeParseResult<AnthropicKey, SDKValidationError>;
2370
+ /** @internal */
2371
+ export declare const Subscription$inboundSchema: z.ZodMiniType<Subscription, unknown>;
2372
+ export declare function subscriptionFromJSON(jsonString: string): SafeParseResult<Subscription, SDKValidationError>;
2373
+ /** @internal */
2374
+ export declare const GetSettingsCredits$inboundSchema: z.ZodMiniType<GetSettingsCredits, unknown>;
2375
+ export declare function getSettingsCreditsFromJSON(jsonString: string): SafeParseResult<GetSettingsCredits, SDKValidationError>;
2376
+ /** @internal */
2377
+ export declare const LinkedinAccountProxy$inboundSchema: z.ZodMiniType<LinkedinAccountProxy, unknown>;
2378
+ export declare function linkedinAccountProxyFromJSON(jsonString: string): SafeParseResult<LinkedinAccountProxy, SDKValidationError>;
2379
+ /** @internal */
2380
+ export declare const ApiKey$inboundSchema: z.ZodMiniType<ApiKey, unknown>;
2381
+ export declare function apiKeyFromJSON(jsonString: string): SafeParseResult<ApiKey, SDKValidationError>;
2382
+ /** @internal */
2383
+ export declare const LinkedinAccount$inboundSchema: z.ZodMiniType<LinkedinAccount, unknown>;
2384
+ export declare function linkedinAccountFromJSON(jsonString: string): SafeParseResult<LinkedinAccount, SDKValidationError>;
2385
+ /** @internal */
2386
+ export declare const PendingInvite$inboundSchema: z.ZodMiniType<PendingInvite, unknown>;
2387
+ export declare function pendingInviteFromJSON(jsonString: string): SafeParseResult<PendingInvite, SDKValidationError>;
2388
+ /** @internal */
2389
+ export declare const GetSettingsResponse$inboundSchema: z.ZodMiniType<GetSettingsResponse, unknown>;
2390
+ export declare function getSettingsResponseFromJSON(jsonString: string): SafeParseResult<GetSettingsResponse, SDKValidationError>;
2391
+ /** @internal */
2392
+ export type PatchSettingsRequest$Outbound = {
2393
+ country?: string | undefined;
2394
+ city?: string | undefined;
2395
+ phone?: string | null | undefined;
2396
+ anthropicKey?: string | null | undefined;
2397
+ };
2398
+ /** @internal */
2399
+ export declare const PatchSettingsRequest$outboundSchema: z.ZodMiniType<PatchSettingsRequest$Outbound, PatchSettingsRequest>;
2400
+ export declare function patchSettingsRequestToJSON(patchSettingsRequest: PatchSettingsRequest): string;
2401
+ /** @internal */
2402
+ export declare const PatchSettingsResponse$inboundSchema: z.ZodMiniType<PatchSettingsResponse, unknown>;
2403
+ export declare function patchSettingsResponseFromJSON(jsonString: string): SafeParseResult<PatchSettingsResponse, SDKValidationError>;
2404
+ /** @internal */
2405
+ export declare const RevalidateLinkedinResponse$inboundSchema: z.ZodMiniType<RevalidateLinkedinResponse, unknown>;
2406
+ export declare function revalidateLinkedinResponseFromJSON(jsonString: string): SafeParseResult<RevalidateLinkedinResponse, SDKValidationError>;
2407
+ /** @internal */
2408
+ export type GetApiTokenRequest$Outbound = {
2409
+ accountId?: string | undefined;
2410
+ };
2411
+ /** @internal */
2412
+ export declare const GetApiTokenRequest$outboundSchema: z.ZodMiniType<GetApiTokenRequest$Outbound, GetApiTokenRequest>;
2413
+ export declare function getApiTokenRequestToJSON(getApiTokenRequest: GetApiTokenRequest): string;
2414
+ /** @internal */
2415
+ export declare const GetApiTokenResponse$inboundSchema: z.ZodMiniType<GetApiTokenResponse, unknown>;
2416
+ export declare function getApiTokenResponseFromJSON(jsonString: string): SafeParseResult<GetApiTokenResponse, SDKValidationError>;
2417
+ /** @internal */
2418
+ export type CreateApiTokenRequest$Outbound = {
2419
+ accountId?: string | undefined;
2420
+ };
2421
+ /** @internal */
2422
+ export declare const CreateApiTokenRequest$outboundSchema: z.ZodMiniType<CreateApiTokenRequest$Outbound, CreateApiTokenRequest>;
2423
+ export declare function createApiTokenRequestToJSON(createApiTokenRequest: CreateApiTokenRequest): string;
2424
+ /** @internal */
2425
+ export declare const CreateApiTokenResponse$inboundSchema: z.ZodMiniType<CreateApiTokenResponse, unknown>;
2426
+ export declare function createApiTokenResponseFromJSON(jsonString: string): SafeParseResult<CreateApiTokenResponse, SDKValidationError>;
2427
+ /** @internal */
2428
+ export type DeleteApiTokenRequest$Outbound = {
2429
+ accountId?: string | undefined;
2430
+ };
2431
+ /** @internal */
2432
+ export declare const DeleteApiTokenRequest$outboundSchema: z.ZodMiniType<DeleteApiTokenRequest$Outbound, DeleteApiTokenRequest>;
2433
+ export declare function deleteApiTokenRequestToJSON(deleteApiTokenRequest: DeleteApiTokenRequest): string;
2434
+ /** @internal */
2435
+ export declare const DeleteApiTokenResponse$inboundSchema: z.ZodMiniType<DeleteApiTokenResponse, unknown>;
2436
+ export declare function deleteApiTokenResponseFromJSON(jsonString: string): SafeParseResult<DeleteApiTokenResponse, SDKValidationError>;
2437
+ /** @internal */
2208
2438
  export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
2209
2439
  export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
2210
2440
  /** @internal */
@@ -2260,6 +2490,7 @@ export declare function getAnalyticsResponseFromJSON(jsonString: string): SafePa
2260
2490
  /** @internal */
2261
2491
  export type ListInboxRequest$Outbound = {
2262
2492
  nextCursor?: string | undefined;
2493
+ count?: number | undefined;
2263
2494
  };
2264
2495
  /** @internal */
2265
2496
  export declare const ListInboxRequest$outboundSchema: z.ZodMiniType<ListInboxRequest$Outbound, ListInboxRequest>;
@@ -2410,212 +2641,4 @@ export declare function archiveRequestToJSON(archiveRequest: ArchiveRequest): st
2410
2641
  /** @internal */
2411
2642
  export declare const ArchiveResponse$inboundSchema: z.ZodMiniType<ArchiveResponse, unknown>;
2412
2643
  export declare function archiveResponseFromJSON(jsonString: string): SafeParseResult<ArchiveResponse, SDKValidationError>;
2413
- /** @internal */
2414
- export type UnarchiveRequest$Outbound = {
2415
- conversationUrn: string;
2416
- };
2417
- /** @internal */
2418
- export declare const UnarchiveRequest$outboundSchema: z.ZodMiniType<UnarchiveRequest$Outbound, UnarchiveRequest>;
2419
- export declare function unarchiveRequestToJSON(unarchiveRequest: UnarchiveRequest): string;
2420
- /** @internal */
2421
- export declare const UnarchiveResponse$inboundSchema: z.ZodMiniType<UnarchiveResponse, unknown>;
2422
- export declare function unarchiveResponseFromJSON(jsonString: string): SafeParseResult<UnarchiveResponse, SDKValidationError>;
2423
- /** @internal */
2424
- export type ListArchivedRequest$Outbound = {
2425
- nextCursor?: string | undefined;
2426
- };
2427
- /** @internal */
2428
- export declare const ListArchivedRequest$outboundSchema: z.ZodMiniType<ListArchivedRequest$Outbound, ListArchivedRequest>;
2429
- export declare function listArchivedRequestToJSON(listArchivedRequest: ListArchivedRequest): string;
2430
- /** @internal */
2431
- export declare const ListArchivedParticipant$inboundSchema: z.ZodMiniType<ListArchivedParticipant, unknown>;
2432
- export declare function listArchivedParticipantFromJSON(jsonString: string): SafeParseResult<ListArchivedParticipant, SDKValidationError>;
2433
- /** @internal */
2434
- export declare const ListArchivedLastMessage$inboundSchema: z.ZodMiniType<ListArchivedLastMessage, unknown>;
2435
- export declare function listArchivedLastMessageFromJSON(jsonString: string): SafeParseResult<ListArchivedLastMessage, SDKValidationError>;
2436
- /** @internal */
2437
- export declare const ListArchivedConversation$inboundSchema: z.ZodMiniType<ListArchivedConversation, unknown>;
2438
- export declare function listArchivedConversationFromJSON(jsonString: string): SafeParseResult<ListArchivedConversation, SDKValidationError>;
2439
- /** @internal */
2440
- export declare const ListArchivedResponse$inboundSchema: z.ZodMiniType<ListArchivedResponse, unknown>;
2441
- export declare function listArchivedResponseFromJSON(jsonString: string): SafeParseResult<ListArchivedResponse, SDKValidationError>;
2442
- /** @internal */
2443
- export type ReactRequest$Outbound = {
2444
- messageUrn: string;
2445
- emoji: string;
2446
- conversationUrn: string;
2447
- };
2448
- /** @internal */
2449
- export declare const ReactRequest$outboundSchema: z.ZodMiniType<ReactRequest$Outbound, ReactRequest>;
2450
- export declare function reactRequestToJSON(reactRequest: ReactRequest): string;
2451
- /** @internal */
2452
- export declare const ReactResponse$inboundSchema: z.ZodMiniType<ReactResponse, unknown>;
2453
- export declare function reactResponseFromJSON(jsonString: string): SafeParseResult<ReactResponse, SDKValidationError>;
2454
- /** @internal */
2455
- export type UnreactRequest$Outbound = {
2456
- messageUrn: string;
2457
- emoji: string;
2458
- conversationUrn: string;
2459
- };
2460
- /** @internal */
2461
- export declare const UnreactRequest$outboundSchema: z.ZodMiniType<UnreactRequest$Outbound, UnreactRequest>;
2462
- export declare function unreactRequestToJSON(unreactRequest: UnreactRequest): string;
2463
- /** @internal */
2464
- export declare const UnreactResponse$inboundSchema: z.ZodMiniType<UnreactResponse, unknown>;
2465
- export declare function unreactResponseFromJSON(jsonString: string): SafeParseResult<UnreactResponse, SDKValidationError>;
2466
- /** @internal */
2467
- export type SendTypingIndicatorRequest$Outbound = {
2468
- conversationUrn: string;
2469
- };
2470
- /** @internal */
2471
- export declare const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<SendTypingIndicatorRequest$Outbound, SendTypingIndicatorRequest>;
2472
- export declare function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest: SendTypingIndicatorRequest): string;
2473
- /** @internal */
2474
- export declare const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<SendTypingIndicatorResponse, unknown>;
2475
- export declare function sendTypingIndicatorResponseFromJSON(jsonString: string): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError>;
2476
- /** @internal */
2477
- export declare const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<GetUnreadCountResponse, unknown>;
2478
- export declare function getUnreadCountResponseFromJSON(jsonString: string): SafeParseResult<GetUnreadCountResponse, SDKValidationError>;
2479
- /** @internal */
2480
- export type FilterRequest$Outbound = {
2481
- campaignSlug: string;
2482
- actionSlugs: string;
2483
- };
2484
- /** @internal */
2485
- export declare const FilterRequest$outboundSchema: z.ZodMiniType<FilterRequest$Outbound, FilterRequest>;
2486
- export declare function filterRequestToJSON(filterRequest: FilterRequest): string;
2487
- /** @internal */
2488
- export declare const CheckedSlug$inboundSchema: z.ZodMiniType<CheckedSlug, unknown>;
2489
- export declare function checkedSlugFromJSON(jsonString: string): SafeParseResult<CheckedSlug, SDKValidationError>;
2490
- /** @internal */
2491
- export declare const FilterResponse$inboundSchema: z.ZodMiniType<FilterResponse, unknown>;
2492
- export declare function filterResponseFromJSON(jsonString: string): SafeParseResult<FilterResponse, SDKValidationError>;
2493
- /** @internal */
2494
- export type GetStatusRequestBody$Outbound = {
2495
- profiles: Array<string>;
2496
- };
2497
- /** @internal */
2498
- export declare const GetStatusRequestBody$outboundSchema: z.ZodMiniType<GetStatusRequestBody$Outbound, GetStatusRequestBody>;
2499
- export declare function getStatusRequestBodyToJSON(getStatusRequestBody: GetStatusRequestBody): string;
2500
- /** @internal */
2501
- export type GetStatusRequest$Outbound = {
2502
- campaignSlug: string;
2503
- body: GetStatusRequestBody$Outbound;
2504
- };
2505
- /** @internal */
2506
- export declare const GetStatusRequest$outboundSchema: z.ZodMiniType<GetStatusRequest$Outbound, GetStatusRequest>;
2507
- export declare function getStatusRequestToJSON(getStatusRequest: GetStatusRequest): string;
2508
- /** @internal */
2509
- export declare const GetStatusProfile$inboundSchema: z.ZodMiniType<GetStatusProfile, unknown>;
2510
- export declare function getStatusProfileFromJSON(jsonString: string): SafeParseResult<GetStatusProfile, SDKValidationError>;
2511
- /** @internal */
2512
- export declare const GetStatusResponse$inboundSchema: z.ZodMiniType<GetStatusResponse, unknown>;
2513
- export declare function getStatusResponseFromJSON(jsonString: string): SafeParseResult<GetStatusResponse, SDKValidationError>;
2514
- /** @internal */
2515
- export declare const SyncAction$outboundSchema: z.ZodMiniEnum<typeof SyncAction>;
2516
- /** @internal */
2517
- export type SyncProfile$Outbound = {
2518
- profile: string;
2519
- actions: Array<string>;
2520
- };
2521
- /** @internal */
2522
- export declare const SyncProfile$outboundSchema: z.ZodMiniType<SyncProfile$Outbound, SyncProfile>;
2523
- export declare function syncProfileToJSON(syncProfile: SyncProfile): string;
2524
- /** @internal */
2525
- export type SyncRequestBody$Outbound = {
2526
- profiles: Array<SyncProfile$Outbound>;
2527
- };
2528
- /** @internal */
2529
- export declare const SyncRequestBody$outboundSchema: z.ZodMiniType<SyncRequestBody$Outbound, SyncRequestBody>;
2530
- export declare function syncRequestBodyToJSON(syncRequestBody: SyncRequestBody): string;
2531
- /** @internal */
2532
- export type SyncRequest$Outbound = {
2533
- campaignSlug: string;
2534
- body: SyncRequestBody$Outbound;
2535
- };
2536
- /** @internal */
2537
- export declare const SyncRequest$outboundSchema: z.ZodMiniType<SyncRequest$Outbound, SyncRequest>;
2538
- export declare function syncRequestToJSON(syncRequest: SyncRequest): string;
2539
- /** @internal */
2540
- export declare const Synced$inboundSchema: z.ZodMiniType<Synced, unknown>;
2541
- export declare function syncedFromJSON(jsonString: string): SafeParseResult<Synced, SDKValidationError>;
2542
- /** @internal */
2543
- export declare const SyncResponse$inboundSchema: z.ZodMiniType<SyncResponse, unknown>;
2544
- export declare function syncResponseFromJSON(jsonString: string): SafeParseResult<SyncResponse, SDKValidationError>;
2545
- /** @internal */
2546
- export type GetCampaignStatsRequest$Outbound = {
2547
- campaignSlug: string;
2548
- };
2549
- /** @internal */
2550
- export declare const GetCampaignStatsRequest$outboundSchema: z.ZodMiniType<GetCampaignStatsRequest$Outbound, GetCampaignStatsRequest>;
2551
- export declare function getCampaignStatsRequestToJSON(getCampaignStatsRequest: GetCampaignStatsRequest): string;
2552
- /** @internal */
2553
- export declare const GetCampaignStatsResponse$inboundSchema: z.ZodMiniType<GetCampaignStatsResponse, unknown>;
2554
- export declare function getCampaignStatsResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignStatsResponse, SDKValidationError>;
2555
- /** @internal */
2556
- export declare const UpsertSource$outboundSchema: z.ZodMiniEnum<typeof UpsertSource>;
2557
- /** @internal */
2558
- export declare const UpsertLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof UpsertLifecycleStage>;
2559
- /** @internal */
2560
- export type UpsertContactRequest$Outbound = {
2561
- linkedinUrl: string;
2562
- profileUrn?: string | null | undefined;
2563
- publicIdentifier?: string | null | undefined;
2564
- name: string;
2565
- source: string;
2566
- sourceAngle?: string | undefined;
2567
- lifecycleStage?: string | undefined;
2568
- hotScore?: number | undefined;
2569
- qualificationNotes?: string | undefined;
2570
- notes?: string | undefined;
2571
- };
2572
- /** @internal */
2573
- export declare const UpsertContactRequest$outboundSchema: z.ZodMiniType<UpsertContactRequest$Outbound, UpsertContactRequest>;
2574
- export declare function upsertContactRequestToJSON(upsertContactRequest: UpsertContactRequest): string;
2575
- /** @internal */
2576
- export type UpsertRequest$Outbound = {
2577
- contacts: Array<UpsertContactRequest$Outbound>;
2578
- };
2579
- /** @internal */
2580
- export declare const UpsertRequest$outboundSchema: z.ZodMiniType<UpsertRequest$Outbound, UpsertRequest>;
2581
- export declare function upsertRequestToJSON(upsertRequest: UpsertRequest): string;
2582
- /** @internal */
2583
- export declare const UpsertResults$inboundSchema: z.ZodMiniType<UpsertResults, unknown>;
2584
- export declare function upsertResultsFromJSON(jsonString: string): SafeParseResult<UpsertResults, SDKValidationError>;
2585
- /** @internal */
2586
- export declare const UpsertContactResponse$inboundSchema: z.ZodMiniType<UpsertContactResponse, unknown>;
2587
- export declare function upsertContactResponseFromJSON(jsonString: string): SafeParseResult<UpsertContactResponse, SDKValidationError>;
2588
- /** @internal */
2589
- export declare const UpsertResponse$inboundSchema: z.ZodMiniType<UpsertResponse, unknown>;
2590
- export declare function upsertResponseFromJSON(jsonString: string): SafeParseResult<UpsertResponse, SDKValidationError>;
2591
- /** @internal */
2592
- export declare const SearchContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof SearchContactsLifecycleStage>;
2593
- /** @internal */
2594
- export declare const SearchContactsOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof SearchContactsOutreachStatus>;
2595
- /** @internal */
2596
- export declare const DoNotContact$outboundSchema: z.ZodMiniEnum<typeof DoNotContact>;
2597
- /** @internal */
2598
- export declare const HasProfileData$outboundSchema: z.ZodMiniEnum<typeof HasProfileData>;
2599
- /** @internal */
2600
- export type SearchContactsRequest$Outbound = {
2601
- linkedinUrl?: string | undefined;
2602
- name?: string | undefined;
2603
- lifecycleStage?: string | undefined;
2604
- sortBy?: string | undefined;
2605
- minHotScore?: number | undefined;
2606
- outreachStatus?: string | undefined;
2607
- tag?: string | undefined;
2608
- followUpBefore?: string | undefined;
2609
- doNotContact?: string | undefined;
2610
- hasProfileData?: string | undefined;
2611
- campaignId?: string | undefined;
2612
- limit: number;
2613
- offset: number;
2614
- };
2615
- /** @internal */
2616
- export declare const SearchContactsRequest$outboundSchema: z.ZodMiniType<SearchContactsRequest$Outbound, SearchContactsRequest>;
2617
- export declare function searchContactsRequestToJSON(searchContactsRequest: SearchContactsRequest): string;
2618
- /** @internal */
2619
- export declare const SearchContactsCampaign$inboundSchema: z.ZodMiniType<SearchContactsCampaign, unknown>;
2620
- export declare function searchContactsCampaignFromJSON(jsonString: string): SafeParseResult<SearchContactsCampaign, SDKValidationError>;
2621
- //# sourceMappingURL=search-contacts-campaign.d.ts.map
2644
+ //# sourceMappingURL=archive-response.d.ts.map