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/src/sdk/profile.ts
CHANGED
|
@@ -7,15 +7,15 @@ import { profileGetFollowerAnalytics } from "../funcs/profile-get-follower-analy
|
|
|
7
7
|
import { profileGetFollowers } from "../funcs/profile-get-followers.js";
|
|
8
8
|
import { profileGetLimits } from "../funcs/profile-get-limits.js";
|
|
9
9
|
import { profileGetPostAnalytics } from "../funcs/profile-get-post-analytics.js";
|
|
10
|
-
import { profileGetPosts } from "../funcs/profile-get-posts.js";
|
|
11
|
-
import { profileGetProfileViews } from "../funcs/profile-get-profile-views.js";
|
|
12
10
|
import { profileGetSearchAppearances } from "../funcs/profile-get-search-appearances.js";
|
|
13
11
|
import { profileGet } from "../funcs/profile-get.js";
|
|
14
12
|
import { profileListAccounts } from "../funcs/profile-list-accounts.js";
|
|
15
13
|
import { profileListConnections } from "../funcs/profile-list-connections.js";
|
|
14
|
+
import { profilePosts } from "../funcs/profile-posts.js";
|
|
16
15
|
import { profileRefresh } from "../funcs/profile-refresh.js";
|
|
17
16
|
import { profileSwitchAccount } from "../funcs/profile-switch-account.js";
|
|
18
17
|
import { profileUpdateAccount } from "../funcs/profile-update-account.js";
|
|
18
|
+
import { profileViews } from "../funcs/profile-views.js";
|
|
19
19
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
20
20
|
import * as operations from "../models/operations/index.js";
|
|
21
21
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -89,11 +89,11 @@ export class Profile extends ClientSDK {
|
|
|
89
89
|
* @remarks
|
|
90
90
|
* Returns paginated posts from the authenticated user's own LinkedIn profile. No credits consumed. Requires valid LinkedIn credentials and a stored profileUrn (call /me/linkedin/refresh first if needed).
|
|
91
91
|
*/
|
|
92
|
-
async
|
|
92
|
+
async posts(
|
|
93
93
|
request?: operations.GetMyPostsRequest | undefined,
|
|
94
94
|
options?: RequestOptions,
|
|
95
95
|
): Promise<operations.GetMyPostsResponse> {
|
|
96
|
-
return unwrapAsync(
|
|
96
|
+
return unwrapAsync(profilePosts(
|
|
97
97
|
this,
|
|
98
98
|
request,
|
|
99
99
|
options,
|
|
@@ -153,11 +153,11 @@ export class Profile extends ClientSDK {
|
|
|
153
153
|
* @remarks
|
|
154
154
|
* Get who viewed your LinkedIn profile with viewer details (name, headline, company, profileUrl). Returns views array and total count. Requires Premium for full viewer details. 1 credit.
|
|
155
155
|
*/
|
|
156
|
-
async
|
|
156
|
+
async views(
|
|
157
157
|
request?: operations.GetProfileViewsRequest | undefined,
|
|
158
158
|
options?: RequestOptions,
|
|
159
159
|
): Promise<operations.GetProfileViewsResponse> {
|
|
160
|
-
return unwrapAsync(
|
|
160
|
+
return unwrapAsync(profileViews(
|
|
161
161
|
this,
|
|
162
162
|
request,
|
|
163
163
|
options,
|
package/src/sdk/sales-nav.ts
CHANGED
|
@@ -2,12 +2,52 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { salesNavCompanies } from "../funcs/sales-nav-companies.js";
|
|
6
|
+
import { salesNavPeople } from "../funcs/sales-nav-people.js";
|
|
7
|
+
import { salesNavSearch } from "../funcs/sales-nav-search.js";
|
|
6
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
9
|
import * as operations from "../models/operations/index.js";
|
|
8
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
9
11
|
|
|
10
12
|
export class SalesNav extends ClientSDK {
|
|
13
|
+
/**
|
|
14
|
+
* Sales Navigator Search — leads (people) & accounts (companies)
|
|
15
|
+
*
|
|
16
|
+
* @remarks
|
|
17
|
+
* # Sales Navigator Search
|
|
18
|
+
*
|
|
19
|
+
* Search LinkedIn Sales Navigator for leads (people) or accounts (companies). Requires a LinkedIn account with an active Sales Navigator subscription.
|
|
20
|
+
*
|
|
21
|
+
* ## Two ways to search
|
|
22
|
+
* 1. **Structured**: pass `category` + optional `keywords` + filters
|
|
23
|
+
* 2. **URL-based**: pass a Sales Navigator search `url` from your browser — filters are extracted automatically
|
|
24
|
+
*
|
|
25
|
+
* ## Sales Navigator vs Classic search
|
|
26
|
+
* Sales Navigator returns richer data than classic LinkedIn search:
|
|
27
|
+
* - **People**: tenure at company/role, premium status, open profile flag, pending invitation status, detailed positions
|
|
28
|
+
* - **Companies**: headcount (employee count)
|
|
29
|
+
* - More advanced filters: seniority, function, tenure, include/exclude for company & industry
|
|
30
|
+
*
|
|
31
|
+
* ## Resolving filter IDs
|
|
32
|
+
* Filters like location, industry, company, and school require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs.
|
|
33
|
+
*
|
|
34
|
+
* ## Pagination
|
|
35
|
+
* Default page size: 25, max: 25. Use `start` (offset) and `count` to paginate. Check `hasMore` and `paging.total` in the response.
|
|
36
|
+
*
|
|
37
|
+
* ## Credits
|
|
38
|
+
* 1 credit per 10 items returned (minimum 1 if any results, 0 if empty).
|
|
39
|
+
*/
|
|
40
|
+
async search(
|
|
41
|
+
request: operations.SearchSalesNavRequest,
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): Promise<operations.SearchSalesNavResponse> {
|
|
44
|
+
return unwrapAsync(salesNavSearch(
|
|
45
|
+
this,
|
|
46
|
+
request,
|
|
47
|
+
options,
|
|
48
|
+
));
|
|
49
|
+
}
|
|
50
|
+
|
|
11
51
|
/**
|
|
12
52
|
* Sales Navigator People/Lead Search
|
|
13
53
|
*
|
|
@@ -49,11 +89,43 @@ export class SalesNav extends ClientSDK {
|
|
|
49
89
|
* ## Credits
|
|
50
90
|
* 1 credit per 10 items returned.
|
|
51
91
|
*/
|
|
52
|
-
async
|
|
92
|
+
async people(
|
|
53
93
|
request: operations.SearchSalesNavPeopleRequest,
|
|
54
94
|
options?: RequestOptions,
|
|
55
95
|
): Promise<operations.SearchSalesNavPeopleResponse> {
|
|
56
|
-
return unwrapAsync(
|
|
96
|
+
return unwrapAsync(salesNavPeople(
|
|
97
|
+
this,
|
|
98
|
+
request,
|
|
99
|
+
options,
|
|
100
|
+
));
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Sales Navigator Company/Account Search
|
|
105
|
+
*
|
|
106
|
+
* @remarks
|
|
107
|
+
* # Sales Navigator Company Search
|
|
108
|
+
*
|
|
109
|
+
* Search for accounts in LinkedIn Sales Navigator.
|
|
110
|
+
*
|
|
111
|
+
* ## Available filters
|
|
112
|
+
* | Filter | Type | Description |
|
|
113
|
+
* |--------|------|-------------|
|
|
114
|
+
* | `keywords` | string | Search terms |
|
|
115
|
+
* | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
|
|
116
|
+
* | `location` | string[] | Geography IDs |
|
|
117
|
+
* | `companyHeadcount` | string[] | Employee count ranges |
|
|
118
|
+
* | `companyType` | string[] | Company types |
|
|
119
|
+
* | `annualRevenue` | string[] | Revenue ranges |
|
|
120
|
+
*
|
|
121
|
+
* ## Credits
|
|
122
|
+
* 1 credit per 10 items returned.
|
|
123
|
+
*/
|
|
124
|
+
async companies(
|
|
125
|
+
request: operations.SearchSalesNavCompaniesRequest,
|
|
126
|
+
options?: RequestOptions,
|
|
127
|
+
): Promise<operations.SearchSalesNavCompaniesResponse> {
|
|
128
|
+
return unwrapAsync(salesNavCompanies(
|
|
57
129
|
this,
|
|
58
130
|
request,
|
|
59
131
|
options,
|
package/src/sdk/scrapers.ts
CHANGED
|
@@ -4,13 +4,71 @@
|
|
|
4
4
|
|
|
5
5
|
import { scrapersBulkVisitBatchStatus } from "../funcs/scrapers-bulk-visit-batch-status.js";
|
|
6
6
|
import { scrapersBulkVisitProfile } from "../funcs/scrapers-bulk-visit-profile.js";
|
|
7
|
+
import { scrapersCollectCommentReplies } from "../funcs/scrapers-collect-comment-replies.js";
|
|
8
|
+
import { scrapersCollectComments } from "../funcs/scrapers-collect-comments.js";
|
|
9
|
+
import { scrapersCollectHashtagPosts } from "../funcs/scrapers-collect-hashtag-posts.js";
|
|
10
|
+
import { scrapersCollectLikes } from "../funcs/scrapers-collect-likes.js";
|
|
7
11
|
import { scrapersCollectPosts } from "../funcs/scrapers-collect-posts.js";
|
|
12
|
+
import { scrapersGetFeed } from "../funcs/scrapers-get-feed.js";
|
|
13
|
+
import { scrapersListSavedPosts } from "../funcs/scrapers-list-saved-posts.js";
|
|
14
|
+
import { scrapersVisitCompany } from "../funcs/scrapers-visit-company.js";
|
|
8
15
|
import { scrapersVisitProfile } from "../funcs/scrapers-visit-profile.js";
|
|
9
16
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
10
17
|
import * as operations from "../models/operations/index.js";
|
|
11
18
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
19
|
|
|
13
20
|
export class Scrapers extends ClientSDK {
|
|
21
|
+
/**
|
|
22
|
+
* Scrape LinkedIn post likes
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* Returns up to 100 profiles per page that reacted to the specified post (LinkedIn API limit). Supports pagination. 1 credit per 20 items returned (minimum 1 if any results, 0 if empty). Use count=0 for a free total-only check.
|
|
26
|
+
*/
|
|
27
|
+
async collectLikes(
|
|
28
|
+
request: operations.CollectLikesRequest,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): Promise<operations.CollectLikesResponse> {
|
|
31
|
+
return unwrapAsync(scrapersCollectLikes(
|
|
32
|
+
this,
|
|
33
|
+
request,
|
|
34
|
+
options,
|
|
35
|
+
));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Scrape LinkedIn post comments
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Returns paginated top-level comments for a LinkedIn post (newest first). 1 credit per 20 items returned (minimum 1 if any results, 0 if empty). Use count=0 for a free total-only check (0 credits, no rate-limit slot consumed). Response includes previousTotal (server-cached) to detect new comments without client tracking.
|
|
43
|
+
*/
|
|
44
|
+
async collectComments(
|
|
45
|
+
request: operations.CollectCommentsRequest,
|
|
46
|
+
options?: RequestOptions,
|
|
47
|
+
): Promise<operations.CollectCommentsResponse> {
|
|
48
|
+
return unwrapAsync(scrapersCollectComments(
|
|
49
|
+
this,
|
|
50
|
+
request,
|
|
51
|
+
options,
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Scrape replies to a LinkedIn comment
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response. 1 credit per 20 items returned (minimum 1 if any results, 0 if empty).
|
|
60
|
+
*/
|
|
61
|
+
async collectCommentReplies(
|
|
62
|
+
request: operations.CollectCommentRepliesRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<operations.CollectCommentRepliesResponse> {
|
|
65
|
+
return unwrapAsync(scrapersCollectCommentReplies(
|
|
66
|
+
this,
|
|
67
|
+
request,
|
|
68
|
+
options,
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
|
|
14
72
|
/**
|
|
15
73
|
* Scrape LinkedIn profile posts
|
|
16
74
|
*
|
|
@@ -80,4 +138,72 @@ export class Scrapers extends ClientSDK {
|
|
|
80
138
|
options,
|
|
81
139
|
));
|
|
82
140
|
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Visit LinkedIn company page and extract profile data
|
|
144
|
+
*
|
|
145
|
+
* @remarks
|
|
146
|
+
* Fetches a LinkedIn company profile by URL or universal name. Returns structured company data including description, industry, employee count, headquarters, logo, affiliated/similar companies, and more. Optionally enriches with workplace policy data (costs 1 extra credit per optional API call). Base cost: 1 credit.
|
|
147
|
+
*/
|
|
148
|
+
async visitCompany(
|
|
149
|
+
request: operations.VisitCompanyRequest,
|
|
150
|
+
options?: RequestOptions,
|
|
151
|
+
): Promise<operations.VisitCompanyResponse> {
|
|
152
|
+
return unwrapAsync(scrapersVisitCompany(
|
|
153
|
+
this,
|
|
154
|
+
request,
|
|
155
|
+
options,
|
|
156
|
+
));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* List saved posts
|
|
161
|
+
*
|
|
162
|
+
* @remarks
|
|
163
|
+
* List posts saved to bookmarks. 1 credit.
|
|
164
|
+
*/
|
|
165
|
+
async listSavedPosts(
|
|
166
|
+
request: operations.ListSavedPostsRequest,
|
|
167
|
+
options?: RequestOptions,
|
|
168
|
+
): Promise<operations.ListSavedPostsResponse> {
|
|
169
|
+
return unwrapAsync(scrapersListSavedPosts(
|
|
170
|
+
this,
|
|
171
|
+
request,
|
|
172
|
+
options,
|
|
173
|
+
));
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Get home feed
|
|
178
|
+
*
|
|
179
|
+
* @remarks
|
|
180
|
+
* Get posts from the LinkedIn home feed using GraphQL. Supports algorithmic (RELEVANCE) or chronological (REV_CHRON) sorting. Returns parsed post objects with author info, text, engagement counts. No pagination token support currently. 1 credit.
|
|
181
|
+
*/
|
|
182
|
+
async getFeed(
|
|
183
|
+
request?: operations.GetFeedRequest | undefined,
|
|
184
|
+
options?: RequestOptions,
|
|
185
|
+
): Promise<operations.GetFeedResponse> {
|
|
186
|
+
return unwrapAsync(scrapersGetFeed(
|
|
187
|
+
this,
|
|
188
|
+
request,
|
|
189
|
+
options,
|
|
190
|
+
));
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Collect posts from a hashtag
|
|
195
|
+
*
|
|
196
|
+
* @remarks
|
|
197
|
+
* Collect posts from a LinkedIn hashtag feed. Pass hashtag name without # prefix. Supports pagination with start/count. Returns parsed post objects. 1 credit.
|
|
198
|
+
*/
|
|
199
|
+
async collectHashtagPosts(
|
|
200
|
+
request: operations.CollectHashtagPostsRequest,
|
|
201
|
+
options?: RequestOptions,
|
|
202
|
+
): Promise<operations.CollectHashtagPostsResponse> {
|
|
203
|
+
return unwrapAsync(scrapersCollectHashtagPosts(
|
|
204
|
+
this,
|
|
205
|
+
request,
|
|
206
|
+
options,
|
|
207
|
+
));
|
|
208
|
+
}
|
|
83
209
|
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -10,59 +10,23 @@ import { CompanyPages } from "./company-pages.js";
|
|
|
10
10
|
import { Contacts } from "./contacts.js";
|
|
11
11
|
import { Context } from "./context.js";
|
|
12
12
|
import { Cron } from "./cron.js";
|
|
13
|
-
import { LinkedInActions2 } from "./linked-in-actions-2.js";
|
|
14
|
-
import { LinkedInChat2 } from "./linked-in-chat-2.js";
|
|
15
|
-
import { LinkedInScrapers2 } from "./linked-in-scrapers-2.js";
|
|
16
|
-
import { LinkedInSearch1 } from "./linked-in-search-1.js";
|
|
17
|
-
import { LinkedinActions1 } from "./linkedin-actions-1.js";
|
|
18
|
-
import { LinkedinChat1 } from "./linkedin-chat-1.js";
|
|
19
|
-
import { LinkedinScrapers1 } from "./linkedin-scrapers-1.js";
|
|
20
|
-
import { LinkedinSearch2 } from "./linkedin-search-2.js";
|
|
21
13
|
import { Profile } from "./profile.js";
|
|
22
14
|
import { SalesNav } from "./sales-nav.js";
|
|
23
|
-
import { SalesNavigatorSearch } from "./sales-navigator-search.js";
|
|
24
15
|
import { ScheduledMessages } from "./scheduled-messages.js";
|
|
25
16
|
import { Scrapers } from "./scrapers.js";
|
|
26
17
|
import { Search } from "./search.js";
|
|
27
18
|
|
|
28
19
|
export class Bereach extends ClientSDK {
|
|
29
|
-
private _linkedinScrapers?: LinkedinScrapers1;
|
|
30
|
-
get linkedinScrapers(): LinkedinScrapers1 {
|
|
31
|
-
return (this._linkedinScrapers ??= new LinkedinScrapers1(this._options));
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
private _linkedInScrapers?: LinkedInScrapers2;
|
|
35
|
-
get linkedInScrapers(): LinkedInScrapers2 {
|
|
36
|
-
return (this._linkedInScrapers ??= new LinkedInScrapers2(this._options));
|
|
37
|
-
}
|
|
38
|
-
|
|
39
20
|
private _scrapers?: Scrapers;
|
|
40
21
|
get scrapers(): Scrapers {
|
|
41
22
|
return (this._scrapers ??= new Scrapers(this._options));
|
|
42
23
|
}
|
|
43
24
|
|
|
44
|
-
private _linkedInSearch?: LinkedInSearch1;
|
|
45
|
-
get linkedInSearch(): LinkedInSearch1 {
|
|
46
|
-
return (this._linkedInSearch ??= new LinkedInSearch1(this._options));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
private _linkedinSearch?: LinkedinSearch2;
|
|
50
|
-
get linkedinSearch(): LinkedinSearch2 {
|
|
51
|
-
return (this._linkedinSearch ??= new LinkedinSearch2(this._options));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
25
|
private _search?: Search;
|
|
55
26
|
get search(): Search {
|
|
56
27
|
return (this._search ??= new Search(this._options));
|
|
57
28
|
}
|
|
58
29
|
|
|
59
|
-
private _salesNavigatorSearch?: SalesNavigatorSearch;
|
|
60
|
-
get salesNavigatorSearch(): SalesNavigatorSearch {
|
|
61
|
-
return (this._salesNavigatorSearch ??= new SalesNavigatorSearch(
|
|
62
|
-
this._options,
|
|
63
|
-
));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
30
|
private _salesNav?: SalesNav;
|
|
67
31
|
get salesNav(): SalesNav {
|
|
68
32
|
return (this._salesNav ??= new SalesNav(this._options));
|
|
@@ -73,16 +37,6 @@ export class Bereach extends ClientSDK {
|
|
|
73
37
|
return (this._actions ??= new Actions(this._options));
|
|
74
38
|
}
|
|
75
39
|
|
|
76
|
-
private _linkedinActions?: LinkedinActions1;
|
|
77
|
-
get linkedinActions(): LinkedinActions1 {
|
|
78
|
-
return (this._linkedinActions ??= new LinkedinActions1(this._options));
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
private _linkedInActions?: LinkedInActions2;
|
|
82
|
-
get linkedInActions(): LinkedInActions2 {
|
|
83
|
-
return (this._linkedInActions ??= new LinkedInActions2(this._options));
|
|
84
|
-
}
|
|
85
|
-
|
|
86
40
|
private _profile?: Profile;
|
|
87
41
|
get profile(): Profile {
|
|
88
42
|
return (this._profile ??= new Profile(this._options));
|
|
@@ -93,21 +47,11 @@ export class Bereach extends ClientSDK {
|
|
|
93
47
|
return (this._companyPages ??= new CompanyPages(this._options));
|
|
94
48
|
}
|
|
95
49
|
|
|
96
|
-
private _linkedinChat?: LinkedinChat1;
|
|
97
|
-
get linkedinChat(): LinkedinChat1 {
|
|
98
|
-
return (this._linkedinChat ??= new LinkedinChat1(this._options));
|
|
99
|
-
}
|
|
100
|
-
|
|
101
50
|
private _chat?: Chat;
|
|
102
51
|
get chat(): Chat {
|
|
103
52
|
return (this._chat ??= new Chat(this._options));
|
|
104
53
|
}
|
|
105
54
|
|
|
106
|
-
private _linkedInChat?: LinkedInChat2;
|
|
107
|
-
get linkedInChat(): LinkedInChat2 {
|
|
108
|
-
return (this._linkedInChat ??= new LinkedInChat2(this._options));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
55
|
private _campaigns?: Campaigns;
|
|
112
56
|
get campaigns(): Campaigns {
|
|
113
57
|
return (this._campaigns ??= new Campaigns(this._options));
|