bereach 1.4.0 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +101 -128
- package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
- package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
- package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
- package/esm/funcs/actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/actions-repost-post.d.ts +18 -0
- package/esm/funcs/actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
- package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
- package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
- package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
- package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
- package/esm/funcs/company-pages-posts.d.ts +18 -0
- package/esm/funcs/company-pages-posts.d.ts.map +1 -0
- package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
- package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
- package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
- package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
- package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
- package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
- package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
- package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
- package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/operations/index.d.ts +1 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +906 -889
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/{search-people-response.js → search-companies-response.js} +615 -604
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-campaign.d.ts +188 -180
- package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
- package/esm/models/operations/search-contacts-campaign.js +104 -102
- package/esm/models/operations/search-contacts-campaign.js.map +1 -1
- package/esm/models/operations/update-account-response.d.ts +638 -634
- package/esm/models/operations/update-account-response.d.ts.map +1 -1
- package/esm/models/operations/update-account-response.js +308 -307
- package/esm/models/operations/update-account-response.js.map +1 -1
- package/esm/models/operations/update-schedule-response.d.ts +111 -61
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
- package/esm/models/operations/update-schedule-response.js +37 -32
- package/esm/models/operations/update-schedule-response.js.map +1 -1
- package/esm/sdk/actions.d.ts +133 -0
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +190 -0
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +56 -0
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +80 -0
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.d.ts.map +1 -1
- package/esm/sdk/company-pages.js +3 -3
- package/esm/sdk/company-pages.js.map +1 -1
- package/esm/sdk/contacts.d.ts +12 -12
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -16
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +2 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +6 -6
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +51 -1
- package/esm/sdk/sales-nav.d.ts.map +1 -1
- package/esm/sdk/sales-nav.js +59 -3
- package/esm/sdk/sales-nav.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +49 -0
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +70 -0
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -45
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +383 -0
- package/esm/sdk/search.d.ts.map +1 -1
- package/esm/sdk/search.js +401 -0
- package/esm/sdk/search.js.map +1 -1
- package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
- package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
- package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
- package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
- package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
- package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
- package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
- package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
- package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
- package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
- package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
- package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
- package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
- package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
- package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
- package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
- package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
- package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
- package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
- package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
- package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
- package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
- package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
- package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1919 -1910
- package/src/models/operations/search-contacts-campaign.ts +376 -366
- package/src/models/operations/update-account-response.ts +1156 -1151
- package/src/models/operations/update-schedule-response.ts +180 -125
- package/src/sdk/actions.ts +342 -0
- package/src/sdk/chat.ts +144 -0
- package/src/sdk/company-pages.ts +3 -3
- package/src/sdk/contacts.ts +24 -24
- package/src/sdk/profile.ts +6 -6
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scrapers.ts +126 -0
- package/src/sdk/sdk.ts +0 -56
- package/src/sdk/search.ts +449 -0
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
- package/esm/funcs/profile-get-posts.d.ts +0 -18
- package/esm/funcs/profile-get-posts.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.js.map +0 -1
- package/esm/sdk/linked-in-actions-2.d.ts +0 -47
- package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-actions-2.js +0 -68
- package/esm/sdk/linked-in-actions-2.js.map +0 -1
- package/esm/sdk/linked-in-chat-2.d.ts +0 -33
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -48
- package/esm/sdk/linked-in-chat-2.js.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.js +0 -28
- package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
- package/esm/sdk/linked-in-search-1.d.ts +0 -113
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -122
- package/esm/sdk/linked-in-search-1.js.map +0 -1
- package/esm/sdk/linkedin-actions-1.d.ts +0 -96
- package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions-1.js +0 -138
- package/esm/sdk/linkedin-actions-1.js.map +0 -1
- package/esm/sdk/linkedin-chat-1.d.ts +0 -33
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -48
- package/esm/sdk/linkedin-chat-1.js.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.js +0 -58
- package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
- package/esm/sdk/linkedin-search-2.d.ts +0 -280
- package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
- package/esm/sdk/linkedin-search-2.js +0 -295
- package/esm/sdk/linkedin-search-2.js.map +0 -1
- package/esm/sdk/sales-navigator-search.d.ts +0 -55
- package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
- package/esm/sdk/sales-navigator-search.js +0 -64
- package/esm/sdk/sales-navigator-search.js.map +0 -1
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -81
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -139
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -81
- package/src/sdk/linkedin-scrapers-1.ts +0 -99
- package/src/sdk/linkedin-search-2.ts +0 -328
- package/src/sdk/sales-navigator-search.ts +0 -81
|
@@ -617,122 +617,6 @@ export type People = {
|
|
|
617
617
|
* Search results from Sales Navigator
|
|
618
618
|
*/
|
|
619
619
|
export type SearchSalesNavResponse = People | Companies | discriminatedUnionTypes.Unknown<"category">;
|
|
620
|
-
/**
|
|
621
|
-
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
622
|
-
*/
|
|
623
|
-
export declare const SearchSalesNavCompaniesCategoryRequest: {
|
|
624
|
-
readonly People: "people";
|
|
625
|
-
readonly Companies: "companies";
|
|
626
|
-
};
|
|
627
|
-
/**
|
|
628
|
-
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
629
|
-
*/
|
|
630
|
-
export type SearchSalesNavCompaniesCategoryRequest = ClosedEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
631
|
-
/**
|
|
632
|
-
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
633
|
-
*/
|
|
634
|
-
export type SearchSalesNavCompaniesIndustry = {
|
|
635
|
-
/**
|
|
636
|
-
* IDs to include
|
|
637
|
-
*/
|
|
638
|
-
include?: Array<string> | undefined;
|
|
639
|
-
/**
|
|
640
|
-
* IDs to exclude
|
|
641
|
-
*/
|
|
642
|
-
exclude?: Array<string> | undefined;
|
|
643
|
-
};
|
|
644
|
-
export type SearchSalesNavCompaniesRequest = {
|
|
645
|
-
/**
|
|
646
|
-
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
647
|
-
*/
|
|
648
|
-
category?: SearchSalesNavCompaniesCategoryRequest | undefined;
|
|
649
|
-
/**
|
|
650
|
-
* Sales Navigator search URL — paste directly from your browser. Category and filters are extracted automatically. Explicit params override URL-derived values. Example: https://www.linkedin.com/sales/search/people?query=...
|
|
651
|
-
*/
|
|
652
|
-
url?: string | undefined;
|
|
653
|
-
/**
|
|
654
|
-
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases, AND/OR/NOT operators (UPPERCASE), and parentheses for grouping.
|
|
655
|
-
*/
|
|
656
|
-
keywords?: string | undefined;
|
|
657
|
-
/**
|
|
658
|
-
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
659
|
-
*/
|
|
660
|
-
industry?: SearchSalesNavCompaniesIndustry | undefined;
|
|
661
|
-
/**
|
|
662
|
-
* Geography IDs (people & companies). Resolve via /search/linkedin/parameters with type='GEO'.
|
|
663
|
-
*/
|
|
664
|
-
location?: Array<string> | undefined;
|
|
665
|
-
/**
|
|
666
|
-
* Employee count ranges (companies only). Values: 'A'=1-10, 'B'=11-50, 'C'=51-200, 'D'=201-500, 'E'=501-1K, 'F'=1K-5K, 'G'=5K-10K, 'H'=10K+.
|
|
667
|
-
*/
|
|
668
|
-
companyHeadcount?: Array<string> | undefined;
|
|
669
|
-
/**
|
|
670
|
-
* Company types (companies only). Values: 'C'=Public, 'D'=Educational, 'N'=Non-profit, 'O'=Privately Held, 'P'=Partnership, 'S'=Self-Employed, 'G'=Government.
|
|
671
|
-
*/
|
|
672
|
-
companyType?: Array<string> | undefined;
|
|
673
|
-
/**
|
|
674
|
-
* Annual revenue ranges (companies only).
|
|
675
|
-
*/
|
|
676
|
-
annualRevenue?: Array<string> | undefined;
|
|
677
|
-
/**
|
|
678
|
-
* Pagination offset (default 0).
|
|
679
|
-
*/
|
|
680
|
-
start?: number | undefined;
|
|
681
|
-
/**
|
|
682
|
-
* Results per page (default 25, max 25).
|
|
683
|
-
*/
|
|
684
|
-
count?: number | undefined;
|
|
685
|
-
};
|
|
686
|
-
export declare const SearchSalesNavCompaniesCategoryCompanies: {
|
|
687
|
-
readonly Companies: "companies";
|
|
688
|
-
};
|
|
689
|
-
export type SearchSalesNavCompaniesCategoryCompanies = ClosedEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
690
|
-
export declare const SearchSalesNavCompaniesType: {
|
|
691
|
-
readonly Company: "COMPANY";
|
|
692
|
-
};
|
|
693
|
-
export type SearchSalesNavCompaniesType = ClosedEnum<typeof SearchSalesNavCompaniesType>;
|
|
694
|
-
export type SearchSalesNavCompaniesItem = {
|
|
695
|
-
type: SearchSalesNavCompaniesType;
|
|
696
|
-
/**
|
|
697
|
-
* Sales Navigator company ID
|
|
698
|
-
*/
|
|
699
|
-
id: string;
|
|
700
|
-
name: string;
|
|
701
|
-
/**
|
|
702
|
-
* Sales Navigator company URL
|
|
703
|
-
*/
|
|
704
|
-
profileUrl: string | null;
|
|
705
|
-
summary: string | null;
|
|
706
|
-
industry: string | null;
|
|
707
|
-
location: string | null;
|
|
708
|
-
/**
|
|
709
|
-
* Employee count or range
|
|
710
|
-
*/
|
|
711
|
-
headcount: string | null;
|
|
712
|
-
};
|
|
713
|
-
export type SearchSalesNavCompaniesPaging = {
|
|
714
|
-
start: number;
|
|
715
|
-
count: number;
|
|
716
|
-
total: number;
|
|
717
|
-
};
|
|
718
|
-
/**
|
|
719
|
-
* Sales Navigator company search results
|
|
720
|
-
*/
|
|
721
|
-
export type SearchSalesNavCompaniesResponse = {
|
|
722
|
-
success: true;
|
|
723
|
-
category: SearchSalesNavCompaniesCategoryCompanies;
|
|
724
|
-
items: Array<SearchSalesNavCompaniesItem>;
|
|
725
|
-
paging: SearchSalesNavCompaniesPaging;
|
|
726
|
-
hasMore: boolean;
|
|
727
|
-
/**
|
|
728
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
729
|
-
*/
|
|
730
|
-
creditsUsed: number;
|
|
731
|
-
/**
|
|
732
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
733
|
-
*/
|
|
734
|
-
retryAfter: number;
|
|
735
|
-
};
|
|
736
620
|
/**
|
|
737
621
|
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
738
622
|
*/
|
|
@@ -935,32 +819,113 @@ export type SearchSalesNavPeopleResponse = {
|
|
|
935
819
|
*/
|
|
936
820
|
retryAfter: number;
|
|
937
821
|
};
|
|
938
|
-
|
|
822
|
+
/**
|
|
823
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
824
|
+
*/
|
|
825
|
+
export declare const SearchSalesNavCompaniesCategoryRequest: {
|
|
826
|
+
readonly People: "people";
|
|
827
|
+
readonly Companies: "companies";
|
|
828
|
+
};
|
|
829
|
+
/**
|
|
830
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
831
|
+
*/
|
|
832
|
+
export type SearchSalesNavCompaniesCategoryRequest = ClosedEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
833
|
+
/**
|
|
834
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
835
|
+
*/
|
|
836
|
+
export type SearchSalesNavCompaniesIndustry = {
|
|
939
837
|
/**
|
|
940
|
-
*
|
|
838
|
+
* IDs to include
|
|
941
839
|
*/
|
|
942
|
-
|
|
840
|
+
include?: Array<string> | undefined;
|
|
943
841
|
/**
|
|
944
|
-
*
|
|
842
|
+
* IDs to exclude
|
|
945
843
|
*/
|
|
946
|
-
|
|
844
|
+
exclude?: Array<string> | undefined;
|
|
845
|
+
};
|
|
846
|
+
export type SearchSalesNavCompaniesRequest = {
|
|
947
847
|
/**
|
|
948
|
-
*
|
|
949
|
-
*
|
|
950
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
848
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
951
849
|
*/
|
|
952
|
-
|
|
850
|
+
category?: SearchSalesNavCompaniesCategoryRequest | undefined;
|
|
851
|
+
/**
|
|
852
|
+
* Sales Navigator search URL — paste directly from your browser. Category and filters are extracted automatically. Explicit params override URL-derived values. Example: https://www.linkedin.com/sales/search/people?query=...
|
|
853
|
+
*/
|
|
854
|
+
url?: string | undefined;
|
|
855
|
+
/**
|
|
856
|
+
* Search keywords. Supports LinkedIn Boolean syntax: use double quotes for exact phrases, AND/OR/NOT operators (UPPERCASE), and parentheses for grouping.
|
|
857
|
+
*/
|
|
858
|
+
keywords?: string | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* Industry filter with include/exclude. Use LinkedIn industry IDs. Resolve via /search/linkedin/parameters with type='INDUSTRY'.
|
|
861
|
+
*/
|
|
862
|
+
industry?: SearchSalesNavCompaniesIndustry | undefined;
|
|
863
|
+
/**
|
|
864
|
+
* Geography IDs (people & companies). Resolve via /search/linkedin/parameters with type='GEO'.
|
|
865
|
+
*/
|
|
866
|
+
location?: Array<string> | undefined;
|
|
867
|
+
/**
|
|
868
|
+
* Employee count ranges (companies only). Values: 'A'=1-10, 'B'=11-50, 'C'=51-200, 'D'=201-500, 'E'=501-1K, 'F'=1K-5K, 'G'=5K-10K, 'H'=10K+.
|
|
869
|
+
*/
|
|
870
|
+
companyHeadcount?: Array<string> | undefined;
|
|
871
|
+
/**
|
|
872
|
+
* Company types (companies only). Values: 'C'=Public, 'D'=Educational, 'N'=Non-profit, 'O'=Privately Held, 'P'=Partnership, 'S'=Self-Employed, 'G'=Government.
|
|
873
|
+
*/
|
|
874
|
+
companyType?: Array<string> | undefined;
|
|
875
|
+
/**
|
|
876
|
+
* Annual revenue ranges (companies only).
|
|
877
|
+
*/
|
|
878
|
+
annualRevenue?: Array<string> | undefined;
|
|
879
|
+
/**
|
|
880
|
+
* Pagination offset (default 0).
|
|
881
|
+
*/
|
|
882
|
+
start?: number | undefined;
|
|
883
|
+
/**
|
|
884
|
+
* Results per page (default 25, max 25).
|
|
885
|
+
*/
|
|
886
|
+
count?: number | undefined;
|
|
887
|
+
};
|
|
888
|
+
export declare const SearchSalesNavCompaniesCategoryCompanies: {
|
|
889
|
+
readonly Companies: "companies";
|
|
890
|
+
};
|
|
891
|
+
export type SearchSalesNavCompaniesCategoryCompanies = ClosedEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
892
|
+
export declare const SearchSalesNavCompaniesType: {
|
|
893
|
+
readonly Company: "COMPANY";
|
|
894
|
+
};
|
|
895
|
+
export type SearchSalesNavCompaniesType = ClosedEnum<typeof SearchSalesNavCompaniesType>;
|
|
896
|
+
export type SearchSalesNavCompaniesItem = {
|
|
897
|
+
type: SearchSalesNavCompaniesType;
|
|
898
|
+
/**
|
|
899
|
+
* Sales Navigator company ID
|
|
900
|
+
*/
|
|
901
|
+
id: string;
|
|
902
|
+
name: string;
|
|
903
|
+
/**
|
|
904
|
+
* Sales Navigator company URL
|
|
905
|
+
*/
|
|
906
|
+
profileUrl: string | null;
|
|
907
|
+
summary: string | null;
|
|
908
|
+
industry: string | null;
|
|
909
|
+
location: string | null;
|
|
910
|
+
/**
|
|
911
|
+
* Employee count or range
|
|
912
|
+
*/
|
|
913
|
+
headcount: string | null;
|
|
914
|
+
};
|
|
915
|
+
export type SearchSalesNavCompaniesPaging = {
|
|
916
|
+
start: number;
|
|
917
|
+
count: number;
|
|
918
|
+
total: number;
|
|
953
919
|
};
|
|
954
920
|
/**
|
|
955
|
-
*
|
|
921
|
+
* Sales Navigator company search results
|
|
956
922
|
*/
|
|
957
|
-
export type
|
|
923
|
+
export type SearchSalesNavCompaniesResponse = {
|
|
958
924
|
success: true;
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
duplicate?: boolean | undefined;
|
|
925
|
+
category: SearchSalesNavCompaniesCategoryCompanies;
|
|
926
|
+
items: Array<SearchSalesNavCompaniesItem>;
|
|
927
|
+
paging: SearchSalesNavCompaniesPaging;
|
|
928
|
+
hasMore: boolean;
|
|
964
929
|
/**
|
|
965
930
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
966
931
|
*/
|
|
@@ -970,19 +935,11 @@ export type ConnectProfileResponse = {
|
|
|
970
935
|
*/
|
|
971
936
|
retryAfter: number;
|
|
972
937
|
};
|
|
973
|
-
export type
|
|
974
|
-
/**
|
|
975
|
-
* Accepts full LinkedIn profile URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:member:123456).
|
|
976
|
-
*/
|
|
977
|
-
profile?: string | undefined;
|
|
978
|
-
/**
|
|
979
|
-
* LinkedIn conversation URN. When provided, bypasses profile URL lookup and replies to an existing conversation.
|
|
980
|
-
*/
|
|
981
|
-
conversationUrn?: string | undefined;
|
|
938
|
+
export type ConnectProfileRequest = {
|
|
982
939
|
/**
|
|
983
|
-
*
|
|
940
|
+
* LinkedIn profile identifier. Accepts full URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
984
941
|
*/
|
|
985
|
-
|
|
942
|
+
profile: string;
|
|
986
943
|
/**
|
|
987
944
|
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
988
945
|
*/
|
|
@@ -995,13 +952,13 @@ export type SendMessageRequest = {
|
|
|
995
952
|
actionSlug?: string | undefined;
|
|
996
953
|
};
|
|
997
954
|
/**
|
|
998
|
-
*
|
|
955
|
+
* Connection request sent successfully
|
|
999
956
|
*/
|
|
1000
|
-
export type
|
|
957
|
+
export type ConnectProfileResponse = {
|
|
1001
958
|
success: true;
|
|
1002
|
-
|
|
959
|
+
message: string;
|
|
1003
960
|
/**
|
|
1004
|
-
* True if
|
|
961
|
+
* True if a connection request was already successfully sent to this profile this week
|
|
1005
962
|
*/
|
|
1006
963
|
duplicate?: boolean | undefined;
|
|
1007
964
|
/**
|
|
@@ -1013,76 +970,9 @@ export type SendMessageResponse = {
|
|
|
1013
970
|
*/
|
|
1014
971
|
retryAfter: number;
|
|
1015
972
|
};
|
|
1016
|
-
export type
|
|
973
|
+
export type ListInvitationsRequest = {
|
|
1017
974
|
/**
|
|
1018
|
-
* Pagination offset
|
|
1019
|
-
*/
|
|
1020
|
-
start?: number | undefined;
|
|
1021
|
-
/**
|
|
1022
|
-
* Number of invitations to return
|
|
1023
|
-
*/
|
|
1024
|
-
count?: number | undefined;
|
|
1025
|
-
};
|
|
1026
|
-
export type ToMember = {
|
|
1027
|
-
name: string;
|
|
1028
|
-
headline: string | null;
|
|
1029
|
-
profileUrl: string | null;
|
|
1030
|
-
profilePicture: string | null;
|
|
1031
|
-
publicIdentifier: string | null;
|
|
1032
|
-
profileUrn: string | null;
|
|
1033
|
-
};
|
|
1034
|
-
export type ListSentInvitationsInvitation = {
|
|
1035
|
-
invitationId: string;
|
|
1036
|
-
invitationUrn: string;
|
|
1037
|
-
entityUrn: string;
|
|
1038
|
-
sentAt: string | null;
|
|
1039
|
-
message: string | null;
|
|
1040
|
-
targetProfileId: string | null;
|
|
1041
|
-
targetFirstName: string | null;
|
|
1042
|
-
targetLastName: string | null;
|
|
1043
|
-
toMember: ToMember | null;
|
|
1044
|
-
};
|
|
1045
|
-
/**
|
|
1046
|
-
* Sent invitations
|
|
1047
|
-
*/
|
|
1048
|
-
export type ListSentInvitationsResponse = {
|
|
1049
|
-
success: true;
|
|
1050
|
-
invitations: Array<ListSentInvitationsInvitation>;
|
|
1051
|
-
total: number;
|
|
1052
|
-
start: number;
|
|
1053
|
-
count: number;
|
|
1054
|
-
/**
|
|
1055
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1056
|
-
*/
|
|
1057
|
-
creditsUsed: number;
|
|
1058
|
-
/**
|
|
1059
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1060
|
-
*/
|
|
1061
|
-
retryAfter: number;
|
|
1062
|
-
};
|
|
1063
|
-
export type FollowCompanyRequest = {
|
|
1064
|
-
/**
|
|
1065
|
-
* LinkedIn company URL or URN
|
|
1066
|
-
*/
|
|
1067
|
-
company: string;
|
|
1068
|
-
};
|
|
1069
|
-
/**
|
|
1070
|
-
* Company followed
|
|
1071
|
-
*/
|
|
1072
|
-
export type FollowCompanyResponse = {
|
|
1073
|
-
success: true;
|
|
1074
|
-
/**
|
|
1075
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1076
|
-
*/
|
|
1077
|
-
creditsUsed: number;
|
|
1078
|
-
/**
|
|
1079
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1080
|
-
*/
|
|
1081
|
-
retryAfter: number;
|
|
1082
|
-
};
|
|
1083
|
-
export type ListInvitationsRequest = {
|
|
1084
|
-
/**
|
|
1085
|
-
* Pagination offset (0-based)
|
|
975
|
+
* Pagination offset (0-based)
|
|
1086
976
|
*/
|
|
1087
977
|
start?: number | undefined;
|
|
1088
978
|
/**
|
|
@@ -1197,6 +1087,49 @@ export type AcceptInvitationResponse = {
|
|
|
1197
1087
|
*/
|
|
1198
1088
|
retryAfter: number;
|
|
1199
1089
|
};
|
|
1090
|
+
export type SendMessageRequest = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Accepts full LinkedIn profile URLs (e.g. https://www.linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:member:123456).
|
|
1093
|
+
*/
|
|
1094
|
+
profile?: string | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* LinkedIn conversation URN. When provided, bypasses profile URL lookup and replies to an existing conversation.
|
|
1097
|
+
*/
|
|
1098
|
+
conversationUrn?: string | undefined;
|
|
1099
|
+
/**
|
|
1100
|
+
* Message content to send
|
|
1101
|
+
*/
|
|
1102
|
+
message: string;
|
|
1103
|
+
/**
|
|
1104
|
+
* Campaign identifier for deduplication. Dedup by profile automatically.
|
|
1105
|
+
*/
|
|
1106
|
+
campaignSlug?: string | undefined;
|
|
1107
|
+
/**
|
|
1108
|
+
* Deprecated. Use campaignSlug only.
|
|
1109
|
+
*
|
|
1110
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1111
|
+
*/
|
|
1112
|
+
actionSlug?: string | undefined;
|
|
1113
|
+
};
|
|
1114
|
+
/**
|
|
1115
|
+
* Message sent successfully
|
|
1116
|
+
*/
|
|
1117
|
+
export type SendMessageResponse = {
|
|
1118
|
+
success: true;
|
|
1119
|
+
messageId: string;
|
|
1120
|
+
/**
|
|
1121
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1122
|
+
*/
|
|
1123
|
+
duplicate?: boolean | undefined;
|
|
1124
|
+
/**
|
|
1125
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1126
|
+
*/
|
|
1127
|
+
creditsUsed: number;
|
|
1128
|
+
/**
|
|
1129
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1130
|
+
*/
|
|
1131
|
+
retryAfter: number;
|
|
1132
|
+
};
|
|
1200
1133
|
export type ReplyToCommentRequest = {
|
|
1201
1134
|
/**
|
|
1202
1135
|
* LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
|
|
@@ -1242,7 +1175,7 @@ export type ReplyToCommentResponse = {
|
|
|
1242
1175
|
/**
|
|
1243
1176
|
* Reaction type (default: LIKE)
|
|
1244
1177
|
*/
|
|
1245
|
-
export declare const
|
|
1178
|
+
export declare const LikeCommentReactionType: {
|
|
1246
1179
|
readonly Like: "LIKE";
|
|
1247
1180
|
readonly Love: "LOVE";
|
|
1248
1181
|
readonly Celebrate: "CELEBRATE";
|
|
@@ -1253,22 +1186,18 @@ export declare const LikePostReactionType: {
|
|
|
1253
1186
|
/**
|
|
1254
1187
|
* Reaction type (default: LIKE)
|
|
1255
1188
|
*/
|
|
1256
|
-
export type
|
|
1257
|
-
export type
|
|
1189
|
+
export type LikeCommentReactionType = ClosedEnum<typeof LikeCommentReactionType>;
|
|
1190
|
+
export type LikeCommentRequest = {
|
|
1258
1191
|
/**
|
|
1259
|
-
* LinkedIn
|
|
1192
|
+
* LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
|
|
1260
1193
|
*/
|
|
1261
|
-
|
|
1194
|
+
commentUrn: string;
|
|
1262
1195
|
/**
|
|
1263
1196
|
* Reaction type (default: LIKE)
|
|
1264
1197
|
*/
|
|
1265
|
-
reactionType?:
|
|
1266
|
-
/**
|
|
1267
|
-
* Act as a company page. Pass the numeric company ID from listCompanyPages. Requires admin access.
|
|
1268
|
-
*/
|
|
1269
|
-
companyId?: string | undefined;
|
|
1198
|
+
reactionType?: LikeCommentReactionType | undefined;
|
|
1270
1199
|
/**
|
|
1271
|
-
* Campaign identifier for deduplication. Dedup by
|
|
1200
|
+
* Campaign identifier for deduplication. Dedup by commentUrn automatically.
|
|
1272
1201
|
*/
|
|
1273
1202
|
campaignSlug?: string | undefined;
|
|
1274
1203
|
/**
|
|
@@ -1279,9 +1208,9 @@ export type LikePostRequest = {
|
|
|
1279
1208
|
actionSlug?: string | undefined;
|
|
1280
1209
|
};
|
|
1281
1210
|
/**
|
|
1282
|
-
*
|
|
1211
|
+
* Comment liked successfully
|
|
1283
1212
|
*/
|
|
1284
|
-
export type
|
|
1213
|
+
export type LikeCommentResponse = {
|
|
1285
1214
|
success: true;
|
|
1286
1215
|
/**
|
|
1287
1216
|
* Resource key of the created reaction
|
|
@@ -1300,91 +1229,107 @@ export type LikePostResponse = {
|
|
|
1300
1229
|
*/
|
|
1301
1230
|
retryAfter: number;
|
|
1302
1231
|
};
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1232
|
+
/**
|
|
1233
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1234
|
+
*/
|
|
1235
|
+
export declare const PublishPostMode: {
|
|
1236
|
+
readonly Scheduled: "scheduled";
|
|
1237
|
+
readonly Instant: "instant";
|
|
1308
1238
|
};
|
|
1309
1239
|
/**
|
|
1310
|
-
*
|
|
1240
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1311
1241
|
*/
|
|
1312
|
-
export type
|
|
1313
|
-
|
|
1314
|
-
|
|
1242
|
+
export type PublishPostMode = ClosedEnum<typeof PublishPostMode>;
|
|
1243
|
+
/**
|
|
1244
|
+
* Post visibility
|
|
1245
|
+
*/
|
|
1246
|
+
export declare const Visibility: {
|
|
1247
|
+
readonly Anyone: "ANYONE";
|
|
1248
|
+
readonly Connections: "CONNECTIONS";
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* Post visibility
|
|
1252
|
+
*/
|
|
1253
|
+
export type Visibility = ClosedEnum<typeof Visibility>;
|
|
1254
|
+
export type Mention = {
|
|
1315
1255
|
/**
|
|
1316
|
-
*
|
|
1256
|
+
* LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
|
|
1317
1257
|
*/
|
|
1318
|
-
|
|
1258
|
+
profileUrn: string;
|
|
1319
1259
|
/**
|
|
1320
|
-
*
|
|
1260
|
+
* Start character offset in the text where the mention begins
|
|
1321
1261
|
*/
|
|
1322
|
-
|
|
1323
|
-
};
|
|
1324
|
-
export type FollowProfileRequest = {
|
|
1262
|
+
start: number;
|
|
1325
1263
|
/**
|
|
1326
|
-
*
|
|
1264
|
+
* Length of the mention text in characters
|
|
1327
1265
|
*/
|
|
1328
|
-
|
|
1266
|
+
length: number;
|
|
1329
1267
|
};
|
|
1330
|
-
|
|
1331
|
-
* Profile followed
|
|
1332
|
-
*/
|
|
1333
|
-
export type FollowProfileResponse = {
|
|
1334
|
-
success: true;
|
|
1335
|
-
message: string;
|
|
1268
|
+
export type PublishPostRequest = {
|
|
1336
1269
|
/**
|
|
1337
|
-
*
|
|
1270
|
+
* Post commentary text
|
|
1338
1271
|
*/
|
|
1339
|
-
|
|
1272
|
+
text: string;
|
|
1340
1273
|
/**
|
|
1341
|
-
*
|
|
1274
|
+
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1342
1275
|
*/
|
|
1343
|
-
|
|
1344
|
-
};
|
|
1345
|
-
export type EditPostRequest = {
|
|
1276
|
+
mode: PublishPostMode;
|
|
1346
1277
|
/**
|
|
1347
|
-
*
|
|
1278
|
+
* Timestamp in milliseconds for scheduled posts (required when mode='scheduled')
|
|
1348
1279
|
*/
|
|
1349
|
-
|
|
1280
|
+
scheduledAt?: number | undefined;
|
|
1350
1281
|
/**
|
|
1351
|
-
*
|
|
1282
|
+
* If provided, post will be published as this company page (organization ID). User must be admin of the page.
|
|
1352
1283
|
*/
|
|
1353
|
-
|
|
1354
|
-
};
|
|
1355
|
-
/**
|
|
1356
|
-
* Post edited
|
|
1357
|
-
*/
|
|
1358
|
-
export type EditPostResponse = {
|
|
1359
|
-
success: true;
|
|
1284
|
+
companyId?: string | undefined;
|
|
1360
1285
|
/**
|
|
1361
|
-
*
|
|
1286
|
+
* URL of an image to attach to the post. Mutually exclusive with imageBase64.
|
|
1362
1287
|
*/
|
|
1363
|
-
|
|
1288
|
+
imageUrl?: string | undefined;
|
|
1364
1289
|
/**
|
|
1365
|
-
*
|
|
1290
|
+
* Base64-encoded image data to attach to the post (e.g. data:image/png;base64,iVBOR... or raw base64). Mutually exclusive with imageUrl.
|
|
1366
1291
|
*/
|
|
1367
|
-
|
|
1368
|
-
};
|
|
1369
|
-
export type EditCommentRequest = {
|
|
1292
|
+
imageBase64?: string | undefined;
|
|
1370
1293
|
/**
|
|
1371
|
-
*
|
|
1294
|
+
* Filename for the uploaded image (e.g. 'banner.png'). Used with imageBase64. Defaults to 'image.jpg'.
|
|
1372
1295
|
*/
|
|
1373
|
-
|
|
1296
|
+
imageFileName?: string | undefined;
|
|
1374
1297
|
/**
|
|
1375
|
-
*
|
|
1298
|
+
* Post visibility
|
|
1376
1299
|
*/
|
|
1377
|
-
|
|
1300
|
+
visibility?: Visibility | undefined;
|
|
1378
1301
|
/**
|
|
1379
|
-
*
|
|
1302
|
+
* Profile mentions with text positions
|
|
1380
1303
|
*/
|
|
1381
|
-
|
|
1304
|
+
mentions?: Array<Mention> | undefined;
|
|
1305
|
+
/**
|
|
1306
|
+
* Campaign identifier for deduplication.
|
|
1307
|
+
*/
|
|
1308
|
+
campaignSlug?: string | undefined;
|
|
1309
|
+
/**
|
|
1310
|
+
* Deprecated. Use campaignSlug only.
|
|
1311
|
+
*
|
|
1312
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1313
|
+
*/
|
|
1314
|
+
actionSlug?: string | undefined;
|
|
1382
1315
|
};
|
|
1383
1316
|
/**
|
|
1384
|
-
*
|
|
1317
|
+
* Post published or scheduled successfully
|
|
1385
1318
|
*/
|
|
1386
|
-
export type
|
|
1319
|
+
export type PublishPostResponse = {
|
|
1387
1320
|
success: true;
|
|
1321
|
+
/**
|
|
1322
|
+
* URN of the created share (e.g., 'urn:li:fsd_share:urn:li:share:123...')
|
|
1323
|
+
*/
|
|
1324
|
+
shareUrn: string;
|
|
1325
|
+
/**
|
|
1326
|
+
* Activity URN (only available for instant mode)
|
|
1327
|
+
*/
|
|
1328
|
+
activityUrn: string | null;
|
|
1329
|
+
/**
|
|
1330
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1331
|
+
*/
|
|
1332
|
+
duplicate?: boolean | undefined;
|
|
1388
1333
|
/**
|
|
1389
1334
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1390
1335
|
*/
|
|
@@ -1394,22 +1339,47 @@ export type EditCommentResponse = {
|
|
|
1394
1339
|
*/
|
|
1395
1340
|
retryAfter: number;
|
|
1396
1341
|
};
|
|
1397
|
-
export type
|
|
1342
|
+
export type CreateCommentRequest = {
|
|
1398
1343
|
/**
|
|
1399
|
-
* LinkedIn post URL
|
|
1344
|
+
* LinkedIn post URL (e.g., 'https://www.linkedin.com/feed/update/urn:li:activity:7399026485694537728/')
|
|
1400
1345
|
*/
|
|
1401
1346
|
postUrl: string;
|
|
1402
1347
|
/**
|
|
1403
|
-
*
|
|
1348
|
+
* Comment text
|
|
1404
1349
|
*/
|
|
1405
|
-
|
|
1350
|
+
message: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* If provided, comment will be posted as this company page (organization ID). User must be admin of the page.
|
|
1353
|
+
*/
|
|
1354
|
+
companyId?: string | undefined;
|
|
1355
|
+
/**
|
|
1356
|
+
* Campaign identifier for deduplication. Dedup by postUrl automatically.
|
|
1357
|
+
*/
|
|
1358
|
+
campaignSlug?: string | undefined;
|
|
1359
|
+
/**
|
|
1360
|
+
* Deprecated. Use campaignSlug only.
|
|
1361
|
+
*
|
|
1362
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1363
|
+
*/
|
|
1364
|
+
actionSlug?: string | undefined;
|
|
1406
1365
|
};
|
|
1407
1366
|
/**
|
|
1408
|
-
*
|
|
1367
|
+
* Comment posted successfully
|
|
1409
1368
|
*/
|
|
1410
|
-
export type
|
|
1369
|
+
export type CreateCommentResponse = {
|
|
1411
1370
|
success: true;
|
|
1412
|
-
|
|
1371
|
+
/**
|
|
1372
|
+
* URN of the created comment (e.g., 'urn:li:comment:(activity:PARENT_ID,COMMENT_ID)')
|
|
1373
|
+
*/
|
|
1374
|
+
commentUrn?: string | undefined;
|
|
1375
|
+
/**
|
|
1376
|
+
* FSD-format comment URN for use with the edit comment endpoint.
|
|
1377
|
+
*/
|
|
1378
|
+
fsdCommentUrn?: string | undefined;
|
|
1379
|
+
/**
|
|
1380
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1381
|
+
*/
|
|
1382
|
+
duplicate?: boolean | undefined;
|
|
1413
1383
|
/**
|
|
1414
1384
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1415
1385
|
*/
|
|
@@ -1419,17 +1389,58 @@ export type RepostPostResponse = {
|
|
|
1419
1389
|
*/
|
|
1420
1390
|
retryAfter: number;
|
|
1421
1391
|
};
|
|
1422
|
-
|
|
1392
|
+
/**
|
|
1393
|
+
* Reaction type (default: LIKE)
|
|
1394
|
+
*/
|
|
1395
|
+
export declare const LikePostReactionType: {
|
|
1396
|
+
readonly Like: "LIKE";
|
|
1397
|
+
readonly Love: "LOVE";
|
|
1398
|
+
readonly Celebrate: "CELEBRATE";
|
|
1399
|
+
readonly Support: "SUPPORT";
|
|
1400
|
+
readonly Funny: "FUNNY";
|
|
1401
|
+
readonly Insightful: "INSIGHTFUL";
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* Reaction type (default: LIKE)
|
|
1405
|
+
*/
|
|
1406
|
+
export type LikePostReactionType = ClosedEnum<typeof LikePostReactionType>;
|
|
1407
|
+
export type LikePostRequest = {
|
|
1423
1408
|
/**
|
|
1424
|
-
* LinkedIn post URL
|
|
1409
|
+
* LinkedIn post URL (e.g., 'https://www.linkedin.com/feed/update/urn:li:activity:7399026485694537728/')
|
|
1425
1410
|
*/
|
|
1426
1411
|
postUrl: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Reaction type (default: LIKE)
|
|
1414
|
+
*/
|
|
1415
|
+
reactionType?: LikePostReactionType | undefined;
|
|
1416
|
+
/**
|
|
1417
|
+
* Act as a company page. Pass the numeric company ID from listCompanyPages. Requires admin access.
|
|
1418
|
+
*/
|
|
1419
|
+
companyId?: string | undefined;
|
|
1420
|
+
/**
|
|
1421
|
+
* Campaign identifier for deduplication. Dedup by postUrl automatically.
|
|
1422
|
+
*/
|
|
1423
|
+
campaignSlug?: string | undefined;
|
|
1424
|
+
/**
|
|
1425
|
+
* Deprecated. Use campaignSlug only.
|
|
1426
|
+
*
|
|
1427
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1428
|
+
*/
|
|
1429
|
+
actionSlug?: string | undefined;
|
|
1427
1430
|
};
|
|
1428
1431
|
/**
|
|
1429
|
-
*
|
|
1432
|
+
* Post liked successfully
|
|
1430
1433
|
*/
|
|
1431
|
-
export type
|
|
1434
|
+
export type LikePostResponse = {
|
|
1432
1435
|
success: true;
|
|
1436
|
+
/**
|
|
1437
|
+
* Resource key of the created reaction
|
|
1438
|
+
*/
|
|
1439
|
+
resourceKey?: string | undefined;
|
|
1440
|
+
/**
|
|
1441
|
+
* True if this action was already executed for the given campaignSlug + target.
|
|
1442
|
+
*/
|
|
1443
|
+
duplicate?: boolean | undefined;
|
|
1433
1444
|
/**
|
|
1434
1445
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1435
1446
|
*/
|
|
@@ -1439,17 +1450,26 @@ export type UnlikePostResponse = {
|
|
|
1439
1450
|
*/
|
|
1440
1451
|
retryAfter: number;
|
|
1441
1452
|
};
|
|
1442
|
-
export type
|
|
1453
|
+
export type DeclineInvitationRequest = {
|
|
1443
1454
|
/**
|
|
1444
|
-
*
|
|
1455
|
+
* Invitation ID from the list invitations endpoint
|
|
1445
1456
|
*/
|
|
1446
|
-
|
|
1457
|
+
invitationId: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* Shared secret / validation token from the list invitations endpoint
|
|
1460
|
+
*/
|
|
1461
|
+
sharedSecret: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* Sender's profile ID (optional, improves accuracy)
|
|
1464
|
+
*/
|
|
1465
|
+
senderProfileId?: string | undefined;
|
|
1447
1466
|
};
|
|
1448
1467
|
/**
|
|
1449
|
-
*
|
|
1468
|
+
* Invitation declined
|
|
1450
1469
|
*/
|
|
1451
|
-
export type
|
|
1470
|
+
export type DeclineInvitationResponse = {
|
|
1452
1471
|
success: true;
|
|
1472
|
+
message: string;
|
|
1453
1473
|
/**
|
|
1454
1474
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1455
1475
|
*/
|
|
@@ -1459,17 +1479,44 @@ export type UnlikeCommentResponse = {
|
|
|
1459
1479
|
*/
|
|
1460
1480
|
retryAfter: number;
|
|
1461
1481
|
};
|
|
1462
|
-
export type
|
|
1482
|
+
export type ListSentInvitationsRequest = {
|
|
1463
1483
|
/**
|
|
1464
|
-
*
|
|
1484
|
+
* Pagination offset
|
|
1465
1485
|
*/
|
|
1466
|
-
|
|
1486
|
+
start?: number | undefined;
|
|
1487
|
+
/**
|
|
1488
|
+
* Number of invitations to return
|
|
1489
|
+
*/
|
|
1490
|
+
count?: number | undefined;
|
|
1491
|
+
};
|
|
1492
|
+
export type ToMember = {
|
|
1493
|
+
name: string;
|
|
1494
|
+
headline: string | null;
|
|
1495
|
+
profileUrl: string | null;
|
|
1496
|
+
profilePicture: string | null;
|
|
1497
|
+
publicIdentifier: string | null;
|
|
1498
|
+
profileUrn: string | null;
|
|
1499
|
+
};
|
|
1500
|
+
export type ListSentInvitationsInvitation = {
|
|
1501
|
+
invitationId: string;
|
|
1502
|
+
invitationUrn: string;
|
|
1503
|
+
entityUrn: string;
|
|
1504
|
+
sentAt: string | null;
|
|
1505
|
+
message: string | null;
|
|
1506
|
+
targetProfileId: string | null;
|
|
1507
|
+
targetFirstName: string | null;
|
|
1508
|
+
targetLastName: string | null;
|
|
1509
|
+
toMember: ToMember | null;
|
|
1467
1510
|
};
|
|
1468
1511
|
/**
|
|
1469
|
-
*
|
|
1512
|
+
* Sent invitations
|
|
1470
1513
|
*/
|
|
1471
|
-
export type
|
|
1514
|
+
export type ListSentInvitationsResponse = {
|
|
1472
1515
|
success: true;
|
|
1516
|
+
invitations: Array<ListSentInvitationsInvitation>;
|
|
1517
|
+
total: number;
|
|
1518
|
+
start: number;
|
|
1519
|
+
count: number;
|
|
1473
1520
|
/**
|
|
1474
1521
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1475
1522
|
*/
|
|
@@ -1479,17 +1526,18 @@ export type UnsavePostResponse = {
|
|
|
1479
1526
|
*/
|
|
1480
1527
|
retryAfter: number;
|
|
1481
1528
|
};
|
|
1482
|
-
export type
|
|
1529
|
+
export type WithdrawInvitationRequest = {
|
|
1483
1530
|
/**
|
|
1484
|
-
*
|
|
1531
|
+
* Full invitation URN (e.g. urn:li:fs_relInvitation:123) or numeric invitation ID
|
|
1485
1532
|
*/
|
|
1486
|
-
|
|
1533
|
+
invitationUrn: string;
|
|
1487
1534
|
};
|
|
1488
1535
|
/**
|
|
1489
|
-
*
|
|
1536
|
+
* Invitation withdrawn
|
|
1490
1537
|
*/
|
|
1491
|
-
export type
|
|
1538
|
+
export type WithdrawInvitationResponse = {
|
|
1492
1539
|
success: true;
|
|
1540
|
+
message: string;
|
|
1493
1541
|
/**
|
|
1494
1542
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1495
1543
|
*/
|
|
@@ -1499,54 +1547,18 @@ export type UnfollowCompanyResponse = {
|
|
|
1499
1547
|
*/
|
|
1500
1548
|
retryAfter: number;
|
|
1501
1549
|
};
|
|
1502
|
-
|
|
1503
|
-
* Reaction type (default: LIKE)
|
|
1504
|
-
*/
|
|
1505
|
-
export declare const LikeCommentReactionType: {
|
|
1506
|
-
readonly Like: "LIKE";
|
|
1507
|
-
readonly Love: "LOVE";
|
|
1508
|
-
readonly Celebrate: "CELEBRATE";
|
|
1509
|
-
readonly Support: "SUPPORT";
|
|
1510
|
-
readonly Funny: "FUNNY";
|
|
1511
|
-
readonly Insightful: "INSIGHTFUL";
|
|
1512
|
-
};
|
|
1513
|
-
/**
|
|
1514
|
-
* Reaction type (default: LIKE)
|
|
1515
|
-
*/
|
|
1516
|
-
export type LikeCommentReactionType = ClosedEnum<typeof LikeCommentReactionType>;
|
|
1517
|
-
export type LikeCommentRequest = {
|
|
1518
|
-
/**
|
|
1519
|
-
* LinkedIn comment URN (e.g., 'urn:li:comment:(activity:7399026485694537728,7399230513867026433)')
|
|
1520
|
-
*/
|
|
1521
|
-
commentUrn: string;
|
|
1522
|
-
/**
|
|
1523
|
-
* Reaction type (default: LIKE)
|
|
1524
|
-
*/
|
|
1525
|
-
reactionType?: LikeCommentReactionType | undefined;
|
|
1526
|
-
/**
|
|
1527
|
-
* Campaign identifier for deduplication. Dedup by commentUrn automatically.
|
|
1528
|
-
*/
|
|
1529
|
-
campaignSlug?: string | undefined;
|
|
1550
|
+
export type FollowProfileRequest = {
|
|
1530
1551
|
/**
|
|
1531
|
-
*
|
|
1532
|
-
*
|
|
1533
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1552
|
+
* Accepts full LinkedIn profile URLs (e.g. linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
1534
1553
|
*/
|
|
1535
|
-
|
|
1554
|
+
profile: string;
|
|
1536
1555
|
};
|
|
1537
1556
|
/**
|
|
1538
|
-
*
|
|
1557
|
+
* Profile followed
|
|
1539
1558
|
*/
|
|
1540
|
-
export type
|
|
1559
|
+
export type FollowProfileResponse = {
|
|
1541
1560
|
success: true;
|
|
1542
|
-
|
|
1543
|
-
* Resource key of the created reaction
|
|
1544
|
-
*/
|
|
1545
|
-
resourceKey?: string | undefined;
|
|
1546
|
-
/**
|
|
1547
|
-
* True if this action was already executed for the given campaignSlug + target.
|
|
1548
|
-
*/
|
|
1549
|
-
duplicate?: boolean | undefined;
|
|
1561
|
+
message: string;
|
|
1550
1562
|
/**
|
|
1551
1563
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1552
1564
|
*/
|
|
@@ -1556,107 +1568,95 @@ export type LikeCommentResponse = {
|
|
|
1556
1568
|
*/
|
|
1557
1569
|
retryAfter: number;
|
|
1558
1570
|
};
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
readonly Instant: "instant";
|
|
1565
|
-
};
|
|
1566
|
-
/**
|
|
1567
|
-
* Publish mode: 'instant' publishes immediately, 'scheduled' schedules for later
|
|
1568
|
-
*/
|
|
1569
|
-
export type PublishPostMode = ClosedEnum<typeof PublishPostMode>;
|
|
1570
|
-
/**
|
|
1571
|
-
* Post visibility
|
|
1572
|
-
*/
|
|
1573
|
-
export declare const Visibility: {
|
|
1574
|
-
readonly Anyone: "ANYONE";
|
|
1575
|
-
readonly Connections: "CONNECTIONS";
|
|
1571
|
+
export type UnfollowProfileRequest = {
|
|
1572
|
+
/**
|
|
1573
|
+
* Accepts full LinkedIn profile URLs (e.g. linkedin.com/in/username), vanity names (e.g. john-doe), or profile URNs (e.g. urn:li:fsd_profile:ACoAAA...).
|
|
1574
|
+
*/
|
|
1575
|
+
profile: string;
|
|
1576
1576
|
};
|
|
1577
1577
|
/**
|
|
1578
|
-
*
|
|
1578
|
+
* Profile unfollowed
|
|
1579
1579
|
*/
|
|
1580
|
-
export type
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
* LinkedIn profile URN of the mentioned person (e.g., 'urn:li:fsd_profile:ACoAABZ0Qo4B...')
|
|
1584
|
-
*/
|
|
1585
|
-
profileUrn: string;
|
|
1580
|
+
export type UnfollowProfileResponse = {
|
|
1581
|
+
success: true;
|
|
1582
|
+
message: string;
|
|
1586
1583
|
/**
|
|
1587
|
-
*
|
|
1584
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1588
1585
|
*/
|
|
1589
|
-
|
|
1586
|
+
creditsUsed: number;
|
|
1590
1587
|
/**
|
|
1591
|
-
*
|
|
1588
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1592
1589
|
*/
|
|
1593
|
-
|
|
1590
|
+
retryAfter: number;
|
|
1594
1591
|
};
|
|
1595
|
-
export type
|
|
1592
|
+
export type EditPostRequest = {
|
|
1596
1593
|
/**
|
|
1597
|
-
*
|
|
1594
|
+
* LinkedIn post URL or URN
|
|
1598
1595
|
*/
|
|
1599
|
-
|
|
1596
|
+
postUrl: string;
|
|
1600
1597
|
/**
|
|
1601
|
-
*
|
|
1598
|
+
* New text content for the post
|
|
1602
1599
|
*/
|
|
1603
|
-
|
|
1600
|
+
text: string;
|
|
1601
|
+
};
|
|
1602
|
+
/**
|
|
1603
|
+
* Post edited
|
|
1604
|
+
*/
|
|
1605
|
+
export type EditPostResponse = {
|
|
1606
|
+
success: true;
|
|
1604
1607
|
/**
|
|
1605
|
-
*
|
|
1608
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1606
1609
|
*/
|
|
1607
|
-
|
|
1610
|
+
creditsUsed: number;
|
|
1608
1611
|
/**
|
|
1609
|
-
*
|
|
1612
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1610
1613
|
*/
|
|
1611
|
-
|
|
1614
|
+
retryAfter: number;
|
|
1615
|
+
};
|
|
1616
|
+
export type EditCommentRequest = {
|
|
1612
1617
|
/**
|
|
1613
|
-
*
|
|
1618
|
+
* urn:li:fsd_comment:(COMMENT_ID,urn:li:ugcPost:POST_ID) - from comment API response
|
|
1614
1619
|
*/
|
|
1615
|
-
|
|
1620
|
+
fsdCommentUrn?: string | undefined;
|
|
1616
1621
|
/**
|
|
1617
|
-
*
|
|
1622
|
+
* Legacy comment URN format
|
|
1618
1623
|
*/
|
|
1619
|
-
|
|
1624
|
+
commentUrn?: string | undefined;
|
|
1620
1625
|
/**
|
|
1621
|
-
*
|
|
1626
|
+
* New comment text
|
|
1622
1627
|
*/
|
|
1623
|
-
|
|
1628
|
+
text: string;
|
|
1629
|
+
};
|
|
1630
|
+
/**
|
|
1631
|
+
* Comment edited
|
|
1632
|
+
*/
|
|
1633
|
+
export type EditCommentResponse = {
|
|
1634
|
+
success: true;
|
|
1624
1635
|
/**
|
|
1625
|
-
*
|
|
1636
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1626
1637
|
*/
|
|
1627
|
-
|
|
1638
|
+
creditsUsed: number;
|
|
1628
1639
|
/**
|
|
1629
|
-
*
|
|
1640
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1630
1641
|
*/
|
|
1631
|
-
|
|
1642
|
+
retryAfter: number;
|
|
1643
|
+
};
|
|
1644
|
+
export type RepostPostRequest = {
|
|
1632
1645
|
/**
|
|
1633
|
-
*
|
|
1646
|
+
* LinkedIn post URL to repost
|
|
1634
1647
|
*/
|
|
1635
|
-
|
|
1648
|
+
postUrl: string;
|
|
1636
1649
|
/**
|
|
1637
|
-
*
|
|
1638
|
-
*
|
|
1639
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1650
|
+
* Quote text for the repost (required by LinkedIn)
|
|
1640
1651
|
*/
|
|
1641
|
-
|
|
1652
|
+
text: string;
|
|
1642
1653
|
};
|
|
1643
1654
|
/**
|
|
1644
|
-
* Post
|
|
1655
|
+
* Post reposted
|
|
1645
1656
|
*/
|
|
1646
|
-
export type
|
|
1657
|
+
export type RepostPostResponse = {
|
|
1647
1658
|
success: true;
|
|
1648
|
-
/**
|
|
1649
|
-
* URN of the created share (e.g., 'urn:li:fsd_share:urn:li:share:123...')
|
|
1650
|
-
*/
|
|
1651
1659
|
shareUrn: string;
|
|
1652
|
-
/**
|
|
1653
|
-
* Activity URN (only available for instant mode)
|
|
1654
|
-
*/
|
|
1655
|
-
activityUrn: string | null;
|
|
1656
|
-
/**
|
|
1657
|
-
* True if this action was already executed for the given campaignSlug + target.
|
|
1658
|
-
*/
|
|
1659
|
-
duplicate?: boolean | undefined;
|
|
1660
1660
|
/**
|
|
1661
1661
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1662
1662
|
*/
|
|
@@ -1666,47 +1666,57 @@ export type PublishPostResponse = {
|
|
|
1666
1666
|
*/
|
|
1667
1667
|
retryAfter: number;
|
|
1668
1668
|
};
|
|
1669
|
-
export type
|
|
1669
|
+
export type UnlikePostRequest = {
|
|
1670
1670
|
/**
|
|
1671
|
-
* LinkedIn post URL
|
|
1671
|
+
* LinkedIn post URL or URN to unlike
|
|
1672
1672
|
*/
|
|
1673
1673
|
postUrl: string;
|
|
1674
|
+
};
|
|
1675
|
+
/**
|
|
1676
|
+
* Reaction removed
|
|
1677
|
+
*/
|
|
1678
|
+
export type UnlikePostResponse = {
|
|
1679
|
+
success: true;
|
|
1674
1680
|
/**
|
|
1675
|
-
*
|
|
1676
|
-
*/
|
|
1677
|
-
message: string;
|
|
1678
|
-
/**
|
|
1679
|
-
* If provided, comment will be posted as this company page (organization ID). User must be admin of the page.
|
|
1681
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1680
1682
|
*/
|
|
1681
|
-
|
|
1683
|
+
creditsUsed: number;
|
|
1682
1684
|
/**
|
|
1683
|
-
*
|
|
1685
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1684
1686
|
*/
|
|
1685
|
-
|
|
1687
|
+
retryAfter: number;
|
|
1688
|
+
};
|
|
1689
|
+
export type UnlikeCommentRequest = {
|
|
1686
1690
|
/**
|
|
1687
|
-
*
|
|
1688
|
-
*
|
|
1689
|
-
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
1691
|
+
* Full comment URN to unlike (e.g. urn:li:comment:(urn:li:activity:123,456))
|
|
1690
1692
|
*/
|
|
1691
|
-
|
|
1693
|
+
commentUrn: string;
|
|
1692
1694
|
};
|
|
1693
1695
|
/**
|
|
1694
|
-
*
|
|
1696
|
+
* Reaction removed
|
|
1695
1697
|
*/
|
|
1696
|
-
export type
|
|
1698
|
+
export type UnlikeCommentResponse = {
|
|
1697
1699
|
success: true;
|
|
1698
1700
|
/**
|
|
1699
|
-
*
|
|
1701
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1700
1702
|
*/
|
|
1701
|
-
|
|
1703
|
+
creditsUsed: number;
|
|
1702
1704
|
/**
|
|
1703
|
-
*
|
|
1705
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1704
1706
|
*/
|
|
1705
|
-
|
|
1707
|
+
retryAfter: number;
|
|
1708
|
+
};
|
|
1709
|
+
export type SavePostRequest = {
|
|
1706
1710
|
/**
|
|
1707
|
-
*
|
|
1711
|
+
* LinkedIn post URL or URN to save/unsave
|
|
1708
1712
|
*/
|
|
1709
|
-
|
|
1713
|
+
postUrl: string;
|
|
1714
|
+
};
|
|
1715
|
+
/**
|
|
1716
|
+
* Post saved
|
|
1717
|
+
*/
|
|
1718
|
+
export type SavePostResponse = {
|
|
1719
|
+
success: true;
|
|
1710
1720
|
/**
|
|
1711
1721
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1712
1722
|
*/
|
|
@@ -1716,26 +1726,17 @@ export type CreateCommentResponse = {
|
|
|
1716
1726
|
*/
|
|
1717
1727
|
retryAfter: number;
|
|
1718
1728
|
};
|
|
1719
|
-
export type
|
|
1720
|
-
/**
|
|
1721
|
-
* Invitation ID from the list invitations endpoint
|
|
1722
|
-
*/
|
|
1723
|
-
invitationId: string;
|
|
1724
|
-
/**
|
|
1725
|
-
* Shared secret / validation token from the list invitations endpoint
|
|
1726
|
-
*/
|
|
1727
|
-
sharedSecret: string;
|
|
1729
|
+
export type UnsavePostRequest = {
|
|
1728
1730
|
/**
|
|
1729
|
-
*
|
|
1731
|
+
* LinkedIn post URL or URN to save/unsave
|
|
1730
1732
|
*/
|
|
1731
|
-
|
|
1733
|
+
postUrl: string;
|
|
1732
1734
|
};
|
|
1733
1735
|
/**
|
|
1734
|
-
*
|
|
1736
|
+
* Post unsaved
|
|
1735
1737
|
*/
|
|
1736
|
-
export type
|
|
1738
|
+
export type UnsavePostResponse = {
|
|
1737
1739
|
success: true;
|
|
1738
|
-
message: string;
|
|
1739
1740
|
/**
|
|
1740
1741
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1741
1742
|
*/
|
|
@@ -1745,18 +1746,17 @@ export type DeclineInvitationResponse = {
|
|
|
1745
1746
|
*/
|
|
1746
1747
|
retryAfter: number;
|
|
1747
1748
|
};
|
|
1748
|
-
export type
|
|
1749
|
+
export type FollowCompanyRequest = {
|
|
1749
1750
|
/**
|
|
1750
|
-
*
|
|
1751
|
+
* LinkedIn company URL or URN
|
|
1751
1752
|
*/
|
|
1752
|
-
|
|
1753
|
+
company: string;
|
|
1753
1754
|
};
|
|
1754
1755
|
/**
|
|
1755
|
-
*
|
|
1756
|
+
* Company followed
|
|
1756
1757
|
*/
|
|
1757
|
-
export type
|
|
1758
|
+
export type FollowCompanyResponse = {
|
|
1758
1759
|
success: true;
|
|
1759
|
-
message: string;
|
|
1760
1760
|
/**
|
|
1761
1761
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1762
1762
|
*/
|
|
@@ -1766,16 +1766,16 @@ export type UnfollowProfileResponse = {
|
|
|
1766
1766
|
*/
|
|
1767
1767
|
retryAfter: number;
|
|
1768
1768
|
};
|
|
1769
|
-
export type
|
|
1769
|
+
export type UnfollowCompanyRequest = {
|
|
1770
1770
|
/**
|
|
1771
|
-
* LinkedIn
|
|
1771
|
+
* LinkedIn company URL or URN
|
|
1772
1772
|
*/
|
|
1773
|
-
|
|
1773
|
+
company: string;
|
|
1774
1774
|
};
|
|
1775
1775
|
/**
|
|
1776
|
-
*
|
|
1776
|
+
* Company unfollowed
|
|
1777
1777
|
*/
|
|
1778
|
-
export type
|
|
1778
|
+
export type UnfollowCompanyResponse = {
|
|
1779
1779
|
success: true;
|
|
1780
1780
|
/**
|
|
1781
1781
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -1885,6 +1885,10 @@ export type GetProfileLastPost = {
|
|
|
1885
1885
|
postUrn: string;
|
|
1886
1886
|
postId: string;
|
|
1887
1887
|
type: GetProfileType;
|
|
1888
|
+
/**
|
|
1889
|
+
* True when the post is a repost/reshare of another post. Absent for original posts.
|
|
1890
|
+
*/
|
|
1891
|
+
isRepost?: boolean | undefined;
|
|
1888
1892
|
/**
|
|
1889
1893
|
* Media attached to the post (image, video, document, or article). Absent when the post is text-only.
|
|
1890
1894
|
*/
|
|
@@ -2303,45 +2307,6 @@ export declare function peopleFromJSON(jsonString: string): SafeParseResult<Peop
|
|
|
2303
2307
|
export declare const SearchSalesNavResponse$inboundSchema: z.ZodMiniType<SearchSalesNavResponse, unknown>;
|
|
2304
2308
|
export declare function searchSalesNavResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavResponse, SDKValidationError>;
|
|
2305
2309
|
/** @internal */
|
|
2306
|
-
export declare const SearchSalesNavCompaniesCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
2307
|
-
/** @internal */
|
|
2308
|
-
export type SearchSalesNavCompaniesIndustry$Outbound = {
|
|
2309
|
-
include?: Array<string> | undefined;
|
|
2310
|
-
exclude?: Array<string> | undefined;
|
|
2311
|
-
};
|
|
2312
|
-
/** @internal */
|
|
2313
|
-
export declare const SearchSalesNavCompaniesIndustry$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesIndustry$Outbound, SearchSalesNavCompaniesIndustry>;
|
|
2314
|
-
export declare function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry: SearchSalesNavCompaniesIndustry): string;
|
|
2315
|
-
/** @internal */
|
|
2316
|
-
export type SearchSalesNavCompaniesRequest$Outbound = {
|
|
2317
|
-
category?: string | undefined;
|
|
2318
|
-
url?: string | undefined;
|
|
2319
|
-
keywords?: string | undefined;
|
|
2320
|
-
industry?: SearchSalesNavCompaniesIndustry$Outbound | undefined;
|
|
2321
|
-
location?: Array<string> | undefined;
|
|
2322
|
-
companyHeadcount?: Array<string> | undefined;
|
|
2323
|
-
companyType?: Array<string> | undefined;
|
|
2324
|
-
annualRevenue?: Array<string> | undefined;
|
|
2325
|
-
start?: number | undefined;
|
|
2326
|
-
count?: number | undefined;
|
|
2327
|
-
};
|
|
2328
|
-
/** @internal */
|
|
2329
|
-
export declare const SearchSalesNavCompaniesRequest$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesRequest$Outbound, SearchSalesNavCompaniesRequest>;
|
|
2330
|
-
export declare function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest: SearchSalesNavCompaniesRequest): string;
|
|
2331
|
-
/** @internal */
|
|
2332
|
-
export declare const SearchSalesNavCompaniesCategoryCompanies$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
2333
|
-
/** @internal */
|
|
2334
|
-
export declare const SearchSalesNavCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesType>;
|
|
2335
|
-
/** @internal */
|
|
2336
|
-
export declare const SearchSalesNavCompaniesItem$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesItem, unknown>;
|
|
2337
|
-
export declare function searchSalesNavCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesItem, SDKValidationError>;
|
|
2338
|
-
/** @internal */
|
|
2339
|
-
export declare const SearchSalesNavCompaniesPaging$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesPaging, unknown>;
|
|
2340
|
-
export declare function searchSalesNavCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesPaging, SDKValidationError>;
|
|
2341
|
-
/** @internal */
|
|
2342
|
-
export declare const SearchSalesNavCompaniesResponse$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesResponse, unknown>;
|
|
2343
|
-
export declare function searchSalesNavCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesResponse, SDKValidationError>;
|
|
2344
|
-
/** @internal */
|
|
2345
2310
|
export declare const SearchSalesNavPeopleCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavPeopleCategoryRequest>;
|
|
2346
2311
|
/** @internal */
|
|
2347
2312
|
export type SearchSalesNavPeopleCompany$Outbound = {
|
|
@@ -2414,58 +2379,56 @@ export declare function searchSalesNavPeoplePagingFromJSON(jsonString: string):
|
|
|
2414
2379
|
export declare const SearchSalesNavPeopleResponse$inboundSchema: z.ZodMiniType<SearchSalesNavPeopleResponse, unknown>;
|
|
2415
2380
|
export declare function searchSalesNavPeopleResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavPeopleResponse, SDKValidationError>;
|
|
2416
2381
|
/** @internal */
|
|
2417
|
-
export
|
|
2418
|
-
profile: string;
|
|
2419
|
-
campaignSlug?: string | undefined;
|
|
2420
|
-
actionSlug?: string | undefined;
|
|
2421
|
-
};
|
|
2382
|
+
export declare const SearchSalesNavCompaniesCategoryRequest$outboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryRequest>;
|
|
2422
2383
|
/** @internal */
|
|
2423
|
-
export
|
|
2424
|
-
|
|
2384
|
+
export type SearchSalesNavCompaniesIndustry$Outbound = {
|
|
2385
|
+
include?: Array<string> | undefined;
|
|
2386
|
+
exclude?: Array<string> | undefined;
|
|
2387
|
+
};
|
|
2425
2388
|
/** @internal */
|
|
2426
|
-
export declare const
|
|
2427
|
-
export declare function
|
|
2389
|
+
export declare const SearchSalesNavCompaniesIndustry$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesIndustry$Outbound, SearchSalesNavCompaniesIndustry>;
|
|
2390
|
+
export declare function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry: SearchSalesNavCompaniesIndustry): string;
|
|
2428
2391
|
/** @internal */
|
|
2429
|
-
export type
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2392
|
+
export type SearchSalesNavCompaniesRequest$Outbound = {
|
|
2393
|
+
category?: string | undefined;
|
|
2394
|
+
url?: string | undefined;
|
|
2395
|
+
keywords?: string | undefined;
|
|
2396
|
+
industry?: SearchSalesNavCompaniesIndustry$Outbound | undefined;
|
|
2397
|
+
location?: Array<string> | undefined;
|
|
2398
|
+
companyHeadcount?: Array<string> | undefined;
|
|
2399
|
+
companyType?: Array<string> | undefined;
|
|
2400
|
+
annualRevenue?: Array<string> | undefined;
|
|
2401
|
+
start?: number | undefined;
|
|
2402
|
+
count?: number | undefined;
|
|
2435
2403
|
};
|
|
2436
2404
|
/** @internal */
|
|
2437
|
-
export declare const
|
|
2438
|
-
export declare function
|
|
2439
|
-
/** @internal */
|
|
2440
|
-
export declare const SendMessageResponse$inboundSchema: z.ZodMiniType<SendMessageResponse, unknown>;
|
|
2441
|
-
export declare function sendMessageResponseFromJSON(jsonString: string): SafeParseResult<SendMessageResponse, SDKValidationError>;
|
|
2405
|
+
export declare const SearchSalesNavCompaniesRequest$outboundSchema: z.ZodMiniType<SearchSalesNavCompaniesRequest$Outbound, SearchSalesNavCompaniesRequest>;
|
|
2406
|
+
export declare function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest: SearchSalesNavCompaniesRequest): string;
|
|
2442
2407
|
/** @internal */
|
|
2443
|
-
export
|
|
2444
|
-
start: number;
|
|
2445
|
-
count: number;
|
|
2446
|
-
};
|
|
2408
|
+
export declare const SearchSalesNavCompaniesCategoryCompanies$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesCategoryCompanies>;
|
|
2447
2409
|
/** @internal */
|
|
2448
|
-
export declare const
|
|
2449
|
-
export declare function listSentInvitationsRequestToJSON(listSentInvitationsRequest: ListSentInvitationsRequest): string;
|
|
2410
|
+
export declare const SearchSalesNavCompaniesType$inboundSchema: z.ZodMiniEnum<typeof SearchSalesNavCompaniesType>;
|
|
2450
2411
|
/** @internal */
|
|
2451
|
-
export declare const
|
|
2452
|
-
export declare function
|
|
2412
|
+
export declare const SearchSalesNavCompaniesItem$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesItem, unknown>;
|
|
2413
|
+
export declare function searchSalesNavCompaniesItemFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesItem, SDKValidationError>;
|
|
2453
2414
|
/** @internal */
|
|
2454
|
-
export declare const
|
|
2455
|
-
export declare function
|
|
2415
|
+
export declare const SearchSalesNavCompaniesPaging$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesPaging, unknown>;
|
|
2416
|
+
export declare function searchSalesNavCompaniesPagingFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesPaging, SDKValidationError>;
|
|
2456
2417
|
/** @internal */
|
|
2457
|
-
export declare const
|
|
2458
|
-
export declare function
|
|
2418
|
+
export declare const SearchSalesNavCompaniesResponse$inboundSchema: z.ZodMiniType<SearchSalesNavCompaniesResponse, unknown>;
|
|
2419
|
+
export declare function searchSalesNavCompaniesResponseFromJSON(jsonString: string): SafeParseResult<SearchSalesNavCompaniesResponse, SDKValidationError>;
|
|
2459
2420
|
/** @internal */
|
|
2460
|
-
export type
|
|
2461
|
-
|
|
2421
|
+
export type ConnectProfileRequest$Outbound = {
|
|
2422
|
+
profile: string;
|
|
2423
|
+
campaignSlug?: string | undefined;
|
|
2424
|
+
actionSlug?: string | undefined;
|
|
2462
2425
|
};
|
|
2463
2426
|
/** @internal */
|
|
2464
|
-
export declare const
|
|
2465
|
-
export declare function
|
|
2427
|
+
export declare const ConnectProfileRequest$outboundSchema: z.ZodMiniType<ConnectProfileRequest$Outbound, ConnectProfileRequest>;
|
|
2428
|
+
export declare function connectProfileRequestToJSON(connectProfileRequest: ConnectProfileRequest): string;
|
|
2466
2429
|
/** @internal */
|
|
2467
|
-
export declare const
|
|
2468
|
-
export declare function
|
|
2430
|
+
export declare const ConnectProfileResponse$inboundSchema: z.ZodMiniType<ConnectProfileResponse, unknown>;
|
|
2431
|
+
export declare function connectProfileResponseFromJSON(jsonString: string): SafeParseResult<ConnectProfileResponse, SDKValidationError>;
|
|
2469
2432
|
/** @internal */
|
|
2470
2433
|
export type ListInvitationsRequest$Outbound = {
|
|
2471
2434
|
start: number;
|
|
@@ -2498,6 +2461,20 @@ export declare function acceptInvitationRequestToJSON(acceptInvitationRequest: A
|
|
|
2498
2461
|
export declare const AcceptInvitationResponse$inboundSchema: z.ZodMiniType<AcceptInvitationResponse, unknown>;
|
|
2499
2462
|
export declare function acceptInvitationResponseFromJSON(jsonString: string): SafeParseResult<AcceptInvitationResponse, SDKValidationError>;
|
|
2500
2463
|
/** @internal */
|
|
2464
|
+
export type SendMessageRequest$Outbound = {
|
|
2465
|
+
profile?: string | undefined;
|
|
2466
|
+
conversationUrn?: string | undefined;
|
|
2467
|
+
message: string;
|
|
2468
|
+
campaignSlug?: string | undefined;
|
|
2469
|
+
actionSlug?: string | undefined;
|
|
2470
|
+
};
|
|
2471
|
+
/** @internal */
|
|
2472
|
+
export declare const SendMessageRequest$outboundSchema: z.ZodMiniType<SendMessageRequest$Outbound, SendMessageRequest>;
|
|
2473
|
+
export declare function sendMessageRequestToJSON(sendMessageRequest: SendMessageRequest): string;
|
|
2474
|
+
/** @internal */
|
|
2475
|
+
export declare const SendMessageResponse$inboundSchema: z.ZodMiniType<SendMessageResponse, unknown>;
|
|
2476
|
+
export declare function sendMessageResponseFromJSON(jsonString: string): SafeParseResult<SendMessageResponse, SDKValidationError>;
|
|
2477
|
+
/** @internal */
|
|
2501
2478
|
export type ReplyToCommentRequest$Outbound = {
|
|
2502
2479
|
commentUrn: string;
|
|
2503
2480
|
message: string;
|
|
@@ -2511,6 +2488,68 @@ export declare function replyToCommentRequestToJSON(replyToCommentRequest: Reply
|
|
|
2511
2488
|
export declare const ReplyToCommentResponse$inboundSchema: z.ZodMiniType<ReplyToCommentResponse, unknown>;
|
|
2512
2489
|
export declare function replyToCommentResponseFromJSON(jsonString: string): SafeParseResult<ReplyToCommentResponse, SDKValidationError>;
|
|
2513
2490
|
/** @internal */
|
|
2491
|
+
export declare const LikeCommentReactionType$outboundSchema: z.ZodMiniEnum<typeof LikeCommentReactionType>;
|
|
2492
|
+
/** @internal */
|
|
2493
|
+
export type LikeCommentRequest$Outbound = {
|
|
2494
|
+
commentUrn: string;
|
|
2495
|
+
reactionType: string;
|
|
2496
|
+
campaignSlug?: string | undefined;
|
|
2497
|
+
actionSlug?: string | undefined;
|
|
2498
|
+
};
|
|
2499
|
+
/** @internal */
|
|
2500
|
+
export declare const LikeCommentRequest$outboundSchema: z.ZodMiniType<LikeCommentRequest$Outbound, LikeCommentRequest>;
|
|
2501
|
+
export declare function likeCommentRequestToJSON(likeCommentRequest: LikeCommentRequest): string;
|
|
2502
|
+
/** @internal */
|
|
2503
|
+
export declare const LikeCommentResponse$inboundSchema: z.ZodMiniType<LikeCommentResponse, unknown>;
|
|
2504
|
+
export declare function likeCommentResponseFromJSON(jsonString: string): SafeParseResult<LikeCommentResponse, SDKValidationError>;
|
|
2505
|
+
/** @internal */
|
|
2506
|
+
export declare const PublishPostMode$outboundSchema: z.ZodMiniEnum<typeof PublishPostMode>;
|
|
2507
|
+
/** @internal */
|
|
2508
|
+
export declare const Visibility$outboundSchema: z.ZodMiniEnum<typeof Visibility>;
|
|
2509
|
+
/** @internal */
|
|
2510
|
+
export type Mention$Outbound = {
|
|
2511
|
+
profileUrn: string;
|
|
2512
|
+
start: number;
|
|
2513
|
+
length: number;
|
|
2514
|
+
};
|
|
2515
|
+
/** @internal */
|
|
2516
|
+
export declare const Mention$outboundSchema: z.ZodMiniType<Mention$Outbound, Mention>;
|
|
2517
|
+
export declare function mentionToJSON(mention: Mention): string;
|
|
2518
|
+
/** @internal */
|
|
2519
|
+
export type PublishPostRequest$Outbound = {
|
|
2520
|
+
text: string;
|
|
2521
|
+
mode: string;
|
|
2522
|
+
scheduledAt?: number | undefined;
|
|
2523
|
+
companyId?: string | undefined;
|
|
2524
|
+
imageUrl?: string | undefined;
|
|
2525
|
+
imageBase64?: string | undefined;
|
|
2526
|
+
imageFileName?: string | undefined;
|
|
2527
|
+
visibility: string;
|
|
2528
|
+
mentions?: Array<Mention$Outbound> | undefined;
|
|
2529
|
+
campaignSlug?: string | undefined;
|
|
2530
|
+
actionSlug?: string | undefined;
|
|
2531
|
+
};
|
|
2532
|
+
/** @internal */
|
|
2533
|
+
export declare const PublishPostRequest$outboundSchema: z.ZodMiniType<PublishPostRequest$Outbound, PublishPostRequest>;
|
|
2534
|
+
export declare function publishPostRequestToJSON(publishPostRequest: PublishPostRequest): string;
|
|
2535
|
+
/** @internal */
|
|
2536
|
+
export declare const PublishPostResponse$inboundSchema: z.ZodMiniType<PublishPostResponse, unknown>;
|
|
2537
|
+
export declare function publishPostResponseFromJSON(jsonString: string): SafeParseResult<PublishPostResponse, SDKValidationError>;
|
|
2538
|
+
/** @internal */
|
|
2539
|
+
export type CreateCommentRequest$Outbound = {
|
|
2540
|
+
postUrl: string;
|
|
2541
|
+
message: string;
|
|
2542
|
+
companyId?: string | undefined;
|
|
2543
|
+
campaignSlug?: string | undefined;
|
|
2544
|
+
actionSlug?: string | undefined;
|
|
2545
|
+
};
|
|
2546
|
+
/** @internal */
|
|
2547
|
+
export declare const CreateCommentRequest$outboundSchema: z.ZodMiniType<CreateCommentRequest$Outbound, CreateCommentRequest>;
|
|
2548
|
+
export declare function createCommentRequestToJSON(createCommentRequest: CreateCommentRequest): string;
|
|
2549
|
+
/** @internal */
|
|
2550
|
+
export declare const CreateCommentResponse$inboundSchema: z.ZodMiniType<CreateCommentResponse, unknown>;
|
|
2551
|
+
export declare function createCommentResponseFromJSON(jsonString: string): SafeParseResult<CreateCommentResponse, SDKValidationError>;
|
|
2552
|
+
/** @internal */
|
|
2514
2553
|
export declare const LikePostReactionType$outboundSchema: z.ZodMiniEnum<typeof LikePostReactionType>;
|
|
2515
2554
|
/** @internal */
|
|
2516
2555
|
export type LikePostRequest$Outbound = {
|
|
@@ -2527,6 +2566,35 @@ export declare function likePostRequestToJSON(likePostRequest: LikePostRequest):
|
|
|
2527
2566
|
export declare const LikePostResponse$inboundSchema: z.ZodMiniType<LikePostResponse, unknown>;
|
|
2528
2567
|
export declare function likePostResponseFromJSON(jsonString: string): SafeParseResult<LikePostResponse, SDKValidationError>;
|
|
2529
2568
|
/** @internal */
|
|
2569
|
+
export type DeclineInvitationRequest$Outbound = {
|
|
2570
|
+
invitationId: string;
|
|
2571
|
+
sharedSecret: string;
|
|
2572
|
+
senderProfileId?: string | undefined;
|
|
2573
|
+
};
|
|
2574
|
+
/** @internal */
|
|
2575
|
+
export declare const DeclineInvitationRequest$outboundSchema: z.ZodMiniType<DeclineInvitationRequest$Outbound, DeclineInvitationRequest>;
|
|
2576
|
+
export declare function declineInvitationRequestToJSON(declineInvitationRequest: DeclineInvitationRequest): string;
|
|
2577
|
+
/** @internal */
|
|
2578
|
+
export declare const DeclineInvitationResponse$inboundSchema: z.ZodMiniType<DeclineInvitationResponse, unknown>;
|
|
2579
|
+
export declare function declineInvitationResponseFromJSON(jsonString: string): SafeParseResult<DeclineInvitationResponse, SDKValidationError>;
|
|
2580
|
+
/** @internal */
|
|
2581
|
+
export type ListSentInvitationsRequest$Outbound = {
|
|
2582
|
+
start: number;
|
|
2583
|
+
count: number;
|
|
2584
|
+
};
|
|
2585
|
+
/** @internal */
|
|
2586
|
+
export declare const ListSentInvitationsRequest$outboundSchema: z.ZodMiniType<ListSentInvitationsRequest$Outbound, ListSentInvitationsRequest>;
|
|
2587
|
+
export declare function listSentInvitationsRequestToJSON(listSentInvitationsRequest: ListSentInvitationsRequest): string;
|
|
2588
|
+
/** @internal */
|
|
2589
|
+
export declare const ToMember$inboundSchema: z.ZodMiniType<ToMember, unknown>;
|
|
2590
|
+
export declare function toMemberFromJSON(jsonString: string): SafeParseResult<ToMember, SDKValidationError>;
|
|
2591
|
+
/** @internal */
|
|
2592
|
+
export declare const ListSentInvitationsInvitation$inboundSchema: z.ZodMiniType<ListSentInvitationsInvitation, unknown>;
|
|
2593
|
+
export declare function listSentInvitationsInvitationFromJSON(jsonString: string): SafeParseResult<ListSentInvitationsInvitation, SDKValidationError>;
|
|
2594
|
+
/** @internal */
|
|
2595
|
+
export declare const ListSentInvitationsResponse$inboundSchema: z.ZodMiniType<ListSentInvitationsResponse, unknown>;
|
|
2596
|
+
export declare function listSentInvitationsResponseFromJSON(jsonString: string): SafeParseResult<ListSentInvitationsResponse, SDKValidationError>;
|
|
2597
|
+
/** @internal */
|
|
2530
2598
|
export type WithdrawInvitationRequest$Outbound = {
|
|
2531
2599
|
invitationUrn: string;
|
|
2532
2600
|
};
|
|
@@ -2547,6 +2615,16 @@ export declare function followProfileRequestToJSON(followProfileRequest: FollowP
|
|
|
2547
2615
|
export declare const FollowProfileResponse$inboundSchema: z.ZodMiniType<FollowProfileResponse, unknown>;
|
|
2548
2616
|
export declare function followProfileResponseFromJSON(jsonString: string): SafeParseResult<FollowProfileResponse, SDKValidationError>;
|
|
2549
2617
|
/** @internal */
|
|
2618
|
+
export type UnfollowProfileRequest$Outbound = {
|
|
2619
|
+
profile: string;
|
|
2620
|
+
};
|
|
2621
|
+
/** @internal */
|
|
2622
|
+
export declare const UnfollowProfileRequest$outboundSchema: z.ZodMiniType<UnfollowProfileRequest$Outbound, UnfollowProfileRequest>;
|
|
2623
|
+
export declare function unfollowProfileRequestToJSON(unfollowProfileRequest: UnfollowProfileRequest): string;
|
|
2624
|
+
/** @internal */
|
|
2625
|
+
export declare const UnfollowProfileResponse$inboundSchema: z.ZodMiniType<UnfollowProfileResponse, unknown>;
|
|
2626
|
+
export declare function unfollowProfileResponseFromJSON(jsonString: string): SafeParseResult<UnfollowProfileResponse, SDKValidationError>;
|
|
2627
|
+
/** @internal */
|
|
2550
2628
|
export type EditPostRequest$Outbound = {
|
|
2551
2629
|
postUrl: string;
|
|
2552
2630
|
text: string;
|
|
@@ -2601,6 +2679,16 @@ export declare function unlikeCommentRequestToJSON(unlikeCommentRequest: UnlikeC
|
|
|
2601
2679
|
export declare const UnlikeCommentResponse$inboundSchema: z.ZodMiniType<UnlikeCommentResponse, unknown>;
|
|
2602
2680
|
export declare function unlikeCommentResponseFromJSON(jsonString: string): SafeParseResult<UnlikeCommentResponse, SDKValidationError>;
|
|
2603
2681
|
/** @internal */
|
|
2682
|
+
export type SavePostRequest$Outbound = {
|
|
2683
|
+
postUrl: string;
|
|
2684
|
+
};
|
|
2685
|
+
/** @internal */
|
|
2686
|
+
export declare const SavePostRequest$outboundSchema: z.ZodMiniType<SavePostRequest$Outbound, SavePostRequest>;
|
|
2687
|
+
export declare function savePostRequestToJSON(savePostRequest: SavePostRequest): string;
|
|
2688
|
+
/** @internal */
|
|
2689
|
+
export declare const SavePostResponse$inboundSchema: z.ZodMiniType<SavePostResponse, unknown>;
|
|
2690
|
+
export declare function savePostResponseFromJSON(jsonString: string): SafeParseResult<SavePostResponse, SDKValidationError>;
|
|
2691
|
+
/** @internal */
|
|
2604
2692
|
export type UnsavePostRequest$Outbound = {
|
|
2605
2693
|
postUrl: string;
|
|
2606
2694
|
};
|
|
@@ -2611,6 +2699,16 @@ export declare function unsavePostRequestToJSON(unsavePostRequest: UnsavePostReq
|
|
|
2611
2699
|
export declare const UnsavePostResponse$inboundSchema: z.ZodMiniType<UnsavePostResponse, unknown>;
|
|
2612
2700
|
export declare function unsavePostResponseFromJSON(jsonString: string): SafeParseResult<UnsavePostResponse, SDKValidationError>;
|
|
2613
2701
|
/** @internal */
|
|
2702
|
+
export type FollowCompanyRequest$Outbound = {
|
|
2703
|
+
company: string;
|
|
2704
|
+
};
|
|
2705
|
+
/** @internal */
|
|
2706
|
+
export declare const FollowCompanyRequest$outboundSchema: z.ZodMiniType<FollowCompanyRequest$Outbound, FollowCompanyRequest>;
|
|
2707
|
+
export declare function followCompanyRequestToJSON(followCompanyRequest: FollowCompanyRequest): string;
|
|
2708
|
+
/** @internal */
|
|
2709
|
+
export declare const FollowCompanyResponse$inboundSchema: z.ZodMiniType<FollowCompanyResponse, unknown>;
|
|
2710
|
+
export declare function followCompanyResponseFromJSON(jsonString: string): SafeParseResult<FollowCompanyResponse, SDKValidationError>;
|
|
2711
|
+
/** @internal */
|
|
2614
2712
|
export type UnfollowCompanyRequest$Outbound = {
|
|
2615
2713
|
company: string;
|
|
2616
2714
|
};
|
|
@@ -2621,100 +2719,6 @@ export declare function unfollowCompanyRequestToJSON(unfollowCompanyRequest: Unf
|
|
|
2621
2719
|
export declare const UnfollowCompanyResponse$inboundSchema: z.ZodMiniType<UnfollowCompanyResponse, unknown>;
|
|
2622
2720
|
export declare function unfollowCompanyResponseFromJSON(jsonString: string): SafeParseResult<UnfollowCompanyResponse, SDKValidationError>;
|
|
2623
2721
|
/** @internal */
|
|
2624
|
-
export declare const LikeCommentReactionType$outboundSchema: z.ZodMiniEnum<typeof LikeCommentReactionType>;
|
|
2625
|
-
/** @internal */
|
|
2626
|
-
export type LikeCommentRequest$Outbound = {
|
|
2627
|
-
commentUrn: string;
|
|
2628
|
-
reactionType: string;
|
|
2629
|
-
campaignSlug?: string | undefined;
|
|
2630
|
-
actionSlug?: string | undefined;
|
|
2631
|
-
};
|
|
2632
|
-
/** @internal */
|
|
2633
|
-
export declare const LikeCommentRequest$outboundSchema: z.ZodMiniType<LikeCommentRequest$Outbound, LikeCommentRequest>;
|
|
2634
|
-
export declare function likeCommentRequestToJSON(likeCommentRequest: LikeCommentRequest): string;
|
|
2635
|
-
/** @internal */
|
|
2636
|
-
export declare const LikeCommentResponse$inboundSchema: z.ZodMiniType<LikeCommentResponse, unknown>;
|
|
2637
|
-
export declare function likeCommentResponseFromJSON(jsonString: string): SafeParseResult<LikeCommentResponse, SDKValidationError>;
|
|
2638
|
-
/** @internal */
|
|
2639
|
-
export declare const PublishPostMode$outboundSchema: z.ZodMiniEnum<typeof PublishPostMode>;
|
|
2640
|
-
/** @internal */
|
|
2641
|
-
export declare const Visibility$outboundSchema: z.ZodMiniEnum<typeof Visibility>;
|
|
2642
|
-
/** @internal */
|
|
2643
|
-
export type Mention$Outbound = {
|
|
2644
|
-
profileUrn: string;
|
|
2645
|
-
start: number;
|
|
2646
|
-
length: number;
|
|
2647
|
-
};
|
|
2648
|
-
/** @internal */
|
|
2649
|
-
export declare const Mention$outboundSchema: z.ZodMiniType<Mention$Outbound, Mention>;
|
|
2650
|
-
export declare function mentionToJSON(mention: Mention): string;
|
|
2651
|
-
/** @internal */
|
|
2652
|
-
export type PublishPostRequest$Outbound = {
|
|
2653
|
-
text: string;
|
|
2654
|
-
mode: string;
|
|
2655
|
-
scheduledAt?: number | undefined;
|
|
2656
|
-
companyId?: string | undefined;
|
|
2657
|
-
imageUrl?: string | undefined;
|
|
2658
|
-
imageBase64?: string | undefined;
|
|
2659
|
-
imageFileName?: string | undefined;
|
|
2660
|
-
visibility: string;
|
|
2661
|
-
mentions?: Array<Mention$Outbound> | undefined;
|
|
2662
|
-
campaignSlug?: string | undefined;
|
|
2663
|
-
actionSlug?: string | undefined;
|
|
2664
|
-
};
|
|
2665
|
-
/** @internal */
|
|
2666
|
-
export declare const PublishPostRequest$outboundSchema: z.ZodMiniType<PublishPostRequest$Outbound, PublishPostRequest>;
|
|
2667
|
-
export declare function publishPostRequestToJSON(publishPostRequest: PublishPostRequest): string;
|
|
2668
|
-
/** @internal */
|
|
2669
|
-
export declare const PublishPostResponse$inboundSchema: z.ZodMiniType<PublishPostResponse, unknown>;
|
|
2670
|
-
export declare function publishPostResponseFromJSON(jsonString: string): SafeParseResult<PublishPostResponse, SDKValidationError>;
|
|
2671
|
-
/** @internal */
|
|
2672
|
-
export type CreateCommentRequest$Outbound = {
|
|
2673
|
-
postUrl: string;
|
|
2674
|
-
message: string;
|
|
2675
|
-
companyId?: string | undefined;
|
|
2676
|
-
campaignSlug?: string | undefined;
|
|
2677
|
-
actionSlug?: string | undefined;
|
|
2678
|
-
};
|
|
2679
|
-
/** @internal */
|
|
2680
|
-
export declare const CreateCommentRequest$outboundSchema: z.ZodMiniType<CreateCommentRequest$Outbound, CreateCommentRequest>;
|
|
2681
|
-
export declare function createCommentRequestToJSON(createCommentRequest: CreateCommentRequest): string;
|
|
2682
|
-
/** @internal */
|
|
2683
|
-
export declare const CreateCommentResponse$inboundSchema: z.ZodMiniType<CreateCommentResponse, unknown>;
|
|
2684
|
-
export declare function createCommentResponseFromJSON(jsonString: string): SafeParseResult<CreateCommentResponse, SDKValidationError>;
|
|
2685
|
-
/** @internal */
|
|
2686
|
-
export type DeclineInvitationRequest$Outbound = {
|
|
2687
|
-
invitationId: string;
|
|
2688
|
-
sharedSecret: string;
|
|
2689
|
-
senderProfileId?: string | undefined;
|
|
2690
|
-
};
|
|
2691
|
-
/** @internal */
|
|
2692
|
-
export declare const DeclineInvitationRequest$outboundSchema: z.ZodMiniType<DeclineInvitationRequest$Outbound, DeclineInvitationRequest>;
|
|
2693
|
-
export declare function declineInvitationRequestToJSON(declineInvitationRequest: DeclineInvitationRequest): string;
|
|
2694
|
-
/** @internal */
|
|
2695
|
-
export declare const DeclineInvitationResponse$inboundSchema: z.ZodMiniType<DeclineInvitationResponse, unknown>;
|
|
2696
|
-
export declare function declineInvitationResponseFromJSON(jsonString: string): SafeParseResult<DeclineInvitationResponse, SDKValidationError>;
|
|
2697
|
-
/** @internal */
|
|
2698
|
-
export type UnfollowProfileRequest$Outbound = {
|
|
2699
|
-
profile: string;
|
|
2700
|
-
};
|
|
2701
|
-
/** @internal */
|
|
2702
|
-
export declare const UnfollowProfileRequest$outboundSchema: z.ZodMiniType<UnfollowProfileRequest$Outbound, UnfollowProfileRequest>;
|
|
2703
|
-
export declare function unfollowProfileRequestToJSON(unfollowProfileRequest: UnfollowProfileRequest): string;
|
|
2704
|
-
/** @internal */
|
|
2705
|
-
export declare const UnfollowProfileResponse$inboundSchema: z.ZodMiniType<UnfollowProfileResponse, unknown>;
|
|
2706
|
-
export declare function unfollowProfileResponseFromJSON(jsonString: string): SafeParseResult<UnfollowProfileResponse, SDKValidationError>;
|
|
2707
|
-
/** @internal */
|
|
2708
|
-
export type SavePostRequest$Outbound = {
|
|
2709
|
-
postUrl: string;
|
|
2710
|
-
};
|
|
2711
|
-
/** @internal */
|
|
2712
|
-
export declare const SavePostRequest$outboundSchema: z.ZodMiniType<SavePostRequest$Outbound, SavePostRequest>;
|
|
2713
|
-
export declare function savePostRequestToJSON(savePostRequest: SavePostRequest): string;
|
|
2714
|
-
/** @internal */
|
|
2715
|
-
export declare const SavePostResponse$inboundSchema: z.ZodMiniType<SavePostResponse, unknown>;
|
|
2716
|
-
export declare function savePostResponseFromJSON(jsonString: string): SafeParseResult<SavePostResponse, SDKValidationError>;
|
|
2717
|
-
/** @internal */
|
|
2718
2722
|
export declare const GetProfilePositionStartDate$inboundSchema: z.ZodMiniType<GetProfilePositionStartDate, unknown>;
|
|
2719
2723
|
export declare function getProfilePositionStartDateFromJSON(jsonString: string): SafeParseResult<GetProfilePositionStartDate, SDKValidationError>;
|
|
2720
2724
|
/** @internal */
|