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,82 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { linkedinChatGetMessages } from "../funcs/linkedin-chat-get-messages.js";
|
|
5
|
+
import { linkedinChatGetUnreadCount } from "../funcs/linkedin-chat-get-unread-count.js";
|
|
6
|
+
import { linkedinChatListArchived } from "../funcs/linkedin-chat-list-archived.js";
|
|
7
|
+
import { linkedinChatListInboxConversations } from "../funcs/linkedin-chat-list-inbox-conversations.js";
|
|
8
|
+
import { linkedinChatMarkAllRead } from "../funcs/linkedin-chat-mark-all-read.js";
|
|
9
|
+
import { linkedinChatReact } from "../funcs/linkedin-chat-react.js";
|
|
10
|
+
import { linkedinChatSendTypingIndicator } from "../funcs/linkedin-chat-send-typing-indicator.js";
|
|
11
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
12
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
+
export class LinkedinChat1 extends ClientSDK {
|
|
14
|
+
/**
|
|
15
|
+
* List LinkedIn inbox conversations
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor.
|
|
19
|
+
*/
|
|
20
|
+
async listInboxConversations(request, options) {
|
|
21
|
+
return unwrapAsync(linkedinChatListInboxConversations(this, request, options));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Read messages from a conversation
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* Fetch messages from a specific LinkedIn conversation. 0 credits.
|
|
28
|
+
*
|
|
29
|
+
* Pass the full `conversationUrn` as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
30
|
+
*
|
|
31
|
+
* Example: `{ "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)" }`
|
|
32
|
+
*/
|
|
33
|
+
async getMessages(request, options) {
|
|
34
|
+
return unwrapAsync(linkedinChatGetMessages(this, request, options));
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Mark all conversations as read
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Mark all LinkedIn inbox conversations as read. 0 credits.
|
|
41
|
+
*/
|
|
42
|
+
async markAllRead(request, options) {
|
|
43
|
+
return unwrapAsync(linkedinChatMarkAllRead(this, request, options));
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* List archived conversations
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* List archived LinkedIn conversations. 0 credits.
|
|
50
|
+
*/
|
|
51
|
+
async listArchived(request, options) {
|
|
52
|
+
return unwrapAsync(linkedinChatListArchived(this, request, options));
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* React to a message with emoji
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Add an emoji reaction to a LinkedIn message. 0 credits.
|
|
59
|
+
*/
|
|
60
|
+
async react(request, options) {
|
|
61
|
+
return unwrapAsync(linkedinChatReact(this, request, options));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Send typing indicator
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* Send a typing indicator to a LinkedIn conversation, simulating natural typing behavior. 0 credits.
|
|
68
|
+
*/
|
|
69
|
+
async sendTypingIndicator(request, options) {
|
|
70
|
+
return unwrapAsync(linkedinChatSendTypingIndicator(this, request, options));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Get unread message count
|
|
74
|
+
*
|
|
75
|
+
* @remarks
|
|
76
|
+
* Get the number of unread LinkedIn messages/conversations. 0 credits.
|
|
77
|
+
*/
|
|
78
|
+
async getUnreadCount(request, options) {
|
|
79
|
+
return unwrapAsync(linkedinChatGetUnreadCount(this, request, options));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=linkedin-chat-1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-chat-1.js","sourceRoot":"","sources":["../../src/sdk/linkedin-chat-1.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,kCAAkC,EAAE,MAAM,oDAAoD,CAAC;AACxG,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAiD,EACjD,OAAwB,EAC4B;QACpD,OAAO,WAAW,CAAC,kCAAkC,CACnD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,WAAW,CACf,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAAgE,EAChE,OAAwB,EAC8B;QACtD,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAAiE,EACjE,OAAwB,EAC+B;QACvD,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,KAAK,CACT,OAAyC,EACzC,OAAwB,EACoB;QAC5C,OAAO,WAAW,CAAC,iBAAiB,CAClC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAsD,EACtD,OAAwB,EACoB;QAC5C,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class LinkedinScrapers1 extends ClientSDK {
|
|
4
4
|
/**
|
|
5
5
|
* Scrape LinkedIn post likes
|
|
6
6
|
*
|
|
7
7
|
* @remarks
|
|
8
|
-
* Authenticates the requester, validates LinkedIn credentials, and returns up to
|
|
8
|
+
* 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.
|
|
9
9
|
*/
|
|
10
10
|
collectLikes(request: operations.CollectLinkedInLikesRequest, options?: RequestOptions): Promise<operations.CollectLinkedInLikesResponse>;
|
|
11
11
|
/**
|
|
@@ -16,32 +16,25 @@ export declare class LinkedinScrapers extends ClientSDK {
|
|
|
16
16
|
*/
|
|
17
17
|
collectComments(request: operations.CollectLinkedInCommentsRequest, options?: RequestOptions): Promise<operations.CollectLinkedInCommentsResponse>;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
* @remarks
|
|
22
|
-
* Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response.
|
|
23
|
-
*/
|
|
24
|
-
collectCommentReplies(request: operations.CollectLinkedInCommentRepliesRequest, options?: RequestOptions): Promise<operations.CollectLinkedInCommentRepliesResponse>;
|
|
25
|
-
/**
|
|
26
|
-
* Scrape LinkedIn profile posts
|
|
19
|
+
* Visit LinkedIn company page and extract profile data
|
|
27
20
|
*
|
|
28
21
|
* @remarks
|
|
29
|
-
*
|
|
22
|
+
* 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.
|
|
30
23
|
*/
|
|
31
|
-
|
|
24
|
+
visitCompany(request: operations.VisitLinkedInCompanyRequest, options?: RequestOptions): Promise<operations.VisitLinkedInCompanyResponse>;
|
|
32
25
|
/**
|
|
33
|
-
*
|
|
26
|
+
* List saved posts
|
|
34
27
|
*
|
|
35
28
|
* @remarks
|
|
36
|
-
*
|
|
29
|
+
* List posts saved to bookmarks. 1 credit.
|
|
37
30
|
*/
|
|
38
|
-
|
|
31
|
+
listSavedPosts(request: operations.CollectSavedLinkedInPostsRequest, options?: RequestOptions): Promise<operations.CollectSavedLinkedInPostsResponse>;
|
|
39
32
|
/**
|
|
40
|
-
*
|
|
33
|
+
* Collect posts from a hashtag
|
|
41
34
|
*
|
|
42
35
|
* @remarks
|
|
43
|
-
*
|
|
36
|
+
* Collect posts from a LinkedIn hashtag feed. Pass hashtag name without # prefix. Supports pagination with start/count. Returns parsed post objects. 1 credit.
|
|
44
37
|
*/
|
|
45
|
-
|
|
38
|
+
collectHashtagPosts(request: operations.CollectLinkedInHashtagPostsRequest, options?: RequestOptions): Promise<operations.CollectLinkedInHashtagPostsResponse>;
|
|
46
39
|
}
|
|
47
|
-
//# sourceMappingURL=linkedin-scrapers.d.ts.map
|
|
40
|
+
//# sourceMappingURL=linkedin-scrapers-1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-scrapers-1.d.ts","sourceRoot":"","sources":["../../src/sdk/linkedin-scrapers-1.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,iBAAkB,SAAQ,SAAS;IAC9C;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAMlD;IAED;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAMlD;IAED;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,gCAAgC,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAMvD;IAED;;;;;OAKG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,kCAAkC,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,mCAAmC,CAAC,CAMzD;CACF"}
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import { linkedinScrapersCollectCommentReplies } from "../funcs/linkedin-scrapers-collect-comment-replies.js";
|
|
5
4
|
import { linkedinScrapersCollectComments } from "../funcs/linkedin-scrapers-collect-comments.js";
|
|
5
|
+
import { linkedinScrapersCollectHashtagPosts } from "../funcs/linkedin-scrapers-collect-hashtag-posts.js";
|
|
6
6
|
import { linkedinScrapersCollectLikes } from "../funcs/linkedin-scrapers-collect-likes.js";
|
|
7
|
-
import {
|
|
7
|
+
import { linkedinScrapersListSavedPosts } from "../funcs/linkedin-scrapers-list-saved-posts.js";
|
|
8
8
|
import { linkedinScrapersVisitCompany } from "../funcs/linkedin-scrapers-visit-company.js";
|
|
9
|
-
import { linkedinScrapersVisitProfile } from "../funcs/linkedin-scrapers-visit-profile.js";
|
|
10
9
|
import { ClientSDK } from "../lib/sdks.js";
|
|
11
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
12
|
-
export class
|
|
11
|
+
export class LinkedinScrapers1 extends ClientSDK {
|
|
13
12
|
/**
|
|
14
13
|
* Scrape LinkedIn post likes
|
|
15
14
|
*
|
|
16
15
|
* @remarks
|
|
17
|
-
* Authenticates the requester, validates LinkedIn credentials, and returns up to
|
|
16
|
+
* 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.
|
|
18
17
|
*/
|
|
19
18
|
async collectLikes(request, options) {
|
|
20
19
|
return unwrapAsync(linkedinScrapersCollectLikes(this, request, options));
|
|
@@ -29,40 +28,31 @@ export class LinkedinScrapers extends ClientSDK {
|
|
|
29
28
|
return unwrapAsync(linkedinScrapersCollectComments(this, request, options));
|
|
30
29
|
}
|
|
31
30
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* @remarks
|
|
35
|
-
* Returns paginated replies for a specific LinkedIn comment. Use the commentUrn from the comments endpoint response.
|
|
36
|
-
*/
|
|
37
|
-
async collectCommentReplies(request, options) {
|
|
38
|
-
return unwrapAsync(linkedinScrapersCollectCommentReplies(this, request, options));
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Scrape LinkedIn profile posts
|
|
31
|
+
* Visit LinkedIn company page and extract profile data
|
|
42
32
|
*
|
|
43
33
|
* @remarks
|
|
44
|
-
*
|
|
34
|
+
* 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.
|
|
45
35
|
*/
|
|
46
|
-
async
|
|
47
|
-
return unwrapAsync(
|
|
36
|
+
async visitCompany(request, options) {
|
|
37
|
+
return unwrapAsync(linkedinScrapersVisitCompany(this, request, options));
|
|
48
38
|
}
|
|
49
39
|
/**
|
|
50
|
-
*
|
|
40
|
+
* List saved posts
|
|
51
41
|
*
|
|
52
42
|
* @remarks
|
|
53
|
-
*
|
|
43
|
+
* List posts saved to bookmarks. 1 credit.
|
|
54
44
|
*/
|
|
55
|
-
async
|
|
56
|
-
return unwrapAsync(
|
|
45
|
+
async listSavedPosts(request, options) {
|
|
46
|
+
return unwrapAsync(linkedinScrapersListSavedPosts(this, request, options));
|
|
57
47
|
}
|
|
58
48
|
/**
|
|
59
|
-
*
|
|
49
|
+
* Collect posts from a hashtag
|
|
60
50
|
*
|
|
61
51
|
* @remarks
|
|
62
|
-
*
|
|
52
|
+
* Collect posts from a LinkedIn hashtag feed. Pass hashtag name without # prefix. Supports pagination with start/count. Returns parsed post objects. 1 credit.
|
|
63
53
|
*/
|
|
64
|
-
async
|
|
65
|
-
return unwrapAsync(
|
|
54
|
+
async collectHashtagPosts(request, options) {
|
|
55
|
+
return unwrapAsync(linkedinScrapersCollectHashtagPosts(this, request, options));
|
|
66
56
|
}
|
|
67
57
|
}
|
|
68
|
-
//# sourceMappingURL=linkedin-scrapers.js.map
|
|
58
|
+
//# sourceMappingURL=linkedin-scrapers-1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-scrapers-1.js","sourceRoot":"","sources":["../../src/sdk/linkedin-scrapers-1.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,mCAAmC,EAAE,MAAM,qDAAqD,CAAC;AAC1G,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA+C,EAC/C,OAAwB,EAC0B;QAClD,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CACnB,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,YAAY,CAChB,OAA+C,EAC/C,OAAwB,EAC0B;QAClD,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAoD,EACpD,OAAwB,EAC+B;QACvD,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,mBAAmB,CACvB,OAAsD,EACtD,OAAwB,EACiC;QACzD,OAAO,WAAW,CAAC,mCAAmC,CACpD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -1,50 +1,6 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as operations from "../models/operations/index.js";
|
|
3
|
-
export declare class
|
|
4
|
-
/**
|
|
5
|
-
* Unified LinkedIn Search — posts, people, companies, jobs
|
|
6
|
-
*
|
|
7
|
-
* @remarks
|
|
8
|
-
* # Unified LinkedIn Search
|
|
9
|
-
*
|
|
10
|
-
* This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
|
|
11
|
-
*
|
|
12
|
-
* ## When to use this endpoint
|
|
13
|
-
* 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:
|
|
14
|
-
* - `POST /search/linkedin/posts` — search posts
|
|
15
|
-
* - `POST /search/linkedin/people` — search people
|
|
16
|
-
* - `POST /search/linkedin/companies` — search companies
|
|
17
|
-
* - `POST /search/linkedin/jobs` — search jobs
|
|
18
|
-
* - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
|
|
19
|
-
*
|
|
20
|
-
* ## Two ways to search
|
|
21
|
-
* 1. **Structured**: pass `category` + `keywords` + optional filters
|
|
22
|
-
* 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
|
|
23
|
-
*
|
|
24
|
-
* Explicit parameters always override URL-derived values.
|
|
25
|
-
*
|
|
26
|
-
* ## Keyword syntax (Boolean operators)
|
|
27
|
-
* Keywords support LinkedIn Boolean search syntax for precise matching:
|
|
28
|
-
* - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
|
|
29
|
-
* - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
|
|
30
|
-
* - **OR**: either term — `CEO OR founder OR owner`
|
|
31
|
-
* - **NOT**: exclude — `manager NOT assistant`
|
|
32
|
-
* - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
|
|
33
|
-
*
|
|
34
|
-
* Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
|
|
35
|
-
*
|
|
36
|
-
* 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.
|
|
37
|
-
*
|
|
38
|
-
* ## Resolving filter IDs
|
|
39
|
-
* 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").
|
|
40
|
-
*
|
|
41
|
-
* ## Pagination
|
|
42
|
-
* Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
|
|
43
|
-
*
|
|
44
|
-
* ## Credits
|
|
45
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
46
|
-
*/
|
|
47
|
-
unifiedSearch(request: operations.SearchLinkedInRequest, options?: RequestOptions): Promise<operations.SearchLinkedInResponse>;
|
|
3
|
+
export declare class LinkedinSearch2 extends ClientSDK {
|
|
48
4
|
/**
|
|
49
5
|
* Search LinkedIn Posts
|
|
50
6
|
*
|
|
@@ -177,70 +133,6 @@ export declare class LinkedinSearch extends ClientSDK {
|
|
|
177
133
|
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
178
134
|
*/
|
|
179
135
|
searchPeople(request: operations.SearchLinkedInPeopleRequest, options?: RequestOptions): Promise<operations.SearchLinkedInPeopleResponse>;
|
|
180
|
-
/**
|
|
181
|
-
* Search LinkedIn Companies
|
|
182
|
-
*
|
|
183
|
-
* @remarks
|
|
184
|
-
* # Search LinkedIn Companies
|
|
185
|
-
*
|
|
186
|
-
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
187
|
-
*
|
|
188
|
-
* ## Parameters
|
|
189
|
-
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
190
|
-
*
|
|
191
|
-
* ## Keyword syntax (Boolean operators)
|
|
192
|
-
* Keywords support LinkedIn Boolean search syntax:
|
|
193
|
-
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
194
|
-
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
195
|
-
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
196
|
-
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
197
|
-
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
198
|
-
*
|
|
199
|
-
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
200
|
-
*
|
|
201
|
-
* ## Available filters
|
|
202
|
-
* | Filter | Type | Description | Resolve IDs via |
|
|
203
|
-
* |--------|------|-------------|------------------|
|
|
204
|
-
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
205
|
-
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
206
|
-
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
207
|
-
*
|
|
208
|
-
* ### Company size codes
|
|
209
|
-
* | Code | Employees |
|
|
210
|
-
* |------|-----------|
|
|
211
|
-
* | `A` | 1–10 |
|
|
212
|
-
* | `B` | 11–50 |
|
|
213
|
-
* | `C` | 51–200 |
|
|
214
|
-
* | `D` | 201–500 |
|
|
215
|
-
* | `E` | 501–1,000 |
|
|
216
|
-
* | `F` | 1,001–5,000 |
|
|
217
|
-
* | `G` | 5,001–10,000 |
|
|
218
|
-
* | `H` | 10,001+ |
|
|
219
|
-
* | `I` | Self-employed |
|
|
220
|
-
*
|
|
221
|
-
* ## Response fields (per item)
|
|
222
|
-
* | Field | Type | Description |
|
|
223
|
-
* |-------|------|-------------|
|
|
224
|
-
* | `name` | string | Company display name |
|
|
225
|
-
* | `profileUrl` | string | LinkedIn company page URL |
|
|
226
|
-
* | `summary` | string\|null | Company tagline/description |
|
|
227
|
-
* | `industry` | string\|null | Primary industry |
|
|
228
|
-
* | `location` | string\|null | HQ location |
|
|
229
|
-
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
230
|
-
*
|
|
231
|
-
* ## Pagination
|
|
232
|
-
* - Default page size: 10, max: 50
|
|
233
|
-
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
234
|
-
*
|
|
235
|
-
* ## Example workflows
|
|
236
|
-
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
237
|
-
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
238
|
-
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
239
|
-
*
|
|
240
|
-
* ## Credits
|
|
241
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
242
|
-
*/
|
|
243
|
-
searchCompanies(request: operations.SearchLinkedInCompaniesRequest, options?: RequestOptions): Promise<operations.SearchLinkedInCompaniesResponse>;
|
|
244
136
|
/**
|
|
245
137
|
* Search LinkedIn Jobs
|
|
246
138
|
*
|
|
@@ -384,41 +276,5 @@ export declare class LinkedinSearch extends ClientSDK {
|
|
|
384
276
|
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
385
277
|
*/
|
|
386
278
|
searchByUrl(request: operations.SearchLinkedInByUrlRequest, options?: RequestOptions): Promise<operations.SearchLinkedInByUrlResponse>;
|
|
387
|
-
/**
|
|
388
|
-
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
389
|
-
*
|
|
390
|
-
* @remarks
|
|
391
|
-
* # Resolve Search Parameters
|
|
392
|
-
*
|
|
393
|
-
* 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.
|
|
394
|
-
*
|
|
395
|
-
* ## Supported types
|
|
396
|
-
* | Type | Description | Use with filter |
|
|
397
|
-
* |------|-------------|------------------|
|
|
398
|
-
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
399
|
-
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
400
|
-
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
401
|
-
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
402
|
-
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
403
|
-
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
404
|
-
*
|
|
405
|
-
* ## How to use
|
|
406
|
-
* ```
|
|
407
|
-
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
408
|
-
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
409
|
-
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
410
|
-
* → returns engineers in Paris
|
|
411
|
-
* ```
|
|
412
|
-
*
|
|
413
|
-
* ## Response format
|
|
414
|
-
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
415
|
-
*
|
|
416
|
-
* ## Tips
|
|
417
|
-
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
418
|
-
* - The API returns up to `limit` results (default 10, max 50)
|
|
419
|
-
* - Results are ranked by relevance
|
|
420
|
-
* - IDs are stable — you can cache them for repeated searches
|
|
421
|
-
*/
|
|
422
|
-
resolveParameters(request: operations.ResolveLinkedInSearchParametersRequest, options?: RequestOptions): Promise<operations.ResolveLinkedInSearchParametersResponse>;
|
|
423
279
|
}
|
|
424
|
-
//# sourceMappingURL=linkedin-search.d.ts.map
|
|
280
|
+
//# sourceMappingURL=linkedin-search-2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-search-2.d.ts","sourceRoot":"","sources":["../../src/sdk/linkedin-search-2.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0DG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAMjD;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEG;IACG,YAAY,CAChB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAMlD;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAMhD;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAMjD;CACF"}
|
|
@@ -1,62 +1,13 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
|
-
import { linkedinSearchResolveParameters } from "../funcs/linkedin-search-resolve-parameters.js";
|
|
5
4
|
import { linkedinSearchSearchByUrl } from "../funcs/linkedin-search-search-by-url.js";
|
|
6
|
-
import { linkedinSearchSearchCompanies } from "../funcs/linkedin-search-search-companies.js";
|
|
7
5
|
import { linkedinSearchSearchJobs } from "../funcs/linkedin-search-search-jobs.js";
|
|
8
6
|
import { linkedinSearchSearchPeople } from "../funcs/linkedin-search-search-people.js";
|
|
9
7
|
import { linkedinSearchSearchPosts } from "../funcs/linkedin-search-search-posts.js";
|
|
10
|
-
import { linkedinSearchUnifiedSearch } from "../funcs/linkedin-search-unified-search.js";
|
|
11
8
|
import { ClientSDK } from "../lib/sdks.js";
|
|
12
9
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
-
export class
|
|
14
|
-
/**
|
|
15
|
-
* Unified LinkedIn Search — posts, people, companies, jobs
|
|
16
|
-
*
|
|
17
|
-
* @remarks
|
|
18
|
-
* # Unified LinkedIn Search
|
|
19
|
-
*
|
|
20
|
-
* This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
|
|
21
|
-
*
|
|
22
|
-
* ## When to use this endpoint
|
|
23
|
-
* 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:
|
|
24
|
-
* - `POST /search/linkedin/posts` — search posts
|
|
25
|
-
* - `POST /search/linkedin/people` — search people
|
|
26
|
-
* - `POST /search/linkedin/companies` — search companies
|
|
27
|
-
* - `POST /search/linkedin/jobs` — search jobs
|
|
28
|
-
* - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
|
|
29
|
-
*
|
|
30
|
-
* ## Two ways to search
|
|
31
|
-
* 1. **Structured**: pass `category` + `keywords` + optional filters
|
|
32
|
-
* 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
|
|
33
|
-
*
|
|
34
|
-
* Explicit parameters always override URL-derived values.
|
|
35
|
-
*
|
|
36
|
-
* ## Keyword syntax (Boolean operators)
|
|
37
|
-
* Keywords support LinkedIn Boolean search syntax for precise matching:
|
|
38
|
-
* - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
|
|
39
|
-
* - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
|
|
40
|
-
* - **OR**: either term — `CEO OR founder OR owner`
|
|
41
|
-
* - **NOT**: exclude — `manager NOT assistant`
|
|
42
|
-
* - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
|
|
43
|
-
*
|
|
44
|
-
* Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
|
|
45
|
-
*
|
|
46
|
-
* 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.
|
|
47
|
-
*
|
|
48
|
-
* ## Resolving filter IDs
|
|
49
|
-
* 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").
|
|
50
|
-
*
|
|
51
|
-
* ## Pagination
|
|
52
|
-
* Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
|
|
53
|
-
*
|
|
54
|
-
* ## Credits
|
|
55
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
56
|
-
*/
|
|
57
|
-
async unifiedSearch(request, options) {
|
|
58
|
-
return unwrapAsync(linkedinSearchUnifiedSearch(this, request, options));
|
|
59
|
-
}
|
|
10
|
+
export class LinkedinSearch2 extends ClientSDK {
|
|
60
11
|
/**
|
|
61
12
|
* Search LinkedIn Posts
|
|
62
13
|
*
|
|
@@ -193,72 +144,6 @@ export class LinkedinSearch extends ClientSDK {
|
|
|
193
144
|
async searchPeople(request, options) {
|
|
194
145
|
return unwrapAsync(linkedinSearchSearchPeople(this, request, options));
|
|
195
146
|
}
|
|
196
|
-
/**
|
|
197
|
-
* Search LinkedIn Companies
|
|
198
|
-
*
|
|
199
|
-
* @remarks
|
|
200
|
-
* # Search LinkedIn Companies
|
|
201
|
-
*
|
|
202
|
-
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
203
|
-
*
|
|
204
|
-
* ## Parameters
|
|
205
|
-
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
206
|
-
*
|
|
207
|
-
* ## Keyword syntax (Boolean operators)
|
|
208
|
-
* Keywords support LinkedIn Boolean search syntax:
|
|
209
|
-
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
210
|
-
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
211
|
-
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
212
|
-
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
213
|
-
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
214
|
-
*
|
|
215
|
-
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
216
|
-
*
|
|
217
|
-
* ## Available filters
|
|
218
|
-
* | Filter | Type | Description | Resolve IDs via |
|
|
219
|
-
* |--------|------|-------------|------------------|
|
|
220
|
-
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
221
|
-
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
222
|
-
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
223
|
-
*
|
|
224
|
-
* ### Company size codes
|
|
225
|
-
* | Code | Employees |
|
|
226
|
-
* |------|-----------|
|
|
227
|
-
* | `A` | 1–10 |
|
|
228
|
-
* | `B` | 11–50 |
|
|
229
|
-
* | `C` | 51–200 |
|
|
230
|
-
* | `D` | 201–500 |
|
|
231
|
-
* | `E` | 501–1,000 |
|
|
232
|
-
* | `F` | 1,001–5,000 |
|
|
233
|
-
* | `G` | 5,001–10,000 |
|
|
234
|
-
* | `H` | 10,001+ |
|
|
235
|
-
* | `I` | Self-employed |
|
|
236
|
-
*
|
|
237
|
-
* ## Response fields (per item)
|
|
238
|
-
* | Field | Type | Description |
|
|
239
|
-
* |-------|------|-------------|
|
|
240
|
-
* | `name` | string | Company display name |
|
|
241
|
-
* | `profileUrl` | string | LinkedIn company page URL |
|
|
242
|
-
* | `summary` | string\|null | Company tagline/description |
|
|
243
|
-
* | `industry` | string\|null | Primary industry |
|
|
244
|
-
* | `location` | string\|null | HQ location |
|
|
245
|
-
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
246
|
-
*
|
|
247
|
-
* ## Pagination
|
|
248
|
-
* - Default page size: 10, max: 50
|
|
249
|
-
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
250
|
-
*
|
|
251
|
-
* ## Example workflows
|
|
252
|
-
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
253
|
-
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
254
|
-
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
255
|
-
*
|
|
256
|
-
* ## Credits
|
|
257
|
-
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
258
|
-
*/
|
|
259
|
-
async searchCompanies(request, options) {
|
|
260
|
-
return unwrapAsync(linkedinSearchSearchCompanies(this, request, options));
|
|
261
|
-
}
|
|
262
147
|
/**
|
|
263
148
|
* Search LinkedIn Jobs
|
|
264
149
|
*
|
|
@@ -406,43 +291,5 @@ export class LinkedinSearch extends ClientSDK {
|
|
|
406
291
|
async searchByUrl(request, options) {
|
|
407
292
|
return unwrapAsync(linkedinSearchSearchByUrl(this, request, options));
|
|
408
293
|
}
|
|
409
|
-
/**
|
|
410
|
-
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
411
|
-
*
|
|
412
|
-
* @remarks
|
|
413
|
-
* # Resolve Search Parameters
|
|
414
|
-
*
|
|
415
|
-
* 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.
|
|
416
|
-
*
|
|
417
|
-
* ## Supported types
|
|
418
|
-
* | Type | Description | Use with filter |
|
|
419
|
-
* |------|-------------|------------------|
|
|
420
|
-
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
421
|
-
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
422
|
-
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
423
|
-
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
424
|
-
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
425
|
-
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
426
|
-
*
|
|
427
|
-
* ## How to use
|
|
428
|
-
* ```
|
|
429
|
-
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
430
|
-
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
431
|
-
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
432
|
-
* → returns engineers in Paris
|
|
433
|
-
* ```
|
|
434
|
-
*
|
|
435
|
-
* ## Response format
|
|
436
|
-
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
437
|
-
*
|
|
438
|
-
* ## Tips
|
|
439
|
-
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
440
|
-
* - The API returns up to `limit` results (default 10, max 50)
|
|
441
|
-
* - Results are ranked by relevance
|
|
442
|
-
* - IDs are stable — you can cache them for repeated searches
|
|
443
|
-
*/
|
|
444
|
-
async resolveParameters(request, options) {
|
|
445
|
-
return unwrapAsync(linkedinSearchResolveParameters(this, request, options));
|
|
446
|
-
}
|
|
447
294
|
}
|
|
448
|
-
//# sourceMappingURL=linkedin-search.js.map
|
|
295
|
+
//# sourceMappingURL=linkedin-search-2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-search-2.js","sourceRoot":"","sources":["../../src/sdk/linkedin-search-2.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,yCAAyC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0DG;IACH,KAAK,CAAC,WAAW,CACf,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsEG;IACH,KAAK,CAAC,YAAY,CAChB,OAA+C,EAC/C,OAAwB,EAC0B;QAClD,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmFG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,wBAAwB,CACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,KAAK,CAAC,WAAW,CACf,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|