bereach 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +2 -2
- package/esm/lib/config.js +2 -2
- 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} +890 -890
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/{search-people-response.js → search-companies-response.js} +611 -604
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
- package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
- package/esm/models/operations/search-contacts-campaign.js +102 -102
- package/esm/models/operations/search-contacts-campaign.js.map +1 -1
- package/esm/models/operations/update-account-response.d.ts +634 -634
- package/esm/models/operations/update-account-response.d.ts.map +1 -1
- package/esm/models/operations/update-account-response.js +307 -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 +2 -2
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
- package/src/models/operations/search-contacts-campaign.ts +366 -366
- package/src/models/operations/update-account-response.ts +1147 -1147
- 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,34 @@ 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;
|
|
420
412
|
};
|
|
421
|
-
export
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
profileUrn: string | null;
|
|
413
|
+
export declare const CollectPostsType: {
|
|
414
|
+
readonly Activity: "activity";
|
|
415
|
+
readonly UgcPost: "ugcPost";
|
|
416
|
+
readonly Share: "share";
|
|
426
417
|
};
|
|
418
|
+
export type CollectPostsType = OpenEnum<typeof CollectPostsType>;
|
|
427
419
|
/**
|
|
428
420
|
* Type of media attached to the post.
|
|
429
421
|
*/
|
|
430
|
-
export declare const
|
|
422
|
+
export declare const CollectPostsMediaType: {
|
|
431
423
|
readonly Image: "image";
|
|
432
424
|
readonly Video: "video";
|
|
433
425
|
readonly Document: "document";
|
|
@@ -436,12 +428,15 @@ export declare const ListSavedPostsType: {
|
|
|
436
428
|
/**
|
|
437
429
|
* Type of media attached to the post.
|
|
438
430
|
*/
|
|
439
|
-
export type
|
|
440
|
-
|
|
431
|
+
export type CollectPostsMediaType = OpenEnum<typeof CollectPostsMediaType>;
|
|
432
|
+
/**
|
|
433
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
434
|
+
*/
|
|
435
|
+
export type CollectPostsMedia = {
|
|
441
436
|
/**
|
|
442
437
|
* Type of media attached to the post.
|
|
443
438
|
*/
|
|
444
|
-
type:
|
|
439
|
+
type: CollectPostsMediaType;
|
|
445
440
|
/**
|
|
446
441
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
447
442
|
*/
|
|
@@ -455,26 +450,36 @@ export type ListSavedPostsMedia = {
|
|
|
455
450
|
*/
|
|
456
451
|
thumbnailUrl?: string | undefined;
|
|
457
452
|
};
|
|
458
|
-
export type
|
|
453
|
+
export type CollectPostsPost = {
|
|
459
454
|
postUrl: string;
|
|
460
|
-
postUrn: string;
|
|
461
|
-
postId: string;
|
|
462
455
|
text: string;
|
|
463
456
|
date: number;
|
|
464
457
|
likesCount: number;
|
|
465
458
|
commentsCount: number;
|
|
466
459
|
sharesCount: number;
|
|
467
|
-
|
|
468
|
-
|
|
460
|
+
postUrn: string;
|
|
461
|
+
postId: string;
|
|
462
|
+
type: CollectPostsType;
|
|
463
|
+
/**
|
|
464
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
465
|
+
*/
|
|
466
|
+
media?: CollectPostsMedia | undefined;
|
|
469
467
|
};
|
|
470
468
|
/**
|
|
471
|
-
*
|
|
469
|
+
* Paginated list of posts from the profile
|
|
472
470
|
*/
|
|
473
|
-
export type
|
|
471
|
+
export type CollectPostsResponse = {
|
|
474
472
|
success: true;
|
|
475
|
-
posts: Array<
|
|
476
|
-
|
|
473
|
+
posts: Array<CollectPostsPost>;
|
|
474
|
+
count: number;
|
|
475
|
+
total: number;
|
|
476
|
+
start: number;
|
|
477
477
|
hasMore: boolean;
|
|
478
|
+
paginationToken: string | null;
|
|
479
|
+
/**
|
|
480
|
+
* 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.
|
|
481
|
+
*/
|
|
482
|
+
previousTotal: number | null;
|
|
478
483
|
/**
|
|
479
484
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
480
485
|
*/
|
|
@@ -484,30 +489,98 @@ export type ListSavedPostsResponse = {
|
|
|
484
489
|
*/
|
|
485
490
|
retryAfter: number;
|
|
486
491
|
};
|
|
487
|
-
export type
|
|
492
|
+
export type VisitProfileRequest = {
|
|
488
493
|
/**
|
|
489
|
-
*
|
|
494
|
+
* 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
495
|
*/
|
|
491
|
-
|
|
496
|
+
profile: string;
|
|
492
497
|
/**
|
|
493
|
-
*
|
|
498
|
+
* Optional campaign identifier for tracking only. No dedup — visit always executes.
|
|
494
499
|
*/
|
|
495
|
-
|
|
500
|
+
campaignSlug?: string | undefined;
|
|
496
501
|
/**
|
|
497
|
-
*
|
|
502
|
+
* Deprecated. Use campaignSlug only.
|
|
503
|
+
*
|
|
504
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
498
505
|
*/
|
|
499
|
-
|
|
506
|
+
actionSlug?: string | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* When true, fetches the last 5 posts from the profile (fetched in parallel with other enrichments). Defaults to false.
|
|
509
|
+
*/
|
|
510
|
+
includePosts?: boolean | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* 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.
|
|
513
|
+
*/
|
|
514
|
+
includeComments?: boolean | undefined;
|
|
515
|
+
/**
|
|
516
|
+
* When true, fetches the profile's About section and detailed position descriptions via a supplementary API call (fetched in parallel). Defaults to false.
|
|
517
|
+
*/
|
|
518
|
+
includeAbout?: boolean | undefined;
|
|
500
519
|
};
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
520
|
+
/**
|
|
521
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
522
|
+
*/
|
|
523
|
+
export declare const PendingConnection: {
|
|
524
|
+
readonly Pending: "pending";
|
|
525
|
+
readonly Failed: "failed";
|
|
526
|
+
readonly None: "none";
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
530
|
+
*/
|
|
531
|
+
export type PendingConnection = OpenEnum<typeof PendingConnection>;
|
|
532
|
+
export type VisitProfilePositionStartDate = {
|
|
533
|
+
month: number | null;
|
|
534
|
+
year: number;
|
|
535
|
+
};
|
|
536
|
+
export type VisitProfilePositionEndDate = {
|
|
537
|
+
month: number | null;
|
|
538
|
+
year: number;
|
|
539
|
+
};
|
|
540
|
+
export type VisitProfilePosition = {
|
|
541
|
+
companyName: string | null;
|
|
542
|
+
title: string | null;
|
|
543
|
+
/**
|
|
544
|
+
* Position description / responsibilities text
|
|
545
|
+
*/
|
|
546
|
+
description: string | null;
|
|
547
|
+
companyUrl: string | null;
|
|
548
|
+
companyLogo: string | null;
|
|
549
|
+
/**
|
|
550
|
+
* Short description of the company (from LinkedIn company page)
|
|
551
|
+
*/
|
|
552
|
+
companyDescription: string | null;
|
|
553
|
+
startDate: VisitProfilePositionStartDate | null;
|
|
554
|
+
endDate: VisitProfilePositionEndDate | null;
|
|
555
|
+
isCurrent: boolean;
|
|
556
|
+
};
|
|
557
|
+
export type VisitProfileEducationStartDate = {
|
|
558
|
+
month: number | null;
|
|
559
|
+
year: number;
|
|
560
|
+
};
|
|
561
|
+
export type VisitProfileEducationEndDate = {
|
|
562
|
+
month: number | null;
|
|
563
|
+
year: number;
|
|
564
|
+
};
|
|
565
|
+
export type VisitProfileEducation = {
|
|
566
|
+
schoolName: string | null;
|
|
567
|
+
degreeName: string | null;
|
|
568
|
+
fieldOfStudy: string | null;
|
|
569
|
+
schoolUrl: string | null;
|
|
570
|
+
schoolLogo: string | null;
|
|
571
|
+
startDate: VisitProfileEducationStartDate | null;
|
|
572
|
+
endDate: VisitProfileEducationEndDate | null;
|
|
573
|
+
};
|
|
574
|
+
export declare const VisitProfileLastPostType: {
|
|
575
|
+
readonly Activity: "activity";
|
|
576
|
+
readonly UgcPost: "ugcPost";
|
|
577
|
+
readonly Share: "share";
|
|
506
578
|
};
|
|
579
|
+
export type VisitProfileLastPostType = OpenEnum<typeof VisitProfileLastPostType>;
|
|
507
580
|
/**
|
|
508
581
|
* Type of media attached to the post.
|
|
509
582
|
*/
|
|
510
|
-
export declare const
|
|
583
|
+
export declare const VisitProfileMediaType: {
|
|
511
584
|
readonly Image: "image";
|
|
512
585
|
readonly Video: "video";
|
|
513
586
|
readonly Document: "document";
|
|
@@ -516,12 +589,15 @@ export declare const CollectHashtagPostsType: {
|
|
|
516
589
|
/**
|
|
517
590
|
* Type of media attached to the post.
|
|
518
591
|
*/
|
|
519
|
-
export type
|
|
520
|
-
|
|
592
|
+
export type VisitProfileMediaType = OpenEnum<typeof VisitProfileMediaType>;
|
|
593
|
+
/**
|
|
594
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
595
|
+
*/
|
|
596
|
+
export type VisitProfileMedia = {
|
|
521
597
|
/**
|
|
522
598
|
* Type of media attached to the post.
|
|
523
599
|
*/
|
|
524
|
-
type:
|
|
600
|
+
type: VisitProfileMediaType;
|
|
525
601
|
/**
|
|
526
602
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
527
603
|
*/
|
|
@@ -535,132 +611,146 @@ export type CollectHashtagPostsMedia = {
|
|
|
535
611
|
*/
|
|
536
612
|
thumbnailUrl?: string | undefined;
|
|
537
613
|
};
|
|
538
|
-
export type
|
|
614
|
+
export type VisitProfileLastPost = {
|
|
539
615
|
postUrl: string;
|
|
540
|
-
postUrn: string;
|
|
541
616
|
text: string;
|
|
542
617
|
date: number;
|
|
543
618
|
likesCount: number;
|
|
544
619
|
commentsCount: number;
|
|
545
620
|
sharesCount: number;
|
|
546
|
-
|
|
547
|
-
|
|
621
|
+
postUrn: string;
|
|
622
|
+
postId: string;
|
|
623
|
+
type: VisitProfileLastPostType;
|
|
624
|
+
/**
|
|
625
|
+
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
626
|
+
*/
|
|
627
|
+
media?: VisitProfileMedia | undefined;
|
|
548
628
|
};
|
|
549
629
|
/**
|
|
550
|
-
*
|
|
630
|
+
* Activity type: 'comment' for posts the user commented on
|
|
551
631
|
*/
|
|
552
|
-
export
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
632
|
+
export declare const LastCommentType: {
|
|
633
|
+
readonly Comment: "comment";
|
|
634
|
+
readonly Reaction: "reaction";
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* Activity type: 'comment' for posts the user commented on
|
|
638
|
+
*/
|
|
639
|
+
export type LastCommentType = OpenEnum<typeof LastCommentType>;
|
|
640
|
+
export type LastComment = {
|
|
557
641
|
/**
|
|
558
|
-
*
|
|
642
|
+
* Activity type: 'comment' for posts the user commented on
|
|
559
643
|
*/
|
|
560
|
-
|
|
644
|
+
type: LastCommentType;
|
|
561
645
|
/**
|
|
562
|
-
*
|
|
646
|
+
* URN of the feed update (post) the user engaged with
|
|
563
647
|
*/
|
|
564
|
-
|
|
565
|
-
};
|
|
566
|
-
export type CollectCommentRepliesRequest = {
|
|
648
|
+
activityUrn: string;
|
|
567
649
|
/**
|
|
568
|
-
*
|
|
650
|
+
* The user's comment text (null when not available from the API — this is a LinkedIn limitation)
|
|
569
651
|
*/
|
|
570
|
-
|
|
652
|
+
text: string | null;
|
|
571
653
|
/**
|
|
572
|
-
*
|
|
654
|
+
* Reaction type (e.g. 'LIKE', 'CELEBRATE'). Only set for reaction-type activities
|
|
573
655
|
*/
|
|
574
|
-
|
|
656
|
+
reactionType: string | null;
|
|
575
657
|
/**
|
|
576
|
-
*
|
|
658
|
+
* URN of the post the user commented on (e.g. 'urn:li:activity:1234567890')
|
|
577
659
|
*/
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
660
|
+
targetPostUrn: string | null;
|
|
661
|
+
/**
|
|
662
|
+
* First ~200 chars of the post the user commented on. Use this to understand what topics they engage with
|
|
663
|
+
*/
|
|
664
|
+
targetPostText: string | null;
|
|
665
|
+
/**
|
|
666
|
+
* Name of the post author (the person whose post was commented on)
|
|
667
|
+
*/
|
|
668
|
+
targetPostAuthor: string | null;
|
|
669
|
+
/**
|
|
670
|
+
* Unix timestamp in milliseconds when the activity occurred
|
|
671
|
+
*/
|
|
672
|
+
timestamp: number | null;
|
|
673
|
+
/**
|
|
674
|
+
* Name of the post author (same as targetPostAuthor when available)
|
|
675
|
+
*/
|
|
676
|
+
actorName: string | null;
|
|
677
|
+
/**
|
|
678
|
+
* Profile URN of the post author
|
|
679
|
+
*/
|
|
680
|
+
actorUrn: string | null;
|
|
582
681
|
};
|
|
583
|
-
export type CollectCommentRepliesType = ClosedEnum<typeof CollectCommentRepliesType>;
|
|
584
682
|
/**
|
|
585
|
-
*
|
|
683
|
+
* Profile contact data
|
|
586
684
|
*/
|
|
587
|
-
export type
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
visit: boolean;
|
|
592
|
-
connect: boolean;
|
|
593
|
-
};
|
|
594
|
-
export type Reply = {
|
|
595
|
-
name: string;
|
|
685
|
+
export type VisitProfileResponse = {
|
|
686
|
+
success: true;
|
|
687
|
+
firstName: string;
|
|
688
|
+
lastName: string;
|
|
596
689
|
headline: string | null;
|
|
690
|
+
/**
|
|
691
|
+
* The profile's 'About' section text. Only populated when includeAbout is true. Null when not requested or not filled in.
|
|
692
|
+
*/
|
|
693
|
+
summary: string | null;
|
|
694
|
+
publicIdentifier: string;
|
|
695
|
+
/**
|
|
696
|
+
* LinkedIn profile URL. Null when publicIdentifier is unavailable (restricted profiles).
|
|
697
|
+
*/
|
|
597
698
|
profileUrl: string | null;
|
|
699
|
+
/**
|
|
700
|
+
* LinkedIn profile URN (e.g. 'urn:li:fsd_profile:ACoAAA...'). Use this for matching against inbox participants.
|
|
701
|
+
*/
|
|
702
|
+
profileUrn: string | null;
|
|
598
703
|
imageUrl: string | null;
|
|
704
|
+
email: string | null;
|
|
705
|
+
location: string | null;
|
|
599
706
|
/**
|
|
600
|
-
*
|
|
707
|
+
* Current company name (from most recent position)
|
|
601
708
|
*/
|
|
602
|
-
|
|
709
|
+
company: string | null;
|
|
603
710
|
/**
|
|
604
|
-
*
|
|
711
|
+
* Current job title (from most recent position)
|
|
605
712
|
*/
|
|
606
|
-
|
|
607
|
-
type: CollectCommentRepliesType;
|
|
608
|
-
commentText?: string | undefined;
|
|
609
|
-
timestamp: number | null;
|
|
610
|
-
isEdited?: boolean | undefined;
|
|
713
|
+
position: string | null;
|
|
611
714
|
/**
|
|
612
|
-
*
|
|
715
|
+
* Connection degree: 0 (self), 1 (direct connection), 2+ (2nd degree, 3rd degree, etc.), or null if unknown
|
|
613
716
|
*/
|
|
614
|
-
|
|
717
|
+
memberDistance: number | null;
|
|
615
718
|
/**
|
|
616
|
-
*
|
|
719
|
+
* Total number of connections. May be null for non-connected profiles or restricted visibility.
|
|
617
720
|
*/
|
|
618
|
-
|
|
721
|
+
connectionsCount: number | null;
|
|
619
722
|
/**
|
|
620
|
-
*
|
|
723
|
+
* Whether the profile has a LinkedIn verification badge.
|
|
621
724
|
*/
|
|
622
|
-
|
|
725
|
+
isVerified: boolean;
|
|
623
726
|
/**
|
|
624
|
-
*
|
|
727
|
+
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
625
728
|
*/
|
|
626
|
-
|
|
729
|
+
pendingConnection: PendingConnection;
|
|
627
730
|
/**
|
|
628
|
-
*
|
|
731
|
+
* Work experience positions
|
|
629
732
|
*/
|
|
630
|
-
|
|
733
|
+
positions?: Array<VisitProfilePosition> | undefined;
|
|
631
734
|
/**
|
|
632
|
-
*
|
|
735
|
+
* Education entries
|
|
633
736
|
*/
|
|
634
|
-
|
|
635
|
-
postUrn?: string | undefined;
|
|
737
|
+
educations?: Array<VisitProfileEducation> | undefined;
|
|
636
738
|
/**
|
|
637
|
-
*
|
|
739
|
+
* Last 5 posts from the profile (only present when includePosts is true)
|
|
638
740
|
*/
|
|
639
|
-
|
|
741
|
+
lastPosts?: Array<VisitProfileLastPost> | undefined;
|
|
640
742
|
/**
|
|
641
|
-
*
|
|
743
|
+
* Last 5 posts the profile recently commented on (only present when includeComments is true). Contains targetPostText and targetPostAuthor for engagement context.
|
|
642
744
|
*/
|
|
643
|
-
|
|
745
|
+
lastComments?: Array<LastComment> | undefined;
|
|
644
746
|
/**
|
|
645
|
-
*
|
|
747
|
+
* true when includeAbout was requested and the About section was fetched. Used for cache invalidation.
|
|
646
748
|
*/
|
|
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;
|
|
749
|
+
aboutFetched?: boolean | undefined;
|
|
660
750
|
/**
|
|
661
|
-
*
|
|
751
|
+
* true if this result was served from cache (0 credits). Distance-1 profiles are cached for 24h.
|
|
662
752
|
*/
|
|
663
|
-
|
|
753
|
+
cached: boolean;
|
|
664
754
|
/**
|
|
665
755
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
666
756
|
*/
|
|
@@ -670,88 +760,215 @@ export type CollectCommentRepliesResponse = {
|
|
|
670
760
|
*/
|
|
671
761
|
retryAfter: number;
|
|
672
762
|
};
|
|
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 = {
|
|
763
|
+
export type BulkVisitProfileRequest = {
|
|
685
764
|
/**
|
|
686
|
-
*
|
|
765
|
+
* LinkedIn profile URLs, vanity names, or URNs (max 50). Duplicates are auto-removed.
|
|
687
766
|
*/
|
|
688
|
-
|
|
767
|
+
profiles: Array<string>;
|
|
689
768
|
/**
|
|
690
|
-
*
|
|
769
|
+
* Auto-add each successfully visited contact to this campaign.
|
|
691
770
|
*/
|
|
692
|
-
|
|
771
|
+
campaignSlug?: string | undefined;
|
|
772
|
+
/**
|
|
773
|
+
* Fetch last 5 posts per profile. Increases processing time.
|
|
774
|
+
*/
|
|
775
|
+
includePosts?: boolean | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* Fetch recent comments per profile. Increases processing time.
|
|
778
|
+
*/
|
|
779
|
+
includeComments?: boolean | undefined;
|
|
780
|
+
/**
|
|
781
|
+
* Fetch About section and detailed position descriptions per profile. Increases processing time.
|
|
782
|
+
*/
|
|
783
|
+
includeAbout?: boolean | undefined;
|
|
693
784
|
};
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
785
|
+
/**
|
|
786
|
+
* Batch accepted and queued for processing
|
|
787
|
+
*/
|
|
788
|
+
export type BulkVisitProfileResponse = {
|
|
789
|
+
accepted: true;
|
|
790
|
+
/**
|
|
791
|
+
* Unique batch identifier for status polling.
|
|
792
|
+
*/
|
|
793
|
+
batchId: string;
|
|
794
|
+
/**
|
|
795
|
+
* Total unique profiles in the batch (after dedup).
|
|
796
|
+
*/
|
|
797
|
+
profileCount: number;
|
|
798
|
+
/**
|
|
799
|
+
* Profiles resolved from cache (0 credits, instant).
|
|
800
|
+
*/
|
|
801
|
+
alreadyCached: number;
|
|
802
|
+
/**
|
|
803
|
+
* Profiles queued for LinkedIn API visit.
|
|
804
|
+
*/
|
|
805
|
+
willVisit: number;
|
|
806
|
+
/**
|
|
807
|
+
* Estimated processing time in minutes for uncached profiles.
|
|
808
|
+
*/
|
|
809
|
+
estimatedMinutes: number;
|
|
810
|
+
};
|
|
811
|
+
export type BulkVisitBatchStatusRequest = {
|
|
812
|
+
/**
|
|
813
|
+
* Batch identifier returned by the bulk visit endpoint.
|
|
814
|
+
*/
|
|
815
|
+
batchId: string;
|
|
816
|
+
};
|
|
817
|
+
export declare const BulkVisitBatchStatusStatus: {
|
|
818
|
+
readonly Queued: "queued";
|
|
819
|
+
readonly Processing: "processing";
|
|
820
|
+
readonly Completed: "completed";
|
|
821
|
+
readonly Partial: "partial";
|
|
822
|
+
readonly Failed: "failed";
|
|
823
|
+
};
|
|
824
|
+
export type BulkVisitBatchStatusStatus = OpenEnum<typeof BulkVisitBatchStatusStatus>;
|
|
825
|
+
export type Progress = {
|
|
826
|
+
total: number;
|
|
827
|
+
visited: number;
|
|
828
|
+
cached: number;
|
|
829
|
+
failed: number;
|
|
830
|
+
skipped: number;
|
|
831
|
+
pending: number;
|
|
832
|
+
};
|
|
833
|
+
export declare const ResultStatus: {
|
|
834
|
+
readonly Visited: "visited";
|
|
835
|
+
readonly Cached: "cached";
|
|
836
|
+
readonly Failed: "failed";
|
|
837
|
+
readonly Skipped: "skipped";
|
|
838
|
+
readonly Pending: "pending";
|
|
839
|
+
};
|
|
840
|
+
export type ResultStatus = OpenEnum<typeof ResultStatus>;
|
|
841
|
+
export type Result = {
|
|
842
|
+
profile: string;
|
|
843
|
+
status: ResultStatus;
|
|
844
|
+
contactId?: string | null | undefined;
|
|
845
|
+
error?: string | null | undefined;
|
|
698
846
|
};
|
|
699
|
-
export type GetFeedType = OpenEnum<typeof GetFeedType>;
|
|
700
847
|
/**
|
|
701
|
-
*
|
|
848
|
+
* Batch status
|
|
702
849
|
*/
|
|
703
|
-
export
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
850
|
+
export type BulkVisitBatchStatusResponse = {
|
|
851
|
+
batchId: string;
|
|
852
|
+
status: BulkVisitBatchStatusStatus;
|
|
853
|
+
progress: Progress;
|
|
854
|
+
creditsUsed: number;
|
|
855
|
+
failureReason?: string | null | undefined;
|
|
856
|
+
results?: Array<Result> | undefined;
|
|
857
|
+
};
|
|
858
|
+
export type VisitCompanyRequest = {
|
|
859
|
+
/**
|
|
860
|
+
* LinkedIn company URL (e.g., 'https://www.linkedin.com/company/openai') or universal name (e.g., 'openai')
|
|
861
|
+
*/
|
|
862
|
+
companyUrl: string;
|
|
863
|
+
/**
|
|
864
|
+
* Include workplace policy data such as hybrid/remote status and benefits. Costs 1 extra credit (extra API call).
|
|
865
|
+
*/
|
|
866
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
708
867
|
};
|
|
709
868
|
/**
|
|
710
|
-
*
|
|
869
|
+
* Employee count range
|
|
711
870
|
*/
|
|
712
|
-
export type
|
|
871
|
+
export type EmployeeCountRange = {
|
|
872
|
+
start: number;
|
|
873
|
+
end: number | null;
|
|
874
|
+
};
|
|
875
|
+
export type VisitCompanyHeadquarter = {
|
|
876
|
+
country: string | null;
|
|
877
|
+
geographicArea: string | null;
|
|
878
|
+
city: string | null;
|
|
879
|
+
postalCode: string | null;
|
|
880
|
+
line1: string | null;
|
|
881
|
+
line2: string | null;
|
|
882
|
+
};
|
|
883
|
+
export type VisitCompanyFoundedOn = {
|
|
884
|
+
year: number;
|
|
885
|
+
};
|
|
886
|
+
export type CallToAction = {
|
|
887
|
+
type: string;
|
|
888
|
+
url: string;
|
|
889
|
+
};
|
|
890
|
+
export type AffiliatedCompany = {
|
|
891
|
+
id: string;
|
|
892
|
+
universalName: string;
|
|
893
|
+
name: string;
|
|
894
|
+
url: string | null;
|
|
895
|
+
logoUrl: string | null;
|
|
896
|
+
followerCount: number | null;
|
|
897
|
+
industry: string | null;
|
|
898
|
+
};
|
|
899
|
+
export type SimilarCompany = {
|
|
900
|
+
id: string;
|
|
901
|
+
universalName: string;
|
|
902
|
+
name: string;
|
|
903
|
+
url: string | null;
|
|
904
|
+
logoUrl: string | null;
|
|
905
|
+
followerCount: number | null;
|
|
906
|
+
industry: string | null;
|
|
907
|
+
};
|
|
713
908
|
/**
|
|
714
|
-
*
|
|
909
|
+
* Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
|
|
715
910
|
*/
|
|
716
|
-
export type
|
|
911
|
+
export type WorkplacePolicy = {
|
|
912
|
+
title: string | null;
|
|
913
|
+
description: string | null;
|
|
914
|
+
timeAtOnsite: string | null;
|
|
915
|
+
benefits: Array<string>;
|
|
916
|
+
};
|
|
917
|
+
/**
|
|
918
|
+
* Company profile data
|
|
919
|
+
*/
|
|
920
|
+
export type VisitCompanyResponse = {
|
|
921
|
+
success: true;
|
|
717
922
|
/**
|
|
718
|
-
*
|
|
923
|
+
* LinkedIn numeric company ID
|
|
719
924
|
*/
|
|
720
|
-
|
|
925
|
+
id: string;
|
|
721
926
|
/**
|
|
722
|
-
*
|
|
927
|
+
* Company URL slug
|
|
723
928
|
*/
|
|
724
|
-
|
|
929
|
+
universalName: string;
|
|
930
|
+
name: string;
|
|
931
|
+
description: string | null;
|
|
725
932
|
/**
|
|
726
|
-
*
|
|
933
|
+
* LinkedIn company page URL
|
|
727
934
|
*/
|
|
728
|
-
|
|
935
|
+
url: string;
|
|
729
936
|
/**
|
|
730
|
-
*
|
|
937
|
+
* External website URL
|
|
731
938
|
*/
|
|
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;
|
|
939
|
+
websiteUrl: string | null;
|
|
940
|
+
industry: string | null;
|
|
744
941
|
/**
|
|
745
|
-
*
|
|
942
|
+
* Exact employee count on LinkedIn
|
|
746
943
|
*/
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
944
|
+
employeeCount: number | null;
|
|
945
|
+
/**
|
|
946
|
+
* Employee count range
|
|
947
|
+
*/
|
|
948
|
+
employeeCountRange: EmployeeCountRange | null;
|
|
949
|
+
headquarter: VisitCompanyHeadquarter | null;
|
|
950
|
+
logoUrl: string | null;
|
|
951
|
+
coverImageUrl: string | null;
|
|
952
|
+
followerCount: number | null;
|
|
953
|
+
specialities: Array<string>;
|
|
954
|
+
tagline: string | null;
|
|
955
|
+
isVerified: boolean;
|
|
956
|
+
foundedOn: VisitCompanyFoundedOn | null;
|
|
957
|
+
phone: string | null;
|
|
958
|
+
callToAction: CallToAction | null;
|
|
959
|
+
hashtags: Array<string>;
|
|
960
|
+
/**
|
|
961
|
+
* Showcase / affiliated pages
|
|
962
|
+
*/
|
|
963
|
+
affiliatedCompanies: Array<AffiliatedCompany>;
|
|
964
|
+
/**
|
|
965
|
+
* Similar companies suggested by LinkedIn
|
|
966
|
+
*/
|
|
967
|
+
similarCompanies: Array<SimilarCompany>;
|
|
968
|
+
/**
|
|
969
|
+
* Workplace policy (null when includeWorkplacePolicy is false or data unavailable)
|
|
970
|
+
*/
|
|
971
|
+
workplacePolicy: WorkplacePolicy | null;
|
|
755
972
|
/**
|
|
756
973
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
757
974
|
*/
|
|
@@ -761,34 +978,26 @@ export type GetFeedResponse = {
|
|
|
761
978
|
*/
|
|
762
979
|
retryAfter: number;
|
|
763
980
|
};
|
|
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;
|
|
981
|
+
export type ListSavedPostsRequest = {
|
|
773
982
|
/**
|
|
774
|
-
* Pagination offset
|
|
983
|
+
* Pagination offset
|
|
775
984
|
*/
|
|
776
985
|
start?: number | undefined;
|
|
777
986
|
/**
|
|
778
|
-
*
|
|
987
|
+
* Number of posts to return
|
|
779
988
|
*/
|
|
780
|
-
|
|
989
|
+
count?: number | undefined;
|
|
781
990
|
};
|
|
782
|
-
export
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
991
|
+
export type ListSavedPostsAuthor = {
|
|
992
|
+
name: string;
|
|
993
|
+
profileUrl: string | null;
|
|
994
|
+
publicIdentifier: string | null;
|
|
995
|
+
profileUrn: string | null;
|
|
786
996
|
};
|
|
787
|
-
export type CollectPostsType = OpenEnum<typeof CollectPostsType>;
|
|
788
997
|
/**
|
|
789
998
|
* Type of media attached to the post.
|
|
790
999
|
*/
|
|
791
|
-
export declare const
|
|
1000
|
+
export declare const ListSavedPostsType: {
|
|
792
1001
|
readonly Image: "image";
|
|
793
1002
|
readonly Video: "video";
|
|
794
1003
|
readonly Document: "document";
|
|
@@ -797,15 +1006,12 @@ export declare const CollectPostsMediaType: {
|
|
|
797
1006
|
/**
|
|
798
1007
|
* Type of media attached to the post.
|
|
799
1008
|
*/
|
|
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 = {
|
|
1009
|
+
export type ListSavedPostsType = OpenEnum<typeof ListSavedPostsType>;
|
|
1010
|
+
export type ListSavedPostsMedia = {
|
|
805
1011
|
/**
|
|
806
1012
|
* Type of media attached to the post.
|
|
807
1013
|
*/
|
|
808
|
-
type:
|
|
1014
|
+
type: ListSavedPostsType;
|
|
809
1015
|
/**
|
|
810
1016
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
811
1017
|
*/
|
|
@@ -819,137 +1025,66 @@ export type CollectPostsMedia = {
|
|
|
819
1025
|
*/
|
|
820
1026
|
thumbnailUrl?: string | undefined;
|
|
821
1027
|
};
|
|
822
|
-
export type
|
|
1028
|
+
export type ListSavedPostsPost = {
|
|
823
1029
|
postUrl: string;
|
|
824
|
-
text: string;
|
|
825
|
-
date: number;
|
|
826
|
-
likesCount: number;
|
|
827
|
-
commentsCount: number;
|
|
828
|
-
sharesCount: number;
|
|
829
1030
|
postUrn: string;
|
|
830
1031
|
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;
|
|
1032
|
+
text: string;
|
|
1033
|
+
date: number;
|
|
1034
|
+
likesCount: number;
|
|
1035
|
+
commentsCount: number;
|
|
1036
|
+
sharesCount: number;
|
|
1037
|
+
author: ListSavedPostsAuthor;
|
|
1038
|
+
media?: ListSavedPostsMedia | undefined;
|
|
1039
|
+
};
|
|
1040
|
+
/**
|
|
1041
|
+
* Saved posts
|
|
1042
|
+
*/
|
|
1043
|
+
export type ListSavedPostsResponse = {
|
|
1044
|
+
success: true;
|
|
1045
|
+
posts: Array<ListSavedPostsPost>;
|
|
1046
|
+
total: number | null;
|
|
1047
|
+
hasMore: boolean;
|
|
880
1048
|
/**
|
|
881
|
-
*
|
|
1049
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
882
1050
|
*/
|
|
883
|
-
|
|
1051
|
+
creditsUsed: number;
|
|
884
1052
|
/**
|
|
885
|
-
*
|
|
1053
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
886
1054
|
*/
|
|
887
|
-
|
|
1055
|
+
retryAfter: number;
|
|
888
1056
|
};
|
|
889
1057
|
/**
|
|
890
|
-
*
|
|
1058
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
891
1059
|
*/
|
|
892
|
-
export declare const
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
895
|
-
readonly None: "none";
|
|
1060
|
+
export declare const SortOrder: {
|
|
1061
|
+
readonly Relevance: "RELEVANCE";
|
|
1062
|
+
readonly RevChron: "REV_CHRON";
|
|
896
1063
|
};
|
|
897
1064
|
/**
|
|
898
|
-
*
|
|
1065
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
899
1066
|
*/
|
|
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;
|
|
1067
|
+
export type SortOrder = ClosedEnum<typeof SortOrder>;
|
|
1068
|
+
export type GetFeedRequest = {
|
|
912
1069
|
/**
|
|
913
|
-
*
|
|
1070
|
+
* Number of feed items to return (1-50, default 20)
|
|
914
1071
|
*/
|
|
915
|
-
|
|
916
|
-
companyUrl: string | null;
|
|
917
|
-
companyLogo: string | null;
|
|
1072
|
+
count?: number | undefined;
|
|
918
1073
|
/**
|
|
919
|
-
*
|
|
1074
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
920
1075
|
*/
|
|
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;
|
|
1076
|
+
sortOrder?: SortOrder | undefined;
|
|
942
1077
|
};
|
|
943
|
-
export declare const
|
|
1078
|
+
export declare const GetFeedType: {
|
|
944
1079
|
readonly Activity: "activity";
|
|
945
1080
|
readonly UgcPost: "ugcPost";
|
|
946
1081
|
readonly Share: "share";
|
|
947
1082
|
};
|
|
948
|
-
export type
|
|
1083
|
+
export type GetFeedType = OpenEnum<typeof GetFeedType>;
|
|
949
1084
|
/**
|
|
950
1085
|
* Type of media attached to the post.
|
|
951
1086
|
*/
|
|
952
|
-
export declare const
|
|
1087
|
+
export declare const GetFeedMediaType: {
|
|
953
1088
|
readonly Image: "image";
|
|
954
1089
|
readonly Video: "video";
|
|
955
1090
|
readonly Document: "document";
|
|
@@ -958,15 +1093,15 @@ export declare const VisitProfileMediaType: {
|
|
|
958
1093
|
/**
|
|
959
1094
|
* Type of media attached to the post.
|
|
960
1095
|
*/
|
|
961
|
-
export type
|
|
1096
|
+
export type GetFeedMediaType = OpenEnum<typeof GetFeedMediaType>;
|
|
962
1097
|
/**
|
|
963
1098
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
964
1099
|
*/
|
|
965
|
-
export type
|
|
1100
|
+
export type GetFeedMedia = {
|
|
966
1101
|
/**
|
|
967
1102
|
* Type of media attached to the post.
|
|
968
1103
|
*/
|
|
969
|
-
type:
|
|
1104
|
+
type: GetFeedMediaType;
|
|
970
1105
|
/**
|
|
971
1106
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
972
1107
|
*/
|
|
@@ -980,7 +1115,7 @@ export type VisitProfileMedia = {
|
|
|
980
1115
|
*/
|
|
981
1116
|
thumbnailUrl?: string | undefined;
|
|
982
1117
|
};
|
|
983
|
-
export type
|
|
1118
|
+
export type GetFeedPost = {
|
|
984
1119
|
postUrl: string;
|
|
985
1120
|
text: string;
|
|
986
1121
|
date: number;
|
|
@@ -989,137 +1124,18 @@ export type VisitProfileLastPost = {
|
|
|
989
1124
|
sharesCount: number;
|
|
990
1125
|
postUrn: string;
|
|
991
1126
|
postId: string;
|
|
992
|
-
type:
|
|
1127
|
+
type: GetFeedType;
|
|
993
1128
|
/**
|
|
994
1129
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
995
1130
|
*/
|
|
996
|
-
media?:
|
|
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;
|
|
1042
|
-
/**
|
|
1043
|
-
* Name of the post author (same as targetPostAuthor when available)
|
|
1044
|
-
*/
|
|
1045
|
-
actorName: string | null;
|
|
1046
|
-
/**
|
|
1047
|
-
* Profile URN of the post author
|
|
1048
|
-
*/
|
|
1049
|
-
actorUrn: string | null;
|
|
1131
|
+
media?: GetFeedMedia | undefined;
|
|
1050
1132
|
};
|
|
1051
1133
|
/**
|
|
1052
|
-
*
|
|
1134
|
+
* Feed posts
|
|
1053
1135
|
*/
|
|
1054
|
-
export type
|
|
1136
|
+
export type GetFeedResponse = {
|
|
1055
1137
|
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;
|
|
1138
|
+
posts: Array<GetFeedPost>;
|
|
1123
1139
|
/**
|
|
1124
1140
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1125
1141
|
*/
|
|
@@ -1129,100 +1145,84 @@ export type VisitProfileResponse = {
|
|
|
1129
1145
|
*/
|
|
1130
1146
|
retryAfter: number;
|
|
1131
1147
|
};
|
|
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;
|
|
1148
|
+
export type CollectHashtagPostsRequest = {
|
|
1141
1149
|
/**
|
|
1142
|
-
*
|
|
1150
|
+
* Hashtag to collect posts from (without #)
|
|
1143
1151
|
*/
|
|
1144
|
-
|
|
1152
|
+
hashtag: string;
|
|
1145
1153
|
/**
|
|
1146
|
-
*
|
|
1154
|
+
* Pagination offset
|
|
1147
1155
|
*/
|
|
1148
|
-
|
|
1156
|
+
start?: number | undefined;
|
|
1149
1157
|
/**
|
|
1150
|
-
*
|
|
1158
|
+
* Number of posts
|
|
1151
1159
|
*/
|
|
1152
|
-
|
|
1160
|
+
count?: number | undefined;
|
|
1161
|
+
};
|
|
1162
|
+
export type CollectHashtagPostsAuthor = {
|
|
1163
|
+
name: string;
|
|
1164
|
+
profileUrl: string | null;
|
|
1165
|
+
publicIdentifier: string | null;
|
|
1166
|
+
profileUrn: string | null;
|
|
1167
|
+
};
|
|
1168
|
+
/**
|
|
1169
|
+
* Type of media attached to the post.
|
|
1170
|
+
*/
|
|
1171
|
+
export declare const CollectHashtagPostsType: {
|
|
1172
|
+
readonly Image: "image";
|
|
1173
|
+
readonly Video: "video";
|
|
1174
|
+
readonly Document: "document";
|
|
1175
|
+
readonly Article: "article";
|
|
1153
1176
|
};
|
|
1154
1177
|
/**
|
|
1155
|
-
*
|
|
1178
|
+
* Type of media attached to the post.
|
|
1156
1179
|
*/
|
|
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;
|
|
1180
|
+
export type CollectHashtagPostsType = OpenEnum<typeof CollectHashtagPostsType>;
|
|
1181
|
+
export type CollectHashtagPostsMedia = {
|
|
1167
1182
|
/**
|
|
1168
|
-
*
|
|
1183
|
+
* Type of media attached to the post.
|
|
1169
1184
|
*/
|
|
1170
|
-
|
|
1185
|
+
type: CollectHashtagPostsType;
|
|
1171
1186
|
/**
|
|
1172
|
-
*
|
|
1187
|
+
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
1173
1188
|
*/
|
|
1174
|
-
|
|
1189
|
+
urls: Array<string>;
|
|
1175
1190
|
/**
|
|
1176
|
-
*
|
|
1191
|
+
* Title of the article or document, when available.
|
|
1177
1192
|
*/
|
|
1178
|
-
|
|
1179
|
-
};
|
|
1180
|
-
export type BulkVisitBatchStatusRequest = {
|
|
1193
|
+
title?: string | undefined;
|
|
1181
1194
|
/**
|
|
1182
|
-
*
|
|
1195
|
+
* Thumbnail URL for videos, articles, or document covers.
|
|
1183
1196
|
*/
|
|
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";
|
|
1197
|
+
thumbnailUrl?: string | undefined;
|
|
1208
1198
|
};
|
|
1209
|
-
export type
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1199
|
+
export type CollectHashtagPostsPost = {
|
|
1200
|
+
postUrl: string;
|
|
1201
|
+
postUrn: string;
|
|
1202
|
+
text: string;
|
|
1203
|
+
date: number;
|
|
1204
|
+
likesCount: number;
|
|
1205
|
+
commentsCount: number;
|
|
1206
|
+
sharesCount: number;
|
|
1207
|
+
author: CollectHashtagPostsAuthor;
|
|
1208
|
+
media?: CollectHashtagPostsMedia | undefined;
|
|
1215
1209
|
};
|
|
1216
1210
|
/**
|
|
1217
|
-
*
|
|
1211
|
+
* Hashtag posts
|
|
1218
1212
|
*/
|
|
1219
|
-
export type
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1213
|
+
export type CollectHashtagPostsResponse = {
|
|
1214
|
+
success: true;
|
|
1215
|
+
posts: Array<CollectHashtagPostsPost>;
|
|
1216
|
+
total: number;
|
|
1217
|
+
hasMore: boolean;
|
|
1218
|
+
/**
|
|
1219
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1220
|
+
*/
|
|
1223
1221
|
creditsUsed: number;
|
|
1224
|
-
|
|
1225
|
-
|
|
1222
|
+
/**
|
|
1223
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1224
|
+
*/
|
|
1225
|
+
retryAfter: number;
|
|
1226
1226
|
};
|
|
1227
1227
|
/**
|
|
1228
1228
|
* Type of search to perform (required unless url is provided)
|
|
@@ -1240,18 +1240,18 @@ export type SearchCategoryRequest = ClosedEnum<typeof SearchCategoryRequest>;
|
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Sort order (posts & jobs)
|
|
1242
1242
|
*/
|
|
1243
|
-
export declare const
|
|
1243
|
+
export declare const SortBy: {
|
|
1244
1244
|
readonly Relevance: "relevance";
|
|
1245
1245
|
readonly Date: "date";
|
|
1246
1246
|
};
|
|
1247
1247
|
/**
|
|
1248
1248
|
* Sort order (posts & jobs)
|
|
1249
1249
|
*/
|
|
1250
|
-
export type
|
|
1250
|
+
export type SortBy = ClosedEnum<typeof SortBy>;
|
|
1251
1251
|
/**
|
|
1252
1252
|
* Time filter (posts & jobs)
|
|
1253
1253
|
*/
|
|
1254
|
-
export declare const
|
|
1254
|
+
export declare const DatePosted: {
|
|
1255
1255
|
readonly Past24h: "past-24h";
|
|
1256
1256
|
readonly PastWeek: "past-week";
|
|
1257
1257
|
readonly PastMonth: "past-month";
|
|
@@ -1259,11 +1259,11 @@ export declare const SearchDatePosted: {
|
|
|
1259
1259
|
/**
|
|
1260
1260
|
* Time filter (posts & jobs)
|
|
1261
1261
|
*/
|
|
1262
|
-
export type
|
|
1262
|
+
export type DatePosted = ClosedEnum<typeof DatePosted>;
|
|
1263
1263
|
/**
|
|
1264
1264
|
* Media type filter (posts only)
|
|
1265
1265
|
*/
|
|
1266
|
-
export declare const
|
|
1266
|
+
export declare const ContentType: {
|
|
1267
1267
|
readonly Images: "images";
|
|
1268
1268
|
readonly Videos: "videos";
|
|
1269
1269
|
readonly Documents: "documents";
|
|
@@ -1271,14 +1271,14 @@ export declare const SearchContentType: {
|
|
|
1271
1271
|
/**
|
|
1272
1272
|
* Media type filter (posts only)
|
|
1273
1273
|
*/
|
|
1274
|
-
export type
|
|
1275
|
-
export declare const
|
|
1274
|
+
export type ContentType = ClosedEnum<typeof ContentType>;
|
|
1275
|
+
export declare const ConnectionDegree: {
|
|
1276
1276
|
readonly F: "F";
|
|
1277
1277
|
readonly S: "S";
|
|
1278
1278
|
readonly O: "O";
|
|
1279
1279
|
};
|
|
1280
|
-
export type
|
|
1281
|
-
export declare const
|
|
1280
|
+
export type ConnectionDegree = ClosedEnum<typeof ConnectionDegree>;
|
|
1281
|
+
export declare const CompanySize: {
|
|
1282
1282
|
readonly A: "A";
|
|
1283
1283
|
readonly B: "B";
|
|
1284
1284
|
readonly C: "C";
|
|
@@ -1289,8 +1289,8 @@ export declare const SearchCompanySize: {
|
|
|
1289
1289
|
readonly H: "H";
|
|
1290
1290
|
readonly I: "I";
|
|
1291
1291
|
};
|
|
1292
|
-
export type
|
|
1293
|
-
export declare const
|
|
1292
|
+
export type CompanySize = ClosedEnum<typeof CompanySize>;
|
|
1293
|
+
export declare const JobType: {
|
|
1294
1294
|
readonly F: "F";
|
|
1295
1295
|
readonly P: "P";
|
|
1296
1296
|
readonly C: "C";
|
|
@@ -1299,8 +1299,8 @@ export declare const SearchJobType: {
|
|
|
1299
1299
|
readonly V: "V";
|
|
1300
1300
|
readonly O: "O";
|
|
1301
1301
|
};
|
|
1302
|
-
export type
|
|
1303
|
-
export declare const
|
|
1302
|
+
export type JobType = ClosedEnum<typeof JobType>;
|
|
1303
|
+
export declare const ExperienceLevel: {
|
|
1304
1304
|
readonly One: "1";
|
|
1305
1305
|
readonly Two: "2";
|
|
1306
1306
|
readonly Three: "3";
|
|
@@ -1308,13 +1308,13 @@ export declare const SearchExperienceLevel: {
|
|
|
1308
1308
|
readonly Five: "5";
|
|
1309
1309
|
readonly Six: "6";
|
|
1310
1310
|
};
|
|
1311
|
-
export type
|
|
1312
|
-
export declare const
|
|
1311
|
+
export type ExperienceLevel = ClosedEnum<typeof ExperienceLevel>;
|
|
1312
|
+
export declare const WorkplaceType: {
|
|
1313
1313
|
readonly One: "1";
|
|
1314
1314
|
readonly Two: "2";
|
|
1315
1315
|
readonly Three: "3";
|
|
1316
1316
|
};
|
|
1317
|
-
export type
|
|
1317
|
+
export type WorkplaceType = ClosedEnum<typeof WorkplaceType>;
|
|
1318
1318
|
export type SearchRequest = {
|
|
1319
1319
|
/**
|
|
1320
1320
|
* Type of search to perform (required unless url is provided)
|
|
@@ -1331,15 +1331,15 @@ export type SearchRequest = {
|
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Sort order (posts & jobs)
|
|
1333
1333
|
*/
|
|
1334
|
-
sortBy?:
|
|
1334
|
+
sortBy?: SortBy | undefined;
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Time filter (posts & jobs)
|
|
1337
1337
|
*/
|
|
1338
|
-
datePosted?:
|
|
1338
|
+
datePosted?: DatePosted | undefined;
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Media type filter (posts only)
|
|
1341
1341
|
*/
|
|
1342
|
-
contentType?:
|
|
1342
|
+
contentType?: ContentType | undefined;
|
|
1343
1343
|
/**
|
|
1344
1344
|
* Author industry IDs (posts only, resolve via /search/parameters)
|
|
1345
1345
|
*/
|
|
@@ -1351,7 +1351,7 @@ export type SearchRequest = {
|
|
|
1351
1351
|
/**
|
|
1352
1352
|
* Connection degree: F=1st, S=2nd, O=3rd+ (people only)
|
|
1353
1353
|
*/
|
|
1354
|
-
connectionDegree?: Array<
|
|
1354
|
+
connectionDegree?: Array<ConnectionDegree> | undefined;
|
|
1355
1355
|
/**
|
|
1356
1356
|
* First name filter (people only)
|
|
1357
1357
|
*/
|
|
@@ -1395,19 +1395,19 @@ export type SearchRequest = {
|
|
|
1395
1395
|
/**
|
|
1396
1396
|
* 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
1397
|
*/
|
|
1398
|
-
companySize?: Array<
|
|
1398
|
+
companySize?: Array<CompanySize> | undefined;
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Job type: F=Full-time, P=Part-time, C=Contract, T=Temporary, I=Internship, V=Volunteer, O=Other (jobs only)
|
|
1401
1401
|
*/
|
|
1402
|
-
jobType?: Array<
|
|
1402
|
+
jobType?: Array<JobType> | undefined;
|
|
1403
1403
|
/**
|
|
1404
1404
|
* Experience level: 1=Internship, 2=Entry, 3=Associate, 4=Mid-Senior, 5=Director, 6=Executive (jobs only)
|
|
1405
1405
|
*/
|
|
1406
|
-
experienceLevel?: Array<
|
|
1406
|
+
experienceLevel?: Array<ExperienceLevel> | undefined;
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Workplace type: 1=On-site, 2=Remote, 3=Hybrid (jobs only)
|
|
1409
1409
|
*/
|
|
1410
|
-
workplaceType?: Array<
|
|
1410
|
+
workplaceType?: Array<WorkplaceType> | undefined;
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Pagination offset (default 0)
|
|
1413
1413
|
*/
|
|
@@ -1424,12 +1424,12 @@ export declare const SearchCategoryResponseBody: {
|
|
|
1424
1424
|
readonly Jobs: "jobs";
|
|
1425
1425
|
};
|
|
1426
1426
|
export type SearchCategoryResponseBody = OpenEnum<typeof SearchCategoryResponseBody>;
|
|
1427
|
-
export declare const
|
|
1427
|
+
export declare const ItemsTypeJob: {
|
|
1428
1428
|
readonly Job: "JOB";
|
|
1429
1429
|
};
|
|
1430
|
-
export type
|
|
1431
|
-
export type
|
|
1432
|
-
type:
|
|
1430
|
+
export type ItemsTypeJob = ClosedEnum<typeof ItemsTypeJob>;
|
|
1431
|
+
export type ItemsJob = {
|
|
1432
|
+
type: ItemsTypeJob;
|
|
1433
1433
|
title: string;
|
|
1434
1434
|
company: string | null;
|
|
1435
1435
|
companyUrl: string | null;
|
|
@@ -1440,12 +1440,12 @@ export type SearchItemsJob = {
|
|
|
1440
1440
|
jobUrl: string;
|
|
1441
1441
|
listingId: string;
|
|
1442
1442
|
};
|
|
1443
|
-
export declare const
|
|
1443
|
+
export declare const ItemsTypeCompany: {
|
|
1444
1444
|
readonly Company: "COMPANY";
|
|
1445
1445
|
};
|
|
1446
|
-
export type
|
|
1447
|
-
export type
|
|
1448
|
-
type:
|
|
1446
|
+
export type ItemsTypeCompany = ClosedEnum<typeof ItemsTypeCompany>;
|
|
1447
|
+
export type ItemsCompany = {
|
|
1448
|
+
type: ItemsTypeCompany;
|
|
1449
1449
|
name: string;
|
|
1450
1450
|
profileUrl: string | null;
|
|
1451
1451
|
summary: string | null;
|
|
@@ -1453,30 +1453,30 @@ export type SearchItemsCompany = {
|
|
|
1453
1453
|
location: string | null;
|
|
1454
1454
|
followersCount: number | null;
|
|
1455
1455
|
};
|
|
1456
|
-
export declare const
|
|
1456
|
+
export declare const ItemsTypePeople: {
|
|
1457
1457
|
readonly People: "PEOPLE";
|
|
1458
1458
|
};
|
|
1459
|
-
export type
|
|
1460
|
-
export declare const
|
|
1459
|
+
export type ItemsTypePeople = ClosedEnum<typeof ItemsTypePeople>;
|
|
1460
|
+
export declare const ItemsNetworkDistance: {
|
|
1461
1461
|
readonly Distance1: "DISTANCE_1";
|
|
1462
1462
|
readonly Distance2: "DISTANCE_2";
|
|
1463
1463
|
readonly Distance3: "DISTANCE_3";
|
|
1464
1464
|
readonly OutOfNetwork: "OUT_OF_NETWORK";
|
|
1465
1465
|
};
|
|
1466
|
-
export type
|
|
1467
|
-
export type
|
|
1466
|
+
export type ItemsNetworkDistance = OpenEnum<typeof ItemsNetworkDistance>;
|
|
1467
|
+
export type ItemsCurrentPosition = {
|
|
1468
1468
|
company: string | null;
|
|
1469
1469
|
role: string | null;
|
|
1470
1470
|
};
|
|
1471
|
-
export type
|
|
1472
|
-
type:
|
|
1471
|
+
export type ItemsPeople = {
|
|
1472
|
+
type: ItemsTypePeople;
|
|
1473
1473
|
name: string;
|
|
1474
1474
|
profileUrl: string | null;
|
|
1475
1475
|
headline: string | null;
|
|
1476
1476
|
location: string | null;
|
|
1477
1477
|
profilePicture: string | null;
|
|
1478
|
-
networkDistance:
|
|
1479
|
-
currentPositions: Array<
|
|
1478
|
+
networkDistance: ItemsNetworkDistance | null;
|
|
1479
|
+
currentPositions: Array<ItemsCurrentPosition>;
|
|
1480
1480
|
/**
|
|
1481
1481
|
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...) when available
|
|
1482
1482
|
*/
|
|
@@ -1486,11 +1486,11 @@ export type SearchItemsPeople = {
|
|
|
1486
1486
|
*/
|
|
1487
1487
|
publicIdentifier: string | null;
|
|
1488
1488
|
};
|
|
1489
|
-
export declare const
|
|
1489
|
+
export declare const ItemsTypePost: {
|
|
1490
1490
|
readonly Post: "POST";
|
|
1491
1491
|
};
|
|
1492
|
-
export type
|
|
1493
|
-
export type
|
|
1492
|
+
export type ItemsTypePost = ClosedEnum<typeof ItemsTypePost>;
|
|
1493
|
+
export type ItemsAuthor = {
|
|
1494
1494
|
name: string;
|
|
1495
1495
|
profileUrl: string | null;
|
|
1496
1496
|
headline: string | null;
|
|
@@ -1508,7 +1508,7 @@ export type SearchAuthor = {
|
|
|
1508
1508
|
/**
|
|
1509
1509
|
* Type of media attached to the post.
|
|
1510
1510
|
*/
|
|
1511
|
-
export declare const
|
|
1511
|
+
export declare const ItemsMediaType: {
|
|
1512
1512
|
readonly Image: "image";
|
|
1513
1513
|
readonly Video: "video";
|
|
1514
1514
|
readonly Document: "document";
|
|
@@ -1517,15 +1517,15 @@ export declare const SearchMediaType: {
|
|
|
1517
1517
|
/**
|
|
1518
1518
|
* Type of media attached to the post.
|
|
1519
1519
|
*/
|
|
1520
|
-
export type
|
|
1520
|
+
export type ItemsMediaType = OpenEnum<typeof ItemsMediaType>;
|
|
1521
1521
|
/**
|
|
1522
1522
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1523
1523
|
*/
|
|
1524
|
-
export type
|
|
1524
|
+
export type ItemsMedia = {
|
|
1525
1525
|
/**
|
|
1526
1526
|
* Type of media attached to the post.
|
|
1527
1527
|
*/
|
|
1528
|
-
type:
|
|
1528
|
+
type: ItemsMediaType;
|
|
1529
1529
|
/**
|
|
1530
1530
|
* Media URLs (image URLs for carousels, video streaming URL, article link, etc.).
|
|
1531
1531
|
*/
|
|
@@ -1539,8 +1539,8 @@ export type SearchMedia = {
|
|
|
1539
1539
|
*/
|
|
1540
1540
|
thumbnailUrl?: string | undefined;
|
|
1541
1541
|
};
|
|
1542
|
-
export type
|
|
1543
|
-
type:
|
|
1542
|
+
export type ItemsPost = {
|
|
1543
|
+
type: ItemsTypePost;
|
|
1544
1544
|
postUrl: string;
|
|
1545
1545
|
text: string;
|
|
1546
1546
|
date: number;
|
|
@@ -1549,15 +1549,15 @@ export type SearchItemsPost = {
|
|
|
1549
1549
|
sharesCount: number;
|
|
1550
1550
|
postUrn: string;
|
|
1551
1551
|
postId: string;
|
|
1552
|
-
author:
|
|
1552
|
+
author: ItemsAuthor;
|
|
1553
1553
|
isRepost: boolean;
|
|
1554
1554
|
/**
|
|
1555
1555
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1556
1556
|
*/
|
|
1557
|
-
media?:
|
|
1557
|
+
media?: ItemsMedia | undefined;
|
|
1558
1558
|
};
|
|
1559
|
-
export type
|
|
1560
|
-
export type
|
|
1559
|
+
export type Items = Array<ItemsPost> | Array<ItemsPeople> | Array<ItemsCompany> | Array<ItemsJob>;
|
|
1560
|
+
export type SearchPagingResponseBody = {
|
|
1561
1561
|
start: number;
|
|
1562
1562
|
count: number;
|
|
1563
1563
|
total: number;
|
|
@@ -1568,90 +1568,8 @@ export type SearchPaging = {
|
|
|
1568
1568
|
export type SearchResponse = {
|
|
1569
1569
|
success: true;
|
|
1570
1570
|
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;
|
|
1571
|
+
items: Array<ItemsPost> | Array<ItemsPeople> | Array<ItemsCompany> | Array<ItemsJob>;
|
|
1572
|
+
paging: SearchPagingResponseBody;
|
|
1655
1573
|
hasMore: boolean;
|
|
1656
1574
|
/**
|
|
1657
1575
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1960,6 +1878,88 @@ export type SearchPeopleResponse = {
|
|
|
1960
1878
|
*/
|
|
1961
1879
|
retryAfter: number;
|
|
1962
1880
|
};
|
|
1881
|
+
export declare const SearchCompaniesCompanySize: {
|
|
1882
|
+
readonly A: "A";
|
|
1883
|
+
readonly B: "B";
|
|
1884
|
+
readonly C: "C";
|
|
1885
|
+
readonly D: "D";
|
|
1886
|
+
readonly E: "E";
|
|
1887
|
+
readonly F: "F";
|
|
1888
|
+
readonly G: "G";
|
|
1889
|
+
readonly H: "H";
|
|
1890
|
+
readonly I: "I";
|
|
1891
|
+
};
|
|
1892
|
+
export type SearchCompaniesCompanySize = ClosedEnum<typeof SearchCompaniesCompanySize>;
|
|
1893
|
+
export type SearchCompaniesRequest = {
|
|
1894
|
+
/**
|
|
1895
|
+
* 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.
|
|
1896
|
+
*/
|
|
1897
|
+
keywords?: string | undefined;
|
|
1898
|
+
/**
|
|
1899
|
+
* Optional LinkedIn search URL. If provided, keywords and filters are extracted from the URL. Explicit params override URL-derived values.
|
|
1900
|
+
*/
|
|
1901
|
+
url?: string | undefined;
|
|
1902
|
+
/**
|
|
1903
|
+
* Filter by company HQ location. Array of LinkedIn geo IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='GEO'.
|
|
1904
|
+
*/
|
|
1905
|
+
location?: Array<string> | undefined;
|
|
1906
|
+
/**
|
|
1907
|
+
* Filter by company industry. Array of LinkedIn industry IDs. Resolve text to IDs via POST /search/linkedin/parameters with type='INDUSTRY'.
|
|
1908
|
+
*/
|
|
1909
|
+
industry?: Array<string> | undefined;
|
|
1910
|
+
/**
|
|
1911
|
+
* 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.
|
|
1912
|
+
*/
|
|
1913
|
+
companySize?: Array<SearchCompaniesCompanySize> | undefined;
|
|
1914
|
+
/**
|
|
1915
|
+
* Pagination offset (default 0). Use multiples of `count` to page through results.
|
|
1916
|
+
*/
|
|
1917
|
+
start?: number | undefined;
|
|
1918
|
+
/**
|
|
1919
|
+
* Results per page (default 10, max 50).
|
|
1920
|
+
*/
|
|
1921
|
+
count?: number | undefined;
|
|
1922
|
+
};
|
|
1923
|
+
export declare const SearchCompaniesCategory: {
|
|
1924
|
+
readonly Companies: "companies";
|
|
1925
|
+
};
|
|
1926
|
+
export type SearchCompaniesCategory = ClosedEnum<typeof SearchCompaniesCategory>;
|
|
1927
|
+
export declare const SearchCompaniesType: {
|
|
1928
|
+
readonly Company: "COMPANY";
|
|
1929
|
+
};
|
|
1930
|
+
export type SearchCompaniesType = ClosedEnum<typeof SearchCompaniesType>;
|
|
1931
|
+
export type SearchCompaniesItem = {
|
|
1932
|
+
type: SearchCompaniesType;
|
|
1933
|
+
name: string;
|
|
1934
|
+
profileUrl: string | null;
|
|
1935
|
+
summary: string | null;
|
|
1936
|
+
industry: string | null;
|
|
1937
|
+
location: string | null;
|
|
1938
|
+
followersCount: number | null;
|
|
1939
|
+
};
|
|
1940
|
+
export type SearchCompaniesPaging = {
|
|
1941
|
+
start: number;
|
|
1942
|
+
count: number;
|
|
1943
|
+
total: number;
|
|
1944
|
+
};
|
|
1945
|
+
/**
|
|
1946
|
+
* List of LinkedIn companies matching the search criteria
|
|
1947
|
+
*/
|
|
1948
|
+
export type SearchCompaniesResponse = {
|
|
1949
|
+
success: true;
|
|
1950
|
+
category: SearchCompaniesCategory;
|
|
1951
|
+
items: Array<SearchCompaniesItem>;
|
|
1952
|
+
paging: SearchCompaniesPaging;
|
|
1953
|
+
hasMore: boolean;
|
|
1954
|
+
/**
|
|
1955
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1956
|
+
*/
|
|
1957
|
+
creditsUsed: number;
|
|
1958
|
+
/**
|
|
1959
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1960
|
+
*/
|
|
1961
|
+
retryAfter: number;
|
|
1962
|
+
};
|
|
1963
1963
|
/** @internal */
|
|
1964
1964
|
export type CollectLikesRequest$Outbound = {
|
|
1965
1965
|
postUrl: string;
|
|
@@ -2070,83 +2070,6 @@ export declare function collectCommentsProfileFromJSON(jsonString: string): Safe
|
|
|
2070
2070
|
export declare const CollectCommentsResponse$inboundSchema: z.ZodMiniType<CollectCommentsResponse, unknown>;
|
|
2071
2071
|
export declare function collectCommentsResponseFromJSON(jsonString: string): SafeParseResult<CollectCommentsResponse, SDKValidationError>;
|
|
2072
2072
|
/** @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
2073
|
export type CollectCommentRepliesRequest$Outbound = {
|
|
2151
2074
|
commentUrn: string;
|
|
2152
2075
|
start?: number | undefined;
|
|
@@ -2167,29 +2090,6 @@ export declare function replyFromJSON(jsonString: string): SafeParseResult<Reply
|
|
|
2167
2090
|
export declare const CollectCommentRepliesResponse$inboundSchema: z.ZodMiniType<CollectCommentRepliesResponse, unknown>;
|
|
2168
2091
|
export declare function collectCommentRepliesResponseFromJSON(jsonString: string): SafeParseResult<CollectCommentRepliesResponse, SDKValidationError>;
|
|
2169
2092
|
/** @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
2093
|
export type CollectPostsRequest$Outbound = {
|
|
2194
2094
|
profileUrl: string;
|
|
2195
2095
|
count?: number | undefined;
|
|
@@ -2297,23 +2197,123 @@ export declare function resultFromJSON(jsonString: string): SafeParseResult<Resu
|
|
|
2297
2197
|
export declare const BulkVisitBatchStatusResponse$inboundSchema: z.ZodMiniType<BulkVisitBatchStatusResponse, unknown>;
|
|
2298
2198
|
export declare function bulkVisitBatchStatusResponseFromJSON(jsonString: string): SafeParseResult<BulkVisitBatchStatusResponse, SDKValidationError>;
|
|
2299
2199
|
/** @internal */
|
|
2200
|
+
export type VisitCompanyRequest$Outbound = {
|
|
2201
|
+
companyUrl: string;
|
|
2202
|
+
includeWorkplacePolicy?: boolean | undefined;
|
|
2203
|
+
};
|
|
2204
|
+
/** @internal */
|
|
2205
|
+
export declare const VisitCompanyRequest$outboundSchema: z.ZodMiniType<VisitCompanyRequest$Outbound, VisitCompanyRequest>;
|
|
2206
|
+
export declare function visitCompanyRequestToJSON(visitCompanyRequest: VisitCompanyRequest): string;
|
|
2207
|
+
/** @internal */
|
|
2208
|
+
export declare const EmployeeCountRange$inboundSchema: z.ZodMiniType<EmployeeCountRange, unknown>;
|
|
2209
|
+
export declare function employeeCountRangeFromJSON(jsonString: string): SafeParseResult<EmployeeCountRange, SDKValidationError>;
|
|
2210
|
+
/** @internal */
|
|
2211
|
+
export declare const VisitCompanyHeadquarter$inboundSchema: z.ZodMiniType<VisitCompanyHeadquarter, unknown>;
|
|
2212
|
+
export declare function visitCompanyHeadquarterFromJSON(jsonString: string): SafeParseResult<VisitCompanyHeadquarter, SDKValidationError>;
|
|
2213
|
+
/** @internal */
|
|
2214
|
+
export declare const VisitCompanyFoundedOn$inboundSchema: z.ZodMiniType<VisitCompanyFoundedOn, unknown>;
|
|
2215
|
+
export declare function visitCompanyFoundedOnFromJSON(jsonString: string): SafeParseResult<VisitCompanyFoundedOn, SDKValidationError>;
|
|
2216
|
+
/** @internal */
|
|
2217
|
+
export declare const CallToAction$inboundSchema: z.ZodMiniType<CallToAction, unknown>;
|
|
2218
|
+
export declare function callToActionFromJSON(jsonString: string): SafeParseResult<CallToAction, SDKValidationError>;
|
|
2219
|
+
/** @internal */
|
|
2220
|
+
export declare const AffiliatedCompany$inboundSchema: z.ZodMiniType<AffiliatedCompany, unknown>;
|
|
2221
|
+
export declare function affiliatedCompanyFromJSON(jsonString: string): SafeParseResult<AffiliatedCompany, SDKValidationError>;
|
|
2222
|
+
/** @internal */
|
|
2223
|
+
export declare const SimilarCompany$inboundSchema: z.ZodMiniType<SimilarCompany, unknown>;
|
|
2224
|
+
export declare function similarCompanyFromJSON(jsonString: string): SafeParseResult<SimilarCompany, SDKValidationError>;
|
|
2225
|
+
/** @internal */
|
|
2226
|
+
export declare const WorkplacePolicy$inboundSchema: z.ZodMiniType<WorkplacePolicy, unknown>;
|
|
2227
|
+
export declare function workplacePolicyFromJSON(jsonString: string): SafeParseResult<WorkplacePolicy, SDKValidationError>;
|
|
2228
|
+
/** @internal */
|
|
2229
|
+
export declare const VisitCompanyResponse$inboundSchema: z.ZodMiniType<VisitCompanyResponse, unknown>;
|
|
2230
|
+
export declare function visitCompanyResponseFromJSON(jsonString: string): SafeParseResult<VisitCompanyResponse, SDKValidationError>;
|
|
2231
|
+
/** @internal */
|
|
2232
|
+
export type ListSavedPostsRequest$Outbound = {
|
|
2233
|
+
start: number;
|
|
2234
|
+
count: number;
|
|
2235
|
+
};
|
|
2236
|
+
/** @internal */
|
|
2237
|
+
export declare const ListSavedPostsRequest$outboundSchema: z.ZodMiniType<ListSavedPostsRequest$Outbound, ListSavedPostsRequest>;
|
|
2238
|
+
export declare function listSavedPostsRequestToJSON(listSavedPostsRequest: ListSavedPostsRequest): string;
|
|
2239
|
+
/** @internal */
|
|
2240
|
+
export declare const ListSavedPostsAuthor$inboundSchema: z.ZodMiniType<ListSavedPostsAuthor, unknown>;
|
|
2241
|
+
export declare function listSavedPostsAuthorFromJSON(jsonString: string): SafeParseResult<ListSavedPostsAuthor, SDKValidationError>;
|
|
2242
|
+
/** @internal */
|
|
2243
|
+
export declare const ListSavedPostsType$inboundSchema: z.ZodMiniType<ListSavedPostsType, unknown>;
|
|
2244
|
+
/** @internal */
|
|
2245
|
+
export declare const ListSavedPostsMedia$inboundSchema: z.ZodMiniType<ListSavedPostsMedia, unknown>;
|
|
2246
|
+
export declare function listSavedPostsMediaFromJSON(jsonString: string): SafeParseResult<ListSavedPostsMedia, SDKValidationError>;
|
|
2247
|
+
/** @internal */
|
|
2248
|
+
export declare const ListSavedPostsPost$inboundSchema: z.ZodMiniType<ListSavedPostsPost, unknown>;
|
|
2249
|
+
export declare function listSavedPostsPostFromJSON(jsonString: string): SafeParseResult<ListSavedPostsPost, SDKValidationError>;
|
|
2250
|
+
/** @internal */
|
|
2251
|
+
export declare const ListSavedPostsResponse$inboundSchema: z.ZodMiniType<ListSavedPostsResponse, unknown>;
|
|
2252
|
+
export declare function listSavedPostsResponseFromJSON(jsonString: string): SafeParseResult<ListSavedPostsResponse, SDKValidationError>;
|
|
2253
|
+
/** @internal */
|
|
2254
|
+
export declare const SortOrder$outboundSchema: z.ZodMiniEnum<typeof SortOrder>;
|
|
2255
|
+
/** @internal */
|
|
2256
|
+
export type GetFeedRequest$Outbound = {
|
|
2257
|
+
count: number;
|
|
2258
|
+
sortOrder: string;
|
|
2259
|
+
};
|
|
2260
|
+
/** @internal */
|
|
2261
|
+
export declare const GetFeedRequest$outboundSchema: z.ZodMiniType<GetFeedRequest$Outbound, GetFeedRequest>;
|
|
2262
|
+
export declare function getFeedRequestToJSON(getFeedRequest: GetFeedRequest): string;
|
|
2263
|
+
/** @internal */
|
|
2264
|
+
export declare const GetFeedType$inboundSchema: z.ZodMiniType<GetFeedType, unknown>;
|
|
2265
|
+
/** @internal */
|
|
2266
|
+
export declare const GetFeedMediaType$inboundSchema: z.ZodMiniType<GetFeedMediaType, unknown>;
|
|
2267
|
+
/** @internal */
|
|
2268
|
+
export declare const GetFeedMedia$inboundSchema: z.ZodMiniType<GetFeedMedia, unknown>;
|
|
2269
|
+
export declare function getFeedMediaFromJSON(jsonString: string): SafeParseResult<GetFeedMedia, SDKValidationError>;
|
|
2270
|
+
/** @internal */
|
|
2271
|
+
export declare const GetFeedPost$inboundSchema: z.ZodMiniType<GetFeedPost, unknown>;
|
|
2272
|
+
export declare function getFeedPostFromJSON(jsonString: string): SafeParseResult<GetFeedPost, SDKValidationError>;
|
|
2273
|
+
/** @internal */
|
|
2274
|
+
export declare const GetFeedResponse$inboundSchema: z.ZodMiniType<GetFeedResponse, unknown>;
|
|
2275
|
+
export declare function getFeedResponseFromJSON(jsonString: string): SafeParseResult<GetFeedResponse, SDKValidationError>;
|
|
2276
|
+
/** @internal */
|
|
2277
|
+
export type CollectHashtagPostsRequest$Outbound = {
|
|
2278
|
+
hashtag: string;
|
|
2279
|
+
start: number;
|
|
2280
|
+
count: number;
|
|
2281
|
+
};
|
|
2282
|
+
/** @internal */
|
|
2283
|
+
export declare const CollectHashtagPostsRequest$outboundSchema: z.ZodMiniType<CollectHashtagPostsRequest$Outbound, CollectHashtagPostsRequest>;
|
|
2284
|
+
export declare function collectHashtagPostsRequestToJSON(collectHashtagPostsRequest: CollectHashtagPostsRequest): string;
|
|
2285
|
+
/** @internal */
|
|
2286
|
+
export declare const CollectHashtagPostsAuthor$inboundSchema: z.ZodMiniType<CollectHashtagPostsAuthor, unknown>;
|
|
2287
|
+
export declare function collectHashtagPostsAuthorFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsAuthor, SDKValidationError>;
|
|
2288
|
+
/** @internal */
|
|
2289
|
+
export declare const CollectHashtagPostsType$inboundSchema: z.ZodMiniType<CollectHashtagPostsType, unknown>;
|
|
2290
|
+
/** @internal */
|
|
2291
|
+
export declare const CollectHashtagPostsMedia$inboundSchema: z.ZodMiniType<CollectHashtagPostsMedia, unknown>;
|
|
2292
|
+
export declare function collectHashtagPostsMediaFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsMedia, SDKValidationError>;
|
|
2293
|
+
/** @internal */
|
|
2294
|
+
export declare const CollectHashtagPostsPost$inboundSchema: z.ZodMiniType<CollectHashtagPostsPost, unknown>;
|
|
2295
|
+
export declare function collectHashtagPostsPostFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsPost, SDKValidationError>;
|
|
2296
|
+
/** @internal */
|
|
2297
|
+
export declare const CollectHashtagPostsResponse$inboundSchema: z.ZodMiniType<CollectHashtagPostsResponse, unknown>;
|
|
2298
|
+
export declare function collectHashtagPostsResponseFromJSON(jsonString: string): SafeParseResult<CollectHashtagPostsResponse, SDKValidationError>;
|
|
2299
|
+
/** @internal */
|
|
2300
2300
|
export declare const SearchCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchCategoryRequest>;
|
|
2301
2301
|
/** @internal */
|
|
2302
|
-
export declare const
|
|
2302
|
+
export declare const SortBy$outboundSchema: z.ZodMiniEnum<typeof SortBy>;
|
|
2303
2303
|
/** @internal */
|
|
2304
|
-
export declare const
|
|
2304
|
+
export declare const DatePosted$outboundSchema: z.ZodMiniEnum<typeof DatePosted>;
|
|
2305
2305
|
/** @internal */
|
|
2306
|
-
export declare const
|
|
2306
|
+
export declare const ContentType$outboundSchema: z.ZodMiniEnum<typeof ContentType>;
|
|
2307
2307
|
/** @internal */
|
|
2308
|
-
export declare const
|
|
2308
|
+
export declare const ConnectionDegree$outboundSchema: z.ZodMiniEnum<typeof ConnectionDegree>;
|
|
2309
2309
|
/** @internal */
|
|
2310
|
-
export declare const
|
|
2310
|
+
export declare const CompanySize$outboundSchema: z.ZodMiniEnum<typeof CompanySize>;
|
|
2311
2311
|
/** @internal */
|
|
2312
|
-
export declare const
|
|
2312
|
+
export declare const JobType$outboundSchema: z.ZodMiniEnum<typeof JobType>;
|
|
2313
2313
|
/** @internal */
|
|
2314
|
-
export declare const
|
|
2314
|
+
export declare const ExperienceLevel$outboundSchema: z.ZodMiniEnum<typeof ExperienceLevel>;
|
|
2315
2315
|
/** @internal */
|
|
2316
|
-
export declare const
|
|
2316
|
+
export declare const WorkplaceType$outboundSchema: z.ZodMiniEnum<typeof WorkplaceType>;
|
|
2317
2317
|
/** @internal */
|
|
2318
2318
|
export type SearchRequest$Outbound = {
|
|
2319
2319
|
category?: string | undefined;
|
|
@@ -2348,76 +2348,48 @@ export declare function searchRequestToJSON(searchRequest: SearchRequest): strin
|
|
|
2348
2348
|
/** @internal */
|
|
2349
2349
|
export declare const SearchCategoryResponseBody$inboundSchema: z.ZodMiniType<SearchCategoryResponseBody, unknown>;
|
|
2350
2350
|
/** @internal */
|
|
2351
|
-
export declare const
|
|
2351
|
+
export declare const ItemsTypeJob$inboundSchema: z.ZodMiniEnum<typeof ItemsTypeJob>;
|
|
2352
2352
|
/** @internal */
|
|
2353
|
-
export declare const
|
|
2354
|
-
export declare function
|
|
2353
|
+
export declare const ItemsJob$inboundSchema: z.ZodMiniType<ItemsJob, unknown>;
|
|
2354
|
+
export declare function itemsJobFromJSON(jsonString: string): SafeParseResult<ItemsJob, SDKValidationError>;
|
|
2355
2355
|
/** @internal */
|
|
2356
|
-
export declare const
|
|
2356
|
+
export declare const ItemsTypeCompany$inboundSchema: z.ZodMiniEnum<typeof ItemsTypeCompany>;
|
|
2357
2357
|
/** @internal */
|
|
2358
|
-
export declare const
|
|
2359
|
-
export declare function
|
|
2358
|
+
export declare const ItemsCompany$inboundSchema: z.ZodMiniType<ItemsCompany, unknown>;
|
|
2359
|
+
export declare function itemsCompanyFromJSON(jsonString: string): SafeParseResult<ItemsCompany, SDKValidationError>;
|
|
2360
2360
|
/** @internal */
|
|
2361
|
-
export declare const
|
|
2361
|
+
export declare const ItemsTypePeople$inboundSchema: z.ZodMiniEnum<typeof ItemsTypePeople>;
|
|
2362
2362
|
/** @internal */
|
|
2363
|
-
export declare const
|
|
2363
|
+
export declare const ItemsNetworkDistance$inboundSchema: z.ZodMiniType<ItemsNetworkDistance, unknown>;
|
|
2364
2364
|
/** @internal */
|
|
2365
|
-
export declare const
|
|
2366
|
-
export declare function
|
|
2365
|
+
export declare const ItemsCurrentPosition$inboundSchema: z.ZodMiniType<ItemsCurrentPosition, unknown>;
|
|
2366
|
+
export declare function itemsCurrentPositionFromJSON(jsonString: string): SafeParseResult<ItemsCurrentPosition, SDKValidationError>;
|
|
2367
2367
|
/** @internal */
|
|
2368
|
-
export declare const
|
|
2369
|
-
export declare function
|
|
2368
|
+
export declare const ItemsPeople$inboundSchema: z.ZodMiniType<ItemsPeople, unknown>;
|
|
2369
|
+
export declare function itemsPeopleFromJSON(jsonString: string): SafeParseResult<ItemsPeople, SDKValidationError>;
|
|
2370
2370
|
/** @internal */
|
|
2371
|
-
export declare const
|
|
2371
|
+
export declare const ItemsTypePost$inboundSchema: z.ZodMiniEnum<typeof ItemsTypePost>;
|
|
2372
2372
|
/** @internal */
|
|
2373
|
-
export declare const
|
|
2374
|
-
export declare function
|
|
2373
|
+
export declare const ItemsAuthor$inboundSchema: z.ZodMiniType<ItemsAuthor, unknown>;
|
|
2374
|
+
export declare function itemsAuthorFromJSON(jsonString: string): SafeParseResult<ItemsAuthor, SDKValidationError>;
|
|
2375
2375
|
/** @internal */
|
|
2376
|
-
export declare const
|
|
2376
|
+
export declare const ItemsMediaType$inboundSchema: z.ZodMiniType<ItemsMediaType, unknown>;
|
|
2377
2377
|
/** @internal */
|
|
2378
|
-
export declare const
|
|
2379
|
-
export declare function
|
|
2378
|
+
export declare const ItemsMedia$inboundSchema: z.ZodMiniType<ItemsMedia, unknown>;
|
|
2379
|
+
export declare function itemsMediaFromJSON(jsonString: string): SafeParseResult<ItemsMedia, SDKValidationError>;
|
|
2380
2380
|
/** @internal */
|
|
2381
|
-
export declare const
|
|
2382
|
-
export declare function
|
|
2381
|
+
export declare const ItemsPost$inboundSchema: z.ZodMiniType<ItemsPost, unknown>;
|
|
2382
|
+
export declare function itemsPostFromJSON(jsonString: string): SafeParseResult<ItemsPost, SDKValidationError>;
|
|
2383
2383
|
/** @internal */
|
|
2384
|
-
export declare const
|
|
2385
|
-
export declare function
|
|
2384
|
+
export declare const Items$inboundSchema: z.ZodMiniType<Items, unknown>;
|
|
2385
|
+
export declare function itemsFromJSON(jsonString: string): SafeParseResult<Items, SDKValidationError>;
|
|
2386
2386
|
/** @internal */
|
|
2387
|
-
export declare const
|
|
2388
|
-
export declare function
|
|
2387
|
+
export declare const SearchPagingResponseBody$inboundSchema: z.ZodMiniType<SearchPagingResponseBody, unknown>;
|
|
2388
|
+
export declare function searchPagingResponseBodyFromJSON(jsonString: string): SafeParseResult<SearchPagingResponseBody, SDKValidationError>;
|
|
2389
2389
|
/** @internal */
|
|
2390
2390
|
export declare const SearchResponse$inboundSchema: z.ZodMiniType<SearchResponse, unknown>;
|
|
2391
2391
|
export declare function searchResponseFromJSON(jsonString: string): SafeParseResult<SearchResponse, SDKValidationError>;
|
|
2392
2392
|
/** @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
2393
|
export declare const SearchPostsSortBy$outboundSchema: z.ZodMiniEnum<typeof SearchPostsSortBy>;
|
|
2422
2394
|
/** @internal */
|
|
2423
2395
|
export declare const SearchPostsDatePosted$outboundSchema: z.ZodMiniEnum<typeof SearchPostsDatePosted>;
|
|
@@ -2500,4 +2472,32 @@ export declare function searchPeoplePagingFromJSON(jsonString: string): SafePars
|
|
|
2500
2472
|
/** @internal */
|
|
2501
2473
|
export declare const SearchPeopleResponse$inboundSchema: z.ZodMiniType<SearchPeopleResponse, unknown>;
|
|
2502
2474
|
export declare function searchPeopleResponseFromJSON(jsonString: string): SafeParseResult<SearchPeopleResponse, SDKValidationError>;
|
|
2503
|
-
|
|
2475
|
+
/** @internal */
|
|
2476
|
+
export declare const SearchCompaniesCompanySize$outboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCompanySize>;
|
|
2477
|
+
/** @internal */
|
|
2478
|
+
export type SearchCompaniesRequest$Outbound = {
|
|
2479
|
+
keywords?: string | undefined;
|
|
2480
|
+
url?: string | undefined;
|
|
2481
|
+
location?: Array<string> | undefined;
|
|
2482
|
+
industry?: Array<string> | undefined;
|
|
2483
|
+
companySize?: Array<string> | undefined;
|
|
2484
|
+
start?: number | undefined;
|
|
2485
|
+
count?: number | undefined;
|
|
2486
|
+
};
|
|
2487
|
+
/** @internal */
|
|
2488
|
+
export declare const SearchCompaniesRequest$outboundSchema: z.ZodMiniType<SearchCompaniesRequest$Outbound, SearchCompaniesRequest>;
|
|
2489
|
+
export declare function searchCompaniesRequestToJSON(searchCompaniesRequest: SearchCompaniesRequest): string;
|
|
2490
|
+
/** @internal */
|
|
2491
|
+
export declare const SearchCompaniesCategory$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesCategory>;
|
|
2492
|
+
/** @internal */
|
|
2493
|
+
export declare const SearchCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchCompaniesType>;
|
|
2494
|
+
/** @internal */
|
|
2495
|
+
export declare const SearchCompaniesItem$inboundSchema: z.ZodMiniType<SearchCompaniesItem, unknown>;
|
|
2496
|
+
export declare function searchCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchCompaniesItem, SDKValidationError>;
|
|
2497
|
+
/** @internal */
|
|
2498
|
+
export declare const SearchCompaniesPaging$inboundSchema: z.ZodMiniType<SearchCompaniesPaging, unknown>;
|
|
2499
|
+
export declare function searchCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchCompaniesPaging, SDKValidationError>;
|
|
2500
|
+
/** @internal */
|
|
2501
|
+
export declare const SearchCompaniesResponse$inboundSchema: z.ZodMiniType<SearchCompaniesResponse, unknown>;
|
|
2502
|
+
export declare function searchCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchCompaniesResponse, SDKValidationError>;
|
|
2503
|
+
//# sourceMappingURL=search-companies-response.d.ts.map
|