bereach 1.4.0 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +101 -128
- package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
- package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
- package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
- package/esm/funcs/actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/actions-repost-post.d.ts +18 -0
- package/esm/funcs/actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
- package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
- package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
- package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
- package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
- package/esm/funcs/company-pages-posts.d.ts +18 -0
- package/esm/funcs/company-pages-posts.d.ts.map +1 -0
- package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
- package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
- package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
- package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
- package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
- package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
- package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
- package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
- package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/operations/index.d.ts +1 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +906 -889
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/{search-people-response.js → search-companies-response.js} +615 -604
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-campaign.d.ts +188 -180
- package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
- package/esm/models/operations/search-contacts-campaign.js +104 -102
- package/esm/models/operations/search-contacts-campaign.js.map +1 -1
- package/esm/models/operations/update-account-response.d.ts +638 -634
- package/esm/models/operations/update-account-response.d.ts.map +1 -1
- package/esm/models/operations/update-account-response.js +308 -307
- package/esm/models/operations/update-account-response.js.map +1 -1
- package/esm/models/operations/update-schedule-response.d.ts +111 -61
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
- package/esm/models/operations/update-schedule-response.js +37 -32
- package/esm/models/operations/update-schedule-response.js.map +1 -1
- package/esm/sdk/actions.d.ts +133 -0
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +190 -0
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +56 -0
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +80 -0
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.d.ts.map +1 -1
- package/esm/sdk/company-pages.js +3 -3
- package/esm/sdk/company-pages.js.map +1 -1
- package/esm/sdk/contacts.d.ts +12 -12
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -16
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +2 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +6 -6
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +51 -1
- package/esm/sdk/sales-nav.d.ts.map +1 -1
- package/esm/sdk/sales-nav.js +59 -3
- package/esm/sdk/sales-nav.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +49 -0
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +70 -0
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -45
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +383 -0
- package/esm/sdk/search.d.ts.map +1 -1
- package/esm/sdk/search.js +401 -0
- package/esm/sdk/search.js.map +1 -1
- package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
- package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
- package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
- package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
- package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
- package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
- package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
- package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
- package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
- package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
- package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
- package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
- package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
- package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
- package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
- package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
- package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
- package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
- package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
- package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
- package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
- package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
- package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
- package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1919 -1910
- package/src/models/operations/search-contacts-campaign.ts +376 -366
- package/src/models/operations/update-account-response.ts +1156 -1151
- package/src/models/operations/update-schedule-response.ts +180 -125
- package/src/sdk/actions.ts +342 -0
- package/src/sdk/chat.ts +144 -0
- package/src/sdk/company-pages.ts +3 -3
- package/src/sdk/contacts.ts +24 -24
- package/src/sdk/profile.ts +6 -6
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scrapers.ts +126 -0
- package/src/sdk/sdk.ts +0 -56
- package/src/sdk/search.ts +449 -0
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
- package/esm/funcs/profile-get-posts.d.ts +0 -18
- package/esm/funcs/profile-get-posts.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.js.map +0 -1
- package/esm/sdk/linked-in-actions-2.d.ts +0 -47
- package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-actions-2.js +0 -68
- package/esm/sdk/linked-in-actions-2.js.map +0 -1
- package/esm/sdk/linked-in-chat-2.d.ts +0 -33
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -48
- package/esm/sdk/linked-in-chat-2.js.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.js +0 -28
- package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
- package/esm/sdk/linked-in-search-1.d.ts +0 -113
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -122
- package/esm/sdk/linked-in-search-1.js.map +0 -1
- package/esm/sdk/linkedin-actions-1.d.ts +0 -96
- package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions-1.js +0 -138
- package/esm/sdk/linkedin-actions-1.js.map +0 -1
- package/esm/sdk/linkedin-chat-1.d.ts +0 -33
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -48
- package/esm/sdk/linkedin-chat-1.js.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.js +0 -58
- package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
- package/esm/sdk/linkedin-search-2.d.ts +0 -280
- package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
- package/esm/sdk/linkedin-search-2.js +0 -295
- package/esm/sdk/linkedin-search-2.js.map +0 -1
- package/esm/sdk/sales-navigator-search.d.ts +0 -55
- package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
- package/esm/sdk/sales-navigator-search.js +0 -64
- package/esm/sdk/sales-navigator-search.js.map +0 -1
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -81
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -139
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -81
- package/src/sdk/linkedin-scrapers-1.ts +0 -99
- package/src/sdk/linkedin-search-2.ts +0 -328
- package/src/sdk/sales-navigator-search.ts +0 -81
package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts}
RENAMED
|
@@ -285,120 +285,104 @@ export type CollectCommentsResponse = {
|
|
|
285
285
|
*/
|
|
286
286
|
retryAfter: number;
|
|
287
287
|
};
|
|
288
|
-
export type
|
|
288
|
+
export type CollectCommentRepliesRequest = {
|
|
289
289
|
/**
|
|
290
|
-
*
|
|
290
|
+
* Comment URN returned by the comments endpoint (e.g., 'urn:li:comment:(activity:123456,789)').
|
|
291
291
|
*/
|
|
292
|
-
|
|
292
|
+
commentUrn: string;
|
|
293
293
|
/**
|
|
294
|
-
*
|
|
294
|
+
* Pagination offset (default 0).
|
|
295
295
|
*/
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
export type EmployeeCountRange = {
|
|
302
|
-
start: number;
|
|
303
|
-
end: number | null;
|
|
304
|
-
};
|
|
305
|
-
export type VisitCompanyHeadquarter = {
|
|
306
|
-
country: string | null;
|
|
307
|
-
geographicArea: string | null;
|
|
308
|
-
city: string | null;
|
|
309
|
-
postalCode: string | null;
|
|
310
|
-
line1: string | null;
|
|
311
|
-
line2: string | null;
|
|
312
|
-
};
|
|
313
|
-
export type VisitCompanyFoundedOn = {
|
|
314
|
-
year: number;
|
|
315
|
-
};
|
|
316
|
-
export type CallToAction = {
|
|
317
|
-
type: string;
|
|
318
|
-
url: string;
|
|
319
|
-
};
|
|
320
|
-
export type AffiliatedCompany = {
|
|
321
|
-
id: string;
|
|
322
|
-
universalName: string;
|
|
323
|
-
name: string;
|
|
324
|
-
url: string | null;
|
|
325
|
-
logoUrl: string | null;
|
|
326
|
-
followerCount: number | null;
|
|
327
|
-
industry: string | null;
|
|
296
|
+
start?: number | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* Number of replies to fetch per page (0-100, default 100). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
299
|
+
*/
|
|
300
|
+
count?: number | undefined;
|
|
328
301
|
};
|
|
329
|
-
export
|
|
330
|
-
|
|
331
|
-
universalName: string;
|
|
332
|
-
name: string;
|
|
333
|
-
url: string | null;
|
|
334
|
-
logoUrl: string | null;
|
|
335
|
-
followerCount: number | null;
|
|
336
|
-
industry: string | null;
|
|
302
|
+
export declare const CollectCommentRepliesType: {
|
|
303
|
+
readonly Comment: "comment";
|
|
337
304
|
};
|
|
305
|
+
export type CollectCommentRepliesType = ClosedEnum<typeof CollectCommentRepliesType>;
|
|
338
306
|
/**
|
|
339
|
-
*
|
|
307
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
340
308
|
*/
|
|
341
|
-
export type
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
309
|
+
export type CollectCommentRepliesActionsCompleted = {
|
|
310
|
+
message: boolean;
|
|
311
|
+
reply: boolean;
|
|
312
|
+
like: boolean;
|
|
313
|
+
visit: boolean;
|
|
314
|
+
connect: boolean;
|
|
346
315
|
};
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
316
|
+
export type Reply = {
|
|
317
|
+
name: string;
|
|
318
|
+
headline: string | null;
|
|
319
|
+
profileUrl: string | null;
|
|
320
|
+
imageUrl: string | null;
|
|
352
321
|
/**
|
|
353
|
-
*
|
|
322
|
+
* Vanity slug from profile URL (e.g. john-doe) when not URN-based
|
|
354
323
|
*/
|
|
355
|
-
|
|
324
|
+
publicIdentifier: string | null;
|
|
356
325
|
/**
|
|
357
|
-
*
|
|
326
|
+
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
|
|
358
327
|
*/
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
328
|
+
profileUrn: string | null;
|
|
329
|
+
type: CollectCommentRepliesType;
|
|
330
|
+
commentText?: string | undefined;
|
|
331
|
+
timestamp: number | null;
|
|
332
|
+
isEdited?: boolean | undefined;
|
|
362
333
|
/**
|
|
363
|
-
*
|
|
334
|
+
* Full comment URN — use directly for /reply and /like endpoints. Do NOT reconstruct from hash fields.
|
|
364
335
|
*/
|
|
365
|
-
|
|
336
|
+
commentUrn?: string | undefined;
|
|
366
337
|
/**
|
|
367
|
-
*
|
|
338
|
+
* SHA256 hash of commentUrn — use for dedup slugs only, not for building URNs.
|
|
368
339
|
*/
|
|
369
|
-
|
|
370
|
-
industry: string | null;
|
|
340
|
+
commentHash?: string | undefined;
|
|
371
341
|
/**
|
|
372
|
-
*
|
|
342
|
+
* True if the commenter is the post author.
|
|
373
343
|
*/
|
|
374
|
-
|
|
344
|
+
isPostAuthor?: boolean | undefined;
|
|
375
345
|
/**
|
|
376
|
-
*
|
|
346
|
+
* Number of replies to this comment.
|
|
377
347
|
*/
|
|
378
|
-
|
|
379
|
-
headquarter: VisitCompanyHeadquarter | null;
|
|
380
|
-
logoUrl: string | null;
|
|
381
|
-
coverImageUrl: string | null;
|
|
382
|
-
followerCount: number | null;
|
|
383
|
-
specialities: Array<string>;
|
|
384
|
-
tagline: string | null;
|
|
385
|
-
isVerified: boolean;
|
|
386
|
-
foundedOn: VisitCompanyFoundedOn | null;
|
|
387
|
-
phone: string | null;
|
|
388
|
-
callToAction: CallToAction | null;
|
|
389
|
-
hashtags: Array<string>;
|
|
348
|
+
repliesCount?: number | undefined;
|
|
390
349
|
/**
|
|
391
|
-
*
|
|
350
|
+
* True if the post author already replied to this comment. Null when unknown (e.g. LinkedIn only preloaded partial replies).
|
|
392
351
|
*/
|
|
393
|
-
|
|
352
|
+
hasReplyFromPostAuthor?: boolean | null | undefined;
|
|
394
353
|
/**
|
|
395
|
-
*
|
|
354
|
+
* URN of the parent comment, present on replies only.
|
|
396
355
|
*/
|
|
397
|
-
|
|
356
|
+
parentCommentUrn?: string | undefined;
|
|
357
|
+
postUrn?: string | undefined;
|
|
398
358
|
/**
|
|
399
|
-
*
|
|
359
|
+
* SHA256 hash of postUrn — use for dedup slugs only.
|
|
400
360
|
*/
|
|
401
|
-
|
|
361
|
+
postHash?: string | undefined;
|
|
362
|
+
/**
|
|
363
|
+
* Per-profile action completion status within the campaign. Only present when campaignSlug is provided in the request.
|
|
364
|
+
*/
|
|
365
|
+
actionsCompleted?: CollectCommentRepliesActionsCompleted | undefined;
|
|
366
|
+
/**
|
|
367
|
+
* Cached memberDistance from a recent profile visit (1 = connected, 2 = 2nd degree, etc.). null if campaignSlug not provided or profile not visited recently.
|
|
368
|
+
*/
|
|
369
|
+
knownDistance: number | null;
|
|
370
|
+
};
|
|
371
|
+
/**
|
|
372
|
+
* List of replies to the comment
|
|
373
|
+
*/
|
|
374
|
+
export type CollectCommentRepliesResponse = {
|
|
375
|
+
success: true;
|
|
376
|
+
replies: Array<Reply>;
|
|
377
|
+
count: number;
|
|
378
|
+
total: number;
|
|
379
|
+
start: number;
|
|
380
|
+
hasMore: boolean;
|
|
381
|
+
parentCommentUrn: string;
|
|
382
|
+
/**
|
|
383
|
+
* The total from your last call to this endpoint for the same comment (null on first call). Compare with total to detect new replies without client-side tracking.
|
|
384
|
+
*/
|
|
385
|
+
previousTotal: number | null;
|
|
402
386
|
/**
|
|
403
387
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
404
388
|
*/
|
|
@@ -408,26 +392,38 @@ export type VisitCompanyResponse = {
|
|
|
408
392
|
*/
|
|
409
393
|
retryAfter: number;
|
|
410
394
|
};
|
|
411
|
-
export type
|
|
395
|
+
export type CollectPostsRequest = {
|
|
412
396
|
/**
|
|
413
|
-
*
|
|
397
|
+
* 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...).
|
|
414
398
|
*/
|
|
415
|
-
|
|
399
|
+
profileUrl: string;
|
|
416
400
|
/**
|
|
417
|
-
* Number of posts to
|
|
401
|
+
* Number of posts to fetch (0-100, default 20). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
418
402
|
*/
|
|
419
403
|
count?: number | undefined;
|
|
404
|
+
/**
|
|
405
|
+
* Pagination offset (default 0).
|
|
406
|
+
*/
|
|
407
|
+
start?: number | undefined;
|
|
408
|
+
/**
|
|
409
|
+
* Pagination token from a previous response to fetch the next page.
|
|
410
|
+
*/
|
|
411
|
+
paginationToken?: string | undefined;
|
|
412
|
+
/**
|
|
413
|
+
* Include reposts/reshares in results. Defaults to false (only original posts).
|
|
414
|
+
*/
|
|
415
|
+
returnReposts?: boolean | undefined;
|
|
420
416
|
};
|
|
421
|
-
export
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
profileUrn: string | null;
|
|
417
|
+
export declare const CollectPostsType: {
|
|
418
|
+
readonly Activity: "activity";
|
|
419
|
+
readonly UgcPost: "ugcPost";
|
|
420
|
+
readonly Share: "share";
|
|
426
421
|
};
|
|
422
|
+
export type CollectPostsType = OpenEnum<typeof CollectPostsType>;
|
|
427
423
|
/**
|
|
428
424
|
* Type of media attached to the post.
|
|
429
425
|
*/
|
|
430
|
-
export declare const
|
|
426
|
+
export declare const CollectPostsMediaType: {
|
|
431
427
|
readonly Image: "image";
|
|
432
428
|
readonly Video: "video";
|
|
433
429
|
readonly Document: "document";
|
|
@@ -436,12 +432,15 @@ export declare const ListSavedPostsType: {
|
|
|
436
432
|
/**
|
|
437
433
|
* Type of media attached to the post.
|
|
438
434
|
*/
|
|
439
|
-
export type
|
|
440
|
-
|
|
435
|
+
export type CollectPostsMediaType = OpenEnum<typeof CollectPostsMediaType>;
|
|
436
|
+
/**
|
|
437
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
438
|
+
*/
|
|
439
|
+
export type CollectPostsMedia = {
|
|
441
440
|
/**
|
|
442
441
|
* Type of media attached to the post.
|
|
443
442
|
*/
|
|
444
|
-
type:
|
|
443
|
+
type: CollectPostsMediaType;
|
|
445
444
|
/**
|
|
446
445
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
447
446
|
*/
|
|
@@ -455,26 +454,40 @@ export type ListSavedPostsMedia = {
|
|
|
455
454
|
*/
|
|
456
455
|
thumbnailUrl?: string | undefined;
|
|
457
456
|
};
|
|
458
|
-
export type
|
|
457
|
+
export type CollectPostsPost = {
|
|
459
458
|
postUrl: string;
|
|
460
|
-
postUrn: string;
|
|
461
|
-
postId: string;
|
|
462
459
|
text: string;
|
|
463
460
|
date: number;
|
|
464
461
|
likesCount: number;
|
|
465
462
|
commentsCount: number;
|
|
466
463
|
sharesCount: number;
|
|
467
|
-
|
|
468
|
-
|
|
464
|
+
postUrn: string;
|
|
465
|
+
postId: string;
|
|
466
|
+
type: CollectPostsType;
|
|
467
|
+
/**
|
|
468
|
+
* True when the post is a repost/reshare of another post. Absent for original posts.
|
|
469
|
+
*/
|
|
470
|
+
isRepost?: boolean | undefined;
|
|
471
|
+
/**
|
|
472
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
473
|
+
*/
|
|
474
|
+
media?: CollectPostsMedia | undefined;
|
|
469
475
|
};
|
|
470
476
|
/**
|
|
471
|
-
*
|
|
477
|
+
* Paginated list of posts from the profile
|
|
472
478
|
*/
|
|
473
|
-
export type
|
|
479
|
+
export type CollectPostsResponse = {
|
|
474
480
|
success: true;
|
|
475
|
-
posts: Array<
|
|
476
|
-
|
|
481
|
+
posts: Array<CollectPostsPost>;
|
|
482
|
+
count: number;
|
|
483
|
+
total: number;
|
|
484
|
+
start: number;
|
|
477
485
|
hasMore: boolean;
|
|
486
|
+
paginationToken: string | null;
|
|
487
|
+
/**
|
|
488
|
+
* The total from your last call to this endpoint for the same profile (null on first call). Compare with total to detect new posts without client-side tracking.
|
|
489
|
+
*/
|
|
490
|
+
previousTotal: number | null;
|
|
478
491
|
/**
|
|
479
492
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
480
493
|
*/
|
|
@@ -484,30 +497,98 @@ export type ListSavedPostsResponse = {
|
|
|
484
497
|
*/
|
|
485
498
|
retryAfter: number;
|
|
486
499
|
};
|
|
487
|
-
export type
|
|
500
|
+
export type VisitProfileRequest = {
|
|
488
501
|
/**
|
|
489
|
-
*
|
|
502
|
+
* 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...).
|
|
490
503
|
*/
|
|
491
|
-
|
|
504
|
+
profile: string;
|
|
492
505
|
/**
|
|
493
|
-
*
|
|
506
|
+
* Optional campaign identifier for tracking only. No dedup — visit always executes.
|
|
494
507
|
*/
|
|
495
|
-
|
|
508
|
+
campaignSlug?: string | undefined;
|
|
496
509
|
/**
|
|
497
|
-
*
|
|
510
|
+
* Deprecated. Use campaignSlug only.
|
|
511
|
+
*
|
|
512
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
498
513
|
*/
|
|
499
|
-
|
|
514
|
+
actionSlug?: string | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* When true, fetches the last 5 posts from the profile (fetched in parallel with other enrichments). Defaults to false.
|
|
517
|
+
*/
|
|
518
|
+
includePosts?: boolean | undefined;
|
|
519
|
+
/**
|
|
520
|
+
* When true, fetches the last 5 posts the profile recently engaged with via comments. Returns engagement context (target post text, author) but not the comment text itself. Fetched in parallel with includePosts. Defaults to false.
|
|
521
|
+
*/
|
|
522
|
+
includeComments?: boolean | undefined;
|
|
523
|
+
/**
|
|
524
|
+
* When true, fetches the profile's About section and detailed position descriptions via a supplementary API call (fetched in parallel). Defaults to false.
|
|
525
|
+
*/
|
|
526
|
+
includeAbout?: boolean | undefined;
|
|
500
527
|
};
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
528
|
+
/**
|
|
529
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
530
|
+
*/
|
|
531
|
+
export declare const PendingConnection: {
|
|
532
|
+
readonly Pending: "pending";
|
|
533
|
+
readonly Failed: "failed";
|
|
534
|
+
readonly None: "none";
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
538
|
+
*/
|
|
539
|
+
export type PendingConnection = OpenEnum<typeof PendingConnection>;
|
|
540
|
+
export type VisitProfilePositionStartDate = {
|
|
541
|
+
month: number | null;
|
|
542
|
+
year: number;
|
|
543
|
+
};
|
|
544
|
+
export type VisitProfilePositionEndDate = {
|
|
545
|
+
month: number | null;
|
|
546
|
+
year: number;
|
|
547
|
+
};
|
|
548
|
+
export type VisitProfilePosition = {
|
|
549
|
+
companyName: string | null;
|
|
550
|
+
title: string | null;
|
|
551
|
+
/**
|
|
552
|
+
* Position description / responsibilities text
|
|
553
|
+
*/
|
|
554
|
+
description: string | null;
|
|
555
|
+
companyUrl: string | null;
|
|
556
|
+
companyLogo: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* Short description of the company (from LinkedIn company page)
|
|
559
|
+
*/
|
|
560
|
+
companyDescription: string | null;
|
|
561
|
+
startDate: VisitProfilePositionStartDate | null;
|
|
562
|
+
endDate: VisitProfilePositionEndDate | null;
|
|
563
|
+
isCurrent: boolean;
|
|
564
|
+
};
|
|
565
|
+
export type VisitProfileEducationStartDate = {
|
|
566
|
+
month: number | null;
|
|
567
|
+
year: number;
|
|
568
|
+
};
|
|
569
|
+
export type VisitProfileEducationEndDate = {
|
|
570
|
+
month: number | null;
|
|
571
|
+
year: number;
|
|
506
572
|
};
|
|
573
|
+
export type VisitProfileEducation = {
|
|
574
|
+
schoolName: string | null;
|
|
575
|
+
degreeName: string | null;
|
|
576
|
+
fieldOfStudy: string | null;
|
|
577
|
+
schoolUrl: string | null;
|
|
578
|
+
schoolLogo: string | null;
|
|
579
|
+
startDate: VisitProfileEducationStartDate | null;
|
|
580
|
+
endDate: VisitProfileEducationEndDate | null;
|
|
581
|
+
};
|
|
582
|
+
export declare const VisitProfileLastPostType: {
|
|
583
|
+
readonly Activity: "activity";
|
|
584
|
+
readonly UgcPost: "ugcPost";
|
|
585
|
+
readonly Share: "share";
|
|
586
|
+
};
|
|
587
|
+
export type VisitProfileLastPostType = OpenEnum<typeof VisitProfileLastPostType>;
|
|
507
588
|
/**
|
|
508
589
|
* Type of media attached to the post.
|
|
509
590
|
*/
|
|
510
|
-
export declare const
|
|
591
|
+
export declare const VisitProfileMediaType: {
|
|
511
592
|
readonly Image: "image";
|
|
512
593
|
readonly Video: "video";
|
|
513
594
|
readonly Document: "document";
|
|
@@ -516,12 +597,15 @@ export declare const CollectHashtagPostsType: {
|
|
|
516
597
|
/**
|
|
517
598
|
* Type of media attached to the post.
|
|
518
599
|
*/
|
|
519
|
-
export type
|
|
520
|
-
|
|
600
|
+
export type VisitProfileMediaType = OpenEnum<typeof VisitProfileMediaType>;
|
|
601
|
+
/**
|
|
602
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
603
|
+
*/
|
|
604
|
+
export type VisitProfileMedia = {
|
|
521
605
|
/**
|
|
522
606
|
* Type of media attached to the post.
|
|
523
607
|
*/
|
|
524
|
-
type:
|
|
608
|
+
type: VisitProfileMediaType;
|
|
525
609
|
/**
|
|
526
610
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
527
611
|
*/
|
|
@@ -535,132 +619,150 @@ export type CollectHashtagPostsMedia = {
|
|
|
535
619
|
*/
|
|
536
620
|
thumbnailUrl?: string | undefined;
|
|
537
621
|
};
|
|
538
|
-
export type
|
|
622
|
+
export type VisitProfileLastPost = {
|
|
539
623
|
postUrl: string;
|
|
540
|
-
postUrn: string;
|
|
541
624
|
text: string;
|
|
542
625
|
date: number;
|
|
543
626
|
likesCount: number;
|
|
544
627
|
commentsCount: number;
|
|
545
628
|
sharesCount: number;
|
|
546
|
-
|
|
547
|
-
|
|
629
|
+
postUrn: string;
|
|
630
|
+
postId: string;
|
|
631
|
+
type: VisitProfileLastPostType;
|
|
632
|
+
/**
|
|
633
|
+
* True when the post is a repost/reshare of another post. Absent for original posts.
|
|
634
|
+
*/
|
|
635
|
+
isRepost?: boolean | undefined;
|
|
636
|
+
/**
|
|
637
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
638
|
+
*/
|
|
639
|
+
media?: VisitProfileMedia | undefined;
|
|
548
640
|
};
|
|
549
641
|
/**
|
|
550
|
-
*
|
|
642
|
+
* Activity type: 'comment' for posts the user commented on
|
|
551
643
|
*/
|
|
552
|
-
export
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
644
|
+
export declare const LastCommentType: {
|
|
645
|
+
readonly Comment: "comment";
|
|
646
|
+
readonly Reaction: "reaction";
|
|
647
|
+
};
|
|
648
|
+
/**
|
|
649
|
+
* Activity type: 'comment' for posts the user commented on
|
|
650
|
+
*/
|
|
651
|
+
export type LastCommentType = OpenEnum<typeof LastCommentType>;
|
|
652
|
+
export type LastComment = {
|
|
557
653
|
/**
|
|
558
|
-
*
|
|
654
|
+
* Activity type: 'comment' for posts the user commented on
|
|
559
655
|
*/
|
|
560
|
-
|
|
656
|
+
type: LastCommentType;
|
|
561
657
|
/**
|
|
562
|
-
*
|
|
658
|
+
* URN of the feed update (post) the user engaged with
|
|
563
659
|
*/
|
|
564
|
-
|
|
565
|
-
};
|
|
566
|
-
export type CollectCommentRepliesRequest = {
|
|
660
|
+
activityUrn: string;
|
|
567
661
|
/**
|
|
568
|
-
*
|
|
662
|
+
* The user's comment text (null when not available from the API — this is a LinkedIn limitation)
|
|
569
663
|
*/
|
|
570
|
-
|
|
664
|
+
text: string | null;
|
|
571
665
|
/**
|
|
572
|
-
*
|
|
666
|
+
* Reaction type (e.g. 'LIKE', 'CELEBRATE'). Only set for reaction-type activities
|
|
573
667
|
*/
|
|
574
|
-
|
|
668
|
+
reactionType: string | null;
|
|
575
669
|
/**
|
|
576
|
-
*
|
|
670
|
+
* URN of the post the user commented on (e.g. 'urn:li:activity:1234567890')
|
|
577
671
|
*/
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
672
|
+
targetPostUrn: string | null;
|
|
673
|
+
/**
|
|
674
|
+
* First ~200 chars of the post the user commented on. Use this to understand what topics they engage with
|
|
675
|
+
*/
|
|
676
|
+
targetPostText: string | null;
|
|
677
|
+
/**
|
|
678
|
+
* Name of the post author (the person whose post was commented on)
|
|
679
|
+
*/
|
|
680
|
+
targetPostAuthor: string | null;
|
|
681
|
+
/**
|
|
682
|
+
* Unix timestamp in milliseconds when the activity occurred
|
|
683
|
+
*/
|
|
684
|
+
timestamp: number | null;
|
|
685
|
+
/**
|
|
686
|
+
* Name of the post author (same as targetPostAuthor when available)
|
|
687
|
+
*/
|
|
688
|
+
actorName: string | null;
|
|
689
|
+
/**
|
|
690
|
+
* Profile URN of the post author
|
|
691
|
+
*/
|
|
692
|
+
actorUrn: string | null;
|
|
582
693
|
};
|
|
583
|
-
export type CollectCommentRepliesType = ClosedEnum<typeof CollectCommentRepliesType>;
|
|
584
694
|
/**
|
|
585
|
-
*
|
|
695
|
+
* Profile contact data
|
|
586
696
|
*/
|
|
587
|
-
export type
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
visit: boolean;
|
|
592
|
-
connect: boolean;
|
|
593
|
-
};
|
|
594
|
-
export type Reply = {
|
|
595
|
-
name: string;
|
|
697
|
+
export type VisitProfileResponse = {
|
|
698
|
+
success: true;
|
|
699
|
+
firstName: string;
|
|
700
|
+
lastName: string;
|
|
596
701
|
headline: string | null;
|
|
702
|
+
/**
|
|
703
|
+
* The profile's 'About' section text. Only populated when includeAbout is true. Null when not requested or not filled in.
|
|
704
|
+
*/
|
|
705
|
+
summary: string | null;
|
|
706
|
+
publicIdentifier: string;
|
|
707
|
+
/**
|
|
708
|
+
* LinkedIn profile URL. Null when publicIdentifier is unavailable (restricted profiles).
|
|
709
|
+
*/
|
|
597
710
|
profileUrl: string | null;
|
|
711
|
+
/**
|
|
712
|
+
* LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAAA...'). Use this for matching against inbox participants.
|
|
713
|
+
*/
|
|
714
|
+
profileUrn: string | null;
|
|
598
715
|
imageUrl: string | null;
|
|
716
|
+
email: string | null;
|
|
717
|
+
location: string | null;
|
|
599
718
|
/**
|
|
600
|
-
*
|
|
719
|
+
* Current company name (from most recent position)
|
|
601
720
|
*/
|
|
602
|
-
|
|
721
|
+
company: string | null;
|
|
603
722
|
/**
|
|
604
|
-
*
|
|
723
|
+
* Current job title (from most recent position)
|
|
605
724
|
*/
|
|
606
|
-
|
|
607
|
-
type: CollectCommentRepliesType;
|
|
608
|
-
commentText?: string | undefined;
|
|
609
|
-
timestamp: number | null;
|
|
610
|
-
isEdited?: boolean | undefined;
|
|
725
|
+
position: string | null;
|
|
611
726
|
/**
|
|
612
|
-
*
|
|
727
|
+
* Connection degree: 0 (self), 1 (direct connection), 2+ (2nd degree, 3rd degree, etc.), or null if unknown
|
|
613
728
|
*/
|
|
614
|
-
|
|
729
|
+
memberDistance: number | null;
|
|
615
730
|
/**
|
|
616
|
-
*
|
|
731
|
+
* Total number of connections. May be null for non-connected profiles or restricted visibility.
|
|
617
732
|
*/
|
|
618
|
-
|
|
733
|
+
connectionsCount: number | null;
|
|
619
734
|
/**
|
|
620
|
-
*
|
|
735
|
+
* Whether the profile has a LinkedIn verification badge.
|
|
621
736
|
*/
|
|
622
|
-
|
|
737
|
+
isVerified: boolean;
|
|
623
738
|
/**
|
|
624
|
-
*
|
|
739
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
625
740
|
*/
|
|
626
|
-
|
|
741
|
+
pendingConnection: PendingConnection;
|
|
627
742
|
/**
|
|
628
|
-
*
|
|
743
|
+
* Work experience positions
|
|
629
744
|
*/
|
|
630
|
-
|
|
745
|
+
positions?: Array<VisitProfilePosition> | undefined;
|
|
631
746
|
/**
|
|
632
|
-
*
|
|
747
|
+
* Education entries
|
|
633
748
|
*/
|
|
634
|
-
|
|
635
|
-
postUrn?: string | undefined;
|
|
749
|
+
educations?: Array<VisitProfileEducation> | undefined;
|
|
636
750
|
/**
|
|
637
|
-
*
|
|
751
|
+
* Last 5 posts from the profile (only present when includePosts is true)
|
|
638
752
|
*/
|
|
639
|
-
|
|
753
|
+
lastPosts?: Array<VisitProfileLastPost> | undefined;
|
|
640
754
|
/**
|
|
641
|
-
*
|
|
755
|
+
* Last 5 posts the profile recently commented on (only present when includeComments is true). Contains targetPostText and targetPostAuthor for engagement context.
|
|
642
756
|
*/
|
|
643
|
-
|
|
757
|
+
lastComments?: Array<LastComment> | undefined;
|
|
644
758
|
/**
|
|
645
|
-
*
|
|
759
|
+
* true when includeAbout was requested and the About section was fetched. Used for cache invalidation.
|
|
646
760
|
*/
|
|
647
|
-
|
|
648
|
-
};
|
|
649
|
-
/**
|
|
650
|
-
* List of replies to the comment
|
|
651
|
-
*/
|
|
652
|
-
export type CollectCommentRepliesResponse = {
|
|
653
|
-
success: true;
|
|
654
|
-
replies: Array<Reply>;
|
|
655
|
-
count: number;
|
|
656
|
-
total: number;
|
|
657
|
-
start: number;
|
|
658
|
-
hasMore: boolean;
|
|
659
|
-
parentCommentUrn: string;
|
|
761
|
+
aboutFetched?: boolean | undefined;
|
|
660
762
|
/**
|
|
661
|
-
*
|
|
763
|
+
* true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
|
|
662
764
|
*/
|
|
663
|
-
|
|
765
|
+
cached: boolean;
|
|
664
766
|
/**
|
|
665
767
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
666
768
|
*/
|
|
@@ -670,88 +772,215 @@ export type CollectCommentRepliesResponse = {
|
|
|
670
772
|
*/
|
|
671
773
|
retryAfter: number;
|
|
672
774
|
};
|
|
673
|
-
|
|
674
|
-
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
675
|
-
*/
|
|
676
|
-
export declare const SortOrder: {
|
|
677
|
-
readonly Relevance: "RELEVANCE";
|
|
678
|
-
readonly RevChron: "REV_CHRON";
|
|
679
|
-
};
|
|
680
|
-
/**
|
|
681
|
-
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
682
|
-
*/
|
|
683
|
-
export type SortOrder = ClosedEnum<typeof SortOrder>;
|
|
684
|
-
export type GetFeedRequest = {
|
|
775
|
+
export type BulkVisitProfileRequest = {
|
|
685
776
|
/**
|
|
686
|
-
*
|
|
777
|
+
* LinkedIn profile URLs, vanity names, or URNs (max 50). Duplicates are auto-removed.
|
|
687
778
|
*/
|
|
688
|
-
|
|
779
|
+
profiles: Array<string>;
|
|
689
780
|
/**
|
|
690
|
-
*
|
|
781
|
+
* Auto-add each successfully visited contact to this campaign.
|
|
691
782
|
*/
|
|
692
|
-
|
|
783
|
+
campaignSlug?: string | undefined;
|
|
784
|
+
/**
|
|
785
|
+
* Fetch last 5 posts per profile. Increases processing time.
|
|
786
|
+
*/
|
|
787
|
+
includePosts?: boolean | undefined;
|
|
788
|
+
/**
|
|
789
|
+
* Fetch recent comments per profile. Increases processing time.
|
|
790
|
+
*/
|
|
791
|
+
includeComments?: boolean | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* Fetch About section and detailed position descriptions per profile. Increases processing time.
|
|
794
|
+
*/
|
|
795
|
+
includeAbout?: boolean | undefined;
|
|
693
796
|
};
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
797
|
+
/**
|
|
798
|
+
* Batch accepted and queued for processing
|
|
799
|
+
*/
|
|
800
|
+
export type BulkVisitProfileResponse = {
|
|
801
|
+
accepted: true;
|
|
802
|
+
/**
|
|
803
|
+
* Unique batch identifier for status polling.
|
|
804
|
+
*/
|
|
805
|
+
batchId: string;
|
|
806
|
+
/**
|
|
807
|
+
* Total unique profiles in the batch (after dedup).
|
|
808
|
+
*/
|
|
809
|
+
profileCount: number;
|
|
810
|
+
/**
|
|
811
|
+
* Profiles resolved from cache (0 credits, instant).
|
|
812
|
+
*/
|
|
813
|
+
alreadyCached: number;
|
|
814
|
+
/**
|
|
815
|
+
* Profiles queued for LinkedIn API visit.
|
|
816
|
+
*/
|
|
817
|
+
willVisit: number;
|
|
818
|
+
/**
|
|
819
|
+
* Estimated processing time in minutes for uncached profiles.
|
|
820
|
+
*/
|
|
821
|
+
estimatedMinutes: number;
|
|
822
|
+
};
|
|
823
|
+
export type BulkVisitBatchStatusRequest = {
|
|
824
|
+
/**
|
|
825
|
+
* Batch identifier returned by the bulk visit endpoint.
|
|
826
|
+
*/
|
|
827
|
+
batchId: string;
|
|
828
|
+
};
|
|
829
|
+
export declare const BulkVisitBatchStatusStatus: {
|
|
830
|
+
readonly Queued: "queued";
|
|
831
|
+
readonly Processing: "processing";
|
|
832
|
+
readonly Completed: "completed";
|
|
833
|
+
readonly Partial: "partial";
|
|
834
|
+
readonly Failed: "failed";
|
|
835
|
+
};
|
|
836
|
+
export type BulkVisitBatchStatusStatus = OpenEnum<typeof BulkVisitBatchStatusStatus>;
|
|
837
|
+
export type Progress = {
|
|
838
|
+
total: number;
|
|
839
|
+
visited: number;
|
|
840
|
+
cached: number;
|
|
841
|
+
failed: number;
|
|
842
|
+
skipped: number;
|
|
843
|
+
pending: number;
|
|
844
|
+
};
|
|
845
|
+
export declare const ResultStatus: {
|
|
846
|
+
readonly Visited: "visited";
|
|
847
|
+
readonly Cached: "cached";
|
|
848
|
+
readonly Failed: "failed";
|
|
849
|
+
readonly Skipped: "skipped";
|
|
850
|
+
readonly Pending: "pending";
|
|
851
|
+
};
|
|
852
|
+
export type ResultStatus = OpenEnum<typeof ResultStatus>;
|
|
853
|
+
export type Result = {
|
|
854
|
+
profile: string;
|
|
855
|
+
status: ResultStatus;
|
|
856
|
+
contactId?: string | null | undefined;
|
|
857
|
+
error?: string | null | undefined;
|
|
698
858
|
};
|
|
699
|
-
export type GetFeedType = OpenEnum<typeof GetFeedType>;
|
|
700
859
|
/**
|
|
701
|
-
*
|
|
860
|
+
* Batch status
|
|
702
861
|
*/
|
|
703
|
-
export
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
862
|
+
export type BulkVisitBatchStatusResponse = {
|
|
863
|
+
batchId: string;
|
|
864
|
+
status: BulkVisitBatchStatusStatus;
|
|
865
|
+
progress: Progress;
|
|
866
|
+
creditsUsed: number;
|
|
867
|
+
failureReason?: string | null | undefined;
|
|
868
|
+
results?: Array<Result> | undefined;
|
|
869
|
+
};
|
|
870
|
+
export type VisitCompanyRequest = {
|
|
871
|
+
/**
|
|
872
|
+
* LinkedIn company URL (e.g., 'https://www.linkedin.com/company/openai') or universal name (e.g., 'openai')
|
|
873
|
+
*/
|
|
874
|
+
companyUrl: string;
|
|
875
|
+
/**
|
|
876
|
+
* Include workplace policy data such as hybrid/remote status and benefits. Costs 1 extra credit (extra API call).
|
|
877
|
+
*/
|
|
878
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
708
879
|
};
|
|
709
880
|
/**
|
|
710
|
-
*
|
|
881
|
+
* Employee count range
|
|
711
882
|
*/
|
|
712
|
-
export type
|
|
883
|
+
export type EmployeeCountRange = {
|
|
884
|
+
start: number;
|
|
885
|
+
end: number | null;
|
|
886
|
+
};
|
|
887
|
+
export type VisitCompanyHeadquarter = {
|
|
888
|
+
country: string | null;
|
|
889
|
+
geographicArea: string | null;
|
|
890
|
+
city: string | null;
|
|
891
|
+
postalCode: string | null;
|
|
892
|
+
line1: string | null;
|
|
893
|
+
line2: string | null;
|
|
894
|
+
};
|
|
895
|
+
export type VisitCompanyFoundedOn = {
|
|
896
|
+
year: number;
|
|
897
|
+
};
|
|
898
|
+
export type CallToAction = {
|
|
899
|
+
type: string;
|
|
900
|
+
url: string;
|
|
901
|
+
};
|
|
902
|
+
export type AffiliatedCompany = {
|
|
903
|
+
id: string;
|
|
904
|
+
universalName: string;
|
|
905
|
+
name: string;
|
|
906
|
+
url: string | null;
|
|
907
|
+
logoUrl: string | null;
|
|
908
|
+
followerCount: number | null;
|
|
909
|
+
industry: string | null;
|
|
910
|
+
};
|
|
911
|
+
export type SimilarCompany = {
|
|
912
|
+
id: string;
|
|
913
|
+
universalName: string;
|
|
914
|
+
name: string;
|
|
915
|
+
url: string | null;
|
|
916
|
+
logoUrl: string | null;
|
|
917
|
+
followerCount: number | null;
|
|
918
|
+
industry: string | null;
|
|
919
|
+
};
|
|
713
920
|
/**
|
|
714
|
-
*
|
|
921
|
+
* Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
|
|
715
922
|
*/
|
|
716
|
-
export type
|
|
923
|
+
export type WorkplacePolicy = {
|
|
924
|
+
title: string | null;
|
|
925
|
+
description: string | null;
|
|
926
|
+
timeAtOnsite: string | null;
|
|
927
|
+
benefits: Array<string>;
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* Company profile data
|
|
931
|
+
*/
|
|
932
|
+
export type VisitCompanyResponse = {
|
|
933
|
+
success: true;
|
|
717
934
|
/**
|
|
718
|
-
*
|
|
935
|
+
* LinkedIn numeric company ID
|
|
719
936
|
*/
|
|
720
|
-
|
|
937
|
+
id: string;
|
|
721
938
|
/**
|
|
722
|
-
*
|
|
939
|
+
* Company URL slug
|
|
723
940
|
*/
|
|
724
|
-
|
|
941
|
+
universalName: string;
|
|
942
|
+
name: string;
|
|
943
|
+
description: string | null;
|
|
725
944
|
/**
|
|
726
|
-
*
|
|
945
|
+
* LinkedIn company page URL
|
|
727
946
|
*/
|
|
728
|
-
|
|
947
|
+
url: string;
|
|
729
948
|
/**
|
|
730
|
-
*
|
|
949
|
+
* External website URL
|
|
731
950
|
*/
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
export type GetFeedPost = {
|
|
735
|
-
postUrl: string;
|
|
736
|
-
text: string;
|
|
737
|
-
date: number;
|
|
738
|
-
likesCount: number;
|
|
739
|
-
commentsCount: number;
|
|
740
|
-
sharesCount: number;
|
|
741
|
-
postUrn: string;
|
|
742
|
-
postId: string;
|
|
743
|
-
type: GetFeedType;
|
|
951
|
+
websiteUrl: string | null;
|
|
952
|
+
industry: string | null;
|
|
744
953
|
/**
|
|
745
|
-
*
|
|
954
|
+
* Exact employee count on LinkedIn
|
|
746
955
|
*/
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
956
|
+
employeeCount: number | null;
|
|
957
|
+
/**
|
|
958
|
+
* Employee count range
|
|
959
|
+
*/
|
|
960
|
+
employeeCountRange: EmployeeCountRange | null;
|
|
961
|
+
headquarter: VisitCompanyHeadquarter | null;
|
|
962
|
+
logoUrl: string | null;
|
|
963
|
+
coverImageUrl: string | null;
|
|
964
|
+
followerCount: number | null;
|
|
965
|
+
specialities: Array<string>;
|
|
966
|
+
tagline: string | null;
|
|
967
|
+
isVerified: boolean;
|
|
968
|
+
foundedOn: VisitCompanyFoundedOn | null;
|
|
969
|
+
phone: string | null;
|
|
970
|
+
callToAction: CallToAction | null;
|
|
971
|
+
hashtags: Array<string>;
|
|
972
|
+
/**
|
|
973
|
+
* Showcase / affiliated pages
|
|
974
|
+
*/
|
|
975
|
+
affiliatedCompanies: Array<AffiliatedCompany>;
|
|
976
|
+
/**
|
|
977
|
+
* Similar companies suggested by LinkedIn
|
|
978
|
+
*/
|
|
979
|
+
similarCompanies: Array<SimilarCompany>;
|
|
980
|
+
/**
|
|
981
|
+
* Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
|
|
982
|
+
*/
|
|
983
|
+
workplacePolicy: WorkplacePolicy | null;
|
|
755
984
|
/**
|
|
756
985
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
757
986
|
*/
|
|
@@ -761,34 +990,26 @@ export type GetFeedResponse = {
|
|
|
761
990
|
*/
|
|
762
991
|
retryAfter: number;
|
|
763
992
|
};
|
|
764
|
-
export type
|
|
765
|
-
/**
|
|
766
|
-
* 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...).
|
|
767
|
-
*/
|
|
768
|
-
profileUrl: string;
|
|
769
|
-
/**
|
|
770
|
-
* Number of posts to fetch (0-100, default 20). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed).
|
|
771
|
-
*/
|
|
772
|
-
count?: number | undefined;
|
|
993
|
+
export type ListSavedPostsRequest = {
|
|
773
994
|
/**
|
|
774
|
-
* Pagination offset
|
|
995
|
+
* Pagination offset
|
|
775
996
|
*/
|
|
776
997
|
start?: number | undefined;
|
|
777
998
|
/**
|
|
778
|
-
*
|
|
999
|
+
* Number of posts to return
|
|
779
1000
|
*/
|
|
780
|
-
|
|
1001
|
+
count?: number | undefined;
|
|
781
1002
|
};
|
|
782
|
-
export
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
1003
|
+
export type ListSavedPostsAuthor = {
|
|
1004
|
+
name: string;
|
|
1005
|
+
profileUrl: string | null;
|
|
1006
|
+
publicIdentifier: string | null;
|
|
1007
|
+
profileUrn: string | null;
|
|
786
1008
|
};
|
|
787
|
-
export type CollectPostsType = OpenEnum<typeof CollectPostsType>;
|
|
788
1009
|
/**
|
|
789
1010
|
* Type of media attached to the post.
|
|
790
1011
|
*/
|
|
791
|
-
export declare const
|
|
1012
|
+
export declare const ListSavedPostsType: {
|
|
792
1013
|
readonly Image: "image";
|
|
793
1014
|
readonly Video: "video";
|
|
794
1015
|
readonly Document: "document";
|
|
@@ -797,15 +1018,12 @@ export declare const CollectPostsMediaType: {
|
|
|
797
1018
|
/**
|
|
798
1019
|
* Type of media attached to the post.
|
|
799
1020
|
*/
|
|
800
|
-
export type
|
|
801
|
-
|
|
802
|
-
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
803
|
-
*/
|
|
804
|
-
export type CollectPostsMedia = {
|
|
1021
|
+
export type ListSavedPostsType = OpenEnum<typeof ListSavedPostsType>;
|
|
1022
|
+
export type ListSavedPostsMedia = {
|
|
805
1023
|
/**
|
|
806
1024
|
* Type of media attached to the post.
|
|
807
1025
|
*/
|
|
808
|
-
type:
|
|
1026
|
+
type: ListSavedPostsType;
|
|
809
1027
|
/**
|
|
810
1028
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
811
1029
|
*/
|
|
@@ -819,137 +1037,66 @@ export type CollectPostsMedia = {
|
|
|
819
1037
|
*/
|
|
820
1038
|
thumbnailUrl?: string | undefined;
|
|
821
1039
|
};
|
|
822
|
-
export type
|
|
1040
|
+
export type ListSavedPostsPost = {
|
|
823
1041
|
postUrl: string;
|
|
824
|
-
text: string;
|
|
825
|
-
date: number;
|
|
826
|
-
likesCount: number;
|
|
827
|
-
commentsCount: number;
|
|
828
|
-
sharesCount: number;
|
|
829
1042
|
postUrn: string;
|
|
830
1043
|
postId: string;
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
hasMore: boolean;
|
|
847
|
-
paginationToken: string | null;
|
|
848
|
-
/**
|
|
849
|
-
* The total from your last call to this endpoint for the same profile (null on first call). Compare with total to detect new posts without client-side tracking.
|
|
850
|
-
*/
|
|
851
|
-
previousTotal: number | null;
|
|
852
|
-
/**
|
|
853
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
854
|
-
*/
|
|
855
|
-
creditsUsed: number;
|
|
856
|
-
/**
|
|
857
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
858
|
-
*/
|
|
859
|
-
retryAfter: number;
|
|
860
|
-
};
|
|
861
|
-
export type VisitProfileRequest = {
|
|
862
|
-
/**
|
|
863
|
-
* 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...).
|
|
864
|
-
*/
|
|
865
|
-
profile: string;
|
|
866
|
-
/**
|
|
867
|
-
* Optional campaign identifier for tracking only. No dedup — visit always executes.
|
|
868
|
-
*/
|
|
869
|
-
campaignSlug?: string | undefined;
|
|
870
|
-
/**
|
|
871
|
-
* Deprecated. Use campaignSlug only.
|
|
872
|
-
*
|
|
873
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
874
|
-
*/
|
|
875
|
-
actionSlug?: string | undefined;
|
|
876
|
-
/**
|
|
877
|
-
* When true, fetches the last 5 posts from the profile (fetched in parallel with other enrichments). Defaults to false.
|
|
878
|
-
*/
|
|
879
|
-
includePosts?: boolean | undefined;
|
|
1044
|
+
text: string;
|
|
1045
|
+
date: number;
|
|
1046
|
+
likesCount: number;
|
|
1047
|
+
commentsCount: number;
|
|
1048
|
+
sharesCount: number;
|
|
1049
|
+
author: ListSavedPostsAuthor;
|
|
1050
|
+
media?: ListSavedPostsMedia | undefined;
|
|
1051
|
+
};
|
|
1052
|
+
/**
|
|
1053
|
+
* Saved posts
|
|
1054
|
+
*/
|
|
1055
|
+
export type ListSavedPostsResponse = {
|
|
1056
|
+
success: true;
|
|
1057
|
+
posts: Array<ListSavedPostsPost>;
|
|
1058
|
+
total: number | null;
|
|
1059
|
+
hasMore: boolean;
|
|
880
1060
|
/**
|
|
881
|
-
*
|
|
1061
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
882
1062
|
*/
|
|
883
|
-
|
|
1063
|
+
creditsUsed: number;
|
|
884
1064
|
/**
|
|
885
|
-
*
|
|
1065
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
886
1066
|
*/
|
|
887
|
-
|
|
1067
|
+
retryAfter: number;
|
|
888
1068
|
};
|
|
889
1069
|
/**
|
|
890
|
-
*
|
|
1070
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
891
1071
|
*/
|
|
892
|
-
export declare const
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
895
|
-
readonly None: "none";
|
|
1072
|
+
export declare const SortOrder: {
|
|
1073
|
+
readonly Relevance: "RELEVANCE";
|
|
1074
|
+
readonly RevChron: "REV_CHRON";
|
|
896
1075
|
};
|
|
897
1076
|
/**
|
|
898
|
-
*
|
|
1077
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
899
1078
|
*/
|
|
900
|
-
export type
|
|
901
|
-
export type
|
|
902
|
-
month: number | null;
|
|
903
|
-
year: number;
|
|
904
|
-
};
|
|
905
|
-
export type VisitProfilePositionEndDate = {
|
|
906
|
-
month: number | null;
|
|
907
|
-
year: number;
|
|
908
|
-
};
|
|
909
|
-
export type VisitProfilePosition = {
|
|
910
|
-
companyName: string | null;
|
|
911
|
-
title: string | null;
|
|
1079
|
+
export type SortOrder = ClosedEnum<typeof SortOrder>;
|
|
1080
|
+
export type GetFeedRequest = {
|
|
912
1081
|
/**
|
|
913
|
-
*
|
|
1082
|
+
* Number of feed items to return (1-50, default 20)
|
|
914
1083
|
*/
|
|
915
|
-
|
|
916
|
-
companyUrl: string | null;
|
|
917
|
-
companyLogo: string | null;
|
|
1084
|
+
count?: number | undefined;
|
|
918
1085
|
/**
|
|
919
|
-
*
|
|
1086
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
920
1087
|
*/
|
|
921
|
-
|
|
922
|
-
startDate: VisitProfilePositionStartDate | null;
|
|
923
|
-
endDate: VisitProfilePositionEndDate | null;
|
|
924
|
-
isCurrent: boolean;
|
|
925
|
-
};
|
|
926
|
-
export type VisitProfileEducationStartDate = {
|
|
927
|
-
month: number | null;
|
|
928
|
-
year: number;
|
|
929
|
-
};
|
|
930
|
-
export type VisitProfileEducationEndDate = {
|
|
931
|
-
month: number | null;
|
|
932
|
-
year: number;
|
|
933
|
-
};
|
|
934
|
-
export type VisitProfileEducation = {
|
|
935
|
-
schoolName: string | null;
|
|
936
|
-
degreeName: string | null;
|
|
937
|
-
fieldOfStudy: string | null;
|
|
938
|
-
schoolUrl: string | null;
|
|
939
|
-
schoolLogo: string | null;
|
|
940
|
-
startDate: VisitProfileEducationStartDate | null;
|
|
941
|
-
endDate: VisitProfileEducationEndDate | null;
|
|
1088
|
+
sortOrder?: SortOrder | undefined;
|
|
942
1089
|
};
|
|
943
|
-
export declare const
|
|
1090
|
+
export declare const GetFeedType: {
|
|
944
1091
|
readonly Activity: "activity";
|
|
945
1092
|
readonly UgcPost: "ugcPost";
|
|
946
1093
|
readonly Share: "share";
|
|
947
1094
|
};
|
|
948
|
-
export type
|
|
1095
|
+
export type GetFeedType = OpenEnum<typeof GetFeedType>;
|
|
949
1096
|
/**
|
|
950
1097
|
* Type of media attached to the post.
|
|
951
1098
|
*/
|
|
952
|
-
export declare const
|
|
1099
|
+
export declare const GetFeedMediaType: {
|
|
953
1100
|
readonly Image: "image";
|
|
954
1101
|
readonly Video: "video";
|
|
955
1102
|
readonly Document: "document";
|
|
@@ -958,15 +1105,15 @@ export declare const VisitProfileMediaType: {
|
|
|
958
1105
|
/**
|
|
959
1106
|
* Type of media attached to the post.
|
|
960
1107
|
*/
|
|
961
|
-
export type
|
|
1108
|
+
export type GetFeedMediaType = OpenEnum<typeof GetFeedMediaType>;
|
|
962
1109
|
/**
|
|
963
1110
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
964
1111
|
*/
|
|
965
|
-
export type
|
|
1112
|
+
export type GetFeedMedia = {
|
|
966
1113
|
/**
|
|
967
1114
|
* Type of media attached to the post.
|
|
968
1115
|
*/
|
|
969
|
-
type:
|
|
1116
|
+
type: GetFeedMediaType;
|
|
970
1117
|
/**
|
|
971
1118
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
972
1119
|
*/
|
|
@@ -980,7 +1127,7 @@ export type VisitProfileMedia = {
|
|
|
980
1127
|
*/
|
|
981
1128
|
thumbnailUrl?: string | undefined;
|
|
982
1129
|
};
|
|
983
|
-
export type
|
|
1130
|
+
export type GetFeedPost = {
|
|
984
1131
|
postUrl: string;
|
|
985
1132
|
text: string;
|
|
986
1133
|
date: number;
|
|
@@ -989,137 +1136,22 @@ export type VisitProfileLastPost = {
|
|
|
989
1136
|
sharesCount: number;
|
|
990
1137
|
postUrn: string;
|
|
991
1138
|
postId: string;
|
|
992
|
-
type:
|
|
993
|
-
/**
|
|
994
|
-
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
995
|
-
*/
|
|
996
|
-
media?: VisitProfileMedia | undefined;
|
|
997
|
-
};
|
|
998
|
-
/**
|
|
999
|
-
* Activity type: 'comment' for posts the user commented on
|
|
1000
|
-
*/
|
|
1001
|
-
export declare const LastCommentType: {
|
|
1002
|
-
readonly Comment: "comment";
|
|
1003
|
-
readonly Reaction: "reaction";
|
|
1004
|
-
};
|
|
1005
|
-
/**
|
|
1006
|
-
* Activity type: 'comment' for posts the user commented on
|
|
1007
|
-
*/
|
|
1008
|
-
export type LastCommentType = OpenEnum<typeof LastCommentType>;
|
|
1009
|
-
export type LastComment = {
|
|
1010
|
-
/**
|
|
1011
|
-
* Activity type: 'comment' for posts the user commented on
|
|
1012
|
-
*/
|
|
1013
|
-
type: LastCommentType;
|
|
1014
|
-
/**
|
|
1015
|
-
* URN of the feed update (post) the user engaged with
|
|
1016
|
-
*/
|
|
1017
|
-
activityUrn: string;
|
|
1018
|
-
/**
|
|
1019
|
-
* The user's comment text (null when not available from the API — this is a LinkedIn limitation)
|
|
1020
|
-
*/
|
|
1021
|
-
text: string | null;
|
|
1022
|
-
/**
|
|
1023
|
-
* Reaction type (e.g. 'LIKE', 'CELEBRATE'). Only set for reaction-type activities
|
|
1024
|
-
*/
|
|
1025
|
-
reactionType: string | null;
|
|
1026
|
-
/**
|
|
1027
|
-
* URN of the post the user commented on (e.g. 'urn:li:activity:1234567890')
|
|
1028
|
-
*/
|
|
1029
|
-
targetPostUrn: string | null;
|
|
1030
|
-
/**
|
|
1031
|
-
* First ~200 chars of the post the user commented on. Use this to understand what topics they engage with
|
|
1032
|
-
*/
|
|
1033
|
-
targetPostText: string | null;
|
|
1034
|
-
/**
|
|
1035
|
-
* Name of the post author (the person whose post was commented on)
|
|
1036
|
-
*/
|
|
1037
|
-
targetPostAuthor: string | null;
|
|
1038
|
-
/**
|
|
1039
|
-
* Unix timestamp in milliseconds when the activity occurred
|
|
1040
|
-
*/
|
|
1041
|
-
timestamp: number | null;
|
|
1139
|
+
type: GetFeedType;
|
|
1042
1140
|
/**
|
|
1043
|
-
*
|
|
1141
|
+
* True when the post is a repost/reshare of another post. Absent for original posts.
|
|
1044
1142
|
*/
|
|
1045
|
-
|
|
1143
|
+
isRepost?: boolean | undefined;
|
|
1046
1144
|
/**
|
|
1047
|
-
*
|
|
1145
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1048
1146
|
*/
|
|
1049
|
-
|
|
1147
|
+
media?: GetFeedMedia | undefined;
|
|
1050
1148
|
};
|
|
1051
1149
|
/**
|
|
1052
|
-
*
|
|
1150
|
+
* Feed posts
|
|
1053
1151
|
*/
|
|
1054
|
-
export type
|
|
1152
|
+
export type GetFeedResponse = {
|
|
1055
1153
|
success: true;
|
|
1056
|
-
|
|
1057
|
-
lastName: string;
|
|
1058
|
-
headline: string | null;
|
|
1059
|
-
/**
|
|
1060
|
-
* The profile's 'About' section text. Only populated when includeAbout is true. Null when not requested or not filled in.
|
|
1061
|
-
*/
|
|
1062
|
-
summary: string | null;
|
|
1063
|
-
publicIdentifier: string;
|
|
1064
|
-
/**
|
|
1065
|
-
* LinkedIn profile URL. Null when publicIdentifier is unavailable (restricted profiles).
|
|
1066
|
-
*/
|
|
1067
|
-
profileUrl: string | null;
|
|
1068
|
-
/**
|
|
1069
|
-
* LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAAA...'). Use this for matching against inbox participants.
|
|
1070
|
-
*/
|
|
1071
|
-
profileUrn: string | null;
|
|
1072
|
-
imageUrl: string | null;
|
|
1073
|
-
email: string | null;
|
|
1074
|
-
location: string | null;
|
|
1075
|
-
/**
|
|
1076
|
-
* Current company name (from most recent position)
|
|
1077
|
-
*/
|
|
1078
|
-
company: string | null;
|
|
1079
|
-
/**
|
|
1080
|
-
* Current job title (from most recent position)
|
|
1081
|
-
*/
|
|
1082
|
-
position: string | null;
|
|
1083
|
-
/**
|
|
1084
|
-
* Connection degree: 0 (self), 1 (direct connection), 2+ (2nd degree, 3rd degree, etc.), or null if unknown
|
|
1085
|
-
*/
|
|
1086
|
-
memberDistance: number | null;
|
|
1087
|
-
/**
|
|
1088
|
-
* Total number of connections. May be null for non-connected profiles or restricted visibility.
|
|
1089
|
-
*/
|
|
1090
|
-
connectionsCount: number | null;
|
|
1091
|
-
/**
|
|
1092
|
-
* Whether the profile has a LinkedIn verification badge.
|
|
1093
|
-
*/
|
|
1094
|
-
isVerified: boolean;
|
|
1095
|
-
/**
|
|
1096
|
-
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
1097
|
-
*/
|
|
1098
|
-
pendingConnection: PendingConnection;
|
|
1099
|
-
/**
|
|
1100
|
-
* Work experience positions
|
|
1101
|
-
*/
|
|
1102
|
-
positions?: Array<VisitProfilePosition> | undefined;
|
|
1103
|
-
/**
|
|
1104
|
-
* Education entries
|
|
1105
|
-
*/
|
|
1106
|
-
educations?: Array<VisitProfileEducation> | undefined;
|
|
1107
|
-
/**
|
|
1108
|
-
* Last 5 posts from the profile (only present when includePosts is true)
|
|
1109
|
-
*/
|
|
1110
|
-
lastPosts?: Array<VisitProfileLastPost> | undefined;
|
|
1111
|
-
/**
|
|
1112
|
-
* Last 5 posts the profile recently commented on (only present when includeComments is true). Contains targetPostText and targetPostAuthor for engagement context.
|
|
1113
|
-
*/
|
|
1114
|
-
lastComments?: Array<LastComment> | undefined;
|
|
1115
|
-
/**
|
|
1116
|
-
* true when includeAbout was requested and the About section was fetched. Used for cache invalidation.
|
|
1117
|
-
*/
|
|
1118
|
-
aboutFetched?: boolean | undefined;
|
|
1119
|
-
/**
|
|
1120
|
-
* true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
|
|
1121
|
-
*/
|
|
1122
|
-
cached: boolean;
|
|
1154
|
+
posts: Array<GetFeedPost>;
|
|
1123
1155
|
/**
|
|
1124
1156
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1125
1157
|
*/
|
|
@@ -1129,100 +1161,84 @@ export type VisitProfileResponse = {
|
|
|
1129
1161
|
*/
|
|
1130
1162
|
retryAfter: number;
|
|
1131
1163
|
};
|
|
1132
|
-
export type
|
|
1133
|
-
/**
|
|
1134
|
-
* LinkedIn profile URLs, vanity names, or URNs (max 50). Duplicates are auto-removed.
|
|
1135
|
-
*/
|
|
1136
|
-
profiles: Array<string>;
|
|
1137
|
-
/**
|
|
1138
|
-
* Auto-add each successfully visited contact to this campaign.
|
|
1139
|
-
*/
|
|
1140
|
-
campaignSlug?: string | undefined;
|
|
1164
|
+
export type CollectHashtagPostsRequest = {
|
|
1141
1165
|
/**
|
|
1142
|
-
*
|
|
1166
|
+
* Hashtag to collect posts from (without #)
|
|
1143
1167
|
*/
|
|
1144
|
-
|
|
1168
|
+
hashtag: string;
|
|
1145
1169
|
/**
|
|
1146
|
-
*
|
|
1170
|
+
* Pagination offset
|
|
1147
1171
|
*/
|
|
1148
|
-
|
|
1172
|
+
start?: number | undefined;
|
|
1149
1173
|
/**
|
|
1150
|
-
*
|
|
1174
|
+
* Number of posts
|
|
1151
1175
|
*/
|
|
1152
|
-
|
|
1176
|
+
count?: number | undefined;
|
|
1177
|
+
};
|
|
1178
|
+
export type CollectHashtagPostsAuthor = {
|
|
1179
|
+
name: string;
|
|
1180
|
+
profileUrl: string | null;
|
|
1181
|
+
publicIdentifier: string | null;
|
|
1182
|
+
profileUrn: string | null;
|
|
1183
|
+
};
|
|
1184
|
+
/**
|
|
1185
|
+
* Type of media attached to the post.
|
|
1186
|
+
*/
|
|
1187
|
+
export declare const CollectHashtagPostsType: {
|
|
1188
|
+
readonly Image: "image";
|
|
1189
|
+
readonly Video: "video";
|
|
1190
|
+
readonly Document: "document";
|
|
1191
|
+
readonly Article: "article";
|
|
1153
1192
|
};
|
|
1154
1193
|
/**
|
|
1155
|
-
*
|
|
1194
|
+
* Type of media attached to the post.
|
|
1156
1195
|
*/
|
|
1157
|
-
export type
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Unique batch identifier for status polling.
|
|
1161
|
-
*/
|
|
1162
|
-
batchId: string;
|
|
1163
|
-
/**
|
|
1164
|
-
* Total unique profiles in the batch (after dedup).
|
|
1165
|
-
*/
|
|
1166
|
-
profileCount: number;
|
|
1196
|
+
export type CollectHashtagPostsType = OpenEnum<typeof CollectHashtagPostsType>;
|
|
1197
|
+
export type CollectHashtagPostsMedia = {
|
|
1167
1198
|
/**
|
|
1168
|
-
*
|
|
1199
|
+
* Type of media attached to the post.
|
|
1169
1200
|
*/
|
|
1170
|
-
|
|
1201
|
+
type: CollectHashtagPostsType;
|
|
1171
1202
|
/**
|
|
1172
|
-
*
|
|
1203
|
+
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
1173
1204
|
*/
|
|
1174
|
-
|
|
1205
|
+
urls: Array<string>;
|
|
1175
1206
|
/**
|
|
1176
|
-
*
|
|
1207
|
+
* Title of the article or document, when available.
|
|
1177
1208
|
*/
|
|
1178
|
-
|
|
1179
|
-
};
|
|
1180
|
-
export type BulkVisitBatchStatusRequest = {
|
|
1209
|
+
title?: string | undefined;
|
|
1181
1210
|
/**
|
|
1182
|
-
*
|
|
1211
|
+
* Thumbnail URL for videos, articles, or document covers.
|
|
1183
1212
|
*/
|
|
1184
|
-
|
|
1185
|
-
};
|
|
1186
|
-
export declare const BulkVisitBatchStatusStatus: {
|
|
1187
|
-
readonly Queued: "queued";
|
|
1188
|
-
readonly Processing: "processing";
|
|
1189
|
-
readonly Completed: "completed";
|
|
1190
|
-
readonly Partial: "partial";
|
|
1191
|
-
readonly Failed: "failed";
|
|
1192
|
-
};
|
|
1193
|
-
export type BulkVisitBatchStatusStatus = OpenEnum<typeof BulkVisitBatchStatusStatus>;
|
|
1194
|
-
export type Progress = {
|
|
1195
|
-
total: number;
|
|
1196
|
-
visited: number;
|
|
1197
|
-
cached: number;
|
|
1198
|
-
failed: number;
|
|
1199
|
-
skipped: number;
|
|
1200
|
-
pending: number;
|
|
1201
|
-
};
|
|
1202
|
-
export declare const ResultStatus: {
|
|
1203
|
-
readonly Visited: "visited";
|
|
1204
|
-
readonly Cached: "cached";
|
|
1205
|
-
readonly Failed: "failed";
|
|
1206
|
-
readonly Skipped: "skipped";
|
|
1207
|
-
readonly Pending: "pending";
|
|
1213
|
+
thumbnailUrl?: string | undefined;
|
|
1208
1214
|
};
|
|
1209
|
-
export type
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
+
export type CollectHashtagPostsPost = {
|
|
1216
|
+
postUrl: string;
|
|
1217
|
+
postUrn: string;
|
|
1218
|
+
text: string;
|
|
1219
|
+
date: number;
|
|
1220
|
+
likesCount: number;
|
|
1221
|
+
commentsCount: number;
|
|
1222
|
+
sharesCount: number;
|
|
1223
|
+
author: CollectHashtagPostsAuthor;
|
|
1224
|
+
media?: CollectHashtagPostsMedia | undefined;
|
|
1215
1225
|
};
|
|
1216
1226
|
/**
|
|
1217
|
-
*
|
|
1227
|
+
* Hashtag posts
|
|
1218
1228
|
*/
|
|
1219
|
-
export type
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1229
|
+
export type CollectHashtagPostsResponse = {
|
|
1230
|
+
success: true;
|
|
1231
|
+
posts: Array<CollectHashtagPostsPost>;
|
|
1232
|
+
total: number;
|
|
1233
|
+
hasMore: boolean;
|
|
1234
|
+
/**
|
|
1235
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1236
|
+
*/
|
|
1223
1237
|
creditsUsed: number;
|
|
1224
|
-
|
|
1225
|
-
|
|
1238
|
+
/**
|
|
1239
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1240
|
+
*/
|
|
1241
|
+
retryAfter: number;
|
|
1226
1242
|
};
|
|
1227
1243
|
/**
|
|
1228
1244
|
* Type of search to perform (required unless url is provided)
|
|
@@ -1240,18 +1256,18 @@ export type SearchCategoryRequest = ClosedEnum<typeof SearchCategoryRequest>;
|
|
|
1240
1256
|
/**
|
|
1241
1257
|
* Sort order (posts & jobs)
|
|
1242
1258
|
*/
|
|
1243
|
-
export declare const
|
|
1259
|
+
export declare const SortBy: {
|
|
1244
1260
|
readonly Relevance: "relevance";
|
|
1245
1261
|
readonly Date: "date";
|
|
1246
1262
|
};
|
|
1247
1263
|
/**
|
|
1248
1264
|
* Sort order (posts & jobs)
|
|
1249
1265
|
*/
|
|
1250
|
-
export type
|
|
1266
|
+
export type SortBy = ClosedEnum<typeof SortBy>;
|
|
1251
1267
|
/**
|
|
1252
1268
|
* Time filter (posts & jobs)
|
|
1253
1269
|
*/
|
|
1254
|
-
export declare const
|
|
1270
|
+
export declare const DatePosted: {
|
|
1255
1271
|
readonly Past24h: "past-24h";
|
|
1256
1272
|
readonly PastWeek: "past-week";
|
|
1257
1273
|
readonly PastMonth: "past-month";
|
|
@@ -1259,11 +1275,11 @@ export declare const SearchDatePosted: {
|
|
|
1259
1275
|
/**
|
|
1260
1276
|
* Time filter (posts & jobs)
|
|
1261
1277
|
*/
|
|
1262
|
-
export type
|
|
1278
|
+
export type DatePosted = ClosedEnum<typeof DatePosted>;
|
|
1263
1279
|
/**
|
|
1264
1280
|
* Media type filter (posts only)
|
|
1265
1281
|
*/
|
|
1266
|
-
export declare const
|
|
1282
|
+
export declare const ContentType: {
|
|
1267
1283
|
readonly Images: "images";
|
|
1268
1284
|
readonly Videos: "videos";
|
|
1269
1285
|
readonly Documents: "documents";
|
|
@@ -1271,14 +1287,14 @@ export declare const SearchContentType: {
|
|
|
1271
1287
|
/**
|
|
1272
1288
|
* Media type filter (posts only)
|
|
1273
1289
|
*/
|
|
1274
|
-
export type
|
|
1275
|
-
export declare const
|
|
1290
|
+
export type ContentType = ClosedEnum<typeof ContentType>;
|
|
1291
|
+
export declare const ConnectionDegree: {
|
|
1276
1292
|
readonly F: "F";
|
|
1277
1293
|
readonly S: "S";
|
|
1278
1294
|
readonly O: "O";
|
|
1279
1295
|
};
|
|
1280
|
-
export type
|
|
1281
|
-
export declare const
|
|
1296
|
+
export type ConnectionDegree = ClosedEnum<typeof ConnectionDegree>;
|
|
1297
|
+
export declare const CompanySize: {
|
|
1282
1298
|
readonly A: "A";
|
|
1283
1299
|
readonly B: "B";
|
|
1284
1300
|
readonly C: "C";
|
|
@@ -1289,8 +1305,8 @@ export declare const SearchCompanySize: {
|
|
|
1289
1305
|
readonly H: "H";
|
|
1290
1306
|
readonly I: "I";
|
|
1291
1307
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export declare const
|
|
1308
|
+
export type CompanySize = ClosedEnum<typeof CompanySize>;
|
|
1309
|
+
export declare const JobType: {
|
|
1294
1310
|
readonly F: "F";
|
|
1295
1311
|
readonly P: "P";
|
|
1296
1312
|
readonly C: "C";
|
|
@@ -1299,8 +1315,8 @@ export declare const SearchJobType: {
|
|
|
1299
1315
|
readonly V: "V";
|
|
1300
1316
|
readonly O: "O";
|
|
1301
1317
|
};
|
|
1302
|
-
export type
|
|
1303
|
-
export declare const
|
|
1318
|
+
export type JobType = ClosedEnum<typeof JobType>;
|
|
1319
|
+
export declare const ExperienceLevel: {
|
|
1304
1320
|
readonly One: "1";
|
|
1305
1321
|
readonly Two: "2";
|
|
1306
1322
|
readonly Three: "3";
|
|
@@ -1308,13 +1324,13 @@ export declare const SearchExperienceLevel: {
|
|
|
1308
1324
|
readonly Five: "5";
|
|
1309
1325
|
readonly Six: "6";
|
|
1310
1326
|
};
|
|
1311
|
-
export type
|
|
1312
|
-
export declare const
|
|
1327
|
+
export type ExperienceLevel = ClosedEnum<typeof ExperienceLevel>;
|
|
1328
|
+
export declare const WorkplaceType: {
|
|
1313
1329
|
readonly One: "1";
|
|
1314
1330
|
readonly Two: "2";
|
|
1315
1331
|
readonly Three: "3";
|
|
1316
1332
|
};
|
|
1317
|
-
export type
|
|
1333
|
+
export type WorkplaceType = ClosedEnum<typeof WorkplaceType>;
|
|
1318
1334
|
export type SearchRequest = {
|
|
1319
1335
|
/**
|
|
1320
1336
|
* Type of search to perform (required unless url is provided)
|
|
@@ -1331,15 +1347,15 @@ export type SearchRequest = {
|
|
|
1331
1347
|
/**
|
|
1332
1348
|
* Sort order (posts & jobs)
|
|
1333
1349
|
*/
|
|
1334
|
-
sortBy?:
|
|
1350
|
+
sortBy?: SortBy | undefined;
|
|
1335
1351
|
/**
|
|
1336
1352
|
* Time filter (posts & jobs)
|
|
1337
1353
|
*/
|
|
1338
|
-
datePosted?:
|
|
1354
|
+
datePosted?: DatePosted | undefined;
|
|
1339
1355
|
/**
|
|
1340
1356
|
* Media type filter (posts only)
|
|
1341
1357
|
*/
|
|
1342
|
-
contentType?:
|
|
1358
|
+
contentType?: ContentType | undefined;
|
|
1343
1359
|
/**
|
|
1344
1360
|
* Author industry IDs (posts only, resolve via /search/parameters)
|
|
1345
1361
|
*/
|
|
@@ -1351,7 +1367,7 @@ export type SearchRequest = {
|
|
|
1351
1367
|
/**
|
|
1352
1368
|
* Connection degree: F=1st, S=2nd, O=3rd+ (people only)
|
|
1353
1369
|
*/
|
|
1354
|
-
connectionDegree?: Array<
|
|
1370
|
+
connectionDegree?: Array<ConnectionDegree> | undefined;
|
|
1355
1371
|
/**
|
|
1356
1372
|
* First name filter (people only)
|
|
1357
1373
|
*/
|
|
@@ -1395,19 +1411,19 @@ export type SearchRequest = {
|
|
|
1395
1411
|
/**
|
|
1396
1412
|
* Company size: A=1-10, B=11-50, C=51-200, D=201-500, E=501-1K, F=1K-5K, G=5K-10K, H=10K+, I=self (companies only)
|
|
1397
1413
|
*/
|
|
1398
|
-
companySize?: Array<
|
|
1414
|
+
companySize?: Array<CompanySize> | undefined;
|
|
1399
1415
|
/**
|
|
1400
1416
|
* Job type: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other (jobs only)
|
|
1401
1417
|
*/
|
|
1402
|
-
jobType?: Array<
|
|
1418
|
+
jobType?: Array<JobType> | undefined;
|
|
1403
1419
|
/**
|
|
1404
1420
|
* Experience level: 1=Internship, 2=Entry, 3=Associate, 4=Mid-Senior, 5=Director, 6=Executive (jobs only)
|
|
1405
1421
|
*/
|
|
1406
|
-
experienceLevel?: Array<
|
|
1422
|
+
experienceLevel?: Array<ExperienceLevel> | undefined;
|
|
1407
1423
|
/**
|
|
1408
1424
|
* Workplace type: 1=On-site, 2=Remote, 3=Hybrid (jobs only)
|
|
1409
1425
|
*/
|
|
1410
|
-
workplaceType?: Array<
|
|
1426
|
+
workplaceType?: Array<WorkplaceType> | undefined;
|
|
1411
1427
|
/**
|
|
1412
1428
|
* Pagination offset (default 0)
|
|
1413
1429
|
*/
|
|
@@ -1424,12 +1440,12 @@ export declare const SearchCategoryResponseBody: {
|
|
|
1424
1440
|
readonly Jobs: "jobs";
|
|
1425
1441
|
};
|
|
1426
1442
|
export type SearchCategoryResponseBody = OpenEnum<typeof SearchCategoryResponseBody>;
|
|
1427
|
-
export declare const
|
|
1443
|
+
export declare const ItemsTypeJob: {
|
|
1428
1444
|
readonly Job: "JOB";
|
|
1429
1445
|
};
|
|
1430
|
-
export type
|
|
1431
|
-
export type
|
|
1432
|
-
type:
|
|
1446
|
+
export type ItemsTypeJob = ClosedEnum<typeof ItemsTypeJob>;
|
|
1447
|
+
export type ItemsJob = {
|
|
1448
|
+
type: ItemsTypeJob;
|
|
1433
1449
|
title: string;
|
|
1434
1450
|
company: string | null;
|
|
1435
1451
|
companyUrl: string | null;
|
|
@@ -1440,12 +1456,12 @@ export type SearchItemsJob = {
|
|
|
1440
1456
|
jobUrl: string;
|
|
1441
1457
|
listingId: string;
|
|
1442
1458
|
};
|
|
1443
|
-
export declare const
|
|
1459
|
+
export declare const ItemsTypeCompany: {
|
|
1444
1460
|
readonly Company: "COMPANY";
|
|
1445
1461
|
};
|
|
1446
|
-
export type
|
|
1447
|
-
export type
|
|
1448
|
-
type:
|
|
1462
|
+
export type ItemsTypeCompany = ClosedEnum<typeof ItemsTypeCompany>;
|
|
1463
|
+
export type ItemsCompany = {
|
|
1464
|
+
type: ItemsTypeCompany;
|
|
1449
1465
|
name: string;
|
|
1450
1466
|
profileUrl: string | null;
|
|
1451
1467
|
summary: string | null;
|
|
@@ -1453,30 +1469,30 @@ export type SearchItemsCompany = {
|
|
|
1453
1469
|
location: string | null;
|
|
1454
1470
|
followersCount: number | null;
|
|
1455
1471
|
};
|
|
1456
|
-
export declare const
|
|
1472
|
+
export declare const ItemsTypePeople: {
|
|
1457
1473
|
readonly People: "PEOPLE";
|
|
1458
1474
|
};
|
|
1459
|
-
export type
|
|
1460
|
-
export declare const
|
|
1475
|
+
export type ItemsTypePeople = ClosedEnum<typeof ItemsTypePeople>;
|
|
1476
|
+
export declare const ItemsNetworkDistance: {
|
|
1461
1477
|
readonly Distance1: "DISTANCE_1";
|
|
1462
1478
|
readonly Distance2: "DISTANCE_2";
|
|
1463
1479
|
readonly Distance3: "DISTANCE_3";
|
|
1464
1480
|
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
1465
1481
|
};
|
|
1466
|
-
export type
|
|
1467
|
-
export type
|
|
1482
|
+
export type ItemsNetworkDistance = OpenEnum<typeof ItemsNetworkDistance>;
|
|
1483
|
+
export type ItemsCurrentPosition = {
|
|
1468
1484
|
company: string | null;
|
|
1469
1485
|
role: string | null;
|
|
1470
1486
|
};
|
|
1471
|
-
export type
|
|
1472
|
-
type:
|
|
1487
|
+
export type ItemsPeople = {
|
|
1488
|
+
type: ItemsTypePeople;
|
|
1473
1489
|
name: string;
|
|
1474
1490
|
profileUrl: string | null;
|
|
1475
1491
|
headline: string | null;
|
|
1476
1492
|
location: string | null;
|
|
1477
1493
|
profilePicture: string | null;
|
|
1478
|
-
networkDistance:
|
|
1479
|
-
currentPositions: Array<
|
|
1494
|
+
networkDistance: ItemsNetworkDistance | null;
|
|
1495
|
+
currentPositions: Array<ItemsCurrentPosition>;
|
|
1480
1496
|
/**
|
|
1481
1497
|
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
|
|
1482
1498
|
*/
|
|
@@ -1486,11 +1502,11 @@ export type SearchItemsPeople = {
|
|
|
1486
1502
|
*/
|
|
1487
1503
|
publicIdentifier: string | null;
|
|
1488
1504
|
};
|
|
1489
|
-
export declare const
|
|
1505
|
+
export declare const ItemsTypePost: {
|
|
1490
1506
|
readonly Post: "POST";
|
|
1491
1507
|
};
|
|
1492
|
-
export type
|
|
1493
|
-
export type
|
|
1508
|
+
export type ItemsTypePost = ClosedEnum<typeof ItemsTypePost>;
|
|
1509
|
+
export type ItemsAuthor = {
|
|
1494
1510
|
name: string;
|
|
1495
1511
|
profileUrl: string | null;
|
|
1496
1512
|
headline: string | null;
|
|
@@ -1508,7 +1524,7 @@ export type SearchAuthor = {
|
|
|
1508
1524
|
/**
|
|
1509
1525
|
* Type of media attached to the post.
|
|
1510
1526
|
*/
|
|
1511
|
-
export declare const
|
|
1527
|
+
export declare const ItemsMediaType: {
|
|
1512
1528
|
readonly Image: "image";
|
|
1513
1529
|
readonly Video: "video";
|
|
1514
1530
|
readonly Document: "document";
|
|
@@ -1517,15 +1533,15 @@ export declare const SearchMediaType: {
|
|
|
1517
1533
|
/**
|
|
1518
1534
|
* Type of media attached to the post.
|
|
1519
1535
|
*/
|
|
1520
|
-
export type
|
|
1536
|
+
export type ItemsMediaType = OpenEnum<typeof ItemsMediaType>;
|
|
1521
1537
|
/**
|
|
1522
1538
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1523
1539
|
*/
|
|
1524
|
-
export type
|
|
1540
|
+
export type ItemsMedia = {
|
|
1525
1541
|
/**
|
|
1526
1542
|
* Type of media attached to the post.
|
|
1527
1543
|
*/
|
|
1528
|
-
type:
|
|
1544
|
+
type: ItemsMediaType;
|
|
1529
1545
|
/**
|
|
1530
1546
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
1531
1547
|
*/
|
|
@@ -1539,8 +1555,8 @@ export type SearchMedia = {
|
|
|
1539
1555
|
*/
|
|
1540
1556
|
thumbnailUrl?: string | undefined;
|
|
1541
1557
|
};
|
|
1542
|
-
export type
|
|
1543
|
-
type:
|
|
1558
|
+
export type ItemsPost = {
|
|
1559
|
+
type: ItemsTypePost;
|
|
1544
1560
|
postUrl: string;
|
|
1545
1561
|
text: string;
|
|
1546
1562
|
date: number;
|
|
@@ -1549,15 +1565,15 @@ export type SearchItemsPost = {
|
|
|
1549
1565
|
sharesCount: number;
|
|
1550
1566
|
postUrn: string;
|
|
1551
1567
|
postId: string;
|
|
1552
|
-
author:
|
|
1568
|
+
author: ItemsAuthor;
|
|
1553
1569
|
isRepost: boolean;
|
|
1554
1570
|
/**
|
|
1555
1571
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1556
1572
|
*/
|
|
1557
|
-
media?:
|
|
1573
|
+
media?: ItemsMedia | undefined;
|
|
1558
1574
|
};
|
|
1559
|
-
export type
|
|
1560
|
-
export type
|
|
1575
|
+
export type Items = Array<ItemsPost> | Array<ItemsPeople> | Array<ItemsCompany> | Array<ItemsJob>;
|
|
1576
|
+
export type SearchPagingResponseBody = {
|
|
1561
1577
|
start: number;
|
|
1562
1578
|
count: number;
|
|
1563
1579
|
total: number;
|
|
@@ -1568,90 +1584,8 @@ export type SearchPaging = {
|
|
|
1568
1584
|
export type SearchResponse = {
|
|
1569
1585
|
success: true;
|
|
1570
1586
|
category: SearchCategoryResponseBody;
|
|
1571
|
-
items: Array<
|
|
1572
|
-
paging:
|
|
1573
|
-
hasMore: boolean;
|
|
1574
|
-
/**
|
|
1575
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1576
|
-
*/
|
|
1577
|
-
creditsUsed: number;
|
|
1578
|
-
/**
|
|
1579
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1580
|
-
*/
|
|
1581
|
-
retryAfter: number;
|
|
1582
|
-
};
|
|
1583
|
-
export declare const SearchCompaniesCompanySize: {
|
|
1584
|
-
readonly A: "A";
|
|
1585
|
-
readonly B: "B";
|
|
1586
|
-
readonly C: "C";
|
|
1587
|
-
readonly D: "D";
|
|
1588
|
-
readonly E: "E";
|
|
1589
|
-
readonly F: "F";
|
|
1590
|
-
readonly G: "G";
|
|
1591
|
-
readonly H: "H";
|
|
1592
|
-
readonly I: "I";
|
|
1593
|
-
};
|
|
1594
|
-
export type SearchCompaniesCompanySize = ClosedEnum<typeof SearchCompaniesCompanySize>;
|
|
1595
|
-
export type SearchCompaniesRequest = {
|
|
1596
|
-
/**
|
|
1597
|
-
* Search keywords. Matches against company name, description, and specialties. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "artificial intelligence"), AND to require both terms, OR for alternatives (e.g. SaaS OR "cloud computing"), NOT to exclude (e.g. consulting NOT staffing), and parentheses to group (e.g. (AI OR ML) AND healthcare). Operators must be UPPERCASE.
|
|
1598
|
-
*/
|
|
1599
|
-
keywords?: string | undefined;
|
|
1600
|
-
/**
|
|
1601
|
-
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1602
|
-
*/
|
|
1603
|
-
url?: string | undefined;
|
|
1604
|
-
/**
|
|
1605
|
-
* Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
1606
|
-
*/
|
|
1607
|
-
location?: Array<string> | undefined;
|
|
1608
|
-
/**
|
|
1609
|
-
* Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
|
|
1610
|
-
*/
|
|
1611
|
-
industry?: Array<string> | undefined;
|
|
1612
|
-
/**
|
|
1613
|
-
* Filter by employee count. Multiple values accepted (OR logic). Codes: A=1-10 employees, B=11-50, C=51-200, D=201-500, E=501-1,000, F=1,001-5,000, G=5,001-10,000, H=10,001+, I=Self-employed.
|
|
1614
|
-
*/
|
|
1615
|
-
companySize?: Array<SearchCompaniesCompanySize> | undefined;
|
|
1616
|
-
/**
|
|
1617
|
-
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1618
|
-
*/
|
|
1619
|
-
start?: number | undefined;
|
|
1620
|
-
/**
|
|
1621
|
-
* Results per page (default 10, max 50).
|
|
1622
|
-
*/
|
|
1623
|
-
count?: number | undefined;
|
|
1624
|
-
};
|
|
1625
|
-
export declare const SearchCompaniesCategory: {
|
|
1626
|
-
readonly Companies: "companies";
|
|
1627
|
-
};
|
|
1628
|
-
export type SearchCompaniesCategory = ClosedEnum<typeof SearchCompaniesCategory>;
|
|
1629
|
-
export declare const SearchCompaniesType: {
|
|
1630
|
-
readonly Company: "COMPANY";
|
|
1631
|
-
};
|
|
1632
|
-
export type SearchCompaniesType = ClosedEnum<typeof SearchCompaniesType>;
|
|
1633
|
-
export type SearchCompaniesItem = {
|
|
1634
|
-
type: SearchCompaniesType;
|
|
1635
|
-
name: string;
|
|
1636
|
-
profileUrl: string | null;
|
|
1637
|
-
summary: string | null;
|
|
1638
|
-
industry: string | null;
|
|
1639
|
-
location: string | null;
|
|
1640
|
-
followersCount: number | null;
|
|
1641
|
-
};
|
|
1642
|
-
export type SearchCompaniesPaging = {
|
|
1643
|
-
start: number;
|
|
1644
|
-
count: number;
|
|
1645
|
-
total: number;
|
|
1646
|
-
};
|
|
1647
|
-
/**
|
|
1648
|
-
* List of LinkedIn companies matching the search criteria
|
|
1649
|
-
*/
|
|
1650
|
-
export type SearchCompaniesResponse = {
|
|
1651
|
-
success: true;
|
|
1652
|
-
category: SearchCompaniesCategory;
|
|
1653
|
-
items: Array<SearchCompaniesItem>;
|
|
1654
|
-
paging: SearchCompaniesPaging;
|
|
1587
|
+
items: Array<ItemsPost> | Array<ItemsPeople> | Array<ItemsCompany> | Array<ItemsJob>;
|
|
1588
|
+
paging: SearchPagingResponseBody;
|
|
1655
1589
|
hasMore: boolean;
|
|
1656
1590
|
/**
|
|
1657
1591
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1960,6 +1894,88 @@ export type SearchPeopleResponse = {
|
|
|
1960
1894
|
*/
|
|
1961
1895
|
retryAfter: number;
|
|
1962
1896
|
};
|
|
1897
|
+
export declare const SearchCompaniesCompanySize: {
|
|
1898
|
+
readonly A: "A";
|
|
1899
|
+
readonly B: "B";
|
|
1900
|
+
readonly C: "C";
|
|
1901
|
+
readonly D: "D";
|
|
1902
|
+
readonly E: "E";
|
|
1903
|
+
readonly F: "F";
|
|
1904
|
+
readonly G: "G";
|
|
1905
|
+
readonly H: "H";
|
|
1906
|
+
readonly I: "I";
|
|
1907
|
+
};
|
|
1908
|
+
export type SearchCompaniesCompanySize = ClosedEnum<typeof SearchCompaniesCompanySize>;
|
|
1909
|
+
export type SearchCompaniesRequest = {
|
|
1910
|
+
/**
|
|
1911
|
+
* Search keywords. Matches against company name, description, and specialties. Optional — you can search by filters alone. Supports LinkedIn Boolean syntax: use double quotes for exact phrases (e.g. "artificial intelligence"), AND to require both terms, OR for alternatives (e.g. SaaS OR "cloud computing"), NOT to exclude (e.g. consulting NOT staffing), and parentheses to group (e.g. (AI OR ML) AND healthcare). Operators must be UPPERCASE.
|
|
1912
|
+
*/
|
|
1913
|
+
keywords?: string | undefined;
|
|
1914
|
+
/**
|
|
1915
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1916
|
+
*/
|
|
1917
|
+
url?: string | undefined;
|
|
1918
|
+
/**
|
|
1919
|
+
* Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
1920
|
+
*/
|
|
1921
|
+
location?: Array<string> | undefined;
|
|
1922
|
+
/**
|
|
1923
|
+
* Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
|
|
1924
|
+
*/
|
|
1925
|
+
industry?: Array<string> | undefined;
|
|
1926
|
+
/**
|
|
1927
|
+
* Filter by employee count. Multiple values accepted (OR logic). Codes: A=1-10 employees, B=11-50, C=51-200, D=201-500, E=501-1,000, F=1,001-5,000, G=5,001-10,000, H=10,001+, I=Self-employed.
|
|
1928
|
+
*/
|
|
1929
|
+
companySize?: Array<SearchCompaniesCompanySize> | undefined;
|
|
1930
|
+
/**
|
|
1931
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1932
|
+
*/
|
|
1933
|
+
start?: number | undefined;
|
|
1934
|
+
/**
|
|
1935
|
+
* Results per page (default 10, max 50).
|
|
1936
|
+
*/
|
|
1937
|
+
count?: number | undefined;
|
|
1938
|
+
};
|
|
1939
|
+
export declare const SearchCompaniesCategory: {
|
|
1940
|
+
readonly Companies: "companies";
|
|
1941
|
+
};
|
|
1942
|
+
export type SearchCompaniesCategory = ClosedEnum<typeof SearchCompaniesCategory>;
|
|
1943
|
+
export declare const SearchCompaniesType: {
|
|
1944
|
+
readonly Company: "COMPANY";
|
|
1945
|
+
};
|
|
1946
|
+
export type SearchCompaniesType = ClosedEnum<typeof SearchCompaniesType>;
|
|
1947
|
+
export type SearchCompaniesItem = {
|
|
1948
|
+
type: SearchCompaniesType;
|
|
1949
|
+
name: string;
|
|
1950
|
+
profileUrl: string | null;
|
|
1951
|
+
summary: string | null;
|
|
1952
|
+
industry: string | null;
|
|
1953
|
+
location: string | null;
|
|
1954
|
+
followersCount: number | null;
|
|
1955
|
+
};
|
|
1956
|
+
export type SearchCompaniesPaging = {
|
|
1957
|
+
start: number;
|
|
1958
|
+
count: number;
|
|
1959
|
+
total: number;
|
|
1960
|
+
};
|
|
1961
|
+
/**
|
|
1962
|
+
* List of LinkedIn companies matching the search criteria
|
|
1963
|
+
*/
|
|
1964
|
+
export type SearchCompaniesResponse = {
|
|
1965
|
+
success: true;
|
|
1966
|
+
category: SearchCompaniesCategory;
|
|
1967
|
+
items: Array<SearchCompaniesItem>;
|
|
1968
|
+
paging: SearchCompaniesPaging;
|
|
1969
|
+
hasMore: boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1972
|
+
*/
|
|
1973
|
+
creditsUsed: number;
|
|
1974
|
+
/**
|
|
1975
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1976
|
+
*/
|
|
1977
|
+
retryAfter: number;
|
|
1978
|
+
};
|
|
1963
1979
|
/** @internal */
|
|
1964
1980
|
export type CollectLikesRequest$Outbound = {
|
|
1965
1981
|
postUrl: string;
|
|
@@ -2070,83 +2086,6 @@ export declare function collectCommentsProfileFromJSON(jsonString: string): Safe
|
|
|
2070
2086
|
export declare const CollectCommentsResponse$inboundSchema: z.ZodMiniType<CollectCommentsResponse, unknown>;
|
|
2071
2087
|
export declare function collectCommentsResponseFromJSON(jsonString: string): SafeParseResult<CollectCommentsResponse, SDKValidationError>;
|
|
2072
2088
|
/** @internal */
|
|
2073
|
-
export type VisitCompanyRequest$Outbound = {
|
|
2074
|
-
companyUrl: string;
|
|
2075
|
-
includeWorkplacePolicy?: boolean | undefined;
|
|
2076
|
-
};
|
|
2077
|
-
/** @internal */
|
|
2078
|
-
export declare const VisitCompanyRequest$outboundSchema: z.ZodMiniType<VisitCompanyRequest$Outbound, VisitCompanyRequest>;
|
|
2079
|
-
export declare function visitCompanyRequestToJSON(visitCompanyRequest: VisitCompanyRequest): string;
|
|
2080
|
-
/** @internal */
|
|
2081
|
-
export declare const EmployeeCountRange$inboundSchema: z.ZodMiniType<EmployeeCountRange, unknown>;
|
|
2082
|
-
export declare function employeeCountRangeFromJSON(jsonString: string): SafeParseResult<EmployeeCountRange, SDKValidationError>;
|
|
2083
|
-
/** @internal */
|
|
2084
|
-
export declare const VisitCompanyHeadquarter$inboundSchema: z.ZodMiniType<VisitCompanyHeadquarter, unknown>;
|
|
2085
|
-
export declare function visitCompanyHeadquarterFromJSON(jsonString: string): SafeParseResult<VisitCompanyHeadquarter, SDKValidationError>;
|
|
2086
|
-
/** @internal */
|
|
2087
|
-
export declare const VisitCompanyFoundedOn$inboundSchema: z.ZodMiniType<VisitCompanyFoundedOn, unknown>;
|
|
2088
|
-
export declare function visitCompanyFoundedOnFromJSON(jsonString: string): SafeParseResult<VisitCompanyFoundedOn, SDKValidationError>;
|
|
2089
|
-
/** @internal */
|
|
2090
|
-
export declare const CallToAction$inboundSchema: z.ZodMiniType<CallToAction, unknown>;
|
|
2091
|
-
export declare function callToActionFromJSON(jsonString: string): SafeParseResult<CallToAction, SDKValidationError>;
|
|
2092
|
-
/** @internal */
|
|
2093
|
-
export declare const AffiliatedCompany$inboundSchema: z.ZodMiniType<AffiliatedCompany, unknown>;
|
|
2094
|
-
export declare function affiliatedCompanyFromJSON(jsonString: string): SafeParseResult<AffiliatedCompany, SDKValidationError>;
|
|
2095
|
-
/** @internal */
|
|
2096
|
-
export declare const SimilarCompany$inboundSchema: z.ZodMiniType<SimilarCompany, unknown>;
|
|
2097
|
-
export declare function similarCompanyFromJSON(jsonString: string): SafeParseResult<SimilarCompany, SDKValidationError>;
|
|
2098
|
-
/** @internal */
|
|
2099
|
-
export declare const WorkplacePolicy$inboundSchema: z.ZodMiniType<WorkplacePolicy, unknown>;
|
|
2100
|
-
export declare function workplacePolicyFromJSON(jsonString: string): SafeParseResult<WorkplacePolicy, SDKValidationError>;
|
|
2101
|
-
/** @internal */
|
|
2102
|
-
export declare const VisitCompanyResponse$inboundSchema: z.ZodMiniType<VisitCompanyResponse, unknown>;
|
|
2103
|
-
export declare function visitCompanyResponseFromJSON(jsonString: string): SafeParseResult<VisitCompanyResponse, SDKValidationError>;
|
|
2104
|
-
/** @internal */
|
|
2105
|
-
export type ListSavedPostsRequest$Outbound = {
|
|
2106
|
-
start: number;
|
|
2107
|
-
count: number;
|
|
2108
|
-
};
|
|
2109
|
-
/** @internal */
|
|
2110
|
-
export declare const ListSavedPostsRequest$outboundSchema: z.ZodMiniType<ListSavedPostsRequest$Outbound, ListSavedPostsRequest>;
|
|
2111
|
-
export declare function listSavedPostsRequestToJSON(listSavedPostsRequest: ListSavedPostsRequest): string;
|
|
2112
|
-
/** @internal */
|
|
2113
|
-
export declare const ListSavedPostsAuthor$inboundSchema: z.ZodMiniType<ListSavedPostsAuthor, unknown>;
|
|
2114
|
-
export declare function listSavedPostsAuthorFromJSON(jsonString: string): SafeParseResult<ListSavedPostsAuthor, SDKValidationError>;
|
|
2115
|
-
/** @internal */
|
|
2116
|
-
export declare const ListSavedPostsType$inboundSchema: z.ZodMiniType<ListSavedPostsType, unknown>;
|
|
2117
|
-
/** @internal */
|
|
2118
|
-
export declare const ListSavedPostsMedia$inboundSchema: z.ZodMiniType<ListSavedPostsMedia, unknown>;
|
|
2119
|
-
export declare function listSavedPostsMediaFromJSON(jsonString: string): SafeParseResult<ListSavedPostsMedia, SDKValidationError>;
|
|
2120
|
-
/** @internal */
|
|
2121
|
-
export declare const ListSavedPostsPost$inboundSchema: z.ZodMiniType<ListSavedPostsPost, unknown>;
|
|
2122
|
-
export declare function listSavedPostsPostFromJSON(jsonString: string): SafeParseResult<ListSavedPostsPost, SDKValidationError>;
|
|
2123
|
-
/** @internal */
|
|
2124
|
-
export declare const ListSavedPostsResponse$inboundSchema: z.ZodMiniType<ListSavedPostsResponse, unknown>;
|
|
2125
|
-
export declare function listSavedPostsResponseFromJSON(jsonString: string): SafeParseResult<ListSavedPostsResponse, SDKValidationError>;
|
|
2126
|
-
/** @internal */
|
|
2127
|
-
export type CollectHashtagPostsRequest$Outbound = {
|
|
2128
|
-
hashtag: string;
|
|
2129
|
-
start: number;
|
|
2130
|
-
count: number;
|
|
2131
|
-
};
|
|
2132
|
-
/** @internal */
|
|
2133
|
-
export declare const CollectHashtagPostsRequest$outboundSchema: z.ZodMiniType<CollectHashtagPostsRequest$Outbound, CollectHashtagPostsRequest>;
|
|
2134
|
-
export declare function collectHashtagPostsRequestToJSON(collectHashtagPostsRequest: CollectHashtagPostsRequest): string;
|
|
2135
|
-
/** @internal */
|
|
2136
|
-
export declare const CollectHashtagPostsAuthor$inboundSchema: z.ZodMiniType<CollectHashtagPostsAuthor, unknown>;
|
|
2137
|
-
export declare function collectHashtagPostsAuthorFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsAuthor, SDKValidationError>;
|
|
2138
|
-
/** @internal */
|
|
2139
|
-
export declare const CollectHashtagPostsType$inboundSchema: z.ZodMiniType<CollectHashtagPostsType, unknown>;
|
|
2140
|
-
/** @internal */
|
|
2141
|
-
export declare const CollectHashtagPostsMedia$inboundSchema: z.ZodMiniType<CollectHashtagPostsMedia, unknown>;
|
|
2142
|
-
export declare function collectHashtagPostsMediaFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsMedia, SDKValidationError>;
|
|
2143
|
-
/** @internal */
|
|
2144
|
-
export declare const CollectHashtagPostsPost$inboundSchema: z.ZodMiniType<CollectHashtagPostsPost, unknown>;
|
|
2145
|
-
export declare function collectHashtagPostsPostFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsPost, SDKValidationError>;
|
|
2146
|
-
/** @internal */
|
|
2147
|
-
export declare const CollectHashtagPostsResponse$inboundSchema: z.ZodMiniType<CollectHashtagPostsResponse, unknown>;
|
|
2148
|
-
export declare function collectHashtagPostsResponseFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsResponse, SDKValidationError>;
|
|
2149
|
-
/** @internal */
|
|
2150
2089
|
export type CollectCommentRepliesRequest$Outbound = {
|
|
2151
2090
|
commentUrn: string;
|
|
2152
2091
|
start?: number | undefined;
|
|
@@ -2167,34 +2106,12 @@ export declare function replyFromJSON(jsonString: string): SafeParseResult<Reply
|
|
|
2167
2106
|
export declare const CollectCommentRepliesResponse$inboundSchema: z.ZodMiniType<CollectCommentRepliesResponse, unknown>;
|
|
2168
2107
|
export declare function collectCommentRepliesResponseFromJSON(jsonString: string): SafeParseResult<CollectCommentRepliesResponse, SDKValidationError>;
|
|
2169
2108
|
/** @internal */
|
|
2170
|
-
export declare const SortOrder$outboundSchema: z.ZodMiniEnum<typeof SortOrder>;
|
|
2171
|
-
/** @internal */
|
|
2172
|
-
export type GetFeedRequest$Outbound = {
|
|
2173
|
-
count: number;
|
|
2174
|
-
sortOrder: string;
|
|
2175
|
-
};
|
|
2176
|
-
/** @internal */
|
|
2177
|
-
export declare const GetFeedRequest$outboundSchema: z.ZodMiniType<GetFeedRequest$Outbound, GetFeedRequest>;
|
|
2178
|
-
export declare function getFeedRequestToJSON(getFeedRequest: GetFeedRequest): string;
|
|
2179
|
-
/** @internal */
|
|
2180
|
-
export declare const GetFeedType$inboundSchema: z.ZodMiniType<GetFeedType, unknown>;
|
|
2181
|
-
/** @internal */
|
|
2182
|
-
export declare const GetFeedMediaType$inboundSchema: z.ZodMiniType<GetFeedMediaType, unknown>;
|
|
2183
|
-
/** @internal */
|
|
2184
|
-
export declare const GetFeedMedia$inboundSchema: z.ZodMiniType<GetFeedMedia, unknown>;
|
|
2185
|
-
export declare function getFeedMediaFromJSON(jsonString: string): SafeParseResult<GetFeedMedia, SDKValidationError>;
|
|
2186
|
-
/** @internal */
|
|
2187
|
-
export declare const GetFeedPost$inboundSchema: z.ZodMiniType<GetFeedPost, unknown>;
|
|
2188
|
-
export declare function getFeedPostFromJSON(jsonString: string): SafeParseResult<GetFeedPost, SDKValidationError>;
|
|
2189
|
-
/** @internal */
|
|
2190
|
-
export declare const GetFeedResponse$inboundSchema: z.ZodMiniType<GetFeedResponse, unknown>;
|
|
2191
|
-
export declare function getFeedResponseFromJSON(jsonString: string): SafeParseResult<GetFeedResponse, SDKValidationError>;
|
|
2192
|
-
/** @internal */
|
|
2193
2109
|
export type CollectPostsRequest$Outbound = {
|
|
2194
2110
|
profileUrl: string;
|
|
2195
2111
|
count?: number | undefined;
|
|
2196
2112
|
start?: number | undefined;
|
|
2197
2113
|
paginationToken?: string | undefined;
|
|
2114
|
+
returnReposts: boolean;
|
|
2198
2115
|
};
|
|
2199
2116
|
/** @internal */
|
|
2200
2117
|
export declare const CollectPostsRequest$outboundSchema: z.ZodMiniType<CollectPostsRequest$Outbound, CollectPostsRequest>;
|
|
@@ -2297,23 +2214,123 @@ export declare function resultFromJSON(jsonString: string): SafeParseResult<Resu
|
|
|
2297
2214
|
export declare const BulkVisitBatchStatusResponse$inboundSchema: z.ZodMiniType<BulkVisitBatchStatusResponse, unknown>;
|
|
2298
2215
|
export declare function bulkVisitBatchStatusResponseFromJSON(jsonString: string): SafeParseResult<BulkVisitBatchStatusResponse, SDKValidationError>;
|
|
2299
2216
|
/** @internal */
|
|
2217
|
+
export type VisitCompanyRequest$Outbound = {
|
|
2218
|
+
companyUrl: string;
|
|
2219
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
2220
|
+
};
|
|
2221
|
+
/** @internal */
|
|
2222
|
+
export declare const VisitCompanyRequest$outboundSchema: z.ZodMiniType<VisitCompanyRequest$Outbound, VisitCompanyRequest>;
|
|
2223
|
+
export declare function visitCompanyRequestToJSON(visitCompanyRequest: VisitCompanyRequest): string;
|
|
2224
|
+
/** @internal */
|
|
2225
|
+
export declare const EmployeeCountRange$inboundSchema: z.ZodMiniType<EmployeeCountRange, unknown>;
|
|
2226
|
+
export declare function employeeCountRangeFromJSON(jsonString: string): SafeParseResult<EmployeeCountRange, SDKValidationError>;
|
|
2227
|
+
/** @internal */
|
|
2228
|
+
export declare const VisitCompanyHeadquarter$inboundSchema: z.ZodMiniType<VisitCompanyHeadquarter, unknown>;
|
|
2229
|
+
export declare function visitCompanyHeadquarterFromJSON(jsonString: string): SafeParseResult<VisitCompanyHeadquarter, SDKValidationError>;
|
|
2230
|
+
/** @internal */
|
|
2231
|
+
export declare const VisitCompanyFoundedOn$inboundSchema: z.ZodMiniType<VisitCompanyFoundedOn, unknown>;
|
|
2232
|
+
export declare function visitCompanyFoundedOnFromJSON(jsonString: string): SafeParseResult<VisitCompanyFoundedOn, SDKValidationError>;
|
|
2233
|
+
/** @internal */
|
|
2234
|
+
export declare const CallToAction$inboundSchema: z.ZodMiniType<CallToAction, unknown>;
|
|
2235
|
+
export declare function callToActionFromJSON(jsonString: string): SafeParseResult<CallToAction, SDKValidationError>;
|
|
2236
|
+
/** @internal */
|
|
2237
|
+
export declare const AffiliatedCompany$inboundSchema: z.ZodMiniType<AffiliatedCompany, unknown>;
|
|
2238
|
+
export declare function affiliatedCompanyFromJSON(jsonString: string): SafeParseResult<AffiliatedCompany, SDKValidationError>;
|
|
2239
|
+
/** @internal */
|
|
2240
|
+
export declare const SimilarCompany$inboundSchema: z.ZodMiniType<SimilarCompany, unknown>;
|
|
2241
|
+
export declare function similarCompanyFromJSON(jsonString: string): SafeParseResult<SimilarCompany, SDKValidationError>;
|
|
2242
|
+
/** @internal */
|
|
2243
|
+
export declare const WorkplacePolicy$inboundSchema: z.ZodMiniType<WorkplacePolicy, unknown>;
|
|
2244
|
+
export declare function workplacePolicyFromJSON(jsonString: string): SafeParseResult<WorkplacePolicy, SDKValidationError>;
|
|
2245
|
+
/** @internal */
|
|
2246
|
+
export declare const VisitCompanyResponse$inboundSchema: z.ZodMiniType<VisitCompanyResponse, unknown>;
|
|
2247
|
+
export declare function visitCompanyResponseFromJSON(jsonString: string): SafeParseResult<VisitCompanyResponse, SDKValidationError>;
|
|
2248
|
+
/** @internal */
|
|
2249
|
+
export type ListSavedPostsRequest$Outbound = {
|
|
2250
|
+
start: number;
|
|
2251
|
+
count: number;
|
|
2252
|
+
};
|
|
2253
|
+
/** @internal */
|
|
2254
|
+
export declare const ListSavedPostsRequest$outboundSchema: z.ZodMiniType<ListSavedPostsRequest$Outbound, ListSavedPostsRequest>;
|
|
2255
|
+
export declare function listSavedPostsRequestToJSON(listSavedPostsRequest: ListSavedPostsRequest): string;
|
|
2256
|
+
/** @internal */
|
|
2257
|
+
export declare const ListSavedPostsAuthor$inboundSchema: z.ZodMiniType<ListSavedPostsAuthor, unknown>;
|
|
2258
|
+
export declare function listSavedPostsAuthorFromJSON(jsonString: string): SafeParseResult<ListSavedPostsAuthor, SDKValidationError>;
|
|
2259
|
+
/** @internal */
|
|
2260
|
+
export declare const ListSavedPostsType$inboundSchema: z.ZodMiniType<ListSavedPostsType, unknown>;
|
|
2261
|
+
/** @internal */
|
|
2262
|
+
export declare const ListSavedPostsMedia$inboundSchema: z.ZodMiniType<ListSavedPostsMedia, unknown>;
|
|
2263
|
+
export declare function listSavedPostsMediaFromJSON(jsonString: string): SafeParseResult<ListSavedPostsMedia, SDKValidationError>;
|
|
2264
|
+
/** @internal */
|
|
2265
|
+
export declare const ListSavedPostsPost$inboundSchema: z.ZodMiniType<ListSavedPostsPost, unknown>;
|
|
2266
|
+
export declare function listSavedPostsPostFromJSON(jsonString: string): SafeParseResult<ListSavedPostsPost, SDKValidationError>;
|
|
2267
|
+
/** @internal */
|
|
2268
|
+
export declare const ListSavedPostsResponse$inboundSchema: z.ZodMiniType<ListSavedPostsResponse, unknown>;
|
|
2269
|
+
export declare function listSavedPostsResponseFromJSON(jsonString: string): SafeParseResult<ListSavedPostsResponse, SDKValidationError>;
|
|
2270
|
+
/** @internal */
|
|
2271
|
+
export declare const SortOrder$outboundSchema: z.ZodMiniEnum<typeof SortOrder>;
|
|
2272
|
+
/** @internal */
|
|
2273
|
+
export type GetFeedRequest$Outbound = {
|
|
2274
|
+
count: number;
|
|
2275
|
+
sortOrder: string;
|
|
2276
|
+
};
|
|
2277
|
+
/** @internal */
|
|
2278
|
+
export declare const GetFeedRequest$outboundSchema: z.ZodMiniType<GetFeedRequest$Outbound, GetFeedRequest>;
|
|
2279
|
+
export declare function getFeedRequestToJSON(getFeedRequest: GetFeedRequest): string;
|
|
2280
|
+
/** @internal */
|
|
2281
|
+
export declare const GetFeedType$inboundSchema: z.ZodMiniType<GetFeedType, unknown>;
|
|
2282
|
+
/** @internal */
|
|
2283
|
+
export declare const GetFeedMediaType$inboundSchema: z.ZodMiniType<GetFeedMediaType, unknown>;
|
|
2284
|
+
/** @internal */
|
|
2285
|
+
export declare const GetFeedMedia$inboundSchema: z.ZodMiniType<GetFeedMedia, unknown>;
|
|
2286
|
+
export declare function getFeedMediaFromJSON(jsonString: string): SafeParseResult<GetFeedMedia, SDKValidationError>;
|
|
2287
|
+
/** @internal */
|
|
2288
|
+
export declare const GetFeedPost$inboundSchema: z.ZodMiniType<GetFeedPost, unknown>;
|
|
2289
|
+
export declare function getFeedPostFromJSON(jsonString: string): SafeParseResult<GetFeedPost, SDKValidationError>;
|
|
2290
|
+
/** @internal */
|
|
2291
|
+
export declare const GetFeedResponse$inboundSchema: z.ZodMiniType<GetFeedResponse, unknown>;
|
|
2292
|
+
export declare function getFeedResponseFromJSON(jsonString: string): SafeParseResult<GetFeedResponse, SDKValidationError>;
|
|
2293
|
+
/** @internal */
|
|
2294
|
+
export type CollectHashtagPostsRequest$Outbound = {
|
|
2295
|
+
hashtag: string;
|
|
2296
|
+
start: number;
|
|
2297
|
+
count: number;
|
|
2298
|
+
};
|
|
2299
|
+
/** @internal */
|
|
2300
|
+
export declare const CollectHashtagPostsRequest$outboundSchema: z.ZodMiniType<CollectHashtagPostsRequest$Outbound, CollectHashtagPostsRequest>;
|
|
2301
|
+
export declare function collectHashtagPostsRequestToJSON(collectHashtagPostsRequest: CollectHashtagPostsRequest): string;
|
|
2302
|
+
/** @internal */
|
|
2303
|
+
export declare const CollectHashtagPostsAuthor$inboundSchema: z.ZodMiniType<CollectHashtagPostsAuthor, unknown>;
|
|
2304
|
+
export declare function collectHashtagPostsAuthorFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsAuthor, SDKValidationError>;
|
|
2305
|
+
/** @internal */
|
|
2306
|
+
export declare const CollectHashtagPostsType$inboundSchema: z.ZodMiniType<CollectHashtagPostsType, unknown>;
|
|
2307
|
+
/** @internal */
|
|
2308
|
+
export declare const CollectHashtagPostsMedia$inboundSchema: z.ZodMiniType<CollectHashtagPostsMedia, unknown>;
|
|
2309
|
+
export declare function collectHashtagPostsMediaFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsMedia, SDKValidationError>;
|
|
2310
|
+
/** @internal */
|
|
2311
|
+
export declare const CollectHashtagPostsPost$inboundSchema: z.ZodMiniType<CollectHashtagPostsPost, unknown>;
|
|
2312
|
+
export declare function collectHashtagPostsPostFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsPost, SDKValidationError>;
|
|
2313
|
+
/** @internal */
|
|
2314
|
+
export declare const CollectHashtagPostsResponse$inboundSchema: z.ZodMiniType<CollectHashtagPostsResponse, unknown>;
|
|
2315
|
+
export declare function collectHashtagPostsResponseFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsResponse, SDKValidationError>;
|
|
2316
|
+
/** @internal */
|
|
2300
2317
|
export declare const SearchCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchCategoryRequest>;
|
|
2301
2318
|
/** @internal */
|
|
2302
|
-
export declare const
|
|
2319
|
+
export declare const SortBy$outboundSchema: z.ZodMiniEnum<typeof SortBy>;
|
|
2303
2320
|
/** @internal */
|
|
2304
|
-
export declare const
|
|
2321
|
+
export declare const DatePosted$outboundSchema: z.ZodMiniEnum<typeof DatePosted>;
|
|
2305
2322
|
/** @internal */
|
|
2306
|
-
export declare const
|
|
2323
|
+
export declare const ContentType$outboundSchema: z.ZodMiniEnum<typeof ContentType>;
|
|
2307
2324
|
/** @internal */
|
|
2308
|
-
export declare const
|
|
2325
|
+
export declare const ConnectionDegree$outboundSchema: z.ZodMiniEnum<typeof ConnectionDegree>;
|
|
2309
2326
|
/** @internal */
|
|
2310
|
-
export declare const
|
|
2327
|
+
export declare const CompanySize$outboundSchema: z.ZodMiniEnum<typeof CompanySize>;
|
|
2311
2328
|
/** @internal */
|
|
2312
|
-
export declare const
|
|
2329
|
+
export declare const JobType$outboundSchema: z.ZodMiniEnum<typeof JobType>;
|
|
2313
2330
|
/** @internal */
|
|
2314
|
-
export declare const
|
|
2331
|
+
export declare const ExperienceLevel$outboundSchema: z.ZodMiniEnum<typeof ExperienceLevel>;
|
|
2315
2332
|
/** @internal */
|
|
2316
|
-
export declare const
|
|
2333
|
+
export declare const WorkplaceType$outboundSchema: z.ZodMiniEnum<typeof WorkplaceType>;
|
|
2317
2334
|
/** @internal */
|
|
2318
2335
|
export type SearchRequest$Outbound = {
|
|
2319
2336
|
category?: string | undefined;
|
|
@@ -2348,76 +2365,48 @@ export declare function searchRequestToJSON(searchRequest: SearchRequest): strin
|
|
|
2348
2365
|
/** @internal */
|
|
2349
2366
|
export declare const SearchCategoryResponseBody$inboundSchema: z.ZodMiniType<SearchCategoryResponseBody, unknown>;
|
|
2350
2367
|
/** @internal */
|
|
2351
|
-
export declare const
|
|
2368
|
+
export declare const ItemsTypeJob$inboundSchema: z.ZodMiniEnum<typeof ItemsTypeJob>;
|
|
2352
2369
|
/** @internal */
|
|
2353
|
-
export declare const
|
|
2354
|
-
export declare function
|
|
2370
|
+
export declare const ItemsJob$inboundSchema: z.ZodMiniType<ItemsJob, unknown>;
|
|
2371
|
+
export declare function itemsJobFromJSON(jsonString: string): SafeParseResult<ItemsJob, SDKValidationError>;
|
|
2355
2372
|
/** @internal */
|
|
2356
|
-
export declare const
|
|
2373
|
+
export declare const ItemsTypeCompany$inboundSchema: z.ZodMiniEnum<typeof ItemsTypeCompany>;
|
|
2357
2374
|
/** @internal */
|
|
2358
|
-
export declare const
|
|
2359
|
-
export declare function
|
|
2375
|
+
export declare const ItemsCompany$inboundSchema: z.ZodMiniType<ItemsCompany, unknown>;
|
|
2376
|
+
export declare function itemsCompanyFromJSON(jsonString: string): SafeParseResult<ItemsCompany, SDKValidationError>;
|
|
2360
2377
|
/** @internal */
|
|
2361
|
-
export declare const
|
|
2378
|
+
export declare const ItemsTypePeople$inboundSchema: z.ZodMiniEnum<typeof ItemsTypePeople>;
|
|
2362
2379
|
/** @internal */
|
|
2363
|
-
export declare const
|
|
2380
|
+
export declare const ItemsNetworkDistance$inboundSchema: z.ZodMiniType<ItemsNetworkDistance, unknown>;
|
|
2364
2381
|
/** @internal */
|
|
2365
|
-
export declare const
|
|
2366
|
-
export declare function
|
|
2382
|
+
export declare const ItemsCurrentPosition$inboundSchema: z.ZodMiniType<ItemsCurrentPosition, unknown>;
|
|
2383
|
+
export declare function itemsCurrentPositionFromJSON(jsonString: string): SafeParseResult<ItemsCurrentPosition, SDKValidationError>;
|
|
2367
2384
|
/** @internal */
|
|
2368
|
-
export declare const
|
|
2369
|
-
export declare function
|
|
2385
|
+
export declare const ItemsPeople$inboundSchema: z.ZodMiniType<ItemsPeople, unknown>;
|
|
2386
|
+
export declare function itemsPeopleFromJSON(jsonString: string): SafeParseResult<ItemsPeople, SDKValidationError>;
|
|
2370
2387
|
/** @internal */
|
|
2371
|
-
export declare const
|
|
2388
|
+
export declare const ItemsTypePost$inboundSchema: z.ZodMiniEnum<typeof ItemsTypePost>;
|
|
2372
2389
|
/** @internal */
|
|
2373
|
-
export declare const
|
|
2374
|
-
export declare function
|
|
2390
|
+
export declare const ItemsAuthor$inboundSchema: z.ZodMiniType<ItemsAuthor, unknown>;
|
|
2391
|
+
export declare function itemsAuthorFromJSON(jsonString: string): SafeParseResult<ItemsAuthor, SDKValidationError>;
|
|
2375
2392
|
/** @internal */
|
|
2376
|
-
export declare const
|
|
2393
|
+
export declare const ItemsMediaType$inboundSchema: z.ZodMiniType<ItemsMediaType, unknown>;
|
|
2377
2394
|
/** @internal */
|
|
2378
|
-
export declare const
|
|
2379
|
-
export declare function
|
|
2395
|
+
export declare const ItemsMedia$inboundSchema: z.ZodMiniType<ItemsMedia, unknown>;
|
|
2396
|
+
export declare function itemsMediaFromJSON(jsonString: string): SafeParseResult<ItemsMedia, SDKValidationError>;
|
|
2380
2397
|
/** @internal */
|
|
2381
|
-
export declare const
|
|
2382
|
-
export declare function
|
|
2398
|
+
export declare const ItemsPost$inboundSchema: z.ZodMiniType<ItemsPost, unknown>;
|
|
2399
|
+
export declare function itemsPostFromJSON(jsonString: string): SafeParseResult<ItemsPost, SDKValidationError>;
|
|
2383
2400
|
/** @internal */
|
|
2384
|
-
export declare const
|
|
2385
|
-
export declare function
|
|
2401
|
+
export declare const Items$inboundSchema: z.ZodMiniType<Items, unknown>;
|
|
2402
|
+
export declare function itemsFromJSON(jsonString: string): SafeParseResult<Items, SDKValidationError>;
|
|
2386
2403
|
/** @internal */
|
|
2387
|
-
export declare const
|
|
2388
|
-
export declare function
|
|
2404
|
+
export declare const SearchPagingResponseBody$inboundSchema: z.ZodMiniType<SearchPagingResponseBody, unknown>;
|
|
2405
|
+
export declare function searchPagingResponseBodyFromJSON(jsonString: string): SafeParseResult<SearchPagingResponseBody, SDKValidationError>;
|
|
2389
2406
|
/** @internal */
|
|
2390
2407
|
export declare const SearchResponse$inboundSchema: z.ZodMiniType<SearchResponse, unknown>;
|
|
2391
2408
|
export declare function searchResponseFromJSON(jsonString: string): SafeParseResult<SearchResponse, SDKValidationError>;
|
|
2392
2409
|
/** @internal */
|
|
2393
|
-
export declare const SearchCompaniesCompanySize$outboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCompanySize>;
|
|
2394
|
-
/** @internal */
|
|
2395
|
-
export type SearchCompaniesRequest$Outbound = {
|
|
2396
|
-
keywords?: string | undefined;
|
|
2397
|
-
url?: string | undefined;
|
|
2398
|
-
location?: Array<string> | undefined;
|
|
2399
|
-
industry?: Array<string> | undefined;
|
|
2400
|
-
companySize?: Array<string> | undefined;
|
|
2401
|
-
start?: number | undefined;
|
|
2402
|
-
count?: number | undefined;
|
|
2403
|
-
};
|
|
2404
|
-
/** @internal */
|
|
2405
|
-
export declare const SearchCompaniesRequest$outboundSchema: z.ZodMiniType<SearchCompaniesRequest$Outbound, SearchCompaniesRequest>;
|
|
2406
|
-
export declare function searchCompaniesRequestToJSON(searchCompaniesRequest: SearchCompaniesRequest): string;
|
|
2407
|
-
/** @internal */
|
|
2408
|
-
export declare const SearchCompaniesCategory$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCategory>;
|
|
2409
|
-
/** @internal */
|
|
2410
|
-
export declare const SearchCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesType>;
|
|
2411
|
-
/** @internal */
|
|
2412
|
-
export declare const SearchCompaniesItem$inboundSchema: z.ZodMiniType<SearchCompaniesItem, unknown>;
|
|
2413
|
-
export declare function searchCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchCompaniesItem, SDKValidationError>;
|
|
2414
|
-
/** @internal */
|
|
2415
|
-
export declare const SearchCompaniesPaging$inboundSchema: z.ZodMiniType<SearchCompaniesPaging, unknown>;
|
|
2416
|
-
export declare function searchCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchCompaniesPaging, SDKValidationError>;
|
|
2417
|
-
/** @internal */
|
|
2418
|
-
export declare const SearchCompaniesResponse$inboundSchema: z.ZodMiniType<SearchCompaniesResponse, unknown>;
|
|
2419
|
-
export declare function searchCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchCompaniesResponse, SDKValidationError>;
|
|
2420
|
-
/** @internal */
|
|
2421
2410
|
export declare const SearchPostsSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchPostsSortBy>;
|
|
2422
2411
|
/** @internal */
|
|
2423
2412
|
export declare const SearchPostsDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchPostsDatePosted>;
|
|
@@ -2500,4 +2489,32 @@ export declare function searchPeoplePagingFromJSON(jsonString: string): SafePars
|
|
|
2500
2489
|
/** @internal */
|
|
2501
2490
|
export declare const SearchPeopleResponse$inboundSchema: z.ZodMiniType<SearchPeopleResponse, unknown>;
|
|
2502
2491
|
export declare function searchPeopleResponseFromJSON(jsonString: string): SafeParseResult<SearchPeopleResponse, SDKValidationError>;
|
|
2503
|
-
|
|
2492
|
+
/** @internal */
|
|
2493
|
+
export declare const SearchCompaniesCompanySize$outboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCompanySize>;
|
|
2494
|
+
/** @internal */
|
|
2495
|
+
export type SearchCompaniesRequest$Outbound = {
|
|
2496
|
+
keywords?: string | undefined;
|
|
2497
|
+
url?: string | undefined;
|
|
2498
|
+
location?: Array<string> | undefined;
|
|
2499
|
+
industry?: Array<string> | undefined;
|
|
2500
|
+
companySize?: Array<string> | undefined;
|
|
2501
|
+
start?: number | undefined;
|
|
2502
|
+
count?: number | undefined;
|
|
2503
|
+
};
|
|
2504
|
+
/** @internal */
|
|
2505
|
+
export declare const SearchCompaniesRequest$outboundSchema: z.ZodMiniType<SearchCompaniesRequest$Outbound, SearchCompaniesRequest>;
|
|
2506
|
+
export declare function searchCompaniesRequestToJSON(searchCompaniesRequest: SearchCompaniesRequest): string;
|
|
2507
|
+
/** @internal */
|
|
2508
|
+
export declare const SearchCompaniesCategory$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCategory>;
|
|
2509
|
+
/** @internal */
|
|
2510
|
+
export declare const SearchCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesType>;
|
|
2511
|
+
/** @internal */
|
|
2512
|
+
export declare const SearchCompaniesItem$inboundSchema: z.ZodMiniType<SearchCompaniesItem, unknown>;
|
|
2513
|
+
export declare function searchCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchCompaniesItem, SDKValidationError>;
|
|
2514
|
+
/** @internal */
|
|
2515
|
+
export declare const SearchCompaniesPaging$inboundSchema: z.ZodMiniType<SearchCompaniesPaging, unknown>;
|
|
2516
|
+
export declare function searchCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchCompaniesPaging, SDKValidationError>;
|
|
2517
|
+
/** @internal */
|
|
2518
|
+
export declare const SearchCompaniesResponse$inboundSchema: z.ZodMiniType<SearchCompaniesResponse, unknown>;
|
|
2519
|
+
export declare function searchCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchCompaniesResponse, SDKValidationError>;
|
|
2520
|
+
//# sourceMappingURL=search-companies-response.d.ts.map
|