bereach 0.2.1 → 1.3.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/README.md +191 -66
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts → actions-connect-profile.d.ts} +2 -2
- package/esm/funcs/actions-connect-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js → actions-connect-profile.js} +2 -2
- package/esm/funcs/actions-connect-profile.js.map +1 -0
- package/esm/funcs/actions-follow-company.d.ts +18 -0
- package/esm/funcs/{campaigns-sync-actions.d.ts.map → actions-follow-company.d.ts.map} +1 -1
- package/esm/funcs/actions-follow-company.js +95 -0
- package/esm/funcs/actions-follow-company.js.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.d.ts → actions-list-sent-invitations.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-publish-post.d.ts.map → actions-list-sent-invitations.d.ts.map} +1 -1
- package/esm/funcs/actions-list-sent-invitations.js +95 -0
- package/esm/funcs/{linkedin-actions-publish-post.js.map → actions-list-sent-invitations.js.map} +1 -1
- package/esm/funcs/actions-send-message.d.ts +18 -0
- package/esm/funcs/actions-send-message.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.js → actions-send-message.js} +3 -3
- package/esm/funcs/actions-send-message.js.map +1 -0
- package/esm/funcs/campaigns-sync.d.ts +18 -0
- package/esm/funcs/campaigns-sync.d.ts.map +1 -0
- package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +2 -2
- package/esm/funcs/campaigns-sync.js.map +1 -0
- package/esm/funcs/chat-archive.d.ts +18 -0
- package/esm/funcs/chat-archive.d.ts.map +1 -0
- package/esm/funcs/chat-archive.js +95 -0
- package/esm/funcs/chat-archive.js.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
- package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +2 -2
- package/esm/funcs/chat-find-conversation.js.map +1 -0
- package/esm/funcs/chat-search-conversations.d.ts +18 -0
- package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +2 -2
- package/esm/funcs/chat-search-conversations.js.map +1 -0
- package/esm/funcs/chat-unreact.d.ts +18 -0
- package/esm/funcs/chat-unreact.d.ts.map +1 -0
- package/esm/funcs/chat-unreact.js +95 -0
- package/esm/funcs/chat-unreact.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +18 -0
- package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-analytics.js +95 -0
- package/esm/funcs/company-pages-get-analytics.js.map +1 -0
- package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts.map → company-pages-get-permissions.d.ts.map} +1 -1
- package/esm/funcs/company-pages-get-permissions.js +95 -0
- package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
- package/esm/funcs/{campaigns-sync-actions.d.ts → company-pages-get-posts.d.ts} +4 -4
- package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-posts.js +95 -0
- package/esm/funcs/company-pages-get-posts.js.map +1 -0
- package/esm/funcs/company-pages-list.d.ts +18 -0
- package/esm/funcs/company-pages-list.d.ts.map +1 -0
- package/esm/funcs/company-pages-list.js +84 -0
- package/esm/funcs/company-pages-list.js.map +1 -0
- package/esm/funcs/contacts-upsert.d.ts +17 -0
- package/esm/funcs/contacts-upsert.d.ts.map +1 -0
- package/esm/funcs/contacts-upsert.js +79 -0
- package/esm/funcs/contacts-upsert.js.map +1 -0
- package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts.map → linked-in-actions-create-comment.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-create-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.js +95 -0
- package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts.map → linked-in-actions-unfollow-profile.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
- package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
- package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-list-starred.js +97 -0
- package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
- package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
- package/esm/funcs/linked-in-chat-star.d.ts +18 -0
- package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-star.js +95 -0
- package/esm/funcs/linked-in-chat-star.js.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.js +95 -0
- package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.js +95 -0
- package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linked-in-scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{campaigns-sync-actions.js.map → linked-in-scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +2 -2
- package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +2 -2
- package/esm/funcs/linked-in-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts → linkedin-actions-edit-comment.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-edit-post.js +95 -0
- package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-like-post.js +95 -0
- package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.js +95 -0
- package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts.map → linkedin-actions-unlike-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
- package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
- package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → linkedin-chat-get-unread-count.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.js +97 -0
- package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts → linkedin-chat-mark-all-read.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
- package/esm/funcs/linkedin-chat-react.d.ts +18 -0
- package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-react.js +95 -0
- package/esm/funcs/linkedin-chat-react.js.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +1 -1
- package/esm/funcs/profile-get-credits.js +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-follower-analytics.js +85 -0
- package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
- package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-post-analytics.js +95 -0
- package/esm/funcs/profile-get-post-analytics.js.map +1 -0
- package/esm/funcs/profile-get-profile-views.d.ts +18 -0
- package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
- package/esm/funcs/profile-get-profile-views.js +85 -0
- package/esm/funcs/profile-get-profile-views.js.map +1 -0
- package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
- package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
- package/esm/funcs/profile-get-search-appearances.js +85 -0
- package/esm/funcs/profile-get-search-appearances.js.map +1 -0
- package/esm/funcs/profile-get.d.ts +18 -0
- package/esm/funcs/profile-get.d.ts.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +2 -2
- package/esm/funcs/profile-get.js.map +1 -0
- package/esm/funcs/profile-list-accounts.d.ts +18 -0
- package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
- package/esm/funcs/profile-list-accounts.js +84 -0
- package/esm/funcs/profile-list-accounts.js.map +1 -0
- package/esm/funcs/profile-update-account.d.ts +18 -0
- package/esm/funcs/profile-update-account.d.ts.map +1 -0
- package/esm/funcs/profile-update-account.js +95 -0
- package/esm/funcs/profile-update-account.js.map +1 -0
- package/esm/funcs/sales-nav-search-people.d.ts +53 -0
- package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
- package/esm/funcs/sales-nav-search-people.js +130 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
- package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
- package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
- package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search.js +116 -0
- package/esm/funcs/sales-navigator-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
- package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +2 -2
- package/esm/funcs/scrapers-collect-posts.js.map +1 -0
- package/esm/funcs/scrapers-visit-profile.d.ts +18 -0
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +2 -2
- package/esm/funcs/scrapers-visit-profile.js.map +1 -0
- package/esm/lib/config.d.ts +4 -4
- package/esm/lib/config.js +4 -4
- package/esm/models/errors/collect-linked-in-likes.d.ts +18 -18
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
- package/esm/models/errors/collect-linked-in-likes.js +9 -9
- package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts +800 -856
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.js +503 -515
- package/esm/models/operations/get-campaign-stats-response.js.map +1 -1
- package/esm/models/operations/index.d.ts +3 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +3 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/scraping-weekly.d.ts +2946 -0
- package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
- package/esm/models/operations/scraping-weekly.js +1594 -0
- package/esm/models/operations/scraping-weekly.js.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.d.ts → search-linked-in-by-url-type-post.d.ts} +825 -766
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.js → search-linked-in-by-url-type-post.js} +410 -418
- package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
- package/esm/models/operations/upsert-contacts.d.ts +182 -0
- package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
- package/esm/models/operations/upsert-contacts.js +116 -0
- package/esm/models/operations/upsert-contacts.js.map +1 -0
- package/esm/sdk/actions.d.ts +33 -0
- package/esm/sdk/actions.d.ts.map +1 -0
- package/esm/sdk/actions.js +48 -0
- package/esm/sdk/actions.js.map +1 -0
- package/esm/sdk/campaigns.d.ts +1 -1
- package/esm/sdk/campaigns.d.ts.map +1 -1
- package/esm/sdk/campaigns.js +3 -3
- package/esm/sdk/campaigns.js.map +1 -1
- package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
- package/esm/sdk/chat.d.ts.map +1 -0
- package/esm/sdk/chat.js +55 -0
- package/esm/sdk/chat.js.map +1 -0
- package/esm/sdk/company-pages.d.ts +33 -0
- package/esm/sdk/company-pages.d.ts.map +1 -0
- package/esm/sdk/company-pages.js +48 -0
- package/esm/sdk/company-pages.js.map +1 -0
- package/esm/sdk/contacts.d.ts +12 -0
- package/esm/sdk/contacts.d.ts.map +1 -0
- package/esm/sdk/contacts.js +18 -0
- package/esm/sdk/contacts.js.map +1 -0
- package/esm/sdk/linked-in-actions-2.d.ts +47 -0
- package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-actions-2.js +68 -0
- package/esm/sdk/linked-in-actions-2.js.map +1 -0
- package/esm/sdk/linked-in-chat-2.d.ts +40 -0
- package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-chat-2.js +58 -0
- package/esm/sdk/linked-in-chat-2.js.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.js +28 -0
- package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
- package/esm/sdk/linked-in-search-1.d.ts +149 -0
- package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
- package/esm/sdk/linked-in-search-1.js +161 -0
- package/esm/sdk/linked-in-search-1.js.map +1 -0
- package/esm/sdk/linkedin-actions-1.d.ts +96 -0
- package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-actions-1.js +138 -0
- package/esm/sdk/linkedin-actions-1.js.map +1 -0
- package/esm/sdk/linkedin-chat-1.d.ts +58 -0
- package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-chat-1.js +82 -0
- package/esm/sdk/linkedin-chat-1.js.map +1 -0
- package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
- package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
- package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
- package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
- package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
- package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
- package/esm/sdk/linkedin-search-2.js.map +1 -0
- package/esm/sdk/profile.d.ts +44 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +64 -4
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +47 -0
- package/esm/sdk/sales-nav.d.ts.map +1 -0
- package/esm/sdk/sales-nav.js +53 -0
- package/esm/sdk/sales-nav.js.map +1 -0
- package/esm/sdk/sales-navigator-search.d.ts +55 -0
- package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
- package/esm/sdk/sales-navigator-search.js +64 -0
- package/esm/sdk/sales-navigator-search.js.map +1 -0
- package/esm/sdk/scrapers.d.ts +19 -0
- package/esm/sdk/scrapers.d.ts.map +1 -0
- package/esm/sdk/scrapers.js +28 -0
- package/esm/sdk/scrapers.js.map +1 -0
- package/esm/sdk/sdk.d.ts +41 -8
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +63 -8
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/types/discriminated-union.d.ts +25 -0
- package/esm/types/discriminated-union.d.ts.map +1 -0
- package/esm/types/discriminated-union.js +61 -0
- package/esm/types/discriminated-union.js.map +1 -0
- package/esm/types/smart-union.d.ts.map +1 -1
- package/esm/types/smart-union.js +2 -1
- package/esm/types/smart-union.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +1 -1
- package/src/funcs/actions-follow-company.ts +215 -0
- package/src/funcs/actions-list-sent-invitations.ts +218 -0
- package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +2 -2
- package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +1 -1
- package/src/funcs/chat-archive.ts +215 -0
- package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +1 -1
- package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +1 -1
- package/src/funcs/chat-unreact.ts +215 -0
- package/src/funcs/company-pages-get-analytics.ts +215 -0
- package/src/funcs/company-pages-get-permissions.ts +218 -0
- package/src/funcs/company-pages-get-posts.ts +215 -0
- package/src/funcs/company-pages-list.ts +195 -0
- package/src/funcs/contacts-upsert.ts +161 -0
- package/src/funcs/linked-in-actions-create-comment.ts +215 -0
- package/src/funcs/linked-in-actions-decline-invitation.ts +218 -0
- package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +2 -2
- package/src/funcs/linked-in-actions-save-post.ts +215 -0
- package/src/funcs/linked-in-actions-unfollow-profile.ts +215 -0
- package/src/funcs/linked-in-chat-list-starred.ts +220 -0
- package/src/funcs/linked-in-chat-mark-seen.ts +215 -0
- package/src/funcs/linked-in-chat-star.ts +215 -0
- package/src/funcs/linked-in-chat-unarchive.ts +215 -0
- package/src/funcs/linked-in-chat-unstar.ts +215 -0
- package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/linked-in-scrapers-get-feed.ts +220 -0
- package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +1 -1
- package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +1 -1
- package/src/funcs/linkedin-actions-edit-comment.ts +215 -0
- package/src/funcs/linkedin-actions-edit-post.ts +215 -0
- package/src/funcs/linkedin-actions-follow-profile.ts +215 -0
- package/src/funcs/linkedin-actions-like-post.ts +215 -0
- package/src/funcs/linkedin-actions-repost-post.ts +215 -0
- package/src/funcs/linkedin-actions-unfollow-company.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-comment.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-post.ts +215 -0
- package/src/funcs/linkedin-actions-unsave-post.ts +215 -0
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +218 -0
- package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
- package/src/funcs/linkedin-chat-list-archived.ts +220 -0
- package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +1 -1
- package/src/funcs/linkedin-chat-mark-all-read.ts +199 -0
- package/src/funcs/linkedin-chat-react.ts +214 -0
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +215 -0
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +218 -0
- package/src/funcs/linkedin-scrapers-collect-likes.ts +1 -1
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +218 -0
- package/src/funcs/profile-get-credits.ts +1 -1
- package/src/funcs/profile-get-follower-analytics.ts +199 -0
- package/src/funcs/profile-get-post-analytics.ts +215 -0
- package/src/funcs/profile-get-profile-views.ts +199 -0
- package/src/funcs/profile-get-search-appearances.ts +199 -0
- package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +1 -1
- package/src/funcs/profile-list-accounts.ts +195 -0
- package/src/funcs/profile-update-account.ts +215 -0
- package/src/funcs/sales-nav-search-people.ts +250 -0
- package/src/funcs/sales-navigator-search-search-companies.ts +230 -0
- package/src/funcs/sales-navigator-search-search.ts +235 -0
- package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +1 -1
- package/src/lib/config.ts +4 -4
- package/src/models/errors/collect-linked-in-likes.ts +27 -27
- package/src/models/operations/get-campaign-stats-response.ts +1616 -1584
- package/src/models/operations/index.ts +3 -1
- package/src/models/operations/scraping-weekly.ts +5707 -0
- package/src/models/operations/{send-linked-in-message-response.ts → search-linked-in-by-url-type-post.ts} +2086 -2093
- package/src/models/operations/upsert-contacts.ts +305 -0
- package/src/sdk/actions.ts +81 -0
- package/src/sdk/campaigns.ts +3 -3
- package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
- package/src/sdk/company-pages.ts +79 -0
- package/src/sdk/contacts.ts +27 -0
- package/src/sdk/linked-in-actions-2.ts +117 -0
- package/src/sdk/linked-in-chat-2.ts +99 -0
- package/src/sdk/linked-in-scrapers-2.ts +45 -0
- package/src/sdk/linked-in-search-1.ts +186 -0
- package/src/sdk/linkedin-actions-1.ts +243 -0
- package/src/sdk/linkedin-chat-1.ts +139 -0
- package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
- package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
- package/src/sdk/profile.ts +110 -4
- package/src/sdk/sales-nav.ts +62 -0
- package/src/sdk/sales-navigator-search.ts +81 -0
- package/src/sdk/scrapers.ts +45 -0
- package/src/sdk/sdk.ts +84 -16
- package/src/types/discriminated-union.ts +101 -0
- package/src/types/smart-union.ts +2 -1
- package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
- package/esm/sdk/linkedin-actions.d.ts +0 -54
- package/esm/sdk/linkedin-actions.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions.js +0 -78
- package/esm/sdk/linkedin-actions.js.map +0 -1
- package/esm/sdk/linkedin-chat.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat.js +0 -59
- package/esm/sdk/linkedin-chat.js.map +0 -1
- package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers.js.map +0 -1
- package/esm/sdk/linkedin-search.d.ts.map +0 -1
- package/esm/sdk/linkedin-search.js.map +0 -1
- package/src/sdk/linkedin-actions.ts +0 -135
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { linkedinChatGetMessages } from "../funcs/linkedin-chat-get-messages.js";
|
|
6
|
+
import { linkedinChatGetUnreadCount } from "../funcs/linkedin-chat-get-unread-count.js";
|
|
7
|
+
import { linkedinChatListArchived } from "../funcs/linkedin-chat-list-archived.js";
|
|
8
|
+
import { linkedinChatListInboxConversations } from "../funcs/linkedin-chat-list-inbox-conversations.js";
|
|
9
|
+
import { linkedinChatMarkAllRead } from "../funcs/linkedin-chat-mark-all-read.js";
|
|
10
|
+
import { linkedinChatReact } from "../funcs/linkedin-chat-react.js";
|
|
11
|
+
import { linkedinChatSendTypingIndicator } from "../funcs/linkedin-chat-send-typing-indicator.js";
|
|
12
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import * as operations from "../models/operations/index.js";
|
|
14
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
15
|
+
|
|
16
|
+
export class LinkedinChat1 extends ClientSDK {
|
|
17
|
+
/**
|
|
18
|
+
* List LinkedIn inbox conversations
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor.
|
|
22
|
+
*/
|
|
23
|
+
async listInboxConversations(
|
|
24
|
+
request: operations.ListInboxConversationsRequest,
|
|
25
|
+
options?: RequestOptions,
|
|
26
|
+
): Promise<operations.ListInboxConversationsResponse> {
|
|
27
|
+
return unwrapAsync(linkedinChatListInboxConversations(
|
|
28
|
+
this,
|
|
29
|
+
request,
|
|
30
|
+
options,
|
|
31
|
+
));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Read messages from a conversation
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* Fetch messages from a specific LinkedIn conversation. 0 credits.
|
|
39
|
+
*
|
|
40
|
+
* Pass the full `conversationUrn` as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
41
|
+
*
|
|
42
|
+
* Example: `{ "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)" }`
|
|
43
|
+
*/
|
|
44
|
+
async getMessages(
|
|
45
|
+
request: operations.GetConversationMessagesRequest,
|
|
46
|
+
options?: RequestOptions,
|
|
47
|
+
): Promise<operations.GetConversationMessagesResponse> {
|
|
48
|
+
return unwrapAsync(linkedinChatGetMessages(
|
|
49
|
+
this,
|
|
50
|
+
request,
|
|
51
|
+
options,
|
|
52
|
+
));
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Mark all conversations as read
|
|
57
|
+
*
|
|
58
|
+
* @remarks
|
|
59
|
+
* Mark all LinkedIn inbox conversations as read. 0 credits.
|
|
60
|
+
*/
|
|
61
|
+
async markAllRead(
|
|
62
|
+
request?: operations.MarkAllConversationsReadRequest | undefined,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<operations.MarkAllConversationsReadResponse> {
|
|
65
|
+
return unwrapAsync(linkedinChatMarkAllRead(
|
|
66
|
+
this,
|
|
67
|
+
request,
|
|
68
|
+
options,
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* List archived conversations
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* List archived LinkedIn conversations. 0 credits.
|
|
77
|
+
*/
|
|
78
|
+
async listArchived(
|
|
79
|
+
request?: operations.ListArchivedConversationsRequest | undefined,
|
|
80
|
+
options?: RequestOptions,
|
|
81
|
+
): Promise<operations.ListArchivedConversationsResponse> {
|
|
82
|
+
return unwrapAsync(linkedinChatListArchived(
|
|
83
|
+
this,
|
|
84
|
+
request,
|
|
85
|
+
options,
|
|
86
|
+
));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* React to a message with emoji
|
|
91
|
+
*
|
|
92
|
+
* @remarks
|
|
93
|
+
* Add an emoji reaction to a LinkedIn message. 0 credits.
|
|
94
|
+
*/
|
|
95
|
+
async react(
|
|
96
|
+
request: operations.ReactToMessageRequest,
|
|
97
|
+
options?: RequestOptions,
|
|
98
|
+
): Promise<operations.ReactToMessageResponse> {
|
|
99
|
+
return unwrapAsync(linkedinChatReact(
|
|
100
|
+
this,
|
|
101
|
+
request,
|
|
102
|
+
options,
|
|
103
|
+
));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Send typing indicator
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* Send a typing indicator to a LinkedIn conversation, simulating natural typing behavior. 0 credits.
|
|
111
|
+
*/
|
|
112
|
+
async sendTypingIndicator(
|
|
113
|
+
request: operations.SendTypingIndicatorRequest,
|
|
114
|
+
options?: RequestOptions,
|
|
115
|
+
): Promise<operations.SendTypingIndicatorResponse> {
|
|
116
|
+
return unwrapAsync(linkedinChatSendTypingIndicator(
|
|
117
|
+
this,
|
|
118
|
+
request,
|
|
119
|
+
options,
|
|
120
|
+
));
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Get unread message count
|
|
125
|
+
*
|
|
126
|
+
* @remarks
|
|
127
|
+
* Get the number of unread LinkedIn messages/conversations. 0 credits.
|
|
128
|
+
*/
|
|
129
|
+
async getUnreadCount(
|
|
130
|
+
request?: operations.GetUnreadCountRequest | undefined,
|
|
131
|
+
options?: RequestOptions,
|
|
132
|
+
): Promise<operations.GetUnreadCountResponse> {
|
|
133
|
+
return unwrapAsync(linkedinChatGetUnreadCount(
|
|
134
|
+
this,
|
|
135
|
+
request,
|
|
136
|
+
options,
|
|
137
|
+
));
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { linkedinScrapersCollectCommentReplies } from "../funcs/linkedin-scrapers-collect-comment-replies.js";
|
|
6
5
|
import { linkedinScrapersCollectComments } from "../funcs/linkedin-scrapers-collect-comments.js";
|
|
6
|
+
import { linkedinScrapersCollectHashtagPosts } from "../funcs/linkedin-scrapers-collect-hashtag-posts.js";
|
|
7
7
|
import { linkedinScrapersCollectLikes } from "../funcs/linkedin-scrapers-collect-likes.js";
|
|
8
|
-
import {
|
|
8
|
+
import { linkedinScrapersListSavedPosts } from "../funcs/linkedin-scrapers-list-saved-posts.js";
|
|
9
9
|
import { linkedinScrapersVisitCompany } from "../funcs/linkedin-scrapers-visit-company.js";
|
|
10
|
-
import { linkedinScrapersVisitProfile } from "../funcs/linkedin-scrapers-visit-profile.js";
|
|
11
10
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
11
|
import * as operations from "../models/operations/index.js";
|
|
13
12
|
import { unwrapAsync } from "../types/fp.js";
|
|
14
13
|
|
|
15
|
-
export class
|
|
14
|
+
export class LinkedinScrapers1 extends ClientSDK {
|
|
16
15
|
/**
|
|
17
16
|
* Scrape LinkedIn post likes
|
|
18
17
|
*
|
|
19
18
|
* @remarks
|
|
20
|
-
* Authenticates the requester, validates LinkedIn credentials, and returns up to
|
|
19
|
+
* Authenticates the requester, validates LinkedIn credentials, and returns up to 100 profiles per page that reacted to the specified post (LinkedIn API limit). Supports pagination.
|
|
21
20
|
*/
|
|
22
21
|
async collectLikes(
|
|
23
22
|
request: operations.CollectLinkedInLikesRequest,
|
|
@@ -48,33 +47,16 @@ export class LinkedinScrapers extends ClientSDK {
|
|
|
48
47
|
}
|
|
49
48
|
|
|
50
49
|
/**
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
* @remarks
|
|
54
|
-
* Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response.
|
|
55
|
-
*/
|
|
56
|
-
async collectCommentReplies(
|
|
57
|
-
request: operations.CollectLinkedInCommentRepliesRequest,
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): Promise<operations.CollectLinkedInCommentRepliesResponse> {
|
|
60
|
-
return unwrapAsync(linkedinScrapersCollectCommentReplies(
|
|
61
|
-
this,
|
|
62
|
-
request,
|
|
63
|
-
options,
|
|
64
|
-
));
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Scrape LinkedIn profile posts
|
|
50
|
+
* Visit LinkedIn company page and extract profile data
|
|
69
51
|
*
|
|
70
52
|
* @remarks
|
|
71
|
-
*
|
|
53
|
+
* 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.
|
|
72
54
|
*/
|
|
73
|
-
async
|
|
74
|
-
request: operations.
|
|
55
|
+
async visitCompany(
|
|
56
|
+
request: operations.VisitLinkedInCompanyRequest,
|
|
75
57
|
options?: RequestOptions,
|
|
76
|
-
): Promise<operations.
|
|
77
|
-
return unwrapAsync(
|
|
58
|
+
): Promise<operations.VisitLinkedInCompanyResponse> {
|
|
59
|
+
return unwrapAsync(linkedinScrapersVisitCompany(
|
|
78
60
|
this,
|
|
79
61
|
request,
|
|
80
62
|
options,
|
|
@@ -82,16 +64,16 @@ export class LinkedinScrapers extends ClientSDK {
|
|
|
82
64
|
}
|
|
83
65
|
|
|
84
66
|
/**
|
|
85
|
-
*
|
|
67
|
+
* List saved posts
|
|
86
68
|
*
|
|
87
69
|
* @remarks
|
|
88
|
-
*
|
|
70
|
+
* List posts saved to bookmarks. 1 credit.
|
|
89
71
|
*/
|
|
90
|
-
async
|
|
91
|
-
request: operations.
|
|
72
|
+
async listSavedPosts(
|
|
73
|
+
request: operations.CollectSavedLinkedInPostsRequest,
|
|
92
74
|
options?: RequestOptions,
|
|
93
|
-
): Promise<operations.
|
|
94
|
-
return unwrapAsync(
|
|
75
|
+
): Promise<operations.CollectSavedLinkedInPostsResponse> {
|
|
76
|
+
return unwrapAsync(linkedinScrapersListSavedPosts(
|
|
95
77
|
this,
|
|
96
78
|
request,
|
|
97
79
|
options,
|
|
@@ -99,16 +81,16 @@ export class LinkedinScrapers extends ClientSDK {
|
|
|
99
81
|
}
|
|
100
82
|
|
|
101
83
|
/**
|
|
102
|
-
*
|
|
84
|
+
* Collect posts from a hashtag
|
|
103
85
|
*
|
|
104
86
|
* @remarks
|
|
105
|
-
*
|
|
87
|
+
* Collect posts from a LinkedIn hashtag feed. Pass hashtag name without # prefix. Supports pagination with start/count. Returns parsed post objects. 1 credit.
|
|
106
88
|
*/
|
|
107
|
-
async
|
|
108
|
-
request: operations.
|
|
89
|
+
async collectHashtagPosts(
|
|
90
|
+
request: operations.CollectLinkedInHashtagPostsRequest,
|
|
109
91
|
options?: RequestOptions,
|
|
110
|
-
): Promise<operations.
|
|
111
|
-
return unwrapAsync(
|
|
92
|
+
): Promise<operations.CollectLinkedInHashtagPostsResponse> {
|
|
93
|
+
return unwrapAsync(linkedinScrapersCollectHashtagPosts(
|
|
112
94
|
this,
|
|
113
95
|
request,
|
|
114
96
|
options,
|
|
@@ -2,72 +2,15 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { linkedinSearchResolveParameters } from "../funcs/linkedin-search-resolve-parameters.js";
|
|
6
5
|
import { linkedinSearchSearchByUrl } from "../funcs/linkedin-search-search-by-url.js";
|
|
7
|
-
import { linkedinSearchSearchCompanies } from "../funcs/linkedin-search-search-companies.js";
|
|
8
6
|
import { linkedinSearchSearchJobs } from "../funcs/linkedin-search-search-jobs.js";
|
|
9
7
|
import { linkedinSearchSearchPeople } from "../funcs/linkedin-search-search-people.js";
|
|
10
8
|
import { linkedinSearchSearchPosts } from "../funcs/linkedin-search-search-posts.js";
|
|
11
|
-
import { linkedinSearchUnifiedSearch } from "../funcs/linkedin-search-unified-search.js";
|
|
12
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
13
10
|
import * as operations from "../models/operations/index.js";
|
|
14
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
15
12
|
|
|
16
|
-
export class
|
|
17
|
-
/**
|
|
18
|
-
* Unified LinkedIn Search — posts, people, companies, jobs
|
|
19
|
-
*
|
|
20
|
-
* @remarks
|
|
21
|
-
* # Unified LinkedIn Search
|
|
22
|
-
*
|
|
23
|
-
* This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
|
|
24
|
-
*
|
|
25
|
-
* ## When to use this endpoint
|
|
26
|
-
* Use this endpoint when you need to search across categories dynamically (e.g. the user chooses the category at runtime). For a simpler interface with category-specific documentation, use the dedicated endpoints:
|
|
27
|
-
* - `POST /search/linkedin/posts` — search posts
|
|
28
|
-
* - `POST /search/linkedin/people` — search people
|
|
29
|
-
* - `POST /search/linkedin/companies` — search companies
|
|
30
|
-
* - `POST /search/linkedin/jobs` — search jobs
|
|
31
|
-
* - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
|
|
32
|
-
*
|
|
33
|
-
* ## Two ways to search
|
|
34
|
-
* 1. **Structured**: pass `category` + `keywords` + optional filters
|
|
35
|
-
* 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
|
|
36
|
-
*
|
|
37
|
-
* Explicit parameters always override URL-derived values.
|
|
38
|
-
*
|
|
39
|
-
* ## Keyword syntax (Boolean operators)
|
|
40
|
-
* Keywords support LinkedIn Boolean search syntax for precise matching:
|
|
41
|
-
* - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
|
|
42
|
-
* - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
|
|
43
|
-
* - **OR**: either term — `CEO OR founder OR owner`
|
|
44
|
-
* - **NOT**: exclude — `manager NOT assistant`
|
|
45
|
-
* - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
|
|
46
|
-
*
|
|
47
|
-
* Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
|
|
48
|
-
*
|
|
49
|
-
* Without quotes, a multi-word query like `outreach automation` is treated as `outreach AND automation`, which may return broad results. Use `"outreach automation"` for exact matching.
|
|
50
|
-
*
|
|
51
|
-
* ## Resolving filter IDs
|
|
52
|
-
* Many filters (location, industry, company, school) require LinkedIn numeric IDs. Use `POST /search/linkedin/parameters` to convert text (e.g. "San Francisco") into IDs (e.g. "103644278").
|
|
53
|
-
*
|
|
54
|
-
* ## Pagination
|
|
55
|
-
* Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
|
|
56
|
-
*
|
|
57
|
-
* ## Credits
|
|
58
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
59
|
-
*/
|
|
60
|
-
async unifiedSearch(
|
|
61
|
-
request: operations.SearchLinkedInRequest,
|
|
62
|
-
options?: RequestOptions,
|
|
63
|
-
): Promise<operations.SearchLinkedInResponse> {
|
|
64
|
-
return unwrapAsync(linkedinSearchUnifiedSearch(
|
|
65
|
-
this,
|
|
66
|
-
request,
|
|
67
|
-
options,
|
|
68
|
-
));
|
|
69
|
-
}
|
|
70
|
-
|
|
13
|
+
export class LinkedinSearch2 extends ClientSDK {
|
|
71
14
|
/**
|
|
72
15
|
* Search LinkedIn Posts
|
|
73
16
|
*
|
|
@@ -220,80 +163,6 @@ export class LinkedinSearch extends ClientSDK {
|
|
|
220
163
|
));
|
|
221
164
|
}
|
|
222
165
|
|
|
223
|
-
/**
|
|
224
|
-
* Search LinkedIn Companies
|
|
225
|
-
*
|
|
226
|
-
* @remarks
|
|
227
|
-
* # Search LinkedIn Companies
|
|
228
|
-
*
|
|
229
|
-
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
230
|
-
*
|
|
231
|
-
* ## Parameters
|
|
232
|
-
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
233
|
-
*
|
|
234
|
-
* ## Keyword syntax (Boolean operators)
|
|
235
|
-
* Keywords support LinkedIn Boolean search syntax:
|
|
236
|
-
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
237
|
-
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
238
|
-
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
239
|
-
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
240
|
-
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
241
|
-
*
|
|
242
|
-
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
243
|
-
*
|
|
244
|
-
* ## Available filters
|
|
245
|
-
* | Filter | Type | Description | Resolve IDs via |
|
|
246
|
-
* |--------|------|-------------|------------------|
|
|
247
|
-
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
248
|
-
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
249
|
-
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
250
|
-
*
|
|
251
|
-
* ### Company size codes
|
|
252
|
-
* | Code | Employees |
|
|
253
|
-
* |------|-----------|
|
|
254
|
-
* | `A` | 1–10 |
|
|
255
|
-
* | `B` | 11–50 |
|
|
256
|
-
* | `C` | 51–200 |
|
|
257
|
-
* | `D` | 201–500 |
|
|
258
|
-
* | `E` | 501–1,000 |
|
|
259
|
-
* | `F` | 1,001–5,000 |
|
|
260
|
-
* | `G` | 5,001–10,000 |
|
|
261
|
-
* | `H` | 10,001+ |
|
|
262
|
-
* | `I` | Self-employed |
|
|
263
|
-
*
|
|
264
|
-
* ## Response fields (per item)
|
|
265
|
-
* | Field | Type | Description |
|
|
266
|
-
* |-------|------|-------------|
|
|
267
|
-
* | `name` | string | Company display name |
|
|
268
|
-
* | `profileUrl` | string | LinkedIn company page URL |
|
|
269
|
-
* | `summary` | string\|null | Company tagline/description |
|
|
270
|
-
* | `industry` | string\|null | Primary industry |
|
|
271
|
-
* | `location` | string\|null | HQ location |
|
|
272
|
-
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
273
|
-
*
|
|
274
|
-
* ## Pagination
|
|
275
|
-
* - Default page size: 10, max: 50
|
|
276
|
-
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
277
|
-
*
|
|
278
|
-
* ## Example workflows
|
|
279
|
-
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
280
|
-
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
281
|
-
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
282
|
-
*
|
|
283
|
-
* ## Credits
|
|
284
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
285
|
-
*/
|
|
286
|
-
async searchCompanies(
|
|
287
|
-
request: operations.SearchLinkedInCompaniesRequest,
|
|
288
|
-
options?: RequestOptions,
|
|
289
|
-
): Promise<operations.SearchLinkedInCompaniesResponse> {
|
|
290
|
-
return unwrapAsync(linkedinSearchSearchCompanies(
|
|
291
|
-
this,
|
|
292
|
-
request,
|
|
293
|
-
options,
|
|
294
|
-
));
|
|
295
|
-
}
|
|
296
|
-
|
|
297
166
|
/**
|
|
298
167
|
* Search LinkedIn Jobs
|
|
299
168
|
*
|
|
@@ -456,50 +325,4 @@ export class LinkedinSearch extends ClientSDK {
|
|
|
456
325
|
options,
|
|
457
326
|
));
|
|
458
327
|
}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
462
|
-
*
|
|
463
|
-
* @remarks
|
|
464
|
-
* # Resolve Search Parameters
|
|
465
|
-
*
|
|
466
|
-
* Converts human-readable text into LinkedIn numeric IDs required by search filters. This is a **prerequisite step** before using location, industry, company, or school filters in any search endpoint.
|
|
467
|
-
*
|
|
468
|
-
* ## Supported types
|
|
469
|
-
* | Type | Description | Use with filter |
|
|
470
|
-
* |------|-------------|------------------|
|
|
471
|
-
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
472
|
-
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
473
|
-
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
474
|
-
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
475
|
-
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
476
|
-
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
477
|
-
*
|
|
478
|
-
* ## How to use
|
|
479
|
-
* ```
|
|
480
|
-
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
481
|
-
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
482
|
-
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
483
|
-
* → returns engineers in Paris
|
|
484
|
-
* ```
|
|
485
|
-
*
|
|
486
|
-
* ## Response format
|
|
487
|
-
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
488
|
-
*
|
|
489
|
-
* ## Tips
|
|
490
|
-
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
491
|
-
* - The API returns up to `limit` results (default 10, max 50)
|
|
492
|
-
* - Results are ranked by relevance
|
|
493
|
-
* - IDs are stable — you can cache them for repeated searches
|
|
494
|
-
*/
|
|
495
|
-
async resolveParameters(
|
|
496
|
-
request: operations.ResolveLinkedInSearchParametersRequest,
|
|
497
|
-
options?: RequestOptions,
|
|
498
|
-
): Promise<operations.ResolveLinkedInSearchParametersResponse> {
|
|
499
|
-
return unwrapAsync(linkedinSearchResolveParameters(
|
|
500
|
-
this,
|
|
501
|
-
request,
|
|
502
|
-
options,
|
|
503
|
-
));
|
|
504
|
-
}
|
|
505
328
|
}
|
package/src/sdk/profile.ts
CHANGED
|
@@ -3,11 +3,17 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { profileGetCredits } from "../funcs/profile-get-credits.js";
|
|
6
|
+
import { profileGetFollowerAnalytics } from "../funcs/profile-get-follower-analytics.js";
|
|
6
7
|
import { profileGetFollowers } from "../funcs/profile-get-followers.js";
|
|
7
8
|
import { profileGetLimits } from "../funcs/profile-get-limits.js";
|
|
8
|
-
import {
|
|
9
|
+
import { profileGetPostAnalytics } from "../funcs/profile-get-post-analytics.js";
|
|
9
10
|
import { profileGetPosts } from "../funcs/profile-get-posts.js";
|
|
11
|
+
import { profileGetProfileViews } from "../funcs/profile-get-profile-views.js";
|
|
12
|
+
import { profileGetSearchAppearances } from "../funcs/profile-get-search-appearances.js";
|
|
13
|
+
import { profileGet } from "../funcs/profile-get.js";
|
|
14
|
+
import { profileListAccounts } from "../funcs/profile-list-accounts.js";
|
|
10
15
|
import { profileRefresh } from "../funcs/profile-refresh.js";
|
|
16
|
+
import { profileUpdateAccount } from "../funcs/profile-update-account.js";
|
|
11
17
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
12
18
|
import * as operations from "../models/operations/index.js";
|
|
13
19
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -19,15 +25,47 @@ export class Profile extends ClientSDK {
|
|
|
19
25
|
* @remarks
|
|
20
26
|
* Returns the authenticated user's stored LinkedIn profile data from the database. No LinkedIn API call, no credits consumed. Call /me/linkedin/refresh first to populate enriched data (positions, education, etc.).
|
|
21
27
|
*/
|
|
22
|
-
async
|
|
28
|
+
async get(
|
|
23
29
|
options?: RequestOptions,
|
|
24
30
|
): Promise<operations.GetMyLinkedInProfileResponse> {
|
|
25
|
-
return unwrapAsync(
|
|
31
|
+
return unwrapAsync(profileGet(
|
|
26
32
|
this,
|
|
27
33
|
options,
|
|
28
34
|
));
|
|
29
35
|
}
|
|
30
36
|
|
|
37
|
+
/**
|
|
38
|
+
* List all LinkedIn accounts for the authenticated user
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Returns all LinkedIn accounts connected by the user. Each account has credentials and profile info. The `isCurrent` flag indicates which account the current API token is bound to. DB-only endpoint — 0 credits.
|
|
42
|
+
*/
|
|
43
|
+
async listAccounts(
|
|
44
|
+
options?: RequestOptions,
|
|
45
|
+
): Promise<operations.ListLinkedInAccountsResponse> {
|
|
46
|
+
return unwrapAsync(profileListAccounts(
|
|
47
|
+
this,
|
|
48
|
+
options,
|
|
49
|
+
));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Update a LinkedIn account (label, default)
|
|
54
|
+
*
|
|
55
|
+
* @remarks
|
|
56
|
+
* Update account metadata. Setting `isDefault: true` clears the default flag from all other accounts. DB-only — 0 credits.
|
|
57
|
+
*/
|
|
58
|
+
async updateAccount(
|
|
59
|
+
request: operations.UpdateLinkedInAccountRequest,
|
|
60
|
+
options?: RequestOptions,
|
|
61
|
+
): Promise<operations.UpdateLinkedInAccountResponse> {
|
|
62
|
+
return unwrapAsync(profileUpdateAccount(
|
|
63
|
+
this,
|
|
64
|
+
request,
|
|
65
|
+
options,
|
|
66
|
+
));
|
|
67
|
+
}
|
|
68
|
+
|
|
31
69
|
/**
|
|
32
70
|
* Refresh authenticated user's LinkedIn profile
|
|
33
71
|
*
|
|
@@ -96,7 +134,7 @@ export class Profile extends ClientSDK {
|
|
|
96
134
|
* Get current BeReach credit balance
|
|
97
135
|
*
|
|
98
136
|
* @remarks
|
|
99
|
-
* Returns the current credit balance for the workspace. Includes credits used, total limit, remaining credits, and
|
|
137
|
+
* Returns the current credit balance for the workspace. Includes credits used, total limit, remaining credits, usage percentage, and whether credits are unlimited. When isUnlimited is true, limit and remaining are null — skip credit budgeting. No credits consumed.
|
|
100
138
|
*/
|
|
101
139
|
async getCredits(
|
|
102
140
|
options?: RequestOptions,
|
|
@@ -106,4 +144,72 @@ export class Profile extends ClientSDK {
|
|
|
106
144
|
options,
|
|
107
145
|
));
|
|
108
146
|
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Get profile views
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* 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.
|
|
153
|
+
*/
|
|
154
|
+
async getProfileViews(
|
|
155
|
+
request?: operations.GetLinkedInProfileViewsRequest | undefined,
|
|
156
|
+
options?: RequestOptions,
|
|
157
|
+
): Promise<operations.GetLinkedInProfileViewsResponse> {
|
|
158
|
+
return unwrapAsync(profileGetProfileViews(
|
|
159
|
+
this,
|
|
160
|
+
request,
|
|
161
|
+
options,
|
|
162
|
+
));
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Get search appearances
|
|
167
|
+
*
|
|
168
|
+
* @remarks
|
|
169
|
+
* Get how many times you appeared in LinkedIn search results and the top keywords that led to your profile. Returns search count, top keywords, and searcher demographics. 1 credit.
|
|
170
|
+
*/
|
|
171
|
+
async getSearchAppearances(
|
|
172
|
+
request?: operations.GetLinkedInSearchAppearancesRequest | undefined,
|
|
173
|
+
options?: RequestOptions,
|
|
174
|
+
): Promise<operations.GetLinkedInSearchAppearancesResponse> {
|
|
175
|
+
return unwrapAsync(profileGetSearchAppearances(
|
|
176
|
+
this,
|
|
177
|
+
request,
|
|
178
|
+
options,
|
|
179
|
+
));
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Get post analytics
|
|
184
|
+
*
|
|
185
|
+
* @remarks
|
|
186
|
+
* Get impressions, engagement, clicks, reactions, comments, and reposts for a LinkedIn post. Combines data from multiple LinkedIn APIs (analytics + social counts). Returns bad_request for invalid post URL. 1 credit.
|
|
187
|
+
*/
|
|
188
|
+
async getPostAnalytics(
|
|
189
|
+
request: operations.GetLinkedInPostAnalyticsRequest,
|
|
190
|
+
options?: RequestOptions,
|
|
191
|
+
): Promise<operations.GetLinkedInPostAnalyticsResponse> {
|
|
192
|
+
return unwrapAsync(profileGetPostAnalytics(
|
|
193
|
+
this,
|
|
194
|
+
request,
|
|
195
|
+
options,
|
|
196
|
+
));
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Get follower analytics
|
|
201
|
+
*
|
|
202
|
+
* @remarks
|
|
203
|
+
* Get follower demographics and growth data for your LinkedIn profile. Returns follower count, growth trends, and demographic breakdowns. 1 credit.
|
|
204
|
+
*/
|
|
205
|
+
async getFollowerAnalytics(
|
|
206
|
+
request?: operations.GetLinkedInFollowerAnalyticsRequest | undefined,
|
|
207
|
+
options?: RequestOptions,
|
|
208
|
+
): Promise<operations.GetLinkedInFollowerAnalyticsResponse> {
|
|
209
|
+
return unwrapAsync(profileGetFollowerAnalytics(
|
|
210
|
+
this,
|
|
211
|
+
request,
|
|
212
|
+
options,
|
|
213
|
+
));
|
|
214
|
+
}
|
|
109
215
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { salesNavSearchPeople } from "../funcs/sales-nav-search-people.js";
|
|
6
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
|
+
import * as operations from "../models/operations/index.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
|
|
10
|
+
export class SalesNav extends ClientSDK {
|
|
11
|
+
/**
|
|
12
|
+
* Sales Navigator People/Lead Search
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* # Sales Navigator People Search
|
|
16
|
+
*
|
|
17
|
+
* Search for leads in LinkedIn Sales Navigator with advanced filters. Returns enriched profile data including tenure, premium status, and open profile flag.
|
|
18
|
+
*
|
|
19
|
+
* ## Available filters
|
|
20
|
+
* | Filter | Type | Description |
|
|
21
|
+
* |--------|------|-------------|
|
|
22
|
+
* | `keywords` | string | Search terms |
|
|
23
|
+
* | `title` | string | Job title keywords |
|
|
24
|
+
* | `company` | {include?, exclude?} | Company IDs with include/exclude |
|
|
25
|
+
* | `industry` | {include?, exclude?} | Industry IDs with include/exclude |
|
|
26
|
+
* | `location` | string[] | Geography IDs |
|
|
27
|
+
* | `seniority` | string[] | Seniority levels (1-10) |
|
|
28
|
+
* | `function` | string[] | Job function IDs |
|
|
29
|
+
* | `tenure` | {min?, max?}[] | Years at current company |
|
|
30
|
+
* | `profileLanguage` | string[] | Profile language codes |
|
|
31
|
+
* | `connectionDegree` | string[] | Network distance (1, 2, 3) |
|
|
32
|
+
* | `school` | string[] | School IDs |
|
|
33
|
+
* | `yearsOfExperience` | string[] | Experience ranges |
|
|
34
|
+
*
|
|
35
|
+
* ## Response fields (per item)
|
|
36
|
+
* | Field | Type | Description |
|
|
37
|
+
* |-------|------|-------------|
|
|
38
|
+
* | `id` | string | Sales Navigator lead ID |
|
|
39
|
+
* | `name`, `firstName`, `lastName` | string | Name |
|
|
40
|
+
* | `memberUrn` | string | LinkedIn member URN |
|
|
41
|
+
* | `profileUrl` | string | Public LinkedIn profile URL |
|
|
42
|
+
* | `salesNavUrl` | string | Sales Navigator lead URL |
|
|
43
|
+
* | `networkDistance` | string | Connection degree |
|
|
44
|
+
* | `premium` | boolean | LinkedIn Premium subscriber |
|
|
45
|
+
* | `openProfile` | boolean | Accepts free InMail |
|
|
46
|
+
* | `pendingInvitation` | boolean | Connection request already sent |
|
|
47
|
+
* | `currentPositions` | array | With company, role, tenure details |
|
|
48
|
+
*
|
|
49
|
+
* ## Credits
|
|
50
|
+
* 1 credit per 10 items returned.
|
|
51
|
+
*/
|
|
52
|
+
async searchPeople(
|
|
53
|
+
request: operations.SearchSalesNavPeopleRequest,
|
|
54
|
+
options?: RequestOptions,
|
|
55
|
+
): Promise<operations.SearchSalesNavPeopleResponse> {
|
|
56
|
+
return unwrapAsync(salesNavSearchPeople(
|
|
57
|
+
this,
|
|
58
|
+
request,
|
|
59
|
+
options,
|
|
60
|
+
));
|
|
61
|
+
}
|
|
62
|
+
}
|