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,7 +2,8 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ export * from "./archive-response.js";
6
+ export * from "./delete-workspace-invite-response.js";
7
+ export * from "./get-by-url-campaign.js";
5
8
  export * from "./search-companies-response.js";
6
- export * from "./search-contacts-campaign.js";
7
- export * from "./update-account-response.js";
8
- export * from "./update-schedule-response.js";
9
+ export * from "./update-account-proxy-config-response.js";
@@ -458,6 +458,10 @@ export type CollectPostsRequest = {
458
458
  * Pagination token from a previous response to fetch the next page.
459
459
  */
460
460
  paginationToken?: string | undefined;
461
+ /**
462
+ * Include reposts/reshares in results. Defaults to false (only original posts).
463
+ */
464
+ returnReposts?: boolean | undefined;
461
465
  };
462
466
 
463
467
  export const CollectPostsType = {
@@ -513,6 +517,10 @@ export type CollectPostsPost = {
513
517
  postUrn: string;
514
518
  postId: string;
515
519
  type: CollectPostsType;
520
+ /**
521
+ * True when the post is a repost/reshare of another post. Absent for original posts.
522
+ */
523
+ isRepost?: boolean | undefined;
516
524
  /**
517
525
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
518
526
  */
@@ -600,15 +608,15 @@ export type VisitProfilePosition = {
600
608
  companyName: string | null;
601
609
  title: string | null;
602
610
  /**
603
- * Position description / responsibilities text
611
+ * Position description / responsibilities text (only populated when includeAbout is true)
604
612
  */
605
- description: string | null;
613
+ description?: string | null | undefined;
606
614
  companyUrl: string | null;
607
615
  companyLogo: string | null;
608
616
  /**
609
- * Short description of the company (from LinkedIn company page)
617
+ * Short description of the company (only populated when includeAbout is true)
610
618
  */
611
- companyDescription: string | null;
619
+ companyDescription?: string | null | undefined;
612
620
  startDate: VisitProfilePositionStartDate | null;
613
621
  endDate: VisitProfilePositionEndDate | null;
614
622
  isCurrent: boolean;
@@ -689,6 +697,10 @@ export type VisitProfileLastPost = {
689
697
  postUrn: string;
690
698
  postId: string;
691
699
  type: VisitProfileLastPostType;
700
+ /**
701
+ * True when the post is a repost/reshare of another post. Absent for original posts.
702
+ */
703
+ isRepost?: boolean | undefined;
692
704
  /**
693
705
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
694
706
  */
@@ -773,6 +785,10 @@ export type VisitProfileResponse = {
773
785
  profileUrn: string | null;
774
786
  imageUrl: string | null;
775
787
  email: string | null;
788
+ /**
789
+ * Phone number from LinkedIn profile (rarely available)
790
+ */
791
+ phone: string | null;
776
792
  location: string | null;
777
793
  /**
778
794
  * Current company name (from most recent position)
@@ -790,6 +806,10 @@ export type VisitProfileResponse = {
790
806
  * Total number of connections. May be null for non-connected profiles or restricted visibility.
791
807
  */
792
808
  connectionsCount: number | null;
809
+ /**
810
+ * Total number of followers. Null for restricted profiles or when unavailable.
811
+ */
812
+ followersCount: number | null;
793
813
  /**
794
814
  * Whether the profile has a LinkedIn verification badge.
795
815
  */
@@ -1227,6 +1247,10 @@ export type GetFeedPost = {
1227
1247
  postUrn: string;
1228
1248
  postId: string;
1229
1249
  type: GetFeedType;
1250
+ /**
1251
+ * True when the post is a repost/reshare of another post. Absent for original posts.
1252
+ */
1253
+ isRepost?: boolean | undefined;
1230
1254
  /**
1231
1255
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
1232
1256
  */
@@ -1324,6 +1348,14 @@ export type CollectHashtagPostsResponse = {
1324
1348
  posts: Array<CollectHashtagPostsPost>;
1325
1349
  total: number;
1326
1350
  hasMore: boolean;
1351
+ /**
1352
+ * Current pagination offset
1353
+ */
1354
+ start: number;
1355
+ /**
1356
+ * Offset for next page of results
1357
+ */
1358
+ nextStart: number;
1327
1359
  /**
1328
1360
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1329
1361
  */
@@ -1787,11 +1819,11 @@ export type SearchPostsRequest = {
1787
1819
  */
1788
1820
  contentType?: SearchPostsContentType | undefined;
1789
1821
  /**
1790
- * Filter by the post author's industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'. Example: resolve 'Technology' to get industry IDs.
1822
+ * Filter by the post author's industry. Array of LinkedIn industry IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='INDUSTRY'. Example: resolve 'Technology' to get industry IDs.
1791
1823
  */
1792
1824
  authorIndustry?: Array<string> | undefined;
1793
1825
  /**
1794
- * Filter by the post author's company. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' to get company ID '1441'.
1826
+ * Filter by the post author's company. Array of LinkedIn company IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' to get company ID '1441'.
1795
1827
  */
1796
1828
  authorCompany?: Array<string> | undefined;
1797
1829
  /**
@@ -1952,19 +1984,19 @@ export type SearchPeopleRequest = {
1952
1984
  */
1953
1985
  profileLanguage?: Array<string> | undefined;
1954
1986
  /**
1955
- * Filter by school/university. Array of LinkedIn school IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='SCHOOL'. Example: resolve 'Harvard' to get school IDs.
1987
+ * Filter by school/university. Array of LinkedIn school IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='SCHOOL'. Example: resolve 'Harvard' to get school IDs.
1956
1988
  */
1957
1989
  school?: Array<string> | undefined;
1958
1990
  /**
1959
- * Filter by geographic location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'. Example: resolve 'San Francisco' → '102277331'.
1991
+ * Filter by geographic location. Array of LinkedIn geo IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='GEO'. Example: resolve 'San Francisco' → '102277331'.
1960
1992
  */
1961
1993
  location?: Array<string> | undefined;
1962
1994
  /**
1963
- * Filter by industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
1995
+ * Filter by industry. Array of LinkedIn industry IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='INDUSTRY'.
1964
1996
  */
1965
1997
  industry?: Array<string> | undefined;
1966
1998
  /**
1967
- * Filter by current employer. Array of LinkedIn company IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' → '1441'.
1999
+ * Filter by current employer. Array of LinkedIn company IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='COMPANY'. Example: resolve 'Google' → '1441'.
1968
2000
  */
1969
2001
  currentCompany?: Array<string> | undefined;
1970
2002
  /**
@@ -2075,11 +2107,11 @@ export type SearchCompaniesRequest = {
2075
2107
  */
2076
2108
  url?: string | undefined;
2077
2109
  /**
2078
- * Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
2110
+ * Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='GEO'.
2079
2111
  */
2080
2112
  location?: Array<string> | undefined;
2081
2113
  /**
2082
- * Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
2114
+ * Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='INDUSTRY'.
2083
2115
  */
2084
2116
  industry?: Array<string> | undefined;
2085
2117
  /**
@@ -2933,6 +2965,7 @@ export type CollectPostsRequest$Outbound = {
2933
2965
  count?: number | undefined;
2934
2966
  start?: number | undefined;
2935
2967
  paginationToken?: string | undefined;
2968
+ returnReposts: boolean;
2936
2969
  };
2937
2970
 
2938
2971
  /** @internal */
@@ -2944,6 +2977,7 @@ export const CollectPostsRequest$outboundSchema: z.ZodMiniType<
2944
2977
  count: z.optional(z.int()),
2945
2978
  start: z.optional(z.int()),
2946
2979
  paginationToken: z.optional(z.string()),
2980
+ returnReposts: z._default(z.boolean(), false),
2947
2981
  });
2948
2982
 
2949
2983
  export function collectPostsRequestToJSON(
@@ -3001,6 +3035,7 @@ export const CollectPostsPost$inboundSchema: z.ZodMiniType<
3001
3035
  postUrn: types.string(),
3002
3036
  postId: types.string(),
3003
3037
  type: CollectPostsType$inboundSchema,
3038
+ isRepost: types.optional(types.boolean()),
3004
3039
  media: types.optional(z.lazy(() => CollectPostsMedia$inboundSchema)),
3005
3040
  });
3006
3041
 
@@ -3123,10 +3158,10 @@ export const VisitProfilePosition$inboundSchema: z.ZodMiniType<
3123
3158
  > = z.object({
3124
3159
  companyName: types.nullable(types.string()),
3125
3160
  title: types.nullable(types.string()),
3126
- description: types.nullable(types.string()),
3161
+ description: z.optional(z.nullable(types.string())),
3127
3162
  companyUrl: types.nullable(types.string()),
3128
3163
  companyLogo: types.nullable(types.string()),
3129
- companyDescription: types.nullable(types.string()),
3164
+ companyDescription: z.optional(z.nullable(types.string())),
3130
3165
  startDate: types.nullable(
3131
3166
  z.lazy(() => VisitProfilePositionStartDate$inboundSchema),
3132
3167
  ),
@@ -3259,6 +3294,7 @@ export const VisitProfileLastPost$inboundSchema: z.ZodMiniType<
3259
3294
  postUrn: types.string(),
3260
3295
  postId: types.string(),
3261
3296
  type: VisitProfileLastPostType$inboundSchema,
3297
+ isRepost: types.optional(types.boolean()),
3262
3298
  media: types.optional(z.lazy(() => VisitProfileMedia$inboundSchema)),
3263
3299
  });
3264
3300
 
@@ -3318,11 +3354,13 @@ export const VisitProfileResponse$inboundSchema: z.ZodMiniType<
3318
3354
  profileUrn: types.nullable(types.string()),
3319
3355
  imageUrl: types.nullable(types.string()),
3320
3356
  email: types.nullable(types.string()),
3357
+ phone: types.nullable(types.string()),
3321
3358
  location: types.nullable(types.string()),
3322
3359
  company: types.nullable(types.string()),
3323
3360
  position: types.nullable(types.string()),
3324
3361
  memberDistance: types.nullable(types.number()),
3325
3362
  connectionsCount: types.nullable(types.number()),
3363
+ followersCount: types.nullable(types.number()),
3326
3364
  isVerified: types.boolean(),
3327
3365
  pendingConnection: PendingConnection$inboundSchema,
3328
3366
  positions: types.optional(
@@ -3902,6 +3940,7 @@ export const GetFeedPost$inboundSchema: z.ZodMiniType<GetFeedPost, unknown> = z
3902
3940
  postUrn: types.string(),
3903
3941
  postId: types.string(),
3904
3942
  type: GetFeedType$inboundSchema,
3943
+ isRepost: types.optional(types.boolean()),
3905
3944
  media: types.optional(z.lazy(() => GetFeedMedia$inboundSchema)),
3906
3945
  });
3907
3946
 
@@ -4044,6 +4083,8 @@ export const CollectHashtagPostsResponse$inboundSchema: z.ZodMiniType<
4044
4083
  posts: z.array(z.lazy(() => CollectHashtagPostsPost$inboundSchema)),
4045
4084
  total: types.number(),
4046
4085
  hasMore: types.boolean(),
4086
+ start: types.number(),
4087
+ nextStart: types.number(),
4047
4088
  creditsUsed: types.number(),
4048
4089
  retryAfter: types.number(),
4049
4090
  });
@@ -80,7 +80,7 @@ export type SearchJobsRequest = {
80
80
  */
81
81
  url?: string | undefined;
82
82
  /**
83
- * Filter by job location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
83
+ * Filter by job location. Array of LinkedIn geo IDs. Resolve text to IDs via GET /search/linkedin/parameters with type='GEO'.
84
84
  */
85
85
  location?: Array<string> | undefined;
86
86
  /**
@@ -1062,6 +1062,10 @@ export type ConnectProfileRequest = {
1062
1062
  * LinkedIn profile identifier. Accepts full URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
1063
1063
  */
1064
1064
  profile: string;
1065
+ /**
1066
+ * Optional personalized message to include with the connection request. Maximum 300 characters (LinkedIn limit).
1067
+ */
1068
+ message?: string | undefined;
1065
1069
  /**
1066
1070
  * Campaign identifier for deduplication. Dedup by profile automatically.
1067
1071
  */
@@ -1806,6 +1810,40 @@ export type EditCommentResponse = {
1806
1810
  retryAfter: number;
1807
1811
  };
1808
1812
 
1813
+ export type EditProfileRequest = {
1814
+ /**
1815
+ * New LinkedIn headline (max 220 chars)
1816
+ */
1817
+ headline?: string | undefined;
1818
+ /**
1819
+ * New LinkedIn about/summary section (max 2600 chars)
1820
+ */
1821
+ summary?: string | undefined;
1822
+ };
1823
+
1824
+ /**
1825
+ * Profile updated
1826
+ */
1827
+ export type EditProfileResponse = {
1828
+ success: true;
1829
+ /**
1830
+ * Fields that were updated on LinkedIn
1831
+ */
1832
+ updated: Array<string>;
1833
+ /**
1834
+ * Fields that were synced back to the local database
1835
+ */
1836
+ synced: Array<string>;
1837
+ /**
1838
+ * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
1839
+ */
1840
+ creditsUsed: number;
1841
+ /**
1842
+ * Seconds to wait before making another call of the same type. 0 means no wait needed.
1843
+ */
1844
+ retryAfter: number;
1845
+ };
1846
+
1809
1847
  export type RepostPostRequest = {
1810
1848
  /**
1811
1849
  * LinkedIn post URL to repost
@@ -1979,15 +2017,15 @@ export type GetProfilePosition = {
1979
2017
  companyName: string | null;
1980
2018
  title: string | null;
1981
2019
  /**
1982
- * Position description / responsibilities text
2020
+ * Position description / responsibilities text (only populated when includeAbout is true)
1983
2021
  */
1984
- description: string | null;
2022
+ description?: string | null | undefined;
1985
2023
  companyUrl: string | null;
1986
2024
  companyLogo: string | null;
1987
2025
  /**
1988
- * Short description of the company (from LinkedIn company page)
2026
+ * Short description of the company (only populated when includeAbout is true)
1989
2027
  */
1990
- companyDescription: string | null;
2028
+ companyDescription?: string | null | undefined;
1991
2029
  startDate: GetProfilePositionStartDate | null;
1992
2030
  endDate: GetProfilePositionEndDate | null;
1993
2031
  isCurrent: boolean;
@@ -2074,6 +2112,10 @@ export type GetProfileLastPost = {
2074
2112
  postUrn: string;
2075
2113
  postId: string;
2076
2114
  type: GetProfileType;
2115
+ /**
2116
+ * True when the post is a repost/reshare of another post. Absent for original posts.
2117
+ */
2118
+ isRepost?: boolean | undefined;
2077
2119
  /**
2078
2120
  * Media attached to the post (image, video, document, or article). Absent when the post is text-only.
2079
2121
  */
@@ -2129,6 +2171,10 @@ export type GetProfileResponse = {
2129
2171
  * Total LinkedIn connections
2130
2172
  */
2131
2173
  connectionsCount: number | null;
2174
+ /**
2175
+ * Total number of followers
2176
+ */
2177
+ followersCount?: number | null | undefined;
2132
2178
  /**
2133
2179
  * Profile location
2134
2180
  */
@@ -2141,6 +2187,14 @@ export type GetProfileResponse = {
2141
2187
  * Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
2142
2188
  */
2143
2189
  lastPosts?: Array<GetProfileLastPost> | undefined;
2190
+ /**
2191
+ * Last 20 comments by the user (populated after /me/linkedin/activity?tabType=COMMENTS)
2192
+ */
2193
+ lastComments?: Array<any> | undefined;
2194
+ /**
2195
+ * Last reactions by the user (populated after /me/linkedin/activity?tabType=REACTIONS)
2196
+ */
2197
+ lastReactions?: Array<any> | undefined;
2144
2198
  /**
2145
2199
  * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
2146
2200
  */
@@ -2279,34 +2333,6 @@ export type UpdateAccountProxyConfigResponse = {
2279
2333
  rotationHours: number | null;
2280
2334
  };
2281
2335
 
2282
- export type UpdateAccountAccount = {
2283
- id: string;
2284
- label: string | null;
2285
- isDefault: boolean;
2286
- linkedinProfileId: string | null;
2287
- linkedinName: string | null;
2288
- headline: string | null;
2289
- profilePic: string | null;
2290
- isValid: boolean;
2291
- proxyConfig: UpdateAccountProxyConfigResponse | null;
2292
- };
2293
-
2294
- /**
2295
- * Updated account
2296
- */
2297
- export type UpdateAccountResponse = {
2298
- success: true;
2299
- account: UpdateAccountAccount;
2300
- /**
2301
- * Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
2302
- */
2303
- creditsUsed: number;
2304
- /**
2305
- * Seconds to wait before making another call of the same type. 0 means no wait needed.
2306
- */
2307
- retryAfter: number;
2308
- };
2309
-
2310
2336
  /** @internal */
2311
2337
  export const SearchJobsDatePosted$outboundSchema: z.ZodMiniEnum<
2312
2338
  typeof SearchJobsDatePosted
@@ -3668,6 +3694,7 @@ export function searchSalesNavCompaniesResponseFromJSON(
3668
3694
  /** @internal */
3669
3695
  export type ConnectProfileRequest$Outbound = {
3670
3696
  profile: string;
3697
+ message?: string | undefined;
3671
3698
  campaignSlug?: string | undefined;
3672
3699
  actionSlug?: string | undefined;
3673
3700
  };
@@ -3678,6 +3705,7 @@ export const ConnectProfileRequest$outboundSchema: z.ZodMiniType<
3678
3705
  ConnectProfileRequest
3679
3706
  > = z.object({
3680
3707
  profile: z.string(),
3708
+ message: z.optional(z.string()),
3681
3709
  campaignSlug: z.optional(z.string()),
3682
3710
  actionSlug: z.optional(z.string()),
3683
3711
  });
@@ -4562,6 +4590,51 @@ export function editCommentResponseFromJSON(
4562
4590
  );
4563
4591
  }
4564
4592
 
4593
+ /** @internal */
4594
+ export type EditProfileRequest$Outbound = {
4595
+ headline?: string | undefined;
4596
+ summary?: string | undefined;
4597
+ };
4598
+
4599
+ /** @internal */
4600
+ export const EditProfileRequest$outboundSchema: z.ZodMiniType<
4601
+ EditProfileRequest$Outbound,
4602
+ EditProfileRequest
4603
+ > = z.object({
4604
+ headline: z.optional(z.string()),
4605
+ summary: z.optional(z.string()),
4606
+ });
4607
+
4608
+ export function editProfileRequestToJSON(
4609
+ editProfileRequest: EditProfileRequest,
4610
+ ): string {
4611
+ return JSON.stringify(
4612
+ EditProfileRequest$outboundSchema.parse(editProfileRequest),
4613
+ );
4614
+ }
4615
+
4616
+ /** @internal */
4617
+ export const EditProfileResponse$inboundSchema: z.ZodMiniType<
4618
+ EditProfileResponse,
4619
+ unknown
4620
+ > = z.object({
4621
+ success: types.literal(true),
4622
+ updated: z.array(types.string()),
4623
+ synced: z.array(types.string()),
4624
+ creditsUsed: types.number(),
4625
+ retryAfter: types.number(),
4626
+ });
4627
+
4628
+ export function editProfileResponseFromJSON(
4629
+ jsonString: string,
4630
+ ): SafeParseResult<EditProfileResponse, SDKValidationError> {
4631
+ return safeParse(
4632
+ jsonString,
4633
+ (x) => EditProfileResponse$inboundSchema.parse(JSON.parse(x)),
4634
+ `Failed to parse 'EditProfileResponse' from JSON`,
4635
+ );
4636
+ }
4637
+
4565
4638
  /** @internal */
4566
4639
  export type RepostPostRequest$Outbound = {
4567
4640
  postUrl: string;
@@ -4895,10 +4968,10 @@ export const GetProfilePosition$inboundSchema: z.ZodMiniType<
4895
4968
  > = z.object({
4896
4969
  companyName: types.nullable(types.string()),
4897
4970
  title: types.nullable(types.string()),
4898
- description: types.nullable(types.string()),
4971
+ description: z.optional(z.nullable(types.string())),
4899
4972
  companyUrl: types.nullable(types.string()),
4900
4973
  companyLogo: types.nullable(types.string()),
4901
- companyDescription: types.nullable(types.string()),
4974
+ companyDescription: z.optional(z.nullable(types.string())),
4902
4975
  startDate: types.nullable(
4903
4976
  z.lazy(() => GetProfilePositionStartDate$inboundSchema),
4904
4977
  ),
@@ -5050,6 +5123,7 @@ export const GetProfileLastPost$inboundSchema: z.ZodMiniType<
5050
5123
  postUrn: types.string(),
5051
5124
  postId: types.string(),
5052
5125
  type: GetProfileType$inboundSchema,
5126
+ isRepost: types.optional(types.boolean()),
5053
5127
  media: types.optional(z.lazy(() => GetProfileMedia$inboundSchema)),
5054
5128
  });
5055
5129
 
@@ -5084,11 +5158,14 @@ export const GetProfileResponse$inboundSchema: z.ZodMiniType<
5084
5158
  z.array(z.lazy(() => GetProfileEducation$inboundSchema)),
5085
5159
  ),
5086
5160
  connectionsCount: types.nullable(types.number()),
5161
+ followersCount: z.optional(z.nullable(types.number())),
5087
5162
  location: types.nullable(z.lazy(() => GetProfileLocation$inboundSchema)),
5088
5163
  isVerified: types.nullable(types.boolean()),
5089
5164
  lastPosts: types.optional(
5090
5165
  z.array(z.lazy(() => GetProfileLastPost$inboundSchema)),
5091
5166
  ),
5167
+ lastComments: types.optional(z.array(z.any())),
5168
+ lastReactions: types.optional(z.array(z.any())),
5092
5169
  creditsUsed: types.number(),
5093
5170
  retryAfter: types.number(),
5094
5171
  });
@@ -5308,52 +5385,3 @@ export function updateAccountProxyConfigResponseFromJSON(
5308
5385
  `Failed to parse 'UpdateAccountProxyConfigResponse' from JSON`,
5309
5386
  );
5310
5387
  }
5311
-
5312
- /** @internal */
5313
- export const UpdateAccountAccount$inboundSchema: z.ZodMiniType<
5314
- UpdateAccountAccount,
5315
- unknown
5316
- > = z.object({
5317
- id: types.string(),
5318
- label: types.nullable(types.string()),
5319
- isDefault: types.boolean(),
5320
- linkedinProfileId: types.nullable(types.string()),
5321
- linkedinName: types.nullable(types.string()),
5322
- headline: types.nullable(types.string()),
5323
- profilePic: types.nullable(types.string()),
5324
- isValid: types.boolean(),
5325
- proxyConfig: types.nullable(
5326
- z.lazy(() => UpdateAccountProxyConfigResponse$inboundSchema),
5327
- ),
5328
- });
5329
-
5330
- export function updateAccountAccountFromJSON(
5331
- jsonString: string,
5332
- ): SafeParseResult<UpdateAccountAccount, SDKValidationError> {
5333
- return safeParse(
5334
- jsonString,
5335
- (x) => UpdateAccountAccount$inboundSchema.parse(JSON.parse(x)),
5336
- `Failed to parse 'UpdateAccountAccount' from JSON`,
5337
- );
5338
- }
5339
-
5340
- /** @internal */
5341
- export const UpdateAccountResponse$inboundSchema: z.ZodMiniType<
5342
- UpdateAccountResponse,
5343
- unknown
5344
- > = z.object({
5345
- success: types.literal(true),
5346
- account: z.lazy(() => UpdateAccountAccount$inboundSchema),
5347
- creditsUsed: types.number(),
5348
- retryAfter: types.number(),
5349
- });
5350
-
5351
- export function updateAccountResponseFromJSON(
5352
- jsonString: string,
5353
- ): SafeParseResult<UpdateAccountResponse, SDKValidationError> {
5354
- return safeParse(
5355
- jsonString,
5356
- (x) => UpdateAccountResponse$inboundSchema.parse(JSON.parse(x)),
5357
- `Failed to parse 'UpdateAccountResponse' from JSON`,
5358
- );
5359
- }
@@ -8,6 +8,7 @@ import { actionsCreateComment } from "../funcs/actions-create-comment.js";
8
8
  import { actionsDeclineInvitation } from "../funcs/actions-decline-invitation.js";
9
9
  import { actionsEditComment } from "../funcs/actions-edit-comment.js";
10
10
  import { actionsEditPost } from "../funcs/actions-edit-post.js";
11
+ import { actionsEditProfile } from "../funcs/actions-edit-profile.js";
11
12
  import { actionsFollowCompany } from "../funcs/actions-follow-company.js";
12
13
  import { actionsFollowProfile } from "../funcs/actions-follow-profile.js";
13
14
  import { actionsLikeComment } from "../funcs/actions-like-comment.js";
@@ -34,7 +35,7 @@ export class Actions extends ClientSDK {
34
35
  * Send LinkedIn connection request
35
36
  *
36
37
  * @remarks
37
- * Send a connection request to the specified LinkedIn profile. Rate limited to 80 requests per day per user. 1 credit.
38
+ * Send a connection request to the specified LinkedIn profile. Optionally include a personalized message (max 300 chars). Rate limited to 80 requests per day per user. 1 credit.
38
39
  */
39
40
  async connectProfile(
40
41
  request: operations.ConnectProfileRequest,
@@ -302,6 +303,23 @@ export class Actions extends ClientSDK {
302
303
  ));
303
304
  }
304
305
 
306
+ /**
307
+ * Edit LinkedIn profile headline/summary
308
+ *
309
+ * @remarks
310
+ * Edit the authenticated user's LinkedIn headline and/or about summary. At least one field is required. 1 credit.
311
+ */
312
+ async editProfile(
313
+ request: operations.EditProfileRequest,
314
+ options?: RequestOptions,
315
+ ): Promise<operations.EditProfileResponse> {
316
+ return unwrapAsync(actionsEditProfile(
317
+ this,
318
+ request,
319
+ options,
320
+ ));
321
+ }
322
+
305
323
  /**
306
324
  * Repost / share a post
307
325
  *
package/src/sdk/chat.ts CHANGED
@@ -4,6 +4,7 @@
4
4
 
5
5
  import { chatArchive } from "../funcs/chat-archive.js";
6
6
  import { chatFindConversation } from "../funcs/chat-find-conversation.js";
7
+ import { chatGetConversationSummary } from "../funcs/chat-get-conversation-summary.js";
7
8
  import { chatGetMessages } from "../funcs/chat-get-messages.js";
8
9
  import { chatGetUnreadCount } from "../funcs/chat-get-unread-count.js";
9
10
  import { chatListArchived } from "../funcs/chat-list-archived.js";
@@ -12,6 +13,7 @@ import { chatListStarred } from "../funcs/chat-list-starred.js";
12
13
  import { chatMarkAllRead } from "../funcs/chat-mark-all-read.js";
13
14
  import { chatMarkSeen } from "../funcs/chat-mark-seen.js";
14
15
  import { chatReact } from "../funcs/chat-react.js";
16
+ import { chatSaveConversationSummary } from "../funcs/chat-save-conversation-summary.js";
15
17
  import { chatSearchConversations } from "../funcs/chat-search-conversations.js";
16
18
  import { chatSendTypingIndicator } from "../funcs/chat-send-typing-indicator.js";
17
19
  import { chatStar } from "../funcs/chat-star.js";
@@ -27,7 +29,7 @@ export class Chat extends ClientSDK {
27
29
  * List LinkedIn inbox conversations
28
30
  *
29
31
  * @remarks
30
- * List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor. 0 credits.
32
+ * List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Use `count` to control the number of conversations returned (1-40, default 20). Paginate via nextCursor. 0 credits.
31
33
  */
32
34
  async listInbox(
33
35
  request?: operations.ListInboxRequest | undefined,
@@ -296,4 +298,38 @@ export class Chat extends ClientSDK {
296
298
  options,
297
299
  ));
298
300
  }
301
+
302
+ /**
303
+ * Get conversation summary for a contact
304
+ *
305
+ * @remarks
306
+ * Retrieve the saved conversation summary for a contact. Returns null if no summary exists or contact not found. 0 credits.
307
+ */
308
+ async getConversationSummary(
309
+ request: operations.GetConversationSummaryRequest,
310
+ options?: RequestOptions,
311
+ ): Promise<operations.GetConversationSummaryResponse> {
312
+ return unwrapAsync(chatGetConversationSummary(
313
+ this,
314
+ request,
315
+ options,
316
+ ));
317
+ }
318
+
319
+ /**
320
+ * Save conversation summary for a contact
321
+ *
322
+ * @remarks
323
+ * Save a conversation summary for a contact. Creates the contact if it doesn't exist (auto-upsert by profile URL). 0 credits.
324
+ */
325
+ async saveConversationSummary(
326
+ request: operations.SaveConversationSummaryRequest,
327
+ options?: RequestOptions,
328
+ ): Promise<operations.SaveConversationSummaryResponse> {
329
+ return unwrapAsync(chatSaveConversationSummary(
330
+ this,
331
+ request,
332
+ options,
333
+ ));
334
+ }
299
335
  }
@@ -64,7 +64,7 @@ export class CompanyPages extends ClientSDK {
64
64
  * Get company page overview analytics
65
65
  *
66
66
  * @remarks
67
- * Returns overview analytics for a company page including visitor count, employee count, founding date, headquarters, description, and more. Costs 1 credit.
67
+ * Returns overview analytics for a company page including visitor count, employee count, founding date, headquarters, description, and more. Requires `companyId` (numeric string, e.g. "111652438") in the request body. Costs 1 credit.
68
68
  */
69
69
  async getAnalytics(
70
70
  request: operations.GetAnalyticsRequest,