bereach 0.2.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +191 -66
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts → actions-connect-profile.d.ts} +2 -2
- package/esm/funcs/actions-connect-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js → actions-connect-profile.js} +2 -2
- package/esm/funcs/actions-connect-profile.js.map +1 -0
- package/esm/funcs/actions-follow-company.d.ts +18 -0
- package/esm/funcs/{campaigns-sync-actions.d.ts.map → actions-follow-company.d.ts.map} +1 -1
- package/esm/funcs/actions-follow-company.js +95 -0
- package/esm/funcs/actions-follow-company.js.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.d.ts → actions-list-sent-invitations.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-publish-post.d.ts.map → actions-list-sent-invitations.d.ts.map} +1 -1
- package/esm/funcs/actions-list-sent-invitations.js +95 -0
- package/esm/funcs/{linkedin-actions-publish-post.js.map → actions-list-sent-invitations.js.map} +1 -1
- package/esm/funcs/actions-send-message.d.ts +18 -0
- package/esm/funcs/actions-send-message.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.js → actions-send-message.js} +3 -3
- package/esm/funcs/actions-send-message.js.map +1 -0
- package/esm/funcs/campaigns-sync.d.ts +18 -0
- package/esm/funcs/campaigns-sync.d.ts.map +1 -0
- package/esm/funcs/{campaigns-sync-actions.js → campaigns-sync.js} +2 -2
- package/esm/funcs/campaigns-sync.js.map +1 -0
- package/esm/funcs/chat-archive.d.ts +18 -0
- package/esm/funcs/chat-archive.d.ts.map +1 -0
- package/esm/funcs/chat-archive.js +95 -0
- package/esm/funcs/chat-archive.js.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.d.ts → chat-find-conversation.d.ts} +2 -2
- package/esm/funcs/chat-find-conversation.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-find-conversation.js → chat-find-conversation.js} +2 -2
- package/esm/funcs/chat-find-conversation.js.map +1 -0
- package/esm/funcs/chat-search-conversations.d.ts +18 -0
- package/esm/funcs/chat-search-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js → chat-search-conversations.js} +2 -2
- package/esm/funcs/chat-search-conversations.js.map +1 -0
- package/esm/funcs/chat-unreact.d.ts +18 -0
- package/esm/funcs/chat-unreact.d.ts.map +1 -0
- package/esm/funcs/chat-unreact.js +95 -0
- package/esm/funcs/chat-unreact.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +18 -0
- package/esm/funcs/company-pages-get-analytics.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-analytics.js +95 -0
- package/esm/funcs/company-pages-get-analytics.js.map +1 -0
- package/esm/funcs/company-pages-get-permissions.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts.map → company-pages-get-permissions.d.ts.map} +1 -1
- package/esm/funcs/company-pages-get-permissions.js +95 -0
- package/esm/funcs/{linkedin-actions-send-message.js.map → company-pages-get-permissions.js.map} +1 -1
- package/esm/funcs/{campaigns-sync-actions.d.ts → company-pages-get-posts.d.ts} +4 -4
- package/esm/funcs/company-pages-get-posts.d.ts.map +1 -0
- package/esm/funcs/company-pages-get-posts.js +95 -0
- package/esm/funcs/company-pages-get-posts.js.map +1 -0
- package/esm/funcs/company-pages-list.d.ts +18 -0
- package/esm/funcs/company-pages-list.d.ts.map +1 -0
- package/esm/funcs/company-pages-list.js +84 -0
- package/esm/funcs/company-pages-list.js.map +1 -0
- package/esm/funcs/contacts-upsert.d.ts +17 -0
- package/esm/funcs/contacts-upsert.d.ts.map +1 -0
- package/esm/funcs/contacts-upsert.js +79 -0
- package/esm/funcs/contacts-upsert.js.map +1 -0
- package/esm/funcs/linked-in-actions-create-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-actions-connect-profile.d.ts.map → linked-in-actions-create-comment.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-create-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-connect-profile.js.map → linked-in-actions-create-comment.js.map} +1 -1
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts +18 -0
- package/esm/funcs/linked-in-actions-decline-invitation.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js +95 -0
- package/esm/funcs/linked-in-actions-decline-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.d.ts → linked-in-actions-like-comment.d.ts} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-like-comment.js → linked-in-actions-like-comment.js} +2 -2
- package/esm/funcs/linked-in-actions-like-comment.js.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.d.ts → linked-in-actions-publish-post.d.ts} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.d.ts.map +1 -0
- package/esm/funcs/{linkedin-actions-publish-post.js → linked-in-actions-publish-post.js} +3 -3
- package/esm/funcs/linked-in-actions-publish-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts +18 -0
- package/esm/funcs/linked-in-actions-save-post.d.ts.map +1 -0
- package/esm/funcs/linked-in-actions-save-post.js +95 -0
- package/esm/funcs/linked-in-actions-save-post.js.map +1 -0
- package/esm/funcs/linked-in-actions-unfollow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts.map → linked-in-actions-unfollow-profile.d.ts.map} +1 -1
- package/esm/funcs/linked-in-actions-unfollow-profile.js +95 -0
- package/esm/funcs/{linkedin-chat-search-conversations.js.map → linked-in-actions-unfollow-profile.js.map} +1 -1
- package/esm/funcs/linked-in-chat-list-starred.d.ts +18 -0
- package/esm/funcs/linked-in-chat-list-starred.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-list-starred.js +97 -0
- package/esm/funcs/linked-in-chat-list-starred.js.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts +18 -0
- package/esm/funcs/linked-in-chat-mark-seen.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-mark-seen.js +95 -0
- package/esm/funcs/linked-in-chat-mark-seen.js.map +1 -0
- package/esm/funcs/linked-in-chat-star.d.ts +18 -0
- package/esm/funcs/linked-in-chat-star.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-star.js +95 -0
- package/esm/funcs/linked-in-chat-star.js.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unarchive.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unarchive.js +95 -0
- package/esm/funcs/linked-in-chat-unarchive.js.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts +18 -0
- package/esm/funcs/linked-in-chat-unstar.d.ts.map +1 -0
- package/esm/funcs/linked-in-chat-unstar.js +95 -0
- package/esm/funcs/linked-in-chat-unstar.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.d.ts → linked-in-scrapers-collect-comment-replies.d.ts} +2 -2
- package/esm/funcs/linked-in-scrapers-collect-comment-replies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js → linked-in-scrapers-collect-comment-replies.js} +2 -2
- package/esm/funcs/{campaigns-sync-actions.js.map → linked-in-scrapers-collect-comment-replies.js.map} +1 -1
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts +18 -0
- package/esm/funcs/linked-in-scrapers-get-feed.d.ts.map +1 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js +97 -0
- package/esm/funcs/linked-in-scrapers-get-feed.js.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.d.ts → linked-in-search-resolve-parameters.d.ts} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-resolve-parameters.js → linked-in-search-resolve-parameters.js} +2 -2
- package/esm/funcs/linked-in-search-resolve-parameters.js.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.d.ts → linked-in-search-search-companies.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-search-companies.js → linked-in-search-search-companies.js} +2 -2
- package/esm/funcs/linked-in-search-search-companies.js.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.d.ts → linked-in-search-search.d.ts} +2 -2
- package/esm/funcs/linked-in-search-search.d.ts.map +1 -0
- package/esm/funcs/{linkedin-search-unified-search.js → linked-in-search-search.js} +2 -2
- package/esm/funcs/linked-in-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-actions-send-message.d.ts → linkedin-actions-edit-comment.d.ts} +4 -4
- package/esm/funcs/{linkedin-actions-like-comment.d.ts.map → linkedin-actions-edit-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-comment.js +95 -0
- package/esm/funcs/{linkedin-actions-like-comment.js.map → linkedin-actions-edit-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-edit-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-edit-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-edit-post.js +95 -0
- package/esm/funcs/linkedin-actions-edit-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-follow-profile.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts.map → linkedin-actions-follow-profile.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-follow-profile.js +95 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js.map → linkedin-actions-follow-profile.js.map} +1 -1
- package/esm/funcs/linkedin-actions-like-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-like-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-like-post.js +95 -0
- package/esm/funcs/linkedin-actions-like-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-repost-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-repost-post.js +95 -0
- package/esm/funcs/linkedin-actions-repost-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unfollow-company.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js +95 -0
- package/esm/funcs/linkedin-actions-unfollow-company.js.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-comment.d.ts +18 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts.map → linkedin-actions-unlike-comment.d.ts.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-comment.js +95 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js.map → linkedin-actions-unlike-comment.js.map} +1 -1
- package/esm/funcs/linkedin-actions-unlike-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unlike-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unlike-post.js +95 -0
- package/esm/funcs/linkedin-actions-unlike-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts +18 -0
- package/esm/funcs/linkedin-actions-unsave-post.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-unsave-post.js +95 -0
- package/esm/funcs/linkedin-actions-unsave-post.js.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts +18 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.d.ts.map +1 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js +95 -0
- package/esm/funcs/linkedin-actions-withdraw-invitation.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.d.ts → linkedin-chat-get-unread-count.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-get-unread-count.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js +85 -0
- package/esm/funcs/linkedin-chat-get-unread-count.js.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts +18 -0
- package/esm/funcs/linkedin-chat-list-archived.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-list-archived.js +97 -0
- package/esm/funcs/linkedin-chat-list-archived.js.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.d.ts → linkedin-chat-list-inbox-conversations.d.ts} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.d.ts.map +1 -0
- package/esm/funcs/{linkedin-chat-list-conversations.js → linkedin-chat-list-inbox-conversations.js} +2 -2
- package/esm/funcs/linkedin-chat-list-inbox-conversations.js.map +1 -0
- package/esm/funcs/{linkedin-chat-search-conversations.d.ts → linkedin-chat-mark-all-read.d.ts} +4 -4
- package/esm/funcs/linkedin-chat-mark-all-read.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js +85 -0
- package/esm/funcs/linkedin-chat-mark-all-read.js.map +1 -0
- package/esm/funcs/linkedin-chat-react.d.ts +18 -0
- package/esm/funcs/linkedin-chat-react.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-react.js +95 -0
- package/esm/funcs/linkedin-chat-react.js.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts +18 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.d.ts.map +1 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js +95 -0
- package/esm/funcs/linkedin-chat-send-typing-indicator.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-collect-hashtag-posts.js.map +1 -0
- package/esm/funcs/linkedin-scrapers-collect-likes.d.ts +1 -1
- package/esm/funcs/linkedin-scrapers-collect-likes.js +1 -1
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts +18 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.d.ts.map +1 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js +95 -0
- package/esm/funcs/linkedin-scrapers-list-saved-posts.js.map +1 -0
- package/esm/funcs/profile-get-credits.d.ts +1 -1
- package/esm/funcs/profile-get-credits.js +1 -1
- package/esm/funcs/profile-get-follower-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-follower-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-follower-analytics.js +85 -0
- package/esm/funcs/profile-get-follower-analytics.js.map +1 -0
- package/esm/funcs/profile-get-post-analytics.d.ts +18 -0
- package/esm/funcs/profile-get-post-analytics.d.ts.map +1 -0
- package/esm/funcs/profile-get-post-analytics.js +95 -0
- package/esm/funcs/profile-get-post-analytics.js.map +1 -0
- package/esm/funcs/profile-get-profile-views.d.ts +18 -0
- package/esm/funcs/profile-get-profile-views.d.ts.map +1 -0
- package/esm/funcs/profile-get-profile-views.js +85 -0
- package/esm/funcs/profile-get-profile-views.js.map +1 -0
- package/esm/funcs/profile-get-search-appearances.d.ts +18 -0
- package/esm/funcs/profile-get-search-appearances.d.ts.map +1 -0
- package/esm/funcs/profile-get-search-appearances.js +85 -0
- package/esm/funcs/profile-get-search-appearances.js.map +1 -0
- package/esm/funcs/profile-get.d.ts +18 -0
- package/esm/funcs/profile-get.d.ts.map +1 -0
- package/esm/funcs/{profile-get-linked-in-profile.js → profile-get.js} +2 -2
- package/esm/funcs/profile-get.js.map +1 -0
- package/esm/funcs/profile-list-accounts.d.ts +18 -0
- package/esm/funcs/profile-list-accounts.d.ts.map +1 -0
- package/esm/funcs/profile-list-accounts.js +84 -0
- package/esm/funcs/profile-list-accounts.js.map +1 -0
- package/esm/funcs/profile-update-account.d.ts +18 -0
- package/esm/funcs/profile-update-account.d.ts.map +1 -0
- package/esm/funcs/profile-update-account.js +95 -0
- package/esm/funcs/profile-update-account.js.map +1 -0
- package/esm/funcs/sales-nav-search-people.d.ts +53 -0
- package/esm/funcs/sales-nav-search-people.d.ts.map +1 -0
- package/esm/funcs/sales-nav-search-people.js +130 -0
- package/esm/funcs/{linkedin-scrapers-collect-comment-replies.js.map → sales-nav-search-people.js.map} +1 -1
- package/esm/funcs/sales-navigator-search-search-companies.d.ts +33 -0
- package/esm/funcs/sales-navigator-search-search-companies.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search-companies.js +110 -0
- package/esm/funcs/sales-navigator-search-search-companies.js.map +1 -0
- package/esm/funcs/sales-navigator-search-search.d.ts +39 -0
- package/esm/funcs/sales-navigator-search-search.d.ts.map +1 -0
- package/esm/funcs/sales-navigator-search-search.js +116 -0
- package/esm/funcs/sales-navigator-search-search.js.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.d.ts → scrapers-collect-posts.d.ts} +2 -2
- package/esm/funcs/scrapers-collect-posts.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-collect-posts.js → scrapers-collect-posts.js} +2 -2
- package/esm/funcs/scrapers-collect-posts.js.map +1 -0
- package/esm/funcs/scrapers-visit-profile.d.ts +18 -0
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -0
- package/esm/funcs/{linkedin-scrapers-visit-profile.js → scrapers-visit-profile.js} +2 -2
- package/esm/funcs/scrapers-visit-profile.js.map +1 -0
- package/esm/lib/config.d.ts +4 -4
- package/esm/lib/config.js +4 -4
- package/esm/models/errors/collect-linked-in-likes.d.ts +18 -18
- package/esm/models/errors/collect-linked-in-likes.d.ts.map +1 -1
- package/esm/models/errors/collect-linked-in-likes.js +9 -9
- package/esm/models/errors/collect-linked-in-likes.js.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.d.ts +800 -856
- package/esm/models/operations/get-campaign-stats-response.d.ts.map +1 -1
- package/esm/models/operations/get-campaign-stats-response.js +503 -515
- package/esm/models/operations/get-campaign-stats-response.js.map +1 -1
- package/esm/models/operations/index.d.ts +3 -1
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +3 -1
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/scraping-weekly.d.ts +2946 -0
- package/esm/models/operations/scraping-weekly.d.ts.map +1 -0
- package/esm/models/operations/scraping-weekly.js +1594 -0
- package/esm/models/operations/scraping-weekly.js.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.d.ts → search-linked-in-by-url-type-post.d.ts} +825 -766
- package/esm/models/operations/search-linked-in-by-url-type-post.d.ts.map +1 -0
- package/esm/models/operations/{send-linked-in-message-response.js → search-linked-in-by-url-type-post.js} +410 -418
- package/esm/models/operations/search-linked-in-by-url-type-post.js.map +1 -0
- package/esm/models/operations/upsert-contacts.d.ts +182 -0
- package/esm/models/operations/upsert-contacts.d.ts.map +1 -0
- package/esm/models/operations/upsert-contacts.js +116 -0
- package/esm/models/operations/upsert-contacts.js.map +1 -0
- package/esm/sdk/actions.d.ts +33 -0
- package/esm/sdk/actions.d.ts.map +1 -0
- package/esm/sdk/actions.js +48 -0
- package/esm/sdk/actions.js.map +1 -0
- package/esm/sdk/campaigns.d.ts +1 -1
- package/esm/sdk/campaigns.d.ts.map +1 -1
- package/esm/sdk/campaigns.js +3 -3
- package/esm/sdk/campaigns.js.map +1 -1
- package/esm/sdk/{linkedin-chat.d.ts → chat.d.ts} +11 -15
- package/esm/sdk/chat.d.ts.map +1 -0
- package/esm/sdk/chat.js +55 -0
- package/esm/sdk/chat.js.map +1 -0
- package/esm/sdk/company-pages.d.ts +33 -0
- package/esm/sdk/company-pages.d.ts.map +1 -0
- package/esm/sdk/company-pages.js +48 -0
- package/esm/sdk/company-pages.js.map +1 -0
- package/esm/sdk/contacts.d.ts +12 -0
- package/esm/sdk/contacts.d.ts.map +1 -0
- package/esm/sdk/contacts.js +18 -0
- package/esm/sdk/contacts.js.map +1 -0
- package/esm/sdk/linked-in-actions-2.d.ts +47 -0
- package/esm/sdk/linked-in-actions-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-actions-2.js +68 -0
- package/esm/sdk/linked-in-actions-2.js.map +1 -0
- package/esm/sdk/linked-in-chat-2.d.ts +40 -0
- package/esm/sdk/linked-in-chat-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-chat-2.js +58 -0
- package/esm/sdk/linked-in-chat-2.js.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts +19 -0
- package/esm/sdk/linked-in-scrapers-2.d.ts.map +1 -0
- package/esm/sdk/linked-in-scrapers-2.js +28 -0
- package/esm/sdk/linked-in-scrapers-2.js.map +1 -0
- package/esm/sdk/linked-in-search-1.d.ts +149 -0
- package/esm/sdk/linked-in-search-1.d.ts.map +1 -0
- package/esm/sdk/linked-in-search-1.js +161 -0
- package/esm/sdk/linked-in-search-1.js.map +1 -0
- package/esm/sdk/linkedin-actions-1.d.ts +96 -0
- package/esm/sdk/linkedin-actions-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-actions-1.js +138 -0
- package/esm/sdk/linkedin-actions-1.js.map +1 -0
- package/esm/sdk/linkedin-chat-1.d.ts +58 -0
- package/esm/sdk/linkedin-chat-1.d.ts.map +1 -0
- package/esm/sdk/linkedin-chat-1.js +82 -0
- package/esm/sdk/linkedin-chat-1.js.map +1 -0
- package/esm/sdk/{linkedin-scrapers.d.ts → linkedin-scrapers-1.d.ts} +12 -19
- package/esm/sdk/linkedin-scrapers-1.d.ts.map +1 -0
- package/esm/sdk/{linkedin-scrapers.js → linkedin-scrapers-1.js} +17 -27
- package/esm/sdk/linkedin-scrapers-1.js.map +1 -0
- package/esm/sdk/{linkedin-search.d.ts → linkedin-search-2.d.ts} +2 -146
- package/esm/sdk/linkedin-search-2.d.ts.map +1 -0
- package/esm/sdk/{linkedin-search.js → linkedin-search-2.js} +2 -155
- package/esm/sdk/linkedin-search-2.js.map +1 -0
- package/esm/sdk/profile.d.ts +44 -2
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +64 -4
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +47 -0
- package/esm/sdk/sales-nav.d.ts.map +1 -0
- package/esm/sdk/sales-nav.js +53 -0
- package/esm/sdk/sales-nav.js.map +1 -0
- package/esm/sdk/sales-navigator-search.d.ts +55 -0
- package/esm/sdk/sales-navigator-search.d.ts.map +1 -0
- package/esm/sdk/sales-navigator-search.js +64 -0
- package/esm/sdk/sales-navigator-search.js.map +1 -0
- package/esm/sdk/scrapers.d.ts +19 -0
- package/esm/sdk/scrapers.d.ts.map +1 -0
- package/esm/sdk/scrapers.js +28 -0
- package/esm/sdk/scrapers.js.map +1 -0
- package/esm/sdk/sdk.d.ts +41 -8
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +63 -8
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/types/discriminated-union.d.ts +25 -0
- package/esm/types/discriminated-union.d.ts.map +1 -0
- package/esm/types/discriminated-union.js +61 -0
- package/esm/types/discriminated-union.js.map +1 -0
- package/esm/types/smart-union.d.ts.map +1 -1
- package/esm/types/smart-union.js +2 -1
- package/esm/types/smart-union.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{linkedin-actions-connect-profile.ts → actions-connect-profile.ts} +1 -1
- package/src/funcs/actions-follow-company.ts +215 -0
- package/src/funcs/actions-list-sent-invitations.ts +218 -0
- package/src/funcs/{linkedin-actions-send-message.ts → actions-send-message.ts} +2 -2
- package/src/funcs/{campaigns-sync-actions.ts → campaigns-sync.ts} +1 -1
- package/src/funcs/chat-archive.ts +215 -0
- package/src/funcs/{linkedin-chat-find-conversation.ts → chat-find-conversation.ts} +1 -1
- package/src/funcs/{linkedin-chat-search-conversations.ts → chat-search-conversations.ts} +1 -1
- package/src/funcs/chat-unreact.ts +215 -0
- package/src/funcs/company-pages-get-analytics.ts +215 -0
- package/src/funcs/company-pages-get-permissions.ts +218 -0
- package/src/funcs/company-pages-get-posts.ts +215 -0
- package/src/funcs/company-pages-list.ts +195 -0
- package/src/funcs/contacts-upsert.ts +161 -0
- package/src/funcs/linked-in-actions-create-comment.ts +215 -0
- package/src/funcs/linked-in-actions-decline-invitation.ts +218 -0
- package/src/funcs/{linkedin-actions-like-comment.ts → linked-in-actions-like-comment.ts} +1 -1
- package/src/funcs/{linkedin-actions-publish-post.ts → linked-in-actions-publish-post.ts} +2 -2
- package/src/funcs/linked-in-actions-save-post.ts +215 -0
- package/src/funcs/linked-in-actions-unfollow-profile.ts +215 -0
- package/src/funcs/linked-in-chat-list-starred.ts +220 -0
- package/src/funcs/linked-in-chat-mark-seen.ts +215 -0
- package/src/funcs/linked-in-chat-star.ts +215 -0
- package/src/funcs/linked-in-chat-unarchive.ts +215 -0
- package/src/funcs/linked-in-chat-unstar.ts +215 -0
- package/src/funcs/{linkedin-scrapers-collect-comment-replies.ts → linked-in-scrapers-collect-comment-replies.ts} +1 -1
- package/src/funcs/linked-in-scrapers-get-feed.ts +220 -0
- package/src/funcs/{linkedin-search-resolve-parameters.ts → linked-in-search-resolve-parameters.ts} +1 -1
- package/src/funcs/{linkedin-search-search-companies.ts → linked-in-search-search-companies.ts} +1 -1
- package/src/funcs/{linkedin-search-unified-search.ts → linked-in-search-search.ts} +1 -1
- package/src/funcs/linkedin-actions-edit-comment.ts +215 -0
- package/src/funcs/linkedin-actions-edit-post.ts +215 -0
- package/src/funcs/linkedin-actions-follow-profile.ts +215 -0
- package/src/funcs/linkedin-actions-like-post.ts +215 -0
- package/src/funcs/linkedin-actions-repost-post.ts +215 -0
- package/src/funcs/linkedin-actions-unfollow-company.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-comment.ts +215 -0
- package/src/funcs/linkedin-actions-unlike-post.ts +215 -0
- package/src/funcs/linkedin-actions-unsave-post.ts +215 -0
- package/src/funcs/linkedin-actions-withdraw-invitation.ts +218 -0
- package/src/funcs/linkedin-chat-get-unread-count.ts +199 -0
- package/src/funcs/linkedin-chat-list-archived.ts +220 -0
- package/src/funcs/{linkedin-chat-list-conversations.ts → linkedin-chat-list-inbox-conversations.ts} +1 -1
- package/src/funcs/linkedin-chat-mark-all-read.ts +199 -0
- package/src/funcs/linkedin-chat-react.ts +214 -0
- package/src/funcs/linkedin-chat-send-typing-indicator.ts +215 -0
- package/src/funcs/linkedin-scrapers-collect-hashtag-posts.ts +218 -0
- package/src/funcs/linkedin-scrapers-collect-likes.ts +1 -1
- package/src/funcs/linkedin-scrapers-list-saved-posts.ts +218 -0
- package/src/funcs/profile-get-credits.ts +1 -1
- package/src/funcs/profile-get-follower-analytics.ts +199 -0
- package/src/funcs/profile-get-post-analytics.ts +215 -0
- package/src/funcs/profile-get-profile-views.ts +199 -0
- package/src/funcs/profile-get-search-appearances.ts +199 -0
- package/src/funcs/{profile-get-linked-in-profile.ts → profile-get.ts} +1 -1
- package/src/funcs/profile-list-accounts.ts +195 -0
- package/src/funcs/profile-update-account.ts +215 -0
- package/src/funcs/sales-nav-search-people.ts +250 -0
- package/src/funcs/sales-navigator-search-search-companies.ts +230 -0
- package/src/funcs/sales-navigator-search-search.ts +235 -0
- package/src/funcs/{linkedin-scrapers-collect-posts.ts → scrapers-collect-posts.ts} +1 -1
- package/src/funcs/{linkedin-scrapers-visit-profile.ts → scrapers-visit-profile.ts} +1 -1
- package/src/lib/config.ts +4 -4
- package/src/models/errors/collect-linked-in-likes.ts +27 -27
- package/src/models/operations/get-campaign-stats-response.ts +1616 -1584
- package/src/models/operations/index.ts +3 -1
- package/src/models/operations/scraping-weekly.ts +5707 -0
- package/src/models/operations/{send-linked-in-message-response.ts → search-linked-in-by-url-type-post.ts} +2086 -2093
- package/src/models/operations/upsert-contacts.ts +305 -0
- package/src/sdk/actions.ts +81 -0
- package/src/sdk/campaigns.ts +3 -3
- package/src/sdk/{linkedin-chat.ts → chat.ts} +29 -33
- package/src/sdk/company-pages.ts +79 -0
- package/src/sdk/contacts.ts +27 -0
- package/src/sdk/linked-in-actions-2.ts +117 -0
- package/src/sdk/linked-in-chat-2.ts +99 -0
- package/src/sdk/linked-in-scrapers-2.ts +45 -0
- package/src/sdk/linked-in-search-1.ts +186 -0
- package/src/sdk/linkedin-actions-1.ts +243 -0
- package/src/sdk/linkedin-chat-1.ts +139 -0
- package/src/sdk/{linkedin-scrapers.ts → linkedin-scrapers-1.ts} +22 -40
- package/src/sdk/{linkedin-search.ts → linkedin-search-2.ts} +1 -178
- package/src/sdk/profile.ts +110 -4
- package/src/sdk/sales-nav.ts +62 -0
- package/src/sdk/sales-navigator-search.ts +81 -0
- package/src/sdk/scrapers.ts +45 -0
- package/src/sdk/sdk.ts +84 -16
- package/src/types/discriminated-union.ts +101 -0
- package/src/types/smart-union.ts +2 -1
- package/esm/funcs/linkedin-chat-find-conversation.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-find-conversation.js.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.d.ts.map +0 -1
- package/esm/funcs/linkedin-chat-list-conversations.js.map +0 -1
- package/esm/funcs/linkedin-scrapers-collect-comment-replies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-resolve-parameters.js.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-search-companies.js.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.d.ts.map +0 -1
- package/esm/funcs/linkedin-search-unified-search.js.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.d.ts.map +0 -1
- package/esm/funcs/profile-get-linked-in-profile.js.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.d.ts.map +0 -1
- package/esm/models/operations/send-linked-in-message-response.js.map +0 -1
- package/esm/sdk/linkedin-actions.d.ts +0 -54
- package/esm/sdk/linkedin-actions.d.ts.map +0 -1
- package/esm/sdk/linkedin-actions.js +0 -78
- package/esm/sdk/linkedin-actions.js.map +0 -1
- package/esm/sdk/linkedin-chat.d.ts.map +0 -1
- package/esm/sdk/linkedin-chat.js +0 -59
- package/esm/sdk/linkedin-chat.js.map +0 -1
- package/esm/sdk/linkedin-scrapers.d.ts.map +0 -1
- package/esm/sdk/linkedin-scrapers.js.map +0 -1
- package/esm/sdk/linkedin-search.d.ts.map +0 -1
- package/esm/sdk/linkedin-search.js.map +0 -1
- package/src/sdk/linkedin-actions.ts +0 -135
|
@@ -18,11 +18,27 @@ export const CollectLinkedInCommentsType = {
|
|
|
18
18
|
export const CollectLinkedInCommentRepliesType = {
|
|
19
19
|
Comment: "comment",
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Sort order: RELEVANCE (default, algorithmic) or REV_CHRON (most recent first)
|
|
23
|
+
*/
|
|
24
|
+
export const SortOrder = {
|
|
25
|
+
Relevance: "RELEVANCE",
|
|
26
|
+
RevChron: "REV_CHRON",
|
|
27
|
+
};
|
|
21
28
|
export const CollectLinkedInPostsType = {
|
|
22
29
|
Activity: "activity",
|
|
23
30
|
UgcPost: "ugcPost",
|
|
24
31
|
Share: "share",
|
|
25
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* Type of media attached to the post.
|
|
35
|
+
*/
|
|
36
|
+
export const CollectLinkedInPostsMediaType = {
|
|
37
|
+
Image: "image",
|
|
38
|
+
Video: "video",
|
|
39
|
+
Document: "document",
|
|
40
|
+
Article: "article",
|
|
41
|
+
};
|
|
26
42
|
/**
|
|
27
43
|
* Connection request status: 'pending' if request was sent successfully, 'failed' if request failed today, 'none' if not tracked
|
|
28
44
|
*/
|
|
@@ -36,10 +52,19 @@ export const VisitLinkedInProfileType = {
|
|
|
36
52
|
UgcPost: "ugcPost",
|
|
37
53
|
Share: "share",
|
|
38
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
* Type of media attached to the post.
|
|
57
|
+
*/
|
|
58
|
+
export const VisitLinkedInProfileMediaType = {
|
|
59
|
+
Image: "image",
|
|
60
|
+
Video: "video",
|
|
61
|
+
Document: "document",
|
|
62
|
+
Article: "article",
|
|
63
|
+
};
|
|
39
64
|
/**
|
|
40
65
|
* Type of search to perform (required unless url is provided)
|
|
41
66
|
*/
|
|
42
|
-
export const
|
|
67
|
+
export const SearchLinkedInCategoryRequest = {
|
|
43
68
|
Posts: "posts",
|
|
44
69
|
People: "people",
|
|
45
70
|
Companies: "companies",
|
|
@@ -130,6 +155,43 @@ export const SearchLinkedInNetworkDistance = {
|
|
|
130
155
|
export const SearchLinkedInTypePost = {
|
|
131
156
|
Post: "POST",
|
|
132
157
|
};
|
|
158
|
+
/**
|
|
159
|
+
* Type of media attached to the post.
|
|
160
|
+
*/
|
|
161
|
+
export const SearchLinkedInMediaType = {
|
|
162
|
+
Image: "image",
|
|
163
|
+
Video: "video",
|
|
164
|
+
Document: "document",
|
|
165
|
+
Article: "article",
|
|
166
|
+
};
|
|
167
|
+
export const SearchLinkedInCompaniesCompanySize = {
|
|
168
|
+
A: "A",
|
|
169
|
+
B: "B",
|
|
170
|
+
C: "C",
|
|
171
|
+
D: "D",
|
|
172
|
+
E: "E",
|
|
173
|
+
F: "F",
|
|
174
|
+
G: "G",
|
|
175
|
+
H: "H",
|
|
176
|
+
I: "I",
|
|
177
|
+
};
|
|
178
|
+
export const SearchLinkedInCompaniesCategory = {
|
|
179
|
+
Companies: "companies",
|
|
180
|
+
};
|
|
181
|
+
export const SearchLinkedInCompaniesType = {
|
|
182
|
+
Company: "COMPANY",
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Parameter type to resolve
|
|
186
|
+
*/
|
|
187
|
+
export const ResolveLinkedInSearchParametersType = {
|
|
188
|
+
Geo: "GEO",
|
|
189
|
+
Company: "COMPANY",
|
|
190
|
+
Industry: "INDUSTRY",
|
|
191
|
+
School: "SCHOOL",
|
|
192
|
+
Connections: "CONNECTIONS",
|
|
193
|
+
People: "PEOPLE",
|
|
194
|
+
};
|
|
133
195
|
/**
|
|
134
196
|
* Sort order. 'relevance' (default) returns the most relevant posts. 'date' returns the most recent posts first.
|
|
135
197
|
*/
|
|
@@ -159,6 +221,15 @@ export const SearchLinkedInPostsCategory = {
|
|
|
159
221
|
export const SearchLinkedInPostsType = {
|
|
160
222
|
Post: "POST",
|
|
161
223
|
};
|
|
224
|
+
/**
|
|
225
|
+
* Type of media attached to the post.
|
|
226
|
+
*/
|
|
227
|
+
export const SearchLinkedInPostsMediaType = {
|
|
228
|
+
Image: "image",
|
|
229
|
+
Video: "video",
|
|
230
|
+
Document: "document",
|
|
231
|
+
Article: "article",
|
|
232
|
+
};
|
|
162
233
|
export const SearchLinkedInPeopleConnectionDegree = {
|
|
163
234
|
F: "F",
|
|
164
235
|
S: "S",
|
|
@@ -176,23 +247,6 @@ export const SearchLinkedInPeopleNetworkDistance = {
|
|
|
176
247
|
Distance3: "DISTANCE_3",
|
|
177
248
|
OutOfNetwork: "OUT_OF_NETWORK",
|
|
178
249
|
};
|
|
179
|
-
export const SearchLinkedInCompaniesCompanySize = {
|
|
180
|
-
A: "A",
|
|
181
|
-
B: "B",
|
|
182
|
-
C: "C",
|
|
183
|
-
D: "D",
|
|
184
|
-
E: "E",
|
|
185
|
-
F: "F",
|
|
186
|
-
G: "G",
|
|
187
|
-
H: "H",
|
|
188
|
-
I: "I",
|
|
189
|
-
};
|
|
190
|
-
export const SearchLinkedInCompaniesCategory = {
|
|
191
|
-
Companies: "companies",
|
|
192
|
-
};
|
|
193
|
-
export const SearchLinkedInCompaniesType = {
|
|
194
|
-
Company: "COMPANY",
|
|
195
|
-
};
|
|
196
250
|
/**
|
|
197
251
|
* Filter by posting date. Useful for finding recently posted jobs.
|
|
198
252
|
*/
|
|
@@ -260,17 +314,6 @@ export const SearchLinkedInByUrlNetworkDistance = {
|
|
|
260
314
|
export const SearchLinkedInByUrlTypePost = {
|
|
261
315
|
Post: "POST",
|
|
262
316
|
};
|
|
263
|
-
/**
|
|
264
|
-
* Parameter type to resolve
|
|
265
|
-
*/
|
|
266
|
-
export const ResolveLinkedInSearchParametersType = {
|
|
267
|
-
Geo: "GEO",
|
|
268
|
-
Company: "COMPANY",
|
|
269
|
-
Industry: "INDUSTRY",
|
|
270
|
-
School: "SCHOOL",
|
|
271
|
-
Connections: "CONNECTIONS",
|
|
272
|
-
People: "PEOPLE",
|
|
273
|
-
};
|
|
274
317
|
/** @internal */
|
|
275
318
|
export const CollectLinkedInLikesRequest$outboundSchema = z.object({
|
|
276
319
|
postUrl: z.string(),
|
|
@@ -443,6 +486,8 @@ export const CollectLinkedInLikesProfile$inboundSchema = z.object({
|
|
|
443
486
|
headline: types.nullable(types.string()),
|
|
444
487
|
profileUrl: types.nullable(types.string()),
|
|
445
488
|
imageUrl: types.nullable(types.string()),
|
|
489
|
+
publicIdentifier: types.nullable(types.string()),
|
|
490
|
+
profileUrn: types.nullable(types.string()),
|
|
446
491
|
type: CollectLinkedInLikesType$inboundSchema,
|
|
447
492
|
});
|
|
448
493
|
export function collectLinkedInLikesProfileFromJSON(jsonString) {
|
|
@@ -450,7 +495,7 @@ export function collectLinkedInLikesProfileFromJSON(jsonString) {
|
|
|
450
495
|
}
|
|
451
496
|
/** @internal */
|
|
452
497
|
export const CollectLinkedInLikesResponse$inboundSchema = z.object({
|
|
453
|
-
success: types.
|
|
498
|
+
success: types.literal(true),
|
|
454
499
|
profiles: z.array(z.lazy(() => CollectLinkedInLikesProfile$inboundSchema)),
|
|
455
500
|
count: types.number(),
|
|
456
501
|
total: types.number(),
|
|
@@ -492,6 +537,8 @@ export const CollectLinkedInCommentsProfile$inboundSchema = z.object({
|
|
|
492
537
|
headline: types.nullable(types.string()),
|
|
493
538
|
profileUrl: types.nullable(types.string()),
|
|
494
539
|
imageUrl: types.nullable(types.string()),
|
|
540
|
+
publicIdentifier: types.nullable(types.string()),
|
|
541
|
+
profileUrn: types.nullable(types.string()),
|
|
495
542
|
type: CollectLinkedInCommentsType$inboundSchema,
|
|
496
543
|
commentText: types.optional(types.string()),
|
|
497
544
|
timestamp: types.nullable(types.number()),
|
|
@@ -511,7 +558,7 @@ export function collectLinkedInCommentsProfileFromJSON(jsonString) {
|
|
|
511
558
|
}
|
|
512
559
|
/** @internal */
|
|
513
560
|
export const CollectLinkedInCommentsResponse$inboundSchema = z.object({
|
|
514
|
-
success: types.
|
|
561
|
+
success: types.literal(true),
|
|
515
562
|
profiles: z.array(z.lazy(() => CollectLinkedInCommentsProfile$inboundSchema)),
|
|
516
563
|
count: types.number(),
|
|
517
564
|
total: types.number(),
|
|
@@ -527,6 +574,155 @@ export function collectLinkedInCommentsResponseFromJSON(jsonString) {
|
|
|
527
574
|
return safeParse(jsonString, (x) => CollectLinkedInCommentsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLinkedInCommentsResponse' from JSON`);
|
|
528
575
|
}
|
|
529
576
|
/** @internal */
|
|
577
|
+
export const VisitLinkedInCompanyRequest$outboundSchema = z.object({
|
|
578
|
+
companyUrl: z.string(),
|
|
579
|
+
includeWorkplacePolicy: z.optional(z.boolean()),
|
|
580
|
+
});
|
|
581
|
+
export function visitLinkedInCompanyRequestToJSON(visitLinkedInCompanyRequest) {
|
|
582
|
+
return JSON.stringify(VisitLinkedInCompanyRequest$outboundSchema.parse(visitLinkedInCompanyRequest));
|
|
583
|
+
}
|
|
584
|
+
/** @internal */
|
|
585
|
+
export const EmployeeCountRange$inboundSchema = z.object({
|
|
586
|
+
start: types.number(),
|
|
587
|
+
end: types.nullable(types.number()),
|
|
588
|
+
});
|
|
589
|
+
export function employeeCountRangeFromJSON(jsonString) {
|
|
590
|
+
return safeParse(jsonString, (x) => EmployeeCountRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EmployeeCountRange' from JSON`);
|
|
591
|
+
}
|
|
592
|
+
/** @internal */
|
|
593
|
+
export const VisitLinkedInCompanyHeadquarter$inboundSchema = z.object({
|
|
594
|
+
country: types.nullable(types.string()),
|
|
595
|
+
geographicArea: types.nullable(types.string()),
|
|
596
|
+
city: types.nullable(types.string()),
|
|
597
|
+
postalCode: types.nullable(types.string()),
|
|
598
|
+
line1: types.nullable(types.string()),
|
|
599
|
+
line2: types.nullable(types.string()),
|
|
600
|
+
});
|
|
601
|
+
export function visitLinkedInCompanyHeadquarterFromJSON(jsonString) {
|
|
602
|
+
return safeParse(jsonString, (x) => VisitLinkedInCompanyHeadquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInCompanyHeadquarter' from JSON`);
|
|
603
|
+
}
|
|
604
|
+
/** @internal */
|
|
605
|
+
export const VisitLinkedInCompanyFoundedOn$inboundSchema = z.object({
|
|
606
|
+
year: types.number(),
|
|
607
|
+
});
|
|
608
|
+
export function visitLinkedInCompanyFoundedOnFromJSON(jsonString) {
|
|
609
|
+
return safeParse(jsonString, (x) => VisitLinkedInCompanyFoundedOn$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInCompanyFoundedOn' from JSON`);
|
|
610
|
+
}
|
|
611
|
+
/** @internal */
|
|
612
|
+
export const CallToAction$inboundSchema = z.object({
|
|
613
|
+
type: types.string(),
|
|
614
|
+
url: types.string(),
|
|
615
|
+
});
|
|
616
|
+
export function callToActionFromJSON(jsonString) {
|
|
617
|
+
return safeParse(jsonString, (x) => CallToAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CallToAction' from JSON`);
|
|
618
|
+
}
|
|
619
|
+
/** @internal */
|
|
620
|
+
export const AffiliatedCompany$inboundSchema = z.object({
|
|
621
|
+
id: types.string(),
|
|
622
|
+
universalName: types.string(),
|
|
623
|
+
name: types.string(),
|
|
624
|
+
url: types.nullable(types.string()),
|
|
625
|
+
logoUrl: types.nullable(types.string()),
|
|
626
|
+
followerCount: types.nullable(types.number()),
|
|
627
|
+
industry: types.nullable(types.string()),
|
|
628
|
+
});
|
|
629
|
+
export function affiliatedCompanyFromJSON(jsonString) {
|
|
630
|
+
return safeParse(jsonString, (x) => AffiliatedCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AffiliatedCompany' from JSON`);
|
|
631
|
+
}
|
|
632
|
+
/** @internal */
|
|
633
|
+
export const SimilarCompany$inboundSchema = z.object({
|
|
634
|
+
id: types.string(),
|
|
635
|
+
universalName: types.string(),
|
|
636
|
+
name: types.string(),
|
|
637
|
+
url: types.nullable(types.string()),
|
|
638
|
+
logoUrl: types.nullable(types.string()),
|
|
639
|
+
followerCount: types.nullable(types.number()),
|
|
640
|
+
industry: types.nullable(types.string()),
|
|
641
|
+
});
|
|
642
|
+
export function similarCompanyFromJSON(jsonString) {
|
|
643
|
+
return safeParse(jsonString, (x) => SimilarCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SimilarCompany' from JSON`);
|
|
644
|
+
}
|
|
645
|
+
/** @internal */
|
|
646
|
+
export const WorkplacePolicy$inboundSchema = z.object({
|
|
647
|
+
title: types.nullable(types.string()),
|
|
648
|
+
description: types.nullable(types.string()),
|
|
649
|
+
timeAtOnsite: types.nullable(types.string()),
|
|
650
|
+
benefits: z.array(types.string()),
|
|
651
|
+
});
|
|
652
|
+
export function workplacePolicyFromJSON(jsonString) {
|
|
653
|
+
return safeParse(jsonString, (x) => WorkplacePolicy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkplacePolicy' from JSON`);
|
|
654
|
+
}
|
|
655
|
+
/** @internal */
|
|
656
|
+
export const VisitLinkedInCompanyResponse$inboundSchema = z.object({
|
|
657
|
+
success: types.literal(true),
|
|
658
|
+
id: types.string(),
|
|
659
|
+
universalName: types.string(),
|
|
660
|
+
name: types.string(),
|
|
661
|
+
description: types.nullable(types.string()),
|
|
662
|
+
url: types.string(),
|
|
663
|
+
websiteUrl: types.nullable(types.string()),
|
|
664
|
+
industry: types.nullable(types.string()),
|
|
665
|
+
employeeCount: types.nullable(types.number()),
|
|
666
|
+
employeeCountRange: types.nullable(z.lazy(() => EmployeeCountRange$inboundSchema)),
|
|
667
|
+
headquarter: types.nullable(z.lazy(() => VisitLinkedInCompanyHeadquarter$inboundSchema)),
|
|
668
|
+
logoUrl: types.nullable(types.string()),
|
|
669
|
+
coverImageUrl: types.nullable(types.string()),
|
|
670
|
+
followerCount: types.nullable(types.number()),
|
|
671
|
+
specialities: z.array(types.string()),
|
|
672
|
+
tagline: types.nullable(types.string()),
|
|
673
|
+
isVerified: types.boolean(),
|
|
674
|
+
foundedOn: types.nullable(z.lazy(() => VisitLinkedInCompanyFoundedOn$inboundSchema)),
|
|
675
|
+
phone: types.nullable(types.string()),
|
|
676
|
+
callToAction: types.nullable(z.lazy(() => CallToAction$inboundSchema)),
|
|
677
|
+
hashtags: z.array(types.string()),
|
|
678
|
+
affiliatedCompanies: z.array(z.lazy(() => AffiliatedCompany$inboundSchema)),
|
|
679
|
+
similarCompanies: z.array(z.lazy(() => SimilarCompany$inboundSchema)),
|
|
680
|
+
workplacePolicy: types.nullable(z.lazy(() => WorkplacePolicy$inboundSchema)),
|
|
681
|
+
creditsUsed: types.number(),
|
|
682
|
+
retryAfter: types.number(),
|
|
683
|
+
});
|
|
684
|
+
export function visitLinkedInCompanyResponseFromJSON(jsonString) {
|
|
685
|
+
return safeParse(jsonString, (x) => VisitLinkedInCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInCompanyResponse' from JSON`);
|
|
686
|
+
}
|
|
687
|
+
/** @internal */
|
|
688
|
+
export const CollectSavedLinkedInPostsRequest$outboundSchema = z.object({
|
|
689
|
+
start: z._default(z.int(), 0),
|
|
690
|
+
count: z._default(z.int(), 20),
|
|
691
|
+
});
|
|
692
|
+
export function collectSavedLinkedInPostsRequestToJSON(collectSavedLinkedInPostsRequest) {
|
|
693
|
+
return JSON.stringify(CollectSavedLinkedInPostsRequest$outboundSchema.parse(collectSavedLinkedInPostsRequest));
|
|
694
|
+
}
|
|
695
|
+
/** @internal */
|
|
696
|
+
export const CollectSavedLinkedInPostsResponse$inboundSchema = z.object({
|
|
697
|
+
success: types.literal(true),
|
|
698
|
+
posts: z.array(z.any()),
|
|
699
|
+
total: types.nullable(types.number()),
|
|
700
|
+
creditsUsed: types.number(),
|
|
701
|
+
retryAfter: types.number(),
|
|
702
|
+
});
|
|
703
|
+
export function collectSavedLinkedInPostsResponseFromJSON(jsonString) {
|
|
704
|
+
return safeParse(jsonString, (x) => CollectSavedLinkedInPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectSavedLinkedInPostsResponse' from JSON`);
|
|
705
|
+
}
|
|
706
|
+
/** @internal */
|
|
707
|
+
export const CollectLinkedInHashtagPostsRequest$outboundSchema = z.object({
|
|
708
|
+
hashtag: z.string(),
|
|
709
|
+
start: z._default(z.int(), 0),
|
|
710
|
+
count: z._default(z.int(), 20),
|
|
711
|
+
});
|
|
712
|
+
export function collectLinkedInHashtagPostsRequestToJSON(collectLinkedInHashtagPostsRequest) {
|
|
713
|
+
return JSON.stringify(CollectLinkedInHashtagPostsRequest$outboundSchema.parse(collectLinkedInHashtagPostsRequest));
|
|
714
|
+
}
|
|
715
|
+
/** @internal */
|
|
716
|
+
export const CollectLinkedInHashtagPostsResponse$inboundSchema = z.object({
|
|
717
|
+
success: types.literal(true),
|
|
718
|
+
posts: z.array(z.any()),
|
|
719
|
+
creditsUsed: types.number(),
|
|
720
|
+
retryAfter: types.number(),
|
|
721
|
+
});
|
|
722
|
+
export function collectLinkedInHashtagPostsResponseFromJSON(jsonString) {
|
|
723
|
+
return safeParse(jsonString, (x) => CollectLinkedInHashtagPostsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLinkedInHashtagPostsResponse' from JSON`);
|
|
724
|
+
}
|
|
725
|
+
/** @internal */
|
|
530
726
|
export const CollectLinkedInCommentRepliesRequest$outboundSchema = z.object({
|
|
531
727
|
commentUrn: z.string(),
|
|
532
728
|
start: z.optional(z.int()),
|
|
@@ -555,6 +751,8 @@ export const Reply$inboundSchema = z.object({
|
|
|
555
751
|
headline: types.nullable(types.string()),
|
|
556
752
|
profileUrl: types.nullable(types.string()),
|
|
557
753
|
imageUrl: types.nullable(types.string()),
|
|
754
|
+
publicIdentifier: types.nullable(types.string()),
|
|
755
|
+
profileUrn: types.nullable(types.string()),
|
|
558
756
|
type: CollectLinkedInCommentRepliesType$inboundSchema,
|
|
559
757
|
commentText: types.optional(types.string()),
|
|
560
758
|
timestamp: types.nullable(types.number()),
|
|
@@ -574,7 +772,7 @@ export function replyFromJSON(jsonString) {
|
|
|
574
772
|
}
|
|
575
773
|
/** @internal */
|
|
576
774
|
export const CollectLinkedInCommentRepliesResponse$inboundSchema = z.object({
|
|
577
|
-
success: types.
|
|
775
|
+
success: types.literal(true),
|
|
578
776
|
replies: z.array(z.lazy(() => Reply$inboundSchema)),
|
|
579
777
|
count: types.number(),
|
|
580
778
|
total: types.number(),
|
|
@@ -589,6 +787,26 @@ export function collectLinkedInCommentRepliesResponseFromJSON(jsonString) {
|
|
|
589
787
|
return safeParse(jsonString, (x) => CollectLinkedInCommentRepliesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLinkedInCommentRepliesResponse' from JSON`);
|
|
590
788
|
}
|
|
591
789
|
/** @internal */
|
|
790
|
+
export const SortOrder$outboundSchema = z.enum(SortOrder);
|
|
791
|
+
/** @internal */
|
|
792
|
+
export const GetLinkedInFeedRequest$outboundSchema = z.object({
|
|
793
|
+
count: z._default(z.int(), 20),
|
|
794
|
+
sortOrder: z._default(SortOrder$outboundSchema, "RELEVANCE"),
|
|
795
|
+
});
|
|
796
|
+
export function getLinkedInFeedRequestToJSON(getLinkedInFeedRequest) {
|
|
797
|
+
return JSON.stringify(GetLinkedInFeedRequest$outboundSchema.parse(getLinkedInFeedRequest));
|
|
798
|
+
}
|
|
799
|
+
/** @internal */
|
|
800
|
+
export const GetLinkedInFeedResponse$inboundSchema = z.object({
|
|
801
|
+
success: types.literal(true),
|
|
802
|
+
posts: z.array(z.any()),
|
|
803
|
+
creditsUsed: types.number(),
|
|
804
|
+
retryAfter: types.number(),
|
|
805
|
+
});
|
|
806
|
+
export function getLinkedInFeedResponseFromJSON(jsonString) {
|
|
807
|
+
return safeParse(jsonString, (x) => GetLinkedInFeedResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetLinkedInFeedResponse' from JSON`);
|
|
808
|
+
}
|
|
809
|
+
/** @internal */
|
|
592
810
|
export const CollectLinkedInPostsRequest$outboundSchema = z.object({
|
|
593
811
|
profileUrl: z.string(),
|
|
594
812
|
count: z.optional(z.int()),
|
|
@@ -601,6 +819,18 @@ export function collectLinkedInPostsRequestToJSON(collectLinkedInPostsRequest) {
|
|
|
601
819
|
/** @internal */
|
|
602
820
|
export const CollectLinkedInPostsType$inboundSchema = openEnums.inboundSchema(CollectLinkedInPostsType);
|
|
603
821
|
/** @internal */
|
|
822
|
+
export const CollectLinkedInPostsMediaType$inboundSchema = openEnums.inboundSchema(CollectLinkedInPostsMediaType);
|
|
823
|
+
/** @internal */
|
|
824
|
+
export const CollectLinkedInPostsMedia$inboundSchema = z.object({
|
|
825
|
+
type: CollectLinkedInPostsMediaType$inboundSchema,
|
|
826
|
+
urls: z.array(types.string()),
|
|
827
|
+
title: types.optional(types.string()),
|
|
828
|
+
thumbnailUrl: types.optional(types.string()),
|
|
829
|
+
});
|
|
830
|
+
export function collectLinkedInPostsMediaFromJSON(jsonString) {
|
|
831
|
+
return safeParse(jsonString, (x) => CollectLinkedInPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLinkedInPostsMedia' from JSON`);
|
|
832
|
+
}
|
|
833
|
+
/** @internal */
|
|
604
834
|
export const CollectLinkedInPostsPost$inboundSchema = z.object({
|
|
605
835
|
postUrl: types.string(),
|
|
606
836
|
text: types.string(),
|
|
@@ -611,13 +841,14 @@ export const CollectLinkedInPostsPost$inboundSchema = z.object({
|
|
|
611
841
|
postUrn: types.string(),
|
|
612
842
|
postId: types.string(),
|
|
613
843
|
type: CollectLinkedInPostsType$inboundSchema,
|
|
844
|
+
media: types.optional(z.lazy(() => CollectLinkedInPostsMedia$inboundSchema)),
|
|
614
845
|
});
|
|
615
846
|
export function collectLinkedInPostsPostFromJSON(jsonString) {
|
|
616
847
|
return safeParse(jsonString, (x) => CollectLinkedInPostsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CollectLinkedInPostsPost' from JSON`);
|
|
617
848
|
}
|
|
618
849
|
/** @internal */
|
|
619
850
|
export const CollectLinkedInPostsResponse$inboundSchema = z.object({
|
|
620
|
-
success: types.
|
|
851
|
+
success: types.literal(true),
|
|
621
852
|
posts: z.array(z.lazy(() => CollectLinkedInPostsPost$inboundSchema)),
|
|
622
853
|
count: types.number(),
|
|
623
854
|
total: types.number(),
|
|
@@ -704,6 +935,18 @@ export function visitLinkedInProfileEducationFromJSON(jsonString) {
|
|
|
704
935
|
/** @internal */
|
|
705
936
|
export const VisitLinkedInProfileType$inboundSchema = openEnums.inboundSchema(VisitLinkedInProfileType);
|
|
706
937
|
/** @internal */
|
|
938
|
+
export const VisitLinkedInProfileMediaType$inboundSchema = openEnums.inboundSchema(VisitLinkedInProfileMediaType);
|
|
939
|
+
/** @internal */
|
|
940
|
+
export const VisitLinkedInProfileMedia$inboundSchema = z.object({
|
|
941
|
+
type: VisitLinkedInProfileMediaType$inboundSchema,
|
|
942
|
+
urls: z.array(types.string()),
|
|
943
|
+
title: types.optional(types.string()),
|
|
944
|
+
thumbnailUrl: types.optional(types.string()),
|
|
945
|
+
});
|
|
946
|
+
export function visitLinkedInProfileMediaFromJSON(jsonString) {
|
|
947
|
+
return safeParse(jsonString, (x) => VisitLinkedInProfileMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInProfileMedia' from JSON`);
|
|
948
|
+
}
|
|
949
|
+
/** @internal */
|
|
707
950
|
export const VisitLinkedInProfileLastPost$inboundSchema = z.object({
|
|
708
951
|
postUrl: types.string(),
|
|
709
952
|
text: types.string(),
|
|
@@ -714,13 +957,14 @@ export const VisitLinkedInProfileLastPost$inboundSchema = z.object({
|
|
|
714
957
|
postUrn: types.string(),
|
|
715
958
|
postId: types.string(),
|
|
716
959
|
type: VisitLinkedInProfileType$inboundSchema,
|
|
960
|
+
media: types.optional(z.lazy(() => VisitLinkedInProfileMedia$inboundSchema)),
|
|
717
961
|
});
|
|
718
962
|
export function visitLinkedInProfileLastPostFromJSON(jsonString) {
|
|
719
963
|
return safeParse(jsonString, (x) => VisitLinkedInProfileLastPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInProfileLastPost' from JSON`);
|
|
720
964
|
}
|
|
721
965
|
/** @internal */
|
|
722
966
|
export const VisitLinkedInProfileResponse$inboundSchema = z.object({
|
|
723
|
-
success: types.
|
|
967
|
+
success: types.literal(true),
|
|
724
968
|
firstName: types.string(),
|
|
725
969
|
lastName: types.string(),
|
|
726
970
|
headline: types.nullable(types.string()),
|
|
@@ -745,128 +989,15 @@ export function visitLinkedInProfileResponseFromJSON(jsonString) {
|
|
|
745
989
|
return safeParse(jsonString, (x) => VisitLinkedInProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInProfileResponse' from JSON`);
|
|
746
990
|
}
|
|
747
991
|
/** @internal */
|
|
748
|
-
export const
|
|
749
|
-
companyUrl: z.string(),
|
|
750
|
-
includeWorkplacePolicy: z.optional(z.boolean()),
|
|
751
|
-
});
|
|
752
|
-
export function visitLinkedInCompanyRequestToJSON(visitLinkedInCompanyRequest) {
|
|
753
|
-
return JSON.stringify(VisitLinkedInCompanyRequest$outboundSchema.parse(visitLinkedInCompanyRequest));
|
|
754
|
-
}
|
|
992
|
+
export const SearchLinkedInCategoryRequest$outboundSchema = z.enum(SearchLinkedInCategoryRequest);
|
|
755
993
|
/** @internal */
|
|
756
|
-
export const
|
|
757
|
-
start: types.number(),
|
|
758
|
-
end: types.nullable(types.number()),
|
|
759
|
-
});
|
|
760
|
-
export function employeeCountRangeFromJSON(jsonString) {
|
|
761
|
-
return safeParse(jsonString, (x) => EmployeeCountRange$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EmployeeCountRange' from JSON`);
|
|
762
|
-
}
|
|
994
|
+
export const SearchLinkedInSortBy$outboundSchema = z.enum(SearchLinkedInSortBy);
|
|
763
995
|
/** @internal */
|
|
764
|
-
export const
|
|
765
|
-
.object({
|
|
766
|
-
country: types.nullable(types.string()),
|
|
767
|
-
geographicArea: types.nullable(types.string()),
|
|
768
|
-
city: types.nullable(types.string()),
|
|
769
|
-
postalCode: types.nullable(types.string()),
|
|
770
|
-
line1: types.nullable(types.string()),
|
|
771
|
-
line2: types.nullable(types.string()),
|
|
772
|
-
});
|
|
773
|
-
export function headquarterFromJSON(jsonString) {
|
|
774
|
-
return safeParse(jsonString, (x) => Headquarter$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Headquarter' from JSON`);
|
|
775
|
-
}
|
|
996
|
+
export const SearchLinkedInDatePosted$outboundSchema = z.enum(SearchLinkedInDatePosted);
|
|
776
997
|
/** @internal */
|
|
777
|
-
export const
|
|
778
|
-
.object({
|
|
779
|
-
year: types.number(),
|
|
780
|
-
});
|
|
781
|
-
export function foundedOnFromJSON(jsonString) {
|
|
782
|
-
return safeParse(jsonString, (x) => FoundedOn$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FoundedOn' from JSON`);
|
|
783
|
-
}
|
|
998
|
+
export const SearchLinkedInContentType$outboundSchema = z.enum(SearchLinkedInContentType);
|
|
784
999
|
/** @internal */
|
|
785
|
-
export const
|
|
786
|
-
type: types.string(),
|
|
787
|
-
url: types.string(),
|
|
788
|
-
});
|
|
789
|
-
export function callToActionFromJSON(jsonString) {
|
|
790
|
-
return safeParse(jsonString, (x) => CallToAction$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CallToAction' from JSON`);
|
|
791
|
-
}
|
|
792
|
-
/** @internal */
|
|
793
|
-
export const AffiliatedCompany$inboundSchema = z.object({
|
|
794
|
-
id: types.string(),
|
|
795
|
-
universalName: types.string(),
|
|
796
|
-
name: types.string(),
|
|
797
|
-
url: types.nullable(types.string()),
|
|
798
|
-
logoUrl: types.nullable(types.string()),
|
|
799
|
-
followerCount: types.nullable(types.number()),
|
|
800
|
-
industry: types.nullable(types.string()),
|
|
801
|
-
});
|
|
802
|
-
export function affiliatedCompanyFromJSON(jsonString) {
|
|
803
|
-
return safeParse(jsonString, (x) => AffiliatedCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AffiliatedCompany' from JSON`);
|
|
804
|
-
}
|
|
805
|
-
/** @internal */
|
|
806
|
-
export const SimilarCompany$inboundSchema = z.object({
|
|
807
|
-
id: types.string(),
|
|
808
|
-
universalName: types.string(),
|
|
809
|
-
name: types.string(),
|
|
810
|
-
url: types.nullable(types.string()),
|
|
811
|
-
logoUrl: types.nullable(types.string()),
|
|
812
|
-
followerCount: types.nullable(types.number()),
|
|
813
|
-
industry: types.nullable(types.string()),
|
|
814
|
-
});
|
|
815
|
-
export function similarCompanyFromJSON(jsonString) {
|
|
816
|
-
return safeParse(jsonString, (x) => SimilarCompany$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SimilarCompany' from JSON`);
|
|
817
|
-
}
|
|
818
|
-
/** @internal */
|
|
819
|
-
export const WorkplacePolicy$inboundSchema = z.object({
|
|
820
|
-
title: types.nullable(types.string()),
|
|
821
|
-
description: types.nullable(types.string()),
|
|
822
|
-
timeAtOnsite: types.nullable(types.string()),
|
|
823
|
-
benefits: z.array(types.string()),
|
|
824
|
-
});
|
|
825
|
-
export function workplacePolicyFromJSON(jsonString) {
|
|
826
|
-
return safeParse(jsonString, (x) => WorkplacePolicy$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WorkplacePolicy' from JSON`);
|
|
827
|
-
}
|
|
828
|
-
/** @internal */
|
|
829
|
-
export const VisitLinkedInCompanyResponse$inboundSchema = z.object({
|
|
830
|
-
success: types.boolean(),
|
|
831
|
-
id: types.string(),
|
|
832
|
-
universalName: types.string(),
|
|
833
|
-
name: types.string(),
|
|
834
|
-
description: types.nullable(types.string()),
|
|
835
|
-
url: types.string(),
|
|
836
|
-
websiteUrl: types.nullable(types.string()),
|
|
837
|
-
industry: types.nullable(types.string()),
|
|
838
|
-
employeeCount: types.nullable(types.number()),
|
|
839
|
-
employeeCountRange: types.nullable(z.lazy(() => EmployeeCountRange$inboundSchema)),
|
|
840
|
-
headquarter: types.nullable(z.lazy(() => Headquarter$inboundSchema)),
|
|
841
|
-
logoUrl: types.nullable(types.string()),
|
|
842
|
-
coverImageUrl: types.nullable(types.string()),
|
|
843
|
-
followerCount: types.nullable(types.number()),
|
|
844
|
-
specialities: z.array(types.string()),
|
|
845
|
-
tagline: types.nullable(types.string()),
|
|
846
|
-
isVerified: types.boolean(),
|
|
847
|
-
foundedOn: types.nullable(z.lazy(() => FoundedOn$inboundSchema)),
|
|
848
|
-
phone: types.nullable(types.string()),
|
|
849
|
-
callToAction: types.nullable(z.lazy(() => CallToAction$inboundSchema)),
|
|
850
|
-
hashtags: z.array(types.string()),
|
|
851
|
-
affiliatedCompanies: z.array(z.lazy(() => AffiliatedCompany$inboundSchema)),
|
|
852
|
-
similarCompanies: z.array(z.lazy(() => SimilarCompany$inboundSchema)),
|
|
853
|
-
workplacePolicy: types.nullable(z.lazy(() => WorkplacePolicy$inboundSchema)),
|
|
854
|
-
creditsUsed: types.number(),
|
|
855
|
-
retryAfter: types.number(),
|
|
856
|
-
});
|
|
857
|
-
export function visitLinkedInCompanyResponseFromJSON(jsonString) {
|
|
858
|
-
return safeParse(jsonString, (x) => VisitLinkedInCompanyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'VisitLinkedInCompanyResponse' from JSON`);
|
|
859
|
-
}
|
|
860
|
-
/** @internal */
|
|
861
|
-
export const CategoryRequest$outboundSchema = z.enum(CategoryRequest);
|
|
862
|
-
/** @internal */
|
|
863
|
-
export const SearchLinkedInSortBy$outboundSchema = z.enum(SearchLinkedInSortBy);
|
|
864
|
-
/** @internal */
|
|
865
|
-
export const SearchLinkedInDatePosted$outboundSchema = z.enum(SearchLinkedInDatePosted);
|
|
866
|
-
/** @internal */
|
|
867
|
-
export const SearchLinkedInContentType$outboundSchema = z.enum(SearchLinkedInContentType);
|
|
868
|
-
/** @internal */
|
|
869
|
-
export const SearchLinkedInConnectionDegree$outboundSchema = z.enum(SearchLinkedInConnectionDegree);
|
|
1000
|
+
export const SearchLinkedInConnectionDegree$outboundSchema = z.enum(SearchLinkedInConnectionDegree);
|
|
870
1001
|
/** @internal */
|
|
871
1002
|
export const SearchLinkedInCompanySize$outboundSchema = z.enum(SearchLinkedInCompanySize);
|
|
872
1003
|
/** @internal */
|
|
@@ -877,7 +1008,7 @@ export const SearchLinkedInExperienceLevel$outboundSchema = z.enum(SearchLinkedI
|
|
|
877
1008
|
export const SearchLinkedInWorkplaceType$outboundSchema = z.enum(SearchLinkedInWorkplaceType);
|
|
878
1009
|
/** @internal */
|
|
879
1010
|
export const SearchLinkedInRequest$outboundSchema = z.object({
|
|
880
|
-
category: z.optional(
|
|
1011
|
+
category: z.optional(SearchLinkedInCategoryRequest$outboundSchema),
|
|
881
1012
|
url: z.optional(z.string()),
|
|
882
1013
|
keywords: z.optional(z.string()),
|
|
883
1014
|
sortBy: z.optional(SearchLinkedInSortBy$outboundSchema),
|
|
@@ -963,6 +1094,8 @@ export const SearchLinkedInItemsPeople$inboundSchema = z.object({
|
|
|
963
1094
|
profilePicture: types.nullable(types.string()),
|
|
964
1095
|
networkDistance: types.nullable(SearchLinkedInNetworkDistance$inboundSchema),
|
|
965
1096
|
currentPositions: z.array(z.lazy(() => SearchLinkedInCurrentPosition$inboundSchema)),
|
|
1097
|
+
profileUrn: types.nullable(types.string()),
|
|
1098
|
+
publicIdentifier: types.nullable(types.string()),
|
|
966
1099
|
});
|
|
967
1100
|
export function searchLinkedInItemsPeopleFromJSON(jsonString) {
|
|
968
1101
|
return safeParse(jsonString, (x) => SearchLinkedInItemsPeople$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInItemsPeople' from JSON`);
|
|
@@ -976,11 +1109,25 @@ export const SearchLinkedInAuthor$inboundSchema = z.object({
|
|
|
976
1109
|
headline: types.nullable(types.string()),
|
|
977
1110
|
profilePicture: types.nullable(types.string()),
|
|
978
1111
|
isCompany: types.boolean(),
|
|
1112
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1113
|
+
profileUrn: types.nullable(types.string()),
|
|
979
1114
|
});
|
|
980
1115
|
export function searchLinkedInAuthorFromJSON(jsonString) {
|
|
981
1116
|
return safeParse(jsonString, (x) => SearchLinkedInAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInAuthor' from JSON`);
|
|
982
1117
|
}
|
|
983
1118
|
/** @internal */
|
|
1119
|
+
export const SearchLinkedInMediaType$inboundSchema = openEnums.inboundSchema(SearchLinkedInMediaType);
|
|
1120
|
+
/** @internal */
|
|
1121
|
+
export const SearchLinkedInMedia$inboundSchema = z.object({
|
|
1122
|
+
type: SearchLinkedInMediaType$inboundSchema,
|
|
1123
|
+
urls: z.array(types.string()),
|
|
1124
|
+
title: types.optional(types.string()),
|
|
1125
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1126
|
+
});
|
|
1127
|
+
export function searchLinkedInMediaFromJSON(jsonString) {
|
|
1128
|
+
return safeParse(jsonString, (x) => SearchLinkedInMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInMedia' from JSON`);
|
|
1129
|
+
}
|
|
1130
|
+
/** @internal */
|
|
984
1131
|
export const SearchLinkedInItemsPost$inboundSchema = z.object({
|
|
985
1132
|
type: SearchLinkedInTypePost$inboundSchema,
|
|
986
1133
|
postUrl: types.string(),
|
|
@@ -993,6 +1140,7 @@ export const SearchLinkedInItemsPost$inboundSchema = z.object({
|
|
|
993
1140
|
postId: types.string(),
|
|
994
1141
|
author: z.lazy(() => SearchLinkedInAuthor$inboundSchema),
|
|
995
1142
|
isRepost: types.boolean(),
|
|
1143
|
+
media: types.optional(z.lazy(() => SearchLinkedInMedia$inboundSchema)),
|
|
996
1144
|
});
|
|
997
1145
|
export function searchLinkedInItemsPostFromJSON(jsonString) {
|
|
998
1146
|
return safeParse(jsonString, (x) => SearchLinkedInItemsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInItemsPost' from JSON`);
|
|
@@ -1018,7 +1166,7 @@ export function searchLinkedInPagingFromJSON(jsonString) {
|
|
|
1018
1166
|
}
|
|
1019
1167
|
/** @internal */
|
|
1020
1168
|
export const SearchLinkedInResponse$inboundSchema = z.object({
|
|
1021
|
-
success: types.
|
|
1169
|
+
success: types.literal(true),
|
|
1022
1170
|
category: SearchLinkedInCategoryResponseBody$inboundSchema,
|
|
1023
1171
|
items: smartUnion([
|
|
1024
1172
|
z.array(z.lazy(() => SearchLinkedInItemsPost$inboundSchema)),
|
|
@@ -1035,6 +1183,91 @@ export function searchLinkedInResponseFromJSON(jsonString) {
|
|
|
1035
1183
|
return safeParse(jsonString, (x) => SearchLinkedInResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInResponse' from JSON`);
|
|
1036
1184
|
}
|
|
1037
1185
|
/** @internal */
|
|
1186
|
+
export const SearchLinkedInCompaniesCompanySize$outboundSchema = z.enum(SearchLinkedInCompaniesCompanySize);
|
|
1187
|
+
/** @internal */
|
|
1188
|
+
export const SearchLinkedInCompaniesRequest$outboundSchema = z.object({
|
|
1189
|
+
keywords: z.optional(z.string()),
|
|
1190
|
+
url: z.optional(z.string()),
|
|
1191
|
+
location: z.optional(z.array(z.string())),
|
|
1192
|
+
industry: z.optional(z.array(z.string())),
|
|
1193
|
+
companySize: z.optional(z.array(SearchLinkedInCompaniesCompanySize$outboundSchema)),
|
|
1194
|
+
start: z.optional(z.int()),
|
|
1195
|
+
count: z.optional(z.int()),
|
|
1196
|
+
});
|
|
1197
|
+
export function searchLinkedInCompaniesRequestToJSON(searchLinkedInCompaniesRequest) {
|
|
1198
|
+
return JSON.stringify(SearchLinkedInCompaniesRequest$outboundSchema.parse(searchLinkedInCompaniesRequest));
|
|
1199
|
+
}
|
|
1200
|
+
/** @internal */
|
|
1201
|
+
export const SearchLinkedInCompaniesCategory$inboundSchema = z.enum(SearchLinkedInCompaniesCategory);
|
|
1202
|
+
/** @internal */
|
|
1203
|
+
export const SearchLinkedInCompaniesType$inboundSchema = z.enum(SearchLinkedInCompaniesType);
|
|
1204
|
+
/** @internal */
|
|
1205
|
+
export const SearchLinkedInCompaniesItem$inboundSchema = z.object({
|
|
1206
|
+
type: SearchLinkedInCompaniesType$inboundSchema,
|
|
1207
|
+
name: types.string(),
|
|
1208
|
+
profileUrl: types.nullable(types.string()),
|
|
1209
|
+
summary: types.nullable(types.string()),
|
|
1210
|
+
industry: types.nullable(types.string()),
|
|
1211
|
+
location: types.nullable(types.string()),
|
|
1212
|
+
followersCount: types.nullable(types.number()),
|
|
1213
|
+
});
|
|
1214
|
+
export function searchLinkedInCompaniesItemFromJSON(jsonString) {
|
|
1215
|
+
return safeParse(jsonString, (x) => SearchLinkedInCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesItem' from JSON`);
|
|
1216
|
+
}
|
|
1217
|
+
/** @internal */
|
|
1218
|
+
export const SearchLinkedInCompaniesPaging$inboundSchema = z.object({
|
|
1219
|
+
start: types.number(),
|
|
1220
|
+
count: types.number(),
|
|
1221
|
+
total: types.number(),
|
|
1222
|
+
});
|
|
1223
|
+
export function searchLinkedInCompaniesPagingFromJSON(jsonString) {
|
|
1224
|
+
return safeParse(jsonString, (x) => SearchLinkedInCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesPaging' from JSON`);
|
|
1225
|
+
}
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export const SearchLinkedInCompaniesResponse$inboundSchema = z.object({
|
|
1228
|
+
success: types.literal(true),
|
|
1229
|
+
category: SearchLinkedInCompaniesCategory$inboundSchema,
|
|
1230
|
+
items: z.array(z.lazy(() => SearchLinkedInCompaniesItem$inboundSchema)),
|
|
1231
|
+
paging: z.lazy(() => SearchLinkedInCompaniesPaging$inboundSchema),
|
|
1232
|
+
hasMore: types.boolean(),
|
|
1233
|
+
creditsUsed: types.number(),
|
|
1234
|
+
retryAfter: types.number(),
|
|
1235
|
+
});
|
|
1236
|
+
export function searchLinkedInCompaniesResponseFromJSON(jsonString) {
|
|
1237
|
+
return safeParse(jsonString, (x) => SearchLinkedInCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesResponse' from JSON`);
|
|
1238
|
+
}
|
|
1239
|
+
/** @internal */
|
|
1240
|
+
export const ResolveLinkedInSearchParametersType$outboundSchema = z.enum(ResolveLinkedInSearchParametersType);
|
|
1241
|
+
/** @internal */
|
|
1242
|
+
export const ResolveLinkedInSearchParametersRequest$outboundSchema = z.object({
|
|
1243
|
+
type: ResolveLinkedInSearchParametersType$outboundSchema,
|
|
1244
|
+
keywords: z.string(),
|
|
1245
|
+
limit: z.optional(z.int()),
|
|
1246
|
+
});
|
|
1247
|
+
export function resolveLinkedInSearchParametersRequestToJSON(resolveLinkedInSearchParametersRequest) {
|
|
1248
|
+
return JSON.stringify(ResolveLinkedInSearchParametersRequest$outboundSchema.parse(resolveLinkedInSearchParametersRequest));
|
|
1249
|
+
}
|
|
1250
|
+
/** @internal */
|
|
1251
|
+
export const ResolveLinkedInSearchParametersItem$inboundSchema = z.object({
|
|
1252
|
+
id: types.string(),
|
|
1253
|
+
title: types.string(),
|
|
1254
|
+
type: types.string(),
|
|
1255
|
+
});
|
|
1256
|
+
export function resolveLinkedInSearchParametersItemFromJSON(jsonString) {
|
|
1257
|
+
return safeParse(jsonString, (x) => ResolveLinkedInSearchParametersItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveLinkedInSearchParametersItem' from JSON`);
|
|
1258
|
+
}
|
|
1259
|
+
/** @internal */
|
|
1260
|
+
export const ResolveLinkedInSearchParametersResponse$inboundSchema = z.object({
|
|
1261
|
+
success: types.literal(true),
|
|
1262
|
+
items: z.array(z.lazy(() => ResolveLinkedInSearchParametersItem$inboundSchema)),
|
|
1263
|
+
count: types.number(),
|
|
1264
|
+
creditsUsed: types.number(),
|
|
1265
|
+
retryAfter: types.number(),
|
|
1266
|
+
});
|
|
1267
|
+
export function resolveLinkedInSearchParametersResponseFromJSON(jsonString) {
|
|
1268
|
+
return safeParse(jsonString, (x) => ResolveLinkedInSearchParametersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveLinkedInSearchParametersResponse' from JSON`);
|
|
1269
|
+
}
|
|
1270
|
+
/** @internal */
|
|
1038
1271
|
export const SearchLinkedInPostsSortBy$outboundSchema = z.enum(SearchLinkedInPostsSortBy);
|
|
1039
1272
|
/** @internal */
|
|
1040
1273
|
export const SearchLinkedInPostsDatePosted$outboundSchema = z.enum(SearchLinkedInPostsDatePosted);
|
|
@@ -1066,11 +1299,25 @@ export const SearchLinkedInPostsAuthor$inboundSchema = z.object({
|
|
|
1066
1299
|
headline: types.nullable(types.string()),
|
|
1067
1300
|
profilePicture: types.nullable(types.string()),
|
|
1068
1301
|
isCompany: types.boolean(),
|
|
1302
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1303
|
+
profileUrn: types.nullable(types.string()),
|
|
1069
1304
|
});
|
|
1070
1305
|
export function searchLinkedInPostsAuthorFromJSON(jsonString) {
|
|
1071
1306
|
return safeParse(jsonString, (x) => SearchLinkedInPostsAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInPostsAuthor' from JSON`);
|
|
1072
1307
|
}
|
|
1073
1308
|
/** @internal */
|
|
1309
|
+
export const SearchLinkedInPostsMediaType$inboundSchema = openEnums.inboundSchema(SearchLinkedInPostsMediaType);
|
|
1310
|
+
/** @internal */
|
|
1311
|
+
export const SearchLinkedInPostsMedia$inboundSchema = z.object({
|
|
1312
|
+
type: SearchLinkedInPostsMediaType$inboundSchema,
|
|
1313
|
+
urls: z.array(types.string()),
|
|
1314
|
+
title: types.optional(types.string()),
|
|
1315
|
+
thumbnailUrl: types.optional(types.string()),
|
|
1316
|
+
});
|
|
1317
|
+
export function searchLinkedInPostsMediaFromJSON(jsonString) {
|
|
1318
|
+
return safeParse(jsonString, (x) => SearchLinkedInPostsMedia$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInPostsMedia' from JSON`);
|
|
1319
|
+
}
|
|
1320
|
+
/** @internal */
|
|
1074
1321
|
export const SearchLinkedInPostsItem$inboundSchema = z.object({
|
|
1075
1322
|
type: SearchLinkedInPostsType$inboundSchema,
|
|
1076
1323
|
postUrl: types.string(),
|
|
@@ -1083,6 +1330,7 @@ export const SearchLinkedInPostsItem$inboundSchema = z.object({
|
|
|
1083
1330
|
postId: types.string(),
|
|
1084
1331
|
author: z.lazy(() => SearchLinkedInPostsAuthor$inboundSchema),
|
|
1085
1332
|
isRepost: types.boolean(),
|
|
1333
|
+
media: types.optional(z.lazy(() => SearchLinkedInPostsMedia$inboundSchema)),
|
|
1086
1334
|
});
|
|
1087
1335
|
export function searchLinkedInPostsItemFromJSON(jsonString) {
|
|
1088
1336
|
return safeParse(jsonString, (x) => SearchLinkedInPostsItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInPostsItem' from JSON`);
|
|
@@ -1098,7 +1346,7 @@ export function searchLinkedInPostsPagingFromJSON(jsonString) {
|
|
|
1098
1346
|
}
|
|
1099
1347
|
/** @internal */
|
|
1100
1348
|
export const SearchLinkedInPostsResponse$inboundSchema = z.object({
|
|
1101
|
-
success: types.
|
|
1349
|
+
success: types.literal(true),
|
|
1102
1350
|
category: SearchLinkedInPostsCategory$inboundSchema,
|
|
1103
1351
|
items: z.array(z.lazy(() => SearchLinkedInPostsItem$inboundSchema)),
|
|
1104
1352
|
paging: z.lazy(() => SearchLinkedInPostsPaging$inboundSchema),
|
|
@@ -1156,6 +1404,8 @@ export const SearchLinkedInPeopleItem$inboundSchema = z.object({
|
|
|
1156
1404
|
profilePicture: types.nullable(types.string()),
|
|
1157
1405
|
networkDistance: types.nullable(SearchLinkedInPeopleNetworkDistance$inboundSchema),
|
|
1158
1406
|
currentPositions: z.array(z.lazy(() => SearchLinkedInPeopleCurrentPosition$inboundSchema)),
|
|
1407
|
+
profileUrn: types.nullable(types.string()),
|
|
1408
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1159
1409
|
});
|
|
1160
1410
|
export function searchLinkedInPeopleItemFromJSON(jsonString) {
|
|
1161
1411
|
return safeParse(jsonString, (x) => SearchLinkedInPeopleItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInPeopleItem' from JSON`);
|
|
@@ -1171,7 +1421,7 @@ export function searchLinkedInPeoplePagingFromJSON(jsonString) {
|
|
|
1171
1421
|
}
|
|
1172
1422
|
/** @internal */
|
|
1173
1423
|
export const SearchLinkedInPeopleResponse$inboundSchema = z.object({
|
|
1174
|
-
success: types.
|
|
1424
|
+
success: types.literal(true),
|
|
1175
1425
|
category: SearchLinkedInPeopleCategory$inboundSchema,
|
|
1176
1426
|
items: z.array(z.lazy(() => SearchLinkedInPeopleItem$inboundSchema)),
|
|
1177
1427
|
paging: z.lazy(() => SearchLinkedInPeoplePaging$inboundSchema),
|
|
@@ -1183,60 +1433,6 @@ export function searchLinkedInPeopleResponseFromJSON(jsonString) {
|
|
|
1183
1433
|
return safeParse(jsonString, (x) => SearchLinkedInPeopleResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInPeopleResponse' from JSON`);
|
|
1184
1434
|
}
|
|
1185
1435
|
/** @internal */
|
|
1186
|
-
export const SearchLinkedInCompaniesCompanySize$outboundSchema = z.enum(SearchLinkedInCompaniesCompanySize);
|
|
1187
|
-
/** @internal */
|
|
1188
|
-
export const SearchLinkedInCompaniesRequest$outboundSchema = z.object({
|
|
1189
|
-
keywords: z.optional(z.string()),
|
|
1190
|
-
url: z.optional(z.string()),
|
|
1191
|
-
location: z.optional(z.array(z.string())),
|
|
1192
|
-
industry: z.optional(z.array(z.string())),
|
|
1193
|
-
companySize: z.optional(z.array(SearchLinkedInCompaniesCompanySize$outboundSchema)),
|
|
1194
|
-
start: z.optional(z.int()),
|
|
1195
|
-
count: z.optional(z.int()),
|
|
1196
|
-
});
|
|
1197
|
-
export function searchLinkedInCompaniesRequestToJSON(searchLinkedInCompaniesRequest) {
|
|
1198
|
-
return JSON.stringify(SearchLinkedInCompaniesRequest$outboundSchema.parse(searchLinkedInCompaniesRequest));
|
|
1199
|
-
}
|
|
1200
|
-
/** @internal */
|
|
1201
|
-
export const SearchLinkedInCompaniesCategory$inboundSchema = z.enum(SearchLinkedInCompaniesCategory);
|
|
1202
|
-
/** @internal */
|
|
1203
|
-
export const SearchLinkedInCompaniesType$inboundSchema = z.enum(SearchLinkedInCompaniesType);
|
|
1204
|
-
/** @internal */
|
|
1205
|
-
export const SearchLinkedInCompaniesItem$inboundSchema = z.object({
|
|
1206
|
-
type: SearchLinkedInCompaniesType$inboundSchema,
|
|
1207
|
-
name: types.string(),
|
|
1208
|
-
profileUrl: types.nullable(types.string()),
|
|
1209
|
-
summary: types.nullable(types.string()),
|
|
1210
|
-
industry: types.nullable(types.string()),
|
|
1211
|
-
location: types.nullable(types.string()),
|
|
1212
|
-
followersCount: types.nullable(types.number()),
|
|
1213
|
-
});
|
|
1214
|
-
export function searchLinkedInCompaniesItemFromJSON(jsonString) {
|
|
1215
|
-
return safeParse(jsonString, (x) => SearchLinkedInCompaniesItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesItem' from JSON`);
|
|
1216
|
-
}
|
|
1217
|
-
/** @internal */
|
|
1218
|
-
export const SearchLinkedInCompaniesPaging$inboundSchema = z.object({
|
|
1219
|
-
start: types.number(),
|
|
1220
|
-
count: types.number(),
|
|
1221
|
-
total: types.number(),
|
|
1222
|
-
});
|
|
1223
|
-
export function searchLinkedInCompaniesPagingFromJSON(jsonString) {
|
|
1224
|
-
return safeParse(jsonString, (x) => SearchLinkedInCompaniesPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesPaging' from JSON`);
|
|
1225
|
-
}
|
|
1226
|
-
/** @internal */
|
|
1227
|
-
export const SearchLinkedInCompaniesResponse$inboundSchema = z.object({
|
|
1228
|
-
success: types.boolean(),
|
|
1229
|
-
category: SearchLinkedInCompaniesCategory$inboundSchema,
|
|
1230
|
-
items: z.array(z.lazy(() => SearchLinkedInCompaniesItem$inboundSchema)),
|
|
1231
|
-
paging: z.lazy(() => SearchLinkedInCompaniesPaging$inboundSchema),
|
|
1232
|
-
hasMore: types.boolean(),
|
|
1233
|
-
creditsUsed: types.number(),
|
|
1234
|
-
retryAfter: types.number(),
|
|
1235
|
-
});
|
|
1236
|
-
export function searchLinkedInCompaniesResponseFromJSON(jsonString) {
|
|
1237
|
-
return safeParse(jsonString, (x) => SearchLinkedInCompaniesResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInCompaniesResponse' from JSON`);
|
|
1238
|
-
}
|
|
1239
|
-
/** @internal */
|
|
1240
1436
|
export const SearchLinkedInJobsDatePosted$outboundSchema = z.enum(SearchLinkedInJobsDatePosted);
|
|
1241
1437
|
/** @internal */
|
|
1242
1438
|
export const SearchLinkedInJobsSortBy$outboundSchema = z.enum(SearchLinkedInJobsSortBy);
|
|
@@ -1293,7 +1489,7 @@ export function searchLinkedInJobsPagingFromJSON(jsonString) {
|
|
|
1293
1489
|
}
|
|
1294
1490
|
/** @internal */
|
|
1295
1491
|
export const SearchLinkedInJobsResponse$inboundSchema = z.object({
|
|
1296
|
-
success: types.
|
|
1492
|
+
success: types.literal(true),
|
|
1297
1493
|
category: SearchLinkedInJobsCategory$inboundSchema,
|
|
1298
1494
|
items: z.array(z.lazy(() => SearchLinkedInJobsItem$inboundSchema)),
|
|
1299
1495
|
paging: z.lazy(() => SearchLinkedInJobsPaging$inboundSchema),
|
|
@@ -1370,216 +1566,12 @@ export const SearchLinkedInByUrlItemsPeople$inboundSchema = z.object({
|
|
|
1370
1566
|
profilePicture: types.nullable(types.string()),
|
|
1371
1567
|
networkDistance: types.nullable(SearchLinkedInByUrlNetworkDistance$inboundSchema),
|
|
1372
1568
|
currentPositions: z.array(z.lazy(() => SearchLinkedInByUrlCurrentPosition$inboundSchema)),
|
|
1569
|
+
profileUrn: types.nullable(types.string()),
|
|
1570
|
+
publicIdentifier: types.nullable(types.string()),
|
|
1373
1571
|
});
|
|
1374
1572
|
export function searchLinkedInByUrlItemsPeopleFromJSON(jsonString) {
|
|
1375
1573
|
return safeParse(jsonString, (x) => SearchLinkedInByUrlItemsPeople$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlItemsPeople' from JSON`);
|
|
1376
1574
|
}
|
|
1377
1575
|
/** @internal */
|
|
1378
1576
|
export const SearchLinkedInByUrlTypePost$inboundSchema = z.enum(SearchLinkedInByUrlTypePost);
|
|
1379
|
-
|
|
1380
|
-
export const SearchLinkedInByUrlAuthor$inboundSchema = z.object({
|
|
1381
|
-
name: types.string(),
|
|
1382
|
-
profileUrl: types.nullable(types.string()),
|
|
1383
|
-
headline: types.nullable(types.string()),
|
|
1384
|
-
profilePicture: types.nullable(types.string()),
|
|
1385
|
-
isCompany: types.boolean(),
|
|
1386
|
-
});
|
|
1387
|
-
export function searchLinkedInByUrlAuthorFromJSON(jsonString) {
|
|
1388
|
-
return safeParse(jsonString, (x) => SearchLinkedInByUrlAuthor$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlAuthor' from JSON`);
|
|
1389
|
-
}
|
|
1390
|
-
/** @internal */
|
|
1391
|
-
export const SearchLinkedInByUrlItemsPost$inboundSchema = z.object({
|
|
1392
|
-
type: SearchLinkedInByUrlTypePost$inboundSchema,
|
|
1393
|
-
postUrl: types.string(),
|
|
1394
|
-
text: types.string(),
|
|
1395
|
-
date: types.number(),
|
|
1396
|
-
likesCount: types.number(),
|
|
1397
|
-
commentsCount: types.number(),
|
|
1398
|
-
sharesCount: types.number(),
|
|
1399
|
-
postUrn: types.string(),
|
|
1400
|
-
postId: types.string(),
|
|
1401
|
-
author: z.lazy(() => SearchLinkedInByUrlAuthor$inboundSchema),
|
|
1402
|
-
isRepost: types.boolean(),
|
|
1403
|
-
});
|
|
1404
|
-
export function searchLinkedInByUrlItemsPostFromJSON(jsonString) {
|
|
1405
|
-
return safeParse(jsonString, (x) => SearchLinkedInByUrlItemsPost$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlItemsPost' from JSON`);
|
|
1406
|
-
}
|
|
1407
|
-
/** @internal */
|
|
1408
|
-
export const SearchLinkedInByUrlItemsUnion$inboundSchema = smartUnion([
|
|
1409
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsPost$inboundSchema)),
|
|
1410
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsPeople$inboundSchema)),
|
|
1411
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsCompany$inboundSchema)),
|
|
1412
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsJob$inboundSchema)),
|
|
1413
|
-
]);
|
|
1414
|
-
export function searchLinkedInByUrlItemsUnionFromJSON(jsonString) {
|
|
1415
|
-
return safeParse(jsonString, (x) => SearchLinkedInByUrlItemsUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlItemsUnion' from JSON`);
|
|
1416
|
-
}
|
|
1417
|
-
/** @internal */
|
|
1418
|
-
export const SearchLinkedInByUrlPaging$inboundSchema = z.object({
|
|
1419
|
-
start: types.number(),
|
|
1420
|
-
count: types.number(),
|
|
1421
|
-
total: types.number(),
|
|
1422
|
-
});
|
|
1423
|
-
export function searchLinkedInByUrlPagingFromJSON(jsonString) {
|
|
1424
|
-
return safeParse(jsonString, (x) => SearchLinkedInByUrlPaging$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlPaging' from JSON`);
|
|
1425
|
-
}
|
|
1426
|
-
/** @internal */
|
|
1427
|
-
export const SearchLinkedInByUrlResponse$inboundSchema = z.object({
|
|
1428
|
-
success: types.boolean(),
|
|
1429
|
-
category: SearchLinkedInByUrlCategory$inboundSchema,
|
|
1430
|
-
items: smartUnion([
|
|
1431
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsPost$inboundSchema)),
|
|
1432
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsPeople$inboundSchema)),
|
|
1433
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsCompany$inboundSchema)),
|
|
1434
|
-
z.array(z.lazy(() => SearchLinkedInByUrlItemsJob$inboundSchema)),
|
|
1435
|
-
]),
|
|
1436
|
-
paging: z.lazy(() => SearchLinkedInByUrlPaging$inboundSchema),
|
|
1437
|
-
hasMore: types.boolean(),
|
|
1438
|
-
creditsUsed: types.number(),
|
|
1439
|
-
retryAfter: types.number(),
|
|
1440
|
-
});
|
|
1441
|
-
export function searchLinkedInByUrlResponseFromJSON(jsonString) {
|
|
1442
|
-
return safeParse(jsonString, (x) => SearchLinkedInByUrlResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SearchLinkedInByUrlResponse' from JSON`);
|
|
1443
|
-
}
|
|
1444
|
-
/** @internal */
|
|
1445
|
-
export const ResolveLinkedInSearchParametersType$outboundSchema = z.enum(ResolveLinkedInSearchParametersType);
|
|
1446
|
-
/** @internal */
|
|
1447
|
-
export const ResolveLinkedInSearchParametersRequest$outboundSchema = z.object({
|
|
1448
|
-
type: ResolveLinkedInSearchParametersType$outboundSchema,
|
|
1449
|
-
keywords: z.string(),
|
|
1450
|
-
limit: z.optional(z.int()),
|
|
1451
|
-
});
|
|
1452
|
-
export function resolveLinkedInSearchParametersRequestToJSON(resolveLinkedInSearchParametersRequest) {
|
|
1453
|
-
return JSON.stringify(ResolveLinkedInSearchParametersRequest$outboundSchema.parse(resolveLinkedInSearchParametersRequest));
|
|
1454
|
-
}
|
|
1455
|
-
/** @internal */
|
|
1456
|
-
export const ResolveLinkedInSearchParametersItem$inboundSchema = z.object({
|
|
1457
|
-
id: types.string(),
|
|
1458
|
-
title: types.string(),
|
|
1459
|
-
type: types.string(),
|
|
1460
|
-
});
|
|
1461
|
-
export function resolveLinkedInSearchParametersItemFromJSON(jsonString) {
|
|
1462
|
-
return safeParse(jsonString, (x) => ResolveLinkedInSearchParametersItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveLinkedInSearchParametersItem' from JSON`);
|
|
1463
|
-
}
|
|
1464
|
-
/** @internal */
|
|
1465
|
-
export const ResolveLinkedInSearchParametersResponse$inboundSchema = z.object({
|
|
1466
|
-
success: types.boolean(),
|
|
1467
|
-
items: z.array(z.lazy(() => ResolveLinkedInSearchParametersItem$inboundSchema)),
|
|
1468
|
-
count: types.number(),
|
|
1469
|
-
creditsUsed: types.number(),
|
|
1470
|
-
retryAfter: types.number(),
|
|
1471
|
-
});
|
|
1472
|
-
export function resolveLinkedInSearchParametersResponseFromJSON(jsonString) {
|
|
1473
|
-
return safeParse(jsonString, (x) => ResolveLinkedInSearchParametersResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ResolveLinkedInSearchParametersResponse' from JSON`);
|
|
1474
|
-
}
|
|
1475
|
-
/** @internal */
|
|
1476
|
-
export const ConnectLinkedInProfileRequest$outboundSchema = z.object({
|
|
1477
|
-
profile: z.string(),
|
|
1478
|
-
campaignSlug: z.optional(z.string()),
|
|
1479
|
-
actionSlug: z.optional(z.string()),
|
|
1480
|
-
});
|
|
1481
|
-
export function connectLinkedInProfileRequestToJSON(connectLinkedInProfileRequest) {
|
|
1482
|
-
return JSON.stringify(ConnectLinkedInProfileRequest$outboundSchema.parse(connectLinkedInProfileRequest));
|
|
1483
|
-
}
|
|
1484
|
-
/** @internal */
|
|
1485
|
-
export const ConnectLinkedInProfileResponse$inboundSchema = z.object({
|
|
1486
|
-
success: types.boolean(),
|
|
1487
|
-
message: types.string(),
|
|
1488
|
-
duplicate: types.optional(types.boolean()),
|
|
1489
|
-
creditsUsed: types.number(),
|
|
1490
|
-
retryAfter: types.number(),
|
|
1491
|
-
});
|
|
1492
|
-
export function connectLinkedInProfileResponseFromJSON(jsonString) {
|
|
1493
|
-
return safeParse(jsonString, (x) => ConnectLinkedInProfileResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ConnectLinkedInProfileResponse' from JSON`);
|
|
1494
|
-
}
|
|
1495
|
-
/** @internal */
|
|
1496
|
-
export const ListLinkedInInvitationsRequest$outboundSchema = z.object({
|
|
1497
|
-
start: z._default(z.int(), 0),
|
|
1498
|
-
count: z._default(z.int(), 10),
|
|
1499
|
-
});
|
|
1500
|
-
export function listLinkedInInvitationsRequestToJSON(listLinkedInInvitationsRequest) {
|
|
1501
|
-
return JSON.stringify(ListLinkedInInvitationsRequest$outboundSchema.parse(listLinkedInInvitationsRequest));
|
|
1502
|
-
}
|
|
1503
|
-
/** @internal */
|
|
1504
|
-
export const FromMember$inboundSchema = z
|
|
1505
|
-
.object({
|
|
1506
|
-
name: types.nullable(types.string()),
|
|
1507
|
-
headline: types.nullable(types.string()),
|
|
1508
|
-
profileUrl: types.nullable(types.string()),
|
|
1509
|
-
profilePicture: types.nullable(types.string()),
|
|
1510
|
-
});
|
|
1511
|
-
export function fromMemberFromJSON(jsonString) {
|
|
1512
|
-
return safeParse(jsonString, (x) => FromMember$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FromMember' from JSON`);
|
|
1513
|
-
}
|
|
1514
|
-
/** @internal */
|
|
1515
|
-
export const Invitation$inboundSchema = z
|
|
1516
|
-
.object({
|
|
1517
|
-
invitationId: types.string(),
|
|
1518
|
-
sharedSecret: types.string(),
|
|
1519
|
-
entityUrn: types.string(),
|
|
1520
|
-
sentAt: types.nullable(types.string()),
|
|
1521
|
-
message: types.nullable(types.string()),
|
|
1522
|
-
senderProfileId: types.nullable(types.string()),
|
|
1523
|
-
senderFirstName: types.nullable(types.string()),
|
|
1524
|
-
senderLastName: types.nullable(types.string()),
|
|
1525
|
-
fromMember: types.nullable(z.lazy(() => FromMember$inboundSchema)),
|
|
1526
|
-
});
|
|
1527
|
-
export function invitationFromJSON(jsonString) {
|
|
1528
|
-
return safeParse(jsonString, (x) => Invitation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Invitation' from JSON`);
|
|
1529
|
-
}
|
|
1530
|
-
/** @internal */
|
|
1531
|
-
export const ListLinkedInInvitationsResponse$inboundSchema = z.object({
|
|
1532
|
-
success: types.boolean(),
|
|
1533
|
-
invitations: z.array(z.lazy(() => Invitation$inboundSchema)),
|
|
1534
|
-
total: types.number(),
|
|
1535
|
-
start: types.number(),
|
|
1536
|
-
count: types.number(),
|
|
1537
|
-
creditsUsed: types.number(),
|
|
1538
|
-
retryAfter: types.number(),
|
|
1539
|
-
});
|
|
1540
|
-
export function listLinkedInInvitationsResponseFromJSON(jsonString) {
|
|
1541
|
-
return safeParse(jsonString, (x) => ListLinkedInInvitationsResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListLinkedInInvitationsResponse' from JSON`);
|
|
1542
|
-
}
|
|
1543
|
-
/** @internal */
|
|
1544
|
-
export const AcceptLinkedInInvitationRequest$outboundSchema = z.object({
|
|
1545
|
-
invitationId: z.string(),
|
|
1546
|
-
sharedSecret: z.string(),
|
|
1547
|
-
senderProfileId: z.optional(z.string()),
|
|
1548
|
-
firstName: z.optional(z.string()),
|
|
1549
|
-
lastName: z.optional(z.string()),
|
|
1550
|
-
});
|
|
1551
|
-
export function acceptLinkedInInvitationRequestToJSON(acceptLinkedInInvitationRequest) {
|
|
1552
|
-
return JSON.stringify(AcceptLinkedInInvitationRequest$outboundSchema.parse(acceptLinkedInInvitationRequest));
|
|
1553
|
-
}
|
|
1554
|
-
/** @internal */
|
|
1555
|
-
export const AcceptLinkedInInvitationResponse$inboundSchema = z.object({
|
|
1556
|
-
success: types.boolean(),
|
|
1557
|
-
message: types.string(),
|
|
1558
|
-
creditsUsed: types.number(),
|
|
1559
|
-
retryAfter: types.number(),
|
|
1560
|
-
});
|
|
1561
|
-
export function acceptLinkedInInvitationResponseFromJSON(jsonString) {
|
|
1562
|
-
return safeParse(jsonString, (x) => AcceptLinkedInInvitationResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AcceptLinkedInInvitationResponse' from JSON`);
|
|
1563
|
-
}
|
|
1564
|
-
/** @internal */
|
|
1565
|
-
export const SendLinkedInMessageRequest$outboundSchema = z.object({
|
|
1566
|
-
profile: z.string(),
|
|
1567
|
-
message: z.string(),
|
|
1568
|
-
campaignSlug: z.optional(z.string()),
|
|
1569
|
-
actionSlug: z.optional(z.string()),
|
|
1570
|
-
});
|
|
1571
|
-
export function sendLinkedInMessageRequestToJSON(sendLinkedInMessageRequest) {
|
|
1572
|
-
return JSON.stringify(SendLinkedInMessageRequest$outboundSchema.parse(sendLinkedInMessageRequest));
|
|
1573
|
-
}
|
|
1574
|
-
/** @internal */
|
|
1575
|
-
export const SendLinkedInMessageResponse$inboundSchema = z.object({
|
|
1576
|
-
success: types.boolean(),
|
|
1577
|
-
messageId: types.string(),
|
|
1578
|
-
duplicate: types.optional(types.boolean()),
|
|
1579
|
-
creditsUsed: types.number(),
|
|
1580
|
-
retryAfter: types.number(),
|
|
1581
|
-
});
|
|
1582
|
-
export function sendLinkedInMessageResponseFromJSON(jsonString) {
|
|
1583
|
-
return safeParse(jsonString, (x) => SendLinkedInMessageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SendLinkedInMessageResponse' from JSON`);
|
|
1584
|
-
}
|
|
1585
|
-
//# sourceMappingURL=send-linked-in-message-response.js.map
|
|
1577
|
+
//# sourceMappingURL=search-linked-in-by-url-type-post.js.map
|