bereach 1.4.0 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +101 -128
- package/esm/funcs/{linkedin-actions-accept-invitation.d.ts → actions-accept-invitation.d.ts} +2 -2
- package/esm/funcs/actions-accept-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-accept-invitation.js → actions-accept-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-edit-post.js.map → actions-accept-invitation.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-create-comment.d.ts → actions-create-comment.d.ts} +2 -2
- package/esm/funcs/actions-create-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-create-comment.js → actions-create-comment.js} +2 -2
- package/esm/funcs/actions-create-comment.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.d.ts → actions-decline-invitation.d.ts} +4 -4
- package/esm/funcs/actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-decline-invitation.js → actions-decline-invitation.js} +2 -2
- package/esm/funcs/{linked-in-actions-save-post.js.map → actions-decline-invitation.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-edit-comment.d.ts → actions-edit-comment.d.ts} +2 -2
- package/esm/funcs/actions-edit-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-comment.js → actions-edit-comment.js} +2 -2
- package/esm/funcs/actions-edit-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.d.ts → actions-edit-post.d.ts} +2 -2
- package/esm/funcs/actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-edit-post.js → actions-edit-post.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search-companies.js.map → actions-edit-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-follow-profile.d.ts → actions-follow-profile.d.ts} +2 -2
- package/esm/funcs/actions-follow-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-follow-profile.js → actions-follow-profile.js} +2 -2
- package/esm/funcs/actions-follow-profile.js.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.d.ts → actions-like-comment.d.ts} +2 -2
- package/esm/funcs/actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-like-comment.js → actions-like-comment.js} +2 -2
- package/esm/funcs/actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.d.ts → actions-like-post.d.ts} +2 -2
- package/esm/funcs/actions-like-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-post.js → actions-like-post.js} +2 -2
- package/esm/funcs/actions-like-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-list-invitations.d.ts → actions-list-invitations.d.ts} +2 -2
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts.map → actions-list-invitations.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-list-invitations.js → actions-list-invitations.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-comment.js.map → actions-list-invitations.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-publish-post.d.ts → actions-publish-post.d.ts} +2 -2
- package/esm/funcs/actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-publish-post.js → actions-publish-post.js} +2 -2
- package/esm/funcs/actions-publish-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-reply-to-comment.d.ts → actions-reply-to-comment.d.ts} +2 -2
- package/esm/funcs/{linked-in-chat-unarchive.d.ts.map → actions-reply-to-comment.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-actions-reply-to-comment.js → actions-reply-to-comment.js} +2 -2
- package/esm/funcs/actions-reply-to-comment.js.map +1 -0
- package/esm/funcs/actions-repost-post.d.ts +18 -0
- package/esm/funcs/actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.js → actions-repost-post.js} +2 -2
- package/esm/funcs/{linkedin-chat-react.js.map → actions-repost-post.js.map} +1 -1
- package/esm/funcs/{linked-in-actions-save-post.d.ts → actions-save-post.d.ts} +2 -2
- package/esm/funcs/actions-save-post.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-save-post.js → actions-save-post.js} +2 -2
- package/esm/funcs/actions-save-post.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.d.ts → actions-unfollow-company.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unfollow-company.js → actions-unfollow-company.js} +2 -2
- package/esm/funcs/actions-unfollow-company.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.d.ts → actions-unfollow-profile.d.ts} +4 -4
- package/esm/funcs/actions-unfollow-profile.d.ts.map +1 -0
- package/esm/funcs/{linked-in-actions-unfollow-profile.js → actions-unfollow-profile.js} +2 -2
- package/esm/funcs/actions-unfollow-profile.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.d.ts → actions-unlike-comment.d.ts} +2 -2
- package/esm/funcs/actions-unlike-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-comment.js → actions-unlike-comment.js} +2 -2
- package/esm/funcs/actions-unlike-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.d.ts → actions-unlike-post.d.ts} +2 -2
- package/esm/funcs/actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unlike-post.js → actions-unlike-post.js} +2 -2
- package/esm/funcs/{linked-in-chat-star.js.map → actions-unlike-post.js.map} +1 -1
- package/esm/funcs/{linkedin-actions-unsave-post.d.ts → actions-unsave-post.d.ts} +2 -2
- package/esm/funcs/actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-unsave-post.js → actions-unsave-post.js} +2 -2
- package/esm/funcs/actions-unsave-post.js.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.d.ts → actions-withdraw-invitation.d.ts} +2 -2
- package/esm/funcs/actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-withdraw-invitation.js → actions-withdraw-invitation.js} +2 -2
- package/esm/funcs/{linkedin-actions-repost-post.js.map → actions-withdraw-invitation.js.map} +1 -1
- package/esm/funcs/chat-list-inbox.d.ts +18 -0
- package/esm/funcs/chat-list-inbox.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-inbox.js → chat-list-inbox.js} +2 -2
- package/esm/funcs/chat-list-inbox.js.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.d.ts → chat-mark-all-read.d.ts} +2 -2
- package/esm/funcs/chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-mark-all-read.js → chat-mark-all-read.js} +2 -2
- package/esm/funcs/chat-mark-all-read.js.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.d.ts → chat-mark-seen.d.ts} +2 -2
- package/esm/funcs/chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-mark-seen.js → chat-mark-seen.js} +2 -2
- package/esm/funcs/chat-mark-seen.js.map +1 -0
- package/esm/funcs/{linkedin-chat-react.d.ts → chat-react.d.ts} +2 -2
- package/esm/funcs/chat-react.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-react.js → chat-react.js} +2 -2
- package/esm/funcs/{sales-navigator-search-search.js.map → chat-react.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-comments.d.ts → chat-send-typing-indicator.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-edit-post.d.ts.map → chat-send-typing-indicator.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-chat-send-typing-indicator.js → chat-send-typing-indicator.js} +2 -2
- package/esm/funcs/chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/{linked-in-chat-star.d.ts → chat-star.d.ts} +2 -2
- package/esm/funcs/chat-star.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-star.js → chat-star.js} +2 -2
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js.map → chat-star.js.map} +1 -1
- package/esm/funcs/{linked-in-chat-unarchive.d.ts → chat-unarchive.d.ts} +2 -2
- package/esm/funcs/chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unarchive.js → chat-unarchive.js} +2 -2
- package/esm/funcs/chat-unarchive.js.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.d.ts → chat-unstar.d.ts} +2 -2
- package/esm/funcs/chat-unstar.d.ts.map +1 -0
- package/esm/funcs/{linked-in-chat-unstar.js → chat-unstar.js} +2 -2
- package/esm/funcs/{linked-in-search-search.js.map → chat-unstar.js.map} +1 -1
- package/esm/funcs/company-pages-posts.d.ts +18 -0
- package/esm/funcs/company-pages-posts.d.ts.map +1 -0
- package/esm/funcs/{company-pages-get-posts.js → company-pages-posts.js} +2 -2
- package/esm/funcs/company-pages-posts.js.map +1 -0
- package/esm/funcs/{linkedin-actions-repost-post.d.ts → profile-posts.d.ts} +4 -4
- package/esm/funcs/profile-posts.d.ts.map +1 -0
- package/esm/funcs/{profile-get-posts.js → profile-posts.js} +2 -2
- package/esm/funcs/profile-posts.js.map +1 -0
- package/esm/funcs/{profile-get-profile-views.d.ts → profile-views.d.ts} +2 -2
- package/esm/funcs/profile-views.d.ts.map +1 -0
- package/esm/funcs/{profile-get-profile-views.js → profile-views.js} +2 -2
- package/esm/funcs/profile-views.js.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.d.ts → sales-nav-companies.d.ts} +2 -2
- package/esm/funcs/sales-nav-companies.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search-companies.js → sales-nav-companies.js} +2 -2
- package/esm/funcs/{linkedin-actions-unlike-post.js.map → sales-nav-companies.js.map} +1 -1
- package/esm/funcs/{sales-nav-search-people.d.ts → sales-nav-people.d.ts} +2 -2
- package/esm/funcs/sales-nav-people.d.ts.map +1 -0
- package/esm/funcs/{sales-nav-search-people.js → sales-nav-people.js} +2 -2
- package/esm/funcs/{linkedin-actions-reply-to-comment.js.map → sales-nav-people.js.map} +1 -1
- package/esm/funcs/{sales-navigator-search-search.d.ts → sales-nav-search.d.ts} +2 -2
- package/esm/funcs/sales-nav-search.d.ts.map +1 -0
- package/esm/funcs/{sales-navigator-search-search.js → sales-nav-search.js} +2 -2
- package/esm/funcs/sales-nav-search.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.d.ts → scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-create-comment.d.ts.map → scrapers-collect-comment-replies.d.ts.map} +1 -1
- package/esm/funcs/{linked-in-scrapers-collect-comment-replies.js → scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{linked-in-scrapers-get-feed.js.map → scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +18 -0
- package/esm/funcs/scrapers-collect-comments.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comments.js → scrapers-collect-comments.js} +2 -2
- package/esm/funcs/{linkedin-actions-like-post.js.map → scrapers-collect-comments.js.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.d.ts → scrapers-collect-hashtag-posts.d.ts} +2 -2
- package/esm/funcs/{linked-in-actions-like-comment.d.ts.map → scrapers-collect-hashtag-posts.d.ts.map} +1 -1
- package/esm/funcs/{linkedin-scrapers-collect-hashtag-posts.js → scrapers-collect-hashtag-posts.js} +2 -2
- package/esm/funcs/{linked-in-search-search-companies.js.map → scrapers-collect-hashtag-posts.js.map} +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +18 -0
- package/esm/funcs/scrapers-collect-likes.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-likes.js → scrapers-collect-likes.js} +2 -2
- package/esm/funcs/scrapers-collect-likes.js.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.d.ts → scrapers-get-feed.d.ts} +2 -2
- package/esm/funcs/scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/{linked-in-scrapers-get-feed.js → scrapers-get-feed.js} +2 -2
- package/esm/funcs/{profile-get-posts.js.map → scrapers-get-feed.js.map} +1 -1
- package/esm/funcs/{company-pages-get-posts.d.ts → scrapers-list-saved-posts.d.ts} +4 -4
- package/esm/funcs/scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-list-saved-posts.js → scrapers-list-saved-posts.js} +2 -2
- package/esm/funcs/scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.d.ts → scrapers-visit-company.d.ts} +2 -2
- package/esm/funcs/scrapers-visit-company.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-company.js → scrapers-visit-company.js} +2 -2
- package/esm/funcs/scrapers-visit-company.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.d.ts → search-by-url.d.ts} +2 -2
- package/esm/funcs/search-by-url.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-by-url.js → search-by-url.js} +2 -2
- package/esm/funcs/search-by-url.js.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.d.ts → search-companies.d.ts} +2 -2
- package/esm/funcs/search-companies.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search-companies.js → search-companies.js} +2 -2
- package/esm/funcs/search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.d.ts → search-jobs.d.ts} +2 -2
- package/esm/funcs/search-jobs.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-jobs.js → search-jobs.js} +2 -2
- package/esm/funcs/search-jobs.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.d.ts → search-people.d.ts} +2 -2
- package/esm/funcs/search-people.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-people.js → search-people.js} +2 -2
- package/esm/funcs/search-people.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.d.ts → search-posts.d.ts} +2 -2
- package/esm/funcs/search-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-posts.js → search-posts.js} +2 -2
- package/esm/funcs/search-posts.js.map +1 -0
- package/esm/funcs/{linked-in-search-search.d.ts → search-search.d.ts} +2 -2
- package/esm/funcs/search-search.d.ts.map +1 -0
- package/esm/funcs/{linked-in-search-search.js → search-search.js} +2 -2
- package/esm/funcs/{linkedin-actions-follow-profile.js.map → search-search.js.map} +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/operations/index.d.ts +1 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +1 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/{search-people-response.d.ts → search-companies-response.d.ts} +890 -890
- package/esm/models/operations/search-companies-response.d.ts.map +1 -0
- package/esm/models/operations/{search-people-response.js → search-companies-response.js} +611 -604
- package/esm/models/operations/search-companies-response.js.map +1 -0
- package/esm/models/operations/search-contacts-campaign.d.ts +180 -180
- package/esm/models/operations/search-contacts-campaign.d.ts.map +1 -1
- package/esm/models/operations/search-contacts-campaign.js +102 -102
- package/esm/models/operations/search-contacts-campaign.js.map +1 -1
- package/esm/models/operations/update-account-response.d.ts +634 -634
- package/esm/models/operations/update-account-response.d.ts.map +1 -1
- package/esm/models/operations/update-account-response.js +307 -307
- package/esm/models/operations/update-account-response.js.map +1 -1
- package/esm/models/operations/update-schedule-response.d.ts +111 -61
- package/esm/models/operations/update-schedule-response.d.ts.map +1 -1
- package/esm/models/operations/update-schedule-response.js +37 -32
- package/esm/models/operations/update-schedule-response.js.map +1 -1
- package/esm/sdk/actions.d.ts +133 -0
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +190 -0
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +56 -0
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +80 -0
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.d.ts.map +1 -1
- package/esm/sdk/company-pages.js +3 -3
- package/esm/sdk/company-pages.js.map +1 -1
- package/esm/sdk/contacts.d.ts +12 -12
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +16 -16
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +2 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +6 -6
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +51 -1
- package/esm/sdk/sales-nav.d.ts.map +1 -1
- package/esm/sdk/sales-nav.js +59 -3
- package/esm/sdk/sales-nav.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +49 -0
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +70 -0
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -27
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -45
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +383 -0
- package/esm/sdk/search.d.ts.map +1 -1
- package/esm/sdk/search.js +401 -0
- package/esm/sdk/search.js.map +1 -1
- package/examples/{linkedinScrapersCollectLikes.example.ts → scrapersCollectLikes.example.ts} +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-accept-invitation.ts → actions-accept-invitation.ts} +1 -1
- package/src/funcs/{linked-in-actions-create-comment.ts → actions-create-comment.ts} +1 -1
- package/src/funcs/{linked-in-actions-decline-invitation.ts → actions-decline-invitation.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-comment.ts → actions-edit-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-edit-post.ts → actions-edit-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-follow-profile.ts → actions-follow-profile.ts} +1 -1
- package/src/funcs/{linked-in-actions-like-comment.ts → actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-like-post.ts → actions-like-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-list-invitations.ts → actions-list-invitations.ts} +1 -1
- package/src/funcs/{linked-in-actions-publish-post.ts → actions-publish-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-reply-to-comment.ts → actions-reply-to-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-repost-post.ts → actions-repost-post.ts} +1 -1
- package/src/funcs/{linked-in-actions-save-post.ts → actions-save-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unfollow-company.ts → actions-unfollow-company.ts} +1 -1
- package/src/funcs/{linked-in-actions-unfollow-profile.ts → actions-unfollow-profile.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-comment.ts → actions-unlike-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-unlike-post.ts → actions-unlike-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-unsave-post.ts → actions-unsave-post.ts} +1 -1
- package/src/funcs/{linkedin-actions-withdraw-invitation.ts → actions-withdraw-invitation.ts} +1 -1
- package/src/funcs/{linkedin-chat-list-inbox.ts → chat-list-inbox.ts} +1 -1
- package/src/funcs/{linkedin-chat-mark-all-read.ts → chat-mark-all-read.ts} +1 -1
- package/src/funcs/{linked-in-chat-mark-seen.ts → chat-mark-seen.ts} +1 -1
- package/src/funcs/{linkedin-chat-react.ts → chat-react.ts} +1 -1
- package/src/funcs/{linkedin-chat-send-typing-indicator.ts → chat-send-typing-indicator.ts} +1 -1
- package/src/funcs/{linked-in-chat-star.ts → chat-star.ts} +1 -1
- package/src/funcs/{linked-in-chat-unarchive.ts → chat-unarchive.ts} +1 -1
- package/src/funcs/{linked-in-chat-unstar.ts → chat-unstar.ts} +1 -1
- package/src/funcs/{company-pages-get-posts.ts → company-pages-posts.ts} +1 -1
- package/src/funcs/{profile-get-posts.ts → profile-posts.ts} +1 -1
- package/src/funcs/{profile-get-profile-views.ts → profile-views.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search-companies.ts → sales-nav-companies.ts} +1 -1
- package/src/funcs/{sales-nav-search-people.ts → sales-nav-people.ts} +1 -1
- package/src/funcs/{sales-navigator-search-search.ts → sales-nav-search.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-collect-comment-replies.ts → scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-comments.ts → scrapers-collect-comments.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-hashtag-posts.ts → scrapers-collect-hashtag-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-collect-likes.ts → scrapers-collect-likes.ts} +1 -1
- package/src/funcs/{linked-in-scrapers-get-feed.ts → scrapers-get-feed.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-list-saved-posts.ts → scrapers-list-saved-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-company.ts → scrapers-visit-company.ts} +1 -1
- package/src/funcs/{linkedin-search-search-by-url.ts → search-by-url.ts} +1 -1
- package/src/funcs/{linked-in-search-search-companies.ts → search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-search-jobs.ts → search-jobs.ts} +1 -1
- package/src/funcs/{linkedin-search-search-people.ts → search-people.ts} +1 -1
- package/src/funcs/{linkedin-search-search-posts.ts → search-posts.ts} +1 -1
- package/src/funcs/{linked-in-search-search.ts → search-search.ts} +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/operations/index.ts +1 -1
- package/src/models/operations/{search-people-response.ts → search-companies-response.ts} +1897 -1909
- package/src/models/operations/search-contacts-campaign.ts +366 -366
- package/src/models/operations/update-account-response.ts +1147 -1147
- package/src/models/operations/update-schedule-response.ts +180 -125
- package/src/sdk/actions.ts +342 -0
- package/src/sdk/chat.ts +144 -0
- package/src/sdk/company-pages.ts +3 -3
- package/src/sdk/contacts.ts +24 -24
- package/src/sdk/profile.ts +6 -6
- package/src/sdk/sales-nav.ts +75 -3
- package/src/sdk/scrapers.ts +126 -0
- package/src/sdk/sdk.ts +0 -56
- package/src/sdk/search.ts +449 -0
- package/esm/funcs/company-pages-get-posts.d.ts.map +0 -1
- package/esm/funcs/company-pages-get-posts.js.map +0 -1
- package/esm/funcs/linked-in-actions-create-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +0 -18
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +0 -1
- package/esm/funcs/linked-in-actions-like-comment.js.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-publish-post.js.map +0 -1
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +0 -18
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts.map +0 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-mark-seen.js.map +0 -1
- package/esm/funcs/linked-in-chat-star.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unarchive.js.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +0 -1
- package/esm/funcs/linked-in-chat-unstar.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.js.map +0 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linked-in-search-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-accept-invitation.js.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-edit-comment.js.map +0 -1
- package/esm/funcs/linkedin-actions-follow-profile.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-list-invitations.js.map +0 -1
- package/esm/funcs/linkedin-actions-reply-to-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +0 -18
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-unsave-post.js.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +0 -1
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-inbox.js.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +0 -1
- package/esm/funcs/linkedin-chat-react.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +0 -18
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comments.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.d.ts.map +0 -1
- package/esm/funcs/linkedin-scrapers-visit-company.js.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-by-url.js.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-jobs.js.map +0 -1
- package/esm/funcs/linkedin-search-search-people.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-people.js.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-posts.js.map +0 -1
- package/esm/funcs/profile-get-posts.d.ts +0 -18
- package/esm/funcs/profile-get-posts.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.d.ts.map +0 -1
- package/esm/funcs/profile-get-profile-views.js.map +0 -1
- package/esm/funcs/sales-nav-search-people.d.ts.map +0 -1
- package/esm/funcs/sales-nav-search-people.js.map +0 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/sales-navigator-search-search.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.d.ts.map +0 -1
- package/esm/models/operations/search-people-response.js.map +0 -1
- package/esm/sdk/linked-in-actions-2.d.ts +0 -47
- package/esm/sdk/linked-in-actions-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-actions-2.js +0 -68
- package/esm/sdk/linked-in-actions-2.js.map +0 -1
- package/esm/sdk/linked-in-chat-2.d.ts +0 -33
- package/esm/sdk/linked-in-chat-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-chat-2.js +0 -48
- package/esm/sdk/linked-in-chat-2.js.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.d.ts +0 -19
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +0 -1
- package/esm/sdk/linked-in-scrapers-2.js +0 -28
- package/esm/sdk/linked-in-scrapers-2.js.map +0 -1
- package/esm/sdk/linked-in-search-1.d.ts +0 -113
- package/esm/sdk/linked-in-search-1.d.ts.map +0 -1
- package/esm/sdk/linked-in-search-1.js +0 -122
- package/esm/sdk/linked-in-search-1.js.map +0 -1
- package/esm/sdk/linkedin-actions-1.d.ts +0 -96
- package/esm/sdk/linkedin-actions-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions-1.js +0 -138
- package/esm/sdk/linkedin-actions-1.js.map +0 -1
- package/esm/sdk/linkedin-chat-1.d.ts +0 -33
- package/esm/sdk/linkedin-chat-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat-1.js +0 -48
- package/esm/sdk/linkedin-chat-1.js.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.d.ts +0 -40
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers-1.js +0 -58
- package/esm/sdk/linkedin-scrapers-1.js.map +0 -1
- package/esm/sdk/linkedin-search-2.d.ts +0 -280
- package/esm/sdk/linkedin-search-2.d.ts.map +0 -1
- package/esm/sdk/linkedin-search-2.js +0 -295
- package/esm/sdk/linkedin-search-2.js.map +0 -1
- package/esm/sdk/sales-navigator-search.d.ts +0 -55
- package/esm/sdk/sales-navigator-search.d.ts.map +0 -1
- package/esm/sdk/sales-navigator-search.js +0 -64
- package/esm/sdk/sales-navigator-search.js.map +0 -1
- package/src/sdk/linked-in-actions-2.ts +0 -117
- package/src/sdk/linked-in-chat-2.ts +0 -81
- package/src/sdk/linked-in-scrapers-2.ts +0 -45
- package/src/sdk/linked-in-search-1.ts +0 -139
- package/src/sdk/linkedin-actions-1.ts +0 -243
- package/src/sdk/linkedin-chat-1.ts +0 -81
- package/src/sdk/linkedin-scrapers-1.ts +0 -99
- package/src/sdk/linkedin-search-2.ts +0 -328
- package/src/sdk/sales-navigator-search.ts +0 -81
|
@@ -113,19 +113,6 @@ export const SearchSalesNavNetworkDistance = {
|
|
|
113
113
|
Distance3: "DISTANCE_3",
|
|
114
114
|
OutOfNetwork: "OUT_OF_NETWORK",
|
|
115
115
|
};
|
|
116
|
-
/**
|
|
117
|
-
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
118
|
-
*/
|
|
119
|
-
export const SearchSalesNavCompaniesCategoryRequest = {
|
|
120
|
-
People: "people",
|
|
121
|
-
Companies: "companies",
|
|
122
|
-
};
|
|
123
|
-
export const SearchSalesNavCompaniesCategoryCompanies = {
|
|
124
|
-
Companies: "companies",
|
|
125
|
-
};
|
|
126
|
-
export const SearchSalesNavCompaniesType = {
|
|
127
|
-
Company: "COMPANY",
|
|
128
|
-
};
|
|
129
116
|
/**
|
|
130
117
|
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
131
118
|
*/
|
|
@@ -146,15 +133,17 @@ export const SearchSalesNavPeopleNetworkDistance = {
|
|
|
146
133
|
OutOfNetwork: "OUT_OF_NETWORK",
|
|
147
134
|
};
|
|
148
135
|
/**
|
|
149
|
-
*
|
|
136
|
+
* Type of Sales Navigator search: 'people' (leads) or 'companies' (accounts). Required unless url is provided.
|
|
150
137
|
*/
|
|
151
|
-
export const
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
138
|
+
export const SearchSalesNavCompaniesCategoryRequest = {
|
|
139
|
+
People: "people",
|
|
140
|
+
Companies: "companies",
|
|
141
|
+
};
|
|
142
|
+
export const SearchSalesNavCompaniesCategoryCompanies = {
|
|
143
|
+
Companies: "companies",
|
|
144
|
+
};
|
|
145
|
+
export const SearchSalesNavCompaniesType = {
|
|
146
|
+
Company: "COMPANY",
|
|
158
147
|
};
|
|
159
148
|
/**
|
|
160
149
|
* Reaction type (default: LIKE)
|
|
@@ -181,6 +170,17 @@ export const Visibility = {
|
|
|
181
170
|
Anyone: "ANYONE",
|
|
182
171
|
Connections: "CONNECTIONS",
|
|
183
172
|
};
|
|
173
|
+
/**
|
|
174
|
+
* Reaction type (default: LIKE)
|
|
175
|
+
*/
|
|
176
|
+
export const LikePostReactionType = {
|
|
177
|
+
Like: "LIKE",
|
|
178
|
+
Love: "LOVE",
|
|
179
|
+
Celebrate: "CELEBRATE",
|
|
180
|
+
Support: "SUPPORT",
|
|
181
|
+
Funny: "FUNNY",
|
|
182
|
+
Insightful: "INSIGHTFUL",
|
|
183
|
+
};
|
|
184
184
|
export const GetProfileType = {
|
|
185
185
|
Activity: "activity",
|
|
186
186
|
UgcPost: "ugcPost",
|
|
@@ -625,72 +625,6 @@ export function searchSalesNavResponseFromJSON(jsonString) {
|
|
|
625
625
|
return safeParse(jsonString, (x) => SearchSalesNavResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavResponse' from JSON`);
|
|
626
626
|
}
|
|
627
627
|
/** @internal */
|
|
628
|
-
export const SearchSalesNavCompaniesCategoryRequest$outboundSchema = z.enum(SearchSalesNavCompaniesCategoryRequest);
|
|
629
|
-
/** @internal */
|
|
630
|
-
export const SearchSalesNavCompaniesIndustry$outboundSchema = z.object({
|
|
631
|
-
include: z.optional(z.array(z.string())),
|
|
632
|
-
exclude: z.optional(z.array(z.string())),
|
|
633
|
-
});
|
|
634
|
-
export function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry) {
|
|
635
|
-
return JSON.stringify(SearchSalesNavCompaniesIndustry$outboundSchema.parse(searchSalesNavCompaniesIndustry));
|
|
636
|
-
}
|
|
637
|
-
/** @internal */
|
|
638
|
-
export const SearchSalesNavCompaniesRequest$outboundSchema = z.object({
|
|
639
|
-
category: z.optional(SearchSalesNavCompaniesCategoryRequest$outboundSchema),
|
|
640
|
-
url: z.optional(z.string()),
|
|
641
|
-
keywords: z.optional(z.string()),
|
|
642
|
-
industry: z.optional(z.lazy(() => SearchSalesNavCompaniesIndustry$outboundSchema)),
|
|
643
|
-
location: z.optional(z.array(z.string())),
|
|
644
|
-
companyHeadcount: z.optional(z.array(z.string())),
|
|
645
|
-
companyType: z.optional(z.array(z.string())),
|
|
646
|
-
annualRevenue: z.optional(z.array(z.string())),
|
|
647
|
-
start: z.optional(z.int()),
|
|
648
|
-
count: z.optional(z.int()),
|
|
649
|
-
});
|
|
650
|
-
export function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest) {
|
|
651
|
-
return JSON.stringify(SearchSalesNavCompaniesRequest$outboundSchema.parse(searchSalesNavCompaniesRequest));
|
|
652
|
-
}
|
|
653
|
-
/** @internal */
|
|
654
|
-
export const SearchSalesNavCompaniesCategoryCompanies$inboundSchema = z.enum(SearchSalesNavCompaniesCategoryCompanies);
|
|
655
|
-
/** @internal */
|
|
656
|
-
export const SearchSalesNavCompaniesType$inboundSchema = z.enum(SearchSalesNavCompaniesType);
|
|
657
|
-
/** @internal */
|
|
658
|
-
export const SearchSalesNavCompaniesItem$inboundSchema = z.object({
|
|
659
|
-
type: SearchSalesNavCompaniesType$inboundSchema,
|
|
660
|
-
id: types.string(),
|
|
661
|
-
name: types.string(),
|
|
662
|
-
profileUrl: types.nullable(types.string()),
|
|
663
|
-
summary: types.nullable(types.string()),
|
|
664
|
-
industry: types.nullable(types.string()),
|
|
665
|
-
location: types.nullable(types.string()),
|
|
666
|
-
headcount: types.nullable(types.string()),
|
|
667
|
-
});
|
|
668
|
-
export function searchSalesNavCompaniesItemFromJSON(jsonString) {
|
|
669
|
-
return safeParse(jsonString, (x) => SearchSalesNavCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesItem' from JSON`);
|
|
670
|
-
}
|
|
671
|
-
/** @internal */
|
|
672
|
-
export const SearchSalesNavCompaniesPaging$inboundSchema = z.object({
|
|
673
|
-
start: types.number(),
|
|
674
|
-
count: types.number(),
|
|
675
|
-
total: types.number(),
|
|
676
|
-
});
|
|
677
|
-
export function searchSalesNavCompaniesPagingFromJSON(jsonString) {
|
|
678
|
-
return safeParse(jsonString, (x) => SearchSalesNavCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesPaging' from JSON`);
|
|
679
|
-
}
|
|
680
|
-
/** @internal */
|
|
681
|
-
export const SearchSalesNavCompaniesResponse$inboundSchema = z.object({
|
|
682
|
-
success: types.literal(true),
|
|
683
|
-
category: SearchSalesNavCompaniesCategoryCompanies$inboundSchema,
|
|
684
|
-
items: z.array(z.lazy(() => SearchSalesNavCompaniesItem$inboundSchema)),
|
|
685
|
-
paging: z.lazy(() => SearchSalesNavCompaniesPaging$inboundSchema),
|
|
686
|
-
hasMore: types.boolean(),
|
|
687
|
-
creditsUsed: types.number(),
|
|
688
|
-
retryAfter: types.number(),
|
|
689
|
-
});
|
|
690
|
-
export function searchSalesNavCompaniesResponseFromJSON(jsonString) {
|
|
691
|
-
return safeParse(jsonString, (x) => SearchSalesNavCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesResponse' from JSON`);
|
|
692
|
-
}
|
|
693
|
-
/** @internal */
|
|
694
628
|
export const SearchSalesNavPeopleCategoryRequest$outboundSchema = z.enum(SearchSalesNavPeopleCategoryRequest);
|
|
695
629
|
/** @internal */
|
|
696
630
|
export const SearchSalesNavPeopleCompany$outboundSchema = z.object({
|
|
@@ -819,111 +753,90 @@ export function searchSalesNavPeopleResponseFromJSON(jsonString) {
|
|
|
819
753
|
return safeParse(jsonString, (x) => SearchSalesNavPeopleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavPeopleResponse' from JSON`);
|
|
820
754
|
}
|
|
821
755
|
/** @internal */
|
|
822
|
-
export const
|
|
823
|
-
profile: z.string(),
|
|
824
|
-
campaignSlug: z.optional(z.string()),
|
|
825
|
-
actionSlug: z.optional(z.string()),
|
|
826
|
-
});
|
|
827
|
-
export function connectProfileRequestToJSON(connectProfileRequest) {
|
|
828
|
-
return JSON.stringify(ConnectProfileRequest$outboundSchema.parse(connectProfileRequest));
|
|
829
|
-
}
|
|
756
|
+
export const SearchSalesNavCompaniesCategoryRequest$outboundSchema = z.enum(SearchSalesNavCompaniesCategoryRequest);
|
|
830
757
|
/** @internal */
|
|
831
|
-
export const
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
duplicate: types.optional(types.boolean()),
|
|
835
|
-
creditsUsed: types.number(),
|
|
836
|
-
retryAfter: types.number(),
|
|
758
|
+
export const SearchSalesNavCompaniesIndustry$outboundSchema = z.object({
|
|
759
|
+
include: z.optional(z.array(z.string())),
|
|
760
|
+
exclude: z.optional(z.array(z.string())),
|
|
837
761
|
});
|
|
838
|
-
export function
|
|
839
|
-
return
|
|
762
|
+
export function searchSalesNavCompaniesIndustryToJSON(searchSalesNavCompaniesIndustry) {
|
|
763
|
+
return JSON.stringify(SearchSalesNavCompaniesIndustry$outboundSchema.parse(searchSalesNavCompaniesIndustry));
|
|
840
764
|
}
|
|
841
765
|
/** @internal */
|
|
842
|
-
export const
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
766
|
+
export const SearchSalesNavCompaniesRequest$outboundSchema = z.object({
|
|
767
|
+
category: z.optional(SearchSalesNavCompaniesCategoryRequest$outboundSchema),
|
|
768
|
+
url: z.optional(z.string()),
|
|
769
|
+
keywords: z.optional(z.string()),
|
|
770
|
+
industry: z.optional(z.lazy(() => SearchSalesNavCompaniesIndustry$outboundSchema)),
|
|
771
|
+
location: z.optional(z.array(z.string())),
|
|
772
|
+
companyHeadcount: z.optional(z.array(z.string())),
|
|
773
|
+
companyType: z.optional(z.array(z.string())),
|
|
774
|
+
annualRevenue: z.optional(z.array(z.string())),
|
|
775
|
+
start: z.optional(z.int()),
|
|
776
|
+
count: z.optional(z.int()),
|
|
848
777
|
});
|
|
849
|
-
export function
|
|
850
|
-
return JSON.stringify(
|
|
778
|
+
export function searchSalesNavCompaniesRequestToJSON(searchSalesNavCompaniesRequest) {
|
|
779
|
+
return JSON.stringify(SearchSalesNavCompaniesRequest$outboundSchema.parse(searchSalesNavCompaniesRequest));
|
|
851
780
|
}
|
|
852
781
|
/** @internal */
|
|
853
|
-
export const
|
|
854
|
-
success: types.literal(true),
|
|
855
|
-
messageId: types.string(),
|
|
856
|
-
duplicate: types.optional(types.boolean()),
|
|
857
|
-
creditsUsed: types.number(),
|
|
858
|
-
retryAfter: types.number(),
|
|
859
|
-
});
|
|
860
|
-
export function sendMessageResponseFromJSON(jsonString) {
|
|
861
|
-
return safeParse(jsonString, (x) => SendMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendMessageResponse' from JSON`);
|
|
862
|
-
}
|
|
782
|
+
export const SearchSalesNavCompaniesCategoryCompanies$inboundSchema = z.enum(SearchSalesNavCompaniesCategoryCompanies);
|
|
863
783
|
/** @internal */
|
|
864
|
-
export const
|
|
865
|
-
start: z._default(z.int(), 0),
|
|
866
|
-
count: z._default(z.int(), 10),
|
|
867
|
-
});
|
|
868
|
-
export function listSentInvitationsRequestToJSON(listSentInvitationsRequest) {
|
|
869
|
-
return JSON.stringify(ListSentInvitationsRequest$outboundSchema.parse(listSentInvitationsRequest));
|
|
870
|
-
}
|
|
784
|
+
export const SearchSalesNavCompaniesType$inboundSchema = z.enum(SearchSalesNavCompaniesType);
|
|
871
785
|
/** @internal */
|
|
872
|
-
export const
|
|
873
|
-
|
|
786
|
+
export const SearchSalesNavCompaniesItem$inboundSchema = z.object({
|
|
787
|
+
type: SearchSalesNavCompaniesType$inboundSchema,
|
|
788
|
+
id: types.string(),
|
|
874
789
|
name: types.string(),
|
|
875
|
-
headline: types.nullable(types.string()),
|
|
876
790
|
profileUrl: types.nullable(types.string()),
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
791
|
+
summary: types.nullable(types.string()),
|
|
792
|
+
industry: types.nullable(types.string()),
|
|
793
|
+
location: types.nullable(types.string()),
|
|
794
|
+
headcount: types.nullable(types.string()),
|
|
880
795
|
});
|
|
881
|
-
export function
|
|
882
|
-
return safeParse(jsonString, (x) =>
|
|
796
|
+
export function searchSalesNavCompaniesItemFromJSON(jsonString) {
|
|
797
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesItem' from JSON`);
|
|
883
798
|
}
|
|
884
799
|
/** @internal */
|
|
885
|
-
export const
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
sentAt: types.nullable(types.string()),
|
|
890
|
-
message: types.nullable(types.string()),
|
|
891
|
-
targetProfileId: types.nullable(types.string()),
|
|
892
|
-
targetFirstName: types.nullable(types.string()),
|
|
893
|
-
targetLastName: types.nullable(types.string()),
|
|
894
|
-
toMember: types.nullable(z.lazy(() => ToMember$inboundSchema)),
|
|
800
|
+
export const SearchSalesNavCompaniesPaging$inboundSchema = z.object({
|
|
801
|
+
start: types.number(),
|
|
802
|
+
count: types.number(),
|
|
803
|
+
total: types.number(),
|
|
895
804
|
});
|
|
896
|
-
export function
|
|
897
|
-
return safeParse(jsonString, (x) =>
|
|
805
|
+
export function searchSalesNavCompaniesPagingFromJSON(jsonString) {
|
|
806
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesPaging' from JSON`);
|
|
898
807
|
}
|
|
899
808
|
/** @internal */
|
|
900
|
-
export const
|
|
809
|
+
export const SearchSalesNavCompaniesResponse$inboundSchema = z.object({
|
|
901
810
|
success: types.literal(true),
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
811
|
+
category: SearchSalesNavCompaniesCategoryCompanies$inboundSchema,
|
|
812
|
+
items: z.array(z.lazy(() => SearchSalesNavCompaniesItem$inboundSchema)),
|
|
813
|
+
paging: z.lazy(() => SearchSalesNavCompaniesPaging$inboundSchema),
|
|
814
|
+
hasMore: types.boolean(),
|
|
906
815
|
creditsUsed: types.number(),
|
|
907
816
|
retryAfter: types.number(),
|
|
908
817
|
});
|
|
909
|
-
export function
|
|
910
|
-
return safeParse(jsonString, (x) =>
|
|
818
|
+
export function searchSalesNavCompaniesResponseFromJSON(jsonString) {
|
|
819
|
+
return safeParse(jsonString, (x) => SearchSalesNavCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchSalesNavCompaniesResponse' from JSON`);
|
|
911
820
|
}
|
|
912
821
|
/** @internal */
|
|
913
|
-
export const
|
|
914
|
-
|
|
822
|
+
export const ConnectProfileRequest$outboundSchema = z.object({
|
|
823
|
+
profile: z.string(),
|
|
824
|
+
campaignSlug: z.optional(z.string()),
|
|
825
|
+
actionSlug: z.optional(z.string()),
|
|
915
826
|
});
|
|
916
|
-
export function
|
|
917
|
-
return JSON.stringify(
|
|
827
|
+
export function connectProfileRequestToJSON(connectProfileRequest) {
|
|
828
|
+
return JSON.stringify(ConnectProfileRequest$outboundSchema.parse(connectProfileRequest));
|
|
918
829
|
}
|
|
919
830
|
/** @internal */
|
|
920
|
-
export const
|
|
831
|
+
export const ConnectProfileResponse$inboundSchema = z.object({
|
|
921
832
|
success: types.literal(true),
|
|
833
|
+
message: types.string(),
|
|
834
|
+
duplicate: types.optional(types.boolean()),
|
|
922
835
|
creditsUsed: types.number(),
|
|
923
836
|
retryAfter: types.number(),
|
|
924
837
|
});
|
|
925
|
-
export function
|
|
926
|
-
return safeParse(jsonString, (x) =>
|
|
838
|
+
export function connectProfileResponseFromJSON(jsonString) {
|
|
839
|
+
return safeParse(jsonString, (x) => ConnectProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectProfileResponse' from JSON`);
|
|
927
840
|
}
|
|
928
841
|
/** @internal */
|
|
929
842
|
export const ListInvitationsRequest$outboundSchema = z.object({
|
|
@@ -996,29 +909,140 @@ export function acceptInvitationResponseFromJSON(jsonString) {
|
|
|
996
909
|
return safeParse(jsonString, (x) => AcceptInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AcceptInvitationResponse' from JSON`);
|
|
997
910
|
}
|
|
998
911
|
/** @internal */
|
|
999
|
-
export const
|
|
1000
|
-
|
|
912
|
+
export const SendMessageRequest$outboundSchema = z.object({
|
|
913
|
+
profile: z.optional(z.string()),
|
|
914
|
+
conversationUrn: z.optional(z.string()),
|
|
1001
915
|
message: z.string(),
|
|
1002
916
|
campaignSlug: z.optional(z.string()),
|
|
1003
917
|
actionSlug: z.optional(z.string()),
|
|
1004
918
|
});
|
|
1005
|
-
export function
|
|
1006
|
-
return JSON.stringify(
|
|
919
|
+
export function sendMessageRequestToJSON(sendMessageRequest) {
|
|
920
|
+
return JSON.stringify(SendMessageRequest$outboundSchema.parse(sendMessageRequest));
|
|
1007
921
|
}
|
|
1008
922
|
/** @internal */
|
|
1009
|
-
export const
|
|
923
|
+
export const SendMessageResponse$inboundSchema = z.object({
|
|
1010
924
|
success: types.literal(true),
|
|
1011
|
-
|
|
925
|
+
messageId: types.string(),
|
|
1012
926
|
duplicate: types.optional(types.boolean()),
|
|
1013
927
|
creditsUsed: types.number(),
|
|
1014
928
|
retryAfter: types.number(),
|
|
1015
929
|
});
|
|
1016
|
-
export function
|
|
1017
|
-
return safeParse(jsonString, (x) =>
|
|
930
|
+
export function sendMessageResponseFromJSON(jsonString) {
|
|
931
|
+
return safeParse(jsonString, (x) => SendMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendMessageResponse' from JSON`);
|
|
1018
932
|
}
|
|
1019
933
|
/** @internal */
|
|
1020
|
-
export const
|
|
1021
|
-
|
|
934
|
+
export const ReplyToCommentRequest$outboundSchema = z.object({
|
|
935
|
+
commentUrn: z.string(),
|
|
936
|
+
message: z.string(),
|
|
937
|
+
campaignSlug: z.optional(z.string()),
|
|
938
|
+
actionSlug: z.optional(z.string()),
|
|
939
|
+
});
|
|
940
|
+
export function replyToCommentRequestToJSON(replyToCommentRequest) {
|
|
941
|
+
return JSON.stringify(ReplyToCommentRequest$outboundSchema.parse(replyToCommentRequest));
|
|
942
|
+
}
|
|
943
|
+
/** @internal */
|
|
944
|
+
export const ReplyToCommentResponse$inboundSchema = z.object({
|
|
945
|
+
success: types.literal(true),
|
|
946
|
+
replyUrn: types.optional(types.string()),
|
|
947
|
+
duplicate: types.optional(types.boolean()),
|
|
948
|
+
creditsUsed: types.number(),
|
|
949
|
+
retryAfter: types.number(),
|
|
950
|
+
});
|
|
951
|
+
export function replyToCommentResponseFromJSON(jsonString) {
|
|
952
|
+
return safeParse(jsonString, (x) => ReplyToCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReplyToCommentResponse' from JSON`);
|
|
953
|
+
}
|
|
954
|
+
/** @internal */
|
|
955
|
+
export const LikeCommentReactionType$outboundSchema = z.enum(LikeCommentReactionType);
|
|
956
|
+
/** @internal */
|
|
957
|
+
export const LikeCommentRequest$outboundSchema = z.object({
|
|
958
|
+
commentUrn: z.string(),
|
|
959
|
+
reactionType: z._default(LikeCommentReactionType$outboundSchema, "LIKE"),
|
|
960
|
+
campaignSlug: z.optional(z.string()),
|
|
961
|
+
actionSlug: z.optional(z.string()),
|
|
962
|
+
});
|
|
963
|
+
export function likeCommentRequestToJSON(likeCommentRequest) {
|
|
964
|
+
return JSON.stringify(LikeCommentRequest$outboundSchema.parse(likeCommentRequest));
|
|
965
|
+
}
|
|
966
|
+
/** @internal */
|
|
967
|
+
export const LikeCommentResponse$inboundSchema = z.object({
|
|
968
|
+
success: types.literal(true),
|
|
969
|
+
resourceKey: types.optional(types.string()),
|
|
970
|
+
duplicate: types.optional(types.boolean()),
|
|
971
|
+
creditsUsed: types.number(),
|
|
972
|
+
retryAfter: types.number(),
|
|
973
|
+
});
|
|
974
|
+
export function likeCommentResponseFromJSON(jsonString) {
|
|
975
|
+
return safeParse(jsonString, (x) => LikeCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LikeCommentResponse' from JSON`);
|
|
976
|
+
}
|
|
977
|
+
/** @internal */
|
|
978
|
+
export const PublishPostMode$outboundSchema = z.enum(PublishPostMode);
|
|
979
|
+
/** @internal */
|
|
980
|
+
export const Visibility$outboundSchema = z
|
|
981
|
+
.enum(Visibility);
|
|
982
|
+
/** @internal */
|
|
983
|
+
export const Mention$outboundSchema = z.object({
|
|
984
|
+
profileUrn: z.string(),
|
|
985
|
+
start: z.int(),
|
|
986
|
+
length: z.int(),
|
|
987
|
+
});
|
|
988
|
+
export function mentionToJSON(mention) {
|
|
989
|
+
return JSON.stringify(Mention$outboundSchema.parse(mention));
|
|
990
|
+
}
|
|
991
|
+
/** @internal */
|
|
992
|
+
export const PublishPostRequest$outboundSchema = z.object({
|
|
993
|
+
text: z.string(),
|
|
994
|
+
mode: PublishPostMode$outboundSchema,
|
|
995
|
+
scheduledAt: z.optional(z.int()),
|
|
996
|
+
companyId: z.optional(z.string()),
|
|
997
|
+
imageUrl: z.optional(z.string()),
|
|
998
|
+
imageBase64: z.optional(z.string()),
|
|
999
|
+
imageFileName: z.optional(z.string()),
|
|
1000
|
+
visibility: z._default(Visibility$outboundSchema, "ANYONE"),
|
|
1001
|
+
mentions: z.optional(z.array(z.lazy(() => Mention$outboundSchema))),
|
|
1002
|
+
campaignSlug: z.optional(z.string()),
|
|
1003
|
+
actionSlug: z.optional(z.string()),
|
|
1004
|
+
});
|
|
1005
|
+
export function publishPostRequestToJSON(publishPostRequest) {
|
|
1006
|
+
return JSON.stringify(PublishPostRequest$outboundSchema.parse(publishPostRequest));
|
|
1007
|
+
}
|
|
1008
|
+
/** @internal */
|
|
1009
|
+
export const PublishPostResponse$inboundSchema = z.object({
|
|
1010
|
+
success: types.literal(true),
|
|
1011
|
+
shareUrn: types.string(),
|
|
1012
|
+
activityUrn: types.nullable(types.string()),
|
|
1013
|
+
duplicate: types.optional(types.boolean()),
|
|
1014
|
+
creditsUsed: types.number(),
|
|
1015
|
+
retryAfter: types.number(),
|
|
1016
|
+
});
|
|
1017
|
+
export function publishPostResponseFromJSON(jsonString) {
|
|
1018
|
+
return safeParse(jsonString, (x) => PublishPostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PublishPostResponse' from JSON`);
|
|
1019
|
+
}
|
|
1020
|
+
/** @internal */
|
|
1021
|
+
export const CreateCommentRequest$outboundSchema = z.object({
|
|
1022
|
+
postUrl: z.string(),
|
|
1023
|
+
message: z.string(),
|
|
1024
|
+
companyId: z.optional(z.string()),
|
|
1025
|
+
campaignSlug: z.optional(z.string()),
|
|
1026
|
+
actionSlug: z.optional(z.string()),
|
|
1027
|
+
});
|
|
1028
|
+
export function createCommentRequestToJSON(createCommentRequest) {
|
|
1029
|
+
return JSON.stringify(CreateCommentRequest$outboundSchema.parse(createCommentRequest));
|
|
1030
|
+
}
|
|
1031
|
+
/** @internal */
|
|
1032
|
+
export const CreateCommentResponse$inboundSchema = z.object({
|
|
1033
|
+
success: types.literal(true),
|
|
1034
|
+
commentUrn: types.optional(types.string()),
|
|
1035
|
+
fsdCommentUrn: types.optional(types.string()),
|
|
1036
|
+
duplicate: types.optional(types.boolean()),
|
|
1037
|
+
creditsUsed: types.number(),
|
|
1038
|
+
retryAfter: types.number(),
|
|
1039
|
+
});
|
|
1040
|
+
export function createCommentResponseFromJSON(jsonString) {
|
|
1041
|
+
return safeParse(jsonString, (x) => CreateCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateCommentResponse' from JSON`);
|
|
1042
|
+
}
|
|
1043
|
+
/** @internal */
|
|
1044
|
+
export const LikePostReactionType$outboundSchema = z.enum(LikePostReactionType);
|
|
1045
|
+
/** @internal */
|
|
1022
1046
|
export const LikePostRequest$outboundSchema = z.object({
|
|
1023
1047
|
postUrl: z.string(),
|
|
1024
1048
|
reactionType: z._default(LikePostReactionType$outboundSchema, "LIKE"),
|
|
@@ -1041,6 +1065,74 @@ export function likePostResponseFromJSON(jsonString) {
|
|
|
1041
1065
|
return safeParse(jsonString, (x) => LikePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LikePostResponse' from JSON`);
|
|
1042
1066
|
}
|
|
1043
1067
|
/** @internal */
|
|
1068
|
+
export const DeclineInvitationRequest$outboundSchema = z.object({
|
|
1069
|
+
invitationId: z.string(),
|
|
1070
|
+
sharedSecret: z.string(),
|
|
1071
|
+
senderProfileId: z.optional(z.string()),
|
|
1072
|
+
});
|
|
1073
|
+
export function declineInvitationRequestToJSON(declineInvitationRequest) {
|
|
1074
|
+
return JSON.stringify(DeclineInvitationRequest$outboundSchema.parse(declineInvitationRequest));
|
|
1075
|
+
}
|
|
1076
|
+
/** @internal */
|
|
1077
|
+
export const DeclineInvitationResponse$inboundSchema = z.object({
|
|
1078
|
+
success: types.literal(true),
|
|
1079
|
+
message: types.string(),
|
|
1080
|
+
creditsUsed: types.number(),
|
|
1081
|
+
retryAfter: types.number(),
|
|
1082
|
+
});
|
|
1083
|
+
export function declineInvitationResponseFromJSON(jsonString) {
|
|
1084
|
+
return safeParse(jsonString, (x) => DeclineInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeclineInvitationResponse' from JSON`);
|
|
1085
|
+
}
|
|
1086
|
+
/** @internal */
|
|
1087
|
+
export const ListSentInvitationsRequest$outboundSchema = z.object({
|
|
1088
|
+
start: z._default(z.int(), 0),
|
|
1089
|
+
count: z._default(z.int(), 10),
|
|
1090
|
+
});
|
|
1091
|
+
export function listSentInvitationsRequestToJSON(listSentInvitationsRequest) {
|
|
1092
|
+
return JSON.stringify(ListSentInvitationsRequest$outboundSchema.parse(listSentInvitationsRequest));
|
|
1093
|
+
}
|
|
1094
|
+
/** @internal */
|
|
1095
|
+
export const ToMember$inboundSchema = z
|
|
1096
|
+
.object({
|
|
1097
|
+
name: types.string(),
|
|
1098
|
+
headline: types.nullable(types.string()),
|
|
1099
|
+
profileUrl: types.nullable(types.string()),
|
|
1100
|
+
profilePicture: types.nullable(types.string()),
|
|
1101
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1102
|
+
profileUrn: types.nullable(types.string()),
|
|
1103
|
+
});
|
|
1104
|
+
export function toMemberFromJSON(jsonString) {
|
|
1105
|
+
return safeParse(jsonString, (x) => ToMember$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToMember' from JSON`);
|
|
1106
|
+
}
|
|
1107
|
+
/** @internal */
|
|
1108
|
+
export const ListSentInvitationsInvitation$inboundSchema = z.object({
|
|
1109
|
+
invitationId: types.string(),
|
|
1110
|
+
invitationUrn: types.string(),
|
|
1111
|
+
entityUrn: types.string(),
|
|
1112
|
+
sentAt: types.nullable(types.string()),
|
|
1113
|
+
message: types.nullable(types.string()),
|
|
1114
|
+
targetProfileId: types.nullable(types.string()),
|
|
1115
|
+
targetFirstName: types.nullable(types.string()),
|
|
1116
|
+
targetLastName: types.nullable(types.string()),
|
|
1117
|
+
toMember: types.nullable(z.lazy(() => ToMember$inboundSchema)),
|
|
1118
|
+
});
|
|
1119
|
+
export function listSentInvitationsInvitationFromJSON(jsonString) {
|
|
1120
|
+
return safeParse(jsonString, (x) => ListSentInvitationsInvitation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSentInvitationsInvitation' from JSON`);
|
|
1121
|
+
}
|
|
1122
|
+
/** @internal */
|
|
1123
|
+
export const ListSentInvitationsResponse$inboundSchema = z.object({
|
|
1124
|
+
success: types.literal(true),
|
|
1125
|
+
invitations: z.array(z.lazy(() => ListSentInvitationsInvitation$inboundSchema)),
|
|
1126
|
+
total: types.number(),
|
|
1127
|
+
start: types.number(),
|
|
1128
|
+
count: types.number(),
|
|
1129
|
+
creditsUsed: types.number(),
|
|
1130
|
+
retryAfter: types.number(),
|
|
1131
|
+
});
|
|
1132
|
+
export function listSentInvitationsResponseFromJSON(jsonString) {
|
|
1133
|
+
return safeParse(jsonString, (x) => ListSentInvitationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListSentInvitationsResponse' from JSON`);
|
|
1134
|
+
}
|
|
1135
|
+
/** @internal */
|
|
1044
1136
|
export const WithdrawInvitationRequest$outboundSchema = z.object({
|
|
1045
1137
|
invitationUrn: z.string(),
|
|
1046
1138
|
});
|
|
@@ -1075,6 +1167,23 @@ export function followProfileResponseFromJSON(jsonString) {
|
|
|
1075
1167
|
return safeParse(jsonString, (x) => FollowProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FollowProfileResponse' from JSON`);
|
|
1076
1168
|
}
|
|
1077
1169
|
/** @internal */
|
|
1170
|
+
export const UnfollowProfileRequest$outboundSchema = z.object({
|
|
1171
|
+
profile: z.string(),
|
|
1172
|
+
});
|
|
1173
|
+
export function unfollowProfileRequestToJSON(unfollowProfileRequest) {
|
|
1174
|
+
return JSON.stringify(UnfollowProfileRequest$outboundSchema.parse(unfollowProfileRequest));
|
|
1175
|
+
}
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export const UnfollowProfileResponse$inboundSchema = z.object({
|
|
1178
|
+
success: types.literal(true),
|
|
1179
|
+
message: types.string(),
|
|
1180
|
+
creditsUsed: types.number(),
|
|
1181
|
+
retryAfter: types.number(),
|
|
1182
|
+
});
|
|
1183
|
+
export function unfollowProfileResponseFromJSON(jsonString) {
|
|
1184
|
+
return safeParse(jsonString, (x) => UnfollowProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnfollowProfileResponse' from JSON`);
|
|
1185
|
+
}
|
|
1186
|
+
/** @internal */
|
|
1078
1187
|
export const EditPostRequest$outboundSchema = z.object({
|
|
1079
1188
|
postUrl: z.string(),
|
|
1080
1189
|
text: z.string(),
|
|
@@ -1160,177 +1269,68 @@ export function unlikeCommentResponseFromJSON(jsonString) {
|
|
|
1160
1269
|
return safeParse(jsonString, (x) => UnlikeCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnlikeCommentResponse' from JSON`);
|
|
1161
1270
|
}
|
|
1162
1271
|
/** @internal */
|
|
1163
|
-
export const
|
|
1272
|
+
export const SavePostRequest$outboundSchema = z.object({
|
|
1164
1273
|
postUrl: z.string(),
|
|
1165
1274
|
});
|
|
1166
|
-
export function
|
|
1167
|
-
return JSON.stringify(
|
|
1168
|
-
}
|
|
1169
|
-
/** @internal */
|
|
1170
|
-
export const UnsavePostResponse$inboundSchema = z.object({
|
|
1171
|
-
success: types.literal(true),
|
|
1172
|
-
creditsUsed: types.number(),
|
|
1173
|
-
retryAfter: types.number(),
|
|
1174
|
-
});
|
|
1175
|
-
export function unsavePostResponseFromJSON(jsonString) {
|
|
1176
|
-
return safeParse(jsonString, (x) => UnsavePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnsavePostResponse' from JSON`);
|
|
1177
|
-
}
|
|
1178
|
-
/** @internal */
|
|
1179
|
-
export const UnfollowCompanyRequest$outboundSchema = z.object({
|
|
1180
|
-
company: z.string(),
|
|
1181
|
-
});
|
|
1182
|
-
export function unfollowCompanyRequestToJSON(unfollowCompanyRequest) {
|
|
1183
|
-
return JSON.stringify(UnfollowCompanyRequest$outboundSchema.parse(unfollowCompanyRequest));
|
|
1184
|
-
}
|
|
1185
|
-
/** @internal */
|
|
1186
|
-
export const UnfollowCompanyResponse$inboundSchema = z.object({
|
|
1187
|
-
success: types.literal(true),
|
|
1188
|
-
creditsUsed: types.number(),
|
|
1189
|
-
retryAfter: types.number(),
|
|
1190
|
-
});
|
|
1191
|
-
export function unfollowCompanyResponseFromJSON(jsonString) {
|
|
1192
|
-
return safeParse(jsonString, (x) => UnfollowCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnfollowCompanyResponse' from JSON`);
|
|
1193
|
-
}
|
|
1194
|
-
/** @internal */
|
|
1195
|
-
export const LikeCommentReactionType$outboundSchema = z.enum(LikeCommentReactionType);
|
|
1196
|
-
/** @internal */
|
|
1197
|
-
export const LikeCommentRequest$outboundSchema = z.object({
|
|
1198
|
-
commentUrn: z.string(),
|
|
1199
|
-
reactionType: z._default(LikeCommentReactionType$outboundSchema, "LIKE"),
|
|
1200
|
-
campaignSlug: z.optional(z.string()),
|
|
1201
|
-
actionSlug: z.optional(z.string()),
|
|
1202
|
-
});
|
|
1203
|
-
export function likeCommentRequestToJSON(likeCommentRequest) {
|
|
1204
|
-
return JSON.stringify(LikeCommentRequest$outboundSchema.parse(likeCommentRequest));
|
|
1205
|
-
}
|
|
1206
|
-
/** @internal */
|
|
1207
|
-
export const LikeCommentResponse$inboundSchema = z.object({
|
|
1208
|
-
success: types.literal(true),
|
|
1209
|
-
resourceKey: types.optional(types.string()),
|
|
1210
|
-
duplicate: types.optional(types.boolean()),
|
|
1211
|
-
creditsUsed: types.number(),
|
|
1212
|
-
retryAfter: types.number(),
|
|
1213
|
-
});
|
|
1214
|
-
export function likeCommentResponseFromJSON(jsonString) {
|
|
1215
|
-
return safeParse(jsonString, (x) => LikeCommentResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'LikeCommentResponse' from JSON`);
|
|
1216
|
-
}
|
|
1217
|
-
/** @internal */
|
|
1218
|
-
export const PublishPostMode$outboundSchema = z.enum(PublishPostMode);
|
|
1219
|
-
/** @internal */
|
|
1220
|
-
export const Visibility$outboundSchema = z
|
|
1221
|
-
.enum(Visibility);
|
|
1222
|
-
/** @internal */
|
|
1223
|
-
export const Mention$outboundSchema = z.object({
|
|
1224
|
-
profileUrn: z.string(),
|
|
1225
|
-
start: z.int(),
|
|
1226
|
-
length: z.int(),
|
|
1227
|
-
});
|
|
1228
|
-
export function mentionToJSON(mention) {
|
|
1229
|
-
return JSON.stringify(Mention$outboundSchema.parse(mention));
|
|
1230
|
-
}
|
|
1231
|
-
/** @internal */
|
|
1232
|
-
export const PublishPostRequest$outboundSchema = z.object({
|
|
1233
|
-
text: z.string(),
|
|
1234
|
-
mode: PublishPostMode$outboundSchema,
|
|
1235
|
-
scheduledAt: z.optional(z.int()),
|
|
1236
|
-
companyId: z.optional(z.string()),
|
|
1237
|
-
imageUrl: z.optional(z.string()),
|
|
1238
|
-
imageBase64: z.optional(z.string()),
|
|
1239
|
-
imageFileName: z.optional(z.string()),
|
|
1240
|
-
visibility: z._default(Visibility$outboundSchema, "ANYONE"),
|
|
1241
|
-
mentions: z.optional(z.array(z.lazy(() => Mention$outboundSchema))),
|
|
1242
|
-
campaignSlug: z.optional(z.string()),
|
|
1243
|
-
actionSlug: z.optional(z.string()),
|
|
1244
|
-
});
|
|
1245
|
-
export function publishPostRequestToJSON(publishPostRequest) {
|
|
1246
|
-
return JSON.stringify(PublishPostRequest$outboundSchema.parse(publishPostRequest));
|
|
1275
|
+
export function savePostRequestToJSON(savePostRequest) {
|
|
1276
|
+
return JSON.stringify(SavePostRequest$outboundSchema.parse(savePostRequest));
|
|
1247
1277
|
}
|
|
1248
1278
|
/** @internal */
|
|
1249
|
-
export const
|
|
1279
|
+
export const SavePostResponse$inboundSchema = z.object({
|
|
1250
1280
|
success: types.literal(true),
|
|
1251
|
-
shareUrn: types.string(),
|
|
1252
|
-
activityUrn: types.nullable(types.string()),
|
|
1253
|
-
duplicate: types.optional(types.boolean()),
|
|
1254
1281
|
creditsUsed: types.number(),
|
|
1255
1282
|
retryAfter: types.number(),
|
|
1256
1283
|
});
|
|
1257
|
-
export function
|
|
1258
|
-
return safeParse(jsonString, (x) =>
|
|
1284
|
+
export function savePostResponseFromJSON(jsonString) {
|
|
1285
|
+
return safeParse(jsonString, (x) => SavePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SavePostResponse' from JSON`);
|
|
1259
1286
|
}
|
|
1260
1287
|
/** @internal */
|
|
1261
|
-
export const
|
|
1288
|
+
export const UnsavePostRequest$outboundSchema = z.object({
|
|
1262
1289
|
postUrl: z.string(),
|
|
1263
|
-
message: z.string(),
|
|
1264
|
-
companyId: z.optional(z.string()),
|
|
1265
|
-
campaignSlug: z.optional(z.string()),
|
|
1266
|
-
actionSlug: z.optional(z.string()),
|
|
1267
|
-
});
|
|
1268
|
-
export function createCommentRequestToJSON(createCommentRequest) {
|
|
1269
|
-
return JSON.stringify(CreateCommentRequest$outboundSchema.parse(createCommentRequest));
|
|
1270
|
-
}
|
|
1271
|
-
/** @internal */
|
|
1272
|
-
export const CreateCommentResponse$inboundSchema = z.object({
|
|
1273
|
-
success: types.literal(true),
|
|
1274
|
-
commentUrn: types.optional(types.string()),
|
|
1275
|
-
fsdCommentUrn: types.optional(types.string()),
|
|
1276
|
-
duplicate: types.optional(types.boolean()),
|
|
1277
|
-
creditsUsed: types.number(),
|
|
1278
|
-
retryAfter: types.number(),
|
|
1279
1290
|
});
|
|
1280
|
-
export function
|
|
1281
|
-
return
|
|
1282
|
-
}
|
|
1283
|
-
/** @internal */
|
|
1284
|
-
export const DeclineInvitationRequest$outboundSchema = z.object({
|
|
1285
|
-
invitationId: z.string(),
|
|
1286
|
-
sharedSecret: z.string(),
|
|
1287
|
-
senderProfileId: z.optional(z.string()),
|
|
1288
|
-
});
|
|
1289
|
-
export function declineInvitationRequestToJSON(declineInvitationRequest) {
|
|
1290
|
-
return JSON.stringify(DeclineInvitationRequest$outboundSchema.parse(declineInvitationRequest));
|
|
1291
|
+
export function unsavePostRequestToJSON(unsavePostRequest) {
|
|
1292
|
+
return JSON.stringify(UnsavePostRequest$outboundSchema.parse(unsavePostRequest));
|
|
1291
1293
|
}
|
|
1292
1294
|
/** @internal */
|
|
1293
|
-
export const
|
|
1295
|
+
export const UnsavePostResponse$inboundSchema = z.object({
|
|
1294
1296
|
success: types.literal(true),
|
|
1295
|
-
message: types.string(),
|
|
1296
1297
|
creditsUsed: types.number(),
|
|
1297
1298
|
retryAfter: types.number(),
|
|
1298
1299
|
});
|
|
1299
|
-
export function
|
|
1300
|
-
return safeParse(jsonString, (x) =>
|
|
1300
|
+
export function unsavePostResponseFromJSON(jsonString) {
|
|
1301
|
+
return safeParse(jsonString, (x) => UnsavePostResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnsavePostResponse' from JSON`);
|
|
1301
1302
|
}
|
|
1302
1303
|
/** @internal */
|
|
1303
|
-
export const
|
|
1304
|
-
|
|
1304
|
+
export const FollowCompanyRequest$outboundSchema = z.object({
|
|
1305
|
+
company: z.string(),
|
|
1305
1306
|
});
|
|
1306
|
-
export function
|
|
1307
|
-
return JSON.stringify(
|
|
1307
|
+
export function followCompanyRequestToJSON(followCompanyRequest) {
|
|
1308
|
+
return JSON.stringify(FollowCompanyRequest$outboundSchema.parse(followCompanyRequest));
|
|
1308
1309
|
}
|
|
1309
1310
|
/** @internal */
|
|
1310
|
-
export const
|
|
1311
|
+
export const FollowCompanyResponse$inboundSchema = z.object({
|
|
1311
1312
|
success: types.literal(true),
|
|
1312
|
-
message: types.string(),
|
|
1313
1313
|
creditsUsed: types.number(),
|
|
1314
1314
|
retryAfter: types.number(),
|
|
1315
1315
|
});
|
|
1316
|
-
export function
|
|
1317
|
-
return safeParse(jsonString, (x) =>
|
|
1316
|
+
export function followCompanyResponseFromJSON(jsonString) {
|
|
1317
|
+
return safeParse(jsonString, (x) => FollowCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FollowCompanyResponse' from JSON`);
|
|
1318
1318
|
}
|
|
1319
1319
|
/** @internal */
|
|
1320
|
-
export const
|
|
1321
|
-
|
|
1320
|
+
export const UnfollowCompanyRequest$outboundSchema = z.object({
|
|
1321
|
+
company: z.string(),
|
|
1322
1322
|
});
|
|
1323
|
-
export function
|
|
1324
|
-
return JSON.stringify(
|
|
1323
|
+
export function unfollowCompanyRequestToJSON(unfollowCompanyRequest) {
|
|
1324
|
+
return JSON.stringify(UnfollowCompanyRequest$outboundSchema.parse(unfollowCompanyRequest));
|
|
1325
1325
|
}
|
|
1326
1326
|
/** @internal */
|
|
1327
|
-
export const
|
|
1327
|
+
export const UnfollowCompanyResponse$inboundSchema = z.object({
|
|
1328
1328
|
success: types.literal(true),
|
|
1329
1329
|
creditsUsed: types.number(),
|
|
1330
1330
|
retryAfter: types.number(),
|
|
1331
1331
|
});
|
|
1332
|
-
export function
|
|
1333
|
-
return safeParse(jsonString, (x) =>
|
|
1332
|
+
export function unfollowCompanyResponseFromJSON(jsonString) {
|
|
1333
|
+
return safeParse(jsonString, (x) => UnfollowCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnfollowCompanyResponse' from JSON`);
|
|
1334
1334
|
}
|
|
1335
1335
|
/** @internal */
|
|
1336
1336
|
export const GetProfilePositionStartDate$inboundSchema = z.object({
|