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,149 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class LinkedInSearch1 extends ClientSDK {
|
|
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
|
+
search(request: operations.SearchLinkedInRequest, options?: RequestOptions): Promise<operations.SearchLinkedInResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Search LinkedIn Companies
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* # Search LinkedIn Companies
|
|
53
|
+
*
|
|
54
|
+
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
55
|
+
*
|
|
56
|
+
* ## Parameters
|
|
57
|
+
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
58
|
+
*
|
|
59
|
+
* ## Keyword syntax (Boolean operators)
|
|
60
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
61
|
+
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
62
|
+
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
63
|
+
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
64
|
+
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
65
|
+
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
66
|
+
*
|
|
67
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
68
|
+
*
|
|
69
|
+
* ## Available filters
|
|
70
|
+
* | Filter | Type | Description | Resolve IDs via |
|
|
71
|
+
* |--------|------|-------------|------------------|
|
|
72
|
+
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
73
|
+
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
74
|
+
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
75
|
+
*
|
|
76
|
+
* ### Company size codes
|
|
77
|
+
* | Code | Employees |
|
|
78
|
+
* |------|-----------|
|
|
79
|
+
* | `A` | 1–10 |
|
|
80
|
+
* | `B` | 11–50 |
|
|
81
|
+
* | `C` | 51–200 |
|
|
82
|
+
* | `D` | 201–500 |
|
|
83
|
+
* | `E` | 501–1,000 |
|
|
84
|
+
* | `F` | 1,001–5,000 |
|
|
85
|
+
* | `G` | 5,001–10,000 |
|
|
86
|
+
* | `H` | 10,001+ |
|
|
87
|
+
* | `I` | Self-employed |
|
|
88
|
+
*
|
|
89
|
+
* ## Response fields (per item)
|
|
90
|
+
* | Field | Type | Description |
|
|
91
|
+
* |-------|------|-------------|
|
|
92
|
+
* | `name` | string | Company display name |
|
|
93
|
+
* | `profileUrl` | string | LinkedIn company page URL |
|
|
94
|
+
* | `summary` | string\|null | Company tagline/description |
|
|
95
|
+
* | `industry` | string\|null | Primary industry |
|
|
96
|
+
* | `location` | string\|null | HQ location |
|
|
97
|
+
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
98
|
+
*
|
|
99
|
+
* ## Pagination
|
|
100
|
+
* - Default page size: 10, max: 50
|
|
101
|
+
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
102
|
+
*
|
|
103
|
+
* ## Example workflows
|
|
104
|
+
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
105
|
+
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
106
|
+
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
107
|
+
*
|
|
108
|
+
* ## Credits
|
|
109
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
110
|
+
*/
|
|
111
|
+
searchCompanies(request: operations.SearchLinkedInCompaniesRequest, options?: RequestOptions): Promise<operations.SearchLinkedInCompaniesResponse>;
|
|
112
|
+
/**
|
|
113
|
+
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
114
|
+
*
|
|
115
|
+
* @remarks
|
|
116
|
+
* # Resolve Search Parameters
|
|
117
|
+
*
|
|
118
|
+
* 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.
|
|
119
|
+
*
|
|
120
|
+
* ## Supported types
|
|
121
|
+
* | Type | Description | Use with filter |
|
|
122
|
+
* |------|-------------|------------------|
|
|
123
|
+
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
124
|
+
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
125
|
+
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
126
|
+
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
127
|
+
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
128
|
+
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
129
|
+
*
|
|
130
|
+
* ## How to use
|
|
131
|
+
* ```
|
|
132
|
+
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
133
|
+
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
134
|
+
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
135
|
+
* → returns engineers in Paris
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* ## Response format
|
|
139
|
+
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
140
|
+
*
|
|
141
|
+
* ## Tips
|
|
142
|
+
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
143
|
+
* - The API returns up to `limit` results (default 10, max 50)
|
|
144
|
+
* - Results are ranked by relevance
|
|
145
|
+
* - IDs are stable — you can cache them for repeated searches
|
|
146
|
+
*/
|
|
147
|
+
resolveParameters(request: operations.ResolveLinkedInSearchParametersRequest, options?: RequestOptions): Promise<operations.ResolveLinkedInSearchParametersResponse>;
|
|
148
|
+
}
|
|
149
|
+
//# sourceMappingURL=linked-in-search-1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linked-in-search-1.d.ts","sourceRoot":"","sources":["../../src/sdk/linked-in-search-1.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAM5C;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8DG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACG,iBAAiB,CACrB,OAAO,EAAE,UAAU,CAAC,sCAAsC,EAC1D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,uCAAuC,CAAC,CAM7D;CACF"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { linkedInSearchResolveParameters } from "../funcs/linked-in-search-resolve-parameters.js";
|
|
5
|
+
import { linkedInSearchSearchCompanies } from "../funcs/linked-in-search-search-companies.js";
|
|
6
|
+
import { linkedInSearchSearch } from "../funcs/linked-in-search-search.js";
|
|
7
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
8
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
9
|
+
export class LinkedInSearch1 extends ClientSDK {
|
|
10
|
+
/**
|
|
11
|
+
* Unified LinkedIn Search — posts, people, companies, jobs
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* # Unified LinkedIn Search
|
|
15
|
+
*
|
|
16
|
+
* This is the **all-in-one** search endpoint. It accepts any of the 4 categories (posts, people, companies, jobs) and returns structured results.
|
|
17
|
+
*
|
|
18
|
+
* ## When to use this endpoint
|
|
19
|
+
* 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:
|
|
20
|
+
* - `POST /search/linkedin/posts` — search posts
|
|
21
|
+
* - `POST /search/linkedin/people` — search people
|
|
22
|
+
* - `POST /search/linkedin/companies` — search companies
|
|
23
|
+
* - `POST /search/linkedin/jobs` — search jobs
|
|
24
|
+
* - `POST /search/linkedin/url` — search by pasting a LinkedIn search URL
|
|
25
|
+
*
|
|
26
|
+
* ## Two ways to search
|
|
27
|
+
* 1. **Structured**: pass `category` + `keywords` + optional filters
|
|
28
|
+
* 2. **URL-based**: pass a LinkedIn search `url` — the endpoint parses it automatically
|
|
29
|
+
*
|
|
30
|
+
* Explicit parameters always override URL-derived values.
|
|
31
|
+
*
|
|
32
|
+
* ## Keyword syntax (Boolean operators)
|
|
33
|
+
* Keywords support LinkedIn Boolean search syntax for precise matching:
|
|
34
|
+
* - **Exact phrase**: wrap in double quotes — `"outreach automation"` matches only that exact phrase
|
|
35
|
+
* - **AND**: both terms required — `outreach AND linkedin` (default when terms are space-separated)
|
|
36
|
+
* - **OR**: either term — `CEO OR founder OR owner`
|
|
37
|
+
* - **NOT**: exclude — `manager NOT assistant`
|
|
38
|
+
* - **Parentheses**: group — `(CEO OR CTO) AND SaaS`
|
|
39
|
+
*
|
|
40
|
+
* Operators must be **UPPERCASE** (`AND`, `OR`, `NOT`). Lowercase is treated as plain text. Wildcards (`*`) and `+`/`-` are not supported. Precedence: Quotes → Parentheses → NOT → AND → OR.
|
|
41
|
+
*
|
|
42
|
+
* 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.
|
|
43
|
+
*
|
|
44
|
+
* ## Resolving filter IDs
|
|
45
|
+
* 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").
|
|
46
|
+
*
|
|
47
|
+
* ## Pagination
|
|
48
|
+
* Use `start` (offset, default 0) and `count` (page size, default 10, max 50). The response includes `paging.total` and `hasMore` to control iteration.
|
|
49
|
+
*
|
|
50
|
+
* ## Credits
|
|
51
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
52
|
+
*/
|
|
53
|
+
async search(request, options) {
|
|
54
|
+
return unwrapAsync(linkedInSearchSearch(this, request, options));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Search LinkedIn Companies
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* # Search LinkedIn Companies
|
|
61
|
+
*
|
|
62
|
+
* Find companies on LinkedIn by name, industry, location, and employee count. Returns structured company data including name, industry, location, and follower count.
|
|
63
|
+
*
|
|
64
|
+
* ## Parameters
|
|
65
|
+
* - **keywords** (optional): Search terms matched against company name, description, and specialties
|
|
66
|
+
*
|
|
67
|
+
* ## Keyword syntax (Boolean operators)
|
|
68
|
+
* Keywords support LinkedIn Boolean search syntax:
|
|
69
|
+
* - **Exact phrase**: `"artificial intelligence"` — matches only that exact phrase
|
|
70
|
+
* - **AND**: `fintech AND payments` — both terms required (spaces default to AND)
|
|
71
|
+
* - **OR**: `SaaS OR "cloud computing"` — either term
|
|
72
|
+
* - **NOT**: `consulting NOT staffing` — exclude unwanted terms
|
|
73
|
+
* - **Parentheses**: `(AI OR ML) AND healthcare` — group logic
|
|
74
|
+
*
|
|
75
|
+
* Operators must be **UPPERCASE**. Precedence: Quotes > Parentheses > NOT > AND > OR.
|
|
76
|
+
*
|
|
77
|
+
* ## Available filters
|
|
78
|
+
* | Filter | Type | Description | Resolve IDs via |
|
|
79
|
+
* |--------|------|-------------|------------------|
|
|
80
|
+
* | `location` | string[] | HQ geo IDs | `/search/linkedin/parameters` type=`GEO` |
|
|
81
|
+
* | `industry` | string[] | Industry IDs | `/search/linkedin/parameters` type=`INDUSTRY` |
|
|
82
|
+
* | `companySize` | string[] | Employee count codes (see below) | — |
|
|
83
|
+
*
|
|
84
|
+
* ### Company size codes
|
|
85
|
+
* | Code | Employees |
|
|
86
|
+
* |------|-----------|
|
|
87
|
+
* | `A` | 1–10 |
|
|
88
|
+
* | `B` | 11–50 |
|
|
89
|
+
* | `C` | 51–200 |
|
|
90
|
+
* | `D` | 201–500 |
|
|
91
|
+
* | `E` | 501–1,000 |
|
|
92
|
+
* | `F` | 1,001–5,000 |
|
|
93
|
+
* | `G` | 5,001–10,000 |
|
|
94
|
+
* | `H` | 10,001+ |
|
|
95
|
+
* | `I` | Self-employed |
|
|
96
|
+
*
|
|
97
|
+
* ## Response fields (per item)
|
|
98
|
+
* | Field | Type | Description |
|
|
99
|
+
* |-------|------|-------------|
|
|
100
|
+
* | `name` | string | Company display name |
|
|
101
|
+
* | `profileUrl` | string | LinkedIn company page URL |
|
|
102
|
+
* | `summary` | string\|null | Company tagline/description |
|
|
103
|
+
* | `industry` | string\|null | Primary industry |
|
|
104
|
+
* | `location` | string\|null | HQ location |
|
|
105
|
+
* | `followersCount` | number\|null | Number of LinkedIn followers |
|
|
106
|
+
*
|
|
107
|
+
* ## Pagination
|
|
108
|
+
* - Default page size: 10, max: 50
|
|
109
|
+
* - Use `start` + `count` to paginate. Check `hasMore` for more pages.
|
|
110
|
+
*
|
|
111
|
+
* ## Example workflows
|
|
112
|
+
* 1. **Market research**: Search by industry + location → map the competitive landscape
|
|
113
|
+
* 2. **Sales targeting**: Search by industry + size → build a list of target accounts
|
|
114
|
+
* 3. **Partnership discovery**: Search by keywords + location → find potential partners
|
|
115
|
+
*
|
|
116
|
+
* ## Credits
|
|
117
|
+
* 1 credit per 20 items returned (minimum 1 credit if any results, 0 if empty).
|
|
118
|
+
*/
|
|
119
|
+
async searchCompanies(request, options) {
|
|
120
|
+
return unwrapAsync(linkedInSearchSearchCompanies(this, request, options));
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Resolve text to LinkedIn search parameter IDs (typeahead)
|
|
124
|
+
*
|
|
125
|
+
* @remarks
|
|
126
|
+
* # Resolve Search Parameters
|
|
127
|
+
*
|
|
128
|
+
* 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.
|
|
129
|
+
*
|
|
130
|
+
* ## Supported types
|
|
131
|
+
* | Type | Description | Use with filter |
|
|
132
|
+
* |------|-------------|------------------|
|
|
133
|
+
* | `GEO` | Geographic locations (cities, regions, countries) | `location` filter in people, companies, jobs |
|
|
134
|
+
* | `COMPANY` | Companies and organizations | `currentCompany`, `pastCompany`, `authorCompany` |
|
|
135
|
+
* | `INDUSTRY` | Industries and sectors | `industry`, `authorIndustry` |
|
|
136
|
+
* | `SCHOOL` | Schools and universities | `school` filter in people search |
|
|
137
|
+
* | `CONNECTIONS` | Your LinkedIn connections by name | Identify connection URNs |
|
|
138
|
+
* | `PEOPLE` | Any LinkedIn user by name | Identify profile URNs for `connectionOf` |
|
|
139
|
+
*
|
|
140
|
+
* ## How to use
|
|
141
|
+
* ```
|
|
142
|
+
* Step 1: POST /search/linkedin/parameters { type: 'GEO', keywords: 'Paris' }
|
|
143
|
+
* → [{ id: '105015875', title: 'Paris, Île-de-France, France', type: 'GEO' }]
|
|
144
|
+
* Step 2: POST /search/linkedin/people { location: ['105015875'], keywords: 'engineer' }
|
|
145
|
+
* → returns engineers in Paris
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* ## Response format
|
|
149
|
+
* Each item contains `id` (the LinkedIn numeric ID to use in filters), `title` (human-readable label), and `type` (the parameter type).
|
|
150
|
+
*
|
|
151
|
+
* ## Tips
|
|
152
|
+
* - Use short, specific keywords for best results (e.g. `"Paris"` not `"Paris, France"`)
|
|
153
|
+
* - The API returns up to `limit` results (default 10, max 50)
|
|
154
|
+
* - Results are ranked by relevance
|
|
155
|
+
* - IDs are stable — you can cache them for repeated searches
|
|
156
|
+
*/
|
|
157
|
+
async resolveParameters(request, options) {
|
|
158
|
+
return unwrapAsync(linkedInSearchResolveParameters(this, request, options));
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=linked-in-search-1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linked-in-search-1.js","sourceRoot":"","sources":["../../src/sdk/linked-in-search-1.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,iDAAiD,CAAC;AAClG,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,KAAK,CAAC,MAAM,CACV,OAAyC,EACzC,OAAwB,EACoB;QAC5C,OAAO,WAAW,CAAC,oBAAoB,CACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8DG;IACH,KAAK,CAAC,eAAe,CACnB,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA0D,EAC1D,OAAwB,EACqC;QAC7D,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class LinkedinActions1 extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* List received LinkedIn connection invitations
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Returns pending connection invitations received by the authenticated LinkedIn account. Each invitation includes the invitationId and sharedSecret needed to accept it via the accept endpoint. Costs 1 credit per request.
|
|
9
|
+
*/
|
|
10
|
+
listInvitations(request?: operations.ListLinkedInInvitationsRequest | undefined, options?: RequestOptions): Promise<operations.ListLinkedInInvitationsResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Accept a LinkedIn connection invitation
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Accepts a pending connection invitation. Requires the invitationId and sharedSecret obtained from the list invitations endpoint. No daily/weekly cap — only a 5-second minimum interval between calls. Costs 1 credit per request.
|
|
16
|
+
*/
|
|
17
|
+
acceptInvitation(request: operations.AcceptLinkedInInvitationRequest, options?: RequestOptions): Promise<operations.AcceptLinkedInInvitationResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Reply to a LinkedIn comment
|
|
20
|
+
*
|
|
21
|
+
* @remarks
|
|
22
|
+
* Sends a reply to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
|
|
23
|
+
*/
|
|
24
|
+
replyToComment(request: operations.ReplyToLinkedInCommentRequest, options?: RequestOptions): Promise<operations.ReplyToLinkedInCommentResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Like a LinkedIn post
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* Reacts to a LinkedIn post. Accepts a post URL and an optional reaction type. Consumes 1 credit per reaction. Supports deduplication via campaignSlug.
|
|
30
|
+
*/
|
|
31
|
+
likePost(request: operations.LikeLinkedInPostRequest, options?: RequestOptions): Promise<operations.LikeLinkedInPostResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Withdraw a sent connection invitation
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Withdraw a pending sent connection invitation. Pre-fetches invitee details from last 500 sent invitations, then uses SDUI endpoint to withdraw. Only works for CONNECTION type invitations. Returns bad_request if invitation not found, already withdrawn, or accepted. Returns bad_request with message if invitation expired (410). 1 credit.
|
|
37
|
+
*/
|
|
38
|
+
withdrawInvitation(request: operations.WithdrawLinkedInInvitationRequest, options?: RequestOptions): Promise<operations.WithdrawLinkedInInvitationResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Follow a profile
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* Follow a LinkedIn profile without connecting. Uses SDUI endpoint. Accepts profile URL (linkedin.com/in/username), full URN, or vanity name. Requires extracting memberId from fsd_profile URN (base64url decode). 1 credit.
|
|
44
|
+
*/
|
|
45
|
+
followProfile(request: operations.FollowLinkedInProfileRequest, options?: RequestOptions): Promise<operations.FollowLinkedInProfileResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Edit a post
|
|
48
|
+
*
|
|
49
|
+
* @remarks
|
|
50
|
+
* Edit the text content of an existing LinkedIn post. Only text can be changed; media, visibility, and other properties are preserved. Requires resolving the shareUrn from the activityUrn (done internally via up to 5 fallback strategies). Only works for posts in the user's recent feed. Returns bad_request if shareUrn cannot be resolved. 1 credit.
|
|
51
|
+
*/
|
|
52
|
+
editPost(request: operations.EditLinkedInPostRequest, options?: RequestOptions): Promise<operations.EditLinkedInPostResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Edit a comment
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* Edit the text of an existing LinkedIn comment. Provide either fsdCommentUrn (preferred, from comment API response) or the legacy commentUrn format. Uses REST PARTIAL_UPDATE. Returns not_found if the comment does not exist or URN is malformed, forbidden if it's not your comment. 1 credit.
|
|
58
|
+
*/
|
|
59
|
+
editComment(request: operations.EditLinkedInCommentRequest, options?: RequestOptions): Promise<operations.EditLinkedInCommentResponse>;
|
|
60
|
+
/**
|
|
61
|
+
* Repost / share a post
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* Repost/share a LinkedIn post with quote text. Text is required by LinkedIn. Returns shareUrn on success. Returns bad_request if post URL is invalid, duplicate if already reposted. 1 credit.
|
|
65
|
+
*/
|
|
66
|
+
repostPost(request: operations.RepostLinkedInPostRequest, options?: RequestOptions): Promise<operations.RepostLinkedInPostResponse>;
|
|
67
|
+
/**
|
|
68
|
+
* Unlike a post
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* Remove your reaction from a LinkedIn post using GraphQL mutation. Idempotent if post is not liked. Returns bad_request if post URL is invalid. 0 credits.
|
|
72
|
+
*/
|
|
73
|
+
unlikePost(request: operations.UnlikeLinkedInPostRequest, options?: RequestOptions): Promise<operations.UnlikeLinkedInPostResponse>;
|
|
74
|
+
/**
|
|
75
|
+
* Unlike a comment
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* Remove your reaction from a LinkedIn comment using GraphQL mutation. Accepts both 'urn:li:comment:(urn:li:activity:X,Y)' and 'urn:li:comment:(activity:X,Y)' formats. Also supports ugcPost and share types. 0 credits.
|
|
79
|
+
*/
|
|
80
|
+
unlikeComment(request: operations.UnlikeLinkedInCommentRequest, options?: RequestOptions): Promise<operations.UnlikeLinkedInCommentResponse>;
|
|
81
|
+
/**
|
|
82
|
+
* Unsave a post
|
|
83
|
+
*
|
|
84
|
+
* @remarks
|
|
85
|
+
* Remove a LinkedIn post from bookmarks. Idempotent — unsaving a non-saved post succeeds silently. 0 credits.
|
|
86
|
+
*/
|
|
87
|
+
unsavePost(request: operations.UnsaveLinkedInPostRequest, options?: RequestOptions): Promise<operations.UnsaveLinkedInPostResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* Unfollow a company
|
|
90
|
+
*
|
|
91
|
+
* @remarks
|
|
92
|
+
* Unfollow a LinkedIn company page. 0 credits.
|
|
93
|
+
*/
|
|
94
|
+
unfollowCompany(request: operations.UnfollowLinkedInCompanyRequest, options?: RequestOptions): Promise<operations.UnfollowLinkedInCompanyResponse>;
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=linkedin-actions-1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-actions-1.d.ts","sourceRoot":"","sources":["../../src/sdk/linkedin-actions-1.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;;;;OAKG;IACG,eAAe,CACnB,OAAO,CAAC,EAAE,UAAU,CAAC,8BAA8B,GAAG,SAAS,EAC/D,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;IAED;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAMtD;IAED;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAMpD;IAED;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAM9C;IAED;;;;;OAKG;IACG,kBAAkB,CACtB,OAAO,EAAE,UAAU,CAAC,iCAAiC,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,kCAAkC,CAAC,CAMxD;IAED;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAMnD;IAED;;;;;OAKG;IACG,QAAQ,CACZ,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,wBAAwB,CAAC,CAM9C;IAED;;;;;OAKG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAMjD;IAED;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAMhD;IAED;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAMhD;IAED;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAMnD;IAED;;;;;OAKG;IACG,UAAU,CACd,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC,CAMhD;IAED;;;;;OAKG;IACG,eAAe,CACnB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;CACF"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
import { linkedinActionsAcceptInvitation } from "../funcs/linkedin-actions-accept-invitation.js";
|
|
5
|
+
import { linkedinActionsEditComment } from "../funcs/linkedin-actions-edit-comment.js";
|
|
6
|
+
import { linkedinActionsEditPost } from "../funcs/linkedin-actions-edit-post.js";
|
|
7
|
+
import { linkedinActionsFollowProfile } from "../funcs/linkedin-actions-follow-profile.js";
|
|
8
|
+
import { linkedinActionsLikePost } from "../funcs/linkedin-actions-like-post.js";
|
|
9
|
+
import { linkedinActionsListInvitations } from "../funcs/linkedin-actions-list-invitations.js";
|
|
10
|
+
import { linkedinActionsReplyToComment } from "../funcs/linkedin-actions-reply-to-comment.js";
|
|
11
|
+
import { linkedinActionsRepostPost } from "../funcs/linkedin-actions-repost-post.js";
|
|
12
|
+
import { linkedinActionsUnfollowCompany } from "../funcs/linkedin-actions-unfollow-company.js";
|
|
13
|
+
import { linkedinActionsUnlikeComment } from "../funcs/linkedin-actions-unlike-comment.js";
|
|
14
|
+
import { linkedinActionsUnlikePost } from "../funcs/linkedin-actions-unlike-post.js";
|
|
15
|
+
import { linkedinActionsUnsavePost } from "../funcs/linkedin-actions-unsave-post.js";
|
|
16
|
+
import { linkedinActionsWithdrawInvitation } from "../funcs/linkedin-actions-withdraw-invitation.js";
|
|
17
|
+
import { ClientSDK } from "../lib/sdks.js";
|
|
18
|
+
import { unwrapAsync } from "../types/fp.js";
|
|
19
|
+
export class LinkedinActions1 extends ClientSDK {
|
|
20
|
+
/**
|
|
21
|
+
* List received LinkedIn connection invitations
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* Returns pending connection invitations received by the authenticated LinkedIn account. Each invitation includes the invitationId and sharedSecret needed to accept it via the accept endpoint. Costs 1 credit per request.
|
|
25
|
+
*/
|
|
26
|
+
async listInvitations(request, options) {
|
|
27
|
+
return unwrapAsync(linkedinActionsListInvitations(this, request, options));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Accept a LinkedIn connection invitation
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Accepts a pending connection invitation. Requires the invitationId and sharedSecret obtained from the list invitations endpoint. No daily/weekly cap — only a 5-second minimum interval between calls. Costs 1 credit per request.
|
|
34
|
+
*/
|
|
35
|
+
async acceptInvitation(request, options) {
|
|
36
|
+
return unwrapAsync(linkedinActionsAcceptInvitation(this, request, options));
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Reply to a LinkedIn comment
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* Sends a reply to a LinkedIn comment. Use the commentUrn returned by /collect/linkedin/comments directly — do NOT reconstruct it from hash fields.
|
|
43
|
+
*/
|
|
44
|
+
async replyToComment(request, options) {
|
|
45
|
+
return unwrapAsync(linkedinActionsReplyToComment(this, request, options));
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Like a LinkedIn post
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Reacts to a LinkedIn post. Accepts a post URL and an optional reaction type. Consumes 1 credit per reaction. Supports deduplication via campaignSlug.
|
|
52
|
+
*/
|
|
53
|
+
async likePost(request, options) {
|
|
54
|
+
return unwrapAsync(linkedinActionsLikePost(this, request, options));
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Withdraw a sent connection invitation
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Withdraw a pending sent connection invitation. Pre-fetches invitee details from last 500 sent invitations, then uses SDUI endpoint to withdraw. Only works for CONNECTION type invitations. Returns bad_request if invitation not found, already withdrawn, or accepted. Returns bad_request with message if invitation expired (410). 1 credit.
|
|
61
|
+
*/
|
|
62
|
+
async withdrawInvitation(request, options) {
|
|
63
|
+
return unwrapAsync(linkedinActionsWithdrawInvitation(this, request, options));
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Follow a profile
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Follow a LinkedIn profile without connecting. Uses SDUI endpoint. Accepts profile URL (linkedin.com/in/username), full URN, or vanity name. Requires extracting memberId from fsd_profile URN (base64url decode). 1 credit.
|
|
70
|
+
*/
|
|
71
|
+
async followProfile(request, options) {
|
|
72
|
+
return unwrapAsync(linkedinActionsFollowProfile(this, request, options));
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Edit a post
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* Edit the text content of an existing LinkedIn post. Only text can be changed; media, visibility, and other properties are preserved. Requires resolving the shareUrn from the activityUrn (done internally via up to 5 fallback strategies). Only works for posts in the user's recent feed. Returns bad_request if shareUrn cannot be resolved. 1 credit.
|
|
79
|
+
*/
|
|
80
|
+
async editPost(request, options) {
|
|
81
|
+
return unwrapAsync(linkedinActionsEditPost(this, request, options));
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Edit a comment
|
|
85
|
+
*
|
|
86
|
+
* @remarks
|
|
87
|
+
* Edit the text of an existing LinkedIn comment. Provide either fsdCommentUrn (preferred, from comment API response) or the legacy commentUrn format. Uses REST PARTIAL_UPDATE. Returns not_found if the comment does not exist or URN is malformed, forbidden if it's not your comment. 1 credit.
|
|
88
|
+
*/
|
|
89
|
+
async editComment(request, options) {
|
|
90
|
+
return unwrapAsync(linkedinActionsEditComment(this, request, options));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Repost / share a post
|
|
94
|
+
*
|
|
95
|
+
* @remarks
|
|
96
|
+
* Repost/share a LinkedIn post with quote text. Text is required by LinkedIn. Returns shareUrn on success. Returns bad_request if post URL is invalid, duplicate if already reposted. 1 credit.
|
|
97
|
+
*/
|
|
98
|
+
async repostPost(request, options) {
|
|
99
|
+
return unwrapAsync(linkedinActionsRepostPost(this, request, options));
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Unlike a post
|
|
103
|
+
*
|
|
104
|
+
* @remarks
|
|
105
|
+
* Remove your reaction from a LinkedIn post using GraphQL mutation. Idempotent if post is not liked. Returns bad_request if post URL is invalid. 0 credits.
|
|
106
|
+
*/
|
|
107
|
+
async unlikePost(request, options) {
|
|
108
|
+
return unwrapAsync(linkedinActionsUnlikePost(this, request, options));
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Unlike a comment
|
|
112
|
+
*
|
|
113
|
+
* @remarks
|
|
114
|
+
* Remove your reaction from a LinkedIn comment using GraphQL mutation. Accepts both 'urn:li:comment:(urn:li:activity:X,Y)' and 'urn:li:comment:(activity:X,Y)' formats. Also supports ugcPost and share types. 0 credits.
|
|
115
|
+
*/
|
|
116
|
+
async unlikeComment(request, options) {
|
|
117
|
+
return unwrapAsync(linkedinActionsUnlikeComment(this, request, options));
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Unsave a post
|
|
121
|
+
*
|
|
122
|
+
* @remarks
|
|
123
|
+
* Remove a LinkedIn post from bookmarks. Idempotent — unsaving a non-saved post succeeds silently. 0 credits.
|
|
124
|
+
*/
|
|
125
|
+
async unsavePost(request, options) {
|
|
126
|
+
return unwrapAsync(linkedinActionsUnsavePost(this, request, options));
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Unfollow a company
|
|
130
|
+
*
|
|
131
|
+
* @remarks
|
|
132
|
+
* Unfollow a LinkedIn company page. 0 credits.
|
|
133
|
+
*/
|
|
134
|
+
async unfollowCompany(request, options) {
|
|
135
|
+
return unwrapAsync(linkedinActionsUnfollowCompany(this, request, options));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=linkedin-actions-1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-actions-1.js","sourceRoot":"","sources":["../../src/sdk/linkedin-actions-1.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,+BAA+B,EAAE,MAAM,gDAAgD,CAAC;AACjG,OAAO,EAAE,0BAA0B,EAAE,MAAM,2CAA2C,CAAC;AACvF,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+CAA+C,CAAC;AAC/F,OAAO,EAAE,4BAA4B,EAAE,MAAM,6CAA6C,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAE,SAAS,EAAkB,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CACnB,OAA+D,EAC/D,OAAwB,EAC6B;QACrD,OAAO,WAAW,CAAC,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAmD,EACnD,OAAwB,EAC8B;QACtD,OAAO,WAAW,CAAC,+BAA+B,CAChD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAiD,EACjD,OAAwB,EAC4B;QACpD,OAAO,WAAW,CAAC,6BAA6B,CAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA2C,EAC3C,OAAwB,EACsB;QAC9C,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,kBAAkB,CACtB,OAAqD,EACrD,OAAwB,EACgC;QACxD,OAAO,WAAW,CAAC,iCAAiC,CAClD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAgD,EAChD,OAAwB,EAC2B;QACnD,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,QAAQ,CACZ,OAA2C,EAC3C,OAAwB,EACsB;QAC9C,OAAO,WAAW,CAAC,uBAAuB,CACxC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CACf,OAA8C,EAC9C,OAAwB,EACyB;QACjD,OAAO,WAAW,CAAC,0BAA0B,CAC3C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAAgD,EAChD,OAAwB,EAC2B;QACnD,OAAO,WAAW,CAAC,4BAA4B,CAC7C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,UAAU,CACd,OAA6C,EAC7C,OAAwB,EACwB;QAChD,OAAO,WAAW,CAAC,yBAAyB,CAC1C,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,8BAA8B,CAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
|
+
import * as operations from "../models/operations/index.js";
|
|
3
|
+
export declare class LinkedinChat1 extends ClientSDK {
|
|
4
|
+
/**
|
|
5
|
+
* List LinkedIn inbox conversations
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* List inbox conversations for the authenticated user. Returns conversations with participants, last message, and read status. Paginate via nextCursor.
|
|
9
|
+
*/
|
|
10
|
+
listInboxConversations(request: operations.ListInboxConversationsRequest, options?: RequestOptions): Promise<operations.ListInboxConversationsResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Read messages from a conversation
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* Fetch messages from a specific LinkedIn conversation. 0 credits.
|
|
16
|
+
*
|
|
17
|
+
* Pass the full `conversationUrn` as returned by `/chats/linkedin` or `/chats/linkedin/search`. No parsing required — the server handles extraction internally.
|
|
18
|
+
*
|
|
19
|
+
* Example: `{ "conversationUrn": "urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)" }`
|
|
20
|
+
*/
|
|
21
|
+
getMessages(request: operations.GetConversationMessagesRequest, options?: RequestOptions): Promise<operations.GetConversationMessagesResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Mark all conversations as read
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* Mark all LinkedIn inbox conversations as read. 0 credits.
|
|
27
|
+
*/
|
|
28
|
+
markAllRead(request?: operations.MarkAllConversationsReadRequest | undefined, options?: RequestOptions): Promise<operations.MarkAllConversationsReadResponse>;
|
|
29
|
+
/**
|
|
30
|
+
* List archived conversations
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* List archived LinkedIn conversations. 0 credits.
|
|
34
|
+
*/
|
|
35
|
+
listArchived(request?: operations.ListArchivedConversationsRequest | undefined, options?: RequestOptions): Promise<operations.ListArchivedConversationsResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* React to a message with emoji
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Add an emoji reaction to a LinkedIn message. 0 credits.
|
|
41
|
+
*/
|
|
42
|
+
react(request: operations.ReactToMessageRequest, options?: RequestOptions): Promise<operations.ReactToMessageResponse>;
|
|
43
|
+
/**
|
|
44
|
+
* Send typing indicator
|
|
45
|
+
*
|
|
46
|
+
* @remarks
|
|
47
|
+
* Send a typing indicator to a LinkedIn conversation, simulating natural typing behavior. 0 credits.
|
|
48
|
+
*/
|
|
49
|
+
sendTypingIndicator(request: operations.SendTypingIndicatorRequest, options?: RequestOptions): Promise<operations.SendTypingIndicatorResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Get unread message count
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Get the number of unread LinkedIn messages/conversations. 0 credits.
|
|
55
|
+
*/
|
|
56
|
+
getUnreadCount(request?: operations.GetUnreadCountRequest | undefined, options?: RequestOptions): Promise<operations.GetUnreadCountResponse>;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=linkedin-chat-1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkedin-chat-1.d.ts","sourceRoot":"","sources":["../../src/sdk/linkedin-chat-1.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,aAAc,SAAQ,SAAS;IAC1C;;;;;OAKG;IACG,sBAAsB,CAC1B,OAAO,EAAE,UAAU,CAAC,6BAA6B,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAMpD;IAED;;;;;;;;;OASG;IACG,WAAW,CACf,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;IAED;;;;;OAKG;IACG,WAAW,CACf,OAAO,CAAC,EAAE,UAAU,CAAC,+BAA+B,GAAG,SAAS,EAChE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,gCAAgC,CAAC,CAMtD;IAED;;;;;OAKG;IACG,YAAY,CAChB,OAAO,CAAC,EAAE,UAAU,CAAC,gCAAgC,GAAG,SAAS,EACjE,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,iCAAiC,CAAC,CAMvD;IAED;;;;;OAKG;IACG,KAAK,CACT,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAM5C;IAED;;;;;OAKG;IACG,mBAAmB,CACvB,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC,CAMjD;IAED;;;;;OAKG;IACG,cAAc,CAClB,OAAO,CAAC,EAAE,UAAU,CAAC,qBAAqB,GAAG,SAAS,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAM5C;CACF"}
|